In [ ]:
. ./nbs_header.ps1
. ./core.ps1
In [ ]:
{ . ../apps/builder/build.ps1 } | Invoke-Block -Location $ScriptDir
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DibParser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsec.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsecCS.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── pwsh ────────────────────────────────────────────────────────────────────────
ls ~/.nuget/packages/argu
╭─[ 556.51ms - stdout ]────────────────────────────────────────────────────────╮
│ │
│ Directory: C:\Users\i574n\.nuget\packages\argu │
│ │
│ Mode LastWriteTime Length[ │
│ 32;1m Name │
│ ---- ------------- ------ [ │
│ 32;1m---- │
│ d---- 2023-05-17 3:38 PM 6.1.1 │
│ d---- 2024-03-12 8:22 PM 6.1.4 │
│ d---- 2024-01-29 5:12 PM 6.1.5 │
│ d---- 2024-03-12 8:20 PM 6.2.0 │
│ d---- 2024-02-23 6:50 PM 6.2.1 │
│ d---- 2024-03-12 8:15 PM 6.2.2 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import ../../lib/fsharp/CommonFSharp.fs
#!import ../../lib/fsharp/Async.fs
#!import ../../lib/fsharp/AsyncSeq.fs
#!import ../../lib/fsharp/Runtime.fs
#!import ../../lib/fsharp/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
/// ## subscribeToken
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## parseArgs
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
_ -> Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName =
$"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## watchDirectory
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> Syst...
── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FParsec
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## escapeCell (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline escapeCell input =
input
|> SpiralSm.split "\n"
|> Array.map (function
| line when line |> SpiralSm.starts_with "\\#!" || line |>
SpiralSm.starts_with "\\#r" ->
System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")
| line -> line
)
|> SpiralSm.concat "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
$"a{nl}\\#!magic{nl}b{nl}"
|> escapeCell
|> _assertEqual (
$"a{nl}#!magic{nl}b{nl}"
)
╭─[ 68.22ms - stdout ]─────────────────────────────────────────────────────────╮
│ "a │
│ #!magic │
│ b │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicMarker │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicMarker : Parser<string, unit> = pstring "#!"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic"
|> run magicMarker
|> _assertEqual (
Success ("#!", (), Position ("", 2, 1, 3))
)
╭─[ 44.10ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "#!" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"##!magic"
|> run magicMarker
|> _assertEqual (
Failure (
$"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 49.23ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure: │
│ Error in Ln: 1 Col: 1 │
│ ##!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicCommand │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicCommand =
magicMarker
>>. manyTill anyChar newline
|>> (System.String.Concat >> SpiralSm.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a"
|> run magicCommand
|> _assertEqual (
Success ("magic", (), Position ("", 8, 2, 1))
)
╭─[ 37.60ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "magic" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
" #!magic
a"
|> run magicCommand
|> _assertEqual (
Failure (
$"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 37.62ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure: │
│ Error in Ln: 1 Col: 1 │
│ #!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## content │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let content =
(newline >>. magicMarker) <|> (eof >>. preturn "")
|> attempt
|> lookAhead
|> manyTill anyChar
|>> (System.String.Concat >> SpiralSm.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run content
|> _assertEqual (
Success ("#!magic
a", (), Position ("", 14, 7, 1))
)
╭─[ 34.04ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "#!magic │
│ │
│ │
│ a" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Block =
{
magic : string
content : string
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let block =
pipe2
magicCommand
content
(fun magic content ->
{
magic = magic
content = content
})
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run block
|> _assertEqual (
Success (
{ magic = "magic"; content = "a" },
(),
Position ("", 14, 7, 1)
)
)
╭─[ 41.43ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: { magic = "magic" │
│ content = "a" } │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## blocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let blocks =
skipMany newline
>>. sepEndBy block (skipMany1 newline)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic1
a
\#!magic2
b
"
|> escapeCell
|> run blocks
|> _assertEqual (
Success (
[[
{ magic = "magic1"; content = "a" }
{ magic = "magic2"; content = "b" }
]],
(),
Position ("", 26, 9, 1)
)
)
╭─[ 44.57ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: [{ magic = "magic1" │
│ content = "a" }; { magic = "magic2" │
│ content = "b" }] │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Output │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Output =
| Fs
| Md
| Spi
| Spir
let inline kernelOutputs magic =
match magic with
| "fsharp" -> [[ Fs ]]
| "markdown" -> [[ Md ]]
| "spiral" -> [[ Spi; Spir ]]
| _ -> [[]]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlock │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlock output (block : Block) =
match output, block with
| output, { magic = "markdown"; content = content } ->
let markdownComment =
match output with
| Spi | Spir -> "/// "
| Fs -> "/// "
| _ -> ""
content
|> SpiralSm.split "\n"
|> Array.map (SpiralSm.trim_end [[||]])
|> Array.filter (SpiralSm.ends_with " (test)" >> not)
|> Array.map (function
| "" -> markdownComment
| line -> System.Text.RegularExpressions.Regex.Replace (line,
"^\\s*", $"$&{markdownComment}")
)
|> SpiralSm.concat "\n"
| Fs, { magic = "fsharp"; content = content } ->
let trimmedContent = content |> SpiralSm.trim
if trimmedContent |> SpiralSm.starts_with "//// test" || trimmedContent
|> SpiralSm.starts_with "//// ignore"
then ""
else
content
|> SpiralSm.split "\n"
|> Array.filter (SpiralSm.trim_start [[||]] >> SpiralSm.starts_with
"#r" >> not)
|> SpiralSm.concat "\n"
| (Spi | Spir), { magic = "spiral"; content = content } ->
let trimmedContent = content |> SpiralSm.trim
if trimmedContent |> SpiralSm.starts_with "//// test" || trimmedContent
|> SpiralSm.starts_with "//// ignore"
then ""
else content
| _ -> ""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
c
\#!markdown
c
\#!fsharp
let a = 1"
|> escapeCell
|> run block
|> function
| Success (block, _, _) -> formatBlock Fs block
| Failure (msg, _, _) -> failwith msg
|> _assertEqual "/// a
///
/// b
///
/// c"
╭─[ 56.97ms - stdout ]─────────────────────────────────────────────────────────╮
│ "/// a │
│ /// │
│ /// b │
│ /// │
│ /// c" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlocks output blocks =
blocks
|> List.map (fun block ->
block, formatBlock output block
)
|> List.filter (snd >> (<>) "")
|> fun list ->
(list, (None, [[]]))
||> List.foldBack (fun (block, content) (lastMagic, acc) ->
let lineBreak =
if block.magic = "markdown" && lastMagic <> Some "markdown" &&
lastMagic <> None
then ""
else "\n"
Some block.magic, $"{content}{lineBreak}" :: acc
)
|> snd
|> SpiralSm.concat "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
\#!markdown
c
\#!fsharp
let a = 1
\#!markdown
d (test)
\#!fsharp
//// test
let a = 2
\#!markdown
e
\#!fsharp
let a = 3"
|> escapeCell
|> run blocks
|> function
| Success (blocks, _, _) -> formatBlocks Fs blocks
| Failure (msg, _, _) -> failwith msg
|> _assertEqual "/// a
///
/// b
/// c
let a = 1
/// e
let a = 3
"
╭─[ 71.60ms - stdout ]─────────────────────────────────────────────────────────╮
│ "/// a │
│ /// │
│ /// b │
│ │
│ /// c │
│ let a = 1 │
│ │
│ /// e │
│ let a = 3 │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parse │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parse output input =
match run blocks input with
| Success (blocks, _, _) ->
let blocks =
blocks
|> List.filter (fun block ->
block.magic |> kernelOutputs |> List.contains output ||
block.magic = "markdown"
)
match blocks with
| { magic = "markdown"; content = content } :: _
when output = Fs
&& content |> SpiralSm.starts_with "# "
&& content |> SpiralSm.ends_with ")"
->
let inline indentBlock (block : Block) =
{ block with
content =
block.content
|> SpiralSm.split "\n"
|> Array.fold
(fun (lines, isMultiline) line ->
let trimmedLine = line |> SpiralSm.trim
if trimmedLine = ""
then "" :: lines, isMultiline
else
let inline singleQuoteLine () =
trimmedLine |> Seq.sumBy ((=) '"' >>
System.Convert.ToInt32) = 1
&& trimmedLine |> SpiralSm.contains
@"'""'" |> not
&& trimmedLine |> SpiralSm.ends_with "{"
|> not
&& trimmedLine |> SpiralSm.ends_with
"{|" |> not
&& trimmedLine |> SpiralSm.starts_with
"}" |> not
&& trimmedLine |> SpiralSm.starts_with
"|}" |> not
match isMultiline, trimmedLine |>
SpiralSm.split_string [[| $"{q}{q}{q}" |]] with
| false, [[| _; _ |]] ->
$" {line}" :: lines, true
| true, [[| _; _ |]] ->
line :: lines, false
| false, _ when singleQuoteLine () ->
$" {line}" :: lines, true
| false, _ when line |> SpiralSm.starts_with
"#" && block.magic = "fsharp" ->
line :: lines, false
| false, _ ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () && line |>
SpiralSm.starts_with " " ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () ->
line :: lines, false
| true, _ ->
line :: lines, true
)
([[]], false)
|> fst
|> List.rev
|> SpiralSm.concat "\n"
}
let moduleName, namespaceName =
System.Text.RegularExpressions.Regex.Match (content, @"# (.*)
\((.*)\)$")
|> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value
let moduleBlock =
{
magic = "fsharp"
content =
$"#if !INTERACTIVE
namespace {namespaceName}
#endif
module {moduleName} ="
}
blocks
|> List.indexed
|> List.fold
(fun blocks (index, block) ->
match index with
| 0 -> blocks
| 1 -> indentBlock block :: moduleBlock :: blocks
| _ -> indentBlock block :: blocks
)
[[]]
|> List.rev
| _ -> blocks
|> Result.Ok
| Failure (errorMsg, _, _) -> Result.Error errorMsg
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example1 =
$"""#!meta
{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":
"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}
\#!markdown
# TestModule (TestNamespace)
\#!fsharp
\#!import file.dib
\#!fsharp
\#r "nuget:Expecto"
\#!markdown
## ParserLibrary
\#!fsharp
open System
\#!markdown
## x (test)
\#!fsharp
//// ignore
let x = 1
\#!spiral
//// test
inl x = 0i32
\#!spiral
inl x = 0i32
\#!markdown
### TextInput
\#!fsharp
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
\#!fsharp
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}"""
|> escapeCell
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Fs
|> Result.toOption
|> Option.get
|> (formatBlocks Fs)
|> _assertEqual $"""#if !INTERACTIVE
namespace TestNamespace
#endif
module TestModule =
/// ## ParserLibrary
open System
/// ### TextInput
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}
"""
╭─[ 285.93ms - stdout ]────────────────────────────────────────────────────────╮
│ "#if !INTERACTIVE │
│ namespace TestNamespace │
│ #endif │
│ │
│ module TestModule = │
│ │
│ /// ## ParserLibrary │
│ open System │
│ │
│ /// ### TextInput │
│ let str1 = "abc │
│ def" │
│ │
│ let str2 = │
│ "abc\ │
│ def" │
│ │
│ let str3 = │
│ $"1{ │
│ 1 │
│ }1" │
│ │
│ let str4 = │
│ $"1{({| │
│ a = 1 │
│ |}).a}1" │
│ │
│ let str5 = │
│ "abc \ │
│ def" │
│ │
│ let x = │
│ match '"' with │
│ | '"' -> true │
│ | _ -> false │
│ │
│ let long1 = """a""" │
│ │
│ let long2 = │
│ """ │
│ a │
│ """ │
│ │
│ type Position = │
│ { │
│ #if INTERACTIVE │
│ line : string │
│ #else │
│ line : int │
│ #endif │
│ column : int │
│ } │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Md
|> Result.toOption
|> Option.get
|> (formatBlocks Md)
|> _assertEqual "# TestModule (TestNamespace)
## ParserLibrary
### TextInput
"
╭─[ 165.71ms - stdout ]────────────────────────────────────────────────────────╮
│ "# TestModule (TestNamespace) │
│ │
│ ## ParserLibrary │
│ │
│ ### TextInput │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Spi
|> Result.toOption
|> Option.get
|> (formatBlocks Spi)
|> _assertEqual "/// # TestModule (TestNamespace)
/// ## ParserLibrary
inl x = 0i32
/// ### TextInput
"
╭─[ 161.43ms - stdout ]────────────────────────────────────────────────────────╮
│ "/// # TestModule (TestNamespace) │
│ │
│ /// ## ParserLibrary │
│ inl x = 0i32 │
│ │
│ /// ### TextInput │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parseDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseDibCode output file = async {
trace Debug
(fun () -> "parseDibCode")
(fun () -> $"output: {output} / file: {file} / {_locals ()}")
let! input = file |> SpiralFileSystem.read_all_text_async
match parse output input with
| Result.Ok blocks -> return blocks |> formatBlocks output
| Result.Error msg -> return failwith msg
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeDibCode output path = async {
trace Debug
(fun () -> "writeDibCode")
(fun () -> $"output: {output} / path: {path} / {_locals ()}")
let! result = parseDibCode output path
let outputPath = path |> SpiralSm.replace ".dib" $".{output |> string |>
SpiralSm.to_lower}"
do! result |> SpiralFileSystem.write_all_text_async outputPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]
File of file : string * Output
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| File _ -> nameof File
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
╭─[ 87.10ms - return value ]───────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] <file> <fs|md|spi|spir> │
│ │
│ FILE: │
│ │
│ <file> <fs|md|spi|spir> │
│ File │
│ │
│ OPTIONS: │
│ │
│ --help display this list of options. │
│ " │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let files =
argsMap.[[nameof Arguments.File]]
|> List.map (function
| Arguments.File (path, output) -> path, output
)
files
|> List.map (fun (path, output) -> path |> writeDibCode output)
|> Async.Parallel
|> Async.Ignore
|> Async.runWithTimeout 30000
|> function
| Some () -> 0
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> SpiralRuntime.split_args
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 155.49ms - return value ]──────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0 │
│ </pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 168.47ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:05 debug #1 writeDibCode / output: Fs / path: Builder.dib │
│ 00:00:05 debug #2 parseDibCode / output: Fs / file: Builder.dib │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\builder / path: Builder.dib / _args: [
"-EnvironmentVariables",
{
"ARGS": "Builder.fs --packages Argu FSharp.Control.AsyncSeq System.Reactive.Linq --modules lib/spiral/common.fsx lib/spiral/sm.fsx lib/spiral/crypto.fsx lib/spiral/date_time.fsx lib/spiral/async_.fsx lib/spiral/threading.fsx lib/spiral/networking.fsx lib/spiral/runtime.fsx lib/spiral/file_system.fsx lib/spiral/trace.fsx lib/spiral/lib.fsx lib/fsharp/Common.fs lib/fsharp/CommonFSharp.fs lib/fsharp/Async.fs lib/fsharp/AsyncSeq.fs lib/fsharp/Runtime.fs lib/fsharp/FileSystem.fs"
}
]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Builder (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import ../../lib/fsharp/CommonFSharp.fs
#!import ../../lib/fsharp/Async.fs
#!import ../../lib/fsharp/AsyncSeq.fs
#!import ../../lib/fsharp/Runtime.fs
#!import ../../lib/fsharp/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
/// ## subscribeToken
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## parseArgs
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
_ -> Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName =
$"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## watchDirectory
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> Syst...
── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open SpiralFileSystem.Operators
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildProject │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildProject runtime outputDir path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let fileDir = fullPath |> System.IO.Path.GetDirectoryName
let extension = fullPath |> System.IO.Path.GetExtension
trace Debug
(fun () -> "buildProject")
(fun () -> $"fullPath: {fullPath} / {_locals ()}")
match extension with
| ".fsproj" -> ()
| _ -> failwith "Invalid project file"
let runtimes =
runtime
|> Option.map List.singleton
|> Option.defaultValue [[ "linux-x64"; "win-x64" ]]
let outputDir = outputDir |> Option.defaultValue "dist"
return!
runtimes
|> List.map (fun runtime -> async {
let command = $@"dotnet publish ""{path}"" --configuration Release
--output ""{outputDir}"" --runtime {runtime}"
let! exitCode, _result =
SpiralRuntime.execution_options (fun x ->
{ x with
l1 = command
l5 = Some fileDir
}
)
|> SpiralRuntime.execute_with_options_async
return exitCode
})
|> Async.Sequential
|> Async.map Array.sum
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## persistCodeProject │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline persistCodeProject packages modules name code = async {
trace Debug
(fun () -> "persistCodeProject")
(fun () -> $"packages: {packages} / modules: {modules} / name: {name} /
code.Length: {code |> String.length} / {_locals ()}")
let repositoryRoot = SpiralFileSystem.get_repository_root ()
let targetDir = repositoryRoot </> "target/polyglot/builder" </> name
System.IO.Directory.CreateDirectory targetDir |> ignore
let filePath = targetDir </> $"{name}.fs" |> System.IO.Path.GetFullPath
do! code |> SpiralFileSystem.write_all_text_exists filePath
let modulesCode =
modules
|> List.map (fun path -> $"""<Compile Include="{repositoryRoot </>
path}" />""")
|> SpiralSm.concat "\n "
let fsprojPath = targetDir </> $"{name}.fsproj"
let fsprojCode = $"""<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>preview</LangVersion>
<RollForward>Major</RollForward>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<PublishAot>false</PublishAot>
<PublishTrimmed>false</PublishTrimmed>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<Version>0.0.1-alpha.1</Version>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
{modulesCode}
<Compile Include="{filePath}" />
</ItemGroup>
<Import Project="{repositoryRoot}/.paket/Paket.Restore.targets" />
</Project>
"""
do! fsprojCode |> SpiralFileSystem.write_all_text_exists fsprojPath
let paketReferencesPath = targetDir </> "paket.references"
let paketReferencesCode =
"FSharp.Core" :: packages
|> SpiralSm.concat "\n"
do! paketReferencesCode |> SpiralFileSystem.write_all_text_exists
paketReferencesPath
return fsprojPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildCode runtime packages modules outputDir name code = async {
let! fsprojPath = code |> persistCodeProject packages modules name
let! exitCode = fsprojPath |> buildProject runtime outputDir
if exitCode > 0 then
let! fsprojText = fsprojPath |> SpiralFileSystem.read_all_text_async
trace Critical
(fun () -> "buildCode")
(fun () -> $"code: {code |> SpiralSm.ellipsis_end 400} / fsprojText:
{fsprojText} / {_locals ()}")
return exitCode
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"1 + 1 |> ignore"
|> buildCode None [[]] [[]] None "test1"
|> Async.runWithTimeout 180000
|> _assertEqual (Some 0)
╭─[ 15.76s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:02 debug #1 persistCodeProject / packages: [] / modules: [] / name: │
│ test1 / code.Length: 15 │
│ 00:00:02 debug #2 buildProject / fullPath: │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj │
│ 00:00:04 debug #1 execute_with_options_async / options: struct (None, │
│ "dotnet publish │
│ "C:\home\git\polyglot\target/polyglot/builder\test1\test1.fsproj" │
│ --configuration Release --output "dist" --runtime linux-x64", │
│ [||], None, None, │
│ Some "C:\home\git\polyglot\target\polyglot\builder\test1") │
│ 00:00:05 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for │
│ .NET │
│ 00:00:05 verbose #3 > Determining projects to restore... │
│ 00:00:06 verbose #4 > Restored │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj (in 361 ms). │
│ 00:00:06 verbose #5 > │
│ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
│ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
│ ce.targets(313,5): message NETSDK1057: You are using a preview version of │
│ .NET. See: https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj] │
│ 00:00:08 verbose #6 > │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fs(1,16): warning │
│ FS0988: Main module of program is empty: nothing will happen when it is run │
│ [C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj] │
│ 00:00:09 verbose #7 > test1 -> │
│ C:\home\git\polyglot\target\polyglot\builder\test1\bin\Release\net9.0\linux- │
│ x64\test1.dll │
│ 00:00:10 verbose #8 > test1 -> │
│ C:\home\git\polyglot\target\polyglot\builder\test1\dist\ │
│ 00:00:10 debug #9 execute_with_options_async / exit_code: 0 / │
│ output.Length: 910 │
│ 00:00:10 debug #10 execute_with_options_async / options: struct (None, │
│ "dotnet publish │
│ "C:\home\git\polyglot\target/polyglot/builder\test1\test1.fsproj" │
│ --configuration Release --output "dist" --runtime win-x64", │
│ [||], None, None, │
│ Some "C:\home\git\polyglot\target\polyglot\builder\test1") │
│ 00:00:11 verbose #11 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f │
│ for .NET │
│ 00:00:11 verbose #12 > Determining projects to restore... │
│ 00:00:12 verbose #13 > Restored │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj (in 320 ms). │
│ 00:00:12 verbose #14 > │
│ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
│ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
│ ce.targets(313,5): message NETSDK1057: You are using a preview version of │
│ .NET. See: https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj] │
│ 00:00:13 verbose #15 > │
│ C:\home\git\polyglot\target\polyglot\builder\test1\test1.fs(1,16): warning │
│ FS0988: Main module of program is empty: nothing will happen when it is run │
│ [C:\home\git\polyglot\target\polyglot\builder\test1\test1.fsproj] │
│ 00:00:14 verbose #16 > test1 -> │
│ C:\home\git\polyglot\target\polyglot\builder\test1\bin\Release\net9.0\win-x6 │
│ 4\test1.dll │
│ 00:00:20 verbose #17 > test1 -> │
│ C:\home\git\polyglot\target\polyglot\builder\test1\dist\ │
│ 00:00:20 debug #18 execute_with_options_async / exit_code: 0 / │
│ output.Length: 908 │
│ Some 0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"1 + a |> ignore"
|> buildCode None [[]] [[]] None "test2"
|> Async.runWithTimeout 180000
|> _assertEqual (Some 2)
╭─[ 6.07s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:18 debug #3 persistCodeProject / packages: [] / modules: [] / name: │
│ test2 / code.Length: 15 │
│ 00:00:18 debug #4 buildProject / fullPath: │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj │
│ 00:00:20 debug #19 execute_with_options_async / options: struct (None, │
│ "dotnet publish │
│ "C:\home\git\polyglot\target/polyglot/builder\test2\test2.fsproj" │
│ --configuration Release --output "dist" --runtime linux-x64", │
│ [||], None, None, │
│ Some "C:\home\git\polyglot\target\polyglot\builder\test2") │
│ 00:00:20 verbose #20 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f │
│ for .NET │
│ 00:00:21 verbose #21 > Determining projects to restore... │
│ 00:00:21 verbose #22 > Restored │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj (in 339 ms). │
│ 00:00:22 verbose #23 > │
│ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
│ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
│ ce.targets(313,5): message NETSDK1057: You are using a preview version of │
│ .NET. See: https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj] │
│ 00:00:23 verbose #24 > │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fs(1,5): error │
│ FS0039: The value or constructor 'a' is not defined. [ │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj] │
│ 00:00:23 debug #25 execute_with_options_async / exit_code: 1 / │
│ output.Length: 715 │
│ 00:00:23 debug #26 execute_with_options_async / options: struct (None, │
│ "dotnet publish │
│ "C:\home\git\polyglot\target/polyglot/builder\test2\test2.fsproj" │
│ --configuration Release --output "dist" --runtime win-x64", │
│ [||], None, None, │
│ Some "C:\home\git\polyglot\target\polyglot\builder\test2") │
│ 00:00:23 verbose #27 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f │
│ for .NET │
│ 00:00:24 verbose #28 > Determining projects to restore... │
│ 00:00:24 verbose #29 > Restored │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj (in 301 ms). │
│ 00:00:24 verbose #30 > │
│ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
│ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
│ ce.targets(313,5): message NETSDK1057: You are using a preview version of │
│ .NET. See: https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj] │
│ 00:00:26 verbose #31 > │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fs(1,5): error │
│ FS0039: The value or constructor 'a' is not defined. [ │
│ C:\home\git\polyglot\target\polyglot\builder\test2\test2.fsproj] │
│ 00:00:26 debug #32 execute_with_options_async / exit_code: 1 / │
│ output.Length: 715 │
│ 00:00:24 critical #5 buildCode / code: 1 + a |> ignore / fsprojText: │
│ <Project Sdk="Microsoft.NET.Sdk"> │
│ <PropertyGroup> │
│ <TargetFramework>net9.0</TargetFramework> │
│ <LangVersion>preview</LangVersion> │
│ <RollForward>Major</RollForward> │
│ <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch> │
│ <PublishAot>false</PublishAot> │
│ <PublishTrimmed>false</PublishTrimmed> │
│ <PublishSingleFile>true</PublishSingleFile> │
│ <SelfContained>true</SelfContained> │
│ <Version>0.0.1-alpha.1</Version> │
│ <OutputType>Exe</OutputType> │
│ </PropertyGroup> │
│ │
│ <ItemGroup> │
│ │
│ <Compile │
│ Include="C:\home\git\polyglot\target\polyglot\builder\test2\test2.fs" /> │
│ </ItemGroup> │
│ │
│ <Import Project="C:\home\git\polyglot/.paket/Paket.Restore.targets" /> │
│ </Project> │
│ │
│ Some 2 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## readFile │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline readFile path = async {
let! code = path |> SpiralFileSystem.read_all_text_async
let code = System.Text.RegularExpressions.Regex.Replace (
code,
@"( *)(let\s+main\s+.*?\s*=)",
fun m -> m.Groups.[[1]].Value + "[[<EntryPoint>]]\n" +
m.Groups.[[1]].Value + m.Groups.[[2]].Value
)
let codeTrim = code |> SpiralSm.trim_end [[||]]
return
if codeTrim |> SpiralSm.ends_with "\n()"
then codeTrim |> SpiralSm.slice 0 ((codeTrim |> String.length) - 3)
else code
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildFile │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildFile runtime packages modules path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let dir = fullPath |> System.IO.Path.GetDirectoryName
let name = fullPath |> System.IO.Path.GetFileNameWithoutExtension
let! code = fullPath |> readFile
return! code |> buildCode runtime packages modules (dir </> "dist" |> Some)
name
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## persistFile │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline persistFile packages modules path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let name = fullPath |> System.IO.Path.GetFileNameWithoutExtension
let! code = fullPath |> readFile
return! code |> persistCodeProject packages modules name
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce>]]
Path of path : string
| [[<Argu.ArguAttributes.Unique>]] Packages of packages : string list
| [[<Argu.ArguAttributes.Unique>]] Modules of modules : string list
| [[<Argu.ArguAttributes.Unique>]] Runtime of runtime : string
| [[<Argu.ArguAttributes.Unique>]] Persist_Only
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Path _ -> nameof Path
| Packages _ -> nameof Packages
| Modules _ -> nameof Modules
| Runtime _ -> nameof Runtime
| Persist_Only -> nameof Persist_Only
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
╭─[ 111.12ms - return value ]──────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] [--packages [<packages>...]] │
│ [--modules [<modules>...]] [--runtime <runtime>] │
│ [--persist-only] <path> │
│ │
│ PATH: │
│ │
│ <path> Path │
│ │
│ OPTIONS: │
│ │
│ --packages [<packages>...] │
│ Packages │
│ --modules [<modules>...] │
│ Modules │
│ --runtime <runtime> Runtime │
│ --persist-only Persist_Only │
│ --help display this list of options. │
│ " │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let path =
match argsMap.[[nameof Arguments.Path]] with
| [[ Arguments.Path path ]] -> Some path
| _ -> None
|> Option.get
let packages =
match argsMap |> Map.tryFind (nameof Arguments.Packages) with
| Some [[ Arguments.Packages packages ]] -> packages
| _ -> [[]]
let modules =
match argsMap |> Map.tryFind (nameof Arguments.Modules) with
| Some [[ Arguments.Modules modules ]] -> modules
| _ -> [[]]
let runtime =
match argsMap |> Map.tryFind (nameof Arguments.Runtime) with
| Some [[ Arguments.Runtime runtime ]] -> Some runtime
| _ -> None
let persistOnly = argsMap |> Map.containsKey (nameof Arguments.Persist_Only)
if persistOnly
then path |> persistFile packages modules |> Async.map (fun _ -> 0)
else path |> buildFile runtime packages modules
|> Async.runWithTimeout (60000 * 60)
|> function
| Some exitCode -> exitCode
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> SpiralRuntime.split_args
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 28.35s - return value ]────────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0 │
│ </pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 28.36s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:25 debug #6 persistCodeProject / packages: [Argu; │
│ FSharp.Control.AsyncSeq; System.Reactive.Linq] / modules: [ │
│ lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / │
│ name: Builder / code.Length: 7476 │
│ 00:00:25 debug #7 buildProject / fullPath: │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj │
│ 00:00:27 debug #33 execute_with_options_async / options: struct (None, │
│ "dotnet publish │
│ "C:\home\git\polyglot\target/polyglot/builder\Builder\Builder.fsproj" │
│ --configuration Release --output "C:\home\git\polyglot\apps\builder\dist" │
│ --runtime linux-x64", │
│ [||], None, None, │
│ Some "C:\home\git\polyglot\target\polyglot\builder\Builder") │
│ 00:00:27 verbose #34 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f │
│ for .NET │
│ 00:00:28 verbose #35 > Determining projects to restore... │
│ 00:00:28 verbose #36 > Paket version │
│ 8.1.0-alpha002+df391903d7590864c0bba48fdc34b50ddcc94cc2 │
│ 00:00:29 verbose #37 > Restoring │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj │
│ 00:00:29 verbose #38 > Starting restore process. │
│ 00:00:29 verbose #39 > Total time taken: 0 milliseconds │
│ 00:00:30 verbose #40 > Restored │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj (in 405 │
│ ms). │
│ 00:00:30 verbose #41 > │
│ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
│ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
│ ce.targets(313,5): message NETSDK1057: You are using a preview version of │
│ .NET. See: https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj] │
│ 00:00:38 verbose #42 > Builder -> │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\bin\Release\net9.0\linu │
│ x-x64\Builder.dll │
│ 00:00:39 verbose #43 > Builder -> C:\home\git\polyglot\apps\builder\dist\ │
│ 00:00:40 debug #44 execute_with_options_async / exit_code: 0 / │
│ output.Length: 907 │
│ 00:00:40 debug #45 execute_with_options_async / options: struct (None, │
│ "dotnet publish │
│ "C:\home\git\polyglot\target/polyglot/builder\Builder\Builder.fsproj" │
│ --configuration Release --output "C:\home\git\polyglot\apps\builder\dist" │
│ --runtime win-x64", │
│ [||], None, None, │
│ Some "C:\home\git\polyglot\target\polyglot\builder\Builder") │
│ 00:00:40 verbose #46 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f │
│ for .NET │
│ 00:00:40 verbose #47 > Determining projects to restore... │
│ 00:00:41 verbose #48 > Restored │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj (in 341 │
│ ms). │
│ 00:00:41 verbose #49 > │
│ C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.2 │
│ 4101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInferen │
│ ce.targets(313,5): message NETSDK1057: You are using a preview version of │
│ .NET. See: https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj] │
│ 00:00:49 verbose #50 > Builder -> │
│ C:\home\git\polyglot\target\polyglot\builder\Builder\bin\Release\net9.0\win- │
│ x64\Builder.dll │
│ 00:00:55 verbose #51 > Builder -> C:\home\git\polyglot\apps\builder\dist\ │
│ 00:00:55 debug #52 execute_with_options_async / exit_code: 0 / │
│ output.Length: 690 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Builder.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 330872 bytes to Builder.dib.html
In [ ]:
{ . ../apps/parser/build.ps1 } | Invoke-Block -Location $ScriptDir
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\parser / path: DibParser.dib / _args: [
"-EnvironmentVariables",
{
"ARGS": "DibParser.dib fs"
}
]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DibParser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsec.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsecCS.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── pwsh ────────────────────────────────────────────────────────────────────────
ls ~/.nuget/packages/argu
╭─[ 533.70ms - stdout ]────────────────────────────────────────────────────────╮
│ │
│ Directory: C:\Users\i574n\.nuget\packages\argu │
│ │
│ Mode LastWriteTime Length[ │
│ 32;1m Name │
│ ---- ------------- ------ [ │
│ 32;1m---- │
│ d---- 2023-05-17 3:38 PM 6.1.1 │
│ d---- 2024-03-12 8:22 PM 6.1.4 │
│ d---- 2024-01-29 5:12 PM 6.1.5 │
│ d---- 2024-03-12 8:20 PM 6.2.0 │
│ d---- 2024-02-23 6:50 PM 6.2.1 │
│ d---- 2024-03-12 8:15 PM 6.2.2 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import ../../lib/fsharp/CommonFSharp.fs
#!import ../../lib/fsharp/Async.fs
#!import ../../lib/fsharp/AsyncSeq.fs
#!import ../../lib/fsharp/Runtime.fs
#!import ../../lib/fsharp/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
/// ## subscribeToken
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## parseArgs
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
_ -> Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName =
$"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## watchDirectory
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> Syst...
── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FParsec
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## escapeCell (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline escapeCell input =
input
|> SpiralSm.split "\n"
|> Array.map (function
| line when line |> SpiralSm.starts_with "\\#!" || line |>
SpiralSm.starts_with "\\#r" ->
System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")
| line -> line
)
|> SpiralSm.concat "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
$"a{nl}\\#!magic{nl}b{nl}"
|> escapeCell
|> _assertEqual (
$"a{nl}#!magic{nl}b{nl}"
)
╭─[ 60.51ms - stdout ]─────────────────────────────────────────────────────────╮
│ "a │
│ #!magic │
│ b │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicMarker │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicMarker : Parser<string, unit> = pstring "#!"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic"
|> run magicMarker
|> _assertEqual (
Success ("#!", (), Position ("", 2, 1, 3))
)
╭─[ 42.45ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "#!" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"##!magic"
|> run magicMarker
|> _assertEqual (
Failure (
$"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 56.92ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure: │
│ Error in Ln: 1 Col: 1 │
│ ##!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicCommand │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicCommand =
magicMarker
>>. manyTill anyChar newline
|>> (System.String.Concat >> SpiralSm.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a"
|> run magicCommand
|> _assertEqual (
Success ("magic", (), Position ("", 8, 2, 1))
)
╭─[ 34.62ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "magic" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
" #!magic
a"
|> run magicCommand
|> _assertEqual (
Failure (
$"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 36.61ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure: │
│ Error in Ln: 1 Col: 1 │
│ #!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## content │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let content =
(newline >>. magicMarker) <|> (eof >>. preturn "")
|> attempt
|> lookAhead
|> manyTill anyChar
|>> (System.String.Concat >> SpiralSm.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run content
|> _assertEqual (
Success ("#!magic
a", (), Position ("", 14, 7, 1))
)
╭─[ 35.98ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: "#!magic │
│ │
│ │
│ a" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Block =
{
magic : string
content : string
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let block =
pipe2
magicCommand
content
(fun magic content ->
{
magic = magic
content = content
})
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run block
|> _assertEqual (
Success (
{ magic = "magic"; content = "a" },
(),
Position ("", 14, 7, 1)
)
)
╭─[ 43.69ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: { magic = "magic" │
│ content = "a" } │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## blocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let blocks =
skipMany newline
>>. sepEndBy block (skipMany1 newline)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic1
a
\#!magic2
b
"
|> escapeCell
|> run blocks
|> _assertEqual (
Success (
[[
{ magic = "magic1"; content = "a" }
{ magic = "magic2"; content = "b" }
]],
(),
Position ("", 26, 9, 1)
)
)
╭─[ 44.84ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success: [{ magic = "magic1" │
│ content = "a" }; { magic = "magic2" │
│ content = "b" }] │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Output │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Output =
| Fs
| Md
| Spi
| Spir
let inline kernelOutputs magic =
match magic with
| "fsharp" -> [[ Fs ]]
| "markdown" -> [[ Md ]]
| "spiral" -> [[ Spi; Spir ]]
| _ -> [[]]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlock │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlock output (block : Block) =
match output, block with
| output, { magic = "markdown"; content = content } ->
let markdownComment =
match output with
| Spi | Spir -> "/// "
| Fs -> "/// "
| _ -> ""
content
|> SpiralSm.split "\n"
|> Array.map (SpiralSm.trim_end [[||]])
|> Array.filter (SpiralSm.ends_with " (test)" >> not)
|> Array.map (function
| "" -> markdownComment
| line -> System.Text.RegularExpressions.Regex.Replace (line,
"^\\s*", $"$&{markdownComment}")
)
|> SpiralSm.concat "\n"
| Fs, { magic = "fsharp"; content = content } ->
let trimmedContent = content |> SpiralSm.trim
if trimmedContent |> SpiralSm.starts_with "//// test" || trimmedContent
|> SpiralSm.starts_with "//// ignore"
then ""
else
content
|> SpiralSm.split "\n"
|> Array.filter (SpiralSm.trim_start [[||]] >> SpiralSm.starts_with
"#r" >> not)
|> SpiralSm.concat "\n"
| (Spi | Spir), { magic = "spiral"; content = content } ->
let trimmedContent = content |> SpiralSm.trim
if trimmedContent |> SpiralSm.starts_with "//// test" || trimmedContent
|> SpiralSm.starts_with "//// ignore"
then ""
else content
| _ -> ""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
c
\#!markdown
c
\#!fsharp
let a = 1"
|> escapeCell
|> run block
|> function
| Success (block, _, _) -> formatBlock Fs block
| Failure (msg, _, _) -> failwith msg
|> _assertEqual "/// a
///
/// b
///
/// c"
╭─[ 55.94ms - stdout ]─────────────────────────────────────────────────────────╮
│ "/// a │
│ /// │
│ /// b │
│ /// │
│ /// c" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlocks output blocks =
blocks
|> List.map (fun block ->
block, formatBlock output block
)
|> List.filter (snd >> (<>) "")
|> fun list ->
(list, (None, [[]]))
||> List.foldBack (fun (block, content) (lastMagic, acc) ->
let lineBreak =
if block.magic = "markdown" && lastMagic <> Some "markdown" &&
lastMagic <> None
then ""
else "\n"
Some block.magic, $"{content}{lineBreak}" :: acc
)
|> snd
|> SpiralSm.concat "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
\#!markdown
c
\#!fsharp
let a = 1
\#!markdown
d (test)
\#!fsharp
//// test
let a = 2
\#!markdown
e
\#!fsharp
let a = 3"
|> escapeCell
|> run blocks
|> function
| Success (blocks, _, _) -> formatBlocks Fs blocks
| Failure (msg, _, _) -> failwith msg
|> _assertEqual "/// a
///
/// b
/// c
let a = 1
/// e
let a = 3
"
╭─[ 70.34ms - stdout ]─────────────────────────────────────────────────────────╮
│ "/// a │
│ /// │
│ /// b │
│ │
│ /// c │
│ let a = 1 │
│ │
│ /// e │
│ let a = 3 │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parse │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parse output input =
match run blocks input with
| Success (blocks, _, _) ->
let blocks =
blocks
|> List.filter (fun block ->
block.magic |> kernelOutputs |> List.contains output ||
block.magic = "markdown"
)
match blocks with
| { magic = "markdown"; content = content } :: _
when output = Fs
&& content |> SpiralSm.starts_with "# "
&& content |> SpiralSm.ends_with ")"
->
let inline indentBlock (block : Block) =
{ block with
content =
block.content
|> SpiralSm.split "\n"
|> Array.fold
(fun (lines, isMultiline) line ->
let trimmedLine = line |> SpiralSm.trim
if trimmedLine = ""
then "" :: lines, isMultiline
else
let inline singleQuoteLine () =
trimmedLine |> Seq.sumBy ((=) '"' >>
System.Convert.ToInt32) = 1
&& trimmedLine |> SpiralSm.contains
@"'""'" |> not
&& trimmedLine |> SpiralSm.ends_with "{"
|> not
&& trimmedLine |> SpiralSm.ends_with
"{|" |> not
&& trimmedLine |> SpiralSm.starts_with
"}" |> not
&& trimmedLine |> SpiralSm.starts_with
"|}" |> not
match isMultiline, trimmedLine |>
SpiralSm.split_string [[| $"{q}{q}{q}" |]] with
| false, [[| _; _ |]] ->
$" {line}" :: lines, true
| true, [[| _; _ |]] ->
line :: lines, false
| false, _ when singleQuoteLine () ->
$" {line}" :: lines, true
| false, _ when line |> SpiralSm.starts_with
"#" && block.magic = "fsharp" ->
line :: lines, false
| false, _ ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () && line |>
SpiralSm.starts_with " " ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () ->
line :: lines, false
| true, _ ->
line :: lines, true
)
([[]], false)
|> fst
|> List.rev
|> SpiralSm.concat "\n"
}
let moduleName, namespaceName =
System.Text.RegularExpressions.Regex.Match (content, @"# (.*)
\((.*)\)$")
|> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value
let moduleBlock =
{
magic = "fsharp"
content =
$"#if !INTERACTIVE
namespace {namespaceName}
#endif
module {moduleName} ="
}
blocks
|> List.indexed
|> List.fold
(fun blocks (index, block) ->
match index with
| 0 -> blocks
| 1 -> indentBlock block :: moduleBlock :: blocks
| _ -> indentBlock block :: blocks
)
[[]]
|> List.rev
| _ -> blocks
|> Result.Ok
| Failure (errorMsg, _, _) -> Result.Error errorMsg
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example1 =
$"""#!meta
{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":
"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}
\#!markdown
# TestModule (TestNamespace)
\#!fsharp
\#!import file.dib
\#!fsharp
\#r "nuget:Expecto"
\#!markdown
## ParserLibrary
\#!fsharp
open System
\#!markdown
## x (test)
\#!fsharp
//// ignore
let x = 1
\#!spiral
//// test
inl x = 0i32
\#!spiral
inl x = 0i32
\#!markdown
### TextInput
\#!fsharp
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
\#!fsharp
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}"""
|> escapeCell
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Fs
|> Result.toOption
|> Option.get
|> (formatBlocks Fs)
|> _assertEqual $"""#if !INTERACTIVE
namespace TestNamespace
#endif
module TestModule =
/// ## ParserLibrary
open System
/// ### TextInput
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}
"""
╭─[ 180.83ms - stdout ]────────────────────────────────────────────────────────╮
│ "#if !INTERACTIVE │
│ namespace TestNamespace │
│ #endif │
│ │
│ module TestModule = │
│ │
│ /// ## ParserLibrary │
│ open System │
│ │
│ /// ### TextInput │
│ let str1 = "abc │
│ def" │
│ │
│ let str2 = │
│ "abc\ │
│ def" │
│ │
│ let str3 = │
│ $"1{ │
│ 1 │
│ }1" │
│ │
│ let str4 = │
│ $"1{({| │
│ a = 1 │
│ |}).a}1" │
│ │
│ let str5 = │
│ "abc \ │
│ def" │
│ │
│ let x = │
│ match '"' with │
│ | '"' -> true │
│ | _ -> false │
│ │
│ let long1 = """a""" │
│ │
│ let long2 = │
│ """ │
│ a │
│ """ │
│ │
│ type Position = │
│ { │
│ #if INTERACTIVE │
│ line : string │
│ #else │
│ line : int │
│ #endif │
│ column : int │
│ } │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Md
|> Result.toOption
|> Option.get
|> (formatBlocks Md)
|> _assertEqual "# TestModule (TestNamespace)
## ParserLibrary
### TextInput
"
╭─[ 170.19ms - stdout ]────────────────────────────────────────────────────────╮
│ "# TestModule (TestNamespace) │
│ │
│ ## ParserLibrary │
│ │
│ ### TextInput │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Spi
|> Result.toOption
|> Option.get
|> (formatBlocks Spi)
|> _assertEqual "/// # TestModule (TestNamespace)
/// ## ParserLibrary
inl x = 0i32
/// ### TextInput
"
╭─[ 171.45ms - stdout ]────────────────────────────────────────────────────────╮
│ "/// # TestModule (TestNamespace) │
│ │
│ /// ## ParserLibrary │
│ inl x = 0i32 │
│ │
│ /// ### TextInput │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parseDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseDibCode output file = async {
trace Debug
(fun () -> "parseDibCode")
(fun () -> $"output: {output} / file: {file} / {_locals ()}")
let! input = file |> SpiralFileSystem.read_all_text_async
match parse output input with
| Result.Ok blocks -> return blocks |> formatBlocks output
| Result.Error msg -> return failwith msg
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeDibCode output path = async {
trace Debug
(fun () -> "writeDibCode")
(fun () -> $"output: {output} / path: {path} / {_locals ()}")
let! result = parseDibCode output path
let outputPath = path |> SpiralSm.replace ".dib" $".{output |> string |>
SpiralSm.to_lower}"
do! result |> SpiralFileSystem.write_all_text_async outputPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]
File of file : string * Output
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| File _ -> nameof File
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
╭─[ 90.79ms - return value ]───────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] <file> <fs|md|spi|spir> │
│ │
│ FILE: │
│ │
│ <file> <fs|md|spi|spir> │
│ File │
│ │
│ OPTIONS: │
│ │
│ --help display this list of options. │
│ " │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let files =
argsMap.[[nameof Arguments.File]]
|> List.map (function
| Arguments.File (path, output) -> path, output
)
files
|> List.map (fun (path, output) -> path |> writeDibCode output)
|> Async.Parallel
|> Async.Ignore
|> Async.runWithTimeout 30000
|> function
| Some () -> 0
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> SpiralRuntime.split_args
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 152.61ms - return value ]──────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0 │
│ </pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 164.30ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:05 debug #1 writeDibCode / output: Fs / path: DibParser.dib │
│ 00:00:05 debug #2 parseDibCode / output: Fs / file: DibParser.dib │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook DibParser.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 369653 bytes to DibParser.dib.html
00:00:00 debug #1 persistCodeProject / packages: [Argu; FParsec; FSharp.Control.AsyncSeq; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: DibParser / code.Length: 9581
00:00:00 debug #2 buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj
00:00:00 debug #1 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DibParser\DibParser.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\parser\dist" --runtime linux-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\DibParser")
00:00:00 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 > Determining projects to restore...
00:00:01 verbose #4 > Restored C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj (in 385 ms).
00:00:01 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj]
00:00:10 verbose #6 > DibParser -> C:\home\git\polyglot\target\polyglot\builder\DibParser\bin\Release\net9.0\linux-x64\DibParser.dll
00:00:11 verbose #7 > DibParser -> C:\home\git\polyglot\apps\parser\dist\
00:00:11 debug #8 execute_with_options_async / exit_code: 0 / output.Length: 707
00:00:11 debug #9 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DibParser\DibParser.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\parser\dist" --runtime win-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\DibParser")
00:00:12 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:12 verbose #11 > Determining projects to restore...
00:00:13 verbose #12 > Restored C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj (in 354 ms).
00:00:13 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\DibParser\DibParser.fsproj]
00:00:21 verbose #14 > DibParser -> C:\home\git\polyglot\target\polyglot\builder\DibParser\bin\Release\net9.0\win-x64\DibParser.dll
00:00:24 verbose #15 > DibParser -> C:\home\git\polyglot\apps\parser\dist\
00:00:24 debug #16 execute_with_options_async / exit_code: 0 / output.Length: 705
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\parser / path: JsonParser.dib / _args: null
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # JsonParser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import Parser.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Parser =
open Common
/// ### TextInput
type Position =
{
line : int
column : int
}
let initialPos = { line = 0; column = 0 }
let inline incrCol (pos : Position) =
{ pos with column = pos.column + 1 }
let inline incrLine pos =
{ line = pos.line + 1; column = 0 }
type InputState =
{
lines : string[[]]
position : Position
}
let inline fromStr str =
{
lines =
if str |> String.IsNullOrEmpty
then [[||]]
else str |> SpiralSm.split_string [[| "\r\n"; "\n" |]]
position = initialPos
}
...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open Parser
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## JsonParser │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
(*
// --------------------------------
JSON spec from http://www.json.org/
// --------------------------------
The JSON spec is available at [[json.org]](http://www.json.org/). I'll paraphase
it here:
* A `value` can be a `string` or a `number` or a `bool` or `null` or an `object`
or an `array`.
* These structures can be nested.
* A `string` is a sequence of zero or more Unicode characters, wrapped in double
quotes, using backslash escapes.
* A `number` is very much like a C or Java number, except that the octal and
hexadecimal formats are not used.
* A `boolean` is the literal `true` or `false`
* A `null` is the literal `null`
* An `object` is an unordered set of name/value pairs.
* An object begins with { (left brace) and ends with } (right brace).
* Each name is followed by : (colon) and the name/value pairs are separated by
, (comma).
* An `array` is an ordered collection of values.
* An array begins with [[ (left bracket) and ends with ]] (right bracket).
* Values are separated by , (comma).
* Whitespace can be inserted between any pair of tokens.
*)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline parserEqual (expected : ParseResult<'a>) (actual : ParseResult<'a *
Input>) =
match actual, expected with
| Success (_actual, _), Success _expected ->
printResult actual
_actual |> _assertEqual _expected
| Failure (l1, e1, p1), Failure (l2, e2, p2) when l1 = l2 && e1 = e2 && p1 =
p2 ->
printResult actual
| _ ->
printfn $"Actual: {actual}"
printfn $"Expected: {expected}"
failwith "Parse failed"
actual
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### JValue │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type JValue =
| JString of string
| JNumber of float
| JBool of bool
| JNull
| JObject of Map<string, JValue>
| JArray of JValue list
── fsharp ──────────────────────────────────────────────────────────────────────
let jValue, jValueRef = createParserForwardedToRef<JValue> ()
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jNull │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jNull =
pstring "null"
>>% JNull
<?> "null"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jValue "null"
|> parserEqual (Success JNull)
╭─[ 206.39ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNull, { lines = [ │
│ |"null"|]<br/> position = { line = 0<br/> │
│ column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNull, { lines = [|"null"|]<br/> │
│ position = { line = 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNull</code></span></summary><div><table><thead> │
│ <tr></tr></thead><tbody><tr><td>IsJString</td><td><d... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 215.49ms - stdout ]────────────────────────────────────────────────────────╮
│ JNull │
│ JNull │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNull "nulp"
|> parserEqual (
Failure (
"null",
"Unexpected 'p'",
{ currentLine = "nulp"; line = 0; column = 3 }
)
)
╭─[ 50.91ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("null", "Unexpected │
│ 'p'", { currentLine = "nulp"<br/> │
│ line = 0<br/> column = 3 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"null" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected 'p'" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "nulp"<br/> line = 0<br/> column = 3 │
│ }</code></span></summary><div><t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 57.84ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:3 Error parsing null │
│ nulp │
│ ^Unexpected 'p' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jBool │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jBool =
let jtrue =
pstring "true"
>>% JBool true
let jfalse =
pstring "false"
>>% JBool false
jtrue <|> jfalse
<?> "bool"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jBool "true"
|> parserEqual (Success (JBool true))
╭─[ 47.38ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JBool true, { lines = [ │
│ |"true"|]<br/> position = { line = 0<br/> │
│ column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JBool true, { lines = [|"true"|]<br/> │
│ position = { line = 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JBool │
│ true</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr.. │
│ . │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 54.89ms - stdout ]─────────────────────────────────────────────────────────╮
│ JBool true │
│ JBool true │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jBool "false"
|> parserEqual (Success (JBool false))
╭─[ 48.81ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JBool false, { lines = [ │
│ |"false"|]<br/> position = { line = 0<br/> │
│ column = 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JBool false, { lines = [ │
│ |"false"|]<br/> position = { line = 0<br/> column = │
│ 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JBool │
│ false</code></span></summary><div><table><thead><tr></tr></thead><tb... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 55.38ms - stdout ]─────────────────────────────────────────────────────────╮
│ JBool false │
│ JBool false │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jBool "truX"
|> parserEqual (
Failure (
"bool",
"Unexpected 't'",
{ currentLine = "truX"; line = 0; column = 0 }
)
)
╭─[ 32.24ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("bool", "Unexpected │
│ 't'", { currentLine = "truX"<br/> │
│ line = 0<br/> column = 0 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"bool" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected 't'" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "truX"<br/> line = 0<br/> column = 0 │
│ }</code></span></summary><div><t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 38.52ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:0 Error parsing bool │
│ truX │
│ ^Unexpected 't' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jUnescapedChar │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jUnescapedChar =
satisfy (fun ch -> ch <> '\\' && ch <> '\"') "char"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jUnescapedChar "a"
|> parserEqual (Success 'a')
╭─[ 58.56ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('a', { lines = [ │
│ |"a"|]<br/> position = { line = 0<br/> │
│ column = 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(a, { lines = [|"a"|]<br/> position = │
│ { line = 0<br/> column = 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>'a' │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [ │
│ |"a... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 65.25ms - stdout ]─────────────────────────────────────────────────────────╮
│ 'a' │
│ 'a' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jUnescapedChar "\\"
|> parserEqual (
Failure (
"char",
"Unexpected '\\'",
{ currentLine = "\\"; line = 0; column = 0 }
)
)
╭─[ 36.27ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("char", "Unexpected │
│ '\'", { currentLine = "\"<br/> │
│ line = 0<br/> column = 0 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"char" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected '\'" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "\"<br/> line = 0<br/> column = 0 │
│ }</code></span></summary><div><table><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 42.43ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:0 Error parsing char │
│ \ │
│ ^Unexpected '\' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jEscapedChar │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jEscapedChar =
[[
("\\\"",'\"')
("\\\\",'\\')
("\\/",'/')
("\\b",'\b')
("\\f",'\f')
("\\n",'\n')
("\\r",'\r')
("\\t",'\t')
]]
|> List.map (fun (toMatch, result) ->
pstring toMatch >>% result
)
|> choice
<?> "escaped char"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar "\\\\"
|> parserEqual (Success '\\')
╭─[ 38.58ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\\', { lines = [ │
│ |"\\"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(\, { lines = [|"\\"|]<br/> position │
│ = { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>'\\' │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [ │
│ |&... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 44.92ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\\' │
│ '\\' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar "\\t"
|> parserEqual (Success '\t')
╭─[ 37.14ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\009', { lines = [ │
│ |"\t"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>( , { lines = [|"\t"|]<br/> position = │
│ { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>'\009' │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lin... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 43.71ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\009' │
│ '\009' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar @"\\"
|> parserEqual (Success '\\')
╭─[ 35.15ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\\', { lines = [ │
│ |"\\"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(\, { lines = [|"\\"|]<br/> position │
│ = { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>'\\' │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [ │
│ |&... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 41.31ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\\' │
│ '\\' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar @"\n"
|> parserEqual (Success '\n')
╭─[ 36.06ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\010', { lines = [ │
│ |"<br/>"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(<br/>, { lines = [|"<br/>"|]<br/> │
│ position = { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>'\010' │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 42.48ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\010' │
│ '\010' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar "a"
|> parserEqual (
Failure (
"escaped char",
"Unexpected 'a'",
{ currentLine = "a"; line = 0; column = 0 }
)
)
╭─[ 56.93ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("escaped char", │
│ "Unexpected 'a'", { currentLine = "a"<br/> │
│ line = 0<br/> column = 0 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"escaped char" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected 'a'" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "a"<br/> line = 0<br/> column = 0 }</cod... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 83.55ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:0 Error parsing escaped char │
│ a │
│ ^Unexpected 'a' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jUnicodeChar │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jUnicodeChar =
let backslash = pchar '\\'
let uChar = pchar 'u'
let hexdigit = anyOf ([[ '0' .. '9' ]] @ [[ 'A' .. 'F' ]] @ [[ 'a' .. 'f'
]])
let fourHexDigits = hexdigit .>>. hexdigit .>>. hexdigit .>>. hexdigit
let inline convertToChar (((h1, h2), h3), h4) =
let str = $"%c{h1}%c{h2}%c{h3}%c{h4}"
Int32.Parse (str, Globalization.NumberStyles.HexNumber) |> char
backslash >>. uChar >>. fourHexDigits
|>> convertToChar
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jUnicodeChar "\\u263A"
|> parserEqual (Success '☺')
╭─[ 44.02ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('☺', { lines = [ │
│ |"\u263A"|]<br/> position = { line = 0<br/> │
│ column = 6 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(☺, { lines = [|"\u263A"|]<br/> │
│ position = { line = 0<br/> column = 6 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>'☺' │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines =... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 50.56ms - stdout ]─────────────────────────────────────────────────────────╮
│ '☺' │
│ '☺' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jString │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let quotedString =
let quote = pchar '\"' <?> "quote"
let jchar = jUnescapedChar <|> jEscapedChar <|> jUnicodeChar
quote >>. manyChars jchar .>> quote
── fsharp ──────────────────────────────────────────────────────────────────────
let jString =
quotedString
|>> JString
<?> "quoted string"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
jString
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"\""
|> parserEqual (Success (JString ""))
╭─[ 51.38ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "", { lines = [ │
│ |""""|]<br/> position = { line = │
│ 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "", { lines = [ │
│ |""""|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString ""</code></span></summary>... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 58.35ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "" │
│ JString "" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"a\""
|> parserEqual (Success (JString "a"))
╭─[ 39.28ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "a", { lines = [ │
│ |""a""|]<br/> position = { line = │
│ 0<br/> column = 3 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "a", { lines = [ │
│ |""a""|]<br/> position = { line = 0<br/> │
│ column = 3 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString "a"</code></span></s... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 46.61ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "a" │
│ JString "a" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"ab\""
|> parserEqual (Success (JString "ab"))
╭─[ 36.66ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "ab", { lines = [ │
│ |""ab""|]<br/> position = { line │
│ = 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "ab", { lines = [ │
│ |""ab""|]<br/> position = { line = 0<br/> │
│ column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString "ab"</code></s... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 45.13ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "ab" │
│ JString "ab" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"ab\\tde\""
|> parserEqual (Success (JString "ab\tde"))
╭─[ 48.54ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "ab de", { lines = [ │
│ |""ab\tde""|]<br/> position = │
│ { line = 0<br/> column = 8 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "ab de", { lines = [ │
│ |""ab\tde""|]<br/> position = { line = 0<br/> │
│ column = 8 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString &quo... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 55.27ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "ab de" │
│ JString "ab de" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"ab\\u263Ade\""
|> parserEqual (Success (JString "ab☺de"))
╭─[ 46.67ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "ab☺de", { lines = [ │
│ |""ab\u263Ade""|]<br/> │
│ position = { line = 0<br/> column = │
│ 12 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "ab☺de", { lines = [ │
│ |""ab\u263Ade""|]<br/> position = { line = 0<br/> │
│ column = 12 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JS... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 53.30ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "ab☺de" │
│ JString "ab☺de" │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jNumber │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jNumber =
let optSign = opt (pchar '-')
let zero = pstring "0"
let digitOneNine =
satisfy (fun ch -> Char.IsDigit ch && ch <> '0') "1-9"
let digit =
satisfy Char.IsDigit "digit"
let point = pchar '.'
let e = pchar 'e' <|> pchar 'E'
let optPlusMinus = opt (pchar '-' <|> pchar '+')
let nonZeroInt =
digitOneNine .>>. manyChars digit
|>> fun (first, rest) -> string first + rest
let intPart = zero <|> nonZeroInt
let fractionPart = point >>. manyChars1 digit
let exponentPart = e >>. optPlusMinus .>>. manyChars1 digit
let inline (|>?) opt f =
match opt with
| None -> ""
| Some x -> f x
let inline convertToJNumber (((optSign, intPart), fractionPart), expPart) =
let signStr =
optSign
|>? string
let fractionPartStr =
fractionPart
|>? (fun digits -> "." + digits)
let expPartStr =
expPart
|>? fun (optSign, digits) ->
let sign = optSign |>? string
"e" + sign + digits
(signStr + intPart + fractionPartStr + expPartStr)
|> float
|> JNumber
optSign .>>. intPart .>>. opt fractionPart .>>. opt exponentPart
|>> convertToJNumber
<?> "number"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
jString
jNumber
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "123"
|> parserEqual (Success (JNumber 123.0))
╭─[ 62.64ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 0<br/> │
│ column = 3 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 0<br/> column = 3 │
│ } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.0</code></span></summary><div><table><thead><tr></tr></the... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 69.46ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.0 │
│ JNumber 123.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "-123"
|> parserEqual (Success (JNumber -123.0))
╭─[ 40.82ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = │
│ 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = 0<br/> column = │
│ 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ -123.0</code></span></summary><div><table><thead><tr></t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 47.17ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber -123.0 │
│ JNumber -123.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "123.4"
|> parserEqual (Success (JNumber 123.4))
╭─[ 51.48ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = │
│ 0<br/> column = 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = 0<br/> column = │
│ 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.4</code></span></summary><div><table><thead><tr></tr><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 57.88ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.4 │
│ JNumber 123.4 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "-123."
|> parserEqual (Success (JNumber -123.0))
╭─[ 37.47ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [ │
│ |"-123."|]<br/> position = { line = │
│ 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [ │
│ |"-123."|]<br/> position = { line = 0<br/> column = │
│ 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ -123.0</code></span></summary><div><table><thead><tr><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 43.67ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber -123.0 │
│ JNumber -123.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "00.1"
|> parserEqual (Success (JNumber 0.0))
╭─[ 41.56ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 0.0, { lines = [ │
│ |"00.1"|]<br/> position = { line = 0<br/> │
│ column = 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 0.0, { lines = [ │
│ |"00.1"|]<br/> position = { line = 0<br/> column = │
│ 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 0.0</code></span></summary><div><table><thead><tr></tr></thead><tbod... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 47.86ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 0.0 │
│ JNumber 0.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let jNumber_ = jNumber .>> spaces1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123"
|> parserEqual (Success (JNumber 123.0))
╭─[ 42.72ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 1<br/> column = 0 │
│ } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.0</code></span></summary><div><table><thead><tr></tr></the... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 49.30ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.0 │
│ JNumber 123.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "-123"
|> parserEqual (Success (JNumber -123.0))
╭─[ 40.24ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = 1<br/> column = │
│ 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ -123.0</code></span></summary><div><table><thead><tr></t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 46.50ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber -123.0 │
│ JNumber -123.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "-123."
|> parserEqual (
Failure (
"number andThen many1 whitespace",
"Unexpected '.'",
{ currentLine = "-123."; line = 0; column = 4 }
)
)
╭─[ 30.36ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure<br/> ("number andThen many1 │
│ whitespace", "Unexpected '.'", { currentLine = │
│ "-123."<br/> │
│ line = 0<br/> │
│ column = 4 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"number andThen many1 │
│ whitespace" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected '.'" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint">... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 36.34ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:4 Error parsing number andThen many1 whitespace │
│ -123. │
│ ^Unexpected '.' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123.4"
|> parserEqual (Success (JNumber 123.4))
╭─[ 39.46ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = 1<br/> column = │
│ 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.4</code></span></summary><div><table><thead><tr></tr><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 46.08ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.4 │
│ JNumber 123.4 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "00.4"
|> parserEqual (
Failure (
"number andThen many1 whitespace",
"Unexpected '0'",
{ currentLine = "00.4"; line = 0; column = 1 }
)
)
╭─[ 34.33ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure<br/> ("number andThen many1 │
│ whitespace", "Unexpected '0'", { currentLine = │
│ "00.4"<br/> │
│ line = 0<br/> │
│ column = 1 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"number andThen many1 │
│ whitespace" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected '0'" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 40.44ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:1 Error parsing number andThen many1 whitespace │
│ 00.4 │
│ ^Unexpected '0' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123e4"
|> parserEqual (Success (JNumber 1230000.0))
╭─[ 43.72ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 1230000.0, { lines = [ │
│ |"123e4"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 1230000.0, { lines = [ │
│ |"123e4"|]<br/> position = { line = 1<br/> column = │
│ 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 1230000.0</code></span></summary><div><tab... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 49.92ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 1230000.0 │
│ JNumber 1230000.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123.4e5"
|> parserEqual (Success (JNumber 12340000.0))
╭─[ 40.39ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 12340000.0, { lines = [ │
│ |"123.4e5"|]<br/> position = { line │
│ = 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 12340000.0, { lines = [ │
│ |"123.4e5"|]<br/> position = { line = 1<br/> column │
│ = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber 12340000.0</code></span></summary>... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 46.61ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 12340000.0 │
│ JNumber 12340000.0 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123.4e-5"
|> parserEqual (Success (JNumber 0.001234))
╭─[ 39.29ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 0.001234, { lines = [ │
│ |"123.4e-5"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 0.001234, { lines = [ │
│ |"123.4e-5"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 0.001234</code></span></summary><div><ta... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 45.44ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 0.001234 │
│ JNumber 0.001234 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jArray │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jArray =
let left = pchar '[[' .>> spaces
let right = pchar ']]' .>> spaces
let comma = pchar ',' .>> spaces
let value = jValue .>> spaces
let values = sepBy value comma
between left values right
|>> JArray
<?> "array"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
jString
jNumber
jArray
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jArray "[[ 1, 2 ]]"
|> parserEqual (Success (JArray [[ JNumber 1.0; JNumber 2.0 ]]))
╭─[ 89.80ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JArray [JNumber 1.0; JNumber 2.0], { │
│ lines = [|"[ 1, 2 ]"|]<br/> │
│ position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JArray [JNumber 1.0; JNumber 2.0], { lines = [ │
│ |"[ 1, 2 ]"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span class="d... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 96.31ms - stdout ]─────────────────────────────────────────────────────────╮
│ JArray [JNumber 1.0; JNumber 2.0] │
│ JArray [JNumber 1.0; JNumber 2.0] │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jArray "[[ 1, 2, ]]"
|> parserEqual (
Failure (
"array",
"Unexpected ','",
{ currentLine = "[[ 1, 2, ]]"; line = 0; column = 6 }
)
)
╭─[ 38.18ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("array", "Unexpected │
│ ','", { currentLine = "[ 1, 2, ]"<br/> │
│ line = 0<br/> column = 6 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"array" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected ','" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "[ 1, 2, ]"<br/> line = 0<br/> column = 6 │
│ }</code></span></s... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 45.01ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:6 Error parsing array │
│ [ 1, 2, ] │
│ ^Unexpected ',' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jObject │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jObject =
let left = spaces >>. pchar '{' .>> spaces
let right = pchar '}' .>> spaces
let colon = pchar ':' .>> spaces
let comma = pchar ',' .>> spaces
let key = quotedString .>> spaces
let value = jValue .>> spaces
let keyValue = (key .>> colon) .>>. value
let keyValues = sepBy keyValue comma
between left keyValues right
|>> Map.ofList
|>> JObject
<?> "object"
── fsharp ──────────────────────────────────────────────────────────────────────
jValueRef <|
choice
[[
jNull
jBool
jString
jNumber
jArray
jObject
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jObject """{ "a":1, "b" : 2 }"""
|> parserEqual (
Success (
JObject (
Map.ofList [[
"a", JNumber 1.0
"b", JNumber 2.0
]]
)
)
)
╭─[ 88.90ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject (map [("a", │
│ JNumber 1.0); ("b", JNumber 2.0)]),<br/> { lines = [|"{ │
│ "a":1, "b" : 2 }"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject (map [("a", JNumber 1.0); │
│ ("b", JNumber 2.0)]), { lines = [|"{ "a":1, │
│ "b" : 2 }"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbod... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 95.31ms - stdout ]─────────────────────────────────────────────────────────╮
│ JObject (map [("a", JNumber 1.0); ("b", JNumber 2.0)]) │
│ JObject (map [("a", JNumber 1.0); ("b", JNumber 2.0)]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jObject """{ "a":1, "b" : 2, }"""
|> parserEqual (
Failure (
"object",
"Unexpected ','",
{ currentLine = """{ "a":1, "b" : 2, }"""; line = 0; column = 18 }
)
)
╭─[ 38.33ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("object", "Unexpected │
│ ','", { currentLine = "{ "a":1, "b" : │
│ 2, }"<br/> line = 0<br/> │
│ column = 18 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>"object" │
│ </pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>"Unexpected ','" │
│ </pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "{ "a":1, "b&qu... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 44.59ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:18 Error parsing object │
│ { "a":1, "b" : 2, } │
│ ^Unexpected ',' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jValue │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example1 = """{
"name" : "Scott",
"isMale" : true,
"bday" : {"year":2001, "month":12, "day":25 },
"favouriteColors" : [["blue", "green"]],
"emptyArray" : [[]],
"emptyObject" : {}
}"""
run jValue example1
|> parserEqual (
Success (
JObject (
Map.ofList [[
"name", JString "Scott"
"isMale", JBool true
"bday", JObject (
Map.ofList [[
"year", JNumber 2001.0
"month", JNumber 12.0
"day", JNumber 25.0
]]
)
"favouriteColors", JArray [[ JString "blue"; JString "green" ]]
"emptyArray", JArray [[]]
"emptyObject", JObject Map.empty
]]
)
)
)
╭─[ 160.79ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject<br/> (map<br/> │
│ [("bday",<br/> JObject<br/> (map<br/> │
│ [("day", JNumber 25.0); ("month", JNumber 12.0);<br/> │
│ ("year", JNumber 2001.0)])); ("emptyArray", JArray [ │
│ ]);<br/> ("emptyObject", JObject (map []));<br/> │
│ ("favouriteColors", │
│ ...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
│ d>Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject<br/> (map<br/> [ │
│ ("bday",<br/> JObject<br/> (map<br/> [ │
│ (... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 166.98ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject │
│ (map │
│ [("bday", │
│ JObject │
│ (map │
│ [("day", JNumber 25.0); ("month", JNumber 12.0); │
│ ("year", JNumber 2001.0)])); ("emptyArray", JArray []); │
│ ("emptyObject", JObject (map [])); │
│ ("favouriteColors", JArray [JString "blue"; JString "green"]); │
│ ("isMale", JBool true); ("name", JString "Scott")]) │
│ JObject │
│ (map │
│ [("bday", JObject (map [("day", JNumber 25.0); ("month", JNumber 12.0); │
│ ("year", JNumber 2001.0)])); │
│ ("emptyArray", JArray []); ("emptyObject", JObject (map [])); │
│ ("favouriteColors", JArray [JString "blue"; JString "green"]); │
│ ("isMale", JBool true); ("name", JString "Scott")]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example2 = """{"widget": {
"debug": "on",
"window": {
"title": "Sample Konfabulator Widget",
"name": "main_window",
"width": 500,
"height": 500
},
"image": {
"src": "Images/Sun.png",
"name": "sun1",
"hOffset": 250,
"vOffset": 250,
"alignment": "center"
},
"text": {
"data": "Click Here",
"size": 36,
"style": "bold",
"name": "text1",
"hOffset": 250,
"vOffset": 100,
"alignment": "center",
"onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
}
}}"""
run jValue example2
|> parserEqual (
Success (
JObject (
Map.ofList [[
"widget", JObject (
Map.ofList [[
"debug", JString "on"
"window", JObject (
Map.ofList [[
"title", JString "Sample Konfabulator Widget"
"name", JString "main_window"
"width", JNumber 500.0
"height", JNumber 500.0
]]
)
"image", JObject (
Map.ofList [[
"src", JString "Images/Sun.png"
"name", JString "sun1"
"hOffset", JNumber 250.0
"vOffset", JNumber 250.0
"alignment", JString "center"
]]
)
"text", JObject (
Map.ofList [[
"data", JString "Click Here"
"size", JNumber 36.0
"style", JString "bold"
"name", JString "text1"
"hOffset", JNumber 250.0
"vOffset", JNumber 100.0
"alignment", JString "center"
"onMouseUp", JString "sun1.opacity =
(sun1.opacity / 100) * 90;"
]]
)
]]
)
]]
)
)
)
╭─[ 309.00ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject<br/> (map<br/> │
│ [("widget",<br/> JObject<br/> (map<br/> │
│ [("debug", JString "on");<br/> │
│ ("image",<br/> JObject<br/> │
│ (map<br/> [("alignment", JString │
│ "center");<br/> │
│ ("hOffset"...</code></span></summary><div><table><thead><tr></tr>< │
│ /thead><tbody><tr><td>Item</td><td><details │
│ class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject<br/> (map<br/> [ │
│ ("widget",<br/> JObject<br/> (map<br/> ... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 314.86ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject │
│ (map │
│ [("widget", │
│ JObject │
│ (map │
│ [("debug", JString "on"); │
│ ("image", │
│ JObject │
│ (map │
│ [("alignment", JString "center"); ("hOffset", JNumber │
│ 250.0); │
│ ("name", JString "sun1"); ("src", JString │
│ "Images/Sun.png"); │
│ ("vOffset", JNumber 250.0)])); │
│ ("text", │
│ JObject │
│ (map │
│ [("alignment", JString "center"); │
│ ("data", JString "Click Here"); ("hOffset", JNumber │
│ 250.0); │
│ ("name", JString "text1"); │
│ ("onMouseUp", │
│ JString "sun1.opacity = (sun1.opacity / 100) * 90;"); │
│ ("size", JNumber 36.0); ("style", JString "bold"); │
│ ("vOffset", JNumber 100.0)])); │
│ ("window", │
│ JObject │
│ (map │
│ [("height", JNumber 500.0); ("name", JString │
│ "main_window"); │
│ ("title", JString "Sample Konfabulator Widget"); │
│ ("width", JNumber 500.0)]))]))]) │
│ JObject │
│ (map │
│ [("widget", │
│ JObject │
│ (map │
│ [("debug", JString "on"); │
│ ("image", │
│ JObject │
│ (map │
│ [("alignment", JString "center"); ("hOffset", JNumber │
│ 250.0); ("name", JString "sun1"); │
│ ("src", JString "Images/Sun.png"); ("vOffset", JNumber │
│ 250.0)])); │
│ ("text", │
│ JObject │
│ (map │
│ [("alignment", JString "center"); ("data", JString "Click │
│ Here"); ("hOffset", JNumber 250.0); │
│ ("name", JString "text1"); ("onMouseUp", JString │
│ "sun1.opacity = (sun1.opacity / 100) * 90;"); │
│ ("size", JNumber 36.0); ("style", JString "bold"); │
│ ("vOffset", JNumber 100.0)])); │
│ ("window", │
│ JObject │
│ (map │
│ [("height", JNumber 500.0); ("name", JString │
│ "main_window"); │
│ ("title", JString "Sample Konfabulator Widget"); │
│ ("width", JNumber 500.0)]))]))]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example3 = """{
"string": "Hello, \"World\"!",
"escapedString": "This string contains \\/\\\\\\b\\f\\n\\r\\t\\\"\\'",
"number": 42,
"scientificNumber": 3.14e-10,
"boolean": true,
"nullValue": null,
"array": [[1, 2, 3, 4, 5]],
"unicodeString1": "프리마",
"unicodeString2": "\u0048\u0065\u006C\u006C\u006F,
\u0022\u0057\u006F\u0072\u006C\u0064\u0022!",
"specialCharacters": "!@#$%^&*()",
"emptyArray": [[]],
"emptyObject": {},
"nestedArrays": [[[[1, 2, 3]], [[4, 5, 6]]]],
"object": {
"nestedString": "Nested Value",
"nestedNumber": 3.14,
"nestedBoolean": false,
"nestedNull": null,
"nestedArray": [["a", "b", "c"]],
"nestedObject": {
"nestedProperty": "Nested Object Value"
}
},
"nestedObjects": [[
{"name": "Alice", "age": 25},
{"name": "Bob", "age": 30}
]]
}"""
run jValue example3
|> parserEqual (
Success (
JObject (
Map.ofList [[
"string", JString @"Hello, ""World""!"
"escapedString", JString @"This string contains
\/\\\b\f\n\r\t\""\'"
"number", JNumber 42.0
"scientificNumber", JNumber 3.14e-10
"boolean", JBool true
"nullValue", JNull
"array", JArray [[
JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber
5.0
]]
"unicodeString1", JString "프리마"
"unicodeString2", JString @"Hello, ""World""!"
"specialCharacters", JString "!@#$%^&*()"
"emptyArray", JArray [[]]
"emptyObject", JObject Map.empty
"nestedArrays", JArray [[
JArray [[ JNumber 1.0; JNumber 2.0; JNumber 3.0 ]]
JArray [[ JNumber 4.0; JNumber 5.0; JNumber 6.0 ]]
]]
"object", JObject (
Map.ofList [[
"nestedString", JString "Nested Value"
"nestedNumber", JNumber 3.14
"nestedBoolean", JBool false
"nestedNull", JNull
"nestedArray", JArray [[JString "a"; JString "b";
JString "c"]]
"nestedObject", JObject (
Map.ofList [[
"nestedProperty", JString "Nested Object Value"
]]
)
]]
)
"nestedObjects", JArray [[
JObject (Map.ofList [[ "name", JString "Alice"; "age", JNumber
25.0 ]])
JObject (Map.ofList [[ "name", JString "Bob"; "age", JNumber
30.0 ]])
]]
]]
)
)
)
╭─[ 429.08ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject<br/> (map<br/> │
│ [("array",<br/> JArray<br/> [JNumber 1.0; │
│ JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber 5.0]);<br/> │
│ ("boolean", JBool true); ("emptyArray", JArray []);<br/> │
│ ("emptyObject", JObject (map []));<br/> │
│ ("escapedString", JString "This │
│ s...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │
│ td>Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject<br/> (map<br/> [ │
│ ("array",<br/> JArray [JNumber 1.0; JNumber 2.0; JNumber │
│ 3.0; JNumber 4.0; J... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 436.14ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject │
│ (map │
│ [("array", │
│ JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber │
│ 5.0]); │
│ ("boolean", JBool true); ("emptyArray", JArray []); │
│ ("emptyObject", JObject (map [])); │
│ ("escapedString", JString "This string contains \/\\\b\f\n\r\t\"\'"); │
│ ("nestedArrays", │
│ JArray │
│ [JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0]; │
│ JArray [JNumber 4.0; JNumber 5.0; JNumber 6.0]]); │
│ ("nestedObjects", │
│ JArray │
│ [JObject (map [("age", JNumber 25.0); ("name", JString "Alice")]); │
│ JObject (map [("age", JNumber 30.0); ("name", JString "Bob")])]); │
│ ("nullValue", JNull); ("number", JNumber 42.0); ...]) │
│ JObject │
│ (map │
│ [("array", JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; │
│ JNumber 5.0]); ("boolean", JBool true); │
│ ("emptyArray", JArray []); ("emptyObject", JObject (map [])); │
│ ("escapedString", JString "This string contains \/\\\b\f\n\r\t\"\'"); │
│ ("nestedArrays", │
│ JArray [JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0]; JArray [ │
│ JNumber 4.0; JNumber 5.0; JNumber 6.0]]); │
│ ("nestedObjects", │
│ JArray │
│ [JObject (map [("age", JNumber 25.0); ("name", JString "Alice")]); │
│ JObject (map [("age", JNumber 30.0); ("name", JString "Bob")])]); │
│ ("nullValue", JNull); │
│ ("number", JNumber 42.0); ...]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook JsonParser.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 534280 bytes to JsonParser.dib.html
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\parser / path: Parser.dib / _args: null
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Parser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### TextInput │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Position =
{
line : int
column : int
}
── fsharp ──────────────────────────────────────────────────────────────────────
let initialPos = { line = 0; column = 0 }
── fsharp ──────────────────────────────────────────────────────────────────────
let inline incrCol (pos : Position) =
{ pos with column = pos.column + 1 }
── fsharp ──────────────────────────────────────────────────────────────────────
let inline incrLine pos =
{ line = pos.line + 1; column = 0 }
── fsharp ──────────────────────────────────────────────────────────────────────
type InputState =
{
lines : string[[]]
position : Position
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline fromStr str =
{
lines =
if str |> String.IsNullOrEmpty
then [[||]]
else str |> SpiralSm.split_string [[| "\r\n"; "\n" |]]
position = initialPos
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fromStr "" |> _assertEqual {
lines = [[||]]
position = { line = 0; column = 0 }
}
╭─[ 52.75ms - stdout ]─────────────────────────────────────────────────────────╮
│ { lines = [||] │
│ position = { line = 0 │
│ column = 0 } } │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fromStr "Hello \n World" |> _assertEqual {
lines = [[| "Hello "; " World" |]]
position = { line = 0; column = 0 }
}
╭─[ 24.31ms - stdout ]─────────────────────────────────────────────────────────╮
│ { lines = [|"Hello "; " World"|] │
│ position = { line = 0 │
│ column = 0 } } │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline currentLine inputState =
let linePos = inputState.position.line
if linePos < inputState.lines.Length
then inputState.lines.[[linePos]]
else "end of file"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline nextChar input =
let linePos = input.position.line
let colPos = input.position.column
if linePos >= input.lines.Length
then input, None
else
let currentLine = currentLine input
if colPos < currentLine.Length then
let char = currentLine.[[colPos]]
let newPos = incrCol input.position
let newState = { input with position = newPos }
newState, Some char
else
let char = '\n'
let newPos = incrLine input.position
let newState = { input with position = newPos }
newState, Some char
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let newInput, charOpt = fromStr "Hello World" |> nextChar
newInput |> _assertEqual {
lines = [[| "Hello World" |]]
position = { line = 0; column = 1 }
}
charOpt |> _assertEqual (Some 'H')
╭─[ 40.16ms - stdout ]─────────────────────────────────────────────────────────╮
│ { lines = [|"Hello World"|] │
│ position = { line = 0 │
│ column = 1 } } │
│ │
│ Some 'H' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let newInput, charOpt = fromStr "Hello\n\nWorld" |> nextChar
newInput |> _assertEqual {
lines = [[| "Hello"; ""; "World" |]]
position = { line = 0; column = 1 }
}
charOpt |> _assertEqual (Some 'H')
╭─[ 29.18ms - stdout ]─────────────────────────────────────────────────────────╮
│ { lines = [|"Hello"; ""; "World"|] │
│ position = { line = 0 │
│ column = 1 } } │
│ │
│ Some 'H' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### Parser │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Input = InputState
type ParserLabel = string
type ParserError = string
type ParserPosition =
{
currentLine : string
line : int
column : int
}
type ParseResult<'a> =
| Success of 'a
| Failure of ParserLabel * ParserError * ParserPosition
type Parser<'a> =
{
label : ParserLabel
parseFn : Input -> ParseResult<'a * Input>
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline printResult result =
match result with
| Success (value, input) ->
printfn $"%A{value}"
| Failure (label, error, parserPos) ->
let errorLine = parserPos.currentLine
let colPos = parserPos.column
let linePos = parserPos.line
let failureCaret = $"{' ' |> string |> String.replicate colPos}^{error}"
printfn $"Line:%i{linePos} Col:%i{colPos} Error parsing
%s{label}\n%s{errorLine}\n%s{failureCaret}"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runOnInput parser input =
parser.parseFn input
── fsharp ──────────────────────────────────────────────────────────────────────
let inline run parser inputStr =
runOnInput parser (fromStr inputStr)
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parserPositionFromInputState (inputState : Input) =
{
currentLine = currentLine inputState
line = inputState.position.line
column = inputState.position.column
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getLabel parser =
parser.label
── fsharp ──────────────────────────────────────────────────────────────────────
let inline setLabel parser newLabel =
{
label = newLabel
parseFn = fun input ->
match parser.parseFn input with
| Success s -> Success s
| Failure (oldLabel, err, pos) -> Failure (newLabel, err, pos)
}
── fsharp ──────────────────────────────────────────────────────────────────────
let (<?>) = setLabel
── fsharp ──────────────────────────────────────────────────────────────────────
let inline satisfy predicate label =
{
label = label
parseFn = fun input ->
let remainingInput, charOpt = nextChar input
match charOpt with
| None ->
let err = "No more input"
let pos = parserPositionFromInputState input
Failure (label, err, pos)
| Some first ->
if predicate first
then Success (first, remainingInput)
else
let err = $"Unexpected '%c{first}'"
let pos = parserPositionFromInputState input
Failure (label, err, pos)
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
runOnInput parser input |> _assertEqual (
Success (
'H',
{
lines = [[| "Hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 41.21ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ('H', { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 1 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "World"
let parser = satisfy (fun c -> c = 'H') "H"
runOnInput parser input |> _assertEqual (
Failure (
"H",
"Unexpected 'W'",
{
currentLine = "World"
line = 0
column = 0
}
)
)
╭─[ 40.75ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure ("H", "Unexpected 'W'", { currentLine = "World" │
│ line = 0 │
│ column = 0 }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline bindP f p =
{
label = "unknown"
parseFn = fun input ->
match runOnInput p input with
| Failure (label, err, pos) -> Failure (label, err, pos)
| Success (value1, remainingInput) -> runOnInput (f value1)
remainingInput
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (>>=) p f = bindP f p
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"
runOnInput parser2 input |> _assertEqual (
Success (
'e',
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 44.43ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ('e', { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 2 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "World"
let parser = satisfy (fun c -> c = 'W') "W"
let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"
runOnInput parser2 input |> _assertEqual (
Failure (
"e",
"Unexpected 'o'",
{
currentLine = "World"
line = 0
column = 1
}
)
)
╭─[ 42.12ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure ("e", "Unexpected 'o'", { currentLine = "World" │
│ line = 0 │
│ column = 1 }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline returnP x =
{
label = $"%A{x}"
parseFn = fun input -> Success (x, input)
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = returnP "Hello"
runOnInput parser input |> _assertEqual (
Success (
"Hello",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 0 }
}
)
)
╭─[ 26.87ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ("Hello", { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 0 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline mapP f =
bindP (f >> returnP)
── fsharp ──────────────────────────────────────────────────────────────────────
let (<!>) = mapP
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (|>>) x f = f <!> x
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = parser |>> string
runOnInput parser2 input |> _assertEqual (
Success (
"H",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 42.33ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ("H", { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 1 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline applyP fP xP =
fP >>=
fun f ->
xP >>=
fun x ->
returnP (f x)
── fsharp ──────────────────────────────────────────────────────────────────────
let (<*>) = applyP
── fsharp ──────────────────────────────────────────────────────────────────────
let inline lift2 f xP yP =
returnP f <*> xP <*> yP
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'e') "e"
let parser3 = lift2 (fun c1 c2 -> string c1 + string c2) parser parser2
runOnInput parser3 input |> _assertEqual (
Success (
"He",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 67.23ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ("He", { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 2 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline andThen p1 p2 =
p1 >>=
fun p1Result ->
p2 >>=
fun p2Result ->
returnP (p1Result, p2Result)
<?> $"{getLabel p1} andThen {getLabel p2}"
── fsharp ──────────────────────────────────────────────────────────────────────
let (.>>.) = andThen
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'e') "e"
let parser3 = parser .>>. parser2
runOnInput parser3 input |> _assertEqual (
Success (
('H', 'e'),
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 43.76ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (('H', 'e'), { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 2 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline orElse p1 p2 =
{
label = $"{getLabel p1} orElse {getLabel p2}"
parseFn = fun input ->
match runOnInput p1 input with
| Success _ as result -> result
| Failure _ -> runOnInput p2 input
}
── fsharp ──────────────────────────────────────────────────────────────────────
let (<|>) = orElse
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'h') "h"
let parser3 = parser <|> parser2
runOnInput parser3 input |> _assertEqual (
Success (
'h',
{
lines = [[| "hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 40.39ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ('h', { lines = [|"hello"|] │
│ position = { line = 0 │
│ column = 1 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline choice listOfParsers =
listOfParsers |> List.reduce (<|>)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'h') "h"
let parser3 = choice [[ parser; parser2 ]]
runOnInput parser3 input |> _assertEqual (
Success (
'h',
{
lines = [[| "hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 40.13ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ('h', { lines = [|"hello"|] │
│ position = { line = 0 │
│ column = 1 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let rec sequence parserList =
match parserList with
| [[]] -> returnP [[]]
| head :: tail -> (lift2 cons) head (sequence tail)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'e') "e"
let parser3 = sequence [[ parser; parser2 ]]
runOnInput parser3 input |> _assertEqual (
Success (
[[ 'H'; 'e' ]],
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 51.70ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (['H'; 'e'], { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 2 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let rec parseZeroOrMore parser input =
match runOnInput parser input with
| Failure (_, _, _) ->
[[]], input
| Success (firstValue, inputAfterFirstParse) ->
let subsequentValues, remainingInput = parseZeroOrMore parser
inputAfterFirstParse
firstValue :: subsequentValues, remainingInput
── fsharp ──────────────────────────────────────────────────────────────────────
let inline many parser =
{
label = $"many {getLabel parser}"
parseFn = fun input -> Success (parseZeroOrMore parser input)
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = many parser
runOnInput parser2 input |> _assertEqual (
Success (
[[]],
{
lines = [[| "hello" |]]
position = { line = 0; column = 0 }
}
)
)
╭─[ 40.85ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ([], { lines = [|"hello"|] │
│ position = { line = 0 │
│ column = 0 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline many1 p =
p >>=
fun head ->
many p >>=
fun tail ->
returnP (head :: tail)
<?> $"many1 {getLabel p}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = many1 parser
runOnInput parser2 input |> _assertEqual (
Failure (
"many1 H",
"Unexpected 'h'",
{
currentLine = "hello"
line = 0
column = 0
}
)
)
╭─[ 54.62ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure ("many1 H", "Unexpected 'h'", { currentLine = "hello" │
│ line = 0 │
│ column = 0 }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline opt p =
let some = p |>> Some
let none = returnP None
(some <|> none)
<?> $"opt {getLabel p}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = opt parser
runOnInput parser2 input |> _assertEqual (
Success (
None,
{
lines = [[| "hello" |]]
position = { line = 0; column = 0 }
}
)
)
╭─[ 52.88ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (None, { lines = [|"hello"|] │
│ position = { line = 0 │
│ column = 0 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (.>>) p1 p2 =
p1 .>>. p2
|> mapP fst
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (>>.) p1 p2 =
p1 .>>. p2
|> mapP snd
── fsharp ──────────────────────────────────────────────────────────────────────
let inline between p1 p2 p3 =
p1 >>. p2 .>> p3
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "[[Hello]]"
let parser =
between
(satisfy (fun c -> c = '[[') "[[")
(many (satisfy (fun c -> [[ 'a' .. 'z' ]] @ [[ 'A' .. 'Z' ]] |>
List.contains c) "letter"))
(satisfy (fun c -> c = ']]') "]]")
runOnInput parser input |> _assertEqual (
Success (
[[ 'H'; 'e'; 'l'; 'l'; 'o' ]],
{
lines = [[| "[[Hello]]" |]]
position = { line = 0; column = 7 }
}
)
)
╭─[ 121.63ms - stdout ]────────────────────────────────────────────────────────╮
│ Success (['H'; 'e'; 'l'; 'l'; 'o'], { lines = [|"[Hello]"|] │
│ position = { line = 0 │
│ column = 7 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sepBy1 p sep =
let sepThenP = sep >>. p
p .>>. many sepThenP
|>> fun (p, pList) -> p :: pList
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sepBy p sep =
sepBy1 p sep <|> returnP [[]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello,World"
let parser = sepBy (many (satisfy (fun c -> c <> ',') "not comma")) (satisfy
(fun c -> c = ',') "comma")
runOnInput parser input |> _assertEqual (
Success (
[[ [[ 'H'; 'e'; 'l'; 'l'; 'o' ]]; [[ 'W'; 'o'; 'r'; 'l'; 'd'; '\n' ]]
]],
{
lines = [[| "Hello,World" |]]
position = { line = 1; column = 0 }
}
)
)
╭─[ 81.75ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ([['H'; 'e'; 'l'; 'l'; 'o']; ['W'; 'o'; 'r'; 'l'; 'd'; '\010']], { │
│ lines = [|"Hello,World"|] │
│ │
│ position = { line = 1 │
│ │
│ column = 0 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline pchar charToMatch =
satisfy ((=) charToMatch) $"%c{charToMatch}"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline anyOf listOfChars =
listOfChars
|> List.map pchar
|> choice
<?> $"anyOf %A{listOfChars}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = anyOf [[ 'H'; 'e'; 'l'; 'o' ]] |> many
runOnInput parser input |> _assertEqual (
Success (
[[ 'H'; 'e'; 'l'; 'l'; 'o' ]],
{
lines = [[| "Hello" |]]
position = { line = 0; column = 5 }
}
)
)
╭─[ 48.73ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (['H'; 'e'; 'l'; 'l'; 'o'], { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 5 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline charListToStr charList =
charList |> List.toArray |> String
── fsharp ──────────────────────────────────────────────────────────────────────
let inline manyChars cp =
many cp
|>> charListToStr
── fsharp ──────────────────────────────────────────────────────────────────────
let inline manyChars1 cp =
many1 cp
|>> charListToStr
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = manyChars1 (anyOf [[ 'H'; 'e'; 'l'; 'o' ]])
runOnInput parser input |> _assertEqual (
Success (
"Hello",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 5 }
}
)
)
╭─[ 64.41ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ("Hello", { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 5 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline pstring str =
str
|> List.ofSeq
|> List.map pchar
|> sequence
|> mapP charListToStr
<?> str
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = pstring "Hello"
runOnInput parser input |> _assertEqual (
Success (
"Hello",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 5 }
}
)
)
╭─[ 52.09ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success ("Hello", { lines = [|"Hello"|] │
│ position = { line = 0 │
│ column = 5 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let whitespaceChar =
satisfy Char.IsWhiteSpace "whitespace"
── fsharp ──────────────────────────────────────────────────────────────────────
let spaces = many whitespaceChar
── fsharp ──────────────────────────────────────────────────────────────────────
let spaces1 = many1 whitespaceChar
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr " Hello"
let parser = spaces1 .>>. pstring "Hello"
runOnInput parser input |> _assertEqual (
Success (
([[ ' '; ' ' ]], "Hello"),
{
lines = [[| " Hello" |]]
position = { line = 0; column = 7 }
}
)
)
╭─[ 58.45ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (([' '; ' '], "Hello"), { lines = [|" Hello"|] │
│ position = { line = 0 │
│ column = 7 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let digitChar =
satisfy Char.IsDigit "digit"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = digitChar
runOnInput parser input |> _assertEqual (
Failure (
"digit",
"Unexpected 'H'",
{
currentLine = "Hello"
line = 0
column = 0
}
)
)
╭─[ 26.68ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure ("digit", "Unexpected 'H'", { currentLine = "Hello" │
│ line = 0 │
│ column = 0 }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let pint =
let inline resultToInt (sign, digits) =
let i = int digits
match sign with
| Some ch -> -i
| None -> i
let digits = manyChars1 digitChar
opt (pchar '-') .>>. digits
|> mapP resultToInt
<?> "integer"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run pint "-123"
|> _assertEqual (
Success (
-123,
{
lines = [[| "-123" |]]
position = { line = 0; column = 4 }
}
)
)
╭─[ 30.33ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (-123, { lines = [|"-123"|] │
│ position = { line = 0 │
│ column = 4 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let pfloat =
let inline resultToFloat (((sign, digits1), point), digits2) =
let fl = float $"{digits1}.{digits2}"
match sign with
| Some ch -> -fl
| None -> fl
let digits = manyChars1 digitChar
opt (pchar '-') .>>. digits .>>. pchar '.' .>>. digits
|> mapP resultToFloat
<?> "float"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run pfloat "-123.45"
|> _assertEqual (
Success (
-123.45,
{
lines = [[| "-123.45" |]]
position = { line = 0; column = 7 }
}
)
)
╭─[ 32.74ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success (-123.45, { lines = [|"-123.45"|] │
│ position = { line = 0 │
│ column = 7 } }) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline createParserForwardedToRef<'a> () =
let mutable parserRef : Parser<'a> =
{
label = "unknown"
parseFn = fun _ -> failwith "unfixed forwarded parser"
}
let wrapperParser =
{ parserRef with
parseFn = fun input -> runOnInput parserRef input
}
wrapperParser, (fun v -> parserRef <- v)
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (>>%) p x =
p
|>> fun _ -> x
[NbConvertApp] Converting notebook Parser.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 413674 bytes to Parser.dib.html
00:00:00 debug #1 writeDibCode / output: Fs / path: JsonParser.dib
00:00:00 debug #1 writeDibCode / output: Fs / path: Parser.dib
00:00:00 debug #2 parseDibCode / output: Fs / file: JsonParser.dib
00:00:00 debug #3 parseDibCode / output: Fs / file: Parser.dib
In [ ]:
{ . ../apps/spiral/build.ps1 } | Invoke-Block -Location $ScriptDir
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\spiral / path: Supervisor.dib / _args: [
"-Retries",
3
]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Supervisor (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.common/7.0.0
/lib/net7.0/Microsoft.AspNetCore.SignalR.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client/7.0.0
/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client.core/
7.0.0/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.Core.dll"
#r
@"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
rp.Json.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
#r @"../.....
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import ../../lib/fsharp/CommonFSharp.fs
#!import ../../lib/fsharp/Async.fs
#!import ../../lib/fsharp/AsyncSeq.fs
#!import ../../lib/fsharp/Runtime.fs
#!import ../../lib/fsharp/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
/// ## subscribeToken
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## parseArgs
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
_ -> Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName =
$"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## watchDirectory
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> Syst...
── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open SpiralFileSystem.Operators
open Microsoft.AspNetCore.SignalR.Client
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## sendJson │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sendJson (port : int) (json : string) = async {
let! portOpen = SpiralNetworking.test_port_open port
if portOpen then
try
let connection =
HubConnectionBuilder().WithUrl($"http://127.0.0.1:{port}").Build()
do! connection.StartAsync () |> Async.AwaitTask
let! result = connection.InvokeAsync<string>("ClientToServerMsg",
json) |> Async.AwaitTask
do! connection.StopAsync () |> Async.AwaitTask
trace Verbose (fun () -> $"sendJson / port: {port} / json: {json |>
SpiralSm.ellipsis_end 200} / result: {result |> Option.ofObj |> Option.map
(SpiralSm.ellipsis_end 200)}") _locals
return Some result
with ex ->
trace Critical (fun () -> $"sendJson / port: {port} / json: {json |>
SpiralSm.ellipsis_end 200} / ex: {ex |> SpiralSm.format_exception}") _locals
return None
else
trace Debug (fun () -> "sendJson / error: port not open") _locals
return None
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## sendObj │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sendObj port obj =
obj
|> System.Text.Json.JsonSerializer.Serialize
|> sendJson port
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## awaitCompiler │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type VSCPos = {| line : int; character : int |}
type VSCRange = VSCPos * VSCPos
type RString = VSCRange * string
type TracedError = {| trace : string list; message : string |}
type ClientErrorsRes =
| FatalError of string
| TracedError of TracedError
| PackageErrors of {| uri : string; errors : RString list |}
| TokenizerErrors of {| uri : string; errors : RString list |}
| ParserErrors of {| uri : string; errors : RString list |}
| TypeErrors of {| uri : string; errors : RString list |}
── fsharp ──────────────────────────────────────────────────────────────────────
let repositoryRoot = SpiralFileSystem.get_repository_root ()
── fsharp ──────────────────────────────────────────────────────────────────────
let inline awaitCompiler port cancellationToken = async {
let host = "127.0.0.1"
let struct (ct, disposable) = cancellationToken |>
SpiralThreading.new_disposable_token
let! ct = ct |> SpiralAsync.merge_cancellation_token_with_default_async
let compiler = MailboxProcessor.Start (fun inbox -> async {
let! availablePort = SpiralNetworking.get_available_port (Some 500) port
if availablePort <> port then
inbox.Post (port, false)
else
let compilerPath =
repositoryRoot </> "deps/The-Spiral-Language/The Spiral Language
2/artifacts/bin/The Spiral Language 2/release"
|> System.IO.Path.GetFullPath
let dllPath = compilerPath </> "Spiral.dll"
let! exitCode, result =
SpiralRuntime.execution_options (fun x ->
{ x with
l0 = Some ct
l1 = $@"dotnet ""{dllPath}"" --port {availablePort}
--default-int i32 --default-float f64"
l3 = Some (fun struct (_, line, _) -> async {
if line |> SpiralSm.contains
$"System.IO.IOException: Failed to bind to address http://{host}:{port}: address
already in use." then
inbox.Post (port, false)
if line |> SpiralSm.contains $"Server bound to:
http://localhost:{availablePort}" then
let rec loop retry = async {
do!
SpiralNetworking.wait_for_port_access
(Some 100) true availablePort
|> Async.runWithTimeoutAsync 2000
|> Async.Ignore
let _locals () = $"port: {availablePort} /
retry: {retry} / {_locals ()}"
try
let pingObj = {| Ping = true |}
let! pingResult = pingObj |> sendObj
availablePort
trace Verbose (fun () -> $"awaitCompiler
/ Ping / result: '{pingResult}'") _locals
inbox.Post (availablePort, true)
with ex ->
trace Verbose (fun () -> $"awaitCompiler
/ Ping / ex: {ex |> SpiralSm.format_exception}") _locals
do! Async.Sleep 10
do! loop (retry + 1)
}
do! loop 0
})
l5 = Some repositoryRoot
}
)
|> SpiralRuntime.execute_with_options_async
trace Debug (fun () -> $"awaitCompiler / exitCode: {exitCode} /
result: {result}") _locals
disposable.Dispose ()
}, ct)
let! serverPort, managed = compiler.Receive ()
let connection =
HubConnectionBuilder().WithUrl($"http://{host}:{serverPort}").Build ()
do! connection.StartAsync () |> Async.AwaitTask
let event = Event<_> ()
let disposable' = connection.On<string> ("ServerToClientMsg", event.Trigger)
let stream =
FSharp.Control.AsyncSeq.unfoldAsync
(fun () -> async {
let! msg = event.Publish |> Async.AwaitEvent
return Some (msg |>
FSharp.Json.Json.deserialize<ClientErrorsRes>, ())
})
()
let disposable' =
new_disposable (fun () ->
async {
disposable'.Dispose ()
do! connection.StopAsync () |> Async.AwaitTask
disposable.Dispose ()
if managed
then do!
SpiralNetworking.wait_for_port_access (Some 100) false
serverPort
|> Async.runWithTimeoutAsync 2000
|> Async.Ignore
}
|> Async.RunSynchronously
)
return
serverPort,
stream,
ct,
disposable'
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getFilePathFromUri │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getFilePathFromUri uri =
match System.Uri.TryCreate (uri, System.UriKind.Absolute) with
| true, uri -> uri.AbsolutePath |> System.IO.Path.GetFullPath
| _ -> failwith "invalid uri"
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getCompilerPort │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getCompilerPort () =
13805
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## serialize_obj │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let serializeObj obj =
obj
|> FSharp.Json.Json.serialize
|> SpiralSm.replace "\\\\" "\\"
|> SpiralSm.replace "\\r\\n" "\n"
|> SpiralSm.replace "\\n" "\n"
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildFile │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildFile timeout port cancellationToken path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let fileDir = fullPath |> System.IO.Path.GetDirectoryName
let fileName = fullPath |> System.IO.Path.GetFileNameWithoutExtension
let! code = fullPath |> SpiralFileSystem.read_all_text_async
let stream, disposable = fileDir |> FileSystem.watchDirectory (fun _ ->
false)
use _ = disposable
let struct (token, disposable) = SpiralThreading.new_disposable_token
cancellationToken
use _ = disposable
let! serverPort, errors, ct, disposable = awaitCompiler port (Some token)
use _ = disposable
let fsxContentSeq =
stream
|> FSharp.Control.AsyncSeq.chooseAsync (function
| _, (FileSystem.FileSystemChange.Changed (path, _))
when (path |> System.IO.Path.GetFileName) = $"{fileName}.fsx"
->
fileDir </> path |>
SpiralFileSystem.read_all_text_retry_async
| _ -> None |> Async.init
)
|> FSharp.Control.AsyncSeq.map (fun content ->
Some (content |> SpiralSm.replace "\r\n" "\n"), None
)
let inline printErrorData (data : {| uri : string; errors : RString list |})
=
let fileName = data.uri |> System.IO.Path.GetFileName
let errors =
data.errors
|> List.map snd
|> SpiralSm.concat "\n"
$"{fileName}:\n{errors}"
let errorsSeq =
errors
|> FSharp.Control.AsyncSeq.choose (fun error ->
match error with
| FatalError message ->
Some (message, error)
| TracedError data ->
Some (data.message, error)
| PackageErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| TokenizerErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| ParserErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| TypeErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| _ -> None
)
|> FSharp.Control.AsyncSeq.map (fun (message, error) ->
None, Some (message, error)
)
let timerSeq =
1000
|> FSharp.Control.AsyncSeq.intervalMs
|> FSharp.Control.AsyncSeq.map (fun _ -> None, None)
let outputSeq =
[[ fsxContentSeq; errorsSeq; timerSeq ]]
|> FSharp.Control.AsyncSeq.mergeAll
let! outputChild =
((None, [[]], 0), outputSeq)
||> FSharp.Control.AsyncSeq.scan (
fun (fsxContentResult, errors, typeErrorCount) (fsxContent, error)
->
match fsxContent, error with
| Some fsxContent, None -> Some fsxContent, errors,
typeErrorCount
| None, Some (_, FatalError "File main has a type error
somewhere in its path.") ->
fsxContentResult, errors, typeErrorCount + 1
| None, Some error -> fsxContentResult, error :: errors,
typeErrorCount
| None, None when typeErrorCount >= 1 ->
fsxContentResult, errors, typeErrorCount + 1
| _ -> fsxContentResult, errors, typeErrorCount
)
|> FSharp.Control.AsyncSeq.takeWhileInclusive (fun (fsxContent, errors,
typeErrorCount) ->
trace Debug (fun () -> $"buildFile / takeWhileInclusive / path:
{path} / fsxContent: {fsxContent |> Option.defaultValue System.String.Empty |>
SpiralSm.ellipsis_end 400} / errors: {errors |> serializeObj} / typeErrorCount:
{typeErrorCount}") _locals
#if INTERACTIVE
let errorWait = 2
#else
let errorWait = 4
#endif
match fsxContent, errors with
| None, [[]] when typeErrorCount > errorWait -> false
| None, [[]] -> true
| _ -> false
)
|> FSharp.Control.AsyncSeq.tryLast
|> Async.withCancellationToken ct
|> Async.catch
|> Async.runWithTimeoutAsync timeout
|> Async.StartChild
let fullPathUri = fullPath |> SpiralFileSystem.normalize_path |>
SpiralFileSystem.new_file_uri
let fileOpenObj = {| FileOpen = {| uri = fullPathUri; spiText = code |} |}
let! _fileOpenResult = fileOpenObj |> sendObj serverPort
// do! Async.Sleep 60
let buildFileObj = {| BuildFile = {| uri = fullPathUri; backend = "Fsharp"
|} |}
let! _buildFileResult = buildFileObj |> sendObj serverPort
let! result =
outputChild
|> Async.map (function
| Some (Ok (Some (message, errors, _))) ->
message, errors |> List.distinct |> List.rev
| Some (Error ex) ->
trace Critical (fun () -> $"buildFile / error: {ex |>
serializeObj}") _locals
None, [[]]
| _ -> None, [[]]
)
if fileDir |> SpiralSm.starts_with (repositoryRoot </> "target") then
let fileDirUri = fileDir |> SpiralFileSystem.normalize_path |>
SpiralFileSystem.new_file_uri
let fileDeleteObj = {| FileDelete = {| uris = [[| fileDirUri |]] |} |}
let! _fileDeleteResult = fileDeleteObj |> sendObj serverPort
()
let fsxPath = fileDir </> $"{fileName}.fsx"
return fsxPath, result
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## persistCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline persistCode code = async {
let targetDir = repositoryRoot </> "target/polyglot/spiral_eval"
let packagesDir = targetDir </> "packages"
let hashHex = code |> SpiralCrypto.hash_text
let codeDir = packagesDir </> hashHex
codeDir |> System.IO.Directory.CreateDirectory |> ignore
let mainPath = codeDir </> "main.spi"
do! code |> SpiralFileSystem.write_all_text_exists mainPath
let spiprojPath = codeDir </> "package.spiproj"
let spiprojCode =
$"""packageDir: {repositoryRoot </> "lib"}
packages:
|core-
spiral-
modules:
main
"""
do! spiprojCode |> SpiralFileSystem.write_all_text_exists spiprojPath
return mainPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildCode timeout cancellationToken code = async {
let! mainPath = persistCode code
let port = getCompilerPort ()
let! fsxPath, fsxCode = mainPath |> buildFile timeout port cancellationToken
return fsxCode
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let buildCode timeout cancellationToken code = buildCode timeout
cancellationToken code
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl app () =
console.write_line "text"
1i32
inl main () =
app
|> dyn
|> ignore
"""
|> buildCode 15000 None
|> Async.runWithTimeout 15000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
Some """let rec closure0 () () : int32 =
let v0 : string = "text"
System.Console.WriteLine v0
1
let v0 : (unit -> int32) = closure0()
()
""",
[[]]
)
)
╭─[ 7.46s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:13 debug #1 run_with_timeout_async / timeout: 500 │
│ 00:00:12 debug #1 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:12 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:12 verbose #3 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:12 verbose #4 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:14 debug #2 run_with_timeout_async / timeout: 100 │
│ 00:00:14 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: │
│ Some 100 / status: True │
│ 00:00:14 debug #4 run_with_timeout_async / timeout: 100 │
│ 00:00:15 debug #5 run_with_timeout_async / timeout: 100 │
│ 00:00:15 debug #6 run_with_timeout_async / timeout: 100 │
│ 00:00:15 debug #7 run_with_timeout_async / timeout: 100 │
│ 00:00:13 verbose #5 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:15 debug #8 run_with_timeout_async / timeout: 100 │
│ 00:00:11 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:11 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:14 verbose #6 > Server bound to: http://localhost:13805 │
│ 00:00:11 debug #3 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\0ad2ee90a0886647a7 │
│ d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:11 debug #4 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\0ad2ee90a0886647a7 │
│ d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:11 verbose #5 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl app () =\n console.write_line │
│ \u0022text\u0022\n 1i32\n\ninl main │
│ ...ot/spiral_eval/packages/0ad2ee90a0886647a7d9c334e1811a0c3ae5599125952e30e │
│ ba9d5e3b57a56e0/main.spi"}} / result: │
│ 00:00:11 verbose #6 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/0ad2ee90a0886647a7d9c334e1811a0c3ae5599125952e │
│ 30eba9d5e3b57a56e0/main.spi"}} / result: │
│ 00:00:15 verbose #7 > 00:00:02 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ad2ee90a0886647a7 │
│ d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0/main.spi │
│ 00:00:12 debug #7 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\0ad2ee90a0886647a7 │
│ d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:13 debug #8 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\0ad2ee90a0886647a7 │
│ d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:14 debug #9 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\0ad2ee90a0886647a7 │
│ d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0\main.spi / fsxContent: let │
│ rec closure0 () () : int32 = │
│ let v0 : string = "text" │
│ System.Console.WriteLine v0 │
│ 1 │
│ let v0 : (unit -> int32) = closure0() │
│ () │
│ / errors: [] / typeErrorCount: 0 │
│ 00:00:16 verbose #10 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ad2ee90a │
│ 0886647a7d9c334e1811a0c3ae5599125952e30eba9d5e3b57a56e0"]}} / result: │
│ 00:00:20 verbose #9 wait_for_port_access / port: 13805 / retry: 0 / timeout: │
│ Some 100 / status: False │
│ 00:00:20 debug #10 run_with_timeout_async / timeout: 100 │
│ 00:00:16 debug #11 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some │
│ (Some │
│ "let rec closure0 () () : int32 = │
│ let v0 : string = "text" │
│ System.Console.WriteLine v0 │
│ 1 │
│ let v0 : (unit -> int32) = closure0() │
│ () │
│ ", │
│ []) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> _assertEqual None
╭─[ 10.23s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:21 debug #11 run_with_timeout_async / timeout: 500 │
│ 00:00:19 debug #8 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:19 verbose #9 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:19 verbose #10 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:19 verbose #11 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:21 debug #12 run_with_timeout_async / timeout: 100 │
│ 00:00:21 verbose #13 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:21 debug #14 run_with_timeout_async / timeout: 100 │
│ 00:00:20 verbose #12 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:21 debug #15 run_with_timeout_async / timeout: 100 │
│ 00:00:17 verbose #12 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:17 verbose #13 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:20 verbose #13 > Server bound to: http://localhost:13805 │
│ 00:00:17 debug #14 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:17 debug #15 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:17 verbose #16 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"","uri":"file:///c:/home/git/polyglot/target/polyglo │
│ t/spiral_eval/packages/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca4959 │
│ 91b7852b855/main.spi"}} / result: │
│ 00:00:17 verbose #17 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b93 │
│ 4ca495991b7852b855/main.spi"}} / result: │
│ 00:00:20 verbose #14 > 00:00:00 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855/main.spi │
│ 00:00:18 debug #18 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:22 verbose #15 > Cannot find `main` in file main. │
│ 00:00:22 verbose #16 > 00:00:02 debug #5 │
│ Supervisor.supervisor_server.BuildFile.handle_build_result.BuildSkip / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855/main.spi │
│ 00:00:19 debug #19 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:20 debug #20 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:21 debug #21 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:22 debug #22 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:23 debug #23 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:24 debug #24 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:25 debug #25 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e3b0c44298fc1c149a │
│ fbf4c8996fb92427ae41e4649b934ca495991b7852b855\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:30 verbose #16 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:30 debug #17 run_with_timeout_async / timeout: 100 │
│ 00:00:26 debug #26 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ 00:00:26 debug #27 runWithTimeoutAsync / timeout: 10000 │
│ <null> │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"inl app () =
0i32
inl a = 1
inl main () =
app
|> dyn
|> ignore
"
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[ "main.spi:
Global inl/let statements should all return functions known at parse time." ]]
)
)
╭─[ 2.07s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:31 debug #18 run_with_timeout_async / timeout: 500 │
│ 00:00:29 debug #17 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:30 verbose #18 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:30 verbose #19 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:30 verbose #20 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:31 debug #19 run_with_timeout_async / timeout: 100 │
│ 00:00:31 verbose #20 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:31 debug #21 run_with_timeout_async / timeout: 100 │
│ 00:00:30 verbose #21 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:32 debug #22 run_with_timeout_async / timeout: 100 │
│ 00:00:28 verbose #28 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:28 verbose #29 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:30 verbose #22 > Server bound to: http://localhost:13805 │
│ 00:00:28 debug #30 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\348c96764a8f66af39 │
│ dd3ea799f5e487a51761b1e220b84a7038f033a002a481\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:28 debug #31 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\348c96764a8f66af39 │
│ dd3ea799f5e487a51761b1e220b84a7038f033a002a481\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:28 verbose #32 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl app () =\n 0i32\n\ninl a = 1\n\ninl main () │
│ =\n app\n |\u003E │
│ d...ot/spiral_eval/packages/348c96764a8f66af39dd3ea799f5e487a51761b1e220b84a │
│ 7038f033a002a481/main.spi"}} / result: │
│ 00:00:28 verbose #33 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/348c96764a8f66af39dd3ea799f5e487a51761b1e220b8 │
│ 4a7038f033a002a481/main.spi"}} / result: │
│ 00:00:30 verbose #23 > 00:00:00 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/348c96764a8f66af39 │
│ dd3ea799f5e487a51761b1e220b84a7038f033a002a481/main.spi │
│ 00:00:28 debug #34 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\348c96764a8f66af39 │
│ dd3ea799f5e487a51761b1e220b84a7038f033a002a481\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "main.spi: │
│ Global inl/let statements should all return functions known at parse time.", │
│ { │
│ "ParserErrors": { │
│ "errors": [ │
│ [ │
│ [ │
│ { │
│ "character": 0, │
│ "line": 3 │
│ }, │
│ { │
│ "character": 9, │
│ "line": 3 │
│ } │
│ ], │
│ "Global inl/let statements should all return functions known at │
│ parse time." │
│ ] │
│ ], │
│ "uri": │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/348c96764 │
│ a8f66af39dd3ea799f5e487a51761b1e220b84a7038f033a002a481/main.spi" │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 0 │
│ 00:00:28 verbose #35 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/348c96764 │
│ a8f66af39dd3ea799f5e487a51761b1e220b84a7038f033a002a481"]}} / result: │
│ 00:00:32 verbose #23 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:32 debug #24 run_with_timeout_async / timeout: 100 │
│ 00:00:28 debug #36 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["main.spi: │
│ Global inl/let statements should all return functions known at parse │
│ time."]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () =
1i32 / 0i32
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[ "An attempt to divide by zero has been detected at compile time." ]]
)
)
╭─[ 3.42s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:33 debug #25 run_with_timeout_async / timeout: 500 │
│ 00:00:31 debug #24 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:32 verbose #25 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:32 verbose #26 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:32 verbose #27 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:33 debug #26 run_with_timeout_async / timeout: 100 │
│ 00:00:33 verbose #27 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:34 debug #28 run_with_timeout_async / timeout: 100 │
│ 00:00:32 verbose #28 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:34 debug #29 run_with_timeout_async / timeout: 100 │
│ 00:00:30 verbose #37 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:30 verbose #38 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:32 verbose #29 > Server bound to: http://localhost:13805 │
│ 00:00:30 debug #39 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:30 debug #40 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:30 verbose #41 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () =\n 1i32 / │
│ 0i32\n","uri":"file:///c:/home/git/polyglot/target...ot/spiral_eval/packages │
│ /232df6d862bb0667133bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620/main.spi"} │
│ } / result: │
│ 00:00:30 verbose #42 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/232df6d862bb0667133bf3fbc55c0b33286bde4b85cdb1 │
│ 7fe93dda9c433ec620/main.spi"}} / result: │
│ 00:00:32 verbose #30 > 00:00:00 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620/main.spi │
│ 00:00:31 debug #43 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:32 debug #44 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "An attempt to divide by zero has been detected at compile time.", │
│ { │
│ "TracedError": { │
│ "message": "An attempt to divide by zero has been detected at │
│ compile time.", │
│ "trace": [ │
│ "Error trace on line: 1, column: 10 in module: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620/main.spi. │
│ inl main () = │
│ ^ │
│ ", │
│ "Error trace on line: 2, column: 5 in module: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/232df6d862bb066713 │
│ 3bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620/main.spi. │
│ 1i32 / 0i32 │
│ ^ │
│ " │
│ ] │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 0 │
│ 00:00:32 verbose #45 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/232df6d86 │
│ 2bb0667133bf3fbc55c0b33286bde4b85cdb17fe93dda9c433ec620"]}} / result: │
│ 00:00:36 verbose #30 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:36 debug #31 run_with_timeout_async / timeout: 100 │
│ 00:00:32 debug #46 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["An attempt to divide by zero has been detected at compile │
│ time."]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () =
1 + ""
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[
"main.spi:
Constraint satisfaction error.
Got: string
Fails to satisfy: number"
]]
)
)
╭─[ 3.26s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:36 debug #32 run_with_timeout_async / timeout: 500 │
│ 00:00:35 debug #31 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:35 verbose #32 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:35 verbose #33 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:35 verbose #34 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:37 debug #33 run_with_timeout_async / timeout: 100 │
│ 00:00:37 verbose #34 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:37 debug #35 run_with_timeout_async / timeout: 100 │
│ 00:00:35 verbose #35 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:37 debug #36 run_with_timeout_async / timeout: 100 │
│ 00:00:33 verbose #47 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:33 verbose #48 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:36 verbose #36 > Server bound to: http://localhost:13805 │
│ 00:00:33 debug #49 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\2278923ce88b0e473e │
│ 77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:33 debug #50 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\2278923ce88b0e473e │
│ 77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:33 verbose #51 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () =\n 1 \u002B │
│ \u0022\u0022\n","uri":"file:///c:/home/git/polyg...ot/spiral_eval/packages/2 │
│ 278923ce88b0e473e77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d/main.spi"}} │
│ / result: │
│ 00:00:33 verbose #52 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/2278923ce88b0e473e77d4d93e25afa6e5e4f5efe80398 │
│ 2e504cc198d4c4d82d/main.spi"}} / result: │
│ 00:00:36 verbose #37 > 00:00:00 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2278923ce88b0e473e │
│ 77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d/main.spi │
│ 00:00:34 debug #53 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\2278923ce88b0e473e │
│ 77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:35 debug #54 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\2278923ce88b0e473e │
│ 77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 1 │
│ 00:00:35 debug #55 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\2278923ce88b0e473e │
│ 77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "main.spi: │
│ Constraint satisfaction error. │
│ Got: string │
│ Fails to satisfy: number", │
│ { │
│ "TypeErrors": { │
│ "errors": [ │
│ [ │
│ [ │
│ { │
│ "character": 8, │
│ "line": 1 │
│ }, │
│ { │
│ "character": 10, │
│ "line": 1 │
│ } │
│ ], │
│ "Constraint satisfaction error. │
│ Got: string │
│ Fails to satisfy: number" │
│ ] │
│ ], │
│ "uri": │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2278923ce │
│ 88b0e473e77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d/main.spi" │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 1 │
│ 00:00:35 verbose #56 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2278923ce │
│ 88b0e473e77d4d93e25afa6e5e4f5efe803982e504cc198d4c4d82d"]}} / result: │
│ 00:00:39 verbose #37 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:39 debug #38 run_with_timeout_async / timeout: 100 │
│ 00:00:35 debug #57 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["main.spi: │
│ Constraint satisfaction error. │
│ Got: string │
│ Fails to satisfy: number"]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () =
x + y
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[
"main.spi:
Unbound variable: x.
Unbound variable: y."
]]
)
)
╭─[ 4.12s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:40 debug #39 run_with_timeout_async / timeout: 500 │
│ 00:00:38 debug #38 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:39 verbose #39 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:39 verbose #40 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:39 verbose #41 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:41 debug #40 run_with_timeout_async / timeout: 100 │
│ 00:00:41 verbose #41 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:41 debug #42 run_with_timeout_async / timeout: 100 │
│ 00:00:41 debug #43 run_with_timeout_async / timeout: 100 │
│ 00:00:39 verbose #42 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:41 debug #44 run_with_timeout_async / timeout: 100 │
│ 00:00:37 verbose #58 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:37 verbose #59 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:39 verbose #43 > Server bound to: http://localhost:13805 │
│ 00:00:37 debug #60 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:37 debug #61 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:37 verbose #62 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () =\n x \u002B │
│ y\n","uri":"file:///c:/home/git/polyglot/target/...ot/spiral_eval/packages/5 │
│ d8d0e66f59ab13f3bfd8d88f05ce13771ab005b08581d99225216170ba6489b/main.spi"}} │
│ / result: │
│ 00:00:37 verbose #63 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/5d8d0e66f59ab13f3bfd8d88f05ce13771ab005b08581d │
│ 99225216170ba6489b/main.spi"}} / result: │
│ 00:00:40 verbose #44 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b/main.spi │
│ 00:00:38 debug #64 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:39 debug #65 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:39 debug #66 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 1 │
│ 00:00:39 debug #67 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\5d8d0e66f59ab13f3b │
│ fd8d88f05ce13771ab005b08581d99225216170ba6489b\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "main.spi: │
│ Unbound variable: x. │
│ Unbound variable: y.", │
│ { │
│ "TypeErrors": { │
│ "errors": [ │
│ [ │
│ [ │
│ { │
│ "character": 4, │
│ "line": 1 │
│ }, │
│ { │
│ "character": 5, │
│ "line": 1 │
│ } │
│ ], │
│ "Unbound variable: x." │
│ ], │
│ [ │
│ [ │
│ { │
│ "character": 8, │
│ "line": 1 │
│ }, │
│ { │
│ "character": 9, │
│ "line": 1 │
│ } │
│ ], │
│ "Unbound variable: y." │
│ ] │
│ ], │
│ "uri": │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5d8d0e66f │
│ 59ab13f3bfd8d88f05ce13771ab005b08581d99225216170ba6489b/main.spi" │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 1 │
│ 00:00:39 verbose #68 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5d8d0e66f │
│ 59ab13f3bfd8d88f05ce13771ab005b08581d99225216170ba6489b"]}} / result: │
│ 00:00:43 verbose #45 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:43 debug #46 run_with_timeout_async / timeout: 100 │
│ 00:00:39 debug #69 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["main.spi: │
│ Unbound variable: x. │
│ Unbound variable: y."]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""union a =
| B
| c
inl main () =
()
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[ "main.spi:
Expected: uppercase variable" ]]
)
)
╭─[ 2.52s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:44 debug #47 run_with_timeout_async / timeout: 500 │
│ 00:00:42 debug #45 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:43 verbose #46 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:43 verbose #47 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:43 verbose #48 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:45 debug #48 run_with_timeout_async / timeout: 100 │
│ 00:00:45 verbose #49 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:45 debug #50 run_with_timeout_async / timeout: 100 │
│ 00:00:43 verbose #49 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:45 debug #51 run_with_timeout_async / timeout: 100 │
│ 00:00:41 verbose #70 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:41 verbose #71 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:43 verbose #50 > Server bound to: http://localhost:13805 │
│ 00:00:41 debug #72 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e711a7af82ac8ecfc9 │
│ df9208c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:41 debug #73 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e711a7af82ac8ecfc9 │
│ df9208c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:41 verbose #74 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"union a =\n | B\n | c\n\ninl main () =\n │
│ ()\n","uri":"file:///c:/ho...ot/spiral_eval/packages/e711a7af82ac8ecfc9df920 │
│ 8c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a/main.spi"}} / result: │
│ 00:00:41 verbose #75 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/e711a7af82ac8ecfc9df9208c576e0745b2b4e6fbb3a46 │
│ a168b4c4f56921eb3a/main.spi"}} / result: │
│ 00:00:44 verbose #51 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e711a7af82ac8ecfc9 │
│ df9208c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a/main.spi │
│ 00:00:42 debug #76 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\e711a7af82ac8ecfc9 │
│ df9208c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "main.spi: │
│ Expected: uppercase variable", │
│ { │
│ "ParserErrors": { │
│ "errors": [ │
│ [ │
│ [ │
│ { │
│ "character": 6, │
│ "line": 2 │
│ }, │
│ { │
│ "character": 7, │
│ "line": 2 │
│ } │
│ ], │
│ "Expected: uppercase variable" │
│ ] │
│ ], │
│ "uri": │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e711a7af8 │
│ 2ac8ecfc9df9208c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a/main.spi" │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 0 │
│ 00:00:42 verbose #77 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e711a7af8 │
│ 2ac8ecfc9df9208c576e0745b2b4e6fbb3a46a168b4c4f56921eb3a"]}} / result: │
│ 00:00:46 verbose #52 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:46 debug #53 run_with_timeout_async / timeout: 100 │
│ 00:00:42 debug #78 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["main.spi: │
│ Expected: uppercase variable"]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
//abc
inl main () =
()
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[ "main.spi:
Expected: whitespace" ]]
)
)
╭─[ 2.33s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:47 debug #54 run_with_timeout_async / timeout: 500 │
│ 00:00:45 debug #52 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:45 verbose #53 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:45 verbose #54 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:45 verbose #55 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:47 debug #55 run_with_timeout_async / timeout: 100 │
│ 00:00:47 verbose #56 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:47 debug #57 run_with_timeout_async / timeout: 100 │
│ 00:00:47 debug #58 run_with_timeout_async / timeout: 100 │
│ 00:00:46 verbose #56 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:47 debug #59 run_with_timeout_async / timeout: 100 │
│ 00:00:44 verbose #79 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:44 verbose #80 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:46 verbose #57 > Server bound to: http://localhost:13805 │
│ 00:00:44 debug #81 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\07a455cf6c2f0ab533 │
│ ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:44 debug #82 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\07a455cf6c2f0ab533 │
│ ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:44 verbose #83 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\n//abc\ninl main () =\n │
│ ()\n","uri":"file:///c:/home/git/polyglot/target...ot/spiral_eval/packages/0 │
│ 7a455cf6c2f0ab533ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364/main.spi"}} │
│ / result: │
│ 00:00:44 verbose #84 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/07a455cf6c2f0ab533ff915df161bc2bcf35b296e1c020 │
│ d7acfa26c3b8812364/main.spi"}} / result: │
│ 00:00:46 verbose #58 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07a455cf6c2f0ab533 │
│ ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364/main.spi │
│ 00:00:44 debug #85 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\07a455cf6c2f0ab533 │
│ ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "main.spi: │
│ Expected: whitespace", │
│ { │
│ "TokenizerErrors": { │
│ "errors": [ │
│ [ │
│ [ │
│ { │
│ "character": 2, │
│ "line": 1 │
│ }, │
│ { │
│ "character": 3, │
│ "line": 1 │
│ } │
│ ], │
│ "Expected: whitespace" │
│ ] │
│ ], │
│ "uri": │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07a455cf6 │
│ c2f0ab533ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364/main.spi" │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 0 │
│ 00:00:44 verbose #86 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07a455cf6 │
│ c2f0ab533ff915df161bc2bcf35b296e1c020d7acfa26c3b8812364"]}} / result: │
│ 00:00:48 verbose #60 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:48 debug #61 run_with_timeout_async / timeout: 100 │
│ 00:00:44 debug #87 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["main.spi: │
│ Expected: whitespace"]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl main () =
real
inl real_unbox forall a. (obj : a) : a =
typecase obj with
| _ => obj
real_unbox ()
()
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[ "Cannot apply a forall with a term." ]]
)
)
╭─[ 5.74s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:49 debug #62 run_with_timeout_async / timeout: 500 │
│ 00:00:47 debug #59 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:48 verbose #60 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:48 verbose #61 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:48 verbose #62 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:50 debug #63 run_with_timeout_async / timeout: 100 │
│ 00:00:50 verbose #64 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:50 debug #65 run_with_timeout_async / timeout: 100 │
│ 00:00:50 debug #66 run_with_timeout_async / timeout: 100 │
│ 00:00:48 verbose #63 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:50 debug #67 run_with_timeout_async / timeout: 100 │
│ 00:00:50 debug #68 run_with_timeout_async / timeout: 100 │
│ 00:00:46 verbose #88 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:46 verbose #89 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:49 verbose #64 > Server bound to: http://localhost:13805 │
│ 00:00:46 debug #90 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:46 debug #91 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:46 verbose #92 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl main () =\n real\n inl real_unbox │
│ forall a. (obj : a) : a │
│ =\...ot/spiral_eval/packages/a2aa158e3d25dde470018a814a2045bf437bae1760d98ab │
│ 33335c72b076d4d50/main.spi"}} / result: │
│ 00:00:46 verbose #93 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/a2aa158e3d25dde470018a814a2045bf437bae1760d98a │
│ b33335c72b076d4d50/main.spi"}} / result: │
│ 00:00:49 verbose #65 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50/main.spi │
│ 00:00:47 debug #94 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:48 debug #95 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:49 debug #96 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:50 debug #97 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "Cannot apply a forall with a term.", │
│ { │
│ "TracedError": { │
│ "message": "Cannot apply a forall with a term.", │
│ "trace": [ │
│ "Error trace on line: 2, column: 10 in module: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50/main.spi. │
│ inl main () = │
│ ^ │
│ ", │
│ "Error trace on line: 4, column: 9 in module: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50/main.spi. │
│ inl real_unbox forall a. (obj : a) : a = │
│ ^ │
│ ", │
│ "Error trace on line: 7, column: 9 in module: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a2aa158e3d25dde470 │
│ 018a814a2045bf437bae1760d98ab33335c72b076d4d50/main.spi. │
│ real_unbox () │
│ ^ │
│ " │
│ ] │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 0 │
│ 00:00:50 verbose #98 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a2aa158e3 │
│ d25dde470018a814a2045bf437bae1760d98ab33335c72b076d4d50"]}} / result: │
│ 00:00:54 verbose #69 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:54 debug #70 run_with_timeout_async / timeout: 100 │
│ 00:00:50 debug #99 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["Cannot apply a forall with a term."]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl main () =
real
inl real_unbox forall a. (obj : a) : a =
typecase obj with
| _ => obj
real_unbox `i32 1
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
None,
[[ "The main function should not have a forall." ]]
)
)
╭─[ 4.13s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:55 debug #71 run_with_timeout_async / timeout: 500 │
│ 00:00:53 debug #66 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:54 verbose #67 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:54 verbose #68 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:54 verbose #69 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:55 debug #72 run_with_timeout_async / timeout: 100 │
│ 00:00:55 verbose #73 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:00:55 debug #74 run_with_timeout_async / timeout: 100 │
│ 00:00:56 debug #75 run_with_timeout_async / timeout: 100 │
│ 00:00:54 verbose #70 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:56 debug #76 run_with_timeout_async / timeout: 100 │
│ 00:00:52 verbose #100 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:52 verbose #101 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:54 verbose #71 > Server bound to: http://localhost:13805 │
│ 00:00:52 debug #102 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\84eca3865a0cfc1afd │
│ 28f49a38d395e9b89071527b4bda759de7cfb116593b3e\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:52 debug #103 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\84eca3865a0cfc1afd │
│ 28f49a38d395e9b89071527b4bda759de7cfb116593b3e\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:52 verbose #104 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl main () =\n real\n inl real_unbox │
│ forall a. (obj : a) : a │
│ =\...ot/spiral_eval/packages/84eca3865a0cfc1afd28f49a38d395e9b89071527b4bda7 │
│ 59de7cfb116593b3e/main.spi"}} / result: │
│ 00:00:52 verbose #105 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/84eca3865a0cfc1afd28f49a38d395e9b89071527b4bda │
│ 759de7cfb116593b3e/main.spi"}} / result: │
│ 00:00:54 verbose #72 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/84eca3865a0cfc1afd │
│ 28f49a38d395e9b89071527b4bda759de7cfb116593b3e/main.spi │
│ 00:00:53 debug #106 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\84eca3865a0cfc1afd │
│ 28f49a38d395e9b89071527b4bda759de7cfb116593b3e\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:54 debug #107 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\84eca3865a0cfc1afd │
│ 28f49a38d395e9b89071527b4bda759de7cfb116593b3e\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:54 debug #108 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\84eca3865a0cfc1afd │
│ 28f49a38d395e9b89071527b4bda759de7cfb116593b3e\main.spi / fsxContent: / │
│ errors: [ │
│ [ │
│ "The main function should not have a forall.", │
│ { │
│ "TracedError": { │
│ "message": "The main function should not have a forall.", │
│ "trace": [] │
│ } │
│ } │
│ ] │
│ ] / typeErrorCount: 0 │
│ 00:00:54 verbose #109 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/84eca3865 │
│ a0cfc1afd28f49a38d395e9b89071527b4bda759de7cfb116593b3e"]}} / result: │
│ 00:00:58 verbose #77 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:00:58 debug #78 run_with_timeout_async / timeout: 100 │
│ 00:00:54 debug #110 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (None, ["The main function should not have a forall."]) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl init_series start end inc =
inl total : f64 = conv ((end - start) / inc) + 1
listm.init total (conv >> (*) inc >> (+) start) : list f64
type integration = (f64 -> f64) -> f64 -> f64 -> f64
inl integral dt : integration =
fun f a b =>
init_series (a + dt / 2) (b - dt / 2) dt
|> listm.map (f >> (*) dt)
|> listm.fold (+) 0
inl main () =
integral 0.1 (fun x => x ** 2) 0 1
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
Some "0.3325000000000001\n",
[[]]
)
)
╭─[ 4.16s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:59 debug #79 run_with_timeout_async / timeout: 500 │
│ 00:00:57 debug #73 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:00:58 verbose #74 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:58 verbose #75 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:58 verbose #76 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:01:00 debug #80 run_with_timeout_async / timeout: 100 │
│ 00:01:00 verbose #81 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:01:00 debug #82 run_with_timeout_async / timeout: 100 │
│ 00:00:58 verbose #77 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:01:00 debug #83 run_with_timeout_async / timeout: 100 │
│ 00:00:56 verbose #111 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:56 verbose #112 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:58 verbose #78 > Server bound to: http://localhost:13805 │
│ 00:00:56 debug #113 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\c0932fdbf60389c2ae │
│ 8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:56 debug #114 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\c0932fdbf60389c2ae │
│ 8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:56 verbose #115 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n inl total : │
│ f64 = conv ((end - │
│ start)...ot/spiral_eval/packages/c0932fdbf60389c2ae8b78bb5443994f2d0ecdc6c6e │
│ 7dfddf408cecaa050d294/main.spi"}} / result: │
│ 00:00:56 verbose #116 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/c0932fdbf60389c2ae8b78bb5443994f2d0ecdc6c6e7df │
│ ddf408cecaa050d294/main.spi"}} / result: │
│ 00:00:59 verbose #79 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c0932fdbf60389c2ae │
│ 8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294/main.spi │
│ 00:00:57 debug #117 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\c0932fdbf60389c2ae │
│ 8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:58 debug #118 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\c0932fdbf60389c2ae │
│ 8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:58 debug #119 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\c0932fdbf60389c2ae │
│ 8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294\main.spi / fsxContent: │
│ 0.3325000000000001 │
│ / errors: [] / typeErrorCount: 0 │
│ 00:00:58 verbose #120 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c0932fdbf │
│ 60389c2ae8b78bb5443994f2d0ecdc6c6e7dfddf408cecaa050d294"]}} / result: │
│ 00:01:02 verbose #84 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:01:02 debug #85 run_with_timeout_async / timeout: 100 │
│ 00:00:58 debug #121 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (Some "0.3325000000000001 │
│ ", []) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl init_series start end inc =
inl total : f64 = conv ((end - start) / inc) + 1
listm.init total (conv >> (*) inc >> (+) start) : list f64
type integration = (f64 -> f64) -> f64 -> f64 -> f64
inl integral dt : integration =
fun f a b =>
init_series (a + dt / 2) (b - dt / 2) dt
|> listm.map (f >> (*) dt)
|> listm.fold (+) 0
inl main () =
integral 0.01 (fun x => x ** 2) 0 1
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _assertEqual (
Some (
Some "0.33332500000000004\n",
[[]]
)
)
// |> _assertEqual None
// |> fun x -> printfn $"{x.ToDisplayString ()}"
╭─[ 4.41s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:01:03 debug #86 run_with_timeout_async / timeout: 500 │
│ 00:01:01 debug #80 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:buildCode@3-384>, None, Some "C:\home\git\polyglot") │
│ 00:01:02 verbose #81 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:01:02 verbose #82 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:01:02 verbose #83 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:01:04 debug #87 run_with_timeout_async / timeout: 100 │
│ 00:01:04 verbose #88 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:01:04 debug #89 run_with_timeout_async / timeout: 100 │
│ 00:01:02 verbose #84 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:01:04 debug #90 run_with_timeout_async / timeout: 100 │
│ 00:01:04 debug #91 run_with_timeout_async / timeout: 100 │
│ 00:01:00 verbose #122 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:01:00 verbose #123 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:01:02 verbose #85 > Server bound to: http://localhost:13805 │
│ 00:01:00 debug #124 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\355c36b6d259fe6b1c │
│ 7527aa9b475ca37914ad348c4a239687383dcd0daeed2c\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:01:00 debug #125 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\355c36b6d259fe6b1c │
│ 7527aa9b475ca37914ad348c4a239687383dcd0daeed2c\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:01:00 verbose #126 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n inl total : │
│ f64 = conv ((end - │
│ start)...ot/spiral_eval/packages/355c36b6d259fe6b1c7527aa9b475ca37914ad348c4 │
│ a239687383dcd0daeed2c/main.spi"}} / result: │
│ 00:01:00 verbose #127 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/target/ │
│ polyglot/spiral_eval/packages/355c36b6d259fe6b1c7527aa9b475ca37914ad348c4a23 │
│ 9687383dcd0daeed2c/main.spi"}} / result: │
│ 00:01:03 verbose #86 > 00:00:01 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/355c36b6d259fe6b1c │
│ 7527aa9b475ca37914ad348c4a239687383dcd0daeed2c/main.spi │
│ 00:01:01 debug #128 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\355c36b6d259fe6b1c │
│ 7527aa9b475ca37914ad348c4a239687383dcd0daeed2c\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:01:02 debug #129 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\355c36b6d259fe6b1c │
│ 7527aa9b475ca37914ad348c4a239687383dcd0daeed2c\main.spi / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:01:03 debug #130 buildFile / takeWhileInclusive / path: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval\packages\355c36b6d259fe6b1c │
│ 7527aa9b475ca37914ad348c4a239687383dcd0daeed2c\main.spi / fsxContent: │
│ 0.33332500000000004 │
│ / errors: [] / typeErrorCount: 0 │
│ 00:01:03 verbose #131 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/355c36b6d │
│ 259fe6b1c7527aa9b475ca37914ad348c4a239687383dcd0daeed2c"]}} / result: │
│ 00:01:07 verbose #92 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:01:07 debug #93 run_with_timeout_async / timeout: 100 │
│ 00:01:03 debug #132 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ Some (Some "0.33332500000000004 │
│ ", []) │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getFileTokenRange │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getFileTokenRange port cancellationToken path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let! code = fullPath |> SpiralFileSystem.read_all_text_async
let lines = code |> SpiralSm.split "\n"
let struct (token, disposable) = SpiralThreading.new_disposable_token
cancellationToken
use _ = disposable
let! serverPort, _errors, ct, disposable =
match port with
| Some port -> awaitCompiler port (Some token)
| None -> (getCompilerPort (), FSharp.Control.AsyncSeq.empty, token,
new_disposable id) |> Async.init
use _ = disposable
let fullPathUri = fullPath |> SpiralFileSystem.normalize_path |>
SpiralFileSystem.new_file_uri
let fileOpenObj = {| FileOpen = {| uri = fullPathUri; spiText = code |} |}
let! _fileOpenResult = fileOpenObj |> sendObj serverPort
// do! Async.Sleep 60
let fileTokenRangeObj =
{|
FileTokenRange =
{|
uri = fullPathUri
range =
[[|
{| line = 0; character = 0 |}
{| line = lines.Length - 1; character =
lines.[[lines.Length - 1]].Length |}
|]]
|}
|}
let! fileTokenRangeResult =
fileTokenRangeObj
|> sendObj serverPort
|> Async.withCancellationToken ct
let fileDir = fullPath |> System.IO.Path.GetDirectoryName
if fileDir |> SpiralSm.starts_with (repositoryRoot </> "target") then
let fileDirUri = fileDir |> SpiralFileSystem.normalize_path |>
SpiralFileSystem.new_file_uri
let fileDeleteObj = {| FileDelete = {| uris = [[| fileDirUri |]] |} |}
let! _fileDeleteResult = fileDeleteObj |> sendObj serverPort
()
return fileTokenRangeResult |> Option.map FSharp.Json.Json.deserialize<int
array>
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getCodeTokenRange │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getCodeTokenRange cancellationToken code = async {
let! mainPath = persistCode code
let port = getCompilerPort ()
return! mainPath |> getFileTokenRange (Some port) cancellationToken
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () = ()"""
|> getCodeTokenRange None
|> Async.runWithTimeout 10000
|> Option.flatten
|> _assertEqual (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1;
8; 0; 0; 2; 1; 4; 0; 0;
2; 1; 8; 0; 0; 1; 1; 8; 0 |]])
╭─[ 3.58s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:01:12 debug #94 run_with_timeout_async / timeout: 500 │
│ 00:01:10 debug #87 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:it@4-199>, None, Some "C:\home\git\polyglot") │
│ 00:01:10 verbose #88 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:01:10 verbose #89 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:01:10 verbose #90 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:01:12 debug #95 run_with_timeout_async / timeout: 100 │
│ 00:01:12 verbose #96 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:01:12 debug #97 run_with_timeout_async / timeout: 100 │
│ 00:01:11 verbose #91 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:01:13 debug #98 run_with_timeout_async / timeout: 100 │
│ 00:01:09 verbose #133 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:01:09 verbose #134 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:01:11 verbose #92 > Server bound to: http://localhost:13805 │
│ 00:01:09 verbose #135 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () = │
│ ()","uri":"file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages │
│ /fb6c8d45c45c5bed6706c564f1573e80b77a3923967ce83cb69737ce2ce5040c/main.spi"} │
│ } / result: │
│ 00:01:09 verbose #136 sendJson / port: 13805 / json: │
│ {"FileTokenRange":{"range":[ │
│ {"character":0,"line":0},{"character":16,"line":0}],"uri":"file:///c:/ho...o │
│ t/spiral_eval/packages/fb6c8d45c45c5bed6706c564f1573e80b77a3923967ce83cb6973 │
│ 7ce2ce5040c/main.spi"}} / result: Some([ │
│ 0, │
│ 0, │
│ 3, │
│ 7, │
│ 0, │
│ 0, │
│ 4, │
│ 4, │
│ 0, │
│ 0, │
│ 0, │
│ 5, │
│ 1, │
│ 8, │
│ 0, │
│ 0, │
│ ...8, │
│ 0, │
│ 0, │
│ 2, │
│ 1, │
│ 4, │
│ 0, │
│ 0, │
│ 2, │
│ 1, │
│ 8, │
│ 0, │
│ 0, │
│ 1, │
│ 1, │
│ 8, │
│ 0 │
│ ]) │
│ 00:01:09 verbose #137 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fb6c8d45c │
│ 45c5bed6706c564f1573e80b77a3923967ce83cb69737ce2ce5040c"]}} / result: │
│ 00:01:13 verbose #99 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:01:13 debug #100 run_with_timeout_async / timeout: 100 │
│ Some [|0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0; 0; 2; 1; │
│ 4; 0; 0; 2; 1; 8; 0; 0; 1; 1; 8; 0|] │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () = 1i32"""
|> getCodeTokenRange None
|> Async.runWithTimeout 10000
|> Option.flatten
|> _assertEqual (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1;
8; 0; 0; 2; 1; 4; 0; 0;
2; 1; 3; 0; 0; 1; 3; 12; 0 |]])
╭─[ 3.76s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:01:16 debug #101 run_with_timeout_async / timeout: 500 │
│ 00:01:14 debug #93 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:it@4-405>, None, Some "C:\home\git\polyglot") │
│ 00:01:14 verbose #94 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:01:14 verbose #95 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:01:14 verbose #96 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:01:16 debug #102 run_with_timeout_async / timeout: 100 │
│ 00:01:16 verbose #103 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: True │
│ 00:01:16 debug #104 run_with_timeout_async / timeout: 100 │
│ 00:01:15 verbose #97 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:01:16 debug #105 run_with_timeout_async / timeout: 100 │
│ 00:01:12 verbose #138 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:01:12 verbose #139 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:01:15 verbose #98 > Server bound to: http://localhost:13805 │
│ 00:01:12 verbose #140 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () = │
│ 1i32","uri":"file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packag │
│ es/9df95a2f18642bd8d2f682f6edb6cef45c30ca9c616b33ebb0e5577eed14871c/main.spi │
│ "}} / result: │
│ 00:01:13 verbose #141 sendJson / port: 13805 / json: │
│ {"FileTokenRange":{"range":[ │
│ {"character":0,"line":0},{"character":18,"line":0}],"uri":"file:///c:/ho...o │
│ t/spiral_eval/packages/9df95a2f18642bd8d2f682f6edb6cef45c30ca9c616b33ebb0e55 │
│ 77eed14871c/main.spi"}} / result: Some([ │
│ 0, │
│ 0, │
│ 3, │
│ 7, │
│ 0, │
│ 0, │
│ 4, │
│ 4, │
│ 0, │
│ 0, │
│ 0, │
│ 5, │
│ 1, │
│ 8, │
│ 0, │
│ 0, │
│ ..., │
│ 0, │
│ 0, │
│ 2, │
│ 1, │
│ 4, │
│ 0, │
│ 0, │
│ 2, │
│ 1, │
│ 3, │
│ 0, │
│ 0, │
│ 1, │
│ 3, │
│ 12, │
│ 0 │
│ ]) │
│ 00:01:13 verbose #142 sendJson / port: 13805 / json: {"FileDelete":{"uris":[ │
│ "file:///c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9df95a2f1 │
│ 8642bd8d2f682f6edb6cef45c30ca9c616b33ebb0e5577eed14871c"]}} / result: │
│ 00:01:17 verbose #106 wait_for_port_access / port: 13805 / retry: 0 / │
│ timeout: Some 100 / status: False │
│ 00:01:17 debug #107 run_with_timeout_async / timeout: 100 │
│ Some [|0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0; 0; 2; 1; │
│ 4; 0; 0; 2; 1; 3; 0; 0; 1; 3; 12; 0|] │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| Build_File of string * string
| File_Token_Range of string * string
| Execute_Command of string
| [[<Argu.ArguAttributes.Unique>]] Timeout of int
| [[<Argu.ArguAttributes.Unique>]] Port of int
| [[<Argu.ArguAttributes.Unique>]] Parallel
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Build_File _ -> nameof Build_File
| File_Token_Range _ -> nameof File_Token_Range
| Execute_Command _ -> nameof Execute_Command
| Timeout _ -> nameof Timeout
| Port _ -> nameof Port
| Parallel -> nameof Parallel
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
╭─[ 135.71ms - return value ]──────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] [--build-file <string> <string>] │
│ [--file-token-range <string> <string>] │
│ [--execute-command <string>] [--timeout <int>] [--port │
│ <int>] │
│ [--parallel] │
│ │
│ OPTIONS: │
│ │
│ --build-file <string> <string> │
│ Build_File │
│ --file-token-range <string> <string> │
│ File_Token_Range │
│ --execute-command <string> │
│ Execute_Command │
│ --timeout <int> Timeout │
│ --port <int> Port │
│ --parallel Parallel │
│ --help display this list of options. │
│ " │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let buildFileActions =
argsMap
|> Map.tryFind (nameof Arguments.Build_File)
|> Option.defaultValue [[]]
|> List.choose (function
| Arguments.Build_File (inputPath, outputPath) -> Some (inputPath,
outputPath)
| _ -> None
)
let fileTokenRangeActions =
argsMap
|> Map.tryFind (nameof Arguments.File_Token_Range)
|> Option.defaultValue [[]]
|> List.choose (function
| Arguments.File_Token_Range (inputPath, outputPath) -> Some
(inputPath, outputPath)
| _ -> None
)
let executeCommandActions =
argsMap
|> Map.tryFind (nameof Arguments.Execute_Command)
|> Option.defaultValue [[]]
|> List.choose (function
| Arguments.Execute_Command command -> Some command
| _ -> None
)
let timeout =
match argsMap |> Map.tryFind (nameof Arguments.Timeout) with
| Some [[ Arguments.Timeout timeout ]] -> timeout
| _ -> 60000 * 60
let port =
match argsMap |> Map.tryFind (nameof Arguments.Port) with
| Some [[ Arguments.Port port ]] -> Some port
| _ -> None
let isParallel = argsMap |> Map.containsKey (nameof Arguments.Parallel)
async {
let port = port |> Option.defaultWith getCompilerPort
let struct (localToken, disposable) =
SpiralThreading.new_disposable_token None
let! serverPort, _errors, compilerToken, disposable = awaitCompiler port
(Some localToken)
use _ = disposable
let buildFileAsync =
buildFileActions
|> List.map (fun (inputPath, outputPath) -> async {
let! _fsxPath, (outputCode, errors) = inputPath |> buildFile
timeout serverPort None
errors
|> List.map snd
|> List.iter (fun error ->
trace Critical (fun () -> $"main / error: {error |>
serializeObj}") _locals
)
match outputCode with
| Some outputCode ->
do! outputCode |> SpiralFileSystem.write_all_text_async
outputPath
return 0
| None ->
return 1
})
let fileTokenRangeAsync =
fileTokenRangeActions
|> List.map (fun (inputPath, outputPath) -> async {
let! tokenRange = inputPath |> getFileTokenRange (Some
serverPort) None
match tokenRange with
| Some tokenRange ->
do! tokenRange |> FSharp.Json.Json.serialize |>
SpiralFileSystem.write_all_text_async outputPath
return 0
| None ->
return 1
})
let executeCommandAsync =
executeCommandActions
|> List.map (fun command -> async {
let! exitCode, result =
SpiralRuntime.execution_options (fun x ->
{ x with
l0 = Some compilerToken
l1 = command
}
)
|> SpiralRuntime.execute_with_options_async
trace Debug (fun () -> $"main / executeCommand / exitCode:
{exitCode}") _locals
return exitCode
})
return!
[[| buildFileAsync; fileTokenRangeAsync; executeCommandAsync |]]
|> Seq.collect id
|> fun x ->
if isParallel
then Async.Parallel (x, float System.Environment.ProcessorCount
* 0.51 |> ceil |> int)
else Async.Sequential x
|> Async.map Array.sum
}
|> Async.runWithTimeout timeout
|> Option.defaultValue 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> SpiralRuntime.split_args
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 110.24ms - return value ]──────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0 │
│ </pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Supervisor.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 476909 bytes to Supervisor.dib.html
00:00:00 debug #1 writeDibCode / output: Fs / path: Supervisor.dib
00:00:00 debug #2 parseDibCode / output: Fs / file: Supervisor.dib
00:00:00 debug #1 persistCodeProject / packages: [Argu; FSharp.Control.AsyncSeq; FSharp.Json; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: Supervisor / code.Length: 21421
00:00:00 debug #2 buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj
00:00:00 debug #1 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\Supervisor\Supervisor.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime linux-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\Supervisor")
00:00:00 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 > Determining projects to restore...
00:00:02 verbose #4 > Restored C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj (in 575 ms).
00:00:02 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj]
00:00:18 verbose #6 > Supervisor -> C:\home\git\polyglot\target\polyglot\builder\Supervisor\bin\Release\net9.0\linux-x64\Supervisor.dll
00:00:20 verbose #7 > Supervisor -> C:\home\git\polyglot\apps\spiral\dist\
00:00:20 debug #8 execute_with_options_async / exit_code: 0 / output.Length: 715
00:00:20 debug #9 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\Supervisor\Supervisor.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime win-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\Supervisor")
00:00:20 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:21 verbose #11 > Determining projects to restore...
00:00:22 verbose #12 > Restored C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj (in 522 ms).
00:00:22 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\Supervisor\Supervisor.fsproj]
00:00:35 verbose #14 > Supervisor -> C:\home\git\polyglot\target\polyglot\builder\Supervisor\bin\Release\net9.0\win-x64\Supervisor.dll
00:00:38 verbose #15 > Supervisor -> C:\home\git\polyglot\apps\spiral\dist\
00:00:38 debug #16 execute_with_options_async / exit_code: 0 / output.Length: 713
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\spiral / path: Eval.dib / _args: [
"-Retries",
3
]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Eval (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.common/7.0.0
/lib/net7.0/Microsoft.AspNetCore.SignalR.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client/7.0.0
/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client.core/
7.0.0/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.Core.dll"
#r
@"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
rp.Json.dll"
#r
@"../../../../../../../.nuget/packages/system.management/7.0.0/lib/netstandard2.
0/System.Management.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
#r @"../.....
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import ../../lib/fsharp/CommonFSharp.fs
#!import ../../lib/fsharp/Async.fs
#!import ../../lib/fsharp/AsyncSeq.fs
#!import ../../lib/fsharp/Runtime.fs
#!import ../../lib/fsharp/FileSystem.fs
#!import ../../apps/builder/Builder.fs
#!import ../../apps/spiral/Supervisor.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
/// ## subscribeToken
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## parseArgs
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
_ -> Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName =
$"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## watchDirectory
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> Syst...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Builder =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## buildProject
let inline buildProject runtime outputDir path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let fileDir = fullPath |> System.IO.Path.GetDirectoryName
let extension = fullPath |> System.IO.Path.GetExtension
trace Debug
(fun () -> "buildProject")
(fun () -> $"fullPath: {fullPath} / {_locals ()}")
match extension with
| ".fsproj" -> ()
| _ -> failwith "Invalid project file"
let runtimes =
runtime
|> Option.map List.singleton
|...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Supervisor =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
open Microsoft.AspNetCore.SignalR.Client
/// ## sendJson
let inline sendJson (port : int) (json : string) = async {
let! portOpen = SpiralNetworking.test_port_open port
if portOpen then
try
let connection =
HubConnectionBuilder().WithUrl($"http://127.0.0.1:{port}").Build()
do! connection.StartAsync () |> Async.AwaitTask
let! result =
connection.InvokeAsync<string>("ClientToServerMsg", json) |> Async.AwaitTask
do! connection.StopAsync () |> Async.AwaitTask
trace Verbose ...
── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open SpiralFileSystem.Operators
open Microsoft.AspNetCore.SignalR.Client
── fsharp ──────────────────────────────────────────────────────────────────────
open System
open System.Collections.Generic
open System.IO
open System.Text
open System.Threading
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## mapErrors │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline mapErrors (severity, errors, lastTopLevelIndex) allCode =
let allCodeLineLength =
allCode |> SpiralSm.split "\n" |> Array.length
errors
|> List.map (fun (_, error) ->
match error with
| Supervisor.FatalError message ->
(
severity, message, 0, ("", (0, 0), (0, 0))
)
|> List.singleton
| Supervisor.TracedError data ->
data.trace
|> List.truncate 5
|> List.append [[ data.message ]]
|> List.map (fun message ->
(
severity, message, 0, ("", (0, 0), (0, 0))
)
)
| Supervisor.PackageErrors data
| Supervisor.TokenizerErrors data
| Supervisor.ParserErrors data
| Supervisor.TypeErrors data ->
data.errors
|> List.filter (fun ((rangeStart, _), _) ->
trace Debug (fun () -> $"Eval.mapErrors / rangeStart.line:
{rangeStart.line} / lastTopLevelIndex: {lastTopLevelIndex} / allCodeLineLength:
{allCodeLineLength} / filtered: {rangeStart.line > allCodeLineLength}") _locals
rangeStart.line > allCodeLineLength
)
|> List.map (fun ((rangeStart, rangeEnd), message) ->
(
severity,
message,
0,
(
(data.uri |> System.IO.Path.GetFileName),
(
(match lastTopLevelIndex with
| Some i when rangeStart.line >= i +
allCodeLineLength + 3 ->
rangeStart.line - allCodeLineLength - 2
| _ -> rangeStart.line - allCodeLineLength),
(match lastTopLevelIndex with
| Some i when rangeStart.line >= i +
allCodeLineLength + 3 ->
rangeStart.character - 4
| _ -> rangeStart.character)
),
(
(match lastTopLevelIndex with
| Some i when rangeStart.line >= i +
allCodeLineLength + 3 ->
rangeEnd.line - allCodeLineLength - 2
| _ -> rangeEnd.line - allCodeLineLength),
(match lastTopLevelIndex with
| Some i when rangeStart.line >= i +
allCodeLineLength + 3 ->
rangeEnd.character - 4
| _ -> rangeEnd.character)
)
)
)
)
)
|> List.collect id
|> List.toArray
── fsharp ──────────────────────────────────────────────────────────────────────
let repositoryRoot = SpiralFileSystem.get_repository_root ()
let targetDir = repositoryRoot </> "target/polyglot/spiral_eval"
[[ targetDir ]]
|> List.iter (fun dir -> if Directory.Exists dir |> not then
Directory.CreateDirectory dir |> ignore)
let assemblyName = Reflection.Assembly.GetEntryAssembly().GetName().Name
let mutable allCode = ""
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getParentProcessId │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let getParentProcessId () =
if SpiralRuntime.is_windows () |> not
then 0u
else
let pid = System.Diagnostics.Process.GetCurrentProcess().Id
let query = $"SELECT ParentProcessId FROM Win32_Process WHERE ProcessId
= {pid}"
use searcher = new System.Management.ManagementObjectSearcher (query)
use results = searcher.Get ()
let data = results |> Seq.cast<System.Management.ManagementObject>
if data |> Seq.isEmpty
then 0u
else data |> Seq.head |> (fun mo -> mo.[["ParentProcessId"]] :?> uint32)
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## startTokenRangeWatcher │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline startTokenRangeWatcher () =
if [[ "dotnet-repl" ]] |> List.contains assemblyName |> not then
let tokensDir = targetDir </> "tokens"
[[ tokensDir ]]
|> List.iter (fun dir -> if Directory.Exists dir |> not then
Directory.CreateDirectory dir |> ignore)
let stream, disposable = FileSystem.watchDirectory (fun _ -> false)
tokensDir
try
let existingFilesChild =
tokensDir
|> System.IO.Directory.GetDirectories
|> Array.map (fun codeDir -> async {
try
let tokensPath = codeDir </> "tokens.json"
if tokensPath |> File.Exists |> not then
let codePath = codeDir </> "main.spi"
let! tokens = codePath |>
Supervisor.getFileTokenRange None None
match tokens with
| Some tokens ->
do!
tokens
|> FSharp.Json.Json.serialize
|> SpiralFileSystem.write_all_text_async
tokensPath
| None ->
trace Verbose (fun () ->
$"Eval.startTokenRangeWatcher / GetDirectories / tokens: None") _locals
with ex ->
trace Critical (fun () -> $"Eval.startTokenRangeWatcher
/ GetDirectories / ex: {ex |> SpiralSm.format_exception}") _locals
})
|> Async.Parallel
|> Async.Ignore
let streamAsyncChild =
stream
|> FSharp.Control.AsyncSeq.iterAsyncParallel (fun (ticks, event)
-> async {
try
match event with
| FileSystem.FileSystemChange.Changed (codePath, _)
when System.IO.Path.GetFileName codePath =
"main.spi"
->
let hashDir = codePath |>
System.IO.Directory.GetParent
let hashHex = hashDir.Name
let codePath = tokensDir </> codePath
let tokensPath = tokensDir </> hashHex </>
"tokens.json"
do!
codePath
|> SpiralFileSystem.wait_for_file_access_read
|> Async.runWithTimeoutAsync 1000
|> Async.Ignore
let! tokens = codePath |>
Supervisor.getFileTokenRange None None
match tokens with
| Some tokens ->
do!
tokens
|> FSharp.Json.Json.serialize
|> SpiralFileSystem.write_all_text_async
tokensPath
| None ->
trace Verbose (fun () ->
$"Eval.startTokenRangeWatcher / iterAsyncParallel / tokens: None") _locals
| _ -> ()
with ex ->
trace Critical (fun () -> $"Eval.startTokenRangeWatcher
/ iterAsyncParallel / ex: {ex |> SpiralSm.format_exception}") _locals
})
let parentAsyncChild = async {
let parentProcessId = getParentProcessId ()
trace Verbose
(fun () -> "Eval.parentAsyncChild")
(fun () -> $"parentProcessId: {parentProcessId} / {_locals
()}")
if parentProcessId > 0u then
let parentProcess = parentProcessId |> int |>
System.Diagnostics.Process.GetProcessById
do! parentProcess.WaitForExitAsync () |> Async.AwaitTask
trace Verbose
(fun () -> "Eval.parentAsyncChild / Parent process has
exited. Performing cleanup...")
(fun () -> $"{_locals ()}")
System.Threading.Thread.Sleep 1000
System.Environment.Exit 1
}
async {
do! Async.Sleep 3000
existingFilesChild |> Async.StartImmediate
streamAsyncChild |> Async.Start
parentAsyncChild |> Async.Start
}
|> Async.Start
with ex ->
trace Critical (fun () -> $"Eval.startTokenRangeWatcher / ex: {ex |>
SpiralSm.format_exception}") _locals
disposable
else new_disposable (fun () -> ())
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## startCommandsWatcher │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let startCommandsWatcher (uriServer : string) =
let commandsDir = targetDir </> "eval_commands"
let commandHistoryDir = targetDir </> "eval_command_history"
[[ commandsDir; commandHistoryDir ]]
|> List.iter (fun dir -> if Directory.Exists dir |> not then
Directory.CreateDirectory dir |> ignore)
Directory.EnumerateFiles commandsDir |> Seq.iter File.Delete
let stream, disposable =
commandsDir
|> FileSystem.watchDirectory (function
| FileSystem.FileSystemChange.Created _ -> true
| _ -> false
)
let connection = HubConnectionBuilder().WithUrl(uriServer).Build()
connection.StartAsync() |> Async.AwaitTask |> Async.Start
// let _ = connection.On<string>("ServerToClientMsg", fun x ->
// printfn $"ServerToClientMsg: '{x}'"
// )
stream
|> FSharp.Control.AsyncSeq.iterAsyncParallel (fun (ticks, event) -> async {
let _locals () = $"ticks: {ticks} / event: {event} / {_locals ()}"
trace Verbose (fun () -> "Eval.startCommandsWatcher /
iterAsyncParallel") _locals
match event with
| FileSystem.FileSystemChange.Created (path, Some json) ->
try
let fullPath = commandsDir </> path
let! result =
connection.InvokeAsync<string>("ClientToServerMsg", json) |> Async.AwaitTask
let commandHistoryPath = commandHistoryDir </> path
do! fullPath |> SpiralFileSystem.move_file_async
commandHistoryPath |> Async.Ignore
if result |> SpiralSm.trim |> String.length > 0 then
let resultPath = commandHistoryDir </>
$"{Path.GetFileNameWithoutExtension path}_result.json"
do! result |> SpiralFileSystem.write_all_text_async
resultPath
with ex ->
let _locals () = $"ex: {ex |> SpiralSm.format_exception} /
{_locals ()}"
trace Critical (fun () -> "Eval.startCommandsWatcher /
iterAsyncParallel") _locals
| _ -> ()
})
|> Async.StartChild
|> Async.Ignore
|> Async.Start
new_disposable (fun () ->
disposable.Dispose ()
)
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## eval │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline eval
(fsi_eval:
string
-> System.Threading.CancellationToken
-> Choice<'a,Exception> * (TraceLevel * string * int * (string * (int *
int) * (int * int))) array)
(cancellationToken: Option<System.Threading.CancellationToken>)
(code: string)
=
trace Verbose (fun () -> $"Eval.eval / code: %A{code}") _locals
let rawCellCode =
code |> SpiralSm.replace "\r\n" "\n"
let lines = rawCellCode |> SpiralSm.split "\n"
if lines |> Array.exists (fun line -> line |> SpiralSm.starts_with "#r " &&
line |> SpiralSm.ends_with "\"") then
let cancellationToken = defaultArg cancellationToken
System.Threading.CancellationToken.None
let ch, errors = fsi_eval code cancellationToken
match ch with
| Choice1Of2 v -> Ok(v), errors
| Choice2Of2 ex -> Error(ex), errors
else
try
let builderArgs =
lines
|> Array.choose (fun line ->
if line |> SpiralSm.starts_with "///! "
then line |> SpiralSm.split "///! " |> Array.tryItem 1
else None
)
let timeout =
lines
|> Array.tryPick (fun line ->
if line |> SpiralSm.starts_with "//// timeout="
then line |> SpiralSm.split "=" |> Array.tryItem 1 |>
Option.map int
else None
)
|> Option.defaultValue (60000 * 60)
let printCode =
lines
|> Array.tryPick (fun line ->
if line |> SpiralSm.starts_with "//// print_code="
then line |> SpiralSm.split "=" |> Array.tryItem 1 |>
Option.map ((=) "true")
else None
)
|> Option.defaultValue true
let isTrace =
lines
|> Array.tryPick (fun line ->
if line |> SpiralSm.starts_with "//// trace="
then line |> SpiralSm.split "=" |> Array.tryItem 1 |>
Option.map ((=) "true")
else None
)
|> Option.defaultValue false
let oldLevel = get_trace_level ()
let traceLevel =
if isTrace
then Verbose
else Info
traceLevel
|> to_trace_level
|> set_trace_level
use _ = (new_disposable (fun () ->
oldLevel |> set_trace_level
))
let lastBlock =
lines
|> Array.tryFindBack (fun line ->
line |> String.length > 0
&& line.[[0]] <> ' '
)
let hasMain =
lastBlock
|> Option.exists (fun line ->
line |> SpiralSm.starts_with "inl main "
|| line |> SpiralSm.starts_with "let main "
)
let cellCode, lastTopLevelIndex =
if hasMain
then rawCellCode, None
else
let lastTopLevelIndex, _ =
(lines |> Array.indexed, (None, false))
||> Array.foldBack (fun (i, line) (lastTopLevelIndex,
finished) ->
trace Debug (fun () -> $"i: {i} / line: '{line}' /
lastTopLevelIndex: {lastTopLevelIndex} / finished: {finished}") _locals
match line with
| _ when finished -> lastTopLevelIndex, true
| "" -> lastTopLevelIndex, false
| line when
line |> SpiralSm.starts_with " "
|| line |> SpiralSm.starts_with "// " ->
lastTopLevelIndex, false
| line when
line |> SpiralSm.starts_with "open "
|| line |> SpiralSm.starts_with "prototype "
|| line |> SpiralSm.starts_with "instance "
|| line |> SpiralSm.starts_with "type "
|| line |> SpiralSm.starts_with "union "
|| line |> SpiralSm.starts_with "nominal " ->
lastTopLevelIndex, true
| line when
line |> SpiralSm.starts_with "inl "
|| line |> SpiralSm.starts_with "let " ->
let m =
System.Text.RegularExpressions.Regex.Match (
line,
@"^(inl|let) +([[~\(\w]][[\w\d']]*(?:|
*[[~\w]][[\w\d']]*\)|, *[[~\w]][[\w\d']]*)) +[[:=]](?! +function)"
)
trace Debug (fun () -> $"m: '{m}' /
m.Groups.Count: {m.Groups.Count}") _locals
if m.Groups.Count = 3
then Some i, false
else lastTopLevelIndex, true
| _ -> Some i, false
)
let code =
match lastTopLevelIndex with
| Some lastTopLevelIndex ->
lines
|> Array.mapi (fun i line ->
match i with
| i when i < lastTopLevelIndex -> line
| i when i = lastTopLevelIndex -> $"\nlet main
() =\n {line}"
| _ when line |> SpiralSm.trim = "" -> ""
| _ -> $" {line}"
)
|> SpiralSm.concat "\n"
| None -> $"{rawCellCode}\n\ninl main () = ()\n"
code, lastTopLevelIndex
let newAllCode = $"{allCode}\n\n{cellCode}"
async {
try
let! mainPath = newAllCode |> Supervisor.persistCode
let port = Supervisor.getCompilerPort ()
let! codeChoice =
mainPath
|> Supervisor.buildFile timeout port cancellationToken
|> Async.catch
|> Async.runWithTimeoutAsync timeout
let result =
match codeChoice with
| Some (Ok (fsxPath, code)) -> Some (fsxPath, code)
| Some (Error ex) ->
trace Critical (fun () -> $"Eval / errors: {ex |>
SpiralSm.format_exception}") _locals
None
| _ -> None
match result with
| Some (fsxPath, (Some code, spiralErrors)) ->
let spiralErrors =
mapErrors (Warning, spiralErrors, lastTopLevelIndex)
allCode
let inline _trace (fn : unit -> string) =
if isTrace
then trace Info (fun () -> $"Eval.eval / {fn ()}")
_locals
else fn () |> System.Console.WriteLine
if printCode
then _trace (fun () -> if builderArgs.Length > 0 then
$".fsx:\n{code}\n" else code)
let! evalResult =
match builderArgs, lastTopLevelIndex with
| [[||]], _ | _, None -> None |> Async.init
| builderArgs, _ -> async {
let! result =
builderArgs
|> Array.map (fun builderArgs -> async {
let! exitCode, result =
SpiralRuntime.execution_options (fun
x ->
{ x with
l1 =
$"""{repositoryRoot}/apps/spiral/dist/Eval{SpiralRuntime.get_executable_suffix
()} --file "{fsxPath}" --args "{builderArgs}" --trace-level %A{traceLevel}"""
l0 = cancellationToken
}
)
|>
SpiralRuntime.execute_with_options_async
trace Debug (fun () -> $"Eval.eval /
builder / exitCode: {exitCode} / result: {result}") _locals
return
if exitCode = 0
then result |> Ok
else result |> Error
|> Some
})
|> Async.Parallel
return
(None, result)
||> Array.fold (fun acc x -> x)
}
let cancellationToken = defaultArg cancellationToken
System.Threading.CancellationToken.None
let fsxResult =
if builderArgs.Length > 0
then None
else
try
let ch, errors = fsi_eval code
cancellationToken
let errors =
errors
|> Array.map (fun (e1, e2, e3, _) ->
(e1, e2, e3, ("", (0, 0), (0, 0)))
)
Some (ch, errors)
with ex ->
trace Critical (fun () -> $"Eval.eval / ex:
{ex |> SpiralSm.format_exception}") _locals
None
match fsxResult, evalResult with
| Some (ch, errors), None ->
let errors = errors |> Array.append spiralErrors
match ch with
| Choice1Of2 v ->
allCode <- newAllCode
return Ok(v), errors
| Choice2Of2 ex -> return Error ex, errors
| _, Some result ->
let result, errors =
match result with
| Ok result -> result, [[||]]
| Error error ->
"",
[[|
(
TraceLevel.Critical, error, 0, ("",
(0, 0), (0, 0))
)
|]]
let header = if printCode then "output:\n" else ""
let code =
if printCode
then $"\"\"\"{header}{result}\n\n\n\"\"\""
else $"\"\"\"{header}{result}\n\"\"\""
let ch, errors2 = fsi_eval code cancellationToken
let errors =
errors
|> Array.append spiralErrors
|> Array.append errors2
match ch with
| Choice1Of2 v ->
allCode <- newAllCode
return Ok(v), errors
| Choice2Of2 ex ->
return Error ex, errors
| _ ->
let ch, errors = fsi_eval "()" cancellationToken
match ch with
| Choice1Of2 v ->
allCode <- newAllCode
return Ok(v), errors
| Choice2Of2 ex ->
return Error ex, errors
| Some (_, (None, errors)) when errors |> List.isEmpty |>
not ->
return errors.[[0]] |> fst |> Exception |> Error,
mapErrors (TraceLevel.Critical, errors,
lastTopLevelIndex) allCode
| _ ->
return Error (Exception "Spiral error or timeout"),
[[|
(
TraceLevel.Critical, "Diag: Spiral error or
timeout", 0, ("", (0, 0), (0, 0))
)
|]]
with ex ->
trace Critical (fun () -> $"Eval / ex: {ex |>
SpiralSm.format_exception}") _locals
return Error (Exception $"Spiral error or timeout (4_) / ex:
{ex |> SpiralSm.format_exception}"),
[[|
(
TraceLevel.Critical, $"Diag: Spiral error or timeout
(4) / ex: {ex |> SpiralSm.format_exception}", 0, ("", (0, 0), (0, 0))
)
|]]
}
|> Async.runWithTimeout timeout
|> Option.defaultValue (
Error (Exception "Spiral error or timeout (2)"),
[[|
(
TraceLevel.Critical, "Diag: Spiral error or timeout
(2)", 0, ("", (0, 0), (0, 0))
)
|]]
)
with ex ->
trace Critical (fun () -> $"Eval / ex: {ex |>
SpiralSm.format_exception}") _locals
Error (Exception $"Spiral error or timeout (3) / ex: {ex |>
SpiralSm.format_exception}"),
[[|
(
TraceLevel.Critical, $"Diag: Spiral error or timeout (3) /
ex: {ex |> SpiralSm.format_exception}", 0, ("", (0, 0), (0, 0))
)
|]]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## run │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let run file args printCode traceLevel = async {
let isTrace = traceLevel = Verbose
let inline _trace (fn : unit -> string) =
if isTrace
then trace Info (fun () -> $"Eval.run / {fn ()}") _locals
else fn () |> System.Console.WriteLine
// let hash = $"repl_{code |> SpiralCrypto.hash_text}"
let hash = $"spiral_eval"
let! code = file |> SpiralFileSystem.read_all_text_async
let! fsprojPath = code |> Builder.persistCodeProject [["Fable.Core"]] [[]]
hash
let projectDir = fsprojPath |> Path.GetDirectoryName
let outDir = projectDir </> $"target/{hash}"
let libLinkTargetPath = projectDir </> "target/fable-library-rust"
let libLinkPath = outDir </> $"fable_modules/fable-library-rust"
if Directory.Exists libLinkTargetPath |> not
then libLinkTargetPath |> Directory.CreateDirectory |> ignore
libLinkPath |> Path.GetDirectoryName |> Directory.CreateDirectory |> ignore
let libLinkPathInfo = DirectoryInfo libLinkPath
if libLinkPathInfo.Exists && libLinkPathInfo.LinkTarget = null then
Directory.Delete (libLinkPath, true)
if libLinkPath |> Directory.Exists |> not then
Directory.CreateSymbolicLink (libLinkPath, libLinkTargetPath)
|> ignore
let repositoryRootExternal =
let currentDir =
System.IO.Directory.GetCurrentDirectory ()
|> SpiralSm.to_lower
let repositoryRoot = repositoryRoot |> SpiralSm.to_lower
if currentDir |> SpiralSm.starts_with repositoryRoot
then None
else Some repositoryRoot
let! exitCode, spiralBuilderResult =
let command =
let path =
repositoryRoot </>
$@"target/release/spiral_builder{SpiralRuntime.get_executable_suffix ()}"
|> System.IO.Path.GetFullPath
$"""{path} --file "{fsprojPath}" --out-dir "{outDir}" --hash {hash}
--args "{args}" """
SpiralRuntime.execution_options (fun x ->
{ x with
l1 = command
l5 = repositoryRootExternal
}
)
|> SpiralRuntime.execute_with_options_async
if exitCode <> 0 then
trace Critical (fun () -> $"Eval.run / spiral_builder / exitCode:
{exitCode} / spiralBuilderResult: {spiralBuilderResult}") _locals
return Some (Error spiralBuilderResult)
else
trace Debug (fun () -> $"Eval.run / spiral_builder / exitCode:
{exitCode} / spiralBuilderResult: {spiralBuilderResult}") _locals
let! exitCode, dotnetFableResult =
let command = $@"dotnet fable ""{fsprojPath}"" --optimize --lang rs
--extension .rs --outDir ""{outDir}"" "
SpiralRuntime.execution_options (fun x ->
{ x with
l1 = command
l5 = repositoryRootExternal
}
)
|> SpiralRuntime.execute_with_options_async
if exitCode <> 0 then
trace Critical (fun () -> $"Eval.run / dotnet fable / exitCode:
{exitCode} / dotnetFableResult: {dotnetFableResult}") _locals
return Some (Error dotnetFableResult)
else
let rsPath = libLinkPath </> "src/Range.rs"
let! text = rsPath |> SpiralFileSystem.read_all_text_async
do!
text
|> SpiralSm.replace "use crate::String_::fromCharCode;" "use
crate::String_::fromChar;"
|> SpiralSm.replace "fromCharCode(c)"
"std::char::from_u32(c).unwrap()"
|> SpiralFileSystem.write_all_text_async rsPath
let! exitCode, cargoFmtResult =
SpiralRuntime.execution_options (fun x ->
{ x with
l1 = "cargo fmt --"
l5 = Some outDir
}
)
|> SpiralRuntime.execute_with_options_async
if exitCode <> 0 then
trace Critical (fun () -> $"Eval.run / cargo fmt error /
exitCode: {exitCode} / cargoFmtResult: {cargoFmtResult}") _locals
let rsPath = outDir </> $"{hash}.rs"
let! rsCode = rsPath |> SpiralFileSystem.read_all_text_async
let mainCodeHeader = "pub fn main() -> Result<(), String> {"
let mainCode = $"{mainCodeHeader} Ok(()) }}"
let cached = rsCode |> SpiralSm.contains mainCodeHeader
let rsCode =
if cached
then rsCode
else
rsCode
|> SpiralSm.replace "),);" "));"
|> SpiralSm.replace_regex "\s\sdefaultOf\(\);" "
defaultOf::<()>();"
|> SpiralSm.replace "defaultOf(),"
"defaultOf::<std::sync::Arc<dyn IDisposable>>(),"
|> SpiralSm.replace "_self_." "self."
|> SpiralSm.replace "get_or_insert_with" "get_or_init"
|> SpiralSm.replace "use
fable_library_rust::System::Collections::Concurrent::ConcurrentStack_1;" "type
ConcurrentStack_1<T> = T;"
|> SpiralSm.replace "use
fable_library_rust::System::Threading::CancellationToken;" "type
CancellationToken = ();"
|> SpiralSm.replace "use
fable_library_rust::System::TimeZoneInfo;" "type TimeZoneInfo = i64;"
|> SpiralSm.replace "use
fable_library_rust::System::Threading::Tasks::TaskCanceledException;" "type
TaskCanceledException = ();"
if printCode
then _trace (fun () -> $".rs:\n{rsCode}")
if not cached
then do!
$"{rsCode}\n\n{mainCode}\n"
|> SpiralFileSystem.write_all_text_async rsPath
let cargoTomlPath = outDir </> $"Cargo.toml"
let cargoTomlContent = spiralBuilderResult
do! cargoTomlContent |> SpiralFileSystem.write_all_text_exists
cargoTomlPath
let! exitCode, cargoRunResult =
SpiralRuntime.execution_options (fun x ->
{ x with
l1 = $@"cargo run --manifest-path {cargoTomlPath}"
l2 = [[| "RUSTC_WRAPPER", "sccache" |]]
l5 = repositoryRootExternal
}
)
|> SpiralRuntime.execute_with_options_async
if exitCode = 0 then
try
return
cargoRunResult
|> SpiralSm.split "\n"
|> Array.skipWhile (fun line ->
(line |> SpiralSm.contains @"profile [[optimized]]
target" |> not)
&& (line |> SpiralSm.contains @"profile
[[unoptimized + debuginfo]] target" |> not)
)
|> Array.skip 2
|> SpiralSm.concat "\n"
|> Ok
|> Some
with ex ->
return $"ex: {ex}\ncargoRunResult:\n{cargoRunResult}" |>
Error |> Some
else
return Some (Error cargoRunResult)
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.ExactlyOnce>]] File of string
| [[<Argu.ArguAttributes.ExactlyOnce>]] Args of string
| [[<Argu.ArguAttributes.Unique>]] Print_Code
| [[<Argu.ArguAttributes.Unique>]] Trace_Level of TraceLevel
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| File _ -> nameof File
| Args _ -> nameof Args
| Print_Code -> nameof Print_Code
| Trace_Level _ -> nameof Trace_Level
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
╭─[ 154.88ms - return value ]──────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] --file <string> --args <string> [--print-code] │
│ [--trace-level <verbose|debug|info|warning|critical>] │
│ │
│ OPTIONS: │
│ │
│ --file <string> File │
│ --args <string> Args │
│ --print-code Print_Code │
│ --trace-level <verbose|debug|info|warning|critical> │
│ Trace_Level │
│ --help display this list of options. │
│ " │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let file =
match argsMap.[[nameof Arguments.File]] with
| [[ Arguments.File file ]] -> file |> Some
| _ -> None
|> Option.get
let args =
match argsMap.[[nameof Arguments.Args]] with
| [[ Arguments.Args args ]] -> args |> Some
| _ -> None
|> Option.get
let traceLevel =
match argsMap |> Map.tryFind (nameof Arguments.Trace_Level) with
| Some [[ Arguments.Trace_Level traceLevel ]] -> traceLevel
| _ -> Verbose
let printCode = argsMap |> Map.containsKey (nameof Arguments.Print_Code)
traceLevel |> to_trace_level |> set_trace_level
async {
let! result = run file args printCode traceLevel
return
match result with
| Some (Ok result) ->
trace Debug (fun () -> $"Eval.main / result: %A{result}")
_locals
if traceLevel = Info
then result |> System.Console.WriteLine
0
| Some (Error error) ->
trace Critical (fun () -> $"Eval.main / error: %A{error}")
_locals
1
| None -> 1
}
|> Async.runWithTimeout (60000 * 60)
|> Option.defaultValue 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> SpiralRuntime.split_args
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 73.95ms - return value ]───────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0 │
│ </pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Eval.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 416645 bytes to Eval.dib.html
00:00:00 debug #1 writeDibCode / output: Fs / path: Eval.dib
00:00:00 debug #2 parseDibCode / output: Fs / file: Eval.dib
00:00:00 debug #1 persistCodeProject / packages: [Argu; FSharp.Control.AsyncSeq; FSharp.Json; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: Eval / code.Length: 37055
00:00:00 debug #2 buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\Eval\Eval.fsproj
00:00:00 debug #1 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\Eval\Eval.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime linux-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\Eval")
00:00:00 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 > Determining projects to restore...
00:00:01 verbose #4 > Restored C:\home\git\polyglot\target\polyglot\builder\Eval\Eval.fsproj (in 414 ms).
00:00:01 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\Eval\Eval.fsproj]
00:00:16 verbose #6 > Eval -> C:\home\git\polyglot\target\polyglot\builder\Eval\bin\Release\net9.0\linux-x64\Eval.dll
00:00:18 verbose #7 > Eval -> C:\home\git\polyglot\apps\spiral\dist\
00:00:18 debug #8 execute_with_options_async / exit_code: 0 / output.Length: 667
00:00:18 debug #9 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\Eval\Eval.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\spiral\dist" --runtime win-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\Eval")
00:00:18 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:18 verbose #11 > Determining projects to restore...
00:00:19 verbose #12 > Restored C:\home\git\polyglot\target\polyglot\builder\Eval\Eval.fsproj (in 384 ms).
00:00:19 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\Eval\Eval.fsproj]
00:00:34 verbose #14 > Eval -> C:\home\git\polyglot\target\polyglot\builder\Eval\bin\Release\net9.0\win-x64\Eval.dll
00:00:37 verbose #15 > Eval -> C:\home\git\polyglot\apps\spiral\dist\
00:00:37 debug #16 execute_with_options_async / exit_code: 0 / output.Length: 665
In [ ]:
{ . ../lib/rust/fable/build.ps1 } | Invoke-Block -Location $ScriptDir
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\rust\fable / path: build.dib / _args: null ── pwsh ──────────────────────────────────────────────────────────────────────── . ../../../scripts/nbs_header.ps1 . ../../../scripts/core.ps1 ── pwsh ──────────────────────────────────────────────────────────────────────── dotnet fable --optimize --lang rs --extension .rs ╭─[ 763.10ms - stdout ]────────────────────────────────────────────────────────╮ │ Fable 4.17.0: F# to Rust compiler (status: alpha) │ │ │ │ Thanks to the contributor! @iyegoroff │ │ Stand with Ukraine! https://standwithukraine.com.ua/ │ │ │ │ Parsing fable-library-rust.fsproj... │ │ Retrieving project options from cache, in case of issues run `dotnet fable │ │ clean` or try `--noCache` option. │ │ Project and references (1 source files) parsed in 172ms │ │ │ │ Skipped compilation because all generated files are up-to-date! │ │ │ ╰──────────────────────────────────────────────────────────────────────────────╯ [NbConvertApp] Converting notebook build.dib.ipynb to html C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future. validate(nb) [NbConvertApp] Writing 272481 bytes to build.dib.html
In [ ]:
{ . ../apps/spiral/builder/build.ps1 } | Invoke-Block -Location $ScriptDir
00:00:00 debug #1 run_with_timeout_async / timeout: 500
00:00:00 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:01 debug #2 run_with_timeout_async / timeout: 100
00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:01 debug #4 run_with_timeout_async / timeout: 100
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 debug #5 run_with_timeout_async / timeout: 100
00:00:01 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:01 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:01 verbose #6 > Server bound to: http://localhost:13805
00:00:01 debug #7 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../../scripts/invoke-dib.ps1 builder.dib"", [||], None,
None, None)
00:00:02 verbose #8 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\spiral\builder / path: builder.dib / _args: null
00:00:04 verbose #9 >
00:00:04 verbose #10 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #11 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #12 > │ # builder │
00:00:04 verbose #13 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:04 verbose #14 >
00:00:04 verbose #15 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:04 verbose #16 > open file_system_operators
00:00:04 verbose #17 > open rust_operators
00:00:04 verbose #18 > open sm'_operators
00:00:04 verbose #19 >
00:00:04 verbose #20 > ── spiral - import ─────────────────────────────────────────────────────────────
00:00:04 verbose #21 > #r
00:00:04 verbose #22 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #23 > otNet.Interactive.Spiral.dll"
00:00:04 verbose #24 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:00:04 verbose #25 > #r
00:00:04 verbose #26 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #27 > otNet.Interactive.dll"
00:00:04 verbose #28 > open type Microsoft.DotNet.Interactive.Kernel
00:00:09 verbose #29 > 00:00:08 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dbd4e241eb2e3e9a3661143aea0c86fecd75762a2bbbb339087b494077d89a25/main.spi
00:00:11 verbose #30 >
00:00:11 verbose #31 > ╭─[ 7.01s - stdout ]───────────────────────────────────────────────────────────╮
00:00:11 verbose #32 > │ () │
00:00:11 verbose #33 > │ │
00:00:11 verbose #34 > │ │
00:00:11 verbose #35 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #36 >
00:00:11 verbose #37 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #38 > //// test
00:00:11 verbose #39 >
00:00:11 verbose #40 > open testing
00:00:11 verbose #41 > 00:00:10 debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c12ae2a75395e39b3def498de22659301f7a6ea52c622d4d10338cc3c8e9ec7c/main.spi
00:00:11 verbose #42 >
00:00:11 verbose #43 > ╭─[ 670.66ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 verbose #44 > │ () │
00:00:11 verbose #45 > │ │
00:00:11 verbose #46 > │ │
00:00:11 verbose #47 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #48 >
00:00:11 verbose #49 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 verbose #50 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 verbose #51 > │ ## types │
00:00:11 verbose #52 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #53 >
00:00:11 verbose #54 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #55 > inl types () =
00:00:11 verbose #56 > rust.types ()
00:00:11 verbose #57 > sm'.types ()
00:00:11 verbose #58 > file_system.types ()
00:00:11 verbose #59 > runtime.types ()
00:00:12 verbose #60 > 00:00:11 debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cb1c2c521658c57b4e078655393e1e29fbec6d3d03b197c765c8acdf7beb9479/main.spi
00:00:12 verbose #61 >
00:00:12 verbose #62 > ╭─[ 692.01ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 verbose #63 > │ () │
00:00:12 verbose #64 > │ │
00:00:12 verbose #65 > │ │
00:00:12 verbose #66 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #67 >
00:00:12 verbose #68 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 verbose #69 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 verbose #70 > │ ## get_args │
00:00:12 verbose #71 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #72 >
00:00:12 verbose #73 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 verbose #74 > inl get_args () =
00:00:12 verbose #75 > {
00:00:12 verbose #76 > file = "file"
00:00:12 verbose #77 > out_dir = "out-dir"
00:00:12 verbose #78 > hash = "hash"
00:00:12 verbose #79 > args = "args"
00:00:12 verbose #80 > }
00:00:13 verbose #81 > 00:00:12 debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/36d8f4dad096b7be7b896db70a938e80bfb6c245d0e6fddae06d88c1364b5d12/main.spi
00:00:13 verbose #82 >
00:00:13 verbose #83 > ╭─[ 678.94ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 verbose #84 > │ () │
00:00:13 verbose #85 > │ │
00:00:13 verbose #86 > │ │
00:00:13 verbose #87 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #88 >
00:00:13 verbose #89 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 verbose #90 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 verbose #91 > │ ## get_command │
00:00:13 verbose #92 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #93 >
00:00:13 verbose #94 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #95 > let get_command () =
00:00:13 verbose #96 > ##"command"
00:00:13 verbose #97 > |> runtime.new_command
00:00:13 verbose #98 > |> runtime.command_arg (
00:00:13 verbose #99 > runtime.new_arg ##(get_args () .file)
00:00:13 verbose #100 > |> runtime.arg_short 'f'
00:00:13 verbose #101 > |> runtime.arg_long ##(get_args () .file)
00:00:13 verbose #102 > |> runtime.arg_required true
00:00:13 verbose #103 > )
00:00:13 verbose #104 > |> runtime.command_arg (
00:00:13 verbose #105 > runtime.new_arg ##(get_args () .out_dir)
00:00:13 verbose #106 > |> runtime.arg_short 'o'
00:00:13 verbose #107 > |> runtime.arg_long ##(get_args () .out_dir)
00:00:13 verbose #108 > |> runtime.arg_required true
00:00:13 verbose #109 > )
00:00:13 verbose #110 > |> runtime.command_arg (
00:00:13 verbose #111 > runtime.new_arg ##(get_args () .hash)
00:00:13 verbose #112 > |> runtime.arg_short 'h'
00:00:13 verbose #113 > |> runtime.arg_long ##(get_args () .hash)
00:00:13 verbose #114 > |> runtime.arg_required true
00:00:13 verbose #115 > )
00:00:13 verbose #116 > |> runtime.command_arg (
00:00:13 verbose #117 > runtime.new_arg ##(get_args () .args)
00:00:13 verbose #118 > |> runtime.arg_short 'a'
00:00:13 verbose #119 > |> runtime.arg_long ##(get_args () .args)
00:00:13 verbose #120 > )
00:00:13 verbose #121 > 00:00:12 debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a9e0a241a3d18b960a9dfec6fc97bab5d5aa5fb03152b5f9c22fcc49d41e048e/main.spi
00:00:13 verbose #122 >
00:00:13 verbose #123 > ╭─[ 660.69ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 verbose #124 > │ () │
00:00:13 verbose #125 > │ │
00:00:13 verbose #126 > │ │
00:00:13 verbose #127 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #128 >
00:00:13 verbose #129 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #130 > let get_args_command () =
00:00:13 verbose #131 > ##"command"
00:00:13 verbose #132 > |> runtime.new_command
00:00:13 verbose #133 > |> runtime.command_subcommand_required true
00:00:13 verbose #134 > |> runtime.command_subcommand (
00:00:13 verbose #135 > ##"rust"
00:00:13 verbose #136 > |> runtime.new_command
00:00:13 verbose #137 > )
00:00:14 verbose #138 > 00:00:13 debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3fe97709dc073c926e2221316bd2d2fc36da2611aea1c6c9ad8d1404de796d2b/main.spi
00:00:14 verbose #139 >
00:00:14 verbose #140 > ╭─[ 635.73ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 verbose #141 > │ () │
00:00:14 verbose #142 > │ │
00:00:14 verbose #143 > │ │
00:00:14 verbose #144 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 verbose #145 >
00:00:14 verbose #146 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 verbose #147 > inl get_cargo_toml_content hash : string =
00:00:14 verbose #148 > $'$"""[[package]]\nname = \"{!hash}\"\nversion = "0.0.1"\nedition =
00:00:14 verbose #149 > "2021"\n\n[[workspace]]\n\n[[dependencies]]\nfable_library_rust = {{ path =
00:00:14 verbose #150 > \"fable_modules/fable-library-rust\", default-features = false, features =
00:00:14 verbose #151 > [[\"static_do_bindings\", \"datetime\", \"guid\", \"threaded\"]] }}\nclap =
00:00:14 verbose #152 > \"~4.5\"\ninline_colorization = \"~0.1\"\nregex = \"~1.10\"\nchrono =
00:00:14 verbose #153 > \"~0.4\"\nnum-complex = \"~0.4\"\npyo3 = \"~0.21\"\nasync-std =
00:00:14 verbose #154 > \"~1.12\"\nfutures = \"~0.3\"\nfutures-lite = \"~2.3\"\nasync-walkdir =
00:00:14 verbose #155 > \"~1.0\"\nrayon = \"~1.10\"\n\n[[[[bin]]]]\nname = \"{!hash}\"\npath =
00:00:14 verbose #156 > \"{!hash}.rs\" """'
00:00:15 verbose #157 > 00:00:14 debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a814e0ede8d04047f73c1326ac2faab639a514d3ab75280f795aed4692a71956/main.spi
00:00:15 verbose #158 >
00:00:15 verbose #159 > ╭─[ 665.46ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 verbose #160 > │ () │
00:00:15 verbose #161 > │ │
00:00:15 verbose #162 > │ │
00:00:15 verbose #163 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #164 >
00:00:15 verbose #165 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 verbose #166 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 verbose #167 > │ ## run │
00:00:15 verbose #168 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #169 >
00:00:15 verbose #170 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 verbose #171 > let run { file out_dir hash args }
00:00:15 verbose #172 > : async.future_pin (resultm.result' string sm'.std_string) =
00:00:15 verbose #173 >
00:00:15 verbose #174 > inl file = file |> file_system.get_full_path
00:00:15 verbose #175 > inl out_dir = out_dir |> file_system.get_full_path
00:00:15 verbose #176 >
00:00:15 verbose #177 > trace Debug
00:00:15 verbose #178 > fun () => $'"builder.run"'
00:00:15 verbose #179 > fun () => $'$"file: {!file} / out_dir: {!out_dir} / hash: {!hash}
00:00:15 verbose #180 > args: {!args} / {!_locals ()}"'
00:00:15 verbose #181 >
00:00:15 verbose #182 > fun () =>
00:00:15 verbose #183 > inl arg_matches =
00:00:15 verbose #184 > get_args_command ()
00:00:15 verbose #185 > |> runtime.command_get_matches_from ($'$"builder {!args}"' |>
00:00:15 verbose #186 > runtime.split_args)
00:00:15 verbose #187 >
00:00:15 verbose #188 > inl result =
00:00:15 verbose #189 > match arg_matches |> runtime.matches_subcommand |> optionm'.unbox
00:00:15 verbose #190 > with
00:00:15 verbose #191 > | Some (subcommand, arg_matches) =>
00:00:15 verbose #192 > trace Debug
00:00:15 verbose #193 > fun () => $'"builder.run"'
00:00:15 verbose #194 > fun () => $'$"subcommand: {!subcommand} / {!_locals ()}"'
00:00:15 verbose #195 >
00:00:15 verbose #196 > inl cargo_toml_content = hash |> get_cargo_toml_content
00:00:15 verbose #197 > cargo_toml_content
00:00:15 verbose #198 > | _ => ""
00:00:15 verbose #199 >
00:00:15 verbose #200 > trace Debug
00:00:15 verbose #201 > fun () => $'"builder.run"'
00:00:15 verbose #202 > fun () => $'$"result: {!result} / {!_locals ()}"'
00:00:15 verbose #203 >
00:00:15 verbose #204 > result |> Ok |> resultm.box
00:00:15 verbose #205 > |> async.future_init (3, 2) 1
00:00:15 verbose #206 > 00:00:14 debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c08b218aa22cd10e38c73311ded421f81777333c8b8df70bdf926dfb7ea080a8/main.spi
00:00:15 verbose #207 >
00:00:15 verbose #208 > ╭─[ 626.21ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 verbose #209 > │ () │
00:00:15 verbose #210 > │ │
00:00:15 verbose #211 > │ │
00:00:15 verbose #212 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #213 >
00:00:15 verbose #214 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 verbose #215 > //// test
00:00:15 verbose #216 > //// print_code=false
00:00:15 verbose #217 > //// trace=false
00:00:15 verbose #218 > ///! rust
00:00:15 verbose #219 >
00:00:15 verbose #220 > types ()
00:00:15 verbose #221 > run {
00:00:15 verbose #222 > file = "file"
00:00:15 verbose #223 > out_dir = "out_dir"
00:00:15 verbose #224 > hash = "hash"
00:00:15 verbose #225 > args = "rust"
00:00:15 verbose #226 > }
00:00:15 verbose #227 > |> async.block_on
00:00:15 verbose #228 > |> resultm.unwrap'
00:00:15 verbose #229 > |> _assert_eq (
00:00:15 verbose #230 > "hash"
00:00:15 verbose #231 > |> get_cargo_toml_content
00:00:15 verbose #232 > )
00:00:16 verbose #233 > 00:00:15 debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c5151274a0acc558f8eb901cdf0d110414e62eff71a6e0c3c620ac8616b684fb/main.spi
00:00:39 verbose #234 >
00:00:39 verbose #235 > ╭─[ 23.61s - return value ]────────────────────────────────────────────────────╮
00:00:39 verbose #236 > │ 02:25:28 debug #1 builder.run / file: │
00:00:39 verbose #237 > │ C:\home\git\polyglot\apps\spiral\builder\file / out_dir: │
00:00:39 verbose #238 > │ C:\home\git\polyglot\apps\spiral\builder\out_dir / hash: hash / args: rust │
00:00:39 verbose #239 > │ 02:25:28 debug #2 builder.run / subcommand: rust │
00:00:39 verbose #240 > │ 02:25:28 debug #3 builder.run / result: [package] │
00:00:39 verbose #241 > │ name = "hash" │
00:00:39 verbose #242 > │ version = "0.0.1" │
00:00:39 verbose #243 > │ edition = "2021" │
00:00:39 verbose #244 > │ │
00:00:39 verbose #245 > │ [workspace] │
00:00:39 verbose #246 > │ │
00:00:39 verbose #247 > │ [dependencies] │
00:00:39 verbose #248 > │ fable_library_rust = { path = "fable_modules/fable-library-rust", │
00:00:39 verbose #249 > │ default-features = false, features = ["static_do_bindings", "datetime", │
00:00:39 verbose #250 > │ "guid", "threaded"] } │
00:00:39 verbose #251 > │ clap = "~4.5" │
00:00:39 verbose #252 > │ inline_colorization = "~0.1" │
00:00:39 verbose #253 > │ regex = "~1.10" │
00:00:39 verbose #254 > │ chrono = "~0.4" │
00:00:39 verbose #255 > │ num-complex = "~0.4" │
00:00:39 verbose #256 > │ pyo3 = "~0.21" │
00:00:39 verbose #257 > │ async-std = "~1.12" │
00:00:39 verbose #258 > │ futures = "~0.3" │
00:00:39 verbose #259 > │ futures-lite = "~2.3" │
00:00:39 verbose #260 > │ async-walkdir = "~1.0" │
00:00:39 verbose #261 > │ rayon = "~1.10... │
00:00:39 verbose #262 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #263 >
00:00:39 verbose #264 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #265 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #266 > │ ## tests │
00:00:39 verbose #267 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #268 >
00:00:39 verbose #269 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:39 verbose #270 > inl tests () =
00:00:39 verbose #271 > rust.run_tests [[
00:00:39 verbose #272 > "verify_app", fun _ =>
00:00:39 verbose #273 > get_command () |> runtime.command_debug_assert
00:00:39 verbose #274 > ]]
00:00:40 verbose #275 > 00:00:39 debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bd17d6855310cb1e98dde89fa14e57cfe1a26e7e2f5cf340fa8095b35c9968d1/main.spi
00:00:40 verbose #276 >
00:00:40 verbose #277 > ╭─[ 660.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:40 verbose #278 > │ () │
00:00:40 verbose #279 > │ │
00:00:40 verbose #280 > │ │
00:00:40 verbose #281 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #282 >
00:00:40 verbose #283 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #284 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #285 > │ ## main │
00:00:40 verbose #286 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #287 >
00:00:40 verbose #288 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:40 verbose #289 > ///!
00:00:40 verbose #290 >
00:00:40 verbose #291 > inl main (args : array_base string) =
00:00:40 verbose #292 > inl trace_state = get_trace_state ()
00:00:40 verbose #293 > inl trace_level = trace_state.level
00:00:40 verbose #294 > trace_level <- Info
00:00:40 verbose #295 >
00:00:40 verbose #296 > trace Debug
00:00:40 verbose #297 > fun () => $'$"builder.main"'
00:00:40 verbose #298 > fun () => $'$"args: {!args} / {!_locals ()}"'
00:00:40 verbose #299 >
00:00:40 verbose #300 > inl command = get_command ()
00:00:40 verbose #301 > inl arg_matches = command |> runtime.command_get_matches
00:00:40 verbose #302 >
00:00:40 verbose #303 > inl file =
00:00:40 verbose #304 > arg_matches
00:00:40 verbose #305 > |> runtime.matches_get_one (get_args () .file)
00:00:40 verbose #306 > |> optionm'.unbox
00:00:40 verbose #307 > |> optionm.value
00:00:40 verbose #308 > |> sm'.from_std_string
00:00:40 verbose #309 >
00:00:40 verbose #310 > inl out_dir =
00:00:40 verbose #311 > arg_matches
00:00:40 verbose #312 > |> runtime.matches_get_one (get_args () .out_dir)
00:00:40 verbose #313 > |> optionm'.unbox
00:00:40 verbose #314 > |> optionm.value
00:00:40 verbose #315 > |> sm'.from_std_string
00:00:40 verbose #316 >
00:00:40 verbose #317 > inl hash =
00:00:40 verbose #318 > arg_matches
00:00:40 verbose #319 > |> runtime.matches_get_one (get_args () .hash)
00:00:40 verbose #320 > |> optionm'.unbox
00:00:40 verbose #321 > |> optionm.value
00:00:40 verbose #322 > |> sm'.from_std_string
00:00:40 verbose #323 >
00:00:40 verbose #324 > inl args =
00:00:40 verbose #325 > arg_matches
00:00:40 verbose #326 > |> runtime.matches_get_one (get_args () .args)
00:00:40 verbose #327 > |> optionm'.unbox
00:00:40 verbose #328 > |> optionm.map sm'.from_std_string
00:00:40 verbose #329 > |> optionm'.default_value ""
00:00:40 verbose #330 >
00:00:40 verbose #331 > inl result =
00:00:40 verbose #332 > run { file out_dir hash args }
00:00:40 verbose #333 > |> async.block_on
00:00:40 verbose #334 > |> resultm.unwrap'
00:00:40 verbose #335 >
00:00:40 verbose #336 > if *trace_level = Info
00:00:40 verbose #337 > then result |> console.write_line
00:00:40 verbose #338 >
00:00:40 verbose #339 > 0i32
00:00:40 verbose #340 >
00:00:40 verbose #341 > inl main () =
00:00:40 verbose #342 > types ()
00:00:40 verbose #343 > $"let tests () = !tests ()" : ()
00:00:40 verbose #344 > $"let main args = !main args" : ()
00:00:40 verbose #345 > 00:00:39 debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4952291cbf3b18fc202db2c647d9fe98e8a1f3f5af4ecc439b2ca669590f069d/main.spi
00:00:40 verbose #346 >
00:00:40 verbose #347 > ╭─[ 717.09ms - stdout ]────────────────────────────────────────────────────────╮
00:00:40 verbose #348 > │ .fsx: │
00:00:40 verbose #349 > │ #if FABLE_COMPILER │
00:00:40 verbose #350 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:00:40 verbose #351 > │ #endif │
00:00:40 verbose #352 > │ type Func0<'T> = class end │
00:00:40 verbose #353 > │ #if FABLE_COMPILER │
00:00:40 verbose #354 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:00:40 verbose #355 > │ #endif │
00:00:40 verbose #356 > │ type Func0<'T, 'U> = class end │
00:00:40 verbose #357 > │ #if FABLE_COMPILER │
00:00:40 verbose #358 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:00:40 verbose #359 > │ #endif │
00:00:40 verbose #360 > │ type Box<'T> = class end │
00:00:40 verbose #361 > │ #if FABLE_COMPILER │
00:00:40 verbose #362 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:00:40 verbose #363 > │ #endif │
00:00:40 verbose #364 > │ type Dyn<'T> = class end │
00:00:40 verbose #365 > │ #if FABLE_COMPILER │
00:00:40 verbose #366 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:00:40 verbose #367 > │ #endif │
00:00:40 verbose #368 > │ type Send<'T> = class end │
00:00:40 verbose #369 > │ #if FABLE_COMPILER │
00:00:40 verbose #370 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:00:40 verbose #371 > │ #endif │
00:00:40 verbose #372 > │ type Fn<'T> = class end │
00:00:40 verbose #373 > │ #if FABLE_COMPILER │
00:00:40 verbose #374 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:00:40 verbose #375 > │ #endif │
00:00:40 verbose #376 > │ type FnUnit = class end │
00:00:40 verbose #377 > │ #if FABLE_COMPILER │
00:00:40 verbose #378 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:00:40 verbose #379 > │ #endif │
00:00:40 verbose #380 > │ type FnOnce<'T> = class end │
00:00:40 verbose #381 > │ #if FABLE_COMPILER │
00:00:40 verbose #382 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:00:40 verbose #383 > │ #endif │
00:00:40 verbose #384 > │ type ActionFn<'T> = class end │
00:00:40 verbose #385 > │ #if FABLE_COMPILER │
00:00:40 verbose #386 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:00:40 verbose #387 > │ #endif │
00:00:40 verbose #388 > │ type ActionFn2<'T, 'U> = class end │
00:00:40 verbose #389 > │ #if FABLE_COMPILER │
00:00:40 verbose #390 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:00:40 verbose #391 > │ #endif │
00:00:40 verbose #392 > │ type Impl<'T> = class end │
00:00:40 verbose #393 > │ #if FABLE_COMPILER │
00:00:40 verbose #394 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:00:40 verbose #395 > │ #endif │
00:00:40 verbose #396 > │ type Mut<'T> = class end │
00:00:40 verbose #397 > │ #if FABLE_COMPILER │
00:00:40 verbose #398 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:00:40 verbose #399 > │ #endif │
00:00:40 verbose #400 > │ type Ref<'T> = class end │
00:00:40 verbose #401 > │ #if FABLE_COMPILER │
00:00:40 verbose #402 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:00:40 verbose #403 > │ #endif │
00:00:40 verbose #404 > │ type StaticRef<'T> = class end │
00:00:40 verbose #405 > │ #if FABLE_COMPILER │
00:00:40 verbose #406 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:00:40 verbose #407 > │ #endif │
00:00:40 verbose #408 > │ type MutCell<'T> = class end │
00:00:40 verbose #409 > │ #if FABLE_COMPILER │
00:00:40 verbose #410 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:00:40 verbose #411 > │ #endif │
00:00:40 verbose #412 > │ type std_any_Any = class end │
00:00:40 verbose #413 > │ #if FABLE_COMPILER │
00:00:40 verbose #414 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:00:40 verbose #415 > │ #endif │
00:00:40 verbose #416 > │ type std_borrow_Cow<'T> = class end │
00:00:40 verbose #417 > │ #if FABLE_COMPILER │
00:00:40 verbose #418 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:00:40 verbose #419 > │ #endif │
00:00:40 verbose #420 > │ type std_cell_RefCell<'T> = class end │
00:00:40 verbose #421 > │ #if FABLE_COMPILER │
00:00:40 verbose #422 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:00:40 verbose #423 > │ #endif │
00:00:40 verbose #424 > │ type std_pin_Pin<'T> = class end │
00:00:40 verbose #425 > │ #if FABLE_COMPILER │
00:00:40 verbose #426 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:00:40 verbose #427 > │ #endif │
00:00:40 verbose #428 > │ type std_rc_Rc<'T> = class end │
00:00:40 verbose #429 > │ #if FABLE_COMPILER │
00:00:40 verbose #430 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:00:40 verbose #431 > │ #endif │
00:00:40 verbose #432 > │ type std_rc_Weak<'T> = class end │
00:00:40 verbose #433 > │ #if FABLE_COMPILER │
00:00:40 verbose #434 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:00:40 verbose #435 > │ #endif │
00:00:40 verbose #436 > │ type Str = class end │
00:00:40 verbose #437 > │ #if FABLE_COMPILER │
00:00:40 verbose #438 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:00:40 verbose #439 > │ #endif │
00:00:41 verbose #440 > │ type base64_DecodeError = class end │
00:00:41 verbose #441 > │ #if FABLE_COMPILER │
00:00:41 verbose #442 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:00:41 verbose #443 > │ #endif │
00:00:41 verbose #444 > │ type borsh_io_Error = class end │
00:00:41 verbose #445 > │ #if FABLE_COMPILER │
00:00:41 verbose #446 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:00:41 verbose #447 > │ #endif │
00:00:41 verbose #448 > │ type js_sys_JsString = class end │
00:00:41 verbose #449 > │ #if FABLE_COMPILER │
00:00:41 verbose #450 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:00:41 verbose #451 > │ #endif │
00:00:41 verbose #452 > │ type serde_json_Error = class end │
00:00:41 verbose #453 > │ #if FABLE_COMPILER │
00:00:41 verbose #454 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:00:41 verbose #455 > │ #endif │
00:00:41 verbose #456 > │ type serde_json_Value = class end │
00:00:41 verbose #457 > │ #if FABLE_COMPILER │
00:00:41 verbose #458 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:00:41 verbose #459 > │ #endif │
00:00:41 verbose #460 > │ type serde_wasm_bindgen_Error = class end │
00:00:41 verbose #461 > │ #if FABLE_COMPILER │
00:00:41 verbose #462 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:00:41 verbose #463 > │ #endif │
00:00:41 verbose #464 > │ type std_ffi_OsStr = class end │
00:00:41 verbose #465 > │ #if FABLE_COMPILER │
00:00:41 verbose #466 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:00:41 verbose #467 > │ #endif │
00:00:41 verbose #468 > │ type std_ffi_OsString = class end │
00:00:41 verbose #469 > │ #if FABLE_COMPILER │
00:00:41 verbose #470 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:00:41 verbose #471 > │ #endif │
00:00:41 verbose #472 > │ type std_fmt_Display<'T> = class end │
00:00:41 verbose #473 > │ #if FABLE_COMPILER │
00:00:41 verbose #474 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:00:41 verbose #475 > │ #endif │
00:00:41 verbose #476 > │ type std_str_Utf8Error = class end │
00:00:41 verbose #477 > │ #if FABLE_COMPILER │
00:00:41 verbose #478 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:00:41 verbose #479 > │ #endif │
00:00:41 verbose #480 > │ type std_string_FromUtf8Error = class end │
00:00:41 verbose #481 > │ #if FABLE_COMPILER │
00:00:41 verbose #482 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:00:41 verbose #483 > │ #endif │
00:00:41 verbose #484 > │ type std_string_String = class end │
00:00:41 verbose #485 > │ #if FABLE_COMPILER │
00:00:41 verbose #486 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:00:41 verbose #487 > │ #endif │
00:00:41 verbose #488 > │ type std_slice_Windows<'T> = class end │
00:00:41 verbose #489 > │ #if FABLE_COMPILER │
00:00:41 verbose #490 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:00:41 verbose #491 > │ #endif │
00:00:41 verbose #492 > │ type chrono_DateTime<'T> = class end │
00:00:41 verbose #493 > │ #if FABLE_COMPILER │
00:00:41 verbose #494 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:00:41 verbose #495 > │ #endif │
00:00:41 verbose #496 > │ type chrono_Local = class end │
00:00:41 verbose #497 > │ #if FABLE_COMPILER │
00:00:41 verbose #498 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:00:41 verbose #499 > │ #endif │
00:00:41 verbose #500 > │ type chrono_NaiveDateTime = class end │
00:00:41 verbose #501 > │ #if FABLE_COMPILER │
00:00:41 verbose #502 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:00:41 verbose #503 > │ #endif │
00:00:41 verbose #504 > │ type chrono_Utc = class end │
00:00:41 verbose #505 > │ #if FABLE_COMPILER │
00:00:41 verbose #506 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:00:41 verbose #507 > │ #endif │
00:00:41 verbose #508 > │ type std_time_Duration = class end │
00:00:41 verbose #509 > │ #if FABLE_COMPILER │
00:00:41 verbose #510 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:00:41 verbose #511 > │ #endif │
00:00:41 verbose #512 > │ type async_std_io_BufReader<'T> = class end │
00:00:41 verbose #513 > │ #if FABLE_COMPILER │
00:00:41 verbose #514 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:00:41 verbose #515 > │ #endif │
00:00:41 verbose #516 > │ type std_io_BufReader<'T> = class end │
00:00:41 verbose #517 > │ #if FABLE_COMPILER │
00:00:41 verbose #518 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:00:41 verbose #519 > │ #endif │
00:00:41 verbose #520 > │ type std_io_Error = class end │
00:00:41 verbose #521 > │ #if FABLE_COMPILER │
00:00:41 verbose #522 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:00:41 verbose #523 > │ #endif │
00:00:41 verbose #524 > │ type std_io_Lines<'T> = class end │
00:00:41 verbose #525 > │ #if FABLE_COMPILER │
00:00:41 verbose #526 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:00:41 verbose #527 > │ #endif │
00:00:41 verbose #528 > │ type std_fs_File = class end │
00:00:41 verbose #529 > │ #if FABLE_COMPILER │
00:00:41 verbose #530 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:00:41 verbose #531 > │ #endif │
00:00:41 verbose #532 > │ type std_fs_FileType = class end │
00:00:41 verbose #533 > │ #if FABLE_COMPILER │
00:00:41 verbose #534 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:00:41 verbose #535 > │ #endif │
00:00:41 verbose #536 > │ type std_path_Display = class end │
00:00:41 verbose #537 > │ #if FABLE_COMPILER │
00:00:41 verbose #538 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:00:41 verbose #539 > │ #endif │
00:00:41 verbose #540 > │ type std_path_Path = class end │
00:00:41 verbose #541 > │ #if FABLE_COMPILER │
00:00:41 verbose #542 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:00:41 verbose #543 > │ #endif │
00:00:41 verbose #544 > │ type std_path_PathBuf = class end │
00:00:41 verbose #545 > │ #if FABLE_COMPILER │
00:00:41 verbose #546 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:00:41 verbose #547 > │ #endif │
00:00:41 verbose #548 > │ type async_walkdir_DirEntry = class end │
00:00:41 verbose #549 > │ #if FABLE_COMPILER │
00:00:41 verbose #550 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:00:41 verbose #551 > │ #endif │
00:00:41 verbose #552 > │ type async_walkdir_Filtering = class end │
00:00:41 verbose #553 > │ #if FABLE_COMPILER │
00:00:41 verbose #554 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:00:41 verbose #555 > │ #endif │
00:00:41 verbose #556 > │ type async_walkdir_WalkDir = class end │
00:00:41 verbose #557 > │ #if FABLE_COMPILER │
00:00:41 verbose #558 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0]")>] │
00:00:41 verbose #559 > │ #endif │
00:00:41 verbose #560 > │ type Slice<'T> = class end │
00:00:41 verbose #561 > │ #if FABLE_COMPILER │
00:00:41 verbose #562 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0; $1]")>] │
00:00:41 verbose #563 > │ #endif │
00:00:41 verbose #564 > │ type Slice'<'T, 'U> = class end │
00:00:41 verbose #565 > │ #if FABLE_COMPILER │
00:00:41 verbose #566 > │ [<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>] │
00:00:41 verbose #567 > │ #endif │
00:00:41 verbose #568 > │ type Vec<'T> = class end │
00:00:41 verbose #569 > │ #if FABLE_COMPILER │
00:00:41 verbose #570 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>] │
00:00:41 verbose #571 > │ #endif │
00:00:41 verbose #572 > │ type std_future_Future<'T> = class end │
00:00:41 verbose #573 > │ #if FABLE_COMPILER │
00:00:41 verbose #574 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>] │
00:00:41 verbose #575 > │ #endif │
00:00:41 verbose #576 > │ type futures_future_TryJoinAll<'T> = class end │
00:00:41 verbose #577 > │ #if FABLE_COMPILER │
00:00:41 verbose #578 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>] │
00:00:41 verbose #579 > │ #endif │
00:00:41 verbose #580 > │ type rayon_vec_IntoIter<'T> = class end │
00:00:41 verbose #581 > │ #if FABLE_COMPILER │
00:00:41 verbose #582 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>] │
00:00:41 verbose #583 > │ #endif │
00:00:41 verbose #584 > │ type rayon_iter_Map<'T> = class end │
00:00:41 verbose #585 > │ #if FABLE_COMPILER │
00:00:41 verbose #586 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>] │
00:00:41 verbose #587 > │ #endif │
00:00:41 verbose #588 > │ type futures_lite_stream_StreamExt = class end │
00:00:41 verbose #589 > │ #if FABLE_COMPILER │
00:00:41 verbose #590 > │ [<Fable.Core.Erase; Fable.Core.Emit("core::iter::Fuse<$0>")>] │
00:00:41 verbose #591 > │ #endif │
00:00:41 verbose #592 > │ type core_iter_Fuse<'T> = class end │
00:00:41 verbose #593 > │ #if FABLE_COMPILER │
00:00:41 verbose #594 > │ [<Fable.Core.Erase; Fable.Core.Emit("std:🧵:JoinHandle<$0>")>] │
00:00:41 verbose #595 > │ #endif │
00:00:41 verbose #596 > │ type std_thread_JoinHandle<'T> = class end │
00:00:41 verbose #597 > │ #if FABLE_COMPILER │
00:00:41 verbose #598 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>] │
00:00:41 verbose #599 > │ #endif │
00:00:41 verbose #600 > │ type std_sync_Arc<'T> = class end │
00:00:41 verbose #601 > │ #if FABLE_COMPILER │
00:00:41 verbose #602 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>] │
00:00:41 verbose #603 > │ #endif │
00:00:41 verbose #604 > │ type std_sync_Mutex<'T> = class end │
00:00:41 verbose #605 > │ #if FABLE_COMPILER │
00:00:41 verbose #606 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>] │
00:00:41 verbose #607 > │ #endif │
00:00:41 verbose #608 > │ type std_sync_MutexGuard<'T> = class end │
00:00:41 verbose #609 > │ #if FABLE_COMPILER │
00:00:41 verbose #610 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>] │
00:00:41 verbose #611 > │ #endif │
00:00:41 verbose #612 > │ type std_sync_PoisonError<'T> = class end │
00:00:41 verbose #613 > │ #if FABLE_COMPILER │
00:00:41 verbose #614 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Arg")>] │
00:00:41 verbose #615 > │ #endif │
00:00:41 verbose #616 > │ type clap_Arg = class end │
00:00:41 verbose #617 > │ #if FABLE_COMPILER │
00:00:41 verbose #618 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Command")>] │
00:00:41 verbose #619 > │ #endif │
00:00:41 verbose #620 > │ type clap_Command = class end │
00:00:41 verbose #621 > │ #if FABLE_COMPILER │
00:00:41 verbose #622 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::ArgMatches")>] │
00:00:41 verbose #623 > │ #endif │
00:00:41 verbose #624 > │ type clap_ArgMatches = class end │
00:00:41 verbose #625 > │ #if FABLE_COMPILER │
00:00:41 verbose #626 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Child")>] │
00:00:41 verbose #627 > │ #endif │
00:00:41 verbose #628 > │ type std_process_Child = class end │
00:00:41 verbose #629 > │ #if FABLE_COMPILER │
00:00:41 verbose #630 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStderr")>] │
00:00:41 verbose #631 > │ #endif │
00:00:41 verbose #632 > │ type std_process_ChildStderr = class end │
00:00:41 verbose #633 > │ #if FABLE_COMPILER │
00:00:41 verbose #634 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdout")>] │
00:00:41 verbose #635 > │ #endif │
00:00:41 verbose #636 > │ type std_process_ChildStdout = class end │
00:00:41 verbose #637 > │ #if FABLE_COMPILER │
00:00:41 verbose #638 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdin")>] │
00:00:41 verbose #639 > │ #endif │
00:00:41 verbose #640 > │ type std_process_ChildStdin = class end │
00:00:41 verbose #641 > │ #if FABLE_COMPILER │
00:00:41 verbose #642 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Command")>] │
00:00:41 verbose #643 > │ #endif │
00:00:41 verbose #644 > │ type std_process_Command = class end │
00:00:41 verbose #645 > │ #if FABLE_COMPILER │
00:00:41 verbose #646 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Output")>] │
00:00:41 verbose #647 > │ #endif │
00:00:41 verbose #648 > │ type std_process_Output = class end │
00:00:41 verbose #649 > │ #if FABLE_COMPILER │
00:00:41 verbose #650 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Stdio")>] │
00:00:41 verbose #651 > │ #endif │
00:00:41 verbose #652 > │ type std_process_Stdio = class end │
00:00:41 verbose #653 > │ #if FABLE_COMPILER │
00:00:41 verbose #654 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Receiver<$0>")>] │
00:00:41 verbose #655 > │ #endif │
00:00:41 verbose #656 > │ type std_sync_mpsc_Receiver<'T> = class end │
00:00:41 verbose #657 > │ #if FABLE_COMPILER │
00:00:41 verbose #658 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Sender<$0>")>] │
00:00:41 verbose #659 > │ #endif │
00:00:41 verbose #660 > │ type std_sync_mpsc_Sender<'T> = class end │
00:00:41 verbose #661 > │ module State = let mutable trace_state = None │
00:00:41 verbose #662 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:00:41 verbose #663 > │ string │
00:00:41 verbose #664 > │ type Mut0 = {mutable l0 : int64} │
00:00:41 verbose #665 > │ and Mut1 = {mutable l0 : bool} │
00:00:41 verbose #666 > │ and [<Struct>] US0 = │
00:00:41 verbose #667 > │ | US0_0 │
00:00:41 verbose #668 > │ | US0_1 │
00:00:41 verbose #669 > │ | US0_2 │
00:00:41 verbose #670 > │ | US0_3 │
00:00:41 verbose #671 > │ | US0_4 │
00:00:41 verbose #672 > │ and Mut2 = {mutable l0 : US0} │
00:00:41 verbose #673 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:00:41 verbose #674 > │ and [<Struct>] US1 = │
00:00:41 verbose #675 > │ | US1_0 of f0_0 : int64 │
00:00:41 verbose #676 > │ | US1_1 │
00:00:41 verbose #677 > │ and [<Struct>] US2 = │
00:00:41 verbose #678 > │ | US2_0 of f0_0 : int64 │
00:00:41 verbose #679 > │ | US2_1 │
00:00:41 verbose #680 > │ and [<Struct>] US3 = │
00:00:41 verbose #681 > │ | US3_0 of f0_0 : std_string_String │
00:00:41 verbose #682 > │ | US3_1 │
00:00:41 verbose #683 > │ and [<Struct>] US4 = │
00:00:41 verbose #684 > │ | US4_0 of f0_0 : string │
00:00:41 verbose #685 > │ | US4_1 │
00:00:41 verbose #686 > │ and Mut4 = {mutable l0 : int32; mutable l1 : int32; mutable l2 : (string [ │
00:00:41 verbose #687 > │ ])} │
00:00:41 verbose #688 > │ and Mut5 = {mutable l0 : int32} │
00:00:41 verbose #689 > │ and UH0 = │
00:00:41 verbose #690 > │ | UH0_0 │
00:00:41 verbose #691 > │ | UH0_1 of string * UH0 │
00:00:41 verbose #692 > │ and UH1 = │
00:00:41 verbose #693 > │ | UH1_0 │
00:00:41 verbose #694 > │ | UH1_1 of char * UH1 │
00:00:41 verbose #695 > │ and [<Struct>] US5 = │
00:00:41 verbose #696 > │ | US5_0 │
00:00:41 verbose #697 > │ | US5_1 of f1_0 : char │
00:00:41 verbose #698 > │ | US5_2 of f2_0 : uint8 │
00:00:41 verbose #699 > │ and [<Struct>] US6 = │
00:00:41 verbose #700 > │ | US6_0 of f0_0 : std_string_String * f0_1 : clap_ArgMatches │
00:00:41 verbose #701 > │ | US6_1 │
00:00:41 verbose #702 > │ let rec method0 () : clap_Command = │
00:00:41 verbose #703 > │ let v0 : string = "command" │
00:00:41 verbose #704 > │ let v1 : string = "r#\"" + v0 + "\"#" │
00:00:41 verbose #705 > │ let v2 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v1 │
00:00:41 verbose #706 > │ let v3 : string = "clap::Command::new($0)" │
00:00:41 verbose #707 > │ let v4 : clap_Command = Fable.Core.RustInterop.emitRustExpr v2 v3 │
00:00:41 verbose #708 > │ let v5 : string = "file" │
00:00:41 verbose #709 > │ let v6 : string = "r#\"" + v5 + "\"#" │
00:00:41 verbose #710 > │ let v7 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v6 │
00:00:41 verbose #711 > │ let v8 : string = "clap::Arg::new($0)" │
00:00:41 verbose #712 > │ let v9 : clap_Arg = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:00:41 verbose #713 > │ let v10 : string = "$0.short($1)" │
00:00:41 verbose #714 > │ let v11 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v9, │
00:00:41 verbose #715 > │ 'f') v10 │
00:00:41 verbose #716 > │ let v12 : string = "r#\"" + v5 + "\"#" │
00:00:41 verbose #717 > │ let v13 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v12 │
00:00:41 verbose #718 > │ let v14 : string = "$0.long($1)" │
00:00:41 verbose #719 > │ let v15 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v11, │
00:00:41 verbose #720 > │ v13) v14 │
00:00:41 verbose #721 > │ let v16 : string = "$0.required($1)" │
00:00:41 verbose #722 > │ let v17 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v15, │
00:00:41 verbose #723 > │ true) v16 │
00:00:41 verbose #724 > │ let v18 : string = "clap::Command::arg($0, $1)" │
00:00:41 verbose #725 > │ let v19 : clap_Command = Fable.Core.RustInterop.emitRustExpr struct (v4, │
00:00:41 verbose #726 > │ v17) v18 │
00:00:41 verbose #727 > │ let v20 : string = "out-dir" │
00:00:41 verbose #728 > │ let v21 : string = "r#\"" + v20 + "\"#" │
00:00:41 verbose #729 > │ let v22 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v21 │
00:00:41 verbose #730 > │ let v23 : string = "clap::Arg::new($0)" │
00:00:41 verbose #731 > │ let v24 : clap_Arg = Fable.Core.RustInterop.emitRustExpr v22 v23 │
00:00:41 verbose #732 > │ let v25 : string = "$0.short($1)" │
00:00:41 verbose #733 > │ let v26 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v24, │
00:00:41 verbose #734 > │ 'o') v25 │
00:00:41 verbose #735 > │ let v27 : string = "r#\"" + v20 + "\"#" │
00:00:41 verbose #736 > │ let v28 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v27 │
00:00:41 verbose #737 > │ let v29 : string = "$0.long($1)" │
00:00:41 verbose #738 > │ let v30 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v26, │
00:00:41 verbose #739 > │ v28) v29 │
00:00:41 verbose #740 > │ let v31 : string = "$0.required($1)" │
00:00:41 verbose #741 > │ let v32 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v30, │
00:00:41 verbose #742 > │ true) v31 │
00:00:41 verbose #743 > │ let v33 : string = "clap::Command::arg($0, $1)" │
00:00:41 verbose #744 > │ let v34 : clap_Command = Fable.Core.RustInterop.emitRustExpr struct │
00:00:41 verbose #745 > │ (v19, v32) v33 │
00:00:41 verbose #746 > │ let v35 : string = "hash" │
00:00:41 verbose #747 > │ let v36 : string = "r#\"" + v35 + "\"#" │
00:00:41 verbose #748 > │ let v37 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v36 │
00:00:41 verbose #749 > │ let v38 : string = "clap::Arg::new($0)" │
00:00:41 verbose #750 > │ let v39 : clap_Arg = Fable.Core.RustInterop.emitRustExpr v37 v38 │
00:00:41 verbose #751 > │ let v40 : string = "$0.short($1)" │
00:00:41 verbose #752 > │ let v41 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v39, │
00:00:41 verbose #753 > │ 'h') v40 │
00:00:41 verbose #754 > │ let v42 : string = "r#\"" + v35 + "\"#" │
00:00:41 verbose #755 > │ let v43 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v42 │
00:00:41 verbose #756 > │ let v44 : string = "$0.long($1)" │
00:00:41 verbose #757 > │ let v45 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v41, │
00:00:41 verbose #758 > │ v43) v44 │
00:00:41 verbose #759 > │ let v46 : string = "$0.required($1)" │
00:00:41 verbose #760 > │ let v47 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v45, │
00:00:41 verbose #761 > │ true) v46 │
00:00:41 verbose #762 > │ let v48 : string = "clap::Command::arg($0, $1)" │
00:00:41 verbose #763 > │ let v49 : clap_Command = Fable.Core.RustInterop.emitRustExpr struct │
00:00:41 verbose #764 > │ (v34, v47) v48 │
00:00:41 verbose #765 > │ let v50 : string = "args" │
00:00:41 verbose #766 > │ let v51 : string = "r#\"" + v50 + "\"#" │
00:00:41 verbose #767 > │ let v52 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v51 │
00:00:41 verbose #768 > │ let v53 : string = "clap::Arg::new($0)" │
00:00:41 verbose #769 > │ let v54 : clap_Arg = Fable.Core.RustInterop.emitRustExpr v52 v53 │
00:00:41 verbose #770 > │ let v55 : string = "$0.short($1)" │
00:00:41 verbose #771 > │ let v56 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v54, │
00:00:41 verbose #772 > │ 'a') v55 │
00:00:41 verbose #773 > │ let v57 : string = "r#\"" + v50 + "\"#" │
00:00:41 verbose #774 > │ let v58 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v57 │
00:00:41 verbose #775 > │ let v59 : string = "$0.long($1)" │
00:00:41 verbose #776 > │ let v60 : clap_Arg = Fable.Core.RustInterop.emitRustExpr struct (v56, │
00:00:41 verbose #777 > │ v58) v59 │
00:00:41 verbose #778 > │ let v61 : string = "clap::Command::arg($0, $1)" │
00:00:41 verbose #779 > │ let v62 : clap_Command = Fable.Core.RustInterop.emitRustExpr struct │
00:00:41 verbose #780 > │ (v49, v60) v61 │
00:00:41 verbose #781 > │ v62 │
00:00:41 verbose #782 > │ and closure0 () () : unit = │
00:00:41 verbose #783 > │ let v0 : string = "true; () //" │
00:00:41 verbose #784 > │ let v1 : bool = Fable.Core.RustInterop.emitRustExpr () v0 │
00:00:41 verbose #785 > │ let v2 : string = "} /* /*" │
00:00:41 verbose #786 > │ Fable.Core.RustInterop.emitRustExpr () v2 │
00:00:41 verbose #787 > │ let v3 : string = "verify_app" │
00:00:41 verbose #788 > │ let v4 : string = $"*/ #[test] fn " + v3 + "() { //" │
00:00:41 verbose #789 > │ let v5 : bool = Fable.Core.RustInterop.emitRustExpr () v4 │
00:00:41 verbose #790 > │ let v6 : clap_Command = method0() │
00:00:41 verbose #791 > │ let v7 : string = "clap::Command::debug_assert($0)" │
00:00:41 verbose #792 > │ Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:00:41 verbose #793 > │ let v8 : string = "{ //" │
00:00:41 verbose #794 > │ Fable.Core.RustInterop.emitRustExpr () v8 │
00:00:41 verbose #795 > │ () │
00:00:41 verbose #796 > │ and closure3 () (v0 : string) : unit = │
00:00:41 verbose #797 > │ () │
00:00:41 verbose #798 > │ and method1 (v0 : int64 option) : int64 option = │
00:00:41 verbose #799 > │ v0 │
00:00:41 verbose #800 > │ and method2 (v0 : int64 option) : int64 option = │
00:00:41 verbose #801 > │ v0 │
00:00:41 verbose #802 > │ and closure2 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:00:41 verbose #803 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:00:41 verbose #804 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:00:41 verbose #805 > │ let v2 : US0 = US0_0 │
00:00:41 verbose #806 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:00:41 verbose #807 > │ let v4 : (string -> unit) = closure3() │
00:00:41 verbose #808 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:00:41 verbose #809 > │ let v6 : int64 option option = None │
00:00:41 verbose #810 > │ let mutable _v6 = v6 │
00:00:41 verbose #811 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:00:41 verbose #812 > │ let v7 : string option = None │
00:00:41 verbose #813 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:00:41 verbose #814 > │ │
00:00:41 verbose #815 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #816 > │ │
00:00:41 verbose #817 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #818 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:00:41 verbose #819 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:00:41 verbose #820 > │ v10 │
00:00:41 verbose #821 > │ #endif │
00:00:41 verbose #822 > │ │
00:00:41 verbose #823 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #824 > │ let v11 : string = null |> unbox<string> │
00:00:41 verbose #825 > │ v11 │
00:00:41 verbose #826 > │ #endif │
00:00:41 verbose #827 > │ │
00:00:41 verbose #828 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #829 > │ let v12 : string = null |> unbox<string> │
00:00:41 verbose #830 > │ v12 │
00:00:41 verbose #831 > │ #endif │
00:00:41 verbose #832 > │ │
00:00:41 verbose #833 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #834 > │ let v13 : string = null |> unbox<string> │
00:00:41 verbose #835 > │ v13 │
00:00:41 verbose #836 > │ #endif │
00:00:41 verbose #837 > │ │
00:00:41 verbose #838 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #839 > │ let v14 : string = null |> unbox<string> │
00:00:41 verbose #840 > │ v14 │
00:00:41 verbose #841 > │ #endif │
00:00:41 verbose #842 > │ │
00:00:41 verbose #843 > │ #else │
00:00:41 verbose #844 > │ let v15 : string = │
00:00:41 verbose #845 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:00:41 verbose #846 > │ v15 │
00:00:41 verbose #847 > │ #endif │
00:00:41 verbose #848 > │ |> fun x -> _v7 <- Some x │
00:00:41 verbose #849 > │ let v16 : string = _v7.Value │
00:00:41 verbose #850 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:00:41 verbose #851 > │ let v19 : bool = v18 <> true │
00:00:41 verbose #852 > │ let v25 : US1 = │
00:00:41 verbose #853 > │ if v19 then │
00:00:41 verbose #854 > │ let v20 : System.DateTime = System.DateTime.Now │
00:00:41 verbose #855 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:00:41 verbose #856 > │ let v22 : int64 = v21 v20 │
00:00:41 verbose #857 > │ US1_0(v22) │
00:00:41 verbose #858 > │ else │
00:00:41 verbose #859 > │ US1_1 │
00:00:41 verbose #860 > │ let v30 : int64 option = │
00:00:41 verbose #861 > │ match v25 with │
00:00:41 verbose #862 > │ | US1_1 -> (* None *) │
00:00:41 verbose #863 > │ let v28 : int64 option = None │
00:00:41 verbose #864 > │ v28 │
00:00:41 verbose #865 > │ | US1_0(v26) -> (* Some *) │
00:00:41 verbose #866 > │ let v27 : int64 option = Some v26 │
00:00:41 verbose #867 > │ v27 │
00:00:41 verbose #868 > │ let v31 : int64 option = method1(v30) │
00:00:41 verbose #869 > │ v31 │
00:00:41 verbose #870 > │ #else │
00:00:41 verbose #871 > │ let v32 : int64 option = None │
00:00:41 verbose #872 > │ let v33 : int64 option = method2(v32) │
00:00:41 verbose #873 > │ v33 │
00:00:41 verbose #874 > │ #endif │
00:00:41 verbose #875 > │ |> fun x -> _v6 <- Some x │
00:00:41 verbose #876 > │ let v34 : int64 option = _v6.Value │
00:00:41 verbose #877 > │ struct (v1, v0, v3, v34, v5) │
00:00:41 verbose #878 > │ and closure4 () () : string = │
00:00:41 verbose #879 > │ let v0 : string = $"builder.main" │
00:00:41 verbose #880 > │ v0 │
00:00:41 verbose #881 > │ and closure6 () () : string = │
00:00:41 verbose #882 > │ let v0 : string = "" │
00:00:41 verbose #883 > │ v0 │
00:00:41 verbose #884 > │ and closure5 (v0 : (string [])) () : string = │
00:00:41 verbose #885 > │ let v1 : (unit -> string) = closure6() │
00:00:41 verbose #886 > │ let v2 : string = $"args: {v0} / {v1 ()}" │
00:00:41 verbose #887 > │ v2 │
00:00:41 verbose #888 > │ and closure8 () (v0 : int64) : US2 = │
00:00:41 verbose #889 > │ US2_0(v0) │
00:00:41 verbose #890 > │ and method4 () : (int64 -> US2) = │
00:00:41 verbose #891 > │ closure8() │
00:00:41 verbose #892 > │ and method5 () : string = │
00:00:41 verbose #893 > │ let v0 : string = "" │
00:00:41 verbose #894 > │ v0 │
00:00:41 verbose #895 > │ and closure7 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:00:41 verbose #896 > │ string = │
00:00:41 verbose #897 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:00:41 verbose #898 > │ closure2() │
00:00:41 verbose #899 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:00:41 verbose #900 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:00:41 verbose #901 > │ Mut3) = State.trace_state.Value │
00:00:41 verbose #902 > │ let v9 : string option = None │
00:00:41 verbose #903 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:00:41 verbose #904 > │ │
00:00:41 verbose #905 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #906 > │ │
00:00:41 verbose #907 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #908 > │ let v11 : (int64 -> US2) = method4() │
00:00:41 verbose #909 > │ let v12 : US2 = US2_1 │
00:00:41 verbose #910 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:00:41 verbose #911 > │ let v31 : System.DateTime = │
00:00:41 verbose #912 > │ match v13 with │
00:00:41 verbose #913 > │ | US2_1 -> (* None *) │
00:00:41 verbose #914 > │ let v29 : System.DateTime = System.DateTime.Now │
00:00:41 verbose #915 > │ v29 │
00:00:41 verbose #916 > │ | US2_0(v14) -> (* Some *) │
00:00:41 verbose #917 > │ let v15 : System.DateTime = System.DateTime.Now │
00:00:41 verbose #918 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:00:41 verbose #919 > │ let v17 : int64 = v16 v15 │
00:00:41 verbose #920 > │ let v18 : int64 = v17 - v14 │
00:00:41 verbose #921 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:00:41 verbose #922 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:00:41 verbose #923 > │ let v21 : int32 = v20 v19 │
00:00:41 verbose #924 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:00:41 verbose #925 > │ let v23 : int32 = v22 v19 │
00:00:41 verbose #926 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:00:41 verbose #927 > │ let v25 : int32 = v24 v19 │
00:00:41 verbose #928 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:00:41 verbose #929 > │ let v27 : int32 = v26 v19 │
00:00:41 verbose #930 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:00:41 verbose #931 > │ v25, v27) │
00:00:41 verbose #932 > │ v28 │
00:00:41 verbose #933 > │ let v32 : string = "hh:mm:ss" │
00:00:41 verbose #934 > │ let v33 : string = v31.ToString v32 │
00:00:41 verbose #935 > │ v33 │
00:00:41 verbose #936 > │ #endif │
00:00:41 verbose #937 > │ │
00:00:41 verbose #938 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #939 > │ let v34 : string = method5() │
00:00:41 verbose #940 > │ v34 │
00:00:41 verbose #941 > │ #endif │
00:00:41 verbose #942 > │ │
00:00:41 verbose #943 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #944 > │ let v35 : string = method5() │
00:00:41 verbose #945 > │ v35 │
00:00:41 verbose #946 > │ #endif │
00:00:41 verbose #947 > │ │
00:00:41 verbose #948 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #949 > │ let v36 : string = method5() │
00:00:41 verbose #950 > │ v36 │
00:00:41 verbose #951 > │ #endif │
00:00:41 verbose #952 > │ │
00:00:41 verbose #953 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #954 > │ let v37 : string = method5() │
00:00:41 verbose #955 > │ v37 │
00:00:41 verbose #956 > │ #endif │
00:00:41 verbose #957 > │ │
00:00:41 verbose #958 > │ #else │
00:00:41 verbose #959 > │ let v38 : (int64 -> US2) = method4() │
00:00:41 verbose #960 > │ let v39 : US2 = US2_1 │
00:00:41 verbose #961 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:00:41 verbose #962 > │ let v58 : System.DateTime = │
00:00:41 verbose #963 > │ match v40 with │
00:00:41 verbose #964 > │ | US2_1 -> (* None *) │
00:00:41 verbose #965 > │ let v56 : System.DateTime = System.DateTime.Now │
00:00:41 verbose #966 > │ v56 │
00:00:41 verbose #967 > │ | US2_0(v41) -> (* Some *) │
00:00:41 verbose #968 > │ let v42 : System.DateTime = System.DateTime.Now │
00:00:41 verbose #969 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:00:41 verbose #970 > │ let v44 : int64 = v43 v42 │
00:00:41 verbose #971 > │ let v45 : int64 = v44 - v41 │
00:00:41 verbose #972 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:00:41 verbose #973 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:00:41 verbose #974 > │ let v48 : int32 = v47 v46 │
00:00:41 verbose #975 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:00:41 verbose #976 > │ let v50 : int32 = v49 v46 │
00:00:41 verbose #977 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:00:41 verbose #978 > │ let v52 : int32 = v51 v46 │
00:00:41 verbose #979 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:00:41 verbose #980 > │ let v54 : int32 = v53 v46 │
00:00:41 verbose #981 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:00:41 verbose #982 > │ v52, v54) │
00:00:41 verbose #983 > │ v55 │
00:00:41 verbose #984 > │ let v59 : string = "HH:mm:ss" │
00:00:41 verbose #985 > │ let v60 : string = v58.ToString v59 │
00:00:41 verbose #986 > │ v60 │
00:00:41 verbose #987 > │ #endif │
00:00:41 verbose #988 > │ |> fun x -> _v9 <- Some x │
00:00:41 verbose #989 > │ let v61 : string = _v9.Value │
00:00:41 verbose #990 > │ let v62 : int64 = v4.l0 │
00:00:41 verbose #991 > │ let v72 : string = │
00:00:41 verbose #992 > │ match v0 with │
00:00:41 verbose #993 > │ | US0_4 -> (* Critical *) │
00:00:41 verbose #994 > │ let v67 : string = "Critical" │
00:00:41 verbose #995 > │ v67 │
00:00:41 verbose #996 > │ | US0_1 -> (* Debug *) │
00:00:41 verbose #997 > │ let v64 : string = "Debug" │
00:00:41 verbose #998 > │ v64 │
00:00:41 verbose #999 > │ | US0_2 -> (* Info *) │
00:00:41 verbose #1000 > │ let v65 : string = "Info" │
00:00:41 verbose #1001 > │ v65 │
00:00:41 verbose #1002 > │ | US0_0 -> (* Verbose *) │
00:00:41 verbose #1003 > │ let v63 : string = "Verbose" │
00:00:41 verbose #1004 > │ v63 │
00:00:41 verbose #1005 > │ | US0_3 -> (* Warning *) │
00:00:41 verbose #1006 > │ let v66 : string = "Warning" │
00:00:41 verbose #1007 > │ v66 │
00:00:41 verbose #1008 > │ let v73 : string = v72.ToLower () │
00:00:41 verbose #1009 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:00:41 verbose #1010 > │ let v75 : string option = None │
00:00:41 verbose #1011 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:00:41 verbose #1012 > │ │
00:00:41 verbose #1013 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #1014 > │ │
00:00:41 verbose #1015 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #1016 > │ let v91 : Ref<Str> = │
00:00:41 verbose #1017 > │ match v0 with │
00:00:41 verbose #1018 > │ | US0_4 -> (* Critical *) │
00:00:41 verbose #1019 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:00:41 verbose #1020 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:00:41 verbose #1021 > │ v86 │
00:00:41 verbose #1022 > │ | US0_1 -> (* Debug *) │
00:00:41 verbose #1023 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:00:41 verbose #1024 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:00:41 verbose #1025 > │ v80 │
00:00:41 verbose #1026 > │ | US0_2 -> (* Info *) │
00:00:41 verbose #1027 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:00:41 verbose #1028 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:00:41 verbose #1029 > │ v82 │
00:00:41 verbose #1030 > │ | US0_0 -> (* Verbose *) │
00:00:41 verbose #1031 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:00:41 verbose #1032 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:00:41 verbose #1033 > │ v78 │
00:00:41 verbose #1034 > │ | US0_3 -> (* Warning *) │
00:00:41 verbose #1035 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:00:41 verbose #1036 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:00:41 verbose #1037 > │ v84 │
00:00:41 verbose #1038 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #1039 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:00:41 verbose #1040 > │ let v94 : string = "inline_colorization::color_reset" │
00:00:41 verbose #1041 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:00:41 verbose #1042 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:00:41 verbose #1043 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:00:41 verbose #1044 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:00:41 verbose #1045 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #1046 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:00:41 verbose #1047 > │ v100 │
00:00:41 verbose #1048 > │ #endif │
00:00:41 verbose #1049 > │ │
00:00:41 verbose #1050 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #1051 > │ let v115 : Ref<Str> = │
00:00:41 verbose #1052 > │ match v0 with │
00:00:41 verbose #1053 > │ | US0_4 -> (* Critical *) │
00:00:41 verbose #1054 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:00:41 verbose #1055 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1056 > │ v109 │
00:00:41 verbose #1057 > │ v110 │
00:00:41 verbose #1058 > │ | US0_1 -> (* Debug *) │
00:00:41 verbose #1059 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:00:41 verbose #1060 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1061 > │ v103 │
00:00:41 verbose #1062 > │ v104 │
00:00:41 verbose #1063 > │ | US0_2 -> (* Info *) │
00:00:41 verbose #1064 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:00:41 verbose #1065 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1066 > │ v105 │
00:00:41 verbose #1067 > │ v106 │
00:00:41 verbose #1068 > │ | US0_0 -> (* Verbose *) │
00:00:41 verbose #1069 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:00:41 verbose #1070 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1071 > │ v101 │
00:00:41 verbose #1072 > │ v102 │
00:00:41 verbose #1073 > │ | US0_3 -> (* Warning *) │
00:00:41 verbose #1074 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:00:41 verbose #1075 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1076 > │ v107 │
00:00:41 verbose #1077 > │ v108 │
00:00:41 verbose #1078 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #1079 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:00:41 verbose #1080 > │ let v118 : string = "inline_colorization::color_reset" │
00:00:41 verbose #1081 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:00:41 verbose #1082 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:00:41 verbose #1083 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:00:41 verbose #1084 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1085 > │ v121 │
00:00:41 verbose #1086 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #1087 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:00:41 verbose #1088 > │ v124 │
00:00:41 verbose #1089 > │ #endif │
00:00:41 verbose #1090 > │ │
00:00:41 verbose #1091 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #1092 > │ let v139 : Ref<Str> = │
00:00:41 verbose #1093 > │ match v0 with │
00:00:41 verbose #1094 > │ | US0_4 -> (* Critical *) │
00:00:41 verbose #1095 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:00:41 verbose #1096 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1097 > │ v133 │
00:00:41 verbose #1098 > │ v134 │
00:00:41 verbose #1099 > │ | US0_1 -> (* Debug *) │
00:00:41 verbose #1100 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:00:41 verbose #1101 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1102 > │ v127 │
00:00:41 verbose #1103 > │ v128 │
00:00:41 verbose #1104 > │ | US0_2 -> (* Info *) │
00:00:41 verbose #1105 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:00:41 verbose #1106 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1107 > │ v129 │
00:00:41 verbose #1108 > │ v130 │
00:00:41 verbose #1109 > │ | US0_0 -> (* Verbose *) │
00:00:41 verbose #1110 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:00:41 verbose #1111 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1112 > │ v125 │
00:00:41 verbose #1113 > │ v126 │
00:00:41 verbose #1114 > │ | US0_3 -> (* Warning *) │
00:00:41 verbose #1115 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:00:41 verbose #1116 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1117 > │ v131 │
00:00:41 verbose #1118 > │ v132 │
00:00:41 verbose #1119 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #1120 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:00:41 verbose #1121 > │ let v142 : string = "inline_colorization::color_reset" │
00:00:41 verbose #1122 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:00:41 verbose #1123 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:00:41 verbose #1124 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:00:41 verbose #1125 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:00:41 verbose #1126 > │ v145 │
00:00:41 verbose #1127 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #1128 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:00:41 verbose #1129 > │ v148 │
00:00:41 verbose #1130 > │ #endif │
00:00:41 verbose #1131 > │ │
00:00:41 verbose #1132 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #1133 > │ v74 │
00:00:41 verbose #1134 > │ #endif │
00:00:41 verbose #1135 > │ │
00:00:41 verbose #1136 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #1137 > │ v74 │
00:00:41 verbose #1138 > │ #endif │
00:00:41 verbose #1139 > │ │
00:00:41 verbose #1140 > │ #else │
00:00:41 verbose #1141 > │ v74 │
00:00:41 verbose #1142 > │ #endif │
00:00:41 verbose #1143 > │ |> fun x -> _v75 <- Some x │
00:00:41 verbose #1144 > │ let v149 : string = _v75.Value │
00:00:41 verbose #1145 > │ let v150 : string = v1 () │
00:00:41 verbose #1146 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:00:41 verbose #1147 > │ let v152 : (char []) = [||] │
00:00:41 verbose #1148 > │ let v153 : string = v151.TrimStart v152 │
00:00:41 verbose #1149 > │ let v154 : (char []) = [|' '; '/'|] │
00:00:41 verbose #1150 > │ let v155 : string = v153.TrimEnd v154 │
00:00:41 verbose #1151 > │ v155 │
00:00:41 verbose #1152 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:00:41 verbose #1153 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:00:41 verbose #1154 > │ closure2() │
00:00:41 verbose #1155 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:00:41 verbose #1156 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:00:41 verbose #1157 > │ Mut3) = State.trace_state.Value │
00:00:41 verbose #1158 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:00:41 verbose #1159 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:00:41 verbose #1160 > │ Mut3) = State.trace_state.Value │
00:00:41 verbose #1161 > │ let v13 : US0 = v10.l0 │
00:00:41 verbose #1162 > │ let v14 : bool = v9.l0 │
00:00:41 verbose #1163 > │ let v15 : bool = v14 = false │
00:00:41 verbose #1164 > │ let v19 : bool = │
00:00:41 verbose #1165 > │ if v15 then │
00:00:41 verbose #1166 > │ false │
00:00:41 verbose #1167 > │ else │
00:00:41 verbose #1168 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:00:41 verbose #1169 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:00:41 verbose #1170 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:00:41 verbose #1171 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:00:41 verbose #1172 > │ let v18 : bool = v16 >= v17 │
00:00:41 verbose #1173 > │ v18 │
00:00:41 verbose #1174 > │ if v19 then │
00:00:41 verbose #1175 > │ let v20 : int64 = v3.l0 │
00:00:41 verbose #1176 > │ let v21 : int64 = v20 + 1L │
00:00:41 verbose #1177 > │ v3.l0 <- v21 │
00:00:41 verbose #1178 > │ let v22 : string = $"%s{v1 ()}" │
00:00:41 verbose #1179 > │ let v23 : unit option = None │
00:00:41 verbose #1180 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:00:41 verbose #1181 > │ │
00:00:41 verbose #1182 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #1183 > │ │
00:00:41 verbose #1184 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #1185 > │ let v25 : string = @"println!(""{}"", $0)" │
00:00:41 verbose #1186 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:00:41 verbose #1187 > │ () │
00:00:41 verbose #1188 > │ #endif │
00:00:41 verbose #1189 > │ │
00:00:41 verbose #1190 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #1191 > │ let v26 : string = @"println!(""{}"", $0)" │
00:00:41 verbose #1192 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:00:41 verbose #1193 > │ () │
00:00:41 verbose #1194 > │ #endif │
00:00:41 verbose #1195 > │ │
00:00:41 verbose #1196 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #1197 > │ let v27 : string = @"println!(""{}"", $0)" │
00:00:41 verbose #1198 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:00:41 verbose #1199 > │ () │
00:00:41 verbose #1200 > │ #endif │
00:00:41 verbose #1201 > │ │
00:00:41 verbose #1202 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #1203 > │ System.Console.WriteLine v22 │
00:00:41 verbose #1204 > │ () │
00:00:41 verbose #1205 > │ #endif │
00:00:41 verbose #1206 > │ │
00:00:41 verbose #1207 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #1208 > │ System.Console.WriteLine v22 │
00:00:41 verbose #1209 > │ () │
00:00:41 verbose #1210 > │ #endif │
00:00:41 verbose #1211 > │ │
00:00:41 verbose #1212 > │ #else │
00:00:41 verbose #1213 > │ System.Console.WriteLine v22 │
00:00:41 verbose #1214 > │ () │
00:00:41 verbose #1215 > │ #endif │
00:00:41 verbose #1216 > │ |> fun x -> _v23 <- Some x │
00:00:41 verbose #1217 > │ _v23.Value │
00:00:41 verbose #1218 > │ let v28 : (string -> unit) = v7.l0 │
00:00:41 verbose #1219 > │ v28 v22 │
00:00:41 verbose #1220 > │ and method3 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:00:41 verbose #1221 > │ = │
00:00:41 verbose #1222 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:00:41 verbose #1223 > │ method6(v0, v3) │
00:00:41 verbose #1224 > │ and method7 () : string = │
00:00:41 verbose #1225 > │ let v0 : string = "file" │
00:00:41 verbose #1226 > │ v0 │
00:00:41 verbose #1227 > │ and closure9 () (v0 : std_string_String) : US3 = │
00:00:41 verbose #1228 > │ US3_0(v0) │
00:00:41 verbose #1229 > │ and method8 () : (std_string_String -> US3) = │
00:00:41 verbose #1230 > │ closure9() │
00:00:41 verbose #1231 > │ and method9 () : string = │
00:00:41 verbose #1232 > │ let v0 : string = "out-dir" │
00:00:41 verbose #1233 > │ v0 │
00:00:41 verbose #1234 > │ and method10 () : string = │
00:00:41 verbose #1235 > │ let v0 : string = "hash" │
00:00:41 verbose #1236 > │ v0 │
00:00:41 verbose #1237 > │ and method11 () : string = │
00:00:41 verbose #1238 > │ let v0 : string = "args" │
00:00:41 verbose #1239 > │ v0 │
00:00:41 verbose #1240 > │ and method13 (v0 : string) : string = │
00:00:41 verbose #1241 > │ v0 │
00:00:41 verbose #1242 > │ and method14 (v0 : string) : string = │
00:00:41 verbose #1243 > │ v0 │
00:00:41 verbose #1244 > │ and method16 (v0 : string) : string = │
00:00:41 verbose #1245 > │ v0 │
00:00:41 verbose #1246 > │ and method17 (v0 : string) : string = │
00:00:41 verbose #1247 > │ v0 │
00:00:41 verbose #1248 > │ and method15 (v0 : string, v1 : string) : string = │
00:00:41 verbose #1249 > │ let v2 : string option = None │
00:00:41 verbose #1250 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:00:41 verbose #1251 > │ │
00:00:41 verbose #1252 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #1253 > │ │
00:00:41 verbose #1254 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #1255 > │ let v4 : string = method14(v0) │
00:00:41 verbose #1256 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #1257 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:00:41 verbose #1258 > │ let v7 : string = "String::from($0)" │
00:00:41 verbose #1259 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:00:41 verbose #1260 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:00:41 verbose #1261 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:00:41 verbose #1262 > │ let v11 : string = method14(v1) │
00:00:41 verbose #1263 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #1264 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:00:41 verbose #1265 > │ let v14 : string = "String::from($0)" │
00:00:41 verbose #1266 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:00:41 verbose #1267 > │ v14 │
00:00:41 verbose #1268 > │ let v16 : string = "$0.join($1)" │
00:00:41 verbose #1269 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:00:41 verbose #1270 > │ (v10, v15) v16 │
00:00:41 verbose #1271 > │ let v18 : string = "$0.display()" │
00:00:41 verbose #1272 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:00:41 verbose #1273 > │ let v20 : std_string_String option = None │
00:00:41 verbose #1274 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:00:41 verbose #1275 > │ │
00:00:41 verbose #1276 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #1277 > │ │
00:00:41 verbose #1278 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #1279 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #1280 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:00:41 verbose #1281 > │ v22 │
00:00:41 verbose #1282 > │ v23 │
00:00:41 verbose #1283 > │ #endif │
00:00:41 verbose #1284 > │ │
00:00:41 verbose #1285 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #1286 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #1287 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:00:41 verbose #1288 > │ v24 │
00:00:41 verbose #1289 > │ v25 │
00:00:41 verbose #1290 > │ #endif │
00:00:41 verbose #1291 > │ │
00:00:41 verbose #1292 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #1293 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #1294 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:00:41 verbose #1295 > │ v26 │
00:00:41 verbose #1296 > │ v27 │
00:00:41 verbose #1297 > │ #endif │
00:00:41 verbose #1298 > │ │
00:00:41 verbose #1299 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #1300 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #1301 > │ v28 │
00:00:41 verbose #1302 > │ #endif │
00:00:41 verbose #1303 > │ │
00:00:41 verbose #1304 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #1305 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #1306 > │ v29 │
00:00:41 verbose #1307 > │ #endif │
00:00:41 verbose #1308 > │ │
00:00:41 verbose #1309 > │ #else │
00:00:41 verbose #1310 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #1311 > │ v30 │
00:00:41 verbose #1312 > │ #endif │
00:00:41 verbose #1313 > │ |> fun x -> _v20 <- Some x │
00:00:41 verbose #1314 > │ let v31 : std_string_String = _v20.Value │
00:00:41 verbose #1315 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #1316 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:00:41 verbose #1317 > │ v33 │
00:00:41 verbose #1318 > │ #endif │
00:00:41 verbose #1319 > │ │
00:00:41 verbose #1320 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #1321 > │ let v34 : string = null |> unbox<string> │
00:00:41 verbose #1322 > │ v34 │
00:00:41 verbose #1323 > │ #endif │
00:00:41 verbose #1324 > │ │
00:00:41 verbose #1325 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #1326 > │ let v35 : string = null |> unbox<string> │
00:00:41 verbose #1327 > │ v35 │
00:00:41 verbose #1328 > │ #endif │
00:00:41 verbose #1329 > │ │
00:00:41 verbose #1330 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #1331 > │ let v36 : string = "path" │
00:00:41 verbose #1332 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:00:41 verbose #1333 > │ let v38 : string = method16(v0) │
00:00:41 verbose #1334 > │ let v39 : string = method17(v1) │
00:00:41 verbose #1335 > │ let v40 : string = "v37.join(v38, v39)" │
00:00:41 verbose #1336 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:00:41 verbose #1337 > │ v41 │
00:00:41 verbose #1338 > │ #endif │
00:00:41 verbose #1339 > │ │
00:00:41 verbose #1340 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #1341 > │ let v42 : string = null |> unbox<string> │
00:00:41 verbose #1342 > │ v42 │
00:00:41 verbose #1343 > │ #endif │
00:00:41 verbose #1344 > │ │
00:00:41 verbose #1345 > │ #else │
00:00:41 verbose #1346 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:00:41 verbose #1347 > │ v43 │
00:00:41 verbose #1348 > │ #endif │
00:00:41 verbose #1349 > │ |> fun x -> _v2 <- Some x │
00:00:41 verbose #1350 > │ let v44 : string = _v2.Value │
00:00:41 verbose #1351 > │ v44 │
00:00:41 verbose #1352 > │ and method18 () : string = │
00:00:41 verbose #1353 > │ let v0 : string = "^\\\\\\\\\\?\\\\" │
00:00:41 verbose #1354 > │ v0 │
00:00:41 verbose #1355 > │ and method19 (v0 : string) : string = │
00:00:41 verbose #1356 > │ v0 │
00:00:41 verbose #1357 > │ and method20 () : string = │
00:00:41 verbose #1358 > │ let v0 : string = "" │
00:00:41 verbose #1359 > │ v0 │
00:00:41 verbose #1360 > │ and method21 (v0 : int32, v1 : Mut4) : bool = │
00:00:41 verbose #1361 > │ let v2 : int32 = v1.l0 │
00:00:41 verbose #1362 > │ let v3 : bool = v2 < v0 │
00:00:41 verbose #1363 > │ v3 │
00:00:41 verbose #1364 > │ and method22 (v0 : int32, v1 : Mut5) : bool = │
00:00:41 verbose #1365 > │ let v2 : int32 = v1.l0 │
00:00:41 verbose #1366 > │ let v3 : bool = v2 < v0 │
00:00:41 verbose #1367 > │ v3 │
00:00:41 verbose #1368 > │ and method23 (v0 : string) : string = │
00:00:41 verbose #1369 > │ v0 │
00:00:41 verbose #1370 > │ and method24 (v0 : string) : string = │
00:00:41 verbose #1371 > │ v0 │
00:00:41 verbose #1372 > │ and closure10 () () : string = │
00:00:41 verbose #1373 > │ let v0 : string = "builder.run" │
00:00:41 verbose #1374 > │ v0 │
00:00:41 verbose #1375 > │ and closure11 (v0 : string, v1 : string, v2 : string, v3 : string) () : │
00:00:41 verbose #1376 > │ string = │
00:00:41 verbose #1377 > │ let v4 : (unit -> string) = closure6() │
00:00:41 verbose #1378 > │ let v5 : string = $"file: {v2} / out_dir: {v3} / hash: {v1} / args: {v0} │
00:00:41 verbose #1379 > │ / {v4 ()}" │
00:00:41 verbose #1380 > │ v5 │
00:00:41 verbose #1381 > │ and method26 () : clap_Command = │
00:00:41 verbose #1382 > │ let v0 : string = "command" │
00:00:41 verbose #1383 > │ let v1 : string = "r#\"" + v0 + "\"#" │
00:00:41 verbose #1384 > │ let v2 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v1 │
00:00:41 verbose #1385 > │ let v3 : string = "clap::Command::new($0)" │
00:00:41 verbose #1386 > │ let v4 : clap_Command = Fable.Core.RustInterop.emitRustExpr v2 v3 │
00:00:41 verbose #1387 > │ let v5 : string = "clap::Command::subcommand_required($0, true)" │
00:00:41 verbose #1388 > │ let v6 : clap_Command = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:00:41 verbose #1389 > │ let v7 : string = "rust" │
00:00:41 verbose #1390 > │ let v8 : string = "r#\"" + v7 + "\"#" │
00:00:41 verbose #1391 > │ let v9 : StaticRef<Str> = Fable.Core.RustInterop.emitRustExpr () v8 │
00:00:41 verbose #1392 > │ let v10 : string = "clap::Command::new($0)" │
00:00:41 verbose #1393 > │ let v11 : clap_Command = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:00:41 verbose #1394 > │ let v12 : string = "clap::Command::subcommand($0, v11)" │
00:00:41 verbose #1395 > │ let v13 : clap_Command = Fable.Core.RustInterop.emitRustExpr v6 v12 │
00:00:41 verbose #1396 > │ v13 │
00:00:41 verbose #1397 > │ and closure12 () (v0 : string) : US4 = │
00:00:41 verbose #1398 > │ US4_0(v0) │
00:00:41 verbose #1399 > │ and method28 () : (string -> US4) = │
00:00:41 verbose #1400 > │ closure12() │
00:00:41 verbose #1401 > │ and closure14 (v0 : char) (v1 : UH1) : UH1 = │
00:00:41 verbose #1402 > │ UH1_1(v0, v1) │
00:00:41 verbose #1403 > │ and closure13 () (v0 : char) : (UH1 -> UH1) = │
00:00:41 verbose #1404 > │ closure14(v0) │
00:00:41 verbose #1405 > │ and method29 () : (char -> (UH1 -> UH1)) = │
00:00:41 verbose #1406 > │ closure13() │
00:00:41 verbose #1407 > │ and method32 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:41 verbose #1408 > │ match v0 with │
00:00:41 verbose #1409 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:00:41 verbose #1410 > │ let v4 : UH0 = method32(v3, v1) │
00:00:41 verbose #1411 > │ UH0_1(v2, v4) │
00:00:41 verbose #1412 > │ | UH0_0 -> (* Nil *) │
00:00:41 verbose #1413 > │ v1 │
00:00:41 verbose #1414 > │ and method31 (v0 : string, v1 : UH0, v2 : UH1, v3 : US5) : struct (UH0 * │
00:00:41 verbose #1415 > │ string) = │
00:00:41 verbose #1416 > │ match v3 with │
00:00:41 verbose #1417 > │ | US5_2(v44) -> (* Escaped *) │
00:00:41 verbose #1418 > │ match v2 with │
00:00:41 verbose #1419 > │ | UH1_1(v45, v46) -> (* Cons *) │
00:00:41 verbose #1420 > │ let v47 : bool = '\\' = v45 │
00:00:41 verbose #1421 > │ if v47 then │
00:00:41 verbose #1422 > │ let v48 : char = '\\' │
00:00:41 verbose #1423 > │ let v49 : US5 = US5_1(v48) │
00:00:41 verbose #1424 > │ method30(v0, v1, v46, v3, v49) │
00:00:41 verbose #1425 > │ else │
00:00:41 verbose #1426 > │ let v52 : bool = '"' = v45 │
00:00:41 verbose #1427 > │ if v52 then │
00:00:41 verbose #1428 > │ let v54 : bool = │
00:00:41 verbose #1429 > │ match v3 with │
00:00:41 verbose #1430 > │ | US5_0 -> (* Start *) │
00:00:41 verbose #1431 > │ true │
00:00:41 verbose #1432 > │ | _ -> │
00:00:41 verbose #1433 > │ false │
00:00:41 verbose #1434 > │ if v54 then │
00:00:41 verbose #1435 > │ method31(v0, v1, v46, v3) │
00:00:41 verbose #1436 > │ else │
00:00:41 verbose #1437 > │ let v57 : string = $"{v0}\"" │
00:00:41 verbose #1438 > │ let v58 : US5 = US5_2(v44) │
00:00:41 verbose #1439 > │ method30(v57, v1, v46, v3, v58) │
00:00:41 verbose #1440 > │ else │
00:00:41 verbose #1441 > │ let v63 : bool = ' ' = v45 │
00:00:41 verbose #1442 > │ if v63 then │
00:00:41 verbose #1443 > │ let v64 : string = $"{v0} " │
00:00:41 verbose #1444 > │ method31(v64, v1, v46, v3) │
00:00:41 verbose #1445 > │ else │
00:00:41 verbose #1446 > │ let v67 : bool = 1uy = v44 │
00:00:41 verbose #1447 > │ if v67 then │
00:00:41 verbose #1448 > │ let v68 : bool = v3 <> v3 │
00:00:41 verbose #1449 > │ if v68 then │
00:00:41 verbose #1450 > │ let v69 : string = $"{v0}\{v45}" │
00:00:41 verbose #1451 > │ method31(v69, v1, v46, v3) │
00:00:41 verbose #1452 > │ else │
00:00:41 verbose #1453 > │ let v72 : string = $"{v0}{v45}" │
00:00:41 verbose #1454 > │ method31(v72, v1, v46, v3) │
00:00:41 verbose #1455 > │ else │
00:00:41 verbose #1456 > │ let v77 : string = $"{v0}{v45}" │
00:00:41 verbose #1457 > │ method31(v77, v1, v46, v3) │
00:00:41 verbose #1458 > │ | _ -> │
00:00:41 verbose #1459 > │ let v88 : bool = 1uy = v44 │
00:00:41 verbose #1460 > │ if v88 then │
00:00:41 verbose #1461 > │ let v90 : bool = v0 = "" │
00:00:41 verbose #1462 > │ let v94 : UH0 = │
00:00:41 verbose #1463 > │ if v90 then │
00:00:41 verbose #1464 > │ v1 │
00:00:41 verbose #1465 > │ else │
00:00:41 verbose #1466 > │ let v91 : UH0 = UH0_0 │
00:00:41 verbose #1467 > │ let v92 : UH0 = UH0_1(v0, v91) │
00:00:41 verbose #1468 > │ method32(v1, v92) │
00:00:41 verbose #1469 > │ struct (v94, v0) │
00:00:41 verbose #1470 > │ else │
00:00:41 verbose #1471 > │ let v96 : bool = v0 = "" │
00:00:41 verbose #1472 > │ let v100 : UH0 = │
00:00:41 verbose #1473 > │ if v96 then │
00:00:41 verbose #1474 > │ v1 │
00:00:41 verbose #1475 > │ else │
00:00:41 verbose #1476 > │ let v97 : UH0 = UH0_0 │
00:00:41 verbose #1477 > │ let v98 : UH0 = UH0_1(v0, v97) │
00:00:41 verbose #1478 > │ method32(v1, v98) │
00:00:41 verbose #1479 > │ struct (v100, v0) │
00:00:41 verbose #1480 > │ | US5_1(v105) -> (* Quoted *) │
00:00:41 verbose #1481 > │ let v106 : bool = '"' = v105 │
00:00:41 verbose #1482 > │ if v106 then │
00:00:41 verbose #1483 > │ match v2 with │
00:00:41 verbose #1484 > │ | UH1_1(v107, v108) -> (* Cons *) │
00:00:41 verbose #1485 > │ let v109 : bool = '"' = v107 │
00:00:41 verbose #1486 > │ if v109 then │
00:00:41 verbose #1487 > │ let v110 : US5 = US5_1('\\') │
00:00:41 verbose #1488 > │ let v111 : bool = v3 = v110 │
00:00:41 verbose #1489 > │ if v111 then │
00:00:41 verbose #1490 > │ let v112 : US5 = US5_0 │
00:00:41 verbose #1491 > │ method30(v0, v1, v108, v3, v112) │
00:00:41 verbose #1492 > │ else │
00:00:41 verbose #1493 > │ let v115 : bool = '\\' = v105 │
00:00:41 verbose #1494 > │ if v115 then │
00:00:41 verbose #1495 > │ let v116 : US5 = US5_2(0uy) │
00:00:41 verbose #1496 > │ let v117 : bool = v3 <> v116 │
00:00:41 verbose #1497 > │ if v117 then │
00:00:41 verbose #1498 > │ let v118 : string = $"{v0}\"" │
00:00:41 verbose #1499 > │ let v119 : char = '"' │
00:00:41 verbose #1500 > │ let v120 : US5 = US5_1(v119) │
00:00:41 verbose #1501 > │ method30(v118, v1, v108, v3, v120) │
00:00:41 verbose #1502 > │ else │
00:00:41 verbose #1503 > │ let v123 : US5 = US5_1('\\') │
00:00:41 verbose #1504 > │ let v124 : bool = v3 = v123 │
00:00:41 verbose #1505 > │ if v124 then │
00:00:41 verbose #1506 > │ let v125 : string = $"{v0}\"" │
00:00:41 verbose #1507 > │ let v126 : char = '"' │
00:00:41 verbose #1508 > │ let v127 : US5 = US5_1(v126) │
00:00:41 verbose #1509 > │ method30(v125, v1, v108, v3, v127) │
00:00:41 verbose #1510 > │ else │
00:00:41 verbose #1511 > │ let v130 : US5 = US5_0 │
00:00:41 verbose #1512 > │ method30(v0, v1, v108, v3, v130) │
00:00:41 verbose #1513 > │ else │
00:00:41 verbose #1514 > │ let v137 : bool = '\\' = v107 │
00:00:41 verbose #1515 > │ if v137 then │
00:00:41 verbose #1516 > │ let v138 : uint8 = 1uy │
00:00:41 verbose #1517 > │ let v139 : US5 = US5_2(v138) │
00:00:41 verbose #1518 > │ method30(v0, v1, v108, v3, v139) │
00:00:41 verbose #1519 > │ else │
00:00:41 verbose #1520 > │ let v142 : US5 = US5_2(0uy) │
00:00:41 verbose #1521 > │ let v143 : bool = v3 = v142 │
00:00:41 verbose #1522 > │ if v143 then │
00:00:41 verbose #1523 > │ let v144 : string = $"{v0}\"" │
00:00:41 verbose #1524 > │ let v145 : char = '"' │
00:00:41 verbose #1525 > │ let v146 : US5 = US5_1(v145) │
00:00:41 verbose #1526 > │ method30(v144, v1, v108, v3, v146) │
00:00:41 verbose #1527 > │ else │
00:00:41 verbose #1528 > │ let v149 : UH0 = UH0_0 │
00:00:41 verbose #1529 > │ let v150 : UH0 = UH0_1(v0, v149) │
00:00:41 verbose #1530 > │ let v151 : UH0 = method32(v1, v150) │
00:00:41 verbose #1531 > │ let v152 : string = "" │
00:00:41 verbose #1532 > │ let v153 : US5 = US5_0 │
00:00:41 verbose #1533 > │ method30(v152, v151, v108, v3, v153) │
00:00:41 verbose #1534 > │ else │
00:00:41 verbose #1535 > │ let v164 : bool = '\\' = v105 │
00:00:41 verbose #1536 > │ if v164 then │
00:00:41 verbose #1537 > │ let v165 : bool = '\\' = v107 │
00:00:41 verbose #1538 > │ if v165 then │
00:00:41 verbose #1539 > │ let v166 : uint8 = 1uy │
00:00:41 verbose #1540 > │ let v167 : US5 = US5_2(v166) │
00:00:41 verbose #1541 > │ method30(v0, v1, v108, v3, v167) │
00:00:41 verbose #1542 > │ else │
00:00:41 verbose #1543 > │ let v170 : bool = ' ' = v107 │
00:00:41 verbose #1544 > │ if v170 then │
00:00:41 verbose #1545 > │ let v171 : string = $"{v0} " │
00:00:41 verbose #1546 > │ method31(v171, v1, v108, v3) │
00:00:41 verbose #1547 > │ else │
00:00:41 verbose #1548 > │ let v174 : string = $"{v0}{v107}" │
00:00:41 verbose #1549 > │ method31(v174, v1, v108, v3) │
00:00:41 verbose #1550 > │ else │
00:00:41 verbose #1551 > │ let v181 : bool = '\\' = v107 │
00:00:41 verbose #1552 > │ if v181 then │
00:00:41 verbose #1553 > │ let v182 : uint8 = 1uy │
00:00:41 verbose #1554 > │ let v183 : US5 = US5_2(v182) │
00:00:41 verbose #1555 > │ method30(v0, v1, v108, v3, v183) │
00:00:41 verbose #1556 > │ else │
00:00:41 verbose #1557 > │ let v186 : bool = ' ' = v107 │
00:00:41 verbose #1558 > │ if v186 then │
00:00:41 verbose #1559 > │ let v187 : string = $"{v0} " │
00:00:41 verbose #1560 > │ method31(v187, v1, v108, v3) │
00:00:41 verbose #1561 > │ else │
00:00:41 verbose #1562 > │ let v190 : string = $"{v0}{v107}" │
00:00:41 verbose #1563 > │ method31(v190, v1, v108, v3) │
00:00:41 verbose #1564 > │ | _ -> │
00:00:41 verbose #1565 > │ let v201 : bool = '\\' = v105 │
00:00:41 verbose #1566 > │ if v201 then │
00:00:41 verbose #1567 > │ let v203 : bool = v0 = "" │
00:00:41 verbose #1568 > │ let v207 : UH0 = │
00:00:41 verbose #1569 > │ if v203 then │
00:00:41 verbose #1570 > │ v1 │
00:00:41 verbose #1571 > │ else │
00:00:41 verbose #1572 > │ let v204 : UH0 = UH0_0 │
00:00:41 verbose #1573 > │ let v205 : UH0 = UH0_1(v0, v204) │
00:00:41 verbose #1574 > │ method32(v1, v205) │
00:00:41 verbose #1575 > │ struct (v207, v0) │
00:00:41 verbose #1576 > │ else │
00:00:41 verbose #1577 > │ let v209 : bool = v0 = "" │
00:00:41 verbose #1578 > │ let v213 : UH0 = │
00:00:41 verbose #1579 > │ if v209 then │
00:00:41 verbose #1580 > │ v1 │
00:00:41 verbose #1581 > │ else │
00:00:41 verbose #1582 > │ let v210 : UH0 = UH0_0 │
00:00:41 verbose #1583 > │ let v211 : UH0 = UH0_1(v0, v210) │
00:00:41 verbose #1584 > │ method32(v1, v211) │
00:00:41 verbose #1585 > │ struct (v213, v0) │
00:00:41 verbose #1586 > │ else │
00:00:41 verbose #1587 > │ let v218 : bool = '\\' = v105 │
00:00:41 verbose #1588 > │ if v218 then │
00:00:41 verbose #1589 > │ match v2 with │
00:00:41 verbose #1590 > │ | UH1_1(v219, v220) -> (* Cons *) │
00:00:41 verbose #1591 > │ let v221 : bool = '"' = v219 │
00:00:41 verbose #1592 > │ if v221 then │
00:00:41 verbose #1593 > │ let v222 : US5 = US5_2(0uy) │
00:00:41 verbose #1594 > │ let v223 : bool = v3 <> v222 │
00:00:41 verbose #1595 > │ if v223 then │
00:00:41 verbose #1596 > │ let v224 : string = $"{v0}\"" │
00:00:41 verbose #1597 > │ let v225 : char = '"' │
00:00:41 verbose #1598 > │ let v226 : US5 = US5_1(v225) │
00:00:41 verbose #1599 > │ method30(v224, v1, v220, v3, v226) │
00:00:41 verbose #1600 > │ else │
00:00:41 verbose #1601 > │ let v229 : US5 = US5_1('\\') │
00:00:41 verbose #1602 > │ let v230 : bool = v3 = v229 │
00:00:41 verbose #1603 > │ if v230 then │
00:00:41 verbose #1604 > │ let v231 : string = $"{v0}\"" │
00:00:41 verbose #1605 > │ let v232 : char = '"' │
00:00:41 verbose #1606 > │ let v233 : US5 = US5_1(v232) │
00:00:41 verbose #1607 > │ method30(v231, v1, v220, v3, v233) │
00:00:41 verbose #1608 > │ else │
00:00:41 verbose #1609 > │ let v236 : US5 = US5_0 │
00:00:41 verbose #1610 > │ method30(v0, v1, v220, v3, v236) │
00:00:41 verbose #1611 > │ else │
00:00:41 verbose #1612 > │ let v243 : bool = '\\' = v219 │
00:00:41 verbose #1613 > │ if v243 then │
00:00:41 verbose #1614 > │ let v244 : uint8 = 1uy │
00:00:41 verbose #1615 > │ let v245 : US5 = US5_2(v244) │
00:00:41 verbose #1616 > │ method30(v0, v1, v220, v3, v245) │
00:00:41 verbose #1617 > │ else │
00:00:41 verbose #1618 > │ let v248 : bool = ' ' = v219 │
00:00:41 verbose #1619 > │ if v248 then │
00:00:41 verbose #1620 > │ let v249 : string = $"{v0} " │
00:00:41 verbose #1621 > │ method31(v249, v1, v220, v3) │
00:00:41 verbose #1622 > │ else │
00:00:41 verbose #1623 > │ let v252 : string = $"{v0}{v219}" │
00:00:41 verbose #1624 > │ method31(v252, v1, v220, v3) │
00:00:41 verbose #1625 > │ | _ -> │
00:00:41 verbose #1626 > │ let v262 : bool = v0 = "" │
00:00:41 verbose #1627 > │ let v266 : UH0 = │
00:00:41 verbose #1628 > │ if v262 then │
00:00:41 verbose #1629 > │ v1 │
00:00:41 verbose #1630 > │ else │
00:00:41 verbose #1631 > │ let v263 : UH0 = UH0_0 │
00:00:41 verbose #1632 > │ let v264 : UH0 = UH0_1(v0, v263) │
00:00:41 verbose #1633 > │ method32(v1, v264) │
00:00:41 verbose #1634 > │ struct (v266, v0) │
00:00:41 verbose #1635 > │ else │
00:00:41 verbose #1636 > │ match v2 with │
00:00:41 verbose #1637 > │ | UH1_1(v269, v270) -> (* Cons *) │
00:00:41 verbose #1638 > │ let v271 : bool = '\\' = v269 │
00:00:41 verbose #1639 > │ if v271 then │
00:00:41 verbose #1640 > │ let v272 : uint8 = 1uy │
00:00:41 verbose #1641 > │ let v273 : US5 = US5_2(v272) │
00:00:41 verbose #1642 > │ method30(v0, v1, v270, v3, v273) │
00:00:41 verbose #1643 > │ else │
00:00:41 verbose #1644 > │ let v276 : bool = '"' = v269 │
00:00:41 verbose #1645 > │ if v276 then │
00:00:41 verbose #1646 > │ let v277 : US5 = US5_2(0uy) │
00:00:41 verbose #1647 > │ let v278 : bool = v3 = v277 │
00:00:41 verbose #1648 > │ if v278 then │
00:00:41 verbose #1649 > │ let v279 : string = $"{v0}\"" │
00:00:41 verbose #1650 > │ let v280 : char = '"' │
00:00:41 verbose #1651 > │ let v281 : US5 = US5_1(v280) │
00:00:41 verbose #1652 > │ method30(v279, v1, v270, v3, v281) │
00:00:41 verbose #1653 > │ else │
00:00:41 verbose #1654 > │ let v284 : UH0 = UH0_0 │
00:00:41 verbose #1655 > │ let v285 : UH0 = UH0_1(v0, v284) │
00:00:41 verbose #1656 > │ let v286 : UH0 = method32(v1, v285) │
00:00:41 verbose #1657 > │ let v287 : string = "" │
00:00:41 verbose #1658 > │ let v288 : US5 = US5_0 │
00:00:41 verbose #1659 > │ method30(v287, v286, v270, v3, v288) │
00:00:41 verbose #1660 > │ else │
00:00:41 verbose #1661 > │ let v293 : bool = ' ' = v269 │
00:00:41 verbose #1662 > │ if v293 then │
00:00:41 verbose #1663 > │ let v294 : string = $"{v0} " │
00:00:41 verbose #1664 > │ method31(v294, v1, v270, v3) │
00:00:41 verbose #1665 > │ else │
00:00:41 verbose #1666 > │ let v297 : string = $"{v0}{v269}" │
00:00:41 verbose #1667 > │ method31(v297, v1, v270, v3) │
00:00:41 verbose #1668 > │ | _ -> │
00:00:41 verbose #1669 > │ let v307 : bool = v0 = "" │
00:00:41 verbose #1670 > │ let v311 : UH0 = │
00:00:41 verbose #1671 > │ if v307 then │
00:00:41 verbose #1672 > │ v1 │
00:00:41 verbose #1673 > │ else │
00:00:41 verbose #1674 > │ let v308 : UH0 = UH0_0 │
00:00:41 verbose #1675 > │ let v309 : UH0 = UH0_1(v0, v308) │
00:00:41 verbose #1676 > │ method32(v1, v309) │
00:00:41 verbose #1677 > │ struct (v311, v0) │
00:00:41 verbose #1678 > │ | US5_0 -> (* Start *) │
00:00:41 verbose #1679 > │ match v2 with │
00:00:41 verbose #1680 > │ | UH1_1(v4, v5) -> (* Cons *) │
00:00:41 verbose #1681 > │ let v6 : bool = '"' = v4 │
00:00:41 verbose #1682 > │ if v6 then │
00:00:41 verbose #1683 > │ let v7 : string = "" │
00:00:41 verbose #1684 > │ let v8 : char = '"' │
00:00:41 verbose #1685 > │ let v9 : US5 = US5_1(v8) │
00:00:41 verbose #1686 > │ method30(v7, v1, v5, v3, v9) │
00:00:41 verbose #1687 > │ else │
00:00:41 verbose #1688 > │ let v12 : bool = '\\' = v4 │
00:00:41 verbose #1689 > │ if v12 then │
00:00:41 verbose #1690 > │ let v13 : uint8 = 0uy │
00:00:41 verbose #1691 > │ let v14 : US5 = US5_2(v13) │
00:00:41 verbose #1692 > │ method30(v0, v1, v5, v3, v14) │
00:00:41 verbose #1693 > │ else │
00:00:41 verbose #1694 > │ let v17 : bool = ' ' = v4 │
00:00:41 verbose #1695 > │ if v17 then │
00:00:41 verbose #1696 > │ let v19 : bool = v0 = "" │
00:00:41 verbose #1697 > │ let v23 : UH0 = │
00:00:41 verbose #1698 > │ if v19 then │
00:00:41 verbose #1699 > │ v1 │
00:00:41 verbose #1700 > │ else │
00:00:41 verbose #1701 > │ let v20 : UH0 = UH0_0 │
00:00:41 verbose #1702 > │ let v21 : UH0 = UH0_1(v0, v20) │
00:00:41 verbose #1703 > │ method32(v1, v21) │
00:00:41 verbose #1704 > │ let v24 : string = "" │
00:00:41 verbose #1705 > │ method31(v24, v23, v5, v3) │
00:00:41 verbose #1706 > │ else │
00:00:41 verbose #1707 > │ let v27 : string = $"{v0}{v4}" │
00:00:41 verbose #1708 > │ method31(v27, v1, v5, v3) │
00:00:41 verbose #1709 > │ | _ -> │
00:00:41 verbose #1710 > │ let v37 : bool = v0 = "" │
00:00:41 verbose #1711 > │ let v41 : UH0 = │
00:00:41 verbose #1712 > │ if v37 then │
00:00:41 verbose #1713 > │ v1 │
00:00:41 verbose #1714 > │ else │
00:00:41 verbose #1715 > │ let v38 : UH0 = UH0_0 │
00:00:41 verbose #1716 > │ let v39 : UH0 = UH0_1(v0, v38) │
00:00:41 verbose #1717 > │ method32(v1, v39) │
00:00:41 verbose #1718 > │ struct (v41, v0) │
00:00:41 verbose #1719 > │ and method30 (v0 : string, v1 : UH0, v2 : UH1, v3 : US5, v4 : US5) : struct │
00:00:41 verbose #1720 > │ (UH0 * string) = │
00:00:41 verbose #1721 > │ match v4 with │
00:00:41 verbose #1722 > │ | US5_2(v45) -> (* Escaped *) │
00:00:41 verbose #1723 > │ match v2 with │
00:00:41 verbose #1724 > │ | UH1_1(v46, v47) -> (* Cons *) │
00:00:41 verbose #1725 > │ let v48 : bool = '\\' = v46 │
00:00:41 verbose #1726 > │ if v48 then │
00:00:41 verbose #1727 > │ let v49 : char = '\\' │
00:00:41 verbose #1728 > │ let v50 : US5 = US5_1(v49) │
00:00:41 verbose #1729 > │ method30(v0, v1, v47, v4, v50) │
00:00:41 verbose #1730 > │ else │
00:00:41 verbose #1731 > │ let v53 : bool = '"' = v46 │
00:00:41 verbose #1732 > │ if v53 then │
00:00:41 verbose #1733 > │ let v55 : bool = │
00:00:41 verbose #1734 > │ match v3 with │
00:00:41 verbose #1735 > │ | US5_0 -> (* Start *) │
00:00:41 verbose #1736 > │ true │
00:00:41 verbose #1737 > │ | _ -> │
00:00:41 verbose #1738 > │ false │
00:00:41 verbose #1739 > │ if v55 then │
00:00:41 verbose #1740 > │ method31(v0, v1, v47, v4) │
00:00:41 verbose #1741 > │ else │
00:00:41 verbose #1742 > │ let v58 : string = $"{v0}\"" │
00:00:41 verbose #1743 > │ let v59 : US5 = US5_2(v45) │
00:00:41 verbose #1744 > │ method30(v58, v1, v47, v4, v59) │
00:00:41 verbose #1745 > │ else │
00:00:41 verbose #1746 > │ let v64 : bool = ' ' = v46 │
00:00:41 verbose #1747 > │ if v64 then │
00:00:41 verbose #1748 > │ let v65 : string = $"{v0} " │
00:00:41 verbose #1749 > │ method31(v65, v1, v47, v4) │
00:00:41 verbose #1750 > │ else │
00:00:41 verbose #1751 > │ let v68 : bool = 1uy = v45 │
00:00:41 verbose #1752 > │ if v68 then │
00:00:41 verbose #1753 > │ let v69 : bool = v3 <> v4 │
00:00:41 verbose #1754 > │ if v69 then │
00:00:41 verbose #1755 > │ let v70 : string = $"{v0}\{v46}" │
00:00:41 verbose #1756 > │ method30(v70, v1, v47, v4, v3) │
00:00:41 verbose #1757 > │ else │
00:00:41 verbose #1758 > │ let v73 : string = $"{v0}{v46}" │
00:00:41 verbose #1759 > │ method31(v73, v1, v47, v4) │
00:00:41 verbose #1760 > │ else │
00:00:41 verbose #1761 > │ let v78 : string = $"{v0}{v46}" │
00:00:41 verbose #1762 > │ method31(v78, v1, v47, v4) │
00:00:41 verbose #1763 > │ | _ -> │
00:00:41 verbose #1764 > │ let v89 : bool = 1uy = v45 │
00:00:41 verbose #1765 > │ if v89 then │
00:00:41 verbose #1766 > │ let v91 : bool = v0 = "" │
00:00:41 verbose #1767 > │ let v95 : UH0 = │
00:00:41 verbose #1768 > │ if v91 then │
00:00:41 verbose #1769 > │ v1 │
00:00:41 verbose #1770 > │ else │
00:00:41 verbose #1771 > │ let v92 : UH0 = UH0_0 │
00:00:41 verbose #1772 > │ let v93 : UH0 = UH0_1(v0, v92) │
00:00:41 verbose #1773 > │ method32(v1, v93) │
00:00:41 verbose #1774 > │ struct (v95, v0) │
00:00:41 verbose #1775 > │ else │
00:00:41 verbose #1776 > │ let v97 : bool = v0 = "" │
00:00:41 verbose #1777 > │ let v101 : UH0 = │
00:00:41 verbose #1778 > │ if v97 then │
00:00:41 verbose #1779 > │ v1 │
00:00:41 verbose #1780 > │ else │
00:00:41 verbose #1781 > │ let v98 : UH0 = UH0_0 │
00:00:41 verbose #1782 > │ let v99 : UH0 = UH0_1(v0, v98) │
00:00:41 verbose #1783 > │ method32(v1, v99) │
00:00:41 verbose #1784 > │ struct (v101, v0) │
00:00:41 verbose #1785 > │ | US5_1(v106) -> (* Quoted *) │
00:00:41 verbose #1786 > │ let v107 : bool = '"' = v106 │
00:00:41 verbose #1787 > │ if v107 then │
00:00:41 verbose #1788 > │ match v2 with │
00:00:41 verbose #1789 > │ | UH1_1(v108, v109) -> (* Cons *) │
00:00:41 verbose #1790 > │ let v110 : bool = '"' = v108 │
00:00:41 verbose #1791 > │ if v110 then │
00:00:41 verbose #1792 > │ let v111 : US5 = US5_1('\\') │
00:00:41 verbose #1793 > │ let v112 : bool = v3 = v111 │
00:00:41 verbose #1794 > │ if v112 then │
00:00:41 verbose #1795 > │ let v113 : US5 = US5_0 │
00:00:41 verbose #1796 > │ method30(v0, v1, v109, v4, v113) │
00:00:41 verbose #1797 > │ else │
00:00:41 verbose #1798 > │ let v116 : bool = '\\' = v106 │
00:00:41 verbose #1799 > │ if v116 then │
00:00:41 verbose #1800 > │ let v117 : US5 = US5_2(0uy) │
00:00:41 verbose #1801 > │ let v118 : bool = v3 <> v117 │
00:00:41 verbose #1802 > │ if v118 then │
00:00:41 verbose #1803 > │ let v119 : string = $"{v0}\"" │
00:00:41 verbose #1804 > │ let v120 : char = '"' │
00:00:41 verbose #1805 > │ let v121 : US5 = US5_1(v120) │
00:00:41 verbose #1806 > │ method30(v119, v1, v109, v4, v121) │
00:00:41 verbose #1807 > │ else │
00:00:41 verbose #1808 > │ let v124 : US5 = US5_1('\\') │
00:00:41 verbose #1809 > │ let v125 : bool = v3 = v124 │
00:00:41 verbose #1810 > │ if v125 then │
00:00:41 verbose #1811 > │ let v126 : string = $"{v0}\"" │
00:00:41 verbose #1812 > │ let v127 : char = '"' │
00:00:41 verbose #1813 > │ let v128 : US5 = US5_1(v127) │
00:00:41 verbose #1814 > │ method30(v126, v1, v109, v4, v128) │
00:00:41 verbose #1815 > │ else │
00:00:41 verbose #1816 > │ let v131 : US5 = US5_0 │
00:00:41 verbose #1817 > │ method30(v0, v1, v109, v4, v131) │
00:00:41 verbose #1818 > │ else │
00:00:41 verbose #1819 > │ let v138 : bool = '\\' = v108 │
00:00:41 verbose #1820 > │ if v138 then │
00:00:41 verbose #1821 > │ let v139 : uint8 = 1uy │
00:00:41 verbose #1822 > │ let v140 : US5 = US5_2(v139) │
00:00:41 verbose #1823 > │ method30(v0, v1, v109, v4, v140) │
00:00:41 verbose #1824 > │ else │
00:00:41 verbose #1825 > │ let v143 : US5 = US5_2(0uy) │
00:00:41 verbose #1826 > │ let v144 : bool = v3 = v143 │
00:00:41 verbose #1827 > │ if v144 then │
00:00:41 verbose #1828 > │ let v145 : string = $"{v0}\"" │
00:00:41 verbose #1829 > │ let v146 : char = '"' │
00:00:41 verbose #1830 > │ let v147 : US5 = US5_1(v146) │
00:00:41 verbose #1831 > │ method30(v145, v1, v109, v4, v147) │
00:00:41 verbose #1832 > │ else │
00:00:41 verbose #1833 > │ let v150 : UH0 = UH0_0 │
00:00:41 verbose #1834 > │ let v151 : UH0 = UH0_1(v0, v150) │
00:00:41 verbose #1835 > │ let v152 : UH0 = method32(v1, v151) │
00:00:41 verbose #1836 > │ let v153 : string = "" │
00:00:41 verbose #1837 > │ let v154 : US5 = US5_0 │
00:00:41 verbose #1838 > │ method30(v153, v152, v109, v4, v154) │
00:00:41 verbose #1839 > │ else │
00:00:41 verbose #1840 > │ let v165 : bool = '\\' = v106 │
00:00:41 verbose #1841 > │ if v165 then │
00:00:41 verbose #1842 > │ let v166 : bool = '\\' = v108 │
00:00:41 verbose #1843 > │ if v166 then │
00:00:41 verbose #1844 > │ let v167 : uint8 = 1uy │
00:00:41 verbose #1845 > │ let v168 : US5 = US5_2(v167) │
00:00:41 verbose #1846 > │ method30(v0, v1, v109, v4, v168) │
00:00:41 verbose #1847 > │ else │
00:00:41 verbose #1848 > │ let v171 : bool = ' ' = v108 │
00:00:41 verbose #1849 > │ if v171 then │
00:00:41 verbose #1850 > │ let v172 : string = $"{v0} " │
00:00:41 verbose #1851 > │ method31(v172, v1, v109, v4) │
00:00:41 verbose #1852 > │ else │
00:00:41 verbose #1853 > │ let v175 : string = $"{v0}{v108}" │
00:00:41 verbose #1854 > │ method31(v175, v1, v109, v4) │
00:00:41 verbose #1855 > │ else │
00:00:41 verbose #1856 > │ let v182 : bool = '\\' = v108 │
00:00:41 verbose #1857 > │ if v182 then │
00:00:41 verbose #1858 > │ let v183 : uint8 = 1uy │
00:00:41 verbose #1859 > │ let v184 : US5 = US5_2(v183) │
00:00:41 verbose #1860 > │ method30(v0, v1, v109, v4, v184) │
00:00:41 verbose #1861 > │ else │
00:00:41 verbose #1862 > │ let v187 : bool = ' ' = v108 │
00:00:41 verbose #1863 > │ if v187 then │
00:00:41 verbose #1864 > │ let v188 : string = $"{v0} " │
00:00:41 verbose #1865 > │ method31(v188, v1, v109, v4) │
00:00:41 verbose #1866 > │ else │
00:00:41 verbose #1867 > │ let v191 : string = $"{v0}{v108}" │
00:00:41 verbose #1868 > │ method31(v191, v1, v109, v4) │
00:00:41 verbose #1869 > │ | _ -> │
00:00:41 verbose #1870 > │ let v202 : bool = '\\' = v106 │
00:00:41 verbose #1871 > │ if v202 then │
00:00:41 verbose #1872 > │ let v204 : bool = v0 = "" │
00:00:41 verbose #1873 > │ let v208 : UH0 = │
00:00:41 verbose #1874 > │ if v204 then │
00:00:41 verbose #1875 > │ v1 │
00:00:41 verbose #1876 > │ else │
00:00:41 verbose #1877 > │ let v205 : UH0 = UH0_0 │
00:00:41 verbose #1878 > │ let v206 : UH0 = UH0_1(v0, v205) │
00:00:41 verbose #1879 > │ method32(v1, v206) │
00:00:41 verbose #1880 > │ struct (v208, v0) │
00:00:41 verbose #1881 > │ else │
00:00:41 verbose #1882 > │ let v210 : bool = v0 = "" │
00:00:41 verbose #1883 > │ let v214 : UH0 = │
00:00:41 verbose #1884 > │ if v210 then │
00:00:41 verbose #1885 > │ v1 │
00:00:41 verbose #1886 > │ else │
00:00:41 verbose #1887 > │ let v211 : UH0 = UH0_0 │
00:00:41 verbose #1888 > │ let v212 : UH0 = UH0_1(v0, v211) │
00:00:41 verbose #1889 > │ method32(v1, v212) │
00:00:41 verbose #1890 > │ struct (v214, v0) │
00:00:41 verbose #1891 > │ else │
00:00:41 verbose #1892 > │ let v219 : bool = '\\' = v106 │
00:00:41 verbose #1893 > │ if v219 then │
00:00:41 verbose #1894 > │ match v2 with │
00:00:41 verbose #1895 > │ | UH1_1(v220, v221) -> (* Cons *) │
00:00:41 verbose #1896 > │ let v222 : bool = '"' = v220 │
00:00:41 verbose #1897 > │ if v222 then │
00:00:41 verbose #1898 > │ let v223 : US5 = US5_2(0uy) │
00:00:41 verbose #1899 > │ let v224 : bool = v3 <> v223 │
00:00:41 verbose #1900 > │ if v224 then │
00:00:41 verbose #1901 > │ let v225 : string = $"{v0}\"" │
00:00:41 verbose #1902 > │ let v226 : char = '"' │
00:00:41 verbose #1903 > │ let v227 : US5 = US5_1(v226) │
00:00:41 verbose #1904 > │ method30(v225, v1, v221, v4, v227) │
00:00:41 verbose #1905 > │ else │
00:00:41 verbose #1906 > │ let v230 : US5 = US5_1('\\') │
00:00:41 verbose #1907 > │ let v231 : bool = v3 = v230 │
00:00:41 verbose #1908 > │ if v231 then │
00:00:41 verbose #1909 > │ let v232 : string = $"{v0}\"" │
00:00:41 verbose #1910 > │ let v233 : char = '"' │
00:00:41 verbose #1911 > │ let v234 : US5 = US5_1(v233) │
00:00:41 verbose #1912 > │ method30(v232, v1, v221, v4, v234) │
00:00:41 verbose #1913 > │ else │
00:00:41 verbose #1914 > │ let v237 : US5 = US5_0 │
00:00:41 verbose #1915 > │ method30(v0, v1, v221, v4, v237) │
00:00:41 verbose #1916 > │ else │
00:00:41 verbose #1917 > │ let v244 : bool = '\\' = v220 │
00:00:41 verbose #1918 > │ if v244 then │
00:00:41 verbose #1919 > │ let v245 : uint8 = 1uy │
00:00:41 verbose #1920 > │ let v246 : US5 = US5_2(v245) │
00:00:41 verbose #1921 > │ method30(v0, v1, v221, v4, v246) │
00:00:41 verbose #1922 > │ else │
00:00:41 verbose #1923 > │ let v249 : bool = ' ' = v220 │
00:00:41 verbose #1924 > │ if v249 then │
00:00:41 verbose #1925 > │ let v250 : string = $"{v0} " │
00:00:41 verbose #1926 > │ method31(v250, v1, v221, v4) │
00:00:41 verbose #1927 > │ else │
00:00:41 verbose #1928 > │ let v253 : string = $"{v0}{v220}" │
00:00:41 verbose #1929 > │ method31(v253, v1, v221, v4) │
00:00:41 verbose #1930 > │ | _ -> │
00:00:41 verbose #1931 > │ let v263 : bool = v0 = "" │
00:00:41 verbose #1932 > │ let v267 : UH0 = │
00:00:41 verbose #1933 > │ if v263 then │
00:00:41 verbose #1934 > │ v1 │
00:00:41 verbose #1935 > │ else │
00:00:41 verbose #1936 > │ let v264 : UH0 = UH0_0 │
00:00:41 verbose #1937 > │ let v265 : UH0 = UH0_1(v0, v264) │
00:00:41 verbose #1938 > │ method32(v1, v265) │
00:00:41 verbose #1939 > │ struct (v267, v0) │
00:00:41 verbose #1940 > │ else │
00:00:41 verbose #1941 > │ match v2 with │
00:00:41 verbose #1942 > │ | UH1_1(v270, v271) -> (* Cons *) │
00:00:41 verbose #1943 > │ let v272 : bool = '\\' = v270 │
00:00:41 verbose #1944 > │ if v272 then │
00:00:41 verbose #1945 > │ let v273 : uint8 = 1uy │
00:00:41 verbose #1946 > │ let v274 : US5 = US5_2(v273) │
00:00:41 verbose #1947 > │ method30(v0, v1, v271, v4, v274) │
00:00:41 verbose #1948 > │ else │
00:00:41 verbose #1949 > │ let v277 : bool = '"' = v270 │
00:00:41 verbose #1950 > │ if v277 then │
00:00:41 verbose #1951 > │ let v278 : US5 = US5_2(0uy) │
00:00:41 verbose #1952 > │ let v279 : bool = v3 = v278 │
00:00:41 verbose #1953 > │ if v279 then │
00:00:41 verbose #1954 > │ let v280 : string = $"{v0}\"" │
00:00:41 verbose #1955 > │ let v281 : char = '"' │
00:00:41 verbose #1956 > │ let v282 : US5 = US5_1(v281) │
00:00:41 verbose #1957 > │ method30(v280, v1, v271, v4, v282) │
00:00:41 verbose #1958 > │ else │
00:00:41 verbose #1959 > │ let v285 : UH0 = UH0_0 │
00:00:41 verbose #1960 > │ let v286 : UH0 = UH0_1(v0, v285) │
00:00:41 verbose #1961 > │ let v287 : UH0 = method32(v1, v286) │
00:00:41 verbose #1962 > │ let v288 : string = "" │
00:00:41 verbose #1963 > │ let v289 : US5 = US5_0 │
00:00:41 verbose #1964 > │ method30(v288, v287, v271, v4, v289) │
00:00:41 verbose #1965 > │ else │
00:00:41 verbose #1966 > │ let v294 : bool = ' ' = v270 │
00:00:41 verbose #1967 > │ if v294 then │
00:00:41 verbose #1968 > │ let v295 : string = $"{v0} " │
00:00:41 verbose #1969 > │ method31(v295, v1, v271, v4) │
00:00:41 verbose #1970 > │ else │
00:00:41 verbose #1971 > │ let v298 : string = $"{v0}{v270}" │
00:00:41 verbose #1972 > │ method31(v298, v1, v271, v4) │
00:00:41 verbose #1973 > │ | _ -> │
00:00:41 verbose #1974 > │ let v308 : bool = v0 = "" │
00:00:41 verbose #1975 > │ let v312 : UH0 = │
00:00:41 verbose #1976 > │ if v308 then │
00:00:41 verbose #1977 > │ v1 │
00:00:41 verbose #1978 > │ else │
00:00:41 verbose #1979 > │ let v309 : UH0 = UH0_0 │
00:00:41 verbose #1980 > │ let v310 : UH0 = UH0_1(v0, v309) │
00:00:41 verbose #1981 > │ method32(v1, v310) │
00:00:41 verbose #1982 > │ struct (v312, v0) │
00:00:41 verbose #1983 > │ | US5_0 -> (* Start *) │
00:00:41 verbose #1984 > │ match v2 with │
00:00:41 verbose #1985 > │ | UH1_1(v5, v6) -> (* Cons *) │
00:00:41 verbose #1986 > │ let v7 : bool = '"' = v5 │
00:00:41 verbose #1987 > │ if v7 then │
00:00:41 verbose #1988 > │ let v8 : string = "" │
00:00:41 verbose #1989 > │ let v9 : char = '"' │
00:00:41 verbose #1990 > │ let v10 : US5 = US5_1(v9) │
00:00:41 verbose #1991 > │ method30(v8, v1, v6, v4, v10) │
00:00:41 verbose #1992 > │ else │
00:00:41 verbose #1993 > │ let v13 : bool = '\\' = v5 │
00:00:41 verbose #1994 > │ if v13 then │
00:00:41 verbose #1995 > │ let v14 : uint8 = 0uy │
00:00:41 verbose #1996 > │ let v15 : US5 = US5_2(v14) │
00:00:41 verbose #1997 > │ method30(v0, v1, v6, v4, v15) │
00:00:41 verbose #1998 > │ else │
00:00:41 verbose #1999 > │ let v18 : bool = ' ' = v5 │
00:00:41 verbose #2000 > │ if v18 then │
00:00:41 verbose #2001 > │ let v20 : bool = v0 = "" │
00:00:41 verbose #2002 > │ let v24 : UH0 = │
00:00:41 verbose #2003 > │ if v20 then │
00:00:41 verbose #2004 > │ v1 │
00:00:41 verbose #2005 > │ else │
00:00:41 verbose #2006 > │ let v21 : UH0 = UH0_0 │
00:00:41 verbose #2007 > │ let v22 : UH0 = UH0_1(v0, v21) │
00:00:41 verbose #2008 > │ method32(v1, v22) │
00:00:41 verbose #2009 > │ let v25 : string = "" │
00:00:41 verbose #2010 > │ method31(v25, v24, v6, v4) │
00:00:41 verbose #2011 > │ else │
00:00:41 verbose #2012 > │ let v28 : string = $"{v0}{v5}" │
00:00:41 verbose #2013 > │ method31(v28, v1, v6, v4) │
00:00:41 verbose #2014 > │ | _ -> │
00:00:41 verbose #2015 > │ let v38 : bool = v0 = "" │
00:00:41 verbose #2016 > │ let v42 : UH0 = │
00:00:41 verbose #2017 > │ if v38 then │
00:00:41 verbose #2018 > │ v1 │
00:00:41 verbose #2019 > │ else │
00:00:41 verbose #2020 > │ let v39 : UH0 = UH0_0 │
00:00:41 verbose #2021 > │ let v40 : UH0 = UH0_1(v0, v39) │
00:00:41 verbose #2022 > │ method32(v1, v40) │
00:00:41 verbose #2023 > │ struct (v42, v0) │
00:00:41 verbose #2024 > │ and method33 (v0 : UH0, v1 : string list) : string list = │
00:00:41 verbose #2025 > │ match v0 with │
00:00:41 verbose #2026 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:00:41 verbose #2027 > │ let v4 : string list = method33(v3, v1) │
00:00:41 verbose #2028 > │ let v5 : string list = v2 :: v4 │
00:00:41 verbose #2029 > │ v5 │
00:00:41 verbose #2030 > │ | UH0_0 -> (* Nil *) │
00:00:41 verbose #2031 > │ v1 │
00:00:41 verbose #2032 > │ and method27 (v0 : string) : (string []) = │
00:00:41 verbose #2033 > │ let v1 : UH0 = UH0_0 │
00:00:41 verbose #2034 > │ let v2 : string = "" │
00:00:41 verbose #2035 > │ let v3 : bool = true in let mutable _v0 = None │
00:00:41 verbose #2036 > │ #if !FABLE_COMPILER && !WASM && !CONTRACT │
00:00:41 verbose #2037 > │ let v4 : (string -> string option) = Option.ofObj │
00:00:41 verbose #2038 > │ let v5 : string option = v4 v0 │
00:00:41 verbose #2039 > │ v5 │
00:00:41 verbose #2040 > │ #else │
00:00:41 verbose #2041 > │ Some v0 │
00:00:41 verbose #2042 > │ #endif │
00:00:41 verbose #2043 > │ |> fun x -> _v0 <- Some x │
00:00:41 verbose #2044 > │ let v6 : string option = _v0.Value │
00:00:41 verbose #2045 > │ let v7 : (string -> US4) = method28() │
00:00:41 verbose #2046 > │ let v8 : US4 = US4_1 │
00:00:41 verbose #2047 > │ let v9 : US4 = v6 |> Option.map v7 |> Option.defaultValue v8 │
00:00:41 verbose #2048 > │ let v12 : string = │
00:00:41 verbose #2049 > │ match v9 with │
00:00:41 verbose #2050 > │ | US4_1 -> (* None *) │
00:00:41 verbose #2051 > │ v2 │
00:00:41 verbose #2052 > │ | US4_0(v10) -> (* Some *) │
00:00:41 verbose #2053 > │ v10 │
00:00:41 verbose #2054 > │ let v13 : int32 = v12.Length │
00:00:41 verbose #2055 > │ let v14 : (char []) = Array.zeroCreate<char> (v13) │
00:00:41 verbose #2056 > │ let v15 : Mut5 = {l0 = 0} : Mut5 │
00:00:41 verbose #2057 > │ while method22(v13, v15) do │
00:00:41 verbose #2058 > │ let v17 : int32 = v15.l0 │
00:00:41 verbose #2059 > │ let v18 : char = v12.[int v17] │
00:00:41 verbose #2060 > │ v14.[int v17] <- v18 │
00:00:41 verbose #2061 > │ let v19 : int32 = v17 + 1 │
00:00:41 verbose #2062 > │ v15.l0 <- v19 │
00:00:41 verbose #2063 > │ () │
00:00:41 verbose #2064 > │ let v20 : ((char []) -> char list) = Array.toList │
00:00:41 verbose #2065 > │ let v21 : char list = v20 v14 │
00:00:41 verbose #2066 > │ let v22 : ((char -> (UH1 -> UH1)) -> (char list -> (UH1 -> UH1))) = │
00:00:41 verbose #2067 > │ List.foldBack │
00:00:41 verbose #2068 > │ let v23 : (char -> (UH1 -> UH1)) = method29() │
00:00:41 verbose #2069 > │ let v24 : (char list -> (UH1 -> UH1)) = v22 v23 │
00:00:41 verbose #2070 > │ let v25 : (UH1 -> UH1) = v24 v21 │
00:00:41 verbose #2071 > │ let v26 : UH1 = UH1_0 │
00:00:41 verbose #2072 > │ let v27 : UH1 = v25 v26 │
00:00:41 verbose #2073 > │ let v28 : US5 = US5_0 │
00:00:41 verbose #2074 > │ let v29 : US5 = US5_0 │
00:00:41 verbose #2075 > │ let struct (v30 : UH0, v31 : string) = method30(v2, v1, v27, v29, v28) │
00:00:41 verbose #2076 > │ let v32 : string list = [] │
00:00:41 verbose #2077 > │ let v33 : string list = method33(v30, v32) │
00:00:41 verbose #2078 > │ let v34 : (string list -> (string [])) = List.toArray │
00:00:41 verbose #2079 > │ let v35 : (string []) = v34 v33 │
00:00:41 verbose #2080 > │ v35 │
00:00:41 verbose #2081 > │ and closure15 () (v0 : string) : std_string_String = │
00:00:41 verbose #2082 > │ let v1 : string = method14(v0) │
00:00:41 verbose #2083 > │ let v2 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #2084 > │ let v3 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v1 v2 │
00:00:41 verbose #2085 > │ let v4 : string = "String::from($0)" │
00:00:41 verbose #2086 > │ let v5 : std_string_String = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:00:41 verbose #2087 > │ v5 │
00:00:41 verbose #2088 > │ and closure16 () (v0 : Ref<Str>) : std_string_String = │
00:00:41 verbose #2089 > │ let v1 : string = "String::from($0)" │
00:00:41 verbose #2090 > │ let v2 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v1 │
00:00:41 verbose #2091 > │ v2 │
00:00:41 verbose #2092 > │ and closure17 () struct (v0 : std_string_String, v1 : clap_ArgMatches) : US6 │
00:00:41 verbose #2093 > │ = │
00:00:41 verbose #2094 > │ US6_0(v0, v1) │
00:00:41 verbose #2095 > │ and method34 () : (struct (std_string_String * clap_ArgMatches) -> US6) = │
00:00:41 verbose #2096 > │ closure17() │
00:00:41 verbose #2097 > │ and closure18 () () : string = │
00:00:41 verbose #2098 > │ let v0 : string = "builder.run" │
00:00:41 verbose #2099 > │ v0 │
00:00:41 verbose #2100 > │ and closure19 (v0 : std_string_String) () : string = │
00:00:41 verbose #2101 > │ let v1 : (unit -> string) = closure6() │
00:00:41 verbose #2102 > │ let v2 : string = $"subcommand: {v0} / {v1 ()}" │
00:00:41 verbose #2103 > │ v2 │
00:00:41 verbose #2104 > │ and closure20 () () : string = │
00:00:41 verbose #2105 > │ let v0 : string = "builder.run" │
00:00:41 verbose #2106 > │ v0 │
00:00:41 verbose #2107 > │ and closure21 (v0 : string) () : string = │
00:00:41 verbose #2108 > │ let v1 : (unit -> string) = closure6() │
00:00:41 verbose #2109 > │ let v2 : string = $"result: {v0} / {v1 ()}" │
00:00:41 verbose #2110 > │ v2 │
00:00:41 verbose #2111 > │ and method35 (v0 : Result<string, std_string_String>) : Result<string, │
00:00:41 verbose #2112 > │ std_string_String> = │
00:00:41 verbose #2113 > │ v0 │
00:00:41 verbose #2114 > │ and method25 (v0 : string, v1 : string) : │
00:00:41 verbose #2115 > │ std_pin_Pin<Box<Dyn<std_future_Future<Result<string, std_string_String>>>>> │
00:00:41 verbose #2116 > │ = │
00:00:41 verbose #2117 > │ let v2 : string = "let __result = Box::pin(async move { //" │
00:00:41 verbose #2118 > │ Fable.Core.RustInterop.emitRustExpr () v2 │
00:00:41 verbose #2119 > │ let v3 : clap_Command = method26() │
00:00:41 verbose #2120 > │ let v4 : string = $"builder {v0}" │
00:00:41 verbose #2121 > │ let v5 : (string []) = method27(v4) │
00:00:41 verbose #2122 > │ let v6 : string = "$0.to_vec()" │
00:00:41 verbose #2123 > │ let v7 : Vec<string> = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:00:41 verbose #2124 > │ let v8 : string = "$0.iter().map(|x| $1(x.clone())).collect()" │
00:00:41 verbose #2125 > │ let v9 : (string -> std_string_String) = closure15() │
00:00:41 verbose #2126 > │ let v10 : Vec<std_string_String> = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #2127 > │ struct (v7, v9) v8 │
00:00:41 verbose #2128 > │ let v11 : string = "clap::Command::get_matches_from($0, v10)" │
00:00:41 verbose #2129 > │ let v12 : clap_ArgMatches = Fable.Core.RustInterop.emitRustExpr v3 v11 │
00:00:41 verbose #2130 > │ let v13 : string = "v12.clone()" │
00:00:41 verbose #2131 > │ let v14 : clap_ArgMatches = Fable.Core.RustInterop.emitRustExpr () v13 │
00:00:41 verbose #2132 > │ let v15 : string = │
00:00:41 verbose #2133 > │ "clap::ArgMatches::subcommand(Box::leak(Box::new(v14))).map(|(a, b)| ($0(a), │
00:00:41 verbose #2134 > │ b.clone()))" │
00:00:41 verbose #2135 > │ let v16 : (Ref<Str> -> std_string_String) = closure16() │
00:00:41 verbose #2136 > │ let v17 : struct (std_string_String * clap_ArgMatches) option = │
00:00:41 verbose #2137 > │ Fable.Core.RustInterop.emitRustExpr v16 v15 │
00:00:41 verbose #2138 > │ let v18 : (struct (std_string_String * clap_ArgMatches) -> US6) = │
00:00:41 verbose #2139 > │ method34() │
00:00:41 verbose #2140 > │ let v19 : US6 = US6_1 │
00:00:41 verbose #2141 > │ let v20 : US6 = v17 |> Option.map v18 |> Option.defaultValue v19 │
00:00:41 verbose #2142 > │ let v28 : string = │
00:00:41 verbose #2143 > │ match v20 with │
00:00:41 verbose #2144 > │ | US6_0(v21, v22) -> (* Some *) │
00:00:41 verbose #2145 > │ let v23 : US0 = US0_1 │
00:00:41 verbose #2146 > │ let v24 : (unit -> string) = closure18() │
00:00:41 verbose #2147 > │ let v25 : (unit -> string) = closure19(v21) │
00:00:41 verbose #2148 > │ method3(v23, v24, v25) │
00:00:41 verbose #2149 > │ let v26 : string = $"""[package] │
00:00:41 verbose #2150 > │ name = "{v1}" │
00:00:41 verbose #2151 > │ version = "0.0.1" │
00:00:41 verbose #2152 > │ edition = "2021" │
00:00:41 verbose #2153 > │ │
00:00:41 verbose #2154 > │ [workspace] │
00:00:41 verbose #2155 > │ │
00:00:41 verbose #2156 > │ [dependencies] │
00:00:41 verbose #2157 > │ fable_library_rust = {{ path = "fable_modules/fable-library-rust", │
00:00:41 verbose #2158 > │ default-features = false, features = ["static_do_bindings", "datetime", │
00:00:41 verbose #2159 > │ "guid", "threaded"] }} │
00:00:41 verbose #2160 > │ clap = "~4.5" │
00:00:41 verbose #2161 > │ inline_colorization = "~0.1" │
00:00:41 verbose #2162 > │ regex = "~1.10" │
00:00:41 verbose #2163 > │ chrono = "~0.4" │
00:00:41 verbose #2164 > │ num-complex = "~0.4" │
00:00:41 verbose #2165 > │ pyo3 = "~0.21" │
00:00:41 verbose #2166 > │ async-std = "~1.12" │
00:00:41 verbose #2167 > │ futures = "~0.3" │
00:00:41 verbose #2168 > │ futures-lite = "~2.3" │
00:00:41 verbose #2169 > │ async-walkdir = "~1.0" │
00:00:41 verbose #2170 > │ rayon = "~1.10" │
00:00:41 verbose #2171 > │ │
00:00:41 verbose #2172 > │ [[bin]] │
00:00:41 verbose #2173 > │ name = "{v1}" │
00:00:41 verbose #2174 > │ path = "{v1}.rs" """ │
00:00:41 verbose #2175 > │ v26 │
00:00:41 verbose #2176 > │ | _ -> │
00:00:41 verbose #2177 > │ let v27 : string = "" │
00:00:41 verbose #2178 > │ v27 │
00:00:41 verbose #2179 > │ let v29 : US0 = US0_1 │
00:00:41 verbose #2180 > │ let v30 : (unit -> string) = closure20() │
00:00:41 verbose #2181 > │ let v31 : (unit -> string) = closure21(v28) │
00:00:41 verbose #2182 > │ method3(v29, v30, v31) │
00:00:41 verbose #2183 > │ let v32 : Result<string, std_string_String> = Ok v28 │
00:00:41 verbose #2184 > │ let v33 : Result<string, std_string_String> = method35(v32) │
00:00:41 verbose #2185 > │ let v34 : string = "v33 }}})" │
00:00:41 verbose #2186 > │ Fable.Core.RustInterop.emitRustExpr () v34 │
00:00:41 verbose #2187 > │ let v35 : string = "{{ //" │
00:00:41 verbose #2188 > │ Fable.Core.RustInterop.emitRustExpr () v35 │
00:00:41 verbose #2189 > │ let v36 : string = "__result" │
00:00:41 verbose #2190 > │ let v37 : std_pin_Pin<Box<Dyn<std_future_Future<Result<string, │
00:00:41 verbose #2191 > │ std_string_String>>>>> = Fable.Core.RustInterop.emitRustExpr () v36 │
00:00:41 verbose #2192 > │ v37 │
00:00:41 verbose #2193 > │ and method12 (v0 : string, v1 : string, v2 : string, v3 : string) : │
00:00:41 verbose #2194 > │ std_pin_Pin<Box<Dyn<std_future_Future<Result<string, std_string_String>>>>> │
00:00:41 verbose #2195 > │ = │
00:00:41 verbose #2196 > │ let v4 : string option = None │
00:00:41 verbose #2197 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:00:41 verbose #2198 > │ │
00:00:41 verbose #2199 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2200 > │ │
00:00:41 verbose #2201 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2202 > │ let v6 : string = method13(v3) │
00:00:41 verbose #2203 > │ let v7 : string = method14(v6) │
00:00:41 verbose #2204 > │ let v8 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #2205 > │ let v9 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:00:41 verbose #2206 > │ let v10 : string = "String::from($0)" │
00:00:41 verbose #2207 > │ let v11 : std_string_String = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:00:41 verbose #2208 > │ let v12 : string = "std::path::PathBuf::from($0)" │
00:00:41 verbose #2209 > │ let v13 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:00:41 verbose #2210 > │ let v14 : string = "$0.exists()" │
00:00:41 verbose #2211 > │ let v15 : bool = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:00:41 verbose #2212 > │ let v16 : bool = v15 = false │
00:00:41 verbose #2213 > │ let v163 : string = │
00:00:41 verbose #2214 > │ if v16 then │
00:00:41 verbose #2215 > │ let v17 : string option = None │
00:00:41 verbose #2216 > │ let v18 : bool = true in let mutable _v17 = v17 │
00:00:41 verbose #2217 > │ │
00:00:41 verbose #2218 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2219 > │ │
00:00:41 verbose #2220 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2221 > │ let v19 : string = "std::env::current_dir()" │
00:00:41 verbose #2222 > │ let v20 : Result<std_path_PathBuf, std_io_Error> = │
00:00:41 verbose #2223 > │ Fable.Core.RustInterop.emitRustExpr () v19 │
00:00:41 verbose #2224 > │ let v21 : string = "$0.unwrap()" │
00:00:41 verbose #2225 > │ let v22 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #2226 > │ v20 v21 │
00:00:41 verbose #2227 > │ let v23 : string = "$0.display()" │
00:00:41 verbose #2228 > │ let v24 : std_path_Display = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #2229 > │ v22 v23 │
00:00:41 verbose #2230 > │ let v25 : std_string_String option = None │
00:00:41 verbose #2231 > │ let v26 : bool = true in let mutable _v25 = v25 │
00:00:41 verbose #2232 > │ │
00:00:41 verbose #2233 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2234 > │ │
00:00:41 verbose #2235 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2236 > │ let v27 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2237 > │ let v28 : std_string_String = │
00:00:41 verbose #2238 > │ Fable.Core.RustInterop.emitRustExpr v24 v27 │
00:00:41 verbose #2239 > │ v28 │
00:00:41 verbose #2240 > │ #endif │
00:00:41 verbose #2241 > │ │
00:00:41 verbose #2242 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2243 > │ let v29 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2244 > │ let v30 : std_string_String = │
00:00:41 verbose #2245 > │ Fable.Core.RustInterop.emitRustExpr v24 v29 │
00:00:41 verbose #2246 > │ v30 │
00:00:41 verbose #2247 > │ #endif │
00:00:41 verbose #2248 > │ │
00:00:41 verbose #2249 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2250 > │ let v31 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2251 > │ let v32 : std_string_String = │
00:00:41 verbose #2252 > │ Fable.Core.RustInterop.emitRustExpr v24 v31 │
00:00:41 verbose #2253 > │ v32 │
00:00:41 verbose #2254 > │ #endif │
00:00:41 verbose #2255 > │ │
00:00:41 verbose #2256 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2257 > │ let v33 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2258 > │ v33 │
00:00:41 verbose #2259 > │ #endif │
00:00:41 verbose #2260 > │ │
00:00:41 verbose #2261 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2262 > │ let v34 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2263 > │ v34 │
00:00:41 verbose #2264 > │ #endif │
00:00:41 verbose #2265 > │ │
00:00:41 verbose #2266 > │ #else │
00:00:41 verbose #2267 > │ let v35 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2268 > │ v35 │
00:00:41 verbose #2269 > │ #endif │
00:00:41 verbose #2270 > │ |> fun x -> _v25 <- Some x │
00:00:41 verbose #2271 > │ let v36 : std_string_String = _v25.Value │
00:00:41 verbose #2272 > │ let v37 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2273 > │ let v38 : string = Fable.Core.RustInterop.emitRustExpr v36 v37 │
00:00:41 verbose #2274 > │ v38 │
00:00:41 verbose #2275 > │ #endif │
00:00:41 verbose #2276 > │ │
00:00:41 verbose #2277 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2278 > │ let v39 : string = null |> unbox<string> │
00:00:41 verbose #2279 > │ v39 │
00:00:41 verbose #2280 > │ #endif │
00:00:41 verbose #2281 > │ │
00:00:41 verbose #2282 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2283 > │ let v40 : string = null |> unbox<string> │
00:00:41 verbose #2284 > │ v40 │
00:00:41 verbose #2285 > │ #endif │
00:00:41 verbose #2286 > │ │
00:00:41 verbose #2287 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2288 > │ let v41 : string = null |> unbox<string> │
00:00:41 verbose #2289 > │ v41 │
00:00:41 verbose #2290 > │ #endif │
00:00:41 verbose #2291 > │ │
00:00:41 verbose #2292 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2293 > │ let v42 : string = null |> unbox<string> │
00:00:41 verbose #2294 > │ v42 │
00:00:41 verbose #2295 > │ #endif │
00:00:41 verbose #2296 > │ │
00:00:41 verbose #2297 > │ #else │
00:00:41 verbose #2298 > │ let v43 : (unit -> string) = │
00:00:41 verbose #2299 > │ System.IO.Directory.GetCurrentDirectory │
00:00:41 verbose #2300 > │ let v44 : string = v43 () │
00:00:41 verbose #2301 > │ v44 │
00:00:41 verbose #2302 > │ #endif │
00:00:41 verbose #2303 > │ |> fun x -> _v17 <- Some x │
00:00:41 verbose #2304 > │ let v45 : string = _v17.Value │
00:00:41 verbose #2305 > │ let v46 : string = method15(v45, v6) │
00:00:41 verbose #2306 > │ let v47 : string option = None │
00:00:41 verbose #2307 > │ let v48 : bool = true in let mutable _v47 = v47 │
00:00:41 verbose #2308 > │ │
00:00:41 verbose #2309 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2310 > │ │
00:00:41 verbose #2311 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2312 > │ let v49 : string = method18() │
00:00:41 verbose #2313 > │ let v50 : string = method19(v46) │
00:00:41 verbose #2314 > │ let v51 : string = method20() │
00:00:41 verbose #2315 > │ let v52 : string = │
00:00:41 verbose #2316 > │ $"regex::Regex::new(&$0).unwrap().replace_all(&$1, &*$2)" │
00:00:41 verbose #2317 > │ let v53 : std_borrow_Cow<Str> = │
00:00:41 verbose #2318 > │ Fable.Core.RustInterop.emitRustExpr struct (v49, v50, v51) v52 │
00:00:41 verbose #2319 > │ let v54 : string = "String::from($0)" │
00:00:41 verbose #2320 > │ let v55 : std_string_String = │
00:00:41 verbose #2321 > │ Fable.Core.RustInterop.emitRustExpr v53 v54 │
00:00:41 verbose #2322 > │ let v56 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2323 > │ let v57 : string = Fable.Core.RustInterop.emitRustExpr v55 v56 │
00:00:41 verbose #2324 > │ v57 │
00:00:41 verbose #2325 > │ #endif │
00:00:41 verbose #2326 > │ │
00:00:41 verbose #2327 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2328 > │ let v58 : string = null |> unbox<string> │
00:00:41 verbose #2329 > │ v58 │
00:00:41 verbose #2330 > │ #endif │
00:00:41 verbose #2331 > │ │
00:00:41 verbose #2332 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2333 > │ let v59 : string = null |> unbox<string> │
00:00:41 verbose #2334 > │ v59 │
00:00:41 verbose #2335 > │ #endif │
00:00:41 verbose #2336 > │ │
00:00:41 verbose #2337 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2338 > │ let v60 : string = null |> unbox<string> │
00:00:41 verbose #2339 > │ v60 │
00:00:41 verbose #2340 > │ #endif │
00:00:41 verbose #2341 > │ │
00:00:41 verbose #2342 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2343 > │ let v61 : string = null |> unbox<string> │
00:00:41 verbose #2344 > │ v61 │
00:00:41 verbose #2345 > │ #endif │
00:00:41 verbose #2346 > │ │
00:00:41 verbose #2347 > │ #else │
00:00:41 verbose #2348 > │ let v62 : string = "^\\\\\\\\\\?\\\\" │
00:00:41 verbose #2349 > │ let v63 : string = "" │
00:00:41 verbose #2350 > │ let v64 : string = System.Text.RegularExpressions.Regex.Replace │
00:00:41 verbose #2351 > │ (v46, v62, v63) │
00:00:41 verbose #2352 > │ v64 │
00:00:41 verbose #2353 > │ #endif │
00:00:41 verbose #2354 > │ |> fun x -> _v47 <- Some x │
00:00:41 verbose #2355 > │ let v65 : string = _v47.Value │
00:00:41 verbose #2356 > │ let v66 : string = $"{v65.[0] |> string |> _.ToLower()}{v65.[ │
00:00:41 verbose #2357 > │ 1..]}" │
00:00:41 verbose #2358 > │ let v67 : string = "\\" │
00:00:41 verbose #2359 > │ let v68 : string = "/" │
00:00:41 verbose #2360 > │ let v69 : string = v66.Replace (v67, v68) │
00:00:41 verbose #2361 > │ let v70 : (string []) = v69.Split v68 │
00:00:41 verbose #2362 > │ let v71 : (string []) = [||] │
00:00:41 verbose #2363 > │ let v72 : int32 = v70.Length │
00:00:41 verbose #2364 > │ let v73 : Mut4 = {l0 = 0; l1 = 0; l2 = v71} : Mut4 │
00:00:41 verbose #2365 > │ while method21(v72, v73) do │
00:00:41 verbose #2366 > │ let v75 : int32 = v73.l0 │
00:00:41 verbose #2367 > │ let v76 : int32 = -v75 │
00:00:41 verbose #2368 > │ let v77 : int32 = v76 + v72 │
00:00:41 verbose #2369 > │ let v78 : int32 = v77 - 1 │
00:00:41 verbose #2370 > │ let struct (v79 : int32, v80 : (string [])) = v73.l1, v73.l2 │
00:00:41 verbose #2371 > │ let v81 : string = v70.[int v78] │
00:00:41 verbose #2372 > │ let v82 : bool = ".." = v81 │
00:00:41 verbose #2373 > │ let struct (v121 : int32, v122 : (string [])) = │
00:00:41 verbose #2374 > │ if v82 then │
00:00:41 verbose #2375 > │ let v83 : int32 = v79 + 1 │
00:00:41 verbose #2376 > │ struct (v83, v80) │
00:00:41 verbose #2377 > │ else │
00:00:41 verbose #2378 > │ let v84 : bool = 0 = v79 │
00:00:41 verbose #2379 > │ if v84 then │
00:00:41 verbose #2380 > │ let v85 : string = ":" │
00:00:41 verbose #2381 > │ let v86 : bool = v81.EndsWith v85 │
00:00:41 verbose #2382 > │ if v86 then │
00:00:41 verbose #2383 > │ let v87 : string = $"{v45.[0]}:" │
00:00:41 verbose #2384 > │ let v88 : (string []) = [|v87|] │
00:00:41 verbose #2385 > │ let v89 : int32 = v88.Length │
00:00:41 verbose #2386 > │ let v90 : int32 = v80.Length │
00:00:41 verbose #2387 > │ let v91 : int32 = v89 + v90 │
00:00:41 verbose #2388 > │ let v92 : (string []) = │
00:00:41 verbose #2389 > │ Array.zeroCreate<string> (v91) │
00:00:41 verbose #2390 > │ let v93 : Mut5 = {l0 = 0} : Mut5 │
00:00:41 verbose #2391 > │ while method22(v91, v93) do │
00:00:41 verbose #2392 > │ let v95 : int32 = v93.l0 │
00:00:41 verbose #2393 > │ let v96 : bool = v95 < v89 │
00:00:41 verbose #2394 > │ let v100 : string = │
00:00:41 verbose #2395 > │ if v96 then │
00:00:41 verbose #2396 > │ let v97 : string = v88.[int v95] │
00:00:41 verbose #2397 > │ v97 │
00:00:41 verbose #2398 > │ else │
00:00:41 verbose #2399 > │ let v98 : int32 = v95 - v89 │
00:00:41 verbose #2400 > │ let v99 : string = v80.[int v98] │
00:00:41 verbose #2401 > │ v99 │
00:00:41 verbose #2402 > │ v92.[int v95] <- v100 │
00:00:41 verbose #2403 > │ let v101 : int32 = v95 + 1 │
00:00:41 verbose #2404 > │ v93.l0 <- v101 │
00:00:41 verbose #2405 > │ () │
00:00:41 verbose #2406 > │ struct (0, v92) │
00:00:41 verbose #2407 > │ else │
00:00:41 verbose #2408 > │ let v102 : (string []) = [|v81|] │
00:00:41 verbose #2409 > │ let v103 : int32 = v102.Length │
00:00:41 verbose #2410 > │ let v104 : int32 = v80.Length │
00:00:41 verbose #2411 > │ let v105 : int32 = v103 + v104 │
00:00:41 verbose #2412 > │ let v106 : (string []) = │
00:00:41 verbose #2413 > │ Array.zeroCreate<string> (v105) │
00:00:41 verbose #2414 > │ let v107 : Mut5 = {l0 = 0} : Mut5 │
00:00:41 verbose #2415 > │ while method22(v105, v107) do │
00:00:41 verbose #2416 > │ let v109 : int32 = v107.l0 │
00:00:41 verbose #2417 > │ let v110 : bool = v109 < v103 │
00:00:41 verbose #2418 > │ let v114 : string = │
00:00:41 verbose #2419 > │ if v110 then │
00:00:41 verbose #2420 > │ let v111 : string = v102.[int │
00:00:41 verbose #2421 > │ v109] │
00:00:41 verbose #2422 > │ v111 │
00:00:41 verbose #2423 > │ else │
00:00:41 verbose #2424 > │ let v112 : int32 = v109 - v103 │
00:00:41 verbose #2425 > │ let v113 : string = v80.[int │
00:00:41 verbose #2426 > │ v112] │
00:00:41 verbose #2427 > │ v113 │
00:00:41 verbose #2428 > │ v106.[int v109] <- v114 │
00:00:41 verbose #2429 > │ let v115 : int32 = v109 + 1 │
00:00:41 verbose #2430 > │ v107.l0 <- v115 │
00:00:41 verbose #2431 > │ () │
00:00:41 verbose #2432 > │ struct (0, v106) │
00:00:41 verbose #2433 > │ else │
00:00:41 verbose #2434 > │ let v118 : int32 = v79 - 1 │
00:00:41 verbose #2435 > │ struct (v118, v80) │
00:00:41 verbose #2436 > │ let v123 : int32 = v75 + 1 │
00:00:41 verbose #2437 > │ v73.l0 <- v123 │
00:00:41 verbose #2438 > │ v73.l1 <- v121 │
00:00:41 verbose #2439 > │ v73.l2 <- v122 │
00:00:41 verbose #2440 > │ () │
00:00:41 verbose #2441 > │ let struct (v124 : int32, v125 : (string [])) = v73.l1, v73.l2 │
00:00:41 verbose #2442 > │ let v126 : string seq = seq { for i = 0 to v125.Length - 1 do │
00:00:41 verbose #2443 > │ yield v125.[i] } │
00:00:41 verbose #2444 > │ let v127 : char option = None │
00:00:41 verbose #2445 > │ let v128 : bool = true in let mutable _v127 = v127 │
00:00:41 verbose #2446 > │ │
00:00:41 verbose #2447 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2448 > │ │
00:00:41 verbose #2449 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2450 > │ let v129 : string = "std::path::MAIN_SEPARATOR" │
00:00:41 verbose #2451 > │ let v130 : char = Fable.Core.RustInterop.emitRustExpr () v129 │
00:00:41 verbose #2452 > │ v130 │
00:00:41 verbose #2453 > │ #endif │
00:00:41 verbose #2454 > │ │
00:00:41 verbose #2455 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2456 > │ let v131 : char = null |> unbox<char> │
00:00:41 verbose #2457 > │ v131 │
00:00:41 verbose #2458 > │ #endif │
00:00:41 verbose #2459 > │ │
00:00:41 verbose #2460 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2461 > │ let v132 : char = null |> unbox<char> │
00:00:41 verbose #2462 > │ v132 │
00:00:41 verbose #2463 > │ #endif │
00:00:41 verbose #2464 > │ │
00:00:41 verbose #2465 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2466 > │ let v133 : char = null |> unbox<char> │
00:00:41 verbose #2467 > │ v133 │
00:00:41 verbose #2468 > │ #endif │
00:00:41 verbose #2469 > │ │
00:00:41 verbose #2470 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2471 > │ let v134 : char = null |> unbox<char> │
00:00:41 verbose #2472 > │ v134 │
00:00:41 verbose #2473 > │ #endif │
00:00:41 verbose #2474 > │ │
00:00:41 verbose #2475 > │ #else │
00:00:41 verbose #2476 > │ let v135 : char = System.IO.Path.DirectorySeparatorChar │
00:00:41 verbose #2477 > │ v135 │
00:00:41 verbose #2478 > │ #endif │
00:00:41 verbose #2479 > │ |> fun x -> _v127 <- Some x │
00:00:41 verbose #2480 > │ let v136 : char = _v127.Value │
00:00:41 verbose #2481 > │ let v137 : (char -> string) = _.ToString() │
00:00:41 verbose #2482 > │ let v138 : string = v137 v136 │
00:00:41 verbose #2483 > │ let v139 : string = method23(v138) │
00:00:41 verbose #2484 > │ let v140 : (string -> (string seq -> string)) = String.concat │
00:00:41 verbose #2485 > │ let v141 : (string seq -> string) = v140 v139 │
00:00:41 verbose #2486 > │ v141 v126 │
00:00:41 verbose #2487 > │ else │
00:00:41 verbose #2488 > │ let v143 : string = "std::fs::canonicalize(&*$0)" │
00:00:41 verbose #2489 > │ let v144 : Result<std_path_PathBuf, std_io_Error> = │
00:00:41 verbose #2490 > │ Fable.Core.RustInterop.emitRustExpr v6 v143 │
00:00:41 verbose #2491 > │ let v145 : string = "$0.unwrap()" │
00:00:41 verbose #2492 > │ let v146 : std_path_PathBuf = │
00:00:41 verbose #2493 > │ Fable.Core.RustInterop.emitRustExpr v144 v145 │
00:00:41 verbose #2494 > │ let v147 : string = "$0.display()" │
00:00:41 verbose #2495 > │ let v148 : std_path_Display = │
00:00:41 verbose #2496 > │ Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:00:41 verbose #2497 > │ let v149 : std_string_String option = None │
00:00:41 verbose #2498 > │ let v150 : bool = true in let mutable _v149 = v149 │
00:00:41 verbose #2499 > │ │
00:00:41 verbose #2500 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2501 > │ │
00:00:41 verbose #2502 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2503 > │ let v151 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2504 > │ let v152 : std_string_String = │
00:00:41 verbose #2505 > │ Fable.Core.RustInterop.emitRustExpr v148 v151 │
00:00:41 verbose #2506 > │ v152 │
00:00:41 verbose #2507 > │ #endif │
00:00:41 verbose #2508 > │ │
00:00:41 verbose #2509 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2510 > │ let v153 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2511 > │ let v154 : std_string_String = │
00:00:41 verbose #2512 > │ Fable.Core.RustInterop.emitRustExpr v148 v153 │
00:00:41 verbose #2513 > │ v154 │
00:00:41 verbose #2514 > │ #endif │
00:00:41 verbose #2515 > │ │
00:00:41 verbose #2516 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2517 > │ let v155 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2518 > │ let v156 : std_string_String = │
00:00:41 verbose #2519 > │ Fable.Core.RustInterop.emitRustExpr v148 v155 │
00:00:41 verbose #2520 > │ v156 │
00:00:41 verbose #2521 > │ #endif │
00:00:41 verbose #2522 > │ │
00:00:41 verbose #2523 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2524 > │ let v157 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2525 > │ v157 │
00:00:41 verbose #2526 > │ #endif │
00:00:41 verbose #2527 > │ │
00:00:41 verbose #2528 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2529 > │ let v158 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2530 > │ v158 │
00:00:41 verbose #2531 > │ #endif │
00:00:41 verbose #2532 > │ │
00:00:41 verbose #2533 > │ #else │
00:00:41 verbose #2534 > │ let v159 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2535 > │ v159 │
00:00:41 verbose #2536 > │ #endif │
00:00:41 verbose #2537 > │ |> fun x -> _v149 <- Some x │
00:00:41 verbose #2538 > │ let v160 : std_string_String = _v149.Value │
00:00:41 verbose #2539 > │ let v161 : string = │
00:00:41 verbose #2540 > │ "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2541 > │ let v162 : string = Fable.Core.RustInterop.emitRustExpr v160 │
00:00:41 verbose #2542 > │ v161 │
00:00:41 verbose #2543 > │ v162 │
00:00:41 verbose #2544 > │ v163 │
00:00:41 verbose #2545 > │ #endif │
00:00:41 verbose #2546 > │ │
00:00:41 verbose #2547 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2548 > │ let v164 : string = null |> unbox<string> │
00:00:41 verbose #2549 > │ v164 │
00:00:41 verbose #2550 > │ #endif │
00:00:41 verbose #2551 > │ │
00:00:41 verbose #2552 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2553 > │ let v165 : string = null |> unbox<string> │
00:00:41 verbose #2554 > │ v165 │
00:00:41 verbose #2555 > │ #endif │
00:00:41 verbose #2556 > │ │
00:00:41 verbose #2557 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2558 > │ let v166 : string = null |> unbox<string> │
00:00:41 verbose #2559 > │ v166 │
00:00:41 verbose #2560 > │ #endif │
00:00:41 verbose #2561 > │ │
00:00:41 verbose #2562 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2563 > │ let v167 : string = null |> unbox<string> │
00:00:41 verbose #2564 > │ v167 │
00:00:41 verbose #2565 > │ #endif │
00:00:41 verbose #2566 > │ │
00:00:41 verbose #2567 > │ #else │
00:00:41 verbose #2568 > │ let v168 : string = method24(v3) │
00:00:41 verbose #2569 > │ let v169 : (string -> string) = System.IO.Path.GetFullPath │
00:00:41 verbose #2570 > │ let v170 : string = v169 v168 │
00:00:41 verbose #2571 > │ v170 │
00:00:41 verbose #2572 > │ #endif │
00:00:41 verbose #2573 > │ |> fun x -> _v4 <- Some x │
00:00:41 verbose #2574 > │ let v171 : string = _v4.Value │
00:00:41 verbose #2575 > │ let v172 : string option = None │
00:00:41 verbose #2576 > │ let v173 : bool = true in let mutable _v172 = v172 │
00:00:41 verbose #2577 > │ │
00:00:41 verbose #2578 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2579 > │ │
00:00:41 verbose #2580 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2581 > │ let v174 : string = method13(v2) │
00:00:41 verbose #2582 > │ let v175 : string = method14(v174) │
00:00:41 verbose #2583 > │ let v176 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #2584 > │ let v177 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v175 v176 │
00:00:41 verbose #2585 > │ let v178 : string = "String::from($0)" │
00:00:41 verbose #2586 > │ let v179 : std_string_String = Fable.Core.RustInterop.emitRustExpr v177 │
00:00:41 verbose #2587 > │ v178 │
00:00:41 verbose #2588 > │ let v180 : string = "std::path::PathBuf::from($0)" │
00:00:41 verbose #2589 > │ let v181 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v179 │
00:00:41 verbose #2590 > │ v180 │
00:00:41 verbose #2591 > │ let v182 : string = "$0.exists()" │
00:00:41 verbose #2592 > │ let v183 : bool = Fable.Core.RustInterop.emitRustExpr v181 v182 │
00:00:41 verbose #2593 > │ let v184 : bool = v183 = false │
00:00:41 verbose #2594 > │ let v331 : string = │
00:00:41 verbose #2595 > │ if v184 then │
00:00:41 verbose #2596 > │ let v185 : string option = None │
00:00:41 verbose #2597 > │ let v186 : bool = true in let mutable _v185 = v185 │
00:00:41 verbose #2598 > │ │
00:00:41 verbose #2599 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2600 > │ │
00:00:41 verbose #2601 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2602 > │ let v187 : string = "std::env::current_dir()" │
00:00:41 verbose #2603 > │ let v188 : Result<std_path_PathBuf, std_io_Error> = │
00:00:41 verbose #2604 > │ Fable.Core.RustInterop.emitRustExpr () v187 │
00:00:41 verbose #2605 > │ let v189 : string = "$0.unwrap()" │
00:00:41 verbose #2606 > │ let v190 : std_path_PathBuf = │
00:00:41 verbose #2607 > │ Fable.Core.RustInterop.emitRustExpr v188 v189 │
00:00:41 verbose #2608 > │ let v191 : string = "$0.display()" │
00:00:41 verbose #2609 > │ let v192 : std_path_Display = │
00:00:41 verbose #2610 > │ Fable.Core.RustInterop.emitRustExpr v190 v191 │
00:00:41 verbose #2611 > │ let v193 : std_string_String option = None │
00:00:41 verbose #2612 > │ let v194 : bool = true in let mutable _v193 = v193 │
00:00:41 verbose #2613 > │ │
00:00:41 verbose #2614 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2615 > │ │
00:00:41 verbose #2616 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2617 > │ let v195 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2618 > │ let v196 : std_string_String = │
00:00:41 verbose #2619 > │ Fable.Core.RustInterop.emitRustExpr v192 v195 │
00:00:41 verbose #2620 > │ v196 │
00:00:41 verbose #2621 > │ #endif │
00:00:41 verbose #2622 > │ │
00:00:41 verbose #2623 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2624 > │ let v197 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2625 > │ let v198 : std_string_String = │
00:00:41 verbose #2626 > │ Fable.Core.RustInterop.emitRustExpr v192 v197 │
00:00:41 verbose #2627 > │ v198 │
00:00:41 verbose #2628 > │ #endif │
00:00:41 verbose #2629 > │ │
00:00:41 verbose #2630 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2631 > │ let v199 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2632 > │ let v200 : std_string_String = │
00:00:41 verbose #2633 > │ Fable.Core.RustInterop.emitRustExpr v192 v199 │
00:00:41 verbose #2634 > │ v200 │
00:00:41 verbose #2635 > │ #endif │
00:00:41 verbose #2636 > │ │
00:00:41 verbose #2637 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2638 > │ let v201 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2639 > │ v201 │
00:00:41 verbose #2640 > │ #endif │
00:00:41 verbose #2641 > │ │
00:00:41 verbose #2642 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2643 > │ let v202 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2644 > │ v202 │
00:00:41 verbose #2645 > │ #endif │
00:00:41 verbose #2646 > │ │
00:00:41 verbose #2647 > │ #else │
00:00:41 verbose #2648 > │ let v203 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2649 > │ v203 │
00:00:41 verbose #2650 > │ #endif │
00:00:41 verbose #2651 > │ |> fun x -> _v193 <- Some x │
00:00:41 verbose #2652 > │ let v204 : std_string_String = _v193.Value │
00:00:41 verbose #2653 > │ let v205 : string = │
00:00:41 verbose #2654 > │ "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2655 > │ let v206 : string = Fable.Core.RustInterop.emitRustExpr v204 │
00:00:41 verbose #2656 > │ v205 │
00:00:41 verbose #2657 > │ v206 │
00:00:41 verbose #2658 > │ #endif │
00:00:41 verbose #2659 > │ │
00:00:41 verbose #2660 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2661 > │ let v207 : string = null |> unbox<string> │
00:00:41 verbose #2662 > │ v207 │
00:00:41 verbose #2663 > │ #endif │
00:00:41 verbose #2664 > │ │
00:00:41 verbose #2665 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2666 > │ let v208 : string = null |> unbox<string> │
00:00:41 verbose #2667 > │ v208 │
00:00:41 verbose #2668 > │ #endif │
00:00:41 verbose #2669 > │ │
00:00:41 verbose #2670 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2671 > │ let v209 : string = null |> unbox<string> │
00:00:41 verbose #2672 > │ v209 │
00:00:41 verbose #2673 > │ #endif │
00:00:41 verbose #2674 > │ │
00:00:41 verbose #2675 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2676 > │ let v210 : string = null |> unbox<string> │
00:00:41 verbose #2677 > │ v210 │
00:00:41 verbose #2678 > │ #endif │
00:00:41 verbose #2679 > │ │
00:00:41 verbose #2680 > │ #else │
00:00:41 verbose #2681 > │ let v211 : (unit -> string) = │
00:00:41 verbose #2682 > │ System.IO.Directory.GetCurrentDirectory │
00:00:41 verbose #2683 > │ let v212 : string = v211 () │
00:00:41 verbose #2684 > │ v212 │
00:00:41 verbose #2685 > │ #endif │
00:00:41 verbose #2686 > │ |> fun x -> _v185 <- Some x │
00:00:41 verbose #2687 > │ let v213 : string = _v185.Value │
00:00:41 verbose #2688 > │ let v214 : string = method15(v213, v174) │
00:00:41 verbose #2689 > │ let v215 : string option = None │
00:00:41 verbose #2690 > │ let v216 : bool = true in let mutable _v215 = v215 │
00:00:41 verbose #2691 > │ │
00:00:41 verbose #2692 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2693 > │ │
00:00:41 verbose #2694 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2695 > │ let v217 : string = method18() │
00:00:41 verbose #2696 > │ let v218 : string = method19(v214) │
00:00:41 verbose #2697 > │ let v219 : string = method20() │
00:00:41 verbose #2698 > │ let v220 : string = │
00:00:41 verbose #2699 > │ $"regex::Regex::new(&$0).unwrap().replace_all(&$1, &*$2)" │
00:00:41 verbose #2700 > │ let v221 : std_borrow_Cow<Str> = │
00:00:41 verbose #2701 > │ Fable.Core.RustInterop.emitRustExpr struct (v217, v218, v219) v220 │
00:00:41 verbose #2702 > │ let v222 : string = "String::from($0)" │
00:00:41 verbose #2703 > │ let v223 : std_string_String = │
00:00:41 verbose #2704 > │ Fable.Core.RustInterop.emitRustExpr v221 v222 │
00:00:41 verbose #2705 > │ let v224 : string = │
00:00:41 verbose #2706 > │ "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2707 > │ let v225 : string = Fable.Core.RustInterop.emitRustExpr v223 │
00:00:41 verbose #2708 > │ v224 │
00:00:41 verbose #2709 > │ v225 │
00:00:41 verbose #2710 > │ #endif │
00:00:41 verbose #2711 > │ │
00:00:41 verbose #2712 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2713 > │ let v226 : string = null |> unbox<string> │
00:00:41 verbose #2714 > │ v226 │
00:00:41 verbose #2715 > │ #endif │
00:00:41 verbose #2716 > │ │
00:00:41 verbose #2717 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2718 > │ let v227 : string = null |> unbox<string> │
00:00:41 verbose #2719 > │ v227 │
00:00:41 verbose #2720 > │ #endif │
00:00:41 verbose #2721 > │ │
00:00:41 verbose #2722 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2723 > │ let v228 : string = null |> unbox<string> │
00:00:41 verbose #2724 > │ v228 │
00:00:41 verbose #2725 > │ #endif │
00:00:41 verbose #2726 > │ │
00:00:41 verbose #2727 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2728 > │ let v229 : string = null |> unbox<string> │
00:00:41 verbose #2729 > │ v229 │
00:00:41 verbose #2730 > │ #endif │
00:00:41 verbose #2731 > │ │
00:00:41 verbose #2732 > │ #else │
00:00:41 verbose #2733 > │ let v230 : string = "^\\\\\\\\\\?\\\\" │
00:00:41 verbose #2734 > │ let v231 : string = "" │
00:00:41 verbose #2735 > │ let v232 : string = System.Text.RegularExpressions.Regex.Replace │
00:00:41 verbose #2736 > │ (v214, v230, v231) │
00:00:41 verbose #2737 > │ v232 │
00:00:41 verbose #2738 > │ #endif │
00:00:41 verbose #2739 > │ |> fun x -> _v215 <- Some x │
00:00:41 verbose #2740 > │ let v233 : string = _v215.Value │
00:00:41 verbose #2741 > │ let v234 : string = $"{v233.[0] |> string |> _.ToLower()}{v233.[ │
00:00:41 verbose #2742 > │ 1..]}" │
00:00:41 verbose #2743 > │ let v235 : string = "\\" │
00:00:41 verbose #2744 > │ let v236 : string = "/" │
00:00:41 verbose #2745 > │ let v237 : string = v234.Replace (v235, v236) │
00:00:41 verbose #2746 > │ let v238 : (string []) = v237.Split v236 │
00:00:41 verbose #2747 > │ let v239 : (string []) = [||] │
00:00:41 verbose #2748 > │ let v240 : int32 = v238.Length │
00:00:41 verbose #2749 > │ let v241 : Mut4 = {l0 = 0; l1 = 0; l2 = v239} : Mut4 │
00:00:41 verbose #2750 > │ while method21(v240, v241) do │
00:00:41 verbose #2751 > │ let v243 : int32 = v241.l0 │
00:00:41 verbose #2752 > │ let v244 : int32 = -v243 │
00:00:41 verbose #2753 > │ let v245 : int32 = v244 + v240 │
00:00:41 verbose #2754 > │ let v246 : int32 = v245 - 1 │
00:00:41 verbose #2755 > │ let struct (v247 : int32, v248 : (string [])) = v241.l1, │
00:00:41 verbose #2756 > │ v241.l2 │
00:00:41 verbose #2757 > │ let v249 : string = v238.[int v246] │
00:00:41 verbose #2758 > │ let v250 : bool = ".." = v249 │
00:00:41 verbose #2759 > │ let struct (v289 : int32, v290 : (string [])) = │
00:00:41 verbose #2760 > │ if v250 then │
00:00:41 verbose #2761 > │ let v251 : int32 = v247 + 1 │
00:00:41 verbose #2762 > │ struct (v251, v248) │
00:00:41 verbose #2763 > │ else │
00:00:41 verbose #2764 > │ let v252 : bool = 0 = v247 │
00:00:41 verbose #2765 > │ if v252 then │
00:00:41 verbose #2766 > │ let v253 : string = ":" │
00:00:41 verbose #2767 > │ let v254 : bool = v249.EndsWith v253 │
00:00:41 verbose #2768 > │ if v254 then │
00:00:41 verbose #2769 > │ let v255 : string = $"{v213.[0]}:" │
00:00:41 verbose #2770 > │ let v256 : (string []) = [|v255|] │
00:00:41 verbose #2771 > │ let v257 : int32 = v256.Length │
00:00:41 verbose #2772 > │ let v258 : int32 = v248.Length │
00:00:41 verbose #2773 > │ let v259 : int32 = v257 + v258 │
00:00:41 verbose #2774 > │ let v260 : (string []) = │
00:00:41 verbose #2775 > │ Array.zeroCreate<string> (v259) │
00:00:41 verbose #2776 > │ let v261 : Mut5 = {l0 = 0} : Mut5 │
00:00:41 verbose #2777 > │ while method22(v259, v261) do │
00:00:41 verbose #2778 > │ let v263 : int32 = v261.l0 │
00:00:41 verbose #2779 > │ let v264 : bool = v263 < v257 │
00:00:41 verbose #2780 > │ let v268 : string = │
00:00:41 verbose #2781 > │ if v264 then │
00:00:41 verbose #2782 > │ let v265 : string = v256.[int │
00:00:41 verbose #2783 > │ v263] │
00:00:41 verbose #2784 > │ v265 │
00:00:41 verbose #2785 > │ else │
00:00:41 verbose #2786 > │ let v266 : int32 = v263 - v257 │
00:00:41 verbose #2787 > │ let v267 : string = v248.[int │
00:00:41 verbose #2788 > │ v266] │
00:00:41 verbose #2789 > │ v267 │
00:00:41 verbose #2790 > │ v260.[int v263] <- v268 │
00:00:41 verbose #2791 > │ let v269 : int32 = v263 + 1 │
00:00:41 verbose #2792 > │ v261.l0 <- v269 │
00:00:41 verbose #2793 > │ () │
00:00:41 verbose #2794 > │ struct (0, v260) │
00:00:41 verbose #2795 > │ else │
00:00:41 verbose #2796 > │ let v270 : (string []) = [|v249|] │
00:00:41 verbose #2797 > │ let v271 : int32 = v270.Length │
00:00:41 verbose #2798 > │ let v272 : int32 = v248.Length │
00:00:41 verbose #2799 > │ let v273 : int32 = v271 + v272 │
00:00:41 verbose #2800 > │ let v274 : (string []) = │
00:00:41 verbose #2801 > │ Array.zeroCreate<string> (v273) │
00:00:41 verbose #2802 > │ let v275 : Mut5 = {l0 = 0} : Mut5 │
00:00:41 verbose #2803 > │ while method22(v273, v275) do │
00:00:41 verbose #2804 > │ let v277 : int32 = v275.l0 │
00:00:41 verbose #2805 > │ let v278 : bool = v277 < v271 │
00:00:41 verbose #2806 > │ let v282 : string = │
00:00:41 verbose #2807 > │ if v278 then │
00:00:41 verbose #2808 > │ let v279 : string = v270.[int │
00:00:41 verbose #2809 > │ v277] │
00:00:41 verbose #2810 > │ v279 │
00:00:41 verbose #2811 > │ else │
00:00:41 verbose #2812 > │ let v280 : int32 = v277 - v271 │
00:00:41 verbose #2813 > │ let v281 : string = v248.[int │
00:00:41 verbose #2814 > │ v280] │
00:00:41 verbose #2815 > │ v281 │
00:00:41 verbose #2816 > │ v274.[int v277] <- v282 │
00:00:41 verbose #2817 > │ let v283 : int32 = v277 + 1 │
00:00:41 verbose #2818 > │ v275.l0 <- v283 │
00:00:41 verbose #2819 > │ () │
00:00:41 verbose #2820 > │ struct (0, v274) │
00:00:41 verbose #2821 > │ else │
00:00:41 verbose #2822 > │ let v286 : int32 = v247 - 1 │
00:00:41 verbose #2823 > │ struct (v286, v248) │
00:00:41 verbose #2824 > │ let v291 : int32 = v243 + 1 │
00:00:41 verbose #2825 > │ v241.l0 <- v291 │
00:00:41 verbose #2826 > │ v241.l1 <- v289 │
00:00:41 verbose #2827 > │ v241.l2 <- v290 │
00:00:41 verbose #2828 > │ () │
00:00:41 verbose #2829 > │ let struct (v292 : int32, v293 : (string [])) = v241.l1, v241.l2 │
00:00:41 verbose #2830 > │ let v294 : string seq = seq { for i = 0 to v293.Length - 1 do │
00:00:41 verbose #2831 > │ yield v293.[i] } │
00:00:41 verbose #2832 > │ let v295 : char option = None │
00:00:41 verbose #2833 > │ let v296 : bool = true in let mutable _v295 = v295 │
00:00:41 verbose #2834 > │ │
00:00:41 verbose #2835 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2836 > │ │
00:00:41 verbose #2837 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2838 > │ let v297 : string = "std::path::MAIN_SEPARATOR" │
00:00:41 verbose #2839 > │ let v298 : char = Fable.Core.RustInterop.emitRustExpr () v297 │
00:00:41 verbose #2840 > │ v298 │
00:00:41 verbose #2841 > │ #endif │
00:00:41 verbose #2842 > │ │
00:00:41 verbose #2843 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2844 > │ let v299 : char = null |> unbox<char> │
00:00:41 verbose #2845 > │ v299 │
00:00:41 verbose #2846 > │ #endif │
00:00:41 verbose #2847 > │ │
00:00:41 verbose #2848 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2849 > │ let v300 : char = null |> unbox<char> │
00:00:41 verbose #2850 > │ v300 │
00:00:41 verbose #2851 > │ #endif │
00:00:41 verbose #2852 > │ │
00:00:41 verbose #2853 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2854 > │ let v301 : char = null |> unbox<char> │
00:00:41 verbose #2855 > │ v301 │
00:00:41 verbose #2856 > │ #endif │
00:00:41 verbose #2857 > │ │
00:00:41 verbose #2858 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2859 > │ let v302 : char = null |> unbox<char> │
00:00:41 verbose #2860 > │ v302 │
00:00:41 verbose #2861 > │ #endif │
00:00:41 verbose #2862 > │ │
00:00:41 verbose #2863 > │ #else │
00:00:41 verbose #2864 > │ let v303 : char = System.IO.Path.DirectorySeparatorChar │
00:00:41 verbose #2865 > │ v303 │
00:00:41 verbose #2866 > │ #endif │
00:00:41 verbose #2867 > │ |> fun x -> _v295 <- Some x │
00:00:41 verbose #2868 > │ let v304 : char = _v295.Value │
00:00:41 verbose #2869 > │ let v305 : (char -> string) = _.ToString() │
00:00:41 verbose #2870 > │ let v306 : string = v305 v304 │
00:00:41 verbose #2871 > │ let v307 : string = method23(v306) │
00:00:41 verbose #2872 > │ let v308 : (string -> (string seq -> string)) = String.concat │
00:00:41 verbose #2873 > │ let v309 : (string seq -> string) = v308 v307 │
00:00:41 verbose #2874 > │ v309 v294 │
00:00:41 verbose #2875 > │ else │
00:00:41 verbose #2876 > │ let v311 : string = "std::fs::canonicalize(&*$0)" │
00:00:41 verbose #2877 > │ let v312 : Result<std_path_PathBuf, std_io_Error> = │
00:00:41 verbose #2878 > │ Fable.Core.RustInterop.emitRustExpr v174 v311 │
00:00:41 verbose #2879 > │ let v313 : string = "$0.unwrap()" │
00:00:41 verbose #2880 > │ let v314 : std_path_PathBuf = │
00:00:41 verbose #2881 > │ Fable.Core.RustInterop.emitRustExpr v312 v313 │
00:00:41 verbose #2882 > │ let v315 : string = "$0.display()" │
00:00:41 verbose #2883 > │ let v316 : std_path_Display = │
00:00:41 verbose #2884 > │ Fable.Core.RustInterop.emitRustExpr v314 v315 │
00:00:41 verbose #2885 > │ let v317 : std_string_String option = None │
00:00:41 verbose #2886 > │ let v318 : bool = true in let mutable _v317 = v317 │
00:00:41 verbose #2887 > │ │
00:00:41 verbose #2888 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:41 verbose #2889 > │ │
00:00:41 verbose #2890 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:41 verbose #2891 > │ let v319 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2892 > │ let v320 : std_string_String = │
00:00:41 verbose #2893 > │ Fable.Core.RustInterop.emitRustExpr v316 v319 │
00:00:41 verbose #2894 > │ v320 │
00:00:41 verbose #2895 > │ #endif │
00:00:41 verbose #2896 > │ │
00:00:41 verbose #2897 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2898 > │ let v321 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2899 > │ let v322 : std_string_String = │
00:00:41 verbose #2900 > │ Fable.Core.RustInterop.emitRustExpr v316 v321 │
00:00:41 verbose #2901 > │ v322 │
00:00:41 verbose #2902 > │ #endif │
00:00:41 verbose #2903 > │ │
00:00:41 verbose #2904 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2905 > │ let v323 : string = @$"format!(""{{}}"", $0)" │
00:00:41 verbose #2906 > │ let v324 : std_string_String = │
00:00:41 verbose #2907 > │ Fable.Core.RustInterop.emitRustExpr v316 v323 │
00:00:41 verbose #2908 > │ v324 │
00:00:41 verbose #2909 > │ #endif │
00:00:41 verbose #2910 > │ │
00:00:41 verbose #2911 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2912 > │ let v325 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2913 > │ v325 │
00:00:41 verbose #2914 > │ #endif │
00:00:41 verbose #2915 > │ │
00:00:41 verbose #2916 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2917 > │ let v326 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2918 > │ v326 │
00:00:41 verbose #2919 > │ #endif │
00:00:41 verbose #2920 > │ │
00:00:41 verbose #2921 > │ #else │
00:00:41 verbose #2922 > │ let v327 : std_string_String = null |> unbox<std_string_String> │
00:00:41 verbose #2923 > │ v327 │
00:00:41 verbose #2924 > │ #endif │
00:00:41 verbose #2925 > │ |> fun x -> _v317 <- Some x │
00:00:41 verbose #2926 > │ let v328 : std_string_String = _v317.Value │
00:00:41 verbose #2927 > │ let v329 : string = │
00:00:41 verbose #2928 > │ "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2929 > │ let v330 : string = Fable.Core.RustInterop.emitRustExpr v328 │
00:00:41 verbose #2930 > │ v329 │
00:00:41 verbose #2931 > │ v330 │
00:00:41 verbose #2932 > │ v331 │
00:00:41 verbose #2933 > │ #endif │
00:00:41 verbose #2934 > │ │
00:00:41 verbose #2935 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:41 verbose #2936 > │ let v332 : string = null |> unbox<string> │
00:00:41 verbose #2937 > │ v332 │
00:00:41 verbose #2938 > │ #endif │
00:00:41 verbose #2939 > │ │
00:00:41 verbose #2940 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:41 verbose #2941 > │ let v333 : string = null |> unbox<string> │
00:00:41 verbose #2942 > │ v333 │
00:00:41 verbose #2943 > │ #endif │
00:00:41 verbose #2944 > │ │
00:00:41 verbose #2945 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:41 verbose #2946 > │ let v334 : string = null |> unbox<string> │
00:00:41 verbose #2947 > │ v334 │
00:00:41 verbose #2948 > │ #endif │
00:00:41 verbose #2949 > │ │
00:00:41 verbose #2950 > │ #if FABLE_COMPILER_PYTHON │
00:00:41 verbose #2951 > │ let v335 : string = null |> unbox<string> │
00:00:41 verbose #2952 > │ v335 │
00:00:41 verbose #2953 > │ #endif │
00:00:41 verbose #2954 > │ │
00:00:41 verbose #2955 > │ #else │
00:00:41 verbose #2956 > │ let v336 : string = method24(v2) │
00:00:41 verbose #2957 > │ let v337 : (string -> string) = System.IO.Path.GetFullPath │
00:00:41 verbose #2958 > │ let v338 : string = v337 v336 │
00:00:41 verbose #2959 > │ v338 │
00:00:41 verbose #2960 > │ #endif │
00:00:41 verbose #2961 > │ |> fun x -> _v172 <- Some x │
00:00:41 verbose #2962 > │ let v339 : string = _v172.Value │
00:00:41 verbose #2963 > │ let v340 : US0 = US0_1 │
00:00:41 verbose #2964 > │ let v341 : (unit -> string) = closure10() │
00:00:41 verbose #2965 > │ let v342 : (unit -> string) = closure11(v0, v1, v171, v339) │
00:00:41 verbose #2966 > │ method3(v340, v341, v342) │
00:00:41 verbose #2967 > │ method25(v0, v1) │
00:00:41 verbose #2968 > │ and closure1 () (v0 : (string [])) : int32 = │
00:00:41 verbose #2969 > │ let v1 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:00:41 verbose #2970 > │ closure2() │
00:00:41 verbose #2971 > │ if State.trace_state.IsNone then State.trace_state <- v1 () |> Some │
00:00:41 verbose #2972 > │ let struct (v2 : Mut0, v3 : Mut1, v4 : Mut2, v5 : int64 option, v6 : │
00:00:41 verbose #2973 > │ Mut3) = State.trace_state.Value │
00:00:41 verbose #2974 > │ let v7 : US0 = US0_2 │
00:00:41 verbose #2975 > │ v4.l0 <- v7 │
00:00:41 verbose #2976 > │ let v8 : US0 = US0_1 │
00:00:41 verbose #2977 > │ let v9 : (unit -> string) = closure4() │
00:00:41 verbose #2978 > │ let v10 : (unit -> string) = closure5(v0) │
00:00:41 verbose #2979 > │ method3(v8, v9, v10) │
00:00:41 verbose #2980 > │ let v11 : clap_Command = method0() │
00:00:41 verbose #2981 > │ let v12 : string = "clap::Command::get_matches($0)" │
00:00:41 verbose #2982 > │ let v13 : clap_ArgMatches = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:00:41 verbose #2983 > │ let v14 : string = method7() │
00:00:41 verbose #2984 > │ let v15 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #2985 > │ let v16 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v14 v15 │
00:00:41 verbose #2986 > │ let v17 : string = "clap::ArgMatches::get_one(&v13, v16).cloned()" │
00:00:41 verbose #2987 > │ let v18 : std_string_String option = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #2988 > │ () v17 │
00:00:41 verbose #2989 > │ let v19 : (std_string_String -> US3) = method8() │
00:00:41 verbose #2990 > │ let v20 : US3 = US3_1 │
00:00:41 verbose #2991 > │ let v21 : US3 = v18 |> Option.map v19 |> Option.defaultValue v20 │
00:00:41 verbose #2992 > │ let v25 : std_string_String = │
00:00:41 verbose #2993 > │ match v21 with │
00:00:41 verbose #2994 > │ | US3_1 -> (* None *) │
00:00:41 verbose #2995 > │ failwith<std_string_String> "Option does not have a value." │
00:00:41 verbose #2996 > │ | US3_0(v22) -> (* Some *) │
00:00:41 verbose #2997 > │ v22 │
00:00:41 verbose #2998 > │ let v26 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #2999 > │ let v27 : string = Fable.Core.RustInterop.emitRustExpr v25 v26 │
00:00:41 verbose #3000 > │ let v28 : string = method9() │
00:00:41 verbose #3001 > │ let v29 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #3002 > │ let v30 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v28 v29 │
00:00:41 verbose #3003 > │ let v31 : string = "clap::ArgMatches::get_one(&v13, v30).cloned()" │
00:00:41 verbose #3004 > │ let v32 : std_string_String option = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #3005 > │ () v31 │
00:00:41 verbose #3006 > │ let v33 : (std_string_String -> US3) = method8() │
00:00:41 verbose #3007 > │ let v34 : US3 = US3_1 │
00:00:41 verbose #3008 > │ let v35 : US3 = v32 |> Option.map v33 |> Option.defaultValue v34 │
00:00:41 verbose #3009 > │ let v39 : std_string_String = │
00:00:41 verbose #3010 > │ match v35 with │
00:00:41 verbose #3011 > │ | US3_1 -> (* None *) │
00:00:41 verbose #3012 > │ failwith<std_string_String> "Option does not have a value." │
00:00:41 verbose #3013 > │ | US3_0(v36) -> (* Some *) │
00:00:41 verbose #3014 > │ v36 │
00:00:41 verbose #3015 > │ let v40 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #3016 > │ let v41 : string = Fable.Core.RustInterop.emitRustExpr v39 v40 │
00:00:41 verbose #3017 > │ let v42 : string = method10() │
00:00:41 verbose #3018 > │ let v43 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #3019 > │ let v44 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v42 v43 │
00:00:41 verbose #3020 > │ let v45 : string = "clap::ArgMatches::get_one(&v13, v44).cloned()" │
00:00:41 verbose #3021 > │ let v46 : std_string_String option = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #3022 > │ () v45 │
00:00:41 verbose #3023 > │ let v47 : (std_string_String -> US3) = method8() │
00:00:41 verbose #3024 > │ let v48 : US3 = US3_1 │
00:00:41 verbose #3025 > │ let v49 : US3 = v46 |> Option.map v47 |> Option.defaultValue v48 │
00:00:41 verbose #3026 > │ let v53 : std_string_String = │
00:00:41 verbose #3027 > │ match v49 with │
00:00:41 verbose #3028 > │ | US3_1 -> (* None *) │
00:00:41 verbose #3029 > │ failwith<std_string_String> "Option does not have a value." │
00:00:41 verbose #3030 > │ | US3_0(v50) -> (* Some *) │
00:00:41 verbose #3031 > │ v50 │
00:00:41 verbose #3032 > │ let v54 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #3033 > │ let v55 : string = Fable.Core.RustInterop.emitRustExpr v53 v54 │
00:00:41 verbose #3034 > │ let v56 : string = method11() │
00:00:41 verbose #3035 > │ let v57 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:00:41 verbose #3036 > │ let v58 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v56 v57 │
00:00:41 verbose #3037 > │ let v59 : string = "clap::ArgMatches::get_one(&v13, v58).cloned()" │
00:00:41 verbose #3038 > │ let v60 : std_string_String option = Fable.Core.RustInterop.emitRustExpr │
00:00:41 verbose #3039 > │ () v59 │
00:00:41 verbose #3040 > │ let v61 : (std_string_String -> US3) = method8() │
00:00:41 verbose #3041 > │ let v62 : US3 = US3_1 │
00:00:41 verbose #3042 > │ let v63 : US3 = v60 |> Option.map v61 |> Option.defaultValue v62 │
00:00:41 verbose #3043 > │ let v70 : US4 = │
00:00:41 verbose #3044 > │ match v63 with │
00:00:41 verbose #3045 > │ | US3_1 -> (* None *) │
00:00:41 verbose #3046 > │ US4_1 │
00:00:41 verbose #3047 > │ | US3_0(v64) -> (* Some *) │
00:00:41 verbose #3048 > │ let v65 : string = "fable_library_rust::String_::fromString($0)" │
00:00:41 verbose #3049 > │ let v66 : string = Fable.Core.RustInterop.emitRustExpr v64 v65 │
00:00:41 verbose #3050 > │ US4_0(v66) │
00:00:41 verbose #3051 > │ let v74 : string = │
00:00:41 verbose #3052 > │ match v70 with │
00:00:41 verbose #3053 > │ | US4_1 -> (* None *) │
00:00:41 verbose #3054 > │ let v72 : string = "" │
00:00:41 verbose #3055 > │ v72 │
00:00:41 verbose #3056 > │ | US4_0(v71) -> (* Some *) │
00:00:41 verbose #3057 > │ v71 │
00:00:41 verbose #3058 > │ let v75 : std_pin_Pin<Box<Dyn<std_future_Future<Result<string, │
00:00:41 verbose #3059 > │ std_string_String>>>>> = method12(v74, v55, v41, v27) │
00:00:41 verbose #3060 > │ let v76 : string = "futures_lite::future::block_on($0)" │
00:00:41 verbose #3061 > │ let v77 : Result<string, std_string_String> = │
00:00:41 verbose #3062 > │ Fable.Core.RustInterop.emitRustExpr v75 v76 │
00:00:41 verbose #3063 > │ let v78 : string = "$0.unwrap()" │
00:00:41 verbose #3064 > │ let v79 : string = Fable.Core.RustInterop.emitRustExpr v77 v78 │
00:00:41 verbose #3065 > │ let v80 : US0 = v4.l0 │
00:00:41 verbose #3066 > │ let v82 : bool = │
00:00:41 verbose #3067 > │ match v80 with │
00:00:41 verbose #3068 > │ | US0_2 -> (* Info *) │
00:00:41 verbose #3069 > │ true │
00:00:41 verbose #3070 > │ | _ -> │
00:00:41 verbose #3071 > │ false │
00:00:41 verbose #3072 > │ if v82 then │
00:00:41 verbose #3073 > │ System.Console.WriteLine v79 │
00:00:41 verbose #3074 > │ () │
00:00:41 verbose #3075 > │ 0 │
00:00:41 verbose #3076 > │ let v0 : (unit -> unit) = closure0() │
00:00:41 verbose #3077 > │ let tests () = v0 () │
00:00:41 verbose #3078 > │ let v1 : ((string []) -> int32) = closure1() │
00:00:41 verbose #3079 > │ let main args = v1 args │
00:00:41 verbose #3080 > │ () │
00:00:41 verbose #3081 > │ │
00:00:41 verbose #3082 > │ │
00:00:41 verbose #3083 > │ │
00:00:41 verbose #3084 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #3085 > [NbConvertApp] Converting notebook builder.dib.ipynb to html
00:00:43 verbose #3086 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:43 verbose #3087 > validate(nb)
00:00:45 verbose #3088 > [NbConvertApp] Writing 410627 bytes to builder.dib.html
00:00:45 debug #3089 execute_with_options_async / exit_code: 0 / output.Length: 236874
00:00:45 debug #3 main / executeCommand / exitCode: 0
00:00:45 verbose #6 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:00:45 debug #7 run_with_timeout_async / timeout: 100
00:00:00 debug #1 writeDibCode / output: Spi / path: builder.dib
00:00:00 debug #2 parseDibCode / output: Spi / file: builder.dib
00:00:00 debug #1 run_with_timeout_async / timeout: 500
00:00:00 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:01 debug #2 run_with_timeout_async / timeout: 100
00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:01 debug #4 run_with_timeout_async / timeout: 100
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 debug #5 run_with_timeout_async / timeout: 100
00:00:01 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:01 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:01 verbose #6 > Server bound to: http://localhost:13805
00:00:02 debug #6 run_with_timeout_async / timeout: 500
00:00:02 debug #3 buildFile / takeWhileInclusive / path: builder.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:02 debug #4 buildFile / takeWhileInclusive / path: builder.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:02 verbose #5 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # builder\nopen file_system_operators\nopen rust_operators\nopen sm\u002...gs = !main args\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/apps/spiral/builder/builder.spi"}} / result:
00:00:02 verbose #6 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/apps/spiral/builder/builder.spi"}} / result:
00:00:02 verbose #7 > 00:00:01 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/apps/spiral/builder/builder.spi
00:00:03 debug #7 buildFile / takeWhileInclusive / path: builder.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:04 debug #8 buildFile / takeWhileInclusive / path: builder.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #9 buildFile / takeWhileInclusive / path: builder.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ... if v82 then
System.Console.WriteLine v79
()
0
let v0 : (unit -> unit) = closure0()
let tests () = v0 ()
let v1 : ((string []) -> int32) = closure1()
let main args = v1 args
()
/ errors: [] / typeErrorCount: 0
00:00:05 debug #10 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:05 verbose #7 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:00:05 debug #8 run_with_timeout_async / timeout: 100
00:00:00 debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: builder / code.Length: 100972
targetDir: C:\home\git\polyglot\target\polyglot\builder\builder
Fable 4.17.0: F# to Rust compiler (status: alpha)
Thanks to the contributor! @kirill-gerasimenko
Stand with Ukraine! https://standwithukraine.com.ua/
Parsing target\polyglot\builder\Builder\Builder.fsproj...
target\polyglot\builder\Builder> cmd /C dotnet restore Builder.fable-temp.csproj -p:FABLE_COMPILER=true -p:FABLE_COMPILER_4=true -p:FABLE_COMPILER_RUST=true
Determining projects to restore...
Restored C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fable-temp.csproj (in 340 ms).
target\polyglot\builder\Builder> cmd /C dotnet restore C:/home/git/polyglot/target/polyglot/builder/Builder/Builder.fsproj
Determining projects to restore...
Paket version 8.1.0-alpha002+df391903d7590864c0bba48fdc34b50ddcc94cc2
Restoring C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj
Starting restore process.
Total time taken: 0 milliseconds
Restored C:\home\git\polyglot\target\polyglot\builder\Builder\Builder.fsproj (in 359 ms).
Project and references (13 source files) parsed in 7473ms
Started Fable compilation...
Fable compilation finished in 5584ms
.\lib\spiral\async_.fsx(110,0): (110,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\crypto.fsx(403,0): (403,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(161,0): (161,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(690,0): (690,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(697,0): (697,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(522,0): (522,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(947,0): (947,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(2922,0): (2922,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(2931,0): (2931,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(2714,0): (2714,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(2727,0): (2727,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(559,0): (559,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(562,0): (562,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(7030,0): (7030,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(7069,0): (7069,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
Compiling spiral_builder v0.0.1 (C:\home\git\polyglot\apps\spiral\builder)
Finished `release` profile [optimized] target(s) in 19.99s
Running unittests builder.rs (C:\home\git\polyglot\target\release\deps\spiral_builder-e7cf7b6ab4d17510.exe)
running 1 test
test module_2b7e754a::Builder::verify_app ... ok
successes:
successes:
module_2b7e754a::Builder::verify_app
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
Compiling spiral_builder v0.0.1 (C:\home\git\polyglot\apps\spiral\builder)
Finished `release` profile [optimized] target(s) in 27.48s
In [ ]:
{ . ../lib/fsharp/build.ps1 -sequential 1 } | Invoke-Block -Location $ScriptDir
00:00:00 debug #1 run_with_timeout_async / timeout: 500
00:00:00 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:01 debug #2 run_with_timeout_async / timeout: 100
00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:01 debug #4 run_with_timeout_async / timeout: 100
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 debug #5 run_with_timeout_async / timeout: 100
00:00:01 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:01 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:01 verbose #6 > Server bound to: http://localhost:13805
00:00:01 debug #7 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 Async.dib" -Retries 3", [||],
None, None, None)
00:00:02 verbose #8 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: Async.dib / _args: [
00:00:02 verbose #9 > "-Retries",
00:00:02 verbose #10 > 3
00:00:02 verbose #11 > ]
00:00:04 verbose #12 >
00:00:04 verbose #13 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #14 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #15 > │ # Async (Polyglot) │
00:00:04 verbose #16 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:04 verbose #17 >
00:00:04 verbose #18 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:04 verbose #19 > #!import ../../lib/fsharp/Notebooks.dib
00:00:04 verbose #20 > #!import ../../lib/fsharp/Testing.dib
00:00:04 verbose #21 >
00:00:04 verbose #22 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:04 verbose #23 > #r
00:00:04 verbose #24 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:04 verbose #25 > spNetCore.Html.Abstractions.dll"
00:00:04 verbose #26 > #r
00:00:04 verbose #27 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #28 > otNet.Interactive.dll"
00:00:04 verbose #29 > #r
00:00:04 verbose #30 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #31 > otNet.Interactive.FSharp.dll"
00:00:04 verbose #32 > #r
00:00:04 verbose #33 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #34 > otNet.Interactive.Formatting.dll"
00:00:04 verbose #35 > open System
00:00:04 verbose #36 > open System.IO
00:00:04 verbose #37 > open System.Text
00:00:04 verbose #38 > open Microsoft.DotNet.Interactive.Formatting
00:00:07 verbose #39 >
00:00:07 verbose #40 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 verbose #41 > #r
00:00:07 verbose #42 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:07 verbose #43 > otNet.Interactive.FSharp.dll"
00:00:07 verbose #44 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:07 verbose #45 > #r
00:00:07 verbose #46 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:07 verbose #47 > otNet.Interactive.dll"
00:00:07 verbose #48 > open type Microsoft.DotNet.Interactive.Kernel
00:00:07 verbose #49 >
00:00:07 verbose #50 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 verbose #51 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:00:08 verbose #52 >
00:00:08 verbose #53 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #54 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:00:08 verbose #55 > TextWriter)->fprintfn writer "%120A" x)
00:00:08 verbose #56 >
00:00:08 verbose #57 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #58 > //// test
00:00:08 verbose #59 >
00:00:08 verbose #60 > Formatter.ListExpansionLimit <- 100
00:00:08 verbose #61 >
00:00:08 verbose #62 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #63 > #if FABLE_COMPILER
00:00:08 verbose #64 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:00:08 verbose #65 > #endif
00:00:08 verbose #66 > type Func0<'T> = class end
00:00:08 verbose #67 > #if FABLE_COMPILER
00:00:08 verbose #68 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:00:08 verbose #69 > #endif
00:00:08 verbose #70 > type Func0<'T, 'U> = class end
00:00:08 verbose #71 > #if FABLE_COMPILER
00:00:08 verbose #72 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:00:08 verbose #73 > #endif
00:00:08 verbose #74 > type Box<'T> = class end
00:00:08 verbose #75 > #if FABLE_COMPILER
00:00:08 verbose #76 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:00:08 verbose #77 > #endif
00:00:08 verbose #78 > type Dyn<'T> = class end
00:00:08 verbose #79 > #if FABLE_COMPILER
00:00:08 verbose #80 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:00:08 verbose #81 > #endif
00:00:08 verbose #82 > type Send<'T> = class end
00:00:08 verbose #83 > #if FABLE_COMPILER
00:00:08 verbose #84 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:00:08 verbose #85 > #endif
00:00:08 verbose #86 > type Fn<'T> = class end
00:00:08 verbose #87 > #if FABLE_COMPILER
00:00:08 verbose #88 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:00:08 verbose #89 > #endif
00:00:08 verbose #90 > type FnUnit = class end
00:00:08 verbose #91 > #if FABLE_COMPILER
00:00:08 verbose #92 > [[<Fable.Core.Er...
00:00:11 verbose #93 >
00:00:11 verbose #94 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:11 verbose #95 > #if FABLE_COMPILER
00:00:11 verbose #96 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:00:11 verbose #97 > #endif
00:00:11 verbose #98 > type std_future_Future<'T> = class end
00:00:11 verbose #99 > #if FABLE_COMPILER
00:00:11 verbose #100 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:00:11 verbose #101 > #endif
00:00:11 verbose #102 > type futures_future_TryJoinAll<'T> = class end
00:00:11 verbose #103 > #if FABLE_COMPILER
00:00:11 verbose #104 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:00:11 verbose #105 > #endif
00:00:11 verbose #106 > type rayon_vec_IntoIter<'T> = class end
00:00:11 verbose #107 > #if FABLE_COMPILER
00:00:11 verbose #108 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:00:11 verbose #109 > #endif
00:00:11 verbose #110 > type rayon_iter_Map<'T> = class end
00:00:11 verbose #111 > #if FABLE_COMPILER
00:00:11 verbose #112 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:00:11 verbose #113 > #endif
00:00:11 verbose #114 > type futures_lite_stream_StreamExt = class end
00:00:11 verbose #115 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:00:11 verbose #116 >
00:00:11 verbose #117 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:11 verbose #118 > #if FABLE_COMPILER
00:00:11 verbose #119 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:00:11 verbose #120 > #endif
00:00:11 verbose #121 > type std_thread_JoinHandle<'T> = class end
00:00:11 verbose #122 > #if FABLE_COMPILER
00:00:11 verbose #123 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:00:11 verbose #124 > #endif
00:00:11 verbose #125 > type std_sync_Arc<'T> = class end
00:00:11 verbose #126 > #if FABLE_COMPILER
00:00:11 verbose #127 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:00:11 verbose #128 > #endif
00:00:11 verbose #129 > type std_sync_Mutex<'T> = class end
00:00:11 verbose #130 > #if FABLE_COMPILER
00:00:11 verbose #131 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:00:11 verbose #132 > #endif
00:00:11 verbose #133 > type std_sync_MutexGuard<'T> = class end
00:00:11 verbose #134 > #if FABLE_COMPILER
00:00:11 verbose #135 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:00:11 verbose #136 > #endif
00:00:11 verbose #137 > type std_sync_PoisonError<'T> = class end
00:00:11 verbose #138 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:00:11 verbose #139 > _.Dispose () = f ()
00:00:11 verbose #140 > ...
00:00:17 verbose #141 >
00:00:17 verbose #142 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #143 > module SpiralTrace =
00:00:17 verbose #144 > let trace x =
00:00:17 verbose #145 > #if !INTERACTIVE
00:00:17 verbose #146 > Trace.trace x
00:00:17 verbose #147 > #else
00:00:17 verbose #148 > trace x
00:00:17 verbose #149 > #endif
00:00:17 verbose #150 >
00:00:17 verbose #151 > type TraceLevel =
00:00:17 verbose #152 > #if !INTERACTIVE
00:00:17 verbose #153 > Trace.US0
00:00:17 verbose #154 > #else
00:00:17 verbose #155 > US0
00:00:17 verbose #156 > #endif
00:00:17 verbose #157 >
00:00:17 verbose #158 > module SpiralCrypto =
00:00:17 verbose #159 > let hash_text x =
00:00:17 verbose #160 > #if !INTERACTIVE
00:00:17 verbose #161 > Crypto.hash_text x
00:00:17 verbose #162 > #else
00:00:17 verbose #163 > hash_text x
00:00:17 verbose #164 > #endif
00:00:17 verbose #165 >
00:00:17 verbose #166 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:00:17 verbose #167 >
00:00:17 verbose #168 > module SpiralAsync =
00:00:17 verbose #169 > let merge_cancellation_token_with_default_async x =
00:00:17 verbose #170 > #if !INTERACTIVE
00:00:17 verbose #171 > Async_.merge_cancellation_token_with_default_async x
00:00:17 verbose #172 > #else
00:00:17 verbose #173 > merge_cancellation_token_with_default_async x
00:00:17 verbose #174 > #endif
00:00:17 verbose #175 >
00:00:17 verbose #176 > module SpiralThreading =
00:00:17 verbose #177 > let new_disposable_token x =
00:00:17 verbose #178 > #if !INTERACTIVE
00:00:17 verbose #179 > Threading.new_disposable_token x
00:00:17 verbose #180 > #else
00:00:17 verbose #181 > new_disposable_token x
00:00:17 verbose #182 > #endif
00:00:17 verbose #183 >
00:00:17 verbose #184 > module Spi...
00:00:17 verbose #185 >
00:00:17 verbose #186 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #187 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:00:17 verbose #188 >
00:00:17 verbose #189 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #190 > //// test
00:00:17 verbose #191 >
00:00:17 verbose #192 > type AssertExceptionFormatter (ex) =
00:00:17 verbose #193 > member _.Text =
00:00:17 verbose #194 > ex.ToString()
00:00:17 verbose #195 > .Replace("32m", "<span style=\"color: green;\">")
00:00:17 verbose #196 > .Replace("36m", "</span>")
00:00:17 verbose #197 > .Replace("31m", "<span style=\"color: red;\">")
00:00:17 verbose #198 > .Replace("\n", "<br/>\n")
00:00:17 verbose #199 >
00:00:17 verbose #200 >
00:00:17 verbose #201 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:00:17 verbose #202 > AssertExceptionFormatter) -> x.Text), "text/html")
00:00:17 verbose #203 >
00:00:17 verbose #204 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #205 > //// test
00:00:17 verbose #206 >
00:00:17 verbose #207 > let inline __expect fn log expected actual =
00:00:17 verbose #208 > if log then printfn $"{actual.ToDisplayString ()}"
00:00:17 verbose #209 > try
00:00:17 verbose #210 > "Testing.__expect" |> fn actual expected
00:00:17 verbose #211 > with :? Expecto.AssertException as ex ->
00:00:17 verbose #212 > AssertExceptionFormatter(ex).Display () |> ignore
00:00:17 verbose #213 > failwith (ex.GetType().FullName)
00:00:17 verbose #214 >
00:00:17 verbose #215 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:00:17 verbose #216 > expected actual
00:00:17 verbose #217 > let inline _contains expected actual = __contains true expected actual
00:00:17 verbose #218 >
00:00:17 verbose #219 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:00:17 verbose #220 > expected actual
00:00:17 verbose #221 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:00:17 verbose #222 >
00:00:17 verbose #223 > let inline __isGreaterThan log expected actual = __expect
00:00:17 verbose #224 > Expecto.Expect.isGreaterThan log ex...
00:00:17 verbose #225 >
00:00:17 verbose #226 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #227 > //// test
00:00:17 verbose #228 >
00:00:17 verbose #229 > let inline __isBetween log a b actual =
00:00:17 verbose #230 > let inline isBetween actual (a, b) _ =
00:00:17 verbose #231 > __isGreaterThanOrEqual log a actual
00:00:17 verbose #232 > __isLessThanOrEqual log b actual
00:00:17 verbose #233 > __expect isBetween log (a, b) actual
00:00:17 verbose #234 > let inline _isBetween a b actual = __isBetween true a b actual
00:00:17 verbose #235 >
00:00:17 verbose #236 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #237 > #!import ../../lib/fsharp/Common.fs
00:00:17 verbose #238 >
00:00:17 verbose #239 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #240 > #if !INTERACTIVE
00:00:17 verbose #241 > namespace Polyglot
00:00:17 verbose #242 > #endif
00:00:17 verbose #243 >
00:00:17 verbose #244 > module Common =
00:00:17 verbose #245 >
00:00:17 verbose #246 > #if !INTERACTIVE
00:00:17 verbose #247 > open Lib
00:00:17 verbose #248 > #endif
00:00:17 verbose #249 >
00:00:17 verbose #250 > let nl = System.Environment.NewLine
00:00:17 verbose #251 > let q = @""""
00:00:17 verbose #252 >
00:00:17 verbose #253 > let inline cons head tail = head :: tail
00:00:17 verbose #254 >
00:00:17 verbose #255 > /// ## memoize
00:00:17 verbose #256 > let inline memoize fn =
00:00:17 verbose #257 > let result = lazy fn ()
00:00:17 verbose #258 > fun () -> result.Value
00:00:17 verbose #259 >
00:00:17 verbose #260 > /// ## TraceLevel
00:00:17 verbose #261 > type TraceLevel =
00:00:17 verbose #262 > | Verbose
00:00:17 verbose #263 > | Debug
00:00:17 verbose #264 > | Info
00:00:17 verbose #265 > | Warning
00:00:17 verbose #266 > | Critical
00:00:17 verbose #267 >
00:00:17 verbose #268 > let inline _locals () = ""
00:00:17 verbose #269 >
00:00:17 verbose #270 > /// ## trace
00:00:17 verbose #271 > let to_trace_level = function
00:00:17 verbose #272 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:00:17 verbose #273 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:00:17 verbose #274 > | Info -> SpiralTrace.TraceLevel.US0_2
00:00:17 verbose #275 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:00:17 verbose #276 > | Critical -> Spir...
00:00:17 verbose #277 >
00:00:17 verbose #278 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #279 > #if !INTERACTIVE
00:00:17 verbose #280 > open Lib
00:00:17 verbose #281 > #endif
00:00:17 verbose #282 >
00:00:17 verbose #283 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #284 > open Common
00:00:17 verbose #285 >
00:00:17 verbose #286 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #287 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #288 > │ ## choice │
00:00:17 verbose #289 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #290 >
00:00:17 verbose #291 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #292 > let inline choice asyncs = async {
00:00:17 verbose #293 > let e = Event<_> ()
00:00:17 verbose #294 > use cts = new System.Threading.CancellationTokenSource ()
00:00:17 verbose #295 > let fn =
00:00:17 verbose #296 > asyncs
00:00:17 verbose #297 > |> Seq.map (fun a -> async {
00:00:17 verbose #298 > let! x = a
00:00:17 verbose #299 > e.Trigger x
00:00:17 verbose #300 > })
00:00:17 verbose #301 > |> Async.Parallel
00:00:17 verbose #302 > |> Async.Ignore
00:00:17 verbose #303 > Async.Start (fn, cts.Token)
00:00:17 verbose #304 > let! result = Async.AwaitEvent e.Publish
00:00:17 verbose #305 > cts.Cancel ()
00:00:17 verbose #306 > return result
00:00:17 verbose #307 > }
00:00:18 verbose #308 >
00:00:18 verbose #309 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #310 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #311 > │ ## map │
00:00:18 verbose #312 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #313 >
00:00:18 verbose #314 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #315 > let inline map fn a = async {
00:00:18 verbose #316 > let! x = a
00:00:18 verbose #317 > return fn x
00:00:18 verbose #318 > }
00:00:18 verbose #319 >
00:00:18 verbose #320 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #321 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #322 > │ ## catch │
00:00:18 verbose #323 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #324 >
00:00:18 verbose #325 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #326 > let inline catch a =
00:00:18 verbose #327 > a
00:00:18 verbose #328 > |> Async.Catch
00:00:18 verbose #329 > |> map (function
00:00:18 verbose #330 > | Choice1Of2 result -> Ok result
00:00:18 verbose #331 > | Choice2Of2 ex -> Error ex
00:00:18 verbose #332 > )
00:00:18 verbose #333 >
00:00:18 verbose #334 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #335 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #336 > │ ## runWithTimeoutChoiceAsync │
00:00:18 verbose #337 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #338 >
00:00:18 verbose #339 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #340 > let inline runWithTimeoutChoiceAsync (timeout : int) fn =
00:00:18 verbose #341 > let _locals () = $"timeout: {timeout} / {_locals ()}"
00:00:18 verbose #342 >
00:00:18 verbose #343 > let timeoutTask = async {
00:00:18 verbose #344 > do! Async.Sleep timeout
00:00:18 verbose #345 > trace Debug (fun () -> "runWithTimeoutChoiceAsync") _locals
00:00:18 verbose #346 > return None
00:00:18 verbose #347 > }
00:00:18 verbose #348 >
00:00:18 verbose #349 > let task = async {
00:00:18 verbose #350 > try
00:00:18 verbose #351 > let! result = fn
00:00:18 verbose #352 > return Some result
00:00:18 verbose #353 > with
00:00:18 verbose #354 > | :? System.AggregateException as ex when
00:00:18 verbose #355 > ex.InnerExceptions
00:00:18 verbose #356 > |> Seq.exists (function :?
00:00:18 verbose #357 > System.Threading.Tasks.TaskCanceledException -> true | _ -> false)
00:00:18 verbose #358 > ->
00:00:18 verbose #359 > trace Warning
00:00:18 verbose #360 > (fun () -> "runWithTimeoutChoiceAsync")
00:00:18 verbose #361 > (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:18 verbose #362 > ()}")
00:00:18 verbose #363 > return None
00:00:18 verbose #364 > | ex ->
00:00:18 verbose #365 > trace Critical
00:00:18 verbose #366 > (fun () -> "runWithTimeoutChoiceAsync")
00:00:18 verbose #367 > (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:18 verbose #368 > ()}")
00:00:18 verbose #369 > return None
00:00:18 verbose #370 > }
00:00:18 verbose #371 >
00:00:18 verbose #372 > [[ timeoutTask; task ]]
00:00:18 verbose #373 > |> choice
00:00:18 verbose #374 >
00:00:18 verbose #375 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #376 > let inline runWithTimeoutChoice timeout fn =
00:00:18 verbose #377 > fn
00:00:18 verbose #378 > |> runWithTimeoutChoiceAsync timeout
00:00:18 verbose #379 > |> Async.RunSynchronously
00:00:18 verbose #380 >
00:00:18 verbose #381 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #382 > //// test
00:00:18 verbose #383 >
00:00:18 verbose #384 > Async.Sleep 120
00:00:18 verbose #385 > |> runWithTimeoutChoice 10
00:00:18 verbose #386 > |> _assertEqual None
00:00:18 verbose #387 >
00:00:18 verbose #388 > ╭─[ 179.68ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 verbose #389 > │ 00:00:01 debug #1 runWithTimeoutChoiceAsync / timeout: 10 │
00:00:18 verbose #390 > │ <null> │
00:00:18 verbose #391 > │ │
00:00:18 verbose #392 > │ │
00:00:18 verbose #393 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #394 >
00:00:18 verbose #395 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #396 > //// test
00:00:18 verbose #397 >
00:00:18 verbose #398 > Async.Sleep 10
00:00:18 verbose #399 > |> runWithTimeoutChoice 60
00:00:18 verbose #400 > |> _assertEqual (Some ())
00:00:18 verbose #401 >
00:00:18 verbose #402 > ╭─[ 164.56ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 verbose #403 > │ Some () │
00:00:18 verbose #404 > │ │
00:00:18 verbose #405 > │ │
00:00:18 verbose #406 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #407 >
00:00:18 verbose #408 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #409 > //// test
00:00:18 verbose #410 >
00:00:18 verbose #411 > async {
00:00:18 verbose #412 > raise (exn "error")
00:00:18 verbose #413 > }
00:00:18 verbose #414 > |> runWithTimeoutChoice 60
00:00:18 verbose #415 > |> _assertEqual None
00:00:18 verbose #416 >
00:00:18 verbose #417 > ╭─[ 153.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 verbose #418 > │ 00:00:01 critical #2 runWithTimeoutChoiceAsync / ex: System.Exception: error │
00:00:18 verbose #419 > │ / timeout: 60 │
00:00:18 verbose #420 > │ <null> │
00:00:18 verbose #421 > │ │
00:00:18 verbose #422 > │ │
00:00:18 verbose #423 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #424 >
00:00:18 verbose #425 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #426 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #427 > │ ## runWithTimeoutAsync │
00:00:18 verbose #428 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #429 >
00:00:18 verbose #430 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #431 > let inline runWithTimeoutAsync (timeout : int) fn = async {
00:00:18 verbose #432 > let _locals () = $"timeout: {timeout} / {_locals ()}"
00:00:18 verbose #433 > let! child = Async.StartChild (fn, timeout)
00:00:18 verbose #434 > return!
00:00:18 verbose #435 > child
00:00:18 verbose #436 > |> catch
00:00:18 verbose #437 > |> map (function
00:00:18 verbose #438 > | Ok result -> Some result
00:00:18 verbose #439 > | Error (:? System.TimeoutException as ex) ->
00:00:18 verbose #440 > trace Debug (fun () -> $"runWithTimeoutAsync") _locals
00:00:18 verbose #441 > None
00:00:18 verbose #442 > | Error ex ->
00:00:18 verbose #443 > trace Critical (fun () -> $"runWithTimeoutAsync** / ex: {ex |>
00:00:18 verbose #444 > SpiralSm.format_exception}") _locals
00:00:18 verbose #445 > None
00:00:18 verbose #446 > )
00:00:18 verbose #447 > }
00:00:18 verbose #448 >
00:00:18 verbose #449 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #450 > let inline runWithTimeout timeout fn =
00:00:18 verbose #451 > fn
00:00:18 verbose #452 > |> runWithTimeoutAsync timeout
00:00:18 verbose #453 > |> Async.RunSynchronously
00:00:19 verbose #454 >
00:00:19 verbose #455 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #456 > //// test
00:00:19 verbose #457 >
00:00:19 verbose #458 > Async.Sleep 60
00:00:19 verbose #459 > |> runWithTimeout 10
00:00:19 verbose #460 > |> _assertEqual None
00:00:19 verbose #461 >
00:00:19 verbose #462 > ╭─[ 98.44ms - stdout ]─────────────────────────────────────────────────────────╮
00:00:19 verbose #463 > │ 00:00:01 debug #3 runWithTimeoutAsync / timeout: 10 │
00:00:19 verbose #464 > │ <null> │
00:00:19 verbose #465 > │ │
00:00:19 verbose #466 > │ │
00:00:19 verbose #467 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #468 >
00:00:19 verbose #469 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #470 > //// test
00:00:19 verbose #471 >
00:00:19 verbose #472 > Async.Sleep 10
00:00:19 verbose #473 > |> runWithTimeout 60
00:00:19 verbose #474 > |> _assertEqual (Some ())
00:00:19 verbose #475 >
00:00:19 verbose #476 > ╭─[ 87.76ms - stdout ]─────────────────────────────────────────────────────────╮
00:00:19 verbose #477 > │ Some () │
00:00:19 verbose #478 > │ │
00:00:19 verbose #479 > │ │
00:00:19 verbose #480 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #481 >
00:00:19 verbose #482 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #483 > //// test
00:00:19 verbose #484 >
00:00:19 verbose #485 > async {
00:00:19 verbose #486 > raise (exn "error")
00:00:19 verbose #487 > }
00:00:19 verbose #488 > |> runWithTimeout 60
00:00:19 verbose #489 > |> _assertEqual None
00:00:19 verbose #490 >
00:00:19 verbose #491 > ╭─[ 86.48ms - stdout ]─────────────────────────────────────────────────────────╮
00:00:19 verbose #492 > │ 00:00:01 critical #4 runWithTimeoutAsync** / ex: System.Exception: error / │
00:00:19 verbose #493 > │ timeout: 60 │
00:00:19 verbose #494 > │ <null> │
00:00:19 verbose #495 > │ │
00:00:19 verbose #496 > │ │
00:00:19 verbose #497 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #498 >
00:00:19 verbose #499 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #500 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #501 > │ ## runWithTimeoutStrict │
00:00:19 verbose #502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #503 >
00:00:19 verbose #504 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #505 > let inline runWithTimeoutStrict (timeout : int) fn =
00:00:19 verbose #506 > let _locals () = $"timeout: {timeout} / {_locals ()}"
00:00:19 verbose #507 >
00:00:19 verbose #508 > let timeoutTask = async {
00:00:19 verbose #509 > do! Async.Sleep timeout
00:00:19 verbose #510 > return None, _locals
00:00:19 verbose #511 > }
00:00:19 verbose #512 >
00:00:19 verbose #513 > let task = async {
00:00:19 verbose #514 > try
00:00:19 verbose #515 > return Async.RunSynchronously (fn, timeout) |> Some, _locals
00:00:19 verbose #516 > with
00:00:19 verbose #517 > | :? System.TimeoutException as ex ->
00:00:19 verbose #518 > let _locals () = $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:19 verbose #519 > ()}"
00:00:19 verbose #520 > return None, _locals
00:00:19 verbose #521 > | ex ->
00:00:19 verbose #522 > trace Critical
00:00:19 verbose #523 > (fun () -> "runWithTimeoutStrict / async error")
00:00:19 verbose #524 > (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals
00:00:19 verbose #525 > ()}")
00:00:19 verbose #526 > return raise ex
00:00:19 verbose #527 > }
00:00:19 verbose #528 >
00:00:19 verbose #529 > try
00:00:19 verbose #530 > [[| timeoutTask; task |]]
00:00:19 verbose #531 > |> Array.map Async.StartAsTask
00:00:19 verbose #532 > |> System.Threading.Tasks.Task.WhenAny
00:00:19 verbose #533 > |> fun task ->
00:00:19 verbose #534 > match task.Result.Result with
00:00:19 verbose #535 > | None, _locals ->
00:00:19 verbose #536 > trace Debug (fun () -> "runWithTimeoutStrict") _locals
00:00:19 verbose #537 > None
00:00:19 verbose #538 > | result, _ -> result
00:00:19 verbose #539 > with
00:00:19 verbose #540 > | :? System.AggregateException as ex when
00:00:19 verbose #541 > ex.InnerExceptions
00:00:19 verbose #542 > |> Seq.exists (function :? System.Threading.Tasks.TaskCanceledException
00:00:19 verbose #543 > -> true | _ -> false)
00:00:19 verbose #544 > ->
00:00:19 verbose #545 > trace Warning
00:00:19 verbose #546 > (fun () -> "runWithTimeoutStrict")
00:00:19 verbose #547 > (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals ()}")
00:00:19 verbose #548 > None
00:00:19 verbose #549 > | ex ->
00:00:19 verbose #550 > trace Critical
00:00:19 verbose #551 > (fun () -> "runWithTimeoutStrict / task error")
00:00:19 verbose #552 > (fun () -> $"ex: {ex |> SpiralSm.format_exception} / {_locals ()}")
00:00:19 verbose #553 > None
00:00:19 verbose #554 >
00:00:19 verbose #555 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #556 > //// test
00:00:19 verbose #557 >
00:00:19 verbose #558 > Async.Sleep 60
00:00:19 verbose #559 > |> runWithTimeoutStrict 10
00:00:19 verbose #560 > |> _assertEqual None
00:00:19 verbose #561 >
00:00:19 verbose #562 > ╭─[ 141.76ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 verbose #563 > │ 00:00:02 debug #5 runWithTimeoutStrict / timeout: 10 │
00:00:19 verbose #564 > │ <null> │
00:00:19 verbose #565 > │ │
00:00:19 verbose #566 > │ │
00:00:19 verbose #567 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #568 >
00:00:19 verbose #569 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #570 > //// test
00:00:19 verbose #571 >
00:00:19 verbose #572 > Async.Sleep 10
00:00:19 verbose #573 > |> runWithTimeoutStrict 60
00:00:19 verbose #574 > |> _assertEqual (Some ())
00:00:19 verbose #575 >
00:00:19 verbose #576 > ╭─[ 122.02ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 verbose #577 > │ Some () │
00:00:19 verbose #578 > │ │
00:00:19 verbose #579 > │ │
00:00:19 verbose #580 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #581 >
00:00:19 verbose #582 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #583 > //// test
00:00:19 verbose #584 >
00:00:19 verbose #585 > async {
00:00:19 verbose #586 > raise (exn "error")
00:00:19 verbose #587 > }
00:00:19 verbose #588 > |> runWithTimeoutStrict 60
00:00:19 verbose #589 > |> _assertEqual None
00:00:19 verbose #590 >
00:00:19 verbose #591 > ╭─[ 136.48ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 verbose #592 > │ 00:00:02 critical #6 runWithTimeoutStrict / async error / ex: │
00:00:19 verbose #593 > │ System.Exception: error / timeout: 60 │
00:00:19 verbose #594 > │ 00:00:02 critical #7 runWithTimeoutStrict / task error / ex: │
00:00:19 verbose #595 > │ System.AggregateException: One or more errors occurred. (error) / timeout: │
00:00:19 verbose #596 > │ 60 │
00:00:19 verbose #597 > │ <null> │
00:00:19 verbose #598 > │ │
00:00:19 verbose #599 > │ │
00:00:19 verbose #600 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #601 >
00:00:19 verbose #602 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #603 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #604 > │ ## awaitValueTask │
00:00:19 verbose #605 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #606 >
00:00:19 verbose #607 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #608 > let inline awaitValueTaskUnit (task : System.Threading.Tasks.ValueTask) =
00:00:19 verbose #609 > task.AsTask () |> Async.AwaitTask
00:00:19 verbose #610 >
00:00:19 verbose #611 > let inline awaitValueTask (task : System.Threading.Tasks.ValueTask<_>) =
00:00:19 verbose #612 > task.AsTask () |> Async.AwaitTask
00:00:19 verbose #613 >
00:00:19 verbose #614 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #615 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #616 > │ ## init │
00:00:19 verbose #617 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #618 >
00:00:19 verbose #619 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #620 > let inline init x = async {
00:00:19 verbose #621 > return x
00:00:19 verbose #622 > }
00:00:19 verbose #623 >
00:00:19 verbose #624 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #625 > //// test
00:00:19 verbose #626 >
00:00:19 verbose #627 > init 1
00:00:19 verbose #628 > |> Async.RunSynchronously
00:00:19 verbose #629 > |> _assertEqual 1
00:00:19 verbose #630 >
00:00:19 verbose #631 > ╭─[ 37.32ms - stdout ]─────────────────────────────────────────────────────────╮
00:00:19 verbose #632 > │ 1 │
00:00:19 verbose #633 > │ │
00:00:19 verbose #634 > │ │
00:00:19 verbose #635 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #636 >
00:00:19 verbose #637 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #638 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #639 > │ ## withCancellationToken │
00:00:19 verbose #640 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #641 >
00:00:19 verbose #642 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #643 > let inline withCancellationToken (ct : System.Threading.CancellationToken) fn =
00:00:19 verbose #644 > Async.StartImmediateAsTask (fn, ct)
00:00:19 verbose #645 > |> Async.AwaitTask
00:00:19 verbose #646 >
00:00:19 verbose #647 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #648 > //// test
00:00:19 verbose #649 >
00:00:19 verbose #650 > let cts = new System.Threading.CancellationTokenSource ()
00:00:19 verbose #651 >
00:00:19 verbose #652 > async {
00:00:19 verbose #653 > let run = async {
00:00:19 verbose #654 > do! Async.Sleep 100
00:00:19 verbose #655 > return 1
00:00:19 verbose #656 > }
00:00:19 verbose #657 >
00:00:19 verbose #658 > let! child =
00:00:19 verbose #659 > run
00:00:19 verbose #660 > |> withCancellationToken cts.Token
00:00:19 verbose #661 > |> catch
00:00:19 verbose #662 > |> Async.StartChild
00:00:19 verbose #663 >
00:00:19 verbose #664 > do! Async.Sleep 50
00:00:19 verbose #665 > cts.Cancel ()
00:00:19 verbose #666 > return! child
00:00:19 verbose #667 > }
00:00:19 verbose #668 > |> Async.RunSynchronously
00:00:19 verbose #669 > |> Result.mapError _.Message
00:00:19 verbose #670 > |> _assertEqual (Error ("A task was canceled."))
00:00:20 verbose #671 >
00:00:20 verbose #672 > ╭─[ 199.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 verbose #673 > │ Error "A task was canceled." │
00:00:20 verbose #674 > │ │
00:00:20 verbose #675 > │ │
00:00:20 verbose #676 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #677 > [NbConvertApp] Converting notebook Async.dib.ipynb to html
00:00:22 verbose #678 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:22 verbose #679 > validate(nb)
00:00:23 verbose #680 > [NbConvertApp] Writing 321140 bytes to Async.dib.html
00:00:24 debug #681 execute_with_options_async / exit_code: 0 / output.Length: 24966
00:00:24 debug #3 main / executeCommand / exitCode: 0
00:00:24 debug #682 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 AsyncSeq.dib" -Retries 3", [||],
None, None, None)
00:00:25 verbose #683 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: AsyncSeq.dib / _args: [
00:00:25 verbose #684 > "-Retries",
00:00:25 verbose #685 > 3
00:00:25 verbose #686 > ]
00:00:27 verbose #687 >
00:00:27 verbose #688 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 verbose #689 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 verbose #690 > │ # AsyncSeq (Polyglot) │
00:00:27 verbose #691 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #692 >
00:00:27 verbose #693 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:27 verbose #694 > #!import ../../lib/fsharp/Notebooks.dib
00:00:27 verbose #695 > #!import ../../lib/fsharp/Testing.dib
00:00:27 verbose #696 >
00:00:27 verbose #697 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:27 verbose #698 > #r
00:00:27 verbose #699 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:27 verbose #700 > spNetCore.Html.Abstractions.dll"
00:00:27 verbose #701 > #r
00:00:27 verbose #702 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:27 verbose #703 > otNet.Interactive.dll"
00:00:27 verbose #704 > #r
00:00:27 verbose #705 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:27 verbose #706 > otNet.Interactive.FSharp.dll"
00:00:27 verbose #707 > #r
00:00:27 verbose #708 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:27 verbose #709 > otNet.Interactive.Formatting.dll"
00:00:27 verbose #710 > open System
00:00:27 verbose #711 > open System.IO
00:00:27 verbose #712 > open System.Text
00:00:27 verbose #713 > open Microsoft.DotNet.Interactive.Formatting
00:00:31 verbose #714 >
00:00:31 verbose #715 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:31 verbose #716 > #r
00:00:31 verbose #717 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:31 verbose #718 > otNet.Interactive.FSharp.dll"
00:00:31 verbose #719 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:31 verbose #720 > #r
00:00:31 verbose #721 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:31 verbose #722 > otNet.Interactive.dll"
00:00:31 verbose #723 > open type Microsoft.DotNet.Interactive.Kernel
00:00:31 verbose #724 >
00:00:31 verbose #725 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:31 verbose #726 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:00:31 verbose #727 >
00:00:31 verbose #728 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:31 verbose #729 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:00:31 verbose #730 > TextWriter)->fprintfn writer "%120A" x)
00:00:32 verbose #731 >
00:00:32 verbose #732 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:32 verbose #733 > //// test
00:00:32 verbose #734 >
00:00:32 verbose #735 > Formatter.ListExpansionLimit <- 100
00:00:32 verbose #736 >
00:00:32 verbose #737 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:32 verbose #738 > #if FABLE_COMPILER
00:00:32 verbose #739 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:00:32 verbose #740 > #endif
00:00:32 verbose #741 > type Func0<'T> = class end
00:00:32 verbose #742 > #if FABLE_COMPILER
00:00:32 verbose #743 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:00:32 verbose #744 > #endif
00:00:32 verbose #745 > type Func0<'T, 'U> = class end
00:00:32 verbose #746 > #if FABLE_COMPILER
00:00:32 verbose #747 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:00:32 verbose #748 > #endif
00:00:32 verbose #749 > type Box<'T> = class end
00:00:32 verbose #750 > #if FABLE_COMPILER
00:00:32 verbose #751 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:00:32 verbose #752 > #endif
00:00:32 verbose #753 > type Dyn<'T> = class end
00:00:32 verbose #754 > #if FABLE_COMPILER
00:00:32 verbose #755 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:00:32 verbose #756 > #endif
00:00:32 verbose #757 > type Send<'T> = class end
00:00:32 verbose #758 > #if FABLE_COMPILER
00:00:32 verbose #759 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:00:32 verbose #760 > #endif
00:00:32 verbose #761 > type Fn<'T> = class end
00:00:32 verbose #762 > #if FABLE_COMPILER
00:00:32 verbose #763 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:00:32 verbose #764 > #endif
00:00:32 verbose #765 > type FnUnit = class end
00:00:32 verbose #766 > #if FABLE_COMPILER
00:00:32 verbose #767 > [[<Fable.Core.Er...
00:00:34 verbose #768 >
00:00:34 verbose #769 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:34 verbose #770 > #if FABLE_COMPILER
00:00:34 verbose #771 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:00:34 verbose #772 > #endif
00:00:34 verbose #773 > type std_future_Future<'T> = class end
00:00:34 verbose #774 > #if FABLE_COMPILER
00:00:34 verbose #775 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:00:34 verbose #776 > #endif
00:00:34 verbose #777 > type futures_future_TryJoinAll<'T> = class end
00:00:34 verbose #778 > #if FABLE_COMPILER
00:00:34 verbose #779 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:00:34 verbose #780 > #endif
00:00:34 verbose #781 > type rayon_vec_IntoIter<'T> = class end
00:00:34 verbose #782 > #if FABLE_COMPILER
00:00:34 verbose #783 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:00:34 verbose #784 > #endif
00:00:34 verbose #785 > type rayon_iter_Map<'T> = class end
00:00:34 verbose #786 > #if FABLE_COMPILER
00:00:34 verbose #787 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:00:34 verbose #788 > #endif
00:00:34 verbose #789 > type futures_lite_stream_StreamExt = class end
00:00:34 verbose #790 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:00:34 verbose #791 >
00:00:34 verbose #792 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:34 verbose #793 > #if FABLE_COMPILER
00:00:34 verbose #794 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:00:34 verbose #795 > #endif
00:00:34 verbose #796 > type std_thread_JoinHandle<'T> = class end
00:00:34 verbose #797 > #if FABLE_COMPILER
00:00:34 verbose #798 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:00:34 verbose #799 > #endif
00:00:34 verbose #800 > type std_sync_Arc<'T> = class end
00:00:34 verbose #801 > #if FABLE_COMPILER
00:00:34 verbose #802 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:00:34 verbose #803 > #endif
00:00:34 verbose #804 > type std_sync_Mutex<'T> = class end
00:00:34 verbose #805 > #if FABLE_COMPILER
00:00:34 verbose #806 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:00:34 verbose #807 > #endif
00:00:34 verbose #808 > type std_sync_MutexGuard<'T> = class end
00:00:34 verbose #809 > #if FABLE_COMPILER
00:00:34 verbose #810 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:00:34 verbose #811 > #endif
00:00:34 verbose #812 > type std_sync_PoisonError<'T> = class end
00:00:34 verbose #813 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:00:34 verbose #814 > _.Dispose () = f ()
00:00:34 verbose #815 > ...
00:00:41 verbose #816 >
00:00:41 verbose #817 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #818 > module SpiralTrace =
00:00:41 verbose #819 > let trace x =
00:00:41 verbose #820 > #if !INTERACTIVE
00:00:41 verbose #821 > Trace.trace x
00:00:41 verbose #822 > #else
00:00:41 verbose #823 > trace x
00:00:41 verbose #824 > #endif
00:00:41 verbose #825 >
00:00:41 verbose #826 > type TraceLevel =
00:00:41 verbose #827 > #if !INTERACTIVE
00:00:41 verbose #828 > Trace.US0
00:00:41 verbose #829 > #else
00:00:41 verbose #830 > US0
00:00:41 verbose #831 > #endif
00:00:41 verbose #832 >
00:00:41 verbose #833 > module SpiralCrypto =
00:00:41 verbose #834 > let hash_text x =
00:00:41 verbose #835 > #if !INTERACTIVE
00:00:41 verbose #836 > Crypto.hash_text x
00:00:41 verbose #837 > #else
00:00:41 verbose #838 > hash_text x
00:00:41 verbose #839 > #endif
00:00:41 verbose #840 >
00:00:41 verbose #841 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:00:41 verbose #842 >
00:00:41 verbose #843 > module SpiralAsync =
00:00:41 verbose #844 > let merge_cancellation_token_with_default_async x =
00:00:41 verbose #845 > #if !INTERACTIVE
00:00:41 verbose #846 > Async_.merge_cancellation_token_with_default_async x
00:00:41 verbose #847 > #else
00:00:41 verbose #848 > merge_cancellation_token_with_default_async x
00:00:41 verbose #849 > #endif
00:00:41 verbose #850 >
00:00:41 verbose #851 > module SpiralThreading =
00:00:41 verbose #852 > let new_disposable_token x =
00:00:41 verbose #853 > #if !INTERACTIVE
00:00:41 verbose #854 > Threading.new_disposable_token x
00:00:41 verbose #855 > #else
00:00:41 verbose #856 > new_disposable_token x
00:00:41 verbose #857 > #endif
00:00:41 verbose #858 >
00:00:41 verbose #859 > module Spi...
00:00:41 verbose #860 >
00:00:41 verbose #861 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #862 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:00:41 verbose #863 >
00:00:41 verbose #864 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #865 > //// test
00:00:41 verbose #866 >
00:00:41 verbose #867 > type AssertExceptionFormatter (ex) =
00:00:41 verbose #868 > member _.Text =
00:00:41 verbose #869 > ex.ToString()
00:00:41 verbose #870 > .Replace("32m", "<span style=\"color: green;\">")
00:00:41 verbose #871 > .Replace("36m", "</span>")
00:00:41 verbose #872 > .Replace("31m", "<span style=\"color: red;\">")
00:00:41 verbose #873 > .Replace("\n", "<br/>\n")
00:00:41 verbose #874 >
00:00:41 verbose #875 >
00:00:41 verbose #876 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:00:41 verbose #877 > AssertExceptionFormatter) -> x.Text), "text/html")
00:00:41 verbose #878 >
00:00:41 verbose #879 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #880 > //// test
00:00:41 verbose #881 >
00:00:41 verbose #882 > let inline __expect fn log expected actual =
00:00:41 verbose #883 > if log then printfn $"{actual.ToDisplayString ()}"
00:00:41 verbose #884 > try
00:00:41 verbose #885 > "Testing.__expect" |> fn actual expected
00:00:41 verbose #886 > with :? Expecto.AssertException as ex ->
00:00:41 verbose #887 > AssertExceptionFormatter(ex).Display () |> ignore
00:00:41 verbose #888 > failwith (ex.GetType().FullName)
00:00:41 verbose #889 >
00:00:41 verbose #890 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:00:41 verbose #891 > expected actual
00:00:41 verbose #892 > let inline _contains expected actual = __contains true expected actual
00:00:41 verbose #893 >
00:00:41 verbose #894 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:00:41 verbose #895 > expected actual
00:00:41 verbose #896 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:00:41 verbose #897 >
00:00:41 verbose #898 > let inline __isGreaterThan log expected actual = __expect
00:00:41 verbose #899 > Expecto.Expect.isGreaterThan log ex...
00:00:41 verbose #900 >
00:00:41 verbose #901 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #902 > //// test
00:00:41 verbose #903 >
00:00:41 verbose #904 > let inline __isBetween log a b actual =
00:00:41 verbose #905 > let inline isBetween actual (a, b) _ =
00:00:41 verbose #906 > __isGreaterThanOrEqual log a actual
00:00:41 verbose #907 > __isLessThanOrEqual log b actual
00:00:41 verbose #908 > __expect isBetween log (a, b) actual
00:00:41 verbose #909 > let inline _isBetween a b actual = __isBetween true a b actual
00:00:41 verbose #910 >
00:00:41 verbose #911 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:41 verbose #912 > #r
00:00:41 verbose #913 > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:00:41 verbose #914 > dard2.1/FSharp.Control.AsyncSeq.dll"
00:00:41 verbose #915 > #r
00:00:41 verbose #916 > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:00:41 verbose #917 > 0/System.Reactive.dll"
00:00:41 verbose #918 > #r
00:00:41 verbose #919 > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:00:41 verbose #920 > netstandard2.0/System.Reactive.Linq.dll"
00:00:41 verbose #921 >
00:00:41 verbose #922 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:41 verbose #923 > #!import ../../lib/fsharp/Common.fs
00:00:41 verbose #924 > #!import ../../lib/fsharp/Async.fs
00:00:41 verbose #925 >
00:00:41 verbose #926 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #927 > #if !INTERACTIVE
00:00:41 verbose #928 > namespace Polyglot
00:00:41 verbose #929 > #endif
00:00:41 verbose #930 >
00:00:41 verbose #931 > module Common =
00:00:41 verbose #932 >
00:00:41 verbose #933 > #if !INTERACTIVE
00:00:41 verbose #934 > open Lib
00:00:41 verbose #935 > #endif
00:00:41 verbose #936 >
00:00:41 verbose #937 > let nl = System.Environment.NewLine
00:00:41 verbose #938 > let q = @""""
00:00:41 verbose #939 >
00:00:41 verbose #940 > let inline cons head tail = head :: tail
00:00:41 verbose #941 >
00:00:41 verbose #942 > /// ## memoize
00:00:41 verbose #943 > let inline memoize fn =
00:00:41 verbose #944 > let result = lazy fn ()
00:00:41 verbose #945 > fun () -> result.Value
00:00:41 verbose #946 >
00:00:41 verbose #947 > /// ## TraceLevel
00:00:41 verbose #948 > type TraceLevel =
00:00:41 verbose #949 > | Verbose
00:00:41 verbose #950 > | Debug
00:00:41 verbose #951 > | Info
00:00:41 verbose #952 > | Warning
00:00:41 verbose #953 > | Critical
00:00:41 verbose #954 >
00:00:41 verbose #955 > let inline _locals () = ""
00:00:41 verbose #956 >
00:00:41 verbose #957 > /// ## trace
00:00:41 verbose #958 > let to_trace_level = function
00:00:41 verbose #959 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:00:41 verbose #960 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:00:41 verbose #961 > | Info -> SpiralTrace.TraceLevel.US0_2
00:00:41 verbose #962 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:00:41 verbose #963 > | Critical -> Spir...
00:00:41 verbose #964 >
00:00:41 verbose #965 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:41 verbose #966 > #if !INTERACTIVE
00:00:41 verbose #967 > namespace Polyglot
00:00:41 verbose #968 > #endif
00:00:41 verbose #969 >
00:00:41 verbose #970 > module Async =
00:00:41 verbose #971 >
00:00:41 verbose #972 > #if !INTERACTIVE
00:00:41 verbose #973 > open Lib
00:00:41 verbose #974 > #endif
00:00:41 verbose #975 >
00:00:41 verbose #976 > open Common
00:00:41 verbose #977 >
00:00:41 verbose #978 > /// ## choice
00:00:41 verbose #979 > let inline choice asyncs = async {
00:00:41 verbose #980 > let e = Event<_> ()
00:00:41 verbose #981 > use cts = new System.Threading.CancellationTokenSource ()
00:00:41 verbose #982 > let fn =
00:00:41 verbose #983 > asyncs
00:00:41 verbose #984 > |> Seq.map (fun a -> async {
00:00:41 verbose #985 > let! x = a
00:00:41 verbose #986 > e.Trigger x
00:00:41 verbose #987 > })
00:00:41 verbose #988 > |> Async.Parallel
00:00:41 verbose #989 > |> Async.Ignore
00:00:41 verbose #990 > Async.Start (fn, cts.Token)
00:00:41 verbose #991 > let! result = Async.AwaitEvent e.Publish
00:00:41 verbose #992 > cts.Cancel ()
00:00:41 verbose #993 > return result
00:00:41 verbose #994 > }
00:00:41 verbose #995 >
00:00:41 verbose #996 > /// ## map
00:00:41 verbose #997 > let inline map fn a = async {
00:00:41 verbose #998 > let! x = a
00:00:41 verbose #999 > return fn x
00:00:41 verbose #1000 > }
00:00:41 verbose #1001 >
00:00:41 verbose #1002 > /// ## catch
00:00:41 verbose #1003 > let inline catch a =
00:00:41 verbose #1004 > ...
00:00:42 verbose #1005 >
00:00:42 verbose #1006 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #1007 > #if !INTERACTIVE
00:00:42 verbose #1008 > open Lib
00:00:42 verbose #1009 > #endif
00:00:42 verbose #1010 >
00:00:42 verbose #1011 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #1012 > open Common
00:00:42 verbose #1013 >
00:00:42 verbose #1014 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:42 verbose #1015 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:42 verbose #1016 > │ ## subscribeEvent │
00:00:42 verbose #1017 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:42 verbose #1018 >
00:00:42 verbose #1019 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #1020 > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:00:42 verbose #1021 > let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:00:42 verbose #1022 > 'A>(event.AddHandler, event.RemoveHandler)
00:00:42 verbose #1023 > System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:00:42 verbose #1024 > event.EventArgs)
00:00:42 verbose #1025 > |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:00:42 verbose #1026 >
00:00:42 verbose #1027 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #1028 > //// test
00:00:42 verbose #1029 >
00:00:42 verbose #1030 > type TestEvent () as self =
00:00:42 verbose #1031 > member val Calls = [[]] with get, set
00:00:42 verbose #1032 > member val Event = Event<ErrorEventHandler, ErrorEventArgs> () with get
00:00:42 verbose #1033 >
00:00:42 verbose #1034 > member _.AddCall text =
00:00:42 verbose #1035 > self.Calls <- self.Calls @ [[ text ]]
00:00:42 verbose #1036 >
00:00:42 verbose #1037 > member _.EventInterface =
00:00:42 verbose #1038 > { new IEvent<ErrorEventHandler, ErrorEventArgs> with
00:00:42 verbose #1039 > member _.AddHandler handler =
00:00:42 verbose #1040 > self.AddCall "AddHandler"
00:00:42 verbose #1041 > self.Event.Publish.AddHandler handler
00:00:42 verbose #1042 >
00:00:42 verbose #1043 > member _.RemoveHandler handler =
00:00:42 verbose #1044 > self.AddCall "RemoveHandler"
00:00:42 verbose #1045 > self.Event.Publish.RemoveHandler handler
00:00:42 verbose #1046 >
00:00:42 verbose #1047 > member _.Subscribe observer =
00:00:42 verbose #1048 > self.AddCall "IObservable.Subscribe"
00:00:42 verbose #1049 > let disposable = self.Event.Publish.Subscribe observer
00:00:42 verbose #1050 > new_disposable (fun () ->
00:00:42 verbose #1051 > self.AddCall "IObservable.Dispose"
00:00:42 verbose #1052 > disposable.Dispose ()
00:00:42 verbose #1053 > )
00:00:42 verbose #1054 > }
00:00:42 verbose #1055 >
00:00:42 verbose #1056 > member _.Subscribe () =
00:00:42 verbose #1057 > subscribeEvent
00:00:42 verbose #1058 > self.EventInterface
00:00:42 verbose #1059 > (fun args ->
00:00:42 verbose #1060 > let result = args.GetException () |> SpiralSm.format_exception
00:00:42 verbose #1061 > self.AddCall $"TestEvent.Subscribe({result})"
00:00:42 verbose #1062 > result
00:00:42 verbose #1063 > )
00:00:42 verbose #1064 >
00:00:42 verbose #1065 > member _.Iter subscription =
00:00:42 verbose #1066 > subscription
00:00:42 verbose #1067 > |> FSharp.Control.AsyncSeq.iteriAsync (fun i error -> async {
00:00:42 verbose #1068 > self.AddCall $"TestEvent.Iter({i}: {error})"
00:00:42 verbose #1069 > })
00:00:42 verbose #1070 >
00:00:42 verbose #1071 > member _.WaitCall text = async {
00:00:42 verbose #1072 > while self.Calls |> List.last <> text do
00:00:42 verbose #1073 > do! Async.SwitchToThreadPool ()
00:00:42 verbose #1074 > }
00:00:42 verbose #1075 >
00:00:42 verbose #1076 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #1077 > //// test
00:00:42 verbose #1078 >
00:00:42 verbose #1079 > let testEvent = TestEvent ()
00:00:42 verbose #1080 >
00:00:42 verbose #1081 > async {
00:00:42 verbose #1082 > testEvent.AddCall "1"
00:00:42 verbose #1083 > let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
00:00:42 verbose #1084 > do! testEvent.WaitCall "AddHandler"
00:00:42 verbose #1085 > testEvent.AddCall "2"
00:00:42 verbose #1086 > do! child
00:00:42 verbose #1087 > testEvent.AddCall "3"
00:00:42 verbose #1088 > }
00:00:42 verbose #1089 > |> Async.runWithTimeout 300
00:00:42 verbose #1090 > |> _assertEqual None
00:00:42 verbose #1091 >
00:00:42 verbose #1092 > testEvent.Calls
00:00:42 verbose #1093 > |> Seq.toList
00:00:42 verbose #1094 > |> _assertEqual [[ "1"; "AddHandler"; "2"; "RemoveHandler" ]]
00:00:43 verbose #1095 >
00:00:43 verbose #1096 > ╭─[ 541.36ms - stdout ]────────────────────────────────────────────────────────╮
00:00:43 verbose #1097 > │ 00:00:02 debug #1 runWithTimeoutAsync / timeout: 300 │
00:00:43 verbose #1098 > │ <null> │
00:00:43 verbose #1099 > │ │
00:00:43 verbose #1100 > │ ["1"; "AddHandler"; "2"; "RemoveHandler"] │
00:00:43 verbose #1101 > │ │
00:00:43 verbose #1102 > │ │
00:00:43 verbose #1103 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #1104 >
00:00:43 verbose #1105 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:43 verbose #1106 > //// test
00:00:43 verbose #1107 >
00:00:43 verbose #1108 > let testEvent = TestEvent ()
00:00:43 verbose #1109 >
00:00:43 verbose #1110 > async {
00:00:43 verbose #1111 > testEvent.AddCall "1"
00:00:43 verbose #1112 > let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
00:00:43 verbose #1113 > do! testEvent.WaitCall "AddHandler"
00:00:43 verbose #1114 > testEvent.AddCall "2"
00:00:43 verbose #1115 > use _ = testEvent.EventInterface.Subscribe (fun args ->
00:00:43 verbose #1116 > testEvent.AddCall $"testEvent.EventInterface.Subscribe({args})"
00:00:43 verbose #1117 > )
00:00:43 verbose #1118 > testEvent.AddCall "3"
00:00:43 verbose #1119 > do! child
00:00:43 verbose #1120 > testEvent.AddCall "4"
00:00:43 verbose #1121 > }
00:00:43 verbose #1122 > |> Async.runWithTimeout 300
00:00:43 verbose #1123 > |> _assertEqual None
00:00:43 verbose #1124 >
00:00:43 verbose #1125 > testEvent.Calls
00:00:43 verbose #1126 > |> _assertEqual [[ "1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3";
00:00:43 verbose #1127 > "RemoveHandler"; "IObservable.Dispose" ]]
00:00:43 verbose #1128 >
00:00:43 verbose #1129 > ╭─[ 466.37ms - stdout ]────────────────────────────────────────────────────────╮
00:00:43 verbose #1130 > │ 00:00:02 debug #2 runWithTimeoutAsync / timeout: 300 │
00:00:43 verbose #1131 > │ <null> │
00:00:43 verbose #1132 > │ │
00:00:43 verbose #1133 > │ ["1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3"; "RemoveHandler"; │
00:00:43 verbose #1134 > │ "IObservable.Dispose"] │
00:00:43 verbose #1135 > │ │
00:00:43 verbose #1136 > │ │
00:00:43 verbose #1137 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #1138 >
00:00:43 verbose #1139 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:43 verbose #1140 > //// test
00:00:43 verbose #1141 >
00:00:43 verbose #1142 > let testEvent = TestEvent ()
00:00:43 verbose #1143 >
00:00:43 verbose #1144 > async {
00:00:43 verbose #1145 > testEvent.AddCall "1"
00:00:43 verbose #1146 > let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
00:00:43 verbose #1147 > do! testEvent.WaitCall "AddHandler"
00:00:43 verbose #1148 > testEvent.AddCall "2"
00:00:43 verbose #1149 > use _ = testEvent.EventInterface.Subscribe (fun args ->
00:00:43 verbose #1150 > async {
00:00:43 verbose #1151 > do! testEvent.WaitCall "TestEvent.Iter(0: System.Exception: error)"
00:00:43 verbose #1152 > testEvent.AddCall
00:00:43 verbose #1153 > $"testEvent.EventInterface.Subscribe({args.GetException () |>
00:00:43 verbose #1154 > SpiralSm.format_exception})"
00:00:43 verbose #1155 > }
00:00:43 verbose #1156 > |> Async.RunSynchronously
00:00:43 verbose #1157 > )
00:00:43 verbose #1158 > testEvent.AddCall "3"
00:00:43 verbose #1159 > testEvent.Event.Trigger (null, ErrorEventArgs (Exception "error"))
00:00:43 verbose #1160 > testEvent.AddCall "4"
00:00:43 verbose #1161 > do! child
00:00:43 verbose #1162 > testEvent.AddCall "5"
00:00:43 verbose #1163 > }
00:00:43 verbose #1164 > |> Async.runWithTimeout 300
00:00:43 verbose #1165 > |> _assertEqual None
00:00:43 verbose #1166 >
00:00:43 verbose #1167 > testEvent.Calls
00:00:43 verbose #1168 > |> _assertEqual [[
00:00:43 verbose #1169 > "1"
00:00:43 verbose #1170 > "AddHandler"
00:00:43 verbose #1171 > "2"
00:00:43 verbose #1172 > "IObservable.Subscribe"
00:00:43 verbose #1173 > "3"
00:00:43 verbose #1174 > "TestEvent.Subscribe(System.Exception: error)"
00:00:43 verbose #1175 > "TestEvent.Iter(0: System.Exception: error)"
00:00:43 verbose #1176 > "testEvent.EventInterface.Subscribe(System.Exception: error)"
00:00:43 verbose #1177 > "4"
00:00:43 verbose #1178 > "RemoveHandler"
00:00:43 verbose #1179 > "IObservable.Dispose"
00:00:43 verbose #1180 > ]]
00:00:44 verbose #1181 >
00:00:44 verbose #1182 > ╭─[ 528.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:44 verbose #1183 > │ 00:00:03 debug #3 runWithTimeoutAsync / timeout: 300 │
00:00:44 verbose #1184 > │ <null> │
00:00:44 verbose #1185 > │ │
00:00:44 verbose #1186 > │ ["1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3"; │
00:00:44 verbose #1187 > │ "TestEvent.Subscribe(System.Exception: error)"; │
00:00:44 verbose #1188 > │ "TestEvent.Iter(0: System.Exception: error)"; │
00:00:44 verbose #1189 > │ "testEvent.EventInterface.Subscribe(System.Exception: error)"; "4"; │
00:00:44 verbose #1190 > │ "RemoveHandler"; "IObservable.Dispose"] │
00:00:44 verbose #1191 > │ │
00:00:44 verbose #1192 > │ │
00:00:44 verbose #1193 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #1194 >
00:00:44 verbose #1195 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:44 verbose #1196 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:44 verbose #1197 > │ ## subscribeToken │
00:00:44 verbose #1198 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #1199 >
00:00:44 verbose #1200 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #1201 > let subscribeToken (token : System.Threading.CancellationToken) =
00:00:44 verbose #1202 > let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:00:44 verbose #1203 > System.Action tcs.SetResult |> token.Register |> ignore
00:00:44 verbose #1204 > let start = System.DateTime.Now.Ticks
00:00:44 verbose #1205 > FSharp.Control.AsyncSeq.unfoldAsync
00:00:44 verbose #1206 > (fun () -> async {
00:00:44 verbose #1207 > do! tcs.Task |> Async.AwaitTask
00:00:44 verbose #1208 > return Some (System.DateTime.Now.Ticks - start, ())
00:00:44 verbose #1209 > })
00:00:44 verbose #1210 > ()
00:00:44 verbose #1211 >
00:00:44 verbose #1212 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #1213 > //// test
00:00:44 verbose #1214 >
00:00:44 verbose #1215 > let cts = new System.Threading.CancellationTokenSource ()
00:00:44 verbose #1216 >
00:00:44 verbose #1217 > async {
00:00:44 verbose #1218 > let! child =
00:00:44 verbose #1219 > cts.Token
00:00:44 verbose #1220 > |> subscribeToken
00:00:44 verbose #1221 > |> FSharp.Control.AsyncSeq.tryFirst
00:00:44 verbose #1222 > |> Async.StartChild
00:00:44 verbose #1223 >
00:00:44 verbose #1224 > do! Async.Sleep 100
00:00:44 verbose #1225 > cts.Cancel ()
00:00:44 verbose #1226 > return! child
00:00:44 verbose #1227 > }
00:00:44 verbose #1228 > |> Async.RunSynchronously
00:00:44 verbose #1229 > |> Option.get
00:00:44 verbose #1230 > |> _isGreaterThan 900000
00:00:44 verbose #1231 >
00:00:44 verbose #1232 > ╭─[ 178.15ms - stdout ]────────────────────────────────────────────────────────╮
00:00:44 verbose #1233 > │ 1045930L │
00:00:44 verbose #1234 > │ │
00:00:44 verbose #1235 > │ │
00:00:44 verbose #1236 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:47 verbose #1237 > [NbConvertApp] Converting notebook AsyncSeq.dib.ipynb to html
00:00:47 verbose #1238 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:47 verbose #1239 > validate(nb)
00:00:48 verbose #1240 > [NbConvertApp] Writing 302561 bytes to AsyncSeq.dib.html
00:00:49 debug #1241 execute_with_options_async / exit_code: 0 / output.Length: 19110
00:00:49 debug #4 main / executeCommand / exitCode: 0
00:00:49 debug #1242 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 Common.dib" -Retries 3", [||],
None, None, None)
00:00:50 verbose #1243 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: Common.dib / _args: [
00:00:50 verbose #1244 > "-Retries",
00:00:50 verbose #1245 > 3
00:00:50 verbose #1246 > ]
00:00:52 verbose #1247 >
00:00:52 verbose #1248 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:52 verbose #1249 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:52 verbose #1250 > │ # Common (Polyglot) │
00:00:52 verbose #1251 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:52 verbose #1252 >
00:00:52 verbose #1253 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:52 verbose #1254 > #!import ../../lib/fsharp/Notebooks.dib
00:00:52 verbose #1255 > #!import ../../lib/fsharp/Testing.dib
00:00:52 verbose #1256 >
00:00:52 verbose #1257 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:52 verbose #1258 > #r
00:00:52 verbose #1259 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:52 verbose #1260 > spNetCore.Html.Abstractions.dll"
00:00:52 verbose #1261 > #r
00:00:52 verbose #1262 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:52 verbose #1263 > otNet.Interactive.dll"
00:00:52 verbose #1264 > #r
00:00:52 verbose #1265 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:52 verbose #1266 > otNet.Interactive.FSharp.dll"
00:00:52 verbose #1267 > #r
00:00:52 verbose #1268 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:52 verbose #1269 > otNet.Interactive.Formatting.dll"
00:00:52 verbose #1270 > open System
00:00:52 verbose #1271 > open System.IO
00:00:52 verbose #1272 > open System.Text
00:00:52 verbose #1273 > open Microsoft.DotNet.Interactive.Formatting
00:00:56 verbose #1274 >
00:00:56 verbose #1275 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:56 verbose #1276 > #r
00:00:56 verbose #1277 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:56 verbose #1278 > otNet.Interactive.FSharp.dll"
00:00:56 verbose #1279 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:56 verbose #1280 > #r
00:00:56 verbose #1281 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:56 verbose #1282 > otNet.Interactive.dll"
00:00:56 verbose #1283 > open type Microsoft.DotNet.Interactive.Kernel
00:00:56 verbose #1284 >
00:00:56 verbose #1285 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:56 verbose #1286 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:00:57 verbose #1287 >
00:00:57 verbose #1288 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:57 verbose #1289 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:00:57 verbose #1290 > TextWriter)->fprintfn writer "%120A" x)
00:00:57 verbose #1291 >
00:00:57 verbose #1292 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:57 verbose #1293 > //// test
00:00:57 verbose #1294 >
00:00:57 verbose #1295 > Formatter.ListExpansionLimit <- 100
00:00:57 verbose #1296 >
00:00:57 verbose #1297 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:57 verbose #1298 > #if FABLE_COMPILER
00:00:57 verbose #1299 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:00:57 verbose #1300 > #endif
00:00:57 verbose #1301 > type Func0<'T> = class end
00:00:57 verbose #1302 > #if FABLE_COMPILER
00:00:57 verbose #1303 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:00:57 verbose #1304 > #endif
00:00:57 verbose #1305 > type Func0<'T, 'U> = class end
00:00:57 verbose #1306 > #if FABLE_COMPILER
00:00:57 verbose #1307 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:00:57 verbose #1308 > #endif
00:00:57 verbose #1309 > type Box<'T> = class end
00:00:57 verbose #1310 > #if FABLE_COMPILER
00:00:57 verbose #1311 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:00:57 verbose #1312 > #endif
00:00:57 verbose #1313 > type Dyn<'T> = class end
00:00:57 verbose #1314 > #if FABLE_COMPILER
00:00:57 verbose #1315 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:00:57 verbose #1316 > #endif
00:00:57 verbose #1317 > type Send<'T> = class end
00:00:57 verbose #1318 > #if FABLE_COMPILER
00:00:57 verbose #1319 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:00:57 verbose #1320 > #endif
00:00:57 verbose #1321 > type Fn<'T> = class end
00:00:57 verbose #1322 > #if FABLE_COMPILER
00:00:57 verbose #1323 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:00:57 verbose #1324 > #endif
00:00:57 verbose #1325 > type FnUnit = class end
00:00:57 verbose #1326 > #if FABLE_COMPILER
00:00:57 verbose #1327 > [[<Fable.Core.Er...
00:01:00 verbose #1328 >
00:01:00 verbose #1329 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:00 verbose #1330 > #if FABLE_COMPILER
00:01:00 verbose #1331 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:01:00 verbose #1332 > #endif
00:01:00 verbose #1333 > type std_future_Future<'T> = class end
00:01:00 verbose #1334 > #if FABLE_COMPILER
00:01:00 verbose #1335 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:01:00 verbose #1336 > #endif
00:01:00 verbose #1337 > type futures_future_TryJoinAll<'T> = class end
00:01:00 verbose #1338 > #if FABLE_COMPILER
00:01:00 verbose #1339 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:01:00 verbose #1340 > #endif
00:01:00 verbose #1341 > type rayon_vec_IntoIter<'T> = class end
00:01:00 verbose #1342 > #if FABLE_COMPILER
00:01:00 verbose #1343 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:01:00 verbose #1344 > #endif
00:01:00 verbose #1345 > type rayon_iter_Map<'T> = class end
00:01:00 verbose #1346 > #if FABLE_COMPILER
00:01:00 verbose #1347 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:01:00 verbose #1348 > #endif
00:01:00 verbose #1349 > type futures_lite_stream_StreamExt = class end
00:01:00 verbose #1350 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:01:00 verbose #1351 >
00:01:00 verbose #1352 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:00 verbose #1353 > #if FABLE_COMPILER
00:01:00 verbose #1354 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:01:00 verbose #1355 > #endif
00:01:00 verbose #1356 > type std_thread_JoinHandle<'T> = class end
00:01:00 verbose #1357 > #if FABLE_COMPILER
00:01:00 verbose #1358 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:01:00 verbose #1359 > #endif
00:01:00 verbose #1360 > type std_sync_Arc<'T> = class end
00:01:00 verbose #1361 > #if FABLE_COMPILER
00:01:00 verbose #1362 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:01:00 verbose #1363 > #endif
00:01:00 verbose #1364 > type std_sync_Mutex<'T> = class end
00:01:00 verbose #1365 > #if FABLE_COMPILER
00:01:00 verbose #1366 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:01:00 verbose #1367 > #endif
00:01:00 verbose #1368 > type std_sync_MutexGuard<'T> = class end
00:01:00 verbose #1369 > #if FABLE_COMPILER
00:01:00 verbose #1370 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:01:00 verbose #1371 > #endif
00:01:00 verbose #1372 > type std_sync_PoisonError<'T> = class end
00:01:00 verbose #1373 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:01:00 verbose #1374 > _.Dispose () = f ()
00:01:00 verbose #1375 > ...
00:01:07 verbose #1376 >
00:01:07 verbose #1377 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:07 verbose #1378 > module SpiralTrace =
00:01:07 verbose #1379 > let trace x =
00:01:07 verbose #1380 > #if !INTERACTIVE
00:01:07 verbose #1381 > Trace.trace x
00:01:07 verbose #1382 > #else
00:01:07 verbose #1383 > trace x
00:01:07 verbose #1384 > #endif
00:01:07 verbose #1385 >
00:01:07 verbose #1386 > type TraceLevel =
00:01:07 verbose #1387 > #if !INTERACTIVE
00:01:07 verbose #1388 > Trace.US0
00:01:07 verbose #1389 > #else
00:01:07 verbose #1390 > US0
00:01:07 verbose #1391 > #endif
00:01:07 verbose #1392 >
00:01:07 verbose #1393 > module SpiralCrypto =
00:01:07 verbose #1394 > let hash_text x =
00:01:07 verbose #1395 > #if !INTERACTIVE
00:01:07 verbose #1396 > Crypto.hash_text x
00:01:07 verbose #1397 > #else
00:01:07 verbose #1398 > hash_text x
00:01:07 verbose #1399 > #endif
00:01:07 verbose #1400 >
00:01:07 verbose #1401 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:01:07 verbose #1402 >
00:01:07 verbose #1403 > module SpiralAsync =
00:01:07 verbose #1404 > let merge_cancellation_token_with_default_async x =
00:01:07 verbose #1405 > #if !INTERACTIVE
00:01:07 verbose #1406 > Async_.merge_cancellation_token_with_default_async x
00:01:07 verbose #1407 > #else
00:01:07 verbose #1408 > merge_cancellation_token_with_default_async x
00:01:07 verbose #1409 > #endif
00:01:07 verbose #1410 >
00:01:07 verbose #1411 > module SpiralThreading =
00:01:07 verbose #1412 > let new_disposable_token x =
00:01:07 verbose #1413 > #if !INTERACTIVE
00:01:07 verbose #1414 > Threading.new_disposable_token x
00:01:07 verbose #1415 > #else
00:01:07 verbose #1416 > new_disposable_token x
00:01:07 verbose #1417 > #endif
00:01:07 verbose #1418 >
00:01:07 verbose #1419 > module Spi...
00:01:07 verbose #1420 >
00:01:07 verbose #1421 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:07 verbose #1422 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:01:07 verbose #1423 >
00:01:07 verbose #1424 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:07 verbose #1425 > //// test
00:01:07 verbose #1426 >
00:01:07 verbose #1427 > type AssertExceptionFormatter (ex) =
00:01:07 verbose #1428 > member _.Text =
00:01:07 verbose #1429 > ex.ToString()
00:01:07 verbose #1430 > .Replace("32m", "<span style=\"color: green;\">")
00:01:07 verbose #1431 > .Replace("36m", "</span>")
00:01:07 verbose #1432 > .Replace("31m", "<span style=\"color: red;\">")
00:01:07 verbose #1433 > .Replace("\n", "<br/>\n")
00:01:07 verbose #1434 >
00:01:07 verbose #1435 >
00:01:07 verbose #1436 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:01:07 verbose #1437 > AssertExceptionFormatter) -> x.Text), "text/html")
00:01:07 verbose #1438 >
00:01:07 verbose #1439 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:07 verbose #1440 > //// test
00:01:07 verbose #1441 >
00:01:07 verbose #1442 > let inline __expect fn log expected actual =
00:01:07 verbose #1443 > if log then printfn $"{actual.ToDisplayString ()}"
00:01:07 verbose #1444 > try
00:01:07 verbose #1445 > "Testing.__expect" |> fn actual expected
00:01:07 verbose #1446 > with :? Expecto.AssertException as ex ->
00:01:07 verbose #1447 > AssertExceptionFormatter(ex).Display () |> ignore
00:01:07 verbose #1448 > failwith (ex.GetType().FullName)
00:01:07 verbose #1449 >
00:01:07 verbose #1450 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:01:07 verbose #1451 > expected actual
00:01:07 verbose #1452 > let inline _contains expected actual = __contains true expected actual
00:01:07 verbose #1453 >
00:01:07 verbose #1454 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:01:07 verbose #1455 > expected actual
00:01:07 verbose #1456 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:01:07 verbose #1457 >
00:01:07 verbose #1458 > let inline __isGreaterThan log expected actual = __expect
00:01:07 verbose #1459 > Expecto.Expect.isGreaterThan log ex...
00:01:08 verbose #1460 >
00:01:08 verbose #1461 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:08 verbose #1462 > //// test
00:01:08 verbose #1463 >
00:01:08 verbose #1464 > let inline __isBetween log a b actual =
00:01:08 verbose #1465 > let inline isBetween actual (a, b) _ =
00:01:08 verbose #1466 > __isGreaterThanOrEqual log a actual
00:01:08 verbose #1467 > __isLessThanOrEqual log b actual
00:01:08 verbose #1468 > __expect isBetween log (a, b) actual
00:01:08 verbose #1469 > let inline _isBetween a b actual = __isBetween true a b actual
00:01:08 verbose #1470 >
00:01:08 verbose #1471 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1472 > #if !INTERACTIVE
00:01:08 verbose #1473 > open Lib
00:01:08 verbose #1474 > #endif
00:01:08 verbose #1475 >
00:01:08 verbose #1476 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1477 > let nl = System.Environment.NewLine
00:01:08 verbose #1478 > let q = @""""
00:01:08 verbose #1479 >
00:01:08 verbose #1480 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1481 > let inline cons head tail = head :: tail
00:01:08 verbose #1482 >
00:01:08 verbose #1483 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #1484 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #1485 > │ ## memoize │
00:01:08 verbose #1486 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1487 >
00:01:08 verbose #1488 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1489 > let inline memoize fn =
00:01:08 verbose #1490 > let result = lazy fn ()
00:01:08 verbose #1491 > fun () -> result.Value
00:01:08 verbose #1492 >
00:01:08 verbose #1493 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #1494 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #1495 > │ ## TraceLevel │
00:01:08 verbose #1496 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1497 >
00:01:08 verbose #1498 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1499 > type TraceLevel =
00:01:08 verbose #1500 > | Verbose
00:01:08 verbose #1501 > | Debug
00:01:08 verbose #1502 > | Info
00:01:08 verbose #1503 > | Warning
00:01:08 verbose #1504 > | Critical
00:01:08 verbose #1505 >
00:01:08 verbose #1506 > let inline _locals () = ""
00:01:08 verbose #1507 >
00:01:08 verbose #1508 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #1509 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #1510 > │ ## trace │
00:01:08 verbose #1511 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1512 >
00:01:08 verbose #1513 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1514 > let to_trace_level = function
00:01:08 verbose #1515 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:01:08 verbose #1516 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:01:08 verbose #1517 > | Info -> SpiralTrace.TraceLevel.US0_2
00:01:08 verbose #1518 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:01:08 verbose #1519 > | Critical -> SpiralTrace.TraceLevel.US0_4
00:01:08 verbose #1520 >
00:01:08 verbose #1521 > let trace level fn locals =
00:01:08 verbose #1522 > let level = level |> to_trace_level
00:01:08 verbose #1523 > SpiralTrace.trace level fn locals
00:01:08 verbose #1524 >
00:01:08 verbose #1525 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1526 > //// test
00:01:08 verbose #1527 >
00:01:08 verbose #1528 > trace Debug (fun () -> "test") _locals
00:01:08 verbose #1529 >
00:01:08 verbose #1530 > ╭─[ 28.49ms - stdout ]─────────────────────────────────────────────────────────╮
00:01:08 verbose #1531 > │ 00:00:00 debug #1 test │
00:01:08 verbose #1532 > │ │
00:01:08 verbose #1533 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:10 verbose #1534 > [NbConvertApp] Converting notebook Common.dib.ipynb to html
00:01:10 verbose #1535 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:10 verbose #1536 > validate(nb)
00:01:11 verbose #1537 > [NbConvertApp] Writing 280692 bytes to Common.dib.html
00:01:12 debug #1538 execute_with_options_async / exit_code: 0 / output.Length: 10505
00:01:12 debug #5 main / executeCommand / exitCode: 0
00:01:12 debug #1539 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 CommonFSharp.dib" -Retries 3",
[||], None, None, None)
00:01:13 verbose #1540 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: CommonFSharp.dib / _args: [
00:01:13 verbose #1541 > "-Retries",
00:01:13 verbose #1542 > 3
00:01:13 verbose #1543 > ]
00:01:15 verbose #1544 >
00:01:15 verbose #1545 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:15 verbose #1546 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:15 verbose #1547 > │ # CommonFSharp (Polyglot) │
00:01:15 verbose #1548 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:15 verbose #1549 >
00:01:15 verbose #1550 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:15 verbose #1551 > #!import ../../lib/fsharp/Notebooks.dib
00:01:15 verbose #1552 > #!import ../../lib/fsharp/Testing.dib
00:01:15 verbose #1553 >
00:01:15 verbose #1554 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:15 verbose #1555 > #r
00:01:15 verbose #1556 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:01:15 verbose #1557 > spNetCore.Html.Abstractions.dll"
00:01:15 verbose #1558 > #r
00:01:15 verbose #1559 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:15 verbose #1560 > otNet.Interactive.dll"
00:01:15 verbose #1561 > #r
00:01:15 verbose #1562 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:15 verbose #1563 > otNet.Interactive.FSharp.dll"
00:01:15 verbose #1564 > #r
00:01:15 verbose #1565 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:15 verbose #1566 > otNet.Interactive.Formatting.dll"
00:01:15 verbose #1567 > open System
00:01:15 verbose #1568 > open System.IO
00:01:15 verbose #1569 > open System.Text
00:01:15 verbose #1570 > open Microsoft.DotNet.Interactive.Formatting
00:01:19 verbose #1571 >
00:01:19 verbose #1572 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:20 verbose #1573 > #r
00:01:20 verbose #1574 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:20 verbose #1575 > otNet.Interactive.FSharp.dll"
00:01:20 verbose #1576 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:01:20 verbose #1577 > #r
00:01:20 verbose #1578 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:20 verbose #1579 > otNet.Interactive.dll"
00:01:20 verbose #1580 > open type Microsoft.DotNet.Interactive.Kernel
00:01:20 verbose #1581 >
00:01:20 verbose #1582 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:20 verbose #1583 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:01:20 verbose #1584 >
00:01:20 verbose #1585 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:20 verbose #1586 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:01:20 verbose #1587 > TextWriter)->fprintfn writer "%120A" x)
00:01:21 verbose #1588 >
00:01:21 verbose #1589 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:21 verbose #1590 > //// test
00:01:21 verbose #1591 >
00:01:21 verbose #1592 > Formatter.ListExpansionLimit <- 100
00:01:21 verbose #1593 >
00:01:21 verbose #1594 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:21 verbose #1595 > #if FABLE_COMPILER
00:01:21 verbose #1596 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:01:21 verbose #1597 > #endif
00:01:21 verbose #1598 > type Func0<'T> = class end
00:01:21 verbose #1599 > #if FABLE_COMPILER
00:01:21 verbose #1600 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:01:21 verbose #1601 > #endif
00:01:21 verbose #1602 > type Func0<'T, 'U> = class end
00:01:21 verbose #1603 > #if FABLE_COMPILER
00:01:21 verbose #1604 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:01:21 verbose #1605 > #endif
00:01:21 verbose #1606 > type Box<'T> = class end
00:01:21 verbose #1607 > #if FABLE_COMPILER
00:01:21 verbose #1608 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:01:21 verbose #1609 > #endif
00:01:21 verbose #1610 > type Dyn<'T> = class end
00:01:21 verbose #1611 > #if FABLE_COMPILER
00:01:21 verbose #1612 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:01:21 verbose #1613 > #endif
00:01:21 verbose #1614 > type Send<'T> = class end
00:01:21 verbose #1615 > #if FABLE_COMPILER
00:01:21 verbose #1616 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:01:21 verbose #1617 > #endif
00:01:21 verbose #1618 > type Fn<'T> = class end
00:01:21 verbose #1619 > #if FABLE_COMPILER
00:01:21 verbose #1620 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:01:21 verbose #1621 > #endif
00:01:21 verbose #1622 > type FnUnit = class end
00:01:21 verbose #1623 > #if FABLE_COMPILER
00:01:21 verbose #1624 > [[<Fable.Core.Er...
00:01:24 verbose #1625 >
00:01:24 verbose #1626 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:24 verbose #1627 > #if FABLE_COMPILER
00:01:24 verbose #1628 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:01:24 verbose #1629 > #endif
00:01:24 verbose #1630 > type std_future_Future<'T> = class end
00:01:24 verbose #1631 > #if FABLE_COMPILER
00:01:24 verbose #1632 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:01:24 verbose #1633 > #endif
00:01:24 verbose #1634 > type futures_future_TryJoinAll<'T> = class end
00:01:24 verbose #1635 > #if FABLE_COMPILER
00:01:24 verbose #1636 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:01:24 verbose #1637 > #endif
00:01:24 verbose #1638 > type rayon_vec_IntoIter<'T> = class end
00:01:24 verbose #1639 > #if FABLE_COMPILER
00:01:24 verbose #1640 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:01:24 verbose #1641 > #endif
00:01:24 verbose #1642 > type rayon_iter_Map<'T> = class end
00:01:24 verbose #1643 > #if FABLE_COMPILER
00:01:24 verbose #1644 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:01:24 verbose #1645 > #endif
00:01:24 verbose #1646 > type futures_lite_stream_StreamExt = class end
00:01:24 verbose #1647 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:01:24 verbose #1648 >
00:01:24 verbose #1649 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:24 verbose #1650 > #if FABLE_COMPILER
00:01:24 verbose #1651 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:01:24 verbose #1652 > #endif
00:01:24 verbose #1653 > type std_thread_JoinHandle<'T> = class end
00:01:24 verbose #1654 > #if FABLE_COMPILER
00:01:24 verbose #1655 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:01:24 verbose #1656 > #endif
00:01:24 verbose #1657 > type std_sync_Arc<'T> = class end
00:01:24 verbose #1658 > #if FABLE_COMPILER
00:01:24 verbose #1659 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:01:24 verbose #1660 > #endif
00:01:24 verbose #1661 > type std_sync_Mutex<'T> = class end
00:01:24 verbose #1662 > #if FABLE_COMPILER
00:01:24 verbose #1663 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:01:24 verbose #1664 > #endif
00:01:24 verbose #1665 > type std_sync_MutexGuard<'T> = class end
00:01:24 verbose #1666 > #if FABLE_COMPILER
00:01:24 verbose #1667 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:01:24 verbose #1668 > #endif
00:01:24 verbose #1669 > type std_sync_PoisonError<'T> = class end
00:01:24 verbose #1670 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:01:24 verbose #1671 > _.Dispose () = f ()
00:01:24 verbose #1672 > ...
00:01:32 verbose #1673 >
00:01:32 verbose #1674 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:32 verbose #1675 > module SpiralTrace =
00:01:32 verbose #1676 > let trace x =
00:01:32 verbose #1677 > #if !INTERACTIVE
00:01:32 verbose #1678 > Trace.trace x
00:01:32 verbose #1679 > #else
00:01:32 verbose #1680 > trace x
00:01:32 verbose #1681 > #endif
00:01:32 verbose #1682 >
00:01:32 verbose #1683 > type TraceLevel =
00:01:32 verbose #1684 > #if !INTERACTIVE
00:01:32 verbose #1685 > Trace.US0
00:01:32 verbose #1686 > #else
00:01:32 verbose #1687 > US0
00:01:32 verbose #1688 > #endif
00:01:32 verbose #1689 >
00:01:32 verbose #1690 > module SpiralCrypto =
00:01:32 verbose #1691 > let hash_text x =
00:01:32 verbose #1692 > #if !INTERACTIVE
00:01:32 verbose #1693 > Crypto.hash_text x
00:01:32 verbose #1694 > #else
00:01:32 verbose #1695 > hash_text x
00:01:32 verbose #1696 > #endif
00:01:32 verbose #1697 >
00:01:32 verbose #1698 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:01:32 verbose #1699 >
00:01:32 verbose #1700 > module SpiralAsync =
00:01:32 verbose #1701 > let merge_cancellation_token_with_default_async x =
00:01:32 verbose #1702 > #if !INTERACTIVE
00:01:32 verbose #1703 > Async_.merge_cancellation_token_with_default_async x
00:01:32 verbose #1704 > #else
00:01:32 verbose #1705 > merge_cancellation_token_with_default_async x
00:01:32 verbose #1706 > #endif
00:01:32 verbose #1707 >
00:01:32 verbose #1708 > module SpiralThreading =
00:01:32 verbose #1709 > let new_disposable_token x =
00:01:32 verbose #1710 > #if !INTERACTIVE
00:01:32 verbose #1711 > Threading.new_disposable_token x
00:01:32 verbose #1712 > #else
00:01:32 verbose #1713 > new_disposable_token x
00:01:32 verbose #1714 > #endif
00:01:32 verbose #1715 >
00:01:32 verbose #1716 > module Spi...
00:01:32 verbose #1717 >
00:01:32 verbose #1718 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:32 verbose #1719 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:01:32 verbose #1720 >
00:01:32 verbose #1721 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:32 verbose #1722 > //// test
00:01:32 verbose #1723 >
00:01:32 verbose #1724 > type AssertExceptionFormatter (ex) =
00:01:32 verbose #1725 > member _.Text =
00:01:32 verbose #1726 > ex.ToString()
00:01:32 verbose #1727 > .Replace("32m", "<span style=\"color: green;\">")
00:01:32 verbose #1728 > .Replace("36m", "</span>")
00:01:32 verbose #1729 > .Replace("31m", "<span style=\"color: red;\">")
00:01:32 verbose #1730 > .Replace("\n", "<br/>\n")
00:01:32 verbose #1731 >
00:01:32 verbose #1732 >
00:01:32 verbose #1733 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:01:32 verbose #1734 > AssertExceptionFormatter) -> x.Text), "text/html")
00:01:32 verbose #1735 >
00:01:32 verbose #1736 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:32 verbose #1737 > //// test
00:01:32 verbose #1738 >
00:01:32 verbose #1739 > let inline __expect fn log expected actual =
00:01:32 verbose #1740 > if log then printfn $"{actual.ToDisplayString ()}"
00:01:32 verbose #1741 > try
00:01:32 verbose #1742 > "Testing.__expect" |> fn actual expected
00:01:32 verbose #1743 > with :? Expecto.AssertException as ex ->
00:01:32 verbose #1744 > AssertExceptionFormatter(ex).Display () |> ignore
00:01:32 verbose #1745 > failwith (ex.GetType().FullName)
00:01:32 verbose #1746 >
00:01:32 verbose #1747 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:01:32 verbose #1748 > expected actual
00:01:32 verbose #1749 > let inline _contains expected actual = __contains true expected actual
00:01:32 verbose #1750 >
00:01:32 verbose #1751 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:01:32 verbose #1752 > expected actual
00:01:32 verbose #1753 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:01:32 verbose #1754 >
00:01:32 verbose #1755 > let inline __isGreaterThan log expected actual = __expect
00:01:32 verbose #1756 > Expecto.Expect.isGreaterThan log ex...
00:01:33 verbose #1757 >
00:01:33 verbose #1758 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:33 verbose #1759 > //// test
00:01:33 verbose #1760 >
00:01:33 verbose #1761 > let inline __isBetween log a b actual =
00:01:33 verbose #1762 > let inline isBetween actual (a, b) _ =
00:01:33 verbose #1763 > __isGreaterThanOrEqual log a actual
00:01:33 verbose #1764 > __isLessThanOrEqual log b actual
00:01:33 verbose #1765 > __expect isBetween log (a, b) actual
00:01:33 verbose #1766 > let inline _isBetween a b actual = __isBetween true a b actual
00:01:33 verbose #1767 >
00:01:33 verbose #1768 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #1769 > #!import ../../lib/fsharp/Common.fs
00:01:33 verbose #1770 >
00:01:33 verbose #1771 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:33 verbose #1772 > #if !INTERACTIVE
00:01:33 verbose #1773 > namespace Polyglot
00:01:33 verbose #1774 > #endif
00:01:33 verbose #1775 >
00:01:33 verbose #1776 > module Common =
00:01:33 verbose #1777 >
00:01:33 verbose #1778 > #if !INTERACTIVE
00:01:33 verbose #1779 > open Lib
00:01:33 verbose #1780 > #endif
00:01:33 verbose #1781 >
00:01:33 verbose #1782 > let nl = System.Environment.NewLine
00:01:33 verbose #1783 > let q = @""""
00:01:33 verbose #1784 >
00:01:33 verbose #1785 > let inline cons head tail = head :: tail
00:01:33 verbose #1786 >
00:01:33 verbose #1787 > /// ## memoize
00:01:33 verbose #1788 > let inline memoize fn =
00:01:33 verbose #1789 > let result = lazy fn ()
00:01:33 verbose #1790 > fun () -> result.Value
00:01:33 verbose #1791 >
00:01:33 verbose #1792 > /// ## TraceLevel
00:01:33 verbose #1793 > type TraceLevel =
00:01:33 verbose #1794 > | Verbose
00:01:33 verbose #1795 > | Debug
00:01:33 verbose #1796 > | Info
00:01:33 verbose #1797 > | Warning
00:01:33 verbose #1798 > | Critical
00:01:33 verbose #1799 >
00:01:33 verbose #1800 > let inline _locals () = ""
00:01:33 verbose #1801 >
00:01:33 verbose #1802 > /// ## trace
00:01:33 verbose #1803 > let to_trace_level = function
00:01:33 verbose #1804 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:01:33 verbose #1805 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:01:33 verbose #1806 > | Info -> SpiralTrace.TraceLevel.US0_2
00:01:33 verbose #1807 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:01:33 verbose #1808 > | Critical -> Spir...
00:01:33 verbose #1809 >
00:01:33 verbose #1810 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #1811 > open Common
00:01:33 verbose #1812 >
00:01:33 verbose #1813 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:33 verbose #1814 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:33 verbose #1815 > │ ## getUnionCaseName │
00:01:33 verbose #1816 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #1817 >
00:01:33 verbose #1818 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #1819 > let inline getUnionCaseName<'T> (x: 'T) =
00:01:33 verbose #1820 > match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:01:33 verbose #1821 > | case, _ -> case.Name
00:01:33 verbose #1822 >
00:01:33 verbose #1823 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #1824 > //// test
00:01:33 verbose #1825 >
00:01:33 verbose #1826 > TraceLevel.Critical
00:01:33 verbose #1827 > |> getUnionCaseName
00:01:33 verbose #1828 > |> _assertEqual (nameof TraceLevel.Critical)
00:01:33 verbose #1829 >
00:01:33 verbose #1830 > ╭─[ 87.70ms - stdout ]─────────────────────────────────────────────────────────╮
00:01:33 verbose #1831 > │ "Critical" │
00:01:33 verbose #1832 > │ │
00:01:33 verbose #1833 > │ │
00:01:33 verbose #1834 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:36 verbose #1835 > [NbConvertApp] Converting notebook CommonFSharp.dib.ipynb to html
00:01:36 verbose #1836 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:36 verbose #1837 > validate(nb)
00:01:37 verbose #1838 > [NbConvertApp] Writing 275592 bytes to CommonFSharp.dib.html
00:01:38 debug #1839 execute_with_options_async / exit_code: 0 / output.Length: 10097
00:01:38 debug #6 main / executeCommand / exitCode: 0
00:01:38 debug #1840 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 FileSystem.dib -Retries 3"", [||],
None, None, None)
00:01:38 verbose #1841 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: FileSystem.dib / _args: [
00:01:38 verbose #1842 > "-Retries",
00:01:38 verbose #1843 > 3
00:01:38 verbose #1844 > ]
00:01:41 verbose #1845 >
00:01:41 verbose #1846 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:41 verbose #1847 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:41 verbose #1848 > │ # FileSystem (Polyglot) │
00:01:41 verbose #1849 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:41 verbose #1850 >
00:01:41 verbose #1851 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:41 verbose #1852 > #r
00:01:41 verbose #1853 > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:01:41 verbose #1854 > dard2.1/FSharp.Control.AsyncSeq.dll"
00:01:41 verbose #1855 > #r
00:01:41 verbose #1856 > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:01:41 verbose #1857 > 0/System.Reactive.dll"
00:01:41 verbose #1858 > #r
00:01:41 verbose #1859 > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:01:41 verbose #1860 > netstandard2.0/System.Reactive.Linq.dll"
00:01:41 verbose #1861 > #r
00:01:41 verbose #1862 > @"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
00:01:41 verbose #1863 >
00:01:41 verbose #1864 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:41 verbose #1865 > #r
00:01:41 verbose #1866 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:01:41 verbose #1867 > spNetCore.Html.Abstractions.dll"
00:01:41 verbose #1868 > #r
00:01:41 verbose #1869 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:41 verbose #1870 > otNet.Interactive.dll"
00:01:41 verbose #1871 > #r
00:01:41 verbose #1872 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:41 verbose #1873 > otNet.Interactive.FSharp.dll"
00:01:41 verbose #1874 > #r
00:01:41 verbose #1875 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:41 verbose #1876 > otNet.Interactive.Formatting.dll"
00:01:41 verbose #1877 > open System
00:01:41 verbose #1878 > open System.IO
00:01:41 verbose #1879 > open System.Text
00:01:41 verbose #1880 > open Microsoft.DotNet.Interactive.Formatting
00:01:45 verbose #1881 >
00:01:45 verbose #1882 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:45 verbose #1883 > #r
00:01:45 verbose #1884 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:45 verbose #1885 > otNet.Interactive.FSharp.dll"
00:01:45 verbose #1886 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:01:45 verbose #1887 > #r
00:01:45 verbose #1888 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:45 verbose #1889 > otNet.Interactive.dll"
00:01:45 verbose #1890 > open type Microsoft.DotNet.Interactive.Kernel
00:01:46 verbose #1891 >
00:01:46 verbose #1892 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:46 verbose #1893 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:01:47 verbose #1894 >
00:01:47 verbose #1895 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:47 verbose #1896 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:01:47 verbose #1897 > TextWriter)->fprintfn writer "%120A" x)
00:01:47 verbose #1898 >
00:01:47 verbose #1899 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:47 verbose #1900 > #!import ../../lib/fsharp/Notebooks.dib
00:01:47 verbose #1901 > #!import ../../lib/fsharp/Testing.dib
00:01:47 verbose #1902 >
00:01:47 verbose #1903 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:47 verbose #1904 > //// test
00:01:47 verbose #1905 >
00:01:47 verbose #1906 > Formatter.ListExpansionLimit <- 100
00:01:47 verbose #1907 >
00:01:47 verbose #1908 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:47 verbose #1909 > #if FABLE_COMPILER
00:01:47 verbose #1910 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:01:47 verbose #1911 > #endif
00:01:47 verbose #1912 > type Func0<'T> = class end
00:01:47 verbose #1913 > #if FABLE_COMPILER
00:01:47 verbose #1914 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:01:47 verbose #1915 > #endif
00:01:47 verbose #1916 > type Func0<'T, 'U> = class end
00:01:47 verbose #1917 > #if FABLE_COMPILER
00:01:47 verbose #1918 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:01:47 verbose #1919 > #endif
00:01:47 verbose #1920 > type Box<'T> = class end
00:01:47 verbose #1921 > #if FABLE_COMPILER
00:01:47 verbose #1922 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:01:47 verbose #1923 > #endif
00:01:47 verbose #1924 > type Dyn<'T> = class end
00:01:47 verbose #1925 > #if FABLE_COMPILER
00:01:47 verbose #1926 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:01:47 verbose #1927 > #endif
00:01:47 verbose #1928 > type Send<'T> = class end
00:01:47 verbose #1929 > #if FABLE_COMPILER
00:01:47 verbose #1930 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:01:47 verbose #1931 > #endif
00:01:47 verbose #1932 > type Fn<'T> = class end
00:01:47 verbose #1933 > #if FABLE_COMPILER
00:01:47 verbose #1934 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:01:47 verbose #1935 > #endif
00:01:47 verbose #1936 > type FnUnit = class end
00:01:47 verbose #1937 > #if FABLE_COMPILER
00:01:47 verbose #1938 > [[<Fable.Core.Er...
00:01:50 verbose #1939 >
00:01:50 verbose #1940 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:50 verbose #1941 > #if FABLE_COMPILER
00:01:50 verbose #1942 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:01:50 verbose #1943 > #endif
00:01:50 verbose #1944 > type std_future_Future<'T> = class end
00:01:50 verbose #1945 > #if FABLE_COMPILER
00:01:50 verbose #1946 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:01:50 verbose #1947 > #endif
00:01:50 verbose #1948 > type futures_future_TryJoinAll<'T> = class end
00:01:50 verbose #1949 > #if FABLE_COMPILER
00:01:50 verbose #1950 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:01:50 verbose #1951 > #endif
00:01:50 verbose #1952 > type rayon_vec_IntoIter<'T> = class end
00:01:50 verbose #1953 > #if FABLE_COMPILER
00:01:50 verbose #1954 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:01:50 verbose #1955 > #endif
00:01:50 verbose #1956 > type rayon_iter_Map<'T> = class end
00:01:50 verbose #1957 > #if FABLE_COMPILER
00:01:50 verbose #1958 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:01:50 verbose #1959 > #endif
00:01:50 verbose #1960 > type futures_lite_stream_StreamExt = class end
00:01:50 verbose #1961 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:01:50 verbose #1962 >
00:01:50 verbose #1963 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:50 verbose #1964 > #if FABLE_COMPILER
00:01:50 verbose #1965 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:01:50 verbose #1966 > #endif
00:01:50 verbose #1967 > type std_thread_JoinHandle<'T> = class end
00:01:50 verbose #1968 > #if FABLE_COMPILER
00:01:50 verbose #1969 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:01:50 verbose #1970 > #endif
00:01:50 verbose #1971 > type std_sync_Arc<'T> = class end
00:01:50 verbose #1972 > #if FABLE_COMPILER
00:01:50 verbose #1973 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:01:50 verbose #1974 > #endif
00:01:50 verbose #1975 > type std_sync_Mutex<'T> = class end
00:01:50 verbose #1976 > #if FABLE_COMPILER
00:01:50 verbose #1977 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:01:50 verbose #1978 > #endif
00:01:50 verbose #1979 > type std_sync_MutexGuard<'T> = class end
00:01:50 verbose #1980 > #if FABLE_COMPILER
00:01:50 verbose #1981 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:01:50 verbose #1982 > #endif
00:01:50 verbose #1983 > type std_sync_PoisonError<'T> = class end
00:01:50 verbose #1984 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:01:50 verbose #1985 > _.Dispose () = f ()
00:01:50 verbose #1986 > ...
00:01:58 verbose #1987 >
00:01:58 verbose #1988 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:58 verbose #1989 > module SpiralTrace =
00:01:58 verbose #1990 > let trace x =
00:01:58 verbose #1991 > #if !INTERACTIVE
00:01:58 verbose #1992 > Trace.trace x
00:01:58 verbose #1993 > #else
00:01:58 verbose #1994 > trace x
00:01:58 verbose #1995 > #endif
00:01:58 verbose #1996 >
00:01:58 verbose #1997 > type TraceLevel =
00:01:58 verbose #1998 > #if !INTERACTIVE
00:01:58 verbose #1999 > Trace.US0
00:01:58 verbose #2000 > #else
00:01:58 verbose #2001 > US0
00:01:58 verbose #2002 > #endif
00:01:58 verbose #2003 >
00:01:58 verbose #2004 > module SpiralCrypto =
00:01:58 verbose #2005 > let hash_text x =
00:01:58 verbose #2006 > #if !INTERACTIVE
00:01:58 verbose #2007 > Crypto.hash_text x
00:01:58 verbose #2008 > #else
00:01:58 verbose #2009 > hash_text x
00:01:58 verbose #2010 > #endif
00:01:58 verbose #2011 >
00:01:58 verbose #2012 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:01:58 verbose #2013 >
00:01:58 verbose #2014 > module SpiralAsync =
00:01:58 verbose #2015 > let merge_cancellation_token_with_default_async x =
00:01:58 verbose #2016 > #if !INTERACTIVE
00:01:58 verbose #2017 > Async_.merge_cancellation_token_with_default_async x
00:01:58 verbose #2018 > #else
00:01:58 verbose #2019 > merge_cancellation_token_with_default_async x
00:01:58 verbose #2020 > #endif
00:01:58 verbose #2021 >
00:01:58 verbose #2022 > module SpiralThreading =
00:01:58 verbose #2023 > let new_disposable_token x =
00:01:58 verbose #2024 > #if !INTERACTIVE
00:01:58 verbose #2025 > Threading.new_disposable_token x
00:01:58 verbose #2026 > #else
00:01:58 verbose #2027 > new_disposable_token x
00:01:58 verbose #2028 > #endif
00:01:58 verbose #2029 >
00:01:58 verbose #2030 > module Spi...
00:01:58 verbose #2031 >
00:01:58 verbose #2032 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:58 verbose #2033 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:01:58 verbose #2034 >
00:01:58 verbose #2035 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:58 verbose #2036 > //// test
00:01:58 verbose #2037 >
00:01:58 verbose #2038 > type AssertExceptionFormatter (ex) =
00:01:58 verbose #2039 > member _.Text =
00:01:58 verbose #2040 > ex.ToString()
00:01:58 verbose #2041 > .Replace("32m", "<span style=\"color: green;\">")
00:01:58 verbose #2042 > .Replace("36m", "</span>")
00:01:58 verbose #2043 > .Replace("31m", "<span style=\"color: red;\">")
00:01:58 verbose #2044 > .Replace("\n", "<br/>\n")
00:01:58 verbose #2045 >
00:01:58 verbose #2046 >
00:01:58 verbose #2047 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:01:58 verbose #2048 > AssertExceptionFormatter) -> x.Text), "text/html")
00:01:58 verbose #2049 >
00:01:58 verbose #2050 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:58 verbose #2051 > //// test
00:01:58 verbose #2052 >
00:01:58 verbose #2053 > let inline __expect fn log expected actual =
00:01:58 verbose #2054 > if log then printfn $"{actual.ToDisplayString ()}"
00:01:58 verbose #2055 > try
00:01:58 verbose #2056 > "Testing.__expect" |> fn actual expected
00:01:58 verbose #2057 > with :? Expecto.AssertException as ex ->
00:01:58 verbose #2058 > AssertExceptionFormatter(ex).Display () |> ignore
00:01:58 verbose #2059 > failwith (ex.GetType().FullName)
00:01:58 verbose #2060 >
00:01:58 verbose #2061 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:01:58 verbose #2062 > expected actual
00:01:58 verbose #2063 > let inline _contains expected actual = __contains true expected actual
00:01:58 verbose #2064 >
00:01:58 verbose #2065 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:01:58 verbose #2066 > expected actual
00:01:58 verbose #2067 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:01:58 verbose #2068 >
00:01:58 verbose #2069 > let inline __isGreaterThan log expected actual = __expect
00:01:58 verbose #2070 > Expecto.Expect.isGreaterThan log ex...
00:01:58 verbose #2071 >
00:01:58 verbose #2072 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:58 verbose #2073 > //// test
00:01:58 verbose #2074 >
00:01:58 verbose #2075 > let inline __isBetween log a b actual =
00:01:58 verbose #2076 > let inline isBetween actual (a, b) _ =
00:01:58 verbose #2077 > __isGreaterThanOrEqual log a actual
00:01:58 verbose #2078 > __isLessThanOrEqual log b actual
00:01:58 verbose #2079 > __expect isBetween log (a, b) actual
00:01:58 verbose #2080 > let inline _isBetween a b actual = __isBetween true a b actual
00:01:58 verbose #2081 >
00:01:58 verbose #2082 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:58 verbose #2083 > #!import ../../lib/fsharp/Common.fs
00:01:58 verbose #2084 > #!import ../../lib/fsharp/CommonFSharp.fs
00:01:58 verbose #2085 > #!import ../../lib/fsharp/Async.fs
00:01:58 verbose #2086 > #!import ../../lib/fsharp/AsyncSeq.fs
00:01:58 verbose #2087 > #!import ../../lib/fsharp/Runtime.fs
00:01:58 verbose #2088 >
00:01:58 verbose #2089 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:58 verbose #2090 > #if !INTERACTIVE
00:01:58 verbose #2091 > namespace Polyglot
00:01:58 verbose #2092 > #endif
00:01:58 verbose #2093 >
00:01:58 verbose #2094 > module Common =
00:01:58 verbose #2095 >
00:01:58 verbose #2096 > #if !INTERACTIVE
00:01:58 verbose #2097 > open Lib
00:01:58 verbose #2098 > #endif
00:01:58 verbose #2099 >
00:01:58 verbose #2100 > let nl = System.Environment.NewLine
00:01:58 verbose #2101 > let q = @""""
00:01:58 verbose #2102 >
00:01:58 verbose #2103 > let inline cons head tail = head :: tail
00:01:58 verbose #2104 >
00:01:58 verbose #2105 > /// ## memoize
00:01:58 verbose #2106 > let inline memoize fn =
00:01:58 verbose #2107 > let result = lazy fn ()
00:01:58 verbose #2108 > fun () -> result.Value
00:01:58 verbose #2109 >
00:01:58 verbose #2110 > /// ## TraceLevel
00:01:58 verbose #2111 > type TraceLevel =
00:01:58 verbose #2112 > | Verbose
00:01:58 verbose #2113 > | Debug
00:01:58 verbose #2114 > | Info
00:01:58 verbose #2115 > | Warning
00:01:58 verbose #2116 > | Critical
00:01:58 verbose #2117 >
00:01:58 verbose #2118 > let inline _locals () = ""
00:01:58 verbose #2119 >
00:01:58 verbose #2120 > /// ## trace
00:01:58 verbose #2121 > let to_trace_level = function
00:01:58 verbose #2122 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:01:58 verbose #2123 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:01:58 verbose #2124 > | Info -> SpiralTrace.TraceLevel.US0_2
00:01:58 verbose #2125 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:01:58 verbose #2126 > | Critical -> Spir...
00:01:59 verbose #2127 >
00:01:59 verbose #2128 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:59 verbose #2129 > #if !INTERACTIVE
00:01:59 verbose #2130 > namespace Polyglot
00:01:59 verbose #2131 > #endif
00:01:59 verbose #2132 >
00:01:59 verbose #2133 > module CommonFSharp =
00:01:59 verbose #2134 >
00:01:59 verbose #2135 > open Common
00:01:59 verbose #2136 >
00:01:59 verbose #2137 > /// ## getUnionCaseName
00:01:59 verbose #2138 > let inline getUnionCaseName<'T> (x: 'T) =
00:01:59 verbose #2139 > match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:01:59 verbose #2140 > | case, _ -> case.Name
00:01:59 verbose #2141 >
00:01:59 verbose #2142 >
00:01:59 verbose #2143 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:59 verbose #2144 > #if !INTERACTIVE
00:01:59 verbose #2145 > namespace Polyglot
00:01:59 verbose #2146 > #endif
00:01:59 verbose #2147 >
00:01:59 verbose #2148 > module Async =
00:01:59 verbose #2149 >
00:01:59 verbose #2150 > #if !INTERACTIVE
00:01:59 verbose #2151 > open Lib
00:01:59 verbose #2152 > #endif
00:01:59 verbose #2153 >
00:01:59 verbose #2154 > open Common
00:01:59 verbose #2155 >
00:01:59 verbose #2156 > /// ## choice
00:01:59 verbose #2157 > let inline choice asyncs = async {
00:01:59 verbose #2158 > let e = Event<_> ()
00:01:59 verbose #2159 > use cts = new System.Threading.CancellationTokenSource ()
00:01:59 verbose #2160 > let fn =
00:01:59 verbose #2161 > asyncs
00:01:59 verbose #2162 > |> Seq.map (fun a -> async {
00:01:59 verbose #2163 > let! x = a
00:01:59 verbose #2164 > e.Trigger x
00:01:59 verbose #2165 > })
00:01:59 verbose #2166 > |> Async.Parallel
00:01:59 verbose #2167 > |> Async.Ignore
00:01:59 verbose #2168 > Async.Start (fn, cts.Token)
00:01:59 verbose #2169 > let! result = Async.AwaitEvent e.Publish
00:01:59 verbose #2170 > cts.Cancel ()
00:01:59 verbose #2171 > return result
00:01:59 verbose #2172 > }
00:01:59 verbose #2173 >
00:01:59 verbose #2174 > /// ## map
00:01:59 verbose #2175 > let inline map fn a = async {
00:01:59 verbose #2176 > let! x = a
00:01:59 verbose #2177 > return fn x
00:01:59 verbose #2178 > }
00:01:59 verbose #2179 >
00:01:59 verbose #2180 > /// ## catch
00:01:59 verbose #2181 > let inline catch a =
00:01:59 verbose #2182 > ...
00:01:59 verbose #2183 >
00:01:59 verbose #2184 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:59 verbose #2185 > #if !INTERACTIVE
00:01:59 verbose #2186 > namespace Polyglot
00:01:59 verbose #2187 > #endif
00:01:59 verbose #2188 >
00:01:59 verbose #2189 > module AsyncSeq =
00:01:59 verbose #2190 >
00:01:59 verbose #2191 > #if !INTERACTIVE
00:01:59 verbose #2192 > open Lib
00:01:59 verbose #2193 > #endif
00:01:59 verbose #2194 >
00:01:59 verbose #2195 > open Common
00:01:59 verbose #2196 >
00:01:59 verbose #2197 > /// ## subscribeEvent
00:01:59 verbose #2198 > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:01:59 verbose #2199 > let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:01:59 verbose #2200 > 'A>(event.AddHandler, event.RemoveHandler)
00:01:59 verbose #2201 > System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:01:59 verbose #2202 > event.EventArgs)
00:01:59 verbose #2203 > |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:01:59 verbose #2204 >
00:01:59 verbose #2205 > /// ## subscribeToken
00:01:59 verbose #2206 > let subscribeToken (token : System.Threading.CancellationToken) =
00:01:59 verbose #2207 > let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:01:59 verbose #2208 > System.Action tcs.SetResult |> token.Register |> ignore
00:01:59 verbose #2209 > let start = System.DateTime.Now.Ticks...
00:01:59 verbose #2210 >
00:01:59 verbose #2211 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:01:59 verbose #2212 > #if !INTERACTIVE
00:01:59 verbose #2213 > namespace Polyglot
00:01:59 verbose #2214 > #endif
00:01:59 verbose #2215 >
00:01:59 verbose #2216 > module Runtime =
00:01:59 verbose #2217 >
00:01:59 verbose #2218 > #if !INTERACTIVE
00:01:59 verbose #2219 > open Lib
00:01:59 verbose #2220 > #endif
00:01:59 verbose #2221 >
00:01:59 verbose #2222 > open Common
00:01:59 verbose #2223 >
00:01:59 verbose #2224 > /// ## parseArgs
00:01:59 verbose #2225 > let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:01:59 verbose #2226 > let assemblyName =
00:01:59 verbose #2227 > System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:01:59 verbose #2228 > let errorHandler : Argu.IExiter =
00:01:59 verbose #2229 > if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
00:01:59 verbose #2230 > List.contains assemblyName
00:01:59 verbose #2231 > then Argu.ExceptionExiter ()
00:01:59 verbose #2232 > else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
00:01:59 verbose #2233 > _ -> Some System.ConsoleColor.Red)
00:01:59 verbose #2234 >
00:01:59 verbose #2235 > let parser =
00:01:59 verbose #2236 > Argu.ArgumentParser.Create<'T> (
00:01:59 verbose #2237 > programName =
00:01:59 verbose #2238 > $"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
00:01:59 verbose #2239 > ...
00:01:59 verbose #2240 >
00:01:59 verbose #2241 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:59 verbose #2242 > #if !INTERACTIVE
00:01:59 verbose #2243 > open Lib
00:01:59 verbose #2244 > #endif
00:01:59 verbose #2245 >
00:01:59 verbose #2246 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:59 verbose #2247 > open Common
00:01:59 verbose #2248 > open SpiralFileSystem.Operators
00:01:59 verbose #2249 >
00:01:59 verbose #2250 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:59 verbose #2251 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:59 verbose #2252 > │ ## watchDirectory │
00:01:59 verbose #2253 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:59 verbose #2254 >
00:01:59 verbose #2255 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:59 verbose #2256 > [[<RequireQualifiedAccess>]]
00:01:59 verbose #2257 > type FileSystemChangeType =
00:01:59 verbose #2258 > | Failure
00:01:59 verbose #2259 > | Changed
00:01:59 verbose #2260 > | Created
00:01:59 verbose #2261 > | Deleted
00:01:59 verbose #2262 > | Renamed
00:01:59 verbose #2263 >
00:01:59 verbose #2264 > [[<RequireQualifiedAccess>]]
00:01:59 verbose #2265 > type FileSystemChange =
00:01:59 verbose #2266 > | Failure of exn: exn
00:01:59 verbose #2267 > | Changed of path: string * content: string option
00:01:59 verbose #2268 > | Created of path: string * content: string option
00:01:59 verbose #2269 > | Deleted of path: string
00:01:59 verbose #2270 > | Renamed of oldPath: string * (string * string option)
00:01:59 verbose #2271 >
00:01:59 verbose #2272 >
00:01:59 verbose #2273 > let inline watchDirectoryWithFilter filter shouldReadContent path =
00:01:59 verbose #2274 > let fullPath = path |> System.IO.Path.GetFullPath
00:01:59 verbose #2275 > let _locals () = $"filter: {filter} / {_locals ()}"
00:01:59 verbose #2276 >
00:01:59 verbose #2277 > let watcher =
00:01:59 verbose #2278 > new System.IO.FileSystemWatcher (
00:01:59 verbose #2279 > Path = fullPath,
00:01:59 verbose #2280 > NotifyFilter = filter,
00:01:59 verbose #2281 > EnableRaisingEvents = true,
00:01:59 verbose #2282 > IncludeSubdirectories = true
00:01:59 verbose #2283 > )
00:01:59 verbose #2284 >
00:01:59 verbose #2285 > let inline getEventPath (path : string) =
00:01:59 verbose #2286 > path |> SpiralSm.trim |> SpiralSm.replace fullPath "" |>
00:01:59 verbose #2287 > SpiralSm.trim_start [[| '/'; '\\' |]]
00:01:59 verbose #2288 >
00:01:59 verbose #2289 > let inline ticks () =
00:01:59 verbose #2290 > System.DateTime.UtcNow.Ticks
00:01:59 verbose #2291 >
00:01:59 verbose #2292 > let changedStream =
00:01:59 verbose #2293 > AsyncSeq.subscribeEvent
00:01:59 verbose #2294 > watcher.Changed
00:01:59 verbose #2295 > (fun event ->
00:01:59 verbose #2296 > ticks (),
00:01:59 verbose #2297 > [[ FileSystemChange.Changed (getEventPath event.FullPath, None)
00:01:59 verbose #2298 > ]]
00:01:59 verbose #2299 > )
00:01:59 verbose #2300 >
00:01:59 verbose #2301 > let deletedStream =
00:01:59 verbose #2302 > AsyncSeq.subscribeEvent
00:01:59 verbose #2303 > watcher.Deleted
00:01:59 verbose #2304 > (fun event ->
00:01:59 verbose #2305 > ticks (),
00:01:59 verbose #2306 > [[ FileSystemChange.Deleted (getEventPath event.FullPath) ]]
00:01:59 verbose #2307 > )
00:01:59 verbose #2308 >
00:01:59 verbose #2309 > let createdStream =
00:01:59 verbose #2310 > AsyncSeq.subscribeEvent
00:01:59 verbose #2311 > watcher.Created
00:01:59 verbose #2312 > (fun event ->
00:01:59 verbose #2313 > let path = getEventPath event.FullPath
00:01:59 verbose #2314 > ticks (), [[
00:01:59 verbose #2315 > FileSystemChange.Created (path, None)
00:01:59 verbose #2316 > if SpiralRuntime.is_windows () then
00:01:59 verbose #2317 > FileSystemChange.Changed (path, None)
00:01:59 verbose #2318 > ]])
00:01:59 verbose #2319 >
00:01:59 verbose #2320 > let renamedStream =
00:01:59 verbose #2321 > AsyncSeq.subscribeEvent
00:01:59 verbose #2322 > watcher.Renamed
00:01:59 verbose #2323 > (fun event ->
00:01:59 verbose #2324 > ticks (), [[
00:01:59 verbose #2325 > FileSystemChange.Renamed (
00:01:59 verbose #2326 > getEventPath event.OldFullPath,
00:01:59 verbose #2327 > (getEventPath event.FullPath, None)
00:01:59 verbose #2328 > )
00:01:59 verbose #2329 > ]]
00:01:59 verbose #2330 > )
00:01:59 verbose #2331 >
00:01:59 verbose #2332 > let failureStream =
00:01:59 verbose #2333 > AsyncSeq.subscribeEvent
00:01:59 verbose #2334 > watcher.Error
00:01:59 verbose #2335 > (fun event -> ticks (), [[ FileSystemChange.Failure
00:01:59 verbose #2336 > (event.GetException ()) ]])
00:01:59 verbose #2337 >
00:01:59 verbose #2338 > let stream =
00:01:59 verbose #2339 > [[
00:01:59 verbose #2340 > changedStream
00:01:59 verbose #2341 > deletedStream
00:01:59 verbose #2342 > createdStream
00:01:59 verbose #2343 > renamedStream
00:01:59 verbose #2344 > failureStream
00:01:59 verbose #2345 > ]]
00:01:59 verbose #2346 > |> FSharp.Control.AsyncSeq.mergeAll
00:01:59 verbose #2347 > |> FSharp.Control.AsyncSeq.map (fun (t, events) ->
00:01:59 verbose #2348 > events
00:01:59 verbose #2349 > |> List.fold
00:01:59 verbose #2350 > (fun (i, events) event ->
00:01:59 verbose #2351 > i + 1L,
00:01:59 verbose #2352 > (t + i, event) :: events)
00:01:59 verbose #2353 > (0L, [[]])
00:01:59 verbose #2354 > |> snd
00:01:59 verbose #2355 > |> List.rev
00:01:59 verbose #2356 > )
00:01:59 verbose #2357 > |> FSharp.Control.AsyncSeq.concatSeq
00:01:59 verbose #2358 > |> FSharp.Control.AsyncSeq.mapAsyncParallel (fun (t, event) -> async {
00:01:59 verbose #2359 > match shouldReadContent event, event with
00:01:59 verbose #2360 > | true, FileSystemChange.Changed (path, _) ->
00:01:59 verbose #2361 > do! Async.Sleep 5
00:01:59 verbose #2362 > let! content = fullPath </> path |>
00:01:59 verbose #2363 > SpiralFileSystem.read_all_text_retry_async
00:01:59 verbose #2364 > return t, FileSystemChange.Changed (path, content)
00:01:59 verbose #2365 > | true, FileSystemChange.Created (path, _) ->
00:01:59 verbose #2366 > do! Async.Sleep 5
00:01:59 verbose #2367 > let! content = fullPath </> path |>
00:01:59 verbose #2368 > SpiralFileSystem.read_all_text_retry_async
00:01:59 verbose #2369 > return t, FileSystemChange.Created (path, content)
00:01:59 verbose #2370 > | true, FileSystemChange.Renamed (oldPath, (newPath, _)) ->
00:01:59 verbose #2371 > let! content = fullPath </> newPath |>
00:01:59 verbose #2372 > SpiralFileSystem.read_all_text_retry_async
00:01:59 verbose #2373 > return t, FileSystemChange.Renamed (oldPath, (newPath, content))
00:01:59 verbose #2374 > | _ -> return t, event
00:01:59 verbose #2375 > })
00:01:59 verbose #2376 >
00:01:59 verbose #2377 > let disposable =
00:01:59 verbose #2378 > new_disposable (fun () ->
00:01:59 verbose #2379 > trace Debug (fun () -> "watchWithFilter / Disposing watch stream")
00:01:59 verbose #2380 > _locals
00:01:59 verbose #2381 > watcher.EnableRaisingEvents <- false
00:01:59 verbose #2382 > watcher.Dispose ()
00:01:59 verbose #2383 > )
00:01:59 verbose #2384 >
00:01:59 verbose #2385 > stream, disposable
00:01:59 verbose #2386 >
00:01:59 verbose #2387 > let inline watchDirectory path =
00:01:59 verbose #2388 > watchDirectoryWithFilter
00:01:59 verbose #2389 > (System.IO.NotifyFilters.FileName
00:01:59 verbose #2390 > // ||| System.IO.NotifyFilters.DirectoryName
00:01:59 verbose #2391 > // ||| System.IO.NotifyFilters.Attributes
00:01:59 verbose #2392 > //// ||| System.IO.NotifyFilters.Size
00:01:59 verbose #2393 > ||| System.IO.NotifyFilters.LastWrite
00:01:59 verbose #2394 > //// ||| System.IO.NotifyFilters.LastAccess
00:01:59 verbose #2395 > // ||| System.IO.NotifyFilters.CreationTime
00:01:59 verbose #2396 > // ||| System.IO.NotifyFilters.Security
00:01:59 verbose #2397 > )
00:01:59 verbose #2398 > path
00:02:00 verbose #2399 >
00:02:00 verbose #2400 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:00 verbose #2401 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:00 verbose #2402 > │ ### testEventsRaw (test) │
00:02:00 verbose #2403 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:00 verbose #2404 >
00:02:00 verbose #2405 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:00 verbose #2406 > //// test
00:02:00 verbose #2407 >
00:02:00 verbose #2408 > let inline testEventsRaw
00:02:00 verbose #2409 > (watchFn : (_ -> bool) -> string -> FSharp.Control.AsyncSeq<int64 *
00:02:00 verbose #2410 > FileSystemChange> * IDisposable)
00:02:00 verbose #2411 > write
00:02:00 verbose #2412 > =
00:02:00 verbose #2413 > let struct (tempDir, tempDisposable) =
00:02:00 verbose #2414 > SpiralFileSystem.create_temp_directory ()
00:02:00 verbose #2415 > let stream, disposable = watchFn (fun _ -> true) tempDir
00:02:00 verbose #2416 >
00:02:00 verbose #2417 > let events = System.Collections.Concurrent.ConcurrentBag ()
00:02:00 verbose #2418 >
00:02:00 verbose #2419 > let inline iter () =
00:02:00 verbose #2420 > stream
00:02:00 verbose #2421 > |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async {
00:02:00 verbose #2422 > events.Add event })
00:02:00 verbose #2423 >
00:02:00 verbose #2424 > let run = async {
00:02:00 verbose #2425 > let! _ = iter () |> Async.StartChild
00:02:00 verbose #2426 > do! Async.Sleep 250
00:02:00 verbose #2427 > return! write tempDir
00:02:00 verbose #2428 > }
00:02:00 verbose #2429 >
00:02:00 verbose #2430 > try
00:02:00 verbose #2431 > run
00:02:00 verbose #2432 > |> Async.runWithTimeout 60000
00:02:00 verbose #2433 > |> _assertEqual (Some ())
00:02:00 verbose #2434 > finally
00:02:00 verbose #2435 > disposable.Dispose ()
00:02:00 verbose #2436 > tempDisposable.Dispose ()
00:02:00 verbose #2437 >
00:02:00 verbose #2438 > let eventsLog =
00:02:00 verbose #2439 > events
00:02:00 verbose #2440 > |> Seq.toList
00:02:00 verbose #2441 > |> List.sortBy fst
00:02:00 verbose #2442 > |> List.fold
00:02:00 verbose #2443 > (fun (prev, acc) (ticks, event) ->
00:02:00 verbose #2444 > ticks, (ticks, (if prev = 0L then 0L else ticks - prev), event)
00:02:00 verbose #2445 > :: acc
00:02:00 verbose #2446 > )
00:02:00 verbose #2447 > (0L, [[]])
00:02:00 verbose #2448 > |> snd
00:02:00 verbose #2449 > |> List.rev
00:02:00 verbose #2450 > |> List.map (fun (diff, n, event) -> $"{n} / {diff} / {event}" |>
00:02:00 verbose #2451 > SpiralSm.ellipsis_end 100L)
00:02:00 verbose #2452 > |> SpiralSm.concat "\n"
00:02:00 verbose #2453 > let _locals () = $"eventsLog: \n{eventsLog} / {_locals ()}"
00:02:00 verbose #2454 > trace Debug (fun () -> "testEventsRaw") _locals
00:02:00 verbose #2455 >
00:02:00 verbose #2456 > events
00:02:00 verbose #2457 > |> Seq.toList
00:02:00 verbose #2458 > |> List.sortBy fst
00:02:00 verbose #2459 > |> List.map snd
00:02:00 verbose #2460 > |> List.fold
00:02:00 verbose #2461 > (fun acc event ->
00:02:00 verbose #2462 > match acc, event with
00:02:00 verbose #2463 > | FileSystemChange.Changed (lastPath, Some lastContent) as lastEvent
00:02:00 verbose #2464 > :: acc,
00:02:00 verbose #2465 > FileSystemChange.Changed (path, Some content)
00:02:00 verbose #2466 > when lastPath = path && content |> SpiralSm.starts_with
00:02:00 verbose #2467 > lastContent
00:02:00 verbose #2468 > ->
00:02:00 verbose #2469 > event :: acc
00:02:00 verbose #2470 > | _ -> event :: acc
00:02:00 verbose #2471 > )
00:02:00 verbose #2472 > [[]]
00:02:00 verbose #2473 > |> List.rev
00:02:00 verbose #2474 >
00:02:00 verbose #2475 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:00 verbose #2476 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:00 verbose #2477 > │ #### fast (test) │
00:02:00 verbose #2478 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:00 verbose #2479 >
00:02:00 verbose #2480 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:00 verbose #2481 > //// test
00:02:00 verbose #2482 >
00:02:00 verbose #2483 > let inline write path = async {
00:02:00 verbose #2484 > let n = 2
00:02:00 verbose #2485 >
00:02:00 verbose #2486 > for i = 1 to n do
00:02:00 verbose #2487 > do! $"a{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:00 verbose #2488 > $"file{i}.txt")
00:02:00 verbose #2489 >
00:02:00 verbose #2490 > do! Async.Sleep 250
00:02:00 verbose #2491 >
00:02:00 verbose #2492 > for i = 1 to n do
00:02:00 verbose #2493 > do! $"b{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:00 verbose #2494 > $"file{i}.txt")
00:02:00 verbose #2495 >
00:02:00 verbose #2496 > do! Async.Sleep 250
00:02:00 verbose #2497 >
00:02:00 verbose #2498 > for i = 1 to n do
00:02:00 verbose #2499 > do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:02:00 verbose #2500 > </> $"file_{i}.txt") |> Async.Ignore
00:02:00 verbose #2501 >
00:02:00 verbose #2502 > do! Async.Sleep 250
00:02:00 verbose #2503 >
00:02:00 verbose #2504 > for i = 1 to n do
00:02:00 verbose #2505 > do! $"c{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:00 verbose #2506 > $"file_{i}.txt")
00:02:00 verbose #2507 >
00:02:00 verbose #2508 > do! Async.Sleep 250
00:02:00 verbose #2509 >
00:02:00 verbose #2510 > for i = 1 to n do
00:02:00 verbose #2511 > do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:02:00 verbose #2512 > Async.Ignore
00:02:00 verbose #2513 >
00:02:00 verbose #2514 > do! Async.Sleep 250
00:02:00 verbose #2515 > }
00:02:00 verbose #2516 >
00:02:00 verbose #2517 > let inline run () =
00:02:00 verbose #2518 > let events = testEventsRaw watchDirectory write
00:02:00 verbose #2519 >
00:02:00 verbose #2520 > events
00:02:00 verbose #2521 > |> _sequenceEqual [[
00:02:00 verbose #2522 > FileSystemChange.Created ("file1.txt", Some "a1")
00:02:00 verbose #2523 > FileSystemChange.Changed ("file1.txt", Some "a1")
00:02:00 verbose #2524 > FileSystemChange.Created ("file2.txt", Some "a2")
00:02:00 verbose #2525 > FileSystemChange.Changed ("file2.txt", Some "a2")
00:02:00 verbose #2526 >
00:02:00 verbose #2527 > FileSystemChange.Changed ("file1.txt", Some "b1")
00:02:00 verbose #2528 > FileSystemChange.Changed ("file2.txt", Some "b2")
00:02:00 verbose #2529 >
00:02:00 verbose #2530 > FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "b1"))
00:02:00 verbose #2531 > FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "b2"))
00:02:00 verbose #2532 >
00:02:00 verbose #2533 > FileSystemChange.Changed ("file_1.txt", Some "c1")
00:02:00 verbose #2534 > FileSystemChange.Changed ("file_2.txt", Some "c2")
00:02:00 verbose #2535 >
00:02:00 verbose #2536 > FileSystemChange.Deleted "file_1.txt"
00:02:00 verbose #2537 > FileSystemChange.Deleted "file_2.txt"
00:02:00 verbose #2538 > ]]
00:02:00 verbose #2539 >
00:02:00 verbose #2540 > run
00:02:00 verbose #2541 > |> retry_fn 3
00:02:00 verbose #2542 > |> _assertEqual (Some ())
00:02:04 verbose #2543 >
00:02:04 verbose #2544 > ╭─[ 3.13s - stdout ]───────────────────────────────────────────────────────────╮
00:02:04 verbose #2545 > │ Some () │
00:02:04 verbose #2546 > │ │
00:02:04 verbose #2547 > │ 00:00:05 debug #1 watchWithFilter / Disposing watch stream / filter: │
00:02:04 verbose #2548 > │ FileName, LastWrite │
00:02:04 verbose #2549 > │ 00:00:05 debug #2 testEventsRaw / eventsLog: │
00:02:04 verbose #2550 > │ 0 / 638503145282562858 / Created ("file1.txt", Some "a1") │
00:02:04 verbose #2551 > │ 1 / 638503145282562859 / Changed ("file1.txt", Some "a1") │
00:02:04 verbose #2552 > │ 21149 / 638503145282584008 / Changed ("file1.txt", Some "a1") │
00:02:04 verbose #2553 > │ 694 / 638503145282584702 / Created ("file2.txt", Some "a2") │
00:02:04 verbose #2554 > │ 1 / 638503145282584703 / Changed ("file2.txt", Some "a2") │
00:02:04 verbose #2555 > │ 46 / 638503145282584749 / Changed ("file2.txt", Some "a2") │
00:02:04 verbose #2556 > │ 2467822 / 638503145285052571 / Changed ("file1.txt", Some "b1") │
00:02:04 verbose #2557 > │ 2672 / 638503145285055243 / Changed ("file1.txt", Some "b1") │
00:02:04 verbose #2558 > │ 12528 / 638503145285067771 / Changed ("file2.txt", Some "b2") │
00:02:04 verbose #2559 > │ 2132 / 638503145285069903 / Changed ("file2.txt", Some "b2") │
00:02:04 verbose #2560 > │ 2529150 / 638503145287599053 / Renamed ("file1.txt", ("file_1.txt", Some │
00:02:04 verbose #2561 > │ "b1")) │
00:02:04 verbose #2562 > │ 18091 / 638503145287617144 / Renamed ("file2.txt", ("file_2.txt", Some │
00:02:04 verbose #2563 > │ "b2")) │
00:02:04 verbose #2564 > │ 2443095 / 638503145290060239 / Changed ("file_1.txt", Some "c1") │
00:02:04 verbose #2565 > │ 2053 / 638503145290062292 / Changed ("file_1.txt", Some "c1") │
00:02:04 verbose #2566 > │ 7933 / 638503145290070225 / Changed ("file_2.txt", Some "c2") │
00:02:04 verbose #2567 > │ 1669 / 638503145290071894 / Changed ("file_2.txt", Some "c2") │
00:02:04 verbose #2568 > │ 2528296 / 638503145292600190 / Deleted "file_1.txt" │
00:02:04 verbose #2569 > │ 3063 / 638503145292603253 / Deleted "file_2.txt" │
00:02:04 verbose #2570 > │ [Created ("file1.txt", Some "a1"); Changed ("file1.txt", Some "a1"); Created │
00:02:04 verbose #2571 > │ ("file2.txt", Some "a2"); │
00:02:04 verbose #2572 > │ Changed ("file2.txt", Some "a2"); Changed ("file1.txt", Some "b1"); Changed │
00:02:04 verbose #2573 > │ ("file2.txt", Some "b2"); │
00:02:04 verbose #2574 > │ Renamed ("file1.txt", ("file_1.txt", Some "b1")); Renamed ("file2.txt", │
00:02:04 verbose #2575 > │ ("file_2.txt", Some "b2")); │
00:02:04 verbose #2576 > │ Changed ("file_1.txt", Some "c1"); Changed ("file_2.txt", Some "c2"); │
00:02:04 verbose #2577 > │ Deleted "file_1.txt"; Deleted "file_2.txt"] │
00:02:04 verbose #2578 > │ │
00:02:04 verbose #2579 > │ Some () │
00:02:04 verbose #2580 > │ │
00:02:04 verbose #2581 > │ │
00:02:04 verbose #2582 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:04 verbose #2583 >
00:02:04 verbose #2584 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:04 verbose #2585 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:04 verbose #2586 > │ #### slow (test) │
00:02:04 verbose #2587 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:04 verbose #2588 >
00:02:04 verbose #2589 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:04 verbose #2590 > //// test
00:02:04 verbose #2591 >
00:02:04 verbose #2592 > let inline write path = async {
00:02:04 verbose #2593 > let n = 2
00:02:04 verbose #2594 >
00:02:04 verbose #2595 > let contents =
00:02:04 verbose #2596 > [[ 1 .. n ]]
00:02:04 verbose #2597 > |> List.map (string >> String.replicate 1_000_000)
00:02:04 verbose #2598 >
00:02:04 verbose #2599 > for i = 1 to n do
00:02:04 verbose #2600 > do! $"{contents.[[i - 1]]}a" |> SpiralFileSystem.write_all_text_async
00:02:04 verbose #2601 > (path </> $"file{i}.txt")
00:02:04 verbose #2602 >
00:02:04 verbose #2603 > do! Async.Sleep 1500
00:02:04 verbose #2604 >
00:02:04 verbose #2605 > for i = 1 to n do
00:02:04 verbose #2606 > do! $"{contents.[[i - 1]]}b" |> SpiralFileSystem.write_all_text_async
00:02:04 verbose #2607 > (path </> $"file{i}.txt")
00:02:04 verbose #2608 >
00:02:04 verbose #2609 > do! Async.Sleep 1500
00:02:04 verbose #2610 >
00:02:04 verbose #2611 > for i = 1 to n do
00:02:04 verbose #2612 > do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:02:04 verbose #2613 > </> $"file_{i}.txt") |> Async.Ignore
00:02:04 verbose #2614 >
00:02:04 verbose #2615 > do! Async.Sleep 1500
00:02:04 verbose #2616 >
00:02:04 verbose #2617 > for i = 1 to n do
00:02:04 verbose #2618 > do! $"{contents.[[i - 1]]}c" |> SpiralFileSystem.write_all_text_async
00:02:04 verbose #2619 > (path </> $"file_{i}.txt")
00:02:04 verbose #2620 >
00:02:04 verbose #2621 > do! Async.Sleep 1500
00:02:04 verbose #2622 >
00:02:04 verbose #2623 > for i = 1 to n do
00:02:04 verbose #2624 > do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:02:04 verbose #2625 > Async.Ignore
00:02:04 verbose #2626 >
00:02:04 verbose #2627 > do! Async.Sleep 1500
00:02:04 verbose #2628 > }
00:02:04 verbose #2629 >
00:02:04 verbose #2630 > let inline run () =
00:02:04 verbose #2631 > let events =
00:02:04 verbose #2632 > testEventsRaw watchDirectory write
00:02:04 verbose #2633 > |> List.map (function
00:02:04 verbose #2634 > | FileSystemChange.Changed (path, Some content) ->
00:02:04 verbose #2635 > FileSystemChange.Changed (path, content |> Seq.distinct |>
00:02:04 verbose #2636 > Seq.map string |> SpiralSm.concat "" |> Some)
00:02:04 verbose #2637 > | FileSystemChange.Created (path, Some content) ->
00:02:04 verbose #2638 > FileSystemChange.Created (path, content |> Seq.distinct |>
00:02:04 verbose #2639 > Seq.map string |> SpiralSm.concat "" |> Some)
00:02:04 verbose #2640 > | FileSystemChange.Renamed (oldPath, (newPath, Some content)) ->
00:02:04 verbose #2641 > FileSystemChange.Renamed (
00:02:04 verbose #2642 > oldPath,
00:02:04 verbose #2643 > (newPath, content |> Seq.distinct |> Seq.map string |>
00:02:04 verbose #2644 > SpiralSm.concat "" |> Some)
00:02:04 verbose #2645 > )
00:02:04 verbose #2646 > | event -> event
00:02:04 verbose #2647 > )
00:02:04 verbose #2648 >
00:02:04 verbose #2649 > events
00:02:04 verbose #2650 > |> _sequenceEqual [[
00:02:04 verbose #2651 > FileSystemChange.Created ("file1.txt", Some "1a")
00:02:04 verbose #2652 > FileSystemChange.Changed ("file1.txt", Some "1a")
00:02:04 verbose #2653 > FileSystemChange.Created ("file2.txt", Some "2a")
00:02:04 verbose #2654 > FileSystemChange.Changed ("file2.txt", Some "2a")
00:02:04 verbose #2655 >
00:02:04 verbose #2656 > FileSystemChange.Changed ("file1.txt", Some "1b")
00:02:04 verbose #2657 > FileSystemChange.Changed ("file2.txt", Some "2b")
00:02:04 verbose #2658 >
00:02:04 verbose #2659 > FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "1b"))
00:02:04 verbose #2660 > FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "2b"))
00:02:04 verbose #2661 >
00:02:04 verbose #2662 > FileSystemChange.Changed ("file_1.txt", Some "1c")
00:02:04 verbose #2663 > FileSystemChange.Changed ("file_2.txt", Some "2c")
00:02:04 verbose #2664 >
00:02:04 verbose #2665 > FileSystemChange.Deleted "file_1.txt"
00:02:04 verbose #2666 > FileSystemChange.Deleted "file_2.txt"
00:02:04 verbose #2667 > ]]
00:02:04 verbose #2668 >
00:02:04 verbose #2669 > run
00:02:04 verbose #2670 > |> retry_fn 5
00:02:04 verbose #2671 > |> _assertEqual (Some ())
00:02:14 verbose #2672 >
00:02:14 verbose #2673 > ╭─[ 10.26s - stdout ]──────────────────────────────────────────────────────────╮
00:02:14 verbose #2674 > │ Some () │
00:02:14 verbose #2675 > │ │
00:02:14 verbose #2676 > │ 00:00:15 debug #3 watchWithFilter / Disposing watch stream / filter: │
00:02:14 verbose #2677 > │ FileName, LastWrite │
00:02:14 verbose #2678 > │ 00:00:15 debug #4 testEventsRaw / eventsLog: │
00:02:14 verbose #2679 > │ 0 / 638503145319301418 / Created │
00:02:14 verbose #2680 > │ ("file1.txt", │
00:02:14 verbose #2681 > │ ...11111111111111111111111111111111111111111111111a") │
00:02:14 verbose #2682 > │ 1 / 638503145319301419 / Changed │
00:02:14 verbose #2683 > │ ("file1.txt", │
00:02:14 verbose #2684 > │ ...11111111111111111111111111111111111111111111111a") │
00:02:14 verbose #2685 > │ 63086 / 638503145319364505 / Changed │
00:02:14 verbose #2686 > │ ("file1.txt...11111111111111111111111111111111111111111111111a") │
00:02:14 verbose #2687 > │ 30527 / 638503145319395032 / Created │
00:02:14 verbose #2688 > │ ("file2.txt...22222222222222222222222222222222222222222222222a") │
00:02:14 verbose #2689 > │ 1 / 638503145319395033 / Changed │
00:02:14 verbose #2690 > │ ("file2.txt", │
00:02:14 verbose #2691 > │ ...22222222222222222222222222222222222222222222222a") │
00:02:14 verbose #2692 > │ 68335 / 638503145319463368 / Changed │
00:02:14 verbose #2693 > │ ("file2.txt...22222222222222222222222222222222222222222222222a") │
00:02:14 verbose #2694 > │ 14974437 / 638503145334437805 / Changed │
00:02:14 verbose #2695 > │ ("file1....11111111111111111111111111111111111111111111111b") │
00:02:14 verbose #2696 > │ 69761 / 638503145334507566 / Changed │
00:02:14 verbose #2697 > │ ("file1.txt...11111111111111111111111111111111111111111111111b") │
00:02:14 verbose #2698 > │ 34228 / 638503145334541794 / Changed │
00:02:14 verbose #2699 > │ ("file2.txt...22222222222222222222222222222222222222222222222b") │
00:02:14 verbose #2700 > │ 89304 / 638503145334631098 / Changed │
00:02:14 verbose #2701 > │ ("file2.txt...22222222222222222222222222222222222222222222222b") │
00:02:14 verbose #2702 > │ 15086484 / 638503145349717582 / Renamed │
00:02:14 verbose #2703 > │ ("file1....1111111111111111111111111111111111111111111111b")) │
00:02:14 verbose #2704 > │ 10415 / 638503145349727997 / Renamed │
00:02:14 verbose #2705 > │ ("file2.txt...2222222222222222222222222222222222222222222222b")) │
00:02:14 verbose #2706 > │ 15161098 / 638503145364889095 / Changed │
00:02:14 verbose #2707 > │ ("file_1...11111111111111111111111111111111111111111111111c") │
00:02:14 verbose #2708 > │ 222121 / 638503145365111216 / Changed │
00:02:14 verbose #2709 > │ ("file_1.t...11111111111111111111111111111111111111111111111c") │
00:02:14 verbose #2710 > │ 24470 / 638503145365135686 / Changed │
00:02:14 verbose #2711 > │ ("file_2.tx...22222222222222222222222222222222222222222222222c") │
00:02:14 verbose #2712 > │ 76877 / 638503145365212563 / Changed │
00:02:14 verbose #2713 > │ ("file_2.tx...22222222222222222222222222222222222222222222222c") │
00:02:14 verbose #2714 > │ 14990845 / 638503145380203408 / Deleted "file_1.txt" │
00:02:14 verbose #2715 > │ 8994 / 638503145380212402 / Deleted "file_2.txt" │
00:02:14 verbose #2716 > │ [Created ("file1.txt", Some "1a"); Changed ("file1.txt", Some "1a"); Created │
00:02:14 verbose #2717 > │ ("file2.txt", Some "2a"); │
00:02:14 verbose #2718 > │ Changed ("file2.txt", Some "2a"); Changed ("file1.txt", Some "1b"); Changed │
00:02:14 verbose #2719 > │ ("file2.txt", Some "2b"); │
00:02:14 verbose #2720 > │ Renamed ("file1.txt", ("file_1.txt", Some "1b")); Renamed ("file2.txt", │
00:02:14 verbose #2721 > │ ("file_2.txt", Some "2b")); │
00:02:14 verbose #2722 > │ Changed ("file_1.txt", Some "1c"); Changed ("file_2.txt", Some "2c"); │
00:02:14 verbose #2723 > │ Deleted "file_1.txt"; Deleted "file_2.txt"] │
00:02:14 verbose #2724 > │ │
00:02:14 verbose #2725 > │ Some () │
00:02:14 verbose #2726 > │ │
00:02:14 verbose #2727 > │ │
00:02:14 verbose #2728 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #2729 >
00:02:14 verbose #2730 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:14 verbose #2731 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #2732 > │ ### testEventsSorted (test) │
00:02:14 verbose #2733 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #2734 >
00:02:14 verbose #2735 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:14 verbose #2736 > //// test
00:02:14 verbose #2737 >
00:02:14 verbose #2738 > let inline sortEvent event =
00:02:14 verbose #2739 > match event with
00:02:14 verbose #2740 > | FileSystemChange.Failure _ -> 0
00:02:14 verbose #2741 > | FileSystemChange.Created _ -> 1
00:02:14 verbose #2742 > | FileSystemChange.Changed _ -> 2
00:02:14 verbose #2743 > | FileSystemChange.Renamed (_oldPath, _) -> 3
00:02:14 verbose #2744 > | FileSystemChange.Deleted _ -> 4
00:02:14 verbose #2745 >
00:02:14 verbose #2746 > let inline formatEvents events =
00:02:14 verbose #2747 > events
00:02:14 verbose #2748 > |> Seq.toList
00:02:14 verbose #2749 > |> List.sortBy (snd >> sortEvent)
00:02:14 verbose #2750 > |> List.choose (fun (ticks, event) ->
00:02:14 verbose #2751 > match event with
00:02:14 verbose #2752 > | FileSystemChange.Failure _ ->
00:02:14 verbose #2753 > None
00:02:14 verbose #2754 > | FileSystemChange.Changed (path, _) ->
00:02:14 verbose #2755 > Some (ticks, System.IO.Path.GetFileName path, nameof
00:02:14 verbose #2756 > FileSystemChangeType.Changed)
00:02:14 verbose #2757 > | FileSystemChange.Created (path, _) ->
00:02:14 verbose #2758 > Some (ticks, System.IO.Path.GetFileName path, nameof
00:02:14 verbose #2759 > FileSystemChangeType.Created)
00:02:14 verbose #2760 > | FileSystemChange.Deleted path ->
00:02:14 verbose #2761 > Some (ticks, System.IO.Path.GetFileName path, nameof
00:02:14 verbose #2762 > FileSystemChangeType.Deleted)
00:02:14 verbose #2763 > | FileSystemChange.Renamed (_oldPath, (path, _)) ->
00:02:14 verbose #2764 > Some (ticks, System.IO.Path.GetFileName path, nameof
00:02:14 verbose #2765 > FileSystemChangeType.Renamed)
00:02:14 verbose #2766 > )
00:02:14 verbose #2767 > |> List.sortBy (fun (_, path, _) -> path)
00:02:14 verbose #2768 > |> List.distinctBy (fun (_, path, event) -> path, event)
00:02:14 verbose #2769 >
00:02:14 verbose #2770 > let inline testEventsSorted
00:02:14 verbose #2771 > (watchFn : string -> FSharp.Control.AsyncSeq<int64 * FileSystemChange> *
00:02:14 verbose #2772 > IDisposable)
00:02:14 verbose #2773 > write
00:02:14 verbose #2774 > =
00:02:14 verbose #2775 > let struct (tempDir, tempDisposable) =
00:02:14 verbose #2776 > SpiralFileSystem.create_temp_directory ()
00:02:14 verbose #2777 > let stream, disposable = watchFn tempDir
00:02:14 verbose #2778 >
00:02:14 verbose #2779 > let events = System.Collections.Concurrent.ConcurrentBag ()
00:02:14 verbose #2780 >
00:02:14 verbose #2781 > let inline iter () =
00:02:14 verbose #2782 > stream
00:02:14 verbose #2783 > |> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async {
00:02:14 verbose #2784 > events.Add event })
00:02:14 verbose #2785 >
00:02:14 verbose #2786 > let run = async {
00:02:14 verbose #2787 > let! _ = iter () |> Async.StartChild
00:02:14 verbose #2788 > do! Async.Sleep 250
00:02:14 verbose #2789 > return! write tempDir
00:02:14 verbose #2790 > }
00:02:14 verbose #2791 >
00:02:14 verbose #2792 > try
00:02:14 verbose #2793 > run
00:02:14 verbose #2794 > |> Async.runWithTimeout 5000
00:02:14 verbose #2795 > |> _assertEqual (Some ())
00:02:14 verbose #2796 > finally
00:02:14 verbose #2797 > disposable.Dispose ()
00:02:14 verbose #2798 > tempDisposable.Dispose ()
00:02:14 verbose #2799 >
00:02:14 verbose #2800 > let events = formatEvents events
00:02:14 verbose #2801 >
00:02:14 verbose #2802 > let eventMap =
00:02:14 verbose #2803 > events
00:02:14 verbose #2804 > |> List.map (fun (ticks, path, event) -> path, (event, ticks))
00:02:14 verbose #2805 > |> List.groupBy fst
00:02:14 verbose #2806 > |> List.map (fun (path, events) ->
00:02:14 verbose #2807 > let event, _ticks =
00:02:14 verbose #2808 > events
00:02:14 verbose #2809 > |> List.map snd
00:02:14 verbose #2810 > |> List.sortByDescending snd
00:02:14 verbose #2811 > |> List.head
00:02:14 verbose #2812 >
00:02:14 verbose #2813 > path, event
00:02:14 verbose #2814 > )
00:02:14 verbose #2815 > |> Map.ofList
00:02:14 verbose #2816 >
00:02:14 verbose #2817 > let eventList =
00:02:14 verbose #2818 > events
00:02:14 verbose #2819 > |> List.map (fun (_ticks, path, event) -> path, event)
00:02:14 verbose #2820 >
00:02:14 verbose #2821 > eventMap, eventList
00:02:14 verbose #2822 >
00:02:14 verbose #2823 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:14 verbose #2824 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #2825 > │ #### create and delete (test) │
00:02:14 verbose #2826 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #2827 >
00:02:14 verbose #2828 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:14 verbose #2829 > //// test
00:02:14 verbose #2830 >
00:02:14 verbose #2831 > let inline write path = async {
00:02:14 verbose #2832 > let n = 3
00:02:14 verbose #2833 >
00:02:14 verbose #2834 > for i = 1 to n do
00:02:14 verbose #2835 > do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:14 verbose #2836 > $"file{i}.txt")
00:02:14 verbose #2837 >
00:02:14 verbose #2838 > for i = 1 to n do
00:02:14 verbose #2839 > do! SpiralFileSystem.delete_file_async (path </> $"file{i}.txt") |>
00:02:14 verbose #2840 > Async.Ignore
00:02:14 verbose #2841 >
00:02:14 verbose #2842 > do! Async.Sleep 150
00:02:14 verbose #2843 > }
00:02:14 verbose #2844 >
00:02:14 verbose #2845 > let inline run () =
00:02:14 verbose #2846 > let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:02:14 verbose #2847 > write
00:02:14 verbose #2848 >
00:02:14 verbose #2849 > [[
00:02:14 verbose #2850 > "file1.txt", nameof FileSystemChangeType.Created
00:02:14 verbose #2851 > "file1.txt", nameof FileSystemChangeType.Changed
00:02:14 verbose #2852 > "file1.txt", nameof FileSystemChangeType.Deleted
00:02:14 verbose #2853 >
00:02:14 verbose #2854 > "file2.txt", nameof FileSystemChangeType.Created
00:02:14 verbose #2855 > "file2.txt", nameof FileSystemChangeType.Changed
00:02:14 verbose #2856 > "file2.txt", nameof FileSystemChangeType.Deleted
00:02:14 verbose #2857 >
00:02:14 verbose #2858 > "file3.txt", nameof FileSystemChangeType.Created
00:02:14 verbose #2859 > "file3.txt", nameof FileSystemChangeType.Changed
00:02:14 verbose #2860 > "file3.txt", nameof FileSystemChangeType.Deleted
00:02:14 verbose #2861 > ]]
00:02:14 verbose #2862 > |> _sequenceEqual eventList
00:02:14 verbose #2863 >
00:02:14 verbose #2864 > [[
00:02:14 verbose #2865 > "file1.txt", nameof FileSystemChangeType.Deleted
00:02:14 verbose #2866 > "file2.txt", nameof FileSystemChangeType.Deleted
00:02:14 verbose #2867 > "file3.txt", nameof FileSystemChangeType.Deleted
00:02:14 verbose #2868 > ]]
00:02:14 verbose #2869 > |> Map.ofList
00:02:14 verbose #2870 > |> _sequenceEqual eventMap
00:02:14 verbose #2871 >
00:02:14 verbose #2872 > run
00:02:14 verbose #2873 > |> retry_fn 3
00:02:14 verbose #2874 > |> _assertEqual (Some ())
00:02:16 verbose #2875 >
00:02:16 verbose #2876 > ╭─[ 1.61s - stdout ]───────────────────────────────────────────────────────────╮
00:02:16 verbose #2877 > │ Some () │
00:02:16 verbose #2878 > │ │
00:02:16 verbose #2879 > │ 00:00:17 debug #5 watchWithFilter / Disposing watch stream / filter: │
00:02:16 verbose #2880 > │ FileName, LastWrite │
00:02:16 verbose #2881 > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file1.txt", │
00:02:16 verbose #2882 > │ "Deleted"); ("file2.txt", "Created"); │
00:02:16 verbose #2883 > │ ("file2.txt", "Changed"); ("file2.txt", "Deleted"); ("file3.txt", │
00:02:16 verbose #2884 > │ "Created"); ("file3.txt", "Changed"); │
00:02:16 verbose #2885 > │ ("file3.txt", "Deleted")] │
00:02:16 verbose #2886 > │ │
00:02:16 verbose #2887 > │ map [("file1.txt", "Deleted"); ("file2.txt", "Deleted"); ("file3.txt", │
00:02:16 verbose #2888 > │ "Deleted")] │
00:02:16 verbose #2889 > │ │
00:02:16 verbose #2890 > │ Some () │
00:02:16 verbose #2891 > │ │
00:02:16 verbose #2892 > │ │
00:02:16 verbose #2893 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:16 verbose #2894 >
00:02:16 verbose #2895 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:16 verbose #2896 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:16 verbose #2897 > │ #### change (test) │
00:02:16 verbose #2898 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:16 verbose #2899 >
00:02:16 verbose #2900 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:16 verbose #2901 > //// test
00:02:16 verbose #2902 >
00:02:16 verbose #2903 > let inline write path = async {
00:02:16 verbose #2904 > let n = 2
00:02:16 verbose #2905 >
00:02:16 verbose #2906 > for i = 1 to n do
00:02:16 verbose #2907 > do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:16 verbose #2908 > $"file{i}.txt")
00:02:16 verbose #2909 >
00:02:16 verbose #2910 > for i = 1 to n do
00:02:16 verbose #2911 > do! "" |> SpiralFileSystem.write_all_text_async (path </>
00:02:16 verbose #2912 > $"file{i}.txt")
00:02:16 verbose #2913 >
00:02:16 verbose #2914 > for i = 1 to n do
00:02:16 verbose #2915 > do! SpiralFileSystem.delete_file_async (path </> $"file{i}.txt") |>
00:02:16 verbose #2916 > Async.Ignore
00:02:16 verbose #2917 >
00:02:16 verbose #2918 > do! Async.Sleep 150
00:02:16 verbose #2919 > }
00:02:16 verbose #2920 >
00:02:16 verbose #2921 > let inline run () =
00:02:16 verbose #2922 > let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:02:16 verbose #2923 > write
00:02:16 verbose #2924 >
00:02:16 verbose #2925 > [[
00:02:16 verbose #2926 > "file1.txt", nameof FileSystemChangeType.Created
00:02:16 verbose #2927 > "file1.txt", nameof FileSystemChangeType.Changed
00:02:16 verbose #2928 > "file1.txt", nameof FileSystemChangeType.Deleted
00:02:16 verbose #2929 >
00:02:16 verbose #2930 > "file2.txt", nameof FileSystemChangeType.Created
00:02:16 verbose #2931 > "file2.txt", nameof FileSystemChangeType.Changed
00:02:16 verbose #2932 > "file2.txt", nameof FileSystemChangeType.Deleted
00:02:16 verbose #2933 > ]]
00:02:16 verbose #2934 > |> _sequenceEqual eventList
00:02:16 verbose #2935 >
00:02:16 verbose #2936 > [[
00:02:16 verbose #2937 > "file1.txt", nameof FileSystemChangeType.Deleted
00:02:16 verbose #2938 > "file2.txt", nameof FileSystemChangeType.Deleted
00:02:16 verbose #2939 > ]]
00:02:16 verbose #2940 > |> Map.ofList
00:02:16 verbose #2941 > |> _sequenceEqual eventMap
00:02:16 verbose #2942 >
00:02:16 verbose #2943 > run
00:02:16 verbose #2944 > |> retry_fn 3
00:02:16 verbose #2945 > |> _assertEqual (Some ())
00:02:17 verbose #2946 >
00:02:17 verbose #2947 > ╭─[ 1.61s - stdout ]───────────────────────────────────────────────────────────╮
00:02:17 verbose #2948 > │ Some () │
00:02:17 verbose #2949 > │ │
00:02:17 verbose #2950 > │ 00:00:19 debug #6 watchWithFilter / Disposing watch stream / filter: │
00:02:17 verbose #2951 > │ FileName, LastWrite │
00:02:17 verbose #2952 > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file1.txt", │
00:02:17 verbose #2953 > │ "Deleted"); ("file2.txt", "Created"); │
00:02:17 verbose #2954 > │ ("file2.txt", "Changed"); ("file2.txt", "Deleted")] │
00:02:17 verbose #2955 > │ │
00:02:17 verbose #2956 > │ map [("file1.txt", "Deleted"); ("file2.txt", "Deleted")] │
00:02:17 verbose #2957 > │ │
00:02:17 verbose #2958 > │ Some () │
00:02:17 verbose #2959 > │ │
00:02:17 verbose #2960 > │ │
00:02:17 verbose #2961 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #2962 >
00:02:17 verbose #2963 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:17 verbose #2964 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:17 verbose #2965 > │ #### rename (test) │
00:02:17 verbose #2966 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #2967 >
00:02:17 verbose #2968 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:17 verbose #2969 > //// test
00:02:17 verbose #2970 >
00:02:17 verbose #2971 > let inline write path = async {
00:02:17 verbose #2972 > let n = 2
00:02:17 verbose #2973 >
00:02:17 verbose #2974 > for i = 1 to n do
00:02:17 verbose #2975 > do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:17 verbose #2976 > $"file{i}.txt")
00:02:17 verbose #2977 >
00:02:17 verbose #2978 > for i = 1 to n do
00:02:17 verbose #2979 > do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:02:17 verbose #2980 > </> $"file_{i}.txt") |> Async.Ignore
00:02:17 verbose #2981 >
00:02:17 verbose #2982 > for i = 1 to n do
00:02:17 verbose #2983 > do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:02:17 verbose #2984 > Async.Ignore
00:02:17 verbose #2985 >
00:02:17 verbose #2986 > do! Async.Sleep 150
00:02:17 verbose #2987 > }
00:02:17 verbose #2988 >
00:02:17 verbose #2989 > let inline run () =
00:02:17 verbose #2990 > let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:02:17 verbose #2991 > write
00:02:17 verbose #2992 >
00:02:17 verbose #2993 > [[
00:02:17 verbose #2994 > "file1.txt", nameof FileSystemChangeType.Created
00:02:17 verbose #2995 > "file1.txt", nameof FileSystemChangeType.Changed
00:02:17 verbose #2996 > "file2.txt", nameof FileSystemChangeType.Created
00:02:17 verbose #2997 > "file2.txt", nameof FileSystemChangeType.Changed
00:02:17 verbose #2998 >
00:02:17 verbose #2999 > "file_1.txt", nameof FileSystemChangeType.Renamed
00:02:17 verbose #3000 > "file_1.txt", nameof FileSystemChangeType.Deleted
00:02:17 verbose #3001 >
00:02:17 verbose #3002 > "file_2.txt", nameof FileSystemChangeType.Renamed
00:02:17 verbose #3003 > "file_2.txt", nameof FileSystemChangeType.Deleted
00:02:17 verbose #3004 > ]]
00:02:17 verbose #3005 > |> _sequenceEqual eventList
00:02:17 verbose #3006 >
00:02:17 verbose #3007 > [[
00:02:17 verbose #3008 > "file1.txt", nameof FileSystemChangeType.Changed
00:02:17 verbose #3009 > "file2.txt", nameof FileSystemChangeType.Changed
00:02:17 verbose #3010 > "file_1.txt", nameof FileSystemChangeType.Deleted
00:02:17 verbose #3011 > "file_2.txt", nameof FileSystemChangeType.Deleted
00:02:17 verbose #3012 > ]]
00:02:17 verbose #3013 > |> Map.ofList
00:02:17 verbose #3014 > |> _sequenceEqual eventMap
00:02:17 verbose #3015 >
00:02:17 verbose #3016 > run
00:02:17 verbose #3017 > |> retry_fn 3
00:02:17 verbose #3018 > |> _assertEqual (Some ())
00:02:19 verbose #3019 >
00:02:19 verbose #3020 > ╭─[ 1.79s - stdout ]───────────────────────────────────────────────────────────╮
00:02:19 verbose #3021 > │ Some () │
00:02:19 verbose #3022 > │ │
00:02:19 verbose #3023 > │ 00:00:21 debug #7 watchWithFilter / Disposing watch stream / filter: │
00:02:19 verbose #3024 > │ FileName, LastWrite │
00:02:19 verbose #3025 > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file2.txt", │
00:02:19 verbose #3026 > │ "Created"); ("file2.txt", "Changed"); │
00:02:19 verbose #3027 > │ ("file_1.txt", "Renamed"); ("file_1.txt", "Deleted"); ("file_2.txt", │
00:02:19 verbose #3028 > │ "Renamed"); ("file_2.txt", "Deleted")] │
00:02:19 verbose #3029 > │ │
00:02:19 verbose #3030 > │ map [("file1.txt", "Changed"); ("file2.txt", "Changed"); ("file_1.txt", │
00:02:19 verbose #3031 > │ "Deleted"); ("file_2.txt", "Deleted")] │
00:02:19 verbose #3032 > │ │
00:02:19 verbose #3033 > │ Some () │
00:02:19 verbose #3034 > │ │
00:02:19 verbose #3035 > │ │
00:02:19 verbose #3036 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:19 verbose #3037 >
00:02:19 verbose #3038 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:19 verbose #3039 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:19 verbose #3040 > │ #### full (test) │
00:02:19 verbose #3041 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:19 verbose #3042 >
00:02:19 verbose #3043 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:19 verbose #3044 > //// test
00:02:19 verbose #3045 >
00:02:19 verbose #3046 > let inline write path = async {
00:02:19 verbose #3047 > let n = 2
00:02:19 verbose #3048 >
00:02:19 verbose #3049 > for i = 1 to n do
00:02:19 verbose #3050 > do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:19 verbose #3051 > $"file{i}.txt")
00:02:19 verbose #3052 >
00:02:19 verbose #3053 > for i = 1 to n do
00:02:19 verbose #3054 > do! "" |> SpiralFileSystem.write_all_text_async (path </>
00:02:19 verbose #3055 > $"file{i}.txt")
00:02:19 verbose #3056 >
00:02:19 verbose #3057 > for i = 1 to n do
00:02:19 verbose #3058 > do! path </> $"file{i}.txt" |> SpiralFileSystem.move_file_async (path
00:02:19 verbose #3059 > </> $"file_{i}.txt") |> Async.Ignore
00:02:19 verbose #3060 >
00:02:19 verbose #3061 > for i = 1 to n do
00:02:19 verbose #3062 > do! $"{i}" |> SpiralFileSystem.write_all_text_async (path </>
00:02:19 verbose #3063 > $"file_{i}.txt")
00:02:19 verbose #3064 >
00:02:19 verbose #3065 > for i = 1 to n do
00:02:19 verbose #3066 > do! SpiralFileSystem.delete_file_async (path </> $"file_{i}.txt") |>
00:02:19 verbose #3067 > Async.Ignore
00:02:19 verbose #3068 >
00:02:19 verbose #3069 > do! Async.Sleep 150
00:02:19 verbose #3070 > }
00:02:19 verbose #3071 >
00:02:19 verbose #3072 > let inline run () =
00:02:19 verbose #3073 > let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
00:02:19 verbose #3074 > write
00:02:19 verbose #3075 >
00:02:19 verbose #3076 > [[
00:02:19 verbose #3077 > "file1.txt", nameof FileSystemChangeType.Created
00:02:19 verbose #3078 > "file1.txt", nameof FileSystemChangeType.Changed
00:02:19 verbose #3079 > "file2.txt", nameof FileSystemChangeType.Created
00:02:19 verbose #3080 > "file2.txt", nameof FileSystemChangeType.Changed
00:02:19 verbose #3081 >
00:02:19 verbose #3082 > "file_1.txt", nameof FileSystemChangeType.Changed
00:02:19 verbose #3083 > "file_1.txt", nameof FileSystemChangeType.Renamed
00:02:19 verbose #3084 > "file_1.txt", nameof FileSystemChangeType.Deleted
00:02:19 verbose #3085 >
00:02:19 verbose #3086 > "file_2.txt", nameof FileSystemChangeType.Changed
00:02:19 verbose #3087 > "file_2.txt", nameof FileSystemChangeType.Renamed
00:02:19 verbose #3088 > "file_2.txt", nameof FileSystemChangeType.Deleted
00:02:19 verbose #3089 > ]]
00:02:19 verbose #3090 > |> _sequenceEqual eventList
00:02:19 verbose #3091 >
00:02:19 verbose #3092 > [[
00:02:19 verbose #3093 > "file1.txt", nameof FileSystemChangeType.Changed
00:02:19 verbose #3094 > "file2.txt", nameof FileSystemChangeType.Changed
00:02:19 verbose #3095 > "file_1.txt", nameof FileSystemChangeType.Deleted
00:02:19 verbose #3096 > "file_2.txt", nameof FileSystemChangeType.Deleted
00:02:19 verbose #3097 > ]]
00:02:19 verbose #3098 > |> Map.ofList
00:02:19 verbose #3099 > |> _sequenceEqual eventMap
00:02:19 verbose #3100 >
00:02:19 verbose #3101 > run
00:02:19 verbose #3102 > |> retry_fn 3
00:02:19 verbose #3103 > |> _assertEqual (Some ())
00:02:21 verbose #3104 >
00:02:21 verbose #3105 > ╭─[ 2.09s - stdout ]───────────────────────────────────────────────────────────╮
00:02:21 verbose #3106 > │ Some () │
00:02:21 verbose #3107 > │ │
00:02:21 verbose #3108 > │ 00:00:23 debug #8 watchWithFilter / Disposing watch stream / filter: │
00:02:21 verbose #3109 > │ FileName, LastWrite │
00:02:21 verbose #3110 > │ [("file1.txt", "Created"); ("file1.txt", "Changed"); ("file2.txt", │
00:02:21 verbose #3111 > │ "Created"); ("file2.txt", "Changed"); │
00:02:21 verbose #3112 > │ ("file_1.txt", "Changed"); ("file_1.txt", "Renamed"); ("file_1.txt", │
00:02:21 verbose #3113 > │ "Deleted"); ("file_2.txt", "Changed"); │
00:02:21 verbose #3114 > │ ("file_2.txt", "Renamed"); ("file_2.txt", "Deleted")] │
00:02:21 verbose #3115 > │ │
00:02:21 verbose #3116 > │ map [("file1.txt", "Changed"); ("file2.txt", "Changed"); ("file_1.txt", │
00:02:21 verbose #3117 > │ "Deleted"); ("file_2.txt", "Deleted")] │
00:02:21 verbose #3118 > │ │
00:02:21 verbose #3119 > │ Some () │
00:02:21 verbose #3120 > │ │
00:02:21 verbose #3121 > │ │
00:02:21 verbose #3122 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:23 verbose #3123 > [NbConvertApp] Converting notebook FileSystem.dib.ipynb to html
00:02:23 verbose #3124 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:23 verbose #3125 > validate(nb)
00:02:25 verbose #3126 > [NbConvertApp] Writing 379638 bytes to FileSystem.dib.html
00:02:26 debug #3127 execute_with_options_async / exit_code: 0 / output.Length: 48230
00:02:26 debug #7 main / executeCommand / exitCode: 0
00:02:26 debug #3128 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 Runtime.dib -Retries 3"", [||],
None, None, None)
00:02:26 verbose #3129 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: Runtime.dib / _args: [
00:02:26 verbose #3130 > "-Retries",
00:02:26 verbose #3131 > 3
00:02:26 verbose #3132 > ]
00:02:28 verbose #3133 >
00:02:28 verbose #3134 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:28 verbose #3135 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:28 verbose #3136 > │ # Runtime (Polyglot) │
00:02:28 verbose #3137 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:28 verbose #3138 >
00:02:28 verbose #3139 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:28 verbose #3140 > #r
00:02:28 verbose #3141 > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:02:28 verbose #3142 > dard2.1/FSharp.Control.AsyncSeq.dll"
00:02:28 verbose #3143 > #r
00:02:28 verbose #3144 > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:02:28 verbose #3145 > 0/System.Reactive.dll"
00:02:28 verbose #3146 > #r
00:02:28 verbose #3147 > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:02:28 verbose #3148 > netstandard2.0/System.Reactive.Linq.dll"
00:02:28 verbose #3149 > #r
00:02:28 verbose #3150 > @"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
00:02:28 verbose #3151 >
00:02:28 verbose #3152 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:28 verbose #3153 > #r
00:02:28 verbose #3154 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:02:28 verbose #3155 > spNetCore.Html.Abstractions.dll"
00:02:28 verbose #3156 > #r
00:02:28 verbose #3157 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:28 verbose #3158 > otNet.Interactive.dll"
00:02:28 verbose #3159 > #r
00:02:28 verbose #3160 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:28 verbose #3161 > otNet.Interactive.FSharp.dll"
00:02:28 verbose #3162 > #r
00:02:28 verbose #3163 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:28 verbose #3164 > otNet.Interactive.Formatting.dll"
00:02:28 verbose #3165 > open System
00:02:28 verbose #3166 > open System.IO
00:02:28 verbose #3167 > open System.Text
00:02:28 verbose #3168 > open Microsoft.DotNet.Interactive.Formatting
00:02:32 verbose #3169 >
00:02:32 verbose #3170 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:32 verbose #3171 > #r
00:02:32 verbose #3172 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:32 verbose #3173 > otNet.Interactive.FSharp.dll"
00:02:32 verbose #3174 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:02:32 verbose #3175 > #r
00:02:32 verbose #3176 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:32 verbose #3177 > otNet.Interactive.dll"
00:02:32 verbose #3178 > open type Microsoft.DotNet.Interactive.Kernel
00:02:32 verbose #3179 >
00:02:32 verbose #3180 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:32 verbose #3181 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:02:32 verbose #3182 >
00:02:32 verbose #3183 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:32 verbose #3184 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:02:32 verbose #3185 > TextWriter)->fprintfn writer "%120A" x)
00:02:33 verbose #3186 >
00:02:33 verbose #3187 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:33 verbose #3188 > #!import ../../lib/fsharp/Notebooks.dib
00:02:33 verbose #3189 > #!import ../../lib/fsharp/Testing.dib
00:02:33 verbose #3190 >
00:02:33 verbose #3191 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:33 verbose #3192 > //// test
00:02:33 verbose #3193 >
00:02:33 verbose #3194 > Formatter.ListExpansionLimit <- 100
00:02:33 verbose #3195 >
00:02:33 verbose #3196 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:33 verbose #3197 > #if FABLE_COMPILER
00:02:33 verbose #3198 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:02:33 verbose #3199 > #endif
00:02:33 verbose #3200 > type Func0<'T> = class end
00:02:33 verbose #3201 > #if FABLE_COMPILER
00:02:33 verbose #3202 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:02:33 verbose #3203 > #endif
00:02:33 verbose #3204 > type Func0<'T, 'U> = class end
00:02:33 verbose #3205 > #if FABLE_COMPILER
00:02:33 verbose #3206 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:02:33 verbose #3207 > #endif
00:02:33 verbose #3208 > type Box<'T> = class end
00:02:33 verbose #3209 > #if FABLE_COMPILER
00:02:33 verbose #3210 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:02:33 verbose #3211 > #endif
00:02:33 verbose #3212 > type Dyn<'T> = class end
00:02:33 verbose #3213 > #if FABLE_COMPILER
00:02:33 verbose #3214 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:02:33 verbose #3215 > #endif
00:02:33 verbose #3216 > type Send<'T> = class end
00:02:33 verbose #3217 > #if FABLE_COMPILER
00:02:33 verbose #3218 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:02:33 verbose #3219 > #endif
00:02:33 verbose #3220 > type Fn<'T> = class end
00:02:33 verbose #3221 > #if FABLE_COMPILER
00:02:33 verbose #3222 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:02:33 verbose #3223 > #endif
00:02:33 verbose #3224 > type FnUnit = class end
00:02:33 verbose #3225 > #if FABLE_COMPILER
00:02:33 verbose #3226 > [[<Fable.Core.Er...
00:02:36 verbose #3227 >
00:02:36 verbose #3228 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:36 verbose #3229 > #if FABLE_COMPILER
00:02:36 verbose #3230 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:02:36 verbose #3231 > #endif
00:02:36 verbose #3232 > type std_future_Future<'T> = class end
00:02:36 verbose #3233 > #if FABLE_COMPILER
00:02:36 verbose #3234 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:02:36 verbose #3235 > #endif
00:02:36 verbose #3236 > type futures_future_TryJoinAll<'T> = class end
00:02:36 verbose #3237 > #if FABLE_COMPILER
00:02:36 verbose #3238 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:02:36 verbose #3239 > #endif
00:02:36 verbose #3240 > type rayon_vec_IntoIter<'T> = class end
00:02:36 verbose #3241 > #if FABLE_COMPILER
00:02:36 verbose #3242 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:02:36 verbose #3243 > #endif
00:02:36 verbose #3244 > type rayon_iter_Map<'T> = class end
00:02:36 verbose #3245 > #if FABLE_COMPILER
00:02:36 verbose #3246 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:02:36 verbose #3247 > #endif
00:02:36 verbose #3248 > type futures_lite_stream_StreamExt = class end
00:02:36 verbose #3249 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:02:36 verbose #3250 >
00:02:36 verbose #3251 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:36 verbose #3252 > #if FABLE_COMPILER
00:02:36 verbose #3253 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:02:36 verbose #3254 > #endif
00:02:36 verbose #3255 > type std_thread_JoinHandle<'T> = class end
00:02:36 verbose #3256 > #if FABLE_COMPILER
00:02:36 verbose #3257 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:02:36 verbose #3258 > #endif
00:02:36 verbose #3259 > type std_sync_Arc<'T> = class end
00:02:36 verbose #3260 > #if FABLE_COMPILER
00:02:36 verbose #3261 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:02:36 verbose #3262 > #endif
00:02:36 verbose #3263 > type std_sync_Mutex<'T> = class end
00:02:36 verbose #3264 > #if FABLE_COMPILER
00:02:36 verbose #3265 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:02:36 verbose #3266 > #endif
00:02:36 verbose #3267 > type std_sync_MutexGuard<'T> = class end
00:02:36 verbose #3268 > #if FABLE_COMPILER
00:02:36 verbose #3269 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:02:36 verbose #3270 > #endif
00:02:36 verbose #3271 > type std_sync_PoisonError<'T> = class end
00:02:36 verbose #3272 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:02:36 verbose #3273 > _.Dispose () = f ()
00:02:36 verbose #3274 > ...
00:02:48 verbose #3275 >
00:02:48 verbose #3276 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:48 verbose #3277 > module SpiralTrace =
00:02:48 verbose #3278 > let trace x =
00:02:48 verbose #3279 > #if !INTERACTIVE
00:02:48 verbose #3280 > Trace.trace x
00:02:48 verbose #3281 > #else
00:02:48 verbose #3282 > trace x
00:02:48 verbose #3283 > #endif
00:02:48 verbose #3284 >
00:02:48 verbose #3285 > type TraceLevel =
00:02:48 verbose #3286 > #if !INTERACTIVE
00:02:48 verbose #3287 > Trace.US0
00:02:48 verbose #3288 > #else
00:02:48 verbose #3289 > US0
00:02:48 verbose #3290 > #endif
00:02:48 verbose #3291 >
00:02:48 verbose #3292 > module SpiralCrypto =
00:02:48 verbose #3293 > let hash_text x =
00:02:48 verbose #3294 > #if !INTERACTIVE
00:02:48 verbose #3295 > Crypto.hash_text x
00:02:48 verbose #3296 > #else
00:02:48 verbose #3297 > hash_text x
00:02:48 verbose #3298 > #endif
00:02:48 verbose #3299 >
00:02:48 verbose #3300 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:02:48 verbose #3301 >
00:02:48 verbose #3302 > module SpiralAsync =
00:02:48 verbose #3303 > let merge_cancellation_token_with_default_async x =
00:02:48 verbose #3304 > #if !INTERACTIVE
00:02:48 verbose #3305 > Async_.merge_cancellation_token_with_default_async x
00:02:48 verbose #3306 > #else
00:02:48 verbose #3307 > merge_cancellation_token_with_default_async x
00:02:48 verbose #3308 > #endif
00:02:48 verbose #3309 >
00:02:48 verbose #3310 > module SpiralThreading =
00:02:48 verbose #3311 > let new_disposable_token x =
00:02:48 verbose #3312 > #if !INTERACTIVE
00:02:48 verbose #3313 > Threading.new_disposable_token x
00:02:48 verbose #3314 > #else
00:02:48 verbose #3315 > new_disposable_token x
00:02:48 verbose #3316 > #endif
00:02:48 verbose #3317 >
00:02:48 verbose #3318 > module Spi...
00:02:48 verbose #3319 >
00:02:48 verbose #3320 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:48 verbose #3321 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:02:48 verbose #3322 >
00:02:48 verbose #3323 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:48 verbose #3324 > //// test
00:02:48 verbose #3325 >
00:02:48 verbose #3326 > type AssertExceptionFormatter (ex) =
00:02:48 verbose #3327 > member _.Text =
00:02:48 verbose #3328 > ex.ToString()
00:02:48 verbose #3329 > .Replace("32m", "<span style=\"color: green;\">")
00:02:48 verbose #3330 > .Replace("36m", "</span>")
00:02:48 verbose #3331 > .Replace("31m", "<span style=\"color: red;\">")
00:02:48 verbose #3332 > .Replace("\n", "<br/>\n")
00:02:48 verbose #3333 >
00:02:48 verbose #3334 >
00:02:48 verbose #3335 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:02:48 verbose #3336 > AssertExceptionFormatter) -> x.Text), "text/html")
00:02:49 verbose #3337 >
00:02:49 verbose #3338 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:49 verbose #3339 > //// test
00:02:49 verbose #3340 >
00:02:49 verbose #3341 > let inline __expect fn log expected actual =
00:02:49 verbose #3342 > if log then printfn $"{actual.ToDisplayString ()}"
00:02:49 verbose #3343 > try
00:02:49 verbose #3344 > "Testing.__expect" |> fn actual expected
00:02:49 verbose #3345 > with :? Expecto.AssertException as ex ->
00:02:49 verbose #3346 > AssertExceptionFormatter(ex).Display () |> ignore
00:02:49 verbose #3347 > failwith (ex.GetType().FullName)
00:02:49 verbose #3348 >
00:02:49 verbose #3349 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:02:49 verbose #3350 > expected actual
00:02:49 verbose #3351 > let inline _contains expected actual = __contains true expected actual
00:02:49 verbose #3352 >
00:02:49 verbose #3353 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:02:49 verbose #3354 > expected actual
00:02:49 verbose #3355 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:02:49 verbose #3356 >
00:02:49 verbose #3357 > let inline __isGreaterThan log expected actual = __expect
00:02:49 verbose #3358 > Expecto.Expect.isGreaterThan log ex...
00:02:49 verbose #3359 >
00:02:49 verbose #3360 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:49 verbose #3361 > //// test
00:02:49 verbose #3362 >
00:02:49 verbose #3363 > let inline __isBetween log a b actual =
00:02:49 verbose #3364 > let inline isBetween actual (a, b) _ =
00:02:49 verbose #3365 > __isGreaterThanOrEqual log a actual
00:02:49 verbose #3366 > __isLessThanOrEqual log b actual
00:02:49 verbose #3367 > __expect isBetween log (a, b) actual
00:02:49 verbose #3368 > let inline _isBetween a b actual = __isBetween true a b actual
00:02:49 verbose #3369 >
00:02:49 verbose #3370 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:49 verbose #3371 > #!import ../../lib/fsharp/Common.fs
00:02:49 verbose #3372 > #!import ../../lib/fsharp/CommonFSharp.fs
00:02:49 verbose #3373 > #!import ../../lib/fsharp/Async.fs
00:02:49 verbose #3374 > #!import ../../lib/fsharp/AsyncSeq.fs
00:02:49 verbose #3375 > #!import ../../lib/fsharp/Runtime.fs
00:02:49 verbose #3376 > #!import ../../lib/fsharp/FileSystem.fs
00:02:49 verbose #3377 >
00:02:49 verbose #3378 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:49 verbose #3379 > #if !INTERACTIVE
00:02:49 verbose #3380 > namespace Polyglot
00:02:49 verbose #3381 > #endif
00:02:49 verbose #3382 >
00:02:49 verbose #3383 > module Common =
00:02:49 verbose #3384 >
00:02:49 verbose #3385 > #if !INTERACTIVE
00:02:49 verbose #3386 > open Lib
00:02:49 verbose #3387 > #endif
00:02:49 verbose #3388 >
00:02:49 verbose #3389 > let nl = System.Environment.NewLine
00:02:49 verbose #3390 > let q = @""""
00:02:49 verbose #3391 >
00:02:49 verbose #3392 > let inline cons head tail = head :: tail
00:02:49 verbose #3393 >
00:02:49 verbose #3394 > /// ## memoize
00:02:49 verbose #3395 > let inline memoize fn =
00:02:49 verbose #3396 > let result = lazy fn ()
00:02:49 verbose #3397 > fun () -> result.Value
00:02:49 verbose #3398 >
00:02:49 verbose #3399 > /// ## TraceLevel
00:02:49 verbose #3400 > type TraceLevel =
00:02:49 verbose #3401 > | Verbose
00:02:49 verbose #3402 > | Debug
00:02:49 verbose #3403 > | Info
00:02:49 verbose #3404 > | Warning
00:02:49 verbose #3405 > | Critical
00:02:49 verbose #3406 >
00:02:49 verbose #3407 > let inline _locals () = ""
00:02:49 verbose #3408 >
00:02:49 verbose #3409 > /// ## trace
00:02:49 verbose #3410 > let to_trace_level = function
00:02:49 verbose #3411 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:02:49 verbose #3412 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:02:49 verbose #3413 > | Info -> SpiralTrace.TraceLevel.US0_2
00:02:49 verbose #3414 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:02:49 verbose #3415 > | Critical -> Spir...
00:02:49 verbose #3416 >
00:02:49 verbose #3417 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:49 verbose #3418 > #if !INTERACTIVE
00:02:49 verbose #3419 > namespace Polyglot
00:02:49 verbose #3420 > #endif
00:02:49 verbose #3421 >
00:02:49 verbose #3422 > module CommonFSharp =
00:02:49 verbose #3423 >
00:02:49 verbose #3424 > open Common
00:02:49 verbose #3425 >
00:02:49 verbose #3426 > /// ## getUnionCaseName
00:02:49 verbose #3427 > let inline getUnionCaseName<'T> (x: 'T) =
00:02:49 verbose #3428 > match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:02:49 verbose #3429 > | case, _ -> case.Name
00:02:49 verbose #3430 >
00:02:49 verbose #3431 >
00:02:49 verbose #3432 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:49 verbose #3433 > #if !INTERACTIVE
00:02:49 verbose #3434 > namespace Polyglot
00:02:49 verbose #3435 > #endif
00:02:49 verbose #3436 >
00:02:49 verbose #3437 > module Async =
00:02:49 verbose #3438 >
00:02:49 verbose #3439 > #if !INTERACTIVE
00:02:49 verbose #3440 > open Lib
00:02:49 verbose #3441 > #endif
00:02:49 verbose #3442 >
00:02:49 verbose #3443 > open Common
00:02:49 verbose #3444 >
00:02:49 verbose #3445 > /// ## choice
00:02:49 verbose #3446 > let inline choice asyncs = async {
00:02:49 verbose #3447 > let e = Event<_> ()
00:02:49 verbose #3448 > use cts = new System.Threading.CancellationTokenSource ()
00:02:49 verbose #3449 > let fn =
00:02:49 verbose #3450 > asyncs
00:02:49 verbose #3451 > |> Seq.map (fun a -> async {
00:02:49 verbose #3452 > let! x = a
00:02:49 verbose #3453 > e.Trigger x
00:02:49 verbose #3454 > })
00:02:49 verbose #3455 > |> Async.Parallel
00:02:49 verbose #3456 > |> Async.Ignore
00:02:49 verbose #3457 > Async.Start (fn, cts.Token)
00:02:49 verbose #3458 > let! result = Async.AwaitEvent e.Publish
00:02:49 verbose #3459 > cts.Cancel ()
00:02:49 verbose #3460 > return result
00:02:49 verbose #3461 > }
00:02:49 verbose #3462 >
00:02:49 verbose #3463 > /// ## map
00:02:49 verbose #3464 > let inline map fn a = async {
00:02:49 verbose #3465 > let! x = a
00:02:49 verbose #3466 > return fn x
00:02:49 verbose #3467 > }
00:02:49 verbose #3468 >
00:02:49 verbose #3469 > /// ## catch
00:02:49 verbose #3470 > let inline catch a =
00:02:49 verbose #3471 > ...
00:02:50 verbose #3472 >
00:02:50 verbose #3473 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:50 verbose #3474 > #if !INTERACTIVE
00:02:50 verbose #3475 > namespace Polyglot
00:02:50 verbose #3476 > #endif
00:02:50 verbose #3477 >
00:02:50 verbose #3478 > module AsyncSeq =
00:02:50 verbose #3479 >
00:02:50 verbose #3480 > #if !INTERACTIVE
00:02:50 verbose #3481 > open Lib
00:02:50 verbose #3482 > #endif
00:02:50 verbose #3483 >
00:02:50 verbose #3484 > open Common
00:02:50 verbose #3485 >
00:02:50 verbose #3486 > /// ## subscribeEvent
00:02:50 verbose #3487 > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:02:50 verbose #3488 > let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:02:50 verbose #3489 > 'A>(event.AddHandler, event.RemoveHandler)
00:02:50 verbose #3490 > System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:02:50 verbose #3491 > event.EventArgs)
00:02:50 verbose #3492 > |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:02:50 verbose #3493 >
00:02:50 verbose #3494 > /// ## subscribeToken
00:02:50 verbose #3495 > let subscribeToken (token : System.Threading.CancellationToken) =
00:02:50 verbose #3496 > let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:02:50 verbose #3497 > System.Action tcs.SetResult |> token.Register |> ignore
00:02:50 verbose #3498 > let start = System.DateTime.Now.Ticks...
00:02:50 verbose #3499 >
00:02:50 verbose #3500 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:50 verbose #3501 > #if !INTERACTIVE
00:02:50 verbose #3502 > namespace Polyglot
00:02:50 verbose #3503 > #endif
00:02:50 verbose #3504 >
00:02:50 verbose #3505 > module Runtime =
00:02:50 verbose #3506 >
00:02:50 verbose #3507 > #if !INTERACTIVE
00:02:50 verbose #3508 > open Lib
00:02:50 verbose #3509 > #endif
00:02:50 verbose #3510 >
00:02:50 verbose #3511 > open Common
00:02:50 verbose #3512 >
00:02:50 verbose #3513 > /// ## parseArgs
00:02:50 verbose #3514 > let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:02:50 verbose #3515 > let assemblyName =
00:02:50 verbose #3516 > System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:02:50 verbose #3517 > let errorHandler : Argu.IExiter =
00:02:50 verbose #3518 > if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
00:02:50 verbose #3519 > List.contains assemblyName
00:02:50 verbose #3520 > then Argu.ExceptionExiter ()
00:02:50 verbose #3521 > else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
00:02:50 verbose #3522 > _ -> Some System.ConsoleColor.Red)
00:02:50 verbose #3523 >
00:02:50 verbose #3524 > let parser =
00:02:50 verbose #3525 > Argu.ArgumentParser.Create<'T> (
00:02:50 verbose #3526 > programName =
00:02:50 verbose #3527 > $"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
00:02:50 verbose #3528 > ...
00:02:50 verbose #3529 >
00:02:50 verbose #3530 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:50 verbose #3531 > #if !INTERACTIVE
00:02:50 verbose #3532 > namespace Polyglot
00:02:50 verbose #3533 > #endif
00:02:50 verbose #3534 >
00:02:50 verbose #3535 > module FileSystem =
00:02:50 verbose #3536 >
00:02:50 verbose #3537 > #if !INTERACTIVE
00:02:50 verbose #3538 > open Lib
00:02:50 verbose #3539 > #endif
00:02:50 verbose #3540 >
00:02:50 verbose #3541 > open Common
00:02:50 verbose #3542 > open SpiralFileSystem.Operators
00:02:50 verbose #3543 >
00:02:50 verbose #3544 > /// ## watchDirectory
00:02:50 verbose #3545 > [[<RequireQualifiedAccess>]]
00:02:50 verbose #3546 > type FileSystemChangeType =
00:02:50 verbose #3547 > | Failure
00:02:50 verbose #3548 > | Changed
00:02:50 verbose #3549 > | Created
00:02:50 verbose #3550 > | Deleted
00:02:50 verbose #3551 > | Renamed
00:02:50 verbose #3552 >
00:02:50 verbose #3553 > [[<RequireQualifiedAccess>]]
00:02:50 verbose #3554 > type FileSystemChange =
00:02:50 verbose #3555 > | Failure of exn: exn
00:02:50 verbose #3556 > | Changed of path: string * content: string option
00:02:50 verbose #3557 > | Created of path: string * content: string option
00:02:50 verbose #3558 > | Deleted of path: string
00:02:50 verbose #3559 > | Renamed of oldPath: string * (string * string option)
00:02:50 verbose #3560 >
00:02:50 verbose #3561 >
00:02:50 verbose #3562 > let inline watchDirectoryWithFilter filter shouldReadContent path =
00:02:50 verbose #3563 > let fullPath = path |> Syst...
00:02:51 verbose #3564 >
00:02:51 verbose #3565 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3566 > #if !INTERACTIVE
00:02:51 verbose #3567 > open Lib
00:02:51 verbose #3568 > #endif
00:02:51 verbose #3569 >
00:02:51 verbose #3570 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3571 > open Common
00:02:51 verbose #3572 >
00:02:51 verbose #3573 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3574 > //// test
00:02:51 verbose #3575 >
00:02:51 verbose #3576 > open SpiralFileSystem.Operators
00:02:51 verbose #3577 >
00:02:51 verbose #3578 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:51 verbose #3579 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:51 verbose #3580 > │ ## parseArgs │
00:02:51 verbose #3581 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:51 verbose #3582 >
00:02:51 verbose #3583 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3584 > let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:02:51 verbose #3585 > let assemblyName =
00:02:51 verbose #3586 > System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:02:51 verbose #3587 > let errorHandler : Argu.IExiter =
00:02:51 verbose #3588 > if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
00:02:51 verbose #3589 > List.contains assemblyName
00:02:51 verbose #3590 > then Argu.ExceptionExiter ()
00:02:51 verbose #3591 > else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None | _ ->
00:02:51 verbose #3592 > Some System.ConsoleColor.Red)
00:02:51 verbose #3593 >
00:02:51 verbose #3594 > let parser =
00:02:51 verbose #3595 > Argu.ArgumentParser.Create<'T> (
00:02:51 verbose #3596 > programName = $"{assemblyName}{SpiralRuntime.get_executable_suffix
00:02:51 verbose #3597 > ()}",
00:02:51 verbose #3598 > errorHandler = errorHandler
00:02:51 verbose #3599 > )
00:02:51 verbose #3600 >
00:02:51 verbose #3601 > parser.ParseCommandLine args
00:02:51 verbose #3602 >
00:02:51 verbose #3603 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3604 > //// test
00:02:51 verbose #3605 >
00:02:51 verbose #3606 > [[<RequireQualifiedAccess>]]
00:02:51 verbose #3607 > type Arguments =
00:02:51 verbose #3608 > | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce;
00:02:51 verbose #3609 > Argu.ArguAttributes.Last>]]
00:02:51 verbose #3610 > Paths of paths : string list
00:02:51 verbose #3611 >
00:02:51 verbose #3612 > interface Argu.IArgParserTemplate with
00:02:51 verbose #3613 > member s.Usage =
00:02:51 verbose #3614 > match s with
00:02:51 verbose #3615 > | Paths _ -> nameof Paths
00:02:51 verbose #3616 >
00:02:51 verbose #3617 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3618 > //// test
00:02:51 verbose #3619 >
00:02:51 verbose #3620 > Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
00:02:51 verbose #3621 >
00:02:51 verbose #3622 > ╭─[ 146.03ms - return value ]──────────────────────────────────────────────────╮
00:02:51 verbose #3623 > │ "USAGE: dotnet-repl [--help] <paths>... │
00:02:51 verbose #3624 > │ │
00:02:51 verbose #3625 > │ PATHS: │
00:02:51 verbose #3626 > │ │
00:02:51 verbose #3627 > │ <paths>... Paths │
00:02:51 verbose #3628 > │ │
00:02:51 verbose #3629 > │ OPTIONS: │
00:02:51 verbose #3630 > │ │
00:02:51 verbose #3631 > │ --help display this list of options. │
00:02:51 verbose #3632 > │ " │
00:02:51 verbose #3633 > │ │
00:02:51 verbose #3634 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:51 verbose #3635 >
00:02:51 verbose #3636 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3637 > //// test
00:02:51 verbose #3638 >
00:02:51 verbose #3639 > fun () -> parseArgs<Arguments> [[||]] |> ignore
00:02:51 verbose #3640 > |> _throwsC (fun ex _ ->
00:02:51 verbose #3641 > SpiralSm.format_exception ex
00:02:51 verbose #3642 > |> _stringContains "Argu.ArguParseException: ERROR: missing parameter
00:02:51 verbose #3643 > '<paths>...'."
00:02:51 verbose #3644 > )
00:02:51 verbose #3645 >
00:02:51 verbose #3646 > ╭─[ 67.67ms - stdout ]─────────────────────────────────────────────────────────╮
00:02:51 verbose #3647 > │ <fun:it@3-3> │
00:02:51 verbose #3648 > │ │
00:02:51 verbose #3649 > │ "Argu.ArguParseException: ERROR: missing parameter '<paths>...'. │
00:02:51 verbose #3650 > │ USAGE: dotnet-repl.exe [--help] <paths>... │
00:02:51 verbose #3651 > │ │
00:02:51 verbose #3652 > │ PATHS: │
00:02:51 verbose #3653 > │ │
00:02:51 verbose #3654 > │ <paths>... Paths │
00:02:51 verbose #3655 > │ │
00:02:51 verbose #3656 > │ OPTIONS: │
00:02:51 verbose #3657 > │ │
00:02:51 verbose #3658 > │ --help display this list of options. │
00:02:51 verbose #3659 > │ " │
00:02:51 verbose #3660 > │ │
00:02:51 verbose #3661 > │ │
00:02:51 verbose #3662 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:51 verbose #3663 >
00:02:51 verbose #3664 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3665 > let inline parseAllArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:02:51 verbose #3666 > args
00:02:51 verbose #3667 > |> parseArgs<'T>
00:02:51 verbose #3668 > |> fun results -> results.GetAllResults ()
00:02:51 verbose #3669 >
00:02:51 verbose #3670 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3671 > //// test
00:02:51 verbose #3672 >
00:02:51 verbose #3673 > [[<RequireQualifiedAccess>]]
00:02:51 verbose #3674 > type Arguments =
00:02:51 verbose #3675 > | [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce;
00:02:51 verbose #3676 > Argu.ArguAttributes.Last>]]
00:02:51 verbose #3677 > Paths of paths : string list
00:02:51 verbose #3678 >
00:02:51 verbose #3679 > interface Argu.IArgParserTemplate with
00:02:51 verbose #3680 > member s.Usage =
00:02:51 verbose #3681 > match s with
00:02:51 verbose #3682 > | Paths _ -> nameof Paths
00:02:51 verbose #3683 >
00:02:51 verbose #3684 > parseAllArgs<Arguments> [[| "a b"; "c" |]]
00:02:51 verbose #3685 > |> _assertEqual [[ Arguments.Paths [[ "a b"; "c" ]] ]]
00:02:51 verbose #3686 >
00:02:51 verbose #3687 > ╭─[ 101.01ms - stdout ]────────────────────────────────────────────────────────╮
00:02:51 verbose #3688 > │ [Paths ["a b"; "c"]] │
00:02:51 verbose #3689 > │ │
00:02:51 verbose #3690 > │ │
00:02:51 verbose #3691 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:51 verbose #3692 >
00:02:51 verbose #3693 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3694 > let inline parseArgsMap<'T when 'T :> Argu.IArgParserTemplate> args =
00:02:51 verbose #3695 > args
00:02:51 verbose #3696 > |> parseAllArgs<'T>
00:02:51 verbose #3697 > |> List.groupBy CommonFSharp.getUnionCaseName<'T>
00:02:51 verbose #3698 > |> Map.ofList
00:02:51 verbose #3699 >
00:02:51 verbose #3700 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:51 verbose #3701 > //// test
00:02:51 verbose #3702 >
00:02:51 verbose #3703 > parseArgsMap<Arguments> [[| "a b"; "c" |]]
00:02:51 verbose #3704 > |> _assertEqual (
00:02:51 verbose #3705 > [[ nameof Arguments.Paths, [[ Arguments.Paths [[ "a b"; "c" ]] ]] ]]
00:02:51 verbose #3706 > |> Map.ofList
00:02:51 verbose #3707 > )
00:02:51 verbose #3708 >
00:02:51 verbose #3709 > ╭─[ 56.76ms - stdout ]─────────────────────────────────────────────────────────╮
00:02:51 verbose #3710 > │ map [("Paths", [Paths ["a b"; "c"]])] │
00:02:51 verbose #3711 > │ │
00:02:51 verbose #3712 > │ │
00:02:51 verbose #3713 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:54 verbose #3714 > [NbConvertApp] Converting notebook Runtime.dib.ipynb to html
00:02:54 verbose #3715 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:54 verbose #3716 > validate(nb)
00:02:55 verbose #3717 > [NbConvertApp] Writing 292945 bytes to Runtime.dib.html
00:02:56 debug #3718 execute_with_options_async / exit_code: 0 / output.Length: 20017
00:02:56 debug #8 main / executeCommand / exitCode: 0
00:02:56 debug #3719 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 Toml.dib -Retries 3"", [||], None,
None, None)
00:02:56 verbose #3720 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\fsharp / path: Toml.dib / _args: [
00:02:56 verbose #3721 > "-Retries",
00:02:56 verbose #3722 > 3
00:02:56 verbose #3723 > ]
00:02:58 verbose #3724 >
00:02:58 verbose #3725 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:58 verbose #3726 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:58 verbose #3727 > │ # Toml (Polyglot) │
00:02:58 verbose #3728 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #3729 >
00:02:58 verbose #3730 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:02:58 verbose #3731 > #!import ../../lib/fsharp/Notebooks.dib
00:02:58 verbose #3732 > #!import ../../lib/fsharp/Testing.dib
00:02:58 verbose #3733 >
00:02:58 verbose #3734 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:02:58 verbose #3735 > #r
00:02:58 verbose #3736 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:02:58 verbose #3737 > spNetCore.Html.Abstractions.dll"
00:02:58 verbose #3738 > #r
00:02:58 verbose #3739 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:58 verbose #3740 > otNet.Interactive.dll"
00:02:58 verbose #3741 > #r
00:02:58 verbose #3742 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:58 verbose #3743 > otNet.Interactive.FSharp.dll"
00:02:58 verbose #3744 > #r
00:02:58 verbose #3745 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:58 verbose #3746 > otNet.Interactive.Formatting.dll"
00:02:58 verbose #3747 > open System
00:02:58 verbose #3748 > open System.IO
00:02:58 verbose #3749 > open System.Text
00:02:58 verbose #3750 > open Microsoft.DotNet.Interactive.Formatting
00:03:02 verbose #3751 >
00:03:02 verbose #3752 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:02 verbose #3753 > #r
00:03:02 verbose #3754 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:03:02 verbose #3755 > otNet.Interactive.FSharp.dll"
00:03:02 verbose #3756 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:03:02 verbose #3757 > #r
00:03:02 verbose #3758 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:03:02 verbose #3759 > otNet.Interactive.dll"
00:03:02 verbose #3760 > open type Microsoft.DotNet.Interactive.Kernel
00:03:02 verbose #3761 >
00:03:02 verbose #3762 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:02 verbose #3763 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:03:02 verbose #3764 >
00:03:02 verbose #3765 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:02 verbose #3766 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:03:02 verbose #3767 > TextWriter)->fprintfn writer "%120A" x)
00:03:02 verbose #3768 >
00:03:02 verbose #3769 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:02 verbose #3770 > //// test
00:03:02 verbose #3771 >
00:03:02 verbose #3772 > Formatter.ListExpansionLimit <- 100
00:03:02 verbose #3773 >
00:03:02 verbose #3774 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:02 verbose #3775 > #if FABLE_COMPILER
00:03:02 verbose #3776 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:03:02 verbose #3777 > #endif
00:03:02 verbose #3778 > type Func0<'T> = class end
00:03:02 verbose #3779 > #if FABLE_COMPILER
00:03:02 verbose #3780 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:03:02 verbose #3781 > #endif
00:03:02 verbose #3782 > type Func0<'T, 'U> = class end
00:03:02 verbose #3783 > #if FABLE_COMPILER
00:03:02 verbose #3784 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:03:02 verbose #3785 > #endif
00:03:02 verbose #3786 > type Box<'T> = class end
00:03:02 verbose #3787 > #if FABLE_COMPILER
00:03:02 verbose #3788 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:03:02 verbose #3789 > #endif
00:03:02 verbose #3790 > type Dyn<'T> = class end
00:03:02 verbose #3791 > #if FABLE_COMPILER
00:03:02 verbose #3792 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:03:02 verbose #3793 > #endif
00:03:02 verbose #3794 > type Send<'T> = class end
00:03:02 verbose #3795 > #if FABLE_COMPILER
00:03:02 verbose #3796 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:03:02 verbose #3797 > #endif
00:03:02 verbose #3798 > type Fn<'T> = class end
00:03:02 verbose #3799 > #if FABLE_COMPILER
00:03:02 verbose #3800 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:03:02 verbose #3801 > #endif
00:03:02 verbose #3802 > type FnUnit = class end
00:03:02 verbose #3803 > #if FABLE_COMPILER
00:03:02 verbose #3804 > [[<Fable.Core.Er...
00:03:05 verbose #3805 >
00:03:05 verbose #3806 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:05 verbose #3807 > #if FABLE_COMPILER
00:03:05 verbose #3808 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:03:05 verbose #3809 > #endif
00:03:05 verbose #3810 > type std_future_Future<'T> = class end
00:03:05 verbose #3811 > #if FABLE_COMPILER
00:03:05 verbose #3812 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:03:05 verbose #3813 > #endif
00:03:05 verbose #3814 > type futures_future_TryJoinAll<'T> = class end
00:03:05 verbose #3815 > #if FABLE_COMPILER
00:03:05 verbose #3816 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:03:05 verbose #3817 > #endif
00:03:05 verbose #3818 > type rayon_vec_IntoIter<'T> = class end
00:03:05 verbose #3819 > #if FABLE_COMPILER
00:03:05 verbose #3820 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:03:05 verbose #3821 > #endif
00:03:05 verbose #3822 > type rayon_iter_Map<'T> = class end
00:03:05 verbose #3823 > #if FABLE_COMPILER
00:03:05 verbose #3824 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:03:05 verbose #3825 > #endif
00:03:05 verbose #3826 > type futures_lite_stream_StreamExt = class end
00:03:05 verbose #3827 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:03:05 verbose #3828 >
00:03:05 verbose #3829 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:05 verbose #3830 > #if FABLE_COMPILER
00:03:05 verbose #3831 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:03:05 verbose #3832 > #endif
00:03:05 verbose #3833 > type std_thread_JoinHandle<'T> = class end
00:03:05 verbose #3834 > #if FABLE_COMPILER
00:03:05 verbose #3835 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:03:05 verbose #3836 > #endif
00:03:05 verbose #3837 > type std_sync_Arc<'T> = class end
00:03:05 verbose #3838 > #if FABLE_COMPILER
00:03:05 verbose #3839 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:03:05 verbose #3840 > #endif
00:03:05 verbose #3841 > type std_sync_Mutex<'T> = class end
00:03:05 verbose #3842 > #if FABLE_COMPILER
00:03:05 verbose #3843 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:03:05 verbose #3844 > #endif
00:03:05 verbose #3845 > type std_sync_MutexGuard<'T> = class end
00:03:05 verbose #3846 > #if FABLE_COMPILER
00:03:05 verbose #3847 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:03:05 verbose #3848 > #endif
00:03:05 verbose #3849 > type std_sync_PoisonError<'T> = class end
00:03:05 verbose #3850 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:03:05 verbose #3851 > _.Dispose () = f ()
00:03:05 verbose #3852 > ...
00:03:11 verbose #3853 >
00:03:11 verbose #3854 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:11 verbose #3855 > module SpiralTrace =
00:03:11 verbose #3856 > let trace x =
00:03:11 verbose #3857 > #if !INTERACTIVE
00:03:11 verbose #3858 > Trace.trace x
00:03:11 verbose #3859 > #else
00:03:11 verbose #3860 > trace x
00:03:11 verbose #3861 > #endif
00:03:11 verbose #3862 >
00:03:11 verbose #3863 > type TraceLevel =
00:03:11 verbose #3864 > #if !INTERACTIVE
00:03:11 verbose #3865 > Trace.US0
00:03:11 verbose #3866 > #else
00:03:11 verbose #3867 > US0
00:03:11 verbose #3868 > #endif
00:03:11 verbose #3869 >
00:03:11 verbose #3870 > module SpiralCrypto =
00:03:11 verbose #3871 > let hash_text x =
00:03:11 verbose #3872 > #if !INTERACTIVE
00:03:11 verbose #3873 > Crypto.hash_text x
00:03:11 verbose #3874 > #else
00:03:11 verbose #3875 > hash_text x
00:03:11 verbose #3876 > #endif
00:03:11 verbose #3877 >
00:03:11 verbose #3878 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:03:11 verbose #3879 >
00:03:11 verbose #3880 > module SpiralAsync =
00:03:11 verbose #3881 > let merge_cancellation_token_with_default_async x =
00:03:11 verbose #3882 > #if !INTERACTIVE
00:03:11 verbose #3883 > Async_.merge_cancellation_token_with_default_async x
00:03:11 verbose #3884 > #else
00:03:11 verbose #3885 > merge_cancellation_token_with_default_async x
00:03:11 verbose #3886 > #endif
00:03:11 verbose #3887 >
00:03:11 verbose #3888 > module SpiralThreading =
00:03:11 verbose #3889 > let new_disposable_token x =
00:03:11 verbose #3890 > #if !INTERACTIVE
00:03:11 verbose #3891 > Threading.new_disposable_token x
00:03:11 verbose #3892 > #else
00:03:11 verbose #3893 > new_disposable_token x
00:03:11 verbose #3894 > #endif
00:03:11 verbose #3895 >
00:03:11 verbose #3896 > module Spi...
00:03:11 verbose #3897 >
00:03:11 verbose #3898 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:11 verbose #3899 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:03:11 verbose #3900 >
00:03:11 verbose #3901 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:11 verbose #3902 > //// test
00:03:11 verbose #3903 >
00:03:11 verbose #3904 > type AssertExceptionFormatter (ex) =
00:03:11 verbose #3905 > member _.Text =
00:03:11 verbose #3906 > ex.ToString()
00:03:11 verbose #3907 > .Replace("32m", "<span style=\"color: green;\">")
00:03:11 verbose #3908 > .Replace("36m", "</span>")
00:03:11 verbose #3909 > .Replace("31m", "<span style=\"color: red;\">")
00:03:11 verbose #3910 > .Replace("\n", "<br/>\n")
00:03:11 verbose #3911 >
00:03:11 verbose #3912 >
00:03:11 verbose #3913 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:03:11 verbose #3914 > AssertExceptionFormatter) -> x.Text), "text/html")
00:03:11 verbose #3915 >
00:03:11 verbose #3916 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:11 verbose #3917 > //// test
00:03:11 verbose #3918 >
00:03:11 verbose #3919 > let inline __expect fn log expected actual =
00:03:11 verbose #3920 > if log then printfn $"{actual.ToDisplayString ()}"
00:03:11 verbose #3921 > try
00:03:11 verbose #3922 > "Testing.__expect" |> fn actual expected
00:03:11 verbose #3923 > with :? Expecto.AssertException as ex ->
00:03:11 verbose #3924 > AssertExceptionFormatter(ex).Display () |> ignore
00:03:11 verbose #3925 > failwith (ex.GetType().FullName)
00:03:11 verbose #3926 >
00:03:11 verbose #3927 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:03:11 verbose #3928 > expected actual
00:03:11 verbose #3929 > let inline _contains expected actual = __contains true expected actual
00:03:11 verbose #3930 >
00:03:11 verbose #3931 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:03:11 verbose #3932 > expected actual
00:03:11 verbose #3933 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:03:11 verbose #3934 >
00:03:11 verbose #3935 > let inline __isGreaterThan log expected actual = __expect
00:03:11 verbose #3936 > Expecto.Expect.isGreaterThan log ex...
00:03:11 verbose #3937 >
00:03:11 verbose #3938 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:11 verbose #3939 > //// test
00:03:11 verbose #3940 >
00:03:11 verbose #3941 > let inline __isBetween log a b actual =
00:03:11 verbose #3942 > let inline isBetween actual (a, b) _ =
00:03:11 verbose #3943 > __isGreaterThanOrEqual log a actual
00:03:11 verbose #3944 > __isLessThanOrEqual log b actual
00:03:11 verbose #3945 > __expect isBetween log (a, b) actual
00:03:11 verbose #3946 > let inline _isBetween a b actual = __isBetween true a b actual
00:03:12 verbose #3947 >
00:03:12 verbose #3948 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #3949 > #r @"../../../../../../../.nuget/packages/tomlyn/0.17.0/lib/net7.0/Tomlyn.dll"
00:03:12 verbose #3950 >
00:03:12 verbose #3951 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #3952 > #!import ../../lib/fsharp/Common.fs
00:03:12 verbose #3953 >
00:03:12 verbose #3954 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:03:12 verbose #3955 > #if !INTERACTIVE
00:03:12 verbose #3956 > namespace Polyglot
00:03:12 verbose #3957 > #endif
00:03:12 verbose #3958 >
00:03:12 verbose #3959 > module Common =
00:03:12 verbose #3960 >
00:03:12 verbose #3961 > #if !INTERACTIVE
00:03:12 verbose #3962 > open Lib
00:03:12 verbose #3963 > #endif
00:03:12 verbose #3964 >
00:03:12 verbose #3965 > let nl = System.Environment.NewLine
00:03:12 verbose #3966 > let q = @""""
00:03:12 verbose #3967 >
00:03:12 verbose #3968 > let inline cons head tail = head :: tail
00:03:12 verbose #3969 >
00:03:12 verbose #3970 > /// ## memoize
00:03:12 verbose #3971 > let inline memoize fn =
00:03:12 verbose #3972 > let result = lazy fn ()
00:03:12 verbose #3973 > fun () -> result.Value
00:03:12 verbose #3974 >
00:03:12 verbose #3975 > /// ## TraceLevel
00:03:12 verbose #3976 > type TraceLevel =
00:03:12 verbose #3977 > | Verbose
00:03:12 verbose #3978 > | Debug
00:03:12 verbose #3979 > | Info
00:03:12 verbose #3980 > | Warning
00:03:12 verbose #3981 > | Critical
00:03:12 verbose #3982 >
00:03:12 verbose #3983 > let inline _locals () = ""
00:03:12 verbose #3984 >
00:03:12 verbose #3985 > /// ## trace
00:03:12 verbose #3986 > let to_trace_level = function
00:03:12 verbose #3987 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:03:12 verbose #3988 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:03:12 verbose #3989 > | Info -> SpiralTrace.TraceLevel.US0_2
00:03:12 verbose #3990 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:03:12 verbose #3991 > | Critical -> Spir...
00:03:12 verbose #3992 >
00:03:12 verbose #3993 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #3994 > open Common
00:03:12 verbose #3995 >
00:03:12 verbose #3996 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #3997 > let inline (/./) (table: Tomlyn.Model.TomlTable) (key: string) :
00:03:12 verbose #3998 > Tomlyn.Model.TomlTable =
00:03:12 verbose #3999 > table.[[key]] :?> Tomlyn.Model.TomlTable
00:03:12 verbose #4000 >
00:03:12 verbose #4001 > let inline (/../) (table: Tomlyn.Model.TomlTable) (key: string) : 'T seq =
00:03:12 verbose #4002 > table.[[key]] :?> Tomlyn.Model.TomlArray |> Seq.cast<'T>
00:03:12 verbose #4003 >
00:03:12 verbose #4004 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #4005 > //// test
00:03:12 verbose #4006 >
00:03:12 verbose #4007 > let tomlContent =
00:03:12 verbose #4008 > """
00:03:12 verbose #4009 > [[extension]]
00:03:12 verbose #4010 > paths = [["/a", "/b"]]
00:03:12 verbose #4011 > """
00:03:12 verbose #4012 >
00:03:12 verbose #4013 > let toml = Tomlyn.Toml.Parse tomlContent
00:03:12 verbose #4014 > let tomlModel = Tomlyn.Toml.ToModel toml
00:03:12 verbose #4015 >
00:03:12 verbose #4016 > let paths : string seq = tomlModel /./ "extension" /../ "paths"
00:03:12 verbose #4017 >
00:03:12 verbose #4018 > paths
00:03:12 verbose #4019 > |> Seq.toList
00:03:12 verbose #4020 > |> _assertEqual [[ "/a"; "/b" ]]
00:03:12 verbose #4021 >
00:03:12 verbose #4022 > ╭─[ 116.36ms - stdout ]────────────────────────────────────────────────────────╮
00:03:12 verbose #4023 > │ ["/a"; "/b"] │
00:03:12 verbose #4024 > │ │
00:03:12 verbose #4025 > │ │
00:03:12 verbose #4026 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:14 verbose #4027 > [NbConvertApp] Converting notebook Toml.dib.ipynb to html
00:03:14 verbose #4028 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:03:14 verbose #4029 > validate(nb)
00:03:15 verbose #4030 > [NbConvertApp] Writing 277994 bytes to Toml.dib.html
00:03:15 debug #4031 execute_with_options_async / exit_code: 0 / output.Length: 10229
00:03:15 debug #9 main / executeCommand / exitCode: 0
00:03:15 verbose #6 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:03:16 debug #7 run_with_timeout_async / timeout: 100
00:00:00 debug #6 writeDibCode / output: Fs / path: Toml.dib
00:00:00 debug #6 writeDibCode / output: Fs / path: Runtime.dib
00:00:00 debug #6 writeDibCode / output: Fs / path: FileSystem.dib
00:00:00 debug #6 writeDibCode / output: Fs / path: AsyncSeq.dib
00:00:00 debug #6 writeDibCode / output: Fs / path: Common.dib
00:00:00 debug #6 writeDibCode / output: Fs / path: CommonFSharp.dib
00:00:00 debug #6 writeDibCode / output: Fs / path: Async.dib
00:00:00 debug #9 parseDibCode / output: Fs / file: AsyncSeq.dib
00:00:00 debug #10 parseDibCode / output: Fs / file: FileSystem.dib
00:00:00 debug #12 parseDibCode / output: Fs / file: Common.dib
00:00:00 debug #8 parseDibCode / output: Fs / file: Runtime.dib
00:00:00 debug #13 parseDibCode / output: Fs / file: CommonFSharp.dib
00:00:00 debug #8 parseDibCode / output: Fs / file: Toml.dib
00:00:00 debug #13 parseDibCode / output: Fs / file: Async.dib
In [ ]:
{ . ../lib/math/build.ps1 } | Invoke-Block -Location $ScriptDir
00:00:00 debug #1 run_with_timeout_async / timeout: 500
00:00:00 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:01 debug #2 run_with_timeout_async / timeout: 100
00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:01 debug #4 run_with_timeout_async / timeout: 100
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 debug #5 run_with_timeout_async / timeout: 100
00:00:02 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02 debug #7 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 math.dib"", [||], None, None,
None)
00:00:02 verbose #8 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\math / path: math.dib / _args: null
00:00:04 verbose #9 >
00:00:04 verbose #10 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #11 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #12 > │ # math │
00:00:04 verbose #13 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:04 verbose #14 >
00:00:04 verbose #15 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:04 verbose #16 > open testing
00:00:04 verbose #17 > open rust_operators
00:00:04 verbose #18 >
00:00:04 verbose #19 > ── spiral - import ─────────────────────────────────────────────────────────────
00:00:04 verbose #20 > #r
00:00:04 verbose #21 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #22 > otNet.Interactive.Spiral.dll"
00:00:04 verbose #23 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:00:04 verbose #24 > #r
00:00:04 verbose #25 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #26 > otNet.Interactive.dll"
00:00:04 verbose #27 > open type Microsoft.DotNet.Interactive.Kernel
00:00:09 verbose #28 > 00:00:08 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dbfb98f86b21deb6b35fe3a80945f9312d296d3871cb8776c774b57d259aaabf/main.spi
00:00:11 verbose #29 >
00:00:11 verbose #30 > ╭─[ 7.49s - stdout ]───────────────────────────────────────────────────────────╮
00:00:11 verbose #31 > │ () │
00:00:11 verbose #32 > │ │
00:00:11 verbose #33 > │ │
00:00:11 verbose #34 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #35 >
00:00:11 verbose #36 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #37 > inl types () =
00:00:11 verbose #38 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:11 verbose #39 > Fable.Core.Emit(\"num_complex::Complex<$0>\")>]]\n#endif\ntype
00:00:11 verbose #40 > num_complex_Complex<'T> = class end"
00:00:11 verbose #41 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:11 verbose #42 > Fable.Core.Emit(\"pyo3::types::PyModule\")>]]\n#endif\ntype pyo3_types_PyModule
00:00:11 verbose #43 > = class end"
00:00:11 verbose #44 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:11 verbose #45 > Fable.Core.Emit(\"pyo3::Bound<$0>\")>]]\n#endif\ntype pyo3_Bound<'T> = class
00:00:11 verbose #46 > end"
00:00:11 verbose #47 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:11 verbose #48 > Fable.Core.Emit(\"pyo3::Python\")>]]\n#endif\ntype pyo3_Python = class end"
00:00:11 verbose #49 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:11 verbose #50 > Fable.Core.Emit(\"pyo3::PyAny\")>]]\n#endif\ntype pyo3_PyAny = class end"
00:00:11 verbose #51 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:11 verbose #52 > Fable.Core.Emit(\"pyo3::PyErr\")>]]\n#endif\ntype pyo3_PyErr = class end"
00:00:12 verbose #53 > 00:00:11 debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c1fbc243bf63cd527fa5f829e76da9bb4a9da0343e5ccc44c9fa851531606830/main.spi
00:00:12 verbose #54 >
00:00:12 verbose #55 > ╭─[ 654.11ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 verbose #56 > │ () │
00:00:12 verbose #57 > │ │
00:00:12 verbose #58 > │ │
00:00:12 verbose #59 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #60 >
00:00:12 verbose #61 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 verbose #62 > inl types () =
00:00:12 verbose #63 > rust.types ()
00:00:12 verbose #64 > sm'.types ()
00:00:12 verbose #65 > types ()
00:00:13 verbose #66 > 00:00:12 debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/da6ed65e06f442a9a2e9bc9e19434682263e6d6106df88ec4427767e68387568/main.spi
00:00:13 verbose #67 >
00:00:13 verbose #68 > ╭─[ 678.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 verbose #69 > │ () │
00:00:13 verbose #70 > │ │
00:00:13 verbose #71 > │ │
00:00:13 verbose #72 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #73 >
00:00:13 verbose #74 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 verbose #75 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 verbose #76 > │ ## complex │
00:00:13 verbose #77 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #78 >
00:00:13 verbose #79 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #80 > nominal complex t = $"num_complex_Complex<`t>"
00:00:13 verbose #81 > nominal bound t = $"pyo3_Bound<`t>"
00:00:13 verbose #82 > nominal python = $"pyo3_Python"
00:00:13 verbose #83 > nominal pymodule = $"pyo3_types_PyModule"
00:00:13 verbose #84 > nominal pyany = $"pyo3_PyAny"
00:00:13 verbose #85 > nominal pyerr = $"pyo3_PyErr"
00:00:13 verbose #86 >
00:00:13 verbose #87 > inl complex forall t. ((re : t), (im : t)) : complex t =
00:00:13 verbose #88 > !\\((re, im), $'"num_complex::Complex::new($0, $1)"')
00:00:13 verbose #89 > 00:00:12 debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b5c14b4fc8504cc4dfc131b42a5df0c412b79aa6233c8f2b3d22d614a7914757/main.spi
00:00:13 verbose #90 >
00:00:13 verbose #91 > ╭─[ 663.45ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 verbose #92 > │ () │
00:00:13 verbose #93 > │ │
00:00:13 verbose #94 > │ │
00:00:13 verbose #95 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #96 >
00:00:13 verbose #97 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #98 > //// test
00:00:13 verbose #99 > ///! rust
00:00:13 verbose #100 >
00:00:13 verbose #101 > types ()
00:00:13 verbose #102 >
00:00:13 verbose #103 > complex (0f64, 0f64)
00:00:13 verbose #104 > |> sm'.format'
00:00:13 verbose #105 > |> sm'.from_std_string
00:00:13 verbose #106 > |> _assert_eq "0+0i"
00:00:14 verbose #107 > 00:00:13 debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/91c5fd2e5f516174e6f2d820d25835c042e4a69c7396e3cf37e44727facc4d17/main.spi
00:00:23 verbose #108 >
00:00:23 verbose #109 > ╭─[ 9.98s - return value ]─────────────────────────────────────────────────────╮
00:00:23 verbose #110 > │ output: │
00:00:23 verbose #111 > │ assert_eq / actual: "0+0i" / expected: "0+0i" │
00:00:23 verbose #112 > │ │
00:00:23 verbose #113 > │ │
00:00:23 verbose #114 > │ │
00:00:23 verbose #115 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #116 >
00:00:23 verbose #117 > ╭─[ 9.99s - stdout ]───────────────────────────────────────────────────────────╮
00:00:23 verbose #118 > │ .fsx: │
00:00:23 verbose #119 > │ #if FABLE_COMPILER │
00:00:23 verbose #120 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:00:23 verbose #121 > │ #endif │
00:00:23 verbose #122 > │ type Func0<'T> = class end │
00:00:23 verbose #123 > │ #if FABLE_COMPILER │
00:00:23 verbose #124 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:00:23 verbose #125 > │ #endif │
00:00:23 verbose #126 > │ type Func0<'T, 'U> = class end │
00:00:23 verbose #127 > │ #if FABLE_COMPILER │
00:00:23 verbose #128 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:00:23 verbose #129 > │ #endif │
00:00:23 verbose #130 > │ type Box<'T> = class end │
00:00:23 verbose #131 > │ #if FABLE_COMPILER │
00:00:23 verbose #132 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:00:23 verbose #133 > │ #endif │
00:00:23 verbose #134 > │ type Dyn<'T> = class end │
00:00:23 verbose #135 > │ #if FABLE_COMPILER │
00:00:23 verbose #136 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:00:23 verbose #137 > │ #endif │
00:00:23 verbose #138 > │ type Send<'T> = class end │
00:00:23 verbose #139 > │ #if FABLE_COMPILER │
00:00:23 verbose #140 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:00:23 verbose #141 > │ #endif │
00:00:23 verbose #142 > │ type Fn<'T> = class end │
00:00:23 verbose #143 > │ #if FABLE_COMPILER │
00:00:23 verbose #144 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:00:23 verbose #145 > │ #endif │
00:00:23 verbose #146 > │ type FnUnit = class end │
00:00:23 verbose #147 > │ #if FABLE_COMPILER │
00:00:23 verbose #148 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:00:23 verbose #149 > │ #endif │
00:00:23 verbose #150 > │ type FnOnce<'T> = class end │
00:00:23 verbose #151 > │ #if FABLE_COMPILER │
00:00:23 verbose #152 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:00:23 verbose #153 > │ #endif │
00:00:23 verbose #154 > │ type ActionFn<'T> = class end │
00:00:23 verbose #155 > │ #if FABLE_COMPILER │
00:00:23 verbose #156 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:00:23 verbose #157 > │ #endif │
00:00:23 verbose #158 > │ type ActionFn2<'T, 'U> = class end │
00:00:23 verbose #159 > │ #if FABLE_COMPILER │
00:00:23 verbose #160 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:00:23 verbose #161 > │ #endif │
00:00:23 verbose #162 > │ type Impl<'T> = class end │
00:00:23 verbose #163 > │ #if FABLE_COMPILER │
00:00:23 verbose #164 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:00:23 verbose #165 > │ #endif │
00:00:23 verbose #166 > │ type Mut<'T> = class end │
00:00:23 verbose #167 > │ #if FABLE_COMPILER │
00:00:23 verbose #168 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:00:23 verbose #169 > │ #endif │
00:00:23 verbose #170 > │ type Ref<'T> = class end │
00:00:23 verbose #171 > │ #if FABLE_COMPILER │
00:00:23 verbose #172 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:00:23 verbose #173 > │ #endif │
00:00:23 verbose #174 > │ type StaticRef<'T> = class end │
00:00:23 verbose #175 > │ #if FABLE_COMPILER │
00:00:23 verbose #176 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:00:23 verbose #177 > │ #endif │
00:00:23 verbose #178 > │ type MutCell<'T> = class end │
00:00:23 verbose #179 > │ #if FABLE_COMPILER │
00:00:23 verbose #180 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:00:23 verbose #181 > │ #endif │
00:00:23 verbose #182 > │ type std_any_Any = class end │
00:00:23 verbose #183 > │ #if FABLE_COMPILER │
00:00:23 verbose #184 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:00:23 verbose #185 > │ #endif │
00:00:23 verbose #186 > │ type std_borrow_Cow<'T> = class end │
00:00:23 verbose #187 > │ #if FABLE_COMPILER │
00:00:23 verbose #188 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:00:23 verbose #189 > │ #endif │
00:00:23 verbose #190 > │ type std_cell_RefCell<'T> = class end │
00:00:23 verbose #191 > │ #if FABLE_COMPILER │
00:00:23 verbose #192 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:00:23 verbose #193 > │ #endif │
00:00:23 verbose #194 > │ type std_pin_Pin<'T> = class end │
00:00:23 verbose #195 > │ #if FABLE_COMPILER │
00:00:23 verbose #196 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:00:23 verbose #197 > │ #endif │
00:00:23 verbose #198 > │ type std_rc_Rc<'T> = class end │
00:00:23 verbose #199 > │ #if FABLE_COMPILER │
00:00:23 verbose #200 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:00:23 verbose #201 > │ #endif │
00:00:23 verbose #202 > │ type std_rc_Weak<'T> = class end │
00:00:23 verbose #203 > │ #if FABLE_COMPILER │
00:00:23 verbose #204 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:00:23 verbose #205 > │ #endif │
00:00:23 verbose #206 > │ type Str = class end │
00:00:23 verbose #207 > │ #if FABLE_COMPILER │
00:00:23 verbose #208 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:00:23 verbose #209 > │ #endif │
00:00:23 verbose #210 > │ type base64_DecodeError = class end │
00:00:23 verbose #211 > │ #if FABLE_COMPILER │
00:00:23 verbose #212 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:00:23 verbose #213 > │ #endif │
00:00:23 verbose #214 > │ type borsh_io_Error = class end │
00:00:23 verbose #215 > │ #if FABLE_COMPILER │
00:00:23 verbose #216 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:00:23 verbose #217 > │ #endif │
00:00:23 verbose #218 > │ type js_sys_JsString = class end │
00:00:23 verbose #219 > │ #if FABLE_COMPILER │
00:00:23 verbose #220 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:00:23 verbose #221 > │ #endif │
00:00:23 verbose #222 > │ type serde_json_Error = class end │
00:00:23 verbose #223 > │ #if FABLE_COMPILER │
00:00:23 verbose #224 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:00:23 verbose #225 > │ #endif │
00:00:23 verbose #226 > │ type serde_json_Value = class end │
00:00:23 verbose #227 > │ #if FABLE_COMPILER │
00:00:23 verbose #228 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:00:23 verbose #229 > │ #endif │
00:00:23 verbose #230 > │ type serde_wasm_bindgen_Error = class end │
00:00:23 verbose #231 > │ #if FABLE_COMPILER │
00:00:23 verbose #232 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:00:23 verbose #233 > │ #endif │
00:00:23 verbose #234 > │ type std_ffi_OsStr = class end │
00:00:23 verbose #235 > │ #if FABLE_COMPILER │
00:00:23 verbose #236 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:00:23 verbose #237 > │ #endif │
00:00:23 verbose #238 > │ type std_ffi_OsString = class end │
00:00:23 verbose #239 > │ #if FABLE_COMPILER │
00:00:23 verbose #240 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:00:23 verbose #241 > │ #endif │
00:00:23 verbose #242 > │ type std_fmt_Display<'T> = class end │
00:00:23 verbose #243 > │ #if FABLE_COMPILER │
00:00:23 verbose #244 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:00:23 verbose #245 > │ #endif │
00:00:23 verbose #246 > │ type std_str_Utf8Error = class end │
00:00:23 verbose #247 > │ #if FABLE_COMPILER │
00:00:23 verbose #248 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:00:23 verbose #249 > │ #endif │
00:00:23 verbose #250 > │ type std_string_FromUtf8Error = class end │
00:00:23 verbose #251 > │ #if FABLE_COMPILER │
00:00:23 verbose #252 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:00:23 verbose #253 > │ #endif │
00:00:23 verbose #254 > │ type std_string_String = class end │
00:00:23 verbose #255 > │ #if FABLE_COMPILER │
00:00:23 verbose #256 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:00:23 verbose #257 > │ #endif │
00:00:23 verbose #258 > │ type std_slice_Windows<'T> = class end │
00:00:23 verbose #259 > │ #if FABLE_COMPILER │
00:00:23 verbose #260 > │ [<Fable.Core.Erase; Fable.Core.Emit("num_complex::Complex<$0>")>] │
00:00:23 verbose #261 > │ #endif │
00:00:23 verbose #262 > │ type num_complex_Complex<'T> = class end │
00:00:23 verbose #263 > │ #if FABLE_COMPILER │
00:00:23 verbose #264 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::types::PyModule")>] │
00:00:23 verbose #265 > │ #endif │
00:00:23 verbose #266 > │ type pyo3_types_PyModule = class end │
00:00:23 verbose #267 > │ #if FABLE_COMPILER │
00:00:23 verbose #268 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::Bound<$0>")>] │
00:00:23 verbose #269 > │ #endif │
00:00:23 verbose #270 > │ type pyo3_Bound<'T> = class end │
00:00:23 verbose #271 > │ #if FABLE_COMPILER │
00:00:23 verbose #272 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::Python")>] │
00:00:23 verbose #273 > │ #endif │
00:00:23 verbose #274 > │ type pyo3_Python = class end │
00:00:23 verbose #275 > │ #if FABLE_COMPILER │
00:00:23 verbose #276 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::PyAny")>] │
00:00:23 verbose #277 > │ #endif │
00:00:23 verbose #278 > │ type pyo3_PyAny = class end │
00:00:23 verbose #279 > │ #if FABLE_COMPILER │
00:00:23 verbose #280 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::PyErr")>] │
00:00:23 verbose #281 > │ #endif │
00:00:23 verbose #282 > │ type pyo3_PyErr = class end │
00:00:23 verbose #283 > │ let rec method1 (v0 : bool) : bool = │
00:00:23 verbose #284 > │ v0 │
00:00:23 verbose #285 > │ and method0 () : unit = │
00:00:23 verbose #286 > │ let v0 : string = "num_complex::Complex::new($0, $1)" │
00:00:23 verbose #287 > │ let v1 : num_complex_Complex<float> = │
00:00:23 verbose #288 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, 0.0) v0 │
00:00:23 verbose #289 > │ let v2 : std_string_String option = None │
00:00:23 verbose #290 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:00:23 verbose #291 > │ │
00:00:23 verbose #292 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:23 verbose #293 > │ │
00:00:23 verbose #294 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:23 verbose #295 > │ let v4 : string = @$"format!(""{{}}"", $0)" │
00:00:23 verbose #296 > │ let v5 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v4 │
00:00:23 verbose #297 > │ v5 │
00:00:23 verbose #298 > │ #endif │
00:00:23 verbose #299 > │ │
00:00:23 verbose #300 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:23 verbose #301 > │ let v6 : string = @$"format!(""{{}}"", $0)" │
00:00:23 verbose #302 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v6 │
00:00:23 verbose #303 > │ v7 │
00:00:23 verbose #304 > │ #endif │
00:00:23 verbose #305 > │ │
00:00:23 verbose #306 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:23 verbose #307 > │ let v8 : string = @$"format!(""{{}}"", $0)" │
00:00:23 verbose #308 > │ let v9 : std_string_String = Fable.Core.RustInterop.emitRustExpr v1 v8 │
00:00:23 verbose #309 > │ v9 │
00:00:23 verbose #310 > │ #endif │
00:00:23 verbose #311 > │ │
00:00:23 verbose #312 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:23 verbose #313 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:00:23 verbose #314 > │ v10 │
00:00:23 verbose #315 > │ #endif │
00:00:23 verbose #316 > │ │
00:00:23 verbose #317 > │ #if FABLE_COMPILER_PYTHON │
00:00:23 verbose #318 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:00:24 verbose #319 > │ v11 │
00:00:24 verbose #320 > │ #endif │
00:00:24 verbose #321 > │ │
00:00:24 verbose #322 > │ #else │
00:00:24 verbose #323 > │ let v12 : std_string_String = null |> unbox<std_string_String> │
00:00:24 verbose #324 > │ v12 │
00:00:24 verbose #325 > │ #endif │
00:00:24 verbose #326 > │ |> fun x -> _v2 <- Some x │
00:00:24 verbose #327 > │ let v13 : std_string_String = _v2.Value │
00:00:24 verbose #328 > │ let v14 : string = "fable_library_rust::String_::fromString($0)" │
00:00:24 verbose #329 > │ let v15 : string = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:00:24 verbose #330 > │ let v17 : bool = v15 = "0+0i" │
00:00:24 verbose #331 > │ let v19 : bool = │
00:00:24 verbose #332 > │ if v17 then │
00:00:24 verbose #333 > │ true │
00:00:24 verbose #334 > │ else │
00:00:24 verbose #335 > │ method1(v17) │
00:00:24 verbose #336 > │ let v20 : string = "assert_eq" │
00:00:24 verbose #337 > │ let v21 : string = "0+0i" │
00:00:24 verbose #338 > │ let v22 : string = $"{v20} / actual: %A{v15} / expected: %A{v21}" │
00:00:24 verbose #339 > │ System.Console.WriteLine v22 │
00:00:24 verbose #340 > │ let v23 : bool = v19 = false │
00:00:24 verbose #341 > │ if v23 then │
00:00:24 verbose #342 > │ failwith<unit> v22 │
00:00:24 verbose #343 > │ method0() │
00:00:24 verbose #344 > │ │
00:00:24 verbose #345 > │ │
00:00:24 verbose #346 > │ │
00:00:24 verbose #347 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #348 >
00:00:24 verbose #349 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #350 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #351 > │ ## complex_sin │
00:00:24 verbose #352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #353 >
00:00:24 verbose #354 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #355 > inl re forall t. (c : complex t) : t =
00:00:24 verbose #356 > inl c = join c
00:00:24 verbose #357 > !\($'"!c.re"')
00:00:24 verbose #358 >
00:00:24 verbose #359 > inl im forall t. (c : complex t) : t =
00:00:24 verbose #360 > inl c = join c
00:00:24 verbose #361 > !\($'"!c.im"')
00:00:24 verbose #362 >
00:00:24 verbose #363 > inl complex_unbox forall t. (c : complex t) =
00:00:24 verbose #364 > re c, im c
00:00:24 verbose #365 >
00:00:24 verbose #366 > inl (~.^) c = complex c
00:00:24 verbose #367 >
00:00:24 verbose #368 > inl complex_eq forall t. (a : complex t) (b : complex t) : bool =
00:00:24 verbose #369 > !\($'"!a == !b"')
00:00:24 verbose #370 >
00:00:24 verbose #371 > inl (.=) a b = complex_eq a b
00:00:24 verbose #372 >
00:00:24 verbose #373 > instance equable complex t = complex_eq
00:00:24 verbose #374 >
00:00:24 verbose #375 > inl complex_add forall t. (a : complex t) (b : complex t) : complex t =
00:00:24 verbose #376 > !\($'"!a + !b"')
00:00:24 verbose #377 >
00:00:24 verbose #378 > inl (.+) a b = complex_add a b
00:00:24 verbose #379 >
00:00:24 verbose #380 > inl complex_sub forall t. (a : complex t) (b : complex t) : complex t =
00:00:24 verbose #381 > !\\((a, b), $'"$0 - $1"')
00:00:24 verbose #382 >
00:00:24 verbose #383 > inl (.-) a b = complex_sub a b
00:00:24 verbose #384 >
00:00:24 verbose #385 > inl complex_mult forall t. (a : complex t) (b : complex t) : complex t =
00:00:24 verbose #386 > !\\((a, b), $'"$0 * $1"')
00:00:24 verbose #387 >
00:00:24 verbose #388 > inl (.*) a b = complex_mult a b
00:00:24 verbose #389 >
00:00:24 verbose #390 > inl complex_div forall t. (a : complex t) (b : complex t) : complex t =
00:00:24 verbose #391 > !\($'"!a / !b"')
00:00:24 verbose #392 >
00:00:24 verbose #393 > inl (./) a b = complex_div a b
00:00:24 verbose #394 >
00:00:24 verbose #395 > inl powc forall t. (s : complex t) (c : complex t) : complex t =
00:00:24 verbose #396 > inl c = join c
00:00:24 verbose #397 > inl s = join s
00:00:24 verbose #398 > !\($'"num_complex::Complex::powc(!c, !s)"')
00:00:24 verbose #399 >
00:00:24 verbose #400 > inl (.**) a b = powc b a
00:00:24 verbose #401 >
00:00:24 verbose #402 > inl complex_sin forall t. (c : complex t) : complex t =
00:00:24 verbose #403 > !\($'"!c.sin()"')
00:00:24 verbose #404 >
00:00:24 verbose #405 > inl conj forall t. (c : complex t) : complex t =
00:00:24 verbose #406 > !\($'"!c.conj()"')
00:00:24 verbose #407 > 00:00:23 debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/48fc0854431bbbe1619f81e92d2e8db79cbb241b806c741e82ff6e480617f6c1/main.spi
00:00:24 verbose #408 >
00:00:24 verbose #409 > ╭─[ 651.70ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 verbose #410 > │ () │
00:00:24 verbose #411 > │ │
00:00:24 verbose #412 > │ │
00:00:24 verbose #413 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #414 >
00:00:24 verbose #415 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #416 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #417 > │ ## zeta │
00:00:24 verbose #418 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #419 >
00:00:24 verbose #420 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #421 > inl zeta log (gamma : complex f64 -> complex f64) (s : complex f64) : complex
00:00:24 verbose #422 > f64 =
00:00:24 verbose #423 > inl rec zeta count gamma s =
00:00:24 verbose #424 > if log then
00:00:24 verbose #425 > !\\(s, $'"println\!(\\\"zeta / count: {:?} / s: {:?}\\\", !count,
00:00:24 verbose #426 > $0)"')
00:00:24 verbose #427 > if re s > 1 then
00:00:24 verbose #428 > (.^(0, 0), (am.init 10000i32 id : a i32 _))
00:00:24 verbose #429 > ||> am.fold fun acc n =>
00:00:24 verbose #430 > acc .+ (.^(1, 0) ./ (.^(f64 n, 0) .** s))
00:00:24 verbose #431 > else
00:00:24 verbose #432 > inl gamma_term = gamma (.^(1, 0) .- s)
00:00:24 verbose #433 > inl sin_term = .^(pi, 0) .* s ./ .^(2, 0) |> complex_sin
00:00:24 verbose #434 > inl one_minus_s = .^(1 - re s, -(im s))
00:00:24 verbose #435 > inl mirror_term =
00:00:24 verbose #436 > if re one_minus_s <= 1
00:00:24 verbose #437 > then .^(0, 0)
00:00:24 verbose #438 > else
00:00:24 verbose #439 > if count <= 3
00:00:24 verbose #440 > then zeta (count + 1) gamma one_minus_s
00:00:24 verbose #441 > else one_minus_s
00:00:24 verbose #442 > inl reflection_formula =
00:00:24 verbose #443 > .^(2, 0) .* (.^(pi, 0) .** s) .* sin_term .* gamma_term .*
00:00:24 verbose #444 > mirror_term
00:00:24 verbose #445 > reflection_formula
00:00:24 verbose #446 > join zeta 0i32 gamma s
00:00:25 verbose #447 > 00:00:24 debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7a3a0ec56d3cd5230b8627143cbc41816b108a9c534731a048706b76ed97fdcc/main.spi
00:00:25 verbose #448 >
00:00:25 verbose #449 > ╭─[ 761.83ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 verbose #450 > │ () │
00:00:25 verbose #451 > │ │
00:00:25 verbose #452 > │ │
00:00:25 verbose #453 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #454 >
00:00:25 verbose #455 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #456 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #457 > │ ## eval │
00:00:25 verbose #458 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #459 >
00:00:25 verbose #460 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #461 > inl module_from_code (py : python) (code : string) : _ (bound pymodule) _ =
00:00:25 verbose #462 > inl py = join py
00:00:25 verbose #463 > inl code = code |> sm'.as_str
00:00:25 verbose #464 > !\($'"pyo3::types::PyModule::from_code_bound(!py, !code, \\"\\", \\"\\")"')
00:00:25 verbose #465 > |> resultm.map_error' fun (x : pyerr) => x |> sm'.format'
00:00:25 verbose #466 >
00:00:25 verbose #467 > inl use_pyanymethods () =
00:00:25 verbose #468 > global "Fable.Core.RustInterop.emitRustExpr () \");\nuse
00:00:25 verbose #469 > pyo3::prelude::PyAnyMethods;\n//\""
00:00:25 verbose #470 >
00:00:25 verbose #471 > inl getattr (attr : string) (module : bound pymodule) : _ (bound pyany) _ =
00:00:25 verbose #472 > inl attr = join attr
00:00:25 verbose #473 > inl attr = attr |> sm'.as_str
00:00:25 verbose #474 > inl module = join module
00:00:25 verbose #475 > use_pyanymethods ()
00:00:25 verbose #476 > !\($'"!module.getattr(!attr)"')
00:00:25 verbose #477 > |> resultm.map_error' fun (x : pyerr) => x |> sm'.format'
00:00:25 verbose #478 >
00:00:25 verbose #479 > inl call forall t. (args : t) (module : bound pyany) : _ (bound pyany) _ =
00:00:25 verbose #480 > inl args = join args
00:00:25 verbose #481 > inl module = join module
00:00:25 verbose #482 > !\($'"pyo3::prelude::PyAnyMethods::call(&!module, ((*!args).0, *(*!args).1),
00:00:25 verbose #483 > None)"')
00:00:25 verbose #484 > |> resultm.map_error' fun (x : pyerr) => x |> sm'.format'
00:00:25 verbose #485 >
00:00:25 verbose #486 > inl extract forall t. (result : bound pyany) : _ t _ =
00:00:25 verbose #487 > inl result = join result
00:00:25 verbose #488 > use_pyanymethods ()
00:00:25 verbose #489 > !\($'"!result.extract()"')
00:00:25 verbose #490 > |> resultm.map_error' fun (x : pyerr) => x |> sm'.format'
00:00:25 verbose #491 >
00:00:25 verbose #492 > inl eval py code (args : pair bool (pair f64 f64)) : _ (_ f64) sm'.std_string =
00:00:25 verbose #493 > inl code =
00:00:25 verbose #494 > code
00:00:25 verbose #495 > |> module_from_code py
00:00:25 verbose #496 > |> resultm.unwrap'
00:00:25 verbose #497 > inl fn =
00:00:25 verbose #498 > code
00:00:25 verbose #499 > |> getattr "fn"
00:00:25 verbose #500 > |> resultm.unwrap'
00:00:25 verbose #501 >
00:00:25 verbose #502 > fn
00:00:25 verbose #503 > |> call args
00:00:25 verbose #504 > |> resultm.try'
00:00:25 verbose #505 > |> extract
00:00:25 verbose #506 > |> resultm.try'
00:00:25 verbose #507 > |> complex
00:00:25 verbose #508 > |> Ok
00:00:25 verbose #509 > |> resultm.box
00:00:25 verbose #510 >
00:00:25 verbose #511 > inl call1_ log py s code =
00:00:25 verbose #512 > inl code = join (a code : _ i32 _) |> sm'.concat_array_trailing "\n"
00:00:25 verbose #513 >
00:00:25 verbose #514 > inl s = new_pair (re s) (im s)
00:00:25 verbose #515 > inl args = new_pair log s
00:00:25 verbose #516 >
00:00:25 verbose #517 > eval py code args
00:00:25 verbose #518 >
00:00:25 verbose #519 > inl call1_ log name py s line =
00:00:25 verbose #520 > inl s = join s
00:00:25 verbose #521 > join
00:00:25 verbose #522 > ;[[
00:00:25 verbose #523 > $'$"import sys"'
00:00:25 verbose #524 > $'$"import traceback"'
00:00:25 verbose #525 > $'$"import re"'
00:00:25 verbose #526 > $'$"count = 0"'
00:00:25 verbose #527 > $'$"memory_address_pattern = re.compile(r\' at 0x[[0-9a-fA-F]]+\')"'
00:00:25 verbose #528 > $'$"def trace_calls(frame, event, arg):"'
00:00:25 verbose #529 > $'$" global count"'
00:00:25 verbose #530 > $'$" count += 1"'
00:00:25 verbose #531 > $'$" if count < 200:"'
00:00:25 verbose #532 > $'$" try:"'
00:00:25 verbose #533 > $'$" args = {{ k: v for k, v in frame.f_locals.items() if
00:00:25 verbose #534 > frame.f_code.co_name \!= \'make_mpc\' and k not in [[\'ctx\']] and not
00:00:25 verbose #535 > callable(v) }}"'
00:00:25 verbose #536 > $'$" args_str = \', \'.join([[
00:00:25 verbose #537 > f\\\"{{k}}={{re.sub(memory_address_pattern, \' at 0x<?>\', repr(v))}}\\\" for k,
00:00:25 verbose #538 > v in args.items() ]])"'
00:00:25 verbose #539 > $'$" print(f\\\"{{event}}({!name}) / f_code.co_name:
00:00:25 verbose #540 > {{frame.f_code.co_name}} / f_locals: {{args_str}} / f_lineno: {{frame.f_lineno}}
00:00:25 verbose #541 > / f_code.co_filename:
00:00:25 verbose #542 > {{frame.f_code.co_filename.split(\'site-packages\')[[-1]]}} / f_back.f_lineno:
00:00:25 verbose #543 > {{ \'\' if frame.f_back is None else frame.f_back.f_lineno }}
00:00:25 verbose #544 > f_back.f_code.co_filename: {{ \'\' if frame.f_back is None else
00:00:25 verbose #545 > frame.f_back.f_code.co_filename.split(\'site-packages\')[[-1]] }} / arg:
00:00:25 verbose #546 > {{re.sub(memory_address_pattern, \' at 0x<?>\', repr(arg))}}\\\", flush=True)"'
00:00:25 verbose #547 > $'$" except ValueError as e:"'
00:00:25 verbose #548 > $'$" print(f\'{!name} / e: {{e}}\', flush=True)"'
00:00:25 verbose #549 > $'$" return trace_calls"'
00:00:25 verbose #550 > $'$"import mpmath"'
00:00:25 verbose #551 > $'$"def fn(log, s):"'
00:00:25 verbose #552 > $'$" global count"'
00:00:25 verbose #553 > $'$" if log:"'
00:00:25 verbose #554 > $'$" print(f\'{!name} / s: {{s}} / count: {{count}}\',
00:00:25 verbose #555 > flush=True)"'
00:00:25 verbose #556 > $'$" s = complex(*s)"'
00:00:25 verbose #557 > $'$" try:"'
00:00:25 verbose #558 > $'$" if log: sys.settrace(trace_calls)"'
00:00:25 verbose #559 > line
00:00:25 verbose #560 > $'$" if log:"'
00:00:25 verbose #561 > $'$" sys.settrace(None)"'
00:00:25 verbose #562 > $'$" print(f\'{!name} / result: {{s}} / count:
00:00:25 verbose #563 > {{count}}\', flush=True)"'
00:00:25 verbose #564 > $'$" except ValueError as e:"'
00:00:25 verbose #565 > $'$" if s.real == 1:"'
00:00:25 verbose #566 > $'$" s = complex(float(\'inf\'), 0)"'
00:00:25 verbose #567 > $'$" return (s.real, s.imag)"'
00:00:25 verbose #568 > ]]
00:00:25 verbose #569 > |> call1_ log py s
00:00:25 verbose #570 >
00:00:25 verbose #571 > inl gamma_ log py s =
00:00:25 verbose #572 > call1_ log "gamma_" py s $'$" s = mpmath.gamma(s)"'
00:00:25 verbose #573 >
00:00:25 verbose #574 > inl zeta_ log py s =
00:00:25 verbose #575 > call1_ log "zeta_" py s $'$" s = mpmath.zeta(s)"'
00:00:25 verbose #576 > 00:00:24 debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/eb42a1a47570e56225a2108efc7aed345124a54ac6231a731e4b87f032060fdb/main.spi
00:00:26 verbose #577 >
00:00:26 verbose #578 > ╭─[ 605.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 verbose #579 > │ () │
00:00:26 verbose #580 > │ │
00:00:26 verbose #581 > │ │
00:00:26 verbose #582 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #583 >
00:00:26 verbose #584 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 verbose #585 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 verbose #586 > │ ## run_test │
00:00:26 verbose #587 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #588 >
00:00:26 verbose #589 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 verbose #590 > inl run_test log closure_fix (fn : (complex f64 -> complex f64) * (complex f64
00:00:26 verbose #591 > -> complex f64) -> ()) =
00:00:26 verbose #592 > inl fn_ (py : python) : resultm.result' () pyerr =
00:00:26 verbose #593 > inl nan () =
00:00:26 verbose #594 > !\($'"f64::NAN"')
00:00:26 verbose #595 > inl gamma__ = fun (s : complex f64) =>
00:00:26 verbose #596 > inl result = gamma_ log py s
00:00:26 verbose #597 > if log then
00:00:26 verbose #598 > inl s = join s
00:00:26 verbose #599 > !\($'"println\!(\\\"gamma__ / s: {:?} / result: {:?}\\\", !s,
00:00:26 verbose #600 > !result)"')
00:00:26 verbose #601 > result |> resultm.ok' |> optionm'.unbox |> optionm'.default_value
00:00:26 verbose #602 > .^(nan (), nan ())
00:00:26 verbose #603 > inl zeta__ = fun (s : complex f64) =>
00:00:26 verbose #604 > inl result = zeta_ log py s
00:00:26 verbose #605 >
00:00:26 verbose #606 > inl z = zeta true gamma__ s
00:00:26 verbose #607 >
00:00:26 verbose #608 > if log then
00:00:26 verbose #609 > inl s = join s
00:00:26 verbose #610 > !\($'"println\!(\\\"zeta__ / s: {:?} / result: {:?} / z:
00:00:26 verbose #611 > {:?}\\\", !s, !result, !z)"')
00:00:26 verbose #612 >
00:00:26 verbose #613 > // re result - re x |> abs
00:00:26 verbose #614 > // |> _assert_lt 0.001
00:00:26 verbose #615 >
00:00:26 verbose #616 > // im result - im x |> abs
00:00:26 verbose #617 > // |> _assert_lt 0.001
00:00:26 verbose #618 >
00:00:26 verbose #619 > result |> resultm.ok' |> optionm'.unbox |> optionm'.default_value
00:00:26 verbose #620 > .^(nan (), nan ())
00:00:26 verbose #621 > join fn (zeta__, gamma__)
00:00:26 verbose #622 >
00:00:26 verbose #623 > Ok ()
00:00:26 verbose #624 > |> resultm.box
00:00:26 verbose #625 >
00:00:26 verbose #626 > join
00:00:26 verbose #627 > !\($'"pyo3::prepare_freethreaded_python()"') : ()
00:00:26 verbose #628 >
00:00:26 verbose #629 > !\($'"let __result = pyo3::Python::with_gil(|py| -> pyo3::PyResult<()> {
00:00:26 verbose #630 > //"')
00:00:26 verbose #631 >
00:00:26 verbose #632 > let x' = fn_ (!\($'"py"') : python)
00:00:26 verbose #633 > inl x' = join x'
00:00:26 verbose #634 >
00:00:26 verbose #635 > inl closure_fix = 2u8, 1u8
00:00:26 verbose #636 > x' |> rust.fix_closure closure_fix
00:00:26 verbose #637 >
00:00:26 verbose #638 > (!\($'"__result"') : _ () pyerr)
00:00:26 verbose #639 > |> resultm.unwrap'
00:00:26 verbose #640 > 00:00:25 debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f550588b81653c10bbe93e8fe741a12472944506cae9bdef5302417e4e48acf0/main.spi
00:00:26 verbose #641 >
00:00:26 verbose #642 > ╭─[ 676.61ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 verbose #643 > │ () │
00:00:26 verbose #644 > │ │
00:00:26 verbose #645 > │ │
00:00:26 verbose #646 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #647 >
00:00:26 verbose #648 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 verbose #649 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 verbose #650 > │ ## test_zeta_at_known_values_ │
00:00:26 verbose #651 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #652 >
00:00:26 verbose #653 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 verbose #654 > inl test_zeta_at_known_values_ log = run_test log (3u8, 2u8) fun zeta, gamma =>
00:00:26 verbose #655 > ;[[
00:00:26 verbose #656 > .^(2, 0), pi ** 2 / 6
00:00:26 verbose #657 > .^(-1, 0), -1 / 12
00:00:26 verbose #658 > ]]
00:00:26 verbose #659 > |> fun x => a x : _ i32 _
00:00:26 verbose #660 > |> am.iter fun s, e =>
00:00:26 verbose #661 > inl result = zeta s
00:00:26 verbose #662 >
00:00:26 verbose #663 > result |> im |> _assert_eq 0
00:00:26 verbose #664 > re result - e |> abs |> _assert_lt 0.0001
00:00:27 verbose #665 > 00:00:26 debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b58c9b31e2817b7c658009b635ef9305383c082500e54840158ce25068f93d4b/main.spi
00:00:27 verbose #666 >
00:00:27 verbose #667 > ╭─[ 624.03ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 verbose #668 > │ () │
00:00:27 verbose #669 > │ │
00:00:27 verbose #670 > │ │
00:00:27 verbose #671 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #672 >
00:00:27 verbose #673 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 verbose #674 > //// test
00:00:27 verbose #675 > //// print_code=false
00:00:27 verbose #676 > ///! rust
00:00:27 verbose #677 >
00:00:27 verbose #678 > types ()
00:00:27 verbose #679 > test_zeta_at_known_values_ true
00:00:27 verbose #680 > 00:00:26 debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e0c1a8b54b8a6edc0bf2b491157f6707db8461bfc343a42eafe3707bc225f65d/main.spi
00:00:38 verbose #681 >
00:00:38 verbose #682 > ╭─[ 10.81s - return value ]────────────────────────────────────────────────────╮
00:00:38 verbose #683 > │ zeta_ / s: (2.0, 0.0) / count: 0 │
00:00:38 verbose #684 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:00:38 verbose #685 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:00:38 verbose #686 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:38 verbose #687 > │ / arg: None │
00:00:38 verbose #688 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:00:38 verbose #689 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:00:38 verbose #690 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:38 verbose #691 > │ / arg: None │
00:00:38 verbose #692 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:00:38 verbose #693 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:00:38 verbose #694 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:38 verbose #695 > │ / arg: None │
00:00:38 verbose #696 > │ line(zeta_) / f_code.co_name: z... │
00:00:38 verbose #697 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #698 >
00:00:38 verbose #699 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #700 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #701 > │ ## test_zeta_at_2_minus2 │
00:00:38 verbose #702 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #703 >
00:00:38 verbose #704 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #705 > inl test_zeta_at_2_minus2 log = run_test log (6u8, 5u8) fun zeta, gamma =>
00:00:38 verbose #706 > inl s = .^(2, -2)
00:00:38 verbose #707 > inl result = zeta s
00:00:38 verbose #708 >
00:00:38 verbose #709 > (re result - 0.8673) |> abs |> _assert_lt 0.001
00:00:38 verbose #710 > (im result - 0.2750) |> abs |> _assert_lt 0.001
00:00:38 verbose #711 > 00:00:37 debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/962e556eb1707b7171bb98de7ce2d4eec7d10979ad740373d10a4377f704c17d/main.spi
00:00:38 verbose #712 >
00:00:38 verbose #713 > ╭─[ 629.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:38 verbose #714 > │ () │
00:00:38 verbose #715 > │ │
00:00:38 verbose #716 > │ │
00:00:38 verbose #717 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #718 >
00:00:38 verbose #719 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #720 > //// test
00:00:38 verbose #721 > //// print_code=false
00:00:38 verbose #722 > ///! rust
00:00:38 verbose #723 >
00:00:38 verbose #724 > types ()
00:00:38 verbose #725 > test_zeta_at_2_minus2 true
00:00:39 verbose #726 > 00:00:38 debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e07bb0435263692006ae3717d3aa8001245300a4e1b73aa15c8229267b05ece4/main.spi
00:00:49 verbose #727 >
00:00:49 verbose #728 > ╭─[ 10.90s - return value ]────────────────────────────────────────────────────╮
00:00:49 verbose #729 > │ zeta_ / s: (2.0, -2.0) / count: 0 │
00:00:49 verbose #730 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0, │
00:00:49 verbose #731 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:00:49 verbose #732 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:49 verbose #733 > │ / arg: None │
00:00:49 verbose #734 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0, │
00:00:49 verbose #735 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:00:49 verbose #736 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:49 verbose #737 > │ / arg: None │
00:00:49 verbose #738 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2-2j), a=1, derivative=0, │
00:00:49 verbose #739 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:00:49 verbose #740 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:00:49 verbose #741 > │ / arg: None │
00:00:49 verbose #742 > │ line(zeta_) / f_code.co_name: ... │
00:00:49 verbose #743 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:49 verbose #744 >
00:00:49 verbose #745 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:49 verbose #746 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:49 verbose #747 > │ ## test_trivial_zero_at_negative_even___ │
00:00:49 verbose #748 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:49 verbose #749 >
00:00:49 verbose #750 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:49 verbose #751 > inl test_trivial_zero_at_negative_even___ log = run_test log (2u8, 1u8) fun
00:00:49 verbose #752 > zeta, gamma =>
00:00:49 verbose #753 > (join listm'.init_series -2f64 -40 -2)
00:00:49 verbose #754 > |> listm.iter fun n =>
00:00:49 verbose #755 > inl s = .^(n, 0)
00:00:49 verbose #756 > inl result = zeta s
00:00:49 verbose #757 >
00:00:49 verbose #758 > result |> re |> _assert_eq 0
00:00:49 verbose #759 > result |> im |> _assert_eq 0
00:00:50 verbose #760 > 00:00:49 debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f6cf383f087fa81fbf4f0902b61176a2555f456b82a9a2dedcee38e7b5db6d38/main.spi
00:00:50 verbose #761 >
00:00:50 verbose #762 > ╭─[ 637.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:50 verbose #763 > │ () │
00:00:50 verbose #764 > │ │
00:00:50 verbose #765 > │ │
00:00:50 verbose #766 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:50 verbose #767 >
00:00:50 verbose #768 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:50 verbose #769 > //// test
00:00:50 verbose #770 > //// print_code=false
00:00:50 verbose #771 > ///! rust
00:00:50 verbose #772 >
00:00:50 verbose #773 > types ()
00:00:50 verbose #774 > test_trivial_zero_at_negative_even___ true
00:00:50 verbose #775 > 00:00:49 debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dc410cd19e33bd58499a91820ae2479d458c5a1a6e0abb7c7c9f5d7136f26a8a/main.spi
00:01:01 verbose #776 >
00:01:01 verbose #777 > ╭─[ 10.76s - return value ]────────────────────────────────────────────────────╮
00:01:01 verbose #778 > │ zeta_ / s: (-2.0, 0.0) / count: 0 │
00:01:01 verbose #779 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:01 verbose #780 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:01:01 verbose #781 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:01 verbose #782 > │ / arg: None │
00:01:01 verbose #783 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:01 verbose #784 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:01:01 verbose #785 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:01 verbose #786 > │ / arg: None │
00:01:01 verbose #787 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(-2+0j), a=1, derivative=0, │
00:01:01 verbose #788 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:01:01 verbose #789 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:01 verbose #790 > │ / arg: None │
00:01:01 verbose #791 > │ line(zeta_) / f_code.co_nam... │
00:01:01 verbose #792 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:01 verbose #793 >
00:01:01 verbose #794 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:01 verbose #795 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:01 verbose #796 > │ ## test_non_trivial_zero___ │
00:01:01 verbose #797 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:01 verbose #798 >
00:01:01 verbose #799 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:01 verbose #800 > inl test_non_trivial_zero___ log = run_test log (3u8, 2u8) fun zeta, gamma =>
00:01:01 verbose #801 > ;[[
00:01:01 verbose #802 > .^(0.5, 14.134725)
00:01:01 verbose #803 > .^(0.5, 21.022040)
00:01:01 verbose #804 > .^(0.5, 25.010857)
00:01:01 verbose #805 > .^(0.5, 30.424876)
00:01:01 verbose #806 > .^(0.5, 32.935062)
00:01:01 verbose #807 > .^(0.5, 37.586178)
00:01:01 verbose #808 > ]]
00:01:01 verbose #809 > |> fun x => a x : _ i32 _
00:01:01 verbose #810 > |> am.iter fun x =>
00:01:01 verbose #811 > inl result = zeta x
00:01:01 verbose #812 > result |> re |> abs |> _assert_lt 0.0001
00:01:01 verbose #813 > result |> im |> abs |> _assert_lt 0.0001
00:01:01 verbose #814 > 00:01:00 debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/be9dbe4e4898c2bbde36170f1f598c41d765448e7244e75b15eabc1ae5c1d7bf/main.spi
00:01:01 verbose #815 >
00:01:01 verbose #816 > ╭─[ 692.83ms - stdout ]────────────────────────────────────────────────────────╮
00:01:01 verbose #817 > │ () │
00:01:01 verbose #818 > │ │
00:01:01 verbose #819 > │ │
00:01:01 verbose #820 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:01 verbose #821 >
00:01:01 verbose #822 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:01 verbose #823 > //// test
00:01:01 verbose #824 > //// print_code=false
00:01:01 verbose #825 > ///! rust
00:01:01 verbose #826 >
00:01:01 verbose #827 > types ()
00:01:01 verbose #828 > test_non_trivial_zero___ true
00:01:02 verbose #829 > 00:01:01 debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6fb96952d1144eaa4c00d7c499a6fc2305b364062612773965b00baeb4c3f964/main.spi
00:01:11 verbose #830 >
00:01:11 verbose #831 > ╭─[ 10.16s - return value ]────────────────────────────────────────────────────╮
00:01:11 verbose #832 > │ zeta_ / s: (0.5, 14.134725) / count: 0 │
00:01:11 verbose #833 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1, │
00:01:11 verbose #834 > │ derivative=0, method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:01:11 verbose #835 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:11 verbose #836 > │ / arg: None │
00:01:11 verbose #837 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1, │
00:01:11 verbose #838 > │ derivative=0, method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:01:11 verbose #839 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:11 verbose #840 > │ / arg: None │
00:01:11 verbose #841 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1, │
00:01:11 verbose #842 > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 533 / │
00:01:11 verbose #843 > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 / │
00:01:11 verbose #844 > │ f_back.f_code.co_filename: / arg: ... │
00:01:11 verbose #845 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:11 verbose #846 >
00:01:11 verbose #847 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:11 verbose #848 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:11 verbose #849 > │ ## test_real_part_greater_than_one___ │
00:01:11 verbose #850 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:11 verbose #851 >
00:01:11 verbose #852 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:11 verbose #853 > inl test_real_part_greater_than_one___ log = run_test log (3u8, 2u8) fun zeta,
00:01:11 verbose #854 > gamma =>
00:01:11 verbose #855 > inl points = ;[[2; 3; 4; 5; 10; 20; 50]]
00:01:11 verbose #856 > (a points : _ i32 _)
00:01:11 verbose #857 > |> am.iter fun point =>
00:01:11 verbose #858 > inl s = .^(point, 0)
00:01:11 verbose #859 > inl result = zeta s
00:01:11 verbose #860 > result |> re |> _assert_gt 0
00:01:11 verbose #861 > result |> im |> _assert_eq 0
00:01:12 verbose #862 > 00:01:11 debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f158070760ff074ad6ec3d77343ffc1205f2c603f77a644fc2a6dcb6d7e066ab/main.spi
00:01:12 verbose #863 >
00:01:12 verbose #864 > ╭─[ 676.14ms - stdout ]────────────────────────────────────────────────────────╮
00:01:12 verbose #865 > │ () │
00:01:12 verbose #866 > │ │
00:01:12 verbose #867 > │ │
00:01:12 verbose #868 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:12 verbose #869 >
00:01:12 verbose #870 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:12 verbose #871 > //// test
00:01:12 verbose #872 > //// print_code=false
00:01:12 verbose #873 > ///! rust
00:01:12 verbose #874 >
00:01:12 verbose #875 > types ()
00:01:12 verbose #876 > test_real_part_greater_than_one___ true
00:01:13 verbose #877 > 00:01:12 debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fecabf56dd64baf40d058611c868d20bbfaba8452171267e17a908314bc69e14/main.spi
00:01:23 verbose #878 >
00:01:23 verbose #879 > ╭─[ 10.44s - return value ]────────────────────────────────────────────────────╮
00:01:23 verbose #880 > │ zeta_ / s: (2.0, 0.0) / count: 0 │
00:01:23 verbose #881 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:01:23 verbose #882 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:01:23 verbose #883 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:23 verbose #884 > │ / arg: None │
00:01:23 verbose #885 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:01:23 verbose #886 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:01:23 verbose #887 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:23 verbose #888 > │ / arg: None │
00:01:23 verbose #889 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:01:23 verbose #890 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:01:23 verbose #891 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:23 verbose #892 > │ / arg: None │
00:01:23 verbose #893 > │ line(zeta_) / f_code.co_name: z... │
00:01:23 verbose #894 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:23 verbose #895 >
00:01:23 verbose #896 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:23 verbose #897 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:23 verbose #898 > │ ## test_zeta_at_1___ │
00:01:23 verbose #899 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:23 verbose #900 >
00:01:23 verbose #901 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:23 verbose #902 > inl test_zeta_at_1___ log = run_test log (6u8, 5u8) fun zeta, gamma =>
00:01:23 verbose #903 > inl s = .^(1, 0)
00:01:23 verbose #904 > inl result = zeta s
00:01:23 verbose #905 > result |> re |> _assert_eq limit.max
00:01:23 verbose #906 > result |> im |> _assert_eq 0
00:01:23 verbose #907 > 00:01:22 debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/792c2a240bc1c2532f359603ea85d3749d166683b96d6fd66b5a6f4fa919adac/main.spi
00:01:23 verbose #908 >
00:01:23 verbose #909 > ╭─[ 641.05ms - stdout ]────────────────────────────────────────────────────────╮
00:01:23 verbose #910 > │ () │
00:01:23 verbose #911 > │ │
00:01:23 verbose #912 > │ │
00:01:23 verbose #913 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:23 verbose #914 >
00:01:23 verbose #915 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:23 verbose #916 > //// test
00:01:23 verbose #917 > //// print_code=false
00:01:23 verbose #918 > ///! rust
00:01:23 verbose #919 >
00:01:23 verbose #920 > types ()
00:01:23 verbose #921 > test_zeta_at_1___ true
00:01:24 verbose #922 > 00:01:23 debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/972dbc520f945d3d365b7374855fd03f7523f7ff309b891f49df4e53ae95f67d/main.spi
00:01:33 verbose #923 >
00:01:33 verbose #924 > ╭─[ 9.74s - return value ]─────────────────────────────────────────────────────╮
00:01:33 verbose #925 > │ zeta_ / s: (1.0, 0.0) / count: 0 │
00:01:33 verbose #926 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0, │
00:01:33 verbose #927 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:01:33 verbose #928 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:33 verbose #929 > │ / arg: None │
00:01:33 verbose #930 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0, │
00:01:33 verbose #931 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:01:33 verbose #932 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:33 verbose #933 > │ / arg: None │
00:01:33 verbose #934 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(1+0j), a=1, derivative=0, │
00:01:33 verbose #935 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:01:33 verbose #936 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:33 verbose #937 > │ / arg: None │
00:01:33 verbose #938 > │ line(zeta_) / f_code.co_name: z... │
00:01:33 verbose #939 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #940 >
00:01:33 verbose #941 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:33 verbose #942 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:33 verbose #943 > │ ## test_symmetry_across_real_axis___ │
00:01:33 verbose #944 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #945 >
00:01:33 verbose #946 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #947 > inl test_symmetry_across_real_axis___ log = run_test log (8u8, 7u8) fun zeta,
00:01:33 verbose #948 > gamma =>
00:01:33 verbose #949 > inl s = .^(2, 10)
00:01:33 verbose #950 > inl result_positive_im = zeta s
00:01:33 verbose #951 > inl result_negative_im = zeta .^(re s, -(im s))
00:01:33 verbose #952 > inl conj = result_negative_im |> conj
00:01:33 verbose #953 > result_positive_im |> re |> _assert_eq (conj |> re)
00:01:33 verbose #954 > result_positive_im |> im |> _assert_eq (conj |> im)
00:01:34 verbose #955 > 00:01:32 debug #25 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f5fdac3e8d402287bf38c0eab063a381d43713e08f6cc8d50beeef87538c36bd/main.spi
00:01:34 verbose #956 >
00:01:34 verbose #957 > ╭─[ 642.98ms - stdout ]────────────────────────────────────────────────────────╮
00:01:34 verbose #958 > │ () │
00:01:34 verbose #959 > │ │
00:01:34 verbose #960 > │ │
00:01:34 verbose #961 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:34 verbose #962 >
00:01:34 verbose #963 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:34 verbose #964 > //// test
00:01:34 verbose #965 > //// print_code=false
00:01:34 verbose #966 > ///! rust
00:01:34 verbose #967 >
00:01:34 verbose #968 > types ()
00:01:34 verbose #969 > test_symmetry_across_real_axis___ true
00:01:34 verbose #970 > 00:01:33 debug #26 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0c416c2c5f6f65d6685c3b0402891d729cbd80dad5a96b970c42630b611d8ecc/main.spi
00:01:44 verbose #971 >
00:01:44 verbose #972 > ╭─[ 10.42s - return value ]────────────────────────────────────────────────────╮
00:01:44 verbose #973 > │ zeta_ / s: (2.0, 10.0) / count: 0 │
00:01:44 verbose #974 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:44 verbose #975 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:01:44 verbose #976 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:44 verbose #977 > │ / arg: None │
00:01:44 verbose #978 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:44 verbose #979 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:01:44 verbose #980 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:44 verbose #981 > │ / arg: None │
00:01:44 verbose #982 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+10j), a=1, derivative=0, │
00:01:44 verbose #983 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:01:44 verbose #984 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:44 verbose #985 > │ / arg: None │
00:01:44 verbose #986 > │ line(zeta_) / f_code.co_nam... │
00:01:44 verbose #987 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #988 >
00:01:44 verbose #989 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:44 verbose #990 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:44 verbose #991 > │ ## test_behavior_near_origin___ │
00:01:44 verbose #992 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #993 >
00:01:44 verbose #994 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:44 verbose #995 > inl test_behavior_near_origin___ log = run_test log (6u8, 5u8) fun zeta, gamma
00:01:44 verbose #996 > =>
00:01:44 verbose #997 > inl s = .^(0.01, 0.01)
00:01:44 verbose #998 > inl result = zeta s
00:01:44 verbose #999 > result |> re |> _assert_lt limit.max
00:01:44 verbose #1000 > result |> im |> _assert_lt limit.max
00:01:45 verbose #1001 > 00:01:44 debug #27 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5492056a0589d56de97e2a83ab285097877d8d18d8f3b70eacbe77deb7869847/main.spi
00:01:45 verbose #1002 >
00:01:45 verbose #1003 > ╭─[ 652.80ms - stdout ]────────────────────────────────────────────────────────╮
00:01:45 verbose #1004 > │ () │
00:01:45 verbose #1005 > │ │
00:01:45 verbose #1006 > │ │
00:01:45 verbose #1007 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:45 verbose #1008 >
00:01:45 verbose #1009 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:45 verbose #1010 > //// test
00:01:45 verbose #1011 > //// print_code=false
00:01:45 verbose #1012 > ///! rust
00:01:45 verbose #1013 >
00:01:45 verbose #1014 > types ()
00:01:45 verbose #1015 > test_behavior_near_origin___ true
00:01:45 verbose #1016 > 00:01:44 debug #28 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ab13e6dd07f4c603a758157705becbce303e8dc7bcf4236bfdd7c0f6c14fbdf5/main.spi
00:01:55 verbose #1017 >
00:01:55 verbose #1018 > ╭─[ 10.14s - return value ]────────────────────────────────────────────────────╮
00:01:55 verbose #1019 > │ zeta_ / s: (0.01, 0.01) / count: 0 │
00:01:55 verbose #1020 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1, │
00:01:55 verbose #1021 > │ derivative=0, method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:01:55 verbose #1022 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:55 verbose #1023 > │ / arg: None │
00:01:55 verbose #1024 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1, │
00:01:55 verbose #1025 > │ derivative=0, method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:01:55 verbose #1026 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:01:55 verbose #1027 > │ / arg: None │
00:01:55 verbose #1028 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.01+0.01j), a=1, │
00:01:55 verbose #1029 > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 533 / │
00:01:55 verbose #1030 > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 / │
00:01:55 verbose #1031 > │ f_back.f_code.co_filename: / arg: None │
00:01:55 verbose #1032 > │ line(zeta_)... │
00:01:55 verbose #1033 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #1034 >
00:01:55 verbose #1035 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:55 verbose #1036 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:55 verbose #1037 > │ ## test_imaginary_axis │
00:01:55 verbose #1038 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #1039 >
00:01:55 verbose #1040 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:55 verbose #1041 > inl test_imaginary_axis log = run_test log (3u8, 2u8) fun zeta, gamma =>
00:01:55 verbose #1042 > (join a ;[[10; 20; 30; 40; 50; 60; 70; 80; 90; 100]] : _ i32 _)
00:01:55 verbose #1043 > |> am.iter fun s =>
00:01:55 verbose #1044 > inl s = .^(0, s)
00:01:55 verbose #1045 > inl result = zeta s
00:01:55 verbose #1046 > result |> re |> _assert_ne 0
00:01:55 verbose #1047 > result |> im |> _assert_ne 0
00:01:55 verbose #1048 > 00:01:54 debug #29 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9703f2547d16f4a6a3ee781b8a695d459d7d8c78a7bd91af411a223fa42e4157/main.spi
00:01:56 verbose #1049 >
00:01:56 verbose #1050 > ╭─[ 688.63ms - stdout ]────────────────────────────────────────────────────────╮
00:01:56 verbose #1051 > │ () │
00:01:56 verbose #1052 > │ │
00:01:56 verbose #1053 > │ │
00:01:56 verbose #1054 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:56 verbose #1055 >
00:01:56 verbose #1056 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:56 verbose #1057 > //// test
00:01:56 verbose #1058 > //// print_code=false
00:01:56 verbose #1059 > ///! rust
00:01:56 verbose #1060 >
00:01:56 verbose #1061 > types ()
00:01:56 verbose #1062 > test_imaginary_axis true
00:01:56 verbose #1063 > 00:01:55 debug #30 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/53abef20013967afe658ff1d922cd321ec0c697bbf0aeb1aef1e76c19de22709/main.spi
00:02:06 verbose #1064 >
00:02:06 verbose #1065 > ╭─[ 10.41s - return value ]────────────────────────────────────────────────────╮
00:02:06 verbose #1066 > │ zeta_ / s: (0.0, 10.0) / count: 0 │
00:02:06 verbose #1067 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0, │
00:02:06 verbose #1068 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:02:06 verbose #1069 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:06 verbose #1070 > │ / arg: None │
00:02:06 verbose #1071 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0, │
00:02:06 verbose #1072 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:02:06 verbose #1073 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:06 verbose #1074 > │ / arg: None │
00:02:06 verbose #1075 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=10j, a=1, derivative=0, │
00:02:06 verbose #1076 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:02:06 verbose #1077 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:06 verbose #1078 > │ / arg: None │
00:02:06 verbose #1079 > │ line(zeta_) / f_code.co_name: zeta / f_... │
00:02:06 verbose #1080 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:06 verbose #1081 >
00:02:06 verbose #1082 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:06 verbose #1083 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:06 verbose #1084 > │ ## test_critical_strip │
00:02:06 verbose #1085 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:06 verbose #1086 >
00:02:06 verbose #1087 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:06 verbose #1088 > inl test_critical_strip log = run_test log (3u8, 2u8) fun zeta, gamma =>
00:02:06 verbose #1089 > ;[[
00:02:06 verbose #1090 > .^(0.5, 14.134725)
00:02:06 verbose #1091 > .^(0.75, 20.5)
00:02:06 verbose #1092 > .^(1.25, 30.1)
00:02:06 verbose #1093 > .^(0.25, 40.0)
00:02:06 verbose #1094 > .^(1.0, 50.0)
00:02:06 verbose #1095 > ]]
00:02:06 verbose #1096 > |> fun x => a x : _ i32 _
00:02:06 verbose #1097 > |> am.iter fun s =>
00:02:06 verbose #1098 > inl result = zeta s
00:02:06 verbose #1099 > result |> re |> _assert_ne 0
00:02:06 verbose #1100 > result |> im |> _assert_ne 0
00:02:07 verbose #1101 > 00:02:05 debug #31 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0b8bfe2e38fe5b88c8e189e3667287c910be32f600f30b4dff398ff6e02a1c15/main.spi
00:02:07 verbose #1102 >
00:02:07 verbose #1103 > ╭─[ 690.26ms - stdout ]────────────────────────────────────────────────────────╮
00:02:07 verbose #1104 > │ () │
00:02:07 verbose #1105 > │ │
00:02:07 verbose #1106 > │ │
00:02:07 verbose #1107 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:07 verbose #1108 >
00:02:07 verbose #1109 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:07 verbose #1110 > //// test
00:02:07 verbose #1111 > //// print_code=false
00:02:07 verbose #1112 > ///! rust
00:02:07 verbose #1113 >
00:02:07 verbose #1114 > types ()
00:02:07 verbose #1115 > test_critical_strip true
00:02:07 verbose #1116 > 00:02:06 debug #32 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6eedd0041b19e0ce4e172c03a5dbfe29366fa0500d5ec665f7619dcd49d9ca9e/main.spi
00:02:17 verbose #1117 >
00:02:17 verbose #1118 > ╭─[ 10.17s - return value ]────────────────────────────────────────────────────╮
00:02:17 verbose #1119 > │ zeta_ / s: (0.5, 14.134725) / count: 0 │
00:02:17 verbose #1120 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1, │
00:02:17 verbose #1121 > │ derivative=0, method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:02:17 verbose #1122 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:17 verbose #1123 > │ / arg: None │
00:02:17 verbose #1124 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1, │
00:02:17 verbose #1125 > │ derivative=0, method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:02:17 verbose #1126 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:17 verbose #1127 > │ / arg: None │
00:02:17 verbose #1128 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(0.5+14.134725j), a=1, │
00:02:17 verbose #1129 > │ derivative=0, method=None, kwargs={}, d=0 / f_lineno: 533 / │
00:02:17 verbose #1130 > │ f_code.co_filename: \mpmath\functions\zeta.py / f_back.f_lineno: 25 / │
00:02:17 verbose #1131 > │ f_back.f_code.co_filename: / arg: ... │
00:02:17 verbose #1132 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #1133 >
00:02:17 verbose #1134 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:17 verbose #1135 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:17 verbose #1136 > │ ## test_reflection_formula_for_specific_value │
00:02:17 verbose #1137 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:17 verbose #1138 >
00:02:17 verbose #1139 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:17 verbose #1140 > inl test_reflection_formula_for_specific_value log = run_test log (3u8, 2u8) fun
00:02:17 verbose #1141 > zeta, gamma =>
00:02:17 verbose #1142 > ;[[
00:02:17 verbose #1143 > .^(3, 4)
00:02:17 verbose #1144 > .^(2.5, -3.5)
00:02:17 verbose #1145 > .^(1.5, 2.5)
00:02:17 verbose #1146 > .^(0.5, 14.134725)
00:02:17 verbose #1147 > ]]
00:02:17 verbose #1148 > |> fun x => a x : _ i32 _
00:02:17 verbose #1149 > |> am.iter fun s =>
00:02:17 verbose #1150 > inl lhs = zeta s
00:02:17 verbose #1151 > inl reflection_coefficient =
00:02:17 verbose #1152 > (.^(2, 0) .** s)
00:02:17 verbose #1153 > .* (.^(pi, 0) .** (s .- .^(1, 0)))
00:02:17 verbose #1154 > .* (.^(pi, 0) .* s ./ .^(2, 0) |> complex_sin)
00:02:17 verbose #1155 > .* gamma (.^(1, 0) .- s)
00:02:17 verbose #1156 >
00:02:17 verbose #1157 > inl one_minus_s = .^(1 - re s, -(im s))
00:02:17 verbose #1158 > inl rhs = reflection_coefficient .* zeta one_minus_s
00:02:17 verbose #1159 >
00:02:17 verbose #1160 > re lhs - re rhs |> abs |> _assert_lt 0.0001
00:02:17 verbose #1161 > im lhs - im rhs |> abs |> _assert_lt 0.0001
00:02:17 verbose #1162 > 00:02:16 debug #33 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e6a3af66e4f74410970cb0cdd0a6a1daa72206768e82cd2a5f4b60b6f0913ed2/main.spi
00:02:18 verbose #1163 >
00:02:18 verbose #1164 > ╭─[ 671.29ms - stdout ]────────────────────────────────────────────────────────╮
00:02:18 verbose #1165 > │ () │
00:02:18 verbose #1166 > │ │
00:02:18 verbose #1167 > │ │
00:02:18 verbose #1168 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:18 verbose #1169 >
00:02:18 verbose #1170 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:18 verbose #1171 > //// test
00:02:18 verbose #1172 > //// print_code=false
00:02:18 verbose #1173 > ///! rust
00:02:18 verbose #1174 >
00:02:18 verbose #1175 > types ()
00:02:18 verbose #1176 > test_reflection_formula_for_specific_value true
00:02:18 verbose #1177 > 00:02:17 debug #34 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/57f572fa4b3a87a39d8bb6cb92867f5a381b49ece7d479a47ecd52c1c92e02f3/main.spi
00:02:28 verbose #1178 >
00:02:28 verbose #1179 > ╭─[ 10.22s - return value ]────────────────────────────────────────────────────╮
00:02:28 verbose #1180 > │ zeta_ / s: (3.0, 4.0) / count: 0 │
00:02:28 verbose #1181 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0, │
00:02:28 verbose #1182 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:02:28 verbose #1183 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:28 verbose #1184 > │ / arg: None │
00:02:28 verbose #1185 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0, │
00:02:28 verbose #1186 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:02:28 verbose #1187 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:28 verbose #1188 > │ / arg: None │
00:02:28 verbose #1189 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(3+4j), a=1, derivative=0, │
00:02:28 verbose #1190 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:02:28 verbose #1191 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:28 verbose #1192 > │ / arg: None │
00:02:28 verbose #1193 > │ line(zeta_) / f_code.co_name: z... │
00:02:28 verbose #1194 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:28 verbose #1195 >
00:02:28 verbose #1196 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:28 verbose #1197 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:28 verbose #1198 > │ ## test_euler_product_formula │
00:02:28 verbose #1199 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:28 verbose #1200 >
00:02:28 verbose #1201 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:28 verbose #1202 > inl test_euler_product_formula log = run_test log (3u8, 2u8) fun zeta, gamma =>
00:02:28 verbose #1203 > inl s_values = ;[[2; 2.5; 3; 3.5; 4; 4.5; 5]]
00:02:28 verbose #1204 > inl primes = ;[[2; 3; 5; 7; 11; 13; 17; 19; 23; 29; 31; 37; 41; 43; 47; 53;
00:02:28 verbose #1205 > 59; 61; 67; 71]]
00:02:28 verbose #1206 > (a s_values : _ i32 _)
00:02:28 verbose #1207 > |> am.iter fun s_re =>
00:02:28 verbose #1208 > inl s = .^(s_re, 0)
00:02:28 verbose #1209 > inl product =
00:02:28 verbose #1210 > (1, (a primes : _ i32 _))
00:02:28 verbose #1211 > ||> am.fold fun acc x =>
00:02:28 verbose #1212 > acc * 1 / (1 - x ** -s_re)
00:02:28 verbose #1213 >
00:02:28 verbose #1214 > inl result = zeta s
00:02:28 verbose #1215 > re result - product |> abs |> _assert_lt 0.01
00:02:28 verbose #1216 > result |> im |> _assert_lt 0.01
00:02:28 verbose #1217 > 00:02:27 debug #35 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e6841789a9542a78b278d73f7ebdcde0529641fa547720870feb94231db657cd/main.spi
00:02:28 verbose #1218 >
00:02:28 verbose #1219 > ╭─[ 618.05ms - stdout ]────────────────────────────────────────────────────────╮
00:02:28 verbose #1220 > │ () │
00:02:28 verbose #1221 > │ │
00:02:28 verbose #1222 > │ │
00:02:28 verbose #1223 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:28 verbose #1224 >
00:02:28 verbose #1225 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:28 verbose #1226 > //// test
00:02:28 verbose #1227 > //// print_code=false
00:02:28 verbose #1228 > ///! rust
00:02:28 verbose #1229 >
00:02:28 verbose #1230 > types ()
00:02:28 verbose #1231 > test_euler_product_formula true
00:02:29 verbose #1232 > 00:02:28 debug #36 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/81c67b28ea354ed861100857f8fd7223d5637b84307fec51d1176a0a9514f902/main.spi
00:02:39 verbose #1233 >
00:02:39 verbose #1234 > ╭─[ 10.44s - return value ]────────────────────────────────────────────────────╮
00:02:39 verbose #1235 > │ zeta_ / s: (2.0, 0.0) / count: 0 │
00:02:39 verbose #1236 > │ call(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:02:39 verbose #1237 > │ method=None, kwargs={} / f_lineno: 530 / f_code.co_filename: │
00:02:39 verbose #1238 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:39 verbose #1239 > │ / arg: None │
00:02:39 verbose #1240 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:02:39 verbose #1241 > │ method=None, kwargs={} / f_lineno: 532 / f_code.co_filename: │
00:02:39 verbose #1242 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:39 verbose #1243 > │ / arg: None │
00:02:39 verbose #1244 > │ line(zeta_) / f_code.co_name: zeta / f_locals: s=(2+0j), a=1, derivative=0, │
00:02:39 verbose #1245 > │ method=None, kwargs={}, d=0 / f_lineno: 533 / f_code.co_filename: │
00:02:39 verbose #1246 > │ \mpmath\functions\zeta.py / f_back.f_lineno: 25 / f_back.f_code.co_filename: │
00:02:39 verbose #1247 > │ / arg: None │
00:02:39 verbose #1248 > │ line(zeta_) / f_code.co_name: z... │
00:02:39 verbose #1249 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1250 >
00:02:39 verbose #1251 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:39 verbose #1252 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #1253 > │ ## graph │
00:02:39 verbose #1254 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1255 >
00:02:39 verbose #1256 > ── mermaid ─────────────────────────────────────────────────────────────────────
00:02:39 verbose #1257 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #1258 > │ <div class="mermaidMarkdownContainer" style="background-color:white"> │
00:02:39 verbose #1259 > │ <link rel="stylesheet" │
00:02:39 verbose #1260 > │ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min. │
00:02:39 verbose #1261 > │ css"> │
00:02:39 verbose #1262 > │ <div id="42315878ef5745ddb1b2ef1c19f68797"></div> │
00:02:39 verbose #1263 > │ <script type="module"> │
00:02:39 verbose #1264 > │ │
00:02:39 verbose #1265 > │ import mermaid from │
00:02:39 verbose #1266 > │ 'https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.esm.min.mjs'; │
00:02:39 verbose #1267 > │ let renderTarget = │
00:02:39 verbose #1268 > │ document.getElementById('42315878ef5745ddb1b2ef1c19f68797'); │
00:02:39 verbose #1269 > │ try { │
00:02:39 verbose #1270 > │ const {svg, bindFunctions} = await │
00:02:39 verbose #1271 > │ mermaid.mermaidAPI.render( │
00:02:39 verbose #1272 > │ 'mermaid_42315878ef5745ddb1b2ef1c19f68797', │
00:02:39 verbose #1273 > │ `graph TD │
00:02:39 verbose #1274 > │ zeta("zeta()") --> convert │
00:02:39 verbose #1275 > │ zeta --> f["f()"] │
00:02:39 verbose #1276 > │ f --> mpc_f["mpc_zeta()"] │
00:02:39 verbose #1277 > │ f --> mpf_f["mpf_zeta()"] │
00:02:39 verbose #1278 > │ convert --> from_float │
00:02:39 verbose #1279 > │ from_float --> from_man_exp │
00:02:39 verbose #1280 > │ from_man_exp --> python_bitcount │
00:02:39 verbose #1281 > │ python_bitcount --> _normalize │
00:02:39 verbose #1282 > │ _normalize --> make_mpc │
00:02:39 verbose #1283 > │ make_mpc --> mpc_zeta["mpc_zeta()"] │
00:02:39 verbose #1284 > │ mpc_zeta --> mpf_zeta["mpf_zeta()"] │
00:02:39 verbose #1285 > │ mpf_zeta --> to_int │
00:02:39 verbose #1286 > │ to_int --> mpf_zeta_int["mpf_zeta_int()"] │
00:02:39 verbose #1287 > │ mpf_zeta_int --> borwein_coefficients │
00:02:39 verbose #1288 > │ borwein_coefficients --> from_man_exp_2("from_man_exp()") │
00:02:39 verbose #1289 > │ from_man_exp_2 --> python_bitcount_2("python_bitcount()") │
00:02:39 verbose #1290 > │ python_bitcount_2 --> _normalize_2("_normalize()") │
00:02:39 verbose #1291 > │ _normalize_2 --> make_mpc_2("make_mpc()") │
00:02:39 verbose #1292 > │ make_mpc_2 --> stop_trace │
00:02:39 verbose #1293 > │ mpf_zeta_int --> mpf_bernoulli │
00:02:39 verbose #1294 > │ mpf_bernoulli --> bernoulli_size │
00:02:39 verbose #1295 > │ bernoulli_size --> mpf_rdiv_int │
00:02:39 verbose #1296 > │ mpf_rdiv_int --> python_bitcount_3("python_bitcount()") │
00:02:39 verbose #1297 > │ python_bitcount_3 --> _normalize1 │
00:02:39 verbose #1298 > │ _normalize1 --> from_man_exp_3("from_man_exp()") │
00:02:39 verbose #1299 > │ from_man_exp_3 --> _normalize_3("_normalize()") │
00:02:39 verbose #1300 > │ _normalize_3 --> mpf_sub │
00:02:39 verbose #1301 > │ mpf_sub --> mpf_add │
00:02:39 verbose #1302 > │ mpf_add --> mpf_neg │
00:02:39 verbose #1303 > │ mpf_neg --> _normalize1_2("_normalize1()") │
00:02:39 verbose #1304 > │ _normalize1_2 --> from_int │
00:02:39 verbose #1305 > │ from_int --> mpf_div │
00:02:39 verbose #1306 > │ mpf_div --> python_bitcount_4("python_bitcount()") │
00:02:39 verbose #1307 > │ python_bitcount_4 --> _normalize1_3("_normalize1()") │
00:02:39 verbose #1308 > │ _normalize1_3 --> make_mpc_3("make_mpc()") │
00:02:39 verbose #1309 > │ make_mpc_3 --> final_stop["stop_trace()"]`); │
00:02:39 verbose #1310 > │ renderTarget.innerHTML = svg; │
00:02:39 verbose #1311 > │ bindFunctions?.(renderTarget); │
00:02:39 verbose #1312 > │ } │
00:02:39 verbose #1313 > │ catch (error) { │
00:02:39 verbose #1314 > │ console.log(error); │
00:02:39 verbose #1315 > │ } │
00:02:39 verbose #1316 > │ </script> │
00:02:39 verbose #1317 > │ </div> │
00:02:39 verbose #1318 > │ │
00:02:39 verbose #1319 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1320 >
00:02:39 verbose #1321 > ── mermaid ─────────────────────────────────────────────────────────────────────
00:02:39 verbose #1322 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #1323 > │ <div class="mermaidMarkdownContainer" style="background-color:white"> │
00:02:39 verbose #1324 > │ <link rel="stylesheet" │
00:02:39 verbose #1325 > │ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min. │
00:02:39 verbose #1326 > │ css"> │
00:02:39 verbose #1327 > │ <div id="e245bb67cea2480a87e90c48bbd85720"></div> │
00:02:39 verbose #1328 > │ <script type="module"> │
00:02:39 verbose #1329 > │ │
00:02:39 verbose #1330 > │ import mermaid from │
00:02:39 verbose #1331 > │ 'https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.esm.min.mjs'; │
00:02:39 verbose #1332 > │ let renderTarget = │
00:02:39 verbose #1333 > │ document.getElementById('e245bb67cea2480a87e90c48bbd85720'); │
00:02:39 verbose #1334 > │ try { │
00:02:39 verbose #1335 > │ const {svg, bindFunctions} = await │
00:02:39 verbose #1336 > │ mermaid.mermaidAPI.render( │
00:02:39 verbose #1337 > │ 'mermaid_e245bb67cea2480a87e90c48bbd85720', │
00:02:39 verbose #1338 > │ `graph TD │
00:02:39 verbose #1339 > │ zeta_rust("zeta() - Rust") --> num_traits("num-traits") │
00:02:39 verbose #1340 > │ zeta_rust --> num_bigint("num-bigint") │
00:02:39 verbose #1341 > │ zeta_rust --> rust_decimal("rust_decimal for precision") │
00:02:39 verbose #1342 > │ zeta_rust --> error_handling("Rust Error Handling") │
00:02:39 verbose #1343 > │ │
00:02:39 verbose #1344 > │ num_traits --> num_traits_usage("Use for common traits") │
00:02:39 verbose #1345 > │ num_bigint --> bigint_operations("Arbitrary-precision arithmetic │
00:02:39 verbose #1346 > │ operations") │
00:02:39 verbose #1347 > │ rust_decimal --> decimal_operations("High-precision decimal operations") │
00:02:39 verbose #1348 > │ error_handling --> result_type("Use Result<T, E> for error handling") │
00:02:39 verbose #1349 > │ │
00:02:39 verbose #1350 > │ bigint_operations --> convert_rust("convert() - Rust") │
00:02:39 verbose #1351 > │ bigint_operations --> normalize_rust("_normalize() - Rust") │
00:02:39 verbose #1352 > │ │
00:02:39 verbose #1353 > │ convert_rust --> from_float_rust("from_float() - Rust") │
00:02:39 verbose #1354 > │ from_float_rust --> from_man_exp_rust("from_man_exp() - Rust") │
00:02:39 verbose #1355 > │ from_man_exp_rust --> bitcount_rust("bitcount() - Rust") │
00:02:39 verbose #1356 > │ bitcount_rust --> normalize_rust │
00:02:39 verbose #1357 > │ normalize_rust --> mpc_zeta_rust("mpc_zeta() - Rust") │
00:02:39 verbose #1358 > │ mpc_zeta_rust --> mpf_zeta_rust("mpf_zeta() - Rust") │
00:02:39 verbose #1359 > │ mpf_zeta_rust --> to_int_rust("to_int() - Rust") │
00:02:39 verbose #1360 > │ to_int_rust --> mpf_zeta_int_rust("mpf_zeta_int() - Rust") │
00:02:39 verbose #1361 > │ │
00:02:39 verbose #1362 > │ mpf_zeta_int_rust --> borwein_coefficients_rust("borwein_coefficients() │
00:02:39 verbose #1363 > │ - Rust") │
00:02:39 verbose #1364 > │ borwein_coefficients_rust --> from_man_exp_rust_2("from_man_exp() - │
00:02:39 verbose #1365 > │ Rust") │
00:02:39 verbose #1366 > │ from_man_exp_rust_2 --> bitcount_rust_2("bitcount() - Rust") │
00:02:39 verbose #1367 > │ bitcount_rust_2 --> normalize_rust_2("_normalize() - Rust") │
00:02:39 verbose #1368 > │ normalize_rust_2 --> make_mpc_rust("make_mpc() - Rust") │
00:02:39 verbose #1369 > │ │
00:02:39 verbose #1370 > │ mpf_zeta_int_rust --> mpf_bernoulli_rust("mpf_bernoulli() - Rust") │
00:02:39 verbose #1371 > │ mpf_bernoulli_rust --> bernoulli_size_rust("bernoulli_size() - Rust") │
00:02:39 verbose #1372 > │ bernoulli_size_rust --> mpf_rdiv_int_rust("mpf_rdiv_int() - Rust") │
00:02:39 verbose #1373 > │ mpf_rdiv_int_rust --> bitcount_rust_3("bitcount() - Rust") │
00:02:39 verbose #1374 > │ bitcount_rust_3 --> normalize1_rust("_normalize1() - Rust") │
00:02:39 verbose #1375 > │ normalize1_rust --> from_man_exp_rust_3("from_man_exp() - Rust") │
00:02:39 verbose #1376 > │ from_man_exp_rust_3 --> normalize_rust_3("_normalize() - Rust") │
00:02:39 verbose #1377 > │ normalize_rust_3 --> mpf_sub_rust("mpf_sub() - Rust") │
00:02:39 verbose #1378 > │ mpf_sub_rust --> mpf_add_rust("mpf_add() - Rust") │
00:02:39 verbose #1379 > │ mpf_add_rust --> mpf_neg_rust("mpf_neg() - Rust") │
00:02:39 verbose #1380 > │ mpf_neg_rust --> normalize1_rust_2("_normalize1() - Rust") │
00:02:39 verbose #1381 > │ normalize1_rust_2 --> from_int_rust("from_int() - Rust") │
00:02:39 verbose #1382 > │ from_int_rust --> mpf_div_rust("mpf_div() - Rust") │
00:02:39 verbose #1383 > │ mpf_div_rust --> bitcount_rust_4("bitcount() - Rust") │
00:02:39 verbose #1384 > │ bitcount_rust_4 --> normalize1_rust_3("_normalize1() - Rust") │
00:02:39 verbose #1385 > │ │
00:02:39 verbose #1386 > │ style zeta_rust fill:#f9f,stroke:#333,stroke-width:4px │
00:02:39 verbose #1387 > │ style num_traits fill:#bbf,stroke:#333,stroke-width:2px │
00:02:39 verbose #1388 > │ style num_bigint fill:#bbf,stroke:#333,stroke-width:2px │
00:02:39 verbose #1389 > │ style rust_decimal fill:#bbf,stroke:#333,stroke-width:2px │
00:02:39 verbose #1390 > │ style error_handling fill:#bbf,stroke:#333,stroke-width:2px │
00:02:39 verbose #1391 > │ style bigint_operations fill:#bfb,stroke:#333,stroke-width:2px │
00:02:39 verbose #1392 > │ style decimal_operations fill:#bfb,stroke:#333,stroke-width:2px │
00:02:39 verbose #1393 > │ style result_type fill:#bfb,stroke:#333,stroke-width:2px`); │
00:02:39 verbose #1394 > │ renderTarget.innerHTML = svg; │
00:02:39 verbose #1395 > │ bindFunctions?.(renderTarget); │
00:02:39 verbose #1396 > │ } │
00:02:39 verbose #1397 > │ catch (error) { │
00:02:39 verbose #1398 > │ console.log(error); │
00:02:39 verbose #1399 > │ } │
00:02:39 verbose #1400 > │ </script> │
00:02:39 verbose #1401 > │ </div> │
00:02:39 verbose #1402 > │ │
00:02:39 verbose #1403 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1404 >
00:02:39 verbose #1405 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:39 verbose #1406 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:39 verbose #1407 > │ ## tests │
00:02:39 verbose #1408 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:39 verbose #1409 >
00:02:39 verbose #1410 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:39 verbose #1411 > inl tests () =
00:02:39 verbose #1412 > rust.run_tests [[
00:02:39 verbose #1413 > "test_zeta_at_known_values_", fun _ =>
00:02:39 verbose #1414 > test_zeta_at_known_values_ false
00:02:39 verbose #1415 >
00:02:39 verbose #1416 > "test_zeta_at_2_minus2", fun _ =>
00:02:39 verbose #1417 > test_zeta_at_2_minus2 false
00:02:39 verbose #1418 >
00:02:39 verbose #1419 > "test_trivial_zero_at_negative_even___", fun _ =>
00:02:39 verbose #1420 > test_trivial_zero_at_negative_even___ false
00:02:39 verbose #1421 >
00:02:39 verbose #1422 > "test_non_trivial_zero___", fun _ =>
00:02:39 verbose #1423 > test_non_trivial_zero___ false
00:02:39 verbose #1424 >
00:02:39 verbose #1425 > "test_real_part_greater_than_one___", fun _ =>
00:02:39 verbose #1426 > test_real_part_greater_than_one___ false
00:02:39 verbose #1427 >
00:02:39 verbose #1428 > "test_zeta_at_1___", fun _ =>
00:02:39 verbose #1429 > test_zeta_at_1___ false
00:02:39 verbose #1430 >
00:02:39 verbose #1431 > "test_symmetry_across_real_axis___", fun _ =>
00:02:39 verbose #1432 > test_symmetry_across_real_axis___ false
00:02:39 verbose #1433 >
00:02:39 verbose #1434 > "test_behavior_near_origin___", fun _ =>
00:02:39 verbose #1435 > test_behavior_near_origin___ false
00:02:39 verbose #1436 >
00:02:39 verbose #1437 > "test_imaginary_axis", fun _ =>
00:02:39 verbose #1438 > test_imaginary_axis false
00:02:39 verbose #1439 >
00:02:39 verbose #1440 > "test_critical_strip", fun _ =>
00:02:39 verbose #1441 > test_critical_strip false
00:02:39 verbose #1442 >
00:02:39 verbose #1443 > "test_reflection_formula_for_specific_value", fun _ =>
00:02:39 verbose #1444 > test_reflection_formula_for_specific_value false
00:02:39 verbose #1445 >
00:02:39 verbose #1446 > "test_euler_product_formula", fun _ =>
00:02:39 verbose #1447 > test_euler_product_formula false
00:02:39 verbose #1448 > ]]
00:02:39 verbose #1449 > 00:02:38 debug #37 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5aa96e7b8cca1a06c6dfddd8dccd66b128f88c5dc09aced24756a74ecc5d142d/main.spi
00:02:40 verbose #1450 >
00:02:40 verbose #1451 > ╭─[ 718.24ms - stdout ]────────────────────────────────────────────────────────╮
00:02:40 verbose #1452 > │ () │
00:02:40 verbose #1453 > │ │
00:02:40 verbose #1454 > │ │
00:02:40 verbose #1455 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:40 verbose #1456 >
00:02:40 verbose #1457 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:40 verbose #1458 > ///!
00:02:40 verbose #1459 >
00:02:40 verbose #1460 > inl main (_args : array_base string) =
00:02:40 verbose #1461 > inl value = 1i32
00:02:40 verbose #1462 > console.write_line ($"$\"value: {!value}\"" : string)
00:02:40 verbose #1463 > 0i32
00:02:40 verbose #1464 >
00:02:40 verbose #1465 > inl main () =
00:02:40 verbose #1466 > types ()
00:02:40 verbose #1467 > $"let tests () = !tests ()" : ()
00:02:40 verbose #1468 > $"let main args = !main args" : ()
00:02:40 verbose #1469 > 00:02:39 debug #38 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3968fcefca2d8204ff5ddf91e29d1518a0fff0eb41528439290a78ae67ade4bb/main.spi
00:02:40 verbose #1470 >
00:02:40 verbose #1471 > ╭─[ 735.96ms - stdout ]────────────────────────────────────────────────────────╮
00:02:40 verbose #1472 > │ .fsx: │
00:02:40 verbose #1473 > │ #if FABLE_COMPILER │
00:02:40 verbose #1474 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:02:40 verbose #1475 > │ #endif │
00:02:40 verbose #1476 > │ type Func0<'T> = class end │
00:02:40 verbose #1477 > │ #if FABLE_COMPILER │
00:02:40 verbose #1478 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:02:40 verbose #1479 > │ #endif │
00:02:40 verbose #1480 > │ type Func0<'T, 'U> = class end │
00:02:40 verbose #1481 > │ #if FABLE_COMPILER │
00:02:40 verbose #1482 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:02:40 verbose #1483 > │ #endif │
00:02:40 verbose #1484 > │ type Box<'T> = class end │
00:02:40 verbose #1485 > │ #if FABLE_COMPILER │
00:02:40 verbose #1486 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:02:40 verbose #1487 > │ #endif │
00:02:40 verbose #1488 > │ type Dyn<'T> = class end │
00:02:40 verbose #1489 > │ #if FABLE_COMPILER │
00:02:40 verbose #1490 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:02:40 verbose #1491 > │ #endif │
00:02:40 verbose #1492 > │ type Send<'T> = class end │
00:02:40 verbose #1493 > │ #if FABLE_COMPILER │
00:02:40 verbose #1494 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:02:40 verbose #1495 > │ #endif │
00:02:40 verbose #1496 > │ type Fn<'T> = class end │
00:02:40 verbose #1497 > │ #if FABLE_COMPILER │
00:02:40 verbose #1498 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:02:40 verbose #1499 > │ #endif │
00:02:40 verbose #1500 > │ type FnUnit = class end │
00:02:40 verbose #1501 > │ #if FABLE_COMPILER │
00:02:40 verbose #1502 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:02:40 verbose #1503 > │ #endif │
00:02:40 verbose #1504 > │ type FnOnce<'T> = class end │
00:02:40 verbose #1505 > │ #if FABLE_COMPILER │
00:02:40 verbose #1506 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:02:40 verbose #1507 > │ #endif │
00:02:40 verbose #1508 > │ type ActionFn<'T> = class end │
00:02:40 verbose #1509 > │ #if FABLE_COMPILER │
00:02:40 verbose #1510 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:02:40 verbose #1511 > │ #endif │
00:02:40 verbose #1512 > │ type ActionFn2<'T, 'U> = class end │
00:02:40 verbose #1513 > │ #if FABLE_COMPILER │
00:02:40 verbose #1514 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:02:40 verbose #1515 > │ #endif │
00:02:40 verbose #1516 > │ type Impl<'T> = class end │
00:02:40 verbose #1517 > │ #if FABLE_COMPILER │
00:02:40 verbose #1518 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:02:40 verbose #1519 > │ #endif │
00:02:40 verbose #1520 > │ type Mut<'T> = class end │
00:02:40 verbose #1521 > │ #if FABLE_COMPILER │
00:02:40 verbose #1522 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:02:40 verbose #1523 > │ #endif │
00:02:40 verbose #1524 > │ type Ref<'T> = class end │
00:02:40 verbose #1525 > │ #if FABLE_COMPILER │
00:02:40 verbose #1526 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:02:40 verbose #1527 > │ #endif │
00:02:40 verbose #1528 > │ type StaticRef<'T> = class end │
00:02:40 verbose #1529 > │ #if FABLE_COMPILER │
00:02:40 verbose #1530 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:02:40 verbose #1531 > │ #endif │
00:02:40 verbose #1532 > │ type MutCell<'T> = class end │
00:02:40 verbose #1533 > │ #if FABLE_COMPILER │
00:02:40 verbose #1534 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:02:40 verbose #1535 > │ #endif │
00:02:40 verbose #1536 > │ type std_any_Any = class end │
00:02:40 verbose #1537 > │ #if FABLE_COMPILER │
00:02:40 verbose #1538 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:02:40 verbose #1539 > │ #endif │
00:02:40 verbose #1540 > │ type std_borrow_Cow<'T> = class end │
00:02:40 verbose #1541 > │ #if FABLE_COMPILER │
00:02:40 verbose #1542 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:02:40 verbose #1543 > │ #endif │
00:02:40 verbose #1544 > │ type std_cell_RefCell<'T> = class end │
00:02:40 verbose #1545 > │ #if FABLE_COMPILER │
00:02:40 verbose #1546 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:02:40 verbose #1547 > │ #endif │
00:02:40 verbose #1548 > │ type std_pin_Pin<'T> = class end │
00:02:40 verbose #1549 > │ #if FABLE_COMPILER │
00:02:40 verbose #1550 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:02:40 verbose #1551 > │ #endif │
00:02:40 verbose #1552 > │ type std_rc_Rc<'T> = class end │
00:02:40 verbose #1553 > │ #if FABLE_COMPILER │
00:02:40 verbose #1554 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:02:40 verbose #1555 > │ #endif │
00:02:40 verbose #1556 > │ type std_rc_Weak<'T> = class end │
00:02:40 verbose #1557 > │ #if FABLE_COMPILER │
00:02:40 verbose #1558 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:02:40 verbose #1559 > │ #endif │
00:02:40 verbose #1560 > │ type Str = class end │
00:02:40 verbose #1561 > │ #if FABLE_COMPILER │
00:02:40 verbose #1562 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:02:40 verbose #1563 > │ #endif │
00:02:40 verbose #1564 > │ type base64_DecodeError = class end │
00:02:40 verbose #1565 > │ #if FABLE_COMPILER │
00:02:40 verbose #1566 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:02:40 verbose #1567 > │ #endif │
00:02:40 verbose #1568 > │ type borsh_io_Error = class end │
00:02:40 verbose #1569 > │ #if FABLE_COMPILER │
00:02:40 verbose #1570 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:02:40 verbose #1571 > │ #endif │
00:02:40 verbose #1572 > │ type js_sys_JsString = class end │
00:02:40 verbose #1573 > │ #if FABLE_COMPILER │
00:02:40 verbose #1574 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:02:40 verbose #1575 > │ #endif │
00:02:40 verbose #1576 > │ type serde_json_Error = class end │
00:02:40 verbose #1577 > │ #if FABLE_COMPILER │
00:02:40 verbose #1578 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:02:40 verbose #1579 > │ #endif │
00:02:40 verbose #1580 > │ type serde_json_Value = class end │
00:02:40 verbose #1581 > │ #if FABLE_COMPILER │
00:02:40 verbose #1582 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:02:40 verbose #1583 > │ #endif │
00:02:40 verbose #1584 > │ type serde_wasm_bindgen_Error = class end │
00:02:40 verbose #1585 > │ #if FABLE_COMPILER │
00:02:40 verbose #1586 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:02:40 verbose #1587 > │ #endif │
00:02:40 verbose #1588 > │ type std_ffi_OsStr = class end │
00:02:40 verbose #1589 > │ #if FABLE_COMPILER │
00:02:40 verbose #1590 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:02:40 verbose #1591 > │ #endif │
00:02:40 verbose #1592 > │ type std_ffi_OsString = class end │
00:02:40 verbose #1593 > │ #if FABLE_COMPILER │
00:02:40 verbose #1594 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:02:40 verbose #1595 > │ #endif │
00:02:40 verbose #1596 > │ type std_fmt_Display<'T> = class end │
00:02:40 verbose #1597 > │ #if FABLE_COMPILER │
00:02:40 verbose #1598 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:02:40 verbose #1599 > │ #endif │
00:02:40 verbose #1600 > │ type std_str_Utf8Error = class end │
00:02:40 verbose #1601 > │ #if FABLE_COMPILER │
00:02:40 verbose #1602 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:02:40 verbose #1603 > │ #endif │
00:02:40 verbose #1604 > │ type std_string_FromUtf8Error = class end │
00:02:40 verbose #1605 > │ #if FABLE_COMPILER │
00:02:40 verbose #1606 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:02:40 verbose #1607 > │ #endif │
00:02:40 verbose #1608 > │ type std_string_String = class end │
00:02:40 verbose #1609 > │ #if FABLE_COMPILER │
00:02:40 verbose #1610 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:02:40 verbose #1611 > │ #endif │
00:02:40 verbose #1612 > │ type std_slice_Windows<'T> = class end │
00:02:40 verbose #1613 > │ #if FABLE_COMPILER │
00:02:40 verbose #1614 > │ [<Fable.Core.Erase; Fable.Core.Emit("num_complex::Complex<$0>")>] │
00:02:40 verbose #1615 > │ #endif │
00:02:40 verbose #1616 > │ type num_complex_Complex<'T> = class end │
00:02:40 verbose #1617 > │ #if FABLE_COMPILER │
00:02:40 verbose #1618 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::types::PyModule")>] │
00:02:40 verbose #1619 > │ #endif │
00:02:40 verbose #1620 > │ type pyo3_types_PyModule = class end │
00:02:40 verbose #1621 > │ #if FABLE_COMPILER │
00:02:40 verbose #1622 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::Bound<$0>")>] │
00:02:40 verbose #1623 > │ #endif │
00:02:40 verbose #1624 > │ type pyo3_Bound<'T> = class end │
00:02:40 verbose #1625 > │ #if FABLE_COMPILER │
00:02:40 verbose #1626 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::Python")>] │
00:02:40 verbose #1627 > │ #endif │
00:02:40 verbose #1628 > │ type pyo3_Python = class end │
00:02:40 verbose #1629 > │ #if FABLE_COMPILER │
00:02:40 verbose #1630 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::PyAny")>] │
00:02:40 verbose #1631 > │ #endif │
00:02:40 verbose #1632 > │ type pyo3_PyAny = class end │
00:02:40 verbose #1633 > │ #if FABLE_COMPILER │
00:02:40 verbose #1634 > │ [<Fable.Core.Erase; Fable.Core.Emit("pyo3::PyErr")>] │
00:02:40 verbose #1635 > │ #endif │
00:02:40 verbose #1636 > │ type pyo3_PyErr = class end │
00:02:40 verbose #1637 > │ Fable.Core.RustInterop.emitRustExpr () "); │
00:02:40 verbose #1638 > │ use pyo3::prelude::PyAnyMethods; │
00:02:40 verbose #1639 > │ //" │
00:02:40 verbose #1640 > │ type Mut0 = {mutable l0 : int32} │
00:02:40 verbose #1641 > │ and Mut1 = {mutable l0 : int32; mutable l1 : string} │
00:02:40 verbose #1642 > │ and Mut2 = {mutable l0 : int32; mutable l1 : num_complex_Complex<float>} │
00:02:40 verbose #1643 > │ and [<Struct>] US0 = │
00:02:40 verbose #1644 > │ | US0_0 of f0_0 : num_complex_Complex<float> │
00:02:40 verbose #1645 > │ | US0_1 │
00:02:40 verbose #1646 > │ and UH0 = │
00:02:40 verbose #1647 > │ | UH0_0 │
00:02:40 verbose #1648 > │ | UH0_1 of float * UH0 │
00:02:40 verbose #1649 > │ and Mut3 = {mutable l0 : int32; mutable l1 : float} │
00:02:40 verbose #1650 > │ let rec method2 (v0 : int32, v1 : Mut0) : bool = │
00:02:40 verbose #1651 > │ let v2 : int32 = v1.l0 │
00:02:40 verbose #1652 > │ let v3 : bool = v2 < v0 │
00:02:40 verbose #1653 > │ v3 │
00:02:40 verbose #1654 > │ and method3 (v0 : num_complex_Complex<float>) : num_complex_Complex<float> = │
00:02:40 verbose #1655 > │ v0 │
00:02:40 verbose #1656 > │ and method6 (v0 : int32, v1 : Mut1) : bool = │
00:02:40 verbose #1657 > │ let v2 : int32 = v1.l0 │
00:02:40 verbose #1658 > │ let v3 : bool = v2 < v0 │
00:02:40 verbose #1659 > │ v3 │
00:02:40 verbose #1660 > │ and method5 (v0 : (string [])) : string = │
00:02:40 verbose #1661 > │ let v1 : int32 = v0.Length │
00:02:40 verbose #1662 > │ let v2 : string = "" │
00:02:40 verbose #1663 > │ let v3 : Mut1 = {l0 = 0; l1 = v2} : Mut1 │
00:02:40 verbose #1664 > │ while method6(v1, v3) do │
00:02:40 verbose #1665 > │ let v5 : int32 = v3.l0 │
00:02:40 verbose #1666 > │ let v6 : string = v3.l1 │
00:02:40 verbose #1667 > │ let v7 : string = v0.[int v5] │
00:02:40 verbose #1668 > │ let v8 : string = "\n" │
00:02:40 verbose #1669 > │ let v9 : string = v6 + v7 + v8 + "" │
00:02:40 verbose #1670 > │ let v10 : int32 = v5 + 1 │
00:02:40 verbose #1671 > │ v3.l0 <- v10 │
00:02:40 verbose #1672 > │ v3.l1 <- v9 │
00:02:40 verbose #1673 > │ () │
00:02:40 verbose #1674 > │ let v11 : string = v3.l1 │
00:02:40 verbose #1675 > │ v11 │
00:02:40 verbose #1676 > │ and method7 (v0 : num_complex_Complex<float>) : num_complex_Complex<float> = │
00:02:40 verbose #1677 > │ v0 │
00:02:40 verbose #1678 > │ and method8 (v0 : num_complex_Complex<float>) : num_complex_Complex<float> = │
00:02:40 verbose #1679 > │ v0 │
00:02:40 verbose #1680 > │ and method9 (v0 : pyo3_Python) : pyo3_Python = │
00:02:40 verbose #1681 > │ v0 │
00:02:40 verbose #1682 > │ and closure1 () (v0 : pyo3_PyErr) : std_string_String = │
00:02:40 verbose #1683 > │ let v1 : std_string_String option = None │
00:02:40 verbose #1684 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:02:40 verbose #1685 > │ │
00:02:40 verbose #1686 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:02:40 verbose #1687 > │ │
00:02:40 verbose #1688 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:02:40 verbose #1689 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1690 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:02:40 verbose #1691 > │ v4 │
00:02:40 verbose #1692 > │ #endif │
00:02:40 verbose #1693 > │ │
00:02:40 verbose #1694 > │ #if FABLE_COMPILER_RUST && WASM │
00:02:40 verbose #1695 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1696 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:02:40 verbose #1697 > │ v6 │
00:02:40 verbose #1698 > │ #endif │
00:02:40 verbose #1699 > │ │
00:02:40 verbose #1700 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:02:40 verbose #1701 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1702 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:02:40 verbose #1703 > │ v8 │
00:02:40 verbose #1704 > │ #endif │
00:02:40 verbose #1705 > │ │
00:02:40 verbose #1706 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:02:40 verbose #1707 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1708 > │ v9 │
00:02:40 verbose #1709 > │ #endif │
00:02:40 verbose #1710 > │ │
00:02:40 verbose #1711 > │ #if FABLE_COMPILER_PYTHON │
00:02:40 verbose #1712 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1713 > │ v10 │
00:02:40 verbose #1714 > │ #endif │
00:02:40 verbose #1715 > │ │
00:02:40 verbose #1716 > │ #else │
00:02:40 verbose #1717 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1718 > │ v11 │
00:02:40 verbose #1719 > │ #endif │
00:02:40 verbose #1720 > │ |> fun x -> _v1 <- Some x │
00:02:40 verbose #1721 > │ let v12 : std_string_String = _v1.Value │
00:02:40 verbose #1722 > │ v12 │
00:02:40 verbose #1723 > │ and method10 () : (pyo3_PyErr -> std_string_String) = │
00:02:40 verbose #1724 > │ closure1() │
00:02:40 verbose #1725 > │ and method11 () : string = │
00:02:40 verbose #1726 > │ let v0 : string = "fn" │
00:02:40 verbose #1727 > │ v0 │
00:02:40 verbose #1728 > │ and method12 (v0 : pyo3_Bound<pyo3_types_PyModule>) : │
00:02:40 verbose #1729 > │ pyo3_Bound<pyo3_types_PyModule> = │
00:02:40 verbose #1730 > │ v0 │
00:02:40 verbose #1731 > │ and closure2 () (v0 : pyo3_PyErr) : std_string_String = │
00:02:40 verbose #1732 > │ let v1 : std_string_String option = None │
00:02:40 verbose #1733 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:02:40 verbose #1734 > │ │
00:02:40 verbose #1735 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:02:40 verbose #1736 > │ │
00:02:40 verbose #1737 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:02:40 verbose #1738 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1739 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:02:40 verbose #1740 > │ v4 │
00:02:40 verbose #1741 > │ #endif │
00:02:40 verbose #1742 > │ │
00:02:40 verbose #1743 > │ #if FABLE_COMPILER_RUST && WASM │
00:02:40 verbose #1744 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1745 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:02:40 verbose #1746 > │ v6 │
00:02:40 verbose #1747 > │ #endif │
00:02:40 verbose #1748 > │ │
00:02:40 verbose #1749 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:02:40 verbose #1750 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1751 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:02:40 verbose #1752 > │ v8 │
00:02:40 verbose #1753 > │ #endif │
00:02:40 verbose #1754 > │ │
00:02:40 verbose #1755 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:02:40 verbose #1756 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1757 > │ v9 │
00:02:40 verbose #1758 > │ #endif │
00:02:40 verbose #1759 > │ │
00:02:40 verbose #1760 > │ #if FABLE_COMPILER_PYTHON │
00:02:40 verbose #1761 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1762 > │ v10 │
00:02:40 verbose #1763 > │ #endif │
00:02:40 verbose #1764 > │ │
00:02:40 verbose #1765 > │ #else │
00:02:40 verbose #1766 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1767 > │ v11 │
00:02:40 verbose #1768 > │ #endif │
00:02:40 verbose #1769 > │ |> fun x -> _v1 <- Some x │
00:02:40 verbose #1770 > │ let v12 : std_string_String = _v1.Value │
00:02:40 verbose #1771 > │ v12 │
00:02:40 verbose #1772 > │ and method13 () : (pyo3_PyErr -> std_string_String) = │
00:02:40 verbose #1773 > │ closure2() │
00:02:40 verbose #1774 > │ and method14 (v0 : (bool * (float * float))) : (bool * (float * float)) = │
00:02:40 verbose #1775 > │ v0 │
00:02:40 verbose #1776 > │ and method15 (v0 : pyo3_Bound<pyo3_PyAny>) : pyo3_Bound<pyo3_PyAny> = │
00:02:40 verbose #1777 > │ v0 │
00:02:40 verbose #1778 > │ and closure3 () (v0 : pyo3_PyErr) : std_string_String = │
00:02:40 verbose #1779 > │ let v1 : std_string_String option = None │
00:02:40 verbose #1780 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:02:40 verbose #1781 > │ │
00:02:40 verbose #1782 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:02:40 verbose #1783 > │ │
00:02:40 verbose #1784 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:02:40 verbose #1785 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1786 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:02:40 verbose #1787 > │ v4 │
00:02:40 verbose #1788 > │ #endif │
00:02:40 verbose #1789 > │ │
00:02:40 verbose #1790 > │ #if FABLE_COMPILER_RUST && WASM │
00:02:40 verbose #1791 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1792 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:02:40 verbose #1793 > │ v6 │
00:02:40 verbose #1794 > │ #endif │
00:02:40 verbose #1795 > │ │
00:02:40 verbose #1796 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:02:40 verbose #1797 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1798 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:02:40 verbose #1799 > │ v8 │
00:02:40 verbose #1800 > │ #endif │
00:02:40 verbose #1801 > │ │
00:02:40 verbose #1802 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:02:40 verbose #1803 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1804 > │ v9 │
00:02:40 verbose #1805 > │ #endif │
00:02:40 verbose #1806 > │ │
00:02:40 verbose #1807 > │ #if FABLE_COMPILER_PYTHON │
00:02:40 verbose #1808 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1809 > │ v10 │
00:02:40 verbose #1810 > │ #endif │
00:02:40 verbose #1811 > │ │
00:02:40 verbose #1812 > │ #else │
00:02:40 verbose #1813 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1814 > │ v11 │
00:02:40 verbose #1815 > │ #endif │
00:02:40 verbose #1816 > │ |> fun x -> _v1 <- Some x │
00:02:40 verbose #1817 > │ let v12 : std_string_String = _v1.Value │
00:02:40 verbose #1818 > │ v12 │
00:02:40 verbose #1819 > │ and method16 () : (pyo3_PyErr -> std_string_String) = │
00:02:40 verbose #1820 > │ closure3() │
00:02:40 verbose #1821 > │ and method17 (v0 : pyo3_Bound<pyo3_PyAny>) : pyo3_Bound<pyo3_PyAny> = │
00:02:40 verbose #1822 > │ v0 │
00:02:40 verbose #1823 > │ and closure4 () (v0 : pyo3_PyErr) : std_string_String = │
00:02:40 verbose #1824 > │ let v1 : std_string_String option = None │
00:02:40 verbose #1825 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:02:40 verbose #1826 > │ │
00:02:40 verbose #1827 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:02:40 verbose #1828 > │ │
00:02:40 verbose #1829 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:02:40 verbose #1830 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1831 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:02:40 verbose #1832 > │ v4 │
00:02:40 verbose #1833 > │ #endif │
00:02:40 verbose #1834 > │ │
00:02:40 verbose #1835 > │ #if FABLE_COMPILER_RUST && WASM │
00:02:40 verbose #1836 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1837 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:02:40 verbose #1838 > │ v6 │
00:02:40 verbose #1839 > │ #endif │
00:02:40 verbose #1840 > │ │
00:02:40 verbose #1841 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:02:40 verbose #1842 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:02:40 verbose #1843 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:02:40 verbose #1844 > │ v8 │
00:02:40 verbose #1845 > │ #endif │
00:02:40 verbose #1846 > │ │
00:02:40 verbose #1847 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:02:40 verbose #1848 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1849 > │ v9 │
00:02:40 verbose #1850 > │ #endif │
00:02:40 verbose #1851 > │ │
00:02:40 verbose #1852 > │ #if FABLE_COMPILER_PYTHON │
00:02:40 verbose #1853 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1854 > │ v10 │
00:02:40 verbose #1855 > │ #endif │
00:02:40 verbose #1856 > │ │
00:02:40 verbose #1857 > │ #else │
00:02:40 verbose #1858 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:02:40 verbose #1859 > │ v11 │
00:02:40 verbose #1860 > │ #endif │
00:02:40 verbose #1861 > │ |> fun x -> _v1 <- Some x │
00:02:40 verbose #1862 > │ let v12 : std_string_String = _v1.Value │
00:02:40 verbose #1863 > │ v12 │
00:02:40 verbose #1864 > │ and method18 () : (pyo3_PyErr -> std_string_String) = │
00:02:40 verbose #1865 > │ closure4() │
00:02:40 verbose #1866 > │ and method4 (v0 : pyo3_Python, v1 : string, v2 : num_complex_Complex<float>) │
00:02:40 verbose #1867 > │ : Result<num_complex_Complex<float>, std_string_String> = │
00:02:40 verbose #1868 > │ let v3 : string = $"import sys" │
00:02:40 verbose #1869 > │ let v4 : string = $"import traceback" │
00:02:41 verbose #1870 > │ let v5 : string = $"import re" │
00:02:41 verbose #1871 > │ let v6 : string = $"count = 0" │
00:02:41 verbose #1872 > │ let v7 : string = $"memory_address_pattern = re.compile(r' at 0x[ │
00:02:41 verbose #1873 > │ 0-9a-fA-F]+')" │
00:02:41 verbose #1874 > │ let v8 : string = $"def trace_calls(frame, event, arg):" │
00:02:41 verbose #1875 > │ let v9 : string = $" global count" │
00:02:41 verbose #1876 > │ let v10 : string = $" count += 1" │
00:02:41 verbose #1877 > │ let v11 : string = $" if count < 200:" │
00:02:41 verbose #1878 > │ let v12 : string = $" try:" │
00:02:41 verbose #1879 > │ let v13 : string = $" args = {{ k: v for k, v in │
00:02:41 verbose #1880 > │ frame.f_locals.items() if frame.f_code.co_name != 'make_mpc' and k not in [ │
00:02:41 verbose #1881 > │ 'ctx'] and not callable(v) }}" │
00:02:41 verbose #1882 > │ let v14 : string = $" args_str = ', '.join([ │
00:02:41 verbose #1883 > │ f\"{{k}}={{re.sub(memory_address_pattern, ' at 0x<?>', repr(v))}}\" for k, v │
00:02:41 verbose #1884 > │ in args.items() ])" │
00:02:41 verbose #1885 > │ let v15 : string = "zeta_" │
00:02:41 verbose #1886 > │ let v16 : string = $" print(f\"{{event}}({v15}) / │
00:02:41 verbose #1887 > │ f_code.co_name: {{frame.f_code.co_name}} / f_locals: {{args_str}} / │
00:02:41 verbose #1888 > │ f_lineno: {{frame.f_lineno}} / f_code.co_filename: │
00:02:41 verbose #1889 > │ {{frame.f_code.co_filename.split('site-packages')[-1]}} / f_back.f_lineno: │
00:02:41 verbose #1890 > │ {{ '' if frame.f_back is None else frame.f_back.f_lineno }} / │
00:02:41 verbose #1891 > │ f_back.f_code.co_filename: {{ '' if frame.f_back is None else │
00:02:41 verbose #1892 > │ frame.f_back.f_code.co_filename.split('site-packages')[-1] }} / arg: │
00:02:41 verbose #1893 > │ {{re.sub(memory_address_pattern, ' at 0x<?>', repr(arg))}}\", flush=True)" │
00:02:41 verbose #1894 > │ let v17 : string = $" except ValueError as e:" │
00:02:41 verbose #1895 > │ let v18 : string = $" print(f'{v15} / e: {{e}}', flush=True)" │
00:02:41 verbose #1896 > │ let v19 : string = $" return trace_calls" │
00:02:41 verbose #1897 > │ let v20 : string = $"import mpmath" │
00:02:41 verbose #1898 > │ let v21 : string = $"def fn(log, s):" │
00:02:41 verbose #1899 > │ let v22 : string = $" global count" │
00:02:41 verbose #1900 > │ let v23 : string = $" if log:" │
00:02:41 verbose #1901 > │ let v24 : string = $" print(f'{v15} / s: {{s}} / count: │
00:02:41 verbose #1902 > │ {{count}}', flush=True)" │
00:02:41 verbose #1903 > │ let v25 : string = $" s = complex(*s)" │
00:02:41 verbose #1904 > │ let v26 : string = $" try:" │
00:02:41 verbose #1905 > │ let v27 : string = $" if log: sys.settrace(trace_calls)" │
00:02:41 verbose #1906 > │ let v28 : string = $" if log:" │
00:02:41 verbose #1907 > │ let v29 : string = $" sys.settrace(None)" │
00:02:41 verbose #1908 > │ let v30 : string = $" print(f'{v15} / result: {{s}} / count: │
00:02:41 verbose #1909 > │ {{count}}', flush=True)" │
00:02:41 verbose #1910 > │ let v31 : string = $" except ValueError as e:" │
00:02:41 verbose #1911 > │ let v32 : string = $" if s.real == 1:" │
00:02:41 verbose #1912 > │ let v33 : string = $" s = complex(float('inf'), 0)" │
00:02:41 verbose #1913 > │ let v34 : string = $" return (s.real, s.imag)" │
00:02:41 verbose #1914 > │ let v35 : (string []) = [|v3; v4; v5; v6; v7; v8; v9; v10; v11; v12; │
00:02:41 verbose #1915 > │ v13; v14; v16; v17; v18; v19; v20; v21; v22; v23; v24; v25; v26; v27; v1; │
00:02:41 verbose #1916 > │ v28; v29; v30; v31; v32; v33; v34|] │
00:02:41 verbose #1917 > │ let v36 : string = method5(v35) │
00:02:41 verbose #1918 > │ let v37 : num_complex_Complex<float> = method7(v2) │
00:02:41 verbose #1919 > │ let v38 : string = "v37.re" │
00:02:41 verbose #1920 > │ let v39 : float = Fable.Core.RustInterop.emitRustExpr () v38 │
00:02:41 verbose #1921 > │ let v40 : num_complex_Complex<float> = method8(v2) │
00:02:41 verbose #1922 > │ let v41 : string = "v40.im" │
00:02:41 verbose #1923 > │ let v42 : float = Fable.Core.RustInterop.emitRustExpr () v41 │
00:02:41 verbose #1924 > │ let v43 : (float * float) = v39, v42 │
00:02:41 verbose #1925 > │ let v44 : (bool * (float * float)) = false, v43 │
00:02:41 verbose #1926 > │ let v45 : pyo3_Python = method9(v0) │
00:02:41 verbose #1927 > │ let v46 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:02:41 verbose #1928 > │ let v47 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v36 v46 │
00:02:41 verbose #1929 > │ let v48 : string = "pyo3::types::PyModule::from_code_bound(v45, v47, │
00:02:41 verbose #1930 > │ \"\", \"\")" │
00:02:41 verbose #1931 > │ let v49 : Result<pyo3_Bound<pyo3_types_PyModule>, pyo3_PyErr> = │
00:02:41 verbose #1932 > │ Fable.Core.RustInterop.emitRustExpr () v48 │
00:02:41 verbose #1933 > │ let v50 : (pyo3_PyErr -> std_string_String) = method10() │
00:02:41 verbose #1934 > │ let v51 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #1935 > │ let v52 : Result<pyo3_Bound<pyo3_types_PyModule>, std_string_String> = │
00:02:41 verbose #1936 > │ Fable.Core.RustInterop.emitRustExpr struct (v49, v50) v51 │
00:02:41 verbose #1937 > │ let v53 : string = "$0.unwrap()" │
00:02:41 verbose #1938 > │ let v54 : pyo3_Bound<pyo3_types_PyModule> = │
00:02:41 verbose #1939 > │ Fable.Core.RustInterop.emitRustExpr v52 v53 │
00:02:41 verbose #1940 > │ let v55 : string = method11() │
00:02:41 verbose #1941 > │ let v56 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:02:41 verbose #1942 > │ let v57 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v55 v56 │
00:02:41 verbose #1943 > │ let v58 : pyo3_Bound<pyo3_types_PyModule> = method12(v54) │
00:02:41 verbose #1944 > │ let v59 : string = "v58.getattr(v57)" │
00:02:41 verbose #1945 > │ let v60 : Result<pyo3_Bound<pyo3_PyAny>, pyo3_PyErr> = │
00:02:41 verbose #1946 > │ Fable.Core.RustInterop.emitRustExpr () v59 │
00:02:41 verbose #1947 > │ let v61 : (pyo3_PyErr -> std_string_String) = method13() │
00:02:41 verbose #1948 > │ let v62 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #1949 > │ let v63 : Result<pyo3_Bound<pyo3_PyAny>, std_string_String> = │
00:02:41 verbose #1950 > │ Fable.Core.RustInterop.emitRustExpr struct (v60, v61) v62 │
00:02:41 verbose #1951 > │ let v64 : string = "$0.unwrap()" │
00:02:41 verbose #1952 > │ let v65 : pyo3_Bound<pyo3_PyAny> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #1953 > │ v63 v64 │
00:02:41 verbose #1954 > │ let v66 : (bool * (float * float)) = method14(v44) │
00:02:41 verbose #1955 > │ let v67 : pyo3_Bound<pyo3_PyAny> = method15(v65) │
00:02:41 verbose #1956 > │ let v68 : string = "pyo3::prelude::PyAnyMethods::call(&v67, ((*v66).0, │
00:02:41 verbose #1957 > │ *(*v66).1), None)" │
00:02:41 verbose #1958 > │ let v69 : Result<pyo3_Bound<pyo3_PyAny>, pyo3_PyErr> = │
00:02:41 verbose #1959 > │ Fable.Core.RustInterop.emitRustExpr () v68 │
00:02:41 verbose #1960 > │ let v70 : (pyo3_PyErr -> std_string_String) = method16() │
00:02:41 verbose #1961 > │ let v71 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #1962 > │ let v72 : Result<pyo3_Bound<pyo3_PyAny>, std_string_String> = │
00:02:41 verbose #1963 > │ Fable.Core.RustInterop.emitRustExpr struct (v69, v70) v71 │
00:02:41 verbose #1964 > │ let v73 : string = "$0?" │
00:02:41 verbose #1965 > │ let v74 : pyo3_Bound<pyo3_PyAny> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #1966 > │ v72 v73 │
00:02:41 verbose #1967 > │ let v75 : pyo3_Bound<pyo3_PyAny> = method17(v74) │
00:02:41 verbose #1968 > │ let v76 : string = "v75.extract()" │
00:02:41 verbose #1969 > │ let v77 : Result<struct (float * float), pyo3_PyErr> = │
00:02:41 verbose #1970 > │ Fable.Core.RustInterop.emitRustExpr () v76 │
00:02:41 verbose #1971 > │ let v78 : (pyo3_PyErr -> std_string_String) = method18() │
00:02:41 verbose #1972 > │ let v79 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #1973 > │ let v80 : Result<struct (float * float), std_string_String> = │
00:02:41 verbose #1974 > │ Fable.Core.RustInterop.emitRustExpr struct (v77, v78) v79 │
00:02:41 verbose #1975 > │ let v81 : string = "$0?" │
00:02:41 verbose #1976 > │ let struct (v82 : float, v83 : float) = │
00:02:41 verbose #1977 > │ Fable.Core.RustInterop.emitRustExpr v80 v81 │
00:02:41 verbose #1978 > │ let v84 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #1979 > │ let v85 : num_complex_Complex<float> = │
00:02:41 verbose #1980 > │ Fable.Core.RustInterop.emitRustExpr struct (v82, v83) v84 │
00:02:41 verbose #1981 > │ let v86 : Result<num_complex_Complex<float>, std_string_String> = Ok v85 │
00:02:41 verbose #1982 > │ v86 │
00:02:41 verbose #1983 > │ and method20 (v0 : Mut0) : bool = │
00:02:41 verbose #1984 > │ let v1 : int32 = v0.l0 │
00:02:41 verbose #1985 > │ let v2 : bool = v1 < 10000 │
00:02:41 verbose #1986 > │ v2 │
00:02:41 verbose #1987 > │ and method21 (v0 : int32, v1 : Mut2) : bool = │
00:02:41 verbose #1988 > │ let v2 : int32 = v1.l0 │
00:02:41 verbose #1989 > │ let v3 : bool = v2 < v0 │
00:02:41 verbose #1990 > │ v3 │
00:02:41 verbose #1991 > │ and method22 (v0 : num_complex_Complex<float>) : num_complex_Complex<float> │
00:02:41 verbose #1992 > │ = │
00:02:41 verbose #1993 > │ v0 │
00:02:41 verbose #1994 > │ and method23 (v0 : num_complex_Complex<float>) : num_complex_Complex<float> │
00:02:41 verbose #1995 > │ = │
00:02:41 verbose #1996 > │ v0 │
00:02:41 verbose #1997 > │ and method24 (v0 : pyo3_Python, v1 : string, v2 : │
00:02:41 verbose #1998 > │ num_complex_Complex<float>) : Result<num_complex_Complex<float>, │
00:02:41 verbose #1999 > │ std_string_String> = │
00:02:41 verbose #2000 > │ let v3 : string = $"import sys" │
00:02:41 verbose #2001 > │ let v4 : string = $"import traceback" │
00:02:41 verbose #2002 > │ let v5 : string = $"import re" │
00:02:41 verbose #2003 > │ let v6 : string = $"count = 0" │
00:02:41 verbose #2004 > │ let v7 : string = $"memory_address_pattern = re.compile(r' at 0x[ │
00:02:41 verbose #2005 > │ 0-9a-fA-F]+')" │
00:02:41 verbose #2006 > │ let v8 : string = $"def trace_calls(frame, event, arg):" │
00:02:41 verbose #2007 > │ let v9 : string = $" global count" │
00:02:41 verbose #2008 > │ let v10 : string = $" count += 1" │
00:02:41 verbose #2009 > │ let v11 : string = $" if count < 200:" │
00:02:41 verbose #2010 > │ let v12 : string = $" try:" │
00:02:41 verbose #2011 > │ let v13 : string = $" args = {{ k: v for k, v in │
00:02:41 verbose #2012 > │ frame.f_locals.items() if frame.f_code.co_name != 'make_mpc' and k not in [ │
00:02:41 verbose #2013 > │ 'ctx'] and not callable(v) }}" │
00:02:41 verbose #2014 > │ let v14 : string = $" args_str = ', '.join([ │
00:02:41 verbose #2015 > │ f\"{{k}}={{re.sub(memory_address_pattern, ' at 0x<?>', repr(v))}}\" for k, v │
00:02:41 verbose #2016 > │ in args.items() ])" │
00:02:41 verbose #2017 > │ let v15 : string = "gamma_" │
00:02:41 verbose #2018 > │ let v16 : string = $" print(f\"{{event}}({v15}) / │
00:02:41 verbose #2019 > │ f_code.co_name: {{frame.f_code.co_name}} / f_locals: {{args_str}} / │
00:02:41 verbose #2020 > │ f_lineno: {{frame.f_lineno}} / f_code.co_filename: │
00:02:41 verbose #2021 > │ {{frame.f_code.co_filename.split('site-packages')[-1]}} / f_back.f_lineno: │
00:02:41 verbose #2022 > │ {{ '' if frame.f_back is None else frame.f_back.f_lineno }} / │
00:02:41 verbose #2023 > │ f_back.f_code.co_filename: {{ '' if frame.f_back is None else │
00:02:41 verbose #2024 > │ frame.f_back.f_code.co_filename.split('site-packages')[-1] }} / arg: │
00:02:41 verbose #2025 > │ {{re.sub(memory_address_pattern, ' at 0x<?>', repr(arg))}}\", flush=True)" │
00:02:41 verbose #2026 > │ let v17 : string = $" except ValueError as e:" │
00:02:41 verbose #2027 > │ let v18 : string = $" print(f'{v15} / e: {{e}}', flush=True)" │
00:02:41 verbose #2028 > │ let v19 : string = $" return trace_calls" │
00:02:41 verbose #2029 > │ let v20 : string = $"import mpmath" │
00:02:41 verbose #2030 > │ let v21 : string = $"def fn(log, s):" │
00:02:41 verbose #2031 > │ let v22 : string = $" global count" │
00:02:41 verbose #2032 > │ let v23 : string = $" if log:" │
00:02:41 verbose #2033 > │ let v24 : string = $" print(f'{v15} / s: {{s}} / count: │
00:02:41 verbose #2034 > │ {{count}}', flush=True)" │
00:02:41 verbose #2035 > │ let v25 : string = $" s = complex(*s)" │
00:02:41 verbose #2036 > │ let v26 : string = $" try:" │
00:02:41 verbose #2037 > │ let v27 : string = $" if log: sys.settrace(trace_calls)" │
00:02:41 verbose #2038 > │ let v28 : string = $" if log:" │
00:02:41 verbose #2039 > │ let v29 : string = $" sys.settrace(None)" │
00:02:41 verbose #2040 > │ let v30 : string = $" print(f'{v15} / result: {{s}} / count: │
00:02:41 verbose #2041 > │ {{count}}', flush=True)" │
00:02:41 verbose #2042 > │ let v31 : string = $" except ValueError as e:" │
00:02:41 verbose #2043 > │ let v32 : string = $" if s.real == 1:" │
00:02:41 verbose #2044 > │ let v33 : string = $" s = complex(float('inf'), 0)" │
00:02:41 verbose #2045 > │ let v34 : string = $" return (s.real, s.imag)" │
00:02:41 verbose #2046 > │ let v35 : (string []) = [|v3; v4; v5; v6; v7; v8; v9; v10; v11; v12; │
00:02:41 verbose #2047 > │ v13; v14; v16; v17; v18; v19; v20; v21; v22; v23; v24; v25; v26; v27; v1; │
00:02:41 verbose #2048 > │ v28; v29; v30; v31; v32; v33; v34|] │
00:02:41 verbose #2049 > │ let v36 : string = method5(v35) │
00:02:41 verbose #2050 > │ let v37 : num_complex_Complex<float> = method7(v2) │
00:02:41 verbose #2051 > │ let v38 : string = "v37.re" │
00:02:41 verbose #2052 > │ let v39 : float = Fable.Core.RustInterop.emitRustExpr () v38 │
00:02:41 verbose #2053 > │ let v40 : num_complex_Complex<float> = method8(v2) │
00:02:41 verbose #2054 > │ let v41 : string = "v40.im" │
00:02:41 verbose #2055 > │ let v42 : float = Fable.Core.RustInterop.emitRustExpr () v41 │
00:02:41 verbose #2056 > │ let v43 : (float * float) = v39, v42 │
00:02:41 verbose #2057 > │ let v44 : (bool * (float * float)) = false, v43 │
00:02:41 verbose #2058 > │ let v45 : pyo3_Python = method9(v0) │
00:02:41 verbose #2059 > │ let v46 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:02:41 verbose #2060 > │ let v47 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v36 v46 │
00:02:41 verbose #2061 > │ let v48 : string = "pyo3::types::PyModule::from_code_bound(v45, v47, │
00:02:41 verbose #2062 > │ \"\", \"\")" │
00:02:41 verbose #2063 > │ let v49 : Result<pyo3_Bound<pyo3_types_PyModule>, pyo3_PyErr> = │
00:02:41 verbose #2064 > │ Fable.Core.RustInterop.emitRustExpr () v48 │
00:02:41 verbose #2065 > │ let v50 : (pyo3_PyErr -> std_string_String) = method10() │
00:02:41 verbose #2066 > │ let v51 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #2067 > │ let v52 : Result<pyo3_Bound<pyo3_types_PyModule>, std_string_String> = │
00:02:41 verbose #2068 > │ Fable.Core.RustInterop.emitRustExpr struct (v49, v50) v51 │
00:02:41 verbose #2069 > │ let v53 : string = "$0.unwrap()" │
00:02:41 verbose #2070 > │ let v54 : pyo3_Bound<pyo3_types_PyModule> = │
00:02:41 verbose #2071 > │ Fable.Core.RustInterop.emitRustExpr v52 v53 │
00:02:41 verbose #2072 > │ let v55 : string = method11() │
00:02:41 verbose #2073 > │ let v56 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:02:41 verbose #2074 > │ let v57 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v55 v56 │
00:02:41 verbose #2075 > │ let v58 : pyo3_Bound<pyo3_types_PyModule> = method12(v54) │
00:02:41 verbose #2076 > │ let v59 : string = "v58.getattr(v57)" │
00:02:41 verbose #2077 > │ let v60 : Result<pyo3_Bound<pyo3_PyAny>, pyo3_PyErr> = │
00:02:41 verbose #2078 > │ Fable.Core.RustInterop.emitRustExpr () v59 │
00:02:41 verbose #2079 > │ let v61 : (pyo3_PyErr -> std_string_String) = method13() │
00:02:41 verbose #2080 > │ let v62 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #2081 > │ let v63 : Result<pyo3_Bound<pyo3_PyAny>, std_string_String> = │
00:02:41 verbose #2082 > │ Fable.Core.RustInterop.emitRustExpr struct (v60, v61) v62 │
00:02:41 verbose #2083 > │ let v64 : string = "$0.unwrap()" │
00:02:41 verbose #2084 > │ let v65 : pyo3_Bound<pyo3_PyAny> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2085 > │ v63 v64 │
00:02:41 verbose #2086 > │ let v66 : (bool * (float * float)) = method14(v44) │
00:02:41 verbose #2087 > │ let v67 : pyo3_Bound<pyo3_PyAny> = method15(v65) │
00:02:41 verbose #2088 > │ let v68 : string = "pyo3::prelude::PyAnyMethods::call(&v67, ((*v66).0, │
00:02:41 verbose #2089 > │ *(*v66).1), None)" │
00:02:41 verbose #2090 > │ let v69 : Result<pyo3_Bound<pyo3_PyAny>, pyo3_PyErr> = │
00:02:41 verbose #2091 > │ Fable.Core.RustInterop.emitRustExpr () v68 │
00:02:41 verbose #2092 > │ let v70 : (pyo3_PyErr -> std_string_String) = method16() │
00:02:41 verbose #2093 > │ let v71 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #2094 > │ let v72 : Result<pyo3_Bound<pyo3_PyAny>, std_string_String> = │
00:02:41 verbose #2095 > │ Fable.Core.RustInterop.emitRustExpr struct (v69, v70) v71 │
00:02:41 verbose #2096 > │ let v73 : string = "$0?" │
00:02:41 verbose #2097 > │ let v74 : pyo3_Bound<pyo3_PyAny> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2098 > │ v72 v73 │
00:02:41 verbose #2099 > │ let v75 : pyo3_Bound<pyo3_PyAny> = method17(v74) │
00:02:41 verbose #2100 > │ let v76 : string = "v75.extract()" │
00:02:41 verbose #2101 > │ let v77 : Result<struct (float * float), pyo3_PyErr> = │
00:02:41 verbose #2102 > │ Fable.Core.RustInterop.emitRustExpr () v76 │
00:02:41 verbose #2103 > │ let v78 : (pyo3_PyErr -> std_string_String) = method18() │
00:02:41 verbose #2104 > │ let v79 : string = "$0.map_err(|x| $1(x))" │
00:02:41 verbose #2105 > │ let v80 : Result<struct (float * float), std_string_String> = │
00:02:41 verbose #2106 > │ Fable.Core.RustInterop.emitRustExpr struct (v77, v78) v79 │
00:02:41 verbose #2107 > │ let v81 : string = "$0?" │
00:02:41 verbose #2108 > │ let struct (v82 : float, v83 : float) = │
00:02:41 verbose #2109 > │ Fable.Core.RustInterop.emitRustExpr v80 v81 │
00:02:41 verbose #2110 > │ let v84 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2111 > │ let v85 : num_complex_Complex<float> = │
00:02:41 verbose #2112 > │ Fable.Core.RustInterop.emitRustExpr struct (v82, v83) v84 │
00:02:41 verbose #2113 > │ let v86 : Result<num_complex_Complex<float>, std_string_String> = Ok v85 │
00:02:41 verbose #2114 > │ v86 │
00:02:41 verbose #2115 > │ and closure5 () (v0 : num_complex_Complex<float>) : US0 = │
00:02:41 verbose #2116 > │ US0_0(v0) │
00:02:41 verbose #2117 > │ and method25 () : (num_complex_Complex<float> -> US0) = │
00:02:41 verbose #2118 > │ closure5() │
00:02:41 verbose #2119 > │ and method19 (v0 : pyo3_Python, v1 : num_complex_Complex<float>) : │
00:02:41 verbose #2120 > │ num_complex_Complex<float> = │
00:02:41 verbose #2121 > │ let v2 : string = "println!(\"zeta / count: {:?} / s: {:?}\", 0, $0)" │
00:02:41 verbose #2122 > │ Fable.Core.RustInterop.emitRustExpr v1 v2 │
00:02:41 verbose #2123 > │ let v3 : num_complex_Complex<float> = method7(v1) │
00:02:41 verbose #2124 > │ let v4 : string = "v3.re" │
00:02:41 verbose #2125 > │ let v5 : float = Fable.Core.RustInterop.emitRustExpr () v4 │
00:02:41 verbose #2126 > │ let v6 : bool = v5 > 1.0 │
00:02:41 verbose #2127 > │ if v6 then │
00:02:41 verbose #2128 > │ let v7 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2129 > │ let v8 : num_complex_Complex<float> = │
00:02:41 verbose #2130 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, 0.0) v7 │
00:02:41 verbose #2131 > │ let v9 : (int32 []) = Array.zeroCreate<int32> (10000) │
00:02:41 verbose #2132 > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #2133 > │ while method20(v10) do │
00:02:41 verbose #2134 > │ let v12 : int32 = v10.l0 │
00:02:41 verbose #2135 > │ v9.[int v12] <- v12 │
00:02:41 verbose #2136 > │ let v13 : int32 = v12 + 1 │
00:02:41 verbose #2137 > │ v10.l0 <- v13 │
00:02:41 verbose #2138 > │ () │
00:02:41 verbose #2139 > │ let v14 : int32 = v9.Length │
00:02:41 verbose #2140 > │ let v15 : Mut2 = {l0 = 0; l1 = v8} : Mut2 │
00:02:41 verbose #2141 > │ while method21(v14, v15) do │
00:02:41 verbose #2142 > │ let v17 : int32 = v15.l0 │
00:02:41 verbose #2143 > │ let v18 : num_complex_Complex<float> = v15.l1 │
00:02:41 verbose #2144 > │ let v19 : int32 = v9.[int v17] │
00:02:41 verbose #2145 > │ let v20 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2146 > │ let v21 : num_complex_Complex<float> = │
00:02:41 verbose #2147 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v20 │
00:02:41 verbose #2148 > │ let v22 : float = float v19 │
00:02:41 verbose #2149 > │ let v23 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2150 > │ let v24 : num_complex_Complex<float> = │
00:02:41 verbose #2151 > │ Fable.Core.RustInterop.emitRustExpr struct (v22, 0.0) v23 │
00:02:41 verbose #2152 > │ let v25 : num_complex_Complex<float> = method22(v24) │
00:02:41 verbose #2153 > │ let v26 : num_complex_Complex<float> = method23(v1) │
00:02:41 verbose #2154 > │ let v27 : string = "num_complex::Complex::powc(v25, v26)" │
00:02:41 verbose #2155 > │ let v28 : num_complex_Complex<float> = │
00:02:41 verbose #2156 > │ Fable.Core.RustInterop.emitRustExpr () v27 │
00:02:41 verbose #2157 > │ let v29 : string = "v21 / v28" │
00:02:41 verbose #2158 > │ let v30 : num_complex_Complex<float> = │
00:02:41 verbose #2159 > │ Fable.Core.RustInterop.emitRustExpr () v29 │
00:02:41 verbose #2160 > │ let v31 : string = "v18 + v30" │
00:02:41 verbose #2161 > │ let v32 : num_complex_Complex<float> = │
00:02:41 verbose #2162 > │ Fable.Core.RustInterop.emitRustExpr () v31 │
00:02:41 verbose #2163 > │ let v33 : int32 = v17 + 1 │
00:02:41 verbose #2164 > │ v15.l0 <- v33 │
00:02:41 verbose #2165 > │ v15.l1 <- v32 │
00:02:41 verbose #2166 > │ () │
00:02:41 verbose #2167 > │ let v34 : num_complex_Complex<float> = v15.l1 │
00:02:41 verbose #2168 > │ v34 │
00:02:41 verbose #2169 > │ else │
00:02:41 verbose #2170 > │ let v35 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2171 > │ let v36 : num_complex_Complex<float> = │
00:02:41 verbose #2172 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v35 │
00:02:41 verbose #2173 > │ let v37 : string = "$0 - $1" │
00:02:41 verbose #2174 > │ let v38 : num_complex_Complex<float> = │
00:02:41 verbose #2175 > │ Fable.Core.RustInterop.emitRustExpr struct (v36, v1) v37 │
00:02:41 verbose #2176 > │ let v39 : string = $" s = mpmath.gamma(s)" │
00:02:41 verbose #2177 > │ let v40 : num_complex_Complex<float> = method3(v38) │
00:02:41 verbose #2178 > │ let v41 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #2179 > │ method24(v0, v39, v40) │
00:02:41 verbose #2180 > │ let v42 : string = "v41.ok()" │
00:02:41 verbose #2181 > │ let v43 : num_complex_Complex<float> option = │
00:02:41 verbose #2182 > │ Fable.Core.RustInterop.emitRustExpr () v42 │
00:02:41 verbose #2183 > │ let v44 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #2184 > │ let v45 : US0 = US0_1 │
00:02:41 verbose #2185 > │ let v46 : US0 = v43 |> Option.map v44 |> Option.defaultValue v45 │
00:02:41 verbose #2186 > │ let v47 : string = "f64::NAN" │
00:02:41 verbose #2187 > │ let v48 : float = Fable.Core.RustInterop.emitRustExpr () v47 │
00:02:41 verbose #2188 > │ let v49 : string = "f64::NAN" │
00:02:41 verbose #2189 > │ let v50 : float = Fable.Core.RustInterop.emitRustExpr () v49 │
00:02:41 verbose #2190 > │ let v51 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2191 > │ let v52 : num_complex_Complex<float> = │
00:02:41 verbose #2192 > │ Fable.Core.RustInterop.emitRustExpr struct (v48, v50) v51 │
00:02:41 verbose #2193 > │ let v55 : num_complex_Complex<float> = │
00:02:41 verbose #2194 > │ match v46 with │
00:02:41 verbose #2195 > │ | US0_1 -> (* None *) │
00:02:41 verbose #2196 > │ v52 │
00:02:41 verbose #2197 > │ | US0_0(v53) -> (* Some *) │
00:02:41 verbose #2198 > │ v53 │
00:02:41 verbose #2199 > │ let v56 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2200 > │ let v57 : num_complex_Complex<float> = │
00:02:41 verbose #2201 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v56 │
00:02:41 verbose #2202 > │ let v58 : string = "$0 * $1" │
00:02:41 verbose #2203 > │ let v59 : num_complex_Complex<float> = │
00:02:41 verbose #2204 > │ Fable.Core.RustInterop.emitRustExpr struct (v57, v1) v58 │
00:02:41 verbose #2205 > │ let v60 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2206 > │ let v61 : num_complex_Complex<float> = │
00:02:41 verbose #2207 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v60 │
00:02:41 verbose #2208 > │ let v62 : string = "v59 / v61" │
00:02:41 verbose #2209 > │ let v63 : num_complex_Complex<float> = │
00:02:41 verbose #2210 > │ Fable.Core.RustInterop.emitRustExpr () v62 │
00:02:41 verbose #2211 > │ let v64 : string = "v63.sin()" │
00:02:41 verbose #2212 > │ let v65 : num_complex_Complex<float> = │
00:02:41 verbose #2213 > │ Fable.Core.RustInterop.emitRustExpr () v64 │
00:02:41 verbose #2214 > │ let v66 : num_complex_Complex<float> = method7(v1) │
00:02:41 verbose #2215 > │ let v67 : string = "v66.re" │
00:02:41 verbose #2216 > │ let v68 : float = Fable.Core.RustInterop.emitRustExpr () v67 │
00:02:41 verbose #2217 > │ let v69 : float = 1.0 - v68 │
00:02:41 verbose #2218 > │ let v70 : num_complex_Complex<float> = method8(v1) │
00:02:41 verbose #2219 > │ let v71 : string = "v70.im" │
00:02:41 verbose #2220 > │ let v72 : float = Fable.Core.RustInterop.emitRustExpr () v71 │
00:02:41 verbose #2221 > │ let v73 : float = -v72 │
00:02:41 verbose #2222 > │ let v74 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2223 > │ let v75 : num_complex_Complex<float> = │
00:02:41 verbose #2224 > │ Fable.Core.RustInterop.emitRustExpr struct (v69, v73) v74 │
00:02:41 verbose #2225 > │ let v76 : num_complex_Complex<float> = method7(v75) │
00:02:41 verbose #2226 > │ let v77 : string = "v76.re" │
00:02:41 verbose #2227 > │ let v78 : float = Fable.Core.RustInterop.emitRustExpr () v77 │
00:02:41 verbose #2228 > │ let v79 : bool = v78 <= 1.0 │
00:02:41 verbose #2229 > │ let v474 : num_complex_Complex<float> = │
00:02:41 verbose #2230 > │ if v79 then │
00:02:41 verbose #2231 > │ let v80 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2232 > │ let v81 : num_complex_Complex<float> = │
00:02:41 verbose #2233 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, 0.0) v80 │
00:02:41 verbose #2234 > │ v81 │
00:02:41 verbose #2235 > │ else │
00:02:41 verbose #2236 > │ let v82 : string = "println!(\"zeta / count: {:?} / s: │
00:02:41 verbose #2237 > │ {:?}\", 1, $0)" │
00:02:41 verbose #2238 > │ Fable.Core.RustInterop.emitRustExpr v75 v82 │
00:02:41 verbose #2239 > │ let v83 : num_complex_Complex<float> = method7(v75) │
00:02:41 verbose #2240 > │ let v84 : string = "v83.re" │
00:02:41 verbose #2241 > │ let v85 : float = Fable.Core.RustInterop.emitRustExpr () v84 │
00:02:41 verbose #2242 > │ let v86 : bool = v85 > 1.0 │
00:02:41 verbose #2243 > │ if v86 then │
00:02:41 verbose #2244 > │ let v87 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2245 > │ let v88 : num_complex_Complex<float> = │
00:02:41 verbose #2246 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, 0.0) v87 │
00:02:41 verbose #2247 > │ let v89 : (int32 []) = Array.zeroCreate<int32> (10000) │
00:02:41 verbose #2248 > │ let v90 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #2249 > │ while method20(v90) do │
00:02:41 verbose #2250 > │ let v92 : int32 = v90.l0 │
00:02:41 verbose #2251 > │ v89.[int v92] <- v92 │
00:02:41 verbose #2252 > │ let v93 : int32 = v92 + 1 │
00:02:41 verbose #2253 > │ v90.l0 <- v93 │
00:02:41 verbose #2254 > │ () │
00:02:41 verbose #2255 > │ let v94 : int32 = v89.Length │
00:02:41 verbose #2256 > │ let v95 : Mut2 = {l0 = 0; l1 = v88} : Mut2 │
00:02:41 verbose #2257 > │ while method21(v94, v95) do │
00:02:41 verbose #2258 > │ let v97 : int32 = v95.l0 │
00:02:41 verbose #2259 > │ let v98 : num_complex_Complex<float> = v95.l1 │
00:02:41 verbose #2260 > │ let v99 : int32 = v89.[int v97] │
00:02:41 verbose #2261 > │ let v100 : string = "num_complex::Complex::new($0, │
00:02:41 verbose #2262 > │ $1)" │
00:02:41 verbose #2263 > │ let v101 : num_complex_Complex<float> = │
00:02:41 verbose #2264 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v100 │
00:02:41 verbose #2265 > │ let v102 : float = float v99 │
00:02:41 verbose #2266 > │ let v103 : string = "num_complex::Complex::new($0, │
00:02:41 verbose #2267 > │ $1)" │
00:02:41 verbose #2268 > │ let v104 : num_complex_Complex<float> = │
00:02:41 verbose #2269 > │ Fable.Core.RustInterop.emitRustExpr struct (v102, 0.0) v103 │
00:02:41 verbose #2270 > │ let v105 : num_complex_Complex<float> = │
00:02:41 verbose #2271 > │ method22(v104) │
00:02:41 verbose #2272 > │ let v106 : num_complex_Complex<float> = │
00:02:41 verbose #2273 > │ method23(v75) │
00:02:41 verbose #2274 > │ let v107 : string = │
00:02:41 verbose #2275 > │ "num_complex::Complex::powc(v105, v106)" │
00:02:41 verbose #2276 > │ let v108 : num_complex_Complex<float> = │
00:02:41 verbose #2277 > │ Fable.Core.RustInterop.emitRustExpr () v107 │
00:02:41 verbose #2278 > │ let v109 : string = "v101 / v108" │
00:02:41 verbose #2279 > │ let v110 : num_complex_Complex<float> = │
00:02:41 verbose #2280 > │ Fable.Core.RustInterop.emitRustExpr () v109 │
00:02:41 verbose #2281 > │ let v111 : string = "v98 + v110" │
00:02:41 verbose #2282 > │ let v112 : num_complex_Complex<float> = │
00:02:41 verbose #2283 > │ Fable.Core.RustInterop.emitRustExpr () v111 │
00:02:41 verbose #2284 > │ let v113 : int32 = v97 + 1 │
00:02:41 verbose #2285 > │ v95.l0 <- v113 │
00:02:41 verbose #2286 > │ v95.l1 <- v112 │
00:02:41 verbose #2287 > │ () │
00:02:41 verbose #2288 > │ let v114 : num_complex_Complex<float> = v95.l1 │
00:02:41 verbose #2289 > │ v114 │
00:02:41 verbose #2290 > │ else │
00:02:41 verbose #2291 > │ let v115 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2292 > │ let v116 : num_complex_Complex<float> = │
00:02:41 verbose #2293 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v115 │
00:02:41 verbose #2294 > │ let v117 : string = "$0 - $1" │
00:02:41 verbose #2295 > │ let v118 : num_complex_Complex<float> = │
00:02:41 verbose #2296 > │ Fable.Core.RustInterop.emitRustExpr struct (v116, v75) v117 │
00:02:41 verbose #2297 > │ let v119 : string = $" s = mpmath.gamma(s)" │
00:02:41 verbose #2298 > │ let v120 : num_complex_Complex<float> = method3(v118) │
00:02:41 verbose #2299 > │ let v121 : Result<num_complex_Complex<float>, │
00:02:41 verbose #2300 > │ std_string_String> = method24(v0, v119, v120) │
00:02:41 verbose #2301 > │ let v122 : string = "v121.ok()" │
00:02:41 verbose #2302 > │ let v123 : num_complex_Complex<float> option = │
00:02:41 verbose #2303 > │ Fable.Core.RustInterop.emitRustExpr () v122 │
00:02:41 verbose #2304 > │ let v124 : (num_complex_Complex<float> -> US0) = │
00:02:41 verbose #2305 > │ method25() │
00:02:41 verbose #2306 > │ let v125 : US0 = US0_1 │
00:02:41 verbose #2307 > │ let v126 : US0 = v123 |> Option.map v124 |> │
00:02:41 verbose #2308 > │ Option.defaultValue v125 │
00:02:41 verbose #2309 > │ let v127 : string = "f64::NAN" │
00:02:41 verbose #2310 > │ let v128 : float = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2311 > │ () v127 │
00:02:41 verbose #2312 > │ let v129 : string = "f64::NAN" │
00:02:41 verbose #2313 > │ let v130 : float = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2314 > │ () v129 │
00:02:41 verbose #2315 > │ let v131 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2316 > │ let v132 : num_complex_Complex<float> = │
00:02:41 verbose #2317 > │ Fable.Core.RustInterop.emitRustExpr struct (v128, v130) v131 │
00:02:41 verbose #2318 > │ let v135 : num_complex_Complex<float> = │
00:02:41 verbose #2319 > │ match v126 with │
00:02:41 verbose #2320 > │ | US0_1 -> (* None *) │
00:02:41 verbose #2321 > │ v132 │
00:02:41 verbose #2322 > │ | US0_0(v133) -> (* Some *) │
00:02:41 verbose #2323 > │ v133 │
00:02:41 verbose #2324 > │ let v136 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2325 > │ let v137 : num_complex_Complex<float> = │
00:02:41 verbose #2326 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v136 │
00:02:41 verbose #2327 > │ let v138 : string = "$0 * $1" │
00:02:41 verbose #2328 > │ let v139 : num_complex_Complex<float> = │
00:02:41 verbose #2329 > │ Fable.Core.RustInterop.emitRustExpr struct (v137, v75) v138 │
00:02:41 verbose #2330 > │ let v140 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2331 > │ let v141 : num_complex_Complex<float> = │
00:02:41 verbose #2332 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v140 │
00:02:41 verbose #2333 > │ let v142 : string = "v139 / v141" │
00:02:41 verbose #2334 > │ let v143 : num_complex_Complex<float> = │
00:02:41 verbose #2335 > │ Fable.Core.RustInterop.emitRustExpr () v142 │
00:02:41 verbose #2336 > │ let v144 : string = "v143.sin()" │
00:02:41 verbose #2337 > │ let v145 : num_complex_Complex<float> = │
00:02:41 verbose #2338 > │ Fable.Core.RustInterop.emitRustExpr () v144 │
00:02:41 verbose #2339 > │ let v146 : num_complex_Complex<float> = method7(v75) │
00:02:41 verbose #2340 > │ let v147 : string = "v146.re" │
00:02:41 verbose #2341 > │ let v148 : float = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2342 > │ () v147 │
00:02:41 verbose #2343 > │ let v149 : float = 1.0 - v148 │
00:02:41 verbose #2344 > │ let v150 : num_complex_Complex<float> = method8(v75) │
00:02:41 verbose #2345 > │ let v151 : string = "v150.im" │
00:02:41 verbose #2346 > │ let v152 : float = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2347 > │ () v151 │
00:02:41 verbose #2348 > │ let v153 : float = -v152 │
00:02:41 verbose #2349 > │ let v154 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2350 > │ let v155 : num_complex_Complex<float> = │
00:02:41 verbose #2351 > │ Fable.Core.RustInterop.emitRustExpr struct (v149, v153) v154 │
00:02:41 verbose #2352 > │ let v156 : num_complex_Complex<float> = method7(v155) │
00:02:41 verbose #2353 > │ let v157 : string = "v156.re" │
00:02:41 verbose #2354 > │ let v158 : float = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2355 > │ () v157 │
00:02:41 verbose #2356 > │ let v159 : bool = v158 <= 1.0 │
00:02:41 verbose #2357 > │ let v456 : num_complex_Complex<float> = │
00:02:41 verbose #2358 > │ if v159 then │
00:02:41 verbose #2359 > │ let v160 : string = │
00:02:41 verbose #2360 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2361 > │ let v161 : num_complex_Complex<float> = │
00:02:41 verbose #2362 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, 0.0) v160 │
00:02:41 verbose #2363 > │ v161 │
00:02:41 verbose #2364 > │ else │
00:02:41 verbose #2365 > │ let v162 : string = "println!(\"zeta / count: │
00:02:41 verbose #2366 > │ {:?} / s: {:?}\", 2, $0)" │
00:02:41 verbose #2367 > │ Fable.Core.RustInterop.emitRustExpr v155 v162 │
00:02:41 verbose #2368 > │ let v163 : num_complex_Complex<float> = │
00:02:41 verbose #2369 > │ method7(v155) │
00:02:41 verbose #2370 > │ let v164 : string = "v163.re" │
00:02:41 verbose #2371 > │ let v165 : float = │
00:02:41 verbose #2372 > │ Fable.Core.RustInterop.emitRustExpr () v164 │
00:02:41 verbose #2373 > │ let v166 : bool = v165 > 1.0 │
00:02:41 verbose #2374 > │ if v166 then │
00:02:41 verbose #2375 > │ let v167 : string = │
00:02:41 verbose #2376 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2377 > │ let v168 : num_complex_Complex<float> = │
00:02:41 verbose #2378 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, 0.0) v167 │
00:02:41 verbose #2379 > │ let v169 : (int32 []) = │
00:02:41 verbose #2380 > │ Array.zeroCreate<int32> (10000) │
00:02:41 verbose #2381 > │ let v170 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #2382 > │ while method20(v170) do │
00:02:41 verbose #2383 > │ let v172 : int32 = v170.l0 │
00:02:41 verbose #2384 > │ v169.[int v172] <- v172 │
00:02:41 verbose #2385 > │ let v173 : int32 = v172 + 1 │
00:02:41 verbose #2386 > │ v170.l0 <- v173 │
00:02:41 verbose #2387 > │ () │
00:02:41 verbose #2388 > │ let v174 : int32 = v169.Length │
00:02:41 verbose #2389 > │ let v175 : Mut2 = {l0 = 0; l1 = v168} : Mut2 │
00:02:41 verbose #2390 > │ while method21(v174, v175) do │
00:02:41 verbose #2391 > │ let v177 : int32 = v175.l0 │
00:02:41 verbose #2392 > │ let v178 : num_complex_Complex<float> = │
00:02:41 verbose #2393 > │ v175.l1 │
00:02:41 verbose #2394 > │ let v179 : int32 = v169.[int v177] │
00:02:41 verbose #2395 > │ let v180 : string = │
00:02:41 verbose #2396 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2397 > │ let v181 : num_complex_Complex<float> = │
00:02:41 verbose #2398 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v180 │
00:02:41 verbose #2399 > │ let v182 : float = float v179 │
00:02:41 verbose #2400 > │ let v183 : string = │
00:02:41 verbose #2401 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2402 > │ let v184 : num_complex_Complex<float> = │
00:02:41 verbose #2403 > │ Fable.Core.RustInterop.emitRustExpr struct (v182, 0.0) v183 │
00:02:41 verbose #2404 > │ let v185 : num_complex_Complex<float> = │
00:02:41 verbose #2405 > │ method22(v184) │
00:02:41 verbose #2406 > │ let v186 : num_complex_Complex<float> = │
00:02:41 verbose #2407 > │ method23(v155) │
00:02:41 verbose #2408 > │ let v187 : string = │
00:02:41 verbose #2409 > │ "num_complex::Complex::powc(v185, v186)" │
00:02:41 verbose #2410 > │ let v188 : num_complex_Complex<float> = │
00:02:41 verbose #2411 > │ Fable.Core.RustInterop.emitRustExpr () v187 │
00:02:41 verbose #2412 > │ let v189 : string = "v181 / v188" │
00:02:41 verbose #2413 > │ let v190 : num_complex_Complex<float> = │
00:02:41 verbose #2414 > │ Fable.Core.RustInterop.emitRustExpr () v189 │
00:02:41 verbose #2415 > │ let v191 : string = "v178 + v190" │
00:02:41 verbose #2416 > │ let v192 : num_complex_Complex<float> = │
00:02:41 verbose #2417 > │ Fable.Core.RustInterop.emitRustExpr () v191 │
00:02:41 verbose #2418 > │ let v193 : int32 = v177 + 1 │
00:02:41 verbose #2419 > │ v175.l0 <- v193 │
00:02:41 verbose #2420 > │ v175.l1 <- v192 │
00:02:41 verbose #2421 > │ () │
00:02:41 verbose #2422 > │ let v194 : num_complex_Complex<float> = │
00:02:41 verbose #2423 > │ v175.l1 │
00:02:41 verbose #2424 > │ v194 │
00:02:41 verbose #2425 > │ else │
00:02:41 verbose #2426 > │ let v195 : string = │
00:02:41 verbose #2427 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2428 > │ let v196 : num_complex_Complex<float> = │
00:02:41 verbose #2429 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v195 │
00:02:41 verbose #2430 > │ let v197 : string = "$0 - $1" │
00:02:41 verbose #2431 > │ let v198 : num_complex_Complex<float> = │
00:02:41 verbose #2432 > │ Fable.Core.RustInterop.emitRustExpr struct (v196, v155) v197 │
00:02:41 verbose #2433 > │ let v199 : string = $" s = │
00:02:41 verbose #2434 > │ mpmath.gamma(s)" │
00:02:41 verbose #2435 > │ let v200 : num_complex_Complex<float> = │
00:02:41 verbose #2436 > │ method3(v198) │
00:02:41 verbose #2437 > │ let v201 : │
00:02:41 verbose #2438 > │ Result<num_complex_Complex<float>, std_string_String> = method24(v0, v199, │
00:02:41 verbose #2439 > │ v200) │
00:02:41 verbose #2440 > │ let v202 : string = "v201.ok()" │
00:02:41 verbose #2441 > │ let v203 : num_complex_Complex<float> option │
00:02:41 verbose #2442 > │ = Fable.Core.RustInterop.emitRustExpr () v202 │
00:02:41 verbose #2443 > │ let v204 : (num_complex_Complex<float> -> │
00:02:41 verbose #2444 > │ US0) = method25() │
00:02:41 verbose #2445 > │ let v205 : US0 = US0_1 │
00:02:41 verbose #2446 > │ let v206 : US0 = v203 |> Option.map v204 |> │
00:02:41 verbose #2447 > │ Option.defaultValue v205 │
00:02:41 verbose #2448 > │ let v207 : string = "f64::NAN" │
00:02:41 verbose #2449 > │ let v208 : float = │
00:02:41 verbose #2450 > │ Fable.Core.RustInterop.emitRustExpr () v207 │
00:02:41 verbose #2451 > │ let v209 : string = "f64::NAN" │
00:02:41 verbose #2452 > │ let v210 : float = │
00:02:41 verbose #2453 > │ Fable.Core.RustInterop.emitRustExpr () v209 │
00:02:41 verbose #2454 > │ let v211 : string = │
00:02:41 verbose #2455 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2456 > │ let v212 : num_complex_Complex<float> = │
00:02:41 verbose #2457 > │ Fable.Core.RustInterop.emitRustExpr struct (v208, v210) v211 │
00:02:41 verbose #2458 > │ let v215 : num_complex_Complex<float> = │
00:02:41 verbose #2459 > │ match v206 with │
00:02:41 verbose #2460 > │ | US0_1 -> (* None *) │
00:02:41 verbose #2461 > │ v212 │
00:02:41 verbose #2462 > │ | US0_0(v213) -> (* Some *) │
00:02:41 verbose #2463 > │ v213 │
00:02:41 verbose #2464 > │ let v216 : string = │
00:02:41 verbose #2465 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2466 > │ let v217 : num_complex_Complex<float> = │
00:02:41 verbose #2467 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v216 │
00:02:41 verbose #2468 > │ let v218 : string = "$0 * $1" │
00:02:41 verbose #2469 > │ let v219 : num_complex_Complex<float> = │
00:02:41 verbose #2470 > │ Fable.Core.RustInterop.emitRustExpr struct (v217, v155) v218 │
00:02:41 verbose #2471 > │ let v220 : string = │
00:02:41 verbose #2472 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2473 > │ let v221 : num_complex_Complex<float> = │
00:02:41 verbose #2474 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v220 │
00:02:41 verbose #2475 > │ let v222 : string = "v219 / v221" │
00:02:41 verbose #2476 > │ let v223 : num_complex_Complex<float> = │
00:02:41 verbose #2477 > │ Fable.Core.RustInterop.emitRustExpr () v222 │
00:02:41 verbose #2478 > │ let v224 : string = "v223.sin()" │
00:02:41 verbose #2479 > │ let v225 : num_complex_Complex<float> = │
00:02:41 verbose #2480 > │ Fable.Core.RustInterop.emitRustExpr () v224 │
00:02:41 verbose #2481 > │ let v226 : num_complex_Complex<float> = │
00:02:41 verbose #2482 > │ method7(v155) │
00:02:41 verbose #2483 > │ let v227 : string = "v226.re" │
00:02:41 verbose #2484 > │ let v228 : float = │
00:02:41 verbose #2485 > │ Fable.Core.RustInterop.emitRustExpr () v227 │
00:02:41 verbose #2486 > │ let v229 : float = 1.0 - v228 │
00:02:41 verbose #2487 > │ let v230 : num_complex_Complex<float> = │
00:02:41 verbose #2488 > │ method8(v155) │
00:02:41 verbose #2489 > │ let v231 : string = "v230.im" │
00:02:41 verbose #2490 > │ let v232 : float = │
00:02:41 verbose #2491 > │ Fable.Core.RustInterop.emitRustExpr () v231 │
00:02:41 verbose #2492 > │ let v233 : float = -v232 │
00:02:41 verbose #2493 > │ let v234 : string = │
00:02:41 verbose #2494 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2495 > │ let v235 : num_complex_Complex<float> = │
00:02:41 verbose #2496 > │ Fable.Core.RustInterop.emitRustExpr struct (v229, v233) v234 │
00:02:41 verbose #2497 > │ let v236 : num_complex_Complex<float> = │
00:02:41 verbose #2498 > │ method7(v235) │
00:02:41 verbose #2499 > │ let v237 : string = "v236.re" │
00:02:41 verbose #2500 > │ let v238 : float = │
00:02:41 verbose #2501 > │ Fable.Core.RustInterop.emitRustExpr () v237 │
00:02:41 verbose #2502 > │ let v239 : bool = v238 <= 1.0 │
00:02:41 verbose #2503 > │ let v438 : num_complex_Complex<float> = │
00:02:41 verbose #2504 > │ if v239 then │
00:02:41 verbose #2505 > │ let v240 : string = │
00:02:41 verbose #2506 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2507 > │ let v241 : │
00:02:41 verbose #2508 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2509 > │ (0.0, 0.0) v240 │
00:02:41 verbose #2510 > │ v241 │
00:02:41 verbose #2511 > │ else │
00:02:41 verbose #2512 > │ let v242 : string = "println!(\"zeta │
00:02:41 verbose #2513 > │ / count: {:?} / s: {:?}\", 3, $0)" │
00:02:41 verbose #2514 > │ Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #2515 > │ v235 v242 │
00:02:41 verbose #2516 > │ let v243 : │
00:02:41 verbose #2517 > │ num_complex_Complex<float> = method7(v235) │
00:02:41 verbose #2518 > │ let v244 : string = "v243.re" │
00:02:41 verbose #2519 > │ let v245 : float = │
00:02:41 verbose #2520 > │ Fable.Core.RustInterop.emitRustExpr () v244 │
00:02:41 verbose #2521 > │ let v246 : bool = v245 > 1.0 │
00:02:41 verbose #2522 > │ if v246 then │
00:02:41 verbose #2523 > │ let v247 : string = │
00:02:41 verbose #2524 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2525 > │ let v248 : │
00:02:41 verbose #2526 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2527 > │ (0.0, 0.0) v247 │
00:02:41 verbose #2528 > │ let v249 : (int32 []) = │
00:02:41 verbose #2529 > │ Array.zeroCreate<int32> (10000) │
00:02:41 verbose #2530 > │ let v250 : Mut0 = {l0 = 0} : │
00:02:41 verbose #2531 > │ Mut0 │
00:02:41 verbose #2532 > │ while method20(v250) do │
00:02:41 verbose #2533 > │ let v252 : int32 = v250.l0 │
00:02:41 verbose #2534 > │ v249.[int v252] <- v252 │
00:02:41 verbose #2535 > │ let v253 : int32 = v252 + 1 │
00:02:41 verbose #2536 > │ v250.l0 <- v253 │
00:02:41 verbose #2537 > │ () │
00:02:41 verbose #2538 > │ let v254 : int32 = v249.Length │
00:02:41 verbose #2539 > │ let v255 : Mut2 = {l0 = 0; l1 = │
00:02:41 verbose #2540 > │ v248} : Mut2 │
00:02:41 verbose #2541 > │ while method21(v254, v255) do │
00:02:41 verbose #2542 > │ let v257 : int32 = v255.l0 │
00:02:41 verbose #2543 > │ let v258 : │
00:02:41 verbose #2544 > │ num_complex_Complex<float> = v255.l1 │
00:02:41 verbose #2545 > │ let v259 : int32 = v249.[int │
00:02:41 verbose #2546 > │ v257] │
00:02:41 verbose #2547 > │ let v260 : string = │
00:02:41 verbose #2548 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2549 > │ let v261 : │
00:02:41 verbose #2550 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2551 > │ (1.0, 0.0) v260 │
00:02:41 verbose #2552 > │ let v262 : float = float │
00:02:41 verbose #2553 > │ v259 │
00:02:41 verbose #2554 > │ let v263 : string = │
00:02:41 verbose #2555 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2556 > │ let v264 : │
00:02:41 verbose #2557 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2558 > │ (v262, 0.0) v263 │
00:02:41 verbose #2559 > │ let v265 : │
00:02:41 verbose #2560 > │ num_complex_Complex<float> = method22(v264) │
00:02:41 verbose #2561 > │ let v266 : │
00:02:41 verbose #2562 > │ num_complex_Complex<float> = method23(v235) │
00:02:41 verbose #2563 > │ let v267 : string = │
00:02:41 verbose #2564 > │ "num_complex::Complex::powc(v265, v266)" │
00:02:41 verbose #2565 > │ let v268 : │
00:02:41 verbose #2566 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v267 │
00:02:41 verbose #2567 > │ let v269 : string = "v261 / │
00:02:41 verbose #2568 > │ v268" │
00:02:41 verbose #2569 > │ let v270 : │
00:02:41 verbose #2570 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v269 │
00:02:41 verbose #2571 > │ let v271 : string = "v258 + │
00:02:41 verbose #2572 > │ v270" │
00:02:41 verbose #2573 > │ let v272 : │
00:02:41 verbose #2574 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v271 │
00:02:41 verbose #2575 > │ let v273 : int32 = v257 + 1 │
00:02:41 verbose #2576 > │ v255.l0 <- v273 │
00:02:41 verbose #2577 > │ v255.l1 <- v272 │
00:02:41 verbose #2578 > │ () │
00:02:41 verbose #2579 > │ let v274 : │
00:02:41 verbose #2580 > │ num_complex_Complex<float> = v255.l1 │
00:02:41 verbose #2581 > │ v274 │
00:02:41 verbose #2582 > │ else │
00:02:41 verbose #2583 > │ let v275 : string = │
00:02:41 verbose #2584 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2585 > │ let v276 : │
00:02:41 verbose #2586 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2587 > │ (1.0, 0.0) v275 │
00:02:41 verbose #2588 > │ let v277 : string = "$0 - $1" │
00:02:41 verbose #2589 > │ let v278 : │
00:02:41 verbose #2590 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2591 > │ (v276, v235) v277 │
00:02:41 verbose #2592 > │ let v279 : string = $" s │
00:02:41 verbose #2593 > │ = mpmath.gamma(s)" │
00:02:41 verbose #2594 > │ let v280 : │
00:02:41 verbose #2595 > │ num_complex_Complex<float> = method3(v278) │
00:02:41 verbose #2596 > │ let v281 : │
00:02:41 verbose #2597 > │ Result<num_complex_Complex<float>, std_string_String> = method24(v0, v279, │
00:02:41 verbose #2598 > │ v280) │
00:02:41 verbose #2599 > │ let v282 : string = "v281.ok()" │
00:02:41 verbose #2600 > │ let v283 : │
00:02:41 verbose #2601 > │ num_complex_Complex<float> option = Fable.Core.RustInterop.emitRustExpr () │
00:02:41 verbose #2602 > │ v282 │
00:02:41 verbose #2603 > │ let v284 : │
00:02:41 verbose #2604 > │ (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #2605 > │ let v285 : US0 = US0_1 │
00:02:41 verbose #2606 > │ let v286 : US0 = v283 |> │
00:02:41 verbose #2607 > │ Option.map v284 |> Option.defaultValue v285 │
00:02:41 verbose #2608 > │ let v287 : string = "f64::NAN" │
00:02:41 verbose #2609 > │ let v288 : float = │
00:02:41 verbose #2610 > │ Fable.Core.RustInterop.emitRustExpr () v287 │
00:02:41 verbose #2611 > │ let v289 : string = "f64::NAN" │
00:02:41 verbose #2612 > │ let v290 : float = │
00:02:41 verbose #2613 > │ Fable.Core.RustInterop.emitRustExpr () v289 │
00:02:41 verbose #2614 > │ let v291 : string = │
00:02:41 verbose #2615 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2616 > │ let v292 : │
00:02:41 verbose #2617 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2618 > │ (v288, v290) v291 │
00:02:41 verbose #2619 > │ let v295 : │
00:02:41 verbose #2620 > │ num_complex_Complex<float> = │
00:02:41 verbose #2621 > │ match v286 with │
00:02:41 verbose #2622 > │ | US0_1 -> (* None *) │
00:02:41 verbose #2623 > │ v292 │
00:02:41 verbose #2624 > │ | US0_0(v293) -> (* Some *) │
00:02:41 verbose #2625 > │ v293 │
00:02:41 verbose #2626 > │ let v296 : string = │
00:02:41 verbose #2627 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2628 > │ let v297 : │
00:02:41 verbose #2629 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2630 > │ (3.141592653589793, 0.0) v296 │
00:02:41 verbose #2631 > │ let v298 : string = "$0 * $1" │
00:02:41 verbose #2632 > │ let v299 : │
00:02:41 verbose #2633 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2634 > │ (v297, v235) v298 │
00:02:41 verbose #2635 > │ let v300 : string = │
00:02:41 verbose #2636 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2637 > │ let v301 : │
00:02:41 verbose #2638 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2639 > │ (2.0, 0.0) v300 │
00:02:41 verbose #2640 > │ let v302 : string = "v299 / │
00:02:41 verbose #2641 > │ v301" │
00:02:41 verbose #2642 > │ let v303 : │
00:02:41 verbose #2643 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v302 │
00:02:41 verbose #2644 > │ let v304 : string = "v303.sin()" │
00:02:41 verbose #2645 > │ let v305 : │
00:02:41 verbose #2646 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v304 │
00:02:41 verbose #2647 > │ let v306 : │
00:02:41 verbose #2648 > │ num_complex_Complex<float> = method7(v235) │
00:02:41 verbose #2649 > │ let v307 : string = "v306.re" │
00:02:41 verbose #2650 > │ let v308 : float = │
00:02:41 verbose #2651 > │ Fable.Core.RustInterop.emitRustExpr () v307 │
00:02:41 verbose #2652 > │ let v309 : float = 1.0 - v308 │
00:02:41 verbose #2653 > │ let v310 : │
00:02:41 verbose #2654 > │ num_complex_Complex<float> = method8(v235) │
00:02:41 verbose #2655 > │ let v311 : string = "v310.im" │
00:02:41 verbose #2656 > │ let v312 : float = │
00:02:41 verbose #2657 > │ Fable.Core.RustInterop.emitRustExpr () v311 │
00:02:41 verbose #2658 > │ let v313 : float = -v312 │
00:02:41 verbose #2659 > │ let v314 : string = │
00:02:41 verbose #2660 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2661 > │ let v315 : │
00:02:41 verbose #2662 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2663 > │ (v309, v313) v314 │
00:02:41 verbose #2664 > │ let v316 : │
00:02:41 verbose #2665 > │ num_complex_Complex<float> = method7(v315) │
00:02:41 verbose #2666 > │ let v317 : string = "v316.re" │
00:02:41 verbose #2667 > │ let v318 : float = │
00:02:41 verbose #2668 > │ Fable.Core.RustInterop.emitRustExpr () v317 │
00:02:41 verbose #2669 > │ let v319 : bool = v318 <= 1.0 │
00:02:41 verbose #2670 > │ let v420 : │
00:02:41 verbose #2671 > │ num_complex_Complex<float> = │
00:02:41 verbose #2672 > │ if v319 then │
00:02:41 verbose #2673 > │ let v320 : string = │
00:02:41 verbose #2674 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2675 > │ let v321 : │
00:02:41 verbose #2676 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2677 > │ (0.0, 0.0) v320 │
00:02:41 verbose #2678 > │ v321 │
00:02:41 verbose #2679 > │ else │
00:02:41 verbose #2680 > │ let v322 : string = │
00:02:41 verbose #2681 > │ "println!(\"zeta / count: {:?} / s: {:?}\", 4, $0)" │
00:02:41 verbose #2682 > │ │
00:02:41 verbose #2683 > │ Fable.Core.RustInterop.emitRustExpr v315 v322 │
00:02:41 verbose #2684 > │ let v323 : │
00:02:41 verbose #2685 > │ num_complex_Complex<float> = method7(v315) │
00:02:41 verbose #2686 > │ let v324 : string = │
00:02:41 verbose #2687 > │ "v323.re" │
00:02:41 verbose #2688 > │ let v325 : float = │
00:02:41 verbose #2689 > │ Fable.Core.RustInterop.emitRustExpr () v324 │
00:02:41 verbose #2690 > │ let v326 : bool = v325 > │
00:02:41 verbose #2691 > │ 1.0 │
00:02:41 verbose #2692 > │ if v326 then │
00:02:41 verbose #2693 > │ let v327 : string = │
00:02:41 verbose #2694 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2695 > │ let v328 : │
00:02:41 verbose #2696 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2697 > │ (0.0, 0.0) v327 │
00:02:41 verbose #2698 > │ let v329 : (int32 [ │
00:02:41 verbose #2699 > │ ]) = Array.zeroCreate<int32> (10000) │
00:02:41 verbose #2700 > │ let v330 : Mut0 = │
00:02:41 verbose #2701 > │ {l0 = 0} : Mut0 │
00:02:41 verbose #2702 > │ while method20(v330) │
00:02:41 verbose #2703 > │ do │
00:02:41 verbose #2704 > │ let v332 : int32 │
00:02:41 verbose #2705 > │ = v330.l0 │
00:02:41 verbose #2706 > │ v329.[int v332] │
00:02:41 verbose #2707 > │ <- v332 │
00:02:41 verbose #2708 > │ let v333 : int32 │
00:02:41 verbose #2709 > │ = v332 + 1 │
00:02:41 verbose #2710 > │ v330.l0 <- v333 │
00:02:41 verbose #2711 > │ () │
00:02:41 verbose #2712 > │ let v334 : int32 = │
00:02:41 verbose #2713 > │ v329.Length │
00:02:41 verbose #2714 > │ let v335 : Mut2 = │
00:02:41 verbose #2715 > │ {l0 = 0; l1 = v328} : Mut2 │
00:02:41 verbose #2716 > │ while method21(v334, │
00:02:41 verbose #2717 > │ v335) do │
00:02:41 verbose #2718 > │ let v337 : int32 │
00:02:41 verbose #2719 > │ = v335.l0 │
00:02:41 verbose #2720 > │ let v338 : │
00:02:41 verbose #2721 > │ num_complex_Complex<float> = v335.l1 │
00:02:41 verbose #2722 > │ let v339 : int32 │
00:02:41 verbose #2723 > │ = v329.[int v337] │
00:02:41 verbose #2724 > │ let v340 : │
00:02:41 verbose #2725 > │ string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2726 > │ let v341 : │
00:02:41 verbose #2727 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2728 > │ (1.0, 0.0) v340 │
00:02:41 verbose #2729 > │ let v342 : float │
00:02:41 verbose #2730 > │ = float v339 │
00:02:41 verbose #2731 > │ let v343 : │
00:02:41 verbose #2732 > │ string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2733 > │ let v344 : │
00:02:41 verbose #2734 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2735 > │ (v342, 0.0) v343 │
00:02:41 verbose #2736 > │ let v345 : │
00:02:41 verbose #2737 > │ num_complex_Complex<float> = method22(v344) │
00:02:41 verbose #2738 > │ let v346 : │
00:02:41 verbose #2739 > │ num_complex_Complex<float> = method23(v315) │
00:02:41 verbose #2740 > │ let v347 : │
00:02:41 verbose #2741 > │ string = "num_complex::Complex::powc(v345, v346)" │
00:02:41 verbose #2742 > │ let v348 : │
00:02:41 verbose #2743 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v347 │
00:02:41 verbose #2744 > │ let v349 : │
00:02:41 verbose #2745 > │ string = "v341 / v348" │
00:02:41 verbose #2746 > │ let v350 : │
00:02:41 verbose #2747 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v349 │
00:02:41 verbose #2748 > │ let v351 : │
00:02:41 verbose #2749 > │ string = "v338 + v350" │
00:02:41 verbose #2750 > │ let v352 : │
00:02:41 verbose #2751 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v351 │
00:02:41 verbose #2752 > │ let v353 : int32 │
00:02:41 verbose #2753 > │ = v337 + 1 │
00:02:41 verbose #2754 > │ v335.l0 <- v353 │
00:02:41 verbose #2755 > │ v335.l1 <- v352 │
00:02:41 verbose #2756 > │ () │
00:02:41 verbose #2757 > │ let v354 : │
00:02:41 verbose #2758 > │ num_complex_Complex<float> = v335.l1 │
00:02:41 verbose #2759 > │ v354 │
00:02:41 verbose #2760 > │ else │
00:02:41 verbose #2761 > │ let v355 : string = │
00:02:41 verbose #2762 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2763 > │ let v356 : │
00:02:41 verbose #2764 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2765 > │ (1.0, 0.0) v355 │
00:02:41 verbose #2766 > │ let v357 : string = │
00:02:41 verbose #2767 > │ "$0 - $1" │
00:02:41 verbose #2768 > │ let v358 : │
00:02:41 verbose #2769 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2770 > │ (v356, v315) v357 │
00:02:41 verbose #2771 > │ let v359 : string = │
00:02:41 verbose #2772 > │ $" s = mpmath.gamma(s)" │
00:02:41 verbose #2773 > │ let v360 : │
00:02:41 verbose #2774 > │ num_complex_Complex<float> = method3(v358) │
00:02:41 verbose #2775 > │ let v361 : │
00:02:41 verbose #2776 > │ Result<num_complex_Complex<float>, std_string_String> = method24(v0, v359, │
00:02:41 verbose #2777 > │ v360) │
00:02:41 verbose #2778 > │ let v362 : string = │
00:02:41 verbose #2779 > │ "v361.ok()" │
00:02:41 verbose #2780 > │ let v363 : │
00:02:41 verbose #2781 > │ num_complex_Complex<float> option = Fable.Core.RustInterop.emitRustExpr () │
00:02:41 verbose #2782 > │ v362 │
00:02:41 verbose #2783 > │ let v364 : │
00:02:41 verbose #2784 > │ (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #2785 > │ let v365 : US0 = │
00:02:41 verbose #2786 > │ US0_1 │
00:02:41 verbose #2787 > │ let v366 : US0 = │
00:02:41 verbose #2788 > │ v363 |> Option.map v364 |> Option.defaultValue v365 │
00:02:41 verbose #2789 > │ let v367 : string = │
00:02:41 verbose #2790 > │ "f64::NAN" │
00:02:41 verbose #2791 > │ let v368 : float = │
00:02:41 verbose #2792 > │ Fable.Core.RustInterop.emitRustExpr () v367 │
00:02:41 verbose #2793 > │ let v369 : string = │
00:02:41 verbose #2794 > │ "f64::NAN" │
00:02:41 verbose #2795 > │ let v370 : float = │
00:02:41 verbose #2796 > │ Fable.Core.RustInterop.emitRustExpr () v369 │
00:02:41 verbose #2797 > │ let v371 : string = │
00:02:41 verbose #2798 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2799 > │ let v372 : │
00:02:41 verbose #2800 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2801 > │ (v368, v370) v371 │
00:02:41 verbose #2802 > │ let v375 : │
00:02:41 verbose #2803 > │ num_complex_Complex<float> = │
00:02:41 verbose #2804 > │ match v366 with │
00:02:41 verbose #2805 > │ | US0_1 -> (* │
00:02:41 verbose #2806 > │ None *) │
00:02:41 verbose #2807 > │ v372 │
00:02:41 verbose #2808 > │ | US0_0(v373) -> │
00:02:41 verbose #2809 > │ (* Some *) │
00:02:41 verbose #2810 > │ v373 │
00:02:41 verbose #2811 > │ let v376 : string = │
00:02:41 verbose #2812 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2813 > │ let v377 : │
00:02:41 verbose #2814 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2815 > │ (3.141592653589793, 0.0) v376 │
00:02:41 verbose #2816 > │ let v378 : string = │
00:02:41 verbose #2817 > │ "$0 * $1" │
00:02:41 verbose #2818 > │ let v379 : │
00:02:41 verbose #2819 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2820 > │ (v377, v315) v378 │
00:02:41 verbose #2821 > │ let v380 : string = │
00:02:41 verbose #2822 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2823 > │ let v381 : │
00:02:41 verbose #2824 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2825 > │ (2.0, 0.0) v380 │
00:02:41 verbose #2826 > │ let v382 : string = │
00:02:41 verbose #2827 > │ "v379 / v381" │
00:02:41 verbose #2828 > │ let v383 : │
00:02:41 verbose #2829 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v382 │
00:02:41 verbose #2830 > │ let v384 : string = │
00:02:41 verbose #2831 > │ "v383.sin()" │
00:02:41 verbose #2832 > │ let v385 : │
00:02:41 verbose #2833 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v384 │
00:02:41 verbose #2834 > │ let v386 : │
00:02:41 verbose #2835 > │ num_complex_Complex<float> = method7(v315) │
00:02:41 verbose #2836 > │ let v387 : string = │
00:02:41 verbose #2837 > │ "v386.re" │
00:02:41 verbose #2838 > │ let v388 : float = │
00:02:41 verbose #2839 > │ Fable.Core.RustInterop.emitRustExpr () v387 │
00:02:41 verbose #2840 > │ let v389 : float = │
00:02:41 verbose #2841 > │ 1.0 - v388 │
00:02:41 verbose #2842 > │ let v390 : │
00:02:41 verbose #2843 > │ num_complex_Complex<float> = method8(v315) │
00:02:41 verbose #2844 > │ let v391 : string = │
00:02:41 verbose #2845 > │ "v390.im" │
00:02:41 verbose #2846 > │ let v392 : float = │
00:02:41 verbose #2847 > │ Fable.Core.RustInterop.emitRustExpr () v391 │
00:02:41 verbose #2848 > │ let v393 : float = │
00:02:41 verbose #2849 > │ -v392 │
00:02:41 verbose #2850 > │ let v394 : string = │
00:02:41 verbose #2851 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2852 > │ let v395 : │
00:02:41 verbose #2853 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2854 > │ (v389, v393) v394 │
00:02:41 verbose #2855 > │ let v396 : │
00:02:41 verbose #2856 > │ num_complex_Complex<float> = method7(v395) │
00:02:41 verbose #2857 > │ let v397 : string = │
00:02:41 verbose #2858 > │ "v396.re" │
00:02:41 verbose #2859 > │ let v398 : float = │
00:02:41 verbose #2860 > │ Fable.Core.RustInterop.emitRustExpr () v397 │
00:02:41 verbose #2861 > │ let v399 : bool = │
00:02:41 verbose #2862 > │ v398 <= 1.0 │
00:02:41 verbose #2863 > │ let v402 : │
00:02:41 verbose #2864 > │ num_complex_Complex<float> = │
00:02:41 verbose #2865 > │ if v399 then │
00:02:41 verbose #2866 > │ let v400 : │
00:02:41 verbose #2867 > │ string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2868 > │ let v401 : │
00:02:41 verbose #2869 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2870 > │ (0.0, 0.0) v400 │
00:02:41 verbose #2871 > │ v401 │
00:02:41 verbose #2872 > │ else │
00:02:41 verbose #2873 > │ v395 │
00:02:41 verbose #2874 > │ let v403 : string = │
00:02:41 verbose #2875 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2876 > │ let v404 : │
00:02:41 verbose #2877 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2878 > │ (2.0, 0.0) v403 │
00:02:41 verbose #2879 > │ let v405 : string = │
00:02:41 verbose #2880 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2881 > │ let v406 : │
00:02:41 verbose #2882 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2883 > │ (3.141592653589793, 0.0) v405 │
00:02:41 verbose #2884 > │ let v407 : │
00:02:41 verbose #2885 > │ num_complex_Complex<float> = method22(v406) │
00:02:41 verbose #2886 > │ let v408 : │
00:02:41 verbose #2887 > │ num_complex_Complex<float> = method23(v315) │
00:02:41 verbose #2888 > │ let v409 : string = │
00:02:41 verbose #2889 > │ "num_complex::Complex::powc(v407, v408)" │
00:02:41 verbose #2890 > │ let v410 : │
00:02:41 verbose #2891 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v409 │
00:02:41 verbose #2892 > │ let v411 : string = │
00:02:41 verbose #2893 > │ "$0 * $1" │
00:02:41 verbose #2894 > │ let v412 : │
00:02:41 verbose #2895 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2896 > │ (v404, v410) v411 │
00:02:41 verbose #2897 > │ let v413 : string = │
00:02:41 verbose #2898 > │ "$0 * $1" │
00:02:41 verbose #2899 > │ let v414 : │
00:02:41 verbose #2900 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2901 > │ (v412, v385) v413 │
00:02:41 verbose #2902 > │ let v415 : string = │
00:02:41 verbose #2903 > │ "$0 * $1" │
00:02:41 verbose #2904 > │ let v416 : │
00:02:41 verbose #2905 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2906 > │ (v414, v375) v415 │
00:02:41 verbose #2907 > │ let v417 : string = │
00:02:41 verbose #2908 > │ "$0 * $1" │
00:02:41 verbose #2909 > │ let v418 : │
00:02:41 verbose #2910 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2911 > │ (v416, v402) v417 │
00:02:41 verbose #2912 > │ v418 │
00:02:41 verbose #2913 > │ let v421 : string = │
00:02:41 verbose #2914 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2915 > │ let v422 : │
00:02:41 verbose #2916 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2917 > │ (2.0, 0.0) v421 │
00:02:41 verbose #2918 > │ let v423 : string = │
00:02:41 verbose #2919 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2920 > │ let v424 : │
00:02:41 verbose #2921 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2922 > │ (3.141592653589793, 0.0) v423 │
00:02:41 verbose #2923 > │ let v425 : │
00:02:41 verbose #2924 > │ num_complex_Complex<float> = method22(v424) │
00:02:41 verbose #2925 > │ let v426 : │
00:02:41 verbose #2926 > │ num_complex_Complex<float> = method23(v235) │
00:02:41 verbose #2927 > │ let v427 : string = │
00:02:41 verbose #2928 > │ "num_complex::Complex::powc(v425, v426)" │
00:02:41 verbose #2929 > │ let v428 : │
00:02:41 verbose #2930 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr () v427 │
00:02:41 verbose #2931 > │ let v429 : string = "$0 * $1" │
00:02:41 verbose #2932 > │ let v430 : │
00:02:41 verbose #2933 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2934 > │ (v422, v428) v429 │
00:02:41 verbose #2935 > │ let v431 : string = "$0 * $1" │
00:02:41 verbose #2936 > │ let v432 : │
00:02:41 verbose #2937 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2938 > │ (v430, v305) v431 │
00:02:41 verbose #2939 > │ let v433 : string = "$0 * $1" │
00:02:41 verbose #2940 > │ let v434 : │
00:02:41 verbose #2941 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2942 > │ (v432, v295) v433 │
00:02:41 verbose #2943 > │ let v435 : string = "$0 * $1" │
00:02:41 verbose #2944 > │ let v436 : │
00:02:41 verbose #2945 > │ num_complex_Complex<float> = Fable.Core.RustInterop.emitRustExpr struct │
00:02:41 verbose #2946 > │ (v434, v420) v435 │
00:02:41 verbose #2947 > │ v436 │
00:02:41 verbose #2948 > │ let v439 : string = │
00:02:41 verbose #2949 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2950 > │ let v440 : num_complex_Complex<float> = │
00:02:41 verbose #2951 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v439 │
00:02:41 verbose #2952 > │ let v441 : string = │
00:02:41 verbose #2953 > │ "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2954 > │ let v442 : num_complex_Complex<float> = │
00:02:41 verbose #2955 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v441 │
00:02:41 verbose #2956 > │ let v443 : num_complex_Complex<float> = │
00:02:41 verbose #2957 > │ method22(v442) │
00:02:41 verbose #2958 > │ let v444 : num_complex_Complex<float> = │
00:02:41 verbose #2959 > │ method23(v155) │
00:02:41 verbose #2960 > │ let v445 : string = │
00:02:41 verbose #2961 > │ "num_complex::Complex::powc(v443, v444)" │
00:02:41 verbose #2962 > │ let v446 : num_complex_Complex<float> = │
00:02:41 verbose #2963 > │ Fable.Core.RustInterop.emitRustExpr () v445 │
00:02:41 verbose #2964 > │ let v447 : string = "$0 * $1" │
00:02:41 verbose #2965 > │ let v448 : num_complex_Complex<float> = │
00:02:41 verbose #2966 > │ Fable.Core.RustInterop.emitRustExpr struct (v440, v446) v447 │
00:02:41 verbose #2967 > │ let v449 : string = "$0 * $1" │
00:02:41 verbose #2968 > │ let v450 : num_complex_Complex<float> = │
00:02:41 verbose #2969 > │ Fable.Core.RustInterop.emitRustExpr struct (v448, v225) v449 │
00:02:41 verbose #2970 > │ let v451 : string = "$0 * $1" │
00:02:41 verbose #2971 > │ let v452 : num_complex_Complex<float> = │
00:02:41 verbose #2972 > │ Fable.Core.RustInterop.emitRustExpr struct (v450, v215) v451 │
00:02:41 verbose #2973 > │ let v453 : string = "$0 * $1" │
00:02:41 verbose #2974 > │ let v454 : num_complex_Complex<float> = │
00:02:41 verbose #2975 > │ Fable.Core.RustInterop.emitRustExpr struct (v452, v438) v453 │
00:02:41 verbose #2976 > │ v454 │
00:02:41 verbose #2977 > │ let v457 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2978 > │ let v458 : num_complex_Complex<float> = │
00:02:41 verbose #2979 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v457 │
00:02:41 verbose #2980 > │ let v459 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #2981 > │ let v460 : num_complex_Complex<float> = │
00:02:41 verbose #2982 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v459 │
00:02:41 verbose #2983 > │ let v461 : num_complex_Complex<float> = method22(v460) │
00:02:41 verbose #2984 > │ let v462 : num_complex_Complex<float> = method23(v75) │
00:02:41 verbose #2985 > │ let v463 : string = "num_complex::Complex::powc(v461, │
00:02:41 verbose #2986 > │ v462)" │
00:02:41 verbose #2987 > │ let v464 : num_complex_Complex<float> = │
00:02:41 verbose #2988 > │ Fable.Core.RustInterop.emitRustExpr () v463 │
00:02:41 verbose #2989 > │ let v465 : string = "$0 * $1" │
00:02:41 verbose #2990 > │ let v466 : num_complex_Complex<float> = │
00:02:41 verbose #2991 > │ Fable.Core.RustInterop.emitRustExpr struct (v458, v464) v465 │
00:02:41 verbose #2992 > │ let v467 : string = "$0 * $1" │
00:02:41 verbose #2993 > │ let v468 : num_complex_Complex<float> = │
00:02:41 verbose #2994 > │ Fable.Core.RustInterop.emitRustExpr struct (v466, v145) v467 │
00:02:41 verbose #2995 > │ let v469 : string = "$0 * $1" │
00:02:41 verbose #2996 > │ let v470 : num_complex_Complex<float> = │
00:02:41 verbose #2997 > │ Fable.Core.RustInterop.emitRustExpr struct (v468, v135) v469 │
00:02:41 verbose #2998 > │ let v471 : string = "$0 * $1" │
00:02:41 verbose #2999 > │ let v472 : num_complex_Complex<float> = │
00:02:41 verbose #3000 > │ Fable.Core.RustInterop.emitRustExpr struct (v470, v456) v471 │
00:02:41 verbose #3001 > │ v472 │
00:02:41 verbose #3002 > │ let v475 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3003 > │ let v476 : num_complex_Complex<float> = │
00:02:41 verbose #3004 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v475 │
00:02:41 verbose #3005 > │ let v477 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3006 > │ let v478 : num_complex_Complex<float> = │
00:02:41 verbose #3007 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v477 │
00:02:41 verbose #3008 > │ let v479 : num_complex_Complex<float> = method22(v478) │
00:02:41 verbose #3009 > │ let v480 : num_complex_Complex<float> = method23(v1) │
00:02:41 verbose #3010 > │ let v481 : string = "num_complex::Complex::powc(v479, v480)" │
00:02:41 verbose #3011 > │ let v482 : num_complex_Complex<float> = │
00:02:41 verbose #3012 > │ Fable.Core.RustInterop.emitRustExpr () v481 │
00:02:41 verbose #3013 > │ let v483 : string = "$0 * $1" │
00:02:41 verbose #3014 > │ let v484 : num_complex_Complex<float> = │
00:02:41 verbose #3015 > │ Fable.Core.RustInterop.emitRustExpr struct (v476, v482) v483 │
00:02:41 verbose #3016 > │ let v485 : string = "$0 * $1" │
00:02:41 verbose #3017 > │ let v486 : num_complex_Complex<float> = │
00:02:41 verbose #3018 > │ Fable.Core.RustInterop.emitRustExpr struct (v484, v65) v485 │
00:02:41 verbose #3019 > │ let v487 : string = "$0 * $1" │
00:02:41 verbose #3020 > │ let v488 : num_complex_Complex<float> = │
00:02:41 verbose #3021 > │ Fable.Core.RustInterop.emitRustExpr struct (v486, v55) v487 │
00:02:41 verbose #3022 > │ let v489 : string = "$0 * $1" │
00:02:41 verbose #3023 > │ let v490 : num_complex_Complex<float> = │
00:02:41 verbose #3024 > │ Fable.Core.RustInterop.emitRustExpr struct (v488, v474) v489 │
00:02:41 verbose #3025 > │ v490 │
00:02:41 verbose #3026 > │ and method26 (v0 : bool) : bool = │
00:02:41 verbose #3027 > │ v0 │
00:02:41 verbose #3028 > │ and method1 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3029 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3030 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3031 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v1 │
00:02:41 verbose #3032 > │ let v3 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3033 > │ let v4 : num_complex_Complex<float> = │
00:02:41 verbose #3034 > │ Fable.Core.RustInterop.emitRustExpr struct (-1.0, 0.0) v3 │
00:02:41 verbose #3035 > │ let v5 : (struct (num_complex_Complex<float> * float) []) = [|struct │
00:02:41 verbose #3036 > │ (v2, 1.6449340668482264); struct (v4, -0.08333333333333333)|] │
00:02:41 verbose #3037 > │ let v6 : int32 = v5.Length │
00:02:41 verbose #3038 > │ let v7 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #3039 > │ while method2(v6, v7) do │
00:02:41 verbose #3040 > │ let v9 : int32 = v7.l0 │
00:02:41 verbose #3041 > │ let struct (v10 : num_complex_Complex<float>, v11 : float) = v5.[int │
00:02:41 verbose #3042 > │ v9] │
00:02:41 verbose #3043 > │ let v12 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3044 > │ let v13 : num_complex_Complex<float> = method3(v10) │
00:02:41 verbose #3045 > │ let v14 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3046 > │ method4(v0, v12, v13) │
00:02:41 verbose #3047 > │ let v15 : num_complex_Complex<float> = method19(v0, v10) │
00:02:41 verbose #3048 > │ let v16 : string = "v14.ok()" │
00:02:41 verbose #3049 > │ let v17 : num_complex_Complex<float> option = │
00:02:41 verbose #3050 > │ Fable.Core.RustInterop.emitRustExpr () v16 │
00:02:41 verbose #3051 > │ let v18 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3052 > │ let v19 : US0 = US0_1 │
00:02:41 verbose #3053 > │ let v20 : US0 = v17 |> Option.map v18 |> Option.defaultValue v19 │
00:02:41 verbose #3054 > │ let v21 : string = "f64::NAN" │
00:02:41 verbose #3055 > │ let v22 : float = Fable.Core.RustInterop.emitRustExpr () v21 │
00:02:41 verbose #3056 > │ let v23 : string = "f64::NAN" │
00:02:41 verbose #3057 > │ let v24 : float = Fable.Core.RustInterop.emitRustExpr () v23 │
00:02:41 verbose #3058 > │ let v25 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3059 > │ let v26 : num_complex_Complex<float> = │
00:02:41 verbose #3060 > │ Fable.Core.RustInterop.emitRustExpr struct (v22, v24) v25 │
00:02:41 verbose #3061 > │ let v29 : num_complex_Complex<float> = │
00:02:41 verbose #3062 > │ match v20 with │
00:02:41 verbose #3063 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3064 > │ v26 │
00:02:41 verbose #3065 > │ | US0_0(v27) -> (* Some *) │
00:02:41 verbose #3066 > │ v27 │
00:02:41 verbose #3067 > │ let v30 : num_complex_Complex<float> = method8(v29) │
00:02:41 verbose #3068 > │ let v31 : string = "v30.im" │
00:02:41 verbose #3069 > │ let v32 : float = Fable.Core.RustInterop.emitRustExpr () v31 │
00:02:41 verbose #3070 > │ let v33 : bool = v32 = 0.0 │
00:02:41 verbose #3071 > │ let v35 : bool = │
00:02:41 verbose #3072 > │ if v33 then │
00:02:41 verbose #3073 > │ true │
00:02:41 verbose #3074 > │ else │
00:02:41 verbose #3075 > │ method26(v33) │
00:02:41 verbose #3076 > │ let v36 : string = "assert_eq" │
00:02:41 verbose #3077 > │ let v37 : string = $"{v36} / actual: %A{v32} / expected: %A{0.0}" │
00:02:41 verbose #3078 > │ System.Console.WriteLine v37 │
00:02:41 verbose #3079 > │ let v38 : bool = v35 = false │
00:02:41 verbose #3080 > │ if v38 then │
00:02:41 verbose #3081 > │ failwith<unit> v37 │
00:02:41 verbose #3082 > │ let v39 : num_complex_Complex<float> = method7(v29) │
00:02:41 verbose #3083 > │ let v40 : string = "v39.re" │
00:02:41 verbose #3084 > │ let v41 : float = Fable.Core.RustInterop.emitRustExpr () v40 │
00:02:41 verbose #3085 > │ let v42 : float = v41 - v11 │
00:02:41 verbose #3086 > │ let v43 : float = -v42 │
00:02:41 verbose #3087 > │ let v44 : bool = v42 >= v43 │
00:02:41 verbose #3088 > │ let v45 : float = │
00:02:41 verbose #3089 > │ if v44 then │
00:02:41 verbose #3090 > │ v42 │
00:02:41 verbose #3091 > │ else │
00:02:41 verbose #3092 > │ v43 │
00:02:41 verbose #3093 > │ let v46 : bool = v45 < 0.0001 │
00:02:41 verbose #3094 > │ let v48 : bool = │
00:02:41 verbose #3095 > │ if v46 then │
00:02:41 verbose #3096 > │ true │
00:02:41 verbose #3097 > │ else │
00:02:41 verbose #3098 > │ method26(v46) │
00:02:41 verbose #3099 > │ let v49 : string = "assert_lt" │
00:02:41 verbose #3100 > │ let v50 : string = $"{v49} / actual: %A{v45} / expected: %A{0.0001}" │
00:02:41 verbose #3101 > │ System.Console.WriteLine v50 │
00:02:41 verbose #3102 > │ let v51 : bool = v48 = false │
00:02:41 verbose #3103 > │ if v51 then │
00:02:41 verbose #3104 > │ failwith<unit> v50 │
00:02:41 verbose #3105 > │ let v52 : int32 = v9 + 1 │
00:02:41 verbose #3106 > │ v7.l0 <- v52 │
00:02:41 verbose #3107 > │ () │
00:02:41 verbose #3108 > │ () │
00:02:41 verbose #3109 > │ and method27 (v0 : Result<unit, pyo3_PyErr>) : Result<unit, pyo3_PyErr> = │
00:02:41 verbose #3110 > │ v0 │
00:02:41 verbose #3111 > │ and method0 () : unit = │
00:02:41 verbose #3112 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3113 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3114 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3115 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3116 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3117 > │ let v2 : string = "py" │
00:02:41 verbose #3118 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3119 > │ method1(v3) │
00:02:41 verbose #3120 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3121 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3122 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3123 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3124 > │ let v7 : string = "{ //" │
00:02:41 verbose #3125 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3126 > │ let v8 : string = "__result" │
00:02:41 verbose #3127 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3128 > │ () v8 │
00:02:41 verbose #3129 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3130 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3131 > │ () │
00:02:41 verbose #3132 > │ and method29 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3133 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3134 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3135 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, -2.0) v1 │
00:02:41 verbose #3136 > │ let v3 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3137 > │ let v4 : num_complex_Complex<float> = method3(v2) │
00:02:41 verbose #3138 > │ let v5 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3139 > │ method4(v0, v3, v4) │
00:02:41 verbose #3140 > │ let v6 : num_complex_Complex<float> = method19(v0, v2) │
00:02:41 verbose #3141 > │ let v7 : string = "v5.ok()" │
00:02:41 verbose #3142 > │ let v8 : num_complex_Complex<float> option = │
00:02:41 verbose #3143 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3144 > │ let v9 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3145 > │ let v10 : US0 = US0_1 │
00:02:41 verbose #3146 > │ let v11 : US0 = v8 |> Option.map v9 |> Option.defaultValue v10 │
00:02:41 verbose #3147 > │ let v12 : string = "f64::NAN" │
00:02:41 verbose #3148 > │ let v13 : float = Fable.Core.RustInterop.emitRustExpr () v12 │
00:02:41 verbose #3149 > │ let v14 : string = "f64::NAN" │
00:02:41 verbose #3150 > │ let v15 : float = Fable.Core.RustInterop.emitRustExpr () v14 │
00:02:41 verbose #3151 > │ let v16 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3152 > │ let v17 : num_complex_Complex<float> = │
00:02:41 verbose #3153 > │ Fable.Core.RustInterop.emitRustExpr struct (v13, v15) v16 │
00:02:41 verbose #3154 > │ let v20 : num_complex_Complex<float> = │
00:02:41 verbose #3155 > │ match v11 with │
00:02:41 verbose #3156 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3157 > │ v17 │
00:02:41 verbose #3158 > │ | US0_0(v18) -> (* Some *) │
00:02:41 verbose #3159 > │ v18 │
00:02:41 verbose #3160 > │ let v21 : num_complex_Complex<float> = method7(v20) │
00:02:41 verbose #3161 > │ let v22 : string = "v21.re" │
00:02:41 verbose #3162 > │ let v23 : float = Fable.Core.RustInterop.emitRustExpr () v22 │
00:02:41 verbose #3163 > │ let v24 : float = v23 - 0.8673 │
00:02:41 verbose #3164 > │ let v25 : float = -v24 │
00:02:41 verbose #3165 > │ let v26 : bool = v24 >= v25 │
00:02:41 verbose #3166 > │ let v27 : float = │
00:02:41 verbose #3167 > │ if v26 then │
00:02:41 verbose #3168 > │ v24 │
00:02:41 verbose #3169 > │ else │
00:02:41 verbose #3170 > │ v25 │
00:02:41 verbose #3171 > │ let v28 : bool = v27 < 0.001 │
00:02:41 verbose #3172 > │ let v30 : bool = │
00:02:41 verbose #3173 > │ if v28 then │
00:02:41 verbose #3174 > │ true │
00:02:41 verbose #3175 > │ else │
00:02:41 verbose #3176 > │ method26(v28) │
00:02:41 verbose #3177 > │ let v31 : string = "assert_lt" │
00:02:41 verbose #3178 > │ let v32 : string = $"{v31} / actual: %A{v27} / expected: %A{0.001}" │
00:02:41 verbose #3179 > │ System.Console.WriteLine v32 │
00:02:41 verbose #3180 > │ let v33 : bool = v30 = false │
00:02:41 verbose #3181 > │ if v33 then │
00:02:41 verbose #3182 > │ failwith<unit> v32 │
00:02:41 verbose #3183 > │ let v34 : num_complex_Complex<float> = method8(v20) │
00:02:41 verbose #3184 > │ let v35 : string = "v34.im" │
00:02:41 verbose #3185 > │ let v36 : float = Fable.Core.RustInterop.emitRustExpr () v35 │
00:02:41 verbose #3186 > │ let v37 : float = v36 - 0.275 │
00:02:41 verbose #3187 > │ let v38 : float = -v37 │
00:02:41 verbose #3188 > │ let v39 : bool = v37 >= v38 │
00:02:41 verbose #3189 > │ let v40 : float = │
00:02:41 verbose #3190 > │ if v39 then │
00:02:41 verbose #3191 > │ v37 │
00:02:41 verbose #3192 > │ else │
00:02:41 verbose #3193 > │ v38 │
00:02:41 verbose #3194 > │ let v41 : bool = v40 < 0.001 │
00:02:41 verbose #3195 > │ let v43 : bool = │
00:02:41 verbose #3196 > │ if v41 then │
00:02:41 verbose #3197 > │ true │
00:02:41 verbose #3198 > │ else │
00:02:41 verbose #3199 > │ method26(v41) │
00:02:41 verbose #3200 > │ let v44 : string = $"{v31} / actual: %A{v40} / expected: %A{0.001}" │
00:02:41 verbose #3201 > │ System.Console.WriteLine v44 │
00:02:41 verbose #3202 > │ let v45 : bool = v43 = false │
00:02:41 verbose #3203 > │ if v45 then │
00:02:41 verbose #3204 > │ failwith<unit> v44 │
00:02:41 verbose #3205 > │ and method28 () : unit = │
00:02:41 verbose #3206 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3207 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3208 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3209 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3210 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3211 > │ let v2 : string = "py" │
00:02:41 verbose #3212 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3213 > │ method29(v3) │
00:02:41 verbose #3214 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3215 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3216 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3217 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3218 > │ let v7 : string = "{ //" │
00:02:41 verbose #3219 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3220 > │ let v8 : string = "__result" │
00:02:41 verbose #3221 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3222 > │ () v8 │
00:02:41 verbose #3223 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3224 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3225 > │ () │
00:02:41 verbose #3226 > │ and method32 () : UH0 = │
00:02:41 verbose #3227 > │ let v0 : UH0 = UH0_0 │
00:02:41 verbose #3228 > │ let v1 : UH0 = UH0_1(-40.0, v0) │
00:02:41 verbose #3229 > │ let v2 : UH0 = UH0_1(-38.0, v1) │
00:02:41 verbose #3230 > │ let v3 : UH0 = UH0_1(-36.0, v2) │
00:02:41 verbose #3231 > │ let v4 : UH0 = UH0_1(-34.0, v3) │
00:02:41 verbose #3232 > │ let v5 : UH0 = UH0_1(-32.0, v4) │
00:02:41 verbose #3233 > │ let v6 : UH0 = UH0_1(-30.0, v5) │
00:02:41 verbose #3234 > │ let v7 : UH0 = UH0_1(-28.0, v6) │
00:02:41 verbose #3235 > │ let v8 : UH0 = UH0_1(-26.0, v7) │
00:02:41 verbose #3236 > │ let v9 : UH0 = UH0_1(-24.0, v8) │
00:02:41 verbose #3237 > │ let v10 : UH0 = UH0_1(-22.0, v9) │
00:02:41 verbose #3238 > │ let v11 : UH0 = UH0_1(-20.0, v10) │
00:02:41 verbose #3239 > │ let v12 : UH0 = UH0_1(-18.0, v11) │
00:02:41 verbose #3240 > │ let v13 : UH0 = UH0_1(-16.0, v12) │
00:02:41 verbose #3241 > │ let v14 : UH0 = UH0_1(-14.0, v13) │
00:02:41 verbose #3242 > │ let v15 : UH0 = UH0_1(-12.0, v14) │
00:02:41 verbose #3243 > │ let v16 : UH0 = UH0_1(-10.0, v15) │
00:02:41 verbose #3244 > │ let v17 : UH0 = UH0_1(-8.0, v16) │
00:02:41 verbose #3245 > │ let v18 : UH0 = UH0_1(-6.0, v17) │
00:02:41 verbose #3246 > │ let v19 : UH0 = UH0_1(-4.0, v18) │
00:02:41 verbose #3247 > │ UH0_1(-2.0, v19) │
00:02:41 verbose #3248 > │ and method33 (v0 : pyo3_Python, v1 : UH0) : unit = │
00:02:41 verbose #3249 > │ match v1 with │
00:02:41 verbose #3250 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:02:41 verbose #3251 > │ let v4 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3252 > │ let v5 : num_complex_Complex<float> = │
00:02:41 verbose #3253 > │ Fable.Core.RustInterop.emitRustExpr struct (v2, 0.0) v4 │
00:02:41 verbose #3254 > │ let v6 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3255 > │ let v7 : num_complex_Complex<float> = method3(v5) │
00:02:41 verbose #3256 > │ let v8 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3257 > │ method4(v0, v6, v7) │
00:02:41 verbose #3258 > │ let v9 : num_complex_Complex<float> = method19(v0, v5) │
00:02:41 verbose #3259 > │ let v10 : string = "v8.ok()" │
00:02:41 verbose #3260 > │ let v11 : num_complex_Complex<float> option = │
00:02:41 verbose #3261 > │ Fable.Core.RustInterop.emitRustExpr () v10 │
00:02:41 verbose #3262 > │ let v12 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3263 > │ let v13 : US0 = US0_1 │
00:02:41 verbose #3264 > │ let v14 : US0 = v11 |> Option.map v12 |> Option.defaultValue v13 │
00:02:41 verbose #3265 > │ let v15 : string = "f64::NAN" │
00:02:41 verbose #3266 > │ let v16 : float = Fable.Core.RustInterop.emitRustExpr () v15 │
00:02:41 verbose #3267 > │ let v17 : string = "f64::NAN" │
00:02:41 verbose #3268 > │ let v18 : float = Fable.Core.RustInterop.emitRustExpr () v17 │
00:02:41 verbose #3269 > │ let v19 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3270 > │ let v20 : num_complex_Complex<float> = │
00:02:41 verbose #3271 > │ Fable.Core.RustInterop.emitRustExpr struct (v16, v18) v19 │
00:02:41 verbose #3272 > │ let v23 : num_complex_Complex<float> = │
00:02:41 verbose #3273 > │ match v14 with │
00:02:41 verbose #3274 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3275 > │ v20 │
00:02:41 verbose #3276 > │ | US0_0(v21) -> (* Some *) │
00:02:41 verbose #3277 > │ v21 │
00:02:41 verbose #3278 > │ let v24 : num_complex_Complex<float> = method7(v23) │
00:02:41 verbose #3279 > │ let v25 : string = "v24.re" │
00:02:41 verbose #3280 > │ let v26 : float = Fable.Core.RustInterop.emitRustExpr () v25 │
00:02:41 verbose #3281 > │ let v27 : bool = v26 = 0.0 │
00:02:41 verbose #3282 > │ let v29 : bool = │
00:02:41 verbose #3283 > │ if v27 then │
00:02:41 verbose #3284 > │ true │
00:02:41 verbose #3285 > │ else │
00:02:41 verbose #3286 > │ method26(v27) │
00:02:41 verbose #3287 > │ let v30 : string = "assert_eq" │
00:02:41 verbose #3288 > │ let v31 : string = $"{v30} / actual: %A{v26} / expected: %A{0.0}" │
00:02:41 verbose #3289 > │ System.Console.WriteLine v31 │
00:02:41 verbose #3290 > │ let v32 : bool = v29 = false │
00:02:41 verbose #3291 > │ if v32 then │
00:02:41 verbose #3292 > │ failwith<unit> v31 │
00:02:41 verbose #3293 > │ let v33 : num_complex_Complex<float> = method8(v23) │
00:02:41 verbose #3294 > │ let v34 : string = "v33.im" │
00:02:41 verbose #3295 > │ let v35 : float = Fable.Core.RustInterop.emitRustExpr () v34 │
00:02:41 verbose #3296 > │ let v36 : bool = v35 = 0.0 │
00:02:41 verbose #3297 > │ let v38 : bool = │
00:02:41 verbose #3298 > │ if v36 then │
00:02:41 verbose #3299 > │ true │
00:02:41 verbose #3300 > │ else │
00:02:41 verbose #3301 > │ method26(v36) │
00:02:41 verbose #3302 > │ let v39 : string = $"{v30} / actual: %A{v35} / expected: %A{0.0}" │
00:02:41 verbose #3303 > │ System.Console.WriteLine v39 │
00:02:41 verbose #3304 > │ let v40 : bool = v38 = false │
00:02:41 verbose #3305 > │ if v40 then │
00:02:41 verbose #3306 > │ failwith<unit> v39 │
00:02:41 verbose #3307 > │ method33(v0, v3) │
00:02:41 verbose #3308 > │ | UH0_0 -> (* Nil *) │
00:02:41 verbose #3309 > │ () │
00:02:41 verbose #3310 > │ and method31 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3311 > │ let v1 : UH0 = method32() │
00:02:41 verbose #3312 > │ method33(v0, v1) │
00:02:41 verbose #3313 > │ and method30 () : unit = │
00:02:41 verbose #3314 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3315 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3316 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3317 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3318 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3319 > │ let v2 : string = "py" │
00:02:41 verbose #3320 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3321 > │ method31(v3) │
00:02:41 verbose #3322 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3323 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3324 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3325 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3326 > │ let v7 : string = "{ //" │
00:02:41 verbose #3327 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3328 > │ let v8 : string = "__result" │
00:02:41 verbose #3329 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3330 > │ () v8 │
00:02:41 verbose #3331 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3332 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3333 > │ () │
00:02:41 verbose #3334 > │ and method35 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3335 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3336 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3337 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 14.134725) v1 │
00:02:41 verbose #3338 > │ let v3 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3339 > │ let v4 : num_complex_Complex<float> = │
00:02:41 verbose #3340 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 21.02204) v3 │
00:02:41 verbose #3341 > │ let v5 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3342 > │ let v6 : num_complex_Complex<float> = │
00:02:41 verbose #3343 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 25.010857) v5 │
00:02:41 verbose #3344 > │ let v7 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3345 > │ let v8 : num_complex_Complex<float> = │
00:02:41 verbose #3346 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 30.424876) v7 │
00:02:41 verbose #3347 > │ let v9 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3348 > │ let v10 : num_complex_Complex<float> = │
00:02:41 verbose #3349 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 32.935062) v9 │
00:02:41 verbose #3350 > │ let v11 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3351 > │ let v12 : num_complex_Complex<float> = │
00:02:41 verbose #3352 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 37.586178) v11 │
00:02:41 verbose #3353 > │ let v13 : (num_complex_Complex<float> []) = [|v2; v4; v6; v8; v10; v12|] │
00:02:41 verbose #3354 > │ let v14 : int32 = v13.Length │
00:02:41 verbose #3355 > │ let v15 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #3356 > │ while method2(v14, v15) do │
00:02:41 verbose #3357 > │ let v17 : int32 = v15.l0 │
00:02:41 verbose #3358 > │ let v18 : num_complex_Complex<float> = v13.[int v17] │
00:02:41 verbose #3359 > │ let v19 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3360 > │ let v20 : num_complex_Complex<float> = method3(v18) │
00:02:41 verbose #3361 > │ let v21 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3362 > │ method4(v0, v19, v20) │
00:02:41 verbose #3363 > │ let v22 : num_complex_Complex<float> = method19(v0, v18) │
00:02:41 verbose #3364 > │ let v23 : string = "v21.ok()" │
00:02:41 verbose #3365 > │ let v24 : num_complex_Complex<float> option = │
00:02:41 verbose #3366 > │ Fable.Core.RustInterop.emitRustExpr () v23 │
00:02:41 verbose #3367 > │ let v25 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3368 > │ let v26 : US0 = US0_1 │
00:02:41 verbose #3369 > │ let v27 : US0 = v24 |> Option.map v25 |> Option.defaultValue v26 │
00:02:41 verbose #3370 > │ let v28 : string = "f64::NAN" │
00:02:41 verbose #3371 > │ let v29 : float = Fable.Core.RustInterop.emitRustExpr () v28 │
00:02:41 verbose #3372 > │ let v30 : string = "f64::NAN" │
00:02:41 verbose #3373 > │ let v31 : float = Fable.Core.RustInterop.emitRustExpr () v30 │
00:02:41 verbose #3374 > │ let v32 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3375 > │ let v33 : num_complex_Complex<float> = │
00:02:41 verbose #3376 > │ Fable.Core.RustInterop.emitRustExpr struct (v29, v31) v32 │
00:02:41 verbose #3377 > │ let v36 : num_complex_Complex<float> = │
00:02:41 verbose #3378 > │ match v27 with │
00:02:41 verbose #3379 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3380 > │ v33 │
00:02:41 verbose #3381 > │ | US0_0(v34) -> (* Some *) │
00:02:41 verbose #3382 > │ v34 │
00:02:41 verbose #3383 > │ let v37 : num_complex_Complex<float> = method7(v36) │
00:02:41 verbose #3384 > │ let v38 : string = "v37.re" │
00:02:41 verbose #3385 > │ let v39 : float = Fable.Core.RustInterop.emitRustExpr () v38 │
00:02:41 verbose #3386 > │ let v40 : float = -v39 │
00:02:41 verbose #3387 > │ let v41 : bool = v39 >= v40 │
00:02:41 verbose #3388 > │ let v42 : float = │
00:02:41 verbose #3389 > │ if v41 then │
00:02:41 verbose #3390 > │ v39 │
00:02:41 verbose #3391 > │ else │
00:02:41 verbose #3392 > │ v40 │
00:02:41 verbose #3393 > │ let v43 : bool = v42 < 0.0001 │
00:02:41 verbose #3394 > │ let v45 : bool = │
00:02:41 verbose #3395 > │ if v43 then │
00:02:41 verbose #3396 > │ true │
00:02:41 verbose #3397 > │ else │
00:02:41 verbose #3398 > │ method26(v43) │
00:02:41 verbose #3399 > │ let v46 : string = "assert_lt" │
00:02:41 verbose #3400 > │ let v47 : string = $"{v46} / actual: %A{v42} / expected: %A{0.0001}" │
00:02:41 verbose #3401 > │ System.Console.WriteLine v47 │
00:02:41 verbose #3402 > │ let v48 : bool = v45 = false │
00:02:41 verbose #3403 > │ if v48 then │
00:02:41 verbose #3404 > │ failwith<unit> v47 │
00:02:41 verbose #3405 > │ let v49 : num_complex_Complex<float> = method8(v36) │
00:02:41 verbose #3406 > │ let v50 : string = "v49.im" │
00:02:41 verbose #3407 > │ let v51 : float = Fable.Core.RustInterop.emitRustExpr () v50 │
00:02:41 verbose #3408 > │ let v52 : float = -v51 │
00:02:41 verbose #3409 > │ let v53 : bool = v51 >= v52 │
00:02:41 verbose #3410 > │ let v54 : float = │
00:02:41 verbose #3411 > │ if v53 then │
00:02:41 verbose #3412 > │ v51 │
00:02:41 verbose #3413 > │ else │
00:02:41 verbose #3414 > │ v52 │
00:02:41 verbose #3415 > │ let v55 : bool = v54 < 0.0001 │
00:02:41 verbose #3416 > │ let v57 : bool = │
00:02:41 verbose #3417 > │ if v55 then │
00:02:41 verbose #3418 > │ true │
00:02:41 verbose #3419 > │ else │
00:02:41 verbose #3420 > │ method26(v55) │
00:02:41 verbose #3421 > │ let v58 : string = $"{v46} / actual: %A{v54} / expected: %A{0.0001}" │
00:02:41 verbose #3422 > │ System.Console.WriteLine v58 │
00:02:41 verbose #3423 > │ let v59 : bool = v57 = false │
00:02:41 verbose #3424 > │ if v59 then │
00:02:41 verbose #3425 > │ failwith<unit> v58 │
00:02:41 verbose #3426 > │ let v60 : int32 = v17 + 1 │
00:02:41 verbose #3427 > │ v15.l0 <- v60 │
00:02:41 verbose #3428 > │ () │
00:02:41 verbose #3429 > │ () │
00:02:41 verbose #3430 > │ and method34 () : unit = │
00:02:41 verbose #3431 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3432 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3433 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3434 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3435 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3436 > │ let v2 : string = "py" │
00:02:41 verbose #3437 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3438 > │ method35(v3) │
00:02:41 verbose #3439 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3440 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3441 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3442 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3443 > │ let v7 : string = "{ //" │
00:02:41 verbose #3444 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3445 > │ let v8 : string = "__result" │
00:02:41 verbose #3446 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3447 > │ () v8 │
00:02:41 verbose #3448 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3449 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3450 > │ () │
00:02:41 verbose #3451 > │ and method37 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3452 > │ let v1 : (float []) = [|2.0; 3.0; 4.0; 5.0; 10.0; 20.0; 50.0|] │
00:02:41 verbose #3453 > │ let v2 : int32 = v1.Length │
00:02:41 verbose #3454 > │ let v3 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #3455 > │ while method2(v2, v3) do │
00:02:41 verbose #3456 > │ let v5 : int32 = v3.l0 │
00:02:41 verbose #3457 > │ let v6 : float = v1.[int v5] │
00:02:41 verbose #3458 > │ let v7 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3459 > │ let v8 : num_complex_Complex<float> = │
00:02:41 verbose #3460 > │ Fable.Core.RustInterop.emitRustExpr struct (v6, 0.0) v7 │
00:02:41 verbose #3461 > │ let v9 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3462 > │ let v10 : num_complex_Complex<float> = method3(v8) │
00:02:41 verbose #3463 > │ let v11 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3464 > │ method4(v0, v9, v10) │
00:02:41 verbose #3465 > │ let v12 : num_complex_Complex<float> = method19(v0, v8) │
00:02:41 verbose #3466 > │ let v13 : string = "v11.ok()" │
00:02:41 verbose #3467 > │ let v14 : num_complex_Complex<float> option = │
00:02:41 verbose #3468 > │ Fable.Core.RustInterop.emitRustExpr () v13 │
00:02:41 verbose #3469 > │ let v15 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3470 > │ let v16 : US0 = US0_1 │
00:02:41 verbose #3471 > │ let v17 : US0 = v14 |> Option.map v15 |> Option.defaultValue v16 │
00:02:41 verbose #3472 > │ let v18 : string = "f64::NAN" │
00:02:41 verbose #3473 > │ let v19 : float = Fable.Core.RustInterop.emitRustExpr () v18 │
00:02:41 verbose #3474 > │ let v20 : string = "f64::NAN" │
00:02:41 verbose #3475 > │ let v21 : float = Fable.Core.RustInterop.emitRustExpr () v20 │
00:02:41 verbose #3476 > │ let v22 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3477 > │ let v23 : num_complex_Complex<float> = │
00:02:41 verbose #3478 > │ Fable.Core.RustInterop.emitRustExpr struct (v19, v21) v22 │
00:02:41 verbose #3479 > │ let v26 : num_complex_Complex<float> = │
00:02:41 verbose #3480 > │ match v17 with │
00:02:41 verbose #3481 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3482 > │ v23 │
00:02:41 verbose #3483 > │ | US0_0(v24) -> (* Some *) │
00:02:41 verbose #3484 > │ v24 │
00:02:41 verbose #3485 > │ let v27 : num_complex_Complex<float> = method7(v26) │
00:02:41 verbose #3486 > │ let v28 : string = "v27.re" │
00:02:41 verbose #3487 > │ let v29 : float = Fable.Core.RustInterop.emitRustExpr () v28 │
00:02:41 verbose #3488 > │ let v30 : bool = v29 > 0.0 │
00:02:41 verbose #3489 > │ let v32 : bool = │
00:02:41 verbose #3490 > │ if v30 then │
00:02:41 verbose #3491 > │ true │
00:02:41 verbose #3492 > │ else │
00:02:41 verbose #3493 > │ method26(v30) │
00:02:41 verbose #3494 > │ let v33 : string = "assert_gt" │
00:02:41 verbose #3495 > │ let v34 : string = $"{v33} / actual: %A{v29} / expected: %A{0.0}" │
00:02:41 verbose #3496 > │ System.Console.WriteLine v34 │
00:02:41 verbose #3497 > │ let v35 : bool = v32 = false │
00:02:41 verbose #3498 > │ if v35 then │
00:02:41 verbose #3499 > │ failwith<unit> v34 │
00:02:41 verbose #3500 > │ let v36 : num_complex_Complex<float> = method8(v26) │
00:02:41 verbose #3501 > │ let v37 : string = "v36.im" │
00:02:41 verbose #3502 > │ let v38 : float = Fable.Core.RustInterop.emitRustExpr () v37 │
00:02:41 verbose #3503 > │ let v39 : bool = v38 = 0.0 │
00:02:41 verbose #3504 > │ let v41 : bool = │
00:02:41 verbose #3505 > │ if v39 then │
00:02:41 verbose #3506 > │ true │
00:02:41 verbose #3507 > │ else │
00:02:41 verbose #3508 > │ method26(v39) │
00:02:41 verbose #3509 > │ let v42 : string = "assert_eq" │
00:02:41 verbose #3510 > │ let v43 : string = $"{v42} / actual: %A{v38} / expected: %A{0.0}" │
00:02:41 verbose #3511 > │ System.Console.WriteLine v43 │
00:02:41 verbose #3512 > │ let v44 : bool = v41 = false │
00:02:41 verbose #3513 > │ if v44 then │
00:02:41 verbose #3514 > │ failwith<unit> v43 │
00:02:41 verbose #3515 > │ let v45 : int32 = v5 + 1 │
00:02:41 verbose #3516 > │ v3.l0 <- v45 │
00:02:41 verbose #3517 > │ () │
00:02:41 verbose #3518 > │ () │
00:02:41 verbose #3519 > │ and method36 () : unit = │
00:02:41 verbose #3520 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3521 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3522 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3523 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3524 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3525 > │ let v2 : string = "py" │
00:02:41 verbose #3526 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3527 > │ method37(v3) │
00:02:41 verbose #3528 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3529 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3530 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3531 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3532 > │ let v7 : string = "{ //" │
00:02:41 verbose #3533 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3534 > │ let v8 : string = "__result" │
00:02:41 verbose #3535 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3536 > │ () v8 │
00:02:41 verbose #3537 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3538 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3539 > │ () │
00:02:41 verbose #3540 > │ and method39 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3541 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3542 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3543 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v1 │
00:02:41 verbose #3544 > │ let v3 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3545 > │ let v4 : num_complex_Complex<float> = method3(v2) │
00:02:41 verbose #3546 > │ let v5 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3547 > │ method4(v0, v3, v4) │
00:02:41 verbose #3548 > │ let v6 : num_complex_Complex<float> = method19(v0, v2) │
00:02:41 verbose #3549 > │ let v7 : string = "v5.ok()" │
00:02:41 verbose #3550 > │ let v8 : num_complex_Complex<float> option = │
00:02:41 verbose #3551 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3552 > │ let v9 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3553 > │ let v10 : US0 = US0_1 │
00:02:41 verbose #3554 > │ let v11 : US0 = v8 |> Option.map v9 |> Option.defaultValue v10 │
00:02:41 verbose #3555 > │ let v12 : string = "f64::NAN" │
00:02:41 verbose #3556 > │ let v13 : float = Fable.Core.RustInterop.emitRustExpr () v12 │
00:02:41 verbose #3557 > │ let v14 : string = "f64::NAN" │
00:02:41 verbose #3558 > │ let v15 : float = Fable.Core.RustInterop.emitRustExpr () v14 │
00:02:41 verbose #3559 > │ let v16 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3560 > │ let v17 : num_complex_Complex<float> = │
00:02:41 verbose #3561 > │ Fable.Core.RustInterop.emitRustExpr struct (v13, v15) v16 │
00:02:41 verbose #3562 > │ let v20 : num_complex_Complex<float> = │
00:02:41 verbose #3563 > │ match v11 with │
00:02:41 verbose #3564 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3565 > │ v17 │
00:02:41 verbose #3566 > │ | US0_0(v18) -> (* Some *) │
00:02:41 verbose #3567 > │ v18 │
00:02:41 verbose #3568 > │ let v21 : num_complex_Complex<float> = method7(v20) │
00:02:41 verbose #3569 > │ let v22 : string = "v21.re" │
00:02:41 verbose #3570 > │ let v23 : float = Fable.Core.RustInterop.emitRustExpr () v22 │
00:02:41 verbose #3571 > │ let v24 : bool = v23 = infinity │
00:02:41 verbose #3572 > │ let v26 : bool = │
00:02:41 verbose #3573 > │ if v24 then │
00:02:41 verbose #3574 > │ true │
00:02:41 verbose #3575 > │ else │
00:02:41 verbose #3576 > │ method26(v24) │
00:02:41 verbose #3577 > │ let v27 : string = "assert_eq" │
00:02:41 verbose #3578 > │ let v28 : string = $"{v27} / actual: %A{v23} / expected: %A{infinity}" │
00:02:41 verbose #3579 > │ System.Console.WriteLine v28 │
00:02:41 verbose #3580 > │ let v29 : bool = v26 = false │
00:02:41 verbose #3581 > │ if v29 then │
00:02:41 verbose #3582 > │ failwith<unit> v28 │
00:02:41 verbose #3583 > │ let v30 : num_complex_Complex<float> = method8(v20) │
00:02:41 verbose #3584 > │ let v31 : string = "v30.im" │
00:02:41 verbose #3585 > │ let v32 : float = Fable.Core.RustInterop.emitRustExpr () v31 │
00:02:41 verbose #3586 > │ let v33 : bool = v32 = 0.0 │
00:02:41 verbose #3587 > │ let v35 : bool = │
00:02:41 verbose #3588 > │ if v33 then │
00:02:41 verbose #3589 > │ true │
00:02:41 verbose #3590 > │ else │
00:02:41 verbose #3591 > │ method26(v33) │
00:02:41 verbose #3592 > │ let v36 : string = $"{v27} / actual: %A{v32} / expected: %A{0.0}" │
00:02:41 verbose #3593 > │ System.Console.WriteLine v36 │
00:02:41 verbose #3594 > │ let v37 : bool = v35 = false │
00:02:41 verbose #3595 > │ if v37 then │
00:02:41 verbose #3596 > │ failwith<unit> v36 │
00:02:41 verbose #3597 > │ and method38 () : unit = │
00:02:41 verbose #3598 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3599 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3600 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3601 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3602 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3603 > │ let v2 : string = "py" │
00:02:41 verbose #3604 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3605 > │ method39(v3) │
00:02:41 verbose #3606 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3607 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3608 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3609 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3610 > │ let v7 : string = "{ //" │
00:02:41 verbose #3611 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3612 > │ let v8 : string = "__result" │
00:02:41 verbose #3613 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3614 > │ () v8 │
00:02:41 verbose #3615 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3616 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3617 > │ () │
00:02:41 verbose #3618 > │ and method41 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3619 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3620 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3621 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 10.0) v1 │
00:02:41 verbose #3622 > │ let v3 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3623 > │ let v4 : num_complex_Complex<float> = method3(v2) │
00:02:41 verbose #3624 > │ let v5 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3625 > │ method4(v0, v3, v4) │
00:02:41 verbose #3626 > │ let v6 : num_complex_Complex<float> = method19(v0, v2) │
00:02:41 verbose #3627 > │ let v7 : string = "v5.ok()" │
00:02:41 verbose #3628 > │ let v8 : num_complex_Complex<float> option = │
00:02:41 verbose #3629 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3630 > │ let v9 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3631 > │ let v10 : US0 = US0_1 │
00:02:41 verbose #3632 > │ let v11 : US0 = v8 |> Option.map v9 |> Option.defaultValue v10 │
00:02:41 verbose #3633 > │ let v12 : string = "f64::NAN" │
00:02:41 verbose #3634 > │ let v13 : float = Fable.Core.RustInterop.emitRustExpr () v12 │
00:02:41 verbose #3635 > │ let v14 : string = "f64::NAN" │
00:02:41 verbose #3636 > │ let v15 : float = Fable.Core.RustInterop.emitRustExpr () v14 │
00:02:41 verbose #3637 > │ let v16 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3638 > │ let v17 : num_complex_Complex<float> = │
00:02:41 verbose #3639 > │ Fable.Core.RustInterop.emitRustExpr struct (v13, v15) v16 │
00:02:41 verbose #3640 > │ let v20 : num_complex_Complex<float> = │
00:02:41 verbose #3641 > │ match v11 with │
00:02:41 verbose #3642 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3643 > │ v17 │
00:02:41 verbose #3644 > │ | US0_0(v18) -> (* Some *) │
00:02:41 verbose #3645 > │ v18 │
00:02:41 verbose #3646 > │ let v21 : num_complex_Complex<float> = method7(v2) │
00:02:41 verbose #3647 > │ let v22 : string = "v21.re" │
00:02:41 verbose #3648 > │ let v23 : float = Fable.Core.RustInterop.emitRustExpr () v22 │
00:02:41 verbose #3649 > │ let v24 : num_complex_Complex<float> = method8(v2) │
00:02:41 verbose #3650 > │ let v25 : string = "v24.im" │
00:02:41 verbose #3651 > │ let v26 : float = Fable.Core.RustInterop.emitRustExpr () v25 │
00:02:41 verbose #3652 > │ let v27 : float = -v26 │
00:02:41 verbose #3653 > │ let v28 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3654 > │ let v29 : num_complex_Complex<float> = │
00:02:41 verbose #3655 > │ Fable.Core.RustInterop.emitRustExpr struct (v23, v27) v28 │
00:02:41 verbose #3656 > │ let v30 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3657 > │ let v31 : num_complex_Complex<float> = method3(v29) │
00:02:41 verbose #3658 > │ let v32 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3659 > │ method4(v0, v30, v31) │
00:02:41 verbose #3660 > │ let v33 : num_complex_Complex<float> = method19(v0, v29) │
00:02:41 verbose #3661 > │ let v34 : string = "v32.ok()" │
00:02:41 verbose #3662 > │ let v35 : num_complex_Complex<float> option = │
00:02:41 verbose #3663 > │ Fable.Core.RustInterop.emitRustExpr () v34 │
00:02:41 verbose #3664 > │ let v36 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3665 > │ let v37 : US0 = US0_1 │
00:02:41 verbose #3666 > │ let v38 : US0 = v35 |> Option.map v36 |> Option.defaultValue v37 │
00:02:41 verbose #3667 > │ let v39 : string = "f64::NAN" │
00:02:41 verbose #3668 > │ let v40 : float = Fable.Core.RustInterop.emitRustExpr () v39 │
00:02:41 verbose #3669 > │ let v41 : string = "f64::NAN" │
00:02:41 verbose #3670 > │ let v42 : float = Fable.Core.RustInterop.emitRustExpr () v41 │
00:02:41 verbose #3671 > │ let v43 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3672 > │ let v44 : num_complex_Complex<float> = │
00:02:41 verbose #3673 > │ Fable.Core.RustInterop.emitRustExpr struct (v40, v42) v43 │
00:02:41 verbose #3674 > │ let v47 : num_complex_Complex<float> = │
00:02:41 verbose #3675 > │ match v38 with │
00:02:41 verbose #3676 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3677 > │ v44 │
00:02:41 verbose #3678 > │ | US0_0(v45) -> (* Some *) │
00:02:41 verbose #3679 > │ v45 │
00:02:41 verbose #3680 > │ let v48 : string = "v47.conj()" │
00:02:41 verbose #3681 > │ let v49 : num_complex_Complex<float> = │
00:02:41 verbose #3682 > │ Fable.Core.RustInterop.emitRustExpr () v48 │
00:02:41 verbose #3683 > │ let v50 : num_complex_Complex<float> = method7(v20) │
00:02:41 verbose #3684 > │ let v51 : string = "v50.re" │
00:02:41 verbose #3685 > │ let v52 : float = Fable.Core.RustInterop.emitRustExpr () v51 │
00:02:41 verbose #3686 > │ let v53 : num_complex_Complex<float> = method7(v49) │
00:02:41 verbose #3687 > │ let v54 : string = "v53.re" │
00:02:41 verbose #3688 > │ let v55 : float = Fable.Core.RustInterop.emitRustExpr () v54 │
00:02:41 verbose #3689 > │ let v56 : bool = v52 = v55 │
00:02:41 verbose #3690 > │ let v58 : bool = │
00:02:41 verbose #3691 > │ if v56 then │
00:02:41 verbose #3692 > │ true │
00:02:41 verbose #3693 > │ else │
00:02:41 verbose #3694 > │ method26(v56) │
00:02:41 verbose #3695 > │ let v59 : string = "assert_eq" │
00:02:41 verbose #3696 > │ let v60 : string = $"{v59} / actual: %A{v52} / expected: %A{v55}" │
00:02:41 verbose #3697 > │ System.Console.WriteLine v60 │
00:02:41 verbose #3698 > │ let v61 : bool = v58 = false │
00:02:41 verbose #3699 > │ if v61 then │
00:02:41 verbose #3700 > │ failwith<unit> v60 │
00:02:41 verbose #3701 > │ let v62 : num_complex_Complex<float> = method8(v20) │
00:02:41 verbose #3702 > │ let v63 : string = "v62.im" │
00:02:41 verbose #3703 > │ let v64 : float = Fable.Core.RustInterop.emitRustExpr () v63 │
00:02:41 verbose #3704 > │ let v65 : num_complex_Complex<float> = method8(v49) │
00:02:41 verbose #3705 > │ let v66 : string = "v65.im" │
00:02:41 verbose #3706 > │ let v67 : float = Fable.Core.RustInterop.emitRustExpr () v66 │
00:02:41 verbose #3707 > │ let v68 : bool = v64 = v67 │
00:02:41 verbose #3708 > │ let v70 : bool = │
00:02:41 verbose #3709 > │ if v68 then │
00:02:41 verbose #3710 > │ true │
00:02:41 verbose #3711 > │ else │
00:02:41 verbose #3712 > │ method26(v68) │
00:02:41 verbose #3713 > │ let v71 : string = $"{v59} / actual: %A{v64} / expected: %A{v67}" │
00:02:41 verbose #3714 > │ System.Console.WriteLine v71 │
00:02:41 verbose #3715 > │ let v72 : bool = v70 = false │
00:02:41 verbose #3716 > │ if v72 then │
00:02:41 verbose #3717 > │ failwith<unit> v71 │
00:02:41 verbose #3718 > │ and method40 () : unit = │
00:02:41 verbose #3719 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3720 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3721 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3722 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3723 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3724 > │ let v2 : string = "py" │
00:02:41 verbose #3725 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3726 > │ method41(v3) │
00:02:41 verbose #3727 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3728 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3729 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3730 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3731 > │ let v7 : string = "{ //" │
00:02:41 verbose #3732 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3733 > │ let v8 : string = "__result" │
00:02:41 verbose #3734 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3735 > │ () v8 │
00:02:41 verbose #3736 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3737 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3738 > │ () │
00:02:41 verbose #3739 > │ and method43 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3740 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3741 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3742 > │ Fable.Core.RustInterop.emitRustExpr struct (0.01, 0.01) v1 │
00:02:41 verbose #3743 > │ let v3 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3744 > │ let v4 : num_complex_Complex<float> = method3(v2) │
00:02:41 verbose #3745 > │ let v5 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3746 > │ method4(v0, v3, v4) │
00:02:41 verbose #3747 > │ let v6 : num_complex_Complex<float> = method19(v0, v2) │
00:02:41 verbose #3748 > │ let v7 : string = "v5.ok()" │
00:02:41 verbose #3749 > │ let v8 : num_complex_Complex<float> option = │
00:02:41 verbose #3750 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3751 > │ let v9 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3752 > │ let v10 : US0 = US0_1 │
00:02:41 verbose #3753 > │ let v11 : US0 = v8 |> Option.map v9 |> Option.defaultValue v10 │
00:02:41 verbose #3754 > │ let v12 : string = "f64::NAN" │
00:02:41 verbose #3755 > │ let v13 : float = Fable.Core.RustInterop.emitRustExpr () v12 │
00:02:41 verbose #3756 > │ let v14 : string = "f64::NAN" │
00:02:41 verbose #3757 > │ let v15 : float = Fable.Core.RustInterop.emitRustExpr () v14 │
00:02:41 verbose #3758 > │ let v16 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3759 > │ let v17 : num_complex_Complex<float> = │
00:02:41 verbose #3760 > │ Fable.Core.RustInterop.emitRustExpr struct (v13, v15) v16 │
00:02:41 verbose #3761 > │ let v20 : num_complex_Complex<float> = │
00:02:41 verbose #3762 > │ match v11 with │
00:02:41 verbose #3763 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3764 > │ v17 │
00:02:41 verbose #3765 > │ | US0_0(v18) -> (* Some *) │
00:02:41 verbose #3766 > │ v18 │
00:02:41 verbose #3767 > │ let v21 : num_complex_Complex<float> = method7(v20) │
00:02:41 verbose #3768 > │ let v22 : string = "v21.re" │
00:02:41 verbose #3769 > │ let v23 : float = Fable.Core.RustInterop.emitRustExpr () v22 │
00:02:41 verbose #3770 > │ let v24 : bool = v23 < infinity │
00:02:41 verbose #3771 > │ let v26 : bool = │
00:02:41 verbose #3772 > │ if v24 then │
00:02:41 verbose #3773 > │ true │
00:02:41 verbose #3774 > │ else │
00:02:41 verbose #3775 > │ method26(v24) │
00:02:41 verbose #3776 > │ let v27 : string = "assert_lt" │
00:02:41 verbose #3777 > │ let v28 : string = $"{v27} / actual: %A{v23} / expected: %A{infinity}" │
00:02:41 verbose #3778 > │ System.Console.WriteLine v28 │
00:02:41 verbose #3779 > │ let v29 : bool = v26 = false │
00:02:41 verbose #3780 > │ if v29 then │
00:02:41 verbose #3781 > │ failwith<unit> v28 │
00:02:41 verbose #3782 > │ let v30 : num_complex_Complex<float> = method8(v20) │
00:02:41 verbose #3783 > │ let v31 : string = "v30.im" │
00:02:41 verbose #3784 > │ let v32 : float = Fable.Core.RustInterop.emitRustExpr () v31 │
00:02:41 verbose #3785 > │ let v33 : bool = v32 < infinity │
00:02:41 verbose #3786 > │ let v35 : bool = │
00:02:41 verbose #3787 > │ if v33 then │
00:02:41 verbose #3788 > │ true │
00:02:41 verbose #3789 > │ else │
00:02:41 verbose #3790 > │ method26(v33) │
00:02:41 verbose #3791 > │ let v36 : string = $"{v27} / actual: %A{v32} / expected: %A{infinity}" │
00:02:41 verbose #3792 > │ System.Console.WriteLine v36 │
00:02:41 verbose #3793 > │ let v37 : bool = v35 = false │
00:02:41 verbose #3794 > │ if v37 then │
00:02:41 verbose #3795 > │ failwith<unit> v36 │
00:02:41 verbose #3796 > │ and method42 () : unit = │
00:02:41 verbose #3797 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3798 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3799 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3800 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3801 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3802 > │ let v2 : string = "py" │
00:02:41 verbose #3803 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3804 > │ method43(v3) │
00:02:41 verbose #3805 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3806 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3807 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3808 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3809 > │ let v7 : string = "{ //" │
00:02:41 verbose #3810 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3811 > │ let v8 : string = "__result" │
00:02:41 verbose #3812 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3813 > │ () v8 │
00:02:41 verbose #3814 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3815 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3816 > │ () │
00:02:41 verbose #3817 > │ and method46 () : (float []) = │
00:02:41 verbose #3818 > │ let v0 : (float []) = [|10.0; 20.0; 30.0; 40.0; 50.0; 60.0; 70.0; 80.0; │
00:02:41 verbose #3819 > │ 90.0; 100.0|] │
00:02:41 verbose #3820 > │ v0 │
00:02:41 verbose #3821 > │ and method45 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3822 > │ let v1 : (float []) = method46() │
00:02:41 verbose #3823 > │ let v2 : int32 = v1.Length │
00:02:41 verbose #3824 > │ let v3 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #3825 > │ while method2(v2, v3) do │
00:02:41 verbose #3826 > │ let v5 : int32 = v3.l0 │
00:02:41 verbose #3827 > │ let v6 : float = v1.[int v5] │
00:02:41 verbose #3828 > │ let v7 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3829 > │ let v8 : num_complex_Complex<float> = │
00:02:41 verbose #3830 > │ Fable.Core.RustInterop.emitRustExpr struct (0.0, v6) v7 │
00:02:41 verbose #3831 > │ let v9 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3832 > │ let v10 : num_complex_Complex<float> = method3(v8) │
00:02:41 verbose #3833 > │ let v11 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3834 > │ method4(v0, v9, v10) │
00:02:41 verbose #3835 > │ let v12 : num_complex_Complex<float> = method19(v0, v8) │
00:02:41 verbose #3836 > │ let v13 : string = "v11.ok()" │
00:02:41 verbose #3837 > │ let v14 : num_complex_Complex<float> option = │
00:02:41 verbose #3838 > │ Fable.Core.RustInterop.emitRustExpr () v13 │
00:02:41 verbose #3839 > │ let v15 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3840 > │ let v16 : US0 = US0_1 │
00:02:41 verbose #3841 > │ let v17 : US0 = v14 |> Option.map v15 |> Option.defaultValue v16 │
00:02:41 verbose #3842 > │ let v18 : string = "f64::NAN" │
00:02:41 verbose #3843 > │ let v19 : float = Fable.Core.RustInterop.emitRustExpr () v18 │
00:02:41 verbose #3844 > │ let v20 : string = "f64::NAN" │
00:02:41 verbose #3845 > │ let v21 : float = Fable.Core.RustInterop.emitRustExpr () v20 │
00:02:41 verbose #3846 > │ let v22 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3847 > │ let v23 : num_complex_Complex<float> = │
00:02:41 verbose #3848 > │ Fable.Core.RustInterop.emitRustExpr struct (v19, v21) v22 │
00:02:41 verbose #3849 > │ let v26 : num_complex_Complex<float> = │
00:02:41 verbose #3850 > │ match v17 with │
00:02:41 verbose #3851 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3852 > │ v23 │
00:02:41 verbose #3853 > │ | US0_0(v24) -> (* Some *) │
00:02:41 verbose #3854 > │ v24 │
00:02:41 verbose #3855 > │ let v27 : num_complex_Complex<float> = method7(v26) │
00:02:41 verbose #3856 > │ let v28 : string = "v27.re" │
00:02:41 verbose #3857 > │ let v29 : float = Fable.Core.RustInterop.emitRustExpr () v28 │
00:02:41 verbose #3858 > │ let v30 : bool = v29 <> 0.0 │
00:02:41 verbose #3859 > │ let v32 : bool = │
00:02:41 verbose #3860 > │ if v30 then │
00:02:41 verbose #3861 > │ true │
00:02:41 verbose #3862 > │ else │
00:02:41 verbose #3863 > │ method26(v30) │
00:02:41 verbose #3864 > │ let v33 : string = "assert_ne" │
00:02:41 verbose #3865 > │ let v34 : string = $"{v33} / actual: %A{v29} / expected: %A{0.0}" │
00:02:41 verbose #3866 > │ System.Console.WriteLine v34 │
00:02:41 verbose #3867 > │ let v35 : bool = v32 = false │
00:02:41 verbose #3868 > │ if v35 then │
00:02:41 verbose #3869 > │ failwith<unit> v34 │
00:02:41 verbose #3870 > │ let v36 : num_complex_Complex<float> = method8(v26) │
00:02:41 verbose #3871 > │ let v37 : string = "v36.im" │
00:02:41 verbose #3872 > │ let v38 : float = Fable.Core.RustInterop.emitRustExpr () v37 │
00:02:41 verbose #3873 > │ let v39 : bool = v38 <> 0.0 │
00:02:41 verbose #3874 > │ let v41 : bool = │
00:02:41 verbose #3875 > │ if v39 then │
00:02:41 verbose #3876 > │ true │
00:02:41 verbose #3877 > │ else │
00:02:41 verbose #3878 > │ method26(v39) │
00:02:41 verbose #3879 > │ let v42 : string = $"{v33} / actual: %A{v38} / expected: %A{0.0}" │
00:02:41 verbose #3880 > │ System.Console.WriteLine v42 │
00:02:41 verbose #3881 > │ let v43 : bool = v41 = false │
00:02:41 verbose #3882 > │ if v43 then │
00:02:41 verbose #3883 > │ failwith<unit> v42 │
00:02:41 verbose #3884 > │ let v44 : int32 = v5 + 1 │
00:02:41 verbose #3885 > │ v3.l0 <- v44 │
00:02:41 verbose #3886 > │ () │
00:02:41 verbose #3887 > │ () │
00:02:41 verbose #3888 > │ and method44 () : unit = │
00:02:41 verbose #3889 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3890 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3891 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3892 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3893 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3894 > │ let v2 : string = "py" │
00:02:41 verbose #3895 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3896 > │ method45(v3) │
00:02:41 verbose #3897 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3898 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3899 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #3900 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #3901 > │ let v7 : string = "{ //" │
00:02:41 verbose #3902 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #3903 > │ let v8 : string = "__result" │
00:02:41 verbose #3904 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #3905 > │ () v8 │
00:02:41 verbose #3906 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #3907 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #3908 > │ () │
00:02:41 verbose #3909 > │ and method48 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #3910 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3911 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #3912 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 14.134725) v1 │
00:02:41 verbose #3913 > │ let v3 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3914 > │ let v4 : num_complex_Complex<float> = │
00:02:41 verbose #3915 > │ Fable.Core.RustInterop.emitRustExpr struct (0.75, 20.5) v3 │
00:02:41 verbose #3916 > │ let v5 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3917 > │ let v6 : num_complex_Complex<float> = │
00:02:41 verbose #3918 > │ Fable.Core.RustInterop.emitRustExpr struct (1.25, 30.1) v5 │
00:02:41 verbose #3919 > │ let v7 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3920 > │ let v8 : num_complex_Complex<float> = │
00:02:41 verbose #3921 > │ Fable.Core.RustInterop.emitRustExpr struct (0.25, 40.0) v7 │
00:02:41 verbose #3922 > │ let v9 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3923 > │ let v10 : num_complex_Complex<float> = │
00:02:41 verbose #3924 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 50.0) v9 │
00:02:41 verbose #3925 > │ let v11 : (num_complex_Complex<float> []) = [|v2; v4; v6; v8; v10|] │
00:02:41 verbose #3926 > │ let v12 : int32 = v11.Length │
00:02:41 verbose #3927 > │ let v13 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #3928 > │ while method2(v12, v13) do │
00:02:41 verbose #3929 > │ let v15 : int32 = v13.l0 │
00:02:41 verbose #3930 > │ let v16 : num_complex_Complex<float> = v11.[int v15] │
00:02:41 verbose #3931 > │ let v17 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #3932 > │ let v18 : num_complex_Complex<float> = method3(v16) │
00:02:41 verbose #3933 > │ let v19 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #3934 > │ method4(v0, v17, v18) │
00:02:41 verbose #3935 > │ let v20 : num_complex_Complex<float> = method19(v0, v16) │
00:02:41 verbose #3936 > │ let v21 : string = "v19.ok()" │
00:02:41 verbose #3937 > │ let v22 : num_complex_Complex<float> option = │
00:02:41 verbose #3938 > │ Fable.Core.RustInterop.emitRustExpr () v21 │
00:02:41 verbose #3939 > │ let v23 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #3940 > │ let v24 : US0 = US0_1 │
00:02:41 verbose #3941 > │ let v25 : US0 = v22 |> Option.map v23 |> Option.defaultValue v24 │
00:02:41 verbose #3942 > │ let v26 : string = "f64::NAN" │
00:02:41 verbose #3943 > │ let v27 : float = Fable.Core.RustInterop.emitRustExpr () v26 │
00:02:41 verbose #3944 > │ let v28 : string = "f64::NAN" │
00:02:41 verbose #3945 > │ let v29 : float = Fable.Core.RustInterop.emitRustExpr () v28 │
00:02:41 verbose #3946 > │ let v30 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #3947 > │ let v31 : num_complex_Complex<float> = │
00:02:41 verbose #3948 > │ Fable.Core.RustInterop.emitRustExpr struct (v27, v29) v30 │
00:02:41 verbose #3949 > │ let v34 : num_complex_Complex<float> = │
00:02:41 verbose #3950 > │ match v25 with │
00:02:41 verbose #3951 > │ | US0_1 -> (* None *) │
00:02:41 verbose #3952 > │ v31 │
00:02:41 verbose #3953 > │ | US0_0(v32) -> (* Some *) │
00:02:41 verbose #3954 > │ v32 │
00:02:41 verbose #3955 > │ let v35 : num_complex_Complex<float> = method7(v34) │
00:02:41 verbose #3956 > │ let v36 : string = "v35.re" │
00:02:41 verbose #3957 > │ let v37 : float = Fable.Core.RustInterop.emitRustExpr () v36 │
00:02:41 verbose #3958 > │ let v38 : bool = v37 <> 0.0 │
00:02:41 verbose #3959 > │ let v40 : bool = │
00:02:41 verbose #3960 > │ if v38 then │
00:02:41 verbose #3961 > │ true │
00:02:41 verbose #3962 > │ else │
00:02:41 verbose #3963 > │ method26(v38) │
00:02:41 verbose #3964 > │ let v41 : string = "assert_ne" │
00:02:41 verbose #3965 > │ let v42 : string = $"{v41} / actual: %A{v37} / expected: %A{0.0}" │
00:02:41 verbose #3966 > │ System.Console.WriteLine v42 │
00:02:41 verbose #3967 > │ let v43 : bool = v40 = false │
00:02:41 verbose #3968 > │ if v43 then │
00:02:41 verbose #3969 > │ failwith<unit> v42 │
00:02:41 verbose #3970 > │ let v44 : num_complex_Complex<float> = method8(v34) │
00:02:41 verbose #3971 > │ let v45 : string = "v44.im" │
00:02:41 verbose #3972 > │ let v46 : float = Fable.Core.RustInterop.emitRustExpr () v45 │
00:02:41 verbose #3973 > │ let v47 : bool = v46 <> 0.0 │
00:02:41 verbose #3974 > │ let v49 : bool = │
00:02:41 verbose #3975 > │ if v47 then │
00:02:41 verbose #3976 > │ true │
00:02:41 verbose #3977 > │ else │
00:02:41 verbose #3978 > │ method26(v47) │
00:02:41 verbose #3979 > │ let v50 : string = $"{v41} / actual: %A{v46} / expected: %A{0.0}" │
00:02:41 verbose #3980 > │ System.Console.WriteLine v50 │
00:02:41 verbose #3981 > │ let v51 : bool = v49 = false │
00:02:41 verbose #3982 > │ if v51 then │
00:02:41 verbose #3983 > │ failwith<unit> v50 │
00:02:41 verbose #3984 > │ let v52 : int32 = v15 + 1 │
00:02:41 verbose #3985 > │ v13.l0 <- v52 │
00:02:41 verbose #3986 > │ () │
00:02:41 verbose #3987 > │ () │
00:02:41 verbose #3988 > │ and method47 () : unit = │
00:02:41 verbose #3989 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #3990 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #3991 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #3992 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #3993 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #3994 > │ let v2 : string = "py" │
00:02:41 verbose #3995 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #3996 > │ method48(v3) │
00:02:41 verbose #3997 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #3998 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #3999 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #4000 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #4001 > │ let v7 : string = "{ //" │
00:02:41 verbose #4002 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #4003 > │ let v8 : string = "__result" │
00:02:41 verbose #4004 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #4005 > │ () v8 │
00:02:41 verbose #4006 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #4007 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #4008 > │ () │
00:02:41 verbose #4009 > │ and method50 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #4010 > │ let v1 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4011 > │ let v2 : num_complex_Complex<float> = │
00:02:41 verbose #4012 > │ Fable.Core.RustInterop.emitRustExpr struct (3.0, 4.0) v1 │
00:02:41 verbose #4013 > │ let v3 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4014 > │ let v4 : num_complex_Complex<float> = │
00:02:41 verbose #4015 > │ Fable.Core.RustInterop.emitRustExpr struct (2.5, -3.5) v3 │
00:02:41 verbose #4016 > │ let v5 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4017 > │ let v6 : num_complex_Complex<float> = │
00:02:41 verbose #4018 > │ Fable.Core.RustInterop.emitRustExpr struct (1.5, 2.5) v5 │
00:02:41 verbose #4019 > │ let v7 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4020 > │ let v8 : num_complex_Complex<float> = │
00:02:41 verbose #4021 > │ Fable.Core.RustInterop.emitRustExpr struct (0.5, 14.134725) v7 │
00:02:41 verbose #4022 > │ let v9 : (num_complex_Complex<float> []) = [|v2; v4; v6; v8|] │
00:02:41 verbose #4023 > │ let v10 : int32 = v9.Length │
00:02:41 verbose #4024 > │ let v11 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #4025 > │ while method2(v10, v11) do │
00:02:41 verbose #4026 > │ let v13 : int32 = v11.l0 │
00:02:41 verbose #4027 > │ let v14 : num_complex_Complex<float> = v9.[int v13] │
00:02:41 verbose #4028 > │ let v15 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #4029 > │ let v16 : num_complex_Complex<float> = method3(v14) │
00:02:41 verbose #4030 > │ let v17 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #4031 > │ method4(v0, v15, v16) │
00:02:41 verbose #4032 > │ let v18 : num_complex_Complex<float> = method19(v0, v14) │
00:02:41 verbose #4033 > │ let v19 : string = "v17.ok()" │
00:02:41 verbose #4034 > │ let v20 : num_complex_Complex<float> option = │
00:02:41 verbose #4035 > │ Fable.Core.RustInterop.emitRustExpr () v19 │
00:02:41 verbose #4036 > │ let v21 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #4037 > │ let v22 : US0 = US0_1 │
00:02:41 verbose #4038 > │ let v23 : US0 = v20 |> Option.map v21 |> Option.defaultValue v22 │
00:02:41 verbose #4039 > │ let v24 : string = "f64::NAN" │
00:02:41 verbose #4040 > │ let v25 : float = Fable.Core.RustInterop.emitRustExpr () v24 │
00:02:41 verbose #4041 > │ let v26 : string = "f64::NAN" │
00:02:41 verbose #4042 > │ let v27 : float = Fable.Core.RustInterop.emitRustExpr () v26 │
00:02:41 verbose #4043 > │ let v28 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4044 > │ let v29 : num_complex_Complex<float> = │
00:02:41 verbose #4045 > │ Fable.Core.RustInterop.emitRustExpr struct (v25, v27) v28 │
00:02:41 verbose #4046 > │ let v32 : num_complex_Complex<float> = │
00:02:41 verbose #4047 > │ match v23 with │
00:02:41 verbose #4048 > │ | US0_1 -> (* None *) │
00:02:41 verbose #4049 > │ v29 │
00:02:41 verbose #4050 > │ | US0_0(v30) -> (* Some *) │
00:02:41 verbose #4051 > │ v30 │
00:02:41 verbose #4052 > │ let v33 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4053 > │ let v34 : num_complex_Complex<float> = │
00:02:41 verbose #4054 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v33 │
00:02:41 verbose #4055 > │ let v35 : num_complex_Complex<float> = method22(v34) │
00:02:41 verbose #4056 > │ let v36 : num_complex_Complex<float> = method23(v14) │
00:02:41 verbose #4057 > │ let v37 : string = "num_complex::Complex::powc(v35, v36)" │
00:02:41 verbose #4058 > │ let v38 : num_complex_Complex<float> = │
00:02:41 verbose #4059 > │ Fable.Core.RustInterop.emitRustExpr () v37 │
00:02:41 verbose #4060 > │ let v39 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4061 > │ let v40 : num_complex_Complex<float> = │
00:02:41 verbose #4062 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v39 │
00:02:41 verbose #4063 > │ let v41 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4064 > │ let v42 : num_complex_Complex<float> = │
00:02:41 verbose #4065 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v41 │
00:02:41 verbose #4066 > │ let v43 : string = "$0 - $1" │
00:02:41 verbose #4067 > │ let v44 : num_complex_Complex<float> = │
00:02:41 verbose #4068 > │ Fable.Core.RustInterop.emitRustExpr struct (v14, v42) v43 │
00:02:41 verbose #4069 > │ let v45 : num_complex_Complex<float> = method22(v40) │
00:02:41 verbose #4070 > │ let v46 : num_complex_Complex<float> = method23(v44) │
00:02:41 verbose #4071 > │ let v47 : string = "num_complex::Complex::powc(v45, v46)" │
00:02:41 verbose #4072 > │ let v48 : num_complex_Complex<float> = │
00:02:41 verbose #4073 > │ Fable.Core.RustInterop.emitRustExpr () v47 │
00:02:41 verbose #4074 > │ let v49 : string = "$0 * $1" │
00:02:41 verbose #4075 > │ let v50 : num_complex_Complex<float> = │
00:02:41 verbose #4076 > │ Fable.Core.RustInterop.emitRustExpr struct (v38, v48) v49 │
00:02:41 verbose #4077 > │ let v51 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4078 > │ let v52 : num_complex_Complex<float> = │
00:02:41 verbose #4079 > │ Fable.Core.RustInterop.emitRustExpr struct (3.141592653589793, 0.0) v51 │
00:02:41 verbose #4080 > │ let v53 : string = "$0 * $1" │
00:02:41 verbose #4081 > │ let v54 : num_complex_Complex<float> = │
00:02:41 verbose #4082 > │ Fable.Core.RustInterop.emitRustExpr struct (v52, v14) v53 │
00:02:41 verbose #4083 > │ let v55 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4084 > │ let v56 : num_complex_Complex<float> = │
00:02:41 verbose #4085 > │ Fable.Core.RustInterop.emitRustExpr struct (2.0, 0.0) v55 │
00:02:41 verbose #4086 > │ let v57 : string = "v54 / v56" │
00:02:41 verbose #4087 > │ let v58 : num_complex_Complex<float> = │
00:02:41 verbose #4088 > │ Fable.Core.RustInterop.emitRustExpr () v57 │
00:02:41 verbose #4089 > │ let v59 : string = "v58.sin()" │
00:02:41 verbose #4090 > │ let v60 : num_complex_Complex<float> = │
00:02:41 verbose #4091 > │ Fable.Core.RustInterop.emitRustExpr () v59 │
00:02:41 verbose #4092 > │ let v61 : string = "$0 * $1" │
00:02:41 verbose #4093 > │ let v62 : num_complex_Complex<float> = │
00:02:41 verbose #4094 > │ Fable.Core.RustInterop.emitRustExpr struct (v50, v60) v61 │
00:02:41 verbose #4095 > │ let v63 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4096 > │ let v64 : num_complex_Complex<float> = │
00:02:41 verbose #4097 > │ Fable.Core.RustInterop.emitRustExpr struct (1.0, 0.0) v63 │
00:02:41 verbose #4098 > │ let v65 : string = "$0 - $1" │
00:02:41 verbose #4099 > │ let v66 : num_complex_Complex<float> = │
00:02:41 verbose #4100 > │ Fable.Core.RustInterop.emitRustExpr struct (v64, v14) v65 │
00:02:41 verbose #4101 > │ let v67 : string = $" s = mpmath.gamma(s)" │
00:02:41 verbose #4102 > │ let v68 : num_complex_Complex<float> = method3(v66) │
00:02:41 verbose #4103 > │ let v69 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #4104 > │ method24(v0, v67, v68) │
00:02:41 verbose #4105 > │ let v70 : string = "v69.ok()" │
00:02:41 verbose #4106 > │ let v71 : num_complex_Complex<float> option = │
00:02:41 verbose #4107 > │ Fable.Core.RustInterop.emitRustExpr () v70 │
00:02:41 verbose #4108 > │ let v72 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #4109 > │ let v73 : US0 = US0_1 │
00:02:41 verbose #4110 > │ let v74 : US0 = v71 |> Option.map v72 |> Option.defaultValue v73 │
00:02:41 verbose #4111 > │ let v75 : string = "f64::NAN" │
00:02:41 verbose #4112 > │ let v76 : float = Fable.Core.RustInterop.emitRustExpr () v75 │
00:02:41 verbose #4113 > │ let v77 : string = "f64::NAN" │
00:02:41 verbose #4114 > │ let v78 : float = Fable.Core.RustInterop.emitRustExpr () v77 │
00:02:41 verbose #4115 > │ let v79 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4116 > │ let v80 : num_complex_Complex<float> = │
00:02:41 verbose #4117 > │ Fable.Core.RustInterop.emitRustExpr struct (v76, v78) v79 │
00:02:41 verbose #4118 > │ let v83 : num_complex_Complex<float> = │
00:02:41 verbose #4119 > │ match v74 with │
00:02:41 verbose #4120 > │ | US0_1 -> (* None *) │
00:02:41 verbose #4121 > │ v80 │
00:02:41 verbose #4122 > │ | US0_0(v81) -> (* Some *) │
00:02:41 verbose #4123 > │ v81 │
00:02:41 verbose #4124 > │ let v84 : string = "$0 * $1" │
00:02:41 verbose #4125 > │ let v85 : num_complex_Complex<float> = │
00:02:41 verbose #4126 > │ Fable.Core.RustInterop.emitRustExpr struct (v62, v83) v84 │
00:02:41 verbose #4127 > │ let v86 : num_complex_Complex<float> = method7(v14) │
00:02:41 verbose #4128 > │ let v87 : string = "v86.re" │
00:02:41 verbose #4129 > │ let v88 : float = Fable.Core.RustInterop.emitRustExpr () v87 │
00:02:41 verbose #4130 > │ let v89 : float = 1.0 - v88 │
00:02:41 verbose #4131 > │ let v90 : num_complex_Complex<float> = method8(v14) │
00:02:41 verbose #4132 > │ let v91 : string = "v90.im" │
00:02:41 verbose #4133 > │ let v92 : float = Fable.Core.RustInterop.emitRustExpr () v91 │
00:02:41 verbose #4134 > │ let v93 : float = -v92 │
00:02:41 verbose #4135 > │ let v94 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4136 > │ let v95 : num_complex_Complex<float> = │
00:02:41 verbose #4137 > │ Fable.Core.RustInterop.emitRustExpr struct (v89, v93) v94 │
00:02:41 verbose #4138 > │ let v96 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #4139 > │ let v97 : num_complex_Complex<float> = method3(v95) │
00:02:41 verbose #4140 > │ let v98 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #4141 > │ method4(v0, v96, v97) │
00:02:41 verbose #4142 > │ let v99 : num_complex_Complex<float> = method19(v0, v95) │
00:02:41 verbose #4143 > │ let v100 : string = "v98.ok()" │
00:02:41 verbose #4144 > │ let v101 : num_complex_Complex<float> option = │
00:02:41 verbose #4145 > │ Fable.Core.RustInterop.emitRustExpr () v100 │
00:02:41 verbose #4146 > │ let v102 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #4147 > │ let v103 : US0 = US0_1 │
00:02:41 verbose #4148 > │ let v104 : US0 = v101 |> Option.map v102 |> Option.defaultValue v103 │
00:02:41 verbose #4149 > │ let v105 : string = "f64::NAN" │
00:02:41 verbose #4150 > │ let v106 : float = Fable.Core.RustInterop.emitRustExpr () v105 │
00:02:41 verbose #4151 > │ let v107 : string = "f64::NAN" │
00:02:41 verbose #4152 > │ let v108 : float = Fable.Core.RustInterop.emitRustExpr () v107 │
00:02:41 verbose #4153 > │ let v109 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4154 > │ let v110 : num_complex_Complex<float> = │
00:02:41 verbose #4155 > │ Fable.Core.RustInterop.emitRustExpr struct (v106, v108) v109 │
00:02:41 verbose #4156 > │ let v113 : num_complex_Complex<float> = │
00:02:41 verbose #4157 > │ match v104 with │
00:02:41 verbose #4158 > │ | US0_1 -> (* None *) │
00:02:41 verbose #4159 > │ v110 │
00:02:41 verbose #4160 > │ | US0_0(v111) -> (* Some *) │
00:02:41 verbose #4161 > │ v111 │
00:02:41 verbose #4162 > │ let v114 : string = "$0 * $1" │
00:02:41 verbose #4163 > │ let v115 : num_complex_Complex<float> = │
00:02:41 verbose #4164 > │ Fable.Core.RustInterop.emitRustExpr struct (v85, v113) v114 │
00:02:41 verbose #4165 > │ let v116 : num_complex_Complex<float> = method7(v32) │
00:02:41 verbose #4166 > │ let v117 : string = "v116.re" │
00:02:41 verbose #4167 > │ let v118 : float = Fable.Core.RustInterop.emitRustExpr () v117 │
00:02:41 verbose #4168 > │ let v119 : num_complex_Complex<float> = method7(v115) │
00:02:41 verbose #4169 > │ let v120 : string = "v119.re" │
00:02:41 verbose #4170 > │ let v121 : float = Fable.Core.RustInterop.emitRustExpr () v120 │
00:02:41 verbose #4171 > │ let v122 : float = v118 - v121 │
00:02:41 verbose #4172 > │ let v123 : float = -v122 │
00:02:41 verbose #4173 > │ let v124 : bool = v122 >= v123 │
00:02:41 verbose #4174 > │ let v125 : float = │
00:02:41 verbose #4175 > │ if v124 then │
00:02:41 verbose #4176 > │ v122 │
00:02:41 verbose #4177 > │ else │
00:02:41 verbose #4178 > │ v123 │
00:02:41 verbose #4179 > │ let v126 : bool = v125 < 0.0001 │
00:02:41 verbose #4180 > │ let v128 : bool = │
00:02:41 verbose #4181 > │ if v126 then │
00:02:41 verbose #4182 > │ true │
00:02:41 verbose #4183 > │ else │
00:02:41 verbose #4184 > │ method26(v126) │
00:02:41 verbose #4185 > │ let v129 : string = "assert_lt" │
00:02:41 verbose #4186 > │ let v130 : string = $"{v129} / actual: %A{v125} / expected: │
00:02:41 verbose #4187 > │ %A{0.0001}" │
00:02:41 verbose #4188 > │ System.Console.WriteLine v130 │
00:02:41 verbose #4189 > │ let v131 : bool = v128 = false │
00:02:41 verbose #4190 > │ if v131 then │
00:02:41 verbose #4191 > │ failwith<unit> v130 │
00:02:41 verbose #4192 > │ let v132 : num_complex_Complex<float> = method8(v32) │
00:02:41 verbose #4193 > │ let v133 : string = "v132.im" │
00:02:41 verbose #4194 > │ let v134 : float = Fable.Core.RustInterop.emitRustExpr () v133 │
00:02:41 verbose #4195 > │ let v135 : num_complex_Complex<float> = method8(v115) │
00:02:41 verbose #4196 > │ let v136 : string = "v135.im" │
00:02:41 verbose #4197 > │ let v137 : float = Fable.Core.RustInterop.emitRustExpr () v136 │
00:02:41 verbose #4198 > │ let v138 : float = v134 - v137 │
00:02:41 verbose #4199 > │ let v139 : float = -v138 │
00:02:41 verbose #4200 > │ let v140 : bool = v138 >= v139 │
00:02:41 verbose #4201 > │ let v141 : float = │
00:02:41 verbose #4202 > │ if v140 then │
00:02:41 verbose #4203 > │ v138 │
00:02:41 verbose #4204 > │ else │
00:02:41 verbose #4205 > │ v139 │
00:02:41 verbose #4206 > │ let v142 : bool = v141 < 0.0001 │
00:02:41 verbose #4207 > │ let v144 : bool = │
00:02:41 verbose #4208 > │ if v142 then │
00:02:41 verbose #4209 > │ true │
00:02:41 verbose #4210 > │ else │
00:02:41 verbose #4211 > │ method26(v142) │
00:02:41 verbose #4212 > │ let v145 : string = $"{v129} / actual: %A{v141} / expected: │
00:02:41 verbose #4213 > │ %A{0.0001}" │
00:02:41 verbose #4214 > │ System.Console.WriteLine v145 │
00:02:41 verbose #4215 > │ let v146 : bool = v144 = false │
00:02:41 verbose #4216 > │ if v146 then │
00:02:41 verbose #4217 > │ failwith<unit> v145 │
00:02:41 verbose #4218 > │ let v147 : int32 = v13 + 1 │
00:02:41 verbose #4219 > │ v11.l0 <- v147 │
00:02:41 verbose #4220 > │ () │
00:02:41 verbose #4221 > │ () │
00:02:41 verbose #4222 > │ and method49 () : unit = │
00:02:41 verbose #4223 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #4224 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #4225 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #4226 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #4227 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #4228 > │ let v2 : string = "py" │
00:02:41 verbose #4229 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #4230 > │ method50(v3) │
00:02:41 verbose #4231 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #4232 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #4233 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #4234 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #4235 > │ let v7 : string = "{ //" │
00:02:41 verbose #4236 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #4237 > │ let v8 : string = "__result" │
00:02:41 verbose #4238 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #4239 > │ () v8 │
00:02:41 verbose #4240 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #4241 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #4242 > │ () │
00:02:41 verbose #4243 > │ and method53 (v0 : int32, v1 : Mut3) : bool = │
00:02:41 verbose #4244 > │ let v2 : int32 = v1.l0 │
00:02:41 verbose #4245 > │ let v3 : bool = v2 < v0 │
00:02:41 verbose #4246 > │ v3 │
00:02:41 verbose #4247 > │ and method52 (v0 : pyo3_Python) : unit = │
00:02:41 verbose #4248 > │ let v1 : (float []) = [|2.0; 2.5; 3.0; 3.5; 4.0; 4.5; 5.0|] │
00:02:41 verbose #4249 > │ let v2 : (float []) = [|2.0; 3.0; 5.0; 7.0; 11.0; 13.0; 17.0; 19.0; │
00:02:41 verbose #4250 > │ 23.0; 29.0; 31.0; 37.0; 41.0; 43.0; 47.0; 53.0; 59.0; 61.0; 67.0; 71.0|] │
00:02:41 verbose #4251 > │ let v3 : int32 = v1.Length │
00:02:41 verbose #4252 > │ let v4 : Mut0 = {l0 = 0} : Mut0 │
00:02:41 verbose #4253 > │ while method2(v3, v4) do │
00:02:41 verbose #4254 > │ let v6 : int32 = v4.l0 │
00:02:41 verbose #4255 > │ let v7 : float = v1.[int v6] │
00:02:41 verbose #4256 > │ let v8 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4257 > │ let v9 : num_complex_Complex<float> = │
00:02:41 verbose #4258 > │ Fable.Core.RustInterop.emitRustExpr struct (v7, 0.0) v8 │
00:02:41 verbose #4259 > │ let v10 : int32 = v2.Length │
00:02:41 verbose #4260 > │ let v11 : Mut3 = {l0 = 0; l1 = 1.0} : Mut3 │
00:02:41 verbose #4261 > │ while method53(v10, v11) do │
00:02:41 verbose #4262 > │ let v13 : int32 = v11.l0 │
00:02:41 verbose #4263 > │ let v14 : float = v11.l1 │
00:02:41 verbose #4264 > │ let v15 : float = v2.[int v13] │
00:02:41 verbose #4265 > │ let v16 : float = -v7 │
00:02:41 verbose #4266 > │ let v17 : float = v15 ** v16 │
00:02:41 verbose #4267 > │ let v18 : float = 1.0 - v17 │
00:02:41 verbose #4268 > │ let v19 : float = v14 / v18 │
00:02:41 verbose #4269 > │ let v20 : int32 = v13 + 1 │
00:02:41 verbose #4270 > │ v11.l0 <- v20 │
00:02:41 verbose #4271 > │ v11.l1 <- v19 │
00:02:41 verbose #4272 > │ () │
00:02:41 verbose #4273 > │ let v21 : float = v11.l1 │
00:02:41 verbose #4274 > │ let v22 : string = $" s = mpmath.zeta(s)" │
00:02:41 verbose #4275 > │ let v23 : num_complex_Complex<float> = method3(v9) │
00:02:41 verbose #4276 > │ let v24 : Result<num_complex_Complex<float>, std_string_String> = │
00:02:41 verbose #4277 > │ method4(v0, v22, v23) │
00:02:41 verbose #4278 > │ let v25 : num_complex_Complex<float> = method19(v0, v9) │
00:02:41 verbose #4279 > │ let v26 : string = "v24.ok()" │
00:02:41 verbose #4280 > │ let v27 : num_complex_Complex<float> option = │
00:02:41 verbose #4281 > │ Fable.Core.RustInterop.emitRustExpr () v26 │
00:02:41 verbose #4282 > │ let v28 : (num_complex_Complex<float> -> US0) = method25() │
00:02:41 verbose #4283 > │ let v29 : US0 = US0_1 │
00:02:41 verbose #4284 > │ let v30 : US0 = v27 |> Option.map v28 |> Option.defaultValue v29 │
00:02:41 verbose #4285 > │ let v31 : string = "f64::NAN" │
00:02:41 verbose #4286 > │ let v32 : float = Fable.Core.RustInterop.emitRustExpr () v31 │
00:02:41 verbose #4287 > │ let v33 : string = "f64::NAN" │
00:02:41 verbose #4288 > │ let v34 : float = Fable.Core.RustInterop.emitRustExpr () v33 │
00:02:41 verbose #4289 > │ let v35 : string = "num_complex::Complex::new($0, $1)" │
00:02:41 verbose #4290 > │ let v36 : num_complex_Complex<float> = │
00:02:41 verbose #4291 > │ Fable.Core.RustInterop.emitRustExpr struct (v32, v34) v35 │
00:02:41 verbose #4292 > │ let v39 : num_complex_Complex<float> = │
00:02:41 verbose #4293 > │ match v30 with │
00:02:41 verbose #4294 > │ | US0_1 -> (* None *) │
00:02:41 verbose #4295 > │ v36 │
00:02:41 verbose #4296 > │ | US0_0(v37) -> (* Some *) │
00:02:41 verbose #4297 > │ v37 │
00:02:41 verbose #4298 > │ let v40 : num_complex_Complex<float> = method7(v39) │
00:02:41 verbose #4299 > │ let v41 : string = "v40.re" │
00:02:41 verbose #4300 > │ let v42 : float = Fable.Core.RustInterop.emitRustExpr () v41 │
00:02:41 verbose #4301 > │ let v43 : float = v42 - v21 │
00:02:41 verbose #4302 > │ let v44 : float = -v43 │
00:02:41 verbose #4303 > │ let v45 : bool = v43 >= v44 │
00:02:41 verbose #4304 > │ let v46 : float = │
00:02:41 verbose #4305 > │ if v45 then │
00:02:41 verbose #4306 > │ v43 │
00:02:41 verbose #4307 > │ else │
00:02:41 verbose #4308 > │ v44 │
00:02:41 verbose #4309 > │ let v47 : bool = v46 < 0.01 │
00:02:41 verbose #4310 > │ let v49 : bool = │
00:02:41 verbose #4311 > │ if v47 then │
00:02:41 verbose #4312 > │ true │
00:02:41 verbose #4313 > │ else │
00:02:41 verbose #4314 > │ method26(v47) │
00:02:41 verbose #4315 > │ let v50 : string = "assert_lt" │
00:02:41 verbose #4316 > │ let v51 : string = $"{v50} / actual: %A{v46} / expected: %A{0.01}" │
00:02:41 verbose #4317 > │ System.Console.WriteLine v51 │
00:02:41 verbose #4318 > │ let v52 : bool = v49 = false │
00:02:41 verbose #4319 > │ if v52 then │
00:02:41 verbose #4320 > │ failwith<unit> v51 │
00:02:41 verbose #4321 > │ let v53 : num_complex_Complex<float> = method8(v39) │
00:02:41 verbose #4322 > │ let v54 : string = "v53.im" │
00:02:41 verbose #4323 > │ let v55 : float = Fable.Core.RustInterop.emitRustExpr () v54 │
00:02:41 verbose #4324 > │ let v56 : bool = v55 < 0.01 │
00:02:41 verbose #4325 > │ let v58 : bool = │
00:02:41 verbose #4326 > │ if v56 then │
00:02:41 verbose #4327 > │ true │
00:02:41 verbose #4328 > │ else │
00:02:41 verbose #4329 > │ method26(v56) │
00:02:41 verbose #4330 > │ let v59 : string = $"{v50} / actual: %A{v55} / expected: %A{0.01}" │
00:02:41 verbose #4331 > │ System.Console.WriteLine v59 │
00:02:41 verbose #4332 > │ let v60 : bool = v58 = false │
00:02:41 verbose #4333 > │ if v60 then │
00:02:41 verbose #4334 > │ failwith<unit> v59 │
00:02:41 verbose #4335 > │ let v61 : int32 = v6 + 1 │
00:02:41 verbose #4336 > │ v4.l0 <- v61 │
00:02:41 verbose #4337 > │ () │
00:02:41 verbose #4338 > │ () │
00:02:41 verbose #4339 > │ and method51 () : unit = │
00:02:41 verbose #4340 > │ let v0 : string = "pyo3::prepare_freethreaded_python()" │
00:02:41 verbose #4341 > │ Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #4342 > │ let v1 : string = "let __result = pyo3::Python::with_gil(|py| -> │
00:02:41 verbose #4343 > │ pyo3::PyResult<()> { //" │
00:02:41 verbose #4344 > │ Fable.Core.RustInterop.emitRustExpr () v1 │
00:02:41 verbose #4345 > │ let v2 : string = "py" │
00:02:41 verbose #4346 > │ let v3 : pyo3_Python = Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #4347 > │ method52(v3) │
00:02:41 verbose #4348 > │ let v4 : Result<unit, pyo3_PyErr> = Ok () │
00:02:41 verbose #4349 > │ let v5 : Result<unit, pyo3_PyErr> = method27(v4) │
00:02:41 verbose #4350 > │ let v6 : string = "v5 }})" │
00:02:41 verbose #4351 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #4352 > │ let v7 : string = "{ //" │
00:02:41 verbose #4353 > │ Fable.Core.RustInterop.emitRustExpr () v7 │
00:02:41 verbose #4354 > │ let v8 : string = "__result" │
00:02:41 verbose #4355 > │ let v9 : Result<unit, pyo3_PyErr> = Fable.Core.RustInterop.emitRustExpr │
00:02:41 verbose #4356 > │ () v8 │
00:02:41 verbose #4357 > │ let v10 : string = "$0.unwrap()" │
00:02:41 verbose #4358 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:02:41 verbose #4359 > │ () │
00:02:41 verbose #4360 > │ and closure0 () () : unit = │
00:02:41 verbose #4361 > │ let v0 : string = "true; () //" │
00:02:41 verbose #4362 > │ let v1 : bool = Fable.Core.RustInterop.emitRustExpr () v0 │
00:02:41 verbose #4363 > │ let v2 : string = "} /* /*" │
00:02:41 verbose #4364 > │ Fable.Core.RustInterop.emitRustExpr () v2 │
00:02:41 verbose #4365 > │ let v3 : string = "test_zeta_at_known_values_" │
00:02:41 verbose #4366 > │ let v4 : string = $"*/ #[test] fn " + v3 + "() { //" │
00:02:41 verbose #4367 > │ let v5 : bool = Fable.Core.RustInterop.emitRustExpr () v4 │
00:02:41 verbose #4368 > │ method0() │
00:02:41 verbose #4369 > │ let v6 : string = "} /* /*" │
00:02:41 verbose #4370 > │ Fable.Core.RustInterop.emitRustExpr () v6 │
00:02:41 verbose #4371 > │ let v7 : string = "test_zeta_at_2_minus2" │
00:02:41 verbose #4372 > │ let v8 : string = $"*/ #[test] fn " + v7 + "() { //" │
00:02:41 verbose #4373 > │ let v9 : bool = Fable.Core.RustInterop.emitRustExpr () v8 │
00:02:41 verbose #4374 > │ method28() │
00:02:41 verbose #4375 > │ let v10 : string = "} /* /*" │
00:02:41 verbose #4376 > │ Fable.Core.RustInterop.emitRustExpr () v10 │
00:02:41 verbose #4377 > │ let v11 : string = "test_trivial_zero_at_negative_even___" │
00:02:41 verbose #4378 > │ let v12 : string = $"*/ #[test] fn " + v11 + "() { //" │
00:02:41 verbose #4379 > │ let v13 : bool = Fable.Core.RustInterop.emitRustExpr () v12 │
00:02:41 verbose #4380 > │ method30() │
00:02:41 verbose #4381 > │ let v14 : string = "} /* /*" │
00:02:41 verbose #4382 > │ Fable.Core.RustInterop.emitRustExpr () v14 │
00:02:41 verbose #4383 > │ let v15 : string = "test_non_trivial_zero___" │
00:02:41 verbose #4384 > │ let v16 : string = $"*/ #[test] fn " + v15 + "() { //" │
00:02:41 verbose #4385 > │ let v17 : bool = Fable.Core.RustInterop.emitRustExpr () v16 │
00:02:41 verbose #4386 > │ method34() │
00:02:41 verbose #4387 > │ let v18 : string = "} /* /*" │
00:02:41 verbose #4388 > │ Fable.Core.RustInterop.emitRustExpr () v18 │
00:02:41 verbose #4389 > │ let v19 : string = "test_real_part_greater_than_one___" │
00:02:41 verbose #4390 > │ let v20 : string = $"*/ #[test] fn " + v19 + "() { //" │
00:02:41 verbose #4391 > │ let v21 : bool = Fable.Core.RustInterop.emitRustExpr () v20 │
00:02:41 verbose #4392 > │ method36() │
00:02:41 verbose #4393 > │ let v22 : string = "} /* /*" │
00:02:41 verbose #4394 > │ Fable.Core.RustInterop.emitRustExpr () v22 │
00:02:41 verbose #4395 > │ let v23 : string = "test_zeta_at_1___" │
00:02:41 verbose #4396 > │ let v24 : string = $"*/ #[test] fn " + v23 + "() { //" │
00:02:41 verbose #4397 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr () v24 │
00:02:41 verbose #4398 > │ method38() │
00:02:41 verbose #4399 > │ let v26 : string = "} /* /*" │
00:02:41 verbose #4400 > │ Fable.Core.RustInterop.emitRustExpr () v26 │
00:02:41 verbose #4401 > │ let v27 : string = "test_symmetry_across_real_axis___" │
00:02:41 verbose #4402 > │ let v28 : string = $"*/ #[test] fn " + v27 + "() { //" │
00:02:41 verbose #4403 > │ let v29 : bool = Fable.Core.RustInterop.emitRustExpr () v28 │
00:02:41 verbose #4404 > │ method40() │
00:02:41 verbose #4405 > │ let v30 : string = "} /* /*" │
00:02:41 verbose #4406 > │ Fable.Core.RustInterop.emitRustExpr () v30 │
00:02:41 verbose #4407 > │ let v31 : string = "test_behavior_near_origin___" │
00:02:41 verbose #4408 > │ let v32 : string = $"*/ #[test] fn " + v31 + "() { //" │
00:02:41 verbose #4409 > │ let v33 : bool = Fable.Core.RustInterop.emitRustExpr () v32 │
00:02:41 verbose #4410 > │ method42() │
00:02:41 verbose #4411 > │ let v34 : string = "} /* /*" │
00:02:41 verbose #4412 > │ Fable.Core.RustInterop.emitRustExpr () v34 │
00:02:41 verbose #4413 > │ let v35 : string = "test_imaginary_axis" │
00:02:41 verbose #4414 > │ let v36 : string = $"*/ #[test] fn " + v35 + "() { //" │
00:02:41 verbose #4415 > │ let v37 : bool = Fable.Core.RustInterop.emitRustExpr () v36 │
00:02:41 verbose #4416 > │ method44() │
00:02:41 verbose #4417 > │ let v38 : string = "} /* /*" │
00:02:41 verbose #4418 > │ Fable.Core.RustInterop.emitRustExpr () v38 │
00:02:41 verbose #4419 > │ let v39 : string = "test_critical_strip" │
00:02:41 verbose #4420 > │ let v40 : string = $"*/ #[test] fn " + v39 + "() { //" │
00:02:41 verbose #4421 > │ let v41 : bool = Fable.Core.RustInterop.emitRustExpr () v40 │
00:02:41 verbose #4422 > │ method47() │
00:02:41 verbose #4423 > │ let v42 : string = "} /* /*" │
00:02:41 verbose #4424 > │ Fable.Core.RustInterop.emitRustExpr () v42 │
00:02:41 verbose #4425 > │ let v43 : string = "test_reflection_formula_for_specific_value" │
00:02:41 verbose #4426 > │ let v44 : string = $"*/ #[test] fn " + v43 + "() { //" │
00:02:41 verbose #4427 > │ let v45 : bool = Fable.Core.RustInterop.emitRustExpr () v44 │
00:02:41 verbose #4428 > │ method49() │
00:02:41 verbose #4429 > │ let v46 : string = "} /* /*" │
00:02:41 verbose #4430 > │ Fable.Core.RustInterop.emitRustExpr () v46 │
00:02:41 verbose #4431 > │ let v47 : string = "test_euler_product_formula" │
00:02:41 verbose #4432 > │ let v48 : string = $"*/ #[test] fn " + v47 + "() { //" │
00:02:41 verbose #4433 > │ let v49 : bool = Fable.Core.RustInterop.emitRustExpr () v48 │
00:02:41 verbose #4434 > │ method51() │
00:02:41 verbose #4435 > │ let v50 : string = "{ //" │
00:02:41 verbose #4436 > │ Fable.Core.RustInterop.emitRustExpr () v50 │
00:02:41 verbose #4437 > │ let v51 : string = "{ //" │
00:02:41 verbose #4438 > │ Fable.Core.RustInterop.emitRustExpr () v51 │
00:02:41 verbose #4439 > │ let v52 : string = "{ //" │
00:02:41 verbose #4440 > │ Fable.Core.RustInterop.emitRustExpr () v52 │
00:02:41 verbose #4441 > │ let v53 : string = "{ //" │
00:02:41 verbose #4442 > │ Fable.Core.RustInterop.emitRustExpr () v53 │
00:02:41 verbose #4443 > │ let v54 : string = "{ //" │
00:02:41 verbose #4444 > │ Fable.Core.RustInterop.emitRustExpr () v54 │
00:02:41 verbose #4445 > │ let v55 : string = "{ //" │
00:02:41 verbose #4446 > │ Fable.Core.RustInterop.emitRustExpr () v55 │
00:02:41 verbose #4447 > │ let v56 : string = "{ //" │
00:02:41 verbose #4448 > │ Fable.Core.RustInterop.emitRustExpr () v56 │
00:02:41 verbose #4449 > │ let v57 : string = "{ //" │
00:02:41 verbose #4450 > │ Fable.Core.RustInterop.emitRustExpr () v57 │
00:02:41 verbose #4451 > │ let v58 : string = "{ //" │
00:02:41 verbose #4452 > │ Fable.Core.RustInterop.emitRustExpr () v58 │
00:02:41 verbose #4453 > │ let v59 : string = "{ //" │
00:02:41 verbose #4454 > │ Fable.Core.RustInterop.emitRustExpr () v59 │
00:02:41 verbose #4455 > │ let v60 : string = "{ //" │
00:02:41 verbose #4456 > │ Fable.Core.RustInterop.emitRustExpr () v60 │
00:02:41 verbose #4457 > │ let v61 : string = "{ //" │
00:02:41 verbose #4458 > │ Fable.Core.RustInterop.emitRustExpr () v61 │
00:02:41 verbose #4459 > │ () │
00:02:41 verbose #4460 > │ and closure6 () (v0 : (string [])) : int32 = │
00:02:41 verbose #4461 > │ let v1 : string = $"value: {1}" │
00:02:41 verbose #4462 > │ System.Console.WriteLine v1 │
00:02:41 verbose #4463 > │ 0 │
00:02:41 verbose #4464 > │ let v0 : (unit -> unit) = closure0() │
00:02:41 verbose #4465 > │ let tests () = v0 () │
00:02:41 verbose #4466 > │ let v1 : ((string []) -> int32) = closure6() │
00:02:41 verbose #4467 > │ let main args = v1 args │
00:02:41 verbose #4468 > │ () │
00:02:41 verbose #4469 > │ │
00:02:41 verbose #4470 > │ │
00:02:41 verbose #4471 > │ │
00:02:41 verbose #4472 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:44 verbose #4473 > [NbConvertApp] Converting notebook math.dib.ipynb to html
00:02:44 verbose #4474 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:44 verbose #4475 > validate(nb)
00:02:46 verbose #4476 > [NbConvertApp] Writing 7429666 bytes to math.dib.html
00:02:47 debug #4477 execute_with_options_async / exit_code: 0 / output.Length: 324720
00:02:47 debug #3 main / executeCommand / exitCode: 0
00:02:47 verbose #6 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:02:47 debug #7 run_with_timeout_async / timeout: 100
00:00:00 debug #1 writeDibCode / output: Spi / path: math.dib
00:00:00 debug #2 parseDibCode / output: Spi / file: math.dib
00:00:01 debug #1 run_with_timeout_async / timeout: 500
00:00:01 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:02 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:02 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:02 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:02 debug #2 run_with_timeout_async / timeout: 100
00:00:02 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:02 debug #4 run_with_timeout_async / timeout: 100
00:00:02 debug #5 run_with_timeout_async / timeout: 100
00:00:02 debug #6 run_with_timeout_async / timeout: 100
00:00:02 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:02 debug #7 run_with_timeout_async / timeout: 100
00:00:03 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:03 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:03 verbose #6 > Server bound to: http://localhost:13805
00:00:04 debug #8 run_with_timeout_async / timeout: 500
00:00:04 debug #3 buildFile / takeWhileInclusive / path: math.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:04 debug #4 buildFile / takeWhileInclusive / path: math.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:04 verbose #5 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # math\nopen testing\nopen rust_operators\n\ninl types () =\n global ...022let main args = !main args\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/math/math.spi"}} / result:
00:00:04 verbose #6 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/math/math.spi"}} / result:
00:00:04 verbose #7 > 00:00:03 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/math/math.spi
00:00:05 debug #7 buildFile / takeWhileInclusive / path: math.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:06 debug #8 buildFile / takeWhileInclusive / path: math.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:07 debug #9 buildFile / takeWhileInclusive / path: math.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:08 debug #10 buildFile / takeWhileInclusive / path: math.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:09 debug #11 buildFile / takeWhileInclusive / path: math.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...let v1 : string = $"value: {1}"
System.Console.WriteLine v1
0
let v0 : (unit -> unit) = closure0()
let tests () = v0 ()
let v1 : ((string []) -> int32) = closure6()
let main args = v1 args
()
/ errors: [] / typeErrorCount: 0
00:00:09 debug #12 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:09 verbose #9 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:00:09 debug #10 run_with_timeout_async / timeout: 100
00:00:00 debug #1 persistCodeProject / packages: [Fable.Core] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: math / code.Length: 130573
00:00:00 debug #2 buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\math\math.fsproj
00:00:00 debug #1 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\math\math.fsproj" --configuration Release --output "C:\home\git\polyglot\lib\math\dist" --runtime linux-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\math")
00:00:00 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 > Determining projects to restore...
00:00:01 verbose #4 > Restored C:\home\git\polyglot\target\polyglot\builder\math\math.fsproj (in 388 ms).
00:00:02 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\math\math.fsproj]
00:00:14 verbose #6 > math -> C:\home\git\polyglot\target\polyglot\builder\math\bin\Release\net9.0\linux-x64\math.dll
00:00:15 verbose #7 > math -> C:\home\git\polyglot\lib\math\dist\
00:00:15 debug #8 execute_with_options_async / exit_code: 0 / output.Length: 664
00:00:15 debug #9 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\math\math.fsproj" --configuration Release --output "C:\home\git\polyglot\lib\math\dist" --runtime win-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\math")
00:00:15 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:16 verbose #11 > Determining projects to restore...
00:00:17 verbose #12 > Restored C:\home\git\polyglot\target\polyglot\builder\math\math.fsproj (in 341 ms).
00:00:17 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\math\math.fsproj]
00:00:26 verbose #14 > math -> C:\home\git\polyglot\target\polyglot\builder\math\bin\Release\net9.0\win-x64\math.dll
00:00:29 verbose #15 > math -> C:\home\git\polyglot\lib\math\dist\
00:00:29 debug #16 execute_with_options_async / exit_code: 0 / output.Length: 662
targetDir: C:\home\git\polyglot\target\polyglot\builder\math
Fable 4.17.0: F# to Rust compiler (status: alpha)
Thanks to the contributor! @hensou
Stand with Ukraine! https://standwithukraine.com.ua/
Parsing target\polyglot\builder\math\math.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (13 source files) parsed in 173ms
Started Fable compilation...
Fable compilation finished in 7682ms
.\lib\spiral\crypto.fsx(403,0): (403,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\async_.fsx(110,0): (110,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\threading.fsx(161,0): (161,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(690,0): (690,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\common.fsx(697,0): (697,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\sm.fsx(522,0): (522,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\date_time.fsx(947,0): (947,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(2922,0): (2922,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\networking.fsx(2931,0): (2931,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(2714,0): (2714,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\runtime.fsx(2727,0): (2727,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(559,0): (559,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\trace.fsx(562,0): (562,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(7030,0): (7030,67) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\lib\spiral\file_system.fsx(7069,0): (7069,2) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
.\target\polyglot\builder\math\math.fs(165,0): (167,3) warning FABLE: For Rust, support for F# static and module do bindings is disabled by default. It can be enabled with the 'static_do_bindings' feature. Use at your own risk!
Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust)
Compiling math v0.0.1 (C:\home\git\polyglot\lib\math)
Finished `release` profile [optimized] target(s) in 22.58s
Running unittests math.rs (C:\home\git\polyglot\target\release\deps\math-fc54b29c4bcd3ecf.exe)
running 12 tests
test module_b7a9935b::Math::test_behavior_near_origin___ ... ok
test module_b7a9935b::Math::test_euler_product_formula ... ok
test module_b7a9935b::Math::test_non_trivial_zero___ ... ok
test module_b7a9935b::Math::test_zeta_at_1___ ... ok
test module_b7a9935b::Math::test_zeta_at_2_minus2 ... ok
test module_b7a9935b::Math::test_zeta_at_known_values_ ... ok
test module_b7a9935b::Math::test_trivial_zero_at_negative_even___ ... ok
test module_b7a9935b::Math::test_real_part_greater_than_one___ ... ok
test module_b7a9935b::Math::test_symmetry_across_real_axis___ ... ok
test module_b7a9935b::Math::test_reflection_formula_for_specific_value ... ok
test module_b7a9935b::Math::test_critical_strip ... ok
test module_b7a9935b::Math::test_imaginary_axis ... ok
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s
In [ ]:
{ . ../apps/plot/build.ps1 } | Invoke-Block -Location $ScriptDir
Compiling fable_library_rust v0.1.0 (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust) Compiling plot v0.0.1 (C:\home\git\polyglot\apps\plot) Finished `release` profile [optimized] target(s) in 16.62s
In [ ]:
{ . ../lib/spiral/build.ps1 -sequential 1 } | Invoke-Block -Location $ScriptDir
00:00:00 debug #1 run_with_timeout_async / timeout: 500
00:00:00 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:01 debug #2 run_with_timeout_async / timeout: 100
00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:01 debug #4 run_with_timeout_async / timeout: 100
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 debug #5 run_with_timeout_async / timeout: 100
00:00:01 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:01 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:01 verbose #6 > Server bound to: http://localhost:13805
00:00:02 debug #7 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 \"sm'.dib\" -Retries 3"", [||],
None, None, None)
00:00:02 verbose #8 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: sm'.dib / _args: [
00:00:02 verbose #9 > "-Retries",
00:00:02 verbose #10 > 3
00:00:02 verbose #11 > ]
00:00:04 verbose #12 >
00:00:04 verbose #13 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #14 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #15 > │ # sm' │
00:00:04 verbose #16 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:04 verbose #17 >
00:00:04 verbose #18 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:04 verbose #19 > //// test
00:00:04 verbose #20 >
00:00:04 verbose #21 > open testing
00:00:04 verbose #22 >
00:00:04 verbose #23 > ── spiral - import ─────────────────────────────────────────────────────────────
00:00:04 verbose #24 > #r
00:00:04 verbose #25 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #26 > otNet.Interactive.Spiral.dll"
00:00:04 verbose #27 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:00:04 verbose #28 > #r
00:00:04 verbose #29 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #30 > otNet.Interactive.dll"
00:00:04 verbose #31 > open type Microsoft.DotNet.Interactive.Kernel
00:00:09 verbose #32 > 00:00:08 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:00:11 verbose #33 >
00:00:11 verbose #34 > ╭─[ 7.35s - stdout ]───────────────────────────────────────────────────────────╮
00:00:11 verbose #35 > │ () │
00:00:11 verbose #36 > │ │
00:00:11 verbose #37 > │ │
00:00:11 verbose #38 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 verbose #39 >
00:00:11 verbose #40 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 verbose #41 > open rust_operators
00:00:12 verbose #42 > 00:00:11 debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9a6e9c279d2afa68c45190010644e01d975f289b3d25e7276d477d0fcedda643/main.spi
00:00:12 verbose #43 >
00:00:12 verbose #44 > ╭─[ 658.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 verbose #45 > │ () │
00:00:12 verbose #46 > │ │
00:00:12 verbose #47 > │ │
00:00:12 verbose #48 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #49 >
00:00:12 verbose #50 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 verbose #51 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 verbose #52 > │ ## types │
00:00:12 verbose #53 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 verbose #54 >
00:00:12 verbose #55 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 verbose #56 > inl types () =
00:00:12 verbose #57 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #58 > Fable.Core.Emit(\"str\")>]]\n#endif\ntype Str = class end"
00:00:12 verbose #59 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #60 > Fable.Core.Emit(\"base64::DecodeError\")>]]\n#endif\ntype base64_DecodeError =
00:00:12 verbose #61 > class end"
00:00:12 verbose #62 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #63 > Fable.Core.Emit(\"borsh::io::Error\")>]]\n#endif\ntype borsh_io_Error = class
00:00:12 verbose #64 > end"
00:00:12 verbose #65 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #66 > Fable.Core.Emit(\"js_sys::JsString\")>]]\n#endif\ntype js_sys_JsString = class
00:00:12 verbose #67 > end"
00:00:12 verbose #68 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #69 > Fable.Core.Emit(\"serde_json::Error\")>]]\n#endif\ntype serde_json_Error = class
00:00:12 verbose #70 > end"
00:00:12 verbose #71 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #72 > Fable.Core.Emit(\"serde_json::Value\")>]]\n#endif\ntype serde_json_Value = class
00:00:12 verbose #73 > end"
00:00:12 verbose #74 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #75 > Fable.Core.Emit(\"serde_wasm_bindgen::Error\")>]]\n#endif\ntype
00:00:12 verbose #76 > serde_wasm_bindgen_Error = class end"
00:00:12 verbose #77 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #78 > Fable.Core.Emit(\"std::ffi::OsStr\")>]]\n#endif\ntype std_ffi_OsStr = class end"
00:00:12 verbose #79 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #80 > Fable.Core.Emit(\"std::ffi::OsString\")>]]\n#endif\ntype std_ffi_OsString =
00:00:12 verbose #81 > class end"
00:00:12 verbose #82 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #83 > Fable.Core.Emit(\"std::fmt::Display<$0>\")>]]\n#endif\ntype std_fmt_Display<'T>
00:00:12 verbose #84 > = class end"
00:00:12 verbose #85 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #86 > Fable.Core.Emit(\"std::str::Utf8Error\")>]]\n#endif\ntype std_str_Utf8Error =
00:00:12 verbose #87 > class end"
00:00:12 verbose #88 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #89 > Fable.Core.Emit(\"std::string::FromUtf8Error\")>]]\n#endif\ntype
00:00:12 verbose #90 > std_string_FromUtf8Error = class end"
00:00:12 verbose #91 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #92 > Fable.Core.Emit(\"std::string::String\")>]]\n#endif\ntype std_string_String =
00:00:12 verbose #93 > class end"
00:00:12 verbose #94 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:00:12 verbose #95 > Fable.Core.Emit(\"std::slice::Windows<$0>\")>]]\n#endif\ntype
00:00:12 verbose #96 > std_slice_Windows<'T> = class end"
00:00:12 verbose #97 > 00:00:11 debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fe12c8f76ef3dac28b18cfea8423a61d7c65b8eb210dd217c714187d4eceebec/main.spi
00:00:13 verbose #98 >
00:00:13 verbose #99 > ╭─[ 674.93ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 verbose #100 > │ () │
00:00:13 verbose #101 > │ │
00:00:13 verbose #102 > │ │
00:00:13 verbose #103 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #104 >
00:00:13 verbose #105 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #106 > inl types () =
00:00:13 verbose #107 > rust.types ()
00:00:13 verbose #108 > types ()
00:00:13 verbose #109 > 00:00:12 debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/710007e3a2544462b58fd7355f66cf51cdb3b4b982cef09e38bcc748e6bd7c28/main.spi
00:00:13 verbose #110 >
00:00:13 verbose #111 > ╭─[ 665.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 verbose #112 > │ () │
00:00:13 verbose #113 > │ │
00:00:13 verbose #114 > │ │
00:00:13 verbose #115 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 verbose #116 >
00:00:13 verbose #117 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 verbose #118 > nominal display t = $"std_fmt_Display<`t>"
00:00:13 verbose #119 > nominal str = $"Str"
00:00:13 verbose #120 > nominal base64_decode_error = $"base64_DecodeError"
00:00:13 verbose #121 > nominal borsh_io_error = $"borsh_io_Error"
00:00:13 verbose #122 > nominal utf8_error = $"std_str_Utf8Error"
00:00:13 verbose #123 > nominal from_utf8_error = $"std_string_FromUtf8Error"
00:00:13 verbose #124 > nominal json_value = $"serde_json_Value"
00:00:13 verbose #125 > nominal json_error = $"serde_json_Error"
00:00:13 verbose #126 > nominal serde_wasm_bindgen_error = $"serde_wasm_bindgen_Error"
00:00:13 verbose #127 > nominal js_string = $"js_sys_JsString"
00:00:13 verbose #128 > nominal os_str = $"std_ffi_OsStr"
00:00:13 verbose #129 > nominal os_string = $"std_ffi_OsString"
00:00:13 verbose #130 > nominal std_string = $"std_string_String"
00:00:14 verbose #131 > 00:00:13 debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6d711a7bde0de6055a27d9c688406106b84dfe989a10f87077fc59e3a28271d8/main.spi
00:00:14 verbose #132 >
00:00:14 verbose #133 > ╭─[ 643.56ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 verbose #134 > │ () │
00:00:14 verbose #135 > │ │
00:00:14 verbose #136 > │ │
00:00:14 verbose #137 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 verbose #138 >
00:00:14 verbose #139 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 verbose #140 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 verbose #141 > │ ## contains │
00:00:14 verbose #142 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 verbose #143 >
00:00:14 verbose #144 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 verbose #145 > inl contains (value : string) (s : string) : bool =
00:00:14 verbose #146 > $"!s.Contains !value"
00:00:14 verbose #147 > 00:00:13 debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9ced83688fe8d75131cb20a51307d0ce51f72a0de8a0e206358533ce4174e443/main.spi
00:00:15 verbose #148 >
00:00:15 verbose #149 > ╭─[ 639.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 verbose #150 > │ () │
00:00:15 verbose #151 > │ │
00:00:15 verbose #152 > │ │
00:00:15 verbose #153 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #154 >
00:00:15 verbose #155 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 verbose #156 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 verbose #157 > │ ## ends_with │
00:00:15 verbose #158 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #159 >
00:00:15 verbose #160 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 verbose #161 > inl ends_with (value : string) (s : string) : bool =
00:00:15 verbose #162 > $"!s.EndsWith !value"
00:00:15 verbose #163 > 00:00:14 debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7fa543dea0d922dc8355d506fdad8c69348e57abbbc88a5f4186fe6170a76cf3/main.spi
00:00:15 verbose #164 >
00:00:15 verbose #165 > ╭─[ 731.87ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 verbose #166 > │ () │
00:00:15 verbose #167 > │ │
00:00:15 verbose #168 > │ │
00:00:15 verbose #169 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #170 >
00:00:15 verbose #171 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 verbose #172 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 verbose #173 > │ ## last_index_of │
00:00:15 verbose #174 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 verbose #175 >
00:00:15 verbose #176 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 verbose #177 > inl last_index_of (search : string) (s : string) : i32 =
00:00:15 verbose #178 > $"!s.LastIndexOf !search"
00:00:16 verbose #179 > 00:00:15 debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31951492a4afcd96d9cb0812f0b70587efc64073debde7ea8b15217eee9e6520/main.spi
00:00:16 verbose #180 >
00:00:16 verbose #181 > ╭─[ 593.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 verbose #182 > │ () │
00:00:16 verbose #183 > │ │
00:00:16 verbose #184 > │ │
00:00:16 verbose #185 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 verbose #186 >
00:00:16 verbose #187 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 verbose #188 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 verbose #189 > │ ## pad_left │
00:00:16 verbose #190 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 verbose #191 >
00:00:16 verbose #192 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 verbose #193 > inl pad_left (total_width : i32) (padding_char : char) (s : string) : string =
00:00:16 verbose #194 > $"!s.PadLeft (!total_width, !padding_char)"
00:00:16 verbose #195 > 00:00:15 debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dbc7872f50785b47d507d460b1fa5f933e8b0bc7156f3cbc63e4f64738c3886b/main.spi
00:00:16 verbose #196 >
00:00:16 verbose #197 > ╭─[ 616.24ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 verbose #198 > │ () │
00:00:16 verbose #199 > │ │
00:00:16 verbose #200 > │ │
00:00:16 verbose #201 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #202 >
00:00:17 verbose #203 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 verbose #204 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 verbose #205 > │ ## pad_right │
00:00:17 verbose #206 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #207 >
00:00:17 verbose #208 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #209 > inl pad_right (total_width : i32) (padding_char : char) (s : string) : string =
00:00:17 verbose #210 > $"!s.PadRight (!total_width, !padding_char)"
00:00:17 verbose #211 > 00:00:16 debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/67001648e389744b316e62914c0be32fa778dc952e9a6bd5b9250975fd9a2300/main.spi
00:00:17 verbose #212 >
00:00:17 verbose #213 > ╭─[ 626.07ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 verbose #214 > │ () │
00:00:17 verbose #215 > │ │
00:00:17 verbose #216 > │ │
00:00:17 verbose #217 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 verbose #218 >
00:00:17 verbose #219 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 verbose #220 > //// test
00:00:17 verbose #221 >
00:00:17 verbose #222 > "123"
00:00:17 verbose #223 > |> pad_right 6 ' '
00:00:17 verbose #224 > |> _assert_eq "123 "
00:00:18 verbose #225 > 00:00:17 debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4708c8318c7dd43035c67a9afb11b686c969f150f0fc49dfce665db024b4106b/main.spi
00:00:18 verbose #226 >
00:00:18 verbose #227 > ╭─[ 1.28s - stdout ]───────────────────────────────────────────────────────────╮
00:00:18 verbose #228 > │ let rec method1 (v0 : bool) : bool = │
00:00:18 verbose #229 > │ v0 │
00:00:18 verbose #230 > │ and method0 () : unit = │
00:00:18 verbose #231 > │ let v0 : string = "123" │
00:00:18 verbose #232 > │ let v1 : string = v0.PadRight (6, ' ') │
00:00:18 verbose #233 > │ let v3 : bool = v1 = "123 " │
00:00:18 verbose #234 > │ let v5 : bool = │
00:00:18 verbose #235 > │ if v3 then │
00:00:18 verbose #236 > │ true │
00:00:18 verbose #237 > │ else │
00:00:18 verbose #238 > │ method1(v3) │
00:00:18 verbose #239 > │ let v6 : string = "assert_eq" │
00:00:18 verbose #240 > │ let v7 : string = "123 " │
00:00:18 verbose #241 > │ let v8 : string = $"{v6} / actual: %A{v1} / expected: %A{v7}" │
00:00:18 verbose #242 > │ System.Console.WriteLine v8 │
00:00:18 verbose #243 > │ let v9 : bool = v5 = false │
00:00:18 verbose #244 > │ if v9 then │
00:00:18 verbose #245 > │ failwith<unit> v8 │
00:00:18 verbose #246 > │ method0() │
00:00:18 verbose #247 > │ │
00:00:18 verbose #248 > │ assert_eq / actual: "123 " / expected: "123 " │
00:00:18 verbose #249 > │ │
00:00:18 verbose #250 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #251 >
00:00:18 verbose #252 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 verbose #253 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 verbose #254 > │ ## starts_with │
00:00:18 verbose #255 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 verbose #256 >
00:00:18 verbose #257 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #258 > inl starts_with (value : string) (s : string) : bool =
00:00:18 verbose #259 > $"!s.StartsWith !value"
00:00:19 verbose #260 > 00:00:18 debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/47b900de575f9196228d9b8d6ba43eab92b5143a04ba4ffae3bfe593e799bed7/main.spi
00:00:19 verbose #261 >
00:00:19 verbose #262 > ╭─[ 623.85ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 verbose #263 > │ () │
00:00:19 verbose #264 > │ │
00:00:19 verbose #265 > │ │
00:00:19 verbose #266 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #267 >
00:00:19 verbose #268 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 verbose #269 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 verbose #270 > │ ## substring │
00:00:19 verbose #271 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 verbose #272 >
00:00:19 verbose #273 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 verbose #274 > inl substring (start : i32) (len : i32) (str : string) : string =
00:00:19 verbose #275 > $"!str.Substring (!start, !len)"
00:00:20 verbose #276 > 00:00:19 debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2d931bd9c57b5837e3e8a1e9d95de7f61ba276645bb7e3accc5322b3a3992a96/main.spi
00:00:20 verbose #277 >
00:00:20 verbose #278 > ╭─[ 658.00ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 verbose #279 > │ () │
00:00:20 verbose #280 > │ │
00:00:20 verbose #281 > │ │
00:00:20 verbose #282 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #283 >
00:00:20 verbose #284 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 verbose #285 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 verbose #286 > │ ## to_lower │
00:00:20 verbose #287 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #288 >
00:00:20 verbose #289 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #290 > inl to_lower (input : string) : string =
00:00:20 verbose #291 > $"!input.ToLower ()"
00:00:20 verbose #292 > 00:00:19 debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0779b22d004482061be5f61e14a88fb40e5612d2ab74885b9905e34824f2a99a/main.spi
00:00:20 verbose #293 >
00:00:20 verbose #294 > ╭─[ 624.54ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 verbose #295 > │ () │
00:00:20 verbose #296 > │ │
00:00:20 verbose #297 > │ │
00:00:20 verbose #298 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #299 >
00:00:20 verbose #300 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 verbose #301 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 verbose #302 > │ ## to_upper │
00:00:20 verbose #303 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 verbose #304 >
00:00:20 verbose #305 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 verbose #306 > inl to_upper (input : string) : string =
00:00:20 verbose #307 > $"!input.ToUpper ()"
00:00:21 verbose #308 > 00:00:20 debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c4c2b22a325c47e6a9140582c539a070c3b5d5fa8b0017e7288a9fb89fde0471/main.spi
00:00:21 verbose #309 >
00:00:21 verbose #310 > ╭─[ 635.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 verbose #311 > │ () │
00:00:21 verbose #312 > │ │
00:00:21 verbose #313 > │ │
00:00:21 verbose #314 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 verbose #315 >
00:00:21 verbose #316 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:21 verbose #317 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:21 verbose #318 > │ ## trim │
00:00:21 verbose #319 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 verbose #320 >
00:00:21 verbose #321 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 verbose #322 > inl trim (input : string) : string =
00:00:21 verbose #323 > $"!input.Trim ()"
00:00:22 verbose #324 > 00:00:21 debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7e516bb73a7cea85e03284899ea8174993dd64971405ddca6a7b7e1a5b6b8ce4/main.spi
00:00:22 verbose #325 >
00:00:22 verbose #326 > ╭─[ 625.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 verbose #327 > │ () │
00:00:22 verbose #328 > │ │
00:00:22 verbose #329 > │ │
00:00:22 verbose #330 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #331 >
00:00:22 verbose #332 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 verbose #333 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 verbose #334 > │ ## trim_end │
00:00:22 verbose #335 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #336 >
00:00:22 verbose #337 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #338 > inl trim_end (trim_chars : array_base char) (input : string) : string =
00:00:22 verbose #339 > $"!input.TrimEnd !trim_chars"
00:00:22 verbose #340 > 00:00:21 debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/29286e69c79f00322a9d9ab3d20165319ae8134c89838c1c851ab3184e74bcb2/main.spi
00:00:22 verbose #341 >
00:00:22 verbose #342 > ╭─[ 646.52ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 verbose #343 > │ () │
00:00:22 verbose #344 > │ │
00:00:22 verbose #345 > │ │
00:00:22 verbose #346 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #347 >
00:00:22 verbose #348 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 verbose #349 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 verbose #350 > │ ## trim_start │
00:00:22 verbose #351 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #352 >
00:00:22 verbose #353 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #354 > inl trim_start (trim_chars : array_base char) (input : string) : string =
00:00:22 verbose #355 > $"!input.TrimStart !trim_chars"
00:00:23 verbose #356 > 00:00:22 debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/39520e5029e7d6c5156200b3829e472cd67d40f943a5d537a9b2c5b2989a7f4b/main.spi
00:00:23 verbose #357 >
00:00:23 verbose #358 > ╭─[ 665.59ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 verbose #359 > │ () │
00:00:23 verbose #360 > │ │
00:00:23 verbose #361 > │ │
00:00:23 verbose #362 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #363 >
00:00:23 verbose #364 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #365 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #366 > │ ## length │
00:00:23 verbose #367 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #368 >
00:00:23 verbose #369 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #370 > inl length forall dim. (input : string) : dim =
00:00:23 verbose #371 > $"!input |> String.length"
00:00:23 verbose #372 > 00:00:22 debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b6e1fc41a579a4e97b9165de94abbba3bcee083c3890d59c0f890280168fc7e9/main.spi
00:00:24 verbose #373 >
00:00:24 verbose #374 > ╭─[ 644.80ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 verbose #375 > │ () │
00:00:24 verbose #376 > │ │
00:00:24 verbose #377 > │ │
00:00:24 verbose #378 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #379 >
00:00:24 verbose #380 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #381 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #382 > │ ## slice │
00:00:24 verbose #383 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #384 >
00:00:24 verbose #385 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #386 > inl slice from to s : string =
00:00:24 verbose #387 > sm.slice s { from to }
00:00:24 verbose #388 > 00:00:23 debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0fcb5d6da4aed2d166a6157a447c107ea2594054fbb27e233ab2f8f2341d2eb7/main.spi
00:00:24 verbose #389 >
00:00:24 verbose #390 > ╭─[ 672.08ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 verbose #391 > │ () │
00:00:24 verbose #392 > │ │
00:00:24 verbose #393 > │ │
00:00:24 verbose #394 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #395 >
00:00:24 verbose #396 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #397 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #398 > │ ## range │
00:00:24 verbose #399 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #400 >
00:00:24 verbose #401 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #402 > inl range (start : am'.range _) (end : am'.range _) s =
00:00:24 verbose #403 > inl start, end =
00:00:24 verbose #404 > match start, end with
00:00:24 verbose #405 > | Start start, End fn =>
00:00:24 verbose #406 > start, s |> length |> fn
00:00:24 verbose #407 > | End start_fn, End end_fn =>
00:00:24 verbose #408 > inl len = s |> length
00:00:24 verbose #409 > start_fn len, end_fn len
00:00:24 verbose #410 > s |> slice start end
00:00:25 verbose #411 > 00:00:24 debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/792ee44206ed1499a5ff9dce8faa4025d9681d91a33d6b49271cf374170aa5ed/main.spi
00:00:25 verbose #412 >
00:00:25 verbose #413 > ╭─[ 625.51ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 verbose #414 > │ () │
00:00:25 verbose #415 > │ │
00:00:25 verbose #416 > │ │
00:00:25 verbose #417 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #418 >
00:00:25 verbose #419 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #420 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #421 > │ ## raw_string_literal │
00:00:25 verbose #422 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #423 >
00:00:25 verbose #424 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #425 > inl raw_string_literal (s : string) : rust.ref' str =
00:00:25 verbose #426 > !\($"\"r#\\\"\" + !s + \"\\\"#\"")
00:00:25 verbose #427 > 00:00:24 debug #25 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c88e7328420252498431f4895526fb059bd86c5ccb4e3e1c04876165e89dd97b/main.spi
00:00:26 verbose #428 >
00:00:26 verbose #429 > ╭─[ 676.53ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 verbose #430 > │ () │
00:00:26 verbose #431 > │ │
00:00:26 verbose #432 > │ │
00:00:26 verbose #433 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #434 >
00:00:26 verbose #435 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 verbose #436 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 verbose #437 > │ ## raw_string_literal_static │
00:00:26 verbose #438 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #439 >
00:00:26 verbose #440 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 verbose #441 > inl raw_string_literal_static (s : string) : rust.static_ref' str =
00:00:26 verbose #442 > !\($"\"r#\\\"\" + !s + \"\\\"#\"")
00:00:26 verbose #443 > 00:00:25 debug #26 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e352a3b51d5ab4b9e4888c24d73fde0b7bfe7e6cb0a10eb6cd7967338e20d5d9/main.spi
00:00:26 verbose #444 >
00:00:26 verbose #445 > ╭─[ 805.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 verbose #446 > │ () │
00:00:26 verbose #447 > │ │
00:00:26 verbose #448 > │ │
00:00:26 verbose #449 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #450 >
00:00:26 verbose #451 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 verbose #452 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 verbose #453 > │ ## (~#) │
00:00:26 verbose #454 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #455 >
00:00:26 verbose #456 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 verbose #457 > inl (~#) s =
00:00:26 verbose #458 > s |> raw_string_literal
00:00:27 verbose #459 > 00:00:26 debug #27 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ad9140138943ba558e73db0f8d4bf432ff7b5a4810ce65eaf04e754472ec3e84/main.spi
00:00:27 verbose #460 >
00:00:27 verbose #461 > ╭─[ 624.69ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 verbose #462 > │ () │
00:00:27 verbose #463 > │ │
00:00:27 verbose #464 > │ │
00:00:27 verbose #465 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #466 >
00:00:27 verbose #467 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 verbose #468 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 verbose #469 > │ ## (~##) │
00:00:27 verbose #470 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #471 >
00:00:27 verbose #472 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 verbose #473 > inl (~##) s =
00:00:27 verbose #474 > s |> raw_string_literal_static
00:00:28 verbose #475 > 00:00:27 debug #28 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b5a5614e8e01a430ac57d79ae0cc6e74615bda443af2b684c99decdb0cd04ace/main.spi
00:00:28 verbose #476 >
00:00:28 verbose #477 > ╭─[ 612.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 verbose #478 > │ () │
00:00:28 verbose #479 > │ │
00:00:28 verbose #480 > │ │
00:00:28 verbose #481 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #482 >
00:00:28 verbose #483 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 verbose #484 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 verbose #485 > │ ## include_str │
00:00:28 verbose #486 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #487 >
00:00:28 verbose #488 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 verbose #489 > inl include_str (path : string) : rust.ref' str =
00:00:28 verbose #490 > !\($'"include_str\!(\\\"" + !path + "\\\")"')
00:00:28 verbose #491 > 00:00:27 debug #29 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3528e5e858b9c21b36463001a217b95900e232cee08f603e6eba7aa02af896e1/main.spi
00:00:28 verbose #492 >
00:00:28 verbose #493 > ╭─[ 629.04ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 verbose #494 > │ () │
00:00:28 verbose #495 > │ │
00:00:28 verbose #496 > │ │
00:00:28 verbose #497 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #498 >
00:00:28 verbose #499 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 verbose #500 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 verbose #501 > │ ## as_str │
00:00:28 verbose #502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #503 >
00:00:28 verbose #504 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 verbose #505 > inl as_str (s : string) : rust.ref' str =
00:00:28 verbose #506 > !\\(s, $'"fable_library_rust::String_::LrcStr::as_str(&$0)"')
00:00:29 verbose #507 > 00:00:28 debug #30 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/eaa187957cdcd5d50654498c33c1eed0041aed97c6ac4fd84bdeba6e5d191e80/main.spi
00:00:29 verbose #508 >
00:00:29 verbose #509 > ╭─[ 632.57ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 verbose #510 > │ () │
00:00:29 verbose #511 > │ │
00:00:29 verbose #512 > │ │
00:00:29 verbose #513 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #514 >
00:00:29 verbose #515 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #516 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #517 > │ ## from_std_string │
00:00:29 verbose #518 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #519 >
00:00:29 verbose #520 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #521 > inl from_std_string (str : std_string) : string =
00:00:29 verbose #522 > !\\(str, $'"fable_library_rust::String_::fromString($0)"')
00:00:29 verbose #523 > 00:00:28 debug #31 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e506598d94205ff5e96832d9327647f419dbccfb752b906e0f8d9dc0964c0275/main.spi
00:00:30 verbose #524 >
00:00:30 verbose #525 > ╭─[ 631.98ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #526 > │ () │
00:00:30 verbose #527 > │ │
00:00:30 verbose #528 > │ │
00:00:30 verbose #529 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #530 >
00:00:30 verbose #531 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 verbose #532 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 verbose #533 > │ ## ref_to_std_string │
00:00:30 verbose #534 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #535 >
00:00:30 verbose #536 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #537 > inl ref_to_std_string (str : rust.ref' str) : std_string =
00:00:30 verbose #538 > !\\(str, $'"String::from($0)"')
00:00:30 verbose #539 > 00:00:29 debug #32 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ce25131d6093a4bbfb42aa0aa21dee8ae635eeaa3d717fdf4dd7775252d7da2c/main.spi
00:00:30 verbose #540 >
00:00:30 verbose #541 > ╭─[ 640.11ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #542 > │ () │
00:00:30 verbose #543 > │ │
00:00:30 verbose #544 > │ │
00:00:30 verbose #545 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #546 >
00:00:30 verbose #547 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 verbose #548 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 verbose #549 > │ ## cow_to_std_string │
00:00:30 verbose #550 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #551 >
00:00:30 verbose #552 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #553 > inl cow_to_std_string (str : rust.cow str) : std_string =
00:00:30 verbose #554 > !\\(str, $'"String::from($0)"')
00:00:31 verbose #555 > 00:00:30 debug #33 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/53eb7058c5f3fa56e58ba8761df6c6d39aedf17f7034dc4630ab0d712a842ff2/main.spi
00:00:31 verbose #556 >
00:00:31 verbose #557 > ╭─[ 604.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #558 > │ () │
00:00:31 verbose #559 > │ │
00:00:31 verbose #560 > │ │
00:00:31 verbose #561 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #562 >
00:00:31 verbose #563 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #564 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #565 > │ ## to_std_string │
00:00:31 verbose #566 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #567 >
00:00:31 verbose #568 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #569 > inl to_std_string (s : string) : std_string =
00:00:31 verbose #570 > inl s = join s
00:00:31 verbose #571 > s |> as_str |> ref_to_std_string
00:00:31 verbose #572 > 00:00:30 debug #34 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/340f15dcd889a434dec7c525fa458abf3064836d6a1dd825940b2fd875efcca6/main.spi
00:00:31 verbose #573 >
00:00:31 verbose #574 > ╭─[ 638.36ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #575 > │ () │
00:00:31 verbose #576 > │ │
00:00:31 verbose #577 > │ │
00:00:31 verbose #578 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #579 >
00:00:31 verbose #580 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #581 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #582 > │ ## as_str_std │
00:00:31 verbose #583 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #584 >
00:00:31 verbose #585 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #586 > inl as_str_std (s : std_string) : rust.ref' str =
00:00:31 verbose #587 > inl s = join s
00:00:31 verbose #588 > !\($'"!s.as_str()"')
00:00:32 verbose #589 > 00:00:31 debug #35 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3b649867fb11cba79eba5ce0e149e4b034243072250557ae98211401bb35d17c/main.spi
00:00:32 verbose #590 >
00:00:32 verbose #591 > ╭─[ 634.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #592 > │ () │
00:00:32 verbose #593 > │ │
00:00:32 verbose #594 > │ │
00:00:32 verbose #595 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #596 >
00:00:32 verbose #597 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #598 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #599 > │ ## into_boxed_str │
00:00:32 verbose #600 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #601 >
00:00:32 verbose #602 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #603 > inl into_boxed_str (s : std_string) : rust.box str =
00:00:32 verbose #604 > !\($'"!s.into_boxed_str()"')
00:00:33 verbose #605 > 00:00:32 debug #36 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d3267e7784d06130d399e3e95e57e5e09ce4ba6db9f5708ea648f11561e6f6ac/main.spi
00:00:33 verbose #606 >
00:00:33 verbose #607 > ╭─[ 640.55ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 verbose #608 > │ () │
00:00:33 verbose #609 > │ │
00:00:33 verbose #610 > │ │
00:00:33 verbose #611 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #612 >
00:00:33 verbose #613 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:33 verbose #614 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:33 verbose #615 > │ ## as_os_ref │
00:00:33 verbose #616 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #617 >
00:00:33 verbose #618 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #619 > inl as_os_ref (s : os_string) : rust.ref' os_str =
00:00:33 verbose #620 > !\\(s, $'"$0.as_ref()"')
00:00:33 verbose #621 > 00:00:32 debug #37 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/214b5bed9ef5a8a98f5e172aa5873c9775b97bab76babcacdb45ca0ba642103e/main.spi
00:00:33 verbose #622 >
00:00:33 verbose #623 > ╭─[ 607.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 verbose #624 > │ () │
00:00:33 verbose #625 > │ │
00:00:33 verbose #626 > │ │
00:00:33 verbose #627 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #628 >
00:00:33 verbose #629 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:33 verbose #630 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:33 verbose #631 > │ ## to_os_string │
00:00:33 verbose #632 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #633 >
00:00:33 verbose #634 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #635 > inl to_os_string (s : rust.ref' os_str) : os_string =
00:00:33 verbose #636 > !\\(s, $'"$0.to_os_string()"')
00:00:34 verbose #637 > 00:00:33 debug #38 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e20b0a2225b5af08d6ef305ea8edfea38c18d87ce3ddc291623ec767525326a9/main.spi
00:00:34 verbose #638 >
00:00:34 verbose #639 > ╭─[ 647.22ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 verbose #640 > │ () │
00:00:34 verbose #641 > │ │
00:00:34 verbose #642 > │ │
00:00:34 verbose #643 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #644 >
00:00:34 verbose #645 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #646 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #647 > │ ## os_to_str │
00:00:34 verbose #648 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #649 >
00:00:34 verbose #650 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #651 > inl os_to_str (s : os_string) : optionm'.option' (rust.ref' str) =
00:00:34 verbose #652 > !\\(s, $'"$0.to_str()"')
00:00:35 verbose #653 > 00:00:34 debug #39 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ded661db75fbc106a09c75ef57523e41f6e8e3f4e8e681976329e0c3d2363bd7/main.spi
00:00:35 verbose #654 >
00:00:35 verbose #655 > ╭─[ 657.90ms - stdout ]────────────────────────────────────────────────────────╮
00:00:35 verbose #656 > │ () │
00:00:35 verbose #657 > │ │
00:00:35 verbose #658 > │ │
00:00:35 verbose #659 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #660 >
00:00:35 verbose #661 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:35 verbose #662 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:35 verbose #663 > │ ## from_os_str_ref │
00:00:35 verbose #664 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #665 >
00:00:35 verbose #666 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:35 verbose #667 > inl from_os_str_ref s =
00:00:35 verbose #668 > s
00:00:35 verbose #669 > |> to_os_string
00:00:35 verbose #670 > |> os_to_str
00:00:35 verbose #671 > |> optionm'.unwrap
00:00:35 verbose #672 > |> ref_to_std_string
00:00:35 verbose #673 > |> from_std_string
00:00:35 verbose #674 > 00:00:34 debug #40 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9f313ee4cea59fac0ee9ceb077f73c4d3c14eefb65ef61f64c9871c445880e95/main.spi
00:00:35 verbose #675 >
00:00:35 verbose #676 > ╭─[ 647.68ms - stdout ]────────────────────────────────────────────────────────╮
00:00:35 verbose #677 > │ () │
00:00:35 verbose #678 > │ │
00:00:35 verbose #679 > │ │
00:00:35 verbose #680 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #681 >
00:00:35 verbose #682 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:35 verbose #683 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:35 verbose #684 > │ ## obj_to_string │
00:00:35 verbose #685 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #686 >
00:00:35 verbose #687 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:35 verbose #688 > inl obj_to_string x : string =
00:00:35 verbose #689 > x |> $'_.ToString()'
00:00:36 verbose #690 > 00:00:35 debug #41 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/91db09c373a4b070e5a149614157ea9216e9d1898c80a1c92de11f414667de50/main.spi
00:00:36 verbose #691 >
00:00:36 verbose #692 > ╭─[ 658.06ms - stdout ]────────────────────────────────────────────────────────╮
00:00:36 verbose #693 > │ () │
00:00:36 verbose #694 > │ │
00:00:36 verbose #695 > │ │
00:00:36 verbose #696 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #697 >
00:00:36 verbose #698 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 verbose #699 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 verbose #700 > │ ## to_string any │
00:00:36 verbose #701 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #702 >
00:00:36 verbose #703 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 verbose #704 > instance to_string any =
00:00:36 verbose #705 > obj_to_string
00:00:36 verbose #706 > 00:00:35 debug #42 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d3ff0bbba0456c3cb1f3236dfdd7608b7452e030539ff47ef1d7b70e1ead37f2/main.spi
00:00:37 verbose #707 >
00:00:37 verbose #708 > ╭─[ 702.71ms - stdout ]────────────────────────────────────────────────────────╮
00:00:37 verbose #709 > │ () │
00:00:37 verbose #710 > │ │
00:00:37 verbose #711 > │ │
00:00:37 verbose #712 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #713 >
00:00:37 verbose #714 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #715 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #716 > │ ## to_string result t u │
00:00:37 verbose #717 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #718 >
00:00:37 verbose #719 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #720 > instance to_string result t u = fun x =>
00:00:37 verbose #721 > real
00:00:37 verbose #722 > open rust
00:00:37 verbose #723 > typecase (t * u) with
00:00:37 verbose #724 > | string * string =>
00:00:37 verbose #725 > match x with
00:00:37 verbose #726 > | Ok x => x
00:00:37 verbose #727 > | Error x => $'"sm\'.to_string result / Error: " + !x + ""' : string
00:00:37 verbose #728 > | std_string * std_string =>
00:00:37 verbose #729 > match x with
00:00:37 verbose #730 > | Ok x => from_std_string x
00:00:37 verbose #731 > | Error x => $'"sm\'.to_string result / Error: " + string !x + ""' :
00:00:37 verbose #732 > string
00:00:37 verbose #733 > | _ => obj_to_string `u x
00:00:37 verbose #734 > 00:00:36 debug #43 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/332f02b900e7887112786f98651fcd5e7040c5ac1be247f245cb65d8b4e1f5c2/main.spi
00:00:37 verbose #735 >
00:00:37 verbose #736 > ╭─[ 642.08ms - stdout ]────────────────────────────────────────────────────────╮
00:00:37 verbose #737 > │ () │
00:00:37 verbose #738 > │ │
00:00:37 verbose #739 > │ │
00:00:37 verbose #740 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #741 >
00:00:37 verbose #742 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #743 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #744 > │ ## format'' │
00:00:37 verbose #745 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #746 >
00:00:37 verbose #747 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #748 > inl format'' (format : string) : std_string =
00:00:37 verbose #749 > !\($'@@$"format\!(" + !format + ")"')
00:00:38 verbose #750 > 00:00:37 debug #44 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/830a0df3294b03378cad94711cfa56238a851fc65946f8ef46969dc5b48af361/main.spi
00:00:38 verbose #751 >
00:00:38 verbose #752 > ╭─[ 622.13ms - stdout ]────────────────────────────────────────────────────────╮
00:00:38 verbose #753 > │ () │
00:00:38 verbose #754 > │ │
00:00:38 verbose #755 > │ │
00:00:38 verbose #756 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #757 >
00:00:38 verbose #758 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:38 verbose #759 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:38 verbose #760 > │ ## format' │
00:00:38 verbose #761 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #762 >
00:00:38 verbose #763 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #764 > inl format' x : std_string =
00:00:38 verbose #765 > run_target function
00:00:38 verbose #766 > | Rust _ => fun () =>
00:00:38 verbose #767 > !\\(x, $'@@$"format\!(""{{}}"", $0)"')
00:00:38 verbose #768 > | _ => fun () => null ()
00:00:38 verbose #769 > 00:00:37 debug #45 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/115b95e43c8e8c4bc38a8f2cea0b7e223205622864d55b722e1c71d2afa1e493/main.spi
00:00:39 verbose #770 >
00:00:39 verbose #771 > ╭─[ 641.15ms - stdout ]────────────────────────────────────────────────────────╮
00:00:39 verbose #772 > │ () │
00:00:39 verbose #773 > │ │
00:00:39 verbose #774 > │ │
00:00:39 verbose #775 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #776 >
00:00:39 verbose #777 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #778 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #779 > │ ## format_debug │
00:00:39 verbose #780 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #781 >
00:00:39 verbose #782 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:39 verbose #783 > inl format_debug x : string =
00:00:39 verbose #784 > $'$"%A{!x}"'
00:00:39 verbose #785 > 00:00:38 debug #46 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/688c2836ccf488b83f0b03420978fa57902ffa16ce2415a1c54e8f78a6afceeb/main.spi
00:00:39 verbose #786 >
00:00:39 verbose #787 > ╭─[ 672.61ms - stdout ]────────────────────────────────────────────────────────╮
00:00:39 verbose #788 > │ () │
00:00:39 verbose #789 > │ │
00:00:39 verbose #790 > │ │
00:00:39 verbose #791 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #792 >
00:00:39 verbose #793 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 verbose #794 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 verbose #795 > │ ## format_debug' │
00:00:39 verbose #796 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 verbose #797 >
00:00:39 verbose #798 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:39 verbose #799 > inl format_debug' x : std_string =
00:00:39 verbose #800 > !\\(x, $'@@$"format\!(""{{:?}}"", $0)"')
00:00:40 verbose #801 > 00:00:39 debug #47 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/743d7f365dbb4e21c44919b2de975a97cc93a428300bb26ceae7b43b63307e0b/main.spi
00:00:40 verbose #802 >
00:00:40 verbose #803 > ╭─[ 624.85ms - stdout ]────────────────────────────────────────────────────────╮
00:00:40 verbose #804 > │ () │
00:00:40 verbose #805 > │ │
00:00:40 verbose #806 > │ │
00:00:40 verbose #807 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #808 >
00:00:40 verbose #809 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #810 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #811 > │ ## format_pretty' │
00:00:40 verbose #812 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #813 >
00:00:40 verbose #814 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:40 verbose #815 > inl format_pretty' x : std_string =
00:00:40 verbose #816 > !\\(x, $'@@$"format\!(""{{:#?}}"", $0)"')
00:00:40 verbose #817 > 00:00:39 debug #48 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3c159a67df73b0fc1bbfa1fce50cb3db24f03709c56ac4eb802f1ee27c7cd574/main.spi
00:00:40 verbose #818 >
00:00:40 verbose #819 > ╭─[ 615.86ms - stdout ]────────────────────────────────────────────────────────╮
00:00:40 verbose #820 > │ () │
00:00:40 verbose #821 > │ │
00:00:40 verbose #822 > │ │
00:00:40 verbose #823 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #824 >
00:00:40 verbose #825 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:40 verbose #826 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:40 verbose #827 > │ ## format_exception │
00:00:40 verbose #828 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:40 verbose #829 >
00:00:40 verbose #830 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:40 verbose #831 > inl format_exception (ex : exn) : string =
00:00:40 verbose #832 > run_target function
00:00:40 verbose #833 > | Fsharp (Native) => fun () => $'$"{!ex.GetType ()}: {!ex.Message}"'
00:00:40 verbose #834 > | _ => fun () => ex |> format_debug
00:00:41 verbose #835 > 00:00:40 debug #49 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5ab0495d3686622441667d69a50bc268ddd9a8335ae543d88de337e180616bab/main.spi
00:00:41 verbose #836 >
00:00:41 verbose #837 > ╭─[ 623.23ms - stdout ]────────────────────────────────────────────────────────╮
00:00:41 verbose #838 > │ () │
00:00:41 verbose #839 > │ │
00:00:41 verbose #840 > │ │
00:00:41 verbose #841 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:41 verbose #842 >
00:00:41 verbose #843 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:41 verbose #844 > //// test
00:00:41 verbose #845 >
00:00:41 verbose #846 > fun () => failwith "test"
00:00:41 verbose #847 > |> _throws
00:00:41 verbose #848 > |> optionm.map sm'.format_exception
00:00:41 verbose #849 > |> _assert_eq (Some "System.Exception: test")
00:00:42 verbose #850 > 00:00:41 debug #50 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ac8e7cdeed916adcc705e45695b8c8355057119751305786d93c636d45038061/main.spi
00:00:42 verbose #851 >
00:00:42 verbose #852 > ╭─[ 1.10s - stdout ]───────────────────────────────────────────────────────────╮
00:00:42 verbose #853 > │ type [<Struct>] US0 = │
00:00:42 verbose #854 > │ | US0_0 of f0_0 : exn │
00:00:42 verbose #855 > │ | US0_1 │
00:00:42 verbose #856 > │ and [<Struct>] US1 = │
00:00:42 verbose #857 > │ | US1_0 of f0_0 : string │
00:00:42 verbose #858 > │ | US1_1 │
00:00:42 verbose #859 > │ let rec closure0 () () : unit = │
00:00:42 verbose #860 > │ failwith<unit> "test" │
00:00:42 verbose #861 > │ and closure1 () (v0 : exn) : US0 = │
00:00:42 verbose #862 > │ US0_0(v0) │
00:00:42 verbose #863 > │ and method1 (v0 : bool) : bool = │
00:00:42 verbose #864 > │ v0 │
00:00:42 verbose #865 > │ and method0 () : unit = │
00:00:42 verbose #866 > │ let v0 : (unit -> unit) = closure0() │
00:00:42 verbose #867 > │ let v1 : US0 = US0_1 │
00:00:42 verbose #868 > │ let v2 : (exn -> US0) = closure1() │
00:00:42 verbose #869 > │ let v3 : US0 = try v0 (); v1 with ex -> ex |> v2 │
00:00:42 verbose #870 > │ let v17 : US1 = │
00:00:42 verbose #871 > │ match v3 with │
00:00:42 verbose #872 > │ | US0_1 -> (* None *) │
00:00:42 verbose #873 > │ US1_1 │
00:00:42 verbose #874 > │ | US0_0(v4) -> (* Some *) │
00:00:42 verbose #875 > │ let v5 : string option = None │
00:00:42 verbose #876 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:00:42 verbose #877 > │ │
00:00:42 verbose #878 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:42 verbose #879 > │ │
00:00:42 verbose #880 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:42 verbose #881 > │ let v7 : string = $"%A{v4}" │
00:00:42 verbose #882 > │ v7 │
00:00:42 verbose #883 > │ #endif │
00:00:42 verbose #884 > │ │
00:00:42 verbose #885 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:42 verbose #886 > │ let v8 : string = $"%A{v4}" │
00:00:42 verbose #887 > │ v8 │
00:00:42 verbose #888 > │ #endif │
00:00:42 verbose #889 > │ │
00:00:42 verbose #890 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:42 verbose #891 > │ let v9 : string = $"%A{v4}" │
00:00:42 verbose #892 > │ v9 │
00:00:42 verbose #893 > │ #endif │
00:00:42 verbose #894 > │ │
00:00:42 verbose #895 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:42 verbose #896 > │ let v10 : string = $"%A{v4}" │
00:00:42 verbose #897 > │ v10 │
00:00:42 verbose #898 > │ #endif │
00:00:42 verbose #899 > │ │
00:00:42 verbose #900 > │ #if FABLE_COMPILER_PYTHON │
00:00:42 verbose #901 > │ let v11 : string = $"%A{v4}" │
00:00:42 verbose #902 > │ v11 │
00:00:42 verbose #903 > │ #endif │
00:00:42 verbose #904 > │ │
00:00:42 verbose #905 > │ #else │
00:00:42 verbose #906 > │ let v12 : string = $"{v4.GetType ()}: {v4.Message}" │
00:00:42 verbose #907 > │ v12 │
00:00:42 verbose #908 > │ #endif │
00:00:42 verbose #909 > │ |> fun x -> _v5 <- Some x │
00:00:42 verbose #910 > │ let v13 : string = _v5.Value │
00:00:42 verbose #911 > │ US1_0(v13) │
00:00:42 verbose #912 > │ let v22 : bool = │
00:00:42 verbose #913 > │ match v17 with │
00:00:42 verbose #914 > │ | US1_0(v20) -> (* Some *) │
00:00:42 verbose #915 > │ let v21 : bool = v20 = "System.Exception: test" │
00:00:42 verbose #916 > │ v21 │
00:00:42 verbose #917 > │ | _ -> │
00:00:42 verbose #918 > │ false │
00:00:42 verbose #919 > │ let v24 : bool = │
00:00:42 verbose #920 > │ if v22 then │
00:00:42 verbose #921 > │ true │
00:00:42 verbose #922 > │ else │
00:00:42 verbose #923 > │ method1(v22) │
00:00:42 verbose #924 > │ let v25 : string = "assert_eq" │
00:00:42 verbose #925 > │ let v26 : string = "System.Exception: test" │
00:00:42 verbose #926 > │ let v27 : US1 = US1_0(v26) │
00:00:42 verbose #927 > │ let v28 : string = $"{v25} / actual: %A{v17} / expected: %A{v27}" │
00:00:42 verbose #928 > │ System.Console.WriteLine v28 │
00:00:42 verbose #929 > │ let v29 : bool = v24 = false │
00:00:42 verbose #930 > │ if v29 then │
00:00:42 verbose #931 > │ failwith<unit> v28 │
00:00:42 verbose #932 > │ method0() │
00:00:42 verbose #933 > │ │
00:00:42 verbose #934 > │ assert_eq / actual: US1_0 "System.Exception: test" / expected: US1_0 │
00:00:42 verbose #935 > │ "System.Exception: test" │
00:00:42 verbose #936 > │ │
00:00:42 verbose #937 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:42 verbose #938 >
00:00:42 verbose #939 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:42 verbose #940 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:42 verbose #941 > │ ## replace │
00:00:42 verbose #942 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:42 verbose #943 >
00:00:42 verbose #944 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:42 verbose #945 > inl replace (old_value : string) (new_value : string) (s : string) : string =
00:00:42 verbose #946 > $"!s.Replace (!old_value, !new_value)"
00:00:43 verbose #947 > 00:00:42 debug #51 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0fc1537c0cc265f14b0c5078c0875498bbd5fbd9a2475bca4f25c5c496400aa6/main.spi
00:00:43 verbose #948 >
00:00:43 verbose #949 > ╭─[ 599.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:43 verbose #950 > │ () │
00:00:43 verbose #951 > │ │
00:00:43 verbose #952 > │ │
00:00:43 verbose #953 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #954 >
00:00:43 verbose #955 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:43 verbose #956 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:43 verbose #957 > │ ## replace_regex │
00:00:43 verbose #958 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #959 >
00:00:43 verbose #960 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:43 verbose #961 > inl replace_regex (pattern : string) (replacement : string) (s : string) :
00:00:43 verbose #962 > string =
00:00:43 verbose #963 > run_target function
00:00:43 verbose #964 > | Fsharp (Native) => fun () =>
00:00:43 verbose #965 > $"System.Text.RegularExpressions.Regex.Replace (!s, !pattern,
00:00:43 verbose #966 > !replacement)"
00:00:43 verbose #967 > | Rust (Native) => fun () =>
00:00:43 verbose #968 > open rust_operators
00:00:43 verbose #969 > inl pattern = join pattern
00:00:43 verbose #970 > inl s = join s
00:00:43 verbose #971 > inl replacement = join replacement
00:00:43 verbose #972 > !\\((pattern, s, replacement),
00:00:43 verbose #973 > $'$"regex::Regex::new(&$0).unwrap().replace_all(&$1, &*$2)"')
00:00:43 verbose #974 > |> cow_to_std_string
00:00:43 verbose #975 > |> from_std_string
00:00:43 verbose #976 > | _ => fun () => null ()
00:00:43 verbose #977 > 00:00:42 debug #52 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ad61c765311e0a4efdc1d2f2f16dcca0973d642e54a35a6570b6369398fb75b0/main.spi
00:00:43 verbose #978 >
00:00:43 verbose #979 > ╭─[ 631.00ms - stdout ]────────────────────────────────────────────────────────╮
00:00:43 verbose #980 > │ () │
00:00:43 verbose #981 > │ │
00:00:43 verbose #982 > │ │
00:00:43 verbose #983 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:43 verbose #984 >
00:00:43 verbose #985 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:43 verbose #986 > //// test
00:00:43 verbose #987 >
00:00:43 verbose #988 > " 123"
00:00:43 verbose #989 > |> replace_regex "\\s\\w2" ""
00:00:43 verbose #990 > |> _assert_eq "3"
00:00:44 verbose #991 > 00:00:43 debug #53 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d32cab301083937b26d8857cec607577cbfaec66f2712ad83d182b44cf20f0fe/main.spi
00:00:44 verbose #992 >
00:00:44 verbose #993 > ╭─[ 649.80ms - stdout ]────────────────────────────────────────────────────────╮
00:00:44 verbose #994 > │ let rec method1 () : string = │
00:00:44 verbose #995 > │ let v0 : string = "\\s\\w2" │
00:00:44 verbose #996 > │ v0 │
00:00:44 verbose #997 > │ and method2 () : string = │
00:00:44 verbose #998 > │ let v0 : string = " 123" │
00:00:44 verbose #999 > │ v0 │
00:00:44 verbose #1000 > │ and method3 () : string = │
00:00:44 verbose #1001 > │ let v0 : string = "" │
00:00:44 verbose #1002 > │ v0 │
00:00:44 verbose #1003 > │ and method4 (v0 : bool) : bool = │
00:00:44 verbose #1004 > │ v0 │
00:00:44 verbose #1005 > │ and method0 () : unit = │
00:00:44 verbose #1006 > │ let v0 : string option = None │
00:00:44 verbose #1007 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:00:44 verbose #1008 > │ │
00:00:44 verbose #1009 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:44 verbose #1010 > │ │
00:00:44 verbose #1011 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:44 verbose #1012 > │ let v2 : string = method1() │
00:00:44 verbose #1013 > │ let v3 : string = method2() │
00:00:44 verbose #1014 > │ let v4 : string = method3() │
00:00:44 verbose #1015 > │ let v5 : string = $"regex::Regex::new(&$0).unwrap().replace_all(&$1, │
00:00:44 verbose #1016 > │ &*$2)" │
00:00:44 verbose #1017 > │ let v6 : std_borrow_Cow<Str> = Fable.Core.RustInterop.emitRustExpr │
00:00:44 verbose #1018 > │ struct (v2, v3, v4) v5 │
00:00:44 verbose #1019 > │ let v7 : string = "String::from($0)" │
00:00:44 verbose #1020 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:00:44 verbose #1021 > │ let v9 : string = "fable_library_rust::String_::fromString($0)" │
00:00:44 verbose #1022 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:00:44 verbose #1023 > │ v10 │
00:00:44 verbose #1024 > │ #endif │
00:00:44 verbose #1025 > │ │
00:00:44 verbose #1026 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:44 verbose #1027 > │ let v11 : string = null |> unbox<string> │
00:00:44 verbose #1028 > │ v11 │
00:00:44 verbose #1029 > │ #endif │
00:00:44 verbose #1030 > │ │
00:00:44 verbose #1031 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:44 verbose #1032 > │ let v12 : string = null |> unbox<string> │
00:00:44 verbose #1033 > │ v12 │
00:00:44 verbose #1034 > │ #endif │
00:00:44 verbose #1035 > │ │
00:00:44 verbose #1036 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:44 verbose #1037 > │ let v13 : string = null |> unbox<string> │
00:00:44 verbose #1038 > │ v13 │
00:00:44 verbose #1039 > │ #endif │
00:00:44 verbose #1040 > │ │
00:00:44 verbose #1041 > │ #if FABLE_COMPILER_PYTHON │
00:00:44 verbose #1042 > │ let v14 : string = null |> unbox<string> │
00:00:44 verbose #1043 > │ v14 │
00:00:44 verbose #1044 > │ #endif │
00:00:44 verbose #1045 > │ │
00:00:44 verbose #1046 > │ #else │
00:00:44 verbose #1047 > │ let v15 : string = " 123" │
00:00:44 verbose #1048 > │ let v16 : string = "\\s\\w2" │
00:00:44 verbose #1049 > │ let v17 : string = "" │
00:00:44 verbose #1050 > │ let v18 : string = System.Text.RegularExpressions.Regex.Replace (v15, │
00:00:44 verbose #1051 > │ v16, v17) │
00:00:44 verbose #1052 > │ v18 │
00:00:44 verbose #1053 > │ #endif │
00:00:44 verbose #1054 > │ |> fun x -> _v0 <- Some x │
00:00:44 verbose #1055 > │ let v19 : string = _v0.Value │
00:00:44 verbose #1056 > │ let v21 : bool = v19 = "3" │
00:00:44 verbose #1057 > │ let v23 : bool = │
00:00:44 verbose #1058 > │ if v21 then │
00:00:44 verbose #1059 > │ true │
00:00:44 verbose #1060 > │ else │
00:00:44 verbose #1061 > │ method4(v21) │
00:00:44 verbose #1062 > │ let v24 : string = "assert_eq" │
00:00:44 verbose #1063 > │ let v25 : string = "3" │
00:00:44 verbose #1064 > │ let v26 : string = $"{v24} / actual: %A{v19} / expected: %A{v25}" │
00:00:44 verbose #1065 > │ System.Console.WriteLine v26 │
00:00:44 verbose #1066 > │ let v27 : bool = v23 = false │
00:00:44 verbose #1067 > │ if v27 then │
00:00:44 verbose #1068 > │ failwith<unit> v26 │
00:00:44 verbose #1069 > │ method0() │
00:00:44 verbose #1070 > │ │
00:00:44 verbose #1071 > │ assert_eq / actual: "3" / expected: "3" │
00:00:44 verbose #1072 > │ │
00:00:44 verbose #1073 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:44 verbose #1074 >
00:00:44 verbose #1075 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:44 verbose #1076 > //// test
00:00:44 verbose #1077 > ///! rust
00:00:44 verbose #1078 >
00:00:44 verbose #1079 > types ()
00:00:44 verbose #1080 > " 123"
00:00:44 verbose #1081 > |> replace_regex "\\s\\w2" ""
00:00:44 verbose #1082 > |> _assert_eq "3"
00:00:45 verbose #1083 > 00:00:44 debug #54 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d113e3e10679017602395e70f1d38018439001aa9ea8f08630736537486cbe9e/main.spi
00:00:53 verbose #1084 >
00:00:53 verbose #1085 > ╭─[ 8.96s - return value ]─────────────────────────────────────────────────────╮
00:00:53 verbose #1086 > │ output: │
00:00:53 verbose #1087 > │ assert_eq / actual: "3" / expected: "3" │
00:00:53 verbose #1088 > │ │
00:00:53 verbose #1089 > │ │
00:00:53 verbose #1090 > │ │
00:00:53 verbose #1091 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:53 verbose #1092 >
00:00:53 verbose #1093 > ╭─[ 8.96s - stdout ]───────────────────────────────────────────────────────────╮
00:00:53 verbose #1094 > │ .fsx: │
00:00:53 verbose #1095 > │ #if FABLE_COMPILER │
00:00:53 verbose #1096 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:00:53 verbose #1097 > │ #endif │
00:00:53 verbose #1098 > │ type Func0<'T> = class end │
00:00:53 verbose #1099 > │ #if FABLE_COMPILER │
00:00:53 verbose #1100 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:00:53 verbose #1101 > │ #endif │
00:00:53 verbose #1102 > │ type Func0<'T, 'U> = class end │
00:00:53 verbose #1103 > │ #if FABLE_COMPILER │
00:00:53 verbose #1104 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:00:53 verbose #1105 > │ #endif │
00:00:53 verbose #1106 > │ type Box<'T> = class end │
00:00:53 verbose #1107 > │ #if FABLE_COMPILER │
00:00:53 verbose #1108 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:00:53 verbose #1109 > │ #endif │
00:00:53 verbose #1110 > │ type Dyn<'T> = class end │
00:00:53 verbose #1111 > │ #if FABLE_COMPILER │
00:00:53 verbose #1112 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:00:53 verbose #1113 > │ #endif │
00:00:53 verbose #1114 > │ type Send<'T> = class end │
00:00:53 verbose #1115 > │ #if FABLE_COMPILER │
00:00:53 verbose #1116 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:00:53 verbose #1117 > │ #endif │
00:00:53 verbose #1118 > │ type Fn<'T> = class end │
00:00:53 verbose #1119 > │ #if FABLE_COMPILER │
00:00:53 verbose #1120 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:00:53 verbose #1121 > │ #endif │
00:00:53 verbose #1122 > │ type FnUnit = class end │
00:00:53 verbose #1123 > │ #if FABLE_COMPILER │
00:00:53 verbose #1124 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:00:53 verbose #1125 > │ #endif │
00:00:53 verbose #1126 > │ type FnOnce<'T> = class end │
00:00:53 verbose #1127 > │ #if FABLE_COMPILER │
00:00:53 verbose #1128 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:00:53 verbose #1129 > │ #endif │
00:00:53 verbose #1130 > │ type ActionFn<'T> = class end │
00:00:53 verbose #1131 > │ #if FABLE_COMPILER │
00:00:53 verbose #1132 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:00:53 verbose #1133 > │ #endif │
00:00:53 verbose #1134 > │ type ActionFn2<'T, 'U> = class end │
00:00:53 verbose #1135 > │ #if FABLE_COMPILER │
00:00:53 verbose #1136 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:00:53 verbose #1137 > │ #endif │
00:00:53 verbose #1138 > │ type Impl<'T> = class end │
00:00:53 verbose #1139 > │ #if FABLE_COMPILER │
00:00:53 verbose #1140 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:00:53 verbose #1141 > │ #endif │
00:00:53 verbose #1142 > │ type Mut<'T> = class end │
00:00:53 verbose #1143 > │ #if FABLE_COMPILER │
00:00:53 verbose #1144 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:00:53 verbose #1145 > │ #endif │
00:00:53 verbose #1146 > │ type Ref<'T> = class end │
00:00:53 verbose #1147 > │ #if FABLE_COMPILER │
00:00:53 verbose #1148 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:00:53 verbose #1149 > │ #endif │
00:00:53 verbose #1150 > │ type StaticRef<'T> = class end │
00:00:53 verbose #1151 > │ #if FABLE_COMPILER │
00:00:53 verbose #1152 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:00:53 verbose #1153 > │ #endif │
00:00:53 verbose #1154 > │ type MutCell<'T> = class end │
00:00:53 verbose #1155 > │ #if FABLE_COMPILER │
00:00:53 verbose #1156 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:00:53 verbose #1157 > │ #endif │
00:00:53 verbose #1158 > │ type std_any_Any = class end │
00:00:53 verbose #1159 > │ #if FABLE_COMPILER │
00:00:53 verbose #1160 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:00:53 verbose #1161 > │ #endif │
00:00:53 verbose #1162 > │ type std_borrow_Cow<'T> = class end │
00:00:53 verbose #1163 > │ #if FABLE_COMPILER │
00:00:53 verbose #1164 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:00:53 verbose #1165 > │ #endif │
00:00:53 verbose #1166 > │ type std_cell_RefCell<'T> = class end │
00:00:53 verbose #1167 > │ #if FABLE_COMPILER │
00:00:53 verbose #1168 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:00:53 verbose #1169 > │ #endif │
00:00:53 verbose #1170 > │ type std_pin_Pin<'T> = class end │
00:00:53 verbose #1171 > │ #if FABLE_COMPILER │
00:00:53 verbose #1172 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:00:53 verbose #1173 > │ #endif │
00:00:53 verbose #1174 > │ type std_rc_Rc<'T> = class end │
00:00:53 verbose #1175 > │ #if FABLE_COMPILER │
00:00:53 verbose #1176 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:00:53 verbose #1177 > │ #endif │
00:00:53 verbose #1178 > │ type std_rc_Weak<'T> = class end │
00:00:53 verbose #1179 > │ #if FABLE_COMPILER │
00:00:53 verbose #1180 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:00:53 verbose #1181 > │ #endif │
00:00:53 verbose #1182 > │ type Str = class end │
00:00:53 verbose #1183 > │ #if FABLE_COMPILER │
00:00:53 verbose #1184 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:00:53 verbose #1185 > │ #endif │
00:00:53 verbose #1186 > │ type base64_DecodeError = class end │
00:00:53 verbose #1187 > │ #if FABLE_COMPILER │
00:00:53 verbose #1188 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:00:53 verbose #1189 > │ #endif │
00:00:53 verbose #1190 > │ type borsh_io_Error = class end │
00:00:53 verbose #1191 > │ #if FABLE_COMPILER │
00:00:53 verbose #1192 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:00:53 verbose #1193 > │ #endif │
00:00:53 verbose #1194 > │ type js_sys_JsString = class end │
00:00:53 verbose #1195 > │ #if FABLE_COMPILER │
00:00:53 verbose #1196 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:00:53 verbose #1197 > │ #endif │
00:00:53 verbose #1198 > │ type serde_json_Error = class end │
00:00:53 verbose #1199 > │ #if FABLE_COMPILER │
00:00:53 verbose #1200 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:00:53 verbose #1201 > │ #endif │
00:00:53 verbose #1202 > │ type serde_json_Value = class end │
00:00:53 verbose #1203 > │ #if FABLE_COMPILER │
00:00:53 verbose #1204 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:00:53 verbose #1205 > │ #endif │
00:00:53 verbose #1206 > │ type serde_wasm_bindgen_Error = class end │
00:00:53 verbose #1207 > │ #if FABLE_COMPILER │
00:00:53 verbose #1208 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:00:53 verbose #1209 > │ #endif │
00:00:53 verbose #1210 > │ type std_ffi_OsStr = class end │
00:00:53 verbose #1211 > │ #if FABLE_COMPILER │
00:00:53 verbose #1212 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:00:53 verbose #1213 > │ #endif │
00:00:53 verbose #1214 > │ type std_ffi_OsString = class end │
00:00:53 verbose #1215 > │ #if FABLE_COMPILER │
00:00:53 verbose #1216 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:00:53 verbose #1217 > │ #endif │
00:00:53 verbose #1218 > │ type std_fmt_Display<'T> = class end │
00:00:53 verbose #1219 > │ #if FABLE_COMPILER │
00:00:53 verbose #1220 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:00:53 verbose #1221 > │ #endif │
00:00:53 verbose #1222 > │ type std_str_Utf8Error = class end │
00:00:53 verbose #1223 > │ #if FABLE_COMPILER │
00:00:53 verbose #1224 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:00:53 verbose #1225 > │ #endif │
00:00:53 verbose #1226 > │ type std_string_FromUtf8Error = class end │
00:00:53 verbose #1227 > │ #if FABLE_COMPILER │
00:00:53 verbose #1228 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:00:53 verbose #1229 > │ #endif │
00:00:53 verbose #1230 > │ type std_string_String = class end │
00:00:53 verbose #1231 > │ #if FABLE_COMPILER │
00:00:53 verbose #1232 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:00:53 verbose #1233 > │ #endif │
00:00:53 verbose #1234 > │ type std_slice_Windows<'T> = class end │
00:00:53 verbose #1235 > │ let rec method1 () : string = │
00:00:53 verbose #1236 > │ let v0 : string = "\\s\\w2" │
00:00:53 verbose #1237 > │ v0 │
00:00:53 verbose #1238 > │ and method2 () : string = │
00:00:53 verbose #1239 > │ let v0 : string = " 123" │
00:00:53 verbose #1240 > │ v0 │
00:00:53 verbose #1241 > │ and method3 () : string = │
00:00:53 verbose #1242 > │ let v0 : string = "" │
00:00:53 verbose #1243 > │ v0 │
00:00:53 verbose #1244 > │ and method4 (v0 : bool) : bool = │
00:00:53 verbose #1245 > │ v0 │
00:00:53 verbose #1246 > │ and method0 () : unit = │
00:00:53 verbose #1247 > │ let v0 : string option = None │
00:00:53 verbose #1248 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:00:53 verbose #1249 > │ │
00:00:53 verbose #1250 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:00:53 verbose #1251 > │ │
00:00:53 verbose #1252 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:00:53 verbose #1253 > │ let v2 : string = method1() │
00:00:53 verbose #1254 > │ let v3 : string = method2() │
00:00:53 verbose #1255 > │ let v4 : string = method3() │
00:00:53 verbose #1256 > │ let v5 : string = $"regex::Regex::new(&$0).unwrap().replace_all(&$1, │
00:00:53 verbose #1257 > │ &*$2)" │
00:00:53 verbose #1258 > │ let v6 : std_borrow_Cow<Str> = Fable.Core.RustInterop.emitRustExpr │
00:00:53 verbose #1259 > │ struct (v2, v3, v4) v5 │
00:00:53 verbose #1260 > │ let v7 : string = "String::from($0)" │
00:00:53 verbose #1261 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:00:53 verbose #1262 > │ let v9 : string = "fable_library_rust::String_::fromString($0)" │
00:00:53 verbose #1263 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:00:53 verbose #1264 > │ v10 │
00:00:53 verbose #1265 > │ #endif │
00:00:53 verbose #1266 > │ │
00:00:53 verbose #1267 > │ #if FABLE_COMPILER_RUST && WASM │
00:00:53 verbose #1268 > │ let v11 : string = null |> unbox<string> │
00:00:53 verbose #1269 > │ v11 │
00:00:53 verbose #1270 > │ #endif │
00:00:53 verbose #1271 > │ │
00:00:53 verbose #1272 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:00:53 verbose #1273 > │ let v12 : string = null |> unbox<string> │
00:00:53 verbose #1274 > │ v12 │
00:00:53 verbose #1275 > │ #endif │
00:00:53 verbose #1276 > │ │
00:00:53 verbose #1277 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:00:53 verbose #1278 > │ let v13 : string = null |> unbox<string> │
00:00:53 verbose #1279 > │ v13 │
00:00:53 verbose #1280 > │ #endif │
00:00:53 verbose #1281 > │ │
00:00:53 verbose #1282 > │ #if FABLE_COMPILER_PYTHON │
00:00:53 verbose #1283 > │ let v14 : string = null |> unbox<string> │
00:00:53 verbose #1284 > │ v14 │
00:00:53 verbose #1285 > │ #endif │
00:00:53 verbose #1286 > │ │
00:00:53 verbose #1287 > │ #else │
00:00:53 verbose #1288 > │ let v15 : string = " 123" │
00:00:53 verbose #1289 > │ let v16 : string = "\\s\\w2" │
00:00:53 verbose #1290 > │ let v17 : string = "" │
00:00:53 verbose #1291 > │ let v18 : string = System.Text.RegularExpressions.Regex.Replace (v15, │
00:00:53 verbose #1292 > │ v16, v17) │
00:00:53 verbose #1293 > │ v18 │
00:00:53 verbose #1294 > │ #endif │
00:00:53 verbose #1295 > │ |> fun x -> _v0 <- Some x │
00:00:53 verbose #1296 > │ let v19 : string = _v0.Value │
00:00:53 verbose #1297 > │ let v21 : bool = v19 = "3" │
00:00:53 verbose #1298 > │ let v23 : bool = │
00:00:53 verbose #1299 > │ if v21 then │
00:00:53 verbose #1300 > │ true │
00:00:53 verbose #1301 > │ else │
00:00:53 verbose #1302 > │ method4(v21) │
00:00:53 verbose #1303 > │ let v24 : string = "assert_eq" │
00:00:53 verbose #1304 > │ let v25 : string = "3" │
00:00:53 verbose #1305 > │ let v26 : string = $"{v24} / actual: %A{v19} / expected: %A{v25}" │
00:00:53 verbose #1306 > │ System.Console.WriteLine v26 │
00:00:53 verbose #1307 > │ let v27 : bool = v23 = false │
00:00:53 verbose #1308 > │ if v27 then │
00:00:53 verbose #1309 > │ failwith<unit> v26 │
00:00:53 verbose #1310 > │ method0() │
00:00:53 verbose #1311 > │ │
00:00:53 verbose #1312 > │ │
00:00:53 verbose #1313 > │ │
00:00:53 verbose #1314 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:53 verbose #1315 >
00:00:53 verbose #1316 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:53 verbose #1317 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:53 verbose #1318 > │ ## serialize │
00:00:53 verbose #1319 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:53 verbose #1320 >
00:00:53 verbose #1321 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:53 verbose #1322 > inl serialize forall t. (x : t) : resultm.result' std_string json_error =
00:00:53 verbose #1323 > !\($'"serde_json::to_string(&!x)"')
00:00:54 verbose #1324 > 00:00:53 debug #55 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/424d48cbecb3e163ff4826cf13134fcfcf7de3e52ecf52be2c9450f103ea8c22/main.spi
00:00:54 verbose #1325 >
00:00:54 verbose #1326 > ╭─[ 637.10ms - stdout ]────────────────────────────────────────────────────────╮
00:00:54 verbose #1327 > │ () │
00:00:54 verbose #1328 > │ │
00:00:54 verbose #1329 > │ │
00:00:54 verbose #1330 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #1331 >
00:00:54 verbose #1332 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:54 verbose #1333 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:54 verbose #1334 > │ ## deserialize │
00:00:54 verbose #1335 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #1336 >
00:00:54 verbose #1337 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:54 verbose #1338 > inl deserialize forall t. (json : string) : resultm.result' t std_string =
00:00:54 verbose #1339 > inl json = join json
00:00:54 verbose #1340 > inl json = json |> as_str
00:00:54 verbose #1341 > !\($'"serde_json::from_str(&!json)"')
00:00:54 verbose #1342 > |> resultm.map_error' fun (x : json_error) => x |> format'
00:00:54 verbose #1343 > 00:00:53 debug #56 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/070bdf52e310502be6dca220d9967069b1850274ae8bdd07edaa87a8a036b757/main.spi
00:00:54 verbose #1344 >
00:00:54 verbose #1345 > ╭─[ 617.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:54 verbose #1346 > │ () │
00:00:54 verbose #1347 > │ │
00:00:54 verbose #1348 > │ │
00:00:54 verbose #1349 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #1350 >
00:00:54 verbose #1351 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:54 verbose #1352 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:54 verbose #1353 > │ ## borsh_deserialize │
00:00:54 verbose #1354 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:54 verbose #1355 >
00:00:54 verbose #1356 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:54 verbose #1357 > inl borsh_deserialize forall t. (data : array_base u8) : resultm.result' t
00:00:54 verbose #1358 > std_string =
00:00:54 verbose #1359 > inl data = data |> am'.as_slice
00:00:54 verbose #1360 > !\($'"let mut !data = !data"')
00:00:54 verbose #1361 > inl result = !\($'"borsh::BorshDeserialize::deserialize(&mut !data)"')
00:00:54 verbose #1362 > result
00:00:54 verbose #1363 > |> resultm.map_error' fun (x : borsh_io_error) => x |> format'
00:00:55 verbose #1364 > 00:00:54 debug #57 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9f6cb858122c6a92bb9c19187aee59aa93a481ebf2ba663acbf915bd0f30ca83/main.spi
00:00:55 verbose #1365 >
00:00:55 verbose #1366 > ╭─[ 613.78ms - stdout ]────────────────────────────────────────────────────────╮
00:00:55 verbose #1367 > │ () │
00:00:55 verbose #1368 > │ │
00:00:55 verbose #1369 > │ │
00:00:55 verbose #1370 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:55 verbose #1371 >
00:00:55 verbose #1372 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:55 verbose #1373 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:55 verbose #1374 > │ ## deserialize_vec │
00:00:55 verbose #1375 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:55 verbose #1376 >
00:00:55 verbose #1377 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:55 verbose #1378 > inl deserialize_vec (value : json_value) : resultm.result' (am'.vec u8)
00:00:55 verbose #1379 > std_string =
00:00:55 verbose #1380 > inl value = join value
00:00:55 verbose #1381 > !\($'"serde_json::from_value(!value)"')
00:00:55 verbose #1382 > |> resultm.map_error' fun (x : json_error) => x |> format'
00:00:56 verbose #1383 > 00:00:55 debug #58 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2df6432bbc69943d04c8fbf2e518d84482022998c26be8b4c89d3fdac090e0b1/main.spi
00:00:56 verbose #1384 >
00:00:56 verbose #1385 > ╭─[ 622.47ms - stdout ]────────────────────────────────────────────────────────╮
00:00:56 verbose #1386 > │ () │
00:00:56 verbose #1387 > │ │
00:00:56 verbose #1388 > │ │
00:00:56 verbose #1389 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:56 verbose #1390 >
00:00:56 verbose #1391 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:56 verbose #1392 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:56 verbose #1393 > │ ## encode_uri_component │
00:00:56 verbose #1394 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:56 verbose #1395 >
00:00:56 verbose #1396 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:56 verbose #1397 > inl encode_uri_component (s : std_string) : js_string =
00:00:56 verbose #1398 > !\($'"js_sys::encode_uri_component(&!s)"')
00:00:56 verbose #1399 > 00:00:55 debug #59 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/047d727e1fa6440c2a23e3e84e3bf56d4c2993d1268d4baf25275fe79a3ab9a1/main.spi
00:00:56 verbose #1400 >
00:00:56 verbose #1401 > ╭─[ 653.79ms - stdout ]────────────────────────────────────────────────────────╮
00:00:56 verbose #1402 > │ () │
00:00:56 verbose #1403 > │ │
00:00:56 verbose #1404 > │ │
00:00:56 verbose #1405 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:56 verbose #1406 >
00:00:56 verbose #1407 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:56 verbose #1408 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:56 verbose #1409 > │ ## strip_prefix │
00:00:56 verbose #1410 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:56 verbose #1411 >
00:00:56 verbose #1412 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:56 verbose #1413 > inl strip_prefix (prefix : char) (s : std_string) : optionm'.option' (rust.ref'
00:00:56 verbose #1414 > str) =
00:00:56 verbose #1415 > inl s = join s
00:00:56 verbose #1416 > !\($'"!s.strip_prefix(!prefix)"')
00:00:57 verbose #1417 > 00:00:56 debug #60 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/da8fff3282030e36e4ae3c2a837ec07078d2d4a425234403389b190cae94a4d7/main.spi
00:00:57 verbose #1418 >
00:00:57 verbose #1419 > ╭─[ 644.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:57 verbose #1420 > │ () │
00:00:57 verbose #1421 > │ │
00:00:57 verbose #1422 > │ │
00:00:57 verbose #1423 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:57 verbose #1424 >
00:00:57 verbose #1425 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:57 verbose #1426 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:57 verbose #1427 > │ ## str_from_utf8 │
00:00:57 verbose #1428 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:57 verbose #1429 >
00:00:57 verbose #1430 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:57 verbose #1431 > inl str_from_utf8 (bytes : rust.ref' (am'.slice u8)) : resultm.result'
00:00:57 verbose #1432 > (rust.ref' str) utf8_error =
00:00:57 verbose #1433 > !\($'"std::str::from_utf8(!bytes)"')
00:00:58 verbose #1434 > 00:00:57 debug #61 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1cb7ae1083637bd483e09b2fb4013e9e20a6a483b111e0e768bd6873809a3903/main.spi
00:00:58 verbose #1435 >
00:00:58 verbose #1436 > ╭─[ 630.67ms - stdout ]────────────────────────────────────────────────────────╮
00:00:58 verbose #1437 > │ () │
00:00:58 verbose #1438 > │ │
00:00:58 verbose #1439 > │ │
00:00:58 verbose #1440 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:58 verbose #1441 >
00:00:58 verbose #1442 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:58 verbose #1443 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:58 verbose #1444 > │ ## string_from_utf8 │
00:00:58 verbose #1445 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:58 verbose #1446 >
00:00:58 verbose #1447 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:58 verbose #1448 > inl string_from_utf8 (bytes : am'.vec u8) : resultm.result' std_string
00:00:58 verbose #1449 > from_utf8_error =
00:00:58 verbose #1450 > !\($'"std::string::String::from_utf8(!bytes)"')
00:00:58 verbose #1451 > 00:00:57 debug #62 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e0d4e138cd90f7b1f0fa7f65e2ca62a4ca49cc8aaf8c3ba97db950d0dd85448e/main.spi
00:00:58 verbose #1452 >
00:00:58 verbose #1453 > ╭─[ 662.83ms - stdout ]────────────────────────────────────────────────────────╮
00:00:58 verbose #1454 > │ () │
00:00:58 verbose #1455 > │ │
00:00:58 verbose #1456 > │ │
00:00:58 verbose #1457 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:58 verbose #1458 >
00:00:58 verbose #1459 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:58 verbose #1460 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:58 verbose #1461 > │ ## base64_decode │
00:00:58 verbose #1462 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:58 verbose #1463 >
00:00:58 verbose #1464 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:58 verbose #1465 > inl base64_decode (s : std_string) : result std_string std_string =
00:00:58 verbose #1466 > fun () =>
00:00:58 verbose #1467 > inl s = join s
00:00:58 verbose #1468 > inl bytes : resultm.result' (am'.vec u8) base64_decode_error =
00:00:58 verbose #1469 >
00:00:58 verbose #1470 > !\($'"base64::Engine::decode(&base64::engine::general_purpose::STANDARD, !s)"')
00:00:58 verbose #1471 > bytes
00:00:58 verbose #1472 > |> resultm.map_error' format'
00:00:58 verbose #1473 > |> resultm.try'
00:00:58 verbose #1474 > |> string_from_utf8
00:00:58 verbose #1475 > |> resultm.map_error' format'
00:00:58 verbose #1476 > |> fun x =>
00:00:58 verbose #1477 > join x ()
00:00:58 verbose #1478 > |> resultm.unbox
00:00:59 verbose #1479 > 00:00:58 debug #63 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d9edc407733ef0d2ef6a8595634c1815fe410a11c467801ac604e76bde786d33/main.spi
00:00:59 verbose #1480 >
00:00:59 verbose #1481 > ╭─[ 652.76ms - stdout ]────────────────────────────────────────────────────────╮
00:00:59 verbose #1482 > │ () │
00:00:59 verbose #1483 > │ │
00:00:59 verbose #1484 > │ │
00:00:59 verbose #1485 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #1486 >
00:00:59 verbose #1487 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:59 verbose #1488 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:59 verbose #1489 > │ ## concat_array_trailing │
00:00:59 verbose #1490 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:59 verbose #1491 >
00:00:59 verbose #1492 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:59 verbose #1493 > inl concat_array_trailing (separator : string) (input : a i32 string) =
00:00:59 verbose #1494 > ("", input)
00:00:59 verbose #1495 > ||> am.fold fun acc (x : string) =>
00:00:59 verbose #1496 > $'!acc + !x + !separator + ""'
00:00:59 verbose #1497 > 00:00:58 debug #64 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cae52395a0e5e15b6c6fc79c55c47131b88ed3070ce94dd870690b4bc50e6d30/main.spi
00:01:00 verbose #1498 >
00:01:00 verbose #1499 > ╭─[ 610.22ms - stdout ]────────────────────────────────────────────────────────╮
00:01:00 verbose #1500 > │ () │
00:01:00 verbose #1501 > │ │
00:01:00 verbose #1502 > │ │
00:01:00 verbose #1503 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:00 verbose #1504 >
00:01:00 verbose #1505 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:00 verbose #1506 > //// test
00:01:00 verbose #1507 > ///! rust
00:01:00 verbose #1508 >
00:01:00 verbose #1509 > ;[[
00:01:00 verbose #1510 > "1"
00:01:00 verbose #1511 > "2"
00:01:00 verbose #1512 > "3"
00:01:00 verbose #1513 > ]]
00:01:00 verbose #1514 > |> fun x =>
00:01:00 verbose #1515 > inl code = (a x : _ i32 _) |> concat_array_trailing "\n"
00:01:00 verbose #1516 > code
00:01:00 verbose #1517 > |> _assert_eq "1\n2\n3\n"
00:01:00 verbose #1518 > 00:00:59 debug #65 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/51a20a6558143ef9968652441a00ed1062a6235848f2578b817cc3191ce45ea7/main.spi
00:01:08 verbose #1519 >
00:01:08 verbose #1520 > ╭─[ 8.81s - return value ]─────────────────────────────────────────────────────╮
00:01:08 verbose #1521 > │ output: │
00:01:08 verbose #1522 > │ assert_eq / actual: "1 │
00:01:08 verbose #1523 > │ 2 │
00:01:08 verbose #1524 > │ 3 │
00:01:08 verbose #1525 > │ " / expected: "1 │
00:01:08 verbose #1526 > │ 2 │
00:01:08 verbose #1527 > │ 3 │
00:01:08 verbose #1528 > │ " │
00:01:08 verbose #1529 > │ │
00:01:08 verbose #1530 > │ │
00:01:08 verbose #1531 > │ │
00:01:08 verbose #1532 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1533 >
00:01:08 verbose #1534 > ╭─[ 8.82s - stdout ]───────────────────────────────────────────────────────────╮
00:01:08 verbose #1535 > │ .fsx: │
00:01:08 verbose #1536 > │ type Mut0 = {mutable l0 : int32; mutable l1 : string} │
00:01:08 verbose #1537 > │ let rec method1 (v0 : int32, v1 : Mut0) : bool = │
00:01:08 verbose #1538 > │ let v2 : int32 = v1.l0 │
00:01:08 verbose #1539 > │ let v3 : bool = v2 < v0 │
00:01:08 verbose #1540 > │ v3 │
00:01:08 verbose #1541 > │ and method2 (v0 : bool) : bool = │
00:01:08 verbose #1542 > │ v0 │
00:01:08 verbose #1543 > │ and method0 () : unit = │
00:01:08 verbose #1544 > │ let v0 : string = "1" │
00:01:08 verbose #1545 > │ let v1 : string = "2" │
00:01:08 verbose #1546 > │ let v2 : string = "3" │
00:01:08 verbose #1547 > │ let v3 : (string []) = [|v0; v1; v2|] │
00:01:08 verbose #1548 > │ let v4 : int32 = v3.Length │
00:01:08 verbose #1549 > │ let v5 : string = "" │
00:01:08 verbose #1550 > │ let v6 : Mut0 = {l0 = 0; l1 = v5} : Mut0 │
00:01:08 verbose #1551 > │ while method1(v4, v6) do │
00:01:08 verbose #1552 > │ let v8 : int32 = v6.l0 │
00:01:08 verbose #1553 > │ let v9 : string = v6.l1 │
00:01:08 verbose #1554 > │ let v10 : string = v3.[int v8] │
00:01:08 verbose #1555 > │ let v11 : string = "\n" │
00:01:08 verbose #1556 > │ let v12 : string = v9 + v10 + v11 + "" │
00:01:08 verbose #1557 > │ let v13 : int32 = v8 + 1 │
00:01:08 verbose #1558 > │ v6.l0 <- v13 │
00:01:08 verbose #1559 > │ v6.l1 <- v12 │
00:01:08 verbose #1560 > │ () │
00:01:08 verbose #1561 > │ let v14 : string = v6.l1 │
00:01:08 verbose #1562 > │ let v16 : bool = v14 = "1\n2\n3\n" │
00:01:08 verbose #1563 > │ let v18 : bool = │
00:01:08 verbose #1564 > │ if v16 then │
00:01:08 verbose #1565 > │ true │
00:01:08 verbose #1566 > │ else │
00:01:08 verbose #1567 > │ method2(v16) │
00:01:08 verbose #1568 > │ let v19 : string = "assert_eq" │
00:01:08 verbose #1569 > │ let v20 : string = "1\n2\n3\n" │
00:01:08 verbose #1570 > │ let v21 : string = $"{v19} / actual: %A{v14} / expected: %A{v20}" │
00:01:08 verbose #1571 > │ System.Console.WriteLine v21 │
00:01:08 verbose #1572 > │ let v22 : bool = v18 = false │
00:01:08 verbose #1573 > │ if v22 then │
00:01:08 verbose #1574 > │ failwith<unit> v21 │
00:01:08 verbose #1575 > │ method0() │
00:01:08 verbose #1576 > │ │
00:01:08 verbose #1577 > │ │
00:01:08 verbose #1578 > │ │
00:01:08 verbose #1579 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1580 >
00:01:08 verbose #1581 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #1582 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #1583 > │ ## concat_list_trailing │
00:01:08 verbose #1584 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #1585 >
00:01:08 verbose #1586 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #1587 > inl concat_list_trailing separator input =
00:01:08 verbose #1588 > ("", input)
00:01:08 verbose #1589 > ||> listm.fold fun acc (x : string) =>
00:01:08 verbose #1590 > $'!acc + !x + !separator + ""'
00:01:09 verbose #1591 > 00:01:08 debug #66 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a85d83e75d19568b20dd832f616bdea6d6be8ef78419e345c8a474e1eb0b168f/main.spi
00:01:09 verbose #1592 >
00:01:09 verbose #1593 > ╭─[ 620.77ms - stdout ]────────────────────────────────────────────────────────╮
00:01:09 verbose #1594 > │ () │
00:01:09 verbose #1595 > │ │
00:01:09 verbose #1596 > │ │
00:01:09 verbose #1597 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:09 verbose #1598 >
00:01:09 verbose #1599 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:09 verbose #1600 > //// test
00:01:09 verbose #1601 > ///! rust
00:01:09 verbose #1602 >
00:01:09 verbose #1603 > [[
00:01:09 verbose #1604 > "1"
00:01:09 verbose #1605 > "2"
00:01:09 verbose #1606 > "3"
00:01:09 verbose #1607 > ]]
00:01:09 verbose #1608 > |> fun x =>
00:01:09 verbose #1609 > inl code = (x : _) |> concat_list_trailing "\n"
00:01:09 verbose #1610 > code
00:01:09 verbose #1611 > |> _assert_eq "1\n2\n3\n"
00:01:10 verbose #1612 > 00:01:09 debug #67 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/085cb892fb4e43450e5071a0d8ecb79f05f91047149c0220a4d0c3663c250484/main.spi
00:01:18 verbose #1613 >
00:01:18 verbose #1614 > ╭─[ 8.52s - return value ]─────────────────────────────────────────────────────╮
00:01:18 verbose #1615 > │ output: │
00:01:18 verbose #1616 > │ assert_eq / actual: "1 │
00:01:18 verbose #1617 > │ 2 │
00:01:18 verbose #1618 > │ 3 │
00:01:18 verbose #1619 > │ " / expected: "1 │
00:01:18 verbose #1620 > │ 2 │
00:01:18 verbose #1621 > │ 3 │
00:01:18 verbose #1622 > │ " │
00:01:18 verbose #1623 > │ │
00:01:18 verbose #1624 > │ │
00:01:18 verbose #1625 > │ │
00:01:18 verbose #1626 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #1627 >
00:01:18 verbose #1628 > ╭─[ 8.52s - stdout ]───────────────────────────────────────────────────────────╮
00:01:18 verbose #1629 > │ .fsx: │
00:01:18 verbose #1630 > │ let rec method1 (v0 : bool) : bool = │
00:01:18 verbose #1631 > │ v0 │
00:01:18 verbose #1632 > │ and method0 () : unit = │
00:01:18 verbose #1633 > │ let v0 : string = "" │
00:01:18 verbose #1634 > │ let v1 : string = "1" │
00:01:18 verbose #1635 > │ let v2 : string = "\n" │
00:01:18 verbose #1636 > │ let v3 : string = v0 + v1 + v2 + "" │
00:01:18 verbose #1637 > │ let v4 : string = "2" │
00:01:18 verbose #1638 > │ let v5 : string = v3 + v4 + v2 + "" │
00:01:18 verbose #1639 > │ let v6 : string = "3" │
00:01:18 verbose #1640 > │ let v7 : string = v5 + v6 + v2 + "" │
00:01:18 verbose #1641 > │ let v9 : bool = v7 = "1\n2\n3\n" │
00:01:18 verbose #1642 > │ let v11 : bool = │
00:01:18 verbose #1643 > │ if v9 then │
00:01:18 verbose #1644 > │ true │
00:01:18 verbose #1645 > │ else │
00:01:18 verbose #1646 > │ method1(v9) │
00:01:18 verbose #1647 > │ let v12 : string = "assert_eq" │
00:01:18 verbose #1648 > │ let v13 : string = "1\n2\n3\n" │
00:01:18 verbose #1649 > │ let v14 : string = $"{v12} / actual: %A{v7} / expected: %A{v13}" │
00:01:18 verbose #1650 > │ System.Console.WriteLine v14 │
00:01:18 verbose #1651 > │ let v15 : bool = v11 = false │
00:01:18 verbose #1652 > │ if v15 then │
00:01:18 verbose #1653 > │ failwith<unit> v14 │
00:01:18 verbose #1654 > │ method0() │
00:01:18 verbose #1655 > │ │
00:01:18 verbose #1656 > │ │
00:01:18 verbose #1657 > │ │
00:01:18 verbose #1658 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #1659 >
00:01:18 verbose #1660 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:18 verbose #1661 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:18 verbose #1662 > │ ## concat_list_heap_trailing │
00:01:18 verbose #1663 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #1664 >
00:01:18 verbose #1665 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #1666 > inl concat_list_heap_trailing separator input =
00:01:18 verbose #1667 > inl separator = join separator
00:01:18 verbose #1668 > inl separator = separator |> as_str
00:01:18 verbose #1669 > ("", input)
00:01:18 verbose #1670 > ||> listm.fold fun acc (x : string) =>
00:01:18 verbose #1671 > inl acc = acc |> to_std_string
00:01:18 verbose #1672 > inl x = x |> as_str
00:01:18 verbose #1673 > $'$"{!acc}{!x}{!separator}"'
00:01:18 verbose #1674 > 00:01:17 debug #68 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9912acb21c8a92b77667b0fccf5ca923f6b829f26296b8f5ae5e9d5349566144/main.spi
00:01:18 verbose #1675 >
00:01:18 verbose #1676 > ╭─[ 669.96ms - stdout ]────────────────────────────────────────────────────────╮
00:01:18 verbose #1677 > │ () │
00:01:18 verbose #1678 > │ │
00:01:18 verbose #1679 > │ │
00:01:18 verbose #1680 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:18 verbose #1681 >
00:01:18 verbose #1682 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:18 verbose #1683 > //// test
00:01:18 verbose #1684 > ///! rust
00:01:18 verbose #1685 >
00:01:18 verbose #1686 > types ()
00:01:18 verbose #1687 >
00:01:18 verbose #1688 > [[
00:01:18 verbose #1689 > "1"
00:01:18 verbose #1690 > "2"
00:01:18 verbose #1691 > "3"
00:01:18 verbose #1692 > ]]
00:01:18 verbose #1693 > |> fun x =>
00:01:18 verbose #1694 > inl code = (x : _) |> concat_list_heap_trailing "\n"
00:01:18 verbose #1695 > code
00:01:18 verbose #1696 > |> _assert_eq "1\n2\n3\n"
00:01:19 verbose #1697 > 00:01:18 debug #69 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bab7d264985d379ef4824422a7c9df905cc5833053abdedf7a20e48e41e439f8/main.spi
00:01:27 verbose #1698 >
00:01:27 verbose #1699 > ╭─[ 8.90s - return value ]─────────────────────────────────────────────────────╮
00:01:27 verbose #1700 > │ output: │
00:01:27 verbose #1701 > │ assert_eq / actual: "1 │
00:01:27 verbose #1702 > │ 2 │
00:01:27 verbose #1703 > │ 3 │
00:01:27 verbose #1704 > │ " / expected: "1 │
00:01:27 verbose #1705 > │ 2 │
00:01:27 verbose #1706 > │ 3 │
00:01:27 verbose #1707 > │ " │
00:01:27 verbose #1708 > │ │
00:01:27 verbose #1709 > │ │
00:01:27 verbose #1710 > │ │
00:01:27 verbose #1711 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:27 verbose #1712 >
00:01:27 verbose #1713 > ╭─[ 8.90s - stdout ]───────────────────────────────────────────────────────────╮
00:01:27 verbose #1714 > │ .fsx: │
00:01:27 verbose #1715 > │ #if FABLE_COMPILER │
00:01:27 verbose #1716 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:01:27 verbose #1717 > │ #endif │
00:01:27 verbose #1718 > │ type Func0<'T> = class end │
00:01:27 verbose #1719 > │ #if FABLE_COMPILER │
00:01:27 verbose #1720 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:01:27 verbose #1721 > │ #endif │
00:01:27 verbose #1722 > │ type Func0<'T, 'U> = class end │
00:01:27 verbose #1723 > │ #if FABLE_COMPILER │
00:01:27 verbose #1724 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:01:27 verbose #1725 > │ #endif │
00:01:27 verbose #1726 > │ type Box<'T> = class end │
00:01:27 verbose #1727 > │ #if FABLE_COMPILER │
00:01:27 verbose #1728 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:01:27 verbose #1729 > │ #endif │
00:01:27 verbose #1730 > │ type Dyn<'T> = class end │
00:01:27 verbose #1731 > │ #if FABLE_COMPILER │
00:01:27 verbose #1732 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:01:27 verbose #1733 > │ #endif │
00:01:27 verbose #1734 > │ type Send<'T> = class end │
00:01:27 verbose #1735 > │ #if FABLE_COMPILER │
00:01:27 verbose #1736 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:01:27 verbose #1737 > │ #endif │
00:01:27 verbose #1738 > │ type Fn<'T> = class end │
00:01:27 verbose #1739 > │ #if FABLE_COMPILER │
00:01:27 verbose #1740 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:01:27 verbose #1741 > │ #endif │
00:01:27 verbose #1742 > │ type FnUnit = class end │
00:01:27 verbose #1743 > │ #if FABLE_COMPILER │
00:01:27 verbose #1744 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:01:27 verbose #1745 > │ #endif │
00:01:27 verbose #1746 > │ type FnOnce<'T> = class end │
00:01:27 verbose #1747 > │ #if FABLE_COMPILER │
00:01:27 verbose #1748 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:01:27 verbose #1749 > │ #endif │
00:01:27 verbose #1750 > │ type ActionFn<'T> = class end │
00:01:27 verbose #1751 > │ #if FABLE_COMPILER │
00:01:27 verbose #1752 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:01:27 verbose #1753 > │ #endif │
00:01:27 verbose #1754 > │ type ActionFn2<'T, 'U> = class end │
00:01:27 verbose #1755 > │ #if FABLE_COMPILER │
00:01:27 verbose #1756 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:01:27 verbose #1757 > │ #endif │
00:01:27 verbose #1758 > │ type Impl<'T> = class end │
00:01:27 verbose #1759 > │ #if FABLE_COMPILER │
00:01:27 verbose #1760 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:01:27 verbose #1761 > │ #endif │
00:01:27 verbose #1762 > │ type Mut<'T> = class end │
00:01:27 verbose #1763 > │ #if FABLE_COMPILER │
00:01:27 verbose #1764 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:01:27 verbose #1765 > │ #endif │
00:01:27 verbose #1766 > │ type Ref<'T> = class end │
00:01:27 verbose #1767 > │ #if FABLE_COMPILER │
00:01:27 verbose #1768 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:01:27 verbose #1769 > │ #endif │
00:01:27 verbose #1770 > │ type StaticRef<'T> = class end │
00:01:27 verbose #1771 > │ #if FABLE_COMPILER │
00:01:27 verbose #1772 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:01:27 verbose #1773 > │ #endif │
00:01:27 verbose #1774 > │ type MutCell<'T> = class end │
00:01:27 verbose #1775 > │ #if FABLE_COMPILER │
00:01:27 verbose #1776 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:01:27 verbose #1777 > │ #endif │
00:01:27 verbose #1778 > │ type std_any_Any = class end │
00:01:27 verbose #1779 > │ #if FABLE_COMPILER │
00:01:27 verbose #1780 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:01:27 verbose #1781 > │ #endif │
00:01:27 verbose #1782 > │ type std_borrow_Cow<'T> = class end │
00:01:27 verbose #1783 > │ #if FABLE_COMPILER │
00:01:27 verbose #1784 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:01:27 verbose #1785 > │ #endif │
00:01:27 verbose #1786 > │ type std_cell_RefCell<'T> = class end │
00:01:27 verbose #1787 > │ #if FABLE_COMPILER │
00:01:27 verbose #1788 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:01:27 verbose #1789 > │ #endif │
00:01:27 verbose #1790 > │ type std_pin_Pin<'T> = class end │
00:01:27 verbose #1791 > │ #if FABLE_COMPILER │
00:01:27 verbose #1792 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:01:27 verbose #1793 > │ #endif │
00:01:27 verbose #1794 > │ type std_rc_Rc<'T> = class end │
00:01:27 verbose #1795 > │ #if FABLE_COMPILER │
00:01:27 verbose #1796 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:01:27 verbose #1797 > │ #endif │
00:01:27 verbose #1798 > │ type std_rc_Weak<'T> = class end │
00:01:27 verbose #1799 > │ #if FABLE_COMPILER │
00:01:27 verbose #1800 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:01:27 verbose #1801 > │ #endif │
00:01:27 verbose #1802 > │ type Str = class end │
00:01:27 verbose #1803 > │ #if FABLE_COMPILER │
00:01:27 verbose #1804 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:01:27 verbose #1805 > │ #endif │
00:01:27 verbose #1806 > │ type base64_DecodeError = class end │
00:01:27 verbose #1807 > │ #if FABLE_COMPILER │
00:01:27 verbose #1808 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:01:27 verbose #1809 > │ #endif │
00:01:27 verbose #1810 > │ type borsh_io_Error = class end │
00:01:27 verbose #1811 > │ #if FABLE_COMPILER │
00:01:27 verbose #1812 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:01:27 verbose #1813 > │ #endif │
00:01:27 verbose #1814 > │ type js_sys_JsString = class end │
00:01:27 verbose #1815 > │ #if FABLE_COMPILER │
00:01:27 verbose #1816 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:01:27 verbose #1817 > │ #endif │
00:01:27 verbose #1818 > │ type serde_json_Error = class end │
00:01:27 verbose #1819 > │ #if FABLE_COMPILER │
00:01:27 verbose #1820 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:01:27 verbose #1821 > │ #endif │
00:01:27 verbose #1822 > │ type serde_json_Value = class end │
00:01:27 verbose #1823 > │ #if FABLE_COMPILER │
00:01:27 verbose #1824 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:01:27 verbose #1825 > │ #endif │
00:01:27 verbose #1826 > │ type serde_wasm_bindgen_Error = class end │
00:01:27 verbose #1827 > │ #if FABLE_COMPILER │
00:01:27 verbose #1828 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:01:27 verbose #1829 > │ #endif │
00:01:27 verbose #1830 > │ type std_ffi_OsStr = class end │
00:01:27 verbose #1831 > │ #if FABLE_COMPILER │
00:01:27 verbose #1832 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:01:27 verbose #1833 > │ #endif │
00:01:27 verbose #1834 > │ type std_ffi_OsString = class end │
00:01:27 verbose #1835 > │ #if FABLE_COMPILER │
00:01:27 verbose #1836 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:01:27 verbose #1837 > │ #endif │
00:01:27 verbose #1838 > │ type std_fmt_Display<'T> = class end │
00:01:27 verbose #1839 > │ #if FABLE_COMPILER │
00:01:27 verbose #1840 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:01:27 verbose #1841 > │ #endif │
00:01:27 verbose #1842 > │ type std_str_Utf8Error = class end │
00:01:27 verbose #1843 > │ #if FABLE_COMPILER │
00:01:27 verbose #1844 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:01:27 verbose #1845 > │ #endif │
00:01:27 verbose #1846 > │ type std_string_FromUtf8Error = class end │
00:01:27 verbose #1847 > │ #if FABLE_COMPILER │
00:01:27 verbose #1848 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:01:27 verbose #1849 > │ #endif │
00:01:27 verbose #1850 > │ type std_string_String = class end │
00:01:27 verbose #1851 > │ #if FABLE_COMPILER │
00:01:27 verbose #1852 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:01:27 verbose #1853 > │ #endif │
00:01:27 verbose #1854 > │ type std_slice_Windows<'T> = class end │
00:01:27 verbose #1855 > │ let rec method1 () : string = │
00:01:27 verbose #1856 > │ let v0 : string = "\n" │
00:01:27 verbose #1857 > │ v0 │
00:01:27 verbose #1858 > │ and method2 () : string = │
00:01:27 verbose #1859 > │ let v0 : string = "" │
00:01:27 verbose #1860 > │ v0 │
00:01:27 verbose #1861 > │ and method3 (v0 : string) : string = │
00:01:27 verbose #1862 > │ v0 │
00:01:27 verbose #1863 > │ and method4 (v0 : bool) : bool = │
00:01:27 verbose #1864 > │ v0 │
00:01:27 verbose #1865 > │ and method0 () : unit = │
00:01:27 verbose #1866 > │ let v0 : string = method1() │
00:01:27 verbose #1867 > │ let v1 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1868 > │ let v2 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v0 v1 │
00:01:27 verbose #1869 > │ let v3 : string = method2() │
00:01:27 verbose #1870 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1871 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:01:27 verbose #1872 > │ let v6 : string = "String::from($0)" │
00:01:27 verbose #1873 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:01:27 verbose #1874 > │ let v8 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1875 > │ let v9 : string = "1" │
00:01:27 verbose #1876 > │ let v10 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v9 v8 │
00:01:27 verbose #1877 > │ let v11 : string = $"{v7}{v10}{v2}" │
00:01:27 verbose #1878 > │ let v12 : string = method3(v11) │
00:01:27 verbose #1879 > │ let v13 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1880 > │ let v14 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:01:27 verbose #1881 > │ let v15 : string = "String::from($0)" │
00:01:27 verbose #1882 > │ let v16 : std_string_String = Fable.Core.RustInterop.emitRustExpr v14 │
00:01:27 verbose #1883 > │ v15 │
00:01:27 verbose #1884 > │ let v17 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1885 > │ let v18 : string = "2" │
00:01:27 verbose #1886 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v18 v17 │
00:01:27 verbose #1887 > │ let v20 : string = $"{v16}{v19}{v2}" │
00:01:27 verbose #1888 > │ let v21 : string = method3(v20) │
00:01:27 verbose #1889 > │ let v22 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1890 > │ let v23 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:01:27 verbose #1891 > │ let v24 : string = "String::from($0)" │
00:01:27 verbose #1892 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v23 │
00:01:27 verbose #1893 > │ v24 │
00:01:27 verbose #1894 > │ let v26 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:01:27 verbose #1895 > │ let v27 : string = "3" │
00:01:27 verbose #1896 > │ let v28 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v27 v26 │
00:01:27 verbose #1897 > │ let v29 : string = $"{v25}{v28}{v2}" │
00:01:27 verbose #1898 > │ let v31 : bool = v29 = "1\n2\n3\n" │
00:01:27 verbose #1899 > │ let v33 : bool = │
00:01:27 verbose #1900 > │ if v31 then │
00:01:27 verbose #1901 > │ true │
00:01:27 verbose #1902 > │ else │
00:01:27 verbose #1903 > │ method4(v31) │
00:01:27 verbose #1904 > │ let v34 : string = "assert_eq" │
00:01:27 verbose #1905 > │ let v35 : string = "1\n2\n3\n" │
00:01:27 verbose #1906 > │ let v36 : string = $"{v34} / actual: %A{v29} / expected: %A{v35}" │
00:01:27 verbose #1907 > │ System.Console.WriteLine v36 │
00:01:27 verbose #1908 > │ let v37 : bool = v33 = false │
00:01:27 verbose #1909 > │ if v37 then │
00:01:27 verbose #1910 > │ failwith<unit> v36 │
00:01:27 verbose #1911 > │ method0() │
00:01:27 verbose #1912 > │ │
00:01:27 verbose #1913 > │ │
00:01:27 verbose #1914 > │ │
00:01:27 verbose #1915 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:27 verbose #1916 >
00:01:27 verbose #1917 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:27 verbose #1918 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:27 verbose #1919 > │ ## concat │
00:01:27 verbose #1920 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:27 verbose #1921 >
00:01:27 verbose #1922 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:27 verbose #1923 > inl concat (a : string) (b : seq.seq' _) : string =
00:01:27 verbose #1924 > inl a = join a
00:01:27 verbose #1925 > b |> $"String.concat" a
00:01:28 verbose #1926 > 00:01:27 debug #70 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2e8df77c3b00aa49d877204f8cd4f96e0e821773f3a010a2c37970731ea54de4/main.spi
00:01:28 verbose #1927 >
00:01:28 verbose #1928 > ╭─[ 628.89ms - stdout ]────────────────────────────────────────────────────────╮
00:01:28 verbose #1929 > │ () │
00:01:28 verbose #1930 > │ │
00:01:28 verbose #1931 > │ │
00:01:28 verbose #1932 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #1933 >
00:01:28 verbose #1934 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:28 verbose #1935 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:28 verbose #1936 > │ ## ellipsis │
00:01:28 verbose #1937 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #1938 >
00:01:28 verbose #1939 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:28 verbose #1940 > inl ellipsis (max : i32) (s : string) =
00:01:28 verbose #1941 > if sm.length s <= max
00:01:28 verbose #1942 > then s
00:01:28 verbose #1943 > else s |> slice 0 (max - 1) |> fun x => $'!x + "..."'
00:01:28 verbose #1944 > 00:01:27 debug #71 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/909d30b2bf4707924b37edd6ac3c386710c855699ae7c27fd1c68177cc8d0f72/main.spi
00:01:28 verbose #1945 >
00:01:28 verbose #1946 > ╭─[ 635.17ms - stdout ]────────────────────────────────────────────────────────╮
00:01:28 verbose #1947 > │ () │
00:01:28 verbose #1948 > │ │
00:01:28 verbose #1949 > │ │
00:01:28 verbose #1950 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 verbose #1951 >
00:01:28 verbose #1952 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:28 verbose #1953 > //// test
00:01:28 verbose #1954 >
00:01:28 verbose #1955 > "12345"
00:01:28 verbose #1956 > |> ellipsis 2
00:01:28 verbose #1957 > |> _assert_eq "12..."
00:01:28 verbose #1958 >
00:01:28 verbose #1959 > "12345"
00:01:28 verbose #1960 > |> ellipsis 4
00:01:28 verbose #1961 > |> _assert_eq "1234..."
00:01:29 verbose #1962 > 00:01:28 debug #72 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3247e6c6e9889529f40914e459c7fa025c431b94b28841be47f2f31146759a22/main.spi
00:01:29 verbose #1963 >
00:01:29 verbose #1964 > ╭─[ 679.57ms - stdout ]────────────────────────────────────────────────────────╮
00:01:29 verbose #1965 > │ let rec method1 (v0 : bool) : bool = │
00:01:29 verbose #1966 > │ v0 │
00:01:29 verbose #1967 > │ and method0 () : unit = │
00:01:29 verbose #1968 > │ let v0 : string = "12" │
00:01:29 verbose #1969 > │ let v1 : string = v0 + "..." │
00:01:29 verbose #1970 > │ let v3 : bool = v1 = "12..." │
00:01:29 verbose #1971 > │ let v5 : bool = │
00:01:29 verbose #1972 > │ if v3 then │
00:01:29 verbose #1973 > │ true │
00:01:29 verbose #1974 > │ else │
00:01:29 verbose #1975 > │ method1(v3) │
00:01:29 verbose #1976 > │ let v6 : string = "assert_eq" │
00:01:29 verbose #1977 > │ let v7 : string = "12..." │
00:01:29 verbose #1978 > │ let v8 : string = $"{v6} / actual: %A{v1} / expected: %A{v7}" │
00:01:29 verbose #1979 > │ System.Console.WriteLine v8 │
00:01:29 verbose #1980 > │ let v9 : bool = v5 = false │
00:01:29 verbose #1981 > │ if v9 then │
00:01:29 verbose #1982 > │ failwith<unit> v8 │
00:01:29 verbose #1983 > │ let v10 : string = "1234" │
00:01:29 verbose #1984 > │ let v11 : string = v10 + "..." │
00:01:29 verbose #1985 > │ let v13 : bool = v11 = "1234..." │
00:01:29 verbose #1986 > │ let v15 : bool = │
00:01:29 verbose #1987 > │ if v13 then │
00:01:29 verbose #1988 > │ true │
00:01:29 verbose #1989 > │ else │
00:01:29 verbose #1990 > │ method1(v13) │
00:01:29 verbose #1991 > │ let v16 : string = "1234..." │
00:01:29 verbose #1992 > │ let v17 : string = $"{v6} / actual: %A{v11} / expected: %A{v16}" │
00:01:29 verbose #1993 > │ System.Console.WriteLine v17 │
00:01:29 verbose #1994 > │ let v18 : bool = v15 = false │
00:01:29 verbose #1995 > │ if v18 then │
00:01:29 verbose #1996 > │ failwith<unit> v17 │
00:01:29 verbose #1997 > │ method0() │
00:01:29 verbose #1998 > │ │
00:01:29 verbose #1999 > │ assert_eq / actual: "12..." / expected: "12..." │
00:01:29 verbose #2000 > │ assert_eq / actual: "1234..." / expected: "1234..." │
00:01:29 verbose #2001 > │ │
00:01:29 verbose #2002 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:29 verbose #2003 >
00:01:29 verbose #2004 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:29 verbose #2005 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:29 verbose #2006 > │ ## ellipsis_end │
00:01:29 verbose #2007 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:29 verbose #2008 >
00:01:29 verbose #2009 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:29 verbose #2010 > inl ellipsis_end (max : i64) (s : string) =
00:01:29 verbose #2011 > inl len = sm.length s
00:01:29 verbose #2012 > if len <= max
00:01:29 verbose #2013 > then s
00:01:29 verbose #2014 > else
00:01:29 verbose #2015 > inl half = f64 max / 2
00:01:29 verbose #2016 > inl start_half = half |> math.ceil |> i64
00:01:29 verbose #2017 > inl end_half = half |> math.floor |> i64
00:01:29 verbose #2018 > inl start = s |> slice 0 (start_half - 1)
00:01:29 verbose #2019 > inl end = s |> slice (len - end_half) (len - 1)
00:01:29 verbose #2020 > (a ;[[start; "..."; end]] : _ i32 _)
00:01:29 verbose #2021 > |> seq.of_array
00:01:29 verbose #2022 > |> concat ""
00:01:30 verbose #2023 > 00:01:29 debug #73 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/201a17dd5980a8e6c57329d66bbbabb54eaea4ae8baa613f15e3e6fc16ebe3fa/main.spi
00:01:30 verbose #2024 >
00:01:30 verbose #2025 > ╭─[ 622.27ms - stdout ]────────────────────────────────────────────────────────╮
00:01:30 verbose #2026 > │ () │
00:01:30 verbose #2027 > │ │
00:01:30 verbose #2028 > │ │
00:01:30 verbose #2029 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:30 verbose #2030 >
00:01:30 verbose #2031 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:30 verbose #2032 > //// test
00:01:30 verbose #2033 >
00:01:30 verbose #2034 > "12345"
00:01:30 verbose #2035 > |> ellipsis_end 2
00:01:30 verbose #2036 > |> _assert_eq "1...5"
00:01:30 verbose #2037 >
00:01:30 verbose #2038 > "12345"
00:01:30 verbose #2039 > |> ellipsis_end 3
00:01:30 verbose #2040 > |> _assert_eq "12...5"
00:01:30 verbose #2041 >
00:01:30 verbose #2042 > "1234567"
00:01:30 verbose #2043 > |> ellipsis_end 4
00:01:30 verbose #2044 > |> _assert_eq "12...67"
00:01:30 verbose #2045 > 00:01:29 debug #74 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/39bb5da350381da0aea3853a2b17318783cb17fbeb56edbc9f70ecf76687f0f9/main.spi
00:01:31 verbose #2046 >
00:01:31 verbose #2047 > ╭─[ 768.85ms - stdout ]────────────────────────────────────────────────────────╮
00:01:31 verbose #2048 > │ let rec method1 () : string = │
00:01:31 verbose #2049 > │ let v0 : string = "" │
00:01:31 verbose #2050 > │ v0 │
00:01:31 verbose #2051 > │ and method2 (v0 : bool) : bool = │
00:01:31 verbose #2052 > │ v0 │
00:01:31 verbose #2053 > │ and method0 () : unit = │
00:01:31 verbose #2054 > │ let v0 : float = float 2L │
00:01:31 verbose #2055 > │ let v1 : float = v0 / 2.0 │
00:01:31 verbose #2056 > │ let v2 : (float -> float) = ceil │
00:01:31 verbose #2057 > │ let v3 : float = v2 v1 │
00:01:31 verbose #2058 > │ let v4 : int64 = int64 v3 │
00:01:31 verbose #2059 > │ let v5 : (float -> float) = floor │
00:01:31 verbose #2060 > │ let v6 : float = v5 v1 │
00:01:31 verbose #2061 > │ let v7 : int64 = int64 v6 │
00:01:31 verbose #2062 > │ let v8 : int64 = v4 - 1L │
00:01:31 verbose #2063 > │ let v9 : string = "12345".[int 0L..int v8] │
00:01:31 verbose #2064 > │ let v10 : int64 = 5L - v7 │
00:01:31 verbose #2065 > │ let v11 : string = "12345".[int v10..int 4L] │
00:01:31 verbose #2066 > │ let v12 : string = "..." │
00:01:31 verbose #2067 > │ let v13 : (string []) = [|v9; v12; v11|] │
00:01:31 verbose #2068 > │ let v14 : ((string []) -> string seq) = Seq.ofArray │
00:01:31 verbose #2069 > │ let v15 : string seq = v14 v13 │
00:01:31 verbose #2070 > │ let v16 : string = method1() │
00:01:31 verbose #2071 > │ let v17 : (string -> (string seq -> string)) = String.concat │
00:01:31 verbose #2072 > │ let v18 : (string seq -> string) = v17 v16 │
00:01:31 verbose #2073 > │ let v19 : string = v18 v15 │
00:01:31 verbose #2074 > │ let v21 : bool = v19 = "1...5" │
00:01:31 verbose #2075 > │ let v23 : bool = │
00:01:31 verbose #2076 > │ if v21 then │
00:01:31 verbose #2077 > │ true │
00:01:31 verbose #2078 > │ else │
00:01:31 verbose #2079 > │ method2(v21) │
00:01:31 verbose #2080 > │ let v24 : string = "assert_eq" │
00:01:31 verbose #2081 > │ let v25 : string = "1...5" │
00:01:31 verbose #2082 > │ let v26 : string = $"{v24} / actual: %A{v19} / expected: %A{v25}" │
00:01:31 verbose #2083 > │ System.Console.WriteLine v26 │
00:01:31 verbose #2084 > │ let v27 : bool = v23 = false │
00:01:31 verbose #2085 > │ if v27 then │
00:01:31 verbose #2086 > │ failwith<unit> v26 │
00:01:31 verbose #2087 > │ let v28 : float = float 3L │
00:01:31 verbose #2088 > │ let v29 : float = v28 / 2.0 │
00:01:31 verbose #2089 > │ let v30 : (float -> float) = ceil │
00:01:31 verbose #2090 > │ let v31 : float = v30 v29 │
00:01:31 verbose #2091 > │ let v32 : int64 = int64 v31 │
00:01:31 verbose #2092 > │ let v33 : (float -> float) = floor │
00:01:31 verbose #2093 > │ let v34 : float = v33 v29 │
00:01:31 verbose #2094 > │ let v35 : int64 = int64 v34 │
00:01:31 verbose #2095 > │ let v36 : int64 = v32 - 1L │
00:01:31 verbose #2096 > │ let v37 : string = "12345".[int 0L..int v36] │
00:01:31 verbose #2097 > │ let v38 : int64 = 5L - v35 │
00:01:31 verbose #2098 > │ let v39 : string = "12345".[int v38..int 4L] │
00:01:31 verbose #2099 > │ let v40 : (string []) = [|v37; v12; v39|] │
00:01:31 verbose #2100 > │ let v41 : ((string []) -> string seq) = Seq.ofArray │
00:01:31 verbose #2101 > │ let v42 : string seq = v41 v40 │
00:01:31 verbose #2102 > │ let v43 : string = method1() │
00:01:31 verbose #2103 > │ let v44 : (string -> (string seq -> string)) = String.concat │
00:01:31 verbose #2104 > │ let v45 : (string seq -> string) = v44 v43 │
00:01:31 verbose #2105 > │ let v46 : string = v45 v42 │
00:01:31 verbose #2106 > │ let v48 : bool = v46 = "12...5" │
00:01:31 verbose #2107 > │ let v50 : bool = │
00:01:31 verbose #2108 > │ if v48 then │
00:01:31 verbose #2109 > │ true │
00:01:31 verbose #2110 > │ else │
00:01:31 verbose #2111 > │ method2(v48) │
00:01:31 verbose #2112 > │ let v51 : string = "12...5" │
00:01:31 verbose #2113 > │ let v52 : string = $"{v24} / actual: %A{v46} / expected: %A{v51}" │
00:01:31 verbose #2114 > │ System.Console.WriteLine v52 │
00:01:31 verbose #2115 > │ let v53 : bool = v50 = false │
00:01:31 verbose #2116 > │ if v53 then │
00:01:31 verbose #2117 > │ failwith<unit> v52 │
00:01:31 verbose #2118 > │ let v54 : float = float 4L │
00:01:31 verbose #2119 > │ let v55 : float = v54 / 2.0 │
00:01:31 verbose #2120 > │ let v56 : (float -> float) = ceil │
00:01:31 verbose #2121 > │ let v57 : float = v56 v55 │
00:01:31 verbose #2122 > │ let v58 : int64 = int64 v57 │
00:01:31 verbose #2123 > │ let v59 : (float -> float) = floor │
00:01:31 verbose #2124 > │ let v60 : float = v59 v55 │
00:01:31 verbose #2125 > │ let v61 : int64 = int64 v60 │
00:01:31 verbose #2126 > │ let v62 : int64 = v58 - 1L │
00:01:31 verbose #2127 > │ let v63 : string = "1234567".[int 0L..int v62] │
00:01:31 verbose #2128 > │ let v64 : int64 = 7L - v61 │
00:01:31 verbose #2129 > │ let v65 : string = "1234567".[int v64..int 6L] │
00:01:31 verbose #2130 > │ let v66 : (string []) = [|v63; v12; v65|] │
00:01:31 verbose #2131 > │ let v67 : ((string []) -> string seq) = Seq.ofArray │
00:01:31 verbose #2132 > │ let v68 : string seq = v67 v66 │
00:01:31 verbose #2133 > │ let v69 : string = method1() │
00:01:31 verbose #2134 > │ let v70 : (string -> (string seq -> string)) = String.concat │
00:01:31 verbose #2135 > │ let v71 : (string seq -> string) = v70 v69 │
00:01:31 verbose #2136 > │ let v72 : string = v71 v68 │
00:01:31 verbose #2137 > │ let v74 : bool = v72 = "12...67" │
00:01:31 verbose #2138 > │ let v76 : bool = │
00:01:31 verbose #2139 > │ if v74 then │
00:01:31 verbose #2140 > │ true │
00:01:31 verbose #2141 > │ else │
00:01:31 verbose #2142 > │ method2(v74) │
00:01:31 verbose #2143 > │ let v77 : string = "12...67" │
00:01:31 verbose #2144 > │ let v78 : string = $"{v24} / actual: %A{v72} / expected: %A{v77}" │
00:01:31 verbose #2145 > │ System.Console.WriteLine v78 │
00:01:31 verbose #2146 > │ let v79 : bool = v76 = false │
00:01:31 verbose #2147 > │ if v79 then │
00:01:31 verbose #2148 > │ failwith<unit> v78 │
00:01:31 verbose #2149 > │ method0() │
00:01:31 verbose #2150 > │ │
00:01:31 verbose #2151 > │ assert_eq / actual: "1...5" / expected: "1...5" │
00:01:31 verbose #2152 > │ assert_eq / actual: "12...5" / expected: "12...5" │
00:01:31 verbose #2153 > │ assert_eq / actual: "12...67" / expected: "12...67" │
00:01:31 verbose #2154 > │ │
00:01:31 verbose #2155 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:31 verbose #2156 >
00:01:31 verbose #2157 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:31 verbose #2158 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:31 verbose #2159 > │ ## format_ellipsis │
00:01:31 verbose #2160 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:31 verbose #2161 >
00:01:31 verbose #2162 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:31 verbose #2163 > inl format_ellipsis s =
00:01:31 verbose #2164 > s
00:01:31 verbose #2165 > |> format_debug
00:01:31 verbose #2166 > |> ellipsis_end 400
00:01:31 verbose #2167 > 00:01:30 debug #75 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ecb80d7a33b6b5a4a3e535e23b335123c72769eb8032d8607c5536b9828a5d1b/main.spi
00:01:31 verbose #2168 >
00:01:31 verbose #2169 > ╭─[ 669.12ms - stdout ]────────────────────────────────────────────────────────╮
00:01:31 verbose #2170 > │ () │
00:01:31 verbose #2171 > │ │
00:01:31 verbose #2172 > │ │
00:01:31 verbose #2173 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:31 verbose #2174 >
00:01:31 verbose #2175 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:31 verbose #2176 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:31 verbose #2177 > │ ## split │
00:01:31 verbose #2178 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:31 verbose #2179 >
00:01:31 verbose #2180 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:31 verbose #2181 > inl split (separator : string) (str : string) : array_base string =
00:01:31 verbose #2182 > $"!str.Split !separator"
00:01:32 verbose #2183 > 00:01:31 debug #76 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a36e4614b31c304bae3c44675d4d25f94a224ba4ceef5a058a2501a5c63f23ad/main.spi
00:01:32 verbose #2184 >
00:01:32 verbose #2185 > ╭─[ 619.89ms - stdout ]────────────────────────────────────────────────────────╮
00:01:32 verbose #2186 > │ () │
00:01:32 verbose #2187 > │ │
00:01:32 verbose #2188 > │ │
00:01:32 verbose #2189 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:32 verbose #2190 >
00:01:32 verbose #2191 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:32 verbose #2192 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:32 verbose #2193 > │ ## split_string │
00:01:32 verbose #2194 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:32 verbose #2195 >
00:01:32 verbose #2196 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:32 verbose #2197 > inl split_string (separator : array_base string) (str : string) : array_base
00:01:32 verbose #2198 > string =
00:01:32 verbose #2199 > run_target function
00:01:32 verbose #2200 > | Fsharp (Native) => fun () => $"!str.Split (!separator,
00:01:32 verbose #2201 > System.StringSplitOptions.None)"
00:01:32 verbose #2202 > | _ => fun () => str |> split ((a separator : _ i32 _) |> seq.of_array
00:01:32 verbose #2203 > |> concat "")
00:01:32 verbose #2204 > 00:01:31 debug #77 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/03274f3b139e9267ef4dde45274a0a34039b555bb48681720eba3f47e5b572e3/main.spi
00:01:33 verbose #2205 >
00:01:33 verbose #2206 > ╭─[ 623.89ms - stdout ]────────────────────────────────────────────────────────╮
00:01:33 verbose #2207 > │ () │
00:01:33 verbose #2208 > │ │
00:01:33 verbose #2209 > │ │
00:01:33 verbose #2210 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #2211 >
00:01:33 verbose #2212 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:33 verbose #2213 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:33 verbose #2214 > │ ## join' │
00:01:33 verbose #2215 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #2216 >
00:01:33 verbose #2217 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #2218 > inl join' (concat : string) (s : a i32 string) : string =
00:01:33 verbose #2219 > $"System.String.Join (!concat, !s)"
00:01:33 verbose #2220 > 00:01:32 debug #78 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/844460dddc8a55593dd933daf0f82b63f24003f42e8343a385e7698ee329fda4/main.spi
00:01:33 verbose #2221 >
00:01:33 verbose #2222 > ╭─[ 623.59ms - stdout ]────────────────────────────────────────────────────────╮
00:01:33 verbose #2223 > │ () │
00:01:33 verbose #2224 > │ │
00:01:33 verbose #2225 > │ │
00:01:33 verbose #2226 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #2227 >
00:01:33 verbose #2228 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:33 verbose #2229 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:33 verbose #2230 > │ ## to_char_array │
00:01:33 verbose #2231 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:33 verbose #2232 >
00:01:33 verbose #2233 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:33 verbose #2234 > inl to_char_array (str : string) : a i32 char =
00:01:33 verbose #2235 > am.init (str |> sm.length) (fun i => sm.index str i)
00:01:34 verbose #2236 > 00:01:33 debug #79 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e25a8e27b9b1ab6894ae7a8f1ed6566f2df7f6295a42ccf8d699aa94cec2e291/main.spi
00:01:34 verbose #2237 >
00:01:34 verbose #2238 > ╭─[ 637.90ms - stdout ]────────────────────────────────────────────────────────╮
00:01:34 verbose #2239 > │ () │
00:01:34 verbose #2240 > │ │
00:01:34 verbose #2241 > │ │
00:01:34 verbose #2242 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:34 verbose #2243 >
00:01:34 verbose #2244 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:34 verbose #2245 > //// test
00:01:34 verbose #2246 >
00:01:34 verbose #2247 > "abc"
00:01:34 verbose #2248 > |> to_char_array
00:01:34 verbose #2249 > |> _assert_eq (a ;[['a'; 'b'; 'c']])
00:01:34 verbose #2250 > 00:01:33 debug #80 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/250fe2d39596750948af5829fbf1b53c1d17f1fc590e74e9e97b576d02bf290f/main.spi
00:01:35 verbose #2251 >
00:01:35 verbose #2252 > ╭─[ 741.66ms - stdout ]────────────────────────────────────────────────────────╮
00:01:35 verbose #2253 > │ type Mut0 = {mutable l0 : int32} │
00:01:35 verbose #2254 > │ let rec method1 (v0 : Mut0) : bool = │
00:01:35 verbose #2255 > │ let v1 : int32 = v0.l0 │
00:01:35 verbose #2256 > │ let v2 : bool = v1 < 3 │
00:01:35 verbose #2257 > │ v2 │
00:01:35 verbose #2258 > │ and method2 (v0 : (char []), v1 : (char []), v2 : int32) : bool = │
00:01:35 verbose #2259 > │ let v3 : int32 = v0.Length │
00:01:35 verbose #2260 > │ let v4 : bool = v2 < v3 │
00:01:35 verbose #2261 > │ if v4 then │
00:01:35 verbose #2262 > │ let v5 : char = v0.[int v2] │
00:01:35 verbose #2263 > │ let v6 : char = v1.[int v2] │
00:01:35 verbose #2264 > │ let v7 : bool = v5 = v6 │
00:01:35 verbose #2265 > │ if v7 then │
00:01:35 verbose #2266 > │ let v8 : int32 = v2 + 1 │
00:01:35 verbose #2267 > │ method2(v0, v1, v8) │
00:01:35 verbose #2268 > │ else │
00:01:35 verbose #2269 > │ false │
00:01:35 verbose #2270 > │ else │
00:01:35 verbose #2271 > │ true │
00:01:35 verbose #2272 > │ and method3 (v0 : bool) : bool = │
00:01:35 verbose #2273 > │ v0 │
00:01:35 verbose #2274 > │ and method0 () : unit = │
00:01:35 verbose #2275 > │ let v0 : (char []) = Array.zeroCreate<char> (3) │
00:01:35 verbose #2276 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:01:35 verbose #2277 > │ while method1(v1) do │
00:01:35 verbose #2278 > │ let v3 : int32 = v1.l0 │
00:01:35 verbose #2279 > │ let v4 : char = "abc".[int v3] │
00:01:35 verbose #2280 > │ v0.[int v3] <- v4 │
00:01:35 verbose #2281 > │ let v5 : int32 = v3 + 1 │
00:01:35 verbose #2282 > │ v1.l0 <- v5 │
00:01:35 verbose #2283 > │ () │
00:01:35 verbose #2284 > │ let v6 : (char []) = [|'a'; 'b'; 'c'|] │
00:01:35 verbose #2285 > │ let v7 : int32 = v0.Length │
00:01:35 verbose #2286 > │ let v8 : int32 = v6.Length │
00:01:35 verbose #2287 > │ let v9 : bool = v7 = v8 │
00:01:35 verbose #2288 > │ let v10 : bool = v9 <> true │
00:01:35 verbose #2289 > │ let v13 : bool = │
00:01:35 verbose #2290 > │ if v10 then │
00:01:35 verbose #2291 > │ false │
00:01:35 verbose #2292 > │ else │
00:01:35 verbose #2293 > │ let v11 : int32 = 0 │
00:01:35 verbose #2294 > │ method2(v0, v6, v11) │
00:01:35 verbose #2295 > │ let v15 : bool = │
00:01:35 verbose #2296 > │ if v13 then │
00:01:35 verbose #2297 > │ true │
00:01:35 verbose #2298 > │ else │
00:01:35 verbose #2299 > │ method3(v13) │
00:01:35 verbose #2300 > │ let v16 : string = "assert_eq" │
00:01:35 verbose #2301 > │ let v17 : string = $"{v16} / actual: %A{v0} / expected: %A{v6}" │
00:01:35 verbose #2302 > │ System.Console.WriteLine v17 │
00:01:35 verbose #2303 > │ let v18 : bool = v15 = false │
00:01:35 verbose #2304 > │ if v18 then │
00:01:35 verbose #2305 > │ failwith<unit> v17 │
00:01:35 verbose #2306 > │ method0() │
00:01:35 verbose #2307 > │ │
00:01:35 verbose #2308 > │ assert_eq / actual: [|'a'; 'b'; 'c'|] / expected: [|'a'; 'b'; 'c'|] │
00:01:35 verbose #2309 > │ │
00:01:35 verbose #2310 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:35 verbose #2311 >
00:01:35 verbose #2312 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:35 verbose #2313 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:35 verbose #2314 > │ ## to_char_list │
00:01:35 verbose #2315 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:35 verbose #2316 >
00:01:35 verbose #2317 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:35 verbose #2318 > inl to_char_list (str : string) : list char =
00:01:35 verbose #2319 > listm.init (str |> sm.length) (fun (i : i64) => sm.index str i)
00:01:35 verbose #2320 > 00:01:34 debug #81 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3904dc49d59eb5c7c2481ff84108755bd820ff272e0c2380708aa6b0e7af5145/main.spi
00:01:35 verbose #2321 >
00:01:35 verbose #2322 > ╭─[ 622.75ms - stdout ]────────────────────────────────────────────────────────╮
00:01:35 verbose #2323 > │ () │
00:01:35 verbose #2324 > │ │
00:01:35 verbose #2325 > │ │
00:01:35 verbose #2326 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:35 verbose #2327 >
00:01:35 verbose #2328 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:35 verbose #2329 > //// test
00:01:35 verbose #2330 >
00:01:35 verbose #2331 > "abc"
00:01:35 verbose #2332 > |> to_char_list
00:01:35 verbose #2333 > |> _assert_eq [['a'; 'b'; 'c']]
00:01:36 verbose #2334 > 00:01:35 debug #82 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/26eb01347b60fce22af82aa749848a348576907a239ab324093de5d40e976d2f/main.spi
00:01:36 verbose #2335 >
00:01:36 verbose #2336 > ╭─[ 693.65ms - stdout ]────────────────────────────────────────────────────────╮
00:01:36 verbose #2337 > │ type UH0 = │
00:01:36 verbose #2338 > │ | UH0_0 │
00:01:36 verbose #2339 > │ | UH0_1 of char * UH0 │
00:01:36 verbose #2340 > │ let rec method0 () : unit = │
00:01:36 verbose #2341 > │ let v18 : string = "assert_eq" │
00:01:36 verbose #2342 > │ let v19 : UH0 = UH0_0 │
00:01:36 verbose #2343 > │ let v20 : UH0 = UH0_1('c', v19) │
00:01:36 verbose #2344 > │ let v21 : UH0 = UH0_1('b', v20) │
00:01:36 verbose #2345 > │ let v22 : UH0 = UH0_1('a', v21) │
00:01:36 verbose #2346 > │ let v23 : UH0 = UH0_0 │
00:01:36 verbose #2347 > │ let v24 : UH0 = UH0_1('c', v23) │
00:01:36 verbose #2348 > │ let v25 : UH0 = UH0_1('b', v24) │
00:01:36 verbose #2349 > │ let v26 : UH0 = UH0_1('a', v25) │
00:01:36 verbose #2350 > │ let v27 : string = $"{v18} / actual: %A{v22} / expected: %A{v26}" │
00:01:36 verbose #2351 > │ System.Console.WriteLine v27 │
00:01:36 verbose #2352 > │ () │
00:01:36 verbose #2353 > │ method0() │
00:01:36 verbose #2354 > │ │
00:01:36 verbose #2355 > │ assert_eq / actual: UH0_1 ('a', UH0_1 ('b', UH0_1 ('c', UH0_0))) / expected: │
00:01:36 verbose #2356 > │ UH0_1 ('a', UH0_1 ('b', UH0_1 ('c', UH0_0))) │
00:01:36 verbose #2357 > │ │
00:01:36 verbose #2358 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:36 verbose #2359 >
00:01:36 verbose #2360 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:36 verbose #2361 > nominal encoding = $'System.Text.Encoding'
00:01:36 verbose #2362 >
00:01:36 verbose #2363 > inl encoding_utf8 () : encoding =
00:01:36 verbose #2364 > $'System.Text.Encoding.UTF8'
00:01:36 verbose #2365 > 00:01:35 debug #83 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c0f6d30bbe867a6a6e8fcef86a3670d40ca4a767cb8bf43ad1c2d88e92810280/main.spi
00:01:37 verbose #2366 >
00:01:37 verbose #2367 > ╭─[ 666.84ms - stdout ]────────────────────────────────────────────────────────╮
00:01:37 verbose #2368 > │ () │
00:01:37 verbose #2369 > │ │
00:01:37 verbose #2370 > │ │
00:01:37 verbose #2371 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #2372 >
00:01:37 verbose #2373 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:37 verbose #2374 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:37 verbose #2375 > │ ## utf8_get_bytes │
00:01:37 verbose #2376 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #2377 >
00:01:37 verbose #2378 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:37 verbose #2379 > inl utf8_get_bytes (s : string) : a i32 u8 =
00:01:37 verbose #2380 > s |> $'`encoding.UTF8.GetBytes'
00:01:37 verbose #2381 > 00:01:36 debug #84 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1e50f833921a43ec1ce0bf357c3da78ffd16c447b768f21308efbc2d726a3408/main.spi
00:01:37 verbose #2382 >
00:01:37 verbose #2383 > ╭─[ 653.97ms - stdout ]────────────────────────────────────────────────────────╮
00:01:37 verbose #2384 > │ () │
00:01:37 verbose #2385 > │ │
00:01:37 verbose #2386 > │ │
00:01:37 verbose #2387 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #2388 >
00:01:37 verbose #2389 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:37 verbose #2390 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:37 verbose #2391 > │ ## byte_to_string │
00:01:37 verbose #2392 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #2393 >
00:01:37 verbose #2394 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:37 verbose #2395 > inl byte_to_string (format : string) (x : u8) : string =
00:01:37 verbose #2396 > $'!x.ToString' format
00:01:38 verbose #2397 > 00:01:37 debug #85 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/19b059d0cc4ce3226bce74a3bf8f0faaecc2be31d49de708e6ed61cc31c448a8/main.spi
00:01:38 verbose #2398 >
00:01:38 verbose #2399 > ╭─[ 652.72ms - stdout ]────────────────────────────────────────────────────────╮
00:01:38 verbose #2400 > │ () │
00:01:38 verbose #2401 > │ │
00:01:38 verbose #2402 > │ │
00:01:38 verbose #2403 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #2404 >
00:01:38 verbose #2405 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:38 verbose #2406 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:38 verbose #2407 > │ ## windows │
00:01:38 verbose #2408 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #2409 >
00:01:38 verbose #2410 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:38 verbose #2411 > nominal windows t = $'std_slice_Windows<`t>'
00:01:38 verbose #2412 >
00:01:38 verbose #2413 > inl windows (len : unativeint) (source : am'.vec u8) : windows u8 =
00:01:38 verbose #2414 > inl source = source |> rust.new_box |> rust.box_leak
00:01:38 verbose #2415 > // inl source' = source |> rust.clone
00:01:38 verbose #2416 > inl result = !\\(len, $'"<[[_]]>::windows(!source, $0)"')
00:01:38 verbose #2417 > // source |> rust.drop
00:01:38 verbose #2418 > result
00:01:38 verbose #2419 > 00:01:37 debug #86 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f02bb05627dd4e6ebda96cb66239aabbca32f4a4269bb2b2d1bf6210bc870133/main.spi
00:01:39 verbose #2420 >
00:01:39 verbose #2421 > ╭─[ 646.13ms - stdout ]────────────────────────────────────────────────────────╮
00:01:39 verbose #2422 > │ () │
00:01:39 verbose #2423 > │ │
00:01:39 verbose #2424 > │ │
00:01:39 verbose #2425 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #2426 >
00:01:39 verbose #2427 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:39 verbose #2428 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:39 verbose #2429 > │ ## any │
00:01:39 verbose #2430 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #2431 >
00:01:39 verbose #2432 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:39 verbose #2433 > inl any forall t. (fn : string -> bool) (source : windows t) : bool =
00:01:39 verbose #2434 > (!\($'"true; let mut !source = !source"') : bool) |> ignore
00:01:39 verbose #2435 > inl fn' x =
00:01:39 verbose #2436 > x
00:01:39 verbose #2437 > |> str_from_utf8
00:01:39 verbose #2438 > |> resultm.unwrap_or' #""
00:01:39 verbose #2439 > |> ref_to_std_string
00:01:39 verbose #2440 > |> from_std_string
00:01:39 verbose #2441 > |> fn
00:01:39 verbose #2442 > !\\(fn', $'"!source.any(move |x| $0(x))"')
00:01:39 verbose #2443 > 00:01:38 debug #87 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/66d89a4642eb281d22e84c704164708378e7f893e1297af635b3a61a21422faf/main.spi
00:01:39 verbose #2444 >
00:01:39 verbose #2445 > ╭─[ 643.16ms - stdout ]────────────────────────────────────────────────────────╮
00:01:39 verbose #2446 > │ () │
00:01:39 verbose #2447 > │ │
00:01:39 verbose #2448 > │ │
00:01:39 verbose #2449 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #2450 >
00:01:39 verbose #2451 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:39 verbose #2452 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:39 verbose #2453 > │ ## slice_contains │
00:01:39 verbose #2454 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:39 verbose #2455 >
00:01:39 verbose #2456 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:39 verbose #2457 > inl slice_contains (text : string) (source : am'.vec u8) : bool =
00:01:39 verbose #2458 > fun () =>
00:01:39 verbose #2459 > inl source = join source
00:01:39 verbose #2460 > source
00:01:39 verbose #2461 > |> windows (text |> length |> (fun x => x : i32) |> unativeint)
00:01:39 verbose #2462 > |> any ((=.) text)
00:01:39 verbose #2463 > |> fun x => join x ()
00:01:40 verbose #2464 > 00:01:39 debug #88 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f768e59b2167f9f3d67fb078f35aa5094bf422ddd59f9f95c41c9f28f290782e/main.spi
00:01:40 verbose #2465 >
00:01:40 verbose #2466 > ╭─[ 609.16ms - stdout ]────────────────────────────────────────────────────────╮
00:01:40 verbose #2467 > │ () │
00:01:40 verbose #2468 > │ │
00:01:40 verbose #2469 > │ │
00:01:40 verbose #2470 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:40 verbose #2471 >
00:01:40 verbose #2472 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:40 verbose #2473 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:40 verbose #2474 > │ ## as_bytes │
00:01:40 verbose #2475 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:40 verbose #2476 >
00:01:40 verbose #2477 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:40 verbose #2478 > inl as_bytes (text : string) : rust.ref' (am'.slice u8) =
00:01:40 verbose #2479 > inl text = join text
00:01:40 verbose #2480 > !\($'"!text.as_bytes()"')
00:01:40 verbose #2481 > 00:01:39 debug #89 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cf89b1a7913494678f8b9fff270c530ba4e445ee8f702e152b4a5f69cf5ba394/main.spi
00:01:40 verbose #2482 >
00:01:40 verbose #2483 > ╭─[ 674.43ms - stdout ]────────────────────────────────────────────────────────╮
00:01:40 verbose #2484 > │ () │
00:01:40 verbose #2485 > │ │
00:01:40 verbose #2486 > │ │
00:01:40 verbose #2487 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:40 verbose #2488 >
00:01:40 verbose #2489 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:40 verbose #2490 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:40 verbose #2491 > │ ## main │
00:01:40 verbose #2492 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:40 verbose #2493 >
00:01:40 verbose #2494 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:40 verbose #2495 > inl main () =
00:01:40 verbose #2496 > types ()
00:01:40 verbose #2497 > $"let contains x = !contains x" : ()
00:01:40 verbose #2498 > $"let ends_with x = !ends_with x" : ()
00:01:40 verbose #2499 > $"let pad_left x = !pad_left x" : ()
00:01:40 verbose #2500 > $"let pad_right x = !pad_right x" : ()
00:01:40 verbose #2501 > $"let replace x = !replace x" : ()
00:01:40 verbose #2502 > $"let replace_regex x = !replace_regex x" : ()
00:01:40 verbose #2503 > inl slice (a : i32) (b : i32) c = slice a b c
00:01:40 verbose #2504 > $"let slice x = !slice x" : ()
00:01:40 verbose #2505 > $"let split x = !split x" : ()
00:01:40 verbose #2506 > $"let split_string x = !split_string x" : ()
00:01:40 verbose #2507 > $"let starts_with x = !starts_with x" : ()
00:01:40 verbose #2508 > $"let substring x = !substring x" : ()
00:01:40 verbose #2509 > $"let to_lower x = !to_lower x" : ()
00:01:40 verbose #2510 > $"let to_upper x = !to_upper x" : ()
00:01:40 verbose #2511 > $"let trim x = !trim x" : ()
00:01:40 verbose #2512 > $"let trim_end x = !trim_end x" : ()
00:01:40 verbose #2513 > $"let trim_start x = !trim_start x" : ()
00:01:40 verbose #2514 > $"let ellipsis x = !ellipsis x" : ()
00:01:40 verbose #2515 > $"let ellipsis_end x = !ellipsis_end x" : ()
00:01:40 verbose #2516 > $"let format_exception x = !format_exception x" : ()
00:01:40 verbose #2517 > $"let concat_array_trailing x = !concat_array_trailing x" : ()
00:01:40 verbose #2518 > inl concat a (b : seq.seq' string) = concat a b
00:01:40 verbose #2519 > $"let concat x = !concat x" : ()
00:01:40 verbose #2520 > $"let join' x = !join' x" : ()
00:01:40 verbose #2521 > $"let to_char_array x = !to_char_array x" : ()
00:01:41 verbose #2522 > 00:01:40 debug #90 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/165eeb26d83ab0c09542df4ee7d4ea6ac271d882621f5a0e801edb4f7786a8e5/main.spi
00:01:41 verbose #2523 >
00:01:41 verbose #2524 > ╭─[ 930.67ms - stdout ]────────────────────────────────────────────────────────╮
00:01:41 verbose #2525 > │ #if FABLE_COMPILER │
00:01:41 verbose #2526 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:01:41 verbose #2527 > │ #endif │
00:01:41 verbose #2528 > │ type Func0<'T> = class end │
00:01:41 verbose #2529 > │ #if FABLE_COMPILER │
00:01:41 verbose #2530 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:01:41 verbose #2531 > │ #endif │
00:01:41 verbose #2532 > │ type Func0<'T, 'U> = class end │
00:01:41 verbose #2533 > │ #if FABLE_COMPILER │
00:01:41 verbose #2534 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:01:41 verbose #2535 > │ #endif │
00:01:41 verbose #2536 > │ type Box<'T> = class end │
00:01:41 verbose #2537 > │ #if FABLE_COMPILER │
00:01:41 verbose #2538 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:01:41 verbose #2539 > │ #endif │
00:01:41 verbose #2540 > │ type Dyn<'T> = class end │
00:01:41 verbose #2541 > │ #if FABLE_COMPILER │
00:01:41 verbose #2542 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:01:41 verbose #2543 > │ #endif │
00:01:41 verbose #2544 > │ type Send<'T> = class end │
00:01:41 verbose #2545 > │ #if FABLE_COMPILER │
00:01:41 verbose #2546 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:01:41 verbose #2547 > │ #endif │
00:01:41 verbose #2548 > │ type Fn<'T> = class end │
00:01:41 verbose #2549 > │ #if FABLE_COMPILER │
00:01:41 verbose #2550 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:01:41 verbose #2551 > │ #endif │
00:01:41 verbose #2552 > │ type FnUnit = class end │
00:01:41 verbose #2553 > │ #if FABLE_COMPILER │
00:01:41 verbose #2554 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:01:41 verbose #2555 > │ #endif │
00:01:41 verbose #2556 > │ type FnOnce<'T> = class end │
00:01:41 verbose #2557 > │ #if FABLE_COMPILER │
00:01:41 verbose #2558 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:01:41 verbose #2559 > │ #endif │
00:01:41 verbose #2560 > │ type ActionFn<'T> = class end │
00:01:41 verbose #2561 > │ #if FABLE_COMPILER │
00:01:41 verbose #2562 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:01:41 verbose #2563 > │ #endif │
00:01:41 verbose #2564 > │ type ActionFn2<'T, 'U> = class end │
00:01:41 verbose #2565 > │ #if FABLE_COMPILER │
00:01:41 verbose #2566 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:01:41 verbose #2567 > │ #endif │
00:01:41 verbose #2568 > │ type Impl<'T> = class end │
00:01:41 verbose #2569 > │ #if FABLE_COMPILER │
00:01:41 verbose #2570 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:01:41 verbose #2571 > │ #endif │
00:01:41 verbose #2572 > │ type Mut<'T> = class end │
00:01:41 verbose #2573 > │ #if FABLE_COMPILER │
00:01:41 verbose #2574 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:01:41 verbose #2575 > │ #endif │
00:01:41 verbose #2576 > │ type Ref<'T> = class end │
00:01:41 verbose #2577 > │ #if FABLE_COMPILER │
00:01:41 verbose #2578 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:01:41 verbose #2579 > │ #endif │
00:01:41 verbose #2580 > │ type StaticRef<'T> = class end │
00:01:41 verbose #2581 > │ #if FABLE_COMPILER │
00:01:41 verbose #2582 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:01:41 verbose #2583 > │ #endif │
00:01:41 verbose #2584 > │ type MutCell<'T> = class end │
00:01:41 verbose #2585 > │ #if FABLE_COMPILER │
00:01:41 verbose #2586 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:01:41 verbose #2587 > │ #endif │
00:01:41 verbose #2588 > │ type std_any_Any = class end │
00:01:41 verbose #2589 > │ #if FABLE_COMPILER │
00:01:41 verbose #2590 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:01:41 verbose #2591 > │ #endif │
00:01:41 verbose #2592 > │ type std_borrow_Cow<'T> = class end │
00:01:41 verbose #2593 > │ #if FABLE_COMPILER │
00:01:41 verbose #2594 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:01:41 verbose #2595 > │ #endif │
00:01:41 verbose #2596 > │ type std_cell_RefCell<'T> = class end │
00:01:41 verbose #2597 > │ #if FABLE_COMPILER │
00:01:41 verbose #2598 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:01:41 verbose #2599 > │ #endif │
00:01:41 verbose #2600 > │ type std_pin_Pin<'T> = class end │
00:01:41 verbose #2601 > │ #if FABLE_COMPILER │
00:01:41 verbose #2602 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:01:41 verbose #2603 > │ #endif │
00:01:41 verbose #2604 > │ type std_rc_Rc<'T> = class end │
00:01:41 verbose #2605 > │ #if FABLE_COMPILER │
00:01:41 verbose #2606 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:01:41 verbose #2607 > │ #endif │
00:01:41 verbose #2608 > │ type std_rc_Weak<'T> = class end │
00:01:41 verbose #2609 > │ #if FABLE_COMPILER │
00:01:41 verbose #2610 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:01:41 verbose #2611 > │ #endif │
00:01:41 verbose #2612 > │ type Str = class end │
00:01:41 verbose #2613 > │ #if FABLE_COMPILER │
00:01:41 verbose #2614 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:01:41 verbose #2615 > │ #endif │
00:01:41 verbose #2616 > │ type base64_DecodeError = class end │
00:01:41 verbose #2617 > │ #if FABLE_COMPILER │
00:01:41 verbose #2618 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:01:41 verbose #2619 > │ #endif │
00:01:41 verbose #2620 > │ type borsh_io_Error = class end │
00:01:41 verbose #2621 > │ #if FABLE_COMPILER │
00:01:41 verbose #2622 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:01:41 verbose #2623 > │ #endif │
00:01:41 verbose #2624 > │ type js_sys_JsString = class end │
00:01:41 verbose #2625 > │ #if FABLE_COMPILER │
00:01:41 verbose #2626 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:01:41 verbose #2627 > │ #endif │
00:01:41 verbose #2628 > │ type serde_json_Error = class end │
00:01:41 verbose #2629 > │ #if FABLE_COMPILER │
00:01:41 verbose #2630 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:01:41 verbose #2631 > │ #endif │
00:01:41 verbose #2632 > │ type serde_json_Value = class end │
00:01:41 verbose #2633 > │ #if FABLE_COMPILER │
00:01:41 verbose #2634 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:01:41 verbose #2635 > │ #endif │
00:01:41 verbose #2636 > │ type serde_wasm_bindgen_Error = class end │
00:01:41 verbose #2637 > │ #if FABLE_COMPILER │
00:01:41 verbose #2638 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:01:41 verbose #2639 > │ #endif │
00:01:41 verbose #2640 > │ type std_ffi_OsStr = class end │
00:01:41 verbose #2641 > │ #if FABLE_COMPILER │
00:01:41 verbose #2642 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:01:41 verbose #2643 > │ #endif │
00:01:41 verbose #2644 > │ type std_ffi_OsString = class end │
00:01:41 verbose #2645 > │ #if FABLE_COMPILER │
00:01:41 verbose #2646 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:01:41 verbose #2647 > │ #endif │
00:01:41 verbose #2648 > │ type std_fmt_Display<'T> = class end │
00:01:41 verbose #2649 > │ #if FABLE_COMPILER │
00:01:41 verbose #2650 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:01:41 verbose #2651 > │ #endif │
00:01:41 verbose #2652 > │ type std_str_Utf8Error = class end │
00:01:41 verbose #2653 > │ #if FABLE_COMPILER │
00:01:41 verbose #2654 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:01:41 verbose #2655 > │ #endif │
00:01:41 verbose #2656 > │ type std_string_FromUtf8Error = class end │
00:01:41 verbose #2657 > │ #if FABLE_COMPILER │
00:01:41 verbose #2658 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:01:41 verbose #2659 > │ #endif │
00:01:41 verbose #2660 > │ type std_string_String = class end │
00:01:41 verbose #2661 > │ #if FABLE_COMPILER │
00:01:41 verbose #2662 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:01:41 verbose #2663 > │ #endif │
00:01:41 verbose #2664 > │ type std_slice_Windows<'T> = class end │
00:01:41 verbose #2665 > │ type Mut0 = {mutable l0 : int32; mutable l1 : string} │
00:01:41 verbose #2666 > │ and Mut1 = {mutable l0 : int32} │
00:01:41 verbose #2667 > │ let rec closure1 (v0 : string) (v1 : string) : bool = │
00:01:41 verbose #2668 > │ let v2 : bool = v1.Contains v0 │
00:01:41 verbose #2669 > │ v2 │
00:01:41 verbose #2670 > │ and closure0 () (v0 : string) : (string -> bool) = │
00:01:41 verbose #2671 > │ closure1(v0) │
00:01:41 verbose #2672 > │ and closure3 (v0 : string) (v1 : string) : bool = │
00:01:41 verbose #2673 > │ let v2 : bool = v1.EndsWith v0 │
00:01:41 verbose #2674 > │ v2 │
00:01:41 verbose #2675 > │ and closure2 () (v0 : string) : (string -> bool) = │
00:01:41 verbose #2676 > │ closure3(v0) │
00:01:41 verbose #2677 > │ and closure6 (v0 : int32, v1 : char) (v2 : string) : string = │
00:01:41 verbose #2678 > │ let v3 : string = v2.PadLeft (v0, v1) │
00:01:41 verbose #2679 > │ v3 │
00:01:41 verbose #2680 > │ and closure5 (v0 : int32) (v1 : char) : (string -> string) = │
00:01:41 verbose #2681 > │ closure6(v0, v1) │
00:01:41 verbose #2682 > │ and closure4 () (v0 : int32) : (char -> (string -> string)) = │
00:01:41 verbose #2683 > │ closure5(v0) │
00:01:41 verbose #2684 > │ and closure9 (v0 : int32, v1 : char) (v2 : string) : string = │
00:01:41 verbose #2685 > │ let v3 : string = v2.PadRight (v0, v1) │
00:01:41 verbose #2686 > │ v3 │
00:01:41 verbose #2687 > │ and closure8 (v0 : int32) (v1 : char) : (string -> string) = │
00:01:41 verbose #2688 > │ closure9(v0, v1) │
00:01:41 verbose #2689 > │ and closure7 () (v0 : int32) : (char -> (string -> string)) = │
00:01:41 verbose #2690 > │ closure8(v0) │
00:01:41 verbose #2691 > │ and closure12 (v0 : string, v1 : string) (v2 : string) : string = │
00:01:41 verbose #2692 > │ let v3 : string = v2.Replace (v0, v1) │
00:01:41 verbose #2693 > │ v3 │
00:01:41 verbose #2694 > │ and closure11 (v0 : string) (v1 : string) : (string -> string) = │
00:01:41 verbose #2695 > │ closure12(v0, v1) │
00:01:41 verbose #2696 > │ and closure10 () (v0 : string) : (string -> (string -> string)) = │
00:01:41 verbose #2697 > │ closure11(v0) │
00:01:41 verbose #2698 > │ and method0 (v0 : string) : string = │
00:01:41 verbose #2699 > │ v0 │
00:01:41 verbose #2700 > │ and method1 (v0 : string) : string = │
00:01:41 verbose #2701 > │ v0 │
00:01:41 verbose #2702 > │ and method2 (v0 : string) : string = │
00:01:41 verbose #2703 > │ v0 │
00:01:41 verbose #2704 > │ and closure15 (v0 : string, v1 : string) (v2 : string) : string = │
00:01:41 verbose #2705 > │ let v3 : string option = None │
00:01:41 verbose #2706 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:01:41 verbose #2707 > │ │
00:01:41 verbose #2708 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:41 verbose #2709 > │ │
00:01:41 verbose #2710 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:41 verbose #2711 > │ let v5 : string = method0(v0) │
00:01:41 verbose #2712 > │ let v6 : string = method1(v2) │
00:01:41 verbose #2713 > │ let v7 : string = method2(v1) │
00:01:41 verbose #2714 > │ let v8 : string = $"regex::Regex::new(&$0).unwrap().replace_all(&$1, │
00:01:41 verbose #2715 > │ &*$2)" │
00:01:41 verbose #2716 > │ let v9 : std_borrow_Cow<Str> = Fable.Core.RustInterop.emitRustExpr │
00:01:41 verbose #2717 > │ struct (v5, v6, v7) v8 │
00:01:41 verbose #2718 > │ let v10 : string = "String::from($0)" │
00:01:41 verbose #2719 > │ let v11 : std_string_String = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:01:41 verbose #2720 > │ let v12 : string = "fable_library_rust::String_::fromString($0)" │
00:01:41 verbose #2721 > │ let v13 : string = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:01:41 verbose #2722 > │ v13 │
00:01:41 verbose #2723 > │ #endif │
00:01:41 verbose #2724 > │ │
00:01:41 verbose #2725 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:41 verbose #2726 > │ let v14 : string = null |> unbox<string> │
00:01:41 verbose #2727 > │ v14 │
00:01:41 verbose #2728 > │ #endif │
00:01:41 verbose #2729 > │ │
00:01:41 verbose #2730 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:41 verbose #2731 > │ let v15 : string = null |> unbox<string> │
00:01:41 verbose #2732 > │ v15 │
00:01:41 verbose #2733 > │ #endif │
00:01:41 verbose #2734 > │ │
00:01:41 verbose #2735 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:41 verbose #2736 > │ let v16 : string = null |> unbox<string> │
00:01:41 verbose #2737 > │ v16 │
00:01:41 verbose #2738 > │ #endif │
00:01:41 verbose #2739 > │ │
00:01:41 verbose #2740 > │ #if FABLE_COMPILER_PYTHON │
00:01:41 verbose #2741 > │ let v17 : string = null |> unbox<string> │
00:01:41 verbose #2742 > │ v17 │
00:01:41 verbose #2743 > │ #endif │
00:01:41 verbose #2744 > │ │
00:01:41 verbose #2745 > │ #else │
00:01:41 verbose #2746 > │ let v18 : string = System.Text.RegularExpressions.Regex.Replace (v2, v0, │
00:01:41 verbose #2747 > │ v1) │
00:01:41 verbose #2748 > │ v18 │
00:01:41 verbose #2749 > │ #endif │
00:01:41 verbose #2750 > │ |> fun x -> _v3 <- Some x │
00:01:41 verbose #2751 > │ let v19 : string = _v3.Value │
00:01:41 verbose #2752 > │ v19 │
00:01:41 verbose #2753 > │ and closure14 (v0 : string) (v1 : string) : (string -> string) = │
00:01:41 verbose #2754 > │ closure15(v0, v1) │
00:01:41 verbose #2755 > │ and closure13 () (v0 : string) : (string -> (string -> string)) = │
00:01:41 verbose #2756 > │ closure14(v0) │
00:01:41 verbose #2757 > │ and closure18 (v0 : int32, v1 : int32) (v2 : string) : string = │
00:01:41 verbose #2758 > │ let v3 : string = v2.[int v0..int v1] │
00:01:41 verbose #2759 > │ v3 │
00:01:42 verbose #2760 > │ and closure17 (v0 : int32) (v1 : int32) : (string -> string) = │
00:01:42 verbose #2761 > │ closure18(v0, v1) │
00:01:42 verbose #2762 > │ and closure16 () (v0 : int32) : (int32 -> (string -> string)) = │
00:01:42 verbose #2763 > │ closure17(v0) │
00:01:42 verbose #2764 > │ and closure20 (v0 : string) (v1 : string) : (string []) = │
00:01:42 verbose #2765 > │ let v2 : (string []) = v1.Split v0 │
00:01:42 verbose #2766 > │ v2 │
00:01:42 verbose #2767 > │ and closure19 () (v0 : string) : (string -> (string [])) = │
00:01:42 verbose #2768 > │ closure20(v0) │
00:01:42 verbose #2769 > │ and method3 () : string = │
00:01:42 verbose #2770 > │ let v0 : string = "" │
00:01:42 verbose #2771 > │ v0 │
00:01:42 verbose #2772 > │ and closure22 (v0 : (string [])) (v1 : string) : (string []) = │
00:01:42 verbose #2773 > │ let v2 : (string []) option = None │
00:01:42 verbose #2774 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:01:42 verbose #2775 > │ │
00:01:42 verbose #2776 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:42 verbose #2777 > │ │
00:01:42 verbose #2778 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:42 verbose #2779 > │ let v4 : ((string []) -> string seq) = Seq.ofArray │
00:01:42 verbose #2780 > │ let v5 : string seq = v4 v0 │
00:01:42 verbose #2781 > │ let v6 : string = method3() │
00:01:42 verbose #2782 > │ let v7 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2783 > │ let v8 : (string seq -> string) = v7 v6 │
00:01:42 verbose #2784 > │ let v9 : string = v8 v5 │
00:01:42 verbose #2785 > │ let v10 : (string []) = v1.Split v9 │
00:01:42 verbose #2786 > │ v10 │
00:01:42 verbose #2787 > │ #endif │
00:01:42 verbose #2788 > │ │
00:01:42 verbose #2789 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:42 verbose #2790 > │ let v11 : ((string []) -> string seq) = Seq.ofArray │
00:01:42 verbose #2791 > │ let v12 : string seq = v11 v0 │
00:01:42 verbose #2792 > │ let v13 : string = method3() │
00:01:42 verbose #2793 > │ let v14 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2794 > │ let v15 : (string seq -> string) = v14 v13 │
00:01:42 verbose #2795 > │ let v16 : string = v15 v12 │
00:01:42 verbose #2796 > │ let v17 : (string []) = v1.Split v16 │
00:01:42 verbose #2797 > │ v17 │
00:01:42 verbose #2798 > │ #endif │
00:01:42 verbose #2799 > │ │
00:01:42 verbose #2800 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:42 verbose #2801 > │ let v18 : ((string []) -> string seq) = Seq.ofArray │
00:01:42 verbose #2802 > │ let v19 : string seq = v18 v0 │
00:01:42 verbose #2803 > │ let v20 : string = method3() │
00:01:42 verbose #2804 > │ let v21 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2805 > │ let v22 : (string seq -> string) = v21 v20 │
00:01:42 verbose #2806 > │ let v23 : string = v22 v19 │
00:01:42 verbose #2807 > │ let v24 : (string []) = v1.Split v23 │
00:01:42 verbose #2808 > │ v24 │
00:01:42 verbose #2809 > │ #endif │
00:01:42 verbose #2810 > │ │
00:01:42 verbose #2811 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:42 verbose #2812 > │ let v25 : ((string []) -> string seq) = Seq.ofArray │
00:01:42 verbose #2813 > │ let v26 : string seq = v25 v0 │
00:01:42 verbose #2814 > │ let v27 : string = method3() │
00:01:42 verbose #2815 > │ let v28 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2816 > │ let v29 : (string seq -> string) = v28 v27 │
00:01:42 verbose #2817 > │ let v30 : string = v29 v26 │
00:01:42 verbose #2818 > │ let v31 : (string []) = v1.Split v30 │
00:01:42 verbose #2819 > │ v31 │
00:01:42 verbose #2820 > │ #endif │
00:01:42 verbose #2821 > │ │
00:01:42 verbose #2822 > │ #if FABLE_COMPILER_PYTHON │
00:01:42 verbose #2823 > │ let v32 : ((string []) -> string seq) = Seq.ofArray │
00:01:42 verbose #2824 > │ let v33 : string seq = v32 v0 │
00:01:42 verbose #2825 > │ let v34 : string = method3() │
00:01:42 verbose #2826 > │ let v35 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2827 > │ let v36 : (string seq -> string) = v35 v34 │
00:01:42 verbose #2828 > │ let v37 : string = v36 v33 │
00:01:42 verbose #2829 > │ let v38 : (string []) = v1.Split v37 │
00:01:42 verbose #2830 > │ v38 │
00:01:42 verbose #2831 > │ #endif │
00:01:42 verbose #2832 > │ │
00:01:42 verbose #2833 > │ #else │
00:01:42 verbose #2834 > │ let v39 : (string []) = v1.Split (v0, System.StringSplitOptions.None) │
00:01:42 verbose #2835 > │ v39 │
00:01:42 verbose #2836 > │ #endif │
00:01:42 verbose #2837 > │ |> fun x -> _v2 <- Some x │
00:01:42 verbose #2838 > │ let v40 : (string []) = _v2.Value │
00:01:42 verbose #2839 > │ v40 │
00:01:42 verbose #2840 > │ and closure21 () (v0 : (string [])) : (string -> (string [])) = │
00:01:42 verbose #2841 > │ closure22(v0) │
00:01:42 verbose #2842 > │ and closure24 (v0 : string) (v1 : string) : bool = │
00:01:42 verbose #2843 > │ let v2 : bool = v1.StartsWith v0 │
00:01:42 verbose #2844 > │ v2 │
00:01:42 verbose #2845 > │ and closure23 () (v0 : string) : (string -> bool) = │
00:01:42 verbose #2846 > │ closure24(v0) │
00:01:42 verbose #2847 > │ and closure27 (v0 : int32, v1 : int32) (v2 : string) : string = │
00:01:42 verbose #2848 > │ let v3 : string = v2.Substring (v0, v1) │
00:01:42 verbose #2849 > │ v3 │
00:01:42 verbose #2850 > │ and closure26 (v0 : int32) (v1 : int32) : (string -> string) = │
00:01:42 verbose #2851 > │ closure27(v0, v1) │
00:01:42 verbose #2852 > │ and closure25 () (v0 : int32) : (int32 -> (string -> string)) = │
00:01:42 verbose #2853 > │ closure26(v0) │
00:01:42 verbose #2854 > │ and closure28 () (v0 : string) : string = │
00:01:42 verbose #2855 > │ let v1 : string = v0.ToLower () │
00:01:42 verbose #2856 > │ v1 │
00:01:42 verbose #2857 > │ and closure29 () (v0 : string) : string = │
00:01:42 verbose #2858 > │ let v1 : string = v0.ToUpper () │
00:01:42 verbose #2859 > │ v1 │
00:01:42 verbose #2860 > │ and closure30 () (v0 : string) : string = │
00:01:42 verbose #2861 > │ let v1 : string = v0.Trim () │
00:01:42 verbose #2862 > │ v1 │
00:01:42 verbose #2863 > │ and closure32 (v0 : (char [])) (v1 : string) : string = │
00:01:42 verbose #2864 > │ let v2 : string = v1.TrimEnd v0 │
00:01:42 verbose #2865 > │ v2 │
00:01:42 verbose #2866 > │ and closure31 () (v0 : (char [])) : (string -> string) = │
00:01:42 verbose #2867 > │ closure32(v0) │
00:01:42 verbose #2868 > │ and closure34 (v0 : (char [])) (v1 : string) : string = │
00:01:42 verbose #2869 > │ let v2 : string = v1.TrimStart v0 │
00:01:42 verbose #2870 > │ v2 │
00:01:42 verbose #2871 > │ and closure33 () (v0 : (char [])) : (string -> string) = │
00:01:42 verbose #2872 > │ closure34(v0) │
00:01:42 verbose #2873 > │ and closure36 (v0 : int32) (v1 : string) : string = │
00:01:42 verbose #2874 > │ let v2 : int32 = v1.Length │
00:01:42 verbose #2875 > │ let v3 : bool = v2 <= v0 │
00:01:42 verbose #2876 > │ if v3 then │
00:01:42 verbose #2877 > │ v1 │
00:01:42 verbose #2878 > │ else │
00:01:42 verbose #2879 > │ let v4 : int32 = v0 - 1 │
00:01:42 verbose #2880 > │ let v5 : string = v1.[int 0..int v4] │
00:01:42 verbose #2881 > │ let v6 : string = v5 + "..." │
00:01:42 verbose #2882 > │ v6 │
00:01:42 verbose #2883 > │ and closure35 () (v0 : int32) : (string -> string) = │
00:01:42 verbose #2884 > │ closure36(v0) │
00:01:42 verbose #2885 > │ and closure38 (v0 : int64) (v1 : string) : string = │
00:01:42 verbose #2886 > │ let v2 : int64 = System.Convert.ToInt64 v1.Length │
00:01:42 verbose #2887 > │ let v3 : bool = v2 <= v0 │
00:01:42 verbose #2888 > │ if v3 then │
00:01:42 verbose #2889 > │ v1 │
00:01:42 verbose #2890 > │ else │
00:01:42 verbose #2891 > │ let v4 : float = float v0 │
00:01:42 verbose #2892 > │ let v5 : float = v4 / 2.0 │
00:01:42 verbose #2893 > │ let v6 : (float -> float) = ceil │
00:01:42 verbose #2894 > │ let v7 : float = v6 v5 │
00:01:42 verbose #2895 > │ let v8 : int64 = int64 v7 │
00:01:42 verbose #2896 > │ let v9 : (float -> float) = floor │
00:01:42 verbose #2897 > │ let v10 : float = v9 v5 │
00:01:42 verbose #2898 > │ let v11 : int64 = int64 v10 │
00:01:42 verbose #2899 > │ let v12 : int64 = v8 - 1L │
00:01:42 verbose #2900 > │ let v13 : string = v1.[int 0L..int v12] │
00:01:42 verbose #2901 > │ let v14 : int64 = v2 - v11 │
00:01:42 verbose #2902 > │ let v15 : int64 = v2 - 1L │
00:01:42 verbose #2903 > │ let v16 : string = v1.[int v14..int v15] │
00:01:42 verbose #2904 > │ let v17 : string = "..." │
00:01:42 verbose #2905 > │ let v18 : (string []) = [|v13; v17; v16|] │
00:01:42 verbose #2906 > │ let v19 : ((string []) -> string seq) = Seq.ofArray │
00:01:42 verbose #2907 > │ let v20 : string seq = v19 v18 │
00:01:42 verbose #2908 > │ let v21 : string = method3() │
00:01:42 verbose #2909 > │ let v22 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2910 > │ let v23 : (string seq -> string) = v22 v21 │
00:01:42 verbose #2911 > │ v23 v20 │
00:01:42 verbose #2912 > │ and closure37 () (v0 : int64) : (string -> string) = │
00:01:42 verbose #2913 > │ closure38(v0) │
00:01:42 verbose #2914 > │ and closure39 () (v0 : exn) : string = │
00:01:42 verbose #2915 > │ let v1 : string option = None │
00:01:42 verbose #2916 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:01:42 verbose #2917 > │ │
00:01:42 verbose #2918 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:42 verbose #2919 > │ │
00:01:42 verbose #2920 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:42 verbose #2921 > │ let v3 : string = $"%A{v0}" │
00:01:42 verbose #2922 > │ v3 │
00:01:42 verbose #2923 > │ #endif │
00:01:42 verbose #2924 > │ │
00:01:42 verbose #2925 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:42 verbose #2926 > │ let v4 : string = $"%A{v0}" │
00:01:42 verbose #2927 > │ v4 │
00:01:42 verbose #2928 > │ #endif │
00:01:42 verbose #2929 > │ │
00:01:42 verbose #2930 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:42 verbose #2931 > │ let v5 : string = $"%A{v0}" │
00:01:42 verbose #2932 > │ v5 │
00:01:42 verbose #2933 > │ #endif │
00:01:42 verbose #2934 > │ │
00:01:42 verbose #2935 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:42 verbose #2936 > │ let v6 : string = $"%A{v0}" │
00:01:42 verbose #2937 > │ v6 │
00:01:42 verbose #2938 > │ #endif │
00:01:42 verbose #2939 > │ │
00:01:42 verbose #2940 > │ #if FABLE_COMPILER_PYTHON │
00:01:42 verbose #2941 > │ let v7 : string = $"%A{v0}" │
00:01:42 verbose #2942 > │ v7 │
00:01:42 verbose #2943 > │ #endif │
00:01:42 verbose #2944 > │ │
00:01:42 verbose #2945 > │ #else │
00:01:42 verbose #2946 > │ let v8 : string = $"{v0.GetType ()}: {v0.Message}" │
00:01:42 verbose #2947 > │ v8 │
00:01:42 verbose #2948 > │ #endif │
00:01:42 verbose #2949 > │ |> fun x -> _v1 <- Some x │
00:01:42 verbose #2950 > │ let v9 : string = _v1.Value │
00:01:42 verbose #2951 > │ v9 │
00:01:42 verbose #2952 > │ and method4 (v0 : int32, v1 : Mut0) : bool = │
00:01:42 verbose #2953 > │ let v2 : int32 = v1.l0 │
00:01:42 verbose #2954 > │ let v3 : bool = v2 < v0 │
00:01:42 verbose #2955 > │ v3 │
00:01:42 verbose #2956 > │ and closure41 (v0 : string) (v1 : (string [])) : string = │
00:01:42 verbose #2957 > │ let v2 : int32 = v1.Length │
00:01:42 verbose #2958 > │ let v3 : string = "" │
00:01:42 verbose #2959 > │ let v4 : Mut0 = {l0 = 0; l1 = v3} : Mut0 │
00:01:42 verbose #2960 > │ while method4(v2, v4) do │
00:01:42 verbose #2961 > │ let v6 : int32 = v4.l0 │
00:01:42 verbose #2962 > │ let v7 : string = v4.l1 │
00:01:42 verbose #2963 > │ let v8 : string = v1.[int v6] │
00:01:42 verbose #2964 > │ let v9 : string = v7 + v8 + v0 + "" │
00:01:42 verbose #2965 > │ let v10 : int32 = v6 + 1 │
00:01:42 verbose #2966 > │ v4.l0 <- v10 │
00:01:42 verbose #2967 > │ v4.l1 <- v9 │
00:01:42 verbose #2968 > │ () │
00:01:42 verbose #2969 > │ let v11 : string = v4.l1 │
00:01:42 verbose #2970 > │ v11 │
00:01:42 verbose #2971 > │ and closure40 () (v0 : string) : ((string []) -> string) = │
00:01:42 verbose #2972 > │ closure41(v0) │
00:01:42 verbose #2973 > │ and method5 (v0 : string) : string = │
00:01:42 verbose #2974 > │ v0 │
00:01:42 verbose #2975 > │ and closure43 (v0 : string) (v1 : string seq) : string = │
00:01:42 verbose #2976 > │ let v2 : string = method5(v0) │
00:01:42 verbose #2977 > │ let v3 : (string -> (string seq -> string)) = String.concat │
00:01:42 verbose #2978 > │ let v4 : (string seq -> string) = v3 v2 │
00:01:42 verbose #2979 > │ v4 v1 │
00:01:42 verbose #2980 > │ and closure42 () (v0 : string) : (string seq -> string) = │
00:01:42 verbose #2981 > │ closure43(v0) │
00:01:42 verbose #2982 > │ and closure45 (v0 : string) (v1 : (string [])) : string = │
00:01:42 verbose #2983 > │ let v2 : string = System.String.Join (v0, v1) │
00:01:42 verbose #2984 > │ v2 │
00:01:42 verbose #2985 > │ and closure44 () (v0 : string) : ((string []) -> string) = │
00:01:42 verbose #2986 > │ closure45(v0) │
00:01:42 verbose #2987 > │ and method6 (v0 : int32, v1 : Mut1) : bool = │
00:01:42 verbose #2988 > │ let v2 : int32 = v1.l0 │
00:01:42 verbose #2989 > │ let v3 : bool = v2 < v0 │
00:01:42 verbose #2990 > │ v3 │
00:01:42 verbose #2991 > │ and closure46 () (v0 : string) : (char []) = │
00:01:42 verbose #2992 > │ let v1 : int32 = v0.Length │
00:01:42 verbose #2993 > │ let v2 : (char []) = Array.zeroCreate<char> (v1) │
00:01:42 verbose #2994 > │ let v3 : Mut1 = {l0 = 0} : Mut1 │
00:01:42 verbose #2995 > │ while method6(v1, v3) do │
00:01:42 verbose #2996 > │ let v5 : int32 = v3.l0 │
00:01:42 verbose #2997 > │ let v6 : char = v0.[int v5] │
00:01:42 verbose #2998 > │ v2.[int v5] <- v6 │
00:01:42 verbose #2999 > │ let v7 : int32 = v5 + 1 │
00:01:42 verbose #3000 > │ v3.l0 <- v7 │
00:01:42 verbose #3001 > │ () │
00:01:42 verbose #3002 > │ v2 │
00:01:42 verbose #3003 > │ let v0 : (string -> (string -> bool)) = closure0() │
00:01:42 verbose #3004 > │ let contains x = v0 x │
00:01:42 verbose #3005 > │ let v1 : (string -> (string -> bool)) = closure2() │
00:01:42 verbose #3006 > │ let ends_with x = v1 x │
00:01:42 verbose #3007 > │ let v2 : (int32 -> (char -> (string -> string))) = closure4() │
00:01:42 verbose #3008 > │ let pad_left x = v2 x │
00:01:42 verbose #3009 > │ let v3 : (int32 -> (char -> (string -> string))) = closure7() │
00:01:42 verbose #3010 > │ let pad_right x = v3 x │
00:01:42 verbose #3011 > │ let v4 : (string -> (string -> (string -> string))) = closure10() │
00:01:42 verbose #3012 > │ let replace x = v4 x │
00:01:42 verbose #3013 > │ let v5 : (string -> (string -> (string -> string))) = closure13() │
00:01:42 verbose #3014 > │ let replace_regex x = v5 x │
00:01:42 verbose #3015 > │ let v6 : (int32 -> (int32 -> (string -> string))) = closure16() │
00:01:42 verbose #3016 > │ let slice x = v6 x │
00:01:42 verbose #3017 > │ let v7 : (string -> (string -> (string []))) = closure19() │
00:01:42 verbose #3018 > │ let split x = v7 x │
00:01:42 verbose #3019 > │ let v8 : ((string []) -> (string -> (string []))) = closure21() │
00:01:42 verbose #3020 > │ let split_string x = v8 x │
00:01:42 verbose #3021 > │ let v9 : (string -> (string -> bool)) = closure23() │
00:01:42 verbose #3022 > │ let starts_with x = v9 x │
00:01:42 verbose #3023 > │ let v10 : (int32 -> (int32 -> (string -> string))) = closure25() │
00:01:42 verbose #3024 > │ let substring x = v10 x │
00:01:42 verbose #3025 > │ let v11 : (string -> string) = closure28() │
00:01:42 verbose #3026 > │ let to_lower x = v11 x │
00:01:42 verbose #3027 > │ let v12 : (string -> string) = closure29() │
00:01:42 verbose #3028 > │ let to_upper x = v12 x │
00:01:42 verbose #3029 > │ let v13 : (string -> string) = closure30() │
00:01:42 verbose #3030 > │ let trim x = v13 x │
00:01:42 verbose #3031 > │ let v14 : ((char []) -> (string -> string)) = closure31() │
00:01:42 verbose #3032 > │ let trim_end x = v14 x │
00:01:42 verbose #3033 > │ let v15 : ((char []) -> (string -> string)) = closure33() │
00:01:42 verbose #3034 > │ let trim_start x = v15 x │
00:01:42 verbose #3035 > │ let v16 : (int32 -> (string -> string)) = closure35() │
00:01:42 verbose #3036 > │ let ellipsis x = v16 x │
00:01:42 verbose #3037 > │ let v17 : (int64 -> (string -> string)) = closure37() │
00:01:42 verbose #3038 > │ let ellipsis_end x = v17 x │
00:01:42 verbose #3039 > │ let v18 : (exn -> string) = closure39() │
00:01:42 verbose #3040 > │ let format_exception x = v18 x │
00:01:42 verbose #3041 > │ let v19 : (string -> ((string []) -> string)) = closure40() │
00:01:42 verbose #3042 > │ let concat_array_trailing x = v19 x │
00:01:42 verbose #3043 > │ let v20 : (string -> (string seq -> string)) = closure42() │
00:01:42 verbose #3044 > │ let concat x = v20 x │
00:01:42 verbose #3045 > │ let v21 : (string -> ((string []) -> string)) = closure44() │
00:01:42 verbose #3046 > │ let join' x = v21 x │
00:01:42 verbose #3047 > │ let v22 : (string -> (char [])) = closure46() │
00:01:42 verbose #3048 > │ let to_char_array x = v22 x │
00:01:42 verbose #3049 > │ () │
00:01:42 verbose #3050 > │ │
00:01:42 verbose #3051 > │ │
00:01:42 verbose #3052 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:42 verbose #3053 >
00:01:42 verbose #3054 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:42 verbose #3055 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:42 verbose #3056 > │ ## to_string std_string │
00:01:42 verbose #3057 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:42 verbose #3058 >
00:01:42 verbose #3059 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:42 verbose #3060 > open rust
00:01:42 verbose #3061 > instance to_string std_string = from_std_string
00:01:42 verbose #3062 > 00:01:41 debug #91 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4f9c96af4617cde6ce67026000529363caa592f82027691b05ca971f09f7e661/main.spi
00:01:42 verbose #3063 >
00:01:42 verbose #3064 > ╭─[ 674.34ms - stdout ]────────────────────────────────────────────────────────╮
00:01:42 verbose #3065 > │ () │
00:01:42 verbose #3066 > │ │
00:01:42 verbose #3067 > │ │
00:01:42 verbose #3068 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:44 verbose #3069 > [NbConvertApp] Converting notebook sm'.dib.ipynb to html
00:01:44 verbose #3070 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:44 verbose #3071 > validate(nb)
00:01:46 verbose #3072 > [NbConvertApp] Writing 505160 bytes to sm'.dib.html
00:01:47 debug #3073 execute_with_options_async / exit_code: 0 / output.Length: 199519
00:01:47 debug #3 main / executeCommand / exitCode: 0
00:01:47 debug #3074 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 rust.dib" -Retries 3", [||], None,
None, None)
00:01:47 verbose #3075 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: rust.dib / _args: [
00:01:47 verbose #3076 > "-Retries",
00:01:47 verbose #3077 > 3
00:01:47 verbose #3078 > ]
00:01:49 verbose #3079 >
00:01:49 verbose #3080 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:49 verbose #3081 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:49 verbose #3082 > │ # rust │
00:01:49 verbose #3083 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:49 verbose #3084 >
00:01:49 verbose #3085 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:49 verbose #3086 > //// test
00:01:49 verbose #3087 >
00:01:49 verbose #3088 > open testing
00:01:49 verbose #3089 >
00:01:49 verbose #3090 > ── spiral - import ─────────────────────────────────────────────────────────────
00:01:49 verbose #3091 > #r
00:01:49 verbose #3092 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:49 verbose #3093 > otNet.Interactive.Spiral.dll"
00:01:49 verbose #3094 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:01:49 verbose #3095 > #r
00:01:49 verbose #3096 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:01:49 verbose #3097 > otNet.Interactive.dll"
00:01:49 verbose #3098 > open type Microsoft.DotNet.Interactive.Kernel
00:01:54 verbose #3099 > 00:01:53 debug #92 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:01:54 verbose #3100 >
00:01:54 verbose #3101 > ╭─[ 4.78s - stdout ]───────────────────────────────────────────────────────────╮
00:01:54 verbose #3102 > │ () │
00:01:54 verbose #3103 > │ │
00:01:54 verbose #3104 > │ │
00:01:54 verbose #3105 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:54 verbose #3106 >
00:01:54 verbose #3107 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:54 verbose #3108 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:54 verbose #3109 > │ ## types │
00:01:54 verbose #3110 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:54 verbose #3111 >
00:01:54 verbose #3112 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:54 verbose #3113 > inl types () =
00:01:54 verbose #3114 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3115 > Fable.Core.Emit(\"Func0<$0>\")>]]\n#endif\ntype Func0<'T> = class end"
00:01:54 verbose #3116 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"Func1<$0,
00:01:54 verbose #3117 > $1>\")>]]\n#endif\ntype Func0<'T, 'U> = class end"
00:01:54 verbose #3118 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3119 > Fable.Core.Emit(\"Box<$0>\")>]]\n#endif\ntype Box<'T> = class end"
00:01:54 verbose #3120 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"dyn
00:01:54 verbose #3121 > $0\")>]]\n#endif\ntype Dyn<'T> = class end"
00:01:54 verbose #3122 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"$0 +
00:01:54 verbose #3123 > Send\")>]]\n#endif\ntype Send<'T> = class end"
00:01:54 verbose #3124 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"Fn() ->
00:01:54 verbose #3125 > $0\")>]]\n#endif\ntype Fn<'T> = class end"
00:01:54 verbose #3126 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3127 > Fable.Core.Emit(\"Fn()\")>]]\n#endif\ntype FnUnit = class end"
00:01:54 verbose #3128 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"FnOnce()
00:01:54 verbose #3129 > -> $0\")>]]\n#endif\ntype FnOnce<'T> = class end"
00:01:54 verbose #3130 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3131 > Fable.Core.Emit(\"Fn($0)\")>]]\n#endif\ntype ActionFn<'T> = class end"
00:01:54 verbose #3132 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"Fn($0,
00:01:54 verbose #3133 > $1)\")>]]\n#endif\ntype ActionFn2<'T, 'U> = class end"
00:01:54 verbose #3134 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"impl
00:01:54 verbose #3135 > $0\")>]]\n#endif\ntype Impl<'T> = class end"
00:01:54 verbose #3136 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"mut
00:01:54 verbose #3137 > $0\")>]]\n#endif\ntype Mut<'T> = class end"
00:01:54 verbose #3138 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3139 > Fable.Core.Emit(\"&$0\")>]]\n#endif\ntype Ref<'T> = class end"
00:01:54 verbose #3140 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"&'static
00:01:54 verbose #3141 > $0\")>]]\n#endif\ntype StaticRef<'T> = class end"
00:01:54 verbose #3142 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3143 > Fable.Core.Emit(\"MutCell<$0>\")>]]\n#endif\ntype MutCell<'T> = class end"
00:01:54 verbose #3144 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3145 > Fable.Core.Emit(\"std::any::Any\")>]]\n#endif\ntype std_any_Any = class end"
00:01:54 verbose #3146 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3147 > Fable.Core.Emit(\"std::borrow::Cow<$0>\")>]]\n#endif\ntype std_borrow_Cow<'T> =
00:01:54 verbose #3148 > class end"
00:01:54 verbose #3149 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3150 > Fable.Core.Emit(\"std::cell::RefCell<$0>\")>]]\n#endif\ntype
00:01:54 verbose #3151 > std_cell_RefCell<'T> = class end"
00:01:54 verbose #3152 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3153 > Fable.Core.Emit(\"std::pin::Pin<$0>\")>]]\n#endif\ntype std_pin_Pin<'T> = class
00:01:54 verbose #3154 > end"
00:01:54 verbose #3155 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3156 > Fable.Core.Emit(\"std::rc::Rc<$0>\")>]]\n#endif\ntype std_rc_Rc<'T> = class end"
00:01:54 verbose #3157 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:01:54 verbose #3158 > Fable.Core.Emit(\"std::rc::Weak<$0>\")>]]\n#endif\ntype std_rc_Weak<'T> = class
00:01:54 verbose #3159 > end"
00:01:55 verbose #3160 > 00:01:54 debug #93 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a2cd62ec7def5214102b0b4ac408742656f5dfdd2642341304ada8ccda593ab8/main.spi
00:01:55 verbose #3161 >
00:01:55 verbose #3162 > ╭─[ 676.25ms - stdout ]────────────────────────────────────────────────────────╮
00:01:55 verbose #3163 > │ () │
00:01:55 verbose #3164 > │ │
00:01:55 verbose #3165 > │ │
00:01:55 verbose #3166 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #3167 >
00:01:55 verbose #3168 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:55 verbose #3169 > nominal cow t = $"std_borrow_Cow<`t>"
00:01:55 verbose #3170 > nominal ref_cell t = $"std_cell_RefCell<`t>"
00:01:55 verbose #3171 > nominal rc t = $"std_rc_Rc<`t>"
00:01:55 verbose #3172 > nominal weak_rc t = $"std_rc_Weak<`t>"
00:01:55 verbose #3173 > nominal box t = $"Box<`t>"
00:01:55 verbose #3174 > nominal mut_cell t = $"MutCell<`t>"
00:01:55 verbose #3175 > nominal pin t = $"std_pin_Pin<`t>"
00:01:55 verbose #3176 > nominal dyn' t = $"Dyn<`t>"
00:01:55 verbose #3177 > nominal fn' t = $"Fn<`t>"
00:01:55 verbose #3178 > nominal action_fn t = $"ActionFn<`t>"
00:01:55 verbose #3179 > nominal action_fn2 t u = $"ActionFn2<`t, `u>"
00:01:55 verbose #3180 > nominal fn_once t = $"FnOnce<`t>"
00:01:55 verbose #3181 > nominal fn_unit = $"FnUnit"
00:01:55 verbose #3182 > nominal func0 t = $"Func0<`t>"
00:01:55 verbose #3183 > nominal func1 t u =
00:01:55 verbose #3184 > `(
00:01:55 verbose #3185 > typecase t with
00:01:55 verbose #3186 > | () => `func0 `u
00:01:55 verbose #3187 > | _ => $'' : $"Func0<`t, `u>"
00:01:55 verbose #3188 > )
00:01:55 verbose #3189 > nominal impl t = $"Impl<`t>"
00:01:55 verbose #3190 > nominal mut' t = $"Mut<`t>"
00:01:55 verbose #3191 > nominal ref' t = $"Ref<`t>"
00:01:55 verbose #3192 > nominal send t = $"Send<`t>"
00:01:55 verbose #3193 > nominal static_ref' t = $"StaticRef<`t>"
00:01:55 verbose #3194 > 00:01:54 debug #94 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/afbeb7abd6acfbc4c68cdb8bd9e84051fa1ccdc87dc27c4838fc793ee0e77858/main.spi
00:01:55 verbose #3195 >
00:01:55 verbose #3196 > ╭─[ 601.89ms - stdout ]────────────────────────────────────────────────────────╮
00:01:55 verbose #3197 > │ () │
00:01:55 verbose #3198 > │ │
00:01:55 verbose #3199 > │ │
00:01:55 verbose #3200 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #3201 >
00:01:55 verbose #3202 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:55 verbose #3203 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:55 verbose #3204 > │ ## emit_expr │
00:01:55 verbose #3205 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:55 verbose #3206 >
00:01:55 verbose #3207 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:55 verbose #3208 > inl emit_expr forall a t. (args : a) (code : string) : t =
00:01:55 verbose #3209 > real
00:01:55 verbose #3210 > $"Fable.Core.RustInterop.emitRustExpr !args !code" : t
00:01:56 verbose #3211 > 00:01:55 debug #95 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/66e39480e6ed47cf90ee6bdd8bad6976af0f0a45ecf473d44c0119d557837051/main.spi
00:01:56 verbose #3212 >
00:01:56 verbose #3213 > ╭─[ 637.50ms - stdout ]────────────────────────────────────────────────────────╮
00:01:56 verbose #3214 > │ () │
00:01:56 verbose #3215 > │ │
00:01:56 verbose #3216 > │ │
00:01:56 verbose #3217 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:56 verbose #3218 >
00:01:56 verbose #3219 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:56 verbose #3220 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:56 verbose #3221 > │ ## (~!\) │
00:01:56 verbose #3222 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:56 verbose #3223 >
00:01:56 verbose #3224 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:56 verbose #3225 > inl (~!\) forall t. (code : string) : t =
00:01:56 verbose #3226 > emit_expr () code
00:01:57 verbose #3227 > 00:01:56 debug #96 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9481cf7b98c8e0cb215007e42afc6eeda06046d52d290464b0b5efe64ebed100/main.spi
00:01:57 verbose #3228 >
00:01:57 verbose #3229 > ╭─[ 594.86ms - stdout ]────────────────────────────────────────────────────────╮
00:01:57 verbose #3230 > │ () │
00:01:57 verbose #3231 > │ │
00:01:57 verbose #3232 > │ │
00:01:57 verbose #3233 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:57 verbose #3234 >
00:01:57 verbose #3235 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:57 verbose #3236 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:57 verbose #3237 > │ ## (~!\\) │
00:01:57 verbose #3238 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:57 verbose #3239 >
00:01:57 verbose #3240 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:57 verbose #3241 > inl (~!\\) forall t u. ((args : t), (code : string)) : u =
00:01:57 verbose #3242 > emit_expr args code
00:01:57 verbose #3243 > 00:01:56 debug #97 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c7d92559961510e005eb36f13ef2b96afcb1198b1e1c163becb1fd7c9af77aa9/main.spi
00:01:57 verbose #3244 >
00:01:57 verbose #3245 > ╭─[ 590.35ms - stdout ]────────────────────────────────────────────────────────╮
00:01:57 verbose #3246 > │ () │
00:01:57 verbose #3247 > │ │
00:01:57 verbose #3248 > │ │
00:01:57 verbose #3249 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:57 verbose #3250 >
00:01:57 verbose #3251 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:57 verbose #3252 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:57 verbose #3253 > │ ## emit │
00:01:57 verbose #3254 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:57 verbose #3255 >
00:01:57 verbose #3256 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:57 verbose #3257 > inl emit forall t. (x : t) : t =
00:01:57 verbose #3258 > !\\(x, $'"$0"')
00:01:58 verbose #3259 > 00:01:57 debug #98 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/014cc06b04fc7b0bb90fb7755f24448ea9322284530f1d06f95e05a256a74ef1/main.spi
00:01:58 verbose #3260 >
00:01:58 verbose #3261 > ╭─[ 589.78ms - stdout ]────────────────────────────────────────────────────────╮
00:01:58 verbose #3262 > │ () │
00:01:58 verbose #3263 > │ │
00:01:58 verbose #3264 > │ │
00:01:58 verbose #3265 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #3266 >
00:01:58 verbose #3267 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:58 verbose #3268 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:58 verbose #3269 > │ ## emit' │
00:01:58 verbose #3270 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #3271 >
00:01:58 verbose #3272 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:58 verbose #3273 > inl emit' forall t. (x : t) : t =
00:01:58 verbose #3274 > !\\(x, $'"let !x = $0"')
00:01:58 verbose #3275 > x
00:01:58 verbose #3276 > 00:01:57 debug #99 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6a50362f8de919adff1834aa12faa1884efcb6f30bf5012b012a07c38ba710f6/main.spi
00:01:58 verbose #3277 >
00:01:58 verbose #3278 > ╭─[ 621.61ms - stdout ]────────────────────────────────────────────────────────╮
00:01:58 verbose #3279 > │ () │
00:01:58 verbose #3280 > │ │
00:01:58 verbose #3281 > │ │
00:01:58 verbose #3282 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #3283 >
00:01:58 verbose #3284 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:58 verbose #3285 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:58 verbose #3286 > │ ## clone │
00:01:58 verbose #3287 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:58 verbose #3288 >
00:01:58 verbose #3289 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:58 verbose #3290 > inl clone forall t. (x : t) : t =
00:01:58 verbose #3291 > !\($'"!x.clone()"')
00:01:59 verbose #3292 > 00:01:58 debug #100 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1ecca59fcb6701e1b156530ccde867c63459193885c378bd0aff2c75a3a84de9/main.spi
00:01:59 verbose #3293 >
00:01:59 verbose #3294 > ╭─[ 596.24ms - stdout ]────────────────────────────────────────────────────────╮
00:01:59 verbose #3295 > │ () │
00:01:59 verbose #3296 > │ │
00:01:59 verbose #3297 > │ │
00:01:59 verbose #3298 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:59 verbose #3299 >
00:01:59 verbose #3300 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:59 verbose #3301 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:59 verbose #3302 > │ ## new_box │
00:01:59 verbose #3303 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:59 verbose #3304 >
00:01:59 verbose #3305 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:59 verbose #3306 > inl new_box forall t. (x : t) : box t =
00:01:59 verbose #3307 > inl x = join x
00:01:59 verbose #3308 > !\($'"Box::new(!x)"')
00:02:00 verbose #3309 > 00:01:59 debug #101 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bccc480a28aeb76292f03abbd2a078a6fa8de54812302c76db7b64db1874e03c/main.spi
00:02:00 verbose #3310 >
00:02:00 verbose #3311 > ╭─[ 594.26ms - stdout ]────────────────────────────────────────────────────────╮
00:02:00 verbose #3312 > │ () │
00:02:00 verbose #3313 > │ │
00:02:00 verbose #3314 > │ │
00:02:00 verbose #3315 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:00 verbose #3316 >
00:02:00 verbose #3317 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:00 verbose #3318 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:00 verbose #3319 > │ ## new_rc │
00:02:00 verbose #3320 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:00 verbose #3321 >
00:02:00 verbose #3322 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:00 verbose #3323 > inl new_rc forall t. (x : t) : rc t =
00:02:00 verbose #3324 > inl x = join x
00:02:00 verbose #3325 > !\($'"std::rc::Rc::new(!x)"')
00:02:00 verbose #3326 > 00:01:59 debug #102 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7f57ae16aac1bebf33cde01a6288fad9807be221dc51996fe3e56b11d1beaa1b/main.spi
00:02:00 verbose #3327 >
00:02:00 verbose #3328 > ╭─[ 609.19ms - stdout ]────────────────────────────────────────────────────────╮
00:02:00 verbose #3329 > │ () │
00:02:00 verbose #3330 > │ │
00:02:00 verbose #3331 > │ │
00:02:00 verbose #3332 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:00 verbose #3333 >
00:02:00 verbose #3334 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:00 verbose #3335 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:00 verbose #3336 > │ ## rc_clone │
00:02:00 verbose #3337 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:00 verbose #3338 >
00:02:00 verbose #3339 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:00 verbose #3340 > inl rc_clone forall t. (x : rc t) : rc t =
00:02:00 verbose #3341 > inl x = join x
00:02:00 verbose #3342 > !\($'"std::rc::Rc::clone(&!x)"')
00:02:01 verbose #3343 > 00:02:00 debug #103 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8e949a3abd7143c200c3d9b70826407f4b0f76be58381272bbbbf85e72c76565/main.spi
00:02:01 verbose #3344 >
00:02:01 verbose #3345 > ╭─[ 634.90ms - stdout ]────────────────────────────────────────────────────────╮
00:02:01 verbose #3346 > │ () │
00:02:01 verbose #3347 > │ │
00:02:01 verbose #3348 > │ │
00:02:01 verbose #3349 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:01 verbose #3350 >
00:02:01 verbose #3351 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:01 verbose #3352 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:01 verbose #3353 > │ ## rc_unwrap_or_clone │
00:02:01 verbose #3354 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:01 verbose #3355 >
00:02:01 verbose #3356 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:01 verbose #3357 > inl rc_unwrap_or_clone forall t. (x : rc t) : t =
00:02:01 verbose #3358 > inl x = join x
00:02:01 verbose #3359 > !\($'"std::rc::Rc::unwrap_or_clone(!x)"')
00:02:01 verbose #3360 > 00:02:00 debug #104 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/29f7198579df8d1a5c2b65dcaa15d972870e6bd98c472ac4bff4f22eab097e9b/main.spi
00:02:02 verbose #3361 >
00:02:02 verbose #3362 > ╭─[ 640.30ms - stdout ]────────────────────────────────────────────────────────╮
00:02:02 verbose #3363 > │ () │
00:02:02 verbose #3364 > │ │
00:02:02 verbose #3365 > │ │
00:02:02 verbose #3366 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:02 verbose #3367 >
00:02:02 verbose #3368 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:02 verbose #3369 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:02 verbose #3370 > │ ## rc_downgrade │
00:02:02 verbose #3371 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:02 verbose #3372 >
00:02:02 verbose #3373 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:02 verbose #3374 > inl rc_downgrade forall t. (x : rc t) : weak_rc t =
00:02:02 verbose #3375 > inl x = join x
00:02:02 verbose #3376 > !\($'"std::rc::Rc::downgrade(&!x)"')
00:02:02 verbose #3377 > 00:02:01 debug #105 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/94a227ac8042b8292c3456554d2f6ba4d60b7c73141c382dc8fe0e8b8db57efa/main.spi
00:02:02 verbose #3378 >
00:02:02 verbose #3379 > ╭─[ 629.68ms - stdout ]────────────────────────────────────────────────────────╮
00:02:02 verbose #3380 > │ () │
00:02:02 verbose #3381 > │ │
00:02:02 verbose #3382 > │ │
00:02:02 verbose #3383 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:02 verbose #3384 >
00:02:02 verbose #3385 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:02 verbose #3386 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:02 verbose #3387 > │ ## new_ref_cell │
00:02:02 verbose #3388 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:02 verbose #3389 >
00:02:02 verbose #3390 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:02 verbose #3391 > inl new_ref_cell forall t. (x : t) : ref_cell t =
00:02:02 verbose #3392 > inl x = join x
00:02:02 verbose #3393 > !\($'"std::cell::RefCell::new(!x)"')
00:02:03 verbose #3394 > 00:02:02 debug #106 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c08fc63dbe7016dce24c992b8ce1cba3e434231cd9470ca95c35e02bb2d64ed7/main.spi
00:02:03 verbose #3395 >
00:02:03 verbose #3396 > ╭─[ 656.37ms - stdout ]────────────────────────────────────────────────────────╮
00:02:03 verbose #3397 > │ () │
00:02:03 verbose #3398 > │ │
00:02:03 verbose #3399 > │ │
00:02:03 verbose #3400 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:03 verbose #3401 >
00:02:03 verbose #3402 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:03 verbose #3403 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:03 verbose #3404 > │ ## ref_cell_borrow │
00:02:03 verbose #3405 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:03 verbose #3406 >
00:02:03 verbose #3407 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:03 verbose #3408 > inl ref_cell_borrow forall t. (x : rc (ref_cell t)) : t =
00:02:03 verbose #3409 > inl x = join x
00:02:03 verbose #3410 > !\($'"*std::cell::RefCell::borrow(&std::rc::Rc::clone(&!x))"')
00:02:03 verbose #3411 > 00:02:02 debug #107 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3c83cd44b52e12aec1fc922d550d855cbc965efe96f210018319c0367b80a5f3/main.spi
00:02:03 verbose #3412 >
00:02:03 verbose #3413 > ╭─[ 601.99ms - stdout ]────────────────────────────────────────────────────────╮
00:02:03 verbose #3414 > │ () │
00:02:03 verbose #3415 > │ │
00:02:03 verbose #3416 > │ │
00:02:03 verbose #3417 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:03 verbose #3418 >
00:02:03 verbose #3419 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:03 verbose #3420 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:03 verbose #3421 > │ ## ref_cell_borrow_mut │
00:02:03 verbose #3422 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:03 verbose #3423 >
00:02:03 verbose #3424 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:03 verbose #3425 > inl ref_cell_borrow_mut forall t. (x : rc (ref_cell t)) : mut' t =
00:02:03 verbose #3426 > inl x = join x
00:02:03 verbose #3427 > !\($'"*std::cell::RefCell::borrow_mut(&std::rc::Rc::clone(&!x))"')
00:02:04 verbose #3428 > 00:02:03 debug #108 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8e524848e0bc35d6aeab7d78ea8093194d1fba508bce820b5e50bc19be29cd73/main.spi
00:02:04 verbose #3429 >
00:02:04 verbose #3430 > ╭─[ 649.75ms - stdout ]────────────────────────────────────────────────────────╮
00:02:04 verbose #3431 > │ () │
00:02:04 verbose #3432 > │ │
00:02:04 verbose #3433 > │ │
00:02:04 verbose #3434 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:04 verbose #3435 >
00:02:04 verbose #3436 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:04 verbose #3437 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:04 verbose #3438 > │ ## to_mut │
00:02:04 verbose #3439 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:04 verbose #3440 >
00:02:04 verbose #3441 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:04 verbose #3442 > inl to_mut forall t. (x : t) : t =
00:02:04 verbose #3443 > (!\($'"true; // 1"') : bool) |> ignore
00:02:04 verbose #3444 > (!\($'"true; let mut !x = !x"') : bool) |> ignore
00:02:04 verbose #3445 > (!\($'"true; !x"') : bool) |> ignore
00:02:04 verbose #3446 > !\($'"!x"')
00:02:04 verbose #3447 > // inl result = !\($'"!x"') : mut' t
00:02:04 verbose #3448 > // !\($'"!result"')
00:02:04 verbose #3449 > // inl result = !\($'"*/ // a"') : mut' t
00:02:04 verbose #3450 > // inl result = !\($'"!x"') : mut' t
00:02:04 verbose #3451 > // result |> fun x => $'!x |> unbox // b'
00:02:05 verbose #3452 > 00:02:04 debug #109 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/38102c0549e78e0ff6fc6db53bb6737c6d620ff33025ba56904524a9d277577e/main.spi
00:02:05 verbose #3453 >
00:02:05 verbose #3454 > ╭─[ 628.78ms - stdout ]────────────────────────────────────────────────────────╮
00:02:05 verbose #3455 > │ () │
00:02:05 verbose #3456 > │ │
00:02:05 verbose #3457 > │ │
00:02:05 verbose #3458 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:05 verbose #3459 >
00:02:05 verbose #3460 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:05 verbose #3461 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:05 verbose #3462 > │ ## ref_map │
00:02:05 verbose #3463 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:05 verbose #3464 >
00:02:05 verbose #3465 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:05 verbose #3466 > inl ref_map forall t u. (fn : t -> u) (x : ref' t) : ref' u =
00:02:05 verbose #3467 > !\($'"!fn(!x)"')
00:02:05 verbose #3468 > 00:02:04 debug #110 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4df411ac8dddf56b54a36963d526912dad485deae9fac6829b244fbe40fc3dc3/main.spi
00:02:05 verbose #3469 >
00:02:05 verbose #3470 > ╭─[ 610.84ms - stdout ]────────────────────────────────────────────────────────╮
00:02:05 verbose #3471 > │ () │
00:02:05 verbose #3472 > │ │
00:02:05 verbose #3473 > │ │
00:02:05 verbose #3474 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:05 verbose #3475 >
00:02:05 verbose #3476 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:05 verbose #3477 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:05 verbose #3478 > │ ## from_mut │
00:02:05 verbose #3479 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:05 verbose #3480 >
00:02:05 verbose #3481 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:05 verbose #3482 > inl from_mut forall t. (x : mut' t) : t =
00:02:05 verbose #3483 > !\($'"!x"')
00:02:06 verbose #3484 > 00:02:05 debug #111 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8b6f26d794e97219a0d873244b010f11136069b80f58bb33097fcd9e295831e1/main.spi
00:02:06 verbose #3485 >
00:02:06 verbose #3486 > ╭─[ 657.77ms - stdout ]────────────────────────────────────────────────────────╮
00:02:06 verbose #3487 > │ () │
00:02:06 verbose #3488 > │ │
00:02:06 verbose #3489 > │ │
00:02:06 verbose #3490 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:06 verbose #3491 >
00:02:06 verbose #3492 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:06 verbose #3493 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:06 verbose #3494 > │ ## box_fn │
00:02:06 verbose #3495 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:06 verbose #3496 >
00:02:06 verbose #3497 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:06 verbose #3498 > inl box_fn forall t. (x : () -> ()) : box t =
00:02:06 verbose #3499 > inl x = join x
00:02:06 verbose #3500 > !\($'"Box::new(move || !x())"')
00:02:07 verbose #3501 > 00:02:06 debug #112 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/707cd317c3877fca29b8caf51d9c84ecfa4473806607409d551073158e72f973/main.spi
00:02:07 verbose #3502 >
00:02:07 verbose #3503 > ╭─[ 615.23ms - stdout ]────────────────────────────────────────────────────────╮
00:02:07 verbose #3504 > │ () │
00:02:07 verbose #3505 > │ │
00:02:07 verbose #3506 > │ │
00:02:07 verbose #3507 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:07 verbose #3508 >
00:02:07 verbose #3509 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:07 verbose #3510 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:07 verbose #3511 > │ ## box_pin │
00:02:07 verbose #3512 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:07 verbose #3513 >
00:02:07 verbose #3514 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:07 verbose #3515 > inl box_pin forall t. (x : t) : pin (box t) =
00:02:07 verbose #3516 > inl x = join x
00:02:07 verbose #3517 > !\($'"Box::pin(!x)"')
00:02:07 verbose #3518 > 00:02:06 debug #113 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5edb3f38b8517925a0dcc346ae33be470eed072d6badf6162c0ff9597b4a2164/main.spi
00:02:07 verbose #3519 >
00:02:07 verbose #3520 > ╭─[ 650.10ms - stdout ]────────────────────────────────────────────────────────╮
00:02:07 verbose #3521 > │ () │
00:02:07 verbose #3522 > │ │
00:02:07 verbose #3523 > │ │
00:02:07 verbose #3524 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:07 verbose #3525 >
00:02:07 verbose #3526 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:07 verbose #3527 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:07 verbose #3528 > │ ## deref │
00:02:07 verbose #3529 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:07 verbose #3530 >
00:02:07 verbose #3531 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:07 verbose #3532 > inl deref forall t. (ref : ref' t) : t =
00:02:07 verbose #3533 > inl ref = join ref
00:02:07 verbose #3534 > !\($'"*!ref"')
00:02:08 verbose #3535 > 00:02:07 debug #114 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8ea66a81cd61cfea02be33a3fd62c60e022bd41319ce2f034ec645a095d3bf84/main.spi
00:02:08 verbose #3536 >
00:02:08 verbose #3537 > ╭─[ 629.87ms - stdout ]────────────────────────────────────────────────────────╮
00:02:08 verbose #3538 > │ () │
00:02:08 verbose #3539 > │ │
00:02:08 verbose #3540 > │ │
00:02:08 verbose #3541 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:08 verbose #3542 >
00:02:08 verbose #3543 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:08 verbose #3544 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:08 verbose #3545 > │ ## ops_deref │
00:02:08 verbose #3546 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:08 verbose #3547 >
00:02:08 verbose #3548 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:08 verbose #3549 > inl ops_deref forall t. (ref : t) : t =
00:02:08 verbose #3550 > inl ref = join ref
00:02:08 verbose #3551 > !\($'"core::ops::Deref::deref(&!ref)"')
00:02:08 verbose #3552 > 00:02:07 debug #115 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8a636c55e7e3f02f69016ebf29689e08502dbca506928343d28a5312fab6e034/main.spi
00:02:09 verbose #3553 >
00:02:09 verbose #3554 > ╭─[ 636.54ms - stdout ]────────────────────────────────────────────────────────╮
00:02:09 verbose #3555 > │ () │
00:02:09 verbose #3556 > │ │
00:02:09 verbose #3557 > │ │
00:02:09 verbose #3558 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:09 verbose #3559 >
00:02:09 verbose #3560 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:09 verbose #3561 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:09 verbose #3562 > │ ## func0_get │
00:02:09 verbose #3563 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:09 verbose #3564 >
00:02:09 verbose #3565 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:09 verbose #3566 > inl func0_get forall t. (x : func0 t) : t =
00:02:09 verbose #3567 > inl x = join x
00:02:09 verbose #3568 > !\($'"!x()"')
00:02:09 verbose #3569 > 00:02:08 debug #116 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/79791e5d5e9ddcd48daab46ceb6b7241e6562ef434219098d723f03cabbc699f/main.spi
00:02:09 verbose #3570 >
00:02:09 verbose #3571 > ╭─[ 676.28ms - stdout ]────────────────────────────────────────────────────────╮
00:02:09 verbose #3572 > │ () │
00:02:09 verbose #3573 > │ │
00:02:09 verbose #3574 > │ │
00:02:09 verbose #3575 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:09 verbose #3576 >
00:02:09 verbose #3577 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:09 verbose #3578 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:09 verbose #3579 > │ ## func0_move │
00:02:09 verbose #3580 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:09 verbose #3581 >
00:02:09 verbose #3582 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:09 verbose #3583 > inl func0_move forall t. (fn : func0 t) : t =
00:02:09 verbose #3584 > inl fn = join fn
00:02:09 verbose #3585 > !\($'"(move || !fn())()"')
00:02:10 verbose #3586 > 00:02:09 debug #117 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/532076052f4104803f9dcdef5b98188c6d7a61b258466d31a500bfc2b203569c/main.spi
00:02:10 verbose #3587 >
00:02:10 verbose #3588 > ╭─[ 646.40ms - stdout ]────────────────────────────────────────────────────────╮
00:02:10 verbose #3589 > │ () │
00:02:10 verbose #3590 > │ │
00:02:10 verbose #3591 > │ │
00:02:10 verbose #3592 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:10 verbose #3593 >
00:02:10 verbose #3594 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:10 verbose #3595 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:10 verbose #3596 > │ ## move │
00:02:10 verbose #3597 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:10 verbose #3598 >
00:02:10 verbose #3599 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:10 verbose #3600 > inl move forall t. (fn : () -> t) : func0 t =
00:02:10 verbose #3601 > !\\(fn, $'"Func0::new(move || $0())"')
00:02:10 verbose #3602 > 00:02:09 debug #118 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3ce32145c7b3ef81af837c8c8cf650ae6e0aae746f49ccffb0a3f067298e0923/main.spi
00:02:11 verbose #3603 >
00:02:11 verbose #3604 > ╭─[ 643.68ms - stdout ]────────────────────────────────────────────────────────╮
00:02:11 verbose #3605 > │ () │
00:02:11 verbose #3606 > │ │
00:02:11 verbose #3607 > │ │
00:02:11 verbose #3608 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:11 verbose #3609 >
00:02:11 verbose #3610 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:11 verbose #3611 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:11 verbose #3612 > │ ## to_static_ref_unbox │
00:02:11 verbose #3613 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:11 verbose #3614 >
00:02:11 verbose #3615 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:11 verbose #3616 > inl to_static_ref_unbox forall t. (x : ref' t) : static_ref' t =
00:02:11 verbose #3617 > $"!x |> unbox"
00:02:11 verbose #3618 > 00:02:10 debug #119 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f2c25d639931d39e2ab30848cab1da257108929df8fa2e4f711544f171172cae/main.spi
00:02:11 verbose #3619 >
00:02:11 verbose #3620 > ╭─[ 631.31ms - stdout ]────────────────────────────────────────────────────────╮
00:02:11 verbose #3621 > │ () │
00:02:11 verbose #3622 > │ │
00:02:11 verbose #3623 > │ │
00:02:11 verbose #3624 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:11 verbose #3625 >
00:02:11 verbose #3626 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:11 verbose #3627 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:11 verbose #3628 > │ ## from_static_ref_unbox │
00:02:11 verbose #3629 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:11 verbose #3630 >
00:02:11 verbose #3631 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:11 verbose #3632 > inl from_static_ref_unbox forall t. (x : static_ref' t) : ref' t =
00:02:11 verbose #3633 > $"!x |> unbox"
00:02:12 verbose #3634 > 00:02:11 debug #120 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/763535801842531a354be2d685b4ce9a326e9ccc57f2a042a09a5ec3144ec957/main.spi
00:02:12 verbose #3635 >
00:02:12 verbose #3636 > ╭─[ 611.64ms - stdout ]────────────────────────────────────────────────────────╮
00:02:12 verbose #3637 > │ () │
00:02:12 verbose #3638 > │ │
00:02:12 verbose #3639 > │ │
00:02:12 verbose #3640 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #3641 >
00:02:12 verbose #3642 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:12 verbose #3643 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:12 verbose #3644 > │ ## box_leak │
00:02:12 verbose #3645 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #3646 >
00:02:12 verbose #3647 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:12 verbose #3648 > inl box_leak forall t. (x : box t) : static_ref' (mut' t) =
00:02:12 verbose #3649 > emit_expr () $"\"Box::leak(!x)\""
00:02:12 verbose #3650 > 00:02:11 debug #121 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5074053ab2b7a73e98eb263d862fed01862d47029e9ba65c151594d4ee91163e/main.spi
00:02:12 verbose #3651 >
00:02:12 verbose #3652 > ╭─[ 638.74ms - stdout ]────────────────────────────────────────────────────────╮
00:02:12 verbose #3653 > │ () │
00:02:12 verbose #3654 > │ │
00:02:12 verbose #3655 > │ │
00:02:12 verbose #3656 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #3657 >
00:02:12 verbose #3658 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:12 verbose #3659 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:12 verbose #3660 > │ ## drop │
00:02:12 verbose #3661 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:12 verbose #3662 >
00:02:12 verbose #3663 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:12 verbose #3664 > inl drop forall t. (x : t) : () =
00:02:12 verbose #3665 > !\\(x, $'"drop($0)"')
00:02:13 verbose #3666 > 00:02:12 debug #122 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/47991a24123eb0bc09cb688a440f1ead815bb5c2d3cbae0e097e1ba928477839/main.spi
00:02:13 verbose #3667 >
00:02:13 verbose #3668 > ╭─[ 606.44ms - stdout ]────────────────────────────────────────────────────────╮
00:02:13 verbose #3669 > │ () │
00:02:13 verbose #3670 > │ │
00:02:13 verbose #3671 > │ │
00:02:13 verbose #3672 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:13 verbose #3673 >
00:02:13 verbose #3674 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:13 verbose #3675 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:13 verbose #3676 > │ ## break │
00:02:13 verbose #3677 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:13 verbose #3678 >
00:02:13 verbose #3679 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:13 verbose #3680 > inl break () : () =
00:02:13 verbose #3681 > (!\($'"true; break"') : bool) |> ignore
00:02:14 verbose #3682 > 00:02:13 debug #123 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/94f2d5a9103e70ced49251383c7dd896712960f1876404e3f13cb2f55f39fbdd/main.spi
00:02:14 verbose #3683 >
00:02:14 verbose #3684 > ╭─[ 652.42ms - stdout ]────────────────────────────────────────────────────────╮
00:02:14 verbose #3685 > │ () │
00:02:14 verbose #3686 > │ │
00:02:14 verbose #3687 > │ │
00:02:14 verbose #3688 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #3689 >
00:02:14 verbose #3690 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:14 verbose #3691 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #3692 > │ ## loop │
00:02:14 verbose #3693 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #3694 >
00:02:14 verbose #3695 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:14 verbose #3696 > inl loop (fn : () -> ()) : () =
00:02:14 verbose #3697 > (!\\(fn, $'"true; loop { $0() }"') : bool) |> ignore
00:02:14 verbose #3698 > 00:02:13 debug #124 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d3621681b6d8d21744b5d99d87858e013e7e7d1935b199e0849d34243b3a1394/main.spi
00:02:14 verbose #3699 >
00:02:14 verbose #3700 > ╭─[ 655.44ms - stdout ]────────────────────────────────────────────────────────╮
00:02:14 verbose #3701 > │ () │
00:02:14 verbose #3702 > │ │
00:02:14 verbose #3703 > │ │
00:02:14 verbose #3704 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #3705 >
00:02:14 verbose #3706 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:14 verbose #3707 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:14 verbose #3708 > │ ## fix_closure │
00:02:14 verbose #3709 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:14 verbose #3710 >
00:02:14 verbose #3711 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:14 verbose #3712 > inl fix_closure depth' x' =
00:02:14 verbose #3713 > inl depth = depth' |> fst
00:02:14 verbose #3714 > if depth = 1
00:02:14 verbose #3715 > then !\($'"!x' })"')
00:02:14 verbose #3716 > elif depth = 2
00:02:14 verbose #3717 > then !\($'"!x' }})"')
00:02:14 verbose #3718 > elif depth = 3
00:02:14 verbose #3719 > then !\($'"!x' }}})"')
00:02:14 verbose #3720 > elif depth = 4
00:02:14 verbose #3721 > then !\($'"!x' }}}})"')
00:02:14 verbose #3722 > elif depth = 5
00:02:14 verbose #3723 > then !\($'"!x' }}}}})"')
00:02:14 verbose #3724 > elif depth = 6
00:02:14 verbose #3725 > then !\($'"!x' }}}}}})"')
00:02:14 verbose #3726 > elif depth = 7
00:02:14 verbose #3727 > then !\($'"!x' }}}}}}})"')
00:02:14 verbose #3728 > elif depth = 8
00:02:14 verbose #3729 > then !\($'"!x' }}}}}}}})"')
00:02:14 verbose #3730 >
00:02:14 verbose #3731 > inl depth = depth' |> snd
00:02:14 verbose #3732 > if depth = 1
00:02:14 verbose #3733 > then !\($'"{ //"')
00:02:14 verbose #3734 > elif depth = 2
00:02:14 verbose #3735 > then !\($'"{{ //"')
00:02:14 verbose #3736 > elif depth = 3
00:02:14 verbose #3737 > then !\($'"{{{ //"')
00:02:14 verbose #3738 > elif depth = 4
00:02:14 verbose #3739 > then !\($'"{{{{ //"')
00:02:14 verbose #3740 > elif depth = 5
00:02:14 verbose #3741 > then !\($'"{{{{{ //"')
00:02:14 verbose #3742 > elif depth = 6
00:02:14 verbose #3743 > then !\($'"{{{{{{ //"')
00:02:14 verbose #3744 > elif depth = 7
00:02:14 verbose #3745 > then !\($'"{{{{{{{ //"')
00:02:14 verbose #3746 > elif depth = 8
00:02:14 verbose #3747 > then !\($'"{{{{{{{{ //"')
00:02:15 verbose #3748 > 00:02:14 debug #125 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a8e11f51754375aeb6303462e3ecaff5d4700b8ab79f9a6f12b093fa11eb3518/main.spi
00:02:15 verbose #3749 >
00:02:15 verbose #3750 > ╭─[ 656.13ms - stdout ]────────────────────────────────────────────────────────╮
00:02:15 verbose #3751 > │ () │
00:02:15 verbose #3752 > │ │
00:02:15 verbose #3753 > │ │
00:02:15 verbose #3754 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:15 verbose #3755 >
00:02:15 verbose #3756 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:15 verbose #3757 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:15 verbose #3758 > │ ## run_tests │
00:02:15 verbose #3759 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:15 verbose #3760 >
00:02:15 verbose #3761 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:15 verbose #3762 > inl run_tests tests =
00:02:15 verbose #3763 > (!\($'"true; () //"') : bool) |> ignore
00:02:15 verbose #3764 >
00:02:15 verbose #3765 > tests
00:02:15 verbose #3766 > |> listm.iter fun name, fn =>
00:02:15 verbose #3767 > !\($'"} /* /*"')
00:02:15 verbose #3768 > (!\($'$"*/ #[[test]] fn " + !name + "() { //"') : bool) |> ignore
00:02:15 verbose #3769 > fn name |> ignore
00:02:15 verbose #3770 >
00:02:15 verbose #3771 > tests
00:02:15 verbose #3772 > |> listm.iter fun name, fn =>
00:02:15 verbose #3773 > !\($'"{ //"') : ()
00:02:16 verbose #3774 > 00:02:15 debug #126 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/65d21482cb591c955e12c3a9d8ff8beccbe60f2df14ab4ffb14b229c3a604345/main.spi
00:02:16 verbose #3775 >
00:02:16 verbose #3776 > ╭─[ 657.60ms - stdout ]────────────────────────────────────────────────────────╮
00:02:16 verbose #3777 > │ () │
00:02:16 verbose #3778 > │ │
00:02:16 verbose #3779 > │ │
00:02:16 verbose #3780 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:18 verbose #3781 > [NbConvertApp] Converting notebook rust.dib.ipynb to html
00:02:18 verbose #3782 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:18 verbose #3783 > validate(nb)
00:02:19 verbose #3784 > [NbConvertApp] Writing 358473 bytes to rust.dib.html
00:02:20 debug #3785 execute_with_options_async / exit_code: 0 / output.Length: 36875
00:02:20 debug #4 main / executeCommand / exitCode: 0
00:02:20 debug #3786 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 testing.dib -Retries 3"", [||],
None, None, None)
00:02:20 verbose #3787 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: testing.dib / _args: [
00:02:20 verbose #3788 > "-Retries",
00:02:20 verbose #3789 > 3
00:02:20 verbose #3790 > ]
00:02:22 verbose #3791 >
00:02:22 verbose #3792 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:22 verbose #3793 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:22 verbose #3794 > │ # testing │
00:02:22 verbose #3795 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:22 verbose #3796 >
00:02:22 verbose #3797 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:22 verbose #3798 > inl __expect fn log name b a =
00:02:22 verbose #3799 > inl result = fn a b
00:02:22 verbose #3800 > inl result =
00:02:22 verbose #3801 > result || join result
00:02:22 verbose #3802 > if log |> not
00:02:22 verbose #3803 > then "__expect"
00:02:22 verbose #3804 > else
00:02:22 verbose #3805 > inl text = $'$"{!name} / actual: %A{!a} / expected: %A{!b}"'
00:02:22 verbose #3806 > text |> console.write_line
00:02:22 verbose #3807 > text
00:02:22 verbose #3808 > |> assert result
00:02:22 verbose #3809 >
00:02:22 verbose #3810 > inl __assert_approx_eq log e b a = __expect (fun a b => abs (b - a) < (e |>
00:02:22 verbose #3811 > optionm.defaultWith 0.00000001)) log "assert_approx_eq" b a
00:02:22 verbose #3812 > inl _assert_approx_eq e b a = __assert_approx_eq true e b a
00:02:22 verbose #3813 >
00:02:22 verbose #3814 > inl __assert_eq log b a = __expect (=) log "assert_eq" b a
00:02:22 verbose #3815 > inl _assert_eq b a = __assert_eq true b a
00:02:22 verbose #3816 >
00:02:22 verbose #3817 > inl __assert_eq' log b a = __expect (=.) log "assert_eq'" b a
00:02:22 verbose #3818 > inl _assert_eq' b a = __assert_eq' true b a
00:02:22 verbose #3819 >
00:02:22 verbose #3820 > inl __assert_ne log b a = __expect (<>.) log "assert_ne" b a
00:02:22 verbose #3821 > inl _assert_ne b a = __assert_ne true b a
00:02:22 verbose #3822 >
00:02:22 verbose #3823 > inl __assert_gt log b a = __expect (>) log "assert_gt" b a
00:02:22 verbose #3824 > inl _assert_gt b a = __assert_gt true b a
00:02:22 verbose #3825 >
00:02:22 verbose #3826 > inl __assert_ge log b a = __expect (>=) log "assert_ge" b a
00:02:22 verbose #3827 > inl _assert_ge b a = __assert_ge true b a
00:02:22 verbose #3828 >
00:02:22 verbose #3829 > inl __assert_lt log b a = __expect (<) log "assert_lt" b a
00:02:22 verbose #3830 > inl _assert_lt b a = __assert_lt true b a
00:02:22 verbose #3831 >
00:02:22 verbose #3832 > inl __assert_le log b a = __expect (<=) log "assert_le" b a
00:02:22 verbose #3833 > inl _assert_le b a = __assert_le true b a
00:02:22 verbose #3834 >
00:02:22 verbose #3835 > inl __assert_contains forall t. log (b : t) a =
00:02:22 verbose #3836 > __expect
00:02:22 verbose #3837 > fun a b =>
00:02:22 verbose #3838 > a
00:02:22 verbose #3839 > |> $'List.ofSeq'
00:02:22 verbose #3840 > |> fun x => x : listm'.list' t
00:02:22 verbose #3841 > |> $'List.tryFind' ((=) b)
00:02:22 verbose #3842 > |> optionm'.unbox
00:02:22 verbose #3843 > |> fun (x : _ t) => x <> None
00:02:22 verbose #3844 > log "assert_contains" b a
00:02:22 verbose #3845 > inl _assert_contains b a = __assert_contains true b a
00:02:22 verbose #3846 >
00:02:22 verbose #3847 > inl __assert_string_contains log b a = __expect sm'.contains log
00:02:22 verbose #3848 > "assert_string_contains" a b
00:02:22 verbose #3849 > inl _assert_string_contains b a = __assert_string_contains true b a
00:02:22 verbose #3850 >
00:02:22 verbose #3851 > inl _throws (fn : () -> ()) : option exn =
00:02:22 verbose #3852 > inl none = None : option exn
00:02:22 verbose #3853 > inl some (s : exn) = Some s
00:02:22 verbose #3854 > $"try !fn (); !none with ex -> ex |> !some"
00:02:22 verbose #3855 >
00:02:22 verbose #3856 > inl __assert_between log a b actual =
00:02:22 verbose #3857 > inl assert_between actual (a, b) =
00:02:22 verbose #3858 > __assert_ge false a actual
00:02:22 verbose #3859 > __assert_le false b actual
00:02:22 verbose #3860 > true
00:02:22 verbose #3861 > __expect assert_between log "assert_between" (a, b) actual
00:02:22 verbose #3862 > inl _assert_between a b actual = __assert_between true a b actual
00:02:22 verbose #3863 >
00:02:22 verbose #3864 > ── spiral - import ─────────────────────────────────────────────────────────────
00:02:22 verbose #3865 > #r
00:02:22 verbose #3866 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:22 verbose #3867 > otNet.Interactive.Spiral.dll"
00:02:22 verbose #3868 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:02:22 verbose #3869 > #r
00:02:22 verbose #3870 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:22 verbose #3871 > otNet.Interactive.dll"
00:02:22 verbose #3872 > open type Microsoft.DotNet.Interactive.Kernel
00:02:25 verbose #3873 >
00:02:25 verbose #3874 > ── spiral - import ─────────────────────────────────────────────────────────────
00:02:25 verbose #3875 > inl __expect fn log name b a =
00:02:25 verbose #3876 > inl result = fn a b
00:02:25 verbose #3877 > inl result =
00:02:25 verbose #3878 > result || join result
00:02:25 verbose #3879 > if log |> not
00:02:25 verbose #3880 > then "__expect"
00:02:25 verbose #3881 > else
00:02:25 verbose #3882 > inl text = $'$"{!name} / actual: %A{!a} / expected: %A{!b}"'
00:02:25 verbose #3883 > text |> console.write_line
00:02:25 verbose #3884 > text
00:02:25 verbose #3885 > |> assert result
00:02:25 verbose #3886 >
00:02:25 verbose #3887 > inl __assert_approx_eq log e b a = __expect (fun a b => abs (b - a) < (e |>
00:02:25 verbose #3888 > optionm.defaultWith 0.00000001)) log "assert_approx_eq" b a
00:02:25 verbose #3889 > inl _assert_approx_eq e b a = __assert_approx_eq true e b a
00:02:25 verbose #3890 >
00:02:25 verbose #3891 > inl __assert_eq log b a = __expect (=) log "assert_eq" b a
00:02:25 verbose #3892 > inl _assert_eq b a = __assert_eq true b a
00:02:25 verbose #3893 >
00:02:25 verbose #3894 > inl __assert_eq' log b a = __expect (=.) log "assert_eq'" b a
00:02:25 verbose #3895 > inl _assert_eq' b a = __assert_eq' true b a
00:02:25 verbose #3896 >
00:02:25 verbose #3897 > inl __assert_ne log b a = __expect (<>.) log "assert_ne"...
00:02:26 verbose #3898 > 00:02:25 debug #127 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ecd450c5dbac18f928aa63848d9161f63a6b665e3ce9f22ed64aad5d18168bb3/main.spi
00:02:27 verbose #3899 >
00:02:27 verbose #3900 > ╭─[ 4.77s - stdout ]───────────────────────────────────────────────────────────╮
00:02:27 verbose #3901 > │ () │
00:02:27 verbose #3902 > │ │
00:02:27 verbose #3903 > │ │
00:02:27 verbose #3904 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:27 verbose #3905 >
00:02:27 verbose #3906 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:27 verbose #3907 > //// test
00:02:27 verbose #3908 >
00:02:27 verbose #3909 > 1f64
00:02:27 verbose #3910 > |> _assert_approx_eq (Some 3) 2
00:02:27 verbose #3911 > 00:02:26 debug #128 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7b8857ffee85f968413cd9a0b8590cf45374317b587162b0dbe25be275f269d5/main.spi
00:02:28 verbose #3912 >
00:02:28 verbose #3913 > ╭─[ 1.16s - stdout ]───────────────────────────────────────────────────────────╮
00:02:28 verbose #3914 > │ let rec method0 () : unit = │
00:02:28 verbose #3915 > │ let v0 : string = "assert_approx_eq" │
00:02:28 verbose #3916 > │ let v1 : string = $"{v0} / actual: %A{1.0} / expected: %A{2.0}" │
00:02:28 verbose #3917 > │ System.Console.WriteLine v1 │
00:02:28 verbose #3918 > │ () │
00:02:28 verbose #3919 > │ method0() │
00:02:28 verbose #3920 > │ │
00:02:28 verbose #3921 > │ assert_approx_eq / actual: 1.0 / expected: 2.0 │
00:02:28 verbose #3922 > │ │
00:02:28 verbose #3923 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:28 verbose #3924 >
00:02:28 verbose #3925 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:28 verbose #3926 > //// test
00:02:28 verbose #3927 >
00:02:28 verbose #3928 > "abcd"
00:02:28 verbose #3929 > |> _assert_contains 'b'
00:02:29 verbose #3930 > 00:02:27 debug #129 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/60bb7dfc59fa30b82f6f2e9576fda7362f23ea6edbb81476b8504e0220bbf926/main.spi
00:02:29 verbose #3931 >
00:02:29 verbose #3932 > ╭─[ 1.17s - stdout ]───────────────────────────────────────────────────────────╮
00:02:29 verbose #3933 > │ type [<Struct>] US0 = │
00:02:29 verbose #3934 > │ | US0_0 of f0_0 : char │
00:02:29 verbose #3935 > │ | US0_1 │
00:02:29 verbose #3936 > │ let rec closure0 () (v0 : char) : bool = │
00:02:29 verbose #3937 > │ let v1 : bool = 'b' = v0 │
00:02:29 verbose #3938 > │ v1 │
00:02:29 verbose #3939 > │ and closure1 () (v0 : char) : US0 = │
00:02:29 verbose #3940 > │ US0_0(v0) │
00:02:29 verbose #3941 > │ and method1 () : (char -> US0) = │
00:02:29 verbose #3942 > │ closure1() │
00:02:29 verbose #3943 > │ and method2 (v0 : bool) : bool = │
00:02:29 verbose #3944 > │ v0 │
00:02:29 verbose #3945 > │ and method0 () : unit = │
00:02:29 verbose #3946 > │ let v0 : (string -> char list) = List.ofSeq │
00:02:29 verbose #3947 > │ let v1 : string = "abcd" │
00:02:29 verbose #3948 > │ let v2 : char list = v0 v1 │
00:02:29 verbose #3949 > │ let v3 : ((char -> bool) -> (char list -> char option)) = List.tryFind │
00:02:29 verbose #3950 > │ let v4 : (char -> bool) = closure0() │
00:02:29 verbose #3951 > │ let v5 : (char list -> char option) = v3 v4 │
00:02:29 verbose #3952 > │ let v6 : char option = v5 v2 │
00:02:29 verbose #3953 > │ let v7 : (char -> US0) = method1() │
00:02:29 verbose #3954 > │ let v8 : US0 = US0_1 │
00:02:29 verbose #3955 > │ let v9 : US0 = v6 |> Option.map v7 |> Option.defaultValue v8 │
00:02:29 verbose #3956 > │ let v11 : bool = │
00:02:29 verbose #3957 > │ match v9 with │
00:02:29 verbose #3958 > │ | US0_1 -> (* None *) │
00:02:29 verbose #3959 > │ true │
00:02:29 verbose #3960 > │ | _ -> │
00:02:29 verbose #3961 > │ false │
00:02:29 verbose #3962 > │ let v12 : bool = v11 <> true │
00:02:29 verbose #3963 > │ let v14 : bool = │
00:02:29 verbose #3964 > │ if v12 then │
00:02:29 verbose #3965 > │ true │
00:02:29 verbose #3966 > │ else │
00:02:29 verbose #3967 > │ method2(v12) │
00:02:29 verbose #3968 > │ let v15 : string = "assert_contains" │
00:02:29 verbose #3969 > │ let v16 : string = $"{v15} / actual: %A{v1} / expected: %A{'b'}" │
00:02:29 verbose #3970 > │ System.Console.WriteLine v16 │
00:02:29 verbose #3971 > │ let v17 : bool = v14 = false │
00:02:29 verbose #3972 > │ if v17 then │
00:02:29 verbose #3973 > │ failwith<unit> v16 │
00:02:29 verbose #3974 > │ method0() │
00:02:29 verbose #3975 > │ │
00:02:29 verbose #3976 > │ assert_contains / actual: "abcd" / expected: 'b' │
00:02:29 verbose #3977 > │ │
00:02:29 verbose #3978 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:29 verbose #3979 >
00:02:29 verbose #3980 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:29 verbose #3981 > //// test
00:02:29 verbose #3982 >
00:02:29 verbose #3983 > (dyn 1f64)
00:02:29 verbose #3984 > |> _assert_approx_eq (Some 3) 2
00:02:30 verbose #3985 > 00:02:29 debug #130 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1a4903005d5334a93c43cc97ec9371d374e5cadd52856ff44610481d92a5f3e9/main.spi
00:02:30 verbose #3986 >
00:02:30 verbose #3987 > ╭─[ 652.91ms - stdout ]────────────────────────────────────────────────────────╮
00:02:30 verbose #3988 > │ let rec method1 (v0 : bool) : bool = │
00:02:30 verbose #3989 > │ v0 │
00:02:30 verbose #3990 > │ and method0 () : unit = │
00:02:30 verbose #3991 > │ let v0 : float = 1.0 │
00:02:30 verbose #3992 > │ let v1 : float = 2.0 - v0 │
00:02:30 verbose #3993 > │ let v2 : float = -v1 │
00:02:30 verbose #3994 > │ let v3 : bool = v1 >= v2 │
00:02:30 verbose #3995 > │ let v4 : float = │
00:02:30 verbose #3996 > │ if v3 then │
00:02:30 verbose #3997 > │ v1 │
00:02:30 verbose #3998 > │ else │
00:02:30 verbose #3999 > │ v2 │
00:02:30 verbose #4000 > │ let v5 : bool = v4 < 3.0 │
00:02:30 verbose #4001 > │ let v7 : bool = │
00:02:30 verbose #4002 > │ if v5 then │
00:02:30 verbose #4003 > │ true │
00:02:30 verbose #4004 > │ else │
00:02:30 verbose #4005 > │ method1(v5) │
00:02:30 verbose #4006 > │ let v8 : string = "assert_approx_eq" │
00:02:30 verbose #4007 > │ let v9 : string = $"{v8} / actual: %A{v0} / expected: %A{2.0}" │
00:02:30 verbose #4008 > │ System.Console.WriteLine v9 │
00:02:30 verbose #4009 > │ let v10 : bool = v7 = false │
00:02:30 verbose #4010 > │ if v10 then │
00:02:30 verbose #4011 > │ failwith<unit> v9 │
00:02:30 verbose #4012 > │ method0() │
00:02:30 verbose #4013 > │ │
00:02:30 verbose #4014 > │ assert_approx_eq / actual: 1.0 / expected: 2.0 │
00:02:30 verbose #4015 > │ │
00:02:30 verbose #4016 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:30 verbose #4017 >
00:02:30 verbose #4018 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:30 verbose #4019 > inl print_and_return x =
00:02:30 verbose #4020 > $"printfn $\"print_and_return / x: {!x}\""
00:02:30 verbose #4021 > x
00:02:30 verbose #4022 > 00:02:29 debug #131 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ab51d401bed3b514ff61d5f4a8dedb8c9ead11706fc22fc66e45bc30ccf52ebd/main.spi
00:02:30 verbose #4023 >
00:02:30 verbose #4024 > ╭─[ 614.96ms - stdout ]────────────────────────────────────────────────────────╮
00:02:30 verbose #4025 > │ () │
00:02:30 verbose #4026 > │ │
00:02:30 verbose #4027 > │ │
00:02:30 verbose #4028 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:32 verbose #4029 > [NbConvertApp] Converting notebook testing.dib.ipynb to html
00:02:32 verbose #4030 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:32 verbose #4031 > validate(nb)
00:02:34 verbose #4032 > [NbConvertApp] Writing 289839 bytes to testing.dib.html
00:02:34 debug #4033 execute_with_options_async / exit_code: 0 / output.Length: 12998
00:02:34 debug #5 main / executeCommand / exitCode: 0
00:02:34 debug #4034 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 guid.dib -Retries 3"", [||], None,
None, None)
00:02:35 verbose #4035 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: guid.dib / _args: [
00:02:35 verbose #4036 > "-Retries",
00:02:35 verbose #4037 > 3
00:02:35 verbose #4038 > ]
00:02:36 verbose #4039 >
00:02:36 verbose #4040 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:36 verbose #4041 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:36 verbose #4042 > │ # guid │
00:02:36 verbose #4043 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:37 verbose #4044 >
00:02:37 verbose #4045 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:37 verbose #4046 > //// test
00:02:37 verbose #4047 >
00:02:37 verbose #4048 > open testing
00:02:37 verbose #4049 >
00:02:37 verbose #4050 > ── spiral - import ─────────────────────────────────────────────────────────────
00:02:37 verbose #4051 > #r
00:02:37 verbose #4052 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:37 verbose #4053 > otNet.Interactive.Spiral.dll"
00:02:37 verbose #4054 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:02:37 verbose #4055 > #r
00:02:37 verbose #4056 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:37 verbose #4057 > otNet.Interactive.dll"
00:02:37 verbose #4058 > open type Microsoft.DotNet.Interactive.Kernel
00:02:41 verbose #4059 > 00:02:40 debug #132 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:02:42 verbose #4060 >
00:02:42 verbose #4061 > ╭─[ 5.05s - stdout ]───────────────────────────────────────────────────────────╮
00:02:42 verbose #4062 > │ () │
00:02:42 verbose #4063 > │ │
00:02:42 verbose #4064 > │ │
00:02:42 verbose #4065 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #4066 >
00:02:42 verbose #4067 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:42 verbose #4068 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:42 verbose #4069 > │ ## guid │
00:02:42 verbose #4070 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #4071 >
00:02:42 verbose #4072 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:42 verbose #4073 > nominal guid = $"System.Guid"
00:02:42 verbose #4074 > 00:02:41 debug #133 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6517e313f9503154aa5ee7a1629fa86d736f6d5f48d1ab2d649f0853228ee90e/main.spi
00:02:42 verbose #4075 >
00:02:42 verbose #4076 > ╭─[ 611.87ms - stdout ]────────────────────────────────────────────────────────╮
00:02:42 verbose #4077 > │ () │
00:02:42 verbose #4078 > │ │
00:02:42 verbose #4079 > │ │
00:02:42 verbose #4080 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #4081 >
00:02:42 verbose #4082 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:42 verbose #4083 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:42 verbose #4084 > │ ## new_guid │
00:02:42 verbose #4085 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:42 verbose #4086 >
00:02:42 verbose #4087 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:42 verbose #4088 > inl new_guid (x : string) : guid =
00:02:42 verbose #4089 > $'`guid !x '
00:02:43 verbose #4090 > 00:02:42 debug #134 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/29f3450430304d4686232eb9f6a7db75cad540e4dea309b81e3859e6a51b8995/main.spi
00:02:43 verbose #4091 >
00:02:43 verbose #4092 > ╭─[ 605.68ms - stdout ]────────────────────────────────────────────────────────╮
00:02:43 verbose #4093 > │ () │
00:02:43 verbose #4094 > │ │
00:02:43 verbose #4095 > │ │
00:02:43 verbose #4096 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #4097 >
00:02:43 verbose #4098 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:43 verbose #4099 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:43 verbose #4100 > │ ## new_raw_guid │
00:02:43 verbose #4101 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #4102 >
00:02:43 verbose #4103 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:43 verbose #4104 > inl new_raw_guid () : guid =
00:02:43 verbose #4105 > $"System.Guid.NewGuid ()"
00:02:43 verbose #4106 > 00:02:42 debug #135 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4a1db006ce7d18213e978fc34ec76201410781eb117ccab4bd86ececfd23284d/main.spi
00:02:43 verbose #4107 >
00:02:43 verbose #4108 > ╭─[ 605.37ms - stdout ]────────────────────────────────────────────────────────╮
00:02:43 verbose #4109 > │ () │
00:02:43 verbose #4110 > │ │
00:02:43 verbose #4111 > │ │
00:02:43 verbose #4112 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #4113 >
00:02:43 verbose #4114 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:43 verbose #4115 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:43 verbose #4116 > │ ## main │
00:02:43 verbose #4117 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:43 verbose #4118 >
00:02:43 verbose #4119 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:43 verbose #4120 > inl main () =
00:02:43 verbose #4121 > $"let new_guid x = !new_guid x" : ()
00:02:43 verbose #4122 > $"let new_raw_guid x = !new_raw_guid x" : ()
00:02:44 verbose #4123 > 00:02:43 debug #136 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bf70fa5b494c629568737b717405f6fbbeddb998efc237cda7883e8b23fdf7bf/main.spi
00:02:44 verbose #4124 >
00:02:44 verbose #4125 > ╭─[ 1.01s - stdout ]───────────────────────────────────────────────────────────╮
00:02:44 verbose #4126 > │ let rec closure0 () (v0 : string) : System.Guid = │
00:02:44 verbose #4127 > │ let v1 : System.Guid = System.Guid v0 │
00:02:44 verbose #4128 > │ v1 │
00:02:44 verbose #4129 > │ and closure1 () () : System.Guid = │
00:02:44 verbose #4130 > │ let v0 : System.Guid = System.Guid.NewGuid () │
00:02:44 verbose #4131 > │ v0 │
00:02:44 verbose #4132 > │ let v0 : (string -> System.Guid) = closure0() │
00:02:44 verbose #4133 > │ let new_guid x = v0 x │
00:02:44 verbose #4134 > │ let v1 : (unit -> System.Guid) = closure1() │
00:02:44 verbose #4135 > │ let new_raw_guid x = v1 x │
00:02:44 verbose #4136 > │ () │
00:02:44 verbose #4137 > │ │
00:02:44 verbose #4138 > │ │
00:02:44 verbose #4139 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:46 verbose #4140 > [NbConvertApp] Converting notebook guid.dib.ipynb to html
00:02:46 verbose #4141 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:02:46 verbose #4142 > validate(nb)
00:02:47 verbose #4143 > [NbConvertApp] Writing 278567 bytes to guid.dib.html
00:02:48 debug #4144 execute_with_options_async / exit_code: 0 / output.Length: 6211
00:02:48 debug #6 main / executeCommand / exitCode: 0
00:02:48 debug #4145 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 async.dib -Retries 3"", [||],
None, None, None)
00:02:48 verbose #4146 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: async.dib / _args: [
00:02:48 verbose #4147 > "-Retries",
00:02:48 verbose #4148 > 3
00:02:48 verbose #4149 > ]
00:02:50 verbose #4150 >
00:02:50 verbose #4151 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:50 verbose #4152 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:50 verbose #4153 > │ # async │
00:02:50 verbose #4154 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:50 verbose #4155 >
00:02:50 verbose #4156 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:50 verbose #4157 > //// test
00:02:50 verbose #4158 >
00:02:50 verbose #4159 > open testing
00:02:50 verbose #4160 >
00:02:50 verbose #4161 > ── spiral - import ─────────────────────────────────────────────────────────────
00:02:50 verbose #4162 > #r
00:02:50 verbose #4163 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:50 verbose #4164 > otNet.Interactive.Spiral.dll"
00:02:50 verbose #4165 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:02:50 verbose #4166 > #r
00:02:50 verbose #4167 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:02:50 verbose #4168 > otNet.Interactive.dll"
00:02:50 verbose #4169 > open type Microsoft.DotNet.Interactive.Kernel
00:02:55 verbose #4170 > 00:02:54 debug #137 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:02:55 verbose #4171 >
00:02:55 verbose #4172 > ╭─[ 4.86s - stdout ]───────────────────────────────────────────────────────────╮
00:02:55 verbose #4173 > │ () │
00:02:55 verbose #4174 > │ │
00:02:55 verbose #4175 > │ │
00:02:55 verbose #4176 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:55 verbose #4177 >
00:02:55 verbose #4178 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:55 verbose #4179 > open rust_operators
00:02:56 verbose #4180 > 00:02:55 debug #138 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9a6e9c279d2afa68c45190010644e01d975f289b3d25e7276d477d0fcedda643/main.spi
00:02:56 verbose #4181 >
00:02:56 verbose #4182 > ╭─[ 637.40ms - stdout ]────────────────────────────────────────────────────────╮
00:02:56 verbose #4183 > │ () │
00:02:56 verbose #4184 > │ │
00:02:56 verbose #4185 > │ │
00:02:56 verbose #4186 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:56 verbose #4187 >
00:02:56 verbose #4188 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:56 verbose #4189 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:56 verbose #4190 > │ ## types │
00:02:56 verbose #4191 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:56 verbose #4192 >
00:02:56 verbose #4193 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:56 verbose #4194 > inl types () =
00:02:56 verbose #4195 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:56 verbose #4196 > Fable.Core.Emit(\"std::future::Future<Output = $0>\")>]]\n#endif\ntype
00:02:56 verbose #4197 > std_future_Future<'T> = class end"
00:02:56 verbose #4198 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:56 verbose #4199 > Fable.Core.Emit(\"futures::future::TryJoinAll<$0>\")>]]\n#endif\ntype
00:02:56 verbose #4200 > futures_future_TryJoinAll<'T> = class end"
00:02:56 verbose #4201 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:56 verbose #4202 > Fable.Core.Emit(\"rayon::vec::IntoIter<$0>\")>]]\n#endif\ntype
00:02:56 verbose #4203 > rayon_vec_IntoIter<'T> = class end"
00:02:56 verbose #4204 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:56 verbose #4205 > Fable.Core.Emit(\"rayon::iter::Map<$0, _>\")>]]\n#endif\ntype rayon_iter_Map<'T>
00:02:56 verbose #4206 > = class end"
00:02:56 verbose #4207 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:02:56 verbose #4208 > Fable.Core.Emit(\"futures_lite::stream::StreamExt\")>]]\n#endif\ntype
00:02:56 verbose #4209 > futures_lite_stream_StreamExt = class end"
00:02:56 verbose #4210 > 00:02:55 debug #139 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dc8cea81024179ef47ac2bae7a6005d32b3827f407b7ba0e369e05019ccd1450/main.spi
00:02:56 verbose #4211 >
00:02:56 verbose #4212 > ╭─[ 636.61ms - stdout ]────────────────────────────────────────────────────────╮
00:02:56 verbose #4213 > │ () │
00:02:56 verbose #4214 > │ │
00:02:56 verbose #4215 > │ │
00:02:56 verbose #4216 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:56 verbose #4217 >
00:02:56 verbose #4218 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:56 verbose #4219 > nominal stream_ext = $'futures_lite_stream_StreamExt'
00:02:57 verbose #4220 > 00:02:56 debug #140 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c382a243b73ec658b6793c49776fd92bab78d5088a6df5e128ab1840fcbec1b3/main.spi
00:02:57 verbose #4221 >
00:02:57 verbose #4222 > ╭─[ 597.66ms - stdout ]────────────────────────────────────────────────────────╮
00:02:57 verbose #4223 > │ () │
00:02:57 verbose #4224 > │ │
00:02:57 verbose #4225 > │ │
00:02:57 verbose #4226 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:57 verbose #4227 >
00:02:57 verbose #4228 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:57 verbose #4229 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:57 verbose #4230 > │ ## async │
00:02:57 verbose #4231 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:57 verbose #4232 >
00:02:57 verbose #4233 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:57 verbose #4234 > nominal async t = $"Async<`t>"
00:02:58 verbose #4235 > 00:02:57 debug #141 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/37a31b06bdd2229893266abd5b22486761f6b042952465c21d115d043d5342c6/main.spi
00:02:58 verbose #4236 >
00:02:58 verbose #4237 > ╭─[ 601.45ms - stdout ]────────────────────────────────────────────────────────╮
00:02:58 verbose #4238 > │ () │
00:02:58 verbose #4239 > │ │
00:02:58 verbose #4240 > │ │
00:02:58 verbose #4241 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #4242 >
00:02:58 verbose #4243 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:58 verbose #4244 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:58 verbose #4245 > │ ## task │
00:02:58 verbose #4246 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #4247 >
00:02:58 verbose #4248 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:58 verbose #4249 > nominal task t =
00:02:58 verbose #4250 > `(
00:02:58 verbose #4251 > typecase t with
00:02:58 verbose #4252 > | () => $'' : $"System.Threading.Tasks.Task"
00:02:58 verbose #4253 > | _ => $'' : $"System.Threading.Tasks.Task<`t>"
00:02:58 verbose #4254 > )
00:02:58 verbose #4255 > 00:02:57 debug #142 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/849730a7d346d913df1a7e2505806ce086697b707219c1199be408dd351dd091/main.spi
00:02:58 verbose #4256 >
00:02:58 verbose #4257 > ╭─[ 596.44ms - stdout ]────────────────────────────────────────────────────────╮
00:02:58 verbose #4258 > │ () │
00:02:58 verbose #4259 > │ │
00:02:58 verbose #4260 > │ │
00:02:58 verbose #4261 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #4262 >
00:02:58 verbose #4263 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:58 verbose #4264 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:58 verbose #4265 > │ ## future │
00:02:58 verbose #4266 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:58 verbose #4267 >
00:02:58 verbose #4268 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:58 verbose #4269 > nominal future t = $"std_future_Future<`t>"
00:02:59 verbose #4270 > 00:02:58 debug #143 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/155785e3ea2d9eee39e15bb3eb97c82a82d3d06f6524fd146eab91ee71bff96c/main.spi
00:02:59 verbose #4271 >
00:02:59 verbose #4272 > ╭─[ 616.30ms - stdout ]────────────────────────────────────────────────────────╮
00:02:59 verbose #4273 > │ () │
00:02:59 verbose #4274 > │ │
00:02:59 verbose #4275 > │ │
00:02:59 verbose #4276 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:59 verbose #4277 >
00:02:59 verbose #4278 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:59 verbose #4279 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:59 verbose #4280 > │ ## future_pin │
00:02:59 verbose #4281 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:59 verbose #4282 >
00:02:59 verbose #4283 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:59 verbose #4284 > type future_pin t = rust.pin (rust.box (rust.dyn' (future t)))
00:02:59 verbose #4285 > 00:02:58 debug #144 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/43567c361e2d52c1d6f4d5167a408f21a21176e8e17547ee8d657b5d416c315a/main.spi
00:02:59 verbose #4286 >
00:02:59 verbose #4287 > ╭─[ 596.17ms - stdout ]────────────────────────────────────────────────────────╮
00:02:59 verbose #4288 > │ () │
00:02:59 verbose #4289 > │ │
00:02:59 verbose #4290 > │ │
00:02:59 verbose #4291 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:59 verbose #4292 >
00:02:59 verbose #4293 > ── markdown ────────────────────────────────────────────────────────────────────
00:02:59 verbose #4294 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:02:59 verbose #4295 > │ ## future_pin_send │
00:02:59 verbose #4296 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:02:59 verbose #4297 >
00:02:59 verbose #4298 > ── spiral ──────────────────────────────────────────────────────────────────────
00:02:59 verbose #4299 > type future_pin_send t = rust.pin (rust.box (rust.send (rust.dyn' (future t))))
00:03:00 verbose #4300 > 00:02:59 debug #145 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9b10825e0423aafb7a8021935cb3f86f7882e0b6cf8e9231cbb5e65b31305dc0/main.spi
00:03:00 verbose #4301 >
00:03:00 verbose #4302 > ╭─[ 629.63ms - stdout ]────────────────────────────────────────────────────────╮
00:03:00 verbose #4303 > │ () │
00:03:00 verbose #4304 > │ │
00:03:00 verbose #4305 > │ │
00:03:00 verbose #4306 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:00 verbose #4307 >
00:03:00 verbose #4308 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:00 verbose #4309 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:00 verbose #4310 > │ ## block_on │
00:03:00 verbose #4311 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:00 verbose #4312 >
00:03:00 verbose #4313 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:00 verbose #4314 > inl block_on forall t. (fn : future_pin t) : t =
00:03:00 verbose #4315 > !\\(fn, $'"futures_lite::future::block_on($0)"')
00:03:01 verbose #4316 > 00:03:00 debug #146 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/99c75e9243da5923442ab297b4a705f4944ea6b9ec02ef2e5053ab00e4bd1723/main.spi
00:03:01 verbose #4317 >
00:03:01 verbose #4318 > ╭─[ 593.02ms - stdout ]────────────────────────────────────────────────────────╮
00:03:01 verbose #4319 > │ () │
00:03:01 verbose #4320 > │ │
00:03:01 verbose #4321 > │ │
00:03:01 verbose #4322 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:01 verbose #4323 >
00:03:01 verbose #4324 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:01 verbose #4325 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:01 verbose #4326 > │ ## block_on_send │
00:03:01 verbose #4327 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:01 verbose #4328 >
00:03:01 verbose #4329 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:01 verbose #4330 > inl block_on_send forall t. (fn : future_pin_send t) : t =
00:03:01 verbose #4331 > !\($'"futures_lite::future::block_on(!fn)"')
00:03:01 verbose #4332 > 00:03:00 debug #147 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ad8f8359c87ed6e96dc6340f5b419301771299d72ce0e119ffeddc4253b39ec0/main.spi
00:03:01 verbose #4333 >
00:03:01 verbose #4334 > ╭─[ 636.31ms - stdout ]────────────────────────────────────────────────────────╮
00:03:01 verbose #4335 > │ () │
00:03:01 verbose #4336 > │ │
00:03:01 verbose #4337 > │ │
00:03:01 verbose #4338 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:01 verbose #4339 >
00:03:01 verbose #4340 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:01 verbose #4341 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:01 verbose #4342 > │ ## spawn │
00:03:01 verbose #4343 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:01 verbose #4344 >
00:03:01 verbose #4345 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:01 verbose #4346 > inl spawn forall t. (fn : future_pin t) : t =
00:03:01 verbose #4347 > !\($'"async_std::task::spawn(!fn)"')
00:03:02 verbose #4348 > 00:03:01 debug #148 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d6db456491e7bbbf98ccdd20c47de1c9584a3b1c9357f6ef2d02f0c5fdffa664/main.spi
00:03:02 verbose #4349 >
00:03:02 verbose #4350 > ╭─[ 615.09ms - stdout ]────────────────────────────────────────────────────────╮
00:03:02 verbose #4351 > │ () │
00:03:02 verbose #4352 > │ │
00:03:02 verbose #4353 > │ │
00:03:02 verbose #4354 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:02 verbose #4355 >
00:03:02 verbose #4356 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:02 verbose #4357 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:02 verbose #4358 > │ ## try_join_all │
00:03:02 verbose #4359 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:02 verbose #4360 >
00:03:02 verbose #4361 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:02 verbose #4362 > nominal try_join_all t = $"futures_future_TryJoinAll<`t>"
00:03:02 verbose #4363 >
00:03:02 verbose #4364 > inl try_join_all forall t. (x : am'.vec (future_pin (resultm.result' t
00:03:02 verbose #4365 > sm'.std_string))) : try_join_all (future_pin (resultm.result' t sm'.std_string))
00:03:02 verbose #4366 > =
00:03:02 verbose #4367 > inl x = join x
00:03:02 verbose #4368 > !\($'"futures::future::try_join_all(!x)"')
00:03:03 verbose #4369 > 00:03:02 debug #149 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1bef4905675ff9b2c9530455d795c73291adb260d946311dbed13506865cfea6/main.spi
00:03:03 verbose #4370 >
00:03:03 verbose #4371 > ╭─[ 658.21ms - stdout ]────────────────────────────────────────────────────────╮
00:03:03 verbose #4372 > │ () │
00:03:03 verbose #4373 > │ │
00:03:03 verbose #4374 > │ │
00:03:03 verbose #4375 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:03 verbose #4376 >
00:03:03 verbose #4377 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:03 verbose #4378 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:03 verbose #4379 > │ ## await_all │
00:03:03 verbose #4380 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:03 verbose #4381 >
00:03:03 verbose #4382 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:03 verbose #4383 > inl await_all forall t. (x : try_join_all (future_pin (resultm.result' t
00:03:03 verbose #4384 > sm'.std_string))) : resultm.result' (am'.vec t) sm'.std_string =
00:03:03 verbose #4385 > !\($'"!x.await"')
00:03:03 verbose #4386 > 00:03:02 debug #150 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e5acba43c749c2aa3b458fc61570c59da3328da05ff3dddc9afff96e6aba35ec/main.spi
00:03:03 verbose #4387 >
00:03:03 verbose #4388 > ╭─[ 621.01ms - stdout ]────────────────────────────────────────────────────────╮
00:03:03 verbose #4389 > │ () │
00:03:03 verbose #4390 > │ │
00:03:03 verbose #4391 > │ │
00:03:03 verbose #4392 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:03 verbose #4393 >
00:03:03 verbose #4394 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:03 verbose #4395 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:03 verbose #4396 > │ ## await_all_send │
00:03:03 verbose #4397 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:03 verbose #4398 >
00:03:03 verbose #4399 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:03 verbose #4400 > inl await_all_send forall t. (x : try_join_all (future_pin_send (resultm.result'
00:03:03 verbose #4401 > t sm'.std_string))) : resultm.result' (am'.vec t) sm'.std_string =
00:03:03 verbose #4402 > !\($'"!x.await"')
00:03:04 verbose #4403 > 00:03:03 debug #151 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9a7d026c683e9b04319ba7acb3202ab902296b1b039d4d6a2cb9c50e58b155f3/main.spi
00:03:04 verbose #4404 >
00:03:04 verbose #4405 > ╭─[ 657.24ms - stdout ]────────────────────────────────────────────────────────╮
00:03:04 verbose #4406 > │ () │
00:03:04 verbose #4407 > │ │
00:03:04 verbose #4408 > │ │
00:03:04 verbose #4409 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:04 verbose #4410 >
00:03:04 verbose #4411 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:04 verbose #4412 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:04 verbose #4413 > │ ## await │
00:03:04 verbose #4414 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:04 verbose #4415 >
00:03:04 verbose #4416 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:04 verbose #4417 > inl await forall t. (x : future_pin t) : t =
00:03:04 verbose #4418 > !\($'"!x.await"')
00:03:04 verbose #4419 > 00:03:03 debug #152 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/aec31543ce4a7dd9c0cac6c75013f07213cfbc392797c26b8bf1ebf16febfdd2/main.spi
00:03:05 verbose #4420 >
00:03:05 verbose #4421 > ╭─[ 619.09ms - stdout ]────────────────────────────────────────────────────────╮
00:03:05 verbose #4422 > │ () │
00:03:05 verbose #4423 > │ │
00:03:05 verbose #4424 > │ │
00:03:05 verbose #4425 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:05 verbose #4426 >
00:03:05 verbose #4427 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:05 verbose #4428 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:05 verbose #4429 > │ ## await │
00:03:05 verbose #4430 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:05 verbose #4431 >
00:03:05 verbose #4432 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:05 verbose #4433 > inl await_send forall t. (x : future_pin_send t) : t =
00:03:05 verbose #4434 > !\($'"!x.await"')
00:03:05 verbose #4435 > 00:03:04 debug #153 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ecda224bc8e222d718ac1ec07222ee94e73a64662c8cd2273a00b33ceef8575d/main.spi
00:03:05 verbose #4436 >
00:03:05 verbose #4437 > ╭─[ 611.34ms - stdout ]────────────────────────────────────────────────────────╮
00:03:05 verbose #4438 > │ () │
00:03:05 verbose #4439 > │ │
00:03:05 verbose #4440 > │ │
00:03:05 verbose #4441 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:05 verbose #4442 >
00:03:05 verbose #4443 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:05 verbose #4444 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:05 verbose #4445 > │ ## into_iter │
00:03:05 verbose #4446 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:05 verbose #4447 >
00:03:05 verbose #4448 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:05 verbose #4449 > nominal into_iter t = $'rayon_vec_IntoIter<`t>'
00:03:06 verbose #4450 > 00:03:05 debug #154 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e837e4fcdfd4593713f0111be7281a4758715f2e10c2af9384f397d2a54263ce/main.spi
00:03:06 verbose #4451 >
00:03:06 verbose #4452 > ╭─[ 615.02ms - stdout ]────────────────────────────────────────────────────────╮
00:03:06 verbose #4453 > │ () │
00:03:06 verbose #4454 > │ │
00:03:06 verbose #4455 > │ │
00:03:06 verbose #4456 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:06 verbose #4457 >
00:03:06 verbose #4458 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:06 verbose #4459 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:06 verbose #4460 > │ ## into_par_iter │
00:03:06 verbose #4461 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:06 verbose #4462 >
00:03:06 verbose #4463 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:06 verbose #4464 > inl into_par_iter forall t. (x : am'.vec t) : into_iter t =
00:03:06 verbose #4465 > !\($'"rayon::iter::IntoParallelIterator::into_par_iter(!x)"')
00:03:06 verbose #4466 > 00:03:05 debug #155 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fcf6dce17a024ba05b87c295b59393fcab979c956187939b4561bf29139bd3a1/main.spi
00:03:06 verbose #4467 >
00:03:06 verbose #4468 > ╭─[ 620.02ms - stdout ]────────────────────────────────────────────────────────╮
00:03:06 verbose #4469 > │ () │
00:03:06 verbose #4470 > │ │
00:03:06 verbose #4471 > │ │
00:03:06 verbose #4472 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:06 verbose #4473 >
00:03:06 verbose #4474 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:06 verbose #4475 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:06 verbose #4476 > │ ## par_iter │
00:03:06 verbose #4477 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:06 verbose #4478 >
00:03:06 verbose #4479 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:06 verbose #4480 > inl par_iter forall t. (x : am'.vec t) : into_iter t =
00:03:06 verbose #4481 > !\($'"rayon::iter::IntoParallelIterator::par_iter(!x)"')
00:03:07 verbose #4482 > 00:03:06 debug #156 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/107baf0b8ebf3f4832c53d8655d61af81195caedb0636bf8d357798c9e45c84d/main.spi
00:03:07 verbose #4483 >
00:03:07 verbose #4484 > ╭─[ 637.64ms - stdout ]────────────────────────────────────────────────────────╮
00:03:07 verbose #4485 > │ () │
00:03:07 verbose #4486 > │ │
00:03:07 verbose #4487 > │ │
00:03:07 verbose #4488 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:07 verbose #4489 >
00:03:07 verbose #4490 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:07 verbose #4491 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:07 verbose #4492 > │ ## iter_map │
00:03:07 verbose #4493 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:07 verbose #4494 >
00:03:07 verbose #4495 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:07 verbose #4496 > nominal iter_map t u = $'rayon_iter_Map<`t>'
00:03:08 verbose #4497 > 00:03:07 debug #157 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9f55e8a7f29b11ac9364aef311caabb5f8452e06351cde77c5d6395e071f937d/main.spi
00:03:08 verbose #4498 >
00:03:08 verbose #4499 > ╭─[ 639.92ms - stdout ]────────────────────────────────────────────────────────╮
00:03:08 verbose #4500 > │ () │
00:03:08 verbose #4501 > │ │
00:03:08 verbose #4502 > │ │
00:03:08 verbose #4503 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #4504 >
00:03:08 verbose #4505 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:08 verbose #4506 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:08 verbose #4507 > │ ## par_map │
00:03:08 verbose #4508 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #4509 >
00:03:08 verbose #4510 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:08 verbose #4511 > inl par_map forall t u. (fn : t -> u) (ar : into_iter t) : iter_map (into_iter
00:03:08 verbose #4512 > t) u =
00:03:08 verbose #4513 > !\\((ar, fn), $'"rayon::iter::ParallelIterator::map($0, |x| $1(x))"')
00:03:08 verbose #4514 > 00:03:07 debug #158 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/14f80570b8a2afc72a231b3f2f840ac50b959f078b16986ee7b11e49504a06a5/main.spi
00:03:08 verbose #4515 >
00:03:08 verbose #4516 > ╭─[ 644.49ms - stdout ]────────────────────────────────────────────────────────╮
00:03:08 verbose #4517 > │ () │
00:03:08 verbose #4518 > │ │
00:03:08 verbose #4519 > │ │
00:03:08 verbose #4520 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #4521 >
00:03:08 verbose #4522 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:08 verbose #4523 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:08 verbose #4524 > │ ## par_collect │
00:03:08 verbose #4525 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:08 verbose #4526 >
00:03:08 verbose #4527 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:08 verbose #4528 > inl par_collect forall t u. (iter : iter_map (into_iter t) u) : am'.vec u =
00:03:08 verbose #4529 > !\\(iter, $'"rayon::iter::ParallelIterator::collect($0)"')
00:03:09 verbose #4530 > 00:03:08 debug #159 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/76bbdad065773e44332f68cc881e8f98154990a3ae80388fa247ae8d0e1efa73/main.spi
00:03:09 verbose #4531 >
00:03:09 verbose #4532 > ╭─[ 661.29ms - stdout ]────────────────────────────────────────────────────────╮
00:03:09 verbose #4533 > │ () │
00:03:09 verbose #4534 > │ │
00:03:09 verbose #4535 > │ │
00:03:09 verbose #4536 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:09 verbose #4537 >
00:03:09 verbose #4538 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:09 verbose #4539 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:09 verbose #4540 > │ ## try_join_all_iter │
00:03:09 verbose #4541 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:09 verbose #4542 >
00:03:09 verbose #4543 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:09 verbose #4544 > inl try_join_all_iter forall t. (x : am'.vec (future_pin_send (resultm.result' t
00:03:09 verbose #4545 > sm'.std_string))) : try_join_all (future_pin_send (resultm.result' t
00:03:09 verbose #4546 > sm'.std_string)) =
00:03:09 verbose #4547 > inl x = join x
00:03:09 verbose #4548 > !\($'"futures::future::try_join_all(!x)"')
00:03:10 verbose #4549 > 00:03:09 debug #160 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/93b45e367aa4a771815a18b7dfa22e0f99d58448ffcbaf5f23723c3a22383792/main.spi
00:03:10 verbose #4550 >
00:03:10 verbose #4551 > ╭─[ 643.76ms - stdout ]────────────────────────────────────────────────────────╮
00:03:10 verbose #4552 > │ () │
00:03:10 verbose #4553 > │ │
00:03:10 verbose #4554 > │ │
00:03:10 verbose #4555 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #4556 >
00:03:10 verbose #4557 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:10 verbose #4558 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:10 verbose #4559 > │ ## new_future │
00:03:10 verbose #4560 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #4561 >
00:03:10 verbose #4562 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:10 verbose #4563 > inl new_future forall t. (x : () -> t) : future_pin t =
00:03:10 verbose #4564 > join
00:03:10 verbose #4565 > !\($'"{Box::pin(async { //"')
00:03:10 verbose #4566 > x () |> fun x => join $'!x '
00:03:10 verbose #4567 > !\($'"}}) //"')
00:03:10 verbose #4568 > 00:03:09 debug #161 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fa441e6960d472404024bf9094feb4a62954cefa72d4a31d7335b8f00eb5d01d/main.spi
00:03:10 verbose #4569 >
00:03:10 verbose #4570 > ╭─[ 642.38ms - stdout ]────────────────────────────────────────────────────────╮
00:03:10 verbose #4571 > │ () │
00:03:10 verbose #4572 > │ │
00:03:10 verbose #4573 > │ │
00:03:10 verbose #4574 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #4575 >
00:03:10 verbose #4576 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:10 verbose #4577 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:10 verbose #4578 > │ ## new_future_move │
00:03:10 verbose #4579 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #4580 >
00:03:10 verbose #4581 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:10 verbose #4582 > inl new_future_move forall t. (x : () -> t) : future_pin t =
00:03:10 verbose #4583 > join
00:03:10 verbose #4584 > !\($'"{Box::pin(async move { //"')
00:03:10 verbose #4585 > x () |> fun x => join $'!x '
00:03:10 verbose #4586 > !\($'"}}) //"')
00:03:11 verbose #4587 > 00:03:10 debug #162 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a9f2d5f86770fcb55ad409d937b4a61f7cb13c90a7b9acb7bf513bca38ac8cf3/main.spi
00:03:11 verbose #4588 >
00:03:11 verbose #4589 > ╭─[ 623.91ms - stdout ]────────────────────────────────────────────────────────╮
00:03:11 verbose #4590 > │ () │
00:03:11 verbose #4591 > │ │
00:03:11 verbose #4592 > │ │
00:03:11 verbose #4593 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:11 verbose #4594 >
00:03:11 verbose #4595 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:11 verbose #4596 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:11 verbose #4597 > │ ## future_init │
00:03:11 verbose #4598 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:11 verbose #4599 >
00:03:11 verbose #4600 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:11 verbose #4601 > inl future_init forall t. (depth : (u8 * u8)) (flag : u8) (x : () -> t) :
00:03:11 verbose #4602 > future_pin t =
00:03:11 verbose #4603 > // join
00:03:11 verbose #4604 > // if flag = 1
00:03:11 verbose #4605 > // then new_future_move x
00:03:11 verbose #4606 > // else new_future x
00:03:11 verbose #4607 > join
00:03:11 verbose #4608 > if flag = 1
00:03:11 verbose #4609 > then !\($'"let __result = Box::pin(async move { //"')
00:03:11 verbose #4610 > else !\($'"let __result = Box::pin(async { //"')
00:03:11 verbose #4611 >
00:03:11 verbose #4612 > let x' = x ()
00:03:11 verbose #4613 > inl x' = join x'
00:03:11 verbose #4614 >
00:03:11 verbose #4615 > x' |> rust.fix_closure depth
00:03:11 verbose #4616 >
00:03:11 verbose #4617 > !\($'"__result"')
00:03:12 verbose #4618 > 00:03:11 debug #163 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7c5e08ca49c5bb83348acaeae7de36023b6b3dbae8f368781a828ebd2adde3c7/main.spi
00:03:12 verbose #4619 >
00:03:12 verbose #4620 > ╭─[ 652.10ms - stdout ]────────────────────────────────────────────────────────╮
00:03:12 verbose #4621 > │ () │
00:03:12 verbose #4622 > │ │
00:03:12 verbose #4623 > │ │
00:03:12 verbose #4624 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:12 verbose #4625 >
00:03:12 verbose #4626 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:12 verbose #4627 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:12 verbose #4628 > │ ## future_init_send │
00:03:12 verbose #4629 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:12 verbose #4630 >
00:03:12 verbose #4631 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #4632 > inl future_init_send forall t. (depth : (u8 * u8)) (flag : u8) (x : () -> t) :
00:03:12 verbose #4633 > future_pin_send t =
00:03:12 verbose #4634 > // join
00:03:12 verbose #4635 > // if flag = 1
00:03:12 verbose #4636 > // then new_future_move x
00:03:12 verbose #4637 > // else new_future x
00:03:12 verbose #4638 > join
00:03:12 verbose #4639 > if flag = 1
00:03:12 verbose #4640 > then !\($'"let __result = Box::pin(async move { //"')
00:03:12 verbose #4641 > else !\($'"let __result = Box::pin(async { //"')
00:03:12 verbose #4642 >
00:03:12 verbose #4643 > let x' = x ()
00:03:12 verbose #4644 > inl x' = join x'
00:03:12 verbose #4645 >
00:03:12 verbose #4646 > x' |> rust.fix_closure depth
00:03:12 verbose #4647 >
00:03:12 verbose #4648 > !\($'"__result"')
00:03:12 verbose #4649 > 00:03:11 debug #164 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3d9948246c30e4596e806488b6b1570613d16991d00a14225aa781f3af1a7538/main.spi
00:03:12 verbose #4650 >
00:03:12 verbose #4651 > ╭─[ 618.88ms - stdout ]────────────────────────────────────────────────────────╮
00:03:12 verbose #4652 > │ () │
00:03:12 verbose #4653 > │ │
00:03:12 verbose #4654 > │ │
00:03:12 verbose #4655 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:12 verbose #4656 >
00:03:12 verbose #4657 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:12 verbose #4658 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:12 verbose #4659 > │ ## new_future_move_init │
00:03:12 verbose #4660 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:12 verbose #4661 >
00:03:12 verbose #4662 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:12 verbose #4663 > inl new_future_move_init forall t. (depth : (u8 * u8)) (flag : u8) (x : () -> t)
00:03:12 verbose #4664 > : future_pin t =
00:03:12 verbose #4665 > future_init depth flag x
00:03:12 verbose #4666 > // join
00:03:12 verbose #4667 > // !\($'"{Box::pin(async move { //"')
00:03:12 verbose #4668 > // inl x' = x () |> fun x => join $'!x '
00:03:12 verbose #4669 >
00:03:12 verbose #4670 > // inl depth = depth |> fst
00:03:12 verbose #4671 > // if depth = 1
00:03:12 verbose #4672 > // then !\($'"!x' })"')
00:03:12 verbose #4673 > // elif depth = 2
00:03:12 verbose #4674 > // then !\($'"!x' }})"')
00:03:12 verbose #4675 > // elif depth = 3
00:03:12 verbose #4676 > // then !\($'"!x' }}})"')
00:03:12 verbose #4677 > // elif depth = 4
00:03:12 verbose #4678 > // then !\($'"!x' }}}})"')
00:03:12 verbose #4679 >
00:03:12 verbose #4680 > // !\($'"// 1"')
00:03:13 verbose #4681 > 00:03:12 debug #165 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e88ef97b80459178336dd611a75c8ced178829e355c99966b001e8cd7db6ae31/main.spi
00:03:13 verbose #4682 >
00:03:13 verbose #4683 > ╭─[ 596.24ms - stdout ]────────────────────────────────────────────────────────╮
00:03:13 verbose #4684 > │ () │
00:03:13 verbose #4685 > │ │
00:03:13 verbose #4686 > │ │
00:03:13 verbose #4687 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:13 verbose #4688 >
00:03:13 verbose #4689 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:13 verbose #4690 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:13 verbose #4691 > │ ## new_async_unit │
00:03:13 verbose #4692 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:13 verbose #4693 >
00:03:13 verbose #4694 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:13 verbose #4695 > inl new_async_unit forall t. (fn : () -> ()) : async t =
00:03:13 verbose #4696 > run_target function
00:03:13 verbose #4697 > | Fsharp (Native) => fun () =>
00:03:13 verbose #4698 > inl result : optionm'.option' (async t) = optionm'.none' ()
00:03:13 verbose #4699 > $"let mutable _!result = !result"
00:03:13 verbose #4700 > $"async {"
00:03:13 verbose #4701 > fn ()
00:03:13 verbose #4702 > $"}"
00:03:13 verbose #4703 > $"|> fun x -> _!result <- Some x"
00:03:13 verbose #4704 > $"_!result |> Option.get"
00:03:13 verbose #4705 > | _ => fun () => null ()
00:03:13 verbose #4706 > 00:03:12 debug #166 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8a4a639925fd376ab4450e908b35a6c3d47be40db8a1a0704755733be599d7fa/main.spi
00:03:13 verbose #4707 >
00:03:13 verbose #4708 > ╭─[ 613.18ms - stdout ]────────────────────────────────────────────────────────╮
00:03:13 verbose #4709 > │ () │
00:03:13 verbose #4710 > │ │
00:03:13 verbose #4711 > │ │
00:03:13 verbose #4712 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:13 verbose #4713 >
00:03:13 verbose #4714 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:13 verbose #4715 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:13 verbose #4716 > │ ## new_async │
00:03:13 verbose #4717 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:13 verbose #4718 >
00:03:13 verbose #4719 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:13 verbose #4720 > inl new_async forall t. (fn : () -> t) : async t =
00:03:13 verbose #4721 > new_async_unit (fn >> ignore)
00:03:14 verbose #4722 > 00:03:13 debug #167 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6019c6909fda01dd183389f892709eabb6bc4f1623bf22b0d04bd098b8168a02/main.spi
00:03:14 verbose #4723 >
00:03:14 verbose #4724 > ╭─[ 657.58ms - stdout ]────────────────────────────────────────────────────────╮
00:03:14 verbose #4725 > │ () │
00:03:14 verbose #4726 > │ │
00:03:14 verbose #4727 > │ │
00:03:14 verbose #4728 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:14 verbose #4729 >
00:03:14 verbose #4730 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:14 verbose #4731 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:14 verbose #4732 > │ ## new_task │
00:03:14 verbose #4733 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:14 verbose #4734 >
00:03:14 verbose #4735 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:14 verbose #4736 > inl new_task forall t. (fn : () -> t) : task t =
00:03:14 verbose #4737 > run_target function
00:03:14 verbose #4738 > | Fsharp (Native) => fun () =>
00:03:14 verbose #4739 > inl result : optionm'.option' (task t) = optionm'.none' ()
00:03:14 verbose #4740 > $"let mutable _!result = !result"
00:03:14 verbose #4741 > $"task {"
00:03:14 verbose #4742 > fn () |> ignore
00:03:14 verbose #4743 > $"}"
00:03:14 verbose #4744 > $"|> fun x -> _!result <- Some x"
00:03:14 verbose #4745 > $"_!result |> Option.get"
00:03:14 verbose #4746 > | _ => fun () => null ()
00:03:15 verbose #4747 > 00:03:14 debug #168 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/595024da25dfcf71c4e9ef17fcc1134fab33e21c6f887c72d457b507d0f23cd9/main.spi
00:03:15 verbose #4748 >
00:03:15 verbose #4749 > ╭─[ 641.03ms - stdout ]────────────────────────────────────────────────────────╮
00:03:15 verbose #4750 > │ () │
00:03:15 verbose #4751 > │ │
00:03:15 verbose #4752 > │ │
00:03:15 verbose #4753 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #4754 >
00:03:15 verbose #4755 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:15 verbose #4756 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:15 verbose #4757 > │ ## await_task │
00:03:15 verbose #4758 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #4759 >
00:03:15 verbose #4760 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:15 verbose #4761 > inl await_task forall t. (a : task t) : async t =
00:03:15 verbose #4762 > run_target function
00:03:15 verbose #4763 > | Fsharp (Native) => fun () =>
00:03:15 verbose #4764 > a |> $'Async.AwaitTask'
00:03:15 verbose #4765 > | _ => fun () => null ()
00:03:15 verbose #4766 > 00:03:14 debug #169 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f6af2490ff1878dd7a432ca656af23ac1573cd9ce257a7b658d718d9dad8bbb0/main.spi
00:03:15 verbose #4767 >
00:03:15 verbose #4768 > ╭─[ 632.69ms - stdout ]────────────────────────────────────────────────────────╮
00:03:15 verbose #4769 > │ () │
00:03:15 verbose #4770 > │ │
00:03:15 verbose #4771 > │ │
00:03:15 verbose #4772 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #4773 >
00:03:15 verbose #4774 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:15 verbose #4775 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:15 verbose #4776 > │ ## ignore │
00:03:15 verbose #4777 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:15 verbose #4778 >
00:03:15 verbose #4779 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:15 verbose #4780 > inl ignore forall t. (a : async t) : async () =
00:03:15 verbose #4781 > run_target function
00:03:15 verbose #4782 > | Fsharp (Native) => fun () =>
00:03:15 verbose #4783 > a |> $'Async.Ignore'
00:03:15 verbose #4784 > | _ => fun () => null ()
00:03:16 verbose #4785 > 00:03:15 debug #170 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8af90428f0830d1b7a6ab99eec11c8d8020002994b00e469ba645854d9eed957/main.spi
00:03:16 verbose #4786 >
00:03:16 verbose #4787 > ╭─[ 619.25ms - stdout ]────────────────────────────────────────────────────────╮
00:03:16 verbose #4788 > │ () │
00:03:16 verbose #4789 > │ │
00:03:16 verbose #4790 > │ │
00:03:16 verbose #4791 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:16 verbose #4792 >
00:03:16 verbose #4793 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:16 verbose #4794 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:16 verbose #4795 > │ ## run_synchronously │
00:03:16 verbose #4796 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:16 verbose #4797 >
00:03:16 verbose #4798 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:16 verbose #4799 > inl run_synchronously forall t. (a : async t) : t =
00:03:16 verbose #4800 > run_target function
00:03:16 verbose #4801 > | Fsharp (Native) => fun () =>
00:03:16 verbose #4802 > a |> $'Async.RunSynchronously'
00:03:16 verbose #4803 > | _ => fun () => null ()
00:03:17 verbose #4804 > 00:03:16 debug #171 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f103a675b51a7fb29c67669d13f83690f55fa8922ae918b8ba1539b98f35566c/main.spi
00:03:17 verbose #4805 >
00:03:17 verbose #4806 > ╭─[ 612.56ms - stdout ]────────────────────────────────────────────────────────╮
00:03:17 verbose #4807 > │ () │
00:03:17 verbose #4808 > │ │
00:03:17 verbose #4809 > │ │
00:03:17 verbose #4810 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #4811 >
00:03:17 verbose #4812 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:17 verbose #4813 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:17 verbose #4814 > │ ## start │
00:03:17 verbose #4815 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #4816 >
00:03:17 verbose #4817 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:17 verbose #4818 > inl start (a : async ()) : () =
00:03:17 verbose #4819 > run_target function
00:03:17 verbose #4820 > | Fsharp (Native) => fun () =>
00:03:17 verbose #4821 > a |> $'Async.Start'
00:03:17 verbose #4822 > | _ => fun () => null ()
00:03:17 verbose #4823 > 00:03:16 debug #172 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9aade58f8f4731894e7a92d560b500e9b06a5bcefaa318316a0cb2dd4bda4bb1/main.spi
00:03:17 verbose #4824 >
00:03:17 verbose #4825 > ╭─[ 621.52ms - stdout ]────────────────────────────────────────────────────────╮
00:03:17 verbose #4826 > │ () │
00:03:17 verbose #4827 > │ │
00:03:17 verbose #4828 > │ │
00:03:17 verbose #4829 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #4830 >
00:03:17 verbose #4831 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:17 verbose #4832 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:17 verbose #4833 > │ ## start_child │
00:03:17 verbose #4834 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:17 verbose #4835 >
00:03:17 verbose #4836 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:17 verbose #4837 > inl start_child forall t. (a : async t) : async (async t) =
00:03:17 verbose #4838 > run_target function
00:03:17 verbose #4839 > | Fsharp (Native) => fun () =>
00:03:17 verbose #4840 > a |> $'Async.StartChild'
00:03:17 verbose #4841 > | _ => fun () => null ()
00:03:18 verbose #4842 > 00:03:17 debug #173 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9714f164070f1a0e2575db466ad103381b3587e3e2cf16b3eb2dd43323f9cd3c/main.spi
00:03:18 verbose #4843 >
00:03:18 verbose #4844 > ╭─[ 667.73ms - stdout ]────────────────────────────────────────────────────────╮
00:03:18 verbose #4845 > │ () │
00:03:18 verbose #4846 > │ │
00:03:18 verbose #4847 > │ │
00:03:18 verbose #4848 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:18 verbose #4849 >
00:03:18 verbose #4850 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:18 verbose #4851 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:18 verbose #4852 > │ ## start_child_timeout │
00:03:18 verbose #4853 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:18 verbose #4854 >
00:03:18 verbose #4855 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:18 verbose #4856 > inl start_child_timeout forall t. (timeout : i32) (a : async t) : async (async
00:03:18 verbose #4857 > t) =
00:03:18 verbose #4858 > run_target function
00:03:18 verbose #4859 > | Fsharp (Native) => fun () =>
00:03:18 verbose #4860 > $'Async.StartChild (!a, !timeout)'
00:03:18 verbose #4861 > | _ => fun () => null ()
00:03:18 verbose #4862 > 00:03:17 debug #174 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9b676592b1c49558969d8e7ef322ee26fac2e035258c915521751d6bf682d24b/main.spi
00:03:19 verbose #4863 >
00:03:19 verbose #4864 > ╭─[ 692.36ms - stdout ]────────────────────────────────────────────────────────╮
00:03:19 verbose #4865 > │ () │
00:03:19 verbose #4866 > │ │
00:03:19 verbose #4867 > │ │
00:03:19 verbose #4868 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:19 verbose #4869 >
00:03:19 verbose #4870 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:19 verbose #4871 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:19 verbose #4872 > │ ## start_immediate │
00:03:19 verbose #4873 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:19 verbose #4874 >
00:03:19 verbose #4875 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:19 verbose #4876 > inl start_immediate forall t. (a : async t) : () =
00:03:19 verbose #4877 > run_target function
00:03:19 verbose #4878 > | Fsharp (Native) => fun () =>
00:03:19 verbose #4879 > a |> $'Async.StartImmediate'
00:03:19 verbose #4880 > | _ => fun () => null ()
00:03:19 verbose #4881 > 00:03:18 debug #175 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/53683c1d765c975afa061eac978de093b3664941c1ec567d190513e196d9c328/main.spi
00:03:19 verbose #4882 >
00:03:19 verbose #4883 > ╭─[ 631.54ms - stdout ]────────────────────────────────────────────────────────╮
00:03:19 verbose #4884 > │ () │
00:03:19 verbose #4885 > │ │
00:03:19 verbose #4886 > │ │
00:03:19 verbose #4887 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:19 verbose #4888 >
00:03:19 verbose #4889 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:19 verbose #4890 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:19 verbose #4891 > │ ## task_canceled_exception │
00:03:19 verbose #4892 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:19 verbose #4893 >
00:03:19 verbose #4894 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:19 verbose #4895 > nominal task_canceled_exception =
00:03:19 verbose #4896 > $'System.Threading.Tasks.TaskCanceledException'
00:03:20 verbose #4897 > 00:03:19 debug #176 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6a523f86ad09dfbcd2742b0528698b2118d07a3ef9c7e813912a095959330b2a/main.spi
00:03:20 verbose #4898 >
00:03:20 verbose #4899 > ╭─[ 650.63ms - stdout ]────────────────────────────────────────────────────────╮
00:03:20 verbose #4900 > │ () │
00:03:20 verbose #4901 > │ │
00:03:20 verbose #4902 > │ │
00:03:20 verbose #4903 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:20 verbose #4904 >
00:03:20 verbose #4905 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:20 verbose #4906 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:20 verbose #4907 > │ ## sleep │
00:03:20 verbose #4908 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:20 verbose #4909 >
00:03:20 verbose #4910 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:20 verbose #4911 > inl sleep (ms : i32) : async () =
00:03:20 verbose #4912 > run_target function
00:03:20 verbose #4913 > | Fsharp (Native) => fun () =>
00:03:20 verbose #4914 > ms |> $'Async.Sleep'
00:03:20 verbose #4915 > | _ => fun () => null ()
00:03:20 verbose #4916 > 00:03:19 debug #177 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/28f2b68c355e1736d847cdb215900d50cc60d6f4b03dee7b7cf6d59c26fad118/main.spi
00:03:21 verbose #4917 >
00:03:21 verbose #4918 > ╭─[ 640.21ms - stdout ]────────────────────────────────────────────────────────╮
00:03:21 verbose #4919 > │ () │
00:03:21 verbose #4920 > │ │
00:03:21 verbose #4921 > │ │
00:03:21 verbose #4922 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:21 verbose #4923 >
00:03:21 verbose #4924 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:21 verbose #4925 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:21 verbose #4926 > │ ## do │
00:03:21 verbose #4927 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:21 verbose #4928 >
00:03:21 verbose #4929 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:21 verbose #4930 > inl do (a : async ()) : () =
00:03:21 verbose #4931 > $'do\! !a '
00:03:21 verbose #4932 > 00:03:20 debug #178 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bfec7e1a43c1435b2e28e45dbb991be91aa2dc0d3781e315bd87c80d0730bc44/main.spi
00:03:21 verbose #4933 >
00:03:21 verbose #4934 > ╭─[ 628.71ms - stdout ]────────────────────────────────────────────────────────╮
00:03:21 verbose #4935 > │ () │
00:03:21 verbose #4936 > │ │
00:03:21 verbose #4937 > │ │
00:03:21 verbose #4938 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:21 verbose #4939 >
00:03:21 verbose #4940 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:21 verbose #4941 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:21 verbose #4942 > │ ## let' │
00:03:21 verbose #4943 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:21 verbose #4944 >
00:03:21 verbose #4945 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:21 verbose #4946 > inl let' forall t. (a : async t) : t =
00:03:21 verbose #4947 > $'let\! !a = !a '
00:03:21 verbose #4948 > $'!a '
00:03:22 verbose #4949 > 00:03:21 debug #179 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8c1bb7e9be283769c1bb2bd4cc82430796659d4513f0211829c76d56fc8d1d06/main.spi
00:03:22 verbose #4950 >
00:03:22 verbose #4951 > ╭─[ 618.18ms - stdout ]────────────────────────────────────────────────────────╮
00:03:22 verbose #4952 > │ () │
00:03:22 verbose #4953 > │ │
00:03:22 verbose #4954 > │ │
00:03:22 verbose #4955 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:22 verbose #4956 >
00:03:22 verbose #4957 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:22 verbose #4958 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:22 verbose #4959 > │ ## return_await │
00:03:22 verbose #4960 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:22 verbose #4961 >
00:03:22 verbose #4962 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:22 verbose #4963 > inl return_await forall t. (a : async t) : () =
00:03:22 verbose #4964 > $'return\! !a '
00:03:22 verbose #4965 > 00:03:21 debug #180 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d1f90076461b504b412d08af795fc8c484c46d1c74961f508c93cbdcc28e3801/main.spi
00:03:22 verbose #4966 >
00:03:22 verbose #4967 > ╭─[ 667.73ms - stdout ]────────────────────────────────────────────────────────╮
00:03:22 verbose #4968 > │ () │
00:03:22 verbose #4969 > │ │
00:03:22 verbose #4970 > │ │
00:03:22 verbose #4971 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:22 verbose #4972 >
00:03:22 verbose #4973 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:22 verbose #4974 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:22 verbose #4975 > │ ## return_await' │
00:03:22 verbose #4976 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:22 verbose #4977 >
00:03:22 verbose #4978 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:22 verbose #4979 > inl return_await' forall t. (a : async t) : t =
00:03:22 verbose #4980 > $'return\! !a '
00:03:23 verbose #4981 > 00:03:22 debug #181 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/83faa0525a17ffd5ca4b158a392618abceb5ef16e1b28deab758b1b9342110c0/main.spi
00:03:23 verbose #4982 >
00:03:23 verbose #4983 > ╭─[ 623.93ms - stdout ]────────────────────────────────────────────────────────╮
00:03:23 verbose #4984 > │ () │
00:03:23 verbose #4985 > │ │
00:03:23 verbose #4986 > │ │
00:03:23 verbose #4987 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:23 verbose #4988 >
00:03:23 verbose #4989 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:23 verbose #4990 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:23 verbose #4991 > │ ## map │
00:03:23 verbose #4992 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:23 verbose #4993 >
00:03:23 verbose #4994 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:23 verbose #4995 > inl map forall t u. (fn : t -> u) (a : async t) : async u =
00:03:23 verbose #4996 > fun () =>
00:03:23 verbose #4997 > inl x = a |> let'
00:03:23 verbose #4998 > fn x |> return
00:03:23 verbose #4999 > |> new_async_unit
00:03:24 verbose #5000 > 00:03:23 debug #182 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/22a530efc6260a700f0249807afbadafa89ffabd4b908444316ad20025960f88/main.spi
00:03:24 verbose #5001 >
00:03:24 verbose #5002 > ╭─[ 649.55ms - stdout ]────────────────────────────────────────────────────────╮
00:03:24 verbose #5003 > │ () │
00:03:24 verbose #5004 > │ │
00:03:24 verbose #5005 > │ │
00:03:24 verbose #5006 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:24 verbose #5007 >
00:03:24 verbose #5008 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:24 verbose #5009 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:24 verbose #5010 > │ ## choice │
00:03:24 verbose #5011 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:24 verbose #5012 >
00:03:24 verbose #5013 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:24 verbose #5014 > union choice t1 t2 =
00:03:24 verbose #5015 > | Choice1Of2 : t1
00:03:24 verbose #5016 > | Choice2Of2 : t2
00:03:24 verbose #5017 >
00:03:24 verbose #5018 > nominal choice' t1 t2 = $'Choice<`t1, `t2>'
00:03:24 verbose #5019 > 00:03:23 debug #183 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6ecb6439a6307b81c07bc7b75743612ef9feeb20725af9270401bc6bb4ae6fe1/main.spi
00:03:24 verbose #5020 >
00:03:24 verbose #5021 > ╭─[ 627.97ms - stdout ]────────────────────────────────────────────────────────╮
00:03:24 verbose #5022 > │ () │
00:03:24 verbose #5023 > │ │
00:03:24 verbose #5024 > │ │
00:03:24 verbose #5025 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:24 verbose #5026 >
00:03:24 verbose #5027 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:24 verbose #5028 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:24 verbose #5029 > │ ## choice_unbox │
00:03:24 verbose #5030 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:24 verbose #5031 >
00:03:24 verbose #5032 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:24 verbose #5033 > inl choice_unbox forall t1 t2. (choice : choice' t1 t2) : choice t1 t2 =
00:03:24 verbose #5034 > run_target function
00:03:24 verbose #5035 > | Fsharp (Native) => fun () =>
00:03:24 verbose #5036 > inl choice1Of2 (x : t1) : _ _ t2 = Choice1Of2 x
00:03:24 verbose #5037 > inl choice2Of2 (x : t2) : _ t1 _ = Choice2Of2 x
00:03:24 verbose #5038 > $'match !choice with Choice1Of2 x -> !choice1Of2 x | Choice2Of2 x ->
00:03:24 verbose #5039 > !choice2Of2 x'
00:03:24 verbose #5040 > | _ => fun () => null ()
00:03:25 verbose #5041 > 00:03:24 debug #184 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9de35fbdff2832b2008d2be1afee8611a52a41720235a6a8d7fda0b873f27827/main.spi
00:03:25 verbose #5042 >
00:03:25 verbose #5043 > ╭─[ 649.92ms - stdout ]────────────────────────────────────────────────────────╮
00:03:25 verbose #5044 > │ () │
00:03:25 verbose #5045 > │ │
00:03:25 verbose #5046 > │ │
00:03:25 verbose #5047 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:25 verbose #5048 >
00:03:25 verbose #5049 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:25 verbose #5050 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:25 verbose #5051 > │ ## catch' │
00:03:25 verbose #5052 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:25 verbose #5053 >
00:03:25 verbose #5054 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:25 verbose #5055 > inl catch' forall t e. (a : async t) : async (choice' t e) =
00:03:25 verbose #5056 > run_target function
00:03:25 verbose #5057 > | Fsharp (Native) => fun () =>
00:03:25 verbose #5058 > a |> $'Async.Catch'
00:03:25 verbose #5059 > | _ => fun () => null ()
00:03:26 verbose #5060 > 00:03:25 debug #185 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0767c68cf6993e1bf78adbf4a819ba9a2162ea5eee34c6414616ba7cdf5cb2af/main.spi
00:03:26 verbose #5061 >
00:03:26 verbose #5062 > ╭─[ 716.63ms - stdout ]────────────────────────────────────────────────────────╮
00:03:26 verbose #5063 > │ () │
00:03:26 verbose #5064 > │ │
00:03:26 verbose #5065 > │ │
00:03:26 verbose #5066 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:26 verbose #5067 >
00:03:26 verbose #5068 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:26 verbose #5069 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:26 verbose #5070 > │ ## catch │
00:03:26 verbose #5071 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:26 verbose #5072 >
00:03:26 verbose #5073 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:26 verbose #5074 > inl catch forall t e. (a : async t) : async (result t e) =
00:03:26 verbose #5075 > a
00:03:26 verbose #5076 > |> catch'
00:03:26 verbose #5077 > |> map choice_unbox
00:03:26 verbose #5078 > |> map function
00:03:26 verbose #5079 > | Choice1Of2 result => Ok result
00:03:26 verbose #5080 > | Choice2Of2 ex => Error ex
00:03:26 verbose #5081 > 00:03:25 debug #186 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8c1842147ca8bbd1e0aabf4ed11ea44783e172a79b58c57a5e90225e66fdbbe1/main.spi
00:03:26 verbose #5082 >
00:03:26 verbose #5083 > ╭─[ 649.69ms - stdout ]────────────────────────────────────────────────────────╮
00:03:26 verbose #5084 > │ () │
00:03:26 verbose #5085 > │ │
00:03:26 verbose #5086 > │ │
00:03:26 verbose #5087 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:26 verbose #5088 >
00:03:26 verbose #5089 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:26 verbose #5090 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:26 verbose #5091 > │ ## run_with_timeout_async │
00:03:26 verbose #5092 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:26 verbose #5093 >
00:03:26 verbose #5094 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:26 verbose #5095 > inl run_with_timeout_async forall t. (timeout : i32) (fn : async t) : async
00:03:26 verbose #5096 > (option t) =
00:03:26 verbose #5097 > run_target function
00:03:26 verbose #5098 > | Fsharp (Native) => fun () =>
00:03:26 verbose #5099 > fun () =>
00:03:26 verbose #5100 > inl _locals () = $'$"timeout: {!timeout} / {!_locals ()}"'
00:03:26 verbose #5101 > inl child = fn |> start_child_timeout timeout |> let'
00:03:26 verbose #5102 > child
00:03:26 verbose #5103 > |> catch
00:03:26 verbose #5104 > |> map function
00:03:26 verbose #5105 > | Ok result => Some result
00:03:26 verbose #5106 > | Error ex when ex |> sm'.format_debug |> sm'.contains
00:03:26 verbose #5107 > "System.TimeoutException" =>
00:03:26 verbose #5108 > trace Debug (fun () => $'"run_with_timeout_async"')
00:03:26 verbose #5109 > _locals
00:03:26 verbose #5110 > None
00:03:26 verbose #5111 > | Error (ex : exn) =>
00:03:26 verbose #5112 > inl ex = ex |> sm'.format_exception
00:03:26 verbose #5113 > trace Critical (fun () => $'$"run_with_timeout_async**
00:03:26 verbose #5114 > ex: {!ex}"') _locals
00:03:26 verbose #5115 > None
00:03:26 verbose #5116 > |> return_await
00:03:26 verbose #5117 > |> new_async_unit
00:03:26 verbose #5118 > | _ => fun () => null ()
00:03:27 verbose #5119 > 00:03:26 debug #187 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/622530de1ef7e15ae4ddb67ec68478b8a0ee140d02a8218a61a13a89b7bead64/main.spi
00:03:27 verbose #5120 >
00:03:27 verbose #5121 > ╭─[ 640.04ms - stdout ]────────────────────────────────────────────────────────╮
00:03:27 verbose #5122 > │ () │
00:03:27 verbose #5123 > │ │
00:03:27 verbose #5124 > │ │
00:03:27 verbose #5125 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:27 verbose #5126 >
00:03:27 verbose #5127 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:27 verbose #5128 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:27 verbose #5129 > │ ## run_with_timeout │
00:03:27 verbose #5130 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:27 verbose #5131 >
00:03:27 verbose #5132 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:27 verbose #5133 > inl run_with_timeout timeout fn =
00:03:27 verbose #5134 > fn
00:03:27 verbose #5135 > |> run_with_timeout_async timeout
00:03:27 verbose #5136 > |> run_synchronously
00:03:28 verbose #5137 > 00:03:27 debug #188 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/aa593444b17450f058f005f81d7fae4934ed0c2e3299b4fee41c5c029e9605f7/main.spi
00:03:28 verbose #5138 >
00:03:28 verbose #5139 > ╭─[ 686.08ms - stdout ]────────────────────────────────────────────────────────╮
00:03:28 verbose #5140 > │ () │
00:03:28 verbose #5141 > │ │
00:03:28 verbose #5142 > │ │
00:03:28 verbose #5143 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:28 verbose #5144 >
00:03:28 verbose #5145 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:28 verbose #5146 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:28 verbose #5147 > │ ## cancellation_token │
00:03:28 verbose #5148 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:28 verbose #5149 >
00:03:28 verbose #5150 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:28 verbose #5151 > inl cancellation_token () : async threading.cancellation_token =
00:03:28 verbose #5152 > $'Async.CancellationToken'
00:03:28 verbose #5153 > 00:03:27 debug #189 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0440a628299f2db1a3493f63c2d81d1f47d3c85b8ab934b72827b5be3f572ff6/main.spi
00:03:28 verbose #5154 >
00:03:28 verbose #5155 > ╭─[ 655.71ms - stdout ]────────────────────────────────────────────────────────╮
00:03:28 verbose #5156 > │ () │
00:03:28 verbose #5157 > │ │
00:03:28 verbose #5158 > │ │
00:03:28 verbose #5159 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:28 verbose #5160 >
00:03:28 verbose #5161 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:28 verbose #5162 > inl default_cancellation_token () : threading.cancellation_token =
00:03:28 verbose #5163 > $'Async.DefaultCancellationToken'
00:03:29 verbose #5164 > 00:03:28 debug #190 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3687436f067b25148ce64c4089c19bba6918967db8ba87bedb4e63b66e421657/main.spi
00:03:29 verbose #5165 >
00:03:29 verbose #5166 > ╭─[ 648.61ms - stdout ]────────────────────────────────────────────────────────╮
00:03:29 verbose #5167 > │ () │
00:03:29 verbose #5168 > │ │
00:03:29 verbose #5169 > │ │
00:03:29 verbose #5170 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:29 verbose #5171 >
00:03:29 verbose #5172 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:29 verbose #5173 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:29 verbose #5174 > │ ## merge_cancellation_token_with_default_async │
00:03:29 verbose #5175 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:29 verbose #5176 >
00:03:29 verbose #5177 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:29 verbose #5178 > inl merge_cancellation_token_with_default_async
00:03:29 verbose #5179 > (token : threading.cancellation_token)
00:03:29 verbose #5180 > : async threading.cancellation_token
00:03:29 verbose #5181 > =
00:03:29 verbose #5182 > run_target function
00:03:29 verbose #5183 > | Fsharp (Native) => fun () =>
00:03:29 verbose #5184 > fun () =>
00:03:29 verbose #5185 > inl ct = cancellation_token () |> let'
00:03:29 verbose #5186 > inl dct = default_cancellation_token ()
00:03:29 verbose #5187 > inl cts = threading.create_linked_token_source ;[[ ct; dct;
00:03:29 verbose #5188 > token ]]
00:03:29 verbose #5189 > cts |> threading.cancellation_source_token |> return
00:03:29 verbose #5190 > |> new_async_unit
00:03:29 verbose #5191 > | _ => fun () => null ()
00:03:30 verbose #5192 > 00:03:29 debug #191 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fcf75e565de82c21c92b0e936dfcd0f9c5c20e33ae051903d92ac1ba337a3c88/main.spi
00:03:30 verbose #5193 >
00:03:30 verbose #5194 > ╭─[ 682.89ms - stdout ]────────────────────────────────────────────────────────╮
00:03:30 verbose #5195 > │ () │
00:03:30 verbose #5196 > │ │
00:03:30 verbose #5197 > │ │
00:03:30 verbose #5198 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:30 verbose #5199 >
00:03:30 verbose #5200 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:30 verbose #5201 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:30 verbose #5202 > │ ## with_trace_level │
00:03:30 verbose #5203 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:30 verbose #5204 >
00:03:30 verbose #5205 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:30 verbose #5206 > inl with_trace_level forall t. level fn : _ t = new_async fun () =>
00:03:30 verbose #5207 > inl trace_state = get_trace_state ()
00:03:30 verbose #5208 > inl old_trace_level = *trace_state.level
00:03:30 verbose #5209 > inl trace_level = trace_state.level
00:03:30 verbose #5210 > try_finally
00:03:30 verbose #5211 > fun () =>
00:03:30 verbose #5212 > trace_level <- level
00:03:30 verbose #5213 > fn |> return_await
00:03:30 verbose #5214 > fun () =>
00:03:30 verbose #5215 > trace_level <- old_trace_level
00:03:30 verbose #5216 > 00:03:29 debug #192 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4a32041fc8e7732b6ee644f125015582dedf2a0764a01b7b9f3c6e61f1d25056/main.spi
00:03:30 verbose #5217 >
00:03:30 verbose #5218 > ╭─[ 649.14ms - stdout ]────────────────────────────────────────────────────────╮
00:03:30 verbose #5219 > │ () │
00:03:30 verbose #5220 > │ │
00:03:30 verbose #5221 > │ │
00:03:30 verbose #5222 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:30 verbose #5223 >
00:03:30 verbose #5224 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:30 verbose #5225 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:30 verbose #5226 > │ ## value_task │
00:03:30 verbose #5227 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:30 verbose #5228 >
00:03:30 verbose #5229 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:30 verbose #5230 > nominal value_task = $'System.Threading.Tasks.ValueTask'
00:03:31 verbose #5231 > 00:03:30 debug #193 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7ae99ddfc9973f88c1f93c604918a288a8ce6a43cad15b19ce809c2a9030d60d/main.spi
00:03:31 verbose #5232 >
00:03:31 verbose #5233 > ╭─[ 691.54ms - stdout ]────────────────────────────────────────────────────────╮
00:03:31 verbose #5234 > │ () │
00:03:31 verbose #5235 > │ │
00:03:31 verbose #5236 > │ │
00:03:31 verbose #5237 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:31 verbose #5238 >
00:03:31 verbose #5239 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:31 verbose #5240 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:31 verbose #5241 > │ ## value_task_as_task │
00:03:31 verbose #5242 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:31 verbose #5243 >
00:03:31 verbose #5244 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:31 verbose #5245 > inl value_task_as_task (task : value_task) : task () =
00:03:31 verbose #5246 > $'!task.AsTask' ()
00:03:32 verbose #5247 > 00:03:31 debug #194 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b36b9207e09bd80c0536c5bd561c9eaa9429d36ce767ae7e750c2dfac81d1c55/main.spi
00:03:32 verbose #5248 >
00:03:32 verbose #5249 > ╭─[ 658.97ms - stdout ]────────────────────────────────────────────────────────╮
00:03:32 verbose #5250 > │ () │
00:03:32 verbose #5251 > │ │
00:03:32 verbose #5252 > │ │
00:03:32 verbose #5253 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:32 verbose #5254 >
00:03:32 verbose #5255 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:32 verbose #5256 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:32 verbose #5257 > │ ## await_value_task_unit │
00:03:32 verbose #5258 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:32 verbose #5259 >
00:03:32 verbose #5260 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:32 verbose #5261 > inl await_value_task_unit (task : value_task) : async () =
00:03:32 verbose #5262 > task |> value_task_as_task |> await_task
00:03:32 verbose #5263 > 00:03:31 debug #195 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/43f05a4f2a0abc62b1fd95f3f7d14c5cc1f7132a43e047b8694f73af34a6701b/main.spi
00:03:32 verbose #5264 >
00:03:32 verbose #5265 > ╭─[ 670.77ms - stdout ]────────────────────────────────────────────────────────╮
00:03:32 verbose #5266 > │ () │
00:03:32 verbose #5267 > │ │
00:03:32 verbose #5268 > │ │
00:03:32 verbose #5269 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:32 verbose #5270 >
00:03:32 verbose #5271 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:32 verbose #5272 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:32 verbose #5273 > │ ## main │
00:03:32 verbose #5274 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:32 verbose #5275 >
00:03:32 verbose #5276 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:32 verbose #5277 > inl main () =
00:03:32 verbose #5278 > types ()
00:03:32 verbose #5279 > $"let merge_cancellation_token_with_default_async x =
00:03:32 verbose #5280 > !merge_cancellation_token_with_default_async x" : ()
00:03:33 verbose #5281 > 00:03:32 debug #196 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ac626a928fbaa0d180472eb403edf03e69d6c81359990b56455d28fb5b6b091f/main.spi
00:03:34 verbose #5282 >
00:03:34 verbose #5283 > ╭─[ 1.40s - stdout ]───────────────────────────────────────────────────────────╮
00:03:34 verbose #5284 > │ #if FABLE_COMPILER │
00:03:34 verbose #5285 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>] │
00:03:34 verbose #5286 > │ #endif │
00:03:34 verbose #5287 > │ type std_future_Future<'T> = class end │
00:03:34 verbose #5288 > │ #if FABLE_COMPILER │
00:03:34 verbose #5289 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>] │
00:03:34 verbose #5290 > │ #endif │
00:03:34 verbose #5291 > │ type futures_future_TryJoinAll<'T> = class end │
00:03:34 verbose #5292 > │ #if FABLE_COMPILER │
00:03:34 verbose #5293 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>] │
00:03:34 verbose #5294 > │ #endif │
00:03:34 verbose #5295 > │ type rayon_vec_IntoIter<'T> = class end │
00:03:34 verbose #5296 > │ #if FABLE_COMPILER │
00:03:34 verbose #5297 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>] │
00:03:34 verbose #5298 > │ #endif │
00:03:34 verbose #5299 > │ type rayon_iter_Map<'T> = class end │
00:03:34 verbose #5300 > │ #if FABLE_COMPILER │
00:03:34 verbose #5301 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>] │
00:03:34 verbose #5302 > │ #endif │
00:03:34 verbose #5303 > │ type futures_lite_stream_StreamExt = class end │
00:03:34 verbose #5304 > │ let rec closure0 () (v0 : System.Threading.CancellationToken) : │
00:03:34 verbose #5305 > │ Async<System.Threading.CancellationToken> = │
00:03:34 verbose #5306 > │ let v1 : Async<System.Threading.CancellationToken> option = None │
00:03:34 verbose #5307 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:03:34 verbose #5308 > │ │
00:03:34 verbose #5309 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:03:34 verbose #5310 > │ │
00:03:34 verbose #5311 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:03:34 verbose #5312 > │ let v3 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5313 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5314 > │ v3 │
00:03:34 verbose #5315 > │ #endif │
00:03:34 verbose #5316 > │ │
00:03:34 verbose #5317 > │ #if FABLE_COMPILER_RUST && WASM │
00:03:34 verbose #5318 > │ let v4 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5319 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5320 > │ v4 │
00:03:34 verbose #5321 > │ #endif │
00:03:34 verbose #5322 > │ │
00:03:34 verbose #5323 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:03:34 verbose #5324 > │ let v5 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5325 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5326 > │ v5 │
00:03:34 verbose #5327 > │ #endif │
00:03:34 verbose #5328 > │ │
00:03:34 verbose #5329 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:03:34 verbose #5330 > │ let v6 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5331 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5332 > │ v6 │
00:03:34 verbose #5333 > │ #endif │
00:03:34 verbose #5334 > │ │
00:03:34 verbose #5335 > │ #if FABLE_COMPILER_PYTHON │
00:03:34 verbose #5336 > │ let v7 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5337 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5338 > │ v7 │
00:03:34 verbose #5339 > │ #endif │
00:03:34 verbose #5340 > │ │
00:03:34 verbose #5341 > │ #else │
00:03:34 verbose #5342 > │ let v8 : Async<System.Threading.CancellationToken> option = None │
00:03:34 verbose #5343 > │ let v9 : bool = true in let mutable _v8 = v8 │
00:03:34 verbose #5344 > │ │
00:03:34 verbose #5345 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:03:34 verbose #5346 > │ │
00:03:34 verbose #5347 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:03:34 verbose #5348 > │ let v10 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5349 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5350 > │ v10 │
00:03:34 verbose #5351 > │ #endif │
00:03:34 verbose #5352 > │ │
00:03:34 verbose #5353 > │ #if FABLE_COMPILER_RUST && WASM │
00:03:34 verbose #5354 > │ let v11 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5355 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5356 > │ v11 │
00:03:34 verbose #5357 > │ #endif │
00:03:34 verbose #5358 > │ │
00:03:34 verbose #5359 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:03:34 verbose #5360 > │ let v12 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5361 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5362 > │ v12 │
00:03:34 verbose #5363 > │ #endif │
00:03:34 verbose #5364 > │ │
00:03:34 verbose #5365 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:03:34 verbose #5366 > │ let v13 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5367 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5368 > │ v13 │
00:03:34 verbose #5369 > │ #endif │
00:03:34 verbose #5370 > │ │
00:03:34 verbose #5371 > │ #if FABLE_COMPILER_PYTHON │
00:03:34 verbose #5372 > │ let v14 : Async<System.Threading.CancellationToken> = null |> │
00:03:34 verbose #5373 > │ unbox<Async<System.Threading.CancellationToken>> │
00:03:34 verbose #5374 > │ v14 │
00:03:34 verbose #5375 > │ #endif │
00:03:34 verbose #5376 > │ │
00:03:34 verbose #5377 > │ #else │
00:03:34 verbose #5378 > │ let v15 : Async<System.Threading.CancellationToken> option = None │
00:03:34 verbose #5379 > │ let mutable _v15 = v15 │
00:03:34 verbose #5380 > │ async { │
00:03:34 verbose #5381 > │ let v16 : Async<System.Threading.CancellationToken> = │
00:03:34 verbose #5382 > │ Async.CancellationToken │
00:03:34 verbose #5383 > │ let! v16 = v16 │
00:03:34 verbose #5384 > │ let v17 : System.Threading.CancellationToken = v16 │
00:03:34 verbose #5385 > │ let v18 : System.Threading.CancellationToken = │
00:03:34 verbose #5386 > │ Async.DefaultCancellationToken │
00:03:34 verbose #5387 > │ let v19 : (System.Threading.CancellationToken []) = [|v17; v18; v0|] │
00:03:34 verbose #5388 > │ let v20 : ((System.Threading.CancellationToken []) -> │
00:03:34 verbose #5389 > │ System.Threading.CancellationTokenSource) = │
00:03:34 verbose #5390 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:03:34 verbose #5391 > │ let v21 : System.Threading.CancellationTokenSource = v20 v19 │
00:03:34 verbose #5392 > │ let v22 : System.Threading.CancellationToken = v21.Token │
00:03:34 verbose #5393 > │ return v22 │
00:03:34 verbose #5394 > │ } │
00:03:34 verbose #5395 > │ |> fun x -> _v15 <- Some x │
00:03:34 verbose #5396 > │ let v23 : Async<System.Threading.CancellationToken> = _v15 |> Option.get │
00:03:34 verbose #5397 > │ v23 │
00:03:34 verbose #5398 > │ #endif │
00:03:34 verbose #5399 > │ |> fun x -> _v8 <- Some x │
00:03:34 verbose #5400 > │ let v24 : Async<System.Threading.CancellationToken> = _v8.Value │
00:03:34 verbose #5401 > │ v24 │
00:03:34 verbose #5402 > │ #endif │
00:03:34 verbose #5403 > │ |> fun x -> _v1 <- Some x │
00:03:34 verbose #5404 > │ let v25 : Async<System.Threading.CancellationToken> = _v1.Value │
00:03:34 verbose #5405 > │ v25 │
00:03:34 verbose #5406 > │ let v0 : (System.Threading.CancellationToken -> │
00:03:34 verbose #5407 > │ Async<System.Threading.CancellationToken>) = closure0() │
00:03:34 verbose #5408 > │ let merge_cancellation_token_with_default_async x = v0 x │
00:03:34 verbose #5409 > │ () │
00:03:34 verbose #5410 > │ │
00:03:34 verbose #5411 > │ │
00:03:34 verbose #5412 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:36 verbose #5413 > [NbConvertApp] Converting notebook async.dib.ipynb to html
00:03:36 verbose #5414 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:03:36 verbose #5415 > validate(nb)
00:03:37 verbose #5416 > [NbConvertApp] Writing 412211 bytes to async.dib.html
00:03:38 debug #5417 execute_with_options_async / exit_code: 0 / output.Length: 70381
00:03:38 debug #7 main / executeCommand / exitCode: 0
00:03:38 debug #5418 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 runtime.dib -Retries 3"", [||],
None, None, None)
00:03:39 verbose #5419 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: runtime.dib / _args: [
00:03:39 verbose #5420 > "-Retries",
00:03:39 verbose #5421 > 3
00:03:39 verbose #5422 > ]
00:03:40 verbose #5423 >
00:03:40 verbose #5424 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:40 verbose #5425 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:40 verbose #5426 > │ # runtime │
00:03:40 verbose #5427 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:40 verbose #5428 >
00:03:40 verbose #5429 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:40 verbose #5430 > open rust_operators
00:03:40 verbose #5431 > open sm'_operators
00:03:40 verbose #5432 >
00:03:40 verbose #5433 > ── spiral - import ─────────────────────────────────────────────────────────────
00:03:40 verbose #5434 > #r
00:03:40 verbose #5435 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:03:40 verbose #5436 > otNet.Interactive.Spiral.dll"
00:03:40 verbose #5437 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:03:40 verbose #5438 > #r
00:03:40 verbose #5439 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:03:40 verbose #5440 > otNet.Interactive.dll"
00:03:40 verbose #5441 > open type Microsoft.DotNet.Interactive.Kernel
00:03:45 verbose #5442 > 00:03:44 debug #197 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/032c8b088372ab832664d98a64dd782e20000598cb6f954fca120c7fcc91e0cc/main.spi
00:03:45 verbose #5443 >
00:03:45 verbose #5444 > ╭─[ 4.99s - stdout ]───────────────────────────────────────────────────────────╮
00:03:45 verbose #5445 > │ () │
00:03:45 verbose #5446 > │ │
00:03:45 verbose #5447 > │ │
00:03:45 verbose #5448 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:45 verbose #5449 >
00:03:45 verbose #5450 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:45 verbose #5451 > //// test
00:03:45 verbose #5452 >
00:03:45 verbose #5453 > open testing
00:03:45 verbose #5454 > open file_system_operators
00:03:46 verbose #5455 > 00:03:45 debug #198 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/eafe7730a2263ffc5224c3e36abb2c8e9d48d4cf17ad4961423cc9e7b76a086f/main.spi
00:03:46 verbose #5456 >
00:03:46 verbose #5457 > ╭─[ 609.54ms - stdout ]────────────────────────────────────────────────────────╮
00:03:46 verbose #5458 > │ () │
00:03:46 verbose #5459 > │ │
00:03:46 verbose #5460 > │ │
00:03:46 verbose #5461 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:46 verbose #5462 >
00:03:46 verbose #5463 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:46 verbose #5464 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:46 verbose #5465 > │ ## types │
00:03:46 verbose #5466 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:46 verbose #5467 >
00:03:46 verbose #5468 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:46 verbose #5469 > inl types () =
00:03:46 verbose #5470 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5471 > Fable.Core.Emit(\"clap::Arg\")>]]\n#endif\ntype clap_Arg = class end"
00:03:46 verbose #5472 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5473 > Fable.Core.Emit(\"clap::Command\")>]]\n#endif\ntype clap_Command = class end"
00:03:46 verbose #5474 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5475 > Fable.Core.Emit(\"clap::ArgMatches\")>]]\n#endif\ntype clap_ArgMatches = class
00:03:46 verbose #5476 > end"
00:03:46 verbose #5477 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5478 > Fable.Core.Emit(\"std::process::Child\")>]]\n#endif\ntype std_process_Child =
00:03:46 verbose #5479 > class end"
00:03:46 verbose #5480 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5481 > Fable.Core.Emit(\"std::process::ChildStderr\")>]]\n#endif\ntype
00:03:46 verbose #5482 > std_process_ChildStderr = class end"
00:03:46 verbose #5483 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5484 > Fable.Core.Emit(\"std::process::ChildStdout\")>]]\n#endif\ntype
00:03:46 verbose #5485 > std_process_ChildStdout = class end"
00:03:46 verbose #5486 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5487 > Fable.Core.Emit(\"std::process::ChildStdin\")>]]\n#endif\ntype
00:03:46 verbose #5488 > std_process_ChildStdin = class end"
00:03:46 verbose #5489 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5490 > Fable.Core.Emit(\"std::process::Command\")>]]\n#endif\ntype std_process_Command
00:03:46 verbose #5491 > = class end"
00:03:46 verbose #5492 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5493 > Fable.Core.Emit(\"std::process::Output\")>]]\n#endif\ntype std_process_Output =
00:03:46 verbose #5494 > class end"
00:03:46 verbose #5495 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5496 > Fable.Core.Emit(\"std::process::Stdio\")>]]\n#endif\ntype std_process_Stdio =
00:03:46 verbose #5497 > class end"
00:03:46 verbose #5498 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5499 > Fable.Core.Emit(\"std::sync::mpsc::Receiver<$0>\")>]]\n#endif\ntype
00:03:46 verbose #5500 > std_sync_mpsc_Receiver<'T> = class end"
00:03:46 verbose #5501 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:03:46 verbose #5502 > Fable.Core.Emit(\"std::sync::mpsc::Sender<$0>\")>]]\n#endif\ntype
00:03:46 verbose #5503 > std_sync_mpsc_Sender<'T> = class end"
00:03:47 verbose #5504 > 00:03:46 debug #199 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b47a3f50de3c472c9996626a16daa4d39174a80e86820533ed703f2bad55ef04/main.spi
00:03:47 verbose #5505 >
00:03:47 verbose #5506 > ╭─[ 616.43ms - stdout ]────────────────────────────────────────────────────────╮
00:03:47 verbose #5507 > │ () │
00:03:47 verbose #5508 > │ │
00:03:47 verbose #5509 > │ │
00:03:47 verbose #5510 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:47 verbose #5511 >
00:03:47 verbose #5512 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:47 verbose #5513 > inl types () =
00:03:47 verbose #5514 > rust.types ()
00:03:47 verbose #5515 > sm'.types ()
00:03:47 verbose #5516 > am'.types ()
00:03:47 verbose #5517 > async.types ()
00:03:47 verbose #5518 > seq.types ()
00:03:47 verbose #5519 > threading.types ()
00:03:47 verbose #5520 > types ()
00:03:47 verbose #5521 > 00:03:46 debug #200 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0b71ca8cc138d66b135cb28e8a93242a631589f0140fbbf03021200d9e15cb0e/main.spi
00:03:47 verbose #5522 >
00:03:47 verbose #5523 > ╭─[ 607.84ms - stdout ]────────────────────────────────────────────────────────╮
00:03:47 verbose #5524 > │ () │
00:03:47 verbose #5525 > │ │
00:03:47 verbose #5526 > │ │
00:03:47 verbose #5527 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:47 verbose #5528 >
00:03:47 verbose #5529 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:47 verbose #5530 > //// test
00:03:47 verbose #5531 >
00:03:47 verbose #5532 > inl types () =
00:03:47 verbose #5533 > file_system.types ()
00:03:47 verbose #5534 > types ()
00:03:48 verbose #5535 > 00:03:47 debug #201 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c1df531e4148b6832eb9290630cbf589026fbcd65a7a0eebea3b37ea0450810f/main.spi
00:03:48 verbose #5536 >
00:03:48 verbose #5537 > ╭─[ 663.48ms - stdout ]────────────────────────────────────────────────────────╮
00:03:48 verbose #5538 > │ () │
00:03:48 verbose #5539 > │ │
00:03:48 verbose #5540 > │ │
00:03:48 verbose #5541 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:48 verbose #5542 >
00:03:48 verbose #5543 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:48 verbose #5544 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:48 verbose #5545 > │ ## child │
00:03:48 verbose #5546 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:48 verbose #5547 >
00:03:48 verbose #5548 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:48 verbose #5549 > nominal child = $'std_process_Child'
00:03:49 verbose #5550 > 00:03:47 debug #202 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/83754d5e2c2231fb91fc43cefe302284635a435b570f4509bedbbe8d9cb0856d/main.spi
00:03:49 verbose #5551 >
00:03:49 verbose #5552 > ╭─[ 676.97ms - stdout ]────────────────────────────────────────────────────────╮
00:03:49 verbose #5553 > │ () │
00:03:49 verbose #5554 > │ │
00:03:49 verbose #5555 > │ │
00:03:49 verbose #5556 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:49 verbose #5557 >
00:03:49 verbose #5558 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:49 verbose #5559 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:49 verbose #5560 > │ ## child_stderr │
00:03:49 verbose #5561 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:49 verbose #5562 >
00:03:49 verbose #5563 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:49 verbose #5564 > nominal child_stderr = $"std_process_ChildStderr"
00:03:49 verbose #5565 > 00:03:48 debug #203 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/75c9a86b6245a5085d061cd08180dc58c09c5d7dfa73edea4cfd8148f0a19dbd/main.spi
00:03:49 verbose #5566 >
00:03:49 verbose #5567 > ╭─[ 703.15ms - stdout ]────────────────────────────────────────────────────────╮
00:03:49 verbose #5568 > │ () │
00:03:49 verbose #5569 > │ │
00:03:49 verbose #5570 > │ │
00:03:49 verbose #5571 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:49 verbose #5572 >
00:03:49 verbose #5573 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:49 verbose #5574 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:49 verbose #5575 > │ ## child_stdout │
00:03:49 verbose #5576 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:49 verbose #5577 >
00:03:49 verbose #5578 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:49 verbose #5579 > nominal child_stdout = $"std_process_ChildStdout"
00:03:50 verbose #5580 > 00:03:49 debug #204 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f1c7797697722758da322c78f7e91443c984de8ddabdf48d6edd6b0c4f4c72a7/main.spi
00:03:50 verbose #5581 >
00:03:50 verbose #5582 > ╭─[ 733.73ms - stdout ]────────────────────────────────────────────────────────╮
00:03:50 verbose #5583 > │ () │
00:03:50 verbose #5584 > │ │
00:03:50 verbose #5585 > │ │
00:03:50 verbose #5586 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:50 verbose #5587 >
00:03:50 verbose #5588 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:50 verbose #5589 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:50 verbose #5590 > │ ## child_stdin │
00:03:50 verbose #5591 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:50 verbose #5592 >
00:03:50 verbose #5593 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:50 verbose #5594 > nominal child_stdin = $"std_process_ChildStdin"
00:03:51 verbose #5595 > 00:03:50 debug #205 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8f99c8ee3b31c62ccd34cc308711d71efbf15563c623dbf3a8f93c449b55c8e2/main.spi
00:03:51 verbose #5596 >
00:03:51 verbose #5597 > ╭─[ 634.91ms - stdout ]────────────────────────────────────────────────────────╮
00:03:51 verbose #5598 > │ () │
00:03:51 verbose #5599 > │ │
00:03:51 verbose #5600 > │ │
00:03:51 verbose #5601 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:51 verbose #5602 >
00:03:51 verbose #5603 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:51 verbose #5604 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:51 verbose #5605 > │ ## process_command │
00:03:51 verbose #5606 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:51 verbose #5607 >
00:03:51 verbose #5608 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:51 verbose #5609 > nominal process_command = $'std_process_Command'
00:03:51 verbose #5610 > 00:03:50 debug #206 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31de643d5aab905b14d8b9898a928a943c95dafa74ce18cc51abd0b91caafe87/main.spi
00:03:51 verbose #5611 >
00:03:51 verbose #5612 > ╭─[ 610.20ms - stdout ]────────────────────────────────────────────────────────╮
00:03:51 verbose #5613 > │ () │
00:03:51 verbose #5614 > │ │
00:03:51 verbose #5615 > │ │
00:03:51 verbose #5616 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:51 verbose #5617 >
00:03:51 verbose #5618 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:51 verbose #5619 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:51 verbose #5620 > │ ## stdio │
00:03:51 verbose #5621 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:51 verbose #5622 >
00:03:51 verbose #5623 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:51 verbose #5624 > nominal stdio = $'std_process_Stdio'
00:03:52 verbose #5625 > 00:03:51 debug #207 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b2c621a45566ef57ad78f21ec96084d6d21075bb3bf45fc793bd9b9cad1d3114/main.spi
00:03:52 verbose #5626 >
00:03:52 verbose #5627 > ╭─[ 627.14ms - stdout ]────────────────────────────────────────────────────────╮
00:03:52 verbose #5628 > │ () │
00:03:52 verbose #5629 > │ │
00:03:52 verbose #5630 > │ │
00:03:52 verbose #5631 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:52 verbose #5632 >
00:03:52 verbose #5633 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:52 verbose #5634 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:52 verbose #5635 > │ ## output │
00:03:52 verbose #5636 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:52 verbose #5637 >
00:03:52 verbose #5638 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:52 verbose #5639 > nominal output = $'std_process_Output'
00:03:53 verbose #5640 > 00:03:51 debug #208 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/47e2925c7c0b122e24f0058dc9b1892f79a1e2a1982fb95a021379173f760788/main.spi
00:03:53 verbose #5641 >
00:03:53 verbose #5642 > ╭─[ 591.48ms - stdout ]────────────────────────────────────────────────────────╮
00:03:53 verbose #5643 > │ () │
00:03:53 verbose #5644 > │ │
00:03:53 verbose #5645 > │ │
00:03:53 verbose #5646 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:53 verbose #5647 >
00:03:53 verbose #5648 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:53 verbose #5649 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:53 verbose #5650 > │ ## receiver │
00:03:53 verbose #5651 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:53 verbose #5652 >
00:03:53 verbose #5653 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:53 verbose #5654 > nominal receiver t = $'std_sync_mpsc_Receiver<`t>'
00:03:53 verbose #5655 > 00:03:52 debug #209 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3b164f16329557a21b0474a46fdedbbd42800085d5004ff5b61e2d476a4ac062/main.spi
00:03:53 verbose #5656 >
00:03:53 verbose #5657 > ╭─[ 613.23ms - stdout ]────────────────────────────────────────────────────────╮
00:03:53 verbose #5658 > │ () │
00:03:53 verbose #5659 > │ │
00:03:53 verbose #5660 > │ │
00:03:53 verbose #5661 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:53 verbose #5662 >
00:03:53 verbose #5663 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:53 verbose #5664 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:53 verbose #5665 > │ ## sender │
00:03:53 verbose #5666 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:53 verbose #5667 >
00:03:53 verbose #5668 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:53 verbose #5669 > nominal sender t = $'std_sync_mpsc_Sender<`t>'
00:03:54 verbose #5670 > 00:03:53 debug #210 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/96c147c03df7f8dc8a71e51d5f91c7947a805004dde9e67c6419627e286e46d6/main.spi
00:03:54 verbose #5671 >
00:03:54 verbose #5672 > ╭─[ 588.98ms - stdout ]────────────────────────────────────────────────────────╮
00:03:54 verbose #5673 > │ () │
00:03:54 verbose #5674 > │ │
00:03:54 verbose #5675 > │ │
00:03:54 verbose #5676 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:54 verbose #5677 >
00:03:54 verbose #5678 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:54 verbose #5679 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:54 verbose #5680 > │ ## os_platform │
00:03:54 verbose #5681 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:54 verbose #5682 >
00:03:54 verbose #5683 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #5684 > nominal os_platform' = $'System.Runtime.InteropServices.OSPlatform'
00:03:54 verbose #5685 >
00:03:54 verbose #5686 > union os_platform =
00:03:54 verbose #5687 > | Windows
00:03:54 verbose #5688 >
00:03:54 verbose #5689 > inl os_platform = function
00:03:54 verbose #5690 > | Windows => $'`os_platform'.Windows' : os_platform'
00:03:54 verbose #5691 > 00:03:53 debug #211 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d86e820b076625055ee50e7b7d0380389ca3d09fdbeaafaa7dcd5ccbd3bc8e70/main.spi
00:03:54 verbose #5692 >
00:03:54 verbose #5693 > ╭─[ 626.34ms - stdout ]────────────────────────────────────────────────────────╮
00:03:54 verbose #5694 > │ () │
00:03:54 verbose #5695 > │ │
00:03:54 verbose #5696 > │ │
00:03:54 verbose #5697 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:54 verbose #5698 >
00:03:54 verbose #5699 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:54 verbose #5700 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:54 verbose #5701 > │ ## is_os_platform │
00:03:54 verbose #5702 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:54 verbose #5703 >
00:03:54 verbose #5704 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:54 verbose #5705 > inl is_os_platform (x : os_platform') : bool =
00:03:54 verbose #5706 > x |> $'System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform'
00:03:55 verbose #5707 > 00:03:54 debug #212 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/686aa43e16df6c2ba4d9127634c7d1e67c2a5e16d0d530a1783f63b17211932e/main.spi
00:03:55 verbose #5708 >
00:03:55 verbose #5709 > ╭─[ 634.72ms - stdout ]────────────────────────────────────────────────────────╮
00:03:55 verbose #5710 > │ () │
00:03:55 verbose #5711 > │ │
00:03:55 verbose #5712 > │ │
00:03:55 verbose #5713 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:55 verbose #5714 >
00:03:55 verbose #5715 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:55 verbose #5716 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:55 verbose #5717 > │ ## is_windows │
00:03:55 verbose #5718 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:55 verbose #5719 >
00:03:55 verbose #5720 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:55 verbose #5721 > inl is_windows () : bool =
00:03:55 verbose #5722 > run_target function
00:03:55 verbose #5723 > | Fsharp (Native) => fun () =>
00:03:55 verbose #5724 > Windows |> os_platform |> is_os_platform
00:03:55 verbose #5725 > | Rust (Native) => fun () =>
00:03:55 verbose #5726 > !\($'"cfg\!(windows)"')
00:03:55 verbose #5727 > | _ => fun () => null ()
00:03:56 verbose #5728 > 00:03:55 debug #213 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2f1c8d1b72bc7ab0ff0dedbc6e66c0d051188cd339a7a7742e709e5ab2284e50/main.spi
00:03:56 verbose #5729 >
00:03:56 verbose #5730 > ╭─[ 636.41ms - stdout ]────────────────────────────────────────────────────────╮
00:03:56 verbose #5731 > │ () │
00:03:56 verbose #5732 > │ │
00:03:56 verbose #5733 > │ │
00:03:56 verbose #5734 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:56 verbose #5735 >
00:03:56 verbose #5736 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:56 verbose #5737 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:56 verbose #5738 > │ ## get_executable_suffix │
00:03:56 verbose #5739 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:56 verbose #5740 >
00:03:56 verbose #5741 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:56 verbose #5742 > inl get_executable_suffix () =
00:03:56 verbose #5743 > if is_windows ()
00:03:56 verbose #5744 > then ".exe"
00:03:56 verbose #5745 > else ""
00:03:56 verbose #5746 > 00:03:55 debug #214 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/240189fdd5b56b5a3a890c3c6c782ee06376f1aac17eda30e34d84ce3820492a/main.spi
00:03:56 verbose #5747 >
00:03:56 verbose #5748 > ╭─[ 650.08ms - stdout ]────────────────────────────────────────────────────────╮
00:03:56 verbose #5749 > │ () │
00:03:56 verbose #5750 > │ │
00:03:56 verbose #5751 > │ │
00:03:56 verbose #5752 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:56 verbose #5753 >
00:03:56 verbose #5754 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:56 verbose #5755 > //// test
00:03:56 verbose #5756 >
00:03:56 verbose #5757 > get_executable_suffix ()
00:03:57 verbose #5758 > 00:03:56 debug #215 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b9bed718f5d10d459cd7c44ee9b75e043abe479b3c72bda61967e68821a7439b/main.spi
00:03:58 verbose #5759 >
00:03:58 verbose #5760 > ╭─[ 1.16s - return value ]─────────────────────────────────────────────────────╮
00:03:58 verbose #5761 > │ .exe │
00:03:58 verbose #5762 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:58 verbose #5763 >
00:03:58 verbose #5764 > ╭─[ 1.16s - stdout ]───────────────────────────────────────────────────────────╮
00:03:58 verbose #5765 > │ let rec method0 () : string = │
00:03:58 verbose #5766 > │ let v0 : bool option = None │
00:03:58 verbose #5767 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:03:58 verbose #5768 > │ │
00:03:58 verbose #5769 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:03:58 verbose #5770 > │ │
00:03:58 verbose #5771 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:03:58 verbose #5772 > │ let v2 : string = "cfg!(windows)" │
00:03:58 verbose #5773 > │ let v3 : bool = Fable.Core.RustInterop.emitRustExpr () v2 │
00:03:58 verbose #5774 > │ v3 │
00:03:58 verbose #5775 > │ #endif │
00:03:58 verbose #5776 > │ │
00:03:58 verbose #5777 > │ #if FABLE_COMPILER_RUST && WASM │
00:03:58 verbose #5778 > │ let v4 : bool = null |> unbox<bool> │
00:03:58 verbose #5779 > │ v4 │
00:03:58 verbose #5780 > │ #endif │
00:03:58 verbose #5781 > │ │
00:03:58 verbose #5782 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:03:58 verbose #5783 > │ let v5 : bool = null |> unbox<bool> │
00:03:58 verbose #5784 > │ v5 │
00:03:58 verbose #5785 > │ #endif │
00:03:58 verbose #5786 > │ │
00:03:58 verbose #5787 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:03:58 verbose #5788 > │ let v6 : bool = null |> unbox<bool> │
00:03:58 verbose #5789 > │ v6 │
00:03:58 verbose #5790 > │ #endif │
00:03:58 verbose #5791 > │ │
00:03:58 verbose #5792 > │ #if FABLE_COMPILER_PYTHON │
00:03:58 verbose #5793 > │ let v7 : bool = null |> unbox<bool> │
00:03:58 verbose #5794 > │ v7 │
00:03:58 verbose #5795 > │ #endif │
00:03:58 verbose #5796 > │ │
00:03:58 verbose #5797 > │ #else │
00:03:58 verbose #5798 > │ let v8 : System.Runtime.InteropServices.OSPlatform = │
00:03:58 verbose #5799 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:03:58 verbose #5800 > │ let v9 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:03:58 verbose #5801 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:03:58 verbose #5802 > │ let v10 : bool = v9 v8 │
00:03:58 verbose #5803 > │ v10 │
00:03:58 verbose #5804 > │ #endif │
00:03:58 verbose #5805 > │ |> fun x -> _v0 <- Some x │
00:03:58 verbose #5806 > │ let v11 : bool = _v0.Value │
00:03:58 verbose #5807 > │ if v11 then │
00:03:58 verbose #5808 > │ let v12 : string = ".exe" │
00:03:58 verbose #5809 > │ v12 │
00:03:58 verbose #5810 > │ else │
00:03:58 verbose #5811 > │ let v13 : string = "" │
00:03:58 verbose #5812 > │ v13 │
00:03:58 verbose #5813 > │ method0() │
00:03:58 verbose #5814 > │ │
00:03:58 verbose #5815 > │ │
00:03:58 verbose #5816 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:58 verbose #5817 >
00:03:58 verbose #5818 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:58 verbose #5819 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:58 verbose #5820 > │ ## quoted │
00:03:58 verbose #5821 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:58 verbose #5822 >
00:03:58 verbose #5823 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:58 verbose #5824 > union quoted =
00:03:58 verbose #5825 > | Quoted
00:03:58 verbose #5826 > | NotQuoted
00:03:58 verbose #5827 > 00:03:57 debug #216 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/73bfee9c57f40366c1b23bbb0131e54583df7197fdf32370821497dd357f32e5/main.spi
00:03:58 verbose #5828 >
00:03:58 verbose #5829 > ╭─[ 594.84ms - stdout ]────────────────────────────────────────────────────────╮
00:03:58 verbose #5830 > │ () │
00:03:58 verbose #5831 > │ │
00:03:58 verbose #5832 > │ │
00:03:58 verbose #5833 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:58 verbose #5834 >
00:03:58 verbose #5835 > ── markdown ────────────────────────────────────────────────────────────────────
00:03:58 verbose #5836 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:03:58 verbose #5837 > │ ## split_command │
00:03:58 verbose #5838 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:58 verbose #5839 >
00:03:58 verbose #5840 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:58 verbose #5841 > union command_parse_step =
00:03:58 verbose #5842 > | Start
00:03:58 verbose #5843 > | Path : quoted
00:03:58 verbose #5844 > | Arguments
00:03:58 verbose #5845 >
00:03:58 verbose #5846 > inl split_command (command : string) =
00:03:58 verbose #5847 > let rec loop (path, args) (chars : list char) step =
00:03:58 verbose #5848 > match step, chars with
00:03:58 verbose #5849 > | _, (('"' | '\'') :: tail) when path = "" => loop (path, args) tail
00:03:58 verbose #5850 > (Path Quoted)
00:03:58 verbose #5851 > | Path (Quoted), (('"' | '\'') :: tail) => loop (path, args) tail (Path
00:03:58 verbose #5852 > NotQuoted)
00:03:58 verbose #5853 > | Path (Quoted), (' ' :: tail) => loop ($'$"{!path} "', args) tail (Path
00:03:58 verbose #5854 > Quoted)
00:03:58 verbose #5855 > | (Start | Path _), (' ' :: tail) => loop (path, args) tail Arguments
00:03:58 verbose #5856 > | Arguments, (char :: tail) => loop (path, $'$"{!args}{!char}"') tail
00:03:58 verbose #5857 > Arguments
00:03:58 verbose #5858 > | _, (char :: tail) => loop ($'$"{!path}{!char}"', args) tail step
00:03:58 verbose #5859 > | _ => path |> sm'.replace @"\" "/", args
00:03:58 verbose #5860 > loop (join "", "") (command |> sm'.to_char_array |> am'.to_list' |>
00:03:58 verbose #5861 > listm'.unbox) Start
00:03:59 verbose #5862 > 00:03:58 debug #217 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/eba185adf7ab1f06beffb791117ac55e4797c807e9142daeea0d046607d84e93/main.spi
00:03:59 verbose #5863 >
00:03:59 verbose #5864 > ╭─[ 618.70ms - stdout ]────────────────────────────────────────────────────────╮
00:03:59 verbose #5865 > │ () │
00:03:59 verbose #5866 > │ │
00:03:59 verbose #5867 > │ │
00:03:59 verbose #5868 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:59 verbose #5869 >
00:03:59 verbose #5870 > ── spiral ──────────────────────────────────────────────────────────────────────
00:03:59 verbose #5871 > //// test
00:03:59 verbose #5872 >
00:03:59 verbose #5873 > split_command ""
00:03:59 verbose #5874 > |> _assert_eq ("", "")
00:03:59 verbose #5875 >
00:03:59 verbose #5876 > split_command "/a/b/c"
00:03:59 verbose #5877 > |> _assert_eq ("/a/b/c", "")
00:03:59 verbose #5878 >
00:03:59 verbose #5879 > split_command "cat file.txt"
00:03:59 verbose #5880 > |> _assert_eq ("cat", "file.txt")
00:03:59 verbose #5881 >
00:03:59 verbose #5882 > split_command $'"""..\\..\\file.exe file1.txt file2.txt"""'
00:03:59 verbose #5883 > |> _assert_eq ("../../file.exe", "file1.txt file2.txt")
00:03:59 verbose #5884 >
00:03:59 verbose #5885 > split_command $'\@"c:\\dir\\file.exe ""file1.txt file2.txt"""'
00:03:59 verbose #5886 > |> _assert_eq ("c:/dir/file.exe", $'\@"""file1.txt file2.txt"""')
00:03:59 verbose #5887 >
00:03:59 verbose #5888 > split_command $'\@"""..\\..\\dir name\\file.exe"" ""file 1.txt"" file2.txt"'
00:03:59 verbose #5889 > |> _assert_eq ("../../dir name/file.exe", $'\@"""file 1.txt"" file2.txt"')
00:03:59 verbose #5890 >
00:03:59 verbose #5891 > split_command $'\@"""..\\..\\file 1.exe"" -c \\\\""echo 1\\\\"""'
00:03:59 verbose #5892 > |> _assert_eq ("../../file 1.exe", $'\@"-c \\\\""echo 1\\\\"""')
00:03:59 verbose #5893 >
00:03:59 verbose #5894 > split_command $'\@"..\\..\\file 1.exe -c \\\\""echo 1\\\\"""'
00:03:59 verbose #5895 > |> _assert_eq ("../../file", $'\@"1.exe -c \\\\""echo 1\\\\"""')
00:03:59 verbose #5896 > 00:03:58 debug #218 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09593fc762f0b2ef1088ad55f0827201290b11afa74f711a6ab499cc678e9754/main.spi
00:04:00 verbose #5897 >
00:04:00 verbose #5898 > ╭─[ 1.58s - stdout ]───────────────────────────────────────────────────────────╮
00:04:00 verbose #5899 > │ type Mut0 = {mutable l0 : int32} │
00:04:00 verbose #5900 > │ and UH0 = │
00:04:00 verbose #5901 > │ | UH0_0 │
00:04:00 verbose #5902 > │ | UH0_1 of char * UH0 │
00:04:00 verbose #5903 > │ and [<Struct>] US1 = │
00:04:00 verbose #5904 > │ | US1_0 │
00:04:00 verbose #5905 > │ | US1_1 │
00:04:00 verbose #5906 > │ and [<Struct>] US0 = │
00:04:00 verbose #5907 > │ | US0_0 │
00:04:00 verbose #5908 > │ | US0_1 of f1_0 : US1 │
00:04:00 verbose #5909 > │ | US0_2 │
00:04:00 verbose #5910 > │ let rec method1 () : struct (string * string) = │
00:04:00 verbose #5911 > │ let v0 : string = "" │
00:04:00 verbose #5912 > │ struct (v0, v0) │
00:04:00 verbose #5913 > │ and method2 (v0 : Mut0) : bool = │
00:04:00 verbose #5914 > │ let v1 : int32 = v0.l0 │
00:04:00 verbose #5915 > │ let v2 : bool = v1 < 0 │
00:04:00 verbose #5916 > │ v2 │
00:04:00 verbose #5917 > │ and closure1 (v0 : char) (v1 : UH0) : UH0 = │
00:04:00 verbose #5918 > │ UH0_1(v0, v1) │
00:04:00 verbose #5919 > │ and closure0 () (v0 : char) : (UH0 -> UH0) = │
00:04:00 verbose #5920 > │ closure1(v0) │
00:04:00 verbose #5921 > │ and method3 () : (char -> (UH0 -> UH0)) = │
00:04:00 verbose #5922 > │ closure0() │
00:04:00 verbose #5923 > │ and method4 (v0 : string, v1 : string, v2 : UH0, v3 : US0) : struct (string │
00:04:00 verbose #5924 > │ * string) = │
00:04:00 verbose #5925 > │ match v2 with │
00:04:00 verbose #5926 > │ | UH0_1(v4, v5) -> (* Cons *) │
00:04:00 verbose #5927 > │ let v6 : bool = '"' = v4 │
00:04:00 verbose #5928 > │ if v6 then │
00:04:00 verbose #5929 > │ let v8 : bool = v1 = "" │
00:04:00 verbose #5930 > │ if v8 then │
00:04:00 verbose #5931 > │ let v9 : US1 = US1_0 │
00:04:00 verbose #5932 > │ let v10 : US0 = US0_1(v9) │
00:04:00 verbose #5933 > │ method4(v0, v1, v5, v10) │
00:04:00 verbose #5934 > │ else │
00:04:00 verbose #5935 > │ match v3 with │
00:04:00 verbose #5936 > │ | US0_2 -> (* Arguments *) │
00:04:00 verbose #5937 > │ let v38 : string = $"{v0}{v4}" │
00:04:00 verbose #5938 > │ let v39 : US0 = US0_2 │
00:04:00 verbose #5939 > │ method4(v38, v1, v5, v39) │
00:04:00 verbose #5940 > │ | US0_1(v13) -> (* Path *) │
00:04:00 verbose #5941 > │ match v13 with │
00:04:00 verbose #5942 > │ | US1_0 -> (* Quoted *) │
00:04:00 verbose #5943 > │ let v14 : US1 = US1_1 │
00:04:00 verbose #5944 > │ let v15 : US0 = US0_1(v14) │
00:04:00 verbose #5945 > │ method4(v0, v1, v5, v15) │
00:04:00 verbose #5946 > │ | _ -> │
00:04:00 verbose #5947 > │ let v18 : bool = ' ' = v4 │
00:04:00 verbose #5948 > │ if v18 then │
00:04:00 verbose #5949 > │ let v19 : US0 = US0_2 │
00:04:00 verbose #5950 > │ method4(v0, v1, v5, v19) │
00:04:00 verbose #5951 > │ else │
00:04:00 verbose #5952 > │ let v22 : string = $"{v1}{v4}" │
00:04:00 verbose #5953 > │ method4(v0, v22, v5, v3) │
00:04:00 verbose #5954 > │ | US0_0 -> (* Start *) │
00:04:00 verbose #5955 > │ let v29 : bool = ' ' = v4 │
00:04:00 verbose #5956 > │ if v29 then │
00:04:00 verbose #5957 > │ let v30 : US0 = US0_2 │
00:04:00 verbose #5958 > │ method4(v0, v1, v5, v30) │
00:04:00 verbose #5959 > │ else │
00:04:00 verbose #5960 > │ let v33 : string = $"{v1}{v4}" │
00:04:00 verbose #5961 > │ method4(v0, v33, v5, v3) │
00:04:00 verbose #5962 > │ else │
00:04:00 verbose #5963 > │ let v50 : bool = ''' = v4 │
00:04:00 verbose #5964 > │ if v50 then │
00:04:00 verbose #5965 > │ let v52 : bool = v1 = "" │
00:04:00 verbose #5966 > │ if v52 then │
00:04:00 verbose #5967 > │ let v53 : US1 = US1_0 │
00:04:00 verbose #5968 > │ let v54 : US0 = US0_1(v53) │
00:04:00 verbose #5969 > │ method4(v0, v1, v5, v54) │
00:04:00 verbose #5970 > │ else │
00:04:00 verbose #5971 > │ match v3 with │
00:04:00 verbose #5972 > │ | US0_2 -> (* Arguments *) │
00:04:00 verbose #5973 > │ let v82 : string = $"{v0}{v4}" │
00:04:00 verbose #5974 > │ let v83 : US0 = US0_2 │
00:04:00 verbose #5975 > │ method4(v82, v1, v5, v83) │
00:04:00 verbose #5976 > │ | US0_1(v57) -> (* Path *) │
00:04:00 verbose #5977 > │ match v57 with │
00:04:00 verbose #5978 > │ | US1_0 -> (* Quoted *) │
00:04:00 verbose #5979 > │ let v58 : US1 = US1_1 │
00:04:00 verbose #5980 > │ let v59 : US0 = US0_1(v58) │
00:04:00 verbose #5981 > │ method4(v0, v1, v5, v59) │
00:04:00 verbose #5982 > │ | _ -> │
00:04:00 verbose #5983 > │ let v62 : bool = ' ' = v4 │
00:04:00 verbose #5984 > │ if v62 then │
00:04:00 verbose #5985 > │ let v63 : US0 = US0_2 │
00:04:00 verbose #5986 > │ method4(v0, v1, v5, v63) │
00:04:00 verbose #5987 > │ else │
00:04:00 verbose #5988 > │ let v66 : string = $"{v1}{v4}" │
00:04:00 verbose #5989 > │ method4(v0, v66, v5, v3) │
00:04:00 verbose #5990 > │ | US0_0 -> (* Start *) │
00:04:00 verbose #5991 > │ let v73 : bool = ' ' = v4 │
00:04:00 verbose #5992 > │ if v73 then │
00:04:00 verbose #5993 > │ let v74 : US0 = US0_2 │
00:04:00 verbose #5994 > │ method4(v0, v1, v5, v74) │
00:04:00 verbose #5995 > │ else │
00:04:00 verbose #5996 > │ let v77 : string = $"{v1}{v4}" │
00:04:00 verbose #5997 > │ method4(v0, v77, v5, v3) │
00:04:00 verbose #5998 > │ else │
00:04:00 verbose #5999 > │ match v3 with │
00:04:00 verbose #6000 > │ | US0_2 -> (* Arguments *) │
00:04:00 verbose #6001 > │ let v126 : string = $"{v0}{v4}" │
00:04:00 verbose #6002 > │ let v127 : US0 = US0_2 │
00:04:00 verbose #6003 > │ method4(v126, v1, v5, v127) │
00:04:00 verbose #6004 > │ | US0_1(v94) -> (* Path *) │
00:04:00 verbose #6005 > │ match v94 with │
00:04:00 verbose #6006 > │ | US1_0 -> (* Quoted *) │
00:04:00 verbose #6007 > │ let v95 : bool = ' ' = v4 │
00:04:00 verbose #6008 > │ if v95 then │
00:04:00 verbose #6009 > │ let v96 : string = $"{v1} " │
00:04:00 verbose #6010 > │ let v97 : US1 = US1_0 │
00:04:00 verbose #6011 > │ let v98 : US0 = US0_1(v97) │
00:04:00 verbose #6012 > │ method4(v0, v96, v5, v98) │
00:04:00 verbose #6013 > │ else │
00:04:00 verbose #6014 > │ let v101 : string = $"{v1}{v4}" │
00:04:00 verbose #6015 > │ method4(v0, v101, v5, v3) │
00:04:00 verbose #6016 > │ | _ -> │
00:04:00 verbose #6017 > │ let v106 : bool = ' ' = v4 │
00:04:00 verbose #6018 > │ if v106 then │
00:04:00 verbose #6019 > │ let v107 : US0 = US0_2 │
00:04:00 verbose #6020 > │ method4(v0, v1, v5, v107) │
00:04:00 verbose #6021 > │ else │
00:04:00 verbose #6022 > │ let v110 : string = $"{v1}{v4}" │
00:04:00 verbose #6023 > │ method4(v0, v110, v5, v3) │
00:04:00 verbose #6024 > │ | US0_0 -> (* Start *) │
00:04:00 verbose #6025 > │ let v117 : bool = ' ' = v4 │
00:04:00 verbose #6026 > │ if v117 then │
00:04:00 verbose #6027 > │ let v118 : US0 = US0_2 │
00:04:00 verbose #6028 > │ method4(v0, v1, v5, v118) │
00:04:00 verbose #6029 > │ else │
00:04:00 verbose #6030 > │ let v121 : string = $"{v1}{v4}" │
00:04:00 verbose #6031 > │ method4(v0, v121, v5, v3) │
00:04:00 verbose #6032 > │ | _ -> │
00:04:00 verbose #6033 > │ match v3 with │
00:04:00 verbose #6034 > │ | US0_2 -> (* Arguments *) │
00:04:00 verbose #6035 > │ let v152 : string = "\\" │
00:04:00 verbose #6036 > │ let v153 : string = "/" │
00:04:00 verbose #6037 > │ let v154 : string = v1.Replace (v152, v153) │
00:04:00 verbose #6038 > │ struct (v154, v0) │
00:04:00 verbose #6039 > │ | US0_1(v140) -> (* Path *) │
00:04:00 verbose #6040 > │ match v140 with │
00:04:00 verbose #6041 > │ | US1_0 -> (* Quoted *) │
00:04:00 verbose #6042 > │ let v141 : string = "\\" │
00:04:00 verbose #6043 > │ let v142 : string = "/" │
00:04:00 verbose #6044 > │ let v143 : string = v1.Replace (v141, v142) │
00:04:00 verbose #6045 > │ struct (v143, v0) │
00:04:00 verbose #6046 > │ | _ -> │
00:04:00 verbose #6047 > │ let v144 : string = "\\" │
00:04:00 verbose #6048 > │ let v145 : string = "/" │
00:04:00 verbose #6049 > │ let v146 : string = v1.Replace (v144, v145) │
00:04:00 verbose #6050 > │ struct (v146, v0) │
00:04:00 verbose #6051 > │ | US0_0 -> (* Start *) │
00:04:00 verbose #6052 > │ let v149 : string = "\\" │
00:04:00 verbose #6053 > │ let v150 : string = "/" │
00:04:00 verbose #6054 > │ let v151 : string = v1.Replace (v149, v150) │
00:04:00 verbose #6055 > │ struct (v151, v0) │
00:04:00 verbose #6056 > │ and method5 (v0 : bool) : bool = │
00:04:00 verbose #6057 > │ v0 │
00:04:00 verbose #6058 > │ and method6 (v0 : Mut0) : bool = │
00:04:00 verbose #6059 > │ let v1 : int32 = v0.l0 │
00:04:00 verbose #6060 > │ let v2 : bool = v1 < 6 │
00:04:00 verbose #6061 > │ v2 │
00:04:00 verbose #6062 > │ and method7 (v0 : Mut0) : bool = │
00:04:00 verbose #6063 > │ let v1 : int32 = v0.l0 │
00:04:00 verbose #6064 > │ let v2 : bool = v1 < 12 │
00:04:00 verbose #6065 > │ v2 │
00:04:00 verbose #6066 > │ and method8 (v0 : int32, v1 : Mut0) : bool = │
00:04:00 verbose #6067 > │ let v2 : int32 = v1.l0 │
00:04:00 verbose #6068 > │ let v3 : bool = v2 < v0 │
00:04:00 verbose #6069 > │ v3 │
00:04:00 verbose #6070 > │ and method0 () : unit = │
00:04:00 verbose #6071 > │ let struct (v0 : string, v1 : string) = method1() │
00:04:00 verbose #6072 > │ let v2 : (char []) = Array.zeroCreate<char> (0) │
00:04:00 verbose #6073 > │ let v3 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6074 > │ while method2(v3) do │
00:04:00 verbose #6075 > │ let v5 : int32 = v3.l0 │
00:04:00 verbose #6076 > │ let v6 : char = "".[int v5] │
00:04:00 verbose #6077 > │ v2.[int v5] <- v6 │
00:04:00 verbose #6078 > │ let v7 : int32 = v5 + 1 │
00:04:00 verbose #6079 > │ v3.l0 <- v7 │
00:04:00 verbose #6080 > │ () │
00:04:00 verbose #6081 > │ let v8 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6082 > │ let v9 : char list = v8 v2 │
00:04:00 verbose #6083 > │ let v10 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6084 > │ List.foldBack │
00:04:00 verbose #6085 > │ let v11 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6086 > │ let v12 : (char list -> (UH0 -> UH0)) = v10 v11 │
00:04:00 verbose #6087 > │ let v13 : (UH0 -> UH0) = v12 v9 │
00:04:00 verbose #6088 > │ let v14 : UH0 = UH0_0 │
00:04:00 verbose #6089 > │ let v15 : UH0 = v13 v14 │
00:04:00 verbose #6090 > │ let v16 : US0 = US0_0 │
00:04:00 verbose #6091 > │ let struct (v17 : string, v18 : string) = method4(v1, v0, v15, v16) │
00:04:00 verbose #6092 > │ let v20 : bool = v17 = "" │
00:04:00 verbose #6093 > │ let v22 : bool = │
00:04:00 verbose #6094 > │ if v20 then │
00:04:00 verbose #6095 > │ let v21 : bool = v18 = "" │
00:04:00 verbose #6096 > │ v21 │
00:04:00 verbose #6097 > │ else │
00:04:00 verbose #6098 > │ false │
00:04:00 verbose #6099 > │ let v24 : bool = │
00:04:00 verbose #6100 > │ if v22 then │
00:04:00 verbose #6101 > │ true │
00:04:00 verbose #6102 > │ else │
00:04:00 verbose #6103 > │ method5(v22) │
00:04:00 verbose #6104 > │ let v25 : string = "assert_eq" │
00:04:00 verbose #6105 > │ let v26 : string = "" │
00:04:00 verbose #6106 > │ let v27 : string = $"{v25} / actual: %A{struct (v17, v18)} / expected: │
00:04:00 verbose #6107 > │ %A{struct (v26, v26)}" │
00:04:00 verbose #6108 > │ System.Console.WriteLine v27 │
00:04:00 verbose #6109 > │ let v28 : bool = v24 = false │
00:04:00 verbose #6110 > │ if v28 then │
00:04:00 verbose #6111 > │ failwith<unit> v27 │
00:04:00 verbose #6112 > │ let struct (v29 : string, v30 : string) = method1() │
00:04:00 verbose #6113 > │ let v31 : (char []) = Array.zeroCreate<char> (6) │
00:04:00 verbose #6114 > │ let v32 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6115 > │ while method6(v32) do │
00:04:00 verbose #6116 > │ let v34 : int32 = v32.l0 │
00:04:00 verbose #6117 > │ let v35 : char = "/a/b/c".[int v34] │
00:04:00 verbose #6118 > │ v31.[int v34] <- v35 │
00:04:00 verbose #6119 > │ let v36 : int32 = v34 + 1 │
00:04:00 verbose #6120 > │ v32.l0 <- v36 │
00:04:00 verbose #6121 > │ () │
00:04:00 verbose #6122 > │ let v37 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6123 > │ let v38 : char list = v37 v31 │
00:04:00 verbose #6124 > │ let v39 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6125 > │ List.foldBack │
00:04:00 verbose #6126 > │ let v40 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6127 > │ let v41 : (char list -> (UH0 -> UH0)) = v39 v40 │
00:04:00 verbose #6128 > │ let v42 : (UH0 -> UH0) = v41 v38 │
00:04:00 verbose #6129 > │ let v43 : UH0 = UH0_0 │
00:04:00 verbose #6130 > │ let v44 : UH0 = v42 v43 │
00:04:00 verbose #6131 > │ let v45 : US0 = US0_0 │
00:04:00 verbose #6132 > │ let struct (v46 : string, v47 : string) = method4(v30, v29, v44, v45) │
00:04:00 verbose #6133 > │ let v49 : bool = v46 = "/a/b/c" │
00:04:00 verbose #6134 > │ let v51 : bool = │
00:04:00 verbose #6135 > │ if v49 then │
00:04:00 verbose #6136 > │ let v50 : bool = v47 = "" │
00:04:00 verbose #6137 > │ v50 │
00:04:00 verbose #6138 > │ else │
00:04:00 verbose #6139 > │ false │
00:04:00 verbose #6140 > │ let v53 : bool = │
00:04:00 verbose #6141 > │ if v51 then │
00:04:00 verbose #6142 > │ true │
00:04:00 verbose #6143 > │ else │
00:04:00 verbose #6144 > │ method5(v51) │
00:04:00 verbose #6145 > │ let v54 : string = "/a/b/c" │
00:04:00 verbose #6146 > │ let v55 : string = $"{v25} / actual: %A{struct (v46, v47)} / expected: │
00:04:00 verbose #6147 > │ %A{struct (v54, v26)}" │
00:04:00 verbose #6148 > │ System.Console.WriteLine v55 │
00:04:00 verbose #6149 > │ let v56 : bool = v53 = false │
00:04:00 verbose #6150 > │ if v56 then │
00:04:00 verbose #6151 > │ failwith<unit> v55 │
00:04:00 verbose #6152 > │ let struct (v57 : string, v58 : string) = method1() │
00:04:00 verbose #6153 > │ let v59 : (char []) = Array.zeroCreate<char> (12) │
00:04:00 verbose #6154 > │ let v60 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6155 > │ while method7(v60) do │
00:04:00 verbose #6156 > │ let v62 : int32 = v60.l0 │
00:04:00 verbose #6157 > │ let v63 : char = "cat file.txt".[int v62] │
00:04:00 verbose #6158 > │ v59.[int v62] <- v63 │
00:04:00 verbose #6159 > │ let v64 : int32 = v62 + 1 │
00:04:00 verbose #6160 > │ v60.l0 <- v64 │
00:04:00 verbose #6161 > │ () │
00:04:00 verbose #6162 > │ let v65 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6163 > │ let v66 : char list = v65 v59 │
00:04:00 verbose #6164 > │ let v67 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6165 > │ List.foldBack │
00:04:00 verbose #6166 > │ let v68 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6167 > │ let v69 : (char list -> (UH0 -> UH0)) = v67 v68 │
00:04:00 verbose #6168 > │ let v70 : (UH0 -> UH0) = v69 v66 │
00:04:00 verbose #6169 > │ let v71 : UH0 = UH0_0 │
00:04:00 verbose #6170 > │ let v72 : UH0 = v70 v71 │
00:04:00 verbose #6171 > │ let v73 : US0 = US0_0 │
00:04:00 verbose #6172 > │ let struct (v74 : string, v75 : string) = method4(v58, v57, v72, v73) │
00:04:00 verbose #6173 > │ let v78 : bool = v74 = "cat" │
00:04:00 verbose #6174 > │ let v80 : bool = │
00:04:00 verbose #6175 > │ if v78 then │
00:04:00 verbose #6176 > │ let v79 : bool = v75 = "file.txt" │
00:04:00 verbose #6177 > │ v79 │
00:04:00 verbose #6178 > │ else │
00:04:00 verbose #6179 > │ false │
00:04:00 verbose #6180 > │ let v82 : bool = │
00:04:00 verbose #6181 > │ if v80 then │
00:04:00 verbose #6182 > │ true │
00:04:00 verbose #6183 > │ else │
00:04:00 verbose #6184 > │ method5(v80) │
00:04:00 verbose #6185 > │ let v83 : string = "cat" │
00:04:00 verbose #6186 > │ let v84 : string = "file.txt" │
00:04:00 verbose #6187 > │ let v85 : string = $"{v25} / actual: %A{struct (v74, v75)} / expected: │
00:04:00 verbose #6188 > │ %A{struct (v83, v84)}" │
00:04:00 verbose #6189 > │ System.Console.WriteLine v85 │
00:04:00 verbose #6190 > │ let v86 : bool = v82 = false │
00:04:00 verbose #6191 > │ if v86 then │
00:04:00 verbose #6192 > │ failwith<unit> v85 │
00:04:00 verbose #6193 > │ let v87 : string = """..\..\file.exe file1.txt file2.txt""" │
00:04:00 verbose #6194 > │ let struct (v88 : string, v89 : string) = method1() │
00:04:00 verbose #6195 > │ let v90 : int32 = v87.Length │
00:04:00 verbose #6196 > │ let v91 : (char []) = Array.zeroCreate<char> (v90) │
00:04:00 verbose #6197 > │ let v92 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6198 > │ while method8(v90, v92) do │
00:04:00 verbose #6199 > │ let v94 : int32 = v92.l0 │
00:04:00 verbose #6200 > │ let v95 : char = v87.[int v94] │
00:04:00 verbose #6201 > │ v91.[int v94] <- v95 │
00:04:00 verbose #6202 > │ let v96 : int32 = v94 + 1 │
00:04:00 verbose #6203 > │ v92.l0 <- v96 │
00:04:00 verbose #6204 > │ () │
00:04:00 verbose #6205 > │ let v97 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6206 > │ let v98 : char list = v97 v91 │
00:04:00 verbose #6207 > │ let v99 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6208 > │ List.foldBack │
00:04:00 verbose #6209 > │ let v100 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6210 > │ let v101 : (char list -> (UH0 -> UH0)) = v99 v100 │
00:04:00 verbose #6211 > │ let v102 : (UH0 -> UH0) = v101 v98 │
00:04:00 verbose #6212 > │ let v103 : UH0 = UH0_0 │
00:04:00 verbose #6213 > │ let v104 : UH0 = v102 v103 │
00:04:00 verbose #6214 > │ let v105 : US0 = US0_0 │
00:04:00 verbose #6215 > │ let struct (v106 : string, v107 : string) = method4(v89, v88, v104, │
00:04:00 verbose #6216 > │ v105) │
00:04:00 verbose #6217 > │ let v110 : bool = v106 = "../../file.exe" │
00:04:00 verbose #6218 > │ let v112 : bool = │
00:04:00 verbose #6219 > │ if v110 then │
00:04:00 verbose #6220 > │ let v111 : bool = v107 = "file1.txt file2.txt" │
00:04:00 verbose #6221 > │ v111 │
00:04:00 verbose #6222 > │ else │
00:04:00 verbose #6223 > │ false │
00:04:00 verbose #6224 > │ let v114 : bool = │
00:04:00 verbose #6225 > │ if v112 then │
00:04:00 verbose #6226 > │ true │
00:04:00 verbose #6227 > │ else │
00:04:00 verbose #6228 > │ method5(v112) │
00:04:00 verbose #6229 > │ let v115 : string = "../../file.exe" │
00:04:00 verbose #6230 > │ let v116 : string = "file1.txt file2.txt" │
00:04:00 verbose #6231 > │ let v117 : string = $"{v25} / actual: %A{struct (v106, v107)} / │
00:04:00 verbose #6232 > │ expected: %A{struct (v115, v116)}" │
00:04:00 verbose #6233 > │ System.Console.WriteLine v117 │
00:04:00 verbose #6234 > │ let v118 : bool = v114 = false │
00:04:00 verbose #6235 > │ if v118 then │
00:04:00 verbose #6236 > │ failwith<unit> v117 │
00:04:00 verbose #6237 > │ let v119 : string = @"c:\dir\file.exe ""file1.txt file2.txt""" │
00:04:00 verbose #6238 > │ let struct (v120 : string, v121 : string) = method1() │
00:04:00 verbose #6239 > │ let v122 : int32 = v119.Length │
00:04:00 verbose #6240 > │ let v123 : (char []) = Array.zeroCreate<char> (v122) │
00:04:00 verbose #6241 > │ let v124 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6242 > │ while method8(v122, v124) do │
00:04:00 verbose #6243 > │ let v126 : int32 = v124.l0 │
00:04:00 verbose #6244 > │ let v127 : char = v119.[int v126] │
00:04:00 verbose #6245 > │ v123.[int v126] <- v127 │
00:04:00 verbose #6246 > │ let v128 : int32 = v126 + 1 │
00:04:00 verbose #6247 > │ v124.l0 <- v128 │
00:04:00 verbose #6248 > │ () │
00:04:00 verbose #6249 > │ let v129 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6250 > │ let v130 : char list = v129 v123 │
00:04:00 verbose #6251 > │ let v131 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6252 > │ List.foldBack │
00:04:00 verbose #6253 > │ let v132 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6254 > │ let v133 : (char list -> (UH0 -> UH0)) = v131 v132 │
00:04:00 verbose #6255 > │ let v134 : (UH0 -> UH0) = v133 v130 │
00:04:00 verbose #6256 > │ let v135 : UH0 = UH0_0 │
00:04:00 verbose #6257 > │ let v136 : UH0 = v134 v135 │
00:04:00 verbose #6258 > │ let v137 : US0 = US0_0 │
00:04:00 verbose #6259 > │ let struct (v138 : string, v139 : string) = method4(v121, v120, v136, │
00:04:00 verbose #6260 > │ v137) │
00:04:00 verbose #6261 > │ let v140 : string = @"""file1.txt file2.txt""" │
00:04:00 verbose #6262 > │ let v142 : bool = v138 = "c:/dir/file.exe" │
00:04:00 verbose #6263 > │ let v144 : bool = │
00:04:00 verbose #6264 > │ if v142 then │
00:04:00 verbose #6265 > │ let v143 : bool = v139 = v140 │
00:04:00 verbose #6266 > │ v143 │
00:04:00 verbose #6267 > │ else │
00:04:00 verbose #6268 > │ false │
00:04:00 verbose #6269 > │ let v146 : bool = │
00:04:00 verbose #6270 > │ if v144 then │
00:04:00 verbose #6271 > │ true │
00:04:00 verbose #6272 > │ else │
00:04:00 verbose #6273 > │ method5(v144) │
00:04:00 verbose #6274 > │ let v147 : string = "c:/dir/file.exe" │
00:04:00 verbose #6275 > │ let v148 : string = $"{v25} / actual: %A{struct (v138, v139)} / │
00:04:00 verbose #6276 > │ expected: %A{struct (v147, v140)}" │
00:04:00 verbose #6277 > │ System.Console.WriteLine v148 │
00:04:00 verbose #6278 > │ let v149 : bool = v146 = false │
00:04:00 verbose #6279 > │ if v149 then │
00:04:00 verbose #6280 > │ failwith<unit> v148 │
00:04:00 verbose #6281 > │ let v150 : string = @"""..\..\dir name\file.exe"" ""file 1.txt"" │
00:04:00 verbose #6282 > │ file2.txt" │
00:04:00 verbose #6283 > │ let struct (v151 : string, v152 : string) = method1() │
00:04:00 verbose #6284 > │ let v153 : int32 = v150.Length │
00:04:00 verbose #6285 > │ let v154 : (char []) = Array.zeroCreate<char> (v153) │
00:04:00 verbose #6286 > │ let v155 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6287 > │ while method8(v153, v155) do │
00:04:00 verbose #6288 > │ let v157 : int32 = v155.l0 │
00:04:00 verbose #6289 > │ let v158 : char = v150.[int v157] │
00:04:00 verbose #6290 > │ v154.[int v157] <- v158 │
00:04:00 verbose #6291 > │ let v159 : int32 = v157 + 1 │
00:04:00 verbose #6292 > │ v155.l0 <- v159 │
00:04:00 verbose #6293 > │ () │
00:04:00 verbose #6294 > │ let v160 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6295 > │ let v161 : char list = v160 v154 │
00:04:00 verbose #6296 > │ let v162 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6297 > │ List.foldBack │
00:04:00 verbose #6298 > │ let v163 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6299 > │ let v164 : (char list -> (UH0 -> UH0)) = v162 v163 │
00:04:00 verbose #6300 > │ let v165 : (UH0 -> UH0) = v164 v161 │
00:04:00 verbose #6301 > │ let v166 : UH0 = UH0_0 │
00:04:00 verbose #6302 > │ let v167 : UH0 = v165 v166 │
00:04:00 verbose #6303 > │ let v168 : US0 = US0_0 │
00:04:00 verbose #6304 > │ let struct (v169 : string, v170 : string) = method4(v152, v151, v167, │
00:04:00 verbose #6305 > │ v168) │
00:04:00 verbose #6306 > │ let v171 : string = @"""file 1.txt"" file2.txt" │
00:04:00 verbose #6307 > │ let v173 : bool = v169 = "../../dir name/file.exe" │
00:04:00 verbose #6308 > │ let v175 : bool = │
00:04:00 verbose #6309 > │ if v173 then │
00:04:00 verbose #6310 > │ let v174 : bool = v170 = v171 │
00:04:00 verbose #6311 > │ v174 │
00:04:00 verbose #6312 > │ else │
00:04:00 verbose #6313 > │ false │
00:04:00 verbose #6314 > │ let v177 : bool = │
00:04:00 verbose #6315 > │ if v175 then │
00:04:00 verbose #6316 > │ true │
00:04:00 verbose #6317 > │ else │
00:04:00 verbose #6318 > │ method5(v175) │
00:04:00 verbose #6319 > │ let v178 : string = "../../dir name/file.exe" │
00:04:00 verbose #6320 > │ let v179 : string = $"{v25} / actual: %A{struct (v169, v170)} / │
00:04:00 verbose #6321 > │ expected: %A{struct (v178, v171)}" │
00:04:00 verbose #6322 > │ System.Console.WriteLine v179 │
00:04:00 verbose #6323 > │ let v180 : bool = v177 = false │
00:04:00 verbose #6324 > │ if v180 then │
00:04:00 verbose #6325 > │ failwith<unit> v179 │
00:04:00 verbose #6326 > │ let v181 : string = @"""..\..\file 1.exe"" -c \\""echo 1\\""" │
00:04:00 verbose #6327 > │ let struct (v182 : string, v183 : string) = method1() │
00:04:00 verbose #6328 > │ let v184 : int32 = v181.Length │
00:04:00 verbose #6329 > │ let v185 : (char []) = Array.zeroCreate<char> (v184) │
00:04:00 verbose #6330 > │ let v186 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6331 > │ while method8(v184, v186) do │
00:04:00 verbose #6332 > │ let v188 : int32 = v186.l0 │
00:04:00 verbose #6333 > │ let v189 : char = v181.[int v188] │
00:04:00 verbose #6334 > │ v185.[int v188] <- v189 │
00:04:00 verbose #6335 > │ let v190 : int32 = v188 + 1 │
00:04:00 verbose #6336 > │ v186.l0 <- v190 │
00:04:00 verbose #6337 > │ () │
00:04:00 verbose #6338 > │ let v191 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6339 > │ let v192 : char list = v191 v185 │
00:04:00 verbose #6340 > │ let v193 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6341 > │ List.foldBack │
00:04:00 verbose #6342 > │ let v194 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6343 > │ let v195 : (char list -> (UH0 -> UH0)) = v193 v194 │
00:04:00 verbose #6344 > │ let v196 : (UH0 -> UH0) = v195 v192 │
00:04:00 verbose #6345 > │ let v197 : UH0 = UH0_0 │
00:04:00 verbose #6346 > │ let v198 : UH0 = v196 v197 │
00:04:00 verbose #6347 > │ let v199 : US0 = US0_0 │
00:04:00 verbose #6348 > │ let struct (v200 : string, v201 : string) = method4(v183, v182, v198, │
00:04:00 verbose #6349 > │ v199) │
00:04:00 verbose #6350 > │ let v202 : string = @"-c \\""echo 1\\""" │
00:04:00 verbose #6351 > │ let v204 : bool = v200 = "../../file 1.exe" │
00:04:00 verbose #6352 > │ let v206 : bool = │
00:04:00 verbose #6353 > │ if v204 then │
00:04:00 verbose #6354 > │ let v205 : bool = v201 = v202 │
00:04:00 verbose #6355 > │ v205 │
00:04:00 verbose #6356 > │ else │
00:04:00 verbose #6357 > │ false │
00:04:00 verbose #6358 > │ let v208 : bool = │
00:04:00 verbose #6359 > │ if v206 then │
00:04:00 verbose #6360 > │ true │
00:04:00 verbose #6361 > │ else │
00:04:00 verbose #6362 > │ method5(v206) │
00:04:00 verbose #6363 > │ let v209 : string = "../../file 1.exe" │
00:04:00 verbose #6364 > │ let v210 : string = $"{v25} / actual: %A{struct (v200, v201)} / │
00:04:00 verbose #6365 > │ expected: %A{struct (v209, v202)}" │
00:04:00 verbose #6366 > │ System.Console.WriteLine v210 │
00:04:00 verbose #6367 > │ let v211 : bool = v208 = false │
00:04:00 verbose #6368 > │ if v211 then │
00:04:00 verbose #6369 > │ failwith<unit> v210 │
00:04:00 verbose #6370 > │ let v212 : string = @"..\..\file 1.exe -c \\""echo 1\\""" │
00:04:00 verbose #6371 > │ let struct (v213 : string, v214 : string) = method1() │
00:04:00 verbose #6372 > │ let v215 : int32 = v212.Length │
00:04:00 verbose #6373 > │ let v216 : (char []) = Array.zeroCreate<char> (v215) │
00:04:00 verbose #6374 > │ let v217 : Mut0 = {l0 = 0} : Mut0 │
00:04:00 verbose #6375 > │ while method8(v215, v217) do │
00:04:00 verbose #6376 > │ let v219 : int32 = v217.l0 │
00:04:00 verbose #6377 > │ let v220 : char = v212.[int v219] │
00:04:00 verbose #6378 > │ v216.[int v219] <- v220 │
00:04:00 verbose #6379 > │ let v221 : int32 = v219 + 1 │
00:04:00 verbose #6380 > │ v217.l0 <- v221 │
00:04:00 verbose #6381 > │ () │
00:04:00 verbose #6382 > │ let v222 : ((char []) -> char list) = Array.toList │
00:04:00 verbose #6383 > │ let v223 : char list = v222 v216 │
00:04:00 verbose #6384 > │ let v224 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:00 verbose #6385 > │ List.foldBack │
00:04:00 verbose #6386 > │ let v225 : (char -> (UH0 -> UH0)) = method3() │
00:04:00 verbose #6387 > │ let v226 : (char list -> (UH0 -> UH0)) = v224 v225 │
00:04:00 verbose #6388 > │ let v227 : (UH0 -> UH0) = v226 v223 │
00:04:00 verbose #6389 > │ let v228 : UH0 = UH0_0 │
00:04:00 verbose #6390 > │ let v229 : UH0 = v227 v228 │
00:04:00 verbose #6391 > │ let v230 : US0 = US0_0 │
00:04:00 verbose #6392 > │ let struct (v231 : string, v232 : string) = method4(v214, v213, v229, │
00:04:00 verbose #6393 > │ v230) │
00:04:00 verbose #6394 > │ let v233 : string = @"1.exe -c \\""echo 1\\""" │
00:04:00 verbose #6395 > │ let v235 : bool = v231 = "../../file" │
00:04:00 verbose #6396 > │ let v237 : bool = │
00:04:00 verbose #6397 > │ if v235 then │
00:04:00 verbose #6398 > │ let v236 : bool = v232 = v233 │
00:04:01 verbose #6399 > │ v236 │
00:04:01 verbose #6400 > │ else │
00:04:01 verbose #6401 > │ false │
00:04:01 verbose #6402 > │ let v239 : bool = │
00:04:01 verbose #6403 > │ if v237 then │
00:04:01 verbose #6404 > │ true │
00:04:01 verbose #6405 > │ else │
00:04:01 verbose #6406 > │ method5(v237) │
00:04:01 verbose #6407 > │ let v240 : string = "../../file" │
00:04:01 verbose #6408 > │ let v241 : string = $"{v25} / actual: %A{struct (v231, v232)} / │
00:04:01 verbose #6409 > │ expected: %A{struct (v240, v233)}" │
00:04:01 verbose #6410 > │ System.Console.WriteLine v241 │
00:04:01 verbose #6411 > │ let v242 : bool = v239 = false │
00:04:01 verbose #6412 > │ if v242 then │
00:04:01 verbose #6413 > │ failwith<unit> v241 │
00:04:01 verbose #6414 > │ method0() │
00:04:01 verbose #6415 > │ │
00:04:01 verbose #6416 > │ assert_eq / actual: struct ("", "") / expected: struct ("", "") │
00:04:01 verbose #6417 > │ assert_eq / actual: struct ("/a/b/c", "") / expected: struct ("/a/b/c", "") │
00:04:01 verbose #6418 > │ assert_eq / actual: struct ("cat", "file.txt") / expected: struct ("cat", │
00:04:01 verbose #6419 > │ "file.txt") │
00:04:01 verbose #6420 > │ assert_eq / actual: struct ("../../file.exe", "file1.txt file2.txt") / │
00:04:01 verbose #6421 > │ expected: struct ("../../file.exe", "file1.txt file2.txt") │
00:04:01 verbose #6422 > │ assert_eq / actual: struct ("c:/dir/file.exe", ""file1.txt file2.txt"") / │
00:04:01 verbose #6423 > │ expected: struct ("c:/dir/file.exe", ""file1.txt file2.txt"") │
00:04:01 verbose #6424 > │ assert_eq / actual: struct ("../../dir name/file.exe", ""file 1.txt" │
00:04:01 verbose #6425 > │ file2.txt") / expected: struct ("../../dir name/file.exe", ""file 1.txt" │
00:04:01 verbose #6426 > │ file2.txt") │
00:04:01 verbose #6427 > │ assert_eq / actual: struct ("../../file 1.exe", "-c \\"echo 1\\"") / │
00:04:01 verbose #6428 > │ expected: struct ("../../file 1.exe", "-c \\"echo 1\\"") │
00:04:01 verbose #6429 > │ assert_eq / actual: struct ("../../file", "1.exe -c \\"echo 1\\"") / │
00:04:01 verbose #6430 > │ expected: struct ("../../file", "1.exe -c \\"echo 1\\"") │
00:04:01 verbose #6431 > │ │
00:04:01 verbose #6432 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:01 verbose #6433 >
00:04:01 verbose #6434 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:01 verbose #6435 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:01 verbose #6436 > │ ## process │
00:04:01 verbose #6437 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:01 verbose #6438 >
00:04:01 verbose #6439 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:01 verbose #6440 > nominal process = $'System.Diagnostics.Process'
00:04:01 verbose #6441 > nominal process_start_info = $'System.Diagnostics.ProcessStartInfo'
00:04:01 verbose #6442 > nominal data_received_event_args = $'System.Diagnostics.DataReceivedEventArgs'
00:04:01 verbose #6443 >
00:04:01 verbose #6444 > inl new_process (process_start_info : process_start_info) : process =
00:04:01 verbose #6445 > $'new `process (StartInfo = !process_start_info)'
00:04:01 verbose #6446 >
00:04:01 verbose #6447 > inl process_start (process : process) : bool =
00:04:01 verbose #6448 > $'!process.Start' ()
00:04:01 verbose #6449 >
00:04:01 verbose #6450 > inl process_exit_code (process : process) : i32 =
00:04:01 verbose #6451 > $'!process.ExitCode'
00:04:01 verbose #6452 >
00:04:01 verbose #6453 > inl process_id (process : process) : i32 =
00:04:01 verbose #6454 > $'!process.Id'
00:04:01 verbose #6455 >
00:04:01 verbose #6456 > inl process_has_exited (process : process) : bool =
00:04:01 verbose #6457 > run_target function
00:04:01 verbose #6458 > | Fsharp (Native) => fun () =>
00:04:01 verbose #6459 > $'!process.HasExited'
00:04:01 verbose #6460 > | _ => fun () => null ()
00:04:01 verbose #6461 >
00:04:01 verbose #6462 > inl process_kill (process : process) : () =
00:04:01 verbose #6463 > run_target function
00:04:01 verbose #6464 > | Fsharp (Native) => fun () =>
00:04:01 verbose #6465 > $'!process.Kill' ()
00:04:01 verbose #6466 > | _ => fun () => null ()
00:04:01 verbose #6467 >
00:04:01 verbose #6468 > inl process_begin_error_read_line (process : process) : () =
00:04:01 verbose #6469 > $'!process.BeginErrorReadLine' ()
00:04:01 verbose #6470 >
00:04:01 verbose #6471 > inl process_begin_output_read_line (process : process) : () =
00:04:01 verbose #6472 > $'!process.BeginOutputReadLine' ()
00:04:01 verbose #6473 >
00:04:01 verbose #6474 > inl process_add_output_data_received fn (process : process) : () =
00:04:01 verbose #6475 > $'!process.OutputDataReceived.Add !fn '
00:04:01 verbose #6476 >
00:04:01 verbose #6477 > inl process_add_error_data_received fn (process : process) : () =
00:04:01 verbose #6478 > $'!process.ErrorDataReceived.Add !fn '
00:04:01 verbose #6479 >
00:04:01 verbose #6480 > inl process_wait_for_exit_async (ct : threading.cancellation_token) (process :
00:04:01 verbose #6481 > process) : async.task () =
00:04:01 verbose #6482 > $'!process.WaitForExitAsync !ct '
00:04:01 verbose #6483 >
00:04:01 verbose #6484 > inl event_data (e : data_received_event_args) : string =
00:04:01 verbose #6485 > $'!e.Data'
00:04:01 verbose #6486 > 00:04:00 debug #219 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7de25118dc1a45d610b69b3c80765d1958223ab3fe8bbcd6a54e7760503076a0/main.spi
00:04:01 verbose #6487 >
00:04:01 verbose #6488 > ╭─[ 616.29ms - stdout ]────────────────────────────────────────────────────────╮
00:04:01 verbose #6489 > │ () │
00:04:01 verbose #6490 > │ │
00:04:01 verbose #6491 > │ │
00:04:01 verbose #6492 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:01 verbose #6493 >
00:04:01 verbose #6494 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:01 verbose #6495 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:01 verbose #6496 > │ ## execution_line │
00:04:01 verbose #6497 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:01 verbose #6498 >
00:04:01 verbose #6499 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:01 verbose #6500 > type execution_line =
00:04:01 verbose #6501 > {
00:04:01 verbose #6502 > process_id : int
00:04:01 verbose #6503 > line : string
00:04:01 verbose #6504 > error : bool
00:04:01 verbose #6505 > }
00:04:02 verbose #6506 > 00:04:01 debug #220 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ef1013b5f495948d1385c73c33c2afe13a81a6353091e17ee1d6eb32511165fc/main.spi
00:04:02 verbose #6507 >
00:04:02 verbose #6508 > ╭─[ 797.58ms - stdout ]────────────────────────────────────────────────────────╮
00:04:02 verbose #6509 > │ () │
00:04:02 verbose #6510 > │ │
00:04:02 verbose #6511 > │ │
00:04:02 verbose #6512 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:02 verbose #6513 >
00:04:02 verbose #6514 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:02 verbose #6515 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:02 verbose #6516 > │ ## execution_options │
00:04:02 verbose #6517 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:02 verbose #6518 >
00:04:02 verbose #6519 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:02 verbose #6520 > type execution_options =
00:04:02 verbose #6521 > {
00:04:02 verbose #6522 > command : string
00:04:02 verbose #6523 > working_directory : optionm'.option' string
00:04:02 verbose #6524 > cancellation_token : optionm'.option' threading.cancellation_token
00:04:02 verbose #6525 > environment_variables : array_base (string * string)
00:04:02 verbose #6526 > on_line : optionm'.option' (execution_line -> async.async ())
00:04:02 verbose #6527 > stdin : optionm'.option' (threading.arc (threading.mutex child_stdin) ->
00:04:02 verbose #6528 > ())
00:04:02 verbose #6529 > }
00:04:02 verbose #6530 >
00:04:02 verbose #6531 > inl execution_options (fn : execution_options -> execution_options) :
00:04:02 verbose #6532 > execution_options =
00:04:02 verbose #6533 > {
00:04:02 verbose #6534 > command = ""
00:04:02 verbose #6535 > working_directory = None |> optionm'.box
00:04:02 verbose #6536 > cancellation_token = None |> optionm'.box
00:04:02 verbose #6537 > environment_variables = ;[[]]
00:04:02 verbose #6538 > on_line = None |> optionm'.box
00:04:02 verbose #6539 > stdin = None |> optionm'.box
00:04:02 verbose #6540 > }
00:04:02 verbose #6541 > |> fn
00:04:02 verbose #6542 > 00:04:01 debug #221 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/37d82071b1ef842b16e5f76ecffca2cff822c0300b982768b9ae98885c9148e2/main.spi
00:04:03 verbose #6543 >
00:04:03 verbose #6544 > ╭─[ 623.53ms - stdout ]────────────────────────────────────────────────────────╮
00:04:03 verbose #6545 > │ () │
00:04:03 verbose #6546 > │ │
00:04:03 verbose #6547 > │ │
00:04:03 verbose #6548 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:03 verbose #6549 >
00:04:03 verbose #6550 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:03 verbose #6551 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:03 verbose #6552 > │ ## execute_with_options_async │
00:04:03 verbose #6553 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:03 verbose #6554 >
00:04:03 verbose #6555 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:03 verbose #6556 > inl execute_with_options_async (options : execution_options) : _ (i32 * string)
00:04:03 verbose #6557 > =
00:04:03 verbose #6558 > run_target function
00:04:03 verbose #6559 > | Fsharp (Native) => fun () =>
00:04:03 verbose #6560 > fun () =>
00:04:03 verbose #6561 > inl file_name, arguments = options.command |> split_command
00:04:03 verbose #6562 > inl working_directory = options.working_directory |>
00:04:03 verbose #6563 > optionm'.unbox |> optionm'.default_value ""
00:04:03 verbose #6564 >
00:04:03 verbose #6565 > trace Debug (fun () => $'$"execute_with_options_async / options:
00:04:03 verbose #6566 > %A{!options}"') (join _locals)
00:04:03 verbose #6567 >
00:04:03 verbose #6568 > inl utf8 = sm'.encoding_utf8 ()
00:04:03 verbose #6569 > inl start_info : process_start_info =
00:04:03 verbose #6570 > $'System.Diagnostics.ProcessStartInfo (Arguments = !arguments,
00:04:03 verbose #6571 > StandardOutputEncoding = !utf8, WorkingDirectory = !working_directory, FileName
00:04:03 verbose #6572 > = !file_name, CreateNoWindow = true, RedirectStandardError = true,
00:04:03 verbose #6573 > RedirectStandardOutput = true, UseShellExecute = false)'
00:04:03 verbose #6574 >
00:04:03 verbose #6575 > (a options.environment_variables : _ i32 _)
00:04:03 verbose #6576 > |> am.iter fun key, value =>
00:04:03 verbose #6577 > $'!start_info.EnvironmentVariables.[[!key]] <- !value '
00:04:03 verbose #6578 >
00:04:03 verbose #6579 > inl proc = start_info |> new_process |> use
00:04:03 verbose #6580 > inl output : _ string = threading.new_concurrent_stack ()
00:04:03 verbose #6581 >
00:04:03 verbose #6582 > inl event error (e : data_received_event_args) = async.new_async
00:04:03 verbose #6583 > fun () =>
00:04:03 verbose #6584 > inl data = e |> event_data
00:04:03 verbose #6585 > if data <> null () then
00:04:03 verbose #6586 > match options.on_line |> optionm'.unbox with
00:04:03 verbose #6587 > | Some on_line =>
00:04:03 verbose #6588 > on_line
00:04:03 verbose #6589 > {
00:04:03 verbose #6590 > process_id = proc |> process_id
00:04:03 verbose #6591 > line = data
00:04:03 verbose #6592 > error = error
00:04:03 verbose #6593 > }
00:04:03 verbose #6594 > |> async.do
00:04:03 verbose #6595 > | None => ()
00:04:03 verbose #6596 >
00:04:03 verbose #6597 > trace Verbose (fun () => $'$"> {!data}"') _locals
00:04:03 verbose #6598 >
00:04:03 verbose #6599 > inl l = if error then "[[" else ""
00:04:03 verbose #6600 > inl r = if error then "]]" else ""
00:04:03 verbose #6601 > output |> threading.concurrent_stack_push
00:04:03 verbose #6602 > $'$"{!l}{!data}{!r}"'
00:04:03 verbose #6603 >
00:04:03 verbose #6604 > proc |> process_add_output_data_received (event false >>
00:04:03 verbose #6605 > async.start_immediate)
00:04:03 verbose #6606 > proc |> process_add_error_data_received (event true >>
00:04:03 verbose #6607 > async.start_immediate)
00:04:03 verbose #6608 >
00:04:03 verbose #6609 > if proc |> process_start |> not
00:04:03 verbose #6610 > then failwith $'$"execute_with_options_async / process_start
00:04:03 verbose #6611 > error"'
00:04:03 verbose #6612 >
00:04:03 verbose #6613 > proc |> process_begin_error_read_line
00:04:03 verbose #6614 > proc |> process_begin_output_read_line
00:04:03 verbose #6615 >
00:04:03 verbose #6616 > inl ct =
00:04:03 verbose #6617 > options.cancellation_token
00:04:03 verbose #6618 > |> optionm'.unbox
00:04:03 verbose #6619 > |> optionm'.default_with threading.token_none
00:04:03 verbose #6620 > |> async.merge_cancellation_token_with_default_async
00:04:03 verbose #6621 > |> async.let'
00:04:03 verbose #6622 >
00:04:03 verbose #6623 > ct |> threading.token_register fun () =>
00:04:03 verbose #6624 > if proc |> process_has_exited |> not
00:04:03 verbose #6625 > then proc |> process_kill
00:04:03 verbose #6626 > |> use
00:04:03 verbose #6627 > |> ignore
00:04:03 verbose #6628 >
00:04:03 verbose #6629 > inl exit_code : i32 =
00:04:03 verbose #6630 > fun () =>
00:04:03 verbose #6631 > try_unit
00:04:03 verbose #6632 > fun () =>
00:04:03 verbose #6633 > proc
00:04:03 verbose #6634 > |> process_wait_for_exit_async ct
00:04:03 verbose #6635 > |> async.await_task
00:04:03 verbose #6636 > |> async.do
00:04:03 verbose #6637 > proc |> process_exit_code |> return
00:04:03 verbose #6638 > fun ex =>
00:04:03 verbose #6639 > // with :?
00:04:03 verbose #6640 > System.Threading.Tasks.TaskCanceledException as ex =>
00:04:03 verbose #6641 > inl ex' = ex |> sm'.format_exception
00:04:03 verbose #6642 > output |> threading.concurrent_stack_push ex'
00:04:03 verbose #6643 > inl ex : async.task_canceled_exception = ex |>
00:04:03 verbose #6644 > unbox
00:04:03 verbose #6645 > trace Warning (fun () =>
00:04:03 verbose #6646 > $'$"execute_with_options_async / WaitForExitAsync / ex: %A{!ex}"') (join
00:04:03 verbose #6647 > _locals)
00:04:03 verbose #6648 > (limit.min : i32) |> return
00:04:03 verbose #6649 > |> async.new_async_unit
00:04:03 verbose #6650 > |> async.let'
00:04:03 verbose #6651 >
00:04:03 verbose #6652 > inl output =
00:04:03 verbose #6653 > output
00:04:03 verbose #6654 > |> seq.rev''
00:04:03 verbose #6655 > |> fun x => x : seq.seq' string
00:04:03 verbose #6656 > |> sm'.concat "\n"
00:04:03 verbose #6657 >
00:04:03 verbose #6658 > trace Debug (fun () =>
00:04:03 verbose #6659 > $'$"execute_with_options_async / exit_code: {!exit_code}
00:04:03 verbose #6660 > output.Length: {!output.Length}"'
00:04:03 verbose #6661 > ) (join _locals)
00:04:03 verbose #6662 >
00:04:03 verbose #6663 > (exit_code, output) |> return
00:04:03 verbose #6664 > |> async.new_async_unit
00:04:03 verbose #6665 > | _ => fun () =>
00:04:03 verbose #6666 > global "#if FABLE_COMPILER\n[[<CompilationRepresentation
00:04:03 verbose #6667 > (CompilationRepresentationFlags.ModuleSuffix)>]]\nmodule System =\n module
00:04:03 verbose #6668 > Diagnostics =\n type Process = unit\n type DataReceivedEventArgs =
00:04:03 verbose #6669 > unit\n#endif"
00:04:03 verbose #6670 > null ()
00:04:03 verbose #6671 > 00:04:02 debug #222 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6344e9f8ed87353109cb4c4260c5dddbe78ff98a4b8ecc722fd9468a67beabb8/main.spi
00:04:03 verbose #6672 >
00:04:03 verbose #6673 > ╭─[ 636.53ms - stdout ]────────────────────────────────────────────────────────╮
00:04:03 verbose #6674 > │ () │
00:04:03 verbose #6675 > │ │
00:04:03 verbose #6676 > │ │
00:04:03 verbose #6677 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:03 verbose #6678 >
00:04:03 verbose #6679 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:03 verbose #6680 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:03 verbose #6681 > │ ## execute_async │
00:04:03 verbose #6682 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:03 verbose #6683 >
00:04:03 verbose #6684 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:03 verbose #6685 > inl execute_async command =
00:04:03 verbose #6686 > execution_options fun x => { x with
00:04:03 verbose #6687 > command = command
00:04:03 verbose #6688 > }
00:04:03 verbose #6689 > |> execute_with_options_async
00:04:04 verbose #6690 > 00:04:03 debug #223 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2513e748c80c72a57e511b4a90a8ad67f8beb095c087cd8c5dda0d640728751a/main.spi
00:04:04 verbose #6691 >
00:04:04 verbose #6692 > ╭─[ 609.91ms - stdout ]────────────────────────────────────────────────────────╮
00:04:04 verbose #6693 > │ () │
00:04:04 verbose #6694 > │ │
00:04:04 verbose #6695 > │ │
00:04:04 verbose #6696 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:04 verbose #6697 >
00:04:04 verbose #6698 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:04 verbose #6699 > //// test
00:04:04 verbose #6700 >
00:04:04 verbose #6701 > types ()
00:04:04 verbose #6702 > inl temp_folder, disposable = file_system.create_temp_directory ()
00:04:04 verbose #6703 > disposable |> use |> ignore
00:04:04 verbose #6704 > inl file_name = "test.txt"
00:04:04 verbose #6705 > inl path = temp_folder </> file_name
00:04:04 verbose #6706 >
00:04:04 verbose #6707 > fun () =>
00:04:04 verbose #6708 > inl exit_code, result = execute_async $'\@$"pwsh -c ""Get-Content
00:04:04 verbose #6709 > {!path}"""' |> async.let'
00:04:04 verbose #6710 > exit_code |> join _assert_eq 1
00:04:04 verbose #6711 > result |> _assert_string_contains "not exist"
00:04:04 verbose #6712 >
00:04:04 verbose #6713 > "0" |> file_system.write_all_text_async path |> async.do
00:04:04 verbose #6714 >
00:04:04 verbose #6715 > execution_options fun x => { x with
00:04:04 verbose #6716 > command = $'\@$"pwsh -c ""Get-Content {!file_name}"""'
00:04:04 verbose #6717 > working_directory = Some temp_folder |> optionm'.box
00:04:04 verbose #6718 > }
00:04:04 verbose #6719 > |> execute_with_options_async
00:04:04 verbose #6720 > |> async.return_await
00:04:04 verbose #6721 > |> async.new_async_unit
00:04:04 verbose #6722 > |> async.run_with_timeout 10000
00:04:04 verbose #6723 > |> function
00:04:04 verbose #6724 > | Some (exit_code, output) =>
00:04:04 verbose #6725 > exit_code |> join _assert_eq 0i32
00:04:04 verbose #6726 > output |> join _assert_eq "0"
00:04:04 verbose #6727 > true
00:04:04 verbose #6728 > | _ => false
00:04:04 verbose #6729 > |> _assert_eq true
00:04:04 verbose #6730 > 00:04:03 debug #224 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c701f506285df38534b576758cb855b71bd2e19442d948d483cb5b2af7f845c1/main.spi
00:04:07 verbose #6731 >
00:04:07 verbose #6732 > ╭─[ 3.49s - stdout ]───────────────────────────────────────────────────────────╮
00:04:07 verbose #6733 > │ #if FABLE_COMPILER │
00:04:07 verbose #6734 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:04:07 verbose #6735 > │ #endif │
00:04:07 verbose #6736 > │ type Func0<'T> = class end │
00:04:07 verbose #6737 > │ #if FABLE_COMPILER │
00:04:07 verbose #6738 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:04:07 verbose #6739 > │ #endif │
00:04:07 verbose #6740 > │ type Func0<'T, 'U> = class end │
00:04:07 verbose #6741 > │ #if FABLE_COMPILER │
00:04:07 verbose #6742 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:04:07 verbose #6743 > │ #endif │
00:04:07 verbose #6744 > │ type Box<'T> = class end │
00:04:07 verbose #6745 > │ #if FABLE_COMPILER │
00:04:07 verbose #6746 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:04:07 verbose #6747 > │ #endif │
00:04:07 verbose #6748 > │ type Dyn<'T> = class end │
00:04:07 verbose #6749 > │ #if FABLE_COMPILER │
00:04:07 verbose #6750 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:04:07 verbose #6751 > │ #endif │
00:04:07 verbose #6752 > │ type Send<'T> = class end │
00:04:07 verbose #6753 > │ #if FABLE_COMPILER │
00:04:07 verbose #6754 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:04:07 verbose #6755 > │ #endif │
00:04:07 verbose #6756 > │ type Fn<'T> = class end │
00:04:07 verbose #6757 > │ #if FABLE_COMPILER │
00:04:07 verbose #6758 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:04:07 verbose #6759 > │ #endif │
00:04:07 verbose #6760 > │ type FnUnit = class end │
00:04:07 verbose #6761 > │ #if FABLE_COMPILER │
00:04:07 verbose #6762 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:04:07 verbose #6763 > │ #endif │
00:04:07 verbose #6764 > │ type FnOnce<'T> = class end │
00:04:07 verbose #6765 > │ #if FABLE_COMPILER │
00:04:07 verbose #6766 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:04:07 verbose #6767 > │ #endif │
00:04:07 verbose #6768 > │ type ActionFn<'T> = class end │
00:04:07 verbose #6769 > │ #if FABLE_COMPILER │
00:04:07 verbose #6770 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:04:07 verbose #6771 > │ #endif │
00:04:07 verbose #6772 > │ type ActionFn2<'T, 'U> = class end │
00:04:07 verbose #6773 > │ #if FABLE_COMPILER │
00:04:07 verbose #6774 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:04:07 verbose #6775 > │ #endif │
00:04:07 verbose #6776 > │ type Impl<'T> = class end │
00:04:07 verbose #6777 > │ #if FABLE_COMPILER │
00:04:07 verbose #6778 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:04:07 verbose #6779 > │ #endif │
00:04:07 verbose #6780 > │ type Mut<'T> = class end │
00:04:07 verbose #6781 > │ #if FABLE_COMPILER │
00:04:07 verbose #6782 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:04:07 verbose #6783 > │ #endif │
00:04:07 verbose #6784 > │ type Ref<'T> = class end │
00:04:07 verbose #6785 > │ #if FABLE_COMPILER │
00:04:07 verbose #6786 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:04:07 verbose #6787 > │ #endif │
00:04:07 verbose #6788 > │ type StaticRef<'T> = class end │
00:04:07 verbose #6789 > │ #if FABLE_COMPILER │
00:04:07 verbose #6790 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:04:07 verbose #6791 > │ #endif │
00:04:07 verbose #6792 > │ type MutCell<'T> = class end │
00:04:07 verbose #6793 > │ #if FABLE_COMPILER │
00:04:07 verbose #6794 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:04:07 verbose #6795 > │ #endif │
00:04:07 verbose #6796 > │ type std_any_Any = class end │
00:04:07 verbose #6797 > │ #if FABLE_COMPILER │
00:04:07 verbose #6798 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:04:07 verbose #6799 > │ #endif │
00:04:07 verbose #6800 > │ type std_borrow_Cow<'T> = class end │
00:04:07 verbose #6801 > │ #if FABLE_COMPILER │
00:04:07 verbose #6802 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:04:07 verbose #6803 > │ #endif │
00:04:07 verbose #6804 > │ type std_cell_RefCell<'T> = class end │
00:04:07 verbose #6805 > │ #if FABLE_COMPILER │
00:04:07 verbose #6806 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:04:07 verbose #6807 > │ #endif │
00:04:07 verbose #6808 > │ type std_pin_Pin<'T> = class end │
00:04:07 verbose #6809 > │ #if FABLE_COMPILER │
00:04:07 verbose #6810 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:04:07 verbose #6811 > │ #endif │
00:04:07 verbose #6812 > │ type std_rc_Rc<'T> = class end │
00:04:07 verbose #6813 > │ #if FABLE_COMPILER │
00:04:07 verbose #6814 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:04:07 verbose #6815 > │ #endif │
00:04:07 verbose #6816 > │ type std_rc_Weak<'T> = class end │
00:04:07 verbose #6817 > │ #if FABLE_COMPILER │
00:04:07 verbose #6818 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:04:07 verbose #6819 > │ #endif │
00:04:07 verbose #6820 > │ type Str = class end │
00:04:07 verbose #6821 > │ #if FABLE_COMPILER │
00:04:07 verbose #6822 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:04:07 verbose #6823 > │ #endif │
00:04:07 verbose #6824 > │ type base64_DecodeError = class end │
00:04:07 verbose #6825 > │ #if FABLE_COMPILER │
00:04:07 verbose #6826 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:04:07 verbose #6827 > │ #endif │
00:04:07 verbose #6828 > │ type borsh_io_Error = class end │
00:04:07 verbose #6829 > │ #if FABLE_COMPILER │
00:04:07 verbose #6830 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:04:07 verbose #6831 > │ #endif │
00:04:07 verbose #6832 > │ type js_sys_JsString = class end │
00:04:07 verbose #6833 > │ #if FABLE_COMPILER │
00:04:07 verbose #6834 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:04:07 verbose #6835 > │ #endif │
00:04:07 verbose #6836 > │ type serde_json_Error = class end │
00:04:07 verbose #6837 > │ #if FABLE_COMPILER │
00:04:07 verbose #6838 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:04:07 verbose #6839 > │ #endif │
00:04:07 verbose #6840 > │ type serde_json_Value = class end │
00:04:07 verbose #6841 > │ #if FABLE_COMPILER │
00:04:07 verbose #6842 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:04:07 verbose #6843 > │ #endif │
00:04:07 verbose #6844 > │ type serde_wasm_bindgen_Error = class end │
00:04:07 verbose #6845 > │ #if FABLE_COMPILER │
00:04:07 verbose #6846 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:04:07 verbose #6847 > │ #endif │
00:04:07 verbose #6848 > │ type std_ffi_OsStr = class end │
00:04:07 verbose #6849 > │ #if FABLE_COMPILER │
00:04:07 verbose #6850 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:04:07 verbose #6851 > │ #endif │
00:04:07 verbose #6852 > │ type std_ffi_OsString = class end │
00:04:07 verbose #6853 > │ #if FABLE_COMPILER │
00:04:07 verbose #6854 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:04:07 verbose #6855 > │ #endif │
00:04:07 verbose #6856 > │ type std_fmt_Display<'T> = class end │
00:04:07 verbose #6857 > │ #if FABLE_COMPILER │
00:04:07 verbose #6858 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:04:07 verbose #6859 > │ #endif │
00:04:07 verbose #6860 > │ type std_str_Utf8Error = class end │
00:04:07 verbose #6861 > │ #if FABLE_COMPILER │
00:04:07 verbose #6862 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:04:07 verbose #6863 > │ #endif │
00:04:07 verbose #6864 > │ type std_string_FromUtf8Error = class end │
00:04:07 verbose #6865 > │ #if FABLE_COMPILER │
00:04:07 verbose #6866 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:04:07 verbose #6867 > │ #endif │
00:04:07 verbose #6868 > │ type std_string_String = class end │
00:04:07 verbose #6869 > │ #if FABLE_COMPILER │
00:04:07 verbose #6870 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:04:07 verbose #6871 > │ #endif │
00:04:07 verbose #6872 > │ type std_slice_Windows<'T> = class end │
00:04:07 verbose #6873 > │ #if FABLE_COMPILER │
00:04:07 verbose #6874 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:04:07 verbose #6875 > │ #endif │
00:04:07 verbose #6876 > │ type chrono_DateTime<'T> = class end │
00:04:07 verbose #6877 > │ #if FABLE_COMPILER │
00:04:07 verbose #6878 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:04:07 verbose #6879 > │ #endif │
00:04:07 verbose #6880 > │ type chrono_Local = class end │
00:04:07 verbose #6881 > │ #if FABLE_COMPILER │
00:04:07 verbose #6882 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:04:07 verbose #6883 > │ #endif │
00:04:07 verbose #6884 > │ type chrono_NaiveDateTime = class end │
00:04:07 verbose #6885 > │ #if FABLE_COMPILER │
00:04:07 verbose #6886 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:04:07 verbose #6887 > │ #endif │
00:04:07 verbose #6888 > │ type chrono_Utc = class end │
00:04:07 verbose #6889 > │ #if FABLE_COMPILER │
00:04:07 verbose #6890 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:04:07 verbose #6891 > │ #endif │
00:04:07 verbose #6892 > │ type std_time_Duration = class end │
00:04:07 verbose #6893 > │ #if FABLE_COMPILER │
00:04:07 verbose #6894 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:04:07 verbose #6895 > │ #endif │
00:04:07 verbose #6896 > │ type async_std_io_BufReader<'T> = class end │
00:04:07 verbose #6897 > │ #if FABLE_COMPILER │
00:04:07 verbose #6898 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:04:07 verbose #6899 > │ #endif │
00:04:07 verbose #6900 > │ type std_io_BufReader<'T> = class end │
00:04:07 verbose #6901 > │ #if FABLE_COMPILER │
00:04:07 verbose #6902 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:04:07 verbose #6903 > │ #endif │
00:04:07 verbose #6904 > │ type std_io_Error = class end │
00:04:07 verbose #6905 > │ #if FABLE_COMPILER │
00:04:07 verbose #6906 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:04:07 verbose #6907 > │ #endif │
00:04:07 verbose #6908 > │ type std_io_Lines<'T> = class end │
00:04:07 verbose #6909 > │ #if FABLE_COMPILER │
00:04:07 verbose #6910 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:04:07 verbose #6911 > │ #endif │
00:04:07 verbose #6912 > │ type std_fs_File = class end │
00:04:07 verbose #6913 > │ #if FABLE_COMPILER │
00:04:07 verbose #6914 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:04:07 verbose #6915 > │ #endif │
00:04:07 verbose #6916 > │ type std_fs_FileType = class end │
00:04:07 verbose #6917 > │ #if FABLE_COMPILER │
00:04:07 verbose #6918 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:04:07 verbose #6919 > │ #endif │
00:04:07 verbose #6920 > │ type std_path_Display = class end │
00:04:07 verbose #6921 > │ #if FABLE_COMPILER │
00:04:07 verbose #6922 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:04:07 verbose #6923 > │ #endif │
00:04:07 verbose #6924 > │ type std_path_Path = class end │
00:04:07 verbose #6925 > │ #if FABLE_COMPILER │
00:04:07 verbose #6926 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:04:07 verbose #6927 > │ #endif │
00:04:07 verbose #6928 > │ type std_path_PathBuf = class end │
00:04:07 verbose #6929 > │ #if FABLE_COMPILER │
00:04:07 verbose #6930 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:04:07 verbose #6931 > │ #endif │
00:04:07 verbose #6932 > │ type async_walkdir_DirEntry = class end │
00:04:07 verbose #6933 > │ #if FABLE_COMPILER │
00:04:07 verbose #6934 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:04:07 verbose #6935 > │ #endif │
00:04:07 verbose #6936 > │ type async_walkdir_Filtering = class end │
00:04:07 verbose #6937 > │ #if FABLE_COMPILER │
00:04:07 verbose #6938 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:04:07 verbose #6939 > │ #endif │
00:04:07 verbose #6940 > │ type async_walkdir_WalkDir = class end │
00:04:07 verbose #6941 > │ #if FABLE_COMPILER │
00:04:07 verbose #6942 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0]")>] │
00:04:07 verbose #6943 > │ #endif │
00:04:07 verbose #6944 > │ type Slice<'T> = class end │
00:04:07 verbose #6945 > │ #if FABLE_COMPILER │
00:04:07 verbose #6946 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0; $1]")>] │
00:04:07 verbose #6947 > │ #endif │
00:04:07 verbose #6948 > │ type Slice'<'T, 'U> = class end │
00:04:07 verbose #6949 > │ #if FABLE_COMPILER │
00:04:07 verbose #6950 > │ [<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>] │
00:04:07 verbose #6951 > │ #endif │
00:04:07 verbose #6952 > │ type Vec<'T> = class end │
00:04:07 verbose #6953 > │ #if FABLE_COMPILER │
00:04:07 verbose #6954 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>] │
00:04:07 verbose #6955 > │ #endif │
00:04:07 verbose #6956 > │ type std_future_Future<'T> = class end │
00:04:07 verbose #6957 > │ #if FABLE_COMPILER │
00:04:07 verbose #6958 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>] │
00:04:07 verbose #6959 > │ #endif │
00:04:07 verbose #6960 > │ type futures_future_TryJoinAll<'T> = class end │
00:04:07 verbose #6961 > │ #if FABLE_COMPILER │
00:04:07 verbose #6962 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>] │
00:04:07 verbose #6963 > │ #endif │
00:04:07 verbose #6964 > │ type rayon_vec_IntoIter<'T> = class end │
00:04:07 verbose #6965 > │ #if FABLE_COMPILER │
00:04:07 verbose #6966 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>] │
00:04:07 verbose #6967 > │ #endif │
00:04:07 verbose #6968 > │ type rayon_iter_Map<'T> = class end │
00:04:07 verbose #6969 > │ #if FABLE_COMPILER │
00:04:07 verbose #6970 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>] │
00:04:07 verbose #6971 > │ #endif │
00:04:07 verbose #6972 > │ type futures_lite_stream_StreamExt = class end │
00:04:07 verbose #6973 > │ #if FABLE_COMPILER │
00:04:07 verbose #6974 > │ [<Fable.Core.Erase; Fable.Core.Emit("core::iter::Fuse<$0>")>] │
00:04:07 verbose #6975 > │ #endif │
00:04:07 verbose #6976 > │ type core_iter_Fuse<'T> = class end │
00:04:07 verbose #6977 > │ #if FABLE_COMPILER │
00:04:07 verbose #6978 > │ [<Fable.Core.Erase; Fable.Core.Emit("std:🧵:JoinHandle<$0>")>] │
00:04:07 verbose #6979 > │ #endif │
00:04:07 verbose #6980 > │ type std_thread_JoinHandle<'T> = class end │
00:04:07 verbose #6981 > │ #if FABLE_COMPILER │
00:04:07 verbose #6982 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>] │
00:04:07 verbose #6983 > │ #endif │
00:04:07 verbose #6984 > │ type std_sync_Arc<'T> = class end │
00:04:07 verbose #6985 > │ #if FABLE_COMPILER │
00:04:07 verbose #6986 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>] │
00:04:07 verbose #6987 > │ #endif │
00:04:07 verbose #6988 > │ type std_sync_Mutex<'T> = class end │
00:04:07 verbose #6989 > │ #if FABLE_COMPILER │
00:04:07 verbose #6990 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>] │
00:04:07 verbose #6991 > │ #endif │
00:04:07 verbose #6992 > │ type std_sync_MutexGuard<'T> = class end │
00:04:07 verbose #6993 > │ #if FABLE_COMPILER │
00:04:07 verbose #6994 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>] │
00:04:07 verbose #6995 > │ #endif │
00:04:07 verbose #6996 > │ type std_sync_PoisonError<'T> = class end │
00:04:07 verbose #6997 > │ #if FABLE_COMPILER │
00:04:07 verbose #6998 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Arg")>] │
00:04:07 verbose #6999 > │ #endif │
00:04:07 verbose #7000 > │ type clap_Arg = class end │
00:04:07 verbose #7001 > │ #if FABLE_COMPILER │
00:04:07 verbose #7002 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Command")>] │
00:04:07 verbose #7003 > │ #endif │
00:04:07 verbose #7004 > │ type clap_Command = class end │
00:04:07 verbose #7005 > │ #if FABLE_COMPILER │
00:04:07 verbose #7006 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::ArgMatches")>] │
00:04:07 verbose #7007 > │ #endif │
00:04:07 verbose #7008 > │ type clap_ArgMatches = class end │
00:04:07 verbose #7009 > │ #if FABLE_COMPILER │
00:04:07 verbose #7010 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Child")>] │
00:04:07 verbose #7011 > │ #endif │
00:04:07 verbose #7012 > │ type std_process_Child = class end │
00:04:07 verbose #7013 > │ #if FABLE_COMPILER │
00:04:07 verbose #7014 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStderr")>] │
00:04:07 verbose #7015 > │ #endif │
00:04:07 verbose #7016 > │ type std_process_ChildStderr = class end │
00:04:07 verbose #7017 > │ #if FABLE_COMPILER │
00:04:07 verbose #7018 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdout")>] │
00:04:07 verbose #7019 > │ #endif │
00:04:07 verbose #7020 > │ type std_process_ChildStdout = class end │
00:04:07 verbose #7021 > │ #if FABLE_COMPILER │
00:04:07 verbose #7022 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdin")>] │
00:04:07 verbose #7023 > │ #endif │
00:04:07 verbose #7024 > │ type std_process_ChildStdin = class end │
00:04:07 verbose #7025 > │ #if FABLE_COMPILER │
00:04:07 verbose #7026 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Command")>] │
00:04:07 verbose #7027 > │ #endif │
00:04:07 verbose #7028 > │ type std_process_Command = class end │
00:04:07 verbose #7029 > │ #if FABLE_COMPILER │
00:04:07 verbose #7030 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Output")>] │
00:04:07 verbose #7031 > │ #endif │
00:04:07 verbose #7032 > │ type std_process_Output = class end │
00:04:07 verbose #7033 > │ #if FABLE_COMPILER │
00:04:07 verbose #7034 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Stdio")>] │
00:04:07 verbose #7035 > │ #endif │
00:04:07 verbose #7036 > │ type std_process_Stdio = class end │
00:04:07 verbose #7037 > │ #if FABLE_COMPILER │
00:04:07 verbose #7038 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Receiver<$0>")>] │
00:04:07 verbose #7039 > │ #endif │
00:04:07 verbose #7040 > │ type std_sync_mpsc_Receiver<'T> = class end │
00:04:07 verbose #7041 > │ #if FABLE_COMPILER │
00:04:07 verbose #7042 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Sender<$0>")>] │
00:04:07 verbose #7043 > │ #endif │
00:04:07 verbose #7044 > │ type std_sync_mpsc_Sender<'T> = class end │
00:04:07 verbose #7045 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:04:07 verbose #7046 > │ string │
00:04:07 verbose #7047 > │ module State = let mutable trace_state = None │
00:04:07 verbose #7048 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:04:07 verbose #7049 > │ member _.Dispose () = f () │
00:04:07 verbose #7050 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:04:07 verbose #7051 > │ #if FABLE_COMPILER │
00:04:07 verbose #7052 > │ [<CompilationRepresentation (CompilationRepresentationFlags.ModuleSuffix)>] │
00:04:07 verbose #7053 > │ module System = │
00:04:07 verbose #7054 > │ module Diagnostics = │
00:04:07 verbose #7055 > │ type Process = unit │
00:04:07 verbose #7056 > │ type DataReceivedEventArgs = unit │
00:04:07 verbose #7057 > │ #endif │
00:04:07 verbose #7058 > │ type [<Struct>] US0 = │
00:04:07 verbose #7059 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:04:07 verbose #7060 > │ | US0_1 │
00:04:07 verbose #7061 > │ and [<Struct>] US1 = │
00:04:07 verbose #7062 > │ | US1_0 of f0_0 : string │
00:04:07 verbose #7063 > │ | US1_1 │
00:04:07 verbose #7064 > │ and [<Struct>] US2 = │
00:04:07 verbose #7065 > │ | US2_0 │
00:04:07 verbose #7066 > │ | US2_1 of f1_0 : std_string_String │
00:04:07 verbose #7067 > │ and [<Struct>] US3 = │
00:04:07 verbose #7068 > │ | US3_0 │
00:04:07 verbose #7069 > │ | US3_1 │
00:04:07 verbose #7070 > │ | US3_2 │
00:04:07 verbose #7071 > │ | US3_3 │
00:04:07 verbose #7072 > │ | US3_4 │
00:04:07 verbose #7073 > │ and Mut0 = {mutable l0 : int64} │
00:04:07 verbose #7074 > │ and Mut1 = {mutable l0 : bool} │
00:04:07 verbose #7075 > │ and Mut2 = {mutable l0 : US3} │
00:04:07 verbose #7076 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:04:07 verbose #7077 > │ and [<Struct>] US4 = │
00:04:07 verbose #7078 > │ | US4_0 of f0_0 : int64 │
00:04:07 verbose #7079 > │ | US4_1 │
00:04:07 verbose #7080 > │ and [<Struct>] US5 = │
00:04:07 verbose #7081 > │ | US5_0 of f0_0 : int64 │
00:04:07 verbose #7082 > │ | US5_1 │
00:04:07 verbose #7083 > │ and Mut4 = {mutable l0 : int32} │
00:04:07 verbose #7084 > │ and UH0 = │
00:04:07 verbose #7085 > │ | UH0_0 │
00:04:07 verbose #7086 > │ | UH0_1 of char * UH0 │
00:04:07 verbose #7087 > │ and [<Struct>] US7 = │
00:04:07 verbose #7088 > │ | US7_0 │
00:04:07 verbose #7089 > │ | US7_1 │
00:04:07 verbose #7090 > │ and [<Struct>] US6 = │
00:04:07 verbose #7091 > │ | US6_0 │
00:04:07 verbose #7092 > │ | US6_1 of f1_0 : US7 │
00:04:07 verbose #7093 > │ | US6_2 │
00:04:07 verbose #7094 > │ and [<Struct>] US8 = │
00:04:07 verbose #7095 > │ | US8_0 of f0_0 : (struct (bool * string * int32) -> Async<unit>) │
00:04:07 verbose #7096 > │ | US8_1 │
00:04:07 verbose #7097 > │ and [<Struct>] US9 = │
00:04:07 verbose #7098 > │ | US9_0 of f0_0 : System.Threading.CancellationToken │
00:04:07 verbose #7099 > │ | US9_1 │
00:04:07 verbose #7100 > │ and [<Struct>] US10 = │
00:04:07 verbose #7101 > │ | US10_0 of f0_0 : int32 * f0_1 : string │
00:04:07 verbose #7102 > │ | US10_1 │
00:04:07 verbose #7103 > │ and [<Struct>] US11 = │
00:04:07 verbose #7104 > │ | US11_0 of f0_0 : int32 * f0_1 : string │
00:04:07 verbose #7105 > │ | US11_1 of f1_0 : exn │
00:04:07 verbose #7106 > │ and [<Struct>] US12 = │
00:04:07 verbose #7107 > │ | US12_0 of f0_0 : int32 * f0_1 : string │
00:04:08 verbose #7108 > │ | US12_1 of f1_0 : exn │
00:04:08 verbose #7109 > │ let rec method2 (v0 : string) : string = │
00:04:08 verbose #7110 > │ v0 │
00:04:08 verbose #7111 > │ and method3 (v0 : string) : string = │
00:04:08 verbose #7112 > │ v0 │
00:04:08 verbose #7113 > │ and method4 (v0 : string) : string = │
00:04:08 verbose #7114 > │ v0 │
00:04:08 verbose #7115 > │ and method1 (v0 : string, v1 : string) : string = │
00:04:08 verbose #7116 > │ let v2 : string option = None │
00:04:08 verbose #7117 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:04:08 verbose #7118 > │ │
00:04:08 verbose #7119 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7120 > │ │
00:04:08 verbose #7121 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7122 > │ let v4 : string = method2(v0) │
00:04:08 verbose #7123 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7124 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:04:08 verbose #7125 > │ let v7 : string = "String::from($0)" │
00:04:08 verbose #7126 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:04:08 verbose #7127 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:04:08 verbose #7128 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:04:08 verbose #7129 > │ let v11 : string = method2(v1) │
00:04:08 verbose #7130 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7131 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:04:08 verbose #7132 > │ let v14 : string = "String::from($0)" │
00:04:08 verbose #7133 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:04:08 verbose #7134 > │ v14 │
00:04:08 verbose #7135 > │ let v16 : string = "$0.join($1)" │
00:04:08 verbose #7136 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:04:08 verbose #7137 > │ (v10, v15) v16 │
00:04:08 verbose #7138 > │ let v18 : string = "$0.display()" │
00:04:08 verbose #7139 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:04:08 verbose #7140 > │ let v20 : std_string_String option = None │
00:04:08 verbose #7141 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:04:08 verbose #7142 > │ │
00:04:08 verbose #7143 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7144 > │ │
00:04:08 verbose #7145 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7146 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #7147 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:08 verbose #7148 > │ v22 │
00:04:08 verbose #7149 > │ v23 │
00:04:08 verbose #7150 > │ #endif │
00:04:08 verbose #7151 > │ │
00:04:08 verbose #7152 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7153 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #7154 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:08 verbose #7155 > │ v24 │
00:04:08 verbose #7156 > │ v25 │
00:04:08 verbose #7157 > │ #endif │
00:04:08 verbose #7158 > │ │
00:04:08 verbose #7159 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7160 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #7161 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:08 verbose #7162 > │ v26 │
00:04:08 verbose #7163 > │ v27 │
00:04:08 verbose #7164 > │ #endif │
00:04:08 verbose #7165 > │ │
00:04:08 verbose #7166 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7167 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #7168 > │ v28 │
00:04:08 verbose #7169 > │ #endif │
00:04:08 verbose #7170 > │ │
00:04:08 verbose #7171 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7172 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #7173 > │ v29 │
00:04:08 verbose #7174 > │ #endif │
00:04:08 verbose #7175 > │ │
00:04:08 verbose #7176 > │ #else │
00:04:08 verbose #7177 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #7178 > │ v30 │
00:04:08 verbose #7179 > │ #endif │
00:04:08 verbose #7180 > │ |> fun x -> _v20 <- Some x │
00:04:08 verbose #7181 > │ let v31 : std_string_String = _v20.Value │
00:04:08 verbose #7182 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #7183 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:04:08 verbose #7184 > │ v33 │
00:04:08 verbose #7185 > │ #endif │
00:04:08 verbose #7186 > │ │
00:04:08 verbose #7187 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7188 > │ let v34 : string = null |> unbox<string> │
00:04:08 verbose #7189 > │ v34 │
00:04:08 verbose #7190 > │ #endif │
00:04:08 verbose #7191 > │ │
00:04:08 verbose #7192 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7193 > │ let v35 : string = null |> unbox<string> │
00:04:08 verbose #7194 > │ v35 │
00:04:08 verbose #7195 > │ #endif │
00:04:08 verbose #7196 > │ │
00:04:08 verbose #7197 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7198 > │ let v36 : string = "path" │
00:04:08 verbose #7199 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:04:08 verbose #7200 > │ let v38 : string = method3(v0) │
00:04:08 verbose #7201 > │ let v39 : string = method4(v1) │
00:04:08 verbose #7202 > │ let v40 : string = "v37.join(v38, v39)" │
00:04:08 verbose #7203 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:04:08 verbose #7204 > │ v41 │
00:04:08 verbose #7205 > │ #endif │
00:04:08 verbose #7206 > │ │
00:04:08 verbose #7207 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7208 > │ let v42 : string = null |> unbox<string> │
00:04:08 verbose #7209 > │ v42 │
00:04:08 verbose #7210 > │ #endif │
00:04:08 verbose #7211 > │ │
00:04:08 verbose #7212 > │ #else │
00:04:08 verbose #7213 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:04:08 verbose #7214 > │ v43 │
00:04:08 verbose #7215 > │ #endif │
00:04:08 verbose #7216 > │ |> fun x -> _v2 <- Some x │
00:04:08 verbose #7217 > │ let v44 : string = _v2.Value │
00:04:08 verbose #7218 > │ v44 │
00:04:08 verbose #7219 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:04:08 verbose #7220 > │ US0_0(v0) │
00:04:08 verbose #7221 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:04:08 verbose #7222 > │ closure0() │
00:04:08 verbose #7223 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:04:08 verbose #7224 > │ = │
00:04:08 verbose #7225 > │ v0 │
00:04:08 verbose #7226 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:04:08 verbose #7227 > │ chrono_DateTime<chrono_Local> = │
00:04:08 verbose #7228 > │ v0 │
00:04:08 verbose #7229 > │ and method8 () : string = │
00:04:08 verbose #7230 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:04:08 verbose #7231 > │ v0 │
00:04:08 verbose #7232 > │ and method9 () : string = │
00:04:08 verbose #7233 > │ let v0 : string = "hhmm" │
00:04:08 verbose #7234 > │ v0 │
00:04:08 verbose #7235 > │ and method10 (v0 : string) : string = │
00:04:08 verbose #7236 > │ v0 │
00:04:08 verbose #7237 > │ and closure1 () (v0 : std_io_Error) : std_string_String = │
00:04:08 verbose #7238 > │ let v1 : std_string_String option = None │
00:04:08 verbose #7239 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:08 verbose #7240 > │ │
00:04:08 verbose #7241 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7242 > │ │
00:04:08 verbose #7243 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7244 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #7245 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:04:08 verbose #7246 > │ v4 │
00:04:08 verbose #7247 > │ #endif │
00:04:08 verbose #7248 > │ │
00:04:08 verbose #7249 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7250 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #7251 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:04:08 verbose #7252 > │ v6 │
00:04:08 verbose #7253 > │ #endif │
00:04:08 verbose #7254 > │ │
00:04:08 verbose #7255 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7256 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #7257 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:04:08 verbose #7258 > │ v8 │
00:04:08 verbose #7259 > │ #endif │
00:04:08 verbose #7260 > │ │
00:04:08 verbose #7261 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7262 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #7263 > │ v9 │
00:04:08 verbose #7264 > │ #endif │
00:04:08 verbose #7265 > │ │
00:04:08 verbose #7266 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7267 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #7268 > │ v10 │
00:04:08 verbose #7269 > │ #endif │
00:04:08 verbose #7270 > │ │
00:04:08 verbose #7271 > │ #else │
00:04:08 verbose #7272 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #7273 > │ v11 │
00:04:08 verbose #7274 > │ #endif │
00:04:08 verbose #7275 > │ |> fun x -> _v1 <- Some x │
00:04:08 verbose #7276 > │ let v12 : std_string_String = _v1.Value │
00:04:08 verbose #7277 > │ v12 │
00:04:08 verbose #7278 > │ and method11 () : (std_io_Error -> std_string_String) = │
00:04:08 verbose #7279 > │ closure1() │
00:04:08 verbose #7280 > │ and closure2 () () : US2 = │
00:04:08 verbose #7281 > │ US2_0 │
00:04:08 verbose #7282 > │ and closure3 () (v0 : std_string_String) : US2 = │
00:04:08 verbose #7283 > │ US2_1(v0) │
00:04:08 verbose #7284 > │ and closure4 () () : string = │
00:04:08 verbose #7285 > │ let v0 : string = "file_system.create_directory" │
00:04:08 verbose #7286 > │ v0 │
00:04:08 verbose #7287 > │ and closure6 () () : string = │
00:04:08 verbose #7288 > │ let v0 : string = "" │
00:04:08 verbose #7289 > │ v0 │
00:04:08 verbose #7290 > │ and closure5 (v0 : string, v1 : std_string_String) () : string = │
00:04:08 verbose #7291 > │ let v2 : (unit -> string) = closure6() │
00:04:08 verbose #7292 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:04:08 verbose #7293 > │ v3 │
00:04:08 verbose #7294 > │ and closure9 () (v0 : string) : unit = │
00:04:08 verbose #7295 > │ () │
00:04:08 verbose #7296 > │ and method13 (v0 : int64 option) : int64 option = │
00:04:08 verbose #7297 > │ v0 │
00:04:08 verbose #7298 > │ and method14 (v0 : int64 option) : int64 option = │
00:04:08 verbose #7299 > │ v0 │
00:04:08 verbose #7300 > │ and closure8 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:04:08 verbose #7301 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:04:08 verbose #7302 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:04:08 verbose #7303 > │ let v2 : US3 = US3_0 │
00:04:08 verbose #7304 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:04:08 verbose #7305 > │ let v4 : (string -> unit) = closure9() │
00:04:08 verbose #7306 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:04:08 verbose #7307 > │ let v6 : int64 option option = None │
00:04:08 verbose #7308 > │ let mutable _v6 = v6 │
00:04:08 verbose #7309 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:04:08 verbose #7310 > │ let v7 : string option = None │
00:04:08 verbose #7311 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:04:08 verbose #7312 > │ │
00:04:08 verbose #7313 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7314 > │ │
00:04:08 verbose #7315 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7316 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:04:08 verbose #7317 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:04:08 verbose #7318 > │ v10 │
00:04:08 verbose #7319 > │ #endif │
00:04:08 verbose #7320 > │ │
00:04:08 verbose #7321 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7322 > │ let v11 : string = null |> unbox<string> │
00:04:08 verbose #7323 > │ v11 │
00:04:08 verbose #7324 > │ #endif │
00:04:08 verbose #7325 > │ │
00:04:08 verbose #7326 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7327 > │ let v12 : string = null |> unbox<string> │
00:04:08 verbose #7328 > │ v12 │
00:04:08 verbose #7329 > │ #endif │
00:04:08 verbose #7330 > │ │
00:04:08 verbose #7331 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7332 > │ let v13 : string = null |> unbox<string> │
00:04:08 verbose #7333 > │ v13 │
00:04:08 verbose #7334 > │ #endif │
00:04:08 verbose #7335 > │ │
00:04:08 verbose #7336 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7337 > │ let v14 : string = null |> unbox<string> │
00:04:08 verbose #7338 > │ v14 │
00:04:08 verbose #7339 > │ #endif │
00:04:08 verbose #7340 > │ │
00:04:08 verbose #7341 > │ #else │
00:04:08 verbose #7342 > │ let v15 : string = │
00:04:08 verbose #7343 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:04:08 verbose #7344 > │ v15 │
00:04:08 verbose #7345 > │ #endif │
00:04:08 verbose #7346 > │ |> fun x -> _v7 <- Some x │
00:04:08 verbose #7347 > │ let v16 : string = _v7.Value │
00:04:08 verbose #7348 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:04:08 verbose #7349 > │ let v19 : bool = v18 <> true │
00:04:08 verbose #7350 > │ let v25 : US4 = │
00:04:08 verbose #7351 > │ if v19 then │
00:04:08 verbose #7352 > │ let v20 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #7353 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #7354 > │ let v22 : int64 = v21 v20 │
00:04:08 verbose #7355 > │ US4_0(v22) │
00:04:08 verbose #7356 > │ else │
00:04:08 verbose #7357 > │ US4_1 │
00:04:08 verbose #7358 > │ let v30 : int64 option = │
00:04:08 verbose #7359 > │ match v25 with │
00:04:08 verbose #7360 > │ | US4_1 -> (* None *) │
00:04:08 verbose #7361 > │ let v28 : int64 option = None │
00:04:08 verbose #7362 > │ v28 │
00:04:08 verbose #7363 > │ | US4_0(v26) -> (* Some *) │
00:04:08 verbose #7364 > │ let v27 : int64 option = Some v26 │
00:04:08 verbose #7365 > │ v27 │
00:04:08 verbose #7366 > │ let v31 : int64 option = method13(v30) │
00:04:08 verbose #7367 > │ v31 │
00:04:08 verbose #7368 > │ #else │
00:04:08 verbose #7369 > │ let v32 : int64 option = None │
00:04:08 verbose #7370 > │ let v33 : int64 option = method14(v32) │
00:04:08 verbose #7371 > │ v33 │
00:04:08 verbose #7372 > │ #endif │
00:04:08 verbose #7373 > │ |> fun x -> _v6 <- Some x │
00:04:08 verbose #7374 > │ let v34 : int64 option = _v6.Value │
00:04:08 verbose #7375 > │ struct (v1, v0, v3, v34, v5) │
00:04:08 verbose #7376 > │ and closure10 () (v0 : int64) : US5 = │
00:04:08 verbose #7377 > │ US5_0(v0) │
00:04:08 verbose #7378 > │ and method15 () : (int64 -> US5) = │
00:04:08 verbose #7379 > │ closure10() │
00:04:08 verbose #7380 > │ and method16 () : string = │
00:04:08 verbose #7381 > │ let v0 : string = "" │
00:04:08 verbose #7382 > │ v0 │
00:04:08 verbose #7383 > │ and closure7 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:04:08 verbose #7384 > │ string = │
00:04:08 verbose #7385 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:04:08 verbose #7386 > │ closure8() │
00:04:08 verbose #7387 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:04:08 verbose #7388 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:04:08 verbose #7389 > │ Mut3) = State.trace_state.Value │
00:04:08 verbose #7390 > │ let v9 : string option = None │
00:04:08 verbose #7391 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:04:08 verbose #7392 > │ │
00:04:08 verbose #7393 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7394 > │ │
00:04:08 verbose #7395 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7396 > │ let v11 : (int64 -> US5) = method15() │
00:04:08 verbose #7397 > │ let v12 : US5 = US5_1 │
00:04:08 verbose #7398 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:04:08 verbose #7399 > │ let v31 : System.DateTime = │
00:04:08 verbose #7400 > │ match v13 with │
00:04:08 verbose #7401 > │ | US5_1 -> (* None *) │
00:04:08 verbose #7402 > │ let v29 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #7403 > │ v29 │
00:04:08 verbose #7404 > │ | US5_0(v14) -> (* Some *) │
00:04:08 verbose #7405 > │ let v15 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #7406 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #7407 > │ let v17 : int64 = v16 v15 │
00:04:08 verbose #7408 > │ let v18 : int64 = v17 - v14 │
00:04:08 verbose #7409 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:04:08 verbose #7410 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:04:08 verbose #7411 > │ let v21 : int32 = v20 v19 │
00:04:08 verbose #7412 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:04:08 verbose #7413 > │ let v23 : int32 = v22 v19 │
00:04:08 verbose #7414 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:04:08 verbose #7415 > │ let v25 : int32 = v24 v19 │
00:04:08 verbose #7416 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:04:08 verbose #7417 > │ let v27 : int32 = v26 v19 │
00:04:08 verbose #7418 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:04:08 verbose #7419 > │ v25, v27) │
00:04:08 verbose #7420 > │ v28 │
00:04:08 verbose #7421 > │ let v32 : string = "hh:mm:ss" │
00:04:08 verbose #7422 > │ let v33 : string = v31.ToString v32 │
00:04:08 verbose #7423 > │ v33 │
00:04:08 verbose #7424 > │ #endif │
00:04:08 verbose #7425 > │ │
00:04:08 verbose #7426 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7427 > │ let v34 : string = method16() │
00:04:08 verbose #7428 > │ v34 │
00:04:08 verbose #7429 > │ #endif │
00:04:08 verbose #7430 > │ │
00:04:08 verbose #7431 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7432 > │ let v35 : string = method16() │
00:04:08 verbose #7433 > │ v35 │
00:04:08 verbose #7434 > │ #endif │
00:04:08 verbose #7435 > │ │
00:04:08 verbose #7436 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7437 > │ let v36 : string = method16() │
00:04:08 verbose #7438 > │ v36 │
00:04:08 verbose #7439 > │ #endif │
00:04:08 verbose #7440 > │ │
00:04:08 verbose #7441 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7442 > │ let v37 : string = method16() │
00:04:08 verbose #7443 > │ v37 │
00:04:08 verbose #7444 > │ #endif │
00:04:08 verbose #7445 > │ │
00:04:08 verbose #7446 > │ #else │
00:04:08 verbose #7447 > │ let v38 : (int64 -> US5) = method15() │
00:04:08 verbose #7448 > │ let v39 : US5 = US5_1 │
00:04:08 verbose #7449 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:04:08 verbose #7450 > │ let v58 : System.DateTime = │
00:04:08 verbose #7451 > │ match v40 with │
00:04:08 verbose #7452 > │ | US5_1 -> (* None *) │
00:04:08 verbose #7453 > │ let v56 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #7454 > │ v56 │
00:04:08 verbose #7455 > │ | US5_0(v41) -> (* Some *) │
00:04:08 verbose #7456 > │ let v42 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #7457 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #7458 > │ let v44 : int64 = v43 v42 │
00:04:08 verbose #7459 > │ let v45 : int64 = v44 - v41 │
00:04:08 verbose #7460 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:04:08 verbose #7461 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:04:08 verbose #7462 > │ let v48 : int32 = v47 v46 │
00:04:08 verbose #7463 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:04:08 verbose #7464 > │ let v50 : int32 = v49 v46 │
00:04:08 verbose #7465 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:04:08 verbose #7466 > │ let v52 : int32 = v51 v46 │
00:04:08 verbose #7467 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:04:08 verbose #7468 > │ let v54 : int32 = v53 v46 │
00:04:08 verbose #7469 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:04:08 verbose #7470 > │ v52, v54) │
00:04:08 verbose #7471 > │ v55 │
00:04:08 verbose #7472 > │ let v59 : string = "HH:mm:ss" │
00:04:08 verbose #7473 > │ let v60 : string = v58.ToString v59 │
00:04:08 verbose #7474 > │ v60 │
00:04:08 verbose #7475 > │ #endif │
00:04:08 verbose #7476 > │ |> fun x -> _v9 <- Some x │
00:04:08 verbose #7477 > │ let v61 : string = _v9.Value │
00:04:08 verbose #7478 > │ let v62 : int64 = v4.l0 │
00:04:08 verbose #7479 > │ let v72 : string = │
00:04:08 verbose #7480 > │ match v0 with │
00:04:08 verbose #7481 > │ | US3_4 -> (* Critical *) │
00:04:08 verbose #7482 > │ let v67 : string = "Critical" │
00:04:08 verbose #7483 > │ v67 │
00:04:08 verbose #7484 > │ | US3_1 -> (* Debug *) │
00:04:08 verbose #7485 > │ let v64 : string = "Debug" │
00:04:08 verbose #7486 > │ v64 │
00:04:08 verbose #7487 > │ | US3_2 -> (* Info *) │
00:04:08 verbose #7488 > │ let v65 : string = "Info" │
00:04:08 verbose #7489 > │ v65 │
00:04:08 verbose #7490 > │ | US3_0 -> (* Verbose *) │
00:04:08 verbose #7491 > │ let v63 : string = "Verbose" │
00:04:08 verbose #7492 > │ v63 │
00:04:08 verbose #7493 > │ | US3_3 -> (* Warning *) │
00:04:08 verbose #7494 > │ let v66 : string = "Warning" │
00:04:08 verbose #7495 > │ v66 │
00:04:08 verbose #7496 > │ let v73 : string = v72.ToLower () │
00:04:08 verbose #7497 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:04:08 verbose #7498 > │ let v75 : string option = None │
00:04:08 verbose #7499 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:04:08 verbose #7500 > │ │
00:04:08 verbose #7501 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7502 > │ │
00:04:08 verbose #7503 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7504 > │ let v91 : Ref<Str> = │
00:04:08 verbose #7505 > │ match v0 with │
00:04:08 verbose #7506 > │ | US3_4 -> (* Critical *) │
00:04:08 verbose #7507 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:04:08 verbose #7508 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:04:08 verbose #7509 > │ v86 │
00:04:08 verbose #7510 > │ | US3_1 -> (* Debug *) │
00:04:08 verbose #7511 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:04:08 verbose #7512 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:04:08 verbose #7513 > │ v80 │
00:04:08 verbose #7514 > │ | US3_2 -> (* Info *) │
00:04:08 verbose #7515 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:04:08 verbose #7516 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:04:08 verbose #7517 > │ v82 │
00:04:08 verbose #7518 > │ | US3_0 -> (* Verbose *) │
00:04:08 verbose #7519 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:04:08 verbose #7520 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:04:08 verbose #7521 > │ v78 │
00:04:08 verbose #7522 > │ | US3_3 -> (* Warning *) │
00:04:08 verbose #7523 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:04:08 verbose #7524 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:04:08 verbose #7525 > │ v84 │
00:04:08 verbose #7526 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7527 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:04:08 verbose #7528 > │ let v94 : string = "inline_colorization::color_reset" │
00:04:08 verbose #7529 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:04:08 verbose #7530 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:04:08 verbose #7531 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:04:08 verbose #7532 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:04:08 verbose #7533 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #7534 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:04:08 verbose #7535 > │ v100 │
00:04:08 verbose #7536 > │ #endif │
00:04:08 verbose #7537 > │ │
00:04:08 verbose #7538 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7539 > │ let v115 : Ref<Str> = │
00:04:08 verbose #7540 > │ match v0 with │
00:04:08 verbose #7541 > │ | US3_4 -> (* Critical *) │
00:04:08 verbose #7542 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:04:08 verbose #7543 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7544 > │ v109 │
00:04:08 verbose #7545 > │ v110 │
00:04:08 verbose #7546 > │ | US3_1 -> (* Debug *) │
00:04:08 verbose #7547 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:04:08 verbose #7548 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7549 > │ v103 │
00:04:08 verbose #7550 > │ v104 │
00:04:08 verbose #7551 > │ | US3_2 -> (* Info *) │
00:04:08 verbose #7552 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:04:08 verbose #7553 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7554 > │ v105 │
00:04:08 verbose #7555 > │ v106 │
00:04:08 verbose #7556 > │ | US3_0 -> (* Verbose *) │
00:04:08 verbose #7557 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:04:08 verbose #7558 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7559 > │ v101 │
00:04:08 verbose #7560 > │ v102 │
00:04:08 verbose #7561 > │ | US3_3 -> (* Warning *) │
00:04:08 verbose #7562 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:04:08 verbose #7563 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7564 > │ v107 │
00:04:08 verbose #7565 > │ v108 │
00:04:08 verbose #7566 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7567 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:04:08 verbose #7568 > │ let v118 : string = "inline_colorization::color_reset" │
00:04:08 verbose #7569 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:04:08 verbose #7570 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:04:08 verbose #7571 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:04:08 verbose #7572 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7573 > │ v121 │
00:04:08 verbose #7574 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #7575 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:04:08 verbose #7576 > │ v124 │
00:04:08 verbose #7577 > │ #endif │
00:04:08 verbose #7578 > │ │
00:04:08 verbose #7579 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7580 > │ let v139 : Ref<Str> = │
00:04:08 verbose #7581 > │ match v0 with │
00:04:08 verbose #7582 > │ | US3_4 -> (* Critical *) │
00:04:08 verbose #7583 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:04:08 verbose #7584 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7585 > │ v133 │
00:04:08 verbose #7586 > │ v134 │
00:04:08 verbose #7587 > │ | US3_1 -> (* Debug *) │
00:04:08 verbose #7588 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:04:08 verbose #7589 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7590 > │ v127 │
00:04:08 verbose #7591 > │ v128 │
00:04:08 verbose #7592 > │ | US3_2 -> (* Info *) │
00:04:08 verbose #7593 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:04:08 verbose #7594 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7595 > │ v129 │
00:04:08 verbose #7596 > │ v130 │
00:04:08 verbose #7597 > │ | US3_0 -> (* Verbose *) │
00:04:08 verbose #7598 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:04:08 verbose #7599 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7600 > │ v125 │
00:04:08 verbose #7601 > │ v126 │
00:04:08 verbose #7602 > │ | US3_3 -> (* Warning *) │
00:04:08 verbose #7603 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:04:08 verbose #7604 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7605 > │ v131 │
00:04:08 verbose #7606 > │ v132 │
00:04:08 verbose #7607 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7608 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:04:08 verbose #7609 > │ let v142 : string = "inline_colorization::color_reset" │
00:04:08 verbose #7610 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:04:08 verbose #7611 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:04:08 verbose #7612 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:04:08 verbose #7613 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #7614 > │ v145 │
00:04:08 verbose #7615 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #7616 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:04:08 verbose #7617 > │ v148 │
00:04:08 verbose #7618 > │ #endif │
00:04:08 verbose #7619 > │ │
00:04:08 verbose #7620 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7621 > │ v74 │
00:04:08 verbose #7622 > │ #endif │
00:04:08 verbose #7623 > │ │
00:04:08 verbose #7624 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7625 > │ v74 │
00:04:08 verbose #7626 > │ #endif │
00:04:08 verbose #7627 > │ │
00:04:08 verbose #7628 > │ #else │
00:04:08 verbose #7629 > │ v74 │
00:04:08 verbose #7630 > │ #endif │
00:04:08 verbose #7631 > │ |> fun x -> _v75 <- Some x │
00:04:08 verbose #7632 > │ let v149 : string = _v75.Value │
00:04:08 verbose #7633 > │ let v150 : string = v1 () │
00:04:08 verbose #7634 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:04:08 verbose #7635 > │ let v152 : (char []) = [||] │
00:04:08 verbose #7636 > │ let v153 : string = v151.TrimStart v152 │
00:04:08 verbose #7637 > │ let v154 : (char []) = [|' '; '/'|] │
00:04:08 verbose #7638 > │ let v155 : string = v153.TrimEnd v154 │
00:04:08 verbose #7639 > │ v155 │
00:04:08 verbose #7640 > │ and method17 (v0 : US3, v1 : (unit -> string)) : unit = │
00:04:08 verbose #7641 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:04:08 verbose #7642 > │ closure8() │
00:04:08 verbose #7643 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:04:08 verbose #7644 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:04:08 verbose #7645 > │ Mut3) = State.trace_state.Value │
00:04:08 verbose #7646 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:04:08 verbose #7647 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:04:08 verbose #7648 > │ Mut3) = State.trace_state.Value │
00:04:08 verbose #7649 > │ let v13 : US3 = v10.l0 │
00:04:08 verbose #7650 > │ let v14 : bool = v9.l0 │
00:04:08 verbose #7651 > │ let v15 : bool = v14 = false │
00:04:08 verbose #7652 > │ let v19 : bool = │
00:04:08 verbose #7653 > │ if v15 then │
00:04:08 verbose #7654 > │ false │
00:04:08 verbose #7655 > │ else │
00:04:08 verbose #7656 > │ let v16 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:04:08 verbose #7657 > │ US3_4, 4 ] |> Map |> Map.find v0 │
00:04:08 verbose #7658 > │ let v17 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:04:08 verbose #7659 > │ US3_4, 4 ] |> Map |> Map.find v13 │
00:04:08 verbose #7660 > │ let v18 : bool = v16 >= v17 │
00:04:08 verbose #7661 > │ v18 │
00:04:08 verbose #7662 > │ if v19 then │
00:04:08 verbose #7663 > │ let v20 : int64 = v3.l0 │
00:04:08 verbose #7664 > │ let v21 : int64 = v20 + 1L │
00:04:08 verbose #7665 > │ v3.l0 <- v21 │
00:04:08 verbose #7666 > │ let v22 : string = $"%s{v1 ()}" │
00:04:08 verbose #7667 > │ let v23 : unit option = None │
00:04:08 verbose #7668 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:04:08 verbose #7669 > │ │
00:04:08 verbose #7670 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7671 > │ │
00:04:08 verbose #7672 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7673 > │ let v25 : string = @"println!(""{}"", $0)" │
00:04:08 verbose #7674 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:04:08 verbose #7675 > │ () │
00:04:08 verbose #7676 > │ #endif │
00:04:08 verbose #7677 > │ │
00:04:08 verbose #7678 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7679 > │ let v26 : string = @"println!(""{}"", $0)" │
00:04:08 verbose #7680 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:04:08 verbose #7681 > │ () │
00:04:08 verbose #7682 > │ #endif │
00:04:08 verbose #7683 > │ │
00:04:08 verbose #7684 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7685 > │ let v27 : string = @"println!(""{}"", $0)" │
00:04:08 verbose #7686 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:04:08 verbose #7687 > │ () │
00:04:08 verbose #7688 > │ #endif │
00:04:08 verbose #7689 > │ │
00:04:08 verbose #7690 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7691 > │ System.Console.WriteLine v22 │
00:04:08 verbose #7692 > │ () │
00:04:08 verbose #7693 > │ #endif │
00:04:08 verbose #7694 > │ │
00:04:08 verbose #7695 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7696 > │ System.Console.WriteLine v22 │
00:04:08 verbose #7697 > │ () │
00:04:08 verbose #7698 > │ #endif │
00:04:08 verbose #7699 > │ │
00:04:08 verbose #7700 > │ #else │
00:04:08 verbose #7701 > │ System.Console.WriteLine v22 │
00:04:08 verbose #7702 > │ () │
00:04:08 verbose #7703 > │ #endif │
00:04:08 verbose #7704 > │ |> fun x -> _v23 <- Some x │
00:04:08 verbose #7705 > │ _v23.Value │
00:04:08 verbose #7706 > │ let v28 : (string -> unit) = v7.l0 │
00:04:08 verbose #7707 > │ v28 v22 │
00:04:08 verbose #7708 > │ and method12 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:04:08 verbose #7709 > │ = │
00:04:08 verbose #7710 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:04:08 verbose #7711 > │ method17(v0, v3) │
00:04:08 verbose #7712 > │ and closure11 () () : string = │
00:04:08 verbose #7713 > │ let v0 : string = "file_system.create_directory" │
00:04:08 verbose #7714 > │ v0 │
00:04:08 verbose #7715 > │ and closure12 (v0 : string) () : string = │
00:04:08 verbose #7716 > │ let v1 : (unit -> string) = closure6() │
00:04:08 verbose #7717 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:04:08 verbose #7718 > │ v2 │
00:04:08 verbose #7719 > │ and method18 (v0 : string) : string = │
00:04:08 verbose #7720 > │ v0 │
00:04:08 verbose #7721 > │ and closure13 (v0 : string) () : unit = │
00:04:08 verbose #7722 > │ let v1 : unit option = None │
00:04:08 verbose #7723 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:08 verbose #7724 > │ │
00:04:08 verbose #7725 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7726 > │ │
00:04:08 verbose #7727 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7728 > │ let v3 : string = method18(v0) │
00:04:08 verbose #7729 > │ let v4 : bool option = None │
00:04:08 verbose #7730 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:04:08 verbose #7731 > │ │
00:04:08 verbose #7732 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7733 > │ │
00:04:08 verbose #7734 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7735 > │ let v6 : string = method2(v3) │
00:04:08 verbose #7736 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7737 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:04:08 verbose #7738 > │ let v9 : string = "String::from($0)" │
00:04:08 verbose #7739 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:04:08 verbose #7740 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:04:08 verbose #7741 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:04:08 verbose #7742 > │ let v13 : string = "$0.exists()" │
00:04:08 verbose #7743 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:04:08 verbose #7744 > │ let v17 : bool = │
00:04:08 verbose #7745 > │ if v14 then │
00:04:08 verbose #7746 > │ let v15 : string = "$0.is_dir()" │
00:04:08 verbose #7747 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:04:08 verbose #7748 > │ v16 │
00:04:08 verbose #7749 > │ else │
00:04:08 verbose #7750 > │ false │
00:04:08 verbose #7751 > │ v17 │
00:04:08 verbose #7752 > │ #endif │
00:04:08 verbose #7753 > │ │
00:04:08 verbose #7754 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7755 > │ let v18 : bool = null |> unbox<bool> │
00:04:08 verbose #7756 > │ v18 │
00:04:08 verbose #7757 > │ #endif │
00:04:08 verbose #7758 > │ │
00:04:08 verbose #7759 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7760 > │ let v19 : bool = null |> unbox<bool> │
00:04:08 verbose #7761 > │ v19 │
00:04:08 verbose #7762 > │ #endif │
00:04:08 verbose #7763 > │ │
00:04:08 verbose #7764 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7765 > │ let v20 : string = "fs" │
00:04:08 verbose #7766 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:04:08 verbose #7767 > │ let v22 : string = "v21.existsSync($0)" │
00:04:08 verbose #7768 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:04:08 verbose #7769 > │ v23 │
00:04:08 verbose #7770 > │ #endif │
00:04:08 verbose #7771 > │ │
00:04:08 verbose #7772 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7773 > │ let v24 : bool = null |> unbox<bool> │
00:04:08 verbose #7774 > │ v24 │
00:04:08 verbose #7775 > │ #endif │
00:04:08 verbose #7776 > │ │
00:04:08 verbose #7777 > │ #else │
00:04:08 verbose #7778 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:04:08 verbose #7779 > │ let v26 : bool = v25 v3 │
00:04:08 verbose #7780 > │ v26 │
00:04:08 verbose #7781 > │ #endif │
00:04:08 verbose #7782 > │ |> fun x -> _v4 <- Some x │
00:04:08 verbose #7783 > │ let v27 : bool = _v4.Value │
00:04:08 verbose #7784 > │ if v27 then │
00:04:08 verbose #7785 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:04:08 verbose #7786 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:04:08 verbose #7787 > │ () │
00:04:08 verbose #7788 > │ () │
00:04:08 verbose #7789 > │ #endif │
00:04:08 verbose #7790 > │ │
00:04:08 verbose #7791 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7792 > │ null |> unbox<unit> │
00:04:08 verbose #7793 > │ () │
00:04:08 verbose #7794 > │ #endif │
00:04:08 verbose #7795 > │ │
00:04:08 verbose #7796 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7797 > │ null |> unbox<unit> │
00:04:08 verbose #7798 > │ () │
00:04:08 verbose #7799 > │ #endif │
00:04:08 verbose #7800 > │ │
00:04:08 verbose #7801 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7802 > │ null |> unbox<unit> │
00:04:08 verbose #7803 > │ () │
00:04:08 verbose #7804 > │ #endif │
00:04:08 verbose #7805 > │ │
00:04:08 verbose #7806 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7807 > │ null |> unbox<unit> │
00:04:08 verbose #7808 > │ () │
00:04:08 verbose #7809 > │ #endif │
00:04:08 verbose #7810 > │ │
00:04:08 verbose #7811 > │ #else │
00:04:08 verbose #7812 > │ System.IO.Directory.Delete (v0, true) │
00:04:08 verbose #7813 > │ () │
00:04:08 verbose #7814 > │ #endif │
00:04:08 verbose #7815 > │ |> fun x -> _v1 <- Some x │
00:04:08 verbose #7816 > │ _v1.Value │
00:04:08 verbose #7817 > │ () │
00:04:08 verbose #7818 > │ and method19 (v0 : string) : (unit -> unit) = │
00:04:08 verbose #7819 > │ closure13(v0) │
00:04:08 verbose #7820 > │ and closure14 () () : string = │
00:04:08 verbose #7821 > │ let v0 : string = "file_system.create_directory" │
00:04:08 verbose #7822 > │ v0 │
00:04:08 verbose #7823 > │ and closure15 (v0 : string, v1 : string) () : string = │
00:04:08 verbose #7824 > │ let v2 : (unit -> string) = closure6() │
00:04:08 verbose #7825 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:04:08 verbose #7826 > │ v3 │
00:04:08 verbose #7827 > │ and closure17 () () : string = │
00:04:08 verbose #7828 > │ let v0 : string = "file_system.delete_directory_async" │
00:04:08 verbose #7829 > │ v0 │
00:04:08 verbose #7830 > │ and closure19 () (v0 : string) : string = │
00:04:08 verbose #7831 > │ let v1 : string option = None │
00:04:08 verbose #7832 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:08 verbose #7833 > │ │
00:04:08 verbose #7834 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7835 > │ │
00:04:08 verbose #7836 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7837 > │ let v3 : string = method2(v0) │
00:04:08 verbose #7838 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7839 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:04:08 verbose #7840 > │ let v6 : string = "String::from($0)" │
00:04:08 verbose #7841 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:04:08 verbose #7842 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:04:08 verbose #7843 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:04:08 verbose #7844 > │ let v10 : string = "$0.file_name()" │
00:04:08 verbose #7845 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:04:08 verbose #7846 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:04:08 verbose #7847 > │ let v12 : string = "$0.unwrap()" │
00:04:08 verbose #7848 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:04:08 verbose #7849 > │ v12 │
00:04:08 verbose #7850 > │ let v14 : string = "$0.to_os_string()" │
00:04:08 verbose #7851 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:04:08 verbose #7852 > │ let v16 : string = "$0.to_str()" │
00:04:08 verbose #7853 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:04:08 verbose #7854 > │ let v18 : string = "$0.unwrap()" │
00:04:08 verbose #7855 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:04:08 verbose #7856 > │ let v20 : string = "String::from($0)" │
00:04:08 verbose #7857 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:08 verbose #7858 > │ v20 │
00:04:08 verbose #7859 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #7860 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:04:08 verbose #7861 > │ v23 │
00:04:08 verbose #7862 > │ #endif │
00:04:08 verbose #7863 > │ │
00:04:08 verbose #7864 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7865 > │ let v24 : string = null |> unbox<string> │
00:04:08 verbose #7866 > │ v24 │
00:04:08 verbose #7867 > │ #endif │
00:04:08 verbose #7868 > │ │
00:04:08 verbose #7869 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7870 > │ let v25 : string = null |> unbox<string> │
00:04:08 verbose #7871 > │ v25 │
00:04:08 verbose #7872 > │ #endif │
00:04:08 verbose #7873 > │ │
00:04:08 verbose #7874 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7875 > │ let v26 : string = null |> unbox<string> │
00:04:08 verbose #7876 > │ v26 │
00:04:08 verbose #7877 > │ #endif │
00:04:08 verbose #7878 > │ │
00:04:08 verbose #7879 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7880 > │ let v27 : string = null |> unbox<string> │
00:04:08 verbose #7881 > │ v27 │
00:04:08 verbose #7882 > │ #endif │
00:04:08 verbose #7883 > │ │
00:04:08 verbose #7884 > │ #else │
00:04:08 verbose #7885 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:04:08 verbose #7886 > │ let v29 : string = v28 v0 │
00:04:08 verbose #7887 > │ v29 │
00:04:08 verbose #7888 > │ #endif │
00:04:08 verbose #7889 > │ |> fun x -> _v1 <- Some x │
00:04:08 verbose #7890 > │ let v30 : string = _v1.Value │
00:04:08 verbose #7891 > │ v30 │
00:04:08 verbose #7892 > │ and closure18 (v0 : string, v1 : string) () : string = │
00:04:08 verbose #7893 > │ let v2 : (string -> string) = closure19() │
00:04:08 verbose #7894 > │ let v3 : (unit -> string) = closure6() │
00:04:08 verbose #7895 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:04:08 verbose #7896 > │ v4 │
00:04:08 verbose #7897 > │ and method20 (v0 : string, v1 : int64) : Async<int64> = │
00:04:08 verbose #7898 > │ let v2 : Async<int64> option = None │
00:04:08 verbose #7899 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:04:08 verbose #7900 > │ │
00:04:08 verbose #7901 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7902 > │ │
00:04:08 verbose #7903 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7904 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #7905 > │ v4 │
00:04:08 verbose #7906 > │ #endif │
00:04:08 verbose #7907 > │ │
00:04:08 verbose #7908 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7909 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #7910 > │ v5 │
00:04:08 verbose #7911 > │ #endif │
00:04:08 verbose #7912 > │ │
00:04:08 verbose #7913 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7914 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #7915 > │ v6 │
00:04:08 verbose #7916 > │ #endif │
00:04:08 verbose #7917 > │ │
00:04:08 verbose #7918 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7919 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #7920 > │ v7 │
00:04:08 verbose #7921 > │ #endif │
00:04:08 verbose #7922 > │ │
00:04:08 verbose #7923 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7924 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #7925 > │ v8 │
00:04:08 verbose #7926 > │ #endif │
00:04:08 verbose #7927 > │ │
00:04:08 verbose #7928 > │ #else │
00:04:08 verbose #7929 > │ let v9 : Async<int64> option = None │
00:04:08 verbose #7930 > │ let mutable _v9 = v9 │
00:04:08 verbose #7931 > │ async { │
00:04:08 verbose #7932 > │ try │
00:04:08 verbose #7933 > │ let v10 : unit option = None │
00:04:08 verbose #7934 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:04:08 verbose #7935 > │ │
00:04:08 verbose #7936 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7937 > │ │
00:04:08 verbose #7938 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7939 > │ let v12 : string = method18(v0) │
00:04:08 verbose #7940 > │ let v13 : bool option = None │
00:04:08 verbose #7941 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:04:08 verbose #7942 > │ │
00:04:08 verbose #7943 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #7944 > │ │
00:04:08 verbose #7945 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #7946 > │ let v15 : string = method2(v12) │
00:04:08 verbose #7947 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:08 verbose #7948 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:04:08 verbose #7949 > │ let v18 : string = "String::from($0)" │
00:04:08 verbose #7950 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:08 verbose #7951 > │ v18 │
00:04:08 verbose #7952 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:04:08 verbose #7953 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:04:08 verbose #7954 > │ let v22 : string = "$0.exists()" │
00:04:08 verbose #7955 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:04:08 verbose #7956 > │ let v26 : bool = │
00:04:08 verbose #7957 > │ if v23 then │
00:04:08 verbose #7958 > │ let v24 : string = "$0.is_dir()" │
00:04:08 verbose #7959 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:04:08 verbose #7960 > │ v25 │
00:04:08 verbose #7961 > │ else │
00:04:08 verbose #7962 > │ false │
00:04:08 verbose #7963 > │ v26 │
00:04:08 verbose #7964 > │ #endif │
00:04:08 verbose #7965 > │ │
00:04:08 verbose #7966 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #7967 > │ let v27 : bool = null |> unbox<bool> │
00:04:08 verbose #7968 > │ v27 │
00:04:08 verbose #7969 > │ #endif │
00:04:08 verbose #7970 > │ │
00:04:08 verbose #7971 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #7972 > │ let v28 : bool = null |> unbox<bool> │
00:04:08 verbose #7973 > │ v28 │
00:04:08 verbose #7974 > │ #endif │
00:04:08 verbose #7975 > │ │
00:04:08 verbose #7976 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #7977 > │ let v29 : string = "fs" │
00:04:08 verbose #7978 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:04:08 verbose #7979 > │ let v31 : string = "v30.existsSync($0)" │
00:04:08 verbose #7980 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:04:08 verbose #7981 > │ v32 │
00:04:08 verbose #7982 > │ #endif │
00:04:08 verbose #7983 > │ │
00:04:08 verbose #7984 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #7985 > │ let v33 : bool = null |> unbox<bool> │
00:04:08 verbose #7986 > │ v33 │
00:04:08 verbose #7987 > │ #endif │
00:04:08 verbose #7988 > │ │
00:04:08 verbose #7989 > │ #else │
00:04:08 verbose #7990 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:04:08 verbose #7991 > │ let v35 : bool = v34 v12 │
00:04:08 verbose #7992 > │ v35 │
00:04:08 verbose #7993 > │ #endif │
00:04:08 verbose #7994 > │ |> fun x -> _v13 <- Some x │
00:04:08 verbose #7995 > │ let v36 : bool = _v13.Value │
00:04:08 verbose #7996 > │ if v36 then │
00:04:08 verbose #7997 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:04:08 verbose #7998 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:04:08 verbose #7999 > │ () │
00:04:08 verbose #8000 > │ () │
00:04:08 verbose #8001 > │ #endif │
00:04:08 verbose #8002 > │ │
00:04:08 verbose #8003 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8004 > │ null |> unbox<unit> │
00:04:08 verbose #8005 > │ () │
00:04:08 verbose #8006 > │ #endif │
00:04:08 verbose #8007 > │ │
00:04:08 verbose #8008 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8009 > │ null |> unbox<unit> │
00:04:08 verbose #8010 > │ () │
00:04:08 verbose #8011 > │ #endif │
00:04:08 verbose #8012 > │ │
00:04:08 verbose #8013 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8014 > │ null |> unbox<unit> │
00:04:08 verbose #8015 > │ () │
00:04:08 verbose #8016 > │ #endif │
00:04:08 verbose #8017 > │ │
00:04:08 verbose #8018 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8019 > │ null |> unbox<unit> │
00:04:08 verbose #8020 > │ () │
00:04:08 verbose #8021 > │ #endif │
00:04:08 verbose #8022 > │ │
00:04:08 verbose #8023 > │ #else │
00:04:08 verbose #8024 > │ System.IO.Directory.Delete (v0, true) │
00:04:08 verbose #8025 > │ () │
00:04:08 verbose #8026 > │ #endif │
00:04:08 verbose #8027 > │ |> fun x -> _v10 <- Some x │
00:04:08 verbose #8028 > │ _v10.Value │
00:04:08 verbose #8029 > │ return v1 │
00:04:08 verbose #8030 > │ with ex -> │
00:04:08 verbose #8031 > │ let v38 : exn = ex │
00:04:08 verbose #8032 > │ let v39 : int64 = v1 % 100L │
00:04:08 verbose #8033 > │ let v40 : bool = v39 = 0L │
00:04:08 verbose #8034 > │ if v40 then │
00:04:08 verbose #8035 > │ let v41 : string option = None │
00:04:08 verbose #8036 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:04:08 verbose #8037 > │ │
00:04:08 verbose #8038 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8039 > │ │
00:04:08 verbose #8040 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8041 > │ let v43 : string = $"%A{v38}" │
00:04:08 verbose #8042 > │ v43 │
00:04:08 verbose #8043 > │ #endif │
00:04:08 verbose #8044 > │ │
00:04:08 verbose #8045 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8046 > │ let v44 : string = $"%A{v38}" │
00:04:08 verbose #8047 > │ v44 │
00:04:08 verbose #8048 > │ #endif │
00:04:08 verbose #8049 > │ │
00:04:08 verbose #8050 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8051 > │ let v45 : string = $"%A{v38}" │
00:04:08 verbose #8052 > │ v45 │
00:04:08 verbose #8053 > │ #endif │
00:04:08 verbose #8054 > │ │
00:04:08 verbose #8055 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8056 > │ let v46 : string = $"%A{v38}" │
00:04:08 verbose #8057 > │ v46 │
00:04:08 verbose #8058 > │ #endif │
00:04:08 verbose #8059 > │ │
00:04:08 verbose #8060 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8061 > │ let v47 : string = $"%A{v38}" │
00:04:08 verbose #8062 > │ v47 │
00:04:08 verbose #8063 > │ #endif │
00:04:08 verbose #8064 > │ │
00:04:08 verbose #8065 > │ #else │
00:04:08 verbose #8066 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:04:08 verbose #8067 > │ v48 │
00:04:08 verbose #8068 > │ #endif │
00:04:08 verbose #8069 > │ |> fun x -> _v41 <- Some x │
00:04:08 verbose #8070 > │ let v49 : string = _v41.Value │
00:04:08 verbose #8071 > │ let v50 : US3 = US3_1 │
00:04:08 verbose #8072 > │ let v51 : (unit -> string) = closure17() │
00:04:08 verbose #8073 > │ let v52 : (unit -> string) = closure18(v0, v49) │
00:04:08 verbose #8074 > │ method12(v50, v51, v52) │
00:04:08 verbose #8075 > │ let v53 : Async<unit> option = None │
00:04:08 verbose #8076 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:04:08 verbose #8077 > │ │
00:04:08 verbose #8078 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8079 > │ │
00:04:08 verbose #8080 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8081 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8082 > │ v55 │
00:04:08 verbose #8083 > │ #endif │
00:04:08 verbose #8084 > │ │
00:04:08 verbose #8085 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8086 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8087 > │ v56 │
00:04:08 verbose #8088 > │ #endif │
00:04:08 verbose #8089 > │ │
00:04:08 verbose #8090 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8091 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8092 > │ v57 │
00:04:08 verbose #8093 > │ #endif │
00:04:08 verbose #8094 > │ │
00:04:08 verbose #8095 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8096 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8097 > │ v58 │
00:04:08 verbose #8098 > │ #endif │
00:04:08 verbose #8099 > │ │
00:04:08 verbose #8100 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8101 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8102 > │ v59 │
00:04:08 verbose #8103 > │ #endif │
00:04:08 verbose #8104 > │ │
00:04:08 verbose #8105 > │ #else │
00:04:08 verbose #8106 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:04:08 verbose #8107 > │ let v61 : Async<unit> = v60 10 │
00:04:08 verbose #8108 > │ v61 │
00:04:08 verbose #8109 > │ #endif │
00:04:08 verbose #8110 > │ |> fun x -> _v53 <- Some x │
00:04:08 verbose #8111 > │ let v62 : Async<unit> = _v53.Value │
00:04:08 verbose #8112 > │ do! v62 │
00:04:08 verbose #8113 > │ let v63 : int64 = v1 + 1L │
00:04:08 verbose #8114 > │ let v64 : Async<int64> = method20(v0, v63) │
00:04:08 verbose #8115 > │ return! v64 │
00:04:08 verbose #8116 > │ (* │
00:04:08 verbose #8117 > │ let v65 : int64 = *) │
00:04:08 verbose #8118 > │ } │
00:04:08 verbose #8119 > │ |> fun x -> _v9 <- Some x │
00:04:08 verbose #8120 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:04:08 verbose #8121 > │ v66 │
00:04:08 verbose #8122 > │ #endif │
00:04:08 verbose #8123 > │ |> fun x -> _v2 <- Some x │
00:04:08 verbose #8124 > │ let v67 : Async<int64> = _v2.Value │
00:04:08 verbose #8125 > │ v67 │
00:04:08 verbose #8126 > │ and closure16 (v0 : string) () : unit = │
00:04:08 verbose #8127 > │ let v1 : Async<int64> option = None │
00:04:08 verbose #8128 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:08 verbose #8129 > │ │
00:04:08 verbose #8130 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8131 > │ │
00:04:08 verbose #8132 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8133 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #8134 > │ v3 │
00:04:08 verbose #8135 > │ #endif │
00:04:08 verbose #8136 > │ │
00:04:08 verbose #8137 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8138 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #8139 > │ v4 │
00:04:08 verbose #8140 > │ #endif │
00:04:08 verbose #8141 > │ │
00:04:08 verbose #8142 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8143 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #8144 > │ v5 │
00:04:08 verbose #8145 > │ #endif │
00:04:08 verbose #8146 > │ │
00:04:08 verbose #8147 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8148 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #8149 > │ v6 │
00:04:08 verbose #8150 > │ #endif │
00:04:08 verbose #8151 > │ │
00:04:08 verbose #8152 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8153 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:04:08 verbose #8154 > │ v7 │
00:04:08 verbose #8155 > │ #endif │
00:04:08 verbose #8156 > │ │
00:04:08 verbose #8157 > │ #else │
00:04:08 verbose #8158 > │ let v8 : int64 = 0L │
00:04:08 verbose #8159 > │ let v9 : Async<int64> = method20(v0, v8) │
00:04:08 verbose #8160 > │ v9 │
00:04:08 verbose #8161 > │ #endif │
00:04:08 verbose #8162 > │ |> fun x -> _v1 <- Some x │
00:04:08 verbose #8163 > │ let v10 : Async<int64> = _v1.Value │
00:04:08 verbose #8164 > │ let v11 : Async<unit> option = None │
00:04:08 verbose #8165 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:04:08 verbose #8166 > │ │
00:04:08 verbose #8167 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8168 > │ │
00:04:08 verbose #8169 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8170 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8171 > │ v13 │
00:04:08 verbose #8172 > │ #endif │
00:04:08 verbose #8173 > │ │
00:04:08 verbose #8174 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8175 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8176 > │ v14 │
00:04:08 verbose #8177 > │ #endif │
00:04:08 verbose #8178 > │ │
00:04:08 verbose #8179 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8180 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8181 > │ v15 │
00:04:08 verbose #8182 > │ #endif │
00:04:08 verbose #8183 > │ │
00:04:08 verbose #8184 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8185 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8186 > │ v16 │
00:04:08 verbose #8187 > │ #endif │
00:04:08 verbose #8188 > │ │
00:04:08 verbose #8189 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8190 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8191 > │ v17 │
00:04:08 verbose #8192 > │ #endif │
00:04:08 verbose #8193 > │ │
00:04:08 verbose #8194 > │ #else │
00:04:08 verbose #8195 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:04:08 verbose #8196 > │ let v19 : Async<unit> = v18 v10 │
00:04:08 verbose #8197 > │ v19 │
00:04:08 verbose #8198 > │ #endif │
00:04:08 verbose #8199 > │ |> fun x -> _v11 <- Some x │
00:04:08 verbose #8200 > │ let v20 : Async<unit> = _v11.Value │
00:04:08 verbose #8201 > │ let v21 : unit option = None │
00:04:08 verbose #8202 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:04:08 verbose #8203 > │ │
00:04:08 verbose #8204 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8205 > │ │
00:04:08 verbose #8206 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8207 > │ null |> unbox<unit> │
00:04:08 verbose #8208 > │ () │
00:04:08 verbose #8209 > │ #endif │
00:04:08 verbose #8210 > │ │
00:04:08 verbose #8211 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8212 > │ null |> unbox<unit> │
00:04:08 verbose #8213 > │ () │
00:04:08 verbose #8214 > │ #endif │
00:04:08 verbose #8215 > │ │
00:04:08 verbose #8216 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8217 > │ null |> unbox<unit> │
00:04:08 verbose #8218 > │ () │
00:04:08 verbose #8219 > │ #endif │
00:04:08 verbose #8220 > │ │
00:04:08 verbose #8221 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8222 > │ null |> unbox<unit> │
00:04:08 verbose #8223 > │ () │
00:04:08 verbose #8224 > │ #endif │
00:04:08 verbose #8225 > │ │
00:04:08 verbose #8226 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8227 > │ null |> unbox<unit> │
00:04:08 verbose #8228 > │ () │
00:04:08 verbose #8229 > │ #endif │
00:04:08 verbose #8230 > │ │
00:04:08 verbose #8231 > │ #else │
00:04:08 verbose #8232 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:04:08 verbose #8233 > │ v23 v20 │
00:04:08 verbose #8234 > │ () │
00:04:08 verbose #8235 > │ #endif │
00:04:08 verbose #8236 > │ |> fun x -> _v21 <- Some x │
00:04:08 verbose #8237 > │ _v21.Value │
00:04:08 verbose #8238 > │ () │
00:04:08 verbose #8239 > │ and method21 (v0 : string) : (unit -> unit) = │
00:04:08 verbose #8240 > │ closure16(v0) │
00:04:08 verbose #8241 > │ and method22 () : struct (string * string) = │
00:04:08 verbose #8242 > │ let v0 : string = "" │
00:04:08 verbose #8243 > │ struct (v0, v0) │
00:04:08 verbose #8244 > │ and method23 (v0 : int32, v1 : Mut4) : bool = │
00:04:08 verbose #8245 > │ let v2 : int32 = v1.l0 │
00:04:08 verbose #8246 > │ let v3 : bool = v2 < v0 │
00:04:08 verbose #8247 > │ v3 │
00:04:08 verbose #8248 > │ and closure21 (v0 : char) (v1 : UH0) : UH0 = │
00:04:08 verbose #8249 > │ UH0_1(v0, v1) │
00:04:08 verbose #8250 > │ and closure20 () (v0 : char) : (UH0 -> UH0) = │
00:04:08 verbose #8251 > │ closure21(v0) │
00:04:08 verbose #8252 > │ and method24 () : (char -> (UH0 -> UH0)) = │
00:04:08 verbose #8253 > │ closure20() │
00:04:08 verbose #8254 > │ and method25 (v0 : string, v1 : string, v2 : UH0, v3 : US6) : struct (string │
00:04:08 verbose #8255 > │ * string) = │
00:04:08 verbose #8256 > │ match v2 with │
00:04:08 verbose #8257 > │ | UH0_1(v4, v5) -> (* Cons *) │
00:04:08 verbose #8258 > │ let v6 : bool = '"' = v4 │
00:04:08 verbose #8259 > │ if v6 then │
00:04:08 verbose #8260 > │ let v8 : bool = v1 = "" │
00:04:08 verbose #8261 > │ if v8 then │
00:04:08 verbose #8262 > │ let v9 : US7 = US7_0 │
00:04:08 verbose #8263 > │ let v10 : US6 = US6_1(v9) │
00:04:08 verbose #8264 > │ method25(v0, v1, v5, v10) │
00:04:08 verbose #8265 > │ else │
00:04:08 verbose #8266 > │ match v3 with │
00:04:08 verbose #8267 > │ | US6_2 -> (* Arguments *) │
00:04:08 verbose #8268 > │ let v38 : string = $"{v0}{v4}" │
00:04:08 verbose #8269 > │ let v39 : US6 = US6_2 │
00:04:08 verbose #8270 > │ method25(v38, v1, v5, v39) │
00:04:08 verbose #8271 > │ | US6_1(v13) -> (* Path *) │
00:04:08 verbose #8272 > │ match v13 with │
00:04:08 verbose #8273 > │ | US7_0 -> (* Quoted *) │
00:04:08 verbose #8274 > │ let v14 : US7 = US7_1 │
00:04:08 verbose #8275 > │ let v15 : US6 = US6_1(v14) │
00:04:08 verbose #8276 > │ method25(v0, v1, v5, v15) │
00:04:08 verbose #8277 > │ | _ -> │
00:04:08 verbose #8278 > │ let v18 : bool = ' ' = v4 │
00:04:08 verbose #8279 > │ if v18 then │
00:04:08 verbose #8280 > │ let v19 : US6 = US6_2 │
00:04:08 verbose #8281 > │ method25(v0, v1, v5, v19) │
00:04:08 verbose #8282 > │ else │
00:04:08 verbose #8283 > │ let v22 : string = $"{v1}{v4}" │
00:04:08 verbose #8284 > │ method25(v0, v22, v5, v3) │
00:04:08 verbose #8285 > │ | US6_0 -> (* Start *) │
00:04:08 verbose #8286 > │ let v29 : bool = ' ' = v4 │
00:04:08 verbose #8287 > │ if v29 then │
00:04:08 verbose #8288 > │ let v30 : US6 = US6_2 │
00:04:08 verbose #8289 > │ method25(v0, v1, v5, v30) │
00:04:08 verbose #8290 > │ else │
00:04:08 verbose #8291 > │ let v33 : string = $"{v1}{v4}" │
00:04:08 verbose #8292 > │ method25(v0, v33, v5, v3) │
00:04:08 verbose #8293 > │ else │
00:04:08 verbose #8294 > │ let v50 : bool = ''' = v4 │
00:04:08 verbose #8295 > │ if v50 then │
00:04:08 verbose #8296 > │ let v52 : bool = v1 = "" │
00:04:08 verbose #8297 > │ if v52 then │
00:04:08 verbose #8298 > │ let v53 : US7 = US7_0 │
00:04:08 verbose #8299 > │ let v54 : US6 = US6_1(v53) │
00:04:08 verbose #8300 > │ method25(v0, v1, v5, v54) │
00:04:08 verbose #8301 > │ else │
00:04:08 verbose #8302 > │ match v3 with │
00:04:08 verbose #8303 > │ | US6_2 -> (* Arguments *) │
00:04:08 verbose #8304 > │ let v82 : string = $"{v0}{v4}" │
00:04:08 verbose #8305 > │ let v83 : US6 = US6_2 │
00:04:08 verbose #8306 > │ method25(v82, v1, v5, v83) │
00:04:08 verbose #8307 > │ | US6_1(v57) -> (* Path *) │
00:04:08 verbose #8308 > │ match v57 with │
00:04:08 verbose #8309 > │ | US7_0 -> (* Quoted *) │
00:04:08 verbose #8310 > │ let v58 : US7 = US7_1 │
00:04:08 verbose #8311 > │ let v59 : US6 = US6_1(v58) │
00:04:08 verbose #8312 > │ method25(v0, v1, v5, v59) │
00:04:08 verbose #8313 > │ | _ -> │
00:04:08 verbose #8314 > │ let v62 : bool = ' ' = v4 │
00:04:08 verbose #8315 > │ if v62 then │
00:04:08 verbose #8316 > │ let v63 : US6 = US6_2 │
00:04:08 verbose #8317 > │ method25(v0, v1, v5, v63) │
00:04:08 verbose #8318 > │ else │
00:04:08 verbose #8319 > │ let v66 : string = $"{v1}{v4}" │
00:04:08 verbose #8320 > │ method25(v0, v66, v5, v3) │
00:04:08 verbose #8321 > │ | US6_0 -> (* Start *) │
00:04:08 verbose #8322 > │ let v73 : bool = ' ' = v4 │
00:04:08 verbose #8323 > │ if v73 then │
00:04:08 verbose #8324 > │ let v74 : US6 = US6_2 │
00:04:08 verbose #8325 > │ method25(v0, v1, v5, v74) │
00:04:08 verbose #8326 > │ else │
00:04:08 verbose #8327 > │ let v77 : string = $"{v1}{v4}" │
00:04:08 verbose #8328 > │ method25(v0, v77, v5, v3) │
00:04:08 verbose #8329 > │ else │
00:04:08 verbose #8330 > │ match v3 with │
00:04:08 verbose #8331 > │ | US6_2 -> (* Arguments *) │
00:04:08 verbose #8332 > │ let v126 : string = $"{v0}{v4}" │
00:04:08 verbose #8333 > │ let v127 : US6 = US6_2 │
00:04:08 verbose #8334 > │ method25(v126, v1, v5, v127) │
00:04:08 verbose #8335 > │ | US6_1(v94) -> (* Path *) │
00:04:08 verbose #8336 > │ match v94 with │
00:04:08 verbose #8337 > │ | US7_0 -> (* Quoted *) │
00:04:08 verbose #8338 > │ let v95 : bool = ' ' = v4 │
00:04:08 verbose #8339 > │ if v95 then │
00:04:08 verbose #8340 > │ let v96 : string = $"{v1} " │
00:04:08 verbose #8341 > │ let v97 : US7 = US7_0 │
00:04:08 verbose #8342 > │ let v98 : US6 = US6_1(v97) │
00:04:08 verbose #8343 > │ method25(v0, v96, v5, v98) │
00:04:08 verbose #8344 > │ else │
00:04:08 verbose #8345 > │ let v101 : string = $"{v1}{v4}" │
00:04:08 verbose #8346 > │ method25(v0, v101, v5, v3) │
00:04:08 verbose #8347 > │ | _ -> │
00:04:08 verbose #8348 > │ let v106 : bool = ' ' = v4 │
00:04:08 verbose #8349 > │ if v106 then │
00:04:08 verbose #8350 > │ let v107 : US6 = US6_2 │
00:04:08 verbose #8351 > │ method25(v0, v1, v5, v107) │
00:04:08 verbose #8352 > │ else │
00:04:08 verbose #8353 > │ let v110 : string = $"{v1}{v4}" │
00:04:08 verbose #8354 > │ method25(v0, v110, v5, v3) │
00:04:08 verbose #8355 > │ | US6_0 -> (* Start *) │
00:04:08 verbose #8356 > │ let v117 : bool = ' ' = v4 │
00:04:08 verbose #8357 > │ if v117 then │
00:04:08 verbose #8358 > │ let v118 : US6 = US6_2 │
00:04:08 verbose #8359 > │ method25(v0, v1, v5, v118) │
00:04:08 verbose #8360 > │ else │
00:04:08 verbose #8361 > │ let v121 : string = $"{v1}{v4}" │
00:04:08 verbose #8362 > │ method25(v0, v121, v5, v3) │
00:04:08 verbose #8363 > │ | _ -> │
00:04:08 verbose #8364 > │ match v3 with │
00:04:08 verbose #8365 > │ | US6_2 -> (* Arguments *) │
00:04:08 verbose #8366 > │ let v152 : string = "\\" │
00:04:08 verbose #8367 > │ let v153 : string = "/" │
00:04:08 verbose #8368 > │ let v154 : string = v1.Replace (v152, v153) │
00:04:08 verbose #8369 > │ struct (v154, v0) │
00:04:08 verbose #8370 > │ | US6_1(v140) -> (* Path *) │
00:04:08 verbose #8371 > │ match v140 with │
00:04:08 verbose #8372 > │ | US7_0 -> (* Quoted *) │
00:04:08 verbose #8373 > │ let v141 : string = "\\" │
00:04:08 verbose #8374 > │ let v142 : string = "/" │
00:04:08 verbose #8375 > │ let v143 : string = v1.Replace (v141, v142) │
00:04:08 verbose #8376 > │ struct (v143, v0) │
00:04:08 verbose #8377 > │ | _ -> │
00:04:08 verbose #8378 > │ let v144 : string = "\\" │
00:04:08 verbose #8379 > │ let v145 : string = "/" │
00:04:08 verbose #8380 > │ let v146 : string = v1.Replace (v144, v145) │
00:04:08 verbose #8381 > │ struct (v146, v0) │
00:04:08 verbose #8382 > │ | US6_0 -> (* Start *) │
00:04:08 verbose #8383 > │ let v149 : string = "\\" │
00:04:08 verbose #8384 > │ let v150 : string = "/" │
00:04:08 verbose #8385 > │ let v151 : string = v1.Replace (v149, v150) │
00:04:08 verbose #8386 > │ struct (v151, v0) │
00:04:08 verbose #8387 > │ and closure22 () (v0 : string) : US1 = │
00:04:08 verbose #8388 > │ US1_0(v0) │
00:04:08 verbose #8389 > │ and method26 () : (string -> US1) = │
00:04:08 verbose #8390 > │ closure22() │
00:04:08 verbose #8391 > │ and closure23 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:04:08 verbose #8392 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:04:08 verbose #8393 > │ Async<unit>) option, v4 : │
00:04:08 verbose #8394 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:04:08 verbose #8395 > │ string option) () : string = │
00:04:08 verbose #8396 > │ let v6 : string = $"execute_with_options_async / options: %A{struct (v0, │
00:04:08 verbose #8397 > │ v1, v2, v3, v4, v5)}" │
00:04:08 verbose #8398 > │ v6 │
00:04:08 verbose #8399 > │ and method27 () : (unit -> string) = │
00:04:08 verbose #8400 > │ closure6() │
00:04:08 verbose #8401 > │ and closure25 () (v0 : (struct (bool * string * int32) -> Async<unit>)) : │
00:04:08 verbose #8402 > │ US8 = │
00:04:08 verbose #8403 > │ US8_0(v0) │
00:04:08 verbose #8404 > │ and method28 () : ((struct (bool * string * int32) -> Async<unit>) -> US8) = │
00:04:08 verbose #8405 > │ closure25() │
00:04:08 verbose #8406 > │ and closure26 (v0 : string) () : string = │
00:04:08 verbose #8407 > │ let v1 : string = $"> {v0}" │
00:04:08 verbose #8408 > │ v1 │
00:04:08 verbose #8409 > │ and closure24 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:04:08 verbose #8410 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:04:08 verbose #8411 > │ Async<unit>) option, v4 : │
00:04:08 verbose #8412 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:04:08 verbose #8413 > │ string option, v6 : System.Diagnostics.Process, v7 : │
00:04:08 verbose #8414 > │ System.Collections.Concurrent.ConcurrentStack<string>) (v8 : │
00:04:08 verbose #8415 > │ System.Diagnostics.DataReceivedEventArgs) : unit = │
00:04:08 verbose #8416 > │ let v9 : Async<unit> option = None │
00:04:08 verbose #8417 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:04:08 verbose #8418 > │ │
00:04:08 verbose #8419 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8420 > │ │
00:04:08 verbose #8421 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8422 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8423 > │ v11 │
00:04:08 verbose #8424 > │ #endif │
00:04:08 verbose #8425 > │ │
00:04:08 verbose #8426 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8427 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8428 > │ v12 │
00:04:08 verbose #8429 > │ #endif │
00:04:08 verbose #8430 > │ │
00:04:08 verbose #8431 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8432 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8433 > │ v13 │
00:04:08 verbose #8434 > │ #endif │
00:04:08 verbose #8435 > │ │
00:04:08 verbose #8436 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8437 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8438 > │ v14 │
00:04:08 verbose #8439 > │ #endif │
00:04:08 verbose #8440 > │ │
00:04:08 verbose #8441 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8442 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8443 > │ v15 │
00:04:08 verbose #8444 > │ #endif │
00:04:08 verbose #8445 > │ │
00:04:08 verbose #8446 > │ #else │
00:04:08 verbose #8447 > │ let v16 : Async<unit> option = None │
00:04:08 verbose #8448 > │ let mutable _v16 = v16 │
00:04:08 verbose #8449 > │ async { │
00:04:08 verbose #8450 > │ let v17 : string = v8.Data │
00:04:08 verbose #8451 > │ let v18 : string = null |> unbox<string> │
00:04:08 verbose #8452 > │ let v19 : bool = v17 = v18 │
00:04:08 verbose #8453 > │ let v20 : bool = v19 <> true │
00:04:08 verbose #8454 > │ if v20 then │
00:04:08 verbose #8455 > │ let v21 : ((struct (bool * string * int32) -> Async<unit>) -> US8) = │
00:04:08 verbose #8456 > │ method28() │
00:04:08 verbose #8457 > │ let v22 : US8 = US8_1 │
00:04:08 verbose #8458 > │ let v23 : US8 = v3 |> Option.map v21 |> Option.defaultValue v22 │
00:04:08 verbose #8459 > │ match v23 with │
00:04:08 verbose #8460 > │ | US8_1 -> (* None *) │
00:04:08 verbose #8461 > │ () │
00:04:08 verbose #8462 > │ | US8_0(v24) -> (* Some *) │
00:04:08 verbose #8463 > │ let v25 : int32 = v6.Id │
00:04:08 verbose #8464 > │ let v26 : Async<unit> = v24 struct (false, v17, v25) │
00:04:08 verbose #8465 > │ do! v26 │
00:04:08 verbose #8466 > │ () │
00:04:08 verbose #8467 > │ let v27 : US3 = US3_0 │
00:04:08 verbose #8468 > │ let v28 : (unit -> string) = closure26(v17) │
00:04:08 verbose #8469 > │ let v29 : (unit -> string) = closure6() │
00:04:08 verbose #8470 > │ method12(v27, v28, v29) │
00:04:08 verbose #8471 > │ let v30 : string = "" │
00:04:08 verbose #8472 > │ let v31 : string = $"{v30}{v17}{v30}" │
00:04:08 verbose #8473 > │ let v32 : (string -> unit) = v7.Push │
00:04:08 verbose #8474 > │ v32 v31 │
00:04:08 verbose #8475 > │ } │
00:04:08 verbose #8476 > │ |> fun x -> _v16 <- Some x │
00:04:08 verbose #8477 > │ let v33 : Async<unit> = _v16 |> Option.get │
00:04:08 verbose #8478 > │ v33 │
00:04:08 verbose #8479 > │ #endif │
00:04:08 verbose #8480 > │ |> fun x -> _v9 <- Some x │
00:04:08 verbose #8481 > │ let v34 : Async<unit> = _v9.Value │
00:04:08 verbose #8482 > │ let v35 : unit option = None │
00:04:08 verbose #8483 > │ let v36 : bool = true in let mutable _v35 = v35 │
00:04:08 verbose #8484 > │ │
00:04:08 verbose #8485 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8486 > │ │
00:04:08 verbose #8487 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8488 > │ null |> unbox<unit> │
00:04:08 verbose #8489 > │ () │
00:04:08 verbose #8490 > │ #endif │
00:04:08 verbose #8491 > │ │
00:04:08 verbose #8492 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8493 > │ null |> unbox<unit> │
00:04:08 verbose #8494 > │ () │
00:04:08 verbose #8495 > │ #endif │
00:04:08 verbose #8496 > │ │
00:04:08 verbose #8497 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8498 > │ null |> unbox<unit> │
00:04:08 verbose #8499 > │ () │
00:04:08 verbose #8500 > │ #endif │
00:04:08 verbose #8501 > │ │
00:04:08 verbose #8502 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8503 > │ null |> unbox<unit> │
00:04:08 verbose #8504 > │ () │
00:04:08 verbose #8505 > │ #endif │
00:04:08 verbose #8506 > │ │
00:04:08 verbose #8507 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8508 > │ null |> unbox<unit> │
00:04:08 verbose #8509 > │ () │
00:04:08 verbose #8510 > │ #endif │
00:04:08 verbose #8511 > │ │
00:04:08 verbose #8512 > │ #else │
00:04:08 verbose #8513 > │ let v37 : (Async<unit> -> unit) = Async.StartImmediate │
00:04:08 verbose #8514 > │ v37 v34 │
00:04:08 verbose #8515 > │ () │
00:04:08 verbose #8516 > │ #endif │
00:04:08 verbose #8517 > │ |> fun x -> _v35 <- Some x │
00:04:08 verbose #8518 > │ _v35.Value │
00:04:08 verbose #8519 > │ () │
00:04:08 verbose #8520 > │ and closure27 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:04:08 verbose #8521 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:04:08 verbose #8522 > │ Async<unit>) option, v4 : │
00:04:08 verbose #8523 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:04:08 verbose #8524 > │ string option, v6 : System.Diagnostics.Process, v7 : │
00:04:08 verbose #8525 > │ System.Collections.Concurrent.ConcurrentStack<string>) (v8 : │
00:04:08 verbose #8526 > │ System.Diagnostics.DataReceivedEventArgs) : unit = │
00:04:08 verbose #8527 > │ let v9 : Async<unit> option = None │
00:04:08 verbose #8528 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:04:08 verbose #8529 > │ │
00:04:08 verbose #8530 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8531 > │ │
00:04:08 verbose #8532 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8533 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8534 > │ v11 │
00:04:08 verbose #8535 > │ #endif │
00:04:08 verbose #8536 > │ │
00:04:08 verbose #8537 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8538 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8539 > │ v12 │
00:04:08 verbose #8540 > │ #endif │
00:04:08 verbose #8541 > │ │
00:04:08 verbose #8542 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8543 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8544 > │ v13 │
00:04:08 verbose #8545 > │ #endif │
00:04:08 verbose #8546 > │ │
00:04:08 verbose #8547 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8548 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8549 > │ v14 │
00:04:08 verbose #8550 > │ #endif │
00:04:08 verbose #8551 > │ │
00:04:08 verbose #8552 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8553 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:04:08 verbose #8554 > │ v15 │
00:04:08 verbose #8555 > │ #endif │
00:04:08 verbose #8556 > │ │
00:04:08 verbose #8557 > │ #else │
00:04:08 verbose #8558 > │ let v16 : Async<unit> option = None │
00:04:08 verbose #8559 > │ let mutable _v16 = v16 │
00:04:08 verbose #8560 > │ async { │
00:04:08 verbose #8561 > │ let v17 : string = v8.Data │
00:04:08 verbose #8562 > │ let v18 : string = null |> unbox<string> │
00:04:08 verbose #8563 > │ let v19 : bool = v17 = v18 │
00:04:08 verbose #8564 > │ let v20 : bool = v19 <> true │
00:04:08 verbose #8565 > │ if v20 then │
00:04:08 verbose #8566 > │ let v21 : ((struct (bool * string * int32) -> Async<unit>) -> US8) = │
00:04:08 verbose #8567 > │ method28() │
00:04:08 verbose #8568 > │ let v22 : US8 = US8_1 │
00:04:08 verbose #8569 > │ let v23 : US8 = v3 |> Option.map v21 |> Option.defaultValue v22 │
00:04:08 verbose #8570 > │ match v23 with │
00:04:08 verbose #8571 > │ | US8_1 -> (* None *) │
00:04:08 verbose #8572 > │ () │
00:04:08 verbose #8573 > │ | US8_0(v24) -> (* Some *) │
00:04:08 verbose #8574 > │ let v25 : int32 = v6.Id │
00:04:08 verbose #8575 > │ let v26 : Async<unit> = v24 struct (true, v17, v25) │
00:04:08 verbose #8576 > │ do! v26 │
00:04:08 verbose #8577 > │ () │
00:04:08 verbose #8578 > │ let v27 : US3 = US3_0 │
00:04:08 verbose #8579 > │ let v28 : (unit -> string) = closure26(v17) │
00:04:08 verbose #8580 > │ let v29 : (unit -> string) = closure6() │
00:04:08 verbose #8581 > │ method12(v27, v28, v29) │
00:04:08 verbose #8582 > │ let v30 : string = "[" │
00:04:08 verbose #8583 > │ let v31 : string = "]" │
00:04:08 verbose #8584 > │ let v32 : string = $"{v30}{v17}{v31}" │
00:04:08 verbose #8585 > │ let v33 : (string -> unit) = v7.Push │
00:04:08 verbose #8586 > │ v33 v32 │
00:04:08 verbose #8587 > │ } │
00:04:08 verbose #8588 > │ |> fun x -> _v16 <- Some x │
00:04:08 verbose #8589 > │ let v34 : Async<unit> = _v16 |> Option.get │
00:04:08 verbose #8590 > │ v34 │
00:04:08 verbose #8591 > │ #endif │
00:04:08 verbose #8592 > │ |> fun x -> _v9 <- Some x │
00:04:08 verbose #8593 > │ let v35 : Async<unit> = _v9.Value │
00:04:08 verbose #8594 > │ let v36 : unit option = None │
00:04:08 verbose #8595 > │ let v37 : bool = true in let mutable _v36 = v36 │
00:04:08 verbose #8596 > │ │
00:04:08 verbose #8597 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8598 > │ │
00:04:08 verbose #8599 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8600 > │ null |> unbox<unit> │
00:04:08 verbose #8601 > │ () │
00:04:08 verbose #8602 > │ #endif │
00:04:08 verbose #8603 > │ │
00:04:08 verbose #8604 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8605 > │ null |> unbox<unit> │
00:04:08 verbose #8606 > │ () │
00:04:08 verbose #8607 > │ #endif │
00:04:08 verbose #8608 > │ │
00:04:08 verbose #8609 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8610 > │ null |> unbox<unit> │
00:04:08 verbose #8611 > │ () │
00:04:08 verbose #8612 > │ #endif │
00:04:08 verbose #8613 > │ │
00:04:08 verbose #8614 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8615 > │ null |> unbox<unit> │
00:04:08 verbose #8616 > │ () │
00:04:08 verbose #8617 > │ #endif │
00:04:08 verbose #8618 > │ │
00:04:08 verbose #8619 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8620 > │ null |> unbox<unit> │
00:04:08 verbose #8621 > │ () │
00:04:08 verbose #8622 > │ #endif │
00:04:08 verbose #8623 > │ │
00:04:08 verbose #8624 > │ #else │
00:04:08 verbose #8625 > │ let v38 : (Async<unit> -> unit) = Async.StartImmediate │
00:04:08 verbose #8626 > │ v38 v35 │
00:04:08 verbose #8627 > │ () │
00:04:08 verbose #8628 > │ #endif │
00:04:08 verbose #8629 > │ |> fun x -> _v36 <- Some x │
00:04:08 verbose #8630 > │ _v36.Value │
00:04:08 verbose #8631 > │ () │
00:04:08 verbose #8632 > │ and closure28 () (v0 : System.Threading.CancellationToken) : US9 = │
00:04:08 verbose #8633 > │ US9_0(v0) │
00:04:08 verbose #8634 > │ and method29 () : (System.Threading.CancellationToken -> US9) = │
00:04:08 verbose #8635 > │ closure28() │
00:04:08 verbose #8636 > │ and closure29 (v0 : System.Diagnostics.Process) () : unit = │
00:04:08 verbose #8637 > │ let v1 : bool option = None │
00:04:08 verbose #8638 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:08 verbose #8639 > │ │
00:04:08 verbose #8640 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8641 > │ │
00:04:08 verbose #8642 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8643 > │ let v3 : bool = null |> unbox<bool> │
00:04:08 verbose #8644 > │ v3 │
00:04:08 verbose #8645 > │ #endif │
00:04:08 verbose #8646 > │ │
00:04:08 verbose #8647 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8648 > │ let v4 : bool = null |> unbox<bool> │
00:04:08 verbose #8649 > │ v4 │
00:04:08 verbose #8650 > │ #endif │
00:04:08 verbose #8651 > │ │
00:04:08 verbose #8652 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8653 > │ let v5 : bool = null |> unbox<bool> │
00:04:08 verbose #8654 > │ v5 │
00:04:08 verbose #8655 > │ #endif │
00:04:08 verbose #8656 > │ │
00:04:08 verbose #8657 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8658 > │ let v6 : bool = null |> unbox<bool> │
00:04:08 verbose #8659 > │ v6 │
00:04:08 verbose #8660 > │ #endif │
00:04:08 verbose #8661 > │ │
00:04:08 verbose #8662 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8663 > │ let v7 : bool = null |> unbox<bool> │
00:04:08 verbose #8664 > │ v7 │
00:04:08 verbose #8665 > │ #endif │
00:04:08 verbose #8666 > │ │
00:04:08 verbose #8667 > │ #else │
00:04:08 verbose #8668 > │ let v8 : bool = v0.HasExited │
00:04:08 verbose #8669 > │ v8 │
00:04:08 verbose #8670 > │ #endif │
00:04:08 verbose #8671 > │ |> fun x -> _v1 <- Some x │
00:04:08 verbose #8672 > │ let v9 : bool = _v1.Value │
00:04:08 verbose #8673 > │ let v10 : bool = v9 = false │
00:04:08 verbose #8674 > │ if v10 then │
00:04:08 verbose #8675 > │ let v11 : unit option = None │
00:04:08 verbose #8676 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:04:08 verbose #8677 > │ │
00:04:08 verbose #8678 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8679 > │ │
00:04:08 verbose #8680 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8681 > │ null |> unbox<unit> │
00:04:08 verbose #8682 > │ () │
00:04:08 verbose #8683 > │ #endif │
00:04:08 verbose #8684 > │ │
00:04:08 verbose #8685 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8686 > │ null |> unbox<unit> │
00:04:08 verbose #8687 > │ () │
00:04:08 verbose #8688 > │ #endif │
00:04:08 verbose #8689 > │ │
00:04:08 verbose #8690 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8691 > │ null |> unbox<unit> │
00:04:08 verbose #8692 > │ () │
00:04:08 verbose #8693 > │ #endif │
00:04:08 verbose #8694 > │ │
00:04:08 verbose #8695 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8696 > │ null |> unbox<unit> │
00:04:08 verbose #8697 > │ () │
00:04:08 verbose #8698 > │ #endif │
00:04:08 verbose #8699 > │ │
00:04:08 verbose #8700 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8701 > │ null |> unbox<unit> │
00:04:08 verbose #8702 > │ () │
00:04:08 verbose #8703 > │ #endif │
00:04:08 verbose #8704 > │ │
00:04:08 verbose #8705 > │ #else │
00:04:08 verbose #8706 > │ let v13 : (unit -> unit) = v0.Kill │
00:04:08 verbose #8707 > │ v13 () │
00:04:08 verbose #8708 > │ () │
00:04:08 verbose #8709 > │ #endif │
00:04:08 verbose #8710 > │ |> fun x -> _v11 <- Some x │
00:04:08 verbose #8711 > │ _v11.Value │
00:04:08 verbose #8712 > │ () │
00:04:08 verbose #8713 > │ and closure30 (v0 : System.Threading.Tasks.TaskCanceledException) () : │
00:04:08 verbose #8714 > │ string = │
00:04:08 verbose #8715 > │ let v1 : string = $"execute_with_options_async / WaitForExitAsync / ex: │
00:04:08 verbose #8716 > │ %A{v0}" │
00:04:08 verbose #8717 > │ v1 │
00:04:08 verbose #8718 > │ and method30 () : string = │
00:04:08 verbose #8719 > │ let v0 : string = "\n" │
00:04:08 verbose #8720 > │ v0 │
00:04:08 verbose #8721 > │ and closure31 (v0 : int32, v1 : string) () : string = │
00:04:08 verbose #8722 > │ let v2 : string = $"execute_with_options_async / exit_code: {v0} / │
00:04:08 verbose #8723 > │ output.Length: {v1.Length}" │
00:04:08 verbose #8724 > │ v2 │
00:04:08 verbose #8725 > │ and method32 (v0 : bool) : bool = │
00:04:08 verbose #8726 > │ v0 │
00:04:08 verbose #8727 > │ and closure32 () (v0 : int32) : unit = │
00:04:08 verbose #8728 > │ let v1 : bool = v0 = 1 │
00:04:08 verbose #8729 > │ let v3 : bool = │
00:04:08 verbose #8730 > │ if v1 then │
00:04:08 verbose #8731 > │ true │
00:04:08 verbose #8732 > │ else │
00:04:08 verbose #8733 > │ method32(v1) │
00:04:08 verbose #8734 > │ let v4 : string = "assert_eq" │
00:04:08 verbose #8735 > │ let v5 : string = $"{v4} / actual: %A{v0} / expected: %A{1}" │
00:04:08 verbose #8736 > │ System.Console.WriteLine v5 │
00:04:08 verbose #8737 > │ let v6 : bool = v3 = false │
00:04:08 verbose #8738 > │ if v6 then │
00:04:08 verbose #8739 > │ failwith<unit> v5 │
00:04:08 verbose #8740 > │ and method31 () : (int32 -> unit) = │
00:04:08 verbose #8741 > │ closure32() │
00:04:08 verbose #8742 > │ and closure33 () struct (v0 : int32, v1 : string) : US11 = │
00:04:08 verbose #8743 > │ US11_0(v0, v1) │
00:04:08 verbose #8744 > │ and closure34 () (v0 : exn) : US11 = │
00:04:08 verbose #8745 > │ US11_1(v0) │
00:04:08 verbose #8746 > │ and closure35 () () : string = │
00:04:08 verbose #8747 > │ let v0 : string = "run_with_timeout_async" │
00:04:08 verbose #8748 > │ v0 │
00:04:08 verbose #8749 > │ and closure36 () () : string = │
00:04:08 verbose #8750 > │ let v0 : (unit -> string) = closure6() │
00:04:08 verbose #8751 > │ let v1 : string = $"timeout: {10000} / {v0 ()}" │
00:04:08 verbose #8752 > │ v1 │
00:04:08 verbose #8753 > │ and closure37 (v0 : string) () : string = │
00:04:08 verbose #8754 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:04:08 verbose #8755 > │ v1 │
00:04:08 verbose #8756 > │ and closure38 () (v0 : int32) : unit = │
00:04:08 verbose #8757 > │ let v1 : bool = v0 = 0 │
00:04:08 verbose #8758 > │ let v3 : bool = │
00:04:08 verbose #8759 > │ if v1 then │
00:04:08 verbose #8760 > │ true │
00:04:08 verbose #8761 > │ else │
00:04:08 verbose #8762 > │ method32(v1) │
00:04:08 verbose #8763 > │ let v4 : string = "assert_eq" │
00:04:08 verbose #8764 > │ let v5 : string = $"{v4} / actual: %A{v0} / expected: %A{0}" │
00:04:08 verbose #8765 > │ System.Console.WriteLine v5 │
00:04:08 verbose #8766 > │ let v6 : bool = v3 = false │
00:04:08 verbose #8767 > │ if v6 then │
00:04:08 verbose #8768 > │ failwith<unit> v5 │
00:04:08 verbose #8769 > │ and method33 () : (int32 -> unit) = │
00:04:08 verbose #8770 > │ closure38() │
00:04:08 verbose #8771 > │ and closure39 () (v0 : string) : unit = │
00:04:08 verbose #8772 > │ let v2 : bool = v0 = "0" │
00:04:08 verbose #8773 > │ let v4 : bool = │
00:04:08 verbose #8774 > │ if v2 then │
00:04:08 verbose #8775 > │ true │
00:04:08 verbose #8776 > │ else │
00:04:08 verbose #8777 > │ method32(v2) │
00:04:08 verbose #8778 > │ let v5 : string = "assert_eq" │
00:04:08 verbose #8779 > │ let v6 : string = "0" │
00:04:08 verbose #8780 > │ let v7 : string = $"{v5} / actual: %A{v0} / expected: %A{v6}" │
00:04:08 verbose #8781 > │ System.Console.WriteLine v7 │
00:04:08 verbose #8782 > │ let v8 : bool = v4 = false │
00:04:08 verbose #8783 > │ if v8 then │
00:04:08 verbose #8784 > │ failwith<unit> v7 │
00:04:08 verbose #8785 > │ and method34 () : (string -> unit) = │
00:04:08 verbose #8786 > │ closure39() │
00:04:08 verbose #8787 > │ and method0 () : unit = │
00:04:08 verbose #8788 > │ let v0 : string option = None │
00:04:08 verbose #8789 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:04:08 verbose #8790 > │ │
00:04:08 verbose #8791 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8792 > │ │
00:04:08 verbose #8793 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8794 > │ let v2 : string option = None │
00:04:08 verbose #8795 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:04:08 verbose #8796 > │ │
00:04:08 verbose #8797 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8798 > │ │
00:04:08 verbose #8799 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8800 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:04:08 verbose #8801 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:04:08 verbose #8802 > │ v5 │
00:04:08 verbose #8803 > │ #endif │
00:04:08 verbose #8804 > │ │
00:04:08 verbose #8805 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8806 > │ let v6 : string = null |> unbox<string> │
00:04:08 verbose #8807 > │ v6 │
00:04:08 verbose #8808 > │ #endif │
00:04:08 verbose #8809 > │ │
00:04:08 verbose #8810 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8811 > │ let v7 : string = null |> unbox<string> │
00:04:08 verbose #8812 > │ v7 │
00:04:08 verbose #8813 > │ #endif │
00:04:08 verbose #8814 > │ │
00:04:08 verbose #8815 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8816 > │ let v8 : string = null |> unbox<string> │
00:04:08 verbose #8817 > │ v8 │
00:04:08 verbose #8818 > │ #endif │
00:04:08 verbose #8819 > │ │
00:04:08 verbose #8820 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8821 > │ let v9 : string = null |> unbox<string> │
00:04:08 verbose #8822 > │ v9 │
00:04:08 verbose #8823 > │ #endif │
00:04:08 verbose #8824 > │ │
00:04:08 verbose #8825 > │ #else │
00:04:08 verbose #8826 > │ let v10 : string = │
00:04:08 verbose #8827 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:04:08 verbose #8828 > │ v10 │
00:04:08 verbose #8829 > │ #endif │
00:04:08 verbose #8830 > │ |> fun x -> _v2 <- Some x │
00:04:08 verbose #8831 > │ let v11 : string = _v2.Value │
00:04:08 verbose #8832 > │ let v12 : string option = None │
00:04:08 verbose #8833 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:04:08 verbose #8834 > │ │
00:04:08 verbose #8835 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8836 > │ │
00:04:08 verbose #8837 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8838 > │ let v14 : string = "std::env::temp_dir()" │
00:04:08 verbose #8839 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:04:08 verbose #8840 > │ let v16 : string = "$0.display()" │
00:04:08 verbose #8841 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:04:08 verbose #8842 > │ let v18 : std_string_String option = None │
00:04:08 verbose #8843 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:04:08 verbose #8844 > │ │
00:04:08 verbose #8845 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8846 > │ │
00:04:08 verbose #8847 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8848 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #8849 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:08 verbose #8850 > │ v20 │
00:04:08 verbose #8851 > │ v21 │
00:04:08 verbose #8852 > │ #endif │
00:04:08 verbose #8853 > │ │
00:04:08 verbose #8854 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8855 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #8856 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:08 verbose #8857 > │ v22 │
00:04:08 verbose #8858 > │ v23 │
00:04:08 verbose #8859 > │ #endif │
00:04:08 verbose #8860 > │ │
00:04:08 verbose #8861 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8862 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #8863 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:08 verbose #8864 > │ v24 │
00:04:08 verbose #8865 > │ v25 │
00:04:08 verbose #8866 > │ #endif │
00:04:08 verbose #8867 > │ │
00:04:08 verbose #8868 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8869 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #8870 > │ v26 │
00:04:08 verbose #8871 > │ #endif │
00:04:08 verbose #8872 > │ │
00:04:08 verbose #8873 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8874 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #8875 > │ v27 │
00:04:08 verbose #8876 > │ #endif │
00:04:08 verbose #8877 > │ │
00:04:08 verbose #8878 > │ #else │
00:04:08 verbose #8879 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #8880 > │ v28 │
00:04:08 verbose #8881 > │ #endif │
00:04:08 verbose #8882 > │ |> fun x -> _v18 <- Some x │
00:04:08 verbose #8883 > │ let v29 : std_string_String = _v18.Value │
00:04:08 verbose #8884 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #8885 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:04:08 verbose #8886 > │ v31 │
00:04:08 verbose #8887 > │ #endif │
00:04:08 verbose #8888 > │ │
00:04:08 verbose #8889 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8890 > │ let v32 : string = null |> unbox<string> │
00:04:08 verbose #8891 > │ v32 │
00:04:08 verbose #8892 > │ #endif │
00:04:08 verbose #8893 > │ │
00:04:08 verbose #8894 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8895 > │ let v33 : string = null |> unbox<string> │
00:04:08 verbose #8896 > │ v33 │
00:04:08 verbose #8897 > │ #endif │
00:04:08 verbose #8898 > │ │
00:04:08 verbose #8899 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #8900 > │ let v34 : string = null |> unbox<string> │
00:04:08 verbose #8901 > │ v34 │
00:04:08 verbose #8902 > │ #endif │
00:04:08 verbose #8903 > │ │
00:04:08 verbose #8904 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #8905 > │ let v35 : string = null |> unbox<string> │
00:04:08 verbose #8906 > │ v35 │
00:04:08 verbose #8907 > │ #endif │
00:04:08 verbose #8908 > │ │
00:04:08 verbose #8909 > │ #else │
00:04:08 verbose #8910 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:04:08 verbose #8911 > │ let v37 : string = v36 () │
00:04:08 verbose #8912 > │ v37 │
00:04:08 verbose #8913 > │ #endif │
00:04:08 verbose #8914 > │ |> fun x -> _v12 <- Some x │
00:04:08 verbose #8915 > │ let v38 : string = _v12.Value │
00:04:08 verbose #8916 > │ let v39 : string = $"!{v11}" │
00:04:08 verbose #8917 > │ let v40 : string = method1(v38, v39) │
00:04:08 verbose #8918 > │ let v41 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #8919 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:04:08 verbose #8920 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:04:08 verbose #8921 > │ let v44 : string = v43 v42 │
00:04:08 verbose #8922 > │ let v45 : struct (string * string) option = None │
00:04:08 verbose #8923 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:04:08 verbose #8924 > │ │
00:04:08 verbose #8925 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8926 > │ │
00:04:08 verbose #8927 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8928 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:04:08 verbose #8929 > │ System.DateTimeKind.Utc) │
00:04:08 verbose #8930 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:08 verbose #8931 > │ let v49 : System.DateTime = v48 v47 │
00:04:08 verbose #8932 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:04:08 verbose #8933 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:04:08 verbose #8934 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:08 verbose #8935 > │ let v53 : System.DateTime = v52 v51 │
00:04:08 verbose #8936 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #8937 > │ let v55 : int64 = v54 v53 │
00:04:08 verbose #8938 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #8939 > │ let v57 : int64 = v56 v49 │
00:04:08 verbose #8940 > │ let v58 : int64 = v55 - v57 │
00:04:08 verbose #8941 > │ let v59 : int64 = v58 / 10L │
00:04:08 verbose #8942 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:04:08 verbose #8943 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:04:08 verbose #8944 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:04:08 verbose #8945 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:04:08 verbose #8946 > │ let v63 : US0 = US0_1 │
00:04:08 verbose #8947 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:04:08 verbose #8948 > │ let v83 : US1 = │
00:04:08 verbose #8949 > │ match v64 with │
00:04:08 verbose #8950 > │ | US0_1 -> (* None *) │
00:04:08 verbose #8951 > │ US1_1 │
00:04:08 verbose #8952 > │ | US0_0(v65) -> (* Some *) │
00:04:08 verbose #8953 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:04:08 verbose #8954 > │ let v67 : string = "v66.naive_utc()" │
00:04:08 verbose #8955 > │ let v68 : chrono_NaiveDateTime = │
00:04:08 verbose #8956 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:04:08 verbose #8957 > │ let v69 : string = │
00:04:08 verbose #8958 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:04:08 verbose #8959 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:04:08 verbose #8960 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:04:08 verbose #8961 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:04:08 verbose #8962 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:04:08 verbose #8963 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:04:08 verbose #8964 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:04:08 verbose #8965 > │ let v75 : string = "v74.format(v73).to_string()" │
00:04:08 verbose #8966 > │ let v76 : std_string_String = │
00:04:08 verbose #8967 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:04:08 verbose #8968 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #8969 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:04:08 verbose #8970 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:04:08 verbose #8971 > │ US1_0(v79) │
00:04:08 verbose #8972 > │ let v87 : string = │
00:04:08 verbose #8973 > │ match v83 with │
00:04:08 verbose #8974 > │ | US1_1 -> (* None *) │
00:04:08 verbose #8975 > │ let v85 : string = "" │
00:04:08 verbose #8976 > │ v85 │
00:04:08 verbose #8977 > │ | US1_0(v84) -> (* Some *) │
00:04:08 verbose #8978 > │ v84 │
00:04:08 verbose #8979 > │ let v88 : System.TimeZoneInfo option = None │
00:04:08 verbose #8980 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:04:08 verbose #8981 > │ │
00:04:08 verbose #8982 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #8983 > │ │
00:04:08 verbose #8984 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #8985 > │ let v90 : string = "0i64.into()" │
00:04:08 verbose #8986 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #8987 > │ v90 │
00:04:08 verbose #8988 > │ v91 │
00:04:08 verbose #8989 > │ #endif │
00:04:08 verbose #8990 > │ │
00:04:08 verbose #8991 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #8992 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #8993 > │ v92 │
00:04:08 verbose #8994 > │ #endif │
00:04:08 verbose #8995 > │ │
00:04:08 verbose #8996 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #8997 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #8998 > │ v93 │
00:04:08 verbose #8999 > │ #endif │
00:04:08 verbose #9000 > │ │
00:04:08 verbose #9001 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9002 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9003 > │ v94 │
00:04:08 verbose #9004 > │ #endif │
00:04:08 verbose #9005 > │ │
00:04:08 verbose #9006 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9007 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9008 > │ v95 │
00:04:08 verbose #9009 > │ #endif │
00:04:08 verbose #9010 > │ │
00:04:08 verbose #9011 > │ #else │
00:04:08 verbose #9012 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9013 > │ v96 │
00:04:08 verbose #9014 > │ #endif │
00:04:08 verbose #9015 > │ |> fun x -> _v88 <- Some x │
00:04:08 verbose #9016 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:04:08 verbose #9017 > │ let v98 : System.TimeSpan option = None │
00:04:08 verbose #9018 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:04:08 verbose #9019 > │ │
00:04:08 verbose #9020 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9021 > │ │
00:04:08 verbose #9022 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9023 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9024 > │ v100 │
00:04:08 verbose #9025 > │ #endif │
00:04:08 verbose #9026 > │ │
00:04:08 verbose #9027 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9028 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9029 > │ v101 │
00:04:08 verbose #9030 > │ #endif │
00:04:08 verbose #9031 > │ │
00:04:08 verbose #9032 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9033 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9034 > │ v102 │
00:04:08 verbose #9035 > │ #endif │
00:04:08 verbose #9036 > │ │
00:04:08 verbose #9037 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9038 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9039 > │ v103 │
00:04:08 verbose #9040 > │ #endif │
00:04:08 verbose #9041 > │ │
00:04:08 verbose #9042 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9043 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9044 > │ v104 │
00:04:08 verbose #9045 > │ #endif │
00:04:08 verbose #9046 > │ │
00:04:08 verbose #9047 > │ #else │
00:04:08 verbose #9048 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:08 verbose #9049 > │ = _.GetUtcOffset │
00:04:08 verbose #9050 > │ let v106 : System.TimeZoneInfo option = None │
00:04:08 verbose #9051 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:04:08 verbose #9052 > │ │
00:04:08 verbose #9053 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9054 > │ │
00:04:08 verbose #9055 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9056 > │ let v108 : string = "0i64.into()" │
00:04:08 verbose #9057 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9058 > │ v108 │
00:04:08 verbose #9059 > │ v109 │
00:04:08 verbose #9060 > │ #endif │
00:04:08 verbose #9061 > │ │
00:04:08 verbose #9062 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9063 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9064 > │ v110 │
00:04:08 verbose #9065 > │ #endif │
00:04:08 verbose #9066 > │ │
00:04:08 verbose #9067 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9068 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9069 > │ v111 │
00:04:08 verbose #9070 > │ #endif │
00:04:08 verbose #9071 > │ │
00:04:08 verbose #9072 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9073 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9074 > │ v112 │
00:04:08 verbose #9075 > │ #endif │
00:04:08 verbose #9076 > │ │
00:04:08 verbose #9077 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9078 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9079 > │ v113 │
00:04:08 verbose #9080 > │ #endif │
00:04:08 verbose #9081 > │ │
00:04:08 verbose #9082 > │ #else │
00:04:08 verbose #9083 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9084 > │ v114 │
00:04:08 verbose #9085 > │ #endif │
00:04:08 verbose #9086 > │ |> fun x -> _v106 <- Some x │
00:04:08 verbose #9087 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:04:08 verbose #9088 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:04:08 verbose #9089 > │ let v117 : System.TimeSpan = v116 v53 │
00:04:08 verbose #9090 > │ v117 │
00:04:08 verbose #9091 > │ #endif │
00:04:08 verbose #9092 > │ |> fun x -> _v98 <- Some x │
00:04:08 verbose #9093 > │ let v118 : System.TimeSpan = _v98.Value │
00:04:08 verbose #9094 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:04:08 verbose #9095 > │ let v120 : int32 = v119 v118 │
00:04:08 verbose #9096 > │ let v121 : bool = v120 > 0 │
00:04:08 verbose #9097 > │ let v122 : uint8 = │
00:04:08 verbose #9098 > │ if v121 then │
00:04:08 verbose #9099 > │ 1uy │
00:04:08 verbose #9100 > │ else │
00:04:08 verbose #9101 > │ 0uy │
00:04:08 verbose #9102 > │ let v123 : (string -> string) = v118.ToString │
00:04:08 verbose #9103 > │ let v124 : string = "hh:mm" │
00:04:08 verbose #9104 > │ let v125 : string = v123 v124 │
00:04:08 verbose #9105 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:04:08 verbose #9106 > │ struct (v87, v126) │
00:04:08 verbose #9107 > │ #endif │
00:04:08 verbose #9108 > │ │
00:04:08 verbose #9109 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9110 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:04:08 verbose #9111 > │ * string)> │
00:04:08 verbose #9112 > │ struct (v127, v128) │
00:04:08 verbose #9113 > │ #endif │
00:04:08 verbose #9114 > │ │
00:04:08 verbose #9115 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9116 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:04:08 verbose #9117 > │ * string)> │
00:04:08 verbose #9118 > │ struct (v129, v130) │
00:04:08 verbose #9119 > │ #endif │
00:04:08 verbose #9120 > │ │
00:04:08 verbose #9121 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9122 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:04:08 verbose #9123 > │ * string)> │
00:04:08 verbose #9124 > │ struct (v131, v132) │
00:04:08 verbose #9125 > │ #endif │
00:04:08 verbose #9126 > │ │
00:04:08 verbose #9127 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9128 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:04:08 verbose #9129 > │ * string)> │
00:04:08 verbose #9130 > │ struct (v133, v134) │
00:04:08 verbose #9131 > │ #endif │
00:04:08 verbose #9132 > │ │
00:04:08 verbose #9133 > │ #else │
00:04:08 verbose #9134 > │ let v135 : string = method8() │
00:04:08 verbose #9135 > │ let v136 : (string -> string) = v41.ToString │
00:04:08 verbose #9136 > │ let v137 : string = v136 v135 │
00:04:08 verbose #9137 > │ let v138 : System.TimeZoneInfo option = None │
00:04:08 verbose #9138 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:04:08 verbose #9139 > │ │
00:04:08 verbose #9140 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9141 > │ │
00:04:08 verbose #9142 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9143 > │ let v140 : string = "0i64.into()" │
00:04:08 verbose #9144 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9145 > │ v140 │
00:04:08 verbose #9146 > │ v141 │
00:04:08 verbose #9147 > │ #endif │
00:04:08 verbose #9148 > │ │
00:04:08 verbose #9149 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9150 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9151 > │ v142 │
00:04:08 verbose #9152 > │ #endif │
00:04:08 verbose #9153 > │ │
00:04:08 verbose #9154 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9155 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9156 > │ v143 │
00:04:08 verbose #9157 > │ #endif │
00:04:08 verbose #9158 > │ │
00:04:08 verbose #9159 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9160 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9161 > │ v144 │
00:04:08 verbose #9162 > │ #endif │
00:04:08 verbose #9163 > │ │
00:04:08 verbose #9164 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9165 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9166 > │ v145 │
00:04:08 verbose #9167 > │ #endif │
00:04:08 verbose #9168 > │ │
00:04:08 verbose #9169 > │ #else │
00:04:08 verbose #9170 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9171 > │ v146 │
00:04:08 verbose #9172 > │ #endif │
00:04:08 verbose #9173 > │ |> fun x -> _v138 <- Some x │
00:04:08 verbose #9174 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:04:08 verbose #9175 > │ let v148 : System.TimeSpan option = None │
00:04:08 verbose #9176 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:04:08 verbose #9177 > │ │
00:04:08 verbose #9178 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9179 > │ │
00:04:08 verbose #9180 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9181 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9182 > │ v150 │
00:04:08 verbose #9183 > │ #endif │
00:04:08 verbose #9184 > │ │
00:04:08 verbose #9185 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9186 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9187 > │ v151 │
00:04:08 verbose #9188 > │ #endif │
00:04:08 verbose #9189 > │ │
00:04:08 verbose #9190 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9191 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9192 > │ v152 │
00:04:08 verbose #9193 > │ #endif │
00:04:08 verbose #9194 > │ │
00:04:08 verbose #9195 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9196 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9197 > │ v153 │
00:04:08 verbose #9198 > │ #endif │
00:04:08 verbose #9199 > │ │
00:04:08 verbose #9200 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9201 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9202 > │ v154 │
00:04:08 verbose #9203 > │ #endif │
00:04:08 verbose #9204 > │ │
00:04:08 verbose #9205 > │ #else │
00:04:08 verbose #9206 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:08 verbose #9207 > │ = _.GetUtcOffset │
00:04:08 verbose #9208 > │ let v156 : System.TimeZoneInfo option = None │
00:04:08 verbose #9209 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:04:08 verbose #9210 > │ │
00:04:08 verbose #9211 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9212 > │ │
00:04:08 verbose #9213 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9214 > │ let v158 : string = "0i64.into()" │
00:04:08 verbose #9215 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9216 > │ v158 │
00:04:08 verbose #9217 > │ v159 │
00:04:08 verbose #9218 > │ #endif │
00:04:08 verbose #9219 > │ │
00:04:08 verbose #9220 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9221 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9222 > │ v160 │
00:04:08 verbose #9223 > │ #endif │
00:04:08 verbose #9224 > │ │
00:04:08 verbose #9225 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9226 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9227 > │ v161 │
00:04:08 verbose #9228 > │ #endif │
00:04:08 verbose #9229 > │ │
00:04:08 verbose #9230 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9231 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9232 > │ v162 │
00:04:08 verbose #9233 > │ #endif │
00:04:08 verbose #9234 > │ │
00:04:08 verbose #9235 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9236 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9237 > │ v163 │
00:04:08 verbose #9238 > │ #endif │
00:04:08 verbose #9239 > │ │
00:04:08 verbose #9240 > │ #else │
00:04:08 verbose #9241 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9242 > │ v164 │
00:04:08 verbose #9243 > │ #endif │
00:04:08 verbose #9244 > │ |> fun x -> _v156 <- Some x │
00:04:08 verbose #9245 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:04:08 verbose #9246 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:04:08 verbose #9247 > │ let v167 : System.TimeSpan = v166 v41 │
00:04:08 verbose #9248 > │ v167 │
00:04:08 verbose #9249 > │ #endif │
00:04:08 verbose #9250 > │ |> fun x -> _v148 <- Some x │
00:04:08 verbose #9251 > │ let v168 : System.TimeSpan = _v148.Value │
00:04:08 verbose #9252 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:04:08 verbose #9253 > │ let v170 : int32 = v169 v168 │
00:04:08 verbose #9254 > │ let v171 : bool = v170 > 0 │
00:04:08 verbose #9255 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:04:08 verbose #9256 > │ let v173 : int32 = v172 v171 │
00:04:08 verbose #9257 > │ let v174 : string = method9() │
00:04:08 verbose #9258 > │ let v175 : (string -> string) = v168.ToString │
00:04:08 verbose #9259 > │ let v176 : string = v175 v174 │
00:04:08 verbose #9260 > │ let v177 : string = $"{v173}{v176}" │
00:04:08 verbose #9261 > │ struct (v137, v177) │
00:04:08 verbose #9262 > │ #endif │
00:04:08 verbose #9263 > │ |> fun x -> _v45 <- Some x │
00:04:08 verbose #9264 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:04:08 verbose #9265 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:04:08 verbose #9266 > │ v179.Length..]}" │
00:04:08 verbose #9267 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:04:08 verbose #9268 > │ let v182 : string = v181 v180 │
00:04:08 verbose #9269 > │ let v183 : string = method1(v40, v182) │
00:04:08 verbose #9270 > │ v183 │
00:04:08 verbose #9271 > │ #endif │
00:04:08 verbose #9272 > │ │
00:04:08 verbose #9273 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9274 > │ let v184 : string = null |> unbox<string> │
00:04:08 verbose #9275 > │ v184 │
00:04:08 verbose #9276 > │ #endif │
00:04:08 verbose #9277 > │ │
00:04:08 verbose #9278 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9279 > │ let v185 : string = null |> unbox<string> │
00:04:08 verbose #9280 > │ v185 │
00:04:08 verbose #9281 > │ #endif │
00:04:08 verbose #9282 > │ │
00:04:08 verbose #9283 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9284 > │ let v186 : string = null |> unbox<string> │
00:04:08 verbose #9285 > │ v186 │
00:04:08 verbose #9286 > │ #endif │
00:04:08 verbose #9287 > │ │
00:04:08 verbose #9288 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9289 > │ let v187 : string = null |> unbox<string> │
00:04:08 verbose #9290 > │ v187 │
00:04:08 verbose #9291 > │ #endif │
00:04:08 verbose #9292 > │ │
00:04:08 verbose #9293 > │ #else │
00:04:08 verbose #9294 > │ let v188 : string option = None │
00:04:08 verbose #9295 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:04:08 verbose #9296 > │ │
00:04:08 verbose #9297 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9298 > │ │
00:04:08 verbose #9299 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9300 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:04:08 verbose #9301 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:04:08 verbose #9302 > │ v191 │
00:04:08 verbose #9303 > │ #endif │
00:04:08 verbose #9304 > │ │
00:04:08 verbose #9305 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9306 > │ let v192 : string = null |> unbox<string> │
00:04:08 verbose #9307 > │ v192 │
00:04:08 verbose #9308 > │ #endif │
00:04:08 verbose #9309 > │ │
00:04:08 verbose #9310 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9311 > │ let v193 : string = null |> unbox<string> │
00:04:08 verbose #9312 > │ v193 │
00:04:08 verbose #9313 > │ #endif │
00:04:08 verbose #9314 > │ │
00:04:08 verbose #9315 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9316 > │ let v194 : string = null |> unbox<string> │
00:04:08 verbose #9317 > │ v194 │
00:04:08 verbose #9318 > │ #endif │
00:04:08 verbose #9319 > │ │
00:04:08 verbose #9320 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9321 > │ let v195 : string = null |> unbox<string> │
00:04:08 verbose #9322 > │ v195 │
00:04:08 verbose #9323 > │ #endif │
00:04:08 verbose #9324 > │ │
00:04:08 verbose #9325 > │ #else │
00:04:08 verbose #9326 > │ let v196 : string = │
00:04:08 verbose #9327 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:04:08 verbose #9328 > │ v196 │
00:04:08 verbose #9329 > │ #endif │
00:04:08 verbose #9330 > │ |> fun x -> _v188 <- Some x │
00:04:08 verbose #9331 > │ let v197 : string = _v188.Value │
00:04:08 verbose #9332 > │ let v198 : string option = None │
00:04:08 verbose #9333 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:04:08 verbose #9334 > │ │
00:04:08 verbose #9335 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9336 > │ │
00:04:08 verbose #9337 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9338 > │ let v200 : string = "std::env::temp_dir()" │
00:04:08 verbose #9339 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9340 > │ v200 │
00:04:08 verbose #9341 > │ let v202 : string = "$0.display()" │
00:04:08 verbose #9342 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:04:08 verbose #9343 > │ v202 │
00:04:08 verbose #9344 > │ let v204 : std_string_String option = None │
00:04:08 verbose #9345 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:04:08 verbose #9346 > │ │
00:04:08 verbose #9347 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9348 > │ │
00:04:08 verbose #9349 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9350 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #9351 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:04:08 verbose #9352 > │ v206 │
00:04:08 verbose #9353 > │ v207 │
00:04:08 verbose #9354 > │ #endif │
00:04:08 verbose #9355 > │ │
00:04:08 verbose #9356 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9357 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #9358 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:04:08 verbose #9359 > │ v208 │
00:04:08 verbose #9360 > │ v209 │
00:04:08 verbose #9361 > │ #endif │
00:04:08 verbose #9362 > │ │
00:04:08 verbose #9363 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9364 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:04:08 verbose #9365 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:04:08 verbose #9366 > │ v210 │
00:04:08 verbose #9367 > │ v211 │
00:04:08 verbose #9368 > │ #endif │
00:04:08 verbose #9369 > │ │
00:04:08 verbose #9370 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9371 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #9372 > │ v212 │
00:04:08 verbose #9373 > │ #endif │
00:04:08 verbose #9374 > │ │
00:04:08 verbose #9375 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9376 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #9377 > │ v213 │
00:04:08 verbose #9378 > │ #endif │
00:04:08 verbose #9379 > │ │
00:04:08 verbose #9380 > │ #else │
00:04:08 verbose #9381 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:04:08 verbose #9382 > │ v214 │
00:04:08 verbose #9383 > │ #endif │
00:04:08 verbose #9384 > │ |> fun x -> _v204 <- Some x │
00:04:08 verbose #9385 > │ let v215 : std_string_String = _v204.Value │
00:04:08 verbose #9386 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #9387 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:04:08 verbose #9388 > │ v217 │
00:04:08 verbose #9389 > │ #endif │
00:04:08 verbose #9390 > │ │
00:04:08 verbose #9391 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9392 > │ let v218 : string = null |> unbox<string> │
00:04:08 verbose #9393 > │ v218 │
00:04:08 verbose #9394 > │ #endif │
00:04:08 verbose #9395 > │ │
00:04:08 verbose #9396 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9397 > │ let v219 : string = null |> unbox<string> │
00:04:08 verbose #9398 > │ v219 │
00:04:08 verbose #9399 > │ #endif │
00:04:08 verbose #9400 > │ │
00:04:08 verbose #9401 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9402 > │ let v220 : string = null |> unbox<string> │
00:04:08 verbose #9403 > │ v220 │
00:04:08 verbose #9404 > │ #endif │
00:04:08 verbose #9405 > │ │
00:04:08 verbose #9406 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9407 > │ let v221 : string = null |> unbox<string> │
00:04:08 verbose #9408 > │ v221 │
00:04:08 verbose #9409 > │ #endif │
00:04:08 verbose #9410 > │ │
00:04:08 verbose #9411 > │ #else │
00:04:08 verbose #9412 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:04:08 verbose #9413 > │ let v223 : string = v222 () │
00:04:08 verbose #9414 > │ v223 │
00:04:08 verbose #9415 > │ #endif │
00:04:08 verbose #9416 > │ |> fun x -> _v198 <- Some x │
00:04:08 verbose #9417 > │ let v224 : string = _v198.Value │
00:04:08 verbose #9418 > │ let v225 : string = $"!{v197}" │
00:04:08 verbose #9419 > │ let v226 : string = method1(v224, v225) │
00:04:08 verbose #9420 > │ let v227 : System.DateTime = System.DateTime.Now │
00:04:08 verbose #9421 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:04:08 verbose #9422 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:04:08 verbose #9423 > │ let v230 : string = v229 v228 │
00:04:08 verbose #9424 > │ let v231 : struct (string * string) option = None │
00:04:08 verbose #9425 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:04:08 verbose #9426 > │ │
00:04:08 verbose #9427 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9428 > │ │
00:04:08 verbose #9429 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9430 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:04:08 verbose #9431 > │ System.DateTimeKind.Utc) │
00:04:08 verbose #9432 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:08 verbose #9433 > │ let v235 : System.DateTime = v234 v233 │
00:04:08 verbose #9434 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:04:08 verbose #9435 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:04:08 verbose #9436 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:08 verbose #9437 > │ let v239 : System.DateTime = v238 v237 │
00:04:08 verbose #9438 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #9439 > │ let v241 : int64 = v240 v239 │
00:04:08 verbose #9440 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:04:08 verbose #9441 > │ let v243 : int64 = v242 v235 │
00:04:08 verbose #9442 > │ let v244 : int64 = v241 - v243 │
00:04:08 verbose #9443 > │ let v245 : int64 = v244 / 10L │
00:04:08 verbose #9444 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:04:08 verbose #9445 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:04:08 verbose #9446 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:04:08 verbose #9447 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:04:08 verbose #9448 > │ let v249 : US0 = US0_1 │
00:04:08 verbose #9449 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:04:08 verbose #9450 > │ let v269 : US1 = │
00:04:08 verbose #9451 > │ match v250 with │
00:04:08 verbose #9452 > │ | US0_1 -> (* None *) │
00:04:08 verbose #9453 > │ US1_1 │
00:04:08 verbose #9454 > │ | US0_0(v251) -> (* Some *) │
00:04:08 verbose #9455 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:04:08 verbose #9456 > │ let v253 : string = "v252.naive_utc()" │
00:04:08 verbose #9457 > │ let v254 : chrono_NaiveDateTime = │
00:04:08 verbose #9458 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:04:08 verbose #9459 > │ let v255 : string = │
00:04:08 verbose #9460 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:04:08 verbose #9461 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:04:08 verbose #9462 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:04:08 verbose #9463 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:04:08 verbose #9464 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:04:08 verbose #9465 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9466 > │ v258 │
00:04:08 verbose #9467 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:04:08 verbose #9468 > │ let v261 : string = "v260.format(v259).to_string()" │
00:04:08 verbose #9469 > │ let v262 : std_string_String = │
00:04:08 verbose #9470 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:04:08 verbose #9471 > │ let v263 : string = │
00:04:08 verbose #9472 > │ "fable_library_rust::String_::fromString($0)" │
00:04:08 verbose #9473 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:04:08 verbose #9474 > │ v263 │
00:04:08 verbose #9475 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:04:08 verbose #9476 > │ 22]}" │
00:04:08 verbose #9477 > │ US1_0(v265) │
00:04:08 verbose #9478 > │ let v273 : string = │
00:04:08 verbose #9479 > │ match v269 with │
00:04:08 verbose #9480 > │ | US1_1 -> (* None *) │
00:04:08 verbose #9481 > │ let v271 : string = "" │
00:04:08 verbose #9482 > │ v271 │
00:04:08 verbose #9483 > │ | US1_0(v270) -> (* Some *) │
00:04:08 verbose #9484 > │ v270 │
00:04:08 verbose #9485 > │ let v274 : System.TimeZoneInfo option = None │
00:04:08 verbose #9486 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:04:08 verbose #9487 > │ │
00:04:08 verbose #9488 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9489 > │ │
00:04:08 verbose #9490 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9491 > │ let v276 : string = "0i64.into()" │
00:04:08 verbose #9492 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9493 > │ v276 │
00:04:08 verbose #9494 > │ v277 │
00:04:08 verbose #9495 > │ #endif │
00:04:08 verbose #9496 > │ │
00:04:08 verbose #9497 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9498 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9499 > │ v278 │
00:04:08 verbose #9500 > │ #endif │
00:04:08 verbose #9501 > │ │
00:04:08 verbose #9502 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9503 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9504 > │ v279 │
00:04:08 verbose #9505 > │ #endif │
00:04:08 verbose #9506 > │ │
00:04:08 verbose #9507 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9508 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9509 > │ v280 │
00:04:08 verbose #9510 > │ #endif │
00:04:08 verbose #9511 > │ │
00:04:08 verbose #9512 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9513 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9514 > │ v281 │
00:04:08 verbose #9515 > │ #endif │
00:04:08 verbose #9516 > │ │
00:04:08 verbose #9517 > │ #else │
00:04:08 verbose #9518 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9519 > │ v282 │
00:04:08 verbose #9520 > │ #endif │
00:04:08 verbose #9521 > │ |> fun x -> _v274 <- Some x │
00:04:08 verbose #9522 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:04:08 verbose #9523 > │ let v284 : System.TimeSpan option = None │
00:04:08 verbose #9524 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:04:08 verbose #9525 > │ │
00:04:08 verbose #9526 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9527 > │ │
00:04:08 verbose #9528 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9529 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9530 > │ v286 │
00:04:08 verbose #9531 > │ #endif │
00:04:08 verbose #9532 > │ │
00:04:08 verbose #9533 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9534 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9535 > │ v287 │
00:04:08 verbose #9536 > │ #endif │
00:04:08 verbose #9537 > │ │
00:04:08 verbose #9538 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9539 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9540 > │ v288 │
00:04:08 verbose #9541 > │ #endif │
00:04:08 verbose #9542 > │ │
00:04:08 verbose #9543 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9544 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9545 > │ v289 │
00:04:08 verbose #9546 > │ #endif │
00:04:08 verbose #9547 > │ │
00:04:08 verbose #9548 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9549 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9550 > │ v290 │
00:04:08 verbose #9551 > │ #endif │
00:04:08 verbose #9552 > │ │
00:04:08 verbose #9553 > │ #else │
00:04:08 verbose #9554 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:08 verbose #9555 > │ = _.GetUtcOffset │
00:04:08 verbose #9556 > │ let v292 : System.TimeZoneInfo option = None │
00:04:08 verbose #9557 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:04:08 verbose #9558 > │ │
00:04:08 verbose #9559 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9560 > │ │
00:04:08 verbose #9561 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9562 > │ let v294 : string = "0i64.into()" │
00:04:08 verbose #9563 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9564 > │ v294 │
00:04:08 verbose #9565 > │ v295 │
00:04:08 verbose #9566 > │ #endif │
00:04:08 verbose #9567 > │ │
00:04:08 verbose #9568 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9569 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9570 > │ v296 │
00:04:08 verbose #9571 > │ #endif │
00:04:08 verbose #9572 > │ │
00:04:08 verbose #9573 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9574 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9575 > │ v297 │
00:04:08 verbose #9576 > │ #endif │
00:04:08 verbose #9577 > │ │
00:04:08 verbose #9578 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9579 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9580 > │ v298 │
00:04:08 verbose #9581 > │ #endif │
00:04:08 verbose #9582 > │ │
00:04:08 verbose #9583 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9584 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9585 > │ v299 │
00:04:08 verbose #9586 > │ #endif │
00:04:08 verbose #9587 > │ │
00:04:08 verbose #9588 > │ #else │
00:04:08 verbose #9589 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9590 > │ v300 │
00:04:08 verbose #9591 > │ #endif │
00:04:08 verbose #9592 > │ |> fun x -> _v292 <- Some x │
00:04:08 verbose #9593 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:04:08 verbose #9594 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:04:08 verbose #9595 > │ let v303 : System.TimeSpan = v302 v239 │
00:04:08 verbose #9596 > │ v303 │
00:04:08 verbose #9597 > │ #endif │
00:04:08 verbose #9598 > │ |> fun x -> _v284 <- Some x │
00:04:08 verbose #9599 > │ let v304 : System.TimeSpan = _v284.Value │
00:04:08 verbose #9600 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:04:08 verbose #9601 > │ let v306 : int32 = v305 v304 │
00:04:08 verbose #9602 > │ let v307 : bool = v306 > 0 │
00:04:08 verbose #9603 > │ let v308 : uint8 = │
00:04:08 verbose #9604 > │ if v307 then │
00:04:08 verbose #9605 > │ 1uy │
00:04:08 verbose #9606 > │ else │
00:04:08 verbose #9607 > │ 0uy │
00:04:08 verbose #9608 > │ let v309 : (string -> string) = v304.ToString │
00:04:08 verbose #9609 > │ let v310 : string = v309 v124 │
00:04:08 verbose #9610 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:04:08 verbose #9611 > │ struct (v273, v311) │
00:04:08 verbose #9612 > │ #endif │
00:04:08 verbose #9613 > │ │
00:04:08 verbose #9614 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9615 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:04:08 verbose #9616 > │ * string)> │
00:04:08 verbose #9617 > │ struct (v312, v313) │
00:04:08 verbose #9618 > │ #endif │
00:04:08 verbose #9619 > │ │
00:04:08 verbose #9620 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9621 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:04:08 verbose #9622 > │ * string)> │
00:04:08 verbose #9623 > │ struct (v314, v315) │
00:04:08 verbose #9624 > │ #endif │
00:04:08 verbose #9625 > │ │
00:04:08 verbose #9626 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9627 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:04:08 verbose #9628 > │ * string)> │
00:04:08 verbose #9629 > │ struct (v316, v317) │
00:04:08 verbose #9630 > │ #endif │
00:04:08 verbose #9631 > │ │
00:04:08 verbose #9632 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9633 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:04:08 verbose #9634 > │ * string)> │
00:04:08 verbose #9635 > │ struct (v318, v319) │
00:04:08 verbose #9636 > │ #endif │
00:04:08 verbose #9637 > │ │
00:04:08 verbose #9638 > │ #else │
00:04:08 verbose #9639 > │ let v320 : string = method8() │
00:04:08 verbose #9640 > │ let v321 : (string -> string) = v227.ToString │
00:04:08 verbose #9641 > │ let v322 : string = v321 v320 │
00:04:08 verbose #9642 > │ let v323 : System.TimeZoneInfo option = None │
00:04:08 verbose #9643 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:04:08 verbose #9644 > │ │
00:04:08 verbose #9645 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9646 > │ │
00:04:08 verbose #9647 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9648 > │ let v325 : string = "0i64.into()" │
00:04:08 verbose #9649 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9650 > │ v325 │
00:04:08 verbose #9651 > │ v326 │
00:04:08 verbose #9652 > │ #endif │
00:04:08 verbose #9653 > │ │
00:04:08 verbose #9654 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9655 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9656 > │ v327 │
00:04:08 verbose #9657 > │ #endif │
00:04:08 verbose #9658 > │ │
00:04:08 verbose #9659 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9660 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9661 > │ v328 │
00:04:08 verbose #9662 > │ #endif │
00:04:08 verbose #9663 > │ │
00:04:08 verbose #9664 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9665 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9666 > │ v329 │
00:04:08 verbose #9667 > │ #endif │
00:04:08 verbose #9668 > │ │
00:04:08 verbose #9669 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9670 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9671 > │ v330 │
00:04:08 verbose #9672 > │ #endif │
00:04:08 verbose #9673 > │ │
00:04:08 verbose #9674 > │ #else │
00:04:08 verbose #9675 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9676 > │ v331 │
00:04:08 verbose #9677 > │ #endif │
00:04:08 verbose #9678 > │ |> fun x -> _v323 <- Some x │
00:04:08 verbose #9679 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:04:08 verbose #9680 > │ let v333 : System.TimeSpan option = None │
00:04:08 verbose #9681 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:04:08 verbose #9682 > │ │
00:04:08 verbose #9683 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9684 > │ │
00:04:08 verbose #9685 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9686 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9687 > │ v335 │
00:04:08 verbose #9688 > │ #endif │
00:04:08 verbose #9689 > │ │
00:04:08 verbose #9690 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9691 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9692 > │ v336 │
00:04:08 verbose #9693 > │ #endif │
00:04:08 verbose #9694 > │ │
00:04:08 verbose #9695 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9696 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9697 > │ v337 │
00:04:08 verbose #9698 > │ #endif │
00:04:08 verbose #9699 > │ │
00:04:08 verbose #9700 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9701 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9702 > │ v338 │
00:04:08 verbose #9703 > │ #endif │
00:04:08 verbose #9704 > │ │
00:04:08 verbose #9705 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9706 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:04:08 verbose #9707 > │ v339 │
00:04:08 verbose #9708 > │ #endif │
00:04:08 verbose #9709 > │ │
00:04:08 verbose #9710 > │ #else │
00:04:08 verbose #9711 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:08 verbose #9712 > │ = _.GetUtcOffset │
00:04:08 verbose #9713 > │ let v341 : System.TimeZoneInfo option = None │
00:04:08 verbose #9714 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:04:08 verbose #9715 > │ │
00:04:08 verbose #9716 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9717 > │ │
00:04:08 verbose #9718 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9719 > │ let v343 : string = "0i64.into()" │
00:04:08 verbose #9720 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:08 verbose #9721 > │ v343 │
00:04:08 verbose #9722 > │ v344 │
00:04:08 verbose #9723 > │ #endif │
00:04:08 verbose #9724 > │ │
00:04:08 verbose #9725 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9726 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9727 > │ v345 │
00:04:08 verbose #9728 > │ #endif │
00:04:08 verbose #9729 > │ │
00:04:08 verbose #9730 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9731 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9732 > │ v346 │
00:04:08 verbose #9733 > │ #endif │
00:04:08 verbose #9734 > │ │
00:04:08 verbose #9735 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9736 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9737 > │ v347 │
00:04:08 verbose #9738 > │ #endif │
00:04:08 verbose #9739 > │ │
00:04:08 verbose #9740 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9741 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:08 verbose #9742 > │ v348 │
00:04:08 verbose #9743 > │ #endif │
00:04:08 verbose #9744 > │ │
00:04:08 verbose #9745 > │ #else │
00:04:08 verbose #9746 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:08 verbose #9747 > │ v349 │
00:04:08 verbose #9748 > │ #endif │
00:04:08 verbose #9749 > │ |> fun x -> _v341 <- Some x │
00:04:08 verbose #9750 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:04:08 verbose #9751 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:04:08 verbose #9752 > │ let v352 : System.TimeSpan = v351 v227 │
00:04:08 verbose #9753 > │ v352 │
00:04:08 verbose #9754 > │ #endif │
00:04:08 verbose #9755 > │ |> fun x -> _v333 <- Some x │
00:04:08 verbose #9756 > │ let v353 : System.TimeSpan = _v333.Value │
00:04:08 verbose #9757 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:04:08 verbose #9758 > │ let v355 : int32 = v354 v353 │
00:04:08 verbose #9759 > │ let v356 : bool = v355 > 0 │
00:04:08 verbose #9760 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:04:08 verbose #9761 > │ let v358 : int32 = v357 v356 │
00:04:08 verbose #9762 > │ let v359 : string = method9() │
00:04:08 verbose #9763 > │ let v360 : (string -> string) = v353.ToString │
00:04:08 verbose #9764 > │ let v361 : string = v360 v359 │
00:04:08 verbose #9765 > │ let v362 : string = $"{v358}{v361}" │
00:04:08 verbose #9766 > │ struct (v322, v362) │
00:04:08 verbose #9767 > │ #endif │
00:04:08 verbose #9768 > │ |> fun x -> _v231 <- Some x │
00:04:08 verbose #9769 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:04:08 verbose #9770 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:04:08 verbose #9771 > │ v364.Length..]}" │
00:04:08 verbose #9772 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:04:08 verbose #9773 > │ let v367 : string = v366 v365 │
00:04:08 verbose #9774 > │ let v368 : string = method1(v226, v367) │
00:04:08 verbose #9775 > │ v368 │
00:04:08 verbose #9776 > │ #endif │
00:04:08 verbose #9777 > │ |> fun x -> _v0 <- Some x │
00:04:08 verbose #9778 > │ let v369 : string = _v0.Value │
00:04:08 verbose #9779 > │ let v370 : System.IDisposable option = None │
00:04:08 verbose #9780 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:04:08 verbose #9781 > │ │
00:04:08 verbose #9782 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9783 > │ │
00:04:08 verbose #9784 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9785 > │ let v372 : string = method10(v369) │
00:04:08 verbose #9786 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:04:08 verbose #9787 > │ let v374 : Result<unit, std_io_Error> = │
00:04:08 verbose #9788 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:04:08 verbose #9789 > │ let v375 : (std_io_Error -> std_string_String) = method11() │
00:04:08 verbose #9790 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:04:08 verbose #9791 > │ let v377 : Result<unit, std_string_String> = │
00:04:08 verbose #9792 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:04:08 verbose #9793 > │ let v378 : (unit -> US2) = closure2() │
00:04:08 verbose #9794 > │ let v379 : (std_string_String -> US2) = closure3() │
00:04:08 verbose #9795 > │ let v380 : US2 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:04:08 verbose #9796 > │ match v380 with │
00:04:08 verbose #9797 > │ | US2_1(v384) -> (* Error *) │
00:04:08 verbose #9798 > │ let v385 : US3 = US3_4 │
00:04:08 verbose #9799 > │ let v386 : (unit -> string) = closure4() │
00:04:08 verbose #9800 > │ let v387 : (unit -> string) = closure5(v372, v384) │
00:04:08 verbose #9801 > │ method12(v385, v386, v387) │
00:04:08 verbose #9802 > │ | US2_0 -> (* Ok *) │
00:04:08 verbose #9803 > │ let v381 : US3 = US3_0 │
00:04:08 verbose #9804 > │ let v382 : (unit -> string) = closure11() │
00:04:08 verbose #9805 > │ let v383 : (unit -> string) = closure12(v372) │
00:04:08 verbose #9806 > │ method12(v381, v382, v383) │
00:04:08 verbose #9807 > │ let v388 : System.IDisposable option = None │
00:04:08 verbose #9808 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:04:08 verbose #9809 > │ │
00:04:08 verbose #9810 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9811 > │ │
00:04:08 verbose #9812 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9813 > │ let v390 : (unit -> unit) = closure13(v372) │
00:04:08 verbose #9814 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:04:08 verbose #9815 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:04:08 verbose #9816 > │ v391 │
00:04:08 verbose #9817 > │ #endif │
00:04:08 verbose #9818 > │ │
00:04:08 verbose #9819 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9820 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:04:08 verbose #9821 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:04:08 verbose #9822 > │ v392 │
00:04:08 verbose #9823 > │ #endif │
00:04:08 verbose #9824 > │ │
00:04:08 verbose #9825 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9826 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:04:08 verbose #9827 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:04:08 verbose #9828 > │ v393 │
00:04:08 verbose #9829 > │ #endif │
00:04:08 verbose #9830 > │ │
00:04:08 verbose #9831 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9832 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #9833 > │ v394 │
00:04:08 verbose #9834 > │ #endif │
00:04:08 verbose #9835 > │ │
00:04:08 verbose #9836 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9837 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #9838 > │ v395 │
00:04:08 verbose #9839 > │ #endif │
00:04:08 verbose #9840 > │ │
00:04:08 verbose #9841 > │ #else │
00:04:08 verbose #9842 > │ let v396 : (unit -> unit) = method19(v372) │
00:04:08 verbose #9843 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:04:08 verbose #9844 > │ _.Dispose () = v396 () } │
00:04:08 verbose #9845 > │ v397 │
00:04:08 verbose #9846 > │ #endif │
00:04:08 verbose #9847 > │ |> fun x -> _v388 <- Some x │
00:04:08 verbose #9848 > │ let v398 : System.IDisposable = _v388.Value │
00:04:08 verbose #9849 > │ v398 │
00:04:08 verbose #9850 > │ #endif │
00:04:08 verbose #9851 > │ │
00:04:08 verbose #9852 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9853 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #9854 > │ v399 │
00:04:08 verbose #9855 > │ #endif │
00:04:08 verbose #9856 > │ │
00:04:08 verbose #9857 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9858 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #9859 > │ v400 │
00:04:08 verbose #9860 > │ #endif │
00:04:08 verbose #9861 > │ │
00:04:08 verbose #9862 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9863 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #9864 > │ v401 │
00:04:08 verbose #9865 > │ #endif │
00:04:08 verbose #9866 > │ │
00:04:08 verbose #9867 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9868 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #9869 > │ v402 │
00:04:08 verbose #9870 > │ #endif │
00:04:08 verbose #9871 > │ │
00:04:08 verbose #9872 > │ #else │
00:04:08 verbose #9873 > │ let v403 : System.IO.DirectoryInfo option = None │
00:04:08 verbose #9874 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:04:08 verbose #9875 > │ │
00:04:08 verbose #9876 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9877 > │ │
00:04:08 verbose #9878 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9879 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:04:08 verbose #9880 > │ unbox<System.IO.DirectoryInfo> │
00:04:08 verbose #9881 > │ v405 │
00:04:08 verbose #9882 > │ #endif │
00:04:08 verbose #9883 > │ │
00:04:08 verbose #9884 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9885 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:04:08 verbose #9886 > │ unbox<System.IO.DirectoryInfo> │
00:04:08 verbose #9887 > │ v406 │
00:04:08 verbose #9888 > │ #endif │
00:04:08 verbose #9889 > │ │
00:04:08 verbose #9890 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9891 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:04:08 verbose #9892 > │ unbox<System.IO.DirectoryInfo> │
00:04:08 verbose #9893 > │ v407 │
00:04:08 verbose #9894 > │ #endif │
00:04:08 verbose #9895 > │ │
00:04:08 verbose #9896 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9897 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:04:08 verbose #9898 > │ unbox<System.IO.DirectoryInfo> │
00:04:08 verbose #9899 > │ v408 │
00:04:08 verbose #9900 > │ #endif │
00:04:08 verbose #9901 > │ │
00:04:08 verbose #9902 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9903 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:04:08 verbose #9904 > │ unbox<System.IO.DirectoryInfo> │
00:04:08 verbose #9905 > │ v409 │
00:04:08 verbose #9906 > │ #endif │
00:04:08 verbose #9907 > │ │
00:04:08 verbose #9908 > │ #else │
00:04:08 verbose #9909 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:04:08 verbose #9910 > │ System.IO.Directory.CreateDirectory │
00:04:08 verbose #9911 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:04:08 verbose #9912 > │ v411 │
00:04:08 verbose #9913 > │ #endif │
00:04:08 verbose #9914 > │ |> fun x -> _v403 <- Some x │
00:04:08 verbose #9915 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:04:08 verbose #9916 > │ let v413 : bool option = None │
00:04:08 verbose #9917 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:04:08 verbose #9918 > │ │
00:04:08 verbose #9919 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9920 > │ │
00:04:08 verbose #9921 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9922 > │ let v415 : bool = null |> unbox<bool> │
00:04:08 verbose #9923 > │ v415 │
00:04:08 verbose #9924 > │ #endif │
00:04:08 verbose #9925 > │ │
00:04:08 verbose #9926 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9927 > │ let v416 : bool = null |> unbox<bool> │
00:04:08 verbose #9928 > │ v416 │
00:04:08 verbose #9929 > │ #endif │
00:04:08 verbose #9930 > │ │
00:04:08 verbose #9931 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9932 > │ let v417 : bool = null |> unbox<bool> │
00:04:08 verbose #9933 > │ v417 │
00:04:08 verbose #9934 > │ #endif │
00:04:08 verbose #9935 > │ │
00:04:08 verbose #9936 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9937 > │ let v418 : bool = null |> unbox<bool> │
00:04:08 verbose #9938 > │ v418 │
00:04:08 verbose #9939 > │ #endif │
00:04:08 verbose #9940 > │ │
00:04:08 verbose #9941 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9942 > │ let v419 : bool = null |> unbox<bool> │
00:04:08 verbose #9943 > │ v419 │
00:04:08 verbose #9944 > │ #endif │
00:04:08 verbose #9945 > │ │
00:04:08 verbose #9946 > │ #else │
00:04:08 verbose #9947 > │ let v420 : bool = v412.Exists │
00:04:08 verbose #9948 > │ v420 │
00:04:08 verbose #9949 > │ #endif │
00:04:08 verbose #9950 > │ |> fun x -> _v413 <- Some x │
00:04:08 verbose #9951 > │ let v421 : bool = _v413.Value │
00:04:08 verbose #9952 > │ let v422 : bool = v421 = false │
00:04:08 verbose #9953 > │ if v422 then │
00:04:08 verbose #9954 > │ let v423 : System.DateTime option = None │
00:04:08 verbose #9955 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:04:08 verbose #9956 > │ │
00:04:08 verbose #9957 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #9958 > │ │
00:04:08 verbose #9959 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #9960 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:04:08 verbose #9961 > │ v425 │
00:04:08 verbose #9962 > │ #endif │
00:04:08 verbose #9963 > │ │
00:04:08 verbose #9964 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #9965 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:04:08 verbose #9966 > │ v426 │
00:04:08 verbose #9967 > │ #endif │
00:04:08 verbose #9968 > │ │
00:04:08 verbose #9969 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #9970 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:04:08 verbose #9971 > │ v427 │
00:04:08 verbose #9972 > │ #endif │
00:04:08 verbose #9973 > │ │
00:04:08 verbose #9974 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #9975 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:04:08 verbose #9976 > │ v428 │
00:04:08 verbose #9977 > │ #endif │
00:04:08 verbose #9978 > │ │
00:04:08 verbose #9979 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #9980 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:04:08 verbose #9981 > │ v429 │
00:04:08 verbose #9982 > │ #endif │
00:04:08 verbose #9983 > │ │
00:04:08 verbose #9984 > │ #else │
00:04:08 verbose #9985 > │ let v430 : System.DateTime = v412.CreationTime │
00:04:08 verbose #9986 > │ v430 │
00:04:08 verbose #9987 > │ #endif │
00:04:08 verbose #9988 > │ |> fun x -> _v423 <- Some x │
00:04:08 verbose #9989 > │ let v431 : System.DateTime = _v423.Value │
00:04:08 verbose #9990 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:04:08 verbose #9991 > │ let v433 : string = $"%A{v432}" │
00:04:08 verbose #9992 > │ let v434 : US3 = US3_1 │
00:04:08 verbose #9993 > │ let v435 : (unit -> string) = closure14() │
00:04:08 verbose #9994 > │ let v436 : (unit -> string) = closure15(v369, v433) │
00:04:08 verbose #9995 > │ method12(v434, v435, v436) │
00:04:08 verbose #9996 > │ let v437 : System.IDisposable option = None │
00:04:08 verbose #9997 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:04:08 verbose #9998 > │ │
00:04:08 verbose #9999 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #10000 > │ │
00:04:08 verbose #10001 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #10002 > │ let v439 : (unit -> unit) = closure16(v369) │
00:04:08 verbose #10003 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:04:08 verbose #10004 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:04:08 verbose #10005 > │ v440 │
00:04:08 verbose #10006 > │ #endif │
00:04:08 verbose #10007 > │ │
00:04:08 verbose #10008 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #10009 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:04:08 verbose #10010 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:04:08 verbose #10011 > │ v441 │
00:04:08 verbose #10012 > │ #endif │
00:04:08 verbose #10013 > │ │
00:04:08 verbose #10014 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #10015 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:04:08 verbose #10016 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:04:08 verbose #10017 > │ v442 │
00:04:08 verbose #10018 > │ #endif │
00:04:08 verbose #10019 > │ │
00:04:08 verbose #10020 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #10021 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #10022 > │ v443 │
00:04:08 verbose #10023 > │ #endif │
00:04:08 verbose #10024 > │ │
00:04:08 verbose #10025 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #10026 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:08 verbose #10027 > │ v444 │
00:04:08 verbose #10028 > │ #endif │
00:04:08 verbose #10029 > │ │
00:04:08 verbose #10030 > │ #else │
00:04:08 verbose #10031 > │ let v445 : (unit -> unit) = method21(v369) │
00:04:08 verbose #10032 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:04:08 verbose #10033 > │ _.Dispose () = v445 () } │
00:04:08 verbose #10034 > │ v446 │
00:04:08 verbose #10035 > │ #endif │
00:04:08 verbose #10036 > │ |> fun x -> _v437 <- Some x │
00:04:08 verbose #10037 > │ let v447 : System.IDisposable = _v437.Value │
00:04:08 verbose #10038 > │ v447 │
00:04:08 verbose #10039 > │ #endif │
00:04:08 verbose #10040 > │ |> fun x -> _v370 <- Some x │
00:04:08 verbose #10041 > │ let v448 : System.IDisposable = _v370.Value │
00:04:08 verbose #10042 > │ use v448 = v448 │
00:04:08 verbose #10043 > │ let v449 : System.IDisposable = v448 │
00:04:08 verbose #10044 > │ let v450 : string = "test.txt" │
00:04:08 verbose #10045 > │ let v451 : string = method1(v369, v450) │
00:04:08 verbose #10046 > │ let v452 : Async<struct (int32 * string)> option = None │
00:04:08 verbose #10047 > │ let v453 : bool = true in let mutable _v452 = v452 │
00:04:08 verbose #10048 > │ │
00:04:08 verbose #10049 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:08 verbose #10050 > │ │
00:04:08 verbose #10051 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:08 verbose #10052 > │ let v454 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:08 verbose #10053 > │ (int32 * string)>> │
00:04:08 verbose #10054 > │ v454 │
00:04:08 verbose #10055 > │ #endif │
00:04:08 verbose #10056 > │ │
00:04:08 verbose #10057 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:08 verbose #10058 > │ let v455 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:08 verbose #10059 > │ (int32 * string)>> │
00:04:08 verbose #10060 > │ v455 │
00:04:08 verbose #10061 > │ #endif │
00:04:08 verbose #10062 > │ │
00:04:08 verbose #10063 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:08 verbose #10064 > │ let v456 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:08 verbose #10065 > │ (int32 * string)>> │
00:04:08 verbose #10066 > │ v456 │
00:04:08 verbose #10067 > │ #endif │
00:04:08 verbose #10068 > │ │
00:04:08 verbose #10069 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:08 verbose #10070 > │ let v457 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:08 verbose #10071 > │ (int32 * string)>> │
00:04:08 verbose #10072 > │ v457 │
00:04:08 verbose #10073 > │ #endif │
00:04:08 verbose #10074 > │ │
00:04:08 verbose #10075 > │ #if FABLE_COMPILER_PYTHON │
00:04:08 verbose #10076 > │ let v458 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:08 verbose #10077 > │ (int32 * string)>> │
00:04:08 verbose #10078 > │ v458 │
00:04:08 verbose #10079 > │ #endif │
00:04:08 verbose #10080 > │ │
00:04:08 verbose #10081 > │ #else │
00:04:08 verbose #10082 > │ let v459 : Async<struct (int32 * string)> option = None │
00:04:08 verbose #10083 > │ let mutable _v459 = v459 │
00:04:08 verbose #10084 > │ async { │
00:04:09 verbose #10085 > │ let v460 : string = @$"pwsh -c ""Get-Content {v451}""" │
00:04:09 verbose #10086 > │ let v461 : string option = None │
00:04:09 verbose #10087 > │ let v462 : System.Threading.CancellationToken option = None │
00:04:09 verbose #10088 > │ let v463 : (struct (string * string) []) = [||] │
00:04:09 verbose #10089 > │ let v464 : (struct (bool * string * int32) -> Async<unit>) option = None │
00:04:09 verbose #10090 > │ let v465 : (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> │
00:04:09 verbose #10091 > │ unit) option = None │
00:04:09 verbose #10092 > │ let v466 : Async<struct (int32 * string)> option = None │
00:04:09 verbose #10093 > │ let v467 : bool = true in let mutable _v466 = v466 │
00:04:09 verbose #10094 > │ │
00:04:09 verbose #10095 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10096 > │ │
00:04:09 verbose #10097 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10098 > │ let v468 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10099 > │ (int32 * string)>> │
00:04:09 verbose #10100 > │ v468 │
00:04:09 verbose #10101 > │ #endif │
00:04:09 verbose #10102 > │ │
00:04:09 verbose #10103 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10104 > │ let v469 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10105 > │ (int32 * string)>> │
00:04:09 verbose #10106 > │ v469 │
00:04:09 verbose #10107 > │ #endif │
00:04:09 verbose #10108 > │ │
00:04:09 verbose #10109 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10110 > │ let v470 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10111 > │ (int32 * string)>> │
00:04:09 verbose #10112 > │ v470 │
00:04:09 verbose #10113 > │ #endif │
00:04:09 verbose #10114 > │ │
00:04:09 verbose #10115 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10116 > │ let v471 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10117 > │ (int32 * string)>> │
00:04:09 verbose #10118 > │ v471 │
00:04:09 verbose #10119 > │ #endif │
00:04:09 verbose #10120 > │ │
00:04:09 verbose #10121 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10122 > │ let v472 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10123 > │ (int32 * string)>> │
00:04:09 verbose #10124 > │ v472 │
00:04:09 verbose #10125 > │ #endif │
00:04:09 verbose #10126 > │ │
00:04:09 verbose #10127 > │ #else │
00:04:09 verbose #10128 > │ let v473 : Async<struct (int32 * string)> option = None │
00:04:09 verbose #10129 > │ let v474 : bool = true in let mutable _v473 = v473 │
00:04:09 verbose #10130 > │ │
00:04:09 verbose #10131 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10132 > │ │
00:04:09 verbose #10133 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10134 > │ let v475 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10135 > │ (int32 * string)>> │
00:04:09 verbose #10136 > │ v475 │
00:04:09 verbose #10137 > │ #endif │
00:04:09 verbose #10138 > │ │
00:04:09 verbose #10139 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10140 > │ let v476 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10141 > │ (int32 * string)>> │
00:04:09 verbose #10142 > │ v476 │
00:04:09 verbose #10143 > │ #endif │
00:04:09 verbose #10144 > │ │
00:04:09 verbose #10145 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10146 > │ let v477 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10147 > │ (int32 * string)>> │
00:04:09 verbose #10148 > │ v477 │
00:04:09 verbose #10149 > │ #endif │
00:04:09 verbose #10150 > │ │
00:04:09 verbose #10151 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10152 > │ let v478 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10153 > │ (int32 * string)>> │
00:04:09 verbose #10154 > │ v478 │
00:04:09 verbose #10155 > │ #endif │
00:04:09 verbose #10156 > │ │
00:04:09 verbose #10157 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10158 > │ let v479 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10159 > │ (int32 * string)>> │
00:04:09 verbose #10160 > │ v479 │
00:04:09 verbose #10161 > │ #endif │
00:04:09 verbose #10162 > │ │
00:04:09 verbose #10163 > │ #else │
00:04:09 verbose #10164 > │ let v480 : Async<struct (int32 * string)> option = None │
00:04:09 verbose #10165 > │ let mutable _v480 = v480 │
00:04:09 verbose #10166 > │ async { │
00:04:09 verbose #10167 > │ let struct (v481 : string, v482 : string) = method22() │
00:04:09 verbose #10168 > │ let v483 : int32 = v460.Length │
00:04:09 verbose #10169 > │ let v484 : (char []) = Array.zeroCreate<char> (v483) │
00:04:09 verbose #10170 > │ let v485 : Mut4 = {l0 = 0} : Mut4 │
00:04:09 verbose #10171 > │ while method23(v483, v485) do │
00:04:09 verbose #10172 > │ let v487 : int32 = v485.l0 │
00:04:09 verbose #10173 > │ let v488 : char = v460.[int v487] │
00:04:09 verbose #10174 > │ v484.[int v487] <- v488 │
00:04:09 verbose #10175 > │ let v489 : int32 = v487 + 1 │
00:04:09 verbose #10176 > │ v485.l0 <- v489 │
00:04:09 verbose #10177 > │ () │
00:04:09 verbose #10178 > │ let v490 : ((char []) -> char list) = Array.toList │
00:04:09 verbose #10179 > │ let v491 : char list = v490 v484 │
00:04:09 verbose #10180 > │ let v492 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:09 verbose #10181 > │ List.foldBack │
00:04:09 verbose #10182 > │ let v493 : (char -> (UH0 -> UH0)) = method24() │
00:04:09 verbose #10183 > │ let v494 : (char list -> (UH0 -> UH0)) = v492 v493 │
00:04:09 verbose #10184 > │ let v495 : (UH0 -> UH0) = v494 v491 │
00:04:09 verbose #10185 > │ let v496 : UH0 = UH0_0 │
00:04:09 verbose #10186 > │ let v497 : UH0 = v495 v496 │
00:04:09 verbose #10187 > │ let v498 : US6 = US6_0 │
00:04:09 verbose #10188 > │ let struct (v499 : string, v500 : string) = method25(v482, v481, v497, │
00:04:09 verbose #10189 > │ v498) │
00:04:09 verbose #10190 > │ let v501 : (string -> US1) = method26() │
00:04:09 verbose #10191 > │ let v502 : US1 = US1_1 │
00:04:09 verbose #10192 > │ let v503 : US1 = v461 |> Option.map v501 |> Option.defaultValue v502 │
00:04:09 verbose #10193 > │ let v507 : string = │
00:04:09 verbose #10194 > │ match v503 with │
00:04:09 verbose #10195 > │ | US1_1 -> (* None *) │
00:04:09 verbose #10196 > │ let v505 : string = "" │
00:04:09 verbose #10197 > │ v505 │
00:04:09 verbose #10198 > │ | US1_0(v504) -> (* Some *) │
00:04:09 verbose #10199 > │ v504 │
00:04:09 verbose #10200 > │ let v508 : US3 = US3_1 │
00:04:09 verbose #10201 > │ let v509 : (unit -> string) = closure23(v462, v460, v463, v464, v465, │
00:04:09 verbose #10202 > │ v461) │
00:04:09 verbose #10203 > │ let v510 : (unit -> string) = method27() │
00:04:09 verbose #10204 > │ method12(v508, v509, v510) │
00:04:09 verbose #10205 > │ let v511 : System.Text.Encoding = System.Text.Encoding.UTF8 │
00:04:09 verbose #10206 > │ let v512 : System.Diagnostics.ProcessStartInfo = │
00:04:09 verbose #10207 > │ System.Diagnostics.ProcessStartInfo (Arguments = v500, │
00:04:09 verbose #10208 > │ StandardOutputEncoding = v511, WorkingDirectory = v507, FileName = v499, │
00:04:09 verbose #10209 > │ CreateNoWindow = true, RedirectStandardError = true, RedirectStandardOutput │
00:04:09 verbose #10210 > │ = true, UseShellExecute = false) │
00:04:09 verbose #10211 > │ let v513 : int32 = v463.Length │
00:04:09 verbose #10212 > │ let v514 : Mut4 = {l0 = 0} : Mut4 │
00:04:09 verbose #10213 > │ while method23(v513, v514) do │
00:04:09 verbose #10214 > │ let v516 : int32 = v514.l0 │
00:04:09 verbose #10215 > │ let struct (v517 : string, v518 : string) = v463.[int v516] │
00:04:09 verbose #10216 > │ v512.EnvironmentVariables.[v517] <- v518 │
00:04:09 verbose #10217 > │ let v519 : int32 = v516 + 1 │
00:04:09 verbose #10218 > │ v514.l0 <- v519 │
00:04:09 verbose #10219 > │ () │
00:04:09 verbose #10220 > │ let v520 : System.Diagnostics.Process = new System.Diagnostics.Process │
00:04:09 verbose #10221 > │ (StartInfo = v512) │
00:04:09 verbose #10222 > │ use v520 = v520 │
00:04:09 verbose #10223 > │ let v521 : System.Diagnostics.Process = v520 │
00:04:09 verbose #10224 > │ let v522 : (unit -> │
00:04:09 verbose #10225 > │ System.Collections.Concurrent.ConcurrentStack<string>) = │
00:04:09 verbose #10226 > │ System.Collections.Concurrent.ConcurrentStack<string> │
00:04:09 verbose #10227 > │ let v523 : System.Collections.Concurrent.ConcurrentStack<string> = v522 │
00:04:09 verbose #10228 > │ () │
00:04:09 verbose #10229 > │ let v524 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:04:09 verbose #10230 > │ closure24(v462, v460, v463, v464, v465, v461, v521, v523) │
00:04:09 verbose #10231 > │ v521.OutputDataReceived.Add v524 │
00:04:09 verbose #10232 > │ let v525 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:04:09 verbose #10233 > │ closure27(v462, v460, v463, v464, v465, v461, v521, v523) │
00:04:09 verbose #10234 > │ v521.ErrorDataReceived.Add v525 │
00:04:09 verbose #10235 > │ let v526 : (unit -> bool) = v521.Start │
00:04:09 verbose #10236 > │ let v527 : bool = v526 () │
00:04:09 verbose #10237 > │ let v528 : bool = v527 = false │
00:04:09 verbose #10238 > │ if v528 then │
00:04:09 verbose #10239 > │ let v529 : string = $"execute_with_options_async / process_start │
00:04:09 verbose #10240 > │ error" │
00:04:09 verbose #10241 > │ failwith<unit> v529 │
00:04:09 verbose #10242 > │ let v530 : (unit -> unit) = v521.BeginErrorReadLine │
00:04:09 verbose #10243 > │ v530 () │
00:04:09 verbose #10244 > │ let v531 : (unit -> unit) = v521.BeginOutputReadLine │
00:04:09 verbose #10245 > │ v531 () │
00:04:09 verbose #10246 > │ let v532 : (System.Threading.CancellationToken -> US9) = method29() │
00:04:09 verbose #10247 > │ let v533 : US9 = US9_1 │
00:04:09 verbose #10248 > │ let v534 : US9 = v462 |> Option.map v532 |> Option.defaultValue v533 │
00:04:09 verbose #10249 > │ let v538 : System.Threading.CancellationToken = │
00:04:09 verbose #10250 > │ match v534 with │
00:04:09 verbose #10251 > │ | US9_1 -> (* None *) │
00:04:09 verbose #10252 > │ let v536 : System.Threading.CancellationToken = │
00:04:09 verbose #10253 > │ System.Threading.CancellationToken.None │
00:04:09 verbose #10254 > │ v536 │
00:04:09 verbose #10255 > │ | US9_0(v535) -> (* Some *) │
00:04:09 verbose #10256 > │ v535 │
00:04:09 verbose #10257 > │ let v539 : Async<System.Threading.CancellationToken> option = None │
00:04:09 verbose #10258 > │ let v540 : bool = true in let mutable _v539 = v539 │
00:04:09 verbose #10259 > │ │
00:04:09 verbose #10260 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10261 > │ │
00:04:09 verbose #10262 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10263 > │ let v541 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10264 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10265 > │ v541 │
00:04:09 verbose #10266 > │ #endif │
00:04:09 verbose #10267 > │ │
00:04:09 verbose #10268 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10269 > │ let v542 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10270 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10271 > │ v542 │
00:04:09 verbose #10272 > │ #endif │
00:04:09 verbose #10273 > │ │
00:04:09 verbose #10274 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10275 > │ let v543 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10276 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10277 > │ v543 │
00:04:09 verbose #10278 > │ #endif │
00:04:09 verbose #10279 > │ │
00:04:09 verbose #10280 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10281 > │ let v544 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10282 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10283 > │ v544 │
00:04:09 verbose #10284 > │ #endif │
00:04:09 verbose #10285 > │ │
00:04:09 verbose #10286 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10287 > │ let v545 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10288 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10289 > │ v545 │
00:04:09 verbose #10290 > │ #endif │
00:04:09 verbose #10291 > │ │
00:04:09 verbose #10292 > │ #else │
00:04:09 verbose #10293 > │ let v546 : Async<System.Threading.CancellationToken> option = None │
00:04:09 verbose #10294 > │ let v547 : bool = true in let mutable _v546 = v546 │
00:04:09 verbose #10295 > │ │
00:04:09 verbose #10296 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10297 > │ │
00:04:09 verbose #10298 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10299 > │ let v548 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10300 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10301 > │ v548 │
00:04:09 verbose #10302 > │ #endif │
00:04:09 verbose #10303 > │ │
00:04:09 verbose #10304 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10305 > │ let v549 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10306 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10307 > │ v549 │
00:04:09 verbose #10308 > │ #endif │
00:04:09 verbose #10309 > │ │
00:04:09 verbose #10310 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10311 > │ let v550 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10312 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10313 > │ v550 │
00:04:09 verbose #10314 > │ #endif │
00:04:09 verbose #10315 > │ │
00:04:09 verbose #10316 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10317 > │ let v551 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10318 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10319 > │ v551 │
00:04:09 verbose #10320 > │ #endif │
00:04:09 verbose #10321 > │ │
00:04:09 verbose #10322 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10323 > │ let v552 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10324 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10325 > │ v552 │
00:04:09 verbose #10326 > │ #endif │
00:04:09 verbose #10327 > │ │
00:04:09 verbose #10328 > │ #else │
00:04:09 verbose #10329 > │ let v553 : Async<System.Threading.CancellationToken> option = None │
00:04:09 verbose #10330 > │ let mutable _v553 = v553 │
00:04:09 verbose #10331 > │ async { │
00:04:09 verbose #10332 > │ let v554 : Async<System.Threading.CancellationToken> = │
00:04:09 verbose #10333 > │ Async.CancellationToken │
00:04:09 verbose #10334 > │ let! v554 = v554 │
00:04:09 verbose #10335 > │ let v555 : System.Threading.CancellationToken = v554 │
00:04:09 verbose #10336 > │ let v556 : System.Threading.CancellationToken = │
00:04:09 verbose #10337 > │ Async.DefaultCancellationToken │
00:04:09 verbose #10338 > │ let v557 : (System.Threading.CancellationToken []) = [|v555; v556; │
00:04:09 verbose #10339 > │ v538|] │
00:04:09 verbose #10340 > │ let v558 : ((System.Threading.CancellationToken []) -> │
00:04:09 verbose #10341 > │ System.Threading.CancellationTokenSource) = │
00:04:09 verbose #10342 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:04:09 verbose #10343 > │ let v559 : System.Threading.CancellationTokenSource = v558 v557 │
00:04:09 verbose #10344 > │ let v560 : System.Threading.CancellationToken = v559.Token │
00:04:09 verbose #10345 > │ return v560 │
00:04:09 verbose #10346 > │ } │
00:04:09 verbose #10347 > │ |> fun x -> _v553 <- Some x │
00:04:09 verbose #10348 > │ let v561 : Async<System.Threading.CancellationToken> = _v553 |> │
00:04:09 verbose #10349 > │ Option.get │
00:04:09 verbose #10350 > │ v561 │
00:04:09 verbose #10351 > │ #endif │
00:04:09 verbose #10352 > │ |> fun x -> _v546 <- Some x │
00:04:09 verbose #10353 > │ let v562 : Async<System.Threading.CancellationToken> = _v546.Value │
00:04:09 verbose #10354 > │ v562 │
00:04:09 verbose #10355 > │ #endif │
00:04:09 verbose #10356 > │ |> fun x -> _v539 <- Some x │
00:04:09 verbose #10357 > │ let v563 : Async<System.Threading.CancellationToken> = _v539.Value │
00:04:09 verbose #10358 > │ let! v563 = v563 │
00:04:09 verbose #10359 > │ let v564 : System.Threading.CancellationToken = v563 │
00:04:09 verbose #10360 > │ let v565 : ((unit -> unit) -> │
00:04:09 verbose #10361 > │ System.Threading.CancellationTokenRegistration) = v564.Register │
00:04:09 verbose #10362 > │ let v566 : (unit -> unit) = closure29(v521) │
00:04:09 verbose #10363 > │ let v567 : System.Threading.CancellationTokenRegistration = v565 v566 │
00:04:09 verbose #10364 > │ use v567 = v567 │
00:04:09 verbose #10365 > │ let v568 : System.Threading.CancellationTokenRegistration = v567 │
00:04:09 verbose #10366 > │ let v569 : Async<int32> option = None │
00:04:09 verbose #10367 > │ let v570 : bool = true in let mutable _v569 = v569 │
00:04:09 verbose #10368 > │ │
00:04:09 verbose #10369 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10370 > │ │
00:04:09 verbose #10371 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10372 > │ let v571 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10373 > │ v571 │
00:04:09 verbose #10374 > │ #endif │
00:04:09 verbose #10375 > │ │
00:04:09 verbose #10376 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10377 > │ let v572 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10378 > │ v572 │
00:04:09 verbose #10379 > │ #endif │
00:04:09 verbose #10380 > │ │
00:04:09 verbose #10381 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10382 > │ let v573 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10383 > │ v573 │
00:04:09 verbose #10384 > │ #endif │
00:04:09 verbose #10385 > │ │
00:04:09 verbose #10386 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10387 > │ let v574 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10388 > │ v574 │
00:04:09 verbose #10389 > │ #endif │
00:04:09 verbose #10390 > │ │
00:04:09 verbose #10391 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10392 > │ let v575 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10393 > │ v575 │
00:04:09 verbose #10394 > │ #endif │
00:04:09 verbose #10395 > │ │
00:04:09 verbose #10396 > │ #else │
00:04:09 verbose #10397 > │ let v576 : Async<int32> option = None │
00:04:09 verbose #10398 > │ let mutable _v576 = v576 │
00:04:09 verbose #10399 > │ async { │
00:04:09 verbose #10400 > │ try │
00:04:09 verbose #10401 > │ let v577 : System.Threading.Tasks.Task = v521.WaitForExitAsync v564 │
00:04:09 verbose #10402 > │ let v578 : Async<unit> option = None │
00:04:09 verbose #10403 > │ let v579 : bool = true in let mutable _v578 = v578 │
00:04:09 verbose #10404 > │ │
00:04:09 verbose #10405 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10406 > │ │
00:04:09 verbose #10407 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10408 > │ let v580 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10409 > │ v580 │
00:04:09 verbose #10410 > │ #endif │
00:04:09 verbose #10411 > │ │
00:04:09 verbose #10412 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10413 > │ let v581 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10414 > │ v581 │
00:04:09 verbose #10415 > │ #endif │
00:04:09 verbose #10416 > │ │
00:04:09 verbose #10417 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10418 > │ let v582 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10419 > │ v582 │
00:04:09 verbose #10420 > │ #endif │
00:04:09 verbose #10421 > │ │
00:04:09 verbose #10422 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10423 > │ let v583 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10424 > │ v583 │
00:04:09 verbose #10425 > │ #endif │
00:04:09 verbose #10426 > │ │
00:04:09 verbose #10427 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10428 > │ let v584 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10429 > │ v584 │
00:04:09 verbose #10430 > │ #endif │
00:04:09 verbose #10431 > │ │
00:04:09 verbose #10432 > │ #else │
00:04:09 verbose #10433 > │ let v585 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:04:09 verbose #10434 > │ Async.AwaitTask │
00:04:09 verbose #10435 > │ let v586 : Async<unit> = v585 v577 │
00:04:09 verbose #10436 > │ v586 │
00:04:09 verbose #10437 > │ #endif │
00:04:09 verbose #10438 > │ |> fun x -> _v578 <- Some x │
00:04:09 verbose #10439 > │ let v587 : Async<unit> = _v578.Value │
00:04:09 verbose #10440 > │ do! v587 │
00:04:09 verbose #10441 > │ let v588 : int32 = v521.ExitCode │
00:04:09 verbose #10442 > │ return v588 │
00:04:09 verbose #10443 > │ with ex -> │
00:04:09 verbose #10444 > │ let v589 : exn = ex │
00:04:09 verbose #10445 > │ let v590 : string option = None │
00:04:09 verbose #10446 > │ let v591 : bool = true in let mutable _v590 = v590 │
00:04:09 verbose #10447 > │ │
00:04:09 verbose #10448 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10449 > │ │
00:04:09 verbose #10450 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10451 > │ let v592 : string = $"%A{v589}" │
00:04:09 verbose #10452 > │ v592 │
00:04:09 verbose #10453 > │ #endif │
00:04:09 verbose #10454 > │ │
00:04:09 verbose #10455 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10456 > │ let v593 : string = $"%A{v589}" │
00:04:09 verbose #10457 > │ v593 │
00:04:09 verbose #10458 > │ #endif │
00:04:09 verbose #10459 > │ │
00:04:09 verbose #10460 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10461 > │ let v594 : string = $"%A{v589}" │
00:04:09 verbose #10462 > │ v594 │
00:04:09 verbose #10463 > │ #endif │
00:04:09 verbose #10464 > │ │
00:04:09 verbose #10465 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10466 > │ let v595 : string = $"%A{v589}" │
00:04:09 verbose #10467 > │ v595 │
00:04:09 verbose #10468 > │ #endif │
00:04:09 verbose #10469 > │ │
00:04:09 verbose #10470 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10471 > │ let v596 : string = $"%A{v589}" │
00:04:09 verbose #10472 > │ v596 │
00:04:09 verbose #10473 > │ #endif │
00:04:09 verbose #10474 > │ │
00:04:09 verbose #10475 > │ #else │
00:04:09 verbose #10476 > │ let v597 : string = $"{v589.GetType ()}: {v589.Message}" │
00:04:09 verbose #10477 > │ v597 │
00:04:09 verbose #10478 > │ #endif │
00:04:09 verbose #10479 > │ |> fun x -> _v590 <- Some x │
00:04:09 verbose #10480 > │ let v598 : string = _v590.Value │
00:04:09 verbose #10481 > │ let v599 : (string -> unit) = v523.Push │
00:04:09 verbose #10482 > │ v599 v598 │
00:04:09 verbose #10483 > │ let v600 : System.Threading.Tasks.TaskCanceledException = v589 |> │
00:04:09 verbose #10484 > │ unbox<System.Threading.Tasks.TaskCanceledException> │
00:04:09 verbose #10485 > │ let v601 : US3 = US3_3 │
00:04:09 verbose #10486 > │ let v602 : (unit -> string) = closure30(v600) │
00:04:09 verbose #10487 > │ let v603 : (unit -> string) = method27() │
00:04:09 verbose #10488 > │ method12(v601, v602, v603) │
00:04:09 verbose #10489 > │ return -2147483648 │
00:04:09 verbose #10490 > │ (* │
00:04:09 verbose #10491 > │ *) │
00:04:09 verbose #10492 > │ } │
00:04:09 verbose #10493 > │ |> fun x -> _v576 <- Some x │
00:04:09 verbose #10494 > │ let v604 : Async<int32> = _v576 |> Option.get │
00:04:09 verbose #10495 > │ v604 │
00:04:09 verbose #10496 > │ #endif │
00:04:09 verbose #10497 > │ |> fun x -> _v569 <- Some x │
00:04:09 verbose #10498 > │ let v605 : Async<int32> = _v569.Value │
00:04:09 verbose #10499 > │ let! v605 = v605 │
00:04:09 verbose #10500 > │ let v606 : int32 = v605 │
00:04:09 verbose #10501 > │ let v607 : (System.Collections.Concurrent.ConcurrentStack<string> -> │
00:04:09 verbose #10502 > │ string seq) = Seq.rev │
00:04:09 verbose #10503 > │ let v608 : string seq = v607 v523 │
00:04:09 verbose #10504 > │ let v609 : string = method30() │
00:04:09 verbose #10505 > │ let v610 : (string -> (string seq -> string)) = String.concat │
00:04:09 verbose #10506 > │ let v611 : (string seq -> string) = v610 v609 │
00:04:09 verbose #10507 > │ let v612 : string = v611 v608 │
00:04:09 verbose #10508 > │ let v613 : US3 = US3_1 │
00:04:09 verbose #10509 > │ let v614 : (unit -> string) = closure31(v606, v612) │
00:04:09 verbose #10510 > │ let v615 : (unit -> string) = method27() │
00:04:09 verbose #10511 > │ method12(v613, v614, v615) │
00:04:09 verbose #10512 > │ return struct (v606, v612) │
00:04:09 verbose #10513 > │ } │
00:04:09 verbose #10514 > │ |> fun x -> _v480 <- Some x │
00:04:09 verbose #10515 > │ let v616 : Async<struct (int32 * string)> = _v480 |> Option.get │
00:04:09 verbose #10516 > │ v616 │
00:04:09 verbose #10517 > │ #endif │
00:04:09 verbose #10518 > │ |> fun x -> _v473 <- Some x │
00:04:09 verbose #10519 > │ let v617 : Async<struct (int32 * string)> = _v473.Value │
00:04:09 verbose #10520 > │ v617 │
00:04:09 verbose #10521 > │ #endif │
00:04:09 verbose #10522 > │ |> fun x -> _v466 <- Some x │
00:04:09 verbose #10523 > │ let v618 : Async<struct (int32 * string)> = _v466.Value │
00:04:09 verbose #10524 > │ let! v618 = v618 │
00:04:09 verbose #10525 > │ let struct (v619 : int32, v620 : string) = v618 │
00:04:09 verbose #10526 > │ let v621 : (int32 -> unit) = method31() │
00:04:09 verbose #10527 > │ v621 v619 │
00:04:09 verbose #10528 > │ let v622 : string = "not exist" │
00:04:09 verbose #10529 > │ let v623 : bool = v620.Contains v622 │
00:04:09 verbose #10530 > │ let v625 : bool = │
00:04:09 verbose #10531 > │ if v623 then │
00:04:09 verbose #10532 > │ true │
00:04:09 verbose #10533 > │ else │
00:04:09 verbose #10534 > │ method32(v623) │
00:04:09 verbose #10535 > │ let v626 : string = "assert_string_contains" │
00:04:09 verbose #10536 > │ let v627 : string = $"{v626} / actual: %A{v622} / expected: %A{v620}" │
00:04:09 verbose #10537 > │ System.Console.WriteLine v627 │
00:04:09 verbose #10538 > │ let v628 : bool = v625 = false │
00:04:09 verbose #10539 > │ if v628 then │
00:04:09 verbose #10540 > │ failwith<unit> v627 │
00:04:09 verbose #10541 > │ let v629 : Async<unit> option = None │
00:04:09 verbose #10542 > │ let v630 : bool = true in let mutable _v629 = v629 │
00:04:09 verbose #10543 > │ │
00:04:09 verbose #10544 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10545 > │ │
00:04:09 verbose #10546 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10547 > │ let v631 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10548 > │ v631 │
00:04:09 verbose #10549 > │ #endif │
00:04:09 verbose #10550 > │ │
00:04:09 verbose #10551 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10552 > │ let v632 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10553 > │ v632 │
00:04:09 verbose #10554 > │ #endif │
00:04:09 verbose #10555 > │ │
00:04:09 verbose #10556 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10557 > │ let v633 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10558 > │ v633 │
00:04:09 verbose #10559 > │ #endif │
00:04:09 verbose #10560 > │ │
00:04:09 verbose #10561 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10562 > │ let v634 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10563 > │ v634 │
00:04:09 verbose #10564 > │ #endif │
00:04:09 verbose #10565 > │ │
00:04:09 verbose #10566 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10567 > │ let v635 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10568 > │ v635 │
00:04:09 verbose #10569 > │ #endif │
00:04:09 verbose #10570 > │ │
00:04:09 verbose #10571 > │ #else │
00:04:09 verbose #10572 > │ let v636 : string = "0" │
00:04:09 verbose #10573 > │ let v637 : System.Threading.Tasks.Task = │
00:04:09 verbose #10574 > │ System.IO.File.WriteAllTextAsync (v451, v636) │
00:04:09 verbose #10575 > │ let v638 : Async<unit> option = None │
00:04:09 verbose #10576 > │ let v639 : bool = true in let mutable _v638 = v638 │
00:04:09 verbose #10577 > │ │
00:04:09 verbose #10578 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10579 > │ │
00:04:09 verbose #10580 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10581 > │ let v640 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10582 > │ v640 │
00:04:09 verbose #10583 > │ #endif │
00:04:09 verbose #10584 > │ │
00:04:09 verbose #10585 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10586 > │ let v641 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10587 > │ v641 │
00:04:09 verbose #10588 > │ #endif │
00:04:09 verbose #10589 > │ │
00:04:09 verbose #10590 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10591 > │ let v642 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10592 > │ v642 │
00:04:09 verbose #10593 > │ #endif │
00:04:09 verbose #10594 > │ │
00:04:09 verbose #10595 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10596 > │ let v643 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10597 > │ v643 │
00:04:09 verbose #10598 > │ #endif │
00:04:09 verbose #10599 > │ │
00:04:09 verbose #10600 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10601 > │ let v644 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10602 > │ v644 │
00:04:09 verbose #10603 > │ #endif │
00:04:09 verbose #10604 > │ │
00:04:09 verbose #10605 > │ #else │
00:04:09 verbose #10606 > │ let v645 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:04:09 verbose #10607 > │ Async.AwaitTask │
00:04:09 verbose #10608 > │ let v646 : Async<unit> = v645 v637 │
00:04:09 verbose #10609 > │ v646 │
00:04:09 verbose #10610 > │ #endif │
00:04:09 verbose #10611 > │ |> fun x -> _v638 <- Some x │
00:04:09 verbose #10612 > │ let v647 : Async<unit> = _v638.Value │
00:04:09 verbose #10613 > │ v647 │
00:04:09 verbose #10614 > │ #endif │
00:04:09 verbose #10615 > │ |> fun x -> _v629 <- Some x │
00:04:09 verbose #10616 > │ let v648 : Async<unit> = _v629.Value │
00:04:09 verbose #10617 > │ do! v648 │
00:04:09 verbose #10618 > │ let v649 : string option = None │
00:04:09 verbose #10619 > │ let v650 : System.Threading.CancellationToken option = None │
00:04:09 verbose #10620 > │ let v651 : (struct (string * string) []) = [||] │
00:04:09 verbose #10621 > │ let v652 : (struct (bool * string * int32) -> Async<unit>) option = None │
00:04:09 verbose #10622 > │ let v653 : (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> │
00:04:09 verbose #10623 > │ unit) option = None │
00:04:09 verbose #10624 > │ let v654 : string = @$"pwsh -c ""Get-Content {v450}""" │
00:04:09 verbose #10625 > │ let v655 : string option = Some v369 │
00:04:09 verbose #10626 > │ let v656 : Async<struct (int32 * string)> option = None │
00:04:09 verbose #10627 > │ let v657 : bool = true in let mutable _v656 = v656 │
00:04:09 verbose #10628 > │ │
00:04:09 verbose #10629 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10630 > │ │
00:04:09 verbose #10631 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10632 > │ let v658 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10633 > │ (int32 * string)>> │
00:04:09 verbose #10634 > │ v658 │
00:04:09 verbose #10635 > │ #endif │
00:04:09 verbose #10636 > │ │
00:04:09 verbose #10637 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10638 > │ let v659 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10639 > │ (int32 * string)>> │
00:04:09 verbose #10640 > │ v659 │
00:04:09 verbose #10641 > │ #endif │
00:04:09 verbose #10642 > │ │
00:04:09 verbose #10643 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10644 > │ let v660 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10645 > │ (int32 * string)>> │
00:04:09 verbose #10646 > │ v660 │
00:04:09 verbose #10647 > │ #endif │
00:04:09 verbose #10648 > │ │
00:04:09 verbose #10649 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10650 > │ let v661 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10651 > │ (int32 * string)>> │
00:04:09 verbose #10652 > │ v661 │
00:04:09 verbose #10653 > │ #endif │
00:04:09 verbose #10654 > │ │
00:04:09 verbose #10655 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10656 > │ let v662 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10657 > │ (int32 * string)>> │
00:04:09 verbose #10658 > │ v662 │
00:04:09 verbose #10659 > │ #endif │
00:04:09 verbose #10660 > │ │
00:04:09 verbose #10661 > │ #else │
00:04:09 verbose #10662 > │ let v663 : Async<struct (int32 * string)> option = None │
00:04:09 verbose #10663 > │ let v664 : bool = true in let mutable _v663 = v663 │
00:04:09 verbose #10664 > │ │
00:04:09 verbose #10665 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10666 > │ │
00:04:09 verbose #10667 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10668 > │ let v665 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10669 > │ (int32 * string)>> │
00:04:09 verbose #10670 > │ v665 │
00:04:09 verbose #10671 > │ #endif │
00:04:09 verbose #10672 > │ │
00:04:09 verbose #10673 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10674 > │ let v666 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10675 > │ (int32 * string)>> │
00:04:09 verbose #10676 > │ v666 │
00:04:09 verbose #10677 > │ #endif │
00:04:09 verbose #10678 > │ │
00:04:09 verbose #10679 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10680 > │ let v667 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10681 > │ (int32 * string)>> │
00:04:09 verbose #10682 > │ v667 │
00:04:09 verbose #10683 > │ #endif │
00:04:09 verbose #10684 > │ │
00:04:09 verbose #10685 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10686 > │ let v668 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10687 > │ (int32 * string)>> │
00:04:09 verbose #10688 > │ v668 │
00:04:09 verbose #10689 > │ #endif │
00:04:09 verbose #10690 > │ │
00:04:09 verbose #10691 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10692 > │ let v669 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:09 verbose #10693 > │ (int32 * string)>> │
00:04:09 verbose #10694 > │ v669 │
00:04:09 verbose #10695 > │ #endif │
00:04:09 verbose #10696 > │ │
00:04:09 verbose #10697 > │ #else │
00:04:09 verbose #10698 > │ let v670 : Async<struct (int32 * string)> option = None │
00:04:09 verbose #10699 > │ let mutable _v670 = v670 │
00:04:09 verbose #10700 > │ async { │
00:04:09 verbose #10701 > │ let struct (v671 : string, v672 : string) = method22() │
00:04:09 verbose #10702 > │ let v673 : int32 = v654.Length │
00:04:09 verbose #10703 > │ let v674 : (char []) = Array.zeroCreate<char> (v673) │
00:04:09 verbose #10704 > │ let v675 : Mut4 = {l0 = 0} : Mut4 │
00:04:09 verbose #10705 > │ while method23(v673, v675) do │
00:04:09 verbose #10706 > │ let v677 : int32 = v675.l0 │
00:04:09 verbose #10707 > │ let v678 : char = v654.[int v677] │
00:04:09 verbose #10708 > │ v674.[int v677] <- v678 │
00:04:09 verbose #10709 > │ let v679 : int32 = v677 + 1 │
00:04:09 verbose #10710 > │ v675.l0 <- v679 │
00:04:09 verbose #10711 > │ () │
00:04:09 verbose #10712 > │ let v680 : ((char []) -> char list) = Array.toList │
00:04:09 verbose #10713 > │ let v681 : char list = v680 v674 │
00:04:09 verbose #10714 > │ let v682 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:09 verbose #10715 > │ List.foldBack │
00:04:09 verbose #10716 > │ let v683 : (char -> (UH0 -> UH0)) = method24() │
00:04:09 verbose #10717 > │ let v684 : (char list -> (UH0 -> UH0)) = v682 v683 │
00:04:09 verbose #10718 > │ let v685 : (UH0 -> UH0) = v684 v681 │
00:04:09 verbose #10719 > │ let v686 : UH0 = UH0_0 │
00:04:09 verbose #10720 > │ let v687 : UH0 = v685 v686 │
00:04:09 verbose #10721 > │ let v688 : US6 = US6_0 │
00:04:09 verbose #10722 > │ let struct (v689 : string, v690 : string) = method25(v672, v671, v687, │
00:04:09 verbose #10723 > │ v688) │
00:04:09 verbose #10724 > │ let v691 : (string -> US1) = method26() │
00:04:09 verbose #10725 > │ let v692 : US1 = US1_1 │
00:04:09 verbose #10726 > │ let v693 : US1 = v655 |> Option.map v691 |> Option.defaultValue v692 │
00:04:09 verbose #10727 > │ let v697 : string = │
00:04:09 verbose #10728 > │ match v693 with │
00:04:09 verbose #10729 > │ | US1_1 -> (* None *) │
00:04:09 verbose #10730 > │ let v695 : string = "" │
00:04:09 verbose #10731 > │ v695 │
00:04:09 verbose #10732 > │ | US1_0(v694) -> (* Some *) │
00:04:09 verbose #10733 > │ v694 │
00:04:09 verbose #10734 > │ let v698 : US3 = US3_1 │
00:04:09 verbose #10735 > │ let v699 : (unit -> string) = closure23(v650, v654, v651, v652, v653, │
00:04:09 verbose #10736 > │ v655) │
00:04:09 verbose #10737 > │ let v700 : (unit -> string) = method27() │
00:04:09 verbose #10738 > │ method12(v698, v699, v700) │
00:04:09 verbose #10739 > │ let v701 : System.Text.Encoding = System.Text.Encoding.UTF8 │
00:04:09 verbose #10740 > │ let v702 : System.Diagnostics.ProcessStartInfo = │
00:04:09 verbose #10741 > │ System.Diagnostics.ProcessStartInfo (Arguments = v690, │
00:04:09 verbose #10742 > │ StandardOutputEncoding = v701, WorkingDirectory = v697, FileName = v689, │
00:04:09 verbose #10743 > │ CreateNoWindow = true, RedirectStandardError = true, RedirectStandardOutput │
00:04:09 verbose #10744 > │ = true, UseShellExecute = false) │
00:04:09 verbose #10745 > │ let v703 : int32 = v651.Length │
00:04:09 verbose #10746 > │ let v704 : Mut4 = {l0 = 0} : Mut4 │
00:04:09 verbose #10747 > │ while method23(v703, v704) do │
00:04:09 verbose #10748 > │ let v706 : int32 = v704.l0 │
00:04:09 verbose #10749 > │ let struct (v707 : string, v708 : string) = v651.[int v706] │
00:04:09 verbose #10750 > │ v702.EnvironmentVariables.[v707] <- v708 │
00:04:09 verbose #10751 > │ let v709 : int32 = v706 + 1 │
00:04:09 verbose #10752 > │ v704.l0 <- v709 │
00:04:09 verbose #10753 > │ () │
00:04:09 verbose #10754 > │ let v710 : System.Diagnostics.Process = new System.Diagnostics.Process │
00:04:09 verbose #10755 > │ (StartInfo = v702) │
00:04:09 verbose #10756 > │ use v710 = v710 │
00:04:09 verbose #10757 > │ let v711 : System.Diagnostics.Process = v710 │
00:04:09 verbose #10758 > │ let v712 : (unit -> │
00:04:09 verbose #10759 > │ System.Collections.Concurrent.ConcurrentStack<string>) = │
00:04:09 verbose #10760 > │ System.Collections.Concurrent.ConcurrentStack<string> │
00:04:09 verbose #10761 > │ let v713 : System.Collections.Concurrent.ConcurrentStack<string> = v712 │
00:04:09 verbose #10762 > │ () │
00:04:09 verbose #10763 > │ let v714 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:04:09 verbose #10764 > │ closure24(v650, v654, v651, v652, v653, v655, v711, v713) │
00:04:09 verbose #10765 > │ v711.OutputDataReceived.Add v714 │
00:04:09 verbose #10766 > │ let v715 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:04:09 verbose #10767 > │ closure27(v650, v654, v651, v652, v653, v655, v711, v713) │
00:04:09 verbose #10768 > │ v711.ErrorDataReceived.Add v715 │
00:04:09 verbose #10769 > │ let v716 : (unit -> bool) = v711.Start │
00:04:09 verbose #10770 > │ let v717 : bool = v716 () │
00:04:09 verbose #10771 > │ let v718 : bool = v717 = false │
00:04:09 verbose #10772 > │ if v718 then │
00:04:09 verbose #10773 > │ let v719 : string = $"execute_with_options_async / process_start │
00:04:09 verbose #10774 > │ error" │
00:04:09 verbose #10775 > │ failwith<unit> v719 │
00:04:09 verbose #10776 > │ let v720 : (unit -> unit) = v711.BeginErrorReadLine │
00:04:09 verbose #10777 > │ v720 () │
00:04:09 verbose #10778 > │ let v721 : (unit -> unit) = v711.BeginOutputReadLine │
00:04:09 verbose #10779 > │ v721 () │
00:04:09 verbose #10780 > │ let v722 : (System.Threading.CancellationToken -> US9) = method29() │
00:04:09 verbose #10781 > │ let v723 : US9 = US9_1 │
00:04:09 verbose #10782 > │ let v724 : US9 = v650 |> Option.map v722 |> Option.defaultValue v723 │
00:04:09 verbose #10783 > │ let v728 : System.Threading.CancellationToken = │
00:04:09 verbose #10784 > │ match v724 with │
00:04:09 verbose #10785 > │ | US9_1 -> (* None *) │
00:04:09 verbose #10786 > │ let v726 : System.Threading.CancellationToken = │
00:04:09 verbose #10787 > │ System.Threading.CancellationToken.None │
00:04:09 verbose #10788 > │ v726 │
00:04:09 verbose #10789 > │ | US9_0(v725) -> (* Some *) │
00:04:09 verbose #10790 > │ v725 │
00:04:09 verbose #10791 > │ let v729 : Async<System.Threading.CancellationToken> option = None │
00:04:09 verbose #10792 > │ let v730 : bool = true in let mutable _v729 = v729 │
00:04:09 verbose #10793 > │ │
00:04:09 verbose #10794 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10795 > │ │
00:04:09 verbose #10796 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10797 > │ let v731 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10798 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10799 > │ v731 │
00:04:09 verbose #10800 > │ #endif │
00:04:09 verbose #10801 > │ │
00:04:09 verbose #10802 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10803 > │ let v732 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10804 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10805 > │ v732 │
00:04:09 verbose #10806 > │ #endif │
00:04:09 verbose #10807 > │ │
00:04:09 verbose #10808 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10809 > │ let v733 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10810 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10811 > │ v733 │
00:04:09 verbose #10812 > │ #endif │
00:04:09 verbose #10813 > │ │
00:04:09 verbose #10814 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10815 > │ let v734 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10816 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10817 > │ v734 │
00:04:09 verbose #10818 > │ #endif │
00:04:09 verbose #10819 > │ │
00:04:09 verbose #10820 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10821 > │ let v735 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10822 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10823 > │ v735 │
00:04:09 verbose #10824 > │ #endif │
00:04:09 verbose #10825 > │ │
00:04:09 verbose #10826 > │ #else │
00:04:09 verbose #10827 > │ let v736 : Async<System.Threading.CancellationToken> option = None │
00:04:09 verbose #10828 > │ let v737 : bool = true in let mutable _v736 = v736 │
00:04:09 verbose #10829 > │ │
00:04:09 verbose #10830 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10831 > │ │
00:04:09 verbose #10832 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10833 > │ let v738 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10834 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10835 > │ v738 │
00:04:09 verbose #10836 > │ #endif │
00:04:09 verbose #10837 > │ │
00:04:09 verbose #10838 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10839 > │ let v739 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10840 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10841 > │ v739 │
00:04:09 verbose #10842 > │ #endif │
00:04:09 verbose #10843 > │ │
00:04:09 verbose #10844 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10845 > │ let v740 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10846 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10847 > │ v740 │
00:04:09 verbose #10848 > │ #endif │
00:04:09 verbose #10849 > │ │
00:04:09 verbose #10850 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10851 > │ let v741 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10852 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10853 > │ v741 │
00:04:09 verbose #10854 > │ #endif │
00:04:09 verbose #10855 > │ │
00:04:09 verbose #10856 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10857 > │ let v742 : Async<System.Threading.CancellationToken> = null |> │
00:04:09 verbose #10858 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:09 verbose #10859 > │ v742 │
00:04:09 verbose #10860 > │ #endif │
00:04:09 verbose #10861 > │ │
00:04:09 verbose #10862 > │ #else │
00:04:09 verbose #10863 > │ let v743 : Async<System.Threading.CancellationToken> option = None │
00:04:09 verbose #10864 > │ let mutable _v743 = v743 │
00:04:09 verbose #10865 > │ async { │
00:04:09 verbose #10866 > │ let v744 : Async<System.Threading.CancellationToken> = │
00:04:09 verbose #10867 > │ Async.CancellationToken │
00:04:09 verbose #10868 > │ let! v744 = v744 │
00:04:09 verbose #10869 > │ let v745 : System.Threading.CancellationToken = v744 │
00:04:09 verbose #10870 > │ let v746 : System.Threading.CancellationToken = │
00:04:09 verbose #10871 > │ Async.DefaultCancellationToken │
00:04:09 verbose #10872 > │ let v747 : (System.Threading.CancellationToken []) = [|v745; v746; │
00:04:09 verbose #10873 > │ v728|] │
00:04:09 verbose #10874 > │ let v748 : ((System.Threading.CancellationToken []) -> │
00:04:09 verbose #10875 > │ System.Threading.CancellationTokenSource) = │
00:04:09 verbose #10876 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:04:09 verbose #10877 > │ let v749 : System.Threading.CancellationTokenSource = v748 v747 │
00:04:09 verbose #10878 > │ let v750 : System.Threading.CancellationToken = v749.Token │
00:04:09 verbose #10879 > │ return v750 │
00:04:09 verbose #10880 > │ } │
00:04:09 verbose #10881 > │ |> fun x -> _v743 <- Some x │
00:04:09 verbose #10882 > │ let v751 : Async<System.Threading.CancellationToken> = _v743 |> │
00:04:09 verbose #10883 > │ Option.get │
00:04:09 verbose #10884 > │ v751 │
00:04:09 verbose #10885 > │ #endif │
00:04:09 verbose #10886 > │ |> fun x -> _v736 <- Some x │
00:04:09 verbose #10887 > │ let v752 : Async<System.Threading.CancellationToken> = _v736.Value │
00:04:09 verbose #10888 > │ v752 │
00:04:09 verbose #10889 > │ #endif │
00:04:09 verbose #10890 > │ |> fun x -> _v729 <- Some x │
00:04:09 verbose #10891 > │ let v753 : Async<System.Threading.CancellationToken> = _v729.Value │
00:04:09 verbose #10892 > │ let! v753 = v753 │
00:04:09 verbose #10893 > │ let v754 : System.Threading.CancellationToken = v753 │
00:04:09 verbose #10894 > │ let v755 : ((unit -> unit) -> │
00:04:09 verbose #10895 > │ System.Threading.CancellationTokenRegistration) = v754.Register │
00:04:09 verbose #10896 > │ let v756 : (unit -> unit) = closure29(v711) │
00:04:09 verbose #10897 > │ let v757 : System.Threading.CancellationTokenRegistration = v755 v756 │
00:04:09 verbose #10898 > │ use v757 = v757 │
00:04:09 verbose #10899 > │ let v758 : System.Threading.CancellationTokenRegistration = v757 │
00:04:09 verbose #10900 > │ let v759 : Async<int32> option = None │
00:04:09 verbose #10901 > │ let v760 : bool = true in let mutable _v759 = v759 │
00:04:09 verbose #10902 > │ │
00:04:09 verbose #10903 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10904 > │ │
00:04:09 verbose #10905 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10906 > │ let v761 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10907 > │ v761 │
00:04:09 verbose #10908 > │ #endif │
00:04:09 verbose #10909 > │ │
00:04:09 verbose #10910 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10911 > │ let v762 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10912 > │ v762 │
00:04:09 verbose #10913 > │ #endif │
00:04:09 verbose #10914 > │ │
00:04:09 verbose #10915 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10916 > │ let v763 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10917 > │ v763 │
00:04:09 verbose #10918 > │ #endif │
00:04:09 verbose #10919 > │ │
00:04:09 verbose #10920 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10921 > │ let v764 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10922 > │ v764 │
00:04:09 verbose #10923 > │ #endif │
00:04:09 verbose #10924 > │ │
00:04:09 verbose #10925 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10926 > │ let v765 : Async<int32> = null |> unbox<Async<int32>> │
00:04:09 verbose #10927 > │ v765 │
00:04:09 verbose #10928 > │ #endif │
00:04:09 verbose #10929 > │ │
00:04:09 verbose #10930 > │ #else │
00:04:09 verbose #10931 > │ let v766 : Async<int32> option = None │
00:04:09 verbose #10932 > │ let mutable _v766 = v766 │
00:04:09 verbose #10933 > │ async { │
00:04:09 verbose #10934 > │ try │
00:04:09 verbose #10935 > │ let v767 : System.Threading.Tasks.Task = v711.WaitForExitAsync v754 │
00:04:09 verbose #10936 > │ let v768 : Async<unit> option = None │
00:04:09 verbose #10937 > │ let v769 : bool = true in let mutable _v768 = v768 │
00:04:09 verbose #10938 > │ │
00:04:09 verbose #10939 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10940 > │ │
00:04:09 verbose #10941 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10942 > │ let v770 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10943 > │ v770 │
00:04:09 verbose #10944 > │ #endif │
00:04:09 verbose #10945 > │ │
00:04:09 verbose #10946 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10947 > │ let v771 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10948 > │ v771 │
00:04:09 verbose #10949 > │ #endif │
00:04:09 verbose #10950 > │ │
00:04:09 verbose #10951 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10952 > │ let v772 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10953 > │ v772 │
00:04:09 verbose #10954 > │ #endif │
00:04:09 verbose #10955 > │ │
00:04:09 verbose #10956 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #10957 > │ let v773 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10958 > │ v773 │
00:04:09 verbose #10959 > │ #endif │
00:04:09 verbose #10960 > │ │
00:04:09 verbose #10961 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #10962 > │ let v774 : Async<unit> = null |> unbox<Async<unit>> │
00:04:09 verbose #10963 > │ v774 │
00:04:09 verbose #10964 > │ #endif │
00:04:09 verbose #10965 > │ │
00:04:09 verbose #10966 > │ #else │
00:04:09 verbose #10967 > │ let v775 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:04:09 verbose #10968 > │ Async.AwaitTask │
00:04:09 verbose #10969 > │ let v776 : Async<unit> = v775 v767 │
00:04:09 verbose #10970 > │ v776 │
00:04:09 verbose #10971 > │ #endif │
00:04:09 verbose #10972 > │ |> fun x -> _v768 <- Some x │
00:04:09 verbose #10973 > │ let v777 : Async<unit> = _v768.Value │
00:04:09 verbose #10974 > │ do! v777 │
00:04:09 verbose #10975 > │ let v778 : int32 = v711.ExitCode │
00:04:09 verbose #10976 > │ return v778 │
00:04:09 verbose #10977 > │ with ex -> │
00:04:09 verbose #10978 > │ let v779 : exn = ex │
00:04:09 verbose #10979 > │ let v780 : string option = None │
00:04:09 verbose #10980 > │ let v781 : bool = true in let mutable _v780 = v780 │
00:04:09 verbose #10981 > │ │
00:04:09 verbose #10982 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #10983 > │ │
00:04:09 verbose #10984 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #10985 > │ let v782 : string = $"%A{v779}" │
00:04:09 verbose #10986 > │ v782 │
00:04:09 verbose #10987 > │ #endif │
00:04:09 verbose #10988 > │ │
00:04:09 verbose #10989 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #10990 > │ let v783 : string = $"%A{v779}" │
00:04:09 verbose #10991 > │ v783 │
00:04:09 verbose #10992 > │ #endif │
00:04:09 verbose #10993 > │ │
00:04:09 verbose #10994 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #10995 > │ let v784 : string = $"%A{v779}" │
00:04:09 verbose #10996 > │ v784 │
00:04:09 verbose #10997 > │ #endif │
00:04:09 verbose #10998 > │ │
00:04:09 verbose #10999 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11000 > │ let v785 : string = $"%A{v779}" │
00:04:09 verbose #11001 > │ v785 │
00:04:09 verbose #11002 > │ #endif │
00:04:09 verbose #11003 > │ │
00:04:09 verbose #11004 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11005 > │ let v786 : string = $"%A{v779}" │
00:04:09 verbose #11006 > │ v786 │
00:04:09 verbose #11007 > │ #endif │
00:04:09 verbose #11008 > │ │
00:04:09 verbose #11009 > │ #else │
00:04:09 verbose #11010 > │ let v787 : string = $"{v779.GetType ()}: {v779.Message}" │
00:04:09 verbose #11011 > │ v787 │
00:04:09 verbose #11012 > │ #endif │
00:04:09 verbose #11013 > │ |> fun x -> _v780 <- Some x │
00:04:09 verbose #11014 > │ let v788 : string = _v780.Value │
00:04:09 verbose #11015 > │ let v789 : (string -> unit) = v713.Push │
00:04:09 verbose #11016 > │ v789 v788 │
00:04:09 verbose #11017 > │ let v790 : System.Threading.Tasks.TaskCanceledException = v779 |> │
00:04:09 verbose #11018 > │ unbox<System.Threading.Tasks.TaskCanceledException> │
00:04:09 verbose #11019 > │ let v791 : US3 = US3_3 │
00:04:09 verbose #11020 > │ let v792 : (unit -> string) = closure30(v790) │
00:04:09 verbose #11021 > │ let v793 : (unit -> string) = method27() │
00:04:09 verbose #11022 > │ method12(v791, v792, v793) │
00:04:09 verbose #11023 > │ return -2147483648 │
00:04:09 verbose #11024 > │ (* │
00:04:09 verbose #11025 > │ *) │
00:04:09 verbose #11026 > │ } │
00:04:09 verbose #11027 > │ |> fun x -> _v766 <- Some x │
00:04:09 verbose #11028 > │ let v794 : Async<int32> = _v766 |> Option.get │
00:04:09 verbose #11029 > │ v794 │
00:04:09 verbose #11030 > │ #endif │
00:04:09 verbose #11031 > │ |> fun x -> _v759 <- Some x │
00:04:09 verbose #11032 > │ let v795 : Async<int32> = _v759.Value │
00:04:09 verbose #11033 > │ let! v795 = v795 │
00:04:09 verbose #11034 > │ let v796 : int32 = v795 │
00:04:09 verbose #11035 > │ let v797 : (System.Collections.Concurrent.ConcurrentStack<string> -> │
00:04:09 verbose #11036 > │ string seq) = Seq.rev │
00:04:09 verbose #11037 > │ let v798 : string seq = v797 v713 │
00:04:09 verbose #11038 > │ let v799 : string = method30() │
00:04:09 verbose #11039 > │ let v800 : (string -> (string seq -> string)) = String.concat │
00:04:09 verbose #11040 > │ let v801 : (string seq -> string) = v800 v799 │
00:04:09 verbose #11041 > │ let v802 : string = v801 v798 │
00:04:09 verbose #11042 > │ let v803 : US3 = US3_1 │
00:04:09 verbose #11043 > │ let v804 : (unit -> string) = closure31(v796, v802) │
00:04:09 verbose #11044 > │ let v805 : (unit -> string) = method27() │
00:04:09 verbose #11045 > │ method12(v803, v804, v805) │
00:04:09 verbose #11046 > │ return struct (v796, v802) │
00:04:09 verbose #11047 > │ } │
00:04:09 verbose #11048 > │ |> fun x -> _v670 <- Some x │
00:04:09 verbose #11049 > │ let v806 : Async<struct (int32 * string)> = _v670 |> Option.get │
00:04:09 verbose #11050 > │ v806 │
00:04:09 verbose #11051 > │ #endif │
00:04:09 verbose #11052 > │ |> fun x -> _v663 <- Some x │
00:04:09 verbose #11053 > │ let v807 : Async<struct (int32 * string)> = _v663.Value │
00:04:09 verbose #11054 > │ v807 │
00:04:09 verbose #11055 > │ #endif │
00:04:09 verbose #11056 > │ |> fun x -> _v656 <- Some x │
00:04:09 verbose #11057 > │ let v808 : Async<struct (int32 * string)> = _v656.Value │
00:04:09 verbose #11058 > │ return! v808 │
00:04:09 verbose #11059 > │ } │
00:04:09 verbose #11060 > │ |> fun x -> _v459 <- Some x │
00:04:09 verbose #11061 > │ let v809 : Async<struct (int32 * string)> = _v459 |> Option.get │
00:04:09 verbose #11062 > │ v809 │
00:04:09 verbose #11063 > │ #endif │
00:04:09 verbose #11064 > │ |> fun x -> _v452 <- Some x │
00:04:09 verbose #11065 > │ let v810 : Async<struct (int32 * string)> = _v452.Value │
00:04:09 verbose #11066 > │ let v811 : Async<US10> option = None │
00:04:09 verbose #11067 > │ let v812 : bool = true in let mutable _v811 = v811 │
00:04:09 verbose #11068 > │ │
00:04:09 verbose #11069 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11070 > │ │
00:04:09 verbose #11071 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11072 > │ let v813 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11073 > │ v813 │
00:04:09 verbose #11074 > │ #endif │
00:04:09 verbose #11075 > │ │
00:04:09 verbose #11076 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11077 > │ let v814 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11078 > │ v814 │
00:04:09 verbose #11079 > │ #endif │
00:04:09 verbose #11080 > │ │
00:04:09 verbose #11081 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11082 > │ let v815 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11083 > │ v815 │
00:04:09 verbose #11084 > │ #endif │
00:04:09 verbose #11085 > │ │
00:04:09 verbose #11086 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11087 > │ let v816 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11088 > │ v816 │
00:04:09 verbose #11089 > │ #endif │
00:04:09 verbose #11090 > │ │
00:04:09 verbose #11091 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11092 > │ let v817 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11093 > │ v817 │
00:04:09 verbose #11094 > │ #endif │
00:04:09 verbose #11095 > │ │
00:04:09 verbose #11096 > │ #else │
00:04:09 verbose #11097 > │ let v818 : Async<US10> option = None │
00:04:09 verbose #11098 > │ let v819 : bool = true in let mutable _v818 = v818 │
00:04:09 verbose #11099 > │ │
00:04:09 verbose #11100 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11101 > │ │
00:04:09 verbose #11102 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11103 > │ let v820 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11104 > │ v820 │
00:04:09 verbose #11105 > │ #endif │
00:04:09 verbose #11106 > │ │
00:04:09 verbose #11107 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11108 > │ let v821 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11109 > │ v821 │
00:04:09 verbose #11110 > │ #endif │
00:04:09 verbose #11111 > │ │
00:04:09 verbose #11112 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11113 > │ let v822 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11114 > │ v822 │
00:04:09 verbose #11115 > │ #endif │
00:04:09 verbose #11116 > │ │
00:04:09 verbose #11117 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11118 > │ let v823 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11119 > │ v823 │
00:04:09 verbose #11120 > │ #endif │
00:04:09 verbose #11121 > │ │
00:04:09 verbose #11122 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11123 > │ let v824 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11124 > │ v824 │
00:04:09 verbose #11125 > │ #endif │
00:04:09 verbose #11126 > │ │
00:04:09 verbose #11127 > │ #else │
00:04:09 verbose #11128 > │ let v825 : Async<US10> option = None │
00:04:09 verbose #11129 > │ let mutable _v825 = v825 │
00:04:09 verbose #11130 > │ async { │
00:04:09 verbose #11131 > │ let v826 : Async<Async<struct (int32 * string)>> option = None │
00:04:09 verbose #11132 > │ let v827 : bool = true in let mutable _v826 = v826 │
00:04:09 verbose #11133 > │ │
00:04:09 verbose #11134 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11135 > │ │
00:04:09 verbose #11136 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11137 > │ let v828 : Async<Async<struct (int32 * string)>> = null |> │
00:04:09 verbose #11138 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:09 verbose #11139 > │ v828 │
00:04:09 verbose #11140 > │ #endif │
00:04:09 verbose #11141 > │ │
00:04:09 verbose #11142 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11143 > │ let v829 : Async<Async<struct (int32 * string)>> = null |> │
00:04:09 verbose #11144 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:09 verbose #11145 > │ v829 │
00:04:09 verbose #11146 > │ #endif │
00:04:09 verbose #11147 > │ │
00:04:09 verbose #11148 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11149 > │ let v830 : Async<Async<struct (int32 * string)>> = null |> │
00:04:09 verbose #11150 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:09 verbose #11151 > │ v830 │
00:04:09 verbose #11152 > │ #endif │
00:04:09 verbose #11153 > │ │
00:04:09 verbose #11154 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11155 > │ let v831 : Async<Async<struct (int32 * string)>> = null |> │
00:04:09 verbose #11156 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:09 verbose #11157 > │ v831 │
00:04:09 verbose #11158 > │ #endif │
00:04:09 verbose #11159 > │ │
00:04:09 verbose #11160 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11161 > │ let v832 : Async<Async<struct (int32 * string)>> = null |> │
00:04:09 verbose #11162 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:09 verbose #11163 > │ v832 │
00:04:09 verbose #11164 > │ #endif │
00:04:09 verbose #11165 > │ │
00:04:09 verbose #11166 > │ #else │
00:04:09 verbose #11167 > │ let v833 : Async<Async<struct (int32 * string)>> = Async.StartChild │
00:04:09 verbose #11168 > │ (v810, 10000) │
00:04:09 verbose #11169 > │ v833 │
00:04:09 verbose #11170 > │ #endif │
00:04:09 verbose #11171 > │ |> fun x -> _v826 <- Some x │
00:04:09 verbose #11172 > │ let v834 : Async<Async<struct (int32 * string)>> = _v826.Value │
00:04:09 verbose #11173 > │ let! v834 = v834 │
00:04:09 verbose #11174 > │ let v835 : Async<struct (int32 * string)> = v834 │
00:04:09 verbose #11175 > │ let v836 : Async<Choice<struct (int32 * string), exn>> option = None │
00:04:09 verbose #11176 > │ let v837 : bool = true in let mutable _v836 = v836 │
00:04:09 verbose #11177 > │ │
00:04:09 verbose #11178 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11179 > │ │
00:04:09 verbose #11180 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11181 > │ let v838 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:09 verbose #11182 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:09 verbose #11183 > │ v838 │
00:04:09 verbose #11184 > │ #endif │
00:04:09 verbose #11185 > │ │
00:04:09 verbose #11186 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11187 > │ let v839 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:09 verbose #11188 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:09 verbose #11189 > │ v839 │
00:04:09 verbose #11190 > │ #endif │
00:04:09 verbose #11191 > │ │
00:04:09 verbose #11192 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11193 > │ let v840 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:09 verbose #11194 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:09 verbose #11195 > │ v840 │
00:04:09 verbose #11196 > │ #endif │
00:04:09 verbose #11197 > │ │
00:04:09 verbose #11198 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11199 > │ let v841 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:09 verbose #11200 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:09 verbose #11201 > │ v841 │
00:04:09 verbose #11202 > │ #endif │
00:04:09 verbose #11203 > │ │
00:04:09 verbose #11204 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11205 > │ let v842 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:09 verbose #11206 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:09 verbose #11207 > │ v842 │
00:04:09 verbose #11208 > │ #endif │
00:04:09 verbose #11209 > │ │
00:04:09 verbose #11210 > │ #else │
00:04:09 verbose #11211 > │ let v843 : (Async<struct (int32 * string)> -> Async<Choice<struct (int32 │
00:04:09 verbose #11212 > │ * string), exn>>) = Async.Catch │
00:04:09 verbose #11213 > │ let v844 : Async<Choice<struct (int32 * string), exn>> = v843 v835 │
00:04:09 verbose #11214 > │ v844 │
00:04:09 verbose #11215 > │ #endif │
00:04:09 verbose #11216 > │ |> fun x -> _v836 <- Some x │
00:04:09 verbose #11217 > │ let v845 : Async<Choice<struct (int32 * string), exn>> = _v836.Value │
00:04:09 verbose #11218 > │ let v846 : Async<US11> option = None │
00:04:09 verbose #11219 > │ let v847 : bool = true in let mutable _v846 = v846 │
00:04:09 verbose #11220 > │ │
00:04:09 verbose #11221 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11222 > │ │
00:04:09 verbose #11223 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11224 > │ let v848 : Async<US11> = null |> unbox<Async<US11>> │
00:04:09 verbose #11225 > │ v848 │
00:04:09 verbose #11226 > │ #endif │
00:04:09 verbose #11227 > │ │
00:04:09 verbose #11228 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11229 > │ let v849 : Async<US11> = null |> unbox<Async<US11>> │
00:04:09 verbose #11230 > │ v849 │
00:04:09 verbose #11231 > │ #endif │
00:04:09 verbose #11232 > │ │
00:04:09 verbose #11233 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11234 > │ let v850 : Async<US11> = null |> unbox<Async<US11>> │
00:04:09 verbose #11235 > │ v850 │
00:04:09 verbose #11236 > │ #endif │
00:04:09 verbose #11237 > │ │
00:04:09 verbose #11238 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11239 > │ let v851 : Async<US11> = null |> unbox<Async<US11>> │
00:04:09 verbose #11240 > │ v851 │
00:04:09 verbose #11241 > │ #endif │
00:04:09 verbose #11242 > │ │
00:04:09 verbose #11243 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11244 > │ let v852 : Async<US11> = null |> unbox<Async<US11>> │
00:04:09 verbose #11245 > │ v852 │
00:04:09 verbose #11246 > │ #endif │
00:04:09 verbose #11247 > │ │
00:04:09 verbose #11248 > │ #else │
00:04:09 verbose #11249 > │ let v853 : Async<US11> option = None │
00:04:09 verbose #11250 > │ let mutable _v853 = v853 │
00:04:09 verbose #11251 > │ async { │
00:04:09 verbose #11252 > │ let! v845 = v845 │
00:04:09 verbose #11253 > │ let v854 : Choice<struct (int32 * string), exn> = v845 │
00:04:09 verbose #11254 > │ let v855 : US11 option = None │
00:04:09 verbose #11255 > │ let v856 : bool = true in let mutable _v855 = v855 │
00:04:09 verbose #11256 > │ │
00:04:09 verbose #11257 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11258 > │ │
00:04:09 verbose #11259 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11260 > │ let v857 : US11 = null |> unbox<US11> │
00:04:09 verbose #11261 > │ v857 │
00:04:09 verbose #11262 > │ #endif │
00:04:09 verbose #11263 > │ │
00:04:09 verbose #11264 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11265 > │ let v858 : US11 = null |> unbox<US11> │
00:04:09 verbose #11266 > │ v858 │
00:04:09 verbose #11267 > │ #endif │
00:04:09 verbose #11268 > │ │
00:04:09 verbose #11269 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11270 > │ let v859 : US11 = null |> unbox<US11> │
00:04:09 verbose #11271 > │ v859 │
00:04:09 verbose #11272 > │ #endif │
00:04:09 verbose #11273 > │ │
00:04:09 verbose #11274 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11275 > │ let v860 : US11 = null |> unbox<US11> │
00:04:09 verbose #11276 > │ v860 │
00:04:09 verbose #11277 > │ #endif │
00:04:09 verbose #11278 > │ │
00:04:09 verbose #11279 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11280 > │ let v861 : US11 = null |> unbox<US11> │
00:04:09 verbose #11281 > │ v861 │
00:04:09 verbose #11282 > │ #endif │
00:04:09 verbose #11283 > │ │
00:04:09 verbose #11284 > │ #else │
00:04:09 verbose #11285 > │ let v862 : (struct (int32 * string) -> US11) = closure33() │
00:04:09 verbose #11286 > │ let v863 : (exn -> US11) = closure34() │
00:04:09 verbose #11287 > │ let v864 : US11 = match v854 with Choice1Of2 x -> v862 x | Choice2Of2 x │
00:04:09 verbose #11288 > │ -> v863 x │
00:04:09 verbose #11289 > │ v864 │
00:04:09 verbose #11290 > │ #endif │
00:04:09 verbose #11291 > │ |> fun x -> _v855 <- Some x │
00:04:09 verbose #11292 > │ let v865 : US11 = _v855.Value │
00:04:09 verbose #11293 > │ return v865 │
00:04:09 verbose #11294 > │ } │
00:04:09 verbose #11295 > │ |> fun x -> _v853 <- Some x │
00:04:09 verbose #11296 > │ let v866 : Async<US11> = _v853 |> Option.get │
00:04:09 verbose #11297 > │ v866 │
00:04:09 verbose #11298 > │ #endif │
00:04:09 verbose #11299 > │ |> fun x -> _v846 <- Some x │
00:04:09 verbose #11300 > │ let v867 : Async<US11> = _v846.Value │
00:04:09 verbose #11301 > │ let v868 : Async<US12> option = None │
00:04:09 verbose #11302 > │ let v869 : bool = true in let mutable _v868 = v868 │
00:04:09 verbose #11303 > │ │
00:04:09 verbose #11304 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11305 > │ │
00:04:09 verbose #11306 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11307 > │ let v870 : Async<US12> = null |> unbox<Async<US12>> │
00:04:09 verbose #11308 > │ v870 │
00:04:09 verbose #11309 > │ #endif │
00:04:09 verbose #11310 > │ │
00:04:09 verbose #11311 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11312 > │ let v871 : Async<US12> = null |> unbox<Async<US12>> │
00:04:09 verbose #11313 > │ v871 │
00:04:09 verbose #11314 > │ #endif │
00:04:09 verbose #11315 > │ │
00:04:09 verbose #11316 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11317 > │ let v872 : Async<US12> = null |> unbox<Async<US12>> │
00:04:09 verbose #11318 > │ v872 │
00:04:09 verbose #11319 > │ #endif │
00:04:09 verbose #11320 > │ │
00:04:09 verbose #11321 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11322 > │ let v873 : Async<US12> = null |> unbox<Async<US12>> │
00:04:09 verbose #11323 > │ v873 │
00:04:09 verbose #11324 > │ #endif │
00:04:09 verbose #11325 > │ │
00:04:09 verbose #11326 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11327 > │ let v874 : Async<US12> = null |> unbox<Async<US12>> │
00:04:09 verbose #11328 > │ v874 │
00:04:09 verbose #11329 > │ #endif │
00:04:09 verbose #11330 > │ │
00:04:09 verbose #11331 > │ #else │
00:04:09 verbose #11332 > │ let v875 : Async<US12> option = None │
00:04:09 verbose #11333 > │ let mutable _v875 = v875 │
00:04:09 verbose #11334 > │ async { │
00:04:09 verbose #11335 > │ let! v867 = v867 │
00:04:09 verbose #11336 > │ let v876 : US11 = v867 │
00:04:09 verbose #11337 > │ let v883 : US12 = │
00:04:09 verbose #11338 > │ match v876 with │
00:04:09 verbose #11339 > │ | US11_0(v877, v878) -> (* Choice1Of2 *) │
00:04:09 verbose #11340 > │ US12_0(v877, v878) │
00:04:09 verbose #11341 > │ | US11_1(v880) -> (* Choice2Of2 *) │
00:04:09 verbose #11342 > │ US12_1(v880) │
00:04:09 verbose #11343 > │ return v883 │
00:04:09 verbose #11344 > │ } │
00:04:09 verbose #11345 > │ |> fun x -> _v875 <- Some x │
00:04:09 verbose #11346 > │ let v884 : Async<US12> = _v875 |> Option.get │
00:04:09 verbose #11347 > │ v884 │
00:04:09 verbose #11348 > │ #endif │
00:04:09 verbose #11349 > │ |> fun x -> _v868 <- Some x │
00:04:09 verbose #11350 > │ let v885 : Async<US12> = _v868.Value │
00:04:09 verbose #11351 > │ let v886 : Async<US10> option = None │
00:04:09 verbose #11352 > │ let v887 : bool = true in let mutable _v886 = v886 │
00:04:09 verbose #11353 > │ │
00:04:09 verbose #11354 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11355 > │ │
00:04:09 verbose #11356 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11357 > │ let v888 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11358 > │ v888 │
00:04:09 verbose #11359 > │ #endif │
00:04:09 verbose #11360 > │ │
00:04:09 verbose #11361 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11362 > │ let v889 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11363 > │ v889 │
00:04:09 verbose #11364 > │ #endif │
00:04:09 verbose #11365 > │ │
00:04:09 verbose #11366 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11367 > │ let v890 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11368 > │ v890 │
00:04:09 verbose #11369 > │ #endif │
00:04:09 verbose #11370 > │ │
00:04:09 verbose #11371 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11372 > │ let v891 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11373 > │ v891 │
00:04:09 verbose #11374 > │ #endif │
00:04:09 verbose #11375 > │ │
00:04:09 verbose #11376 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11377 > │ let v892 : Async<US10> = null |> unbox<Async<US10>> │
00:04:09 verbose #11378 > │ v892 │
00:04:09 verbose #11379 > │ #endif │
00:04:09 verbose #11380 > │ │
00:04:09 verbose #11381 > │ #else │
00:04:09 verbose #11382 > │ let v893 : Async<US10> option = None │
00:04:09 verbose #11383 > │ let mutable _v893 = v893 │
00:04:09 verbose #11384 > │ async { │
00:04:09 verbose #11385 > │ let! v885 = v885 │
00:04:09 verbose #11386 > │ let v894 : US12 = v885 │
00:04:09 verbose #11387 > │ let v921 : US10 = │
00:04:09 verbose #11388 > │ match v894 with │
00:04:09 verbose #11389 > │ | US12_1(v898) -> (* Error *) │
00:04:09 verbose #11390 > │ let v899 : string = $"%A{v898}" │
00:04:09 verbose #11391 > │ let v900 : string = "System.TimeoutException" │
00:04:09 verbose #11392 > │ let v901 : bool = v899.Contains v900 │
00:04:09 verbose #11393 > │ if v901 then │
00:04:09 verbose #11394 > │ let v902 : US3 = US3_1 │
00:04:09 verbose #11395 > │ let v903 : (unit -> string) = closure35() │
00:04:09 verbose #11396 > │ let v904 : (unit -> string) = closure36() │
00:04:09 verbose #11397 > │ method12(v902, v903, v904) │
00:04:09 verbose #11398 > │ US10_1 │
00:04:09 verbose #11399 > │ else │
00:04:09 verbose #11400 > │ let v906 : string option = None │
00:04:09 verbose #11401 > │ let v907 : bool = true in let mutable _v906 = v906 │
00:04:09 verbose #11402 > │ │
00:04:09 verbose #11403 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11404 > │ │
00:04:09 verbose #11405 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11406 > │ let v908 : string = $"%A{v898}" │
00:04:09 verbose #11407 > │ v908 │
00:04:09 verbose #11408 > │ #endif │
00:04:09 verbose #11409 > │ │
00:04:09 verbose #11410 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11411 > │ let v909 : string = $"%A{v898}" │
00:04:09 verbose #11412 > │ v909 │
00:04:09 verbose #11413 > │ #endif │
00:04:09 verbose #11414 > │ │
00:04:09 verbose #11415 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11416 > │ let v910 : string = $"%A{v898}" │
00:04:09 verbose #11417 > │ v910 │
00:04:09 verbose #11418 > │ #endif │
00:04:09 verbose #11419 > │ │
00:04:09 verbose #11420 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11421 > │ let v911 : string = $"%A{v898}" │
00:04:09 verbose #11422 > │ v911 │
00:04:09 verbose #11423 > │ #endif │
00:04:09 verbose #11424 > │ │
00:04:09 verbose #11425 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11426 > │ let v912 : string = $"%A{v898}" │
00:04:09 verbose #11427 > │ v912 │
00:04:09 verbose #11428 > │ #endif │
00:04:09 verbose #11429 > │ │
00:04:09 verbose #11430 > │ #else │
00:04:09 verbose #11431 > │ let v913 : string = $"{v898.GetType ()}: {v898.Message}" │
00:04:09 verbose #11432 > │ v913 │
00:04:09 verbose #11433 > │ #endif │
00:04:09 verbose #11434 > │ |> fun x -> _v906 <- Some x │
00:04:09 verbose #11435 > │ let v914 : string = _v906.Value │
00:04:09 verbose #11436 > │ let v915 : US3 = US3_4 │
00:04:09 verbose #11437 > │ let v916 : (unit -> string) = closure37(v914) │
00:04:09 verbose #11438 > │ let v917 : (unit -> string) = closure36() │
00:04:09 verbose #11439 > │ method12(v915, v916, v917) │
00:04:09 verbose #11440 > │ US10_1 │
00:04:09 verbose #11441 > │ | US12_0(v895, v896) -> (* Ok *) │
00:04:09 verbose #11442 > │ US10_0(v895, v896) │
00:04:09 verbose #11443 > │ return v921 │
00:04:09 verbose #11444 > │ } │
00:04:09 verbose #11445 > │ |> fun x -> _v893 <- Some x │
00:04:09 verbose #11446 > │ let v922 : Async<US10> = _v893 |> Option.get │
00:04:09 verbose #11447 > │ v922 │
00:04:09 verbose #11448 > │ #endif │
00:04:09 verbose #11449 > │ |> fun x -> _v886 <- Some x │
00:04:09 verbose #11450 > │ let v923 : Async<US10> = _v886.Value │
00:04:09 verbose #11451 > │ return! v923 │
00:04:09 verbose #11452 > │ } │
00:04:09 verbose #11453 > │ |> fun x -> _v825 <- Some x │
00:04:09 verbose #11454 > │ let v924 : Async<US10> = _v825 |> Option.get │
00:04:09 verbose #11455 > │ v924 │
00:04:09 verbose #11456 > │ #endif │
00:04:09 verbose #11457 > │ |> fun x -> _v818 <- Some x │
00:04:09 verbose #11458 > │ let v925 : Async<US10> = _v818.Value │
00:04:09 verbose #11459 > │ v925 │
00:04:09 verbose #11460 > │ #endif │
00:04:09 verbose #11461 > │ |> fun x -> _v811 <- Some x │
00:04:09 verbose #11462 > │ let v926 : Async<US10> = _v811.Value │
00:04:09 verbose #11463 > │ let v927 : US10 option = None │
00:04:09 verbose #11464 > │ let v928 : bool = true in let mutable _v927 = v927 │
00:04:09 verbose #11465 > │ │
00:04:09 verbose #11466 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:09 verbose #11467 > │ │
00:04:09 verbose #11468 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:09 verbose #11469 > │ let v929 : US10 = null |> unbox<US10> │
00:04:09 verbose #11470 > │ v929 │
00:04:09 verbose #11471 > │ #endif │
00:04:09 verbose #11472 > │ │
00:04:09 verbose #11473 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:09 verbose #11474 > │ let v930 : US10 = null |> unbox<US10> │
00:04:09 verbose #11475 > │ v930 │
00:04:09 verbose #11476 > │ #endif │
00:04:09 verbose #11477 > │ │
00:04:09 verbose #11478 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:09 verbose #11479 > │ let v931 : US10 = null |> unbox<US10> │
00:04:09 verbose #11480 > │ v931 │
00:04:09 verbose #11481 > │ #endif │
00:04:09 verbose #11482 > │ │
00:04:09 verbose #11483 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:09 verbose #11484 > │ let v932 : US10 = null |> unbox<US10> │
00:04:09 verbose #11485 > │ v932 │
00:04:09 verbose #11486 > │ #endif │
00:04:09 verbose #11487 > │ │
00:04:09 verbose #11488 > │ #if FABLE_COMPILER_PYTHON │
00:04:09 verbose #11489 > │ let v933 : US10 = null |> unbox<US10> │
00:04:09 verbose #11490 > │ v933 │
00:04:09 verbose #11491 > │ #endif │
00:04:09 verbose #11492 > │ │
00:04:09 verbose #11493 > │ #else │
00:04:09 verbose #11494 > │ let v934 : (Async<US10> -> US10) = Async.RunSynchronously │
00:04:09 verbose #11495 > │ let v935 : US10 = v934 v926 │
00:04:09 verbose #11496 > │ v935 │
00:04:09 verbose #11497 > │ #endif │
00:04:09 verbose #11498 > │ |> fun x -> _v927 <- Some x │
00:04:09 verbose #11499 > │ let v936 : US10 = _v927.Value │
00:04:09 verbose #11500 > │ let v941 : bool = │
00:04:09 verbose #11501 > │ match v936 with │
00:04:09 verbose #11502 > │ | US10_0(v937, v938) -> (* Some *) │
00:04:09 verbose #11503 > │ let v939 : (int32 -> unit) = method33() │
00:04:09 verbose #11504 > │ v939 v937 │
00:04:09 verbose #11505 > │ let v940 : (string -> unit) = method34() │
00:04:09 verbose #11506 > │ v940 v938 │
00:04:09 verbose #11507 > │ true │
00:04:09 verbose #11508 > │ | _ -> │
00:04:09 verbose #11509 > │ false │
00:04:09 verbose #11510 > │ let v943 : bool = │
00:04:09 verbose #11511 > │ if v941 then │
00:04:09 verbose #11512 > │ true │
00:04:09 verbose #11513 > │ else │
00:04:09 verbose #11514 > │ method32(v941) │
00:04:09 verbose #11515 > │ let v944 : string = "assert_eq" │
00:04:09 verbose #11516 > │ let v945 : string = $"{v944} / actual: %A{v941} / expected: %A{true}" │
00:04:09 verbose #11517 > │ System.Console.WriteLine v945 │
00:04:09 verbose #11518 > │ let v946 : bool = v943 = false │
00:04:09 verbose #11519 > │ if v946 then │
00:04:09 verbose #11520 > │ failwith<unit> v945 │
00:04:09 verbose #11521 > │ method0() │
00:04:09 verbose #11522 > │ │
00:04:09 verbose #11523 > │ 00:00:00 debug #1 execute_with_options_async / options: struct (None, │
00:04:09 verbose #11524 > │ "pwsh -c "Get-Content │
00:04:09 verbose #11525 > │ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0238-2856-5657-50040 │
00:04:09 verbose #11526 > │ 0d64874\test.txt"", │
00:04:09 verbose #11527 > │ [||], None, None, None) │
00:04:09 verbose #11528 > │ 00:00:00 verbose #2 > Get-Content: Cannot find path │
00:04:09 verbose #11529 > │ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0238-2856-5657-5004 │
00:04:09 verbose #11530 > │ 00d64874\test.txt' because it does not exist. │
00:04:09 verbose #11531 > │ 00:00:00 debug #3 execute_with_options_async / exit_code: 1 / │
00:04:09 verbose #11532 > │ output.Length: 171 │
00:04:09 verbose #11533 > │ assert_eq / actual: 1 / expected: 1 │
00:04:09 verbose #11534 > │ assert_string_contains / actual: "not exist" / expected: "[Get-Content: │
00:04:09 verbose #11535 > │ Cannot find path │
00:04:09 verbose #11536 > │ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0238-2856-5657-5004 │
00:04:09 verbose #11537 > │ 00d64874\test.txt' because it does not exist.]" │
00:04:09 verbose #11538 > │ 00:00:00 debug #4 execute_with_options_async / options: struct (None, │
00:04:09 verbose #11539 > │ "pwsh -c "Get-Content test.txt"", [||], None, None, │
00:04:09 verbose #11540 > │ Some │
00:04:09 verbose #11541 > │ │
00:04:09 verbose #11542 > │ "C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0238-2856-5657-5004 │
00:04:09 verbose #11543 > │ 00d64874") │
00:04:09 verbose #11544 > │ 00:00:01 verbose #5 > 0 │
00:04:09 verbose #11545 > │ 00:00:01 debug #6 execute_with_options_async / exit_code: 0 / │
00:04:09 verbose #11546 > │ output.Length: 1 │
00:04:09 verbose #11547 > │ assert_eq / actual: 0 / expected: 0 │
00:04:09 verbose #11548 > │ assert_eq / actual: "0" / expected: "0" │
00:04:09 verbose #11549 > │ assert_eq / actual: true / expected: true │
00:04:09 verbose #11550 > │ │
00:04:09 verbose #11551 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:09 verbose #11552 >
00:04:09 verbose #11553 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:09 verbose #11554 > //// test
00:04:09 verbose #11555 >
00:04:09 verbose #11556 > file_system.types ()
00:04:09 verbose #11557 > inl temp_dir, disposable = file_system.create_temp_directory ()
00:04:09 verbose #11558 > disposable |> use |> ignore
00:04:09 verbose #11559 > fun () =>
00:04:09 verbose #11560 > inl path = temp_dir </> "test.txt"
00:04:09 verbose #11561 > "0" |> file_system.write_all_text_async path |> async.do
00:04:09 verbose #11562 >
00:04:09 verbose #11563 > inl cts = threading.new_cancellation_token_source ()
00:04:09 verbose #11564 > trace Debug (fun () => "1") _locals
00:04:09 verbose #11565 > inl result =
00:04:09 verbose #11566 > execution_options fun x => { x with
00:04:09 verbose #11567 > command = $'\@$"pwsh -c ""Get-Content {!path}"""'
00:04:09 verbose #11568 > cancellation_token = cts |> threading.cancellation_source_token |>
00:04:09 verbose #11569 > Some |> optionm'.box
00:04:09 verbose #11570 > }
00:04:09 verbose #11571 > |> execute_with_options_async
00:04:09 verbose #11572 > |> async.start_child
00:04:09 verbose #11573 > |> async.let'
00:04:09 verbose #11574 > trace Debug (fun () => "2") _locals
00:04:09 verbose #11575 > async.sleep 100 |> async.do
00:04:09 verbose #11576 > trace Debug (fun () => "3") _locals
00:04:09 verbose #11577 > cts |> threading.cancellation_source_cancel
00:04:09 verbose #11578 > trace Debug (fun () => "4") _locals
00:04:09 verbose #11579 > inl exit_code, output = result |> async.let'
00:04:09 verbose #11580 > trace Debug (fun () => "5") _locals
00:04:09 verbose #11581 > (exit_code, output) |> return
00:04:09 verbose #11582 > |> async.new_async_unit
00:04:09 verbose #11583 > |> async.run_with_timeout 10000
00:04:09 verbose #11584 > |> function
00:04:09 verbose #11585 > | Some (exit_code, output) =>
00:04:09 verbose #11586 > exit_code |> _assert_eq -2147483648i32
00:04:09 verbose #11587 > output |> _assert_eq (join
00:04:09 verbose #11588 > "System.Threading.Tasks.TaskCanceledException: A task was canceled.")
00:04:09 verbose #11589 > true
00:04:09 verbose #11590 > | _ => false
00:04:09 verbose #11591 > |> _assert_eq true
00:04:09 verbose #11592 > 00:04:08 debug #225 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6d9905682bbd9161347dba99ed5df4cad197dc687696bdeb5dd54b20e4c185e8/main.spi
00:04:11 verbose #11593 >
00:04:11 verbose #11594 > ╭─[ 2.09s - stdout ]───────────────────────────────────────────────────────────╮
00:04:11 verbose #11595 > │ #if FABLE_COMPILER │
00:04:11 verbose #11596 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:04:11 verbose #11597 > │ #endif │
00:04:11 verbose #11598 > │ type Func0<'T> = class end │
00:04:11 verbose #11599 > │ #if FABLE_COMPILER │
00:04:11 verbose #11600 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:04:11 verbose #11601 > │ #endif │
00:04:11 verbose #11602 > │ type Func0<'T, 'U> = class end │
00:04:11 verbose #11603 > │ #if FABLE_COMPILER │
00:04:11 verbose #11604 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:04:11 verbose #11605 > │ #endif │
00:04:11 verbose #11606 > │ type Box<'T> = class end │
00:04:11 verbose #11607 > │ #if FABLE_COMPILER │
00:04:11 verbose #11608 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:04:11 verbose #11609 > │ #endif │
00:04:11 verbose #11610 > │ type Dyn<'T> = class end │
00:04:11 verbose #11611 > │ #if FABLE_COMPILER │
00:04:11 verbose #11612 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:04:11 verbose #11613 > │ #endif │
00:04:11 verbose #11614 > │ type Send<'T> = class end │
00:04:11 verbose #11615 > │ #if FABLE_COMPILER │
00:04:11 verbose #11616 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:04:11 verbose #11617 > │ #endif │
00:04:11 verbose #11618 > │ type Fn<'T> = class end │
00:04:11 verbose #11619 > │ #if FABLE_COMPILER │
00:04:11 verbose #11620 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:04:11 verbose #11621 > │ #endif │
00:04:11 verbose #11622 > │ type FnUnit = class end │
00:04:11 verbose #11623 > │ #if FABLE_COMPILER │
00:04:11 verbose #11624 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:04:11 verbose #11625 > │ #endif │
00:04:11 verbose #11626 > │ type FnOnce<'T> = class end │
00:04:11 verbose #11627 > │ #if FABLE_COMPILER │
00:04:11 verbose #11628 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:04:11 verbose #11629 > │ #endif │
00:04:11 verbose #11630 > │ type ActionFn<'T> = class end │
00:04:11 verbose #11631 > │ #if FABLE_COMPILER │
00:04:11 verbose #11632 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:04:11 verbose #11633 > │ #endif │
00:04:11 verbose #11634 > │ type ActionFn2<'T, 'U> = class end │
00:04:11 verbose #11635 > │ #if FABLE_COMPILER │
00:04:11 verbose #11636 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:04:11 verbose #11637 > │ #endif │
00:04:11 verbose #11638 > │ type Impl<'T> = class end │
00:04:11 verbose #11639 > │ #if FABLE_COMPILER │
00:04:11 verbose #11640 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:04:11 verbose #11641 > │ #endif │
00:04:11 verbose #11642 > │ type Mut<'T> = class end │
00:04:11 verbose #11643 > │ #if FABLE_COMPILER │
00:04:11 verbose #11644 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:04:11 verbose #11645 > │ #endif │
00:04:11 verbose #11646 > │ type Ref<'T> = class end │
00:04:11 verbose #11647 > │ #if FABLE_COMPILER │
00:04:11 verbose #11648 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:04:11 verbose #11649 > │ #endif │
00:04:11 verbose #11650 > │ type StaticRef<'T> = class end │
00:04:11 verbose #11651 > │ #if FABLE_COMPILER │
00:04:11 verbose #11652 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:04:11 verbose #11653 > │ #endif │
00:04:11 verbose #11654 > │ type MutCell<'T> = class end │
00:04:11 verbose #11655 > │ #if FABLE_COMPILER │
00:04:11 verbose #11656 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:04:11 verbose #11657 > │ #endif │
00:04:11 verbose #11658 > │ type std_any_Any = class end │
00:04:11 verbose #11659 > │ #if FABLE_COMPILER │
00:04:11 verbose #11660 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:04:11 verbose #11661 > │ #endif │
00:04:11 verbose #11662 > │ type std_borrow_Cow<'T> = class end │
00:04:11 verbose #11663 > │ #if FABLE_COMPILER │
00:04:11 verbose #11664 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:04:11 verbose #11665 > │ #endif │
00:04:11 verbose #11666 > │ type std_cell_RefCell<'T> = class end │
00:04:11 verbose #11667 > │ #if FABLE_COMPILER │
00:04:11 verbose #11668 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:04:11 verbose #11669 > │ #endif │
00:04:11 verbose #11670 > │ type std_pin_Pin<'T> = class end │
00:04:11 verbose #11671 > │ #if FABLE_COMPILER │
00:04:11 verbose #11672 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:04:11 verbose #11673 > │ #endif │
00:04:11 verbose #11674 > │ type std_rc_Rc<'T> = class end │
00:04:11 verbose #11675 > │ #if FABLE_COMPILER │
00:04:11 verbose #11676 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:04:11 verbose #11677 > │ #endif │
00:04:11 verbose #11678 > │ type std_rc_Weak<'T> = class end │
00:04:11 verbose #11679 > │ #if FABLE_COMPILER │
00:04:11 verbose #11680 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:04:11 verbose #11681 > │ #endif │
00:04:11 verbose #11682 > │ type Str = class end │
00:04:11 verbose #11683 > │ #if FABLE_COMPILER │
00:04:11 verbose #11684 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:04:11 verbose #11685 > │ #endif │
00:04:11 verbose #11686 > │ type base64_DecodeError = class end │
00:04:11 verbose #11687 > │ #if FABLE_COMPILER │
00:04:11 verbose #11688 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:04:11 verbose #11689 > │ #endif │
00:04:11 verbose #11690 > │ type borsh_io_Error = class end │
00:04:11 verbose #11691 > │ #if FABLE_COMPILER │
00:04:11 verbose #11692 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:04:11 verbose #11693 > │ #endif │
00:04:11 verbose #11694 > │ type js_sys_JsString = class end │
00:04:11 verbose #11695 > │ #if FABLE_COMPILER │
00:04:11 verbose #11696 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:04:11 verbose #11697 > │ #endif │
00:04:11 verbose #11698 > │ type serde_json_Error = class end │
00:04:11 verbose #11699 > │ #if FABLE_COMPILER │
00:04:11 verbose #11700 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:04:11 verbose #11701 > │ #endif │
00:04:11 verbose #11702 > │ type serde_json_Value = class end │
00:04:11 verbose #11703 > │ #if FABLE_COMPILER │
00:04:11 verbose #11704 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:04:11 verbose #11705 > │ #endif │
00:04:11 verbose #11706 > │ type serde_wasm_bindgen_Error = class end │
00:04:11 verbose #11707 > │ #if FABLE_COMPILER │
00:04:11 verbose #11708 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:04:11 verbose #11709 > │ #endif │
00:04:11 verbose #11710 > │ type std_ffi_OsStr = class end │
00:04:11 verbose #11711 > │ #if FABLE_COMPILER │
00:04:11 verbose #11712 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:04:11 verbose #11713 > │ #endif │
00:04:11 verbose #11714 > │ type std_ffi_OsString = class end │
00:04:11 verbose #11715 > │ #if FABLE_COMPILER │
00:04:11 verbose #11716 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:04:11 verbose #11717 > │ #endif │
00:04:11 verbose #11718 > │ type std_fmt_Display<'T> = class end │
00:04:11 verbose #11719 > │ #if FABLE_COMPILER │
00:04:11 verbose #11720 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:04:11 verbose #11721 > │ #endif │
00:04:11 verbose #11722 > │ type std_str_Utf8Error = class end │
00:04:11 verbose #11723 > │ #if FABLE_COMPILER │
00:04:11 verbose #11724 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:04:11 verbose #11725 > │ #endif │
00:04:11 verbose #11726 > │ type std_string_FromUtf8Error = class end │
00:04:11 verbose #11727 > │ #if FABLE_COMPILER │
00:04:11 verbose #11728 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:04:11 verbose #11729 > │ #endif │
00:04:11 verbose #11730 > │ type std_string_String = class end │
00:04:11 verbose #11731 > │ #if FABLE_COMPILER │
00:04:11 verbose #11732 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:04:11 verbose #11733 > │ #endif │
00:04:11 verbose #11734 > │ type std_slice_Windows<'T> = class end │
00:04:11 verbose #11735 > │ #if FABLE_COMPILER │
00:04:11 verbose #11736 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:04:11 verbose #11737 > │ #endif │
00:04:11 verbose #11738 > │ type chrono_DateTime<'T> = class end │
00:04:11 verbose #11739 > │ #if FABLE_COMPILER │
00:04:11 verbose #11740 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:04:11 verbose #11741 > │ #endif │
00:04:11 verbose #11742 > │ type chrono_Local = class end │
00:04:11 verbose #11743 > │ #if FABLE_COMPILER │
00:04:11 verbose #11744 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:04:11 verbose #11745 > │ #endif │
00:04:11 verbose #11746 > │ type chrono_NaiveDateTime = class end │
00:04:11 verbose #11747 > │ #if FABLE_COMPILER │
00:04:11 verbose #11748 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:04:11 verbose #11749 > │ #endif │
00:04:11 verbose #11750 > │ type chrono_Utc = class end │
00:04:11 verbose #11751 > │ #if FABLE_COMPILER │
00:04:11 verbose #11752 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:04:11 verbose #11753 > │ #endif │
00:04:11 verbose #11754 > │ type std_time_Duration = class end │
00:04:11 verbose #11755 > │ #if FABLE_COMPILER │
00:04:11 verbose #11756 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:04:11 verbose #11757 > │ #endif │
00:04:11 verbose #11758 > │ type async_std_io_BufReader<'T> = class end │
00:04:11 verbose #11759 > │ #if FABLE_COMPILER │
00:04:11 verbose #11760 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:04:11 verbose #11761 > │ #endif │
00:04:11 verbose #11762 > │ type std_io_BufReader<'T> = class end │
00:04:11 verbose #11763 > │ #if FABLE_COMPILER │
00:04:11 verbose #11764 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:04:11 verbose #11765 > │ #endif │
00:04:11 verbose #11766 > │ type std_io_Error = class end │
00:04:11 verbose #11767 > │ #if FABLE_COMPILER │
00:04:11 verbose #11768 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:04:11 verbose #11769 > │ #endif │
00:04:11 verbose #11770 > │ type std_io_Lines<'T> = class end │
00:04:11 verbose #11771 > │ #if FABLE_COMPILER │
00:04:11 verbose #11772 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:04:11 verbose #11773 > │ #endif │
00:04:11 verbose #11774 > │ type std_fs_File = class end │
00:04:11 verbose #11775 > │ #if FABLE_COMPILER │
00:04:11 verbose #11776 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:04:11 verbose #11777 > │ #endif │
00:04:11 verbose #11778 > │ type std_fs_FileType = class end │
00:04:11 verbose #11779 > │ #if FABLE_COMPILER │
00:04:11 verbose #11780 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:04:11 verbose #11781 > │ #endif │
00:04:11 verbose #11782 > │ type std_path_Display = class end │
00:04:11 verbose #11783 > │ #if FABLE_COMPILER │
00:04:11 verbose #11784 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:04:11 verbose #11785 > │ #endif │
00:04:11 verbose #11786 > │ type std_path_Path = class end │
00:04:11 verbose #11787 > │ #if FABLE_COMPILER │
00:04:11 verbose #11788 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:04:11 verbose #11789 > │ #endif │
00:04:11 verbose #11790 > │ type std_path_PathBuf = class end │
00:04:11 verbose #11791 > │ #if FABLE_COMPILER │
00:04:11 verbose #11792 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:04:11 verbose #11793 > │ #endif │
00:04:11 verbose #11794 > │ type async_walkdir_DirEntry = class end │
00:04:11 verbose #11795 > │ #if FABLE_COMPILER │
00:04:11 verbose #11796 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:04:11 verbose #11797 > │ #endif │
00:04:11 verbose #11798 > │ type async_walkdir_Filtering = class end │
00:04:11 verbose #11799 > │ #if FABLE_COMPILER │
00:04:11 verbose #11800 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:04:11 verbose #11801 > │ #endif │
00:04:11 verbose #11802 > │ type async_walkdir_WalkDir = class end │
00:04:11 verbose #11803 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:04:11 verbose #11804 > │ string │
00:04:11 verbose #11805 > │ module State = let mutable trace_state = None │
00:04:11 verbose #11806 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:04:11 verbose #11807 > │ member _.Dispose () = f () │
00:04:11 verbose #11808 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:04:11 verbose #11809 > │ #if FABLE_COMPILER │
00:04:11 verbose #11810 > │ [<CompilationRepresentation (CompilationRepresentationFlags.ModuleSuffix)>] │
00:04:11 verbose #11811 > │ module System = │
00:04:11 verbose #11812 > │ module Diagnostics = │
00:04:11 verbose #11813 > │ type Process = unit │
00:04:11 verbose #11814 > │ type DataReceivedEventArgs = unit │
00:04:11 verbose #11815 > │ #endif │
00:04:11 verbose #11816 > │ type [<Struct>] US0 = │
00:04:11 verbose #11817 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:04:11 verbose #11818 > │ | US0_1 │
00:04:11 verbose #11819 > │ and [<Struct>] US1 = │
00:04:11 verbose #11820 > │ | US1_0 of f0_0 : string │
00:04:11 verbose #11821 > │ | US1_1 │
00:04:11 verbose #11822 > │ and [<Struct>] US2 = │
00:04:11 verbose #11823 > │ | US2_0 │
00:04:11 verbose #11824 > │ | US2_1 of f1_0 : std_string_String │
00:04:11 verbose #11825 > │ and [<Struct>] US3 = │
00:04:11 verbose #11826 > │ | US3_0 │
00:04:11 verbose #11827 > │ | US3_1 │
00:04:11 verbose #11828 > │ | US3_2 │
00:04:11 verbose #11829 > │ | US3_3 │
00:04:11 verbose #11830 > │ | US3_4 │
00:04:11 verbose #11831 > │ and Mut0 = {mutable l0 : int64} │
00:04:11 verbose #11832 > │ and Mut1 = {mutable l0 : bool} │
00:04:11 verbose #11833 > │ and Mut2 = {mutable l0 : US3} │
00:04:11 verbose #11834 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:04:11 verbose #11835 > │ and [<Struct>] US4 = │
00:04:11 verbose #11836 > │ | US4_0 of f0_0 : int64 │
00:04:11 verbose #11837 > │ | US4_1 │
00:04:11 verbose #11838 > │ and [<Struct>] US5 = │
00:04:11 verbose #11839 > │ | US5_0 of f0_0 : int64 │
00:04:11 verbose #11840 > │ | US5_1 │
00:04:11 verbose #11841 > │ and Mut4 = {mutable l0 : int32} │
00:04:11 verbose #11842 > │ and UH0 = │
00:04:11 verbose #11843 > │ | UH0_0 │
00:04:11 verbose #11844 > │ | UH0_1 of char * UH0 │
00:04:11 verbose #11845 > │ and [<Struct>] US7 = │
00:04:11 verbose #11846 > │ | US7_0 │
00:04:11 verbose #11847 > │ | US7_1 │
00:04:11 verbose #11848 > │ and [<Struct>] US6 = │
00:04:11 verbose #11849 > │ | US6_0 │
00:04:11 verbose #11850 > │ | US6_1 of f1_0 : US7 │
00:04:11 verbose #11851 > │ | US6_2 │
00:04:11 verbose #11852 > │ and [<Struct>] US8 = │
00:04:11 verbose #11853 > │ | US8_0 of f0_0 : (struct (bool * string * int32) -> Async<unit>) │
00:04:11 verbose #11854 > │ | US8_1 │
00:04:11 verbose #11855 > │ and [<Struct>] US9 = │
00:04:11 verbose #11856 > │ | US9_0 of f0_0 : System.Threading.CancellationToken │
00:04:11 verbose #11857 > │ | US9_1 │
00:04:11 verbose #11858 > │ and [<Struct>] US10 = │
00:04:11 verbose #11859 > │ | US10_0 of f0_0 : int32 * f0_1 : string │
00:04:11 verbose #11860 > │ | US10_1 │
00:04:11 verbose #11861 > │ and [<Struct>] US11 = │
00:04:11 verbose #11862 > │ | US11_0 of f0_0 : int32 * f0_1 : string │
00:04:11 verbose #11863 > │ | US11_1 of f1_0 : exn │
00:04:11 verbose #11864 > │ and [<Struct>] US12 = │
00:04:11 verbose #11865 > │ | US12_0 of f0_0 : int32 * f0_1 : string │
00:04:11 verbose #11866 > │ | US12_1 of f1_0 : exn │
00:04:11 verbose #11867 > │ let rec method2 (v0 : string) : string = │
00:04:11 verbose #11868 > │ v0 │
00:04:11 verbose #11869 > │ and method3 (v0 : string) : string = │
00:04:11 verbose #11870 > │ v0 │
00:04:11 verbose #11871 > │ and method4 (v0 : string) : string = │
00:04:11 verbose #11872 > │ v0 │
00:04:11 verbose #11873 > │ and method1 (v0 : string, v1 : string) : string = │
00:04:11 verbose #11874 > │ let v2 : string option = None │
00:04:11 verbose #11875 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:04:11 verbose #11876 > │ │
00:04:11 verbose #11877 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #11878 > │ │
00:04:11 verbose #11879 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #11880 > │ let v4 : string = method2(v0) │
00:04:11 verbose #11881 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #11882 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:04:11 verbose #11883 > │ let v7 : string = "String::from($0)" │
00:04:11 verbose #11884 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:04:11 verbose #11885 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:04:11 verbose #11886 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:04:11 verbose #11887 > │ let v11 : string = method2(v1) │
00:04:11 verbose #11888 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #11889 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:04:11 verbose #11890 > │ let v14 : string = "String::from($0)" │
00:04:11 verbose #11891 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:04:11 verbose #11892 > │ v14 │
00:04:11 verbose #11893 > │ let v16 : string = "$0.join($1)" │
00:04:11 verbose #11894 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:04:11 verbose #11895 > │ (v10, v15) v16 │
00:04:11 verbose #11896 > │ let v18 : string = "$0.display()" │
00:04:11 verbose #11897 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:04:11 verbose #11898 > │ let v20 : std_string_String option = None │
00:04:11 verbose #11899 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:04:11 verbose #11900 > │ │
00:04:11 verbose #11901 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #11902 > │ │
00:04:11 verbose #11903 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #11904 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:04:11 verbose #11905 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:11 verbose #11906 > │ v22 │
00:04:11 verbose #11907 > │ v23 │
00:04:11 verbose #11908 > │ #endif │
00:04:11 verbose #11909 > │ │
00:04:11 verbose #11910 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #11911 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:04:11 verbose #11912 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:11 verbose #11913 > │ v24 │
00:04:11 verbose #11914 > │ v25 │
00:04:11 verbose #11915 > │ #endif │
00:04:11 verbose #11916 > │ │
00:04:11 verbose #11917 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #11918 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:04:11 verbose #11919 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:11 verbose #11920 > │ v26 │
00:04:11 verbose #11921 > │ v27 │
00:04:11 verbose #11922 > │ #endif │
00:04:11 verbose #11923 > │ │
00:04:11 verbose #11924 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #11925 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:04:11 verbose #11926 > │ v28 │
00:04:11 verbose #11927 > │ #endif │
00:04:11 verbose #11928 > │ │
00:04:11 verbose #11929 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #11930 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:04:11 verbose #11931 > │ v29 │
00:04:11 verbose #11932 > │ #endif │
00:04:11 verbose #11933 > │ │
00:04:11 verbose #11934 > │ #else │
00:04:11 verbose #11935 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:04:11 verbose #11936 > │ v30 │
00:04:11 verbose #11937 > │ #endif │
00:04:11 verbose #11938 > │ |> fun x -> _v20 <- Some x │
00:04:11 verbose #11939 > │ let v31 : std_string_String = _v20.Value │
00:04:11 verbose #11940 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:04:11 verbose #11941 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:04:11 verbose #11942 > │ v33 │
00:04:11 verbose #11943 > │ #endif │
00:04:11 verbose #11944 > │ │
00:04:11 verbose #11945 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #11946 > │ let v34 : string = null |> unbox<string> │
00:04:11 verbose #11947 > │ v34 │
00:04:11 verbose #11948 > │ #endif │
00:04:11 verbose #11949 > │ │
00:04:11 verbose #11950 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #11951 > │ let v35 : string = null |> unbox<string> │
00:04:11 verbose #11952 > │ v35 │
00:04:11 verbose #11953 > │ #endif │
00:04:11 verbose #11954 > │ │
00:04:11 verbose #11955 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #11956 > │ let v36 : string = "path" │
00:04:11 verbose #11957 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:04:11 verbose #11958 > │ let v38 : string = method3(v0) │
00:04:11 verbose #11959 > │ let v39 : string = method4(v1) │
00:04:11 verbose #11960 > │ let v40 : string = "v37.join(v38, v39)" │
00:04:11 verbose #11961 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:04:11 verbose #11962 > │ v41 │
00:04:11 verbose #11963 > │ #endif │
00:04:11 verbose #11964 > │ │
00:04:11 verbose #11965 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #11966 > │ let v42 : string = null |> unbox<string> │
00:04:11 verbose #11967 > │ v42 │
00:04:11 verbose #11968 > │ #endif │
00:04:11 verbose #11969 > │ │
00:04:11 verbose #11970 > │ #else │
00:04:11 verbose #11971 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:04:11 verbose #11972 > │ v43 │
00:04:11 verbose #11973 > │ #endif │
00:04:11 verbose #11974 > │ |> fun x -> _v2 <- Some x │
00:04:11 verbose #11975 > │ let v44 : string = _v2.Value │
00:04:11 verbose #11976 > │ v44 │
00:04:11 verbose #11977 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:04:11 verbose #11978 > │ US0_0(v0) │
00:04:11 verbose #11979 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:04:11 verbose #11980 > │ closure0() │
00:04:11 verbose #11981 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:04:11 verbose #11982 > │ = │
00:04:11 verbose #11983 > │ v0 │
00:04:11 verbose #11984 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:04:11 verbose #11985 > │ chrono_DateTime<chrono_Local> = │
00:04:11 verbose #11986 > │ v0 │
00:04:11 verbose #11987 > │ and method8 () : string = │
00:04:11 verbose #11988 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:04:11 verbose #11989 > │ v0 │
00:04:11 verbose #11990 > │ and method9 () : string = │
00:04:11 verbose #11991 > │ let v0 : string = "hhmm" │
00:04:11 verbose #11992 > │ v0 │
00:04:11 verbose #11993 > │ and method10 (v0 : string) : string = │
00:04:11 verbose #11994 > │ v0 │
00:04:11 verbose #11995 > │ and closure1 () (v0 : std_io_Error) : std_string_String = │
00:04:11 verbose #11996 > │ let v1 : std_string_String option = None │
00:04:11 verbose #11997 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:11 verbose #11998 > │ │
00:04:11 verbose #11999 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12000 > │ │
00:04:11 verbose #12001 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12002 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:04:11 verbose #12003 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:04:11 verbose #12004 > │ v4 │
00:04:11 verbose #12005 > │ #endif │
00:04:11 verbose #12006 > │ │
00:04:11 verbose #12007 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12008 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:04:11 verbose #12009 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:04:11 verbose #12010 > │ v6 │
00:04:11 verbose #12011 > │ #endif │
00:04:11 verbose #12012 > │ │
00:04:11 verbose #12013 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12014 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:04:11 verbose #12015 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:04:11 verbose #12016 > │ v8 │
00:04:11 verbose #12017 > │ #endif │
00:04:11 verbose #12018 > │ │
00:04:11 verbose #12019 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12020 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:04:11 verbose #12021 > │ v9 │
00:04:11 verbose #12022 > │ #endif │
00:04:11 verbose #12023 > │ │
00:04:11 verbose #12024 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12025 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:04:11 verbose #12026 > │ v10 │
00:04:11 verbose #12027 > │ #endif │
00:04:11 verbose #12028 > │ │
00:04:11 verbose #12029 > │ #else │
00:04:11 verbose #12030 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:04:11 verbose #12031 > │ v11 │
00:04:11 verbose #12032 > │ #endif │
00:04:11 verbose #12033 > │ |> fun x -> _v1 <- Some x │
00:04:11 verbose #12034 > │ let v12 : std_string_String = _v1.Value │
00:04:11 verbose #12035 > │ v12 │
00:04:11 verbose #12036 > │ and method11 () : (std_io_Error -> std_string_String) = │
00:04:11 verbose #12037 > │ closure1() │
00:04:11 verbose #12038 > │ and closure2 () () : US2 = │
00:04:11 verbose #12039 > │ US2_0 │
00:04:11 verbose #12040 > │ and closure3 () (v0 : std_string_String) : US2 = │
00:04:11 verbose #12041 > │ US2_1(v0) │
00:04:11 verbose #12042 > │ and closure4 () () : string = │
00:04:11 verbose #12043 > │ let v0 : string = "file_system.create_directory" │
00:04:11 verbose #12044 > │ v0 │
00:04:11 verbose #12045 > │ and closure6 () () : string = │
00:04:11 verbose #12046 > │ let v0 : string = "" │
00:04:11 verbose #12047 > │ v0 │
00:04:11 verbose #12048 > │ and closure5 (v0 : string, v1 : std_string_String) () : string = │
00:04:11 verbose #12049 > │ let v2 : (unit -> string) = closure6() │
00:04:11 verbose #12050 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:04:11 verbose #12051 > │ v3 │
00:04:11 verbose #12052 > │ and closure9 () (v0 : string) : unit = │
00:04:11 verbose #12053 > │ () │
00:04:11 verbose #12054 > │ and method13 (v0 : int64 option) : int64 option = │
00:04:11 verbose #12055 > │ v0 │
00:04:11 verbose #12056 > │ and method14 (v0 : int64 option) : int64 option = │
00:04:11 verbose #12057 > │ v0 │
00:04:11 verbose #12058 > │ and closure8 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:04:11 verbose #12059 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:04:11 verbose #12060 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:04:11 verbose #12061 > │ let v2 : US3 = US3_0 │
00:04:11 verbose #12062 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:04:11 verbose #12063 > │ let v4 : (string -> unit) = closure9() │
00:04:11 verbose #12064 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:04:11 verbose #12065 > │ let v6 : int64 option option = None │
00:04:11 verbose #12066 > │ let mutable _v6 = v6 │
00:04:11 verbose #12067 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:04:11 verbose #12068 > │ let v7 : string option = None │
00:04:11 verbose #12069 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:04:11 verbose #12070 > │ │
00:04:11 verbose #12071 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12072 > │ │
00:04:11 verbose #12073 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12074 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:04:11 verbose #12075 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:04:11 verbose #12076 > │ v10 │
00:04:11 verbose #12077 > │ #endif │
00:04:11 verbose #12078 > │ │
00:04:11 verbose #12079 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12080 > │ let v11 : string = null |> unbox<string> │
00:04:11 verbose #12081 > │ v11 │
00:04:11 verbose #12082 > │ #endif │
00:04:11 verbose #12083 > │ │
00:04:11 verbose #12084 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12085 > │ let v12 : string = null |> unbox<string> │
00:04:11 verbose #12086 > │ v12 │
00:04:11 verbose #12087 > │ #endif │
00:04:11 verbose #12088 > │ │
00:04:11 verbose #12089 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12090 > │ let v13 : string = null |> unbox<string> │
00:04:11 verbose #12091 > │ v13 │
00:04:11 verbose #12092 > │ #endif │
00:04:11 verbose #12093 > │ │
00:04:11 verbose #12094 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12095 > │ let v14 : string = null |> unbox<string> │
00:04:11 verbose #12096 > │ v14 │
00:04:11 verbose #12097 > │ #endif │
00:04:11 verbose #12098 > │ │
00:04:11 verbose #12099 > │ #else │
00:04:11 verbose #12100 > │ let v15 : string = │
00:04:11 verbose #12101 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:04:11 verbose #12102 > │ v15 │
00:04:11 verbose #12103 > │ #endif │
00:04:11 verbose #12104 > │ |> fun x -> _v7 <- Some x │
00:04:11 verbose #12105 > │ let v16 : string = _v7.Value │
00:04:11 verbose #12106 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:04:11 verbose #12107 > │ let v19 : bool = v18 <> true │
00:04:11 verbose #12108 > │ let v25 : US4 = │
00:04:11 verbose #12109 > │ if v19 then │
00:04:11 verbose #12110 > │ let v20 : System.DateTime = System.DateTime.Now │
00:04:11 verbose #12111 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:04:11 verbose #12112 > │ let v22 : int64 = v21 v20 │
00:04:11 verbose #12113 > │ US4_0(v22) │
00:04:11 verbose #12114 > │ else │
00:04:11 verbose #12115 > │ US4_1 │
00:04:11 verbose #12116 > │ let v30 : int64 option = │
00:04:11 verbose #12117 > │ match v25 with │
00:04:11 verbose #12118 > │ | US4_1 -> (* None *) │
00:04:11 verbose #12119 > │ let v28 : int64 option = None │
00:04:11 verbose #12120 > │ v28 │
00:04:11 verbose #12121 > │ | US4_0(v26) -> (* Some *) │
00:04:11 verbose #12122 > │ let v27 : int64 option = Some v26 │
00:04:11 verbose #12123 > │ v27 │
00:04:11 verbose #12124 > │ let v31 : int64 option = method13(v30) │
00:04:11 verbose #12125 > │ v31 │
00:04:11 verbose #12126 > │ #else │
00:04:11 verbose #12127 > │ let v32 : int64 option = None │
00:04:11 verbose #12128 > │ let v33 : int64 option = method14(v32) │
00:04:11 verbose #12129 > │ v33 │
00:04:11 verbose #12130 > │ #endif │
00:04:11 verbose #12131 > │ |> fun x -> _v6 <- Some x │
00:04:11 verbose #12132 > │ let v34 : int64 option = _v6.Value │
00:04:11 verbose #12133 > │ struct (v1, v0, v3, v34, v5) │
00:04:11 verbose #12134 > │ and closure10 () (v0 : int64) : US5 = │
00:04:11 verbose #12135 > │ US5_0(v0) │
00:04:11 verbose #12136 > │ and method15 () : (int64 -> US5) = │
00:04:11 verbose #12137 > │ closure10() │
00:04:11 verbose #12138 > │ and method16 () : string = │
00:04:11 verbose #12139 > │ let v0 : string = "" │
00:04:11 verbose #12140 > │ v0 │
00:04:11 verbose #12141 > │ and closure7 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:04:11 verbose #12142 > │ string = │
00:04:11 verbose #12143 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:04:11 verbose #12144 > │ closure8() │
00:04:11 verbose #12145 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:04:11 verbose #12146 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:04:11 verbose #12147 > │ Mut3) = State.trace_state.Value │
00:04:11 verbose #12148 > │ let v9 : string option = None │
00:04:11 verbose #12149 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:04:11 verbose #12150 > │ │
00:04:11 verbose #12151 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12152 > │ │
00:04:11 verbose #12153 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12154 > │ let v11 : (int64 -> US5) = method15() │
00:04:11 verbose #12155 > │ let v12 : US5 = US5_1 │
00:04:11 verbose #12156 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:04:11 verbose #12157 > │ let v31 : System.DateTime = │
00:04:11 verbose #12158 > │ match v13 with │
00:04:11 verbose #12159 > │ | US5_1 -> (* None *) │
00:04:11 verbose #12160 > │ let v29 : System.DateTime = System.DateTime.Now │
00:04:11 verbose #12161 > │ v29 │
00:04:11 verbose #12162 > │ | US5_0(v14) -> (* Some *) │
00:04:11 verbose #12163 > │ let v15 : System.DateTime = System.DateTime.Now │
00:04:11 verbose #12164 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:04:11 verbose #12165 > │ let v17 : int64 = v16 v15 │
00:04:11 verbose #12166 > │ let v18 : int64 = v17 - v14 │
00:04:11 verbose #12167 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:04:11 verbose #12168 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:04:11 verbose #12169 > │ let v21 : int32 = v20 v19 │
00:04:11 verbose #12170 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:04:11 verbose #12171 > │ let v23 : int32 = v22 v19 │
00:04:11 verbose #12172 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:04:11 verbose #12173 > │ let v25 : int32 = v24 v19 │
00:04:11 verbose #12174 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:04:11 verbose #12175 > │ let v27 : int32 = v26 v19 │
00:04:11 verbose #12176 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:04:11 verbose #12177 > │ v25, v27) │
00:04:11 verbose #12178 > │ v28 │
00:04:11 verbose #12179 > │ let v32 : string = "hh:mm:ss" │
00:04:11 verbose #12180 > │ let v33 : string = v31.ToString v32 │
00:04:11 verbose #12181 > │ v33 │
00:04:11 verbose #12182 > │ #endif │
00:04:11 verbose #12183 > │ │
00:04:11 verbose #12184 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12185 > │ let v34 : string = method16() │
00:04:11 verbose #12186 > │ v34 │
00:04:11 verbose #12187 > │ #endif │
00:04:11 verbose #12188 > │ │
00:04:11 verbose #12189 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12190 > │ let v35 : string = method16() │
00:04:11 verbose #12191 > │ v35 │
00:04:11 verbose #12192 > │ #endif │
00:04:11 verbose #12193 > │ │
00:04:11 verbose #12194 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12195 > │ let v36 : string = method16() │
00:04:11 verbose #12196 > │ v36 │
00:04:11 verbose #12197 > │ #endif │
00:04:11 verbose #12198 > │ │
00:04:11 verbose #12199 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12200 > │ let v37 : string = method16() │
00:04:11 verbose #12201 > │ v37 │
00:04:11 verbose #12202 > │ #endif │
00:04:11 verbose #12203 > │ │
00:04:11 verbose #12204 > │ #else │
00:04:11 verbose #12205 > │ let v38 : (int64 -> US5) = method15() │
00:04:11 verbose #12206 > │ let v39 : US5 = US5_1 │
00:04:11 verbose #12207 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:04:11 verbose #12208 > │ let v58 : System.DateTime = │
00:04:11 verbose #12209 > │ match v40 with │
00:04:11 verbose #12210 > │ | US5_1 -> (* None *) │
00:04:11 verbose #12211 > │ let v56 : System.DateTime = System.DateTime.Now │
00:04:11 verbose #12212 > │ v56 │
00:04:11 verbose #12213 > │ | US5_0(v41) -> (* Some *) │
00:04:11 verbose #12214 > │ let v42 : System.DateTime = System.DateTime.Now │
00:04:11 verbose #12215 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:04:11 verbose #12216 > │ let v44 : int64 = v43 v42 │
00:04:11 verbose #12217 > │ let v45 : int64 = v44 - v41 │
00:04:11 verbose #12218 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:04:11 verbose #12219 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:04:11 verbose #12220 > │ let v48 : int32 = v47 v46 │
00:04:11 verbose #12221 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:04:11 verbose #12222 > │ let v50 : int32 = v49 v46 │
00:04:11 verbose #12223 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:04:11 verbose #12224 > │ let v52 : int32 = v51 v46 │
00:04:11 verbose #12225 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:04:11 verbose #12226 > │ let v54 : int32 = v53 v46 │
00:04:11 verbose #12227 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:04:11 verbose #12228 > │ v52, v54) │
00:04:11 verbose #12229 > │ v55 │
00:04:11 verbose #12230 > │ let v59 : string = "HH:mm:ss" │
00:04:11 verbose #12231 > │ let v60 : string = v58.ToString v59 │
00:04:11 verbose #12232 > │ v60 │
00:04:11 verbose #12233 > │ #endif │
00:04:11 verbose #12234 > │ |> fun x -> _v9 <- Some x │
00:04:11 verbose #12235 > │ let v61 : string = _v9.Value │
00:04:11 verbose #12236 > │ let v62 : int64 = v4.l0 │
00:04:11 verbose #12237 > │ let v72 : string = │
00:04:11 verbose #12238 > │ match v0 with │
00:04:11 verbose #12239 > │ | US3_4 -> (* Critical *) │
00:04:11 verbose #12240 > │ let v67 : string = "Critical" │
00:04:11 verbose #12241 > │ v67 │
00:04:11 verbose #12242 > │ | US3_1 -> (* Debug *) │
00:04:11 verbose #12243 > │ let v64 : string = "Debug" │
00:04:11 verbose #12244 > │ v64 │
00:04:11 verbose #12245 > │ | US3_2 -> (* Info *) │
00:04:11 verbose #12246 > │ let v65 : string = "Info" │
00:04:11 verbose #12247 > │ v65 │
00:04:11 verbose #12248 > │ | US3_0 -> (* Verbose *) │
00:04:11 verbose #12249 > │ let v63 : string = "Verbose" │
00:04:11 verbose #12250 > │ v63 │
00:04:11 verbose #12251 > │ | US3_3 -> (* Warning *) │
00:04:11 verbose #12252 > │ let v66 : string = "Warning" │
00:04:11 verbose #12253 > │ v66 │
00:04:11 verbose #12254 > │ let v73 : string = v72.ToLower () │
00:04:11 verbose #12255 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:04:11 verbose #12256 > │ let v75 : string option = None │
00:04:11 verbose #12257 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:04:11 verbose #12258 > │ │
00:04:11 verbose #12259 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12260 > │ │
00:04:11 verbose #12261 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12262 > │ let v91 : Ref<Str> = │
00:04:11 verbose #12263 > │ match v0 with │
00:04:11 verbose #12264 > │ | US3_4 -> (* Critical *) │
00:04:11 verbose #12265 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:04:11 verbose #12266 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:04:11 verbose #12267 > │ v86 │
00:04:11 verbose #12268 > │ | US3_1 -> (* Debug *) │
00:04:11 verbose #12269 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:04:11 verbose #12270 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:04:11 verbose #12271 > │ v80 │
00:04:11 verbose #12272 > │ | US3_2 -> (* Info *) │
00:04:11 verbose #12273 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:04:11 verbose #12274 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:04:11 verbose #12275 > │ v82 │
00:04:11 verbose #12276 > │ | US3_0 -> (* Verbose *) │
00:04:11 verbose #12277 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:04:11 verbose #12278 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:04:11 verbose #12279 > │ v78 │
00:04:11 verbose #12280 > │ | US3_3 -> (* Warning *) │
00:04:11 verbose #12281 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:04:11 verbose #12282 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:04:11 verbose #12283 > │ v84 │
00:04:11 verbose #12284 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #12285 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:04:11 verbose #12286 > │ let v94 : string = "inline_colorization::color_reset" │
00:04:11 verbose #12287 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:04:11 verbose #12288 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:04:11 verbose #12289 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:04:11 verbose #12290 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:04:11 verbose #12291 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:04:11 verbose #12292 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:04:11 verbose #12293 > │ v100 │
00:04:11 verbose #12294 > │ #endif │
00:04:11 verbose #12295 > │ │
00:04:11 verbose #12296 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12297 > │ let v115 : Ref<Str> = │
00:04:11 verbose #12298 > │ match v0 with │
00:04:11 verbose #12299 > │ | US3_4 -> (* Critical *) │
00:04:11 verbose #12300 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:04:11 verbose #12301 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12302 > │ v109 │
00:04:11 verbose #12303 > │ v110 │
00:04:11 verbose #12304 > │ | US3_1 -> (* Debug *) │
00:04:11 verbose #12305 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:04:11 verbose #12306 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12307 > │ v103 │
00:04:11 verbose #12308 > │ v104 │
00:04:11 verbose #12309 > │ | US3_2 -> (* Info *) │
00:04:11 verbose #12310 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:04:11 verbose #12311 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12312 > │ v105 │
00:04:11 verbose #12313 > │ v106 │
00:04:11 verbose #12314 > │ | US3_0 -> (* Verbose *) │
00:04:11 verbose #12315 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:04:11 verbose #12316 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12317 > │ v101 │
00:04:11 verbose #12318 > │ v102 │
00:04:11 verbose #12319 > │ | US3_3 -> (* Warning *) │
00:04:11 verbose #12320 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:04:11 verbose #12321 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12322 > │ v107 │
00:04:11 verbose #12323 > │ v108 │
00:04:11 verbose #12324 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #12325 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:04:11 verbose #12326 > │ let v118 : string = "inline_colorization::color_reset" │
00:04:11 verbose #12327 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:04:11 verbose #12328 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:04:11 verbose #12329 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:04:11 verbose #12330 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12331 > │ v121 │
00:04:11 verbose #12332 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:04:11 verbose #12333 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:04:11 verbose #12334 > │ v124 │
00:04:11 verbose #12335 > │ #endif │
00:04:11 verbose #12336 > │ │
00:04:11 verbose #12337 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12338 > │ let v139 : Ref<Str> = │
00:04:11 verbose #12339 > │ match v0 with │
00:04:11 verbose #12340 > │ | US3_4 -> (* Critical *) │
00:04:11 verbose #12341 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:04:11 verbose #12342 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12343 > │ v133 │
00:04:11 verbose #12344 > │ v134 │
00:04:11 verbose #12345 > │ | US3_1 -> (* Debug *) │
00:04:11 verbose #12346 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:04:11 verbose #12347 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12348 > │ v127 │
00:04:11 verbose #12349 > │ v128 │
00:04:11 verbose #12350 > │ | US3_2 -> (* Info *) │
00:04:11 verbose #12351 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:04:11 verbose #12352 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12353 > │ v129 │
00:04:11 verbose #12354 > │ v130 │
00:04:11 verbose #12355 > │ | US3_0 -> (* Verbose *) │
00:04:11 verbose #12356 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:04:11 verbose #12357 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12358 > │ v125 │
00:04:11 verbose #12359 > │ v126 │
00:04:11 verbose #12360 > │ | US3_3 -> (* Warning *) │
00:04:11 verbose #12361 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:04:11 verbose #12362 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12363 > │ v131 │
00:04:11 verbose #12364 > │ v132 │
00:04:11 verbose #12365 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #12366 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:04:11 verbose #12367 > │ let v142 : string = "inline_colorization::color_reset" │
00:04:11 verbose #12368 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:04:11 verbose #12369 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:04:11 verbose #12370 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:04:11 verbose #12371 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:04:11 verbose #12372 > │ v145 │
00:04:11 verbose #12373 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:04:11 verbose #12374 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:04:11 verbose #12375 > │ v148 │
00:04:11 verbose #12376 > │ #endif │
00:04:11 verbose #12377 > │ │
00:04:11 verbose #12378 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12379 > │ v74 │
00:04:11 verbose #12380 > │ #endif │
00:04:11 verbose #12381 > │ │
00:04:11 verbose #12382 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12383 > │ v74 │
00:04:11 verbose #12384 > │ #endif │
00:04:11 verbose #12385 > │ │
00:04:11 verbose #12386 > │ #else │
00:04:11 verbose #12387 > │ v74 │
00:04:11 verbose #12388 > │ #endif │
00:04:11 verbose #12389 > │ |> fun x -> _v75 <- Some x │
00:04:11 verbose #12390 > │ let v149 : string = _v75.Value │
00:04:11 verbose #12391 > │ let v150 : string = v1 () │
00:04:11 verbose #12392 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:04:11 verbose #12393 > │ let v152 : (char []) = [||] │
00:04:11 verbose #12394 > │ let v153 : string = v151.TrimStart v152 │
00:04:11 verbose #12395 > │ let v154 : (char []) = [|' '; '/'|] │
00:04:11 verbose #12396 > │ let v155 : string = v153.TrimEnd v154 │
00:04:11 verbose #12397 > │ v155 │
00:04:11 verbose #12398 > │ and method17 (v0 : US3, v1 : (unit -> string)) : unit = │
00:04:11 verbose #12399 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:04:11 verbose #12400 > │ closure8() │
00:04:11 verbose #12401 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:04:11 verbose #12402 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:04:11 verbose #12403 > │ Mut3) = State.trace_state.Value │
00:04:11 verbose #12404 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:04:11 verbose #12405 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:04:11 verbose #12406 > │ Mut3) = State.trace_state.Value │
00:04:11 verbose #12407 > │ let v13 : US3 = v10.l0 │
00:04:11 verbose #12408 > │ let v14 : bool = v9.l0 │
00:04:11 verbose #12409 > │ let v15 : bool = v14 = false │
00:04:11 verbose #12410 > │ let v19 : bool = │
00:04:11 verbose #12411 > │ if v15 then │
00:04:11 verbose #12412 > │ false │
00:04:11 verbose #12413 > │ else │
00:04:11 verbose #12414 > │ let v16 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:04:11 verbose #12415 > │ US3_4, 4 ] |> Map |> Map.find v0 │
00:04:11 verbose #12416 > │ let v17 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:04:11 verbose #12417 > │ US3_4, 4 ] |> Map |> Map.find v13 │
00:04:11 verbose #12418 > │ let v18 : bool = v16 >= v17 │
00:04:11 verbose #12419 > │ v18 │
00:04:11 verbose #12420 > │ if v19 then │
00:04:11 verbose #12421 > │ let v20 : int64 = v3.l0 │
00:04:11 verbose #12422 > │ let v21 : int64 = v20 + 1L │
00:04:11 verbose #12423 > │ v3.l0 <- v21 │
00:04:11 verbose #12424 > │ let v22 : string = $"%s{v1 ()}" │
00:04:11 verbose #12425 > │ let v23 : unit option = None │
00:04:11 verbose #12426 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:04:11 verbose #12427 > │ │
00:04:11 verbose #12428 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12429 > │ │
00:04:11 verbose #12430 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12431 > │ let v25 : string = @"println!(""{}"", $0)" │
00:04:11 verbose #12432 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:04:11 verbose #12433 > │ () │
00:04:11 verbose #12434 > │ #endif │
00:04:11 verbose #12435 > │ │
00:04:11 verbose #12436 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12437 > │ let v26 : string = @"println!(""{}"", $0)" │
00:04:11 verbose #12438 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:04:11 verbose #12439 > │ () │
00:04:11 verbose #12440 > │ #endif │
00:04:11 verbose #12441 > │ │
00:04:11 verbose #12442 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12443 > │ let v27 : string = @"println!(""{}"", $0)" │
00:04:11 verbose #12444 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:04:11 verbose #12445 > │ () │
00:04:11 verbose #12446 > │ #endif │
00:04:11 verbose #12447 > │ │
00:04:11 verbose #12448 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12449 > │ System.Console.WriteLine v22 │
00:04:11 verbose #12450 > │ () │
00:04:11 verbose #12451 > │ #endif │
00:04:11 verbose #12452 > │ │
00:04:11 verbose #12453 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12454 > │ System.Console.WriteLine v22 │
00:04:11 verbose #12455 > │ () │
00:04:11 verbose #12456 > │ #endif │
00:04:11 verbose #12457 > │ │
00:04:11 verbose #12458 > │ #else │
00:04:11 verbose #12459 > │ System.Console.WriteLine v22 │
00:04:11 verbose #12460 > │ () │
00:04:11 verbose #12461 > │ #endif │
00:04:11 verbose #12462 > │ |> fun x -> _v23 <- Some x │
00:04:11 verbose #12463 > │ _v23.Value │
00:04:11 verbose #12464 > │ let v28 : (string -> unit) = v7.l0 │
00:04:11 verbose #12465 > │ v28 v22 │
00:04:11 verbose #12466 > │ and method12 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:04:11 verbose #12467 > │ = │
00:04:11 verbose #12468 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:04:11 verbose #12469 > │ method17(v0, v3) │
00:04:11 verbose #12470 > │ and closure11 () () : string = │
00:04:11 verbose #12471 > │ let v0 : string = "file_system.create_directory" │
00:04:11 verbose #12472 > │ v0 │
00:04:11 verbose #12473 > │ and closure12 (v0 : string) () : string = │
00:04:11 verbose #12474 > │ let v1 : (unit -> string) = closure6() │
00:04:11 verbose #12475 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:04:11 verbose #12476 > │ v2 │
00:04:11 verbose #12477 > │ and method18 (v0 : string) : string = │
00:04:11 verbose #12478 > │ v0 │
00:04:11 verbose #12479 > │ and closure13 (v0 : string) () : unit = │
00:04:11 verbose #12480 > │ let v1 : unit option = None │
00:04:11 verbose #12481 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:11 verbose #12482 > │ │
00:04:11 verbose #12483 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12484 > │ │
00:04:11 verbose #12485 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12486 > │ let v3 : string = method18(v0) │
00:04:11 verbose #12487 > │ let v4 : bool option = None │
00:04:11 verbose #12488 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:04:11 verbose #12489 > │ │
00:04:11 verbose #12490 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12491 > │ │
00:04:11 verbose #12492 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12493 > │ let v6 : string = method2(v3) │
00:04:11 verbose #12494 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #12495 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:04:11 verbose #12496 > │ let v9 : string = "String::from($0)" │
00:04:11 verbose #12497 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:04:11 verbose #12498 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:04:11 verbose #12499 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:04:11 verbose #12500 > │ let v13 : string = "$0.exists()" │
00:04:11 verbose #12501 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:04:11 verbose #12502 > │ let v17 : bool = │
00:04:11 verbose #12503 > │ if v14 then │
00:04:11 verbose #12504 > │ let v15 : string = "$0.is_dir()" │
00:04:11 verbose #12505 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:04:11 verbose #12506 > │ v16 │
00:04:11 verbose #12507 > │ else │
00:04:11 verbose #12508 > │ false │
00:04:11 verbose #12509 > │ v17 │
00:04:11 verbose #12510 > │ #endif │
00:04:11 verbose #12511 > │ │
00:04:11 verbose #12512 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12513 > │ let v18 : bool = null |> unbox<bool> │
00:04:11 verbose #12514 > │ v18 │
00:04:11 verbose #12515 > │ #endif │
00:04:11 verbose #12516 > │ │
00:04:11 verbose #12517 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12518 > │ let v19 : bool = null |> unbox<bool> │
00:04:11 verbose #12519 > │ v19 │
00:04:11 verbose #12520 > │ #endif │
00:04:11 verbose #12521 > │ │
00:04:11 verbose #12522 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12523 > │ let v20 : string = "fs" │
00:04:11 verbose #12524 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:04:11 verbose #12525 > │ let v22 : string = "v21.existsSync($0)" │
00:04:11 verbose #12526 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:04:11 verbose #12527 > │ v23 │
00:04:11 verbose #12528 > │ #endif │
00:04:11 verbose #12529 > │ │
00:04:11 verbose #12530 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12531 > │ let v24 : bool = null |> unbox<bool> │
00:04:11 verbose #12532 > │ v24 │
00:04:11 verbose #12533 > │ #endif │
00:04:11 verbose #12534 > │ │
00:04:11 verbose #12535 > │ #else │
00:04:11 verbose #12536 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:04:11 verbose #12537 > │ let v26 : bool = v25 v3 │
00:04:11 verbose #12538 > │ v26 │
00:04:11 verbose #12539 > │ #endif │
00:04:11 verbose #12540 > │ |> fun x -> _v4 <- Some x │
00:04:11 verbose #12541 > │ let v27 : bool = _v4.Value │
00:04:11 verbose #12542 > │ if v27 then │
00:04:11 verbose #12543 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:04:11 verbose #12544 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:04:11 verbose #12545 > │ () │
00:04:11 verbose #12546 > │ () │
00:04:11 verbose #12547 > │ #endif │
00:04:11 verbose #12548 > │ │
00:04:11 verbose #12549 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12550 > │ null |> unbox<unit> │
00:04:11 verbose #12551 > │ () │
00:04:11 verbose #12552 > │ #endif │
00:04:11 verbose #12553 > │ │
00:04:11 verbose #12554 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12555 > │ null |> unbox<unit> │
00:04:11 verbose #12556 > │ () │
00:04:11 verbose #12557 > │ #endif │
00:04:11 verbose #12558 > │ │
00:04:11 verbose #12559 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12560 > │ null |> unbox<unit> │
00:04:11 verbose #12561 > │ () │
00:04:11 verbose #12562 > │ #endif │
00:04:11 verbose #12563 > │ │
00:04:11 verbose #12564 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12565 > │ null |> unbox<unit> │
00:04:11 verbose #12566 > │ () │
00:04:11 verbose #12567 > │ #endif │
00:04:11 verbose #12568 > │ │
00:04:11 verbose #12569 > │ #else │
00:04:11 verbose #12570 > │ System.IO.Directory.Delete (v0, true) │
00:04:11 verbose #12571 > │ () │
00:04:11 verbose #12572 > │ #endif │
00:04:11 verbose #12573 > │ |> fun x -> _v1 <- Some x │
00:04:11 verbose #12574 > │ _v1.Value │
00:04:11 verbose #12575 > │ () │
00:04:11 verbose #12576 > │ and method19 (v0 : string) : (unit -> unit) = │
00:04:11 verbose #12577 > │ closure13(v0) │
00:04:11 verbose #12578 > │ and closure14 () () : string = │
00:04:11 verbose #12579 > │ let v0 : string = "file_system.create_directory" │
00:04:11 verbose #12580 > │ v0 │
00:04:11 verbose #12581 > │ and closure15 (v0 : string, v1 : string) () : string = │
00:04:11 verbose #12582 > │ let v2 : (unit -> string) = closure6() │
00:04:11 verbose #12583 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:04:11 verbose #12584 > │ v3 │
00:04:11 verbose #12585 > │ and closure17 () () : string = │
00:04:11 verbose #12586 > │ let v0 : string = "file_system.delete_directory_async" │
00:04:11 verbose #12587 > │ v0 │
00:04:11 verbose #12588 > │ and closure19 () (v0 : string) : string = │
00:04:11 verbose #12589 > │ let v1 : string option = None │
00:04:11 verbose #12590 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:11 verbose #12591 > │ │
00:04:11 verbose #12592 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12593 > │ │
00:04:11 verbose #12594 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12595 > │ let v3 : string = method2(v0) │
00:04:11 verbose #12596 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #12597 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:04:11 verbose #12598 > │ let v6 : string = "String::from($0)" │
00:04:11 verbose #12599 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:04:11 verbose #12600 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:04:11 verbose #12601 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:04:11 verbose #12602 > │ let v10 : string = "$0.file_name()" │
00:04:11 verbose #12603 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:04:11 verbose #12604 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:04:11 verbose #12605 > │ let v12 : string = "$0.unwrap()" │
00:04:11 verbose #12606 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:04:11 verbose #12607 > │ v12 │
00:04:11 verbose #12608 > │ let v14 : string = "$0.to_os_string()" │
00:04:11 verbose #12609 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:04:11 verbose #12610 > │ let v16 : string = "$0.to_str()" │
00:04:11 verbose #12611 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:04:11 verbose #12612 > │ let v18 : string = "$0.unwrap()" │
00:04:11 verbose #12613 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:04:11 verbose #12614 > │ let v20 : string = "String::from($0)" │
00:04:11 verbose #12615 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:04:11 verbose #12616 > │ v20 │
00:04:11 verbose #12617 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:04:11 verbose #12618 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:04:11 verbose #12619 > │ v23 │
00:04:11 verbose #12620 > │ #endif │
00:04:11 verbose #12621 > │ │
00:04:11 verbose #12622 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12623 > │ let v24 : string = null |> unbox<string> │
00:04:11 verbose #12624 > │ v24 │
00:04:11 verbose #12625 > │ #endif │
00:04:11 verbose #12626 > │ │
00:04:11 verbose #12627 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12628 > │ let v25 : string = null |> unbox<string> │
00:04:11 verbose #12629 > │ v25 │
00:04:11 verbose #12630 > │ #endif │
00:04:11 verbose #12631 > │ │
00:04:11 verbose #12632 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12633 > │ let v26 : string = null |> unbox<string> │
00:04:11 verbose #12634 > │ v26 │
00:04:11 verbose #12635 > │ #endif │
00:04:11 verbose #12636 > │ │
00:04:11 verbose #12637 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12638 > │ let v27 : string = null |> unbox<string> │
00:04:11 verbose #12639 > │ v27 │
00:04:11 verbose #12640 > │ #endif │
00:04:11 verbose #12641 > │ │
00:04:11 verbose #12642 > │ #else │
00:04:11 verbose #12643 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:04:11 verbose #12644 > │ let v29 : string = v28 v0 │
00:04:11 verbose #12645 > │ v29 │
00:04:11 verbose #12646 > │ #endif │
00:04:11 verbose #12647 > │ |> fun x -> _v1 <- Some x │
00:04:11 verbose #12648 > │ let v30 : string = _v1.Value │
00:04:11 verbose #12649 > │ v30 │
00:04:11 verbose #12650 > │ and closure18 (v0 : string, v1 : string) () : string = │
00:04:11 verbose #12651 > │ let v2 : (string -> string) = closure19() │
00:04:11 verbose #12652 > │ let v3 : (unit -> string) = closure6() │
00:04:11 verbose #12653 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:04:11 verbose #12654 > │ v4 │
00:04:11 verbose #12655 > │ and method20 (v0 : string, v1 : int64) : Async<int64> = │
00:04:11 verbose #12656 > │ let v2 : Async<int64> option = None │
00:04:11 verbose #12657 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:04:11 verbose #12658 > │ │
00:04:11 verbose #12659 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12660 > │ │
00:04:11 verbose #12661 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12662 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:04:11 verbose #12663 > │ v4 │
00:04:11 verbose #12664 > │ #endif │
00:04:11 verbose #12665 > │ │
00:04:11 verbose #12666 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12667 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:04:11 verbose #12668 > │ v5 │
00:04:11 verbose #12669 > │ #endif │
00:04:11 verbose #12670 > │ │
00:04:11 verbose #12671 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12672 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:04:11 verbose #12673 > │ v6 │
00:04:11 verbose #12674 > │ #endif │
00:04:11 verbose #12675 > │ │
00:04:11 verbose #12676 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12677 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:04:11 verbose #12678 > │ v7 │
00:04:11 verbose #12679 > │ #endif │
00:04:11 verbose #12680 > │ │
00:04:11 verbose #12681 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12682 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:04:11 verbose #12683 > │ v8 │
00:04:11 verbose #12684 > │ #endif │
00:04:11 verbose #12685 > │ │
00:04:11 verbose #12686 > │ #else │
00:04:11 verbose #12687 > │ let v9 : Async<int64> option = None │
00:04:11 verbose #12688 > │ let mutable _v9 = v9 │
00:04:11 verbose #12689 > │ async { │
00:04:11 verbose #12690 > │ try │
00:04:11 verbose #12691 > │ let v10 : unit option = None │
00:04:11 verbose #12692 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:04:11 verbose #12693 > │ │
00:04:11 verbose #12694 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12695 > │ │
00:04:11 verbose #12696 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12697 > │ let v12 : string = method18(v0) │
00:04:11 verbose #12698 > │ let v13 : bool option = None │
00:04:11 verbose #12699 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:04:11 verbose #12700 > │ │
00:04:11 verbose #12701 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:11 verbose #12702 > │ │
00:04:11 verbose #12703 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:11 verbose #12704 > │ let v15 : string = method2(v12) │
00:04:11 verbose #12705 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:04:11 verbose #12706 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:04:11 verbose #12707 > │ let v18 : string = "String::from($0)" │
00:04:11 verbose #12708 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:11 verbose #12709 > │ v18 │
00:04:11 verbose #12710 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:04:11 verbose #12711 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:04:11 verbose #12712 > │ let v22 : string = "$0.exists()" │
00:04:11 verbose #12713 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:04:11 verbose #12714 > │ let v26 : bool = │
00:04:11 verbose #12715 > │ if v23 then │
00:04:11 verbose #12716 > │ let v24 : string = "$0.is_dir()" │
00:04:11 verbose #12717 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:04:11 verbose #12718 > │ v25 │
00:04:11 verbose #12719 > │ else │
00:04:11 verbose #12720 > │ false │
00:04:11 verbose #12721 > │ v26 │
00:04:11 verbose #12722 > │ #endif │
00:04:11 verbose #12723 > │ │
00:04:11 verbose #12724 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12725 > │ let v27 : bool = null |> unbox<bool> │
00:04:11 verbose #12726 > │ v27 │
00:04:11 verbose #12727 > │ #endif │
00:04:11 verbose #12728 > │ │
00:04:11 verbose #12729 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:11 verbose #12730 > │ let v28 : bool = null |> unbox<bool> │
00:04:11 verbose #12731 > │ v28 │
00:04:11 verbose #12732 > │ #endif │
00:04:11 verbose #12733 > │ │
00:04:11 verbose #12734 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:11 verbose #12735 > │ let v29 : string = "fs" │
00:04:11 verbose #12736 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:04:11 verbose #12737 > │ let v31 : string = "v30.existsSync($0)" │
00:04:11 verbose #12738 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:04:11 verbose #12739 > │ v32 │
00:04:11 verbose #12740 > │ #endif │
00:04:11 verbose #12741 > │ │
00:04:11 verbose #12742 > │ #if FABLE_COMPILER_PYTHON │
00:04:11 verbose #12743 > │ let v33 : bool = null |> unbox<bool> │
00:04:11 verbose #12744 > │ v33 │
00:04:11 verbose #12745 > │ #endif │
00:04:11 verbose #12746 > │ │
00:04:11 verbose #12747 > │ #else │
00:04:11 verbose #12748 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:04:11 verbose #12749 > │ let v35 : bool = v34 v12 │
00:04:11 verbose #12750 > │ v35 │
00:04:11 verbose #12751 > │ #endif │
00:04:11 verbose #12752 > │ |> fun x -> _v13 <- Some x │
00:04:11 verbose #12753 > │ let v36 : bool = _v13.Value │
00:04:11 verbose #12754 > │ if v36 then │
00:04:11 verbose #12755 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:04:11 verbose #12756 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:04:11 verbose #12757 > │ () │
00:04:11 verbose #12758 > │ () │
00:04:11 verbose #12759 > │ #endif │
00:04:11 verbose #12760 > │ │
00:04:11 verbose #12761 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:11 verbose #12762 > │ null |> unbox<unit> │
00:04:11 verbose #12763 > │ () │
00:04:11 verbose #12764 > │ #endif │
00:04:11 verbose #12765 > │ │
00:04:11 verbose #12766 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #12767 > │ null |> unbox<unit> │
00:04:12 verbose #12768 > │ () │
00:04:12 verbose #12769 > │ #endif │
00:04:12 verbose #12770 > │ │
00:04:12 verbose #12771 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #12772 > │ null |> unbox<unit> │
00:04:12 verbose #12773 > │ () │
00:04:12 verbose #12774 > │ #endif │
00:04:12 verbose #12775 > │ │
00:04:12 verbose #12776 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #12777 > │ null |> unbox<unit> │
00:04:12 verbose #12778 > │ () │
00:04:12 verbose #12779 > │ #endif │
00:04:12 verbose #12780 > │ │
00:04:12 verbose #12781 > │ #else │
00:04:12 verbose #12782 > │ System.IO.Directory.Delete (v0, true) │
00:04:12 verbose #12783 > │ () │
00:04:12 verbose #12784 > │ #endif │
00:04:12 verbose #12785 > │ |> fun x -> _v10 <- Some x │
00:04:12 verbose #12786 > │ _v10.Value │
00:04:12 verbose #12787 > │ return v1 │
00:04:12 verbose #12788 > │ with ex -> │
00:04:12 verbose #12789 > │ let v38 : exn = ex │
00:04:12 verbose #12790 > │ let v39 : int64 = v1 % 100L │
00:04:12 verbose #12791 > │ let v40 : bool = v39 = 0L │
00:04:12 verbose #12792 > │ if v40 then │
00:04:12 verbose #12793 > │ let v41 : string option = None │
00:04:12 verbose #12794 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:04:12 verbose #12795 > │ │
00:04:12 verbose #12796 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #12797 > │ │
00:04:12 verbose #12798 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #12799 > │ let v43 : string = $"%A{v38}" │
00:04:12 verbose #12800 > │ v43 │
00:04:12 verbose #12801 > │ #endif │
00:04:12 verbose #12802 > │ │
00:04:12 verbose #12803 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #12804 > │ let v44 : string = $"%A{v38}" │
00:04:12 verbose #12805 > │ v44 │
00:04:12 verbose #12806 > │ #endif │
00:04:12 verbose #12807 > │ │
00:04:12 verbose #12808 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #12809 > │ let v45 : string = $"%A{v38}" │
00:04:12 verbose #12810 > │ v45 │
00:04:12 verbose #12811 > │ #endif │
00:04:12 verbose #12812 > │ │
00:04:12 verbose #12813 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #12814 > │ let v46 : string = $"%A{v38}" │
00:04:12 verbose #12815 > │ v46 │
00:04:12 verbose #12816 > │ #endif │
00:04:12 verbose #12817 > │ │
00:04:12 verbose #12818 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #12819 > │ let v47 : string = $"%A{v38}" │
00:04:12 verbose #12820 > │ v47 │
00:04:12 verbose #12821 > │ #endif │
00:04:12 verbose #12822 > │ │
00:04:12 verbose #12823 > │ #else │
00:04:12 verbose #12824 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:04:12 verbose #12825 > │ v48 │
00:04:12 verbose #12826 > │ #endif │
00:04:12 verbose #12827 > │ |> fun x -> _v41 <- Some x │
00:04:12 verbose #12828 > │ let v49 : string = _v41.Value │
00:04:12 verbose #12829 > │ let v50 : US3 = US3_1 │
00:04:12 verbose #12830 > │ let v51 : (unit -> string) = closure17() │
00:04:12 verbose #12831 > │ let v52 : (unit -> string) = closure18(v0, v49) │
00:04:12 verbose #12832 > │ method12(v50, v51, v52) │
00:04:12 verbose #12833 > │ let v53 : Async<unit> option = None │
00:04:12 verbose #12834 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:04:12 verbose #12835 > │ │
00:04:12 verbose #12836 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #12837 > │ │
00:04:12 verbose #12838 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #12839 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12840 > │ v55 │
00:04:12 verbose #12841 > │ #endif │
00:04:12 verbose #12842 > │ │
00:04:12 verbose #12843 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #12844 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12845 > │ v56 │
00:04:12 verbose #12846 > │ #endif │
00:04:12 verbose #12847 > │ │
00:04:12 verbose #12848 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #12849 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12850 > │ v57 │
00:04:12 verbose #12851 > │ #endif │
00:04:12 verbose #12852 > │ │
00:04:12 verbose #12853 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #12854 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12855 > │ v58 │
00:04:12 verbose #12856 > │ #endif │
00:04:12 verbose #12857 > │ │
00:04:12 verbose #12858 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #12859 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12860 > │ v59 │
00:04:12 verbose #12861 > │ #endif │
00:04:12 verbose #12862 > │ │
00:04:12 verbose #12863 > │ #else │
00:04:12 verbose #12864 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:04:12 verbose #12865 > │ let v61 : Async<unit> = v60 10 │
00:04:12 verbose #12866 > │ v61 │
00:04:12 verbose #12867 > │ #endif │
00:04:12 verbose #12868 > │ |> fun x -> _v53 <- Some x │
00:04:12 verbose #12869 > │ let v62 : Async<unit> = _v53.Value │
00:04:12 verbose #12870 > │ do! v62 │
00:04:12 verbose #12871 > │ let v63 : int64 = v1 + 1L │
00:04:12 verbose #12872 > │ let v64 : Async<int64> = method20(v0, v63) │
00:04:12 verbose #12873 > │ return! v64 │
00:04:12 verbose #12874 > │ (* │
00:04:12 verbose #12875 > │ let v65 : int64 = *) │
00:04:12 verbose #12876 > │ } │
00:04:12 verbose #12877 > │ |> fun x -> _v9 <- Some x │
00:04:12 verbose #12878 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:04:12 verbose #12879 > │ v66 │
00:04:12 verbose #12880 > │ #endif │
00:04:12 verbose #12881 > │ |> fun x -> _v2 <- Some x │
00:04:12 verbose #12882 > │ let v67 : Async<int64> = _v2.Value │
00:04:12 verbose #12883 > │ v67 │
00:04:12 verbose #12884 > │ and closure16 (v0 : string) () : unit = │
00:04:12 verbose #12885 > │ let v1 : Async<int64> option = None │
00:04:12 verbose #12886 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:12 verbose #12887 > │ │
00:04:12 verbose #12888 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #12889 > │ │
00:04:12 verbose #12890 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #12891 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:04:12 verbose #12892 > │ v3 │
00:04:12 verbose #12893 > │ #endif │
00:04:12 verbose #12894 > │ │
00:04:12 verbose #12895 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #12896 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:04:12 verbose #12897 > │ v4 │
00:04:12 verbose #12898 > │ #endif │
00:04:12 verbose #12899 > │ │
00:04:12 verbose #12900 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #12901 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:04:12 verbose #12902 > │ v5 │
00:04:12 verbose #12903 > │ #endif │
00:04:12 verbose #12904 > │ │
00:04:12 verbose #12905 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #12906 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:04:12 verbose #12907 > │ v6 │
00:04:12 verbose #12908 > │ #endif │
00:04:12 verbose #12909 > │ │
00:04:12 verbose #12910 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #12911 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:04:12 verbose #12912 > │ v7 │
00:04:12 verbose #12913 > │ #endif │
00:04:12 verbose #12914 > │ │
00:04:12 verbose #12915 > │ #else │
00:04:12 verbose #12916 > │ let v8 : int64 = 0L │
00:04:12 verbose #12917 > │ let v9 : Async<int64> = method20(v0, v8) │
00:04:12 verbose #12918 > │ v9 │
00:04:12 verbose #12919 > │ #endif │
00:04:12 verbose #12920 > │ |> fun x -> _v1 <- Some x │
00:04:12 verbose #12921 > │ let v10 : Async<int64> = _v1.Value │
00:04:12 verbose #12922 > │ let v11 : Async<unit> option = None │
00:04:12 verbose #12923 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:04:12 verbose #12924 > │ │
00:04:12 verbose #12925 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #12926 > │ │
00:04:12 verbose #12927 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #12928 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12929 > │ v13 │
00:04:12 verbose #12930 > │ #endif │
00:04:12 verbose #12931 > │ │
00:04:12 verbose #12932 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #12933 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12934 > │ v14 │
00:04:12 verbose #12935 > │ #endif │
00:04:12 verbose #12936 > │ │
00:04:12 verbose #12937 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #12938 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12939 > │ v15 │
00:04:12 verbose #12940 > │ #endif │
00:04:12 verbose #12941 > │ │
00:04:12 verbose #12942 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #12943 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12944 > │ v16 │
00:04:12 verbose #12945 > │ #endif │
00:04:12 verbose #12946 > │ │
00:04:12 verbose #12947 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #12948 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #12949 > │ v17 │
00:04:12 verbose #12950 > │ #endif │
00:04:12 verbose #12951 > │ │
00:04:12 verbose #12952 > │ #else │
00:04:12 verbose #12953 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:04:12 verbose #12954 > │ let v19 : Async<unit> = v18 v10 │
00:04:12 verbose #12955 > │ v19 │
00:04:12 verbose #12956 > │ #endif │
00:04:12 verbose #12957 > │ |> fun x -> _v11 <- Some x │
00:04:12 verbose #12958 > │ let v20 : Async<unit> = _v11.Value │
00:04:12 verbose #12959 > │ let v21 : unit option = None │
00:04:12 verbose #12960 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:04:12 verbose #12961 > │ │
00:04:12 verbose #12962 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #12963 > │ │
00:04:12 verbose #12964 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #12965 > │ null |> unbox<unit> │
00:04:12 verbose #12966 > │ () │
00:04:12 verbose #12967 > │ #endif │
00:04:12 verbose #12968 > │ │
00:04:12 verbose #12969 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #12970 > │ null |> unbox<unit> │
00:04:12 verbose #12971 > │ () │
00:04:12 verbose #12972 > │ #endif │
00:04:12 verbose #12973 > │ │
00:04:12 verbose #12974 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #12975 > │ null |> unbox<unit> │
00:04:12 verbose #12976 > │ () │
00:04:12 verbose #12977 > │ #endif │
00:04:12 verbose #12978 > │ │
00:04:12 verbose #12979 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #12980 > │ null |> unbox<unit> │
00:04:12 verbose #12981 > │ () │
00:04:12 verbose #12982 > │ #endif │
00:04:12 verbose #12983 > │ │
00:04:12 verbose #12984 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #12985 > │ null |> unbox<unit> │
00:04:12 verbose #12986 > │ () │
00:04:12 verbose #12987 > │ #endif │
00:04:12 verbose #12988 > │ │
00:04:12 verbose #12989 > │ #else │
00:04:12 verbose #12990 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:04:12 verbose #12991 > │ v23 v20 │
00:04:12 verbose #12992 > │ () │
00:04:12 verbose #12993 > │ #endif │
00:04:12 verbose #12994 > │ |> fun x -> _v21 <- Some x │
00:04:12 verbose #12995 > │ _v21.Value │
00:04:12 verbose #12996 > │ () │
00:04:12 verbose #12997 > │ and method21 (v0 : string) : (unit -> unit) = │
00:04:12 verbose #12998 > │ closure16(v0) │
00:04:12 verbose #12999 > │ and closure20 () () : string = │
00:04:12 verbose #13000 > │ let v0 : string = "1" │
00:04:12 verbose #13001 > │ v0 │
00:04:12 verbose #13002 > │ and method22 () : struct (string * string) = │
00:04:12 verbose #13003 > │ let v0 : string = "" │
00:04:12 verbose #13004 > │ struct (v0, v0) │
00:04:12 verbose #13005 > │ and method23 (v0 : int32, v1 : Mut4) : bool = │
00:04:12 verbose #13006 > │ let v2 : int32 = v1.l0 │
00:04:12 verbose #13007 > │ let v3 : bool = v2 < v0 │
00:04:12 verbose #13008 > │ v3 │
00:04:12 verbose #13009 > │ and closure22 (v0 : char) (v1 : UH0) : UH0 = │
00:04:12 verbose #13010 > │ UH0_1(v0, v1) │
00:04:12 verbose #13011 > │ and closure21 () (v0 : char) : (UH0 -> UH0) = │
00:04:12 verbose #13012 > │ closure22(v0) │
00:04:12 verbose #13013 > │ and method24 () : (char -> (UH0 -> UH0)) = │
00:04:12 verbose #13014 > │ closure21() │
00:04:12 verbose #13015 > │ and method25 (v0 : string, v1 : string, v2 : UH0, v3 : US6) : struct (string │
00:04:12 verbose #13016 > │ * string) = │
00:04:12 verbose #13017 > │ match v2 with │
00:04:12 verbose #13018 > │ | UH0_1(v4, v5) -> (* Cons *) │
00:04:12 verbose #13019 > │ let v6 : bool = '"' = v4 │
00:04:12 verbose #13020 > │ if v6 then │
00:04:12 verbose #13021 > │ let v8 : bool = v1 = "" │
00:04:12 verbose #13022 > │ if v8 then │
00:04:12 verbose #13023 > │ let v9 : US7 = US7_0 │
00:04:12 verbose #13024 > │ let v10 : US6 = US6_1(v9) │
00:04:12 verbose #13025 > │ method25(v0, v1, v5, v10) │
00:04:12 verbose #13026 > │ else │
00:04:12 verbose #13027 > │ match v3 with │
00:04:12 verbose #13028 > │ | US6_2 -> (* Arguments *) │
00:04:12 verbose #13029 > │ let v38 : string = $"{v0}{v4}" │
00:04:12 verbose #13030 > │ let v39 : US6 = US6_2 │
00:04:12 verbose #13031 > │ method25(v38, v1, v5, v39) │
00:04:12 verbose #13032 > │ | US6_1(v13) -> (* Path *) │
00:04:12 verbose #13033 > │ match v13 with │
00:04:12 verbose #13034 > │ | US7_0 -> (* Quoted *) │
00:04:12 verbose #13035 > │ let v14 : US7 = US7_1 │
00:04:12 verbose #13036 > │ let v15 : US6 = US6_1(v14) │
00:04:12 verbose #13037 > │ method25(v0, v1, v5, v15) │
00:04:12 verbose #13038 > │ | _ -> │
00:04:12 verbose #13039 > │ let v18 : bool = ' ' = v4 │
00:04:12 verbose #13040 > │ if v18 then │
00:04:12 verbose #13041 > │ let v19 : US6 = US6_2 │
00:04:12 verbose #13042 > │ method25(v0, v1, v5, v19) │
00:04:12 verbose #13043 > │ else │
00:04:12 verbose #13044 > │ let v22 : string = $"{v1}{v4}" │
00:04:12 verbose #13045 > │ method25(v0, v22, v5, v3) │
00:04:12 verbose #13046 > │ | US6_0 -> (* Start *) │
00:04:12 verbose #13047 > │ let v29 : bool = ' ' = v4 │
00:04:12 verbose #13048 > │ if v29 then │
00:04:12 verbose #13049 > │ let v30 : US6 = US6_2 │
00:04:12 verbose #13050 > │ method25(v0, v1, v5, v30) │
00:04:12 verbose #13051 > │ else │
00:04:12 verbose #13052 > │ let v33 : string = $"{v1}{v4}" │
00:04:12 verbose #13053 > │ method25(v0, v33, v5, v3) │
00:04:12 verbose #13054 > │ else │
00:04:12 verbose #13055 > │ let v50 : bool = ''' = v4 │
00:04:12 verbose #13056 > │ if v50 then │
00:04:12 verbose #13057 > │ let v52 : bool = v1 = "" │
00:04:12 verbose #13058 > │ if v52 then │
00:04:12 verbose #13059 > │ let v53 : US7 = US7_0 │
00:04:12 verbose #13060 > │ let v54 : US6 = US6_1(v53) │
00:04:12 verbose #13061 > │ method25(v0, v1, v5, v54) │
00:04:12 verbose #13062 > │ else │
00:04:12 verbose #13063 > │ match v3 with │
00:04:12 verbose #13064 > │ | US6_2 -> (* Arguments *) │
00:04:12 verbose #13065 > │ let v82 : string = $"{v0}{v4}" │
00:04:12 verbose #13066 > │ let v83 : US6 = US6_2 │
00:04:12 verbose #13067 > │ method25(v82, v1, v5, v83) │
00:04:12 verbose #13068 > │ | US6_1(v57) -> (* Path *) │
00:04:12 verbose #13069 > │ match v57 with │
00:04:12 verbose #13070 > │ | US7_0 -> (* Quoted *) │
00:04:12 verbose #13071 > │ let v58 : US7 = US7_1 │
00:04:12 verbose #13072 > │ let v59 : US6 = US6_1(v58) │
00:04:12 verbose #13073 > │ method25(v0, v1, v5, v59) │
00:04:12 verbose #13074 > │ | _ -> │
00:04:12 verbose #13075 > │ let v62 : bool = ' ' = v4 │
00:04:12 verbose #13076 > │ if v62 then │
00:04:12 verbose #13077 > │ let v63 : US6 = US6_2 │
00:04:12 verbose #13078 > │ method25(v0, v1, v5, v63) │
00:04:12 verbose #13079 > │ else │
00:04:12 verbose #13080 > │ let v66 : string = $"{v1}{v4}" │
00:04:12 verbose #13081 > │ method25(v0, v66, v5, v3) │
00:04:12 verbose #13082 > │ | US6_0 -> (* Start *) │
00:04:12 verbose #13083 > │ let v73 : bool = ' ' = v4 │
00:04:12 verbose #13084 > │ if v73 then │
00:04:12 verbose #13085 > │ let v74 : US6 = US6_2 │
00:04:12 verbose #13086 > │ method25(v0, v1, v5, v74) │
00:04:12 verbose #13087 > │ else │
00:04:12 verbose #13088 > │ let v77 : string = $"{v1}{v4}" │
00:04:12 verbose #13089 > │ method25(v0, v77, v5, v3) │
00:04:12 verbose #13090 > │ else │
00:04:12 verbose #13091 > │ match v3 with │
00:04:12 verbose #13092 > │ | US6_2 -> (* Arguments *) │
00:04:12 verbose #13093 > │ let v126 : string = $"{v0}{v4}" │
00:04:12 verbose #13094 > │ let v127 : US6 = US6_2 │
00:04:12 verbose #13095 > │ method25(v126, v1, v5, v127) │
00:04:12 verbose #13096 > │ | US6_1(v94) -> (* Path *) │
00:04:12 verbose #13097 > │ match v94 with │
00:04:12 verbose #13098 > │ | US7_0 -> (* Quoted *) │
00:04:12 verbose #13099 > │ let v95 : bool = ' ' = v4 │
00:04:12 verbose #13100 > │ if v95 then │
00:04:12 verbose #13101 > │ let v96 : string = $"{v1} " │
00:04:12 verbose #13102 > │ let v97 : US7 = US7_0 │
00:04:12 verbose #13103 > │ let v98 : US6 = US6_1(v97) │
00:04:12 verbose #13104 > │ method25(v0, v96, v5, v98) │
00:04:12 verbose #13105 > │ else │
00:04:12 verbose #13106 > │ let v101 : string = $"{v1}{v4}" │
00:04:12 verbose #13107 > │ method25(v0, v101, v5, v3) │
00:04:12 verbose #13108 > │ | _ -> │
00:04:12 verbose #13109 > │ let v106 : bool = ' ' = v4 │
00:04:12 verbose #13110 > │ if v106 then │
00:04:12 verbose #13111 > │ let v107 : US6 = US6_2 │
00:04:12 verbose #13112 > │ method25(v0, v1, v5, v107) │
00:04:12 verbose #13113 > │ else │
00:04:12 verbose #13114 > │ let v110 : string = $"{v1}{v4}" │
00:04:12 verbose #13115 > │ method25(v0, v110, v5, v3) │
00:04:12 verbose #13116 > │ | US6_0 -> (* Start *) │
00:04:12 verbose #13117 > │ let v117 : bool = ' ' = v4 │
00:04:12 verbose #13118 > │ if v117 then │
00:04:12 verbose #13119 > │ let v118 : US6 = US6_2 │
00:04:12 verbose #13120 > │ method25(v0, v1, v5, v118) │
00:04:12 verbose #13121 > │ else │
00:04:12 verbose #13122 > │ let v121 : string = $"{v1}{v4}" │
00:04:12 verbose #13123 > │ method25(v0, v121, v5, v3) │
00:04:12 verbose #13124 > │ | _ -> │
00:04:12 verbose #13125 > │ match v3 with │
00:04:12 verbose #13126 > │ | US6_2 -> (* Arguments *) │
00:04:12 verbose #13127 > │ let v152 : string = "\\" │
00:04:12 verbose #13128 > │ let v153 : string = "/" │
00:04:12 verbose #13129 > │ let v154 : string = v1.Replace (v152, v153) │
00:04:12 verbose #13130 > │ struct (v154, v0) │
00:04:12 verbose #13131 > │ | US6_1(v140) -> (* Path *) │
00:04:12 verbose #13132 > │ match v140 with │
00:04:12 verbose #13133 > │ | US7_0 -> (* Quoted *) │
00:04:12 verbose #13134 > │ let v141 : string = "\\" │
00:04:12 verbose #13135 > │ let v142 : string = "/" │
00:04:12 verbose #13136 > │ let v143 : string = v1.Replace (v141, v142) │
00:04:12 verbose #13137 > │ struct (v143, v0) │
00:04:12 verbose #13138 > │ | _ -> │
00:04:12 verbose #13139 > │ let v144 : string = "\\" │
00:04:12 verbose #13140 > │ let v145 : string = "/" │
00:04:12 verbose #13141 > │ let v146 : string = v1.Replace (v144, v145) │
00:04:12 verbose #13142 > │ struct (v146, v0) │
00:04:12 verbose #13143 > │ | US6_0 -> (* Start *) │
00:04:12 verbose #13144 > │ let v149 : string = "\\" │
00:04:12 verbose #13145 > │ let v150 : string = "/" │
00:04:12 verbose #13146 > │ let v151 : string = v1.Replace (v149, v150) │
00:04:12 verbose #13147 > │ struct (v151, v0) │
00:04:12 verbose #13148 > │ and closure23 () (v0 : string) : US1 = │
00:04:12 verbose #13149 > │ US1_0(v0) │
00:04:12 verbose #13150 > │ and method26 () : (string -> US1) = │
00:04:12 verbose #13151 > │ closure23() │
00:04:12 verbose #13152 > │ and closure24 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:04:12 verbose #13153 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:04:12 verbose #13154 > │ Async<unit>) option, v4 : │
00:04:12 verbose #13155 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:04:12 verbose #13156 > │ string option) () : string = │
00:04:12 verbose #13157 > │ let v6 : string = $"execute_with_options_async / options: %A{struct (v0, │
00:04:12 verbose #13158 > │ v1, v2, v3, v4, v5)}" │
00:04:12 verbose #13159 > │ v6 │
00:04:12 verbose #13160 > │ and method27 () : (unit -> string) = │
00:04:12 verbose #13161 > │ closure6() │
00:04:12 verbose #13162 > │ and closure26 () (v0 : (struct (bool * string * int32) -> Async<unit>)) : │
00:04:12 verbose #13163 > │ US8 = │
00:04:12 verbose #13164 > │ US8_0(v0) │
00:04:12 verbose #13165 > │ and method28 () : ((struct (bool * string * int32) -> Async<unit>) -> US8) = │
00:04:12 verbose #13166 > │ closure26() │
00:04:12 verbose #13167 > │ and closure27 (v0 : string) () : string = │
00:04:12 verbose #13168 > │ let v1 : string = $"> {v0}" │
00:04:12 verbose #13169 > │ v1 │
00:04:12 verbose #13170 > │ and closure25 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:04:12 verbose #13171 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:04:12 verbose #13172 > │ Async<unit>) option, v4 : │
00:04:12 verbose #13173 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:04:12 verbose #13174 > │ string option, v6 : System.Diagnostics.Process, v7 : │
00:04:12 verbose #13175 > │ System.Collections.Concurrent.ConcurrentStack<string>) (v8 : │
00:04:12 verbose #13176 > │ System.Diagnostics.DataReceivedEventArgs) : unit = │
00:04:12 verbose #13177 > │ let v9 : Async<unit> option = None │
00:04:12 verbose #13178 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:04:12 verbose #13179 > │ │
00:04:12 verbose #13180 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13181 > │ │
00:04:12 verbose #13182 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13183 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13184 > │ v11 │
00:04:12 verbose #13185 > │ #endif │
00:04:12 verbose #13186 > │ │
00:04:12 verbose #13187 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13188 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13189 > │ v12 │
00:04:12 verbose #13190 > │ #endif │
00:04:12 verbose #13191 > │ │
00:04:12 verbose #13192 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13193 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13194 > │ v13 │
00:04:12 verbose #13195 > │ #endif │
00:04:12 verbose #13196 > │ │
00:04:12 verbose #13197 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13198 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13199 > │ v14 │
00:04:12 verbose #13200 > │ #endif │
00:04:12 verbose #13201 > │ │
00:04:12 verbose #13202 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13203 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13204 > │ v15 │
00:04:12 verbose #13205 > │ #endif │
00:04:12 verbose #13206 > │ │
00:04:12 verbose #13207 > │ #else │
00:04:12 verbose #13208 > │ let v16 : Async<unit> option = None │
00:04:12 verbose #13209 > │ let mutable _v16 = v16 │
00:04:12 verbose #13210 > │ async { │
00:04:12 verbose #13211 > │ let v17 : string = v8.Data │
00:04:12 verbose #13212 > │ let v18 : string = null |> unbox<string> │
00:04:12 verbose #13213 > │ let v19 : bool = v17 = v18 │
00:04:12 verbose #13214 > │ let v20 : bool = v19 <> true │
00:04:12 verbose #13215 > │ if v20 then │
00:04:12 verbose #13216 > │ let v21 : ((struct (bool * string * int32) -> Async<unit>) -> US8) = │
00:04:12 verbose #13217 > │ method28() │
00:04:12 verbose #13218 > │ let v22 : US8 = US8_1 │
00:04:12 verbose #13219 > │ let v23 : US8 = v3 |> Option.map v21 |> Option.defaultValue v22 │
00:04:12 verbose #13220 > │ match v23 with │
00:04:12 verbose #13221 > │ | US8_1 -> (* None *) │
00:04:12 verbose #13222 > │ () │
00:04:12 verbose #13223 > │ | US8_0(v24) -> (* Some *) │
00:04:12 verbose #13224 > │ let v25 : int32 = v6.Id │
00:04:12 verbose #13225 > │ let v26 : Async<unit> = v24 struct (false, v17, v25) │
00:04:12 verbose #13226 > │ do! v26 │
00:04:12 verbose #13227 > │ () │
00:04:12 verbose #13228 > │ let v27 : US3 = US3_0 │
00:04:12 verbose #13229 > │ let v28 : (unit -> string) = closure27(v17) │
00:04:12 verbose #13230 > │ let v29 : (unit -> string) = closure6() │
00:04:12 verbose #13231 > │ method12(v27, v28, v29) │
00:04:12 verbose #13232 > │ let v30 : string = "" │
00:04:12 verbose #13233 > │ let v31 : string = $"{v30}{v17}{v30}" │
00:04:12 verbose #13234 > │ let v32 : (string -> unit) = v7.Push │
00:04:12 verbose #13235 > │ v32 v31 │
00:04:12 verbose #13236 > │ } │
00:04:12 verbose #13237 > │ |> fun x -> _v16 <- Some x │
00:04:12 verbose #13238 > │ let v33 : Async<unit> = _v16 |> Option.get │
00:04:12 verbose #13239 > │ v33 │
00:04:12 verbose #13240 > │ #endif │
00:04:12 verbose #13241 > │ |> fun x -> _v9 <- Some x │
00:04:12 verbose #13242 > │ let v34 : Async<unit> = _v9.Value │
00:04:12 verbose #13243 > │ let v35 : unit option = None │
00:04:12 verbose #13244 > │ let v36 : bool = true in let mutable _v35 = v35 │
00:04:12 verbose #13245 > │ │
00:04:12 verbose #13246 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13247 > │ │
00:04:12 verbose #13248 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13249 > │ null |> unbox<unit> │
00:04:12 verbose #13250 > │ () │
00:04:12 verbose #13251 > │ #endif │
00:04:12 verbose #13252 > │ │
00:04:12 verbose #13253 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13254 > │ null |> unbox<unit> │
00:04:12 verbose #13255 > │ () │
00:04:12 verbose #13256 > │ #endif │
00:04:12 verbose #13257 > │ │
00:04:12 verbose #13258 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13259 > │ null |> unbox<unit> │
00:04:12 verbose #13260 > │ () │
00:04:12 verbose #13261 > │ #endif │
00:04:12 verbose #13262 > │ │
00:04:12 verbose #13263 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13264 > │ null |> unbox<unit> │
00:04:12 verbose #13265 > │ () │
00:04:12 verbose #13266 > │ #endif │
00:04:12 verbose #13267 > │ │
00:04:12 verbose #13268 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13269 > │ null |> unbox<unit> │
00:04:12 verbose #13270 > │ () │
00:04:12 verbose #13271 > │ #endif │
00:04:12 verbose #13272 > │ │
00:04:12 verbose #13273 > │ #else │
00:04:12 verbose #13274 > │ let v37 : (Async<unit> -> unit) = Async.StartImmediate │
00:04:12 verbose #13275 > │ v37 v34 │
00:04:12 verbose #13276 > │ () │
00:04:12 verbose #13277 > │ #endif │
00:04:12 verbose #13278 > │ |> fun x -> _v35 <- Some x │
00:04:12 verbose #13279 > │ _v35.Value │
00:04:12 verbose #13280 > │ () │
00:04:12 verbose #13281 > │ and closure28 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:04:12 verbose #13282 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:04:12 verbose #13283 > │ Async<unit>) option, v4 : │
00:04:12 verbose #13284 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:04:12 verbose #13285 > │ string option, v6 : System.Diagnostics.Process, v7 : │
00:04:12 verbose #13286 > │ System.Collections.Concurrent.ConcurrentStack<string>) (v8 : │
00:04:12 verbose #13287 > │ System.Diagnostics.DataReceivedEventArgs) : unit = │
00:04:12 verbose #13288 > │ let v9 : Async<unit> option = None │
00:04:12 verbose #13289 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:04:12 verbose #13290 > │ │
00:04:12 verbose #13291 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13292 > │ │
00:04:12 verbose #13293 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13294 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13295 > │ v11 │
00:04:12 verbose #13296 > │ #endif │
00:04:12 verbose #13297 > │ │
00:04:12 verbose #13298 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13299 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13300 > │ v12 │
00:04:12 verbose #13301 > │ #endif │
00:04:12 verbose #13302 > │ │
00:04:12 verbose #13303 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13304 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13305 > │ v13 │
00:04:12 verbose #13306 > │ #endif │
00:04:12 verbose #13307 > │ │
00:04:12 verbose #13308 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13309 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13310 > │ v14 │
00:04:12 verbose #13311 > │ #endif │
00:04:12 verbose #13312 > │ │
00:04:12 verbose #13313 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13314 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #13315 > │ v15 │
00:04:12 verbose #13316 > │ #endif │
00:04:12 verbose #13317 > │ │
00:04:12 verbose #13318 > │ #else │
00:04:12 verbose #13319 > │ let v16 : Async<unit> option = None │
00:04:12 verbose #13320 > │ let mutable _v16 = v16 │
00:04:12 verbose #13321 > │ async { │
00:04:12 verbose #13322 > │ let v17 : string = v8.Data │
00:04:12 verbose #13323 > │ let v18 : string = null |> unbox<string> │
00:04:12 verbose #13324 > │ let v19 : bool = v17 = v18 │
00:04:12 verbose #13325 > │ let v20 : bool = v19 <> true │
00:04:12 verbose #13326 > │ if v20 then │
00:04:12 verbose #13327 > │ let v21 : ((struct (bool * string * int32) -> Async<unit>) -> US8) = │
00:04:12 verbose #13328 > │ method28() │
00:04:12 verbose #13329 > │ let v22 : US8 = US8_1 │
00:04:12 verbose #13330 > │ let v23 : US8 = v3 |> Option.map v21 |> Option.defaultValue v22 │
00:04:12 verbose #13331 > │ match v23 with │
00:04:12 verbose #13332 > │ | US8_1 -> (* None *) │
00:04:12 verbose #13333 > │ () │
00:04:12 verbose #13334 > │ | US8_0(v24) -> (* Some *) │
00:04:12 verbose #13335 > │ let v25 : int32 = v6.Id │
00:04:12 verbose #13336 > │ let v26 : Async<unit> = v24 struct (true, v17, v25) │
00:04:12 verbose #13337 > │ do! v26 │
00:04:12 verbose #13338 > │ () │
00:04:12 verbose #13339 > │ let v27 : US3 = US3_0 │
00:04:12 verbose #13340 > │ let v28 : (unit -> string) = closure27(v17) │
00:04:12 verbose #13341 > │ let v29 : (unit -> string) = closure6() │
00:04:12 verbose #13342 > │ method12(v27, v28, v29) │
00:04:12 verbose #13343 > │ let v30 : string = "[" │
00:04:12 verbose #13344 > │ let v31 : string = "]" │
00:04:12 verbose #13345 > │ let v32 : string = $"{v30}{v17}{v31}" │
00:04:12 verbose #13346 > │ let v33 : (string -> unit) = v7.Push │
00:04:12 verbose #13347 > │ v33 v32 │
00:04:12 verbose #13348 > │ } │
00:04:12 verbose #13349 > │ |> fun x -> _v16 <- Some x │
00:04:12 verbose #13350 > │ let v34 : Async<unit> = _v16 |> Option.get │
00:04:12 verbose #13351 > │ v34 │
00:04:12 verbose #13352 > │ #endif │
00:04:12 verbose #13353 > │ |> fun x -> _v9 <- Some x │
00:04:12 verbose #13354 > │ let v35 : Async<unit> = _v9.Value │
00:04:12 verbose #13355 > │ let v36 : unit option = None │
00:04:12 verbose #13356 > │ let v37 : bool = true in let mutable _v36 = v36 │
00:04:12 verbose #13357 > │ │
00:04:12 verbose #13358 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13359 > │ │
00:04:12 verbose #13360 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13361 > │ null |> unbox<unit> │
00:04:12 verbose #13362 > │ () │
00:04:12 verbose #13363 > │ #endif │
00:04:12 verbose #13364 > │ │
00:04:12 verbose #13365 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13366 > │ null |> unbox<unit> │
00:04:12 verbose #13367 > │ () │
00:04:12 verbose #13368 > │ #endif │
00:04:12 verbose #13369 > │ │
00:04:12 verbose #13370 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13371 > │ null |> unbox<unit> │
00:04:12 verbose #13372 > │ () │
00:04:12 verbose #13373 > │ #endif │
00:04:12 verbose #13374 > │ │
00:04:12 verbose #13375 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13376 > │ null |> unbox<unit> │
00:04:12 verbose #13377 > │ () │
00:04:12 verbose #13378 > │ #endif │
00:04:12 verbose #13379 > │ │
00:04:12 verbose #13380 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13381 > │ null |> unbox<unit> │
00:04:12 verbose #13382 > │ () │
00:04:12 verbose #13383 > │ #endif │
00:04:12 verbose #13384 > │ │
00:04:12 verbose #13385 > │ #else │
00:04:12 verbose #13386 > │ let v38 : (Async<unit> -> unit) = Async.StartImmediate │
00:04:12 verbose #13387 > │ v38 v35 │
00:04:12 verbose #13388 > │ () │
00:04:12 verbose #13389 > │ #endif │
00:04:12 verbose #13390 > │ |> fun x -> _v36 <- Some x │
00:04:12 verbose #13391 > │ _v36.Value │
00:04:12 verbose #13392 > │ () │
00:04:12 verbose #13393 > │ and closure29 () (v0 : System.Threading.CancellationToken) : US9 = │
00:04:12 verbose #13394 > │ US9_0(v0) │
00:04:12 verbose #13395 > │ and method29 () : (System.Threading.CancellationToken -> US9) = │
00:04:12 verbose #13396 > │ closure29() │
00:04:12 verbose #13397 > │ and closure30 (v0 : System.Diagnostics.Process) () : unit = │
00:04:12 verbose #13398 > │ let v1 : bool option = None │
00:04:12 verbose #13399 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:04:12 verbose #13400 > │ │
00:04:12 verbose #13401 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13402 > │ │
00:04:12 verbose #13403 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13404 > │ let v3 : bool = null |> unbox<bool> │
00:04:12 verbose #13405 > │ v3 │
00:04:12 verbose #13406 > │ #endif │
00:04:12 verbose #13407 > │ │
00:04:12 verbose #13408 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13409 > │ let v4 : bool = null |> unbox<bool> │
00:04:12 verbose #13410 > │ v4 │
00:04:12 verbose #13411 > │ #endif │
00:04:12 verbose #13412 > │ │
00:04:12 verbose #13413 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13414 > │ let v5 : bool = null |> unbox<bool> │
00:04:12 verbose #13415 > │ v5 │
00:04:12 verbose #13416 > │ #endif │
00:04:12 verbose #13417 > │ │
00:04:12 verbose #13418 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13419 > │ let v6 : bool = null |> unbox<bool> │
00:04:12 verbose #13420 > │ v6 │
00:04:12 verbose #13421 > │ #endif │
00:04:12 verbose #13422 > │ │
00:04:12 verbose #13423 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13424 > │ let v7 : bool = null |> unbox<bool> │
00:04:12 verbose #13425 > │ v7 │
00:04:12 verbose #13426 > │ #endif │
00:04:12 verbose #13427 > │ │
00:04:12 verbose #13428 > │ #else │
00:04:12 verbose #13429 > │ let v8 : bool = v0.HasExited │
00:04:12 verbose #13430 > │ v8 │
00:04:12 verbose #13431 > │ #endif │
00:04:12 verbose #13432 > │ |> fun x -> _v1 <- Some x │
00:04:12 verbose #13433 > │ let v9 : bool = _v1.Value │
00:04:12 verbose #13434 > │ let v10 : bool = v9 = false │
00:04:12 verbose #13435 > │ if v10 then │
00:04:12 verbose #13436 > │ let v11 : unit option = None │
00:04:12 verbose #13437 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:04:12 verbose #13438 > │ │
00:04:12 verbose #13439 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13440 > │ │
00:04:12 verbose #13441 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13442 > │ null |> unbox<unit> │
00:04:12 verbose #13443 > │ () │
00:04:12 verbose #13444 > │ #endif │
00:04:12 verbose #13445 > │ │
00:04:12 verbose #13446 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13447 > │ null |> unbox<unit> │
00:04:12 verbose #13448 > │ () │
00:04:12 verbose #13449 > │ #endif │
00:04:12 verbose #13450 > │ │
00:04:12 verbose #13451 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13452 > │ null |> unbox<unit> │
00:04:12 verbose #13453 > │ () │
00:04:12 verbose #13454 > │ #endif │
00:04:12 verbose #13455 > │ │
00:04:12 verbose #13456 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13457 > │ null |> unbox<unit> │
00:04:12 verbose #13458 > │ () │
00:04:12 verbose #13459 > │ #endif │
00:04:12 verbose #13460 > │ │
00:04:12 verbose #13461 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13462 > │ null |> unbox<unit> │
00:04:12 verbose #13463 > │ () │
00:04:12 verbose #13464 > │ #endif │
00:04:12 verbose #13465 > │ │
00:04:12 verbose #13466 > │ #else │
00:04:12 verbose #13467 > │ let v13 : (unit -> unit) = v0.Kill │
00:04:12 verbose #13468 > │ v13 () │
00:04:12 verbose #13469 > │ () │
00:04:12 verbose #13470 > │ #endif │
00:04:12 verbose #13471 > │ |> fun x -> _v11 <- Some x │
00:04:12 verbose #13472 > │ _v11.Value │
00:04:12 verbose #13473 > │ () │
00:04:12 verbose #13474 > │ and closure31 (v0 : System.Threading.Tasks.TaskCanceledException) () : │
00:04:12 verbose #13475 > │ string = │
00:04:12 verbose #13476 > │ let v1 : string = $"execute_with_options_async / WaitForExitAsync / ex: │
00:04:12 verbose #13477 > │ %A{v0}" │
00:04:12 verbose #13478 > │ v1 │
00:04:12 verbose #13479 > │ and method30 () : string = │
00:04:12 verbose #13480 > │ let v0 : string = "\n" │
00:04:12 verbose #13481 > │ v0 │
00:04:12 verbose #13482 > │ and closure32 (v0 : int32, v1 : string) () : string = │
00:04:12 verbose #13483 > │ let v2 : string = $"execute_with_options_async / exit_code: {v0} / │
00:04:12 verbose #13484 > │ output.Length: {v1.Length}" │
00:04:12 verbose #13485 > │ v2 │
00:04:12 verbose #13486 > │ and closure33 () () : string = │
00:04:12 verbose #13487 > │ let v0 : string = "2" │
00:04:12 verbose #13488 > │ v0 │
00:04:12 verbose #13489 > │ and closure34 () () : string = │
00:04:12 verbose #13490 > │ let v0 : string = "3" │
00:04:12 verbose #13491 > │ v0 │
00:04:12 verbose #13492 > │ and closure35 () () : string = │
00:04:12 verbose #13493 > │ let v0 : string = "4" │
00:04:12 verbose #13494 > │ v0 │
00:04:12 verbose #13495 > │ and closure36 () () : string = │
00:04:12 verbose #13496 > │ let v0 : string = "5" │
00:04:12 verbose #13497 > │ v0 │
00:04:12 verbose #13498 > │ and closure37 () struct (v0 : int32, v1 : string) : US11 = │
00:04:12 verbose #13499 > │ US11_0(v0, v1) │
00:04:12 verbose #13500 > │ and closure38 () (v0 : exn) : US11 = │
00:04:12 verbose #13501 > │ US11_1(v0) │
00:04:12 verbose #13502 > │ and closure39 () () : string = │
00:04:12 verbose #13503 > │ let v0 : string = "run_with_timeout_async" │
00:04:12 verbose #13504 > │ v0 │
00:04:12 verbose #13505 > │ and closure40 () () : string = │
00:04:12 verbose #13506 > │ let v0 : (unit -> string) = closure6() │
00:04:12 verbose #13507 > │ let v1 : string = $"timeout: {10000} / {v0 ()}" │
00:04:12 verbose #13508 > │ v1 │
00:04:12 verbose #13509 > │ and closure41 (v0 : string) () : string = │
00:04:12 verbose #13510 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:04:12 verbose #13511 > │ v1 │
00:04:12 verbose #13512 > │ and method31 (v0 : bool) : bool = │
00:04:12 verbose #13513 > │ v0 │
00:04:12 verbose #13514 > │ and method32 () : string = │
00:04:12 verbose #13515 > │ let v0 : string = "System.Threading.Tasks.TaskCanceledException: A task │
00:04:12 verbose #13516 > │ was canceled." │
00:04:12 verbose #13517 > │ v0 │
00:04:12 verbose #13518 > │ and method0 () : unit = │
00:04:12 verbose #13519 > │ let v0 : string option = None │
00:04:12 verbose #13520 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:04:12 verbose #13521 > │ │
00:04:12 verbose #13522 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13523 > │ │
00:04:12 verbose #13524 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13525 > │ let v2 : string option = None │
00:04:12 verbose #13526 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:04:12 verbose #13527 > │ │
00:04:12 verbose #13528 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13529 > │ │
00:04:12 verbose #13530 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13531 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:04:12 verbose #13532 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:04:12 verbose #13533 > │ v5 │
00:04:12 verbose #13534 > │ #endif │
00:04:12 verbose #13535 > │ │
00:04:12 verbose #13536 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13537 > │ let v6 : string = null |> unbox<string> │
00:04:12 verbose #13538 > │ v6 │
00:04:12 verbose #13539 > │ #endif │
00:04:12 verbose #13540 > │ │
00:04:12 verbose #13541 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13542 > │ let v7 : string = null |> unbox<string> │
00:04:12 verbose #13543 > │ v7 │
00:04:12 verbose #13544 > │ #endif │
00:04:12 verbose #13545 > │ │
00:04:12 verbose #13546 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13547 > │ let v8 : string = null |> unbox<string> │
00:04:12 verbose #13548 > │ v8 │
00:04:12 verbose #13549 > │ #endif │
00:04:12 verbose #13550 > │ │
00:04:12 verbose #13551 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13552 > │ let v9 : string = null |> unbox<string> │
00:04:12 verbose #13553 > │ v9 │
00:04:12 verbose #13554 > │ #endif │
00:04:12 verbose #13555 > │ │
00:04:12 verbose #13556 > │ #else │
00:04:12 verbose #13557 > │ let v10 : string = │
00:04:12 verbose #13558 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:04:12 verbose #13559 > │ v10 │
00:04:12 verbose #13560 > │ #endif │
00:04:12 verbose #13561 > │ |> fun x -> _v2 <- Some x │
00:04:12 verbose #13562 > │ let v11 : string = _v2.Value │
00:04:12 verbose #13563 > │ let v12 : string option = None │
00:04:12 verbose #13564 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:04:12 verbose #13565 > │ │
00:04:12 verbose #13566 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13567 > │ │
00:04:12 verbose #13568 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13569 > │ let v14 : string = "std::env::temp_dir()" │
00:04:12 verbose #13570 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:04:12 verbose #13571 > │ let v16 : string = "$0.display()" │
00:04:12 verbose #13572 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:04:12 verbose #13573 > │ let v18 : std_string_String option = None │
00:04:12 verbose #13574 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:04:12 verbose #13575 > │ │
00:04:12 verbose #13576 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13577 > │ │
00:04:12 verbose #13578 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13579 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:04:12 verbose #13580 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:12 verbose #13581 > │ v20 │
00:04:12 verbose #13582 > │ v21 │
00:04:12 verbose #13583 > │ #endif │
00:04:12 verbose #13584 > │ │
00:04:12 verbose #13585 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13586 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:04:12 verbose #13587 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:12 verbose #13588 > │ v22 │
00:04:12 verbose #13589 > │ v23 │
00:04:12 verbose #13590 > │ #endif │
00:04:12 verbose #13591 > │ │
00:04:12 verbose #13592 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13593 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:04:12 verbose #13594 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:04:12 verbose #13595 > │ v24 │
00:04:12 verbose #13596 > │ v25 │
00:04:12 verbose #13597 > │ #endif │
00:04:12 verbose #13598 > │ │
00:04:12 verbose #13599 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13600 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:04:12 verbose #13601 > │ v26 │
00:04:12 verbose #13602 > │ #endif │
00:04:12 verbose #13603 > │ │
00:04:12 verbose #13604 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13605 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:04:12 verbose #13606 > │ v27 │
00:04:12 verbose #13607 > │ #endif │
00:04:12 verbose #13608 > │ │
00:04:12 verbose #13609 > │ #else │
00:04:12 verbose #13610 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:04:12 verbose #13611 > │ v28 │
00:04:12 verbose #13612 > │ #endif │
00:04:12 verbose #13613 > │ |> fun x -> _v18 <- Some x │
00:04:12 verbose #13614 > │ let v29 : std_string_String = _v18.Value │
00:04:12 verbose #13615 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:04:12 verbose #13616 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:04:12 verbose #13617 > │ v31 │
00:04:12 verbose #13618 > │ #endif │
00:04:12 verbose #13619 > │ │
00:04:12 verbose #13620 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13621 > │ let v32 : string = null |> unbox<string> │
00:04:12 verbose #13622 > │ v32 │
00:04:12 verbose #13623 > │ #endif │
00:04:12 verbose #13624 > │ │
00:04:12 verbose #13625 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13626 > │ let v33 : string = null |> unbox<string> │
00:04:12 verbose #13627 > │ v33 │
00:04:12 verbose #13628 > │ #endif │
00:04:12 verbose #13629 > │ │
00:04:12 verbose #13630 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13631 > │ let v34 : string = null |> unbox<string> │
00:04:12 verbose #13632 > │ v34 │
00:04:12 verbose #13633 > │ #endif │
00:04:12 verbose #13634 > │ │
00:04:12 verbose #13635 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13636 > │ let v35 : string = null |> unbox<string> │
00:04:12 verbose #13637 > │ v35 │
00:04:12 verbose #13638 > │ #endif │
00:04:12 verbose #13639 > │ │
00:04:12 verbose #13640 > │ #else │
00:04:12 verbose #13641 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:04:12 verbose #13642 > │ let v37 : string = v36 () │
00:04:12 verbose #13643 > │ v37 │
00:04:12 verbose #13644 > │ #endif │
00:04:12 verbose #13645 > │ |> fun x -> _v12 <- Some x │
00:04:12 verbose #13646 > │ let v38 : string = _v12.Value │
00:04:12 verbose #13647 > │ let v39 : string = $"!{v11}" │
00:04:12 verbose #13648 > │ let v40 : string = method1(v38, v39) │
00:04:12 verbose #13649 > │ let v41 : System.DateTime = System.DateTime.Now │
00:04:12 verbose #13650 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:04:12 verbose #13651 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:04:12 verbose #13652 > │ let v44 : string = v43 v42 │
00:04:12 verbose #13653 > │ let v45 : struct (string * string) option = None │
00:04:12 verbose #13654 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:04:12 verbose #13655 > │ │
00:04:12 verbose #13656 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13657 > │ │
00:04:12 verbose #13658 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13659 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:04:12 verbose #13660 > │ System.DateTimeKind.Utc) │
00:04:12 verbose #13661 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:12 verbose #13662 > │ let v49 : System.DateTime = v48 v47 │
00:04:12 verbose #13663 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:04:12 verbose #13664 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:04:12 verbose #13665 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:12 verbose #13666 > │ let v53 : System.DateTime = v52 v51 │
00:04:12 verbose #13667 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:04:12 verbose #13668 > │ let v55 : int64 = v54 v53 │
00:04:12 verbose #13669 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:04:12 verbose #13670 > │ let v57 : int64 = v56 v49 │
00:04:12 verbose #13671 > │ let v58 : int64 = v55 - v57 │
00:04:12 verbose #13672 > │ let v59 : int64 = v58 / 10L │
00:04:12 verbose #13673 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:04:12 verbose #13674 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:04:12 verbose #13675 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:04:12 verbose #13676 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:04:12 verbose #13677 > │ let v63 : US0 = US0_1 │
00:04:12 verbose #13678 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:04:12 verbose #13679 > │ let v83 : US1 = │
00:04:12 verbose #13680 > │ match v64 with │
00:04:12 verbose #13681 > │ | US0_1 -> (* None *) │
00:04:12 verbose #13682 > │ US1_1 │
00:04:12 verbose #13683 > │ | US0_0(v65) -> (* Some *) │
00:04:12 verbose #13684 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:04:12 verbose #13685 > │ let v67 : string = "v66.naive_utc()" │
00:04:12 verbose #13686 > │ let v68 : chrono_NaiveDateTime = │
00:04:12 verbose #13687 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:04:12 verbose #13688 > │ let v69 : string = │
00:04:12 verbose #13689 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:04:12 verbose #13690 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:04:12 verbose #13691 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:04:12 verbose #13692 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:04:12 verbose #13693 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:04:12 verbose #13694 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:04:12 verbose #13695 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:04:12 verbose #13696 > │ let v75 : string = "v74.format(v73).to_string()" │
00:04:12 verbose #13697 > │ let v76 : std_string_String = │
00:04:12 verbose #13698 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:04:12 verbose #13699 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:04:12 verbose #13700 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:04:12 verbose #13701 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:04:12 verbose #13702 > │ US1_0(v79) │
00:04:12 verbose #13703 > │ let v87 : string = │
00:04:12 verbose #13704 > │ match v83 with │
00:04:12 verbose #13705 > │ | US1_1 -> (* None *) │
00:04:12 verbose #13706 > │ let v85 : string = "" │
00:04:12 verbose #13707 > │ v85 │
00:04:12 verbose #13708 > │ | US1_0(v84) -> (* Some *) │
00:04:12 verbose #13709 > │ v84 │
00:04:12 verbose #13710 > │ let v88 : System.TimeZoneInfo option = None │
00:04:12 verbose #13711 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:04:12 verbose #13712 > │ │
00:04:12 verbose #13713 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13714 > │ │
00:04:12 verbose #13715 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13716 > │ let v90 : string = "0i64.into()" │
00:04:12 verbose #13717 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #13718 > │ v90 │
00:04:12 verbose #13719 > │ v91 │
00:04:12 verbose #13720 > │ #endif │
00:04:12 verbose #13721 > │ │
00:04:12 verbose #13722 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13723 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13724 > │ v92 │
00:04:12 verbose #13725 > │ #endif │
00:04:12 verbose #13726 > │ │
00:04:12 verbose #13727 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13728 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13729 > │ v93 │
00:04:12 verbose #13730 > │ #endif │
00:04:12 verbose #13731 > │ │
00:04:12 verbose #13732 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13733 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13734 > │ v94 │
00:04:12 verbose #13735 > │ #endif │
00:04:12 verbose #13736 > │ │
00:04:12 verbose #13737 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13738 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13739 > │ v95 │
00:04:12 verbose #13740 > │ #endif │
00:04:12 verbose #13741 > │ │
00:04:12 verbose #13742 > │ #else │
00:04:12 verbose #13743 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #13744 > │ v96 │
00:04:12 verbose #13745 > │ #endif │
00:04:12 verbose #13746 > │ |> fun x -> _v88 <- Some x │
00:04:12 verbose #13747 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:04:12 verbose #13748 > │ let v98 : System.TimeSpan option = None │
00:04:12 verbose #13749 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:04:12 verbose #13750 > │ │
00:04:12 verbose #13751 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13752 > │ │
00:04:12 verbose #13753 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13754 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13755 > │ v100 │
00:04:12 verbose #13756 > │ #endif │
00:04:12 verbose #13757 > │ │
00:04:12 verbose #13758 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13759 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13760 > │ v101 │
00:04:12 verbose #13761 > │ #endif │
00:04:12 verbose #13762 > │ │
00:04:12 verbose #13763 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13764 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13765 > │ v102 │
00:04:12 verbose #13766 > │ #endif │
00:04:12 verbose #13767 > │ │
00:04:12 verbose #13768 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13769 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13770 > │ v103 │
00:04:12 verbose #13771 > │ #endif │
00:04:12 verbose #13772 > │ │
00:04:12 verbose #13773 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13774 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13775 > │ v104 │
00:04:12 verbose #13776 > │ #endif │
00:04:12 verbose #13777 > │ │
00:04:12 verbose #13778 > │ #else │
00:04:12 verbose #13779 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:12 verbose #13780 > │ = _.GetUtcOffset │
00:04:12 verbose #13781 > │ let v106 : System.TimeZoneInfo option = None │
00:04:12 verbose #13782 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:04:12 verbose #13783 > │ │
00:04:12 verbose #13784 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13785 > │ │
00:04:12 verbose #13786 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13787 > │ let v108 : string = "0i64.into()" │
00:04:12 verbose #13788 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #13789 > │ v108 │
00:04:12 verbose #13790 > │ v109 │
00:04:12 verbose #13791 > │ #endif │
00:04:12 verbose #13792 > │ │
00:04:12 verbose #13793 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13794 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13795 > │ v110 │
00:04:12 verbose #13796 > │ #endif │
00:04:12 verbose #13797 > │ │
00:04:12 verbose #13798 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13799 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13800 > │ v111 │
00:04:12 verbose #13801 > │ #endif │
00:04:12 verbose #13802 > │ │
00:04:12 verbose #13803 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13804 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13805 > │ v112 │
00:04:12 verbose #13806 > │ #endif │
00:04:12 verbose #13807 > │ │
00:04:12 verbose #13808 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13809 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13810 > │ v113 │
00:04:12 verbose #13811 > │ #endif │
00:04:12 verbose #13812 > │ │
00:04:12 verbose #13813 > │ #else │
00:04:12 verbose #13814 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #13815 > │ v114 │
00:04:12 verbose #13816 > │ #endif │
00:04:12 verbose #13817 > │ |> fun x -> _v106 <- Some x │
00:04:12 verbose #13818 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:04:12 verbose #13819 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:04:12 verbose #13820 > │ let v117 : System.TimeSpan = v116 v53 │
00:04:12 verbose #13821 > │ v117 │
00:04:12 verbose #13822 > │ #endif │
00:04:12 verbose #13823 > │ |> fun x -> _v98 <- Some x │
00:04:12 verbose #13824 > │ let v118 : System.TimeSpan = _v98.Value │
00:04:12 verbose #13825 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:04:12 verbose #13826 > │ let v120 : int32 = v119 v118 │
00:04:12 verbose #13827 > │ let v121 : bool = v120 > 0 │
00:04:12 verbose #13828 > │ let v122 : uint8 = │
00:04:12 verbose #13829 > │ if v121 then │
00:04:12 verbose #13830 > │ 1uy │
00:04:12 verbose #13831 > │ else │
00:04:12 verbose #13832 > │ 0uy │
00:04:12 verbose #13833 > │ let v123 : (string -> string) = v118.ToString │
00:04:12 verbose #13834 > │ let v124 : string = "hh:mm" │
00:04:12 verbose #13835 > │ let v125 : string = v123 v124 │
00:04:12 verbose #13836 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:04:12 verbose #13837 > │ struct (v87, v126) │
00:04:12 verbose #13838 > │ #endif │
00:04:12 verbose #13839 > │ │
00:04:12 verbose #13840 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13841 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:04:12 verbose #13842 > │ * string)> │
00:04:12 verbose #13843 > │ struct (v127, v128) │
00:04:12 verbose #13844 > │ #endif │
00:04:12 verbose #13845 > │ │
00:04:12 verbose #13846 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13847 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:04:12 verbose #13848 > │ * string)> │
00:04:12 verbose #13849 > │ struct (v129, v130) │
00:04:12 verbose #13850 > │ #endif │
00:04:12 verbose #13851 > │ │
00:04:12 verbose #13852 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13853 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:04:12 verbose #13854 > │ * string)> │
00:04:12 verbose #13855 > │ struct (v131, v132) │
00:04:12 verbose #13856 > │ #endif │
00:04:12 verbose #13857 > │ │
00:04:12 verbose #13858 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13859 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:04:12 verbose #13860 > │ * string)> │
00:04:12 verbose #13861 > │ struct (v133, v134) │
00:04:12 verbose #13862 > │ #endif │
00:04:12 verbose #13863 > │ │
00:04:12 verbose #13864 > │ #else │
00:04:12 verbose #13865 > │ let v135 : string = method8() │
00:04:12 verbose #13866 > │ let v136 : (string -> string) = v41.ToString │
00:04:12 verbose #13867 > │ let v137 : string = v136 v135 │
00:04:12 verbose #13868 > │ let v138 : System.TimeZoneInfo option = None │
00:04:12 verbose #13869 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:04:12 verbose #13870 > │ │
00:04:12 verbose #13871 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13872 > │ │
00:04:12 verbose #13873 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13874 > │ let v140 : string = "0i64.into()" │
00:04:12 verbose #13875 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #13876 > │ v140 │
00:04:12 verbose #13877 > │ v141 │
00:04:12 verbose #13878 > │ #endif │
00:04:12 verbose #13879 > │ │
00:04:12 verbose #13880 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13881 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13882 > │ v142 │
00:04:12 verbose #13883 > │ #endif │
00:04:12 verbose #13884 > │ │
00:04:12 verbose #13885 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13886 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13887 > │ v143 │
00:04:12 verbose #13888 > │ #endif │
00:04:12 verbose #13889 > │ │
00:04:12 verbose #13890 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13891 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13892 > │ v144 │
00:04:12 verbose #13893 > │ #endif │
00:04:12 verbose #13894 > │ │
00:04:12 verbose #13895 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13896 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13897 > │ v145 │
00:04:12 verbose #13898 > │ #endif │
00:04:12 verbose #13899 > │ │
00:04:12 verbose #13900 > │ #else │
00:04:12 verbose #13901 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #13902 > │ v146 │
00:04:12 verbose #13903 > │ #endif │
00:04:12 verbose #13904 > │ |> fun x -> _v138 <- Some x │
00:04:12 verbose #13905 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:04:12 verbose #13906 > │ let v148 : System.TimeSpan option = None │
00:04:12 verbose #13907 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:04:12 verbose #13908 > │ │
00:04:12 verbose #13909 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13910 > │ │
00:04:12 verbose #13911 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13912 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13913 > │ v150 │
00:04:12 verbose #13914 > │ #endif │
00:04:12 verbose #13915 > │ │
00:04:12 verbose #13916 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13917 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13918 > │ v151 │
00:04:12 verbose #13919 > │ #endif │
00:04:12 verbose #13920 > │ │
00:04:12 verbose #13921 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13922 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13923 > │ v152 │
00:04:12 verbose #13924 > │ #endif │
00:04:12 verbose #13925 > │ │
00:04:12 verbose #13926 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13927 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13928 > │ v153 │
00:04:12 verbose #13929 > │ #endif │
00:04:12 verbose #13930 > │ │
00:04:12 verbose #13931 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13932 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #13933 > │ v154 │
00:04:12 verbose #13934 > │ #endif │
00:04:12 verbose #13935 > │ │
00:04:12 verbose #13936 > │ #else │
00:04:12 verbose #13937 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:12 verbose #13938 > │ = _.GetUtcOffset │
00:04:12 verbose #13939 > │ let v156 : System.TimeZoneInfo option = None │
00:04:12 verbose #13940 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:04:12 verbose #13941 > │ │
00:04:12 verbose #13942 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #13943 > │ │
00:04:12 verbose #13944 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #13945 > │ let v158 : string = "0i64.into()" │
00:04:12 verbose #13946 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #13947 > │ v158 │
00:04:12 verbose #13948 > │ v159 │
00:04:12 verbose #13949 > │ #endif │
00:04:12 verbose #13950 > │ │
00:04:12 verbose #13951 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #13952 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13953 > │ v160 │
00:04:12 verbose #13954 > │ #endif │
00:04:12 verbose #13955 > │ │
00:04:12 verbose #13956 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #13957 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13958 > │ v161 │
00:04:12 verbose #13959 > │ #endif │
00:04:12 verbose #13960 > │ │
00:04:12 verbose #13961 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #13962 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13963 > │ v162 │
00:04:12 verbose #13964 > │ #endif │
00:04:12 verbose #13965 > │ │
00:04:12 verbose #13966 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #13967 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #13968 > │ v163 │
00:04:12 verbose #13969 > │ #endif │
00:04:12 verbose #13970 > │ │
00:04:12 verbose #13971 > │ #else │
00:04:12 verbose #13972 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #13973 > │ v164 │
00:04:12 verbose #13974 > │ #endif │
00:04:12 verbose #13975 > │ |> fun x -> _v156 <- Some x │
00:04:12 verbose #13976 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:04:12 verbose #13977 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:04:12 verbose #13978 > │ let v167 : System.TimeSpan = v166 v41 │
00:04:12 verbose #13979 > │ v167 │
00:04:12 verbose #13980 > │ #endif │
00:04:12 verbose #13981 > │ |> fun x -> _v148 <- Some x │
00:04:12 verbose #13982 > │ let v168 : System.TimeSpan = _v148.Value │
00:04:12 verbose #13983 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:04:12 verbose #13984 > │ let v170 : int32 = v169 v168 │
00:04:12 verbose #13985 > │ let v171 : bool = v170 > 0 │
00:04:12 verbose #13986 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:04:12 verbose #13987 > │ let v173 : int32 = v172 v171 │
00:04:12 verbose #13988 > │ let v174 : string = method9() │
00:04:12 verbose #13989 > │ let v175 : (string -> string) = v168.ToString │
00:04:12 verbose #13990 > │ let v176 : string = v175 v174 │
00:04:12 verbose #13991 > │ let v177 : string = $"{v173}{v176}" │
00:04:12 verbose #13992 > │ struct (v137, v177) │
00:04:12 verbose #13993 > │ #endif │
00:04:12 verbose #13994 > │ |> fun x -> _v45 <- Some x │
00:04:12 verbose #13995 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:04:12 verbose #13996 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:04:12 verbose #13997 > │ v179.Length..]}" │
00:04:12 verbose #13998 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:04:12 verbose #13999 > │ let v182 : string = v181 v180 │
00:04:12 verbose #14000 > │ let v183 : string = method1(v40, v182) │
00:04:12 verbose #14001 > │ v183 │
00:04:12 verbose #14002 > │ #endif │
00:04:12 verbose #14003 > │ │
00:04:12 verbose #14004 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14005 > │ let v184 : string = null |> unbox<string> │
00:04:12 verbose #14006 > │ v184 │
00:04:12 verbose #14007 > │ #endif │
00:04:12 verbose #14008 > │ │
00:04:12 verbose #14009 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14010 > │ let v185 : string = null |> unbox<string> │
00:04:12 verbose #14011 > │ v185 │
00:04:12 verbose #14012 > │ #endif │
00:04:12 verbose #14013 > │ │
00:04:12 verbose #14014 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14015 > │ let v186 : string = null |> unbox<string> │
00:04:12 verbose #14016 > │ v186 │
00:04:12 verbose #14017 > │ #endif │
00:04:12 verbose #14018 > │ │
00:04:12 verbose #14019 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14020 > │ let v187 : string = null |> unbox<string> │
00:04:12 verbose #14021 > │ v187 │
00:04:12 verbose #14022 > │ #endif │
00:04:12 verbose #14023 > │ │
00:04:12 verbose #14024 > │ #else │
00:04:12 verbose #14025 > │ let v188 : string option = None │
00:04:12 verbose #14026 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:04:12 verbose #14027 > │ │
00:04:12 verbose #14028 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14029 > │ │
00:04:12 verbose #14030 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14031 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:04:12 verbose #14032 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:04:12 verbose #14033 > │ v191 │
00:04:12 verbose #14034 > │ #endif │
00:04:12 verbose #14035 > │ │
00:04:12 verbose #14036 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14037 > │ let v192 : string = null |> unbox<string> │
00:04:12 verbose #14038 > │ v192 │
00:04:12 verbose #14039 > │ #endif │
00:04:12 verbose #14040 > │ │
00:04:12 verbose #14041 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14042 > │ let v193 : string = null |> unbox<string> │
00:04:12 verbose #14043 > │ v193 │
00:04:12 verbose #14044 > │ #endif │
00:04:12 verbose #14045 > │ │
00:04:12 verbose #14046 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14047 > │ let v194 : string = null |> unbox<string> │
00:04:12 verbose #14048 > │ v194 │
00:04:12 verbose #14049 > │ #endif │
00:04:12 verbose #14050 > │ │
00:04:12 verbose #14051 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14052 > │ let v195 : string = null |> unbox<string> │
00:04:12 verbose #14053 > │ v195 │
00:04:12 verbose #14054 > │ #endif │
00:04:12 verbose #14055 > │ │
00:04:12 verbose #14056 > │ #else │
00:04:12 verbose #14057 > │ let v196 : string = │
00:04:12 verbose #14058 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:04:12 verbose #14059 > │ v196 │
00:04:12 verbose #14060 > │ #endif │
00:04:12 verbose #14061 > │ |> fun x -> _v188 <- Some x │
00:04:12 verbose #14062 > │ let v197 : string = _v188.Value │
00:04:12 verbose #14063 > │ let v198 : string option = None │
00:04:12 verbose #14064 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:04:12 verbose #14065 > │ │
00:04:12 verbose #14066 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14067 > │ │
00:04:12 verbose #14068 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14069 > │ let v200 : string = "std::env::temp_dir()" │
00:04:12 verbose #14070 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #14071 > │ v200 │
00:04:12 verbose #14072 > │ let v202 : string = "$0.display()" │
00:04:12 verbose #14073 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:04:12 verbose #14074 > │ v202 │
00:04:12 verbose #14075 > │ let v204 : std_string_String option = None │
00:04:12 verbose #14076 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:04:12 verbose #14077 > │ │
00:04:12 verbose #14078 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14079 > │ │
00:04:12 verbose #14080 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14081 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:04:12 verbose #14082 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:04:12 verbose #14083 > │ v206 │
00:04:12 verbose #14084 > │ v207 │
00:04:12 verbose #14085 > │ #endif │
00:04:12 verbose #14086 > │ │
00:04:12 verbose #14087 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14088 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:04:12 verbose #14089 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:04:12 verbose #14090 > │ v208 │
00:04:12 verbose #14091 > │ v209 │
00:04:12 verbose #14092 > │ #endif │
00:04:12 verbose #14093 > │ │
00:04:12 verbose #14094 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14095 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:04:12 verbose #14096 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:04:12 verbose #14097 > │ v210 │
00:04:12 verbose #14098 > │ v211 │
00:04:12 verbose #14099 > │ #endif │
00:04:12 verbose #14100 > │ │
00:04:12 verbose #14101 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14102 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:04:12 verbose #14103 > │ v212 │
00:04:12 verbose #14104 > │ #endif │
00:04:12 verbose #14105 > │ │
00:04:12 verbose #14106 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14107 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:04:12 verbose #14108 > │ v213 │
00:04:12 verbose #14109 > │ #endif │
00:04:12 verbose #14110 > │ │
00:04:12 verbose #14111 > │ #else │
00:04:12 verbose #14112 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:04:12 verbose #14113 > │ v214 │
00:04:12 verbose #14114 > │ #endif │
00:04:12 verbose #14115 > │ |> fun x -> _v204 <- Some x │
00:04:12 verbose #14116 > │ let v215 : std_string_String = _v204.Value │
00:04:12 verbose #14117 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:04:12 verbose #14118 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:04:12 verbose #14119 > │ v217 │
00:04:12 verbose #14120 > │ #endif │
00:04:12 verbose #14121 > │ │
00:04:12 verbose #14122 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14123 > │ let v218 : string = null |> unbox<string> │
00:04:12 verbose #14124 > │ v218 │
00:04:12 verbose #14125 > │ #endif │
00:04:12 verbose #14126 > │ │
00:04:12 verbose #14127 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14128 > │ let v219 : string = null |> unbox<string> │
00:04:12 verbose #14129 > │ v219 │
00:04:12 verbose #14130 > │ #endif │
00:04:12 verbose #14131 > │ │
00:04:12 verbose #14132 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14133 > │ let v220 : string = null |> unbox<string> │
00:04:12 verbose #14134 > │ v220 │
00:04:12 verbose #14135 > │ #endif │
00:04:12 verbose #14136 > │ │
00:04:12 verbose #14137 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14138 > │ let v221 : string = null |> unbox<string> │
00:04:12 verbose #14139 > │ v221 │
00:04:12 verbose #14140 > │ #endif │
00:04:12 verbose #14141 > │ │
00:04:12 verbose #14142 > │ #else │
00:04:12 verbose #14143 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:04:12 verbose #14144 > │ let v223 : string = v222 () │
00:04:12 verbose #14145 > │ v223 │
00:04:12 verbose #14146 > │ #endif │
00:04:12 verbose #14147 > │ |> fun x -> _v198 <- Some x │
00:04:12 verbose #14148 > │ let v224 : string = _v198.Value │
00:04:12 verbose #14149 > │ let v225 : string = $"!{v197}" │
00:04:12 verbose #14150 > │ let v226 : string = method1(v224, v225) │
00:04:12 verbose #14151 > │ let v227 : System.DateTime = System.DateTime.Now │
00:04:12 verbose #14152 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:04:12 verbose #14153 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:04:12 verbose #14154 > │ let v230 : string = v229 v228 │
00:04:12 verbose #14155 > │ let v231 : struct (string * string) option = None │
00:04:12 verbose #14156 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:04:12 verbose #14157 > │ │
00:04:12 verbose #14158 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14159 > │ │
00:04:12 verbose #14160 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14161 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:04:12 verbose #14162 > │ System.DateTimeKind.Utc) │
00:04:12 verbose #14163 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:12 verbose #14164 > │ let v235 : System.DateTime = v234 v233 │
00:04:12 verbose #14165 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:04:12 verbose #14166 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:04:12 verbose #14167 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:04:12 verbose #14168 > │ let v239 : System.DateTime = v238 v237 │
00:04:12 verbose #14169 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:04:12 verbose #14170 > │ let v241 : int64 = v240 v239 │
00:04:12 verbose #14171 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:04:12 verbose #14172 > │ let v243 : int64 = v242 v235 │
00:04:12 verbose #14173 > │ let v244 : int64 = v241 - v243 │
00:04:12 verbose #14174 > │ let v245 : int64 = v244 / 10L │
00:04:12 verbose #14175 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:04:12 verbose #14176 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:04:12 verbose #14177 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:04:12 verbose #14178 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:04:12 verbose #14179 > │ let v249 : US0 = US0_1 │
00:04:12 verbose #14180 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:04:12 verbose #14181 > │ let v269 : US1 = │
00:04:12 verbose #14182 > │ match v250 with │
00:04:12 verbose #14183 > │ | US0_1 -> (* None *) │
00:04:12 verbose #14184 > │ US1_1 │
00:04:12 verbose #14185 > │ | US0_0(v251) -> (* Some *) │
00:04:12 verbose #14186 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:04:12 verbose #14187 > │ let v253 : string = "v252.naive_utc()" │
00:04:12 verbose #14188 > │ let v254 : chrono_NaiveDateTime = │
00:04:12 verbose #14189 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:04:12 verbose #14190 > │ let v255 : string = │
00:04:12 verbose #14191 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:04:12 verbose #14192 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:04:12 verbose #14193 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:04:12 verbose #14194 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:04:12 verbose #14195 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:04:12 verbose #14196 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #14197 > │ v258 │
00:04:12 verbose #14198 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:04:12 verbose #14199 > │ let v261 : string = "v260.format(v259).to_string()" │
00:04:12 verbose #14200 > │ let v262 : std_string_String = │
00:04:12 verbose #14201 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:04:12 verbose #14202 > │ let v263 : string = │
00:04:12 verbose #14203 > │ "fable_library_rust::String_::fromString($0)" │
00:04:12 verbose #14204 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:04:12 verbose #14205 > │ v263 │
00:04:12 verbose #14206 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:04:12 verbose #14207 > │ 22]}" │
00:04:12 verbose #14208 > │ US1_0(v265) │
00:04:12 verbose #14209 > │ let v273 : string = │
00:04:12 verbose #14210 > │ match v269 with │
00:04:12 verbose #14211 > │ | US1_1 -> (* None *) │
00:04:12 verbose #14212 > │ let v271 : string = "" │
00:04:12 verbose #14213 > │ v271 │
00:04:12 verbose #14214 > │ | US1_0(v270) -> (* Some *) │
00:04:12 verbose #14215 > │ v270 │
00:04:12 verbose #14216 > │ let v274 : System.TimeZoneInfo option = None │
00:04:12 verbose #14217 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:04:12 verbose #14218 > │ │
00:04:12 verbose #14219 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14220 > │ │
00:04:12 verbose #14221 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14222 > │ let v276 : string = "0i64.into()" │
00:04:12 verbose #14223 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #14224 > │ v276 │
00:04:12 verbose #14225 > │ v277 │
00:04:12 verbose #14226 > │ #endif │
00:04:12 verbose #14227 > │ │
00:04:12 verbose #14228 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14229 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14230 > │ v278 │
00:04:12 verbose #14231 > │ #endif │
00:04:12 verbose #14232 > │ │
00:04:12 verbose #14233 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14234 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14235 > │ v279 │
00:04:12 verbose #14236 > │ #endif │
00:04:12 verbose #14237 > │ │
00:04:12 verbose #14238 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14239 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14240 > │ v280 │
00:04:12 verbose #14241 > │ #endif │
00:04:12 verbose #14242 > │ │
00:04:12 verbose #14243 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14244 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14245 > │ v281 │
00:04:12 verbose #14246 > │ #endif │
00:04:12 verbose #14247 > │ │
00:04:12 verbose #14248 > │ #else │
00:04:12 verbose #14249 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #14250 > │ v282 │
00:04:12 verbose #14251 > │ #endif │
00:04:12 verbose #14252 > │ |> fun x -> _v274 <- Some x │
00:04:12 verbose #14253 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:04:12 verbose #14254 > │ let v284 : System.TimeSpan option = None │
00:04:12 verbose #14255 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:04:12 verbose #14256 > │ │
00:04:12 verbose #14257 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14258 > │ │
00:04:12 verbose #14259 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14260 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14261 > │ v286 │
00:04:12 verbose #14262 > │ #endif │
00:04:12 verbose #14263 > │ │
00:04:12 verbose #14264 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14265 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14266 > │ v287 │
00:04:12 verbose #14267 > │ #endif │
00:04:12 verbose #14268 > │ │
00:04:12 verbose #14269 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14270 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14271 > │ v288 │
00:04:12 verbose #14272 > │ #endif │
00:04:12 verbose #14273 > │ │
00:04:12 verbose #14274 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14275 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14276 > │ v289 │
00:04:12 verbose #14277 > │ #endif │
00:04:12 verbose #14278 > │ │
00:04:12 verbose #14279 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14280 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14281 > │ v290 │
00:04:12 verbose #14282 > │ #endif │
00:04:12 verbose #14283 > │ │
00:04:12 verbose #14284 > │ #else │
00:04:12 verbose #14285 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:12 verbose #14286 > │ = _.GetUtcOffset │
00:04:12 verbose #14287 > │ let v292 : System.TimeZoneInfo option = None │
00:04:12 verbose #14288 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:04:12 verbose #14289 > │ │
00:04:12 verbose #14290 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14291 > │ │
00:04:12 verbose #14292 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14293 > │ let v294 : string = "0i64.into()" │
00:04:12 verbose #14294 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #14295 > │ v294 │
00:04:12 verbose #14296 > │ v295 │
00:04:12 verbose #14297 > │ #endif │
00:04:12 verbose #14298 > │ │
00:04:12 verbose #14299 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14300 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14301 > │ v296 │
00:04:12 verbose #14302 > │ #endif │
00:04:12 verbose #14303 > │ │
00:04:12 verbose #14304 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14305 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14306 > │ v297 │
00:04:12 verbose #14307 > │ #endif │
00:04:12 verbose #14308 > │ │
00:04:12 verbose #14309 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14310 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14311 > │ v298 │
00:04:12 verbose #14312 > │ #endif │
00:04:12 verbose #14313 > │ │
00:04:12 verbose #14314 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14315 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14316 > │ v299 │
00:04:12 verbose #14317 > │ #endif │
00:04:12 verbose #14318 > │ │
00:04:12 verbose #14319 > │ #else │
00:04:12 verbose #14320 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #14321 > │ v300 │
00:04:12 verbose #14322 > │ #endif │
00:04:12 verbose #14323 > │ |> fun x -> _v292 <- Some x │
00:04:12 verbose #14324 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:04:12 verbose #14325 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:04:12 verbose #14326 > │ let v303 : System.TimeSpan = v302 v239 │
00:04:12 verbose #14327 > │ v303 │
00:04:12 verbose #14328 > │ #endif │
00:04:12 verbose #14329 > │ |> fun x -> _v284 <- Some x │
00:04:12 verbose #14330 > │ let v304 : System.TimeSpan = _v284.Value │
00:04:12 verbose #14331 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:04:12 verbose #14332 > │ let v306 : int32 = v305 v304 │
00:04:12 verbose #14333 > │ let v307 : bool = v306 > 0 │
00:04:12 verbose #14334 > │ let v308 : uint8 = │
00:04:12 verbose #14335 > │ if v307 then │
00:04:12 verbose #14336 > │ 1uy │
00:04:12 verbose #14337 > │ else │
00:04:12 verbose #14338 > │ 0uy │
00:04:12 verbose #14339 > │ let v309 : (string -> string) = v304.ToString │
00:04:12 verbose #14340 > │ let v310 : string = v309 v124 │
00:04:12 verbose #14341 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:04:12 verbose #14342 > │ struct (v273, v311) │
00:04:12 verbose #14343 > │ #endif │
00:04:12 verbose #14344 > │ │
00:04:12 verbose #14345 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14346 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:04:12 verbose #14347 > │ * string)> │
00:04:12 verbose #14348 > │ struct (v312, v313) │
00:04:12 verbose #14349 > │ #endif │
00:04:12 verbose #14350 > │ │
00:04:12 verbose #14351 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14352 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:04:12 verbose #14353 > │ * string)> │
00:04:12 verbose #14354 > │ struct (v314, v315) │
00:04:12 verbose #14355 > │ #endif │
00:04:12 verbose #14356 > │ │
00:04:12 verbose #14357 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14358 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:04:12 verbose #14359 > │ * string)> │
00:04:12 verbose #14360 > │ struct (v316, v317) │
00:04:12 verbose #14361 > │ #endif │
00:04:12 verbose #14362 > │ │
00:04:12 verbose #14363 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14364 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:04:12 verbose #14365 > │ * string)> │
00:04:12 verbose #14366 > │ struct (v318, v319) │
00:04:12 verbose #14367 > │ #endif │
00:04:12 verbose #14368 > │ │
00:04:12 verbose #14369 > │ #else │
00:04:12 verbose #14370 > │ let v320 : string = method8() │
00:04:12 verbose #14371 > │ let v321 : (string -> string) = v227.ToString │
00:04:12 verbose #14372 > │ let v322 : string = v321 v320 │
00:04:12 verbose #14373 > │ let v323 : System.TimeZoneInfo option = None │
00:04:12 verbose #14374 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:04:12 verbose #14375 > │ │
00:04:12 verbose #14376 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14377 > │ │
00:04:12 verbose #14378 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14379 > │ let v325 : string = "0i64.into()" │
00:04:12 verbose #14380 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #14381 > │ v325 │
00:04:12 verbose #14382 > │ v326 │
00:04:12 verbose #14383 > │ #endif │
00:04:12 verbose #14384 > │ │
00:04:12 verbose #14385 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14386 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14387 > │ v327 │
00:04:12 verbose #14388 > │ #endif │
00:04:12 verbose #14389 > │ │
00:04:12 verbose #14390 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14391 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14392 > │ v328 │
00:04:12 verbose #14393 > │ #endif │
00:04:12 verbose #14394 > │ │
00:04:12 verbose #14395 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14396 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14397 > │ v329 │
00:04:12 verbose #14398 > │ #endif │
00:04:12 verbose #14399 > │ │
00:04:12 verbose #14400 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14401 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14402 > │ v330 │
00:04:12 verbose #14403 > │ #endif │
00:04:12 verbose #14404 > │ │
00:04:12 verbose #14405 > │ #else │
00:04:12 verbose #14406 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #14407 > │ v331 │
00:04:12 verbose #14408 > │ #endif │
00:04:12 verbose #14409 > │ |> fun x -> _v323 <- Some x │
00:04:12 verbose #14410 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:04:12 verbose #14411 > │ let v333 : System.TimeSpan option = None │
00:04:12 verbose #14412 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:04:12 verbose #14413 > │ │
00:04:12 verbose #14414 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14415 > │ │
00:04:12 verbose #14416 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14417 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14418 > │ v335 │
00:04:12 verbose #14419 > │ #endif │
00:04:12 verbose #14420 > │ │
00:04:12 verbose #14421 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14422 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14423 > │ v336 │
00:04:12 verbose #14424 > │ #endif │
00:04:12 verbose #14425 > │ │
00:04:12 verbose #14426 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14427 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14428 > │ v337 │
00:04:12 verbose #14429 > │ #endif │
00:04:12 verbose #14430 > │ │
00:04:12 verbose #14431 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14432 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14433 > │ v338 │
00:04:12 verbose #14434 > │ #endif │
00:04:12 verbose #14435 > │ │
00:04:12 verbose #14436 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14437 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:04:12 verbose #14438 > │ v339 │
00:04:12 verbose #14439 > │ #endif │
00:04:12 verbose #14440 > │ │
00:04:12 verbose #14441 > │ #else │
00:04:12 verbose #14442 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:04:12 verbose #14443 > │ = _.GetUtcOffset │
00:04:12 verbose #14444 > │ let v341 : System.TimeZoneInfo option = None │
00:04:12 verbose #14445 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:04:12 verbose #14446 > │ │
00:04:12 verbose #14447 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14448 > │ │
00:04:12 verbose #14449 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14450 > │ let v343 : string = "0i64.into()" │
00:04:12 verbose #14451 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:04:12 verbose #14452 > │ v343 │
00:04:12 verbose #14453 > │ v344 │
00:04:12 verbose #14454 > │ #endif │
00:04:12 verbose #14455 > │ │
00:04:12 verbose #14456 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14457 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14458 > │ v345 │
00:04:12 verbose #14459 > │ #endif │
00:04:12 verbose #14460 > │ │
00:04:12 verbose #14461 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14462 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14463 > │ v346 │
00:04:12 verbose #14464 > │ #endif │
00:04:12 verbose #14465 > │ │
00:04:12 verbose #14466 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14467 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14468 > │ v347 │
00:04:12 verbose #14469 > │ #endif │
00:04:12 verbose #14470 > │ │
00:04:12 verbose #14471 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14472 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:04:12 verbose #14473 > │ v348 │
00:04:12 verbose #14474 > │ #endif │
00:04:12 verbose #14475 > │ │
00:04:12 verbose #14476 > │ #else │
00:04:12 verbose #14477 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:04:12 verbose #14478 > │ v349 │
00:04:12 verbose #14479 > │ #endif │
00:04:12 verbose #14480 > │ |> fun x -> _v341 <- Some x │
00:04:12 verbose #14481 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:04:12 verbose #14482 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:04:12 verbose #14483 > │ let v352 : System.TimeSpan = v351 v227 │
00:04:12 verbose #14484 > │ v352 │
00:04:12 verbose #14485 > │ #endif │
00:04:12 verbose #14486 > │ |> fun x -> _v333 <- Some x │
00:04:12 verbose #14487 > │ let v353 : System.TimeSpan = _v333.Value │
00:04:12 verbose #14488 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:04:12 verbose #14489 > │ let v355 : int32 = v354 v353 │
00:04:12 verbose #14490 > │ let v356 : bool = v355 > 0 │
00:04:12 verbose #14491 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:04:12 verbose #14492 > │ let v358 : int32 = v357 v356 │
00:04:12 verbose #14493 > │ let v359 : string = method9() │
00:04:12 verbose #14494 > │ let v360 : (string -> string) = v353.ToString │
00:04:12 verbose #14495 > │ let v361 : string = v360 v359 │
00:04:12 verbose #14496 > │ let v362 : string = $"{v358}{v361}" │
00:04:12 verbose #14497 > │ struct (v322, v362) │
00:04:12 verbose #14498 > │ #endif │
00:04:12 verbose #14499 > │ |> fun x -> _v231 <- Some x │
00:04:12 verbose #14500 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:04:12 verbose #14501 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:04:12 verbose #14502 > │ v364.Length..]}" │
00:04:12 verbose #14503 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:04:12 verbose #14504 > │ let v367 : string = v366 v365 │
00:04:12 verbose #14505 > │ let v368 : string = method1(v226, v367) │
00:04:12 verbose #14506 > │ v368 │
00:04:12 verbose #14507 > │ #endif │
00:04:12 verbose #14508 > │ |> fun x -> _v0 <- Some x │
00:04:12 verbose #14509 > │ let v369 : string = _v0.Value │
00:04:12 verbose #14510 > │ let v370 : System.IDisposable option = None │
00:04:12 verbose #14511 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:04:12 verbose #14512 > │ │
00:04:12 verbose #14513 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14514 > │ │
00:04:12 verbose #14515 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14516 > │ let v372 : string = method10(v369) │
00:04:12 verbose #14517 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:04:12 verbose #14518 > │ let v374 : Result<unit, std_io_Error> = │
00:04:12 verbose #14519 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:04:12 verbose #14520 > │ let v375 : (std_io_Error -> std_string_String) = method11() │
00:04:12 verbose #14521 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:04:12 verbose #14522 > │ let v377 : Result<unit, std_string_String> = │
00:04:12 verbose #14523 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:04:12 verbose #14524 > │ let v378 : (unit -> US2) = closure2() │
00:04:12 verbose #14525 > │ let v379 : (std_string_String -> US2) = closure3() │
00:04:12 verbose #14526 > │ let v380 : US2 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:04:12 verbose #14527 > │ match v380 with │
00:04:12 verbose #14528 > │ | US2_1(v384) -> (* Error *) │
00:04:12 verbose #14529 > │ let v385 : US3 = US3_4 │
00:04:12 verbose #14530 > │ let v386 : (unit -> string) = closure4() │
00:04:12 verbose #14531 > │ let v387 : (unit -> string) = closure5(v372, v384) │
00:04:12 verbose #14532 > │ method12(v385, v386, v387) │
00:04:12 verbose #14533 > │ | US2_0 -> (* Ok *) │
00:04:12 verbose #14534 > │ let v381 : US3 = US3_0 │
00:04:12 verbose #14535 > │ let v382 : (unit -> string) = closure11() │
00:04:12 verbose #14536 > │ let v383 : (unit -> string) = closure12(v372) │
00:04:12 verbose #14537 > │ method12(v381, v382, v383) │
00:04:12 verbose #14538 > │ let v388 : System.IDisposable option = None │
00:04:12 verbose #14539 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:04:12 verbose #14540 > │ │
00:04:12 verbose #14541 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14542 > │ │
00:04:12 verbose #14543 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14544 > │ let v390 : (unit -> unit) = closure13(v372) │
00:04:12 verbose #14545 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:04:12 verbose #14546 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:04:12 verbose #14547 > │ v391 │
00:04:12 verbose #14548 > │ #endif │
00:04:12 verbose #14549 > │ │
00:04:12 verbose #14550 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14551 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:04:12 verbose #14552 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:04:12 verbose #14553 > │ v392 │
00:04:12 verbose #14554 > │ #endif │
00:04:12 verbose #14555 > │ │
00:04:12 verbose #14556 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14557 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:04:12 verbose #14558 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:04:12 verbose #14559 > │ v393 │
00:04:12 verbose #14560 > │ #endif │
00:04:12 verbose #14561 > │ │
00:04:12 verbose #14562 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14563 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14564 > │ v394 │
00:04:12 verbose #14565 > │ #endif │
00:04:12 verbose #14566 > │ │
00:04:12 verbose #14567 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14568 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14569 > │ v395 │
00:04:12 verbose #14570 > │ #endif │
00:04:12 verbose #14571 > │ │
00:04:12 verbose #14572 > │ #else │
00:04:12 verbose #14573 > │ let v396 : (unit -> unit) = method19(v372) │
00:04:12 verbose #14574 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:04:12 verbose #14575 > │ _.Dispose () = v396 () } │
00:04:12 verbose #14576 > │ v397 │
00:04:12 verbose #14577 > │ #endif │
00:04:12 verbose #14578 > │ |> fun x -> _v388 <- Some x │
00:04:12 verbose #14579 > │ let v398 : System.IDisposable = _v388.Value │
00:04:12 verbose #14580 > │ v398 │
00:04:12 verbose #14581 > │ #endif │
00:04:12 verbose #14582 > │ │
00:04:12 verbose #14583 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14584 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14585 > │ v399 │
00:04:12 verbose #14586 > │ #endif │
00:04:12 verbose #14587 > │ │
00:04:12 verbose #14588 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14589 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14590 > │ v400 │
00:04:12 verbose #14591 > │ #endif │
00:04:12 verbose #14592 > │ │
00:04:12 verbose #14593 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14594 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14595 > │ v401 │
00:04:12 verbose #14596 > │ #endif │
00:04:12 verbose #14597 > │ │
00:04:12 verbose #14598 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14599 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14600 > │ v402 │
00:04:12 verbose #14601 > │ #endif │
00:04:12 verbose #14602 > │ │
00:04:12 verbose #14603 > │ #else │
00:04:12 verbose #14604 > │ let v403 : System.IO.DirectoryInfo option = None │
00:04:12 verbose #14605 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:04:12 verbose #14606 > │ │
00:04:12 verbose #14607 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14608 > │ │
00:04:12 verbose #14609 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14610 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:04:12 verbose #14611 > │ unbox<System.IO.DirectoryInfo> │
00:04:12 verbose #14612 > │ v405 │
00:04:12 verbose #14613 > │ #endif │
00:04:12 verbose #14614 > │ │
00:04:12 verbose #14615 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14616 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:04:12 verbose #14617 > │ unbox<System.IO.DirectoryInfo> │
00:04:12 verbose #14618 > │ v406 │
00:04:12 verbose #14619 > │ #endif │
00:04:12 verbose #14620 > │ │
00:04:12 verbose #14621 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14622 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:04:12 verbose #14623 > │ unbox<System.IO.DirectoryInfo> │
00:04:12 verbose #14624 > │ v407 │
00:04:12 verbose #14625 > │ #endif │
00:04:12 verbose #14626 > │ │
00:04:12 verbose #14627 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14628 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:04:12 verbose #14629 > │ unbox<System.IO.DirectoryInfo> │
00:04:12 verbose #14630 > │ v408 │
00:04:12 verbose #14631 > │ #endif │
00:04:12 verbose #14632 > │ │
00:04:12 verbose #14633 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14634 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:04:12 verbose #14635 > │ unbox<System.IO.DirectoryInfo> │
00:04:12 verbose #14636 > │ v409 │
00:04:12 verbose #14637 > │ #endif │
00:04:12 verbose #14638 > │ │
00:04:12 verbose #14639 > │ #else │
00:04:12 verbose #14640 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:04:12 verbose #14641 > │ System.IO.Directory.CreateDirectory │
00:04:12 verbose #14642 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:04:12 verbose #14643 > │ v411 │
00:04:12 verbose #14644 > │ #endif │
00:04:12 verbose #14645 > │ |> fun x -> _v403 <- Some x │
00:04:12 verbose #14646 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:04:12 verbose #14647 > │ let v413 : bool option = None │
00:04:12 verbose #14648 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:04:12 verbose #14649 > │ │
00:04:12 verbose #14650 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14651 > │ │
00:04:12 verbose #14652 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14653 > │ let v415 : bool = null |> unbox<bool> │
00:04:12 verbose #14654 > │ v415 │
00:04:12 verbose #14655 > │ #endif │
00:04:12 verbose #14656 > │ │
00:04:12 verbose #14657 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14658 > │ let v416 : bool = null |> unbox<bool> │
00:04:12 verbose #14659 > │ v416 │
00:04:12 verbose #14660 > │ #endif │
00:04:12 verbose #14661 > │ │
00:04:12 verbose #14662 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14663 > │ let v417 : bool = null |> unbox<bool> │
00:04:12 verbose #14664 > │ v417 │
00:04:12 verbose #14665 > │ #endif │
00:04:12 verbose #14666 > │ │
00:04:12 verbose #14667 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14668 > │ let v418 : bool = null |> unbox<bool> │
00:04:12 verbose #14669 > │ v418 │
00:04:12 verbose #14670 > │ #endif │
00:04:12 verbose #14671 > │ │
00:04:12 verbose #14672 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14673 > │ let v419 : bool = null |> unbox<bool> │
00:04:12 verbose #14674 > │ v419 │
00:04:12 verbose #14675 > │ #endif │
00:04:12 verbose #14676 > │ │
00:04:12 verbose #14677 > │ #else │
00:04:12 verbose #14678 > │ let v420 : bool = v412.Exists │
00:04:12 verbose #14679 > │ v420 │
00:04:12 verbose #14680 > │ #endif │
00:04:12 verbose #14681 > │ |> fun x -> _v413 <- Some x │
00:04:12 verbose #14682 > │ let v421 : bool = _v413.Value │
00:04:12 verbose #14683 > │ let v422 : bool = v421 = false │
00:04:12 verbose #14684 > │ if v422 then │
00:04:12 verbose #14685 > │ let v423 : System.DateTime option = None │
00:04:12 verbose #14686 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:04:12 verbose #14687 > │ │
00:04:12 verbose #14688 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14689 > │ │
00:04:12 verbose #14690 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14691 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:04:12 verbose #14692 > │ v425 │
00:04:12 verbose #14693 > │ #endif │
00:04:12 verbose #14694 > │ │
00:04:12 verbose #14695 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14696 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:04:12 verbose #14697 > │ v426 │
00:04:12 verbose #14698 > │ #endif │
00:04:12 verbose #14699 > │ │
00:04:12 verbose #14700 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14701 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:04:12 verbose #14702 > │ v427 │
00:04:12 verbose #14703 > │ #endif │
00:04:12 verbose #14704 > │ │
00:04:12 verbose #14705 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14706 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:04:12 verbose #14707 > │ v428 │
00:04:12 verbose #14708 > │ #endif │
00:04:12 verbose #14709 > │ │
00:04:12 verbose #14710 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14711 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:04:12 verbose #14712 > │ v429 │
00:04:12 verbose #14713 > │ #endif │
00:04:12 verbose #14714 > │ │
00:04:12 verbose #14715 > │ #else │
00:04:12 verbose #14716 > │ let v430 : System.DateTime = v412.CreationTime │
00:04:12 verbose #14717 > │ v430 │
00:04:12 verbose #14718 > │ #endif │
00:04:12 verbose #14719 > │ |> fun x -> _v423 <- Some x │
00:04:12 verbose #14720 > │ let v431 : System.DateTime = _v423.Value │
00:04:12 verbose #14721 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:04:12 verbose #14722 > │ let v433 : string = $"%A{v432}" │
00:04:12 verbose #14723 > │ let v434 : US3 = US3_1 │
00:04:12 verbose #14724 > │ let v435 : (unit -> string) = closure14() │
00:04:12 verbose #14725 > │ let v436 : (unit -> string) = closure15(v369, v433) │
00:04:12 verbose #14726 > │ method12(v434, v435, v436) │
00:04:12 verbose #14727 > │ let v437 : System.IDisposable option = None │
00:04:12 verbose #14728 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:04:12 verbose #14729 > │ │
00:04:12 verbose #14730 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14731 > │ │
00:04:12 verbose #14732 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14733 > │ let v439 : (unit -> unit) = closure16(v369) │
00:04:12 verbose #14734 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:04:12 verbose #14735 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:04:12 verbose #14736 > │ v440 │
00:04:12 verbose #14737 > │ #endif │
00:04:12 verbose #14738 > │ │
00:04:12 verbose #14739 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14740 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:04:12 verbose #14741 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:04:12 verbose #14742 > │ v441 │
00:04:12 verbose #14743 > │ #endif │
00:04:12 verbose #14744 > │ │
00:04:12 verbose #14745 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14746 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:04:12 verbose #14747 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:04:12 verbose #14748 > │ v442 │
00:04:12 verbose #14749 > │ #endif │
00:04:12 verbose #14750 > │ │
00:04:12 verbose #14751 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14752 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14753 > │ v443 │
00:04:12 verbose #14754 > │ #endif │
00:04:12 verbose #14755 > │ │
00:04:12 verbose #14756 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14757 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:04:12 verbose #14758 > │ v444 │
00:04:12 verbose #14759 > │ #endif │
00:04:12 verbose #14760 > │ │
00:04:12 verbose #14761 > │ #else │
00:04:12 verbose #14762 > │ let v445 : (unit -> unit) = method21(v369) │
00:04:12 verbose #14763 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:04:12 verbose #14764 > │ _.Dispose () = v445 () } │
00:04:12 verbose #14765 > │ v446 │
00:04:12 verbose #14766 > │ #endif │
00:04:12 verbose #14767 > │ |> fun x -> _v437 <- Some x │
00:04:12 verbose #14768 > │ let v447 : System.IDisposable = _v437.Value │
00:04:12 verbose #14769 > │ v447 │
00:04:12 verbose #14770 > │ #endif │
00:04:12 verbose #14771 > │ |> fun x -> _v370 <- Some x │
00:04:12 verbose #14772 > │ let v448 : System.IDisposable = _v370.Value │
00:04:12 verbose #14773 > │ use v448 = v448 │
00:04:12 verbose #14774 > │ let v449 : System.IDisposable = v448 │
00:04:12 verbose #14775 > │ let v450 : Async<struct (int32 * string)> option = None │
00:04:12 verbose #14776 > │ let v451 : bool = true in let mutable _v450 = v450 │
00:04:12 verbose #14777 > │ │
00:04:12 verbose #14778 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14779 > │ │
00:04:12 verbose #14780 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14781 > │ let v452 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14782 > │ (int32 * string)>> │
00:04:12 verbose #14783 > │ v452 │
00:04:12 verbose #14784 > │ #endif │
00:04:12 verbose #14785 > │ │
00:04:12 verbose #14786 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14787 > │ let v453 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14788 > │ (int32 * string)>> │
00:04:12 verbose #14789 > │ v453 │
00:04:12 verbose #14790 > │ #endif │
00:04:12 verbose #14791 > │ │
00:04:12 verbose #14792 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14793 > │ let v454 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14794 > │ (int32 * string)>> │
00:04:12 verbose #14795 > │ v454 │
00:04:12 verbose #14796 > │ #endif │
00:04:12 verbose #14797 > │ │
00:04:12 verbose #14798 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14799 > │ let v455 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14800 > │ (int32 * string)>> │
00:04:12 verbose #14801 > │ v455 │
00:04:12 verbose #14802 > │ #endif │
00:04:12 verbose #14803 > │ │
00:04:12 verbose #14804 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14805 > │ let v456 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14806 > │ (int32 * string)>> │
00:04:12 verbose #14807 > │ v456 │
00:04:12 verbose #14808 > │ #endif │
00:04:12 verbose #14809 > │ │
00:04:12 verbose #14810 > │ #else │
00:04:12 verbose #14811 > │ let v457 : Async<struct (int32 * string)> option = None │
00:04:12 verbose #14812 > │ let mutable _v457 = v457 │
00:04:12 verbose #14813 > │ async { │
00:04:12 verbose #14814 > │ let v458 : string = "test.txt" │
00:04:12 verbose #14815 > │ let v459 : string = method1(v369, v458) │
00:04:12 verbose #14816 > │ let v460 : Async<unit> option = None │
00:04:12 verbose #14817 > │ let v461 : bool = true in let mutable _v460 = v460 │
00:04:12 verbose #14818 > │ │
00:04:12 verbose #14819 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14820 > │ │
00:04:12 verbose #14821 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14822 > │ let v462 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14823 > │ v462 │
00:04:12 verbose #14824 > │ #endif │
00:04:12 verbose #14825 > │ │
00:04:12 verbose #14826 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14827 > │ let v463 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14828 > │ v463 │
00:04:12 verbose #14829 > │ #endif │
00:04:12 verbose #14830 > │ │
00:04:12 verbose #14831 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14832 > │ let v464 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14833 > │ v464 │
00:04:12 verbose #14834 > │ #endif │
00:04:12 verbose #14835 > │ │
00:04:12 verbose #14836 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14837 > │ let v465 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14838 > │ v465 │
00:04:12 verbose #14839 > │ #endif │
00:04:12 verbose #14840 > │ │
00:04:12 verbose #14841 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14842 > │ let v466 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14843 > │ v466 │
00:04:12 verbose #14844 > │ #endif │
00:04:12 verbose #14845 > │ │
00:04:12 verbose #14846 > │ #else │
00:04:12 verbose #14847 > │ let v467 : string = "0" │
00:04:12 verbose #14848 > │ let v468 : System.Threading.Tasks.Task = │
00:04:12 verbose #14849 > │ System.IO.File.WriteAllTextAsync (v459, v467) │
00:04:12 verbose #14850 > │ let v469 : Async<unit> option = None │
00:04:12 verbose #14851 > │ let v470 : bool = true in let mutable _v469 = v469 │
00:04:12 verbose #14852 > │ │
00:04:12 verbose #14853 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14854 > │ │
00:04:12 verbose #14855 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14856 > │ let v471 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14857 > │ v471 │
00:04:12 verbose #14858 > │ #endif │
00:04:12 verbose #14859 > │ │
00:04:12 verbose #14860 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14861 > │ let v472 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14862 > │ v472 │
00:04:12 verbose #14863 > │ #endif │
00:04:12 verbose #14864 > │ │
00:04:12 verbose #14865 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14866 > │ let v473 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14867 > │ v473 │
00:04:12 verbose #14868 > │ #endif │
00:04:12 verbose #14869 > │ │
00:04:12 verbose #14870 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14871 > │ let v474 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14872 > │ v474 │
00:04:12 verbose #14873 > │ #endif │
00:04:12 verbose #14874 > │ │
00:04:12 verbose #14875 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14876 > │ let v475 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #14877 > │ v475 │
00:04:12 verbose #14878 > │ #endif │
00:04:12 verbose #14879 > │ │
00:04:12 verbose #14880 > │ #else │
00:04:12 verbose #14881 > │ let v476 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:04:12 verbose #14882 > │ Async.AwaitTask │
00:04:12 verbose #14883 > │ let v477 : Async<unit> = v476 v468 │
00:04:12 verbose #14884 > │ v477 │
00:04:12 verbose #14885 > │ #endif │
00:04:12 verbose #14886 > │ |> fun x -> _v469 <- Some x │
00:04:12 verbose #14887 > │ let v478 : Async<unit> = _v469.Value │
00:04:12 verbose #14888 > │ v478 │
00:04:12 verbose #14889 > │ #endif │
00:04:12 verbose #14890 > │ |> fun x -> _v460 <- Some x │
00:04:12 verbose #14891 > │ let v479 : Async<unit> = _v460.Value │
00:04:12 verbose #14892 > │ do! v479 │
00:04:12 verbose #14893 > │ let v480 : System.Threading.CancellationTokenSource = new │
00:04:12 verbose #14894 > │ System.Threading.CancellationTokenSource () │
00:04:12 verbose #14895 > │ let v481 : US3 = US3_1 │
00:04:12 verbose #14896 > │ let v482 : (unit -> string) = closure20() │
00:04:12 verbose #14897 > │ let v483 : (unit -> string) = closure6() │
00:04:12 verbose #14898 > │ method12(v481, v482, v483) │
00:04:12 verbose #14899 > │ let v484 : string option = None │
00:04:12 verbose #14900 > │ let v485 : System.Threading.CancellationToken option = None │
00:04:12 verbose #14901 > │ let v486 : (struct (string * string) []) = [||] │
00:04:12 verbose #14902 > │ let v487 : (struct (bool * string * int32) -> Async<unit>) option = None │
00:04:12 verbose #14903 > │ let v488 : (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> │
00:04:12 verbose #14904 > │ unit) option = None │
00:04:12 verbose #14905 > │ let v489 : string = @$"pwsh -c ""Get-Content {v459}""" │
00:04:12 verbose #14906 > │ let v490 : System.Threading.CancellationToken = v480.Token │
00:04:12 verbose #14907 > │ let v491 : System.Threading.CancellationToken option = Some v490 │
00:04:12 verbose #14908 > │ let v492 : Async<struct (int32 * string)> option = None │
00:04:12 verbose #14909 > │ let v493 : bool = true in let mutable _v492 = v492 │
00:04:12 verbose #14910 > │ │
00:04:12 verbose #14911 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14912 > │ │
00:04:12 verbose #14913 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14914 > │ let v494 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14915 > │ (int32 * string)>> │
00:04:12 verbose #14916 > │ v494 │
00:04:12 verbose #14917 > │ #endif │
00:04:12 verbose #14918 > │ │
00:04:12 verbose #14919 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14920 > │ let v495 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14921 > │ (int32 * string)>> │
00:04:12 verbose #14922 > │ v495 │
00:04:12 verbose #14923 > │ #endif │
00:04:12 verbose #14924 > │ │
00:04:12 verbose #14925 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14926 > │ let v496 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14927 > │ (int32 * string)>> │
00:04:12 verbose #14928 > │ v496 │
00:04:12 verbose #14929 > │ #endif │
00:04:12 verbose #14930 > │ │
00:04:12 verbose #14931 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14932 > │ let v497 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14933 > │ (int32 * string)>> │
00:04:12 verbose #14934 > │ v497 │
00:04:12 verbose #14935 > │ #endif │
00:04:12 verbose #14936 > │ │
00:04:12 verbose #14937 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14938 > │ let v498 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14939 > │ (int32 * string)>> │
00:04:12 verbose #14940 > │ v498 │
00:04:12 verbose #14941 > │ #endif │
00:04:12 verbose #14942 > │ │
00:04:12 verbose #14943 > │ #else │
00:04:12 verbose #14944 > │ let v499 : Async<struct (int32 * string)> option = None │
00:04:12 verbose #14945 > │ let v500 : bool = true in let mutable _v499 = v499 │
00:04:12 verbose #14946 > │ │
00:04:12 verbose #14947 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #14948 > │ │
00:04:12 verbose #14949 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #14950 > │ let v501 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14951 > │ (int32 * string)>> │
00:04:12 verbose #14952 > │ v501 │
00:04:12 verbose #14953 > │ #endif │
00:04:12 verbose #14954 > │ │
00:04:12 verbose #14955 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #14956 > │ let v502 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14957 > │ (int32 * string)>> │
00:04:12 verbose #14958 > │ v502 │
00:04:12 verbose #14959 > │ #endif │
00:04:12 verbose #14960 > │ │
00:04:12 verbose #14961 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #14962 > │ let v503 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14963 > │ (int32 * string)>> │
00:04:12 verbose #14964 > │ v503 │
00:04:12 verbose #14965 > │ #endif │
00:04:12 verbose #14966 > │ │
00:04:12 verbose #14967 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #14968 > │ let v504 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14969 > │ (int32 * string)>> │
00:04:12 verbose #14970 > │ v504 │
00:04:12 verbose #14971 > │ #endif │
00:04:12 verbose #14972 > │ │
00:04:12 verbose #14973 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #14974 > │ let v505 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:04:12 verbose #14975 > │ (int32 * string)>> │
00:04:12 verbose #14976 > │ v505 │
00:04:12 verbose #14977 > │ #endif │
00:04:12 verbose #14978 > │ │
00:04:12 verbose #14979 > │ #else │
00:04:12 verbose #14980 > │ let v506 : Async<struct (int32 * string)> option = None │
00:04:12 verbose #14981 > │ let mutable _v506 = v506 │
00:04:12 verbose #14982 > │ async { │
00:04:12 verbose #14983 > │ let struct (v507 : string, v508 : string) = method22() │
00:04:12 verbose #14984 > │ let v509 : int32 = v489.Length │
00:04:12 verbose #14985 > │ let v510 : (char []) = Array.zeroCreate<char> (v509) │
00:04:12 verbose #14986 > │ let v511 : Mut4 = {l0 = 0} : Mut4 │
00:04:12 verbose #14987 > │ while method23(v509, v511) do │
00:04:12 verbose #14988 > │ let v513 : int32 = v511.l0 │
00:04:12 verbose #14989 > │ let v514 : char = v489.[int v513] │
00:04:12 verbose #14990 > │ v510.[int v513] <- v514 │
00:04:12 verbose #14991 > │ let v515 : int32 = v513 + 1 │
00:04:12 verbose #14992 > │ v511.l0 <- v515 │
00:04:12 verbose #14993 > │ () │
00:04:12 verbose #14994 > │ let v516 : ((char []) -> char list) = Array.toList │
00:04:12 verbose #14995 > │ let v517 : char list = v516 v510 │
00:04:12 verbose #14996 > │ let v518 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:04:12 verbose #14997 > │ List.foldBack │
00:04:12 verbose #14998 > │ let v519 : (char -> (UH0 -> UH0)) = method24() │
00:04:12 verbose #14999 > │ let v520 : (char list -> (UH0 -> UH0)) = v518 v519 │
00:04:12 verbose #15000 > │ let v521 : (UH0 -> UH0) = v520 v517 │
00:04:12 verbose #15001 > │ let v522 : UH0 = UH0_0 │
00:04:12 verbose #15002 > │ let v523 : UH0 = v521 v522 │
00:04:12 verbose #15003 > │ let v524 : US6 = US6_0 │
00:04:12 verbose #15004 > │ let struct (v525 : string, v526 : string) = method25(v508, v507, v523, │
00:04:12 verbose #15005 > │ v524) │
00:04:12 verbose #15006 > │ let v527 : (string -> US1) = method26() │
00:04:12 verbose #15007 > │ let v528 : US1 = US1_1 │
00:04:12 verbose #15008 > │ let v529 : US1 = v484 |> Option.map v527 |> Option.defaultValue v528 │
00:04:12 verbose #15009 > │ let v533 : string = │
00:04:12 verbose #15010 > │ match v529 with │
00:04:12 verbose #15011 > │ | US1_1 -> (* None *) │
00:04:12 verbose #15012 > │ let v531 : string = "" │
00:04:12 verbose #15013 > │ v531 │
00:04:12 verbose #15014 > │ | US1_0(v530) -> (* Some *) │
00:04:12 verbose #15015 > │ v530 │
00:04:12 verbose #15016 > │ let v534 : US3 = US3_1 │
00:04:12 verbose #15017 > │ let v535 : (unit -> string) = closure24(v491, v489, v486, v487, v488, │
00:04:12 verbose #15018 > │ v484) │
00:04:12 verbose #15019 > │ let v536 : (unit -> string) = method27() │
00:04:12 verbose #15020 > │ method12(v534, v535, v536) │
00:04:12 verbose #15021 > │ let v537 : System.Text.Encoding = System.Text.Encoding.UTF8 │
00:04:12 verbose #15022 > │ let v538 : System.Diagnostics.ProcessStartInfo = │
00:04:12 verbose #15023 > │ System.Diagnostics.ProcessStartInfo (Arguments = v526, │
00:04:12 verbose #15024 > │ StandardOutputEncoding = v537, WorkingDirectory = v533, FileName = v525, │
00:04:12 verbose #15025 > │ CreateNoWindow = true, RedirectStandardError = true, RedirectStandardOutput │
00:04:12 verbose #15026 > │ = true, UseShellExecute = false) │
00:04:12 verbose #15027 > │ let v539 : int32 = v486.Length │
00:04:12 verbose #15028 > │ let v540 : Mut4 = {l0 = 0} : Mut4 │
00:04:12 verbose #15029 > │ while method23(v539, v540) do │
00:04:12 verbose #15030 > │ let v542 : int32 = v540.l0 │
00:04:12 verbose #15031 > │ let struct (v543 : string, v544 : string) = v486.[int v542] │
00:04:12 verbose #15032 > │ v538.EnvironmentVariables.[v543] <- v544 │
00:04:12 verbose #15033 > │ let v545 : int32 = v542 + 1 │
00:04:12 verbose #15034 > │ v540.l0 <- v545 │
00:04:12 verbose #15035 > │ () │
00:04:12 verbose #15036 > │ let v546 : System.Diagnostics.Process = new System.Diagnostics.Process │
00:04:12 verbose #15037 > │ (StartInfo = v538) │
00:04:12 verbose #15038 > │ use v546 = v546 │
00:04:12 verbose #15039 > │ let v547 : System.Diagnostics.Process = v546 │
00:04:12 verbose #15040 > │ let v548 : (unit -> │
00:04:12 verbose #15041 > │ System.Collections.Concurrent.ConcurrentStack<string>) = │
00:04:12 verbose #15042 > │ System.Collections.Concurrent.ConcurrentStack<string> │
00:04:12 verbose #15043 > │ let v549 : System.Collections.Concurrent.ConcurrentStack<string> = v548 │
00:04:12 verbose #15044 > │ () │
00:04:12 verbose #15045 > │ let v550 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:04:12 verbose #15046 > │ closure25(v491, v489, v486, v487, v488, v484, v547, v549) │
00:04:12 verbose #15047 > │ v547.OutputDataReceived.Add v550 │
00:04:12 verbose #15048 > │ let v551 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:04:12 verbose #15049 > │ closure28(v491, v489, v486, v487, v488, v484, v547, v549) │
00:04:12 verbose #15050 > │ v547.ErrorDataReceived.Add v551 │
00:04:12 verbose #15051 > │ let v552 : (unit -> bool) = v547.Start │
00:04:12 verbose #15052 > │ let v553 : bool = v552 () │
00:04:12 verbose #15053 > │ let v554 : bool = v553 = false │
00:04:12 verbose #15054 > │ if v554 then │
00:04:12 verbose #15055 > │ let v555 : string = $"execute_with_options_async / process_start │
00:04:12 verbose #15056 > │ error" │
00:04:12 verbose #15057 > │ failwith<unit> v555 │
00:04:12 verbose #15058 > │ let v556 : (unit -> unit) = v547.BeginErrorReadLine │
00:04:12 verbose #15059 > │ v556 () │
00:04:12 verbose #15060 > │ let v557 : (unit -> unit) = v547.BeginOutputReadLine │
00:04:12 verbose #15061 > │ v557 () │
00:04:12 verbose #15062 > │ let v558 : (System.Threading.CancellationToken -> US9) = method29() │
00:04:12 verbose #15063 > │ let v559 : US9 = US9_1 │
00:04:12 verbose #15064 > │ let v560 : US9 = v491 |> Option.map v558 |> Option.defaultValue v559 │
00:04:12 verbose #15065 > │ let v564 : System.Threading.CancellationToken = │
00:04:12 verbose #15066 > │ match v560 with │
00:04:12 verbose #15067 > │ | US9_1 -> (* None *) │
00:04:12 verbose #15068 > │ let v562 : System.Threading.CancellationToken = │
00:04:12 verbose #15069 > │ System.Threading.CancellationToken.None │
00:04:12 verbose #15070 > │ v562 │
00:04:12 verbose #15071 > │ | US9_0(v561) -> (* Some *) │
00:04:12 verbose #15072 > │ v561 │
00:04:12 verbose #15073 > │ let v565 : Async<System.Threading.CancellationToken> option = None │
00:04:12 verbose #15074 > │ let v566 : bool = true in let mutable _v565 = v565 │
00:04:12 verbose #15075 > │ │
00:04:12 verbose #15076 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15077 > │ │
00:04:12 verbose #15078 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15079 > │ let v567 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15080 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15081 > │ v567 │
00:04:12 verbose #15082 > │ #endif │
00:04:12 verbose #15083 > │ │
00:04:12 verbose #15084 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15085 > │ let v568 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15086 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15087 > │ v568 │
00:04:12 verbose #15088 > │ #endif │
00:04:12 verbose #15089 > │ │
00:04:12 verbose #15090 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15091 > │ let v569 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15092 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15093 > │ v569 │
00:04:12 verbose #15094 > │ #endif │
00:04:12 verbose #15095 > │ │
00:04:12 verbose #15096 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15097 > │ let v570 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15098 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15099 > │ v570 │
00:04:12 verbose #15100 > │ #endif │
00:04:12 verbose #15101 > │ │
00:04:12 verbose #15102 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15103 > │ let v571 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15104 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15105 > │ v571 │
00:04:12 verbose #15106 > │ #endif │
00:04:12 verbose #15107 > │ │
00:04:12 verbose #15108 > │ #else │
00:04:12 verbose #15109 > │ let v572 : Async<System.Threading.CancellationToken> option = None │
00:04:12 verbose #15110 > │ let v573 : bool = true in let mutable _v572 = v572 │
00:04:12 verbose #15111 > │ │
00:04:12 verbose #15112 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15113 > │ │
00:04:12 verbose #15114 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15115 > │ let v574 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15116 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15117 > │ v574 │
00:04:12 verbose #15118 > │ #endif │
00:04:12 verbose #15119 > │ │
00:04:12 verbose #15120 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15121 > │ let v575 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15122 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15123 > │ v575 │
00:04:12 verbose #15124 > │ #endif │
00:04:12 verbose #15125 > │ │
00:04:12 verbose #15126 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15127 > │ let v576 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15128 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15129 > │ v576 │
00:04:12 verbose #15130 > │ #endif │
00:04:12 verbose #15131 > │ │
00:04:12 verbose #15132 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15133 > │ let v577 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15134 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15135 > │ v577 │
00:04:12 verbose #15136 > │ #endif │
00:04:12 verbose #15137 > │ │
00:04:12 verbose #15138 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15139 > │ let v578 : Async<System.Threading.CancellationToken> = null |> │
00:04:12 verbose #15140 > │ unbox<Async<System.Threading.CancellationToken>> │
00:04:12 verbose #15141 > │ v578 │
00:04:12 verbose #15142 > │ #endif │
00:04:12 verbose #15143 > │ │
00:04:12 verbose #15144 > │ #else │
00:04:12 verbose #15145 > │ let v579 : Async<System.Threading.CancellationToken> option = None │
00:04:12 verbose #15146 > │ let mutable _v579 = v579 │
00:04:12 verbose #15147 > │ async { │
00:04:12 verbose #15148 > │ let v580 : Async<System.Threading.CancellationToken> = │
00:04:12 verbose #15149 > │ Async.CancellationToken │
00:04:12 verbose #15150 > │ let! v580 = v580 │
00:04:12 verbose #15151 > │ let v581 : System.Threading.CancellationToken = v580 │
00:04:12 verbose #15152 > │ let v582 : System.Threading.CancellationToken = │
00:04:12 verbose #15153 > │ Async.DefaultCancellationToken │
00:04:12 verbose #15154 > │ let v583 : (System.Threading.CancellationToken []) = [|v581; v582; │
00:04:12 verbose #15155 > │ v564|] │
00:04:12 verbose #15156 > │ let v584 : ((System.Threading.CancellationToken []) -> │
00:04:12 verbose #15157 > │ System.Threading.CancellationTokenSource) = │
00:04:12 verbose #15158 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:04:12 verbose #15159 > │ let v585 : System.Threading.CancellationTokenSource = v584 v583 │
00:04:12 verbose #15160 > │ let v586 : System.Threading.CancellationToken = v585.Token │
00:04:12 verbose #15161 > │ return v586 │
00:04:12 verbose #15162 > │ } │
00:04:12 verbose #15163 > │ |> fun x -> _v579 <- Some x │
00:04:12 verbose #15164 > │ let v587 : Async<System.Threading.CancellationToken> = _v579 |> │
00:04:12 verbose #15165 > │ Option.get │
00:04:12 verbose #15166 > │ v587 │
00:04:12 verbose #15167 > │ #endif │
00:04:12 verbose #15168 > │ |> fun x -> _v572 <- Some x │
00:04:12 verbose #15169 > │ let v588 : Async<System.Threading.CancellationToken> = _v572.Value │
00:04:12 verbose #15170 > │ v588 │
00:04:12 verbose #15171 > │ #endif │
00:04:12 verbose #15172 > │ |> fun x -> _v565 <- Some x │
00:04:12 verbose #15173 > │ let v589 : Async<System.Threading.CancellationToken> = _v565.Value │
00:04:12 verbose #15174 > │ let! v589 = v589 │
00:04:12 verbose #15175 > │ let v590 : System.Threading.CancellationToken = v589 │
00:04:12 verbose #15176 > │ let v591 : ((unit -> unit) -> │
00:04:12 verbose #15177 > │ System.Threading.CancellationTokenRegistration) = v590.Register │
00:04:12 verbose #15178 > │ let v592 : (unit -> unit) = closure30(v547) │
00:04:12 verbose #15179 > │ let v593 : System.Threading.CancellationTokenRegistration = v591 v592 │
00:04:12 verbose #15180 > │ use v593 = v593 │
00:04:12 verbose #15181 > │ let v594 : System.Threading.CancellationTokenRegistration = v593 │
00:04:12 verbose #15182 > │ let v595 : Async<int32> option = None │
00:04:12 verbose #15183 > │ let v596 : bool = true in let mutable _v595 = v595 │
00:04:12 verbose #15184 > │ │
00:04:12 verbose #15185 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15186 > │ │
00:04:12 verbose #15187 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15188 > │ let v597 : Async<int32> = null |> unbox<Async<int32>> │
00:04:12 verbose #15189 > │ v597 │
00:04:12 verbose #15190 > │ #endif │
00:04:12 verbose #15191 > │ │
00:04:12 verbose #15192 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15193 > │ let v598 : Async<int32> = null |> unbox<Async<int32>> │
00:04:12 verbose #15194 > │ v598 │
00:04:12 verbose #15195 > │ #endif │
00:04:12 verbose #15196 > │ │
00:04:12 verbose #15197 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15198 > │ let v599 : Async<int32> = null |> unbox<Async<int32>> │
00:04:12 verbose #15199 > │ v599 │
00:04:12 verbose #15200 > │ #endif │
00:04:12 verbose #15201 > │ │
00:04:12 verbose #15202 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15203 > │ let v600 : Async<int32> = null |> unbox<Async<int32>> │
00:04:12 verbose #15204 > │ v600 │
00:04:12 verbose #15205 > │ #endif │
00:04:12 verbose #15206 > │ │
00:04:12 verbose #15207 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15208 > │ let v601 : Async<int32> = null |> unbox<Async<int32>> │
00:04:12 verbose #15209 > │ v601 │
00:04:12 verbose #15210 > │ #endif │
00:04:12 verbose #15211 > │ │
00:04:12 verbose #15212 > │ #else │
00:04:12 verbose #15213 > │ let v602 : Async<int32> option = None │
00:04:12 verbose #15214 > │ let mutable _v602 = v602 │
00:04:12 verbose #15215 > │ async { │
00:04:12 verbose #15216 > │ try │
00:04:12 verbose #15217 > │ let v603 : System.Threading.Tasks.Task = v547.WaitForExitAsync v590 │
00:04:12 verbose #15218 > │ let v604 : Async<unit> option = None │
00:04:12 verbose #15219 > │ let v605 : bool = true in let mutable _v604 = v604 │
00:04:12 verbose #15220 > │ │
00:04:12 verbose #15221 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15222 > │ │
00:04:12 verbose #15223 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15224 > │ let v606 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15225 > │ v606 │
00:04:12 verbose #15226 > │ #endif │
00:04:12 verbose #15227 > │ │
00:04:12 verbose #15228 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15229 > │ let v607 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15230 > │ v607 │
00:04:12 verbose #15231 > │ #endif │
00:04:12 verbose #15232 > │ │
00:04:12 verbose #15233 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15234 > │ let v608 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15235 > │ v608 │
00:04:12 verbose #15236 > │ #endif │
00:04:12 verbose #15237 > │ │
00:04:12 verbose #15238 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15239 > │ let v609 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15240 > │ v609 │
00:04:12 verbose #15241 > │ #endif │
00:04:12 verbose #15242 > │ │
00:04:12 verbose #15243 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15244 > │ let v610 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15245 > │ v610 │
00:04:12 verbose #15246 > │ #endif │
00:04:12 verbose #15247 > │ │
00:04:12 verbose #15248 > │ #else │
00:04:12 verbose #15249 > │ let v611 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:04:12 verbose #15250 > │ Async.AwaitTask │
00:04:12 verbose #15251 > │ let v612 : Async<unit> = v611 v603 │
00:04:12 verbose #15252 > │ v612 │
00:04:12 verbose #15253 > │ #endif │
00:04:12 verbose #15254 > │ |> fun x -> _v604 <- Some x │
00:04:12 verbose #15255 > │ let v613 : Async<unit> = _v604.Value │
00:04:12 verbose #15256 > │ do! v613 │
00:04:12 verbose #15257 > │ let v614 : int32 = v547.ExitCode │
00:04:12 verbose #15258 > │ return v614 │
00:04:12 verbose #15259 > │ with ex -> │
00:04:12 verbose #15260 > │ let v615 : exn = ex │
00:04:12 verbose #15261 > │ let v616 : string option = None │
00:04:12 verbose #15262 > │ let v617 : bool = true in let mutable _v616 = v616 │
00:04:12 verbose #15263 > │ │
00:04:12 verbose #15264 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15265 > │ │
00:04:12 verbose #15266 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15267 > │ let v618 : string = $"%A{v615}" │
00:04:12 verbose #15268 > │ v618 │
00:04:12 verbose #15269 > │ #endif │
00:04:12 verbose #15270 > │ │
00:04:12 verbose #15271 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15272 > │ let v619 : string = $"%A{v615}" │
00:04:12 verbose #15273 > │ v619 │
00:04:12 verbose #15274 > │ #endif │
00:04:12 verbose #15275 > │ │
00:04:12 verbose #15276 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15277 > │ let v620 : string = $"%A{v615}" │
00:04:12 verbose #15278 > │ v620 │
00:04:12 verbose #15279 > │ #endif │
00:04:12 verbose #15280 > │ │
00:04:12 verbose #15281 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15282 > │ let v621 : string = $"%A{v615}" │
00:04:12 verbose #15283 > │ v621 │
00:04:12 verbose #15284 > │ #endif │
00:04:12 verbose #15285 > │ │
00:04:12 verbose #15286 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15287 > │ let v622 : string = $"%A{v615}" │
00:04:12 verbose #15288 > │ v622 │
00:04:12 verbose #15289 > │ #endif │
00:04:12 verbose #15290 > │ │
00:04:12 verbose #15291 > │ #else │
00:04:12 verbose #15292 > │ let v623 : string = $"{v615.GetType ()}: {v615.Message}" │
00:04:12 verbose #15293 > │ v623 │
00:04:12 verbose #15294 > │ #endif │
00:04:12 verbose #15295 > │ |> fun x -> _v616 <- Some x │
00:04:12 verbose #15296 > │ let v624 : string = _v616.Value │
00:04:12 verbose #15297 > │ let v625 : (string -> unit) = v549.Push │
00:04:12 verbose #15298 > │ v625 v624 │
00:04:12 verbose #15299 > │ let v626 : System.Threading.Tasks.TaskCanceledException = v615 |> │
00:04:12 verbose #15300 > │ unbox<System.Threading.Tasks.TaskCanceledException> │
00:04:12 verbose #15301 > │ let v627 : US3 = US3_3 │
00:04:12 verbose #15302 > │ let v628 : (unit -> string) = closure31(v626) │
00:04:12 verbose #15303 > │ let v629 : (unit -> string) = method27() │
00:04:12 verbose #15304 > │ method12(v627, v628, v629) │
00:04:12 verbose #15305 > │ return -2147483648 │
00:04:12 verbose #15306 > │ (* │
00:04:12 verbose #15307 > │ *) │
00:04:12 verbose #15308 > │ } │
00:04:12 verbose #15309 > │ |> fun x -> _v602 <- Some x │
00:04:12 verbose #15310 > │ let v630 : Async<int32> = _v602 |> Option.get │
00:04:12 verbose #15311 > │ v630 │
00:04:12 verbose #15312 > │ #endif │
00:04:12 verbose #15313 > │ |> fun x -> _v595 <- Some x │
00:04:12 verbose #15314 > │ let v631 : Async<int32> = _v595.Value │
00:04:12 verbose #15315 > │ let! v631 = v631 │
00:04:12 verbose #15316 > │ let v632 : int32 = v631 │
00:04:12 verbose #15317 > │ let v633 : (System.Collections.Concurrent.ConcurrentStack<string> -> │
00:04:12 verbose #15318 > │ string seq) = Seq.rev │
00:04:12 verbose #15319 > │ let v634 : string seq = v633 v549 │
00:04:12 verbose #15320 > │ let v635 : string = method30() │
00:04:12 verbose #15321 > │ let v636 : (string -> (string seq -> string)) = String.concat │
00:04:12 verbose #15322 > │ let v637 : (string seq -> string) = v636 v635 │
00:04:12 verbose #15323 > │ let v638 : string = v637 v634 │
00:04:12 verbose #15324 > │ let v639 : US3 = US3_1 │
00:04:12 verbose #15325 > │ let v640 : (unit -> string) = closure32(v632, v638) │
00:04:12 verbose #15326 > │ let v641 : (unit -> string) = method27() │
00:04:12 verbose #15327 > │ method12(v639, v640, v641) │
00:04:12 verbose #15328 > │ return struct (v632, v638) │
00:04:12 verbose #15329 > │ } │
00:04:12 verbose #15330 > │ |> fun x -> _v506 <- Some x │
00:04:12 verbose #15331 > │ let v642 : Async<struct (int32 * string)> = _v506 |> Option.get │
00:04:12 verbose #15332 > │ v642 │
00:04:12 verbose #15333 > │ #endif │
00:04:12 verbose #15334 > │ |> fun x -> _v499 <- Some x │
00:04:12 verbose #15335 > │ let v643 : Async<struct (int32 * string)> = _v499.Value │
00:04:12 verbose #15336 > │ v643 │
00:04:12 verbose #15337 > │ #endif │
00:04:12 verbose #15338 > │ |> fun x -> _v492 <- Some x │
00:04:12 verbose #15339 > │ let v644 : Async<struct (int32 * string)> = _v492.Value │
00:04:12 verbose #15340 > │ let v645 : Async<Async<struct (int32 * string)>> option = None │
00:04:12 verbose #15341 > │ let v646 : bool = true in let mutable _v645 = v645 │
00:04:12 verbose #15342 > │ │
00:04:12 verbose #15343 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15344 > │ │
00:04:12 verbose #15345 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15346 > │ let v647 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15347 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15348 > │ v647 │
00:04:12 verbose #15349 > │ #endif │
00:04:12 verbose #15350 > │ │
00:04:12 verbose #15351 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15352 > │ let v648 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15353 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15354 > │ v648 │
00:04:12 verbose #15355 > │ #endif │
00:04:12 verbose #15356 > │ │
00:04:12 verbose #15357 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15358 > │ let v649 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15359 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15360 > │ v649 │
00:04:12 verbose #15361 > │ #endif │
00:04:12 verbose #15362 > │ │
00:04:12 verbose #15363 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15364 > │ let v650 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15365 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15366 > │ v650 │
00:04:12 verbose #15367 > │ #endif │
00:04:12 verbose #15368 > │ │
00:04:12 verbose #15369 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15370 > │ let v651 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15371 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15372 > │ v651 │
00:04:12 verbose #15373 > │ #endif │
00:04:12 verbose #15374 > │ │
00:04:12 verbose #15375 > │ #else │
00:04:12 verbose #15376 > │ let v652 : (Async<struct (int32 * string)> -> Async<Async<struct (int32 │
00:04:12 verbose #15377 > │ * string)>>) = Async.StartChild │
00:04:12 verbose #15378 > │ let v653 : Async<Async<struct (int32 * string)>> = v652 v644 │
00:04:12 verbose #15379 > │ v653 │
00:04:12 verbose #15380 > │ #endif │
00:04:12 verbose #15381 > │ |> fun x -> _v645 <- Some x │
00:04:12 verbose #15382 > │ let v654 : Async<Async<struct (int32 * string)>> = _v645.Value │
00:04:12 verbose #15383 > │ let! v654 = v654 │
00:04:12 verbose #15384 > │ let v655 : Async<struct (int32 * string)> = v654 │
00:04:12 verbose #15385 > │ let v656 : US3 = US3_1 │
00:04:12 verbose #15386 > │ let v657 : (unit -> string) = closure33() │
00:04:12 verbose #15387 > │ method12(v656, v657, v483) │
00:04:12 verbose #15388 > │ let v658 : Async<unit> option = None │
00:04:12 verbose #15389 > │ let v659 : bool = true in let mutable _v658 = v658 │
00:04:12 verbose #15390 > │ │
00:04:12 verbose #15391 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15392 > │ │
00:04:12 verbose #15393 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15394 > │ let v660 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15395 > │ v660 │
00:04:12 verbose #15396 > │ #endif │
00:04:12 verbose #15397 > │ │
00:04:12 verbose #15398 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15399 > │ let v661 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15400 > │ v661 │
00:04:12 verbose #15401 > │ #endif │
00:04:12 verbose #15402 > │ │
00:04:12 verbose #15403 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15404 > │ let v662 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15405 > │ v662 │
00:04:12 verbose #15406 > │ #endif │
00:04:12 verbose #15407 > │ │
00:04:12 verbose #15408 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15409 > │ let v663 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15410 > │ v663 │
00:04:12 verbose #15411 > │ #endif │
00:04:12 verbose #15412 > │ │
00:04:12 verbose #15413 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15414 > │ let v664 : Async<unit> = null |> unbox<Async<unit>> │
00:04:12 verbose #15415 > │ v664 │
00:04:12 verbose #15416 > │ #endif │
00:04:12 verbose #15417 > │ │
00:04:12 verbose #15418 > │ #else │
00:04:12 verbose #15419 > │ let v665 : (int32 -> Async<unit>) = Async.Sleep │
00:04:12 verbose #15420 > │ let v666 : Async<unit> = v665 100 │
00:04:12 verbose #15421 > │ v666 │
00:04:12 verbose #15422 > │ #endif │
00:04:12 verbose #15423 > │ |> fun x -> _v658 <- Some x │
00:04:12 verbose #15424 > │ let v667 : Async<unit> = _v658.Value │
00:04:12 verbose #15425 > │ do! v667 │
00:04:12 verbose #15426 > │ let v668 : US3 = US3_1 │
00:04:12 verbose #15427 > │ let v669 : (unit -> string) = closure34() │
00:04:12 verbose #15428 > │ method12(v668, v669, v483) │
00:04:12 verbose #15429 > │ let v670 : unit option = None │
00:04:12 verbose #15430 > │ let v671 : bool = true in let mutable _v670 = v670 │
00:04:12 verbose #15431 > │ │
00:04:12 verbose #15432 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15433 > │ │
00:04:12 verbose #15434 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15435 > │ null |> unbox<unit> │
00:04:12 verbose #15436 > │ () │
00:04:12 verbose #15437 > │ #endif │
00:04:12 verbose #15438 > │ │
00:04:12 verbose #15439 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15440 > │ null |> unbox<unit> │
00:04:12 verbose #15441 > │ () │
00:04:12 verbose #15442 > │ #endif │
00:04:12 verbose #15443 > │ │
00:04:12 verbose #15444 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15445 > │ null |> unbox<unit> │
00:04:12 verbose #15446 > │ () │
00:04:12 verbose #15447 > │ #endif │
00:04:12 verbose #15448 > │ │
00:04:12 verbose #15449 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15450 > │ null |> unbox<unit> │
00:04:12 verbose #15451 > │ () │
00:04:12 verbose #15452 > │ #endif │
00:04:12 verbose #15453 > │ │
00:04:12 verbose #15454 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15455 > │ null |> unbox<unit> │
00:04:12 verbose #15456 > │ () │
00:04:12 verbose #15457 > │ #endif │
00:04:12 verbose #15458 > │ │
00:04:12 verbose #15459 > │ #else │
00:04:12 verbose #15460 > │ let v672 : (unit -> unit) = v480.Cancel │
00:04:12 verbose #15461 > │ v672 () │
00:04:12 verbose #15462 > │ () │
00:04:12 verbose #15463 > │ #endif │
00:04:12 verbose #15464 > │ |> fun x -> _v670 <- Some x │
00:04:12 verbose #15465 > │ _v670.Value │
00:04:12 verbose #15466 > │ let v673 : US3 = US3_1 │
00:04:12 verbose #15467 > │ let v674 : (unit -> string) = closure35() │
00:04:12 verbose #15468 > │ method12(v673, v674, v483) │
00:04:12 verbose #15469 > │ let! v655 = v655 │
00:04:12 verbose #15470 > │ let struct (v675 : int32, v676 : string) = v655 │
00:04:12 verbose #15471 > │ let v677 : US3 = US3_1 │
00:04:12 verbose #15472 > │ let v678 : (unit -> string) = closure36() │
00:04:12 verbose #15473 > │ method12(v677, v678, v483) │
00:04:12 verbose #15474 > │ return struct (v675, v676) │
00:04:12 verbose #15475 > │ } │
00:04:12 verbose #15476 > │ |> fun x -> _v457 <- Some x │
00:04:12 verbose #15477 > │ let v679 : Async<struct (int32 * string)> = _v457 |> Option.get │
00:04:12 verbose #15478 > │ v679 │
00:04:12 verbose #15479 > │ #endif │
00:04:12 verbose #15480 > │ |> fun x -> _v450 <- Some x │
00:04:12 verbose #15481 > │ let v680 : Async<struct (int32 * string)> = _v450.Value │
00:04:12 verbose #15482 > │ let v681 : Async<US10> option = None │
00:04:12 verbose #15483 > │ let v682 : bool = true in let mutable _v681 = v681 │
00:04:12 verbose #15484 > │ │
00:04:12 verbose #15485 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15486 > │ │
00:04:12 verbose #15487 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15488 > │ let v683 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15489 > │ v683 │
00:04:12 verbose #15490 > │ #endif │
00:04:12 verbose #15491 > │ │
00:04:12 verbose #15492 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15493 > │ let v684 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15494 > │ v684 │
00:04:12 verbose #15495 > │ #endif │
00:04:12 verbose #15496 > │ │
00:04:12 verbose #15497 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15498 > │ let v685 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15499 > │ v685 │
00:04:12 verbose #15500 > │ #endif │
00:04:12 verbose #15501 > │ │
00:04:12 verbose #15502 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15503 > │ let v686 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15504 > │ v686 │
00:04:12 verbose #15505 > │ #endif │
00:04:12 verbose #15506 > │ │
00:04:12 verbose #15507 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15508 > │ let v687 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15509 > │ v687 │
00:04:12 verbose #15510 > │ #endif │
00:04:12 verbose #15511 > │ │
00:04:12 verbose #15512 > │ #else │
00:04:12 verbose #15513 > │ let v688 : Async<US10> option = None │
00:04:12 verbose #15514 > │ let v689 : bool = true in let mutable _v688 = v688 │
00:04:12 verbose #15515 > │ │
00:04:12 verbose #15516 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15517 > │ │
00:04:12 verbose #15518 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15519 > │ let v690 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15520 > │ v690 │
00:04:12 verbose #15521 > │ #endif │
00:04:12 verbose #15522 > │ │
00:04:12 verbose #15523 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15524 > │ let v691 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15525 > │ v691 │
00:04:12 verbose #15526 > │ #endif │
00:04:12 verbose #15527 > │ │
00:04:12 verbose #15528 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15529 > │ let v692 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15530 > │ v692 │
00:04:12 verbose #15531 > │ #endif │
00:04:12 verbose #15532 > │ │
00:04:12 verbose #15533 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15534 > │ let v693 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15535 > │ v693 │
00:04:12 verbose #15536 > │ #endif │
00:04:12 verbose #15537 > │ │
00:04:12 verbose #15538 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15539 > │ let v694 : Async<US10> = null |> unbox<Async<US10>> │
00:04:12 verbose #15540 > │ v694 │
00:04:12 verbose #15541 > │ #endif │
00:04:12 verbose #15542 > │ │
00:04:12 verbose #15543 > │ #else │
00:04:12 verbose #15544 > │ let v695 : Async<US10> option = None │
00:04:12 verbose #15545 > │ let mutable _v695 = v695 │
00:04:12 verbose #15546 > │ async { │
00:04:12 verbose #15547 > │ let v696 : Async<Async<struct (int32 * string)>> option = None │
00:04:12 verbose #15548 > │ let v697 : bool = true in let mutable _v696 = v696 │
00:04:12 verbose #15549 > │ │
00:04:12 verbose #15550 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15551 > │ │
00:04:12 verbose #15552 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15553 > │ let v698 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15554 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15555 > │ v698 │
00:04:12 verbose #15556 > │ #endif │
00:04:12 verbose #15557 > │ │
00:04:12 verbose #15558 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15559 > │ let v699 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15560 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15561 > │ v699 │
00:04:12 verbose #15562 > │ #endif │
00:04:12 verbose #15563 > │ │
00:04:12 verbose #15564 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15565 > │ let v700 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15566 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15567 > │ v700 │
00:04:12 verbose #15568 > │ #endif │
00:04:12 verbose #15569 > │ │
00:04:12 verbose #15570 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15571 > │ let v701 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15572 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15573 > │ v701 │
00:04:12 verbose #15574 > │ #endif │
00:04:12 verbose #15575 > │ │
00:04:12 verbose #15576 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15577 > │ let v702 : Async<Async<struct (int32 * string)>> = null |> │
00:04:12 verbose #15578 > │ unbox<Async<Async<struct (int32 * string)>>> │
00:04:12 verbose #15579 > │ v702 │
00:04:12 verbose #15580 > │ #endif │
00:04:12 verbose #15581 > │ │
00:04:12 verbose #15582 > │ #else │
00:04:12 verbose #15583 > │ let v703 : Async<Async<struct (int32 * string)>> = Async.StartChild │
00:04:12 verbose #15584 > │ (v680, 10000) │
00:04:12 verbose #15585 > │ v703 │
00:04:12 verbose #15586 > │ #endif │
00:04:12 verbose #15587 > │ |> fun x -> _v696 <- Some x │
00:04:12 verbose #15588 > │ let v704 : Async<Async<struct (int32 * string)>> = _v696.Value │
00:04:12 verbose #15589 > │ let! v704 = v704 │
00:04:12 verbose #15590 > │ let v705 : Async<struct (int32 * string)> = v704 │
00:04:12 verbose #15591 > │ let v706 : Async<Choice<struct (int32 * string), exn>> option = None │
00:04:12 verbose #15592 > │ let v707 : bool = true in let mutable _v706 = v706 │
00:04:12 verbose #15593 > │ │
00:04:12 verbose #15594 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:12 verbose #15595 > │ │
00:04:12 verbose #15596 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:12 verbose #15597 > │ let v708 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:12 verbose #15598 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:12 verbose #15599 > │ v708 │
00:04:12 verbose #15600 > │ #endif │
00:04:12 verbose #15601 > │ │
00:04:12 verbose #15602 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:12 verbose #15603 > │ let v709 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:12 verbose #15604 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:12 verbose #15605 > │ v709 │
00:04:12 verbose #15606 > │ #endif │
00:04:12 verbose #15607 > │ │
00:04:12 verbose #15608 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:12 verbose #15609 > │ let v710 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:12 verbose #15610 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:12 verbose #15611 > │ v710 │
00:04:12 verbose #15612 > │ #endif │
00:04:12 verbose #15613 > │ │
00:04:12 verbose #15614 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:12 verbose #15615 > │ let v711 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:12 verbose #15616 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:12 verbose #15617 > │ v711 │
00:04:12 verbose #15618 > │ #endif │
00:04:12 verbose #15619 > │ │
00:04:12 verbose #15620 > │ #if FABLE_COMPILER_PYTHON │
00:04:12 verbose #15621 > │ let v712 : Async<Choice<struct (int32 * string), exn>> = null |> │
00:04:12 verbose #15622 > │ unbox<Async<Choice<struct (int32 * string), exn>>> │
00:04:12 verbose #15623 > │ v712 │
00:04:12 verbose #15624 > │ #endif │
00:04:12 verbose #15625 > │ │
00:04:12 verbose #15626 > │ #else │
00:04:12 verbose #15627 > │ let v713 : (Async<struct (int32 * string)> -> Async<Choice<struct (int32 │
00:04:12 verbose #15628 > │ * string), exn>>) = Async.Catch │
00:04:12 verbose #15629 > │ let v714 : Async<Choice<struct (int32 * string), exn>> = v713 v705 │
00:04:12 verbose #15630 > │ v714 │
00:04:12 verbose #15631 > │ #endif │
00:04:12 verbose #15632 > │ |> fun x -> _v706 <- Some x │
00:04:12 verbose #15633 > │ let v715 : Async<Choice<struct (int32 * string), exn>> = _v706.Value │
00:04:13 verbose #15634 > │ let v716 : Async<US11> option = None │
00:04:13 verbose #15635 > │ let v717 : bool = true in let mutable _v716 = v716 │
00:04:13 verbose #15636 > │ │
00:04:13 verbose #15637 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:13 verbose #15638 > │ │
00:04:13 verbose #15639 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:13 verbose #15640 > │ let v718 : Async<US11> = null |> unbox<Async<US11>> │
00:04:13 verbose #15641 > │ v718 │
00:04:13 verbose #15642 > │ #endif │
00:04:13 verbose #15643 > │ │
00:04:13 verbose #15644 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:13 verbose #15645 > │ let v719 : Async<US11> = null |> unbox<Async<US11>> │
00:04:13 verbose #15646 > │ v719 │
00:04:13 verbose #15647 > │ #endif │
00:04:13 verbose #15648 > │ │
00:04:13 verbose #15649 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:13 verbose #15650 > │ let v720 : Async<US11> = null |> unbox<Async<US11>> │
00:04:13 verbose #15651 > │ v720 │
00:04:13 verbose #15652 > │ #endif │
00:04:13 verbose #15653 > │ │
00:04:13 verbose #15654 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:13 verbose #15655 > │ let v721 : Async<US11> = null |> unbox<Async<US11>> │
00:04:13 verbose #15656 > │ v721 │
00:04:13 verbose #15657 > │ #endif │
00:04:13 verbose #15658 > │ │
00:04:13 verbose #15659 > │ #if FABLE_COMPILER_PYTHON │
00:04:13 verbose #15660 > │ let v722 : Async<US11> = null |> unbox<Async<US11>> │
00:04:13 verbose #15661 > │ v722 │
00:04:13 verbose #15662 > │ #endif │
00:04:13 verbose #15663 > │ │
00:04:13 verbose #15664 > │ #else │
00:04:13 verbose #15665 > │ let v723 : Async<US11> option = None │
00:04:13 verbose #15666 > │ let mutable _v723 = v723 │
00:04:13 verbose #15667 > │ async { │
00:04:13 verbose #15668 > │ let! v715 = v715 │
00:04:13 verbose #15669 > │ let v724 : Choice<struct (int32 * string), exn> = v715 │
00:04:13 verbose #15670 > │ let v725 : US11 option = None │
00:04:13 verbose #15671 > │ let v726 : bool = true in let mutable _v725 = v725 │
00:04:13 verbose #15672 > │ │
00:04:13 verbose #15673 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:13 verbose #15674 > │ │
00:04:13 verbose #15675 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:13 verbose #15676 > │ let v727 : US11 = null |> unbox<US11> │
00:04:13 verbose #15677 > │ v727 │
00:04:13 verbose #15678 > │ #endif │
00:04:13 verbose #15679 > │ │
00:04:13 verbose #15680 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:13 verbose #15681 > │ let v728 : US11 = null |> unbox<US11> │
00:04:13 verbose #15682 > │ v728 │
00:04:13 verbose #15683 > │ #endif │
00:04:13 verbose #15684 > │ │
00:04:13 verbose #15685 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:13 verbose #15686 > │ let v729 : US11 = null |> unbox<US11> │
00:04:13 verbose #15687 > │ v729 │
00:04:13 verbose #15688 > │ #endif │
00:04:13 verbose #15689 > │ │
00:04:13 verbose #15690 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:13 verbose #15691 > │ let v730 : US11 = null |> unbox<US11> │
00:04:13 verbose #15692 > │ v730 │
00:04:13 verbose #15693 > │ #endif │
00:04:13 verbose #15694 > │ │
00:04:13 verbose #15695 > │ #if FABLE_COMPILER_PYTHON │
00:04:13 verbose #15696 > │ let v731 : US11 = null |> unbox<US11> │
00:04:13 verbose #15697 > │ v731 │
00:04:13 verbose #15698 > │ #endif │
00:04:13 verbose #15699 > │ │
00:04:13 verbose #15700 > │ #else │
00:04:13 verbose #15701 > │ let v732 : (struct (int32 * string) -> US11) = closure37() │
00:04:13 verbose #15702 > │ let v733 : (exn -> US11) = closure38() │
00:04:13 verbose #15703 > │ let v734 : US11 = match v724 with Choice1Of2 x -> v732 x | Choice2Of2 x │
00:04:13 verbose #15704 > │ -> v733 x │
00:04:13 verbose #15705 > │ v734 │
00:04:13 verbose #15706 > │ #endif │
00:04:13 verbose #15707 > │ |> fun x -> _v725 <- Some x │
00:04:13 verbose #15708 > │ let v735 : US11 = _v725.Value │
00:04:13 verbose #15709 > │ return v735 │
00:04:13 verbose #15710 > │ } │
00:04:13 verbose #15711 > │ |> fun x -> _v723 <- Some x │
00:04:13 verbose #15712 > │ let v736 : Async<US11> = _v723 |> Option.get │
00:04:13 verbose #15713 > │ v736 │
00:04:13 verbose #15714 > │ #endif │
00:04:13 verbose #15715 > │ |> fun x -> _v716 <- Some x │
00:04:13 verbose #15716 > │ let v737 : Async<US11> = _v716.Value │
00:04:13 verbose #15717 > │ let v738 : Async<US12> option = None │
00:04:13 verbose #15718 > │ let v739 : bool = true in let mutable _v738 = v738 │
00:04:13 verbose #15719 > │ │
00:04:13 verbose #15720 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:13 verbose #15721 > │ │
00:04:13 verbose #15722 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:13 verbose #15723 > │ let v740 : Async<US12> = null |> unbox<Async<US12>> │
00:04:13 verbose #15724 > │ v740 │
00:04:13 verbose #15725 > │ #endif │
00:04:13 verbose #15726 > │ │
00:04:13 verbose #15727 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:13 verbose #15728 > │ let v741 : Async<US12> = null |> unbox<Async<US12>> │
00:04:13 verbose #15729 > │ v741 │
00:04:13 verbose #15730 > │ #endif │
00:04:13 verbose #15731 > │ │
00:04:13 verbose #15732 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:13 verbose #15733 > │ let v742 : Async<US12> = null |> unbox<Async<US12>> │
00:04:13 verbose #15734 > │ v742 │
00:04:13 verbose #15735 > │ #endif │
00:04:13 verbose #15736 > │ │
00:04:13 verbose #15737 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:13 verbose #15738 > │ let v743 : Async<US12> = null |> unbox<Async<US12>> │
00:04:13 verbose #15739 > │ v743 │
00:04:13 verbose #15740 > │ #endif │
00:04:13 verbose #15741 > │ │
00:04:13 verbose #15742 > │ #if FABLE_COMPILER_PYTHON │
00:04:13 verbose #15743 > │ let v744 : Async<US12> = null |> unbox<Async<US12>> │
00:04:13 verbose #15744 > │ v744 │
00:04:13 verbose #15745 > │ #endif │
00:04:13 verbose #15746 > │ │
00:04:13 verbose #15747 > │ #else │
00:04:13 verbose #15748 > │ let v745 : Async<US12> option = None │
00:04:13 verbose #15749 > │ let mutable _v745 = v745 │
00:04:13 verbose #15750 > │ async { │
00:04:13 verbose #15751 > │ let! v737 = v737 │
00:04:13 verbose #15752 > │ let v746 : US11 = v737 │
00:04:13 verbose #15753 > │ let v753 : US12 = │
00:04:13 verbose #15754 > │ match v746 with │
00:04:13 verbose #15755 > │ | US11_0(v747, v748) -> (* Choice1Of2 *) │
00:04:13 verbose #15756 > │ US12_0(v747, v748) │
00:04:13 verbose #15757 > │ | US11_1(v750) -> (* Choice2Of2 *) │
00:04:13 verbose #15758 > │ US12_1(v750) │
00:04:13 verbose #15759 > │ return v753 │
00:04:13 verbose #15760 > │ } │
00:04:13 verbose #15761 > │ |> fun x -> _v745 <- Some x │
00:04:13 verbose #15762 > │ let v754 : Async<US12> = _v745 |> Option.get │
00:04:13 verbose #15763 > │ v754 │
00:04:13 verbose #15764 > │ #endif │
00:04:13 verbose #15765 > │ |> fun x -> _v738 <- Some x │
00:04:13 verbose #15766 > │ let v755 : Async<US12> = _v738.Value │
00:04:13 verbose #15767 > │ let v756 : Async<US10> option = None │
00:04:13 verbose #15768 > │ let v757 : bool = true in let mutable _v756 = v756 │
00:04:13 verbose #15769 > │ │
00:04:13 verbose #15770 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:13 verbose #15771 > │ │
00:04:13 verbose #15772 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:13 verbose #15773 > │ let v758 : Async<US10> = null |> unbox<Async<US10>> │
00:04:13 verbose #15774 > │ v758 │
00:04:13 verbose #15775 > │ #endif │
00:04:13 verbose #15776 > │ │
00:04:13 verbose #15777 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:13 verbose #15778 > │ let v759 : Async<US10> = null |> unbox<Async<US10>> │
00:04:13 verbose #15779 > │ v759 │
00:04:13 verbose #15780 > │ #endif │
00:04:13 verbose #15781 > │ │
00:04:13 verbose #15782 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:13 verbose #15783 > │ let v760 : Async<US10> = null |> unbox<Async<US10>> │
00:04:13 verbose #15784 > │ v760 │
00:04:13 verbose #15785 > │ #endif │
00:04:13 verbose #15786 > │ │
00:04:13 verbose #15787 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:13 verbose #15788 > │ let v761 : Async<US10> = null |> unbox<Async<US10>> │
00:04:13 verbose #15789 > │ v761 │
00:04:13 verbose #15790 > │ #endif │
00:04:13 verbose #15791 > │ │
00:04:13 verbose #15792 > │ #if FABLE_COMPILER_PYTHON │
00:04:13 verbose #15793 > │ let v762 : Async<US10> = null |> unbox<Async<US10>> │
00:04:13 verbose #15794 > │ v762 │
00:04:13 verbose #15795 > │ #endif │
00:04:13 verbose #15796 > │ │
00:04:13 verbose #15797 > │ #else │
00:04:13 verbose #15798 > │ let v763 : Async<US10> option = None │
00:04:13 verbose #15799 > │ let mutable _v763 = v763 │
00:04:13 verbose #15800 > │ async { │
00:04:13 verbose #15801 > │ let! v755 = v755 │
00:04:13 verbose #15802 > │ let v764 : US12 = v755 │
00:04:13 verbose #15803 > │ let v791 : US10 = │
00:04:13 verbose #15804 > │ match v764 with │
00:04:13 verbose #15805 > │ | US12_1(v768) -> (* Error *) │
00:04:13 verbose #15806 > │ let v769 : string = $"%A{v768}" │
00:04:13 verbose #15807 > │ let v770 : string = "System.TimeoutException" │
00:04:13 verbose #15808 > │ let v771 : bool = v769.Contains v770 │
00:04:13 verbose #15809 > │ if v771 then │
00:04:13 verbose #15810 > │ let v772 : US3 = US3_1 │
00:04:13 verbose #15811 > │ let v773 : (unit -> string) = closure39() │
00:04:13 verbose #15812 > │ let v774 : (unit -> string) = closure40() │
00:04:13 verbose #15813 > │ method12(v772, v773, v774) │
00:04:13 verbose #15814 > │ US10_1 │
00:04:13 verbose #15815 > │ else │
00:04:13 verbose #15816 > │ let v776 : string option = None │
00:04:13 verbose #15817 > │ let v777 : bool = true in let mutable _v776 = v776 │
00:04:13 verbose #15818 > │ │
00:04:13 verbose #15819 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:13 verbose #15820 > │ │
00:04:13 verbose #15821 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:13 verbose #15822 > │ let v778 : string = $"%A{v768}" │
00:04:13 verbose #15823 > │ v778 │
00:04:13 verbose #15824 > │ #endif │
00:04:13 verbose #15825 > │ │
00:04:13 verbose #15826 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:13 verbose #15827 > │ let v779 : string = $"%A{v768}" │
00:04:13 verbose #15828 > │ v779 │
00:04:13 verbose #15829 > │ #endif │
00:04:13 verbose #15830 > │ │
00:04:13 verbose #15831 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:13 verbose #15832 > │ let v780 : string = $"%A{v768}" │
00:04:13 verbose #15833 > │ v780 │
00:04:13 verbose #15834 > │ #endif │
00:04:13 verbose #15835 > │ │
00:04:13 verbose #15836 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:13 verbose #15837 > │ let v781 : string = $"%A{v768}" │
00:04:13 verbose #15838 > │ v781 │
00:04:13 verbose #15839 > │ #endif │
00:04:13 verbose #15840 > │ │
00:04:13 verbose #15841 > │ #if FABLE_COMPILER_PYTHON │
00:04:13 verbose #15842 > │ let v782 : string = $"%A{v768}" │
00:04:13 verbose #15843 > │ v782 │
00:04:13 verbose #15844 > │ #endif │
00:04:13 verbose #15845 > │ │
00:04:13 verbose #15846 > │ #else │
00:04:13 verbose #15847 > │ let v783 : string = $"{v768.GetType ()}: {v768.Message}" │
00:04:13 verbose #15848 > │ v783 │
00:04:13 verbose #15849 > │ #endif │
00:04:13 verbose #15850 > │ |> fun x -> _v776 <- Some x │
00:04:13 verbose #15851 > │ let v784 : string = _v776.Value │
00:04:13 verbose #15852 > │ let v785 : US3 = US3_4 │
00:04:13 verbose #15853 > │ let v786 : (unit -> string) = closure41(v784) │
00:04:13 verbose #15854 > │ let v787 : (unit -> string) = closure40() │
00:04:13 verbose #15855 > │ method12(v785, v786, v787) │
00:04:13 verbose #15856 > │ US10_1 │
00:04:13 verbose #15857 > │ | US12_0(v765, v766) -> (* Ok *) │
00:04:13 verbose #15858 > │ US10_0(v765, v766) │
00:04:13 verbose #15859 > │ return v791 │
00:04:13 verbose #15860 > │ } │
00:04:13 verbose #15861 > │ |> fun x -> _v763 <- Some x │
00:04:13 verbose #15862 > │ let v792 : Async<US10> = _v763 |> Option.get │
00:04:13 verbose #15863 > │ v792 │
00:04:13 verbose #15864 > │ #endif │
00:04:13 verbose #15865 > │ |> fun x -> _v756 <- Some x │
00:04:13 verbose #15866 > │ let v793 : Async<US10> = _v756.Value │
00:04:13 verbose #15867 > │ return! v793 │
00:04:13 verbose #15868 > │ } │
00:04:13 verbose #15869 > │ |> fun x -> _v695 <- Some x │
00:04:13 verbose #15870 > │ let v794 : Async<US10> = _v695 |> Option.get │
00:04:13 verbose #15871 > │ v794 │
00:04:13 verbose #15872 > │ #endif │
00:04:13 verbose #15873 > │ |> fun x -> _v688 <- Some x │
00:04:13 verbose #15874 > │ let v795 : Async<US10> = _v688.Value │
00:04:13 verbose #15875 > │ v795 │
00:04:13 verbose #15876 > │ #endif │
00:04:13 verbose #15877 > │ |> fun x -> _v681 <- Some x │
00:04:13 verbose #15878 > │ let v796 : Async<US10> = _v681.Value │
00:04:13 verbose #15879 > │ let v797 : US10 option = None │
00:04:13 verbose #15880 > │ let v798 : bool = true in let mutable _v797 = v797 │
00:04:13 verbose #15881 > │ │
00:04:13 verbose #15882 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:04:13 verbose #15883 > │ │
00:04:13 verbose #15884 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:04:13 verbose #15885 > │ let v799 : US10 = null |> unbox<US10> │
00:04:13 verbose #15886 > │ v799 │
00:04:13 verbose #15887 > │ #endif │
00:04:13 verbose #15888 > │ │
00:04:13 verbose #15889 > │ #if FABLE_COMPILER_RUST && WASM │
00:04:13 verbose #15890 > │ let v800 : US10 = null |> unbox<US10> │
00:04:13 verbose #15891 > │ v800 │
00:04:13 verbose #15892 > │ #endif │
00:04:13 verbose #15893 > │ │
00:04:13 verbose #15894 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:04:13 verbose #15895 > │ let v801 : US10 = null |> unbox<US10> │
00:04:13 verbose #15896 > │ v801 │
00:04:13 verbose #15897 > │ #endif │
00:04:13 verbose #15898 > │ │
00:04:13 verbose #15899 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:04:13 verbose #15900 > │ let v802 : US10 = null |> unbox<US10> │
00:04:13 verbose #15901 > │ v802 │
00:04:13 verbose #15902 > │ #endif │
00:04:13 verbose #15903 > │ │
00:04:13 verbose #15904 > │ #if FABLE_COMPILER_PYTHON │
00:04:13 verbose #15905 > │ let v803 : US10 = null |> unbox<US10> │
00:04:13 verbose #15906 > │ v803 │
00:04:13 verbose #15907 > │ #endif │
00:04:13 verbose #15908 > │ │
00:04:13 verbose #15909 > │ #else │
00:04:13 verbose #15910 > │ let v804 : (Async<US10> -> US10) = Async.RunSynchronously │
00:04:13 verbose #15911 > │ let v805 : US10 = v804 v796 │
00:04:13 verbose #15912 > │ v805 │
00:04:13 verbose #15913 > │ #endif │
00:04:13 verbose #15914 > │ |> fun x -> _v797 <- Some x │
00:04:13 verbose #15915 > │ let v806 : US10 = _v797.Value │
00:04:13 verbose #15916 > │ let v821 : bool = │
00:04:13 verbose #15917 > │ match v806 with │
00:04:13 verbose #15918 > │ | US10_0(v807, v808) -> (* Some *) │
00:04:13 verbose #15919 > │ let v809 : bool = v807 = -2147483648 │
00:04:13 verbose #15920 > │ let v811 : bool = │
00:04:13 verbose #15921 > │ if v809 then │
00:04:13 verbose #15922 > │ true │
00:04:13 verbose #15923 > │ else │
00:04:13 verbose #15924 > │ method31(v809) │
00:04:13 verbose #15925 > │ let v812 : string = "assert_eq" │
00:04:13 verbose #15926 > │ let v813 : string = $"{v812} / actual: %A{v807} / expected: │
00:04:13 verbose #15927 > │ %A{-2147483648}" │
00:04:13 verbose #15928 > │ System.Console.WriteLine v813 │
00:04:13 verbose #15929 > │ let v814 : bool = v811 = false │
00:04:13 verbose #15930 > │ if v814 then │
00:04:13 verbose #15931 > │ failwith<unit> v813 │
00:04:13 verbose #15932 > │ let v815 : string = method32() │
00:04:13 verbose #15933 > │ let v816 : bool = v808 = v815 │
00:04:13 verbose #15934 > │ let v818 : bool = │
00:04:13 verbose #15935 > │ if v816 then │
00:04:13 verbose #15936 > │ true │
00:04:13 verbose #15937 > │ else │
00:04:13 verbose #15938 > │ method31(v816) │
00:04:13 verbose #15939 > │ let v819 : string = $"{v812} / actual: %A{v808} / expected: │
00:04:13 verbose #15940 > │ %A{v815}" │
00:04:13 verbose #15941 > │ System.Console.WriteLine v819 │
00:04:13 verbose #15942 > │ let v820 : bool = v818 = false │
00:04:13 verbose #15943 > │ if v820 then │
00:04:13 verbose #15944 > │ failwith<unit> v819 │
00:04:13 verbose #15945 > │ true │
00:04:13 verbose #15946 > │ | _ -> │
00:04:13 verbose #15947 > │ false │
00:04:13 verbose #15948 > │ let v823 : bool = │
00:04:13 verbose #15949 > │ if v821 then │
00:04:13 verbose #15950 > │ true │
00:04:13 verbose #15951 > │ else │
00:04:13 verbose #15952 > │ method31(v821) │
00:04:13 verbose #15953 > │ let v824 : string = "assert_eq" │
00:04:13 verbose #15954 > │ let v825 : string = $"{v824} / actual: %A{v821} / expected: %A{true}" │
00:04:13 verbose #15955 > │ System.Console.WriteLine v825 │
00:04:13 verbose #15956 > │ let v826 : bool = v823 = false │
00:04:13 verbose #15957 > │ if v826 then │
00:04:13 verbose #15958 > │ failwith<unit> v825 │
00:04:13 verbose #15959 > │ method0() │
00:04:13 verbose #15960 > │ │
00:04:13 verbose #15961 > │ 00:00:00 debug #1 1 │
00:04:13 verbose #15962 > │ 00:00:00 debug #2 2 │
00:04:13 verbose #15963 > │ 00:00:00 debug #3 execute_with_options_async / options: struct (Some │
00:04:13 verbose #15964 > │ System.Threading.CancellationToken, │
00:04:13 verbose #15965 > │ "pwsh -c "Get-Content │
00:04:13 verbose #15966 > │ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0238-3336-3681-30040 │
00:04:13 verbose #15967 > │ 0888e92\test.txt"", │
00:04:13 verbose #15968 > │ [||], None, None, None) │
00:04:13 verbose #15969 > │ 00:00:00 debug #4 3 │
00:04:13 verbose #15970 > │ 00:00:00 debug #5 4 │
00:04:13 verbose #15971 > │ 00:00:00 warning #6 execute_with_options_async / WaitForExitAsync / ex: │
00:04:13 verbose #15972 > │ System.Threading.Tasks.TaskCanceledException: A task was canceled. │
00:04:13 verbose #15973 > │ 00:00:00 debug #7 execute_with_options_async / exit_code: -2147483648 / │
00:04:13 verbose #15974 > │ output.Length: 66 │
00:04:13 verbose #15975 > │ 00:00:00 debug #8 5 │
00:04:13 verbose #15976 > │ assert_eq / actual: -2147483648 / expected: -2147483648 │
00:04:13 verbose #15977 > │ assert_eq / actual: "System.Threading.Tasks.TaskCanceledException: A task │
00:04:13 verbose #15978 > │ was canceled." / expected: "System.Threading.Tasks.TaskCanceledException: A │
00:04:13 verbose #15979 > │ task was canceled." │
00:04:13 verbose #15980 > │ assert_eq / actual: true / expected: true │
00:04:13 verbose #15981 > │ │
00:04:13 verbose #15982 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:13 verbose #15983 >
00:04:13 verbose #15984 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:13 verbose #15985 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:13 verbose #15986 > │ ## split_args │
00:04:13 verbose #15987 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:13 verbose #15988 >
00:04:13 verbose #15989 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:13 verbose #15990 > union args_parse_step =
00:04:13 verbose #15991 > | Start
00:04:13 verbose #15992 > | Quoted : char
00:04:13 verbose #15993 > | Escaped : u8
00:04:13 verbose #15994 >
00:04:13 verbose #15995 > let split_args (args : string) : array_base string =
00:04:13 verbose #15996 > let rec loop (acc, current) (chars : list char) (step, last) =
00:04:13 verbose #15997 > // trace Verbose (fun () => $'$"split_args / current: %A{!current}
00:04:13 verbose #15998 > acc: %A{!acc} / step: %A{!step} / last: %A{!last}"') _locals
00:04:13 verbose #15999 > match step, chars with
00:04:13 verbose #16000 > | Start, ('"' :: tail) =>
00:04:13 verbose #16001 > loop (acc, "") tail (Quoted '"', step)
00:04:13 verbose #16002 > | Escaped _, ('\\' :: tail) =>
00:04:13 verbose #16003 > loop (acc, current) tail (Quoted '\\', step)
00:04:13 verbose #16004 > | Escaped _, ('"' :: tail) when last = Start =>
00:04:13 verbose #16005 > loop (acc, current) tail (step, step)
00:04:13 verbose #16006 > | Quoted ('"'), ('"' :: tail) when last =. Quoted '\\' =>
00:04:13 verbose #16007 > loop (acc, current) tail (Start, step)
00:04:13 verbose #16008 > | Quoted ('\\'), ('"' :: tail) when last <>. Escaped 0 =>
00:04:13 verbose #16009 > loop (acc, $'$"{!current}\\\""') tail (Quoted '"', step)
00:04:13 verbose #16010 > | Quoted ('\\'), ('"' :: tail) when last =. Quoted '\\' =>
00:04:13 verbose #16011 > loop (acc, $'$"{!current}\\\""') tail (Quoted '"', step)
00:04:13 verbose #16012 > | Quoted ('\\'), ('"' :: tail) =>
00:04:13 verbose #16013 > loop (acc, current) tail (Start, step)
00:04:13 verbose #16014 > | Escaped n, ('"' :: tail) =>
00:04:13 verbose #16015 > loop (acc, $'$"{!current}\\\""') tail (Escaped n, step)
00:04:13 verbose #16016 > | Quoted _, ('\\' :: tail) =>
00:04:13 verbose #16017 > loop (acc, current) tail (Escaped 1, step)
00:04:13 verbose #16018 > | Quoted _, ('"' :: tail) when last =. Escaped 0 =>
00:04:13 verbose #16019 > loop (acc, $'$"{!current}\\\""') tail (Quoted '"', step)
00:04:13 verbose #16020 > | Quoted _, ('"' :: tail) =>
00:04:13 verbose #16021 > loop (acc /@ [[ current ]], "") tail (Start, step)
00:04:13 verbose #16022 > | (Escaped _ | Quoted _), (' ' :: tail) =>
00:04:13 verbose #16023 > loop (acc, $'$"{!current} "') tail (step, step)
00:04:13 verbose #16024 > | _, ('\\' :: tail) =>
00:04:13 verbose #16025 > loop (acc, current) tail (Escaped 0, step)
00:04:13 verbose #16026 > | _, (' ' :: tail) =>
00:04:13 verbose #16027 > loop ((if current = "" then acc else acc /@ [[ current ]]), "") tail
00:04:13 verbose #16028 > (step, step)
00:04:13 verbose #16029 > | Escaped (1), (char :: tail) when last <>. step =>
00:04:13 verbose #16030 > loop (acc, $'$"{!current}\\{!char}"') tail (last, step)
00:04:13 verbose #16031 > | _, (char :: tail) =>
00:04:13 verbose #16032 > loop (acc, $'$"{!current}{!char}"') tail (step, step)
00:04:13 verbose #16033 > | _ =>
00:04:13 verbose #16034 > (if current = "" then acc else acc /@ [[ current ]]), current
00:04:13 verbose #16035 > loop
00:04:13 verbose #16036 > ([[]], "")
00:04:13 verbose #16037 > (
00:04:13 verbose #16038 > args
00:04:13 verbose #16039 > |> optionm'.of_obj
00:04:13 verbose #16040 > |> optionm'.unbox
00:04:13 verbose #16041 > |> optionm'.default_value ""
00:04:13 verbose #16042 > |> sm'.to_char_array
00:04:13 verbose #16043 > |> am'.to_list'
00:04:13 verbose #16044 > |> listm'.unbox
00:04:13 verbose #16045 > )
00:04:13 verbose #16046 > (Start, Start)
00:04:13 verbose #16047 > |> fst
00:04:13 verbose #16048 > |> listm'.box
00:04:13 verbose #16049 > |> listm'.to_array'
00:04:13 verbose #16050 > |> fun (a x : _ i32 _) => x
00:04:13 verbose #16051 > 00:04:12 debug #226 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7202e8c32cf52cce6190a9fea8a74412914a53e783397a1686feef53ef843a1c/main.spi
00:04:13 verbose #16052 >
00:04:13 verbose #16053 > ╭─[ 710.39ms - stdout ]────────────────────────────────────────────────────────╮
00:04:13 verbose #16054 > │ () │
00:04:13 verbose #16055 > │ │
00:04:13 verbose #16056 > │ │
00:04:13 verbose #16057 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:13 verbose #16058 >
00:04:13 verbose #16059 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:13 verbose #16060 > //// test
00:04:13 verbose #16061 > //// print_code=false
00:04:13 verbose #16062 >
00:04:13 verbose #16063 > "a b \"c d\" e"
00:04:13 verbose #16064 > |> split_args
00:04:13 verbose #16065 > |> _assert_eq' ;[[ "a"; "b"; "c d"; "e" ]]
00:04:14 verbose #16066 > 00:04:13 debug #227 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4f49a282e4a085b08ffcbd6a15340afeb168e860c609f73eb3195077495803ec/main.spi
00:04:14 verbose #16067 >
00:04:14 verbose #16068 > ╭─[ 905.76ms - stdout ]────────────────────────────────────────────────────────╮
00:04:14 verbose #16069 > │ assert_eq' / actual: [|"a"; "b"; "c d"; "e"|] / expected: [|"a"; "b"; "c d"; │
00:04:14 verbose #16070 > │ "e"|] │
00:04:14 verbose #16071 > │ │
00:04:14 verbose #16072 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:14 verbose #16073 >
00:04:14 verbose #16074 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:14 verbose #16075 > //// test
00:04:14 verbose #16076 > //// print_code=false
00:04:14 verbose #16077 >
00:04:14 verbose #16078 > "a b e"
00:04:14 verbose #16079 > |> split_args
00:04:14 verbose #16080 > |> _assert_eq' ;[[ "a"; "b"; "e" ]]
00:04:15 verbose #16081 > 00:04:14 debug #228 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4e6c92873b28b8b1ca97319c71b87b43fda975ff7742807834af2e554ecd8ad8/main.spi
00:04:15 verbose #16082 >
00:04:15 verbose #16083 > ╭─[ 874.58ms - stdout ]────────────────────────────────────────────────────────╮
00:04:15 verbose #16084 > │ assert_eq' / actual: [|"a"; "b"; "e"|] / expected: [|"a"; "b"; "e"|] │
00:04:15 verbose #16085 > │ │
00:04:15 verbose #16086 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:15 verbose #16087 >
00:04:15 verbose #16088 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:15 verbose #16089 > //// test
00:04:15 verbose #16090 > //// print_code=false
00:04:15 verbose #16091 >
00:04:15 verbose #16092 > "\"a b\" \"e\" \"f\""
00:04:15 verbose #16093 > |> split_args
00:04:15 verbose #16094 > |> _assert_eq' ;[[ "a b"; "e"; "f" ]]
00:04:16 verbose #16095 > 00:04:15 debug #229 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ac1e71e1693b286aab0254048577e24fd64106a7fbbfb54e579504fd91405ae6/main.spi
00:04:16 verbose #16096 >
00:04:16 verbose #16097 > ╭─[ 872.40ms - stdout ]────────────────────────────────────────────────────────╮
00:04:16 verbose #16098 > │ assert_eq' / actual: [|"a b"; "e"; "f"|] / expected: [|"a b"; "e"; "f"|] │
00:04:16 verbose #16099 > │ │
00:04:16 verbose #16100 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:16 verbose #16101 >
00:04:16 verbose #16102 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:16 verbose #16103 > //// test
00:04:16 verbose #16104 > //// print_code=false
00:04:16 verbose #16105 >
00:04:16 verbose #16106 > "a -b \"c \\\"d\\\"\""
00:04:16 verbose #16107 > |> split_args
00:04:16 verbose #16108 > |> _assert_eq' ;[[ "a"; "-b"; "c \"d\"" ]]
00:04:17 verbose #16109 > 00:04:16 debug #230 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/758d1aaf8a43eba3ee610506692e4b405adecba28d01480330f883bb676786ff/main.spi
00:04:17 verbose #16110 >
00:04:17 verbose #16111 > ╭─[ 890.64ms - stdout ]────────────────────────────────────────────────────────╮
00:04:17 verbose #16112 > │ assert_eq' / actual: [|"a"; "-b"; "c "d""|] / expected: [|"a"; "-b"; "c │
00:04:17 verbose #16113 > │ "d""|] │
00:04:17 verbose #16114 > │ │
00:04:17 verbose #16115 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:17 verbose #16116 >
00:04:17 verbose #16117 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:17 verbose #16118 > //// test
00:04:17 verbose #16119 > //// print_code=false
00:04:17 verbose #16120 >
00:04:17 verbose #16121 > "a -b \"c \\\"d\\\" e\""
00:04:17 verbose #16122 > |> split_args
00:04:17 verbose #16123 > |> _assert_eq' ;[[ "a"; "-b"; "c \"d\" e" ]]
00:04:17 verbose #16124 > 00:04:16 debug #231 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7f4547fcdda81cc60fc277c386b111369afdc46a464d59603544e781098907ca/main.spi
00:04:18 verbose #16125 >
00:04:18 verbose #16126 > ╭─[ 857.52ms - stdout ]────────────────────────────────────────────────────────╮
00:04:18 verbose #16127 > │ assert_eq' / actual: [|"a"; "-b"; "c "d" e"|] / expected: [|"a"; "-b"; "c │
00:04:18 verbose #16128 > │ "d" e"|] │
00:04:18 verbose #16129 > │ │
00:04:18 verbose #16130 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:18 verbose #16131 >
00:04:18 verbose #16132 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:18 verbose #16133 > //// test
00:04:18 verbose #16134 > //// print_code=false
00:04:18 verbose #16135 >
00:04:18 verbose #16136 > $'$"--text \\\\\\"\'\'\' value \'\'\'\\\\\\" "'
00:04:18 verbose #16137 > |> split_args
00:04:18 verbose #16138 > |> _assert_eq' ;[[ "--text"; "''' value '''" ]]
00:04:18 verbose #16139 > 00:04:17 debug #232 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/372b08c212a1f493b9e19c6bde9e44c4d3fec8de87fce514c9fc27d12dad9bdf/main.spi
00:04:19 verbose #16140 >
00:04:19 verbose #16141 > ╭─[ 905.49ms - stdout ]────────────────────────────────────────────────────────╮
00:04:19 verbose #16142 > │ assert_eq' / actual: [|"--text"; "''' value '''"|] / expected: [|"--text"; │
00:04:19 verbose #16143 > │ "''' value '''"|] │
00:04:19 verbose #16144 > │ │
00:04:19 verbose #16145 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:19 verbose #16146 >
00:04:19 verbose #16147 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:19 verbose #16148 > //// test
00:04:19 verbose #16149 > //// print_code=false
00:04:19 verbose #16150 >
00:04:19 verbose #16151 > $'\@$"run ""get c:\\test.txt"""'
00:04:19 verbose #16152 > |> split_args
00:04:19 verbose #16153 > |> _assert_eq' ;[[ "run"; "get c:\\test.txt" ]]
00:04:19 verbose #16154 > 00:04:18 debug #233 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5fb0fab746a6a922e67dfcd3191fc137655919be4b9e37d663138e800f512d5c/main.spi
00:04:20 verbose #16155 >
00:04:20 verbose #16156 > ╭─[ 868.61ms - stdout ]────────────────────────────────────────────────────────╮
00:04:20 verbose #16157 > │ assert_eq' / actual: [|"run"; "get c:\test.txt"|] / expected: [|"run"; "get │
00:04:20 verbose #16158 > │ c:\test.txt"|] │
00:04:20 verbose #16159 > │ │
00:04:20 verbose #16160 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:20 verbose #16161 >
00:04:20 verbose #16162 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:20 verbose #16163 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:20 verbose #16164 > │ ## stdin_write_all │
00:04:20 verbose #16165 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:20 verbose #16166 >
00:04:20 verbose #16167 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:20 verbose #16168 > inl stdin_write_all (stdin : threading.mutex_guard child_stdin) (text : string)
00:04:20 verbose #16169 > : () =
00:04:20 verbose #16170 > inl stream = text |> sm'.as_bytes
00:04:20 verbose #16171 > inl stdin = join stdin
00:04:20 verbose #16172 > (!\($'"true; let mut !stdin = !stdin"') : bool) |> ignore
00:04:20 verbose #16173 > (!\\(stdin, $'"true; std::io::Write::write_all(&mut *$0,
00:04:20 verbose #16174 > !stream).unwrap()"') : bool) |> ignore
00:04:20 verbose #16175 > 00:04:19 debug #234 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/347c4265b210aa7cdeb38495909e729107d601dcb62437aff13e3459a2354a40/main.spi
00:04:20 verbose #16176 >
00:04:20 verbose #16177 > ╭─[ 668.55ms - stdout ]────────────────────────────────────────────────────────╮
00:04:20 verbose #16178 > │ () │
00:04:20 verbose #16179 > │ │
00:04:20 verbose #16180 > │ │
00:04:20 verbose #16181 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:20 verbose #16182 >
00:04:20 verbose #16183 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:20 verbose #16184 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:20 verbose #16185 > │ ## stdin_flush │
00:04:20 verbose #16186 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:20 verbose #16187 >
00:04:20 verbose #16188 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:20 verbose #16189 > inl stdin_flush (stdin : threading.mutex_guard child_stdin) : () =
00:04:20 verbose #16190 > inl stdin = join stdin
00:04:20 verbose #16191 > (!\($'"true; let mut !stdin = !stdin"') : bool) |> ignore
00:04:20 verbose #16192 > (!\\(stdin, $'"true; std::io::Write::flush(&mut *$0).unwrap()"') : bool) |>
00:04:20 verbose #16193 > ignore
00:04:21 verbose #16194 > 00:04:20 debug #235 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b788e0ecd32179ff7a3bb6988c33760d7de2911c1c7ddb19a1ea014884902e28/main.spi
00:04:21 verbose #16195 >
00:04:21 verbose #16196 > ╭─[ 635.18ms - stdout ]────────────────────────────────────────────────────────╮
00:04:21 verbose #16197 > │ () │
00:04:21 verbose #16198 > │ │
00:04:21 verbose #16199 > │ │
00:04:21 verbose #16200 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:21 verbose #16201 >
00:04:21 verbose #16202 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:21 verbose #16203 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:21 verbose #16204 > │ ## execute_with_options │
00:04:21 verbose #16205 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:21 verbose #16206 >
00:04:21 verbose #16207 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:21 verbose #16208 > inl execute_with_options (options : execution_options) : i32 * string =
00:04:21 verbose #16209 > run_target function
00:04:21 verbose #16210 > | Fsharp (Native) => fun () =>
00:04:21 verbose #16211 > options |> execute_with_options_async |> async.run_synchronously
00:04:21 verbose #16212 > | Rust (Native) => fun () =>
00:04:21 verbose #16213 > inl command = join options.command
00:04:21 verbose #16214 > inl file_name, arguments = command |> split_command
00:04:21 verbose #16215 > inl arguments =
00:04:21 verbose #16216 > arguments
00:04:21 verbose #16217 > |> split_args
00:04:21 verbose #16218 > |> am'.to_vec
00:04:21 verbose #16219 > |> am'.vec_map sm'.to_std_string
00:04:21 verbose #16220 >
00:04:21 verbose #16221 > trace Debug (fun () => $'$"execute_with_options / file_name:
00:04:21 verbose #16222 > {!file_name} / arguments: %A{!arguments} / options: %A{!options}"') (join
00:04:21 verbose #16223 > _locals)
00:04:21 verbose #16224 >
00:04:21 verbose #16225 > fun () =>
00:04:21 verbose #16226 > inl command : process_command = !\\(file_name,
00:04:21 verbose #16227 > $'"std::process::Command::new(&*$0)"')
00:04:21 verbose #16228 >
00:04:21 verbose #16229 > (!\($'"true; let mut !command = !command"') : bool) |> ignore
00:04:21 verbose #16230 > inl command : rust.ref' (rust.mut' process_command) =
00:04:21 verbose #16231 > !\\((command, arguments), $'"std::process::Command::args(&mut $0, &*$1)"')
00:04:21 verbose #16232 >
00:04:21 verbose #16233 > (!\($'"true; let mut !command = !command"') : bool) |> ignore
00:04:21 verbose #16234 > inl command : rust.ref' (rust.mut' process_command) =
00:04:21 verbose #16235 > !\\(command, $'"std::process::Command::stdout(&mut $0,
00:04:21 verbose #16236 > std::process::Stdio::piped())"')
00:04:21 verbose #16237 >
00:04:21 verbose #16238 > (!\($'"true; let mut !command = !command"') : bool) |> ignore
00:04:21 verbose #16239 > inl command : rust.ref' (rust.mut' process_command) =
00:04:21 verbose #16240 > !\\(command, $'"std::process::Command::stderr(&mut $0,
00:04:21 verbose #16241 > std::process::Stdio::piped())"')
00:04:21 verbose #16242 >
00:04:21 verbose #16243 > (!\($'"true; let mut !command = !command"') : bool) |> ignore
00:04:21 verbose #16244 > inl command : rust.ref' (rust.mut' process_command) =
00:04:21 verbose #16245 > !\\(command, $'"std::process::Command::stdin(&mut $0,
00:04:21 verbose #16246 > std::process::Stdio::piped())"')
00:04:21 verbose #16247 >
00:04:21 verbose #16248 > inl command =
00:04:21 verbose #16249 > match options.working_directory |> optionm'.unbox with
00:04:21 verbose #16250 > | Some working_directory =>
00:04:21 verbose #16251 > inl working_directory = join working_directory
00:04:21 verbose #16252 > !\($'"std::process::Command::current_dir(!command,
00:04:21 verbose #16253 > &*!working_directory)"')
00:04:21 verbose #16254 > | None => command
00:04:21 verbose #16255 >
00:04:21 verbose #16256 > (!\($'"true; let mut !command = !command"') : bool) |> ignore
00:04:21 verbose #16257 > inl command : resultm.result' child stream.io_error =
00:04:21 verbose #16258 > !\\(command, $'"std::process::Command::spawn(&mut $0)"')
00:04:21 verbose #16259 >
00:04:21 verbose #16260 > match command |> resultm.map' (optionm'.some' >>
00:04:21 verbose #16261 > threading.new_arc_mutex) |> resultm.map_error' sm'.format' |> resultm.unbox with
00:04:21 verbose #16262 > | Ok child =>
00:04:21 verbose #16263 > inl child = join child
00:04:21 verbose #16264 > inl stdout : child_stdout =
00:04:21 verbose #16265 > !\($'"!child.lock().unwrap().as_mut().unwrap().stdout.take().unwrap()"')
00:04:21 verbose #16266 > inl stderr : child_stderr =
00:04:21 verbose #16267 > !\($'"!child.lock().unwrap().as_mut().unwrap().stderr.take().unwrap()"')
00:04:21 verbose #16268 > inl stdin : child_stdin =
00:04:21 verbose #16269 > !\($'"!child.lock().unwrap().as_mut().unwrap().stdin.take().unwrap()"')
00:04:21 verbose #16270 > inl stdout = stdout |> optionm'.some' |>
00:04:21 verbose #16271 > threading.new_arc_mutex
00:04:21 verbose #16272 > inl stderr = stderr |> optionm'.some' |>
00:04:21 verbose #16273 > threading.new_arc_mutex
00:04:21 verbose #16274 > inl stdin = stdin |> optionm'.some' |>
00:04:21 verbose #16275 > threading.new_arc_mutex
00:04:21 verbose #16276 >
00:04:21 verbose #16277 > inl channel_sender, channel_receiver : sender sm'.std_string
00:04:21 verbose #16278 > * threading.arc (receiver sm'.std_string) =
00:04:21 verbose #16279 > !\($'"{ let (sender, receiver) =
00:04:21 verbose #16280 > std::sync::mpsc::channel(); (sender, std::sync::Arc::new(receiver)) }"')
00:04:21 verbose #16281 > inl channel_receiver = join channel_receiver
00:04:21 verbose #16282 > (!\\(channel_receiver, $'"true; let !channel_receiver =
00:04:21 verbose #16283 > !channel_receiver"') : bool) |> ignore
00:04:21 verbose #16284 >
00:04:21 verbose #16285 > inl channel_sender = channel_sender |>
00:04:21 verbose #16286 > threading.new_arc_mutex
00:04:21 verbose #16287 > inl channel_sender' = channel_sender |> rust.clone
00:04:21 verbose #16288 > inl channel_sender'' = channel_sender |> rust.clone
00:04:21 verbose #16289 > inl channel_receiver' = channel_receiver |>
00:04:21 verbose #16290 > threading.new_arc_mutex
00:04:21 verbose #16291 >
00:04:21 verbose #16292 > inl std_line (stdout : bool) channel_sender (line : _ _
00:04:21 verbose #16293 > stream.io_error) =
00:04:21 verbose #16294 > inl line =
00:04:21 verbose #16295 > match line |> resultm.map_error' sm'.format' |>
00:04:21 verbose #16296 > resultm.unbox with
00:04:21 verbose #16297 > | Ok (line : sm'.std_string) =>
00:04:21 verbose #16298 > trace Verbose (fun () => $'$"> {!line}"')
00:04:21 verbose #16299 > _locals
00:04:21 verbose #16300 > line
00:04:21 verbose #16301 > | Error (e : sm'.std_string) =>
00:04:21 verbose #16302 > trace Critical (fun () =>
00:04:21 verbose #16303 > $'$"execute_with_options / stdout_line / stdout: {!stdout} / e: {!e}"') _locals
00:04:21 verbose #16304 > $'$"[[{!e}]]"' |> sm'.to_std_string
00:04:21 verbose #16305 > (!\\((channel_sender, line), $'"true;
00:04:21 verbose #16306 > $0.lock().unwrap().send($1).unwrap()"') : bool) |> ignore
00:04:21 verbose #16307 >
00:04:21 verbose #16308 > inl stdout_thread : threading.join_handle () =
00:04:21 verbose #16309 > !\($'"std::thread::spawn(move || { //"')
00:04:21 verbose #16310 > inl stdout' : child_stdout =
00:04:21 verbose #16311 > !\($'"!stdout.lock().unwrap().take().unwrap()"')
00:04:21 verbose #16312 > inl stdout_lines =
00:04:21 verbose #16313 > stdout'
00:04:21 verbose #16314 > |> stream.new_buf_reader
00:04:21 verbose #16315 > |> stream.buf_read_lines
00:04:21 verbose #16316 > |> threading.new_arc_mutex
00:04:21 verbose #16317 > inl std_line' = std_line true channel_sender'
00:04:21 verbose #16318 > inl std_line' = join std_line'
00:04:21 verbose #16319 > (!\\(stdout_lines, $'"true; for line in
00:04:21 verbose #16320 > $0.lock().unwrap().by_ref() { !std_line'(line) }"') : bool) |> ignore
00:04:21 verbose #16321 > (!\($'"true; })"') : bool) |> ignore
00:04:21 verbose #16322 >
00:04:21 verbose #16323 > inl stderr_thread : threading.join_handle () =
00:04:21 verbose #16324 > !\($'"std::thread::spawn(move || { //"')
00:04:21 verbose #16325 > inl stderr' : child_stderr =
00:04:21 verbose #16326 > !\($'"!stderr.lock().unwrap().take().unwrap()"')
00:04:21 verbose #16327 > inl stderr_lines =
00:04:21 verbose #16328 > stderr'
00:04:21 verbose #16329 > |> stream.new_buf_reader
00:04:21 verbose #16330 > |> stream.buf_read_lines
00:04:21 verbose #16331 > |> threading.new_arc_mutex
00:04:21 verbose #16332 > inl std_line' = std_line false channel_sender
00:04:21 verbose #16333 > inl std_line' = join std_line'
00:04:21 verbose #16334 > (!\\(stderr_lines, $'"true; for line in
00:04:21 verbose #16335 > $0.lock().unwrap().by_ref() { !std_line'(line) }"') : bool) |> ignore
00:04:21 verbose #16336 > (!\($'"true; })"') : bool) |> ignore
00:04:21 verbose #16337 >
00:04:21 verbose #16338 > match options.stdin |> optionm'.unbox with
00:04:21 verbose #16339 > | Some stdin' =>
00:04:21 verbose #16340 > inl stdin : optionm'.option' child_stdin =
00:04:21 verbose #16341 > !\($'"!stdin.lock().unwrap().take()"')
00:04:21 verbose #16342 > match stdin |> optionm'.map' threading.new_arc_mutex |>
00:04:21 verbose #16343 > optionm'.unbox with
00:04:21 verbose #16344 > | Some stdin =>
00:04:21 verbose #16345 > stdin |> stdin'
00:04:21 verbose #16346 > stdin
00:04:21 verbose #16347 > |> threading.arc_mutex_lock
00:04:21 verbose #16348 > |> resultm.unwrap'
00:04:21 verbose #16349 > |> stdin_flush
00:04:21 verbose #16350 > // (!\\(stdin, $'"true;
00:04:21 verbose #16351 > std::io::Write::write_all(&mut *$0.lock().unwrap(), !stream).unwrap()"') : bool)
00:04:21 verbose #16352 > |> ignore
00:04:21 verbose #16353 > // (!\($'"true; let mut !stdin = !stdin"') : bool)
00:04:21 verbose #16354 > |> ignore
00:04:21 verbose #16355 > // (!\\(stdin, $'"true; std::io::Write::flush(&mut
00:04:21 verbose #16356 > *$0.lock().unwrap()).unwrap()"') : bool) |> ignore
00:04:21 verbose #16357 > // stdin |> rust.drop
00:04:21 verbose #16358 > // (!\($'"true; *!stdin.lock().unwrap() =
00:04:21 verbose #16359 > Some(!stdin')"') : bool) |> ignore
00:04:21 verbose #16360 > // stdin |> rust.drop
00:04:21 verbose #16361 > | None => ()
00:04:21 verbose #16362 > | None => ()
00:04:21 verbose #16363 >
00:04:21 verbose #16364 > inl output : resultm.result' output stream.io_error =
00:04:21 verbose #16365 > !\($'"!child.lock().unwrap().take().unwrap().wait_with_output()"')
00:04:21 verbose #16366 > inl output = output |> resultm.map_error' sm'.format'
00:04:21 verbose #16367 >
00:04:21 verbose #16368 > (!\($'"true; !stdout_thread.join().unwrap()"') : bool) |>
00:04:21 verbose #16369 > ignore
00:04:21 verbose #16370 > (!\($'"true; !stderr_thread.join().unwrap()"') : bool) |>
00:04:21 verbose #16371 > ignore
00:04:21 verbose #16372 >
00:04:21 verbose #16373 > match output |> resultm.unbox with
00:04:21 verbose #16374 > | Ok output =>
00:04:21 verbose #16375 > inl exit_code : i32 = !\\(output,
00:04:21 verbose #16376 > $'"$0.status.code().unwrap()"')
00:04:21 verbose #16377 > exit_code, None, Some channel_receiver'
00:04:21 verbose #16378 > | Error error =>
00:04:21 verbose #16379 > trace Critical (fun () => $'$"execute_with_options -2
00:04:21 verbose #16380 > error: {!error}"') _locals
00:04:21 verbose #16381 > -2i32, error |> Some, None
00:04:21 verbose #16382 > | Error error =>
00:04:21 verbose #16383 > trace Critical (fun () => $'$"execute_with_options -1
00:04:21 verbose #16384 > error: {!error}"') _locals
00:04:21 verbose #16385 > -1i32, error |> Some, None
00:04:21 verbose #16386 > |> function
00:04:21 verbose #16387 > | exit_code, std_trace, channel_receiver =>
00:04:21 verbose #16388 > inl std_trace =
00:04:21 verbose #16389 > channel_receiver
00:04:21 verbose #16390 > |> optionm.map fun channel_receiver =>
00:04:21 verbose #16391 > !\\(channel_receiver,
00:04:21 verbose #16392 > $'"$0.lock().unwrap().iter().collect::<Vec<String>>().join(\\"\\\\n\\")"')
00:04:21 verbose #16393 > |> optionm.map sm'.from_std_string
00:04:21 verbose #16394 > |> optionm'.default_value (
00:04:21 verbose #16395 > std_trace
00:04:21 verbose #16396 > |> optionm.map sm'.from_std_string
00:04:21 verbose #16397 > |> optionm'.default_value ""
00:04:21 verbose #16398 > )
00:04:21 verbose #16399 > trace Verbose (fun () => $'$"execute_with_options
00:04:21 verbose #16400 > exit_code: {!exit_code} / std_trace.Length: {!std_trace.Length}"') _locals
00:04:21 verbose #16401 > new_pair exit_code std_trace
00:04:21 verbose #16402 > |> async.future_init (3, 2) 1
00:04:21 verbose #16403 > |> async.block_on
00:04:21 verbose #16404 > |> from_pair
00:04:21 verbose #16405 > | _ => fun () => null ()
00:04:21 verbose #16406 > 00:04:20 debug #236 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d7050b3942943aef974f66e9ccc841a9d86ae2143cf820c00bee30bf47be01f3/main.spi
00:04:22 verbose #16407 >
00:04:22 verbose #16408 > ╭─[ 689.27ms - stdout ]────────────────────────────────────────────────────────╮
00:04:22 verbose #16409 > │ () │
00:04:22 verbose #16410 > │ │
00:04:22 verbose #16411 > │ │
00:04:22 verbose #16412 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:22 verbose #16413 >
00:04:22 verbose #16414 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:22 verbose #16415 > inl execute command =
00:04:22 verbose #16416 > execution_options fun x => { x with
00:04:22 verbose #16417 > command = command
00:04:22 verbose #16418 > }
00:04:22 verbose #16419 > |> execute_with_options
00:04:22 verbose #16420 > 00:04:21 debug #237 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/06d7d51d48f34c69254d2d1d13de1113a310fab91c79c642360e8d7eda6071b5/main.spi
00:04:22 verbose #16421 >
00:04:22 verbose #16422 > ╭─[ 673.04ms - stdout ]────────────────────────────────────────────────────────╮
00:04:22 verbose #16423 > │ () │
00:04:22 verbose #16424 > │ │
00:04:22 verbose #16425 > │ │
00:04:22 verbose #16426 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:22 verbose #16427 >
00:04:22 verbose #16428 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:22 verbose #16429 > //// test
00:04:22 verbose #16430 > //// print_code=false
00:04:22 verbose #16431 > ///! rust
00:04:22 verbose #16432 >
00:04:22 verbose #16433 > types ()
00:04:22 verbose #16434 > inl temp_folder, disposable = file_system.create_temp_directory ()
00:04:22 verbose #16435 > fun () =>
00:04:22 verbose #16436 > inl file_name = join "test.txt"
00:04:22 verbose #16437 > inl path = temp_folder </> file_name
00:04:22 verbose #16438 > inl exit_code, result = execute $'\@$"pwsh -c ""Get-Content {!path}"""'
00:04:22 verbose #16439 > exit_code |> _assert_eq 1
00:04:22 verbose #16440 > result |> _assert_string_contains "not exist"
00:04:22 verbose #16441 >
00:04:22 verbose #16442 > "0" |> file_system.write_all_text path
00:04:22 verbose #16443 >
00:04:22 verbose #16444 > execution_options fun x => { x with
00:04:22 verbose #16445 > command = $'\@$"pwsh -c ""Get-Content {!file_name}"""'
00:04:22 verbose #16446 > working_directory = Some temp_folder |> optionm'.box
00:04:22 verbose #16447 > }
00:04:22 verbose #16448 > |> execute_with_options
00:04:22 verbose #16449 > |> fun fn => fn () |> Some
00:04:22 verbose #16450 > |> function
00:04:22 verbose #16451 > | Some (exit_code, output) =>
00:04:22 verbose #16452 > exit_code |> _assert_eq 0i32
00:04:22 verbose #16453 > output |> _assert_eq (join "0")
00:04:22 verbose #16454 > true
00:04:22 verbose #16455 > | _ => false
00:04:22 verbose #16456 > |> _assert_eq true
00:04:22 verbose #16457 > disposable |> use |> ignore
00:04:23 verbose #16458 > 00:04:22 debug #238 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8081df6844bf5d2809db080b1903c3da81d5ae37924562d875009a318f2e1c08/main.spi
00:04:36 verbose #16459 >
00:04:36 verbose #16460 > ╭─[ 13.38s - return value ]────────────────────────────────────────────────────╮
00:04:36 verbose #16461 > │ 02:38:56 verbose #1 file_system.create_directory / dir: │
00:04:36 verbose #16462 > │ C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0238-5695-2986-00000 │
00:04:36 verbose #16463 > │ 0f12838 │
00:04:36 verbose #16464 > │ 02:38:56 debug #2 execute_with_options / file_name: pwsh / │
00:04:36 verbose #16465 > │ arguments: ["-c", "Get-Content │
00:04:36 verbose #16466 > │ C:\\Users\\i574n\\AppData\\Local\\Temp\\!spiral_eval\\20240503-0238-5695-298 │
00:04:36 verbose #16467 > │ 6-000000f12838\\test.txt"] / options: (None, "pwsh -c "Get-Content │
00:04:36 verbose #16468 > │ C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0238-5695-2986-00000 │
00:04:36 verbose #16469 > │ 0f12838\test.txt"", Array(MutCell([])), None, None, None) │
00:04:36 verbose #16470 > │ 02:38:57 verbose #3 > Get-Content: Cannot find path │
00:04:36 verbose #16471 > │ 'C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0238-5695-2986-0000 │
00:04:36 verbose #16472 > │ 00f12838\test.txt' because it does not exist. │
00:04:36 verbose #16473 > │ 02:38:57 verbo... │
00:04:36 verbose #16474 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:36 verbose #16475 >
00:04:36 verbose #16476 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:36 verbose #16477 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:36 verbose #16478 > │ ## command │
00:04:36 verbose #16479 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:36 verbose #16480 >
00:04:36 verbose #16481 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:36 verbose #16482 > nominal command = $'clap_Command'
00:04:36 verbose #16483 > 00:04:35 debug #239 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7f88ed1cae073a4e6abf69fe193b04f0b16bdab26558a86fcf57982b09534574/main.spi
00:04:36 verbose #16484 >
00:04:36 verbose #16485 > ╭─[ 660.49ms - stdout ]────────────────────────────────────────────────────────╮
00:04:36 verbose #16486 > │ () │
00:04:36 verbose #16487 > │ │
00:04:36 verbose #16488 > │ │
00:04:36 verbose #16489 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:36 verbose #16490 >
00:04:36 verbose #16491 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:36 verbose #16492 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:36 verbose #16493 > │ ## new_command │
00:04:36 verbose #16494 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:36 verbose #16495 >
00:04:36 verbose #16496 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:36 verbose #16497 > inl new_command (s : rust.static_ref' sm'.str) : command =
00:04:36 verbose #16498 > !\\(s, $'"clap::Command::new($0)"')
00:04:37 verbose #16499 > 00:04:36 debug #240 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/809139a8f929db93cdf7d4b39905fb8bc797cfb3a30fffdabfbab2ca470e40ff/main.spi
00:04:37 verbose #16500 >
00:04:37 verbose #16501 > ╭─[ 715.43ms - stdout ]────────────────────────────────────────────────────────╮
00:04:37 verbose #16502 > │ () │
00:04:37 verbose #16503 > │ │
00:04:37 verbose #16504 > │ │
00:04:37 verbose #16505 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:37 verbose #16506 >
00:04:37 verbose #16507 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:37 verbose #16508 > //// test
00:04:37 verbose #16509 > //// print_code=false
00:04:37 verbose #16510 > ///! rust
00:04:37 verbose #16511 >
00:04:37 verbose #16512 > types ()
00:04:37 verbose #16513 > ##"command"
00:04:37 verbose #16514 > |> new_command
00:04:37 verbose #16515 > |> sm'.format_pretty'
00:04:37 verbose #16516 > |> sm'.from_std_string
00:04:37 verbose #16517 > |> _assert_string_contains "command"
00:04:38 verbose #16518 > 00:04:36 debug #241 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7afbcd04c1a69c0232fd7264971f3cb8d2c02f12eca4a45530348962d1b8d664/main.spi
00:04:45 verbose #16519 >
00:04:45 verbose #16520 > ╭─[ 8.53s - return value ]─────────────────────────────────────────────────────╮
00:04:45 verbose #16521 > │ assert_string_contains / actual: "command" / expected: "Command { │
00:04:45 verbose #16522 > │ name: "command", │
00:04:45 verbose #16523 > │ long_flag: None, │
00:04:45 verbose #16524 > │ short_flag: None, │
00:04:45 verbose #16525 > │ display_name: None, │
00:04:45 verbose #16526 > │ bin_name: None, │
00:04:45 verbose #16527 > │ author: None, │
00:04:45 verbose #16528 > │ version: None, │
00:04:45 verbose #16529 > │ long_version: None, │
00:04:45 verbose #16530 > │ about: None, │
00:04:45 verbose #16531 > │ long_about: None, │
00:04:45 verbose #16532 > │ before_help: None, │
00:04:45 verbose #16533 > │ before_long_help: None, │
00:04:45 verbose #16534 > │ after_help: None, │
00:04:45 verbose #16535 > │ after_long_help: None, │
00:04:45 verbose #16536 > │ aliases: [], │
00:04:45 verbose #16537 > │ short_flag_aliases: [], │
00:04:45 verbose #16538 > │ long_flag_aliases: [], │
00:04:45 verbose #16539 > │ usage_str: None, │
00:04:45 verbose #16540 > │ usage_name: None, │
00:04:45 verbose #16541 > │ help_str: None, │
00:04:45 verbose #16542 > │ disp_ord: None, │
00:04:45 verbose #16543 > │ template: None, │
00:04:45 verbose #16544 > │ settings: AppFlags( │
00:04:45 verbose #16545 > │ 0, │
00:04:45 verbose #16546 > │ ), │
00:04:45 verbose #16547 > │ g_settings: AppFlags( │
00:04:45 verbose #16548 > │ 0, │
00:04:45 verbose #16549 > │ ), │
00:04:45 verbose #16550 > │ args: MKeyMap { │
00:04:45 verbose #16551 > │ args: [], │
00:04:45 verbose #16552 > │ keys: [], │
00:04:45 verbose #16553 > │ }, │
00:04:45 verbose #16554 > │ subcommands: [], │
00:04:45 verbose #16555 > │ groups: [], │
00:04:45 verbose #16556 > │ current_hel... │
00:04:45 verbose #16557 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:45 verbose #16558 >
00:04:45 verbose #16559 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:45 verbose #16560 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:45 verbose #16561 > │ ## arg │
00:04:45 verbose #16562 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:45 verbose #16563 >
00:04:45 verbose #16564 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:45 verbose #16565 > nominal arg = $'clap_Arg'
00:04:46 verbose #16566 > 00:04:45 debug #242 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fa6d91b9928ee9fae46dc529b66d460e67186b81f4e16bf07e539c7f306ded8d/main.spi
00:04:46 verbose #16567 >
00:04:46 verbose #16568 > ╭─[ 657.85ms - stdout ]────────────────────────────────────────────────────────╮
00:04:46 verbose #16569 > │ () │
00:04:46 verbose #16570 > │ │
00:04:46 verbose #16571 > │ │
00:04:46 verbose #16572 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:46 verbose #16573 >
00:04:46 verbose #16574 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:46 verbose #16575 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:46 verbose #16576 > │ ## new_arg │
00:04:46 verbose #16577 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:46 verbose #16578 >
00:04:46 verbose #16579 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:46 verbose #16580 > inl new_arg (s : rust.static_ref' sm'.str) : arg =
00:04:46 verbose #16581 > !\\(s, $'"clap::Arg::new($0)"')
00:04:47 verbose #16582 > 00:04:46 debug #243 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d34e374ac6af261e8d8a5f0f128e2ca985059f4c56217195b43ec50238586827/main.spi
00:04:47 verbose #16583 >
00:04:47 verbose #16584 > ╭─[ 646.07ms - stdout ]────────────────────────────────────────────────────────╮
00:04:47 verbose #16585 > │ () │
00:04:47 verbose #16586 > │ │
00:04:47 verbose #16587 > │ │
00:04:47 verbose #16588 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:47 verbose #16589 >
00:04:47 verbose #16590 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:47 verbose #16591 > //// test
00:04:47 verbose #16592 > //// print_code=false
00:04:47 verbose #16593 > ///! rust
00:04:47 verbose #16594 >
00:04:47 verbose #16595 > types ()
00:04:47 verbose #16596 > ##"arg"
00:04:47 verbose #16597 > |> new_arg
00:04:47 verbose #16598 > |> sm'.format_pretty'
00:04:47 verbose #16599 > |> sm'.from_std_string
00:04:47 verbose #16600 > |> _assert_string_contains "arg"
00:04:47 verbose #16601 > 00:04:46 debug #244 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b00f58ad0366cb10a72b1d4147f1d7ef972445c809273494a16025b9eef0ae88/main.spi
00:04:55 verbose #16602 >
00:04:55 verbose #16603 > ╭─[ 8.10s - return value ]─────────────────────────────────────────────────────╮
00:04:55 verbose #16604 > │ assert_string_contains / actual: "arg" / expected: "Arg { │
00:04:55 verbose #16605 > │ id: "arg", │
00:04:55 verbose #16606 > │ help: None, │
00:04:55 verbose #16607 > │ long_help: None, │
00:04:55 verbose #16608 > │ action: None, │
00:04:55 verbose #16609 > │ value_parser: None, │
00:04:55 verbose #16610 > │ blacklist: [], │
00:04:55 verbose #16611 > │ settings: ArgFlags( │
00:04:55 verbose #16612 > │ 0, │
00:04:55 verbose #16613 > │ ), │
00:04:55 verbose #16614 > │ overrides: [], │
00:04:55 verbose #16615 > │ groups: [], │
00:04:55 verbose #16616 > │ requires: [], │
00:04:55 verbose #16617 > │ r_ifs: [], │
00:04:55 verbose #16618 > │ r_unless: [], │
00:04:55 verbose #16619 > │ short: None, │
00:04:55 verbose #16620 > │ long: None, │
00:04:55 verbose #16621 > │ aliases: [], │
00:04:55 verbose #16622 > │ short_aliases: [], │
00:04:55 verbose #16623 > │ disp_ord: None, │
00:04:55 verbose #16624 > │ val_names: [], │
00:04:55 verbose #16625 > │ num_vals: None, │
00:04:55 verbose #16626 > │ val_delim: None, │
00:04:55 verbose #16627 > │ default_vals: [], │
00:04:55 verbose #16628 > │ default_vals_ifs: [], │
00:04:55 verbose #16629 > │ terminator: None, │
00:04:55 verbose #16630 > │ index: None, │
00:04:55 verbose #16631 > │ help_heading: None, │
00:04:55 verbose #16632 > │ value_hint: None, │
00:04:55 verbose #16633 > │ default_missing_vals: [], │
00:04:55 verbose #16634 > │ }" │
00:04:55 verbose #16635 > │ │
00:04:55 verbose #16636 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:55 verbose #16637 >
00:04:55 verbose #16638 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:55 verbose #16639 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:55 verbose #16640 > │ ## command_arg │
00:04:55 verbose #16641 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:55 verbose #16642 >
00:04:55 verbose #16643 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:55 verbose #16644 > inl command_arg (arg : arg) (command : command) : command =
00:04:55 verbose #16645 > !\\((command, arg), $'"clap::Command::arg($0, $1)"')
00:04:56 verbose #16646 > 00:04:54 debug #245 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e07585c2606fb507570a2887660ab8067768a488005f3d7991ec4f98faaa237b/main.spi
00:04:56 verbose #16647 >
00:04:56 verbose #16648 > ╭─[ 696.29ms - stdout ]────────────────────────────────────────────────────────╮
00:04:56 verbose #16649 > │ () │
00:04:56 verbose #16650 > │ │
00:04:56 verbose #16651 > │ │
00:04:56 verbose #16652 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:56 verbose #16653 >
00:04:56 verbose #16654 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:56 verbose #16655 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:56 verbose #16656 > │ ## arg_required │
00:04:56 verbose #16657 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:56 verbose #16658 >
00:04:56 verbose #16659 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:56 verbose #16660 > inl arg_required (value : bool) (arg : arg) : arg =
00:04:56 verbose #16661 > !\\((arg, value), $'"$0.required($1)"')
00:04:56 verbose #16662 > 00:04:55 debug #246 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7797964308f8151ea36640d2ae4673e94929588aac9736f9eb266dc58194b53b/main.spi
00:04:56 verbose #16663 >
00:04:56 verbose #16664 > ╭─[ 695.43ms - stdout ]────────────────────────────────────────────────────────╮
00:04:56 verbose #16665 > │ () │
00:04:56 verbose #16666 > │ │
00:04:56 verbose #16667 > │ │
00:04:56 verbose #16668 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:56 verbose #16669 >
00:04:56 verbose #16670 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:56 verbose #16671 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:56 verbose #16672 > │ ## arg_short │
00:04:56 verbose #16673 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:56 verbose #16674 >
00:04:56 verbose #16675 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:56 verbose #16676 > inl arg_short (value : char) (arg : arg) : arg =
00:04:56 verbose #16677 > !\\((arg, value), $'"$0.short($1)"')
00:04:57 verbose #16678 > 00:04:56 debug #247 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/54581aa0b60f85a5dd1b9d9c93d0d93d6b092da6a3327f0a3b3ccc63ac86bf82/main.spi
00:04:57 verbose #16679 >
00:04:57 verbose #16680 > ╭─[ 676.07ms - stdout ]────────────────────────────────────────────────────────╮
00:04:57 verbose #16681 > │ () │
00:04:57 verbose #16682 > │ │
00:04:57 verbose #16683 > │ │
00:04:57 verbose #16684 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:57 verbose #16685 >
00:04:57 verbose #16686 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:57 verbose #16687 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:57 verbose #16688 > │ ## arg_long │
00:04:57 verbose #16689 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:57 verbose #16690 >
00:04:57 verbose #16691 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:57 verbose #16692 > inl arg_long (value : rust.static_ref' sm'.str) (arg : arg) : arg =
00:04:57 verbose #16693 > !\\((arg, value), $'"$0.long($1)"')
00:04:58 verbose #16694 > 00:04:57 debug #248 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/33bec1eea08177063d09de7410bb9e9ec42fad60887cc1a0ca00eac5fd4a6cea/main.spi
00:04:58 verbose #16695 >
00:04:58 verbose #16696 > ╭─[ 704.78ms - stdout ]────────────────────────────────────────────────────────╮
00:04:58 verbose #16697 > │ () │
00:04:58 verbose #16698 > │ │
00:04:58 verbose #16699 > │ │
00:04:58 verbose #16700 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:58 verbose #16701 >
00:04:58 verbose #16702 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:58 verbose #16703 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:58 verbose #16704 > │ ## arg_index │
00:04:58 verbose #16705 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:58 verbose #16706 >
00:04:58 verbose #16707 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:58 verbose #16708 > inl arg_index (value : i32) (arg : arg) : arg =
00:04:58 verbose #16709 > !\\((arg, value), $'"$0.index($1)"')
00:04:58 verbose #16710 > 00:04:57 debug #249 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f70e2bec3dc9c2308eb4ee359b8e5d4067c5a8c4c251ecfccba896a89f68892f/main.spi
00:04:58 verbose #16711 >
00:04:58 verbose #16712 > ╭─[ 696.83ms - stdout ]────────────────────────────────────────────────────────╮
00:04:58 verbose #16713 > │ () │
00:04:58 verbose #16714 > │ │
00:04:58 verbose #16715 > │ │
00:04:58 verbose #16716 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:58 verbose #16717 >
00:04:58 verbose #16718 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:58 verbose #16719 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:58 verbose #16720 > │ ## arg_index │
00:04:58 verbose #16721 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:58 verbose #16722 >
00:04:58 verbose #16723 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:58 verbose #16724 > inl arg_index (value : i32) (arg : arg) : arg =
00:04:58 verbose #16725 > !\\((arg, value), $'"$0.index($1)"')
00:04:59 verbose #16726 > 00:04:58 debug #250 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cb8e5a1f2e4717b18e746239796a5719ec172a54a676aec77c926b25c6fdf89e/main.spi
00:04:59 verbose #16727 >
00:04:59 verbose #16728 > ╭─[ 707.37ms - stdout ]────────────────────────────────────────────────────────╮
00:04:59 verbose #16729 > │ () │
00:04:59 verbose #16730 > │ │
00:04:59 verbose #16731 > │ │
00:04:59 verbose #16732 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:59 verbose #16733 >
00:04:59 verbose #16734 > ── markdown ────────────────────────────────────────────────────────────────────
00:04:59 verbose #16735 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:04:59 verbose #16736 > │ ## arg_matches │
00:04:59 verbose #16737 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:04:59 verbose #16738 >
00:04:59 verbose #16739 > ── spiral ──────────────────────────────────────────────────────────────────────
00:04:59 verbose #16740 > nominal arg_matches = $'clap_ArgMatches'
00:05:00 verbose #16741 > 00:04:59 debug #251 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cfdcec8e17a0244f5c81d4171a6efc6120d68f336383c898371659a1a176ea09/main.spi
00:05:00 verbose #16742 >
00:05:00 verbose #16743 > ╭─[ 702.51ms - stdout ]────────────────────────────────────────────────────────╮
00:05:00 verbose #16744 > │ () │
00:05:00 verbose #16745 > │ │
00:05:00 verbose #16746 > │ │
00:05:00 verbose #16747 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:00 verbose #16748 >
00:05:00 verbose #16749 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:00 verbose #16750 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:00 verbose #16751 > │ ## command_get_matches │
00:05:00 verbose #16752 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:00 verbose #16753 >
00:05:00 verbose #16754 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:00 verbose #16755 > inl command_get_matches (command : command) : arg_matches =
00:05:00 verbose #16756 > !\\(command, $'"clap::Command::get_matches($0)"')
00:05:00 verbose #16757 > 00:04:59 debug #252 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7518a69211fc2d03c75926191b878cb9c9cd9ade74355f609595b0ccca5ab174/main.spi
00:05:01 verbose #16758 >
00:05:01 verbose #16759 > ╭─[ 703.93ms - stdout ]────────────────────────────────────────────────────────╮
00:05:01 verbose #16760 > │ () │
00:05:01 verbose #16761 > │ │
00:05:01 verbose #16762 > │ │
00:05:01 verbose #16763 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #16764 >
00:05:01 verbose #16765 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:01 verbose #16766 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:01 verbose #16767 > │ ## command_get_matches_from │
00:05:01 verbose #16768 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #16769 >
00:05:01 verbose #16770 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:01 verbose #16771 > inl command_get_matches_from (args : array_base string) (command : command) :
00:05:01 verbose #16772 > arg_matches =
00:05:01 verbose #16773 > inl args = args |> am'.to_vec |> am'.vec_map sm'.to_std_string
00:05:01 verbose #16774 > !\\(command, $'"clap::Command::get_matches_from($0, !args)"')
00:05:01 verbose #16775 > 00:05:00 debug #253 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a70fd1792d4005c5c60957f3b21585b35d6db6b0e1fda45b12bb0e16ad7083d8/main.spi
00:05:01 verbose #16776 >
00:05:01 verbose #16777 > ╭─[ 678.23ms - stdout ]────────────────────────────────────────────────────────╮
00:05:01 verbose #16778 > │ () │
00:05:01 verbose #16779 > │ │
00:05:01 verbose #16780 > │ │
00:05:01 verbose #16781 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #16782 >
00:05:01 verbose #16783 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:01 verbose #16784 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:01 verbose #16785 > │ ## matches_get_one │
00:05:01 verbose #16786 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:01 verbose #16787 >
00:05:01 verbose #16788 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:01 verbose #16789 > inl matches_get_one (x : string) (matches : arg_matches) : optionm'.option'
00:05:01 verbose #16790 > sm'.std_string =
00:05:01 verbose #16791 > inl x = join x
00:05:01 verbose #16792 > inl x = x |> sm'.as_str
00:05:01 verbose #16793 > !\($'"clap::ArgMatches::get_one(&!matches, !x).cloned()"')
00:05:02 verbose #16794 > 00:05:01 debug #254 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cdf0334ac9e6d3ab18b1374913ceda2c9efd659502cb9b58fb1bbfbd555a0c35/main.spi
00:05:02 verbose #16795 >
00:05:02 verbose #16796 > ╭─[ 645.15ms - stdout ]────────────────────────────────────────────────────────╮
00:05:02 verbose #16797 > │ () │
00:05:02 verbose #16798 > │ │
00:05:02 verbose #16799 > │ │
00:05:02 verbose #16800 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:02 verbose #16801 >
00:05:02 verbose #16802 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:02 verbose #16803 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:02 verbose #16804 > │ ## matches_subcommand │
00:05:02 verbose #16805 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:02 verbose #16806 >
00:05:02 verbose #16807 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:02 verbose #16808 > inl matches_subcommand (matches : arg_matches) : optionm'.option'
00:05:02 verbose #16809 > (sm'.std_string * arg_matches) =
00:05:02 verbose #16810 > open sm'
00:05:02 verbose #16811 > inl matches = matches |> rust.clone
00:05:02 verbose #16812 > !\\(ref_to_std_string,
00:05:02 verbose #16813 > $'"clap::ArgMatches::subcommand(Box::leak(Box::new(!matches))).map(|(a, b)|
00:05:02 verbose #16814 > ($0(a), b.clone()))"')
00:05:02 verbose #16815 > 00:05:01 debug #255 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/681f286e3e5970cf94388d4b073fabc4623183aeaac2f696b3207cb4e93515dd/main.spi
00:05:03 verbose #16816 >
00:05:03 verbose #16817 > ╭─[ 696.31ms - stdout ]────────────────────────────────────────────────────────╮
00:05:03 verbose #16818 > │ () │
00:05:03 verbose #16819 > │ │
00:05:03 verbose #16820 > │ │
00:05:03 verbose #16821 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:03 verbose #16822 >
00:05:03 verbose #16823 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:03 verbose #16824 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:03 verbose #16825 > │ ## command_debug_assert │
00:05:03 verbose #16826 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:03 verbose #16827 >
00:05:03 verbose #16828 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:03 verbose #16829 > inl command_debug_assert (command : command) : () =
00:05:03 verbose #16830 > !\\(command, $'"clap::Command::debug_assert($0)"')
00:05:03 verbose #16831 > 00:05:02 debug #256 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6246078eac2e19b888c711115f053e8c24853c64944f11f23b9b613229192e21/main.spi
00:05:03 verbose #16832 >
00:05:03 verbose #16833 > ╭─[ 666.17ms - stdout ]────────────────────────────────────────────────────────╮
00:05:03 verbose #16834 > │ () │
00:05:03 verbose #16835 > │ │
00:05:03 verbose #16836 > │ │
00:05:03 verbose #16837 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:03 verbose #16838 >
00:05:03 verbose #16839 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:03 verbose #16840 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:03 verbose #16841 > │ ## command_subcommand_required │
00:05:03 verbose #16842 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:03 verbose #16843 >
00:05:03 verbose #16844 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:03 verbose #16845 > inl command_subcommand_required (value : bool) (command : command) : command =
00:05:03 verbose #16846 > !\\(command, $'"clap::Command::subcommand_required($0, !value)"')
00:05:04 verbose #16847 > 00:05:03 debug #257 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1c4c2a874e5f112633a0219d310f495f1425e095eb7e883e745337fb2109308c/main.spi
00:05:04 verbose #16848 >
00:05:04 verbose #16849 > ╭─[ 662.07ms - stdout ]────────────────────────────────────────────────────────╮
00:05:04 verbose #16850 > │ () │
00:05:04 verbose #16851 > │ │
00:05:04 verbose #16852 > │ │
00:05:04 verbose #16853 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:04 verbose #16854 >
00:05:04 verbose #16855 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:04 verbose #16856 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:04 verbose #16857 > │ ## command_subcommand │
00:05:04 verbose #16858 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:04 verbose #16859 >
00:05:04 verbose #16860 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:04 verbose #16861 > inl command_subcommand (subcommand : command) (command : command) : command =
00:05:04 verbose #16862 > !\\(command, $'"clap::Command::subcommand($0, !subcommand)"')
00:05:04 verbose #16863 > 00:05:03 debug #258 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/530cb2e3ce5ae6c0cf95c6268998fcf6b0c62b60fd9e89efea874f4648d4ad9f/main.spi
00:05:05 verbose #16864 >
00:05:05 verbose #16865 > ╭─[ 676.63ms - stdout ]────────────────────────────────────────────────────────╮
00:05:05 verbose #16866 > │ () │
00:05:05 verbose #16867 > │ │
00:05:05 verbose #16868 > │ │
00:05:05 verbose #16869 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:05 verbose #16870 >
00:05:05 verbose #16871 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:05 verbose #16872 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:05 verbose #16873 > │ ## main │
00:05:05 verbose #16874 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:05 verbose #16875 >
00:05:05 verbose #16876 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:05 verbose #16877 > inl main () =
00:05:05 verbose #16878 > types ()
00:05:05 verbose #16879 > init_trace_state ()
00:05:05 verbose #16880 > $"let is_windows () = !is_windows ()" : ()
00:05:05 verbose #16881 > $"let get_executable_suffix () = !get_executable_suffix ()" : ()
00:05:05 verbose #16882 > $"let execute_async x = !execute_async x" : ()
00:05:05 verbose #16883 > $"let execute_with_options_async x = !execute_with_options_async x" : ()
00:05:05 verbose #16884 > inl execution_options fn =
00:05:05 verbose #16885 > execution_options fun x =>
00:05:05 verbose #16886 > x
00:05:05 verbose #16887 > |> heap
00:05:05 verbose #16888 > |> fn
00:05:05 verbose #16889 > |> fun x => !x
00:05:05 verbose #16890 > $"let execution_options x = !execution_options x" : ()
00:05:05 verbose #16891 > $"let split_args x = !split_args x" : ()
00:05:05 verbose #16892 > 00:05:04 debug #259 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/744e3a19af1d17d0768e0307ae5237da1331d216ba846d8167e6ecfce310952c/main.spi
00:05:06 verbose #16893 >
00:05:06 verbose #16894 > ╭─[ 1.78s - stdout ]───────────────────────────────────────────────────────────╮
00:05:06 verbose #16895 > │ #if FABLE_COMPILER │
00:05:06 verbose #16896 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:05:06 verbose #16897 > │ #endif │
00:05:06 verbose #16898 > │ type Func0<'T> = class end │
00:05:06 verbose #16899 > │ #if FABLE_COMPILER │
00:05:06 verbose #16900 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:05:06 verbose #16901 > │ #endif │
00:05:06 verbose #16902 > │ type Func0<'T, 'U> = class end │
00:05:06 verbose #16903 > │ #if FABLE_COMPILER │
00:05:06 verbose #16904 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:05:06 verbose #16905 > │ #endif │
00:05:06 verbose #16906 > │ type Box<'T> = class end │
00:05:06 verbose #16907 > │ #if FABLE_COMPILER │
00:05:06 verbose #16908 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:05:06 verbose #16909 > │ #endif │
00:05:06 verbose #16910 > │ type Dyn<'T> = class end │
00:05:06 verbose #16911 > │ #if FABLE_COMPILER │
00:05:06 verbose #16912 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:05:06 verbose #16913 > │ #endif │
00:05:06 verbose #16914 > │ type Send<'T> = class end │
00:05:06 verbose #16915 > │ #if FABLE_COMPILER │
00:05:06 verbose #16916 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:05:06 verbose #16917 > │ #endif │
00:05:06 verbose #16918 > │ type Fn<'T> = class end │
00:05:06 verbose #16919 > │ #if FABLE_COMPILER │
00:05:06 verbose #16920 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:05:06 verbose #16921 > │ #endif │
00:05:06 verbose #16922 > │ type FnUnit = class end │
00:05:06 verbose #16923 > │ #if FABLE_COMPILER │
00:05:06 verbose #16924 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:05:06 verbose #16925 > │ #endif │
00:05:06 verbose #16926 > │ type FnOnce<'T> = class end │
00:05:06 verbose #16927 > │ #if FABLE_COMPILER │
00:05:06 verbose #16928 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:05:06 verbose #16929 > │ #endif │
00:05:06 verbose #16930 > │ type ActionFn<'T> = class end │
00:05:06 verbose #16931 > │ #if FABLE_COMPILER │
00:05:06 verbose #16932 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:05:06 verbose #16933 > │ #endif │
00:05:06 verbose #16934 > │ type ActionFn2<'T, 'U> = class end │
00:05:06 verbose #16935 > │ #if FABLE_COMPILER │
00:05:06 verbose #16936 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:05:06 verbose #16937 > │ #endif │
00:05:06 verbose #16938 > │ type Impl<'T> = class end │
00:05:06 verbose #16939 > │ #if FABLE_COMPILER │
00:05:06 verbose #16940 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:05:06 verbose #16941 > │ #endif │
00:05:06 verbose #16942 > │ type Mut<'T> = class end │
00:05:06 verbose #16943 > │ #if FABLE_COMPILER │
00:05:06 verbose #16944 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:05:06 verbose #16945 > │ #endif │
00:05:06 verbose #16946 > │ type Ref<'T> = class end │
00:05:06 verbose #16947 > │ #if FABLE_COMPILER │
00:05:06 verbose #16948 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:05:06 verbose #16949 > │ #endif │
00:05:06 verbose #16950 > │ type StaticRef<'T> = class end │
00:05:06 verbose #16951 > │ #if FABLE_COMPILER │
00:05:06 verbose #16952 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:05:06 verbose #16953 > │ #endif │
00:05:06 verbose #16954 > │ type MutCell<'T> = class end │
00:05:06 verbose #16955 > │ #if FABLE_COMPILER │
00:05:06 verbose #16956 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:05:06 verbose #16957 > │ #endif │
00:05:06 verbose #16958 > │ type std_any_Any = class end │
00:05:06 verbose #16959 > │ #if FABLE_COMPILER │
00:05:06 verbose #16960 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:05:06 verbose #16961 > │ #endif │
00:05:06 verbose #16962 > │ type std_borrow_Cow<'T> = class end │
00:05:06 verbose #16963 > │ #if FABLE_COMPILER │
00:05:06 verbose #16964 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:05:06 verbose #16965 > │ #endif │
00:05:06 verbose #16966 > │ type std_cell_RefCell<'T> = class end │
00:05:06 verbose #16967 > │ #if FABLE_COMPILER │
00:05:06 verbose #16968 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:05:06 verbose #16969 > │ #endif │
00:05:06 verbose #16970 > │ type std_pin_Pin<'T> = class end │
00:05:06 verbose #16971 > │ #if FABLE_COMPILER │
00:05:07 verbose #16972 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:05:07 verbose #16973 > │ #endif │
00:05:07 verbose #16974 > │ type std_rc_Rc<'T> = class end │
00:05:07 verbose #16975 > │ #if FABLE_COMPILER │
00:05:07 verbose #16976 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:05:07 verbose #16977 > │ #endif │
00:05:07 verbose #16978 > │ type std_rc_Weak<'T> = class end │
00:05:07 verbose #16979 > │ #if FABLE_COMPILER │
00:05:07 verbose #16980 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:05:07 verbose #16981 > │ #endif │
00:05:07 verbose #16982 > │ type Str = class end │
00:05:07 verbose #16983 > │ #if FABLE_COMPILER │
00:05:07 verbose #16984 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:05:07 verbose #16985 > │ #endif │
00:05:07 verbose #16986 > │ type base64_DecodeError = class end │
00:05:07 verbose #16987 > │ #if FABLE_COMPILER │
00:05:07 verbose #16988 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:05:07 verbose #16989 > │ #endif │
00:05:07 verbose #16990 > │ type borsh_io_Error = class end │
00:05:07 verbose #16991 > │ #if FABLE_COMPILER │
00:05:07 verbose #16992 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:05:07 verbose #16993 > │ #endif │
00:05:07 verbose #16994 > │ type js_sys_JsString = class end │
00:05:07 verbose #16995 > │ #if FABLE_COMPILER │
00:05:07 verbose #16996 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:05:07 verbose #16997 > │ #endif │
00:05:07 verbose #16998 > │ type serde_json_Error = class end │
00:05:07 verbose #16999 > │ #if FABLE_COMPILER │
00:05:07 verbose #17000 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:05:07 verbose #17001 > │ #endif │
00:05:07 verbose #17002 > │ type serde_json_Value = class end │
00:05:07 verbose #17003 > │ #if FABLE_COMPILER │
00:05:07 verbose #17004 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:05:07 verbose #17005 > │ #endif │
00:05:07 verbose #17006 > │ type serde_wasm_bindgen_Error = class end │
00:05:07 verbose #17007 > │ #if FABLE_COMPILER │
00:05:07 verbose #17008 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:05:07 verbose #17009 > │ #endif │
00:05:07 verbose #17010 > │ type std_ffi_OsStr = class end │
00:05:07 verbose #17011 > │ #if FABLE_COMPILER │
00:05:07 verbose #17012 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:05:07 verbose #17013 > │ #endif │
00:05:07 verbose #17014 > │ type std_ffi_OsString = class end │
00:05:07 verbose #17015 > │ #if FABLE_COMPILER │
00:05:07 verbose #17016 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:05:07 verbose #17017 > │ #endif │
00:05:07 verbose #17018 > │ type std_fmt_Display<'T> = class end │
00:05:07 verbose #17019 > │ #if FABLE_COMPILER │
00:05:07 verbose #17020 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:05:07 verbose #17021 > │ #endif │
00:05:07 verbose #17022 > │ type std_str_Utf8Error = class end │
00:05:07 verbose #17023 > │ #if FABLE_COMPILER │
00:05:07 verbose #17024 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:05:07 verbose #17025 > │ #endif │
00:05:07 verbose #17026 > │ type std_string_FromUtf8Error = class end │
00:05:07 verbose #17027 > │ #if FABLE_COMPILER │
00:05:07 verbose #17028 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:05:07 verbose #17029 > │ #endif │
00:05:07 verbose #17030 > │ type std_string_String = class end │
00:05:07 verbose #17031 > │ #if FABLE_COMPILER │
00:05:07 verbose #17032 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:05:07 verbose #17033 > │ #endif │
00:05:07 verbose #17034 > │ type std_slice_Windows<'T> = class end │
00:05:07 verbose #17035 > │ #if FABLE_COMPILER │
00:05:07 verbose #17036 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:05:07 verbose #17037 > │ #endif │
00:05:07 verbose #17038 > │ type chrono_DateTime<'T> = class end │
00:05:07 verbose #17039 > │ #if FABLE_COMPILER │
00:05:07 verbose #17040 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:05:07 verbose #17041 > │ #endif │
00:05:07 verbose #17042 > │ type chrono_Local = class end │
00:05:07 verbose #17043 > │ #if FABLE_COMPILER │
00:05:07 verbose #17044 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:05:07 verbose #17045 > │ #endif │
00:05:07 verbose #17046 > │ type chrono_NaiveDateTime = class end │
00:05:07 verbose #17047 > │ #if FABLE_COMPILER │
00:05:07 verbose #17048 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:05:07 verbose #17049 > │ #endif │
00:05:07 verbose #17050 > │ type chrono_Utc = class end │
00:05:07 verbose #17051 > │ #if FABLE_COMPILER │
00:05:07 verbose #17052 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:05:07 verbose #17053 > │ #endif │
00:05:07 verbose #17054 > │ type std_time_Duration = class end │
00:05:07 verbose #17055 > │ #if FABLE_COMPILER │
00:05:07 verbose #17056 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:05:07 verbose #17057 > │ #endif │
00:05:07 verbose #17058 > │ type async_std_io_BufReader<'T> = class end │
00:05:07 verbose #17059 > │ #if FABLE_COMPILER │
00:05:07 verbose #17060 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:05:07 verbose #17061 > │ #endif │
00:05:07 verbose #17062 > │ type std_io_BufReader<'T> = class end │
00:05:07 verbose #17063 > │ #if FABLE_COMPILER │
00:05:07 verbose #17064 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:05:07 verbose #17065 > │ #endif │
00:05:07 verbose #17066 > │ type std_io_Error = class end │
00:05:07 verbose #17067 > │ #if FABLE_COMPILER │
00:05:07 verbose #17068 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:05:07 verbose #17069 > │ #endif │
00:05:07 verbose #17070 > │ type std_io_Lines<'T> = class end │
00:05:07 verbose #17071 > │ #if FABLE_COMPILER │
00:05:07 verbose #17072 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:05:07 verbose #17073 > │ #endif │
00:05:07 verbose #17074 > │ type std_fs_File = class end │
00:05:07 verbose #17075 > │ #if FABLE_COMPILER │
00:05:07 verbose #17076 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:05:07 verbose #17077 > │ #endif │
00:05:07 verbose #17078 > │ type std_fs_FileType = class end │
00:05:07 verbose #17079 > │ #if FABLE_COMPILER │
00:05:07 verbose #17080 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:05:07 verbose #17081 > │ #endif │
00:05:07 verbose #17082 > │ type std_path_Display = class end │
00:05:07 verbose #17083 > │ #if FABLE_COMPILER │
00:05:07 verbose #17084 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:05:07 verbose #17085 > │ #endif │
00:05:07 verbose #17086 > │ type std_path_Path = class end │
00:05:07 verbose #17087 > │ #if FABLE_COMPILER │
00:05:07 verbose #17088 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:05:07 verbose #17089 > │ #endif │
00:05:07 verbose #17090 > │ type std_path_PathBuf = class end │
00:05:07 verbose #17091 > │ #if FABLE_COMPILER │
00:05:07 verbose #17092 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:05:07 verbose #17093 > │ #endif │
00:05:07 verbose #17094 > │ type async_walkdir_DirEntry = class end │
00:05:07 verbose #17095 > │ #if FABLE_COMPILER │
00:05:07 verbose #17096 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:05:07 verbose #17097 > │ #endif │
00:05:07 verbose #17098 > │ type async_walkdir_Filtering = class end │
00:05:07 verbose #17099 > │ #if FABLE_COMPILER │
00:05:07 verbose #17100 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:05:07 verbose #17101 > │ #endif │
00:05:07 verbose #17102 > │ type async_walkdir_WalkDir = class end │
00:05:07 verbose #17103 > │ #if FABLE_COMPILER │
00:05:07 verbose #17104 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0]")>] │
00:05:07 verbose #17105 > │ #endif │
00:05:07 verbose #17106 > │ type Slice<'T> = class end │
00:05:07 verbose #17107 > │ #if FABLE_COMPILER │
00:05:07 verbose #17108 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0; $1]")>] │
00:05:07 verbose #17109 > │ #endif │
00:05:07 verbose #17110 > │ type Slice'<'T, 'U> = class end │
00:05:07 verbose #17111 > │ #if FABLE_COMPILER │
00:05:07 verbose #17112 > │ [<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>] │
00:05:07 verbose #17113 > │ #endif │
00:05:07 verbose #17114 > │ type Vec<'T> = class end │
00:05:07 verbose #17115 > │ #if FABLE_COMPILER │
00:05:07 verbose #17116 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>] │
00:05:07 verbose #17117 > │ #endif │
00:05:07 verbose #17118 > │ type std_future_Future<'T> = class end │
00:05:07 verbose #17119 > │ #if FABLE_COMPILER │
00:05:07 verbose #17120 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>] │
00:05:07 verbose #17121 > │ #endif │
00:05:07 verbose #17122 > │ type futures_future_TryJoinAll<'T> = class end │
00:05:07 verbose #17123 > │ #if FABLE_COMPILER │
00:05:07 verbose #17124 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>] │
00:05:07 verbose #17125 > │ #endif │
00:05:07 verbose #17126 > │ type rayon_vec_IntoIter<'T> = class end │
00:05:07 verbose #17127 > │ #if FABLE_COMPILER │
00:05:07 verbose #17128 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>] │
00:05:07 verbose #17129 > │ #endif │
00:05:07 verbose #17130 > │ type rayon_iter_Map<'T> = class end │
00:05:07 verbose #17131 > │ #if FABLE_COMPILER │
00:05:07 verbose #17132 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>] │
00:05:07 verbose #17133 > │ #endif │
00:05:07 verbose #17134 > │ type futures_lite_stream_StreamExt = class end │
00:05:07 verbose #17135 > │ #if FABLE_COMPILER │
00:05:07 verbose #17136 > │ [<Fable.Core.Erase; Fable.Core.Emit("core::iter::Fuse<$0>")>] │
00:05:07 verbose #17137 > │ #endif │
00:05:07 verbose #17138 > │ type core_iter_Fuse<'T> = class end │
00:05:07 verbose #17139 > │ #if FABLE_COMPILER │
00:05:07 verbose #17140 > │ [<Fable.Core.Erase; Fable.Core.Emit("std:🧵:JoinHandle<$0>")>] │
00:05:07 verbose #17141 > │ #endif │
00:05:07 verbose #17142 > │ type std_thread_JoinHandle<'T> = class end │
00:05:07 verbose #17143 > │ #if FABLE_COMPILER │
00:05:07 verbose #17144 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>] │
00:05:07 verbose #17145 > │ #endif │
00:05:07 verbose #17146 > │ type std_sync_Arc<'T> = class end │
00:05:07 verbose #17147 > │ #if FABLE_COMPILER │
00:05:07 verbose #17148 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>] │
00:05:07 verbose #17149 > │ #endif │
00:05:07 verbose #17150 > │ type std_sync_Mutex<'T> = class end │
00:05:07 verbose #17151 > │ #if FABLE_COMPILER │
00:05:07 verbose #17152 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>] │
00:05:07 verbose #17153 > │ #endif │
00:05:07 verbose #17154 > │ type std_sync_MutexGuard<'T> = class end │
00:05:07 verbose #17155 > │ #if FABLE_COMPILER │
00:05:07 verbose #17156 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>] │
00:05:07 verbose #17157 > │ #endif │
00:05:07 verbose #17158 > │ type std_sync_PoisonError<'T> = class end │
00:05:07 verbose #17159 > │ #if FABLE_COMPILER │
00:05:07 verbose #17160 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Arg")>] │
00:05:07 verbose #17161 > │ #endif │
00:05:07 verbose #17162 > │ type clap_Arg = class end │
00:05:07 verbose #17163 > │ #if FABLE_COMPILER │
00:05:07 verbose #17164 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Command")>] │
00:05:07 verbose #17165 > │ #endif │
00:05:07 verbose #17166 > │ type clap_Command = class end │
00:05:07 verbose #17167 > │ #if FABLE_COMPILER │
00:05:07 verbose #17168 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::ArgMatches")>] │
00:05:07 verbose #17169 > │ #endif │
00:05:07 verbose #17170 > │ type clap_ArgMatches = class end │
00:05:07 verbose #17171 > │ #if FABLE_COMPILER │
00:05:07 verbose #17172 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Child")>] │
00:05:07 verbose #17173 > │ #endif │
00:05:07 verbose #17174 > │ type std_process_Child = class end │
00:05:07 verbose #17175 > │ #if FABLE_COMPILER │
00:05:07 verbose #17176 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStderr")>] │
00:05:07 verbose #17177 > │ #endif │
00:05:07 verbose #17178 > │ type std_process_ChildStderr = class end │
00:05:07 verbose #17179 > │ #if FABLE_COMPILER │
00:05:07 verbose #17180 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdout")>] │
00:05:07 verbose #17181 > │ #endif │
00:05:07 verbose #17182 > │ type std_process_ChildStdout = class end │
00:05:07 verbose #17183 > │ #if FABLE_COMPILER │
00:05:07 verbose #17184 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdin")>] │
00:05:07 verbose #17185 > │ #endif │
00:05:07 verbose #17186 > │ type std_process_ChildStdin = class end │
00:05:07 verbose #17187 > │ #if FABLE_COMPILER │
00:05:07 verbose #17188 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Command")>] │
00:05:07 verbose #17189 > │ #endif │
00:05:07 verbose #17190 > │ type std_process_Command = class end │
00:05:07 verbose #17191 > │ #if FABLE_COMPILER │
00:05:07 verbose #17192 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Output")>] │
00:05:07 verbose #17193 > │ #endif │
00:05:07 verbose #17194 > │ type std_process_Output = class end │
00:05:07 verbose #17195 > │ #if FABLE_COMPILER │
00:05:07 verbose #17196 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Stdio")>] │
00:05:07 verbose #17197 > │ #endif │
00:05:07 verbose #17198 > │ type std_process_Stdio = class end │
00:05:07 verbose #17199 > │ #if FABLE_COMPILER │
00:05:07 verbose #17200 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Receiver<$0>")>] │
00:05:07 verbose #17201 > │ #endif │
00:05:07 verbose #17202 > │ type std_sync_mpsc_Receiver<'T> = class end │
00:05:07 verbose #17203 > │ #if FABLE_COMPILER │
00:05:07 verbose #17204 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Sender<$0>")>] │
00:05:07 verbose #17205 > │ #endif │
00:05:07 verbose #17206 > │ type std_sync_mpsc_Sender<'T> = class end │
00:05:07 verbose #17207 > │ module State = let mutable trace_state = None │
00:05:07 verbose #17208 > │ #if FABLE_COMPILER │
00:05:07 verbose #17209 > │ [<CompilationRepresentation (CompilationRepresentationFlags.ModuleSuffix)>] │
00:05:07 verbose #17210 > │ module System = │
00:05:07 verbose #17211 > │ module Diagnostics = │
00:05:07 verbose #17212 > │ type Process = unit │
00:05:07 verbose #17213 > │ type DataReceivedEventArgs = unit │
00:05:07 verbose #17214 > │ #endif │
00:05:07 verbose #17215 > │ type Mut0 = {mutable l0 : int64} │
00:05:07 verbose #17216 > │ and Mut1 = {mutable l0 : bool} │
00:05:07 verbose #17217 > │ and [<Struct>] US0 = │
00:05:07 verbose #17218 > │ | US0_0 │
00:05:07 verbose #17219 > │ | US0_1 │
00:05:07 verbose #17220 > │ | US0_2 │
00:05:07 verbose #17221 > │ | US0_3 │
00:05:07 verbose #17222 > │ | US0_4 │
00:05:07 verbose #17223 > │ and Mut2 = {mutable l0 : US0} │
00:05:07 verbose #17224 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:05:07 verbose #17225 > │ and [<Struct>] US1 = │
00:05:07 verbose #17226 > │ | US1_0 of f0_0 : int64 │
00:05:07 verbose #17227 > │ | US1_1 │
00:05:07 verbose #17228 > │ and Mut4 = {mutable l0 : int32} │
00:05:07 verbose #17229 > │ and UH0 = │
00:05:07 verbose #17230 > │ | UH0_0 │
00:05:07 verbose #17231 > │ | UH0_1 of char * UH0 │
00:05:07 verbose #17232 > │ and [<Struct>] US3 = │
00:05:07 verbose #17233 > │ | US3_0 │
00:05:07 verbose #17234 > │ | US3_1 │
00:05:07 verbose #17235 > │ and [<Struct>] US2 = │
00:05:07 verbose #17236 > │ | US2_0 │
00:05:07 verbose #17237 > │ | US2_1 of f1_0 : US3 │
00:05:07 verbose #17238 > │ | US2_2 │
00:05:07 verbose #17239 > │ and [<Struct>] US4 = │
00:05:07 verbose #17240 > │ | US4_0 of f0_0 : string │
00:05:07 verbose #17241 > │ | US4_1 │
00:05:07 verbose #17242 > │ and [<Struct>] US5 = │
00:05:07 verbose #17243 > │ | US5_0 of f0_0 : int64 │
00:05:07 verbose #17244 > │ | US5_1 │
00:05:07 verbose #17245 > │ and [<Struct>] US6 = │
00:05:07 verbose #17246 > │ | US6_0 of f0_0 : (struct (bool * string * int32) -> Async<unit>) │
00:05:07 verbose #17247 > │ | US6_1 │
00:05:07 verbose #17248 > │ and [<Struct>] US7 = │
00:05:07 verbose #17249 > │ | US7_0 of f0_0 : System.Threading.CancellationToken │
00:05:07 verbose #17250 > │ | US7_1 │
00:05:07 verbose #17251 > │ and Heap0 = {l0 : System.Threading.CancellationToken option; l1 : string; l2 │
00:05:07 verbose #17252 > │ : (struct (string * string) []); l3 : (struct (bool * string * int32) -> │
00:05:07 verbose #17253 > │ Async<unit>) option; l4 : │
00:05:07 verbose #17254 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option; l5 : │
00:05:07 verbose #17255 > │ string option} │
00:05:07 verbose #17256 > │ and UH1 = │
00:05:07 verbose #17257 > │ | UH1_0 │
00:05:07 verbose #17258 > │ | UH1_1 of string * UH1 │
00:05:07 verbose #17259 > │ and [<Struct>] US8 = │
00:05:07 verbose #17260 > │ | US8_0 │
00:05:07 verbose #17261 > │ | US8_1 of f1_0 : char │
00:05:07 verbose #17262 > │ | US8_2 of f2_0 : uint8 │
00:05:07 verbose #17263 > │ let rec closure1 () (v0 : string) : unit = │
00:05:07 verbose #17264 > │ () │
00:05:07 verbose #17265 > │ and method0 (v0 : int64 option) : int64 option = │
00:05:07 verbose #17266 > │ v0 │
00:05:07 verbose #17267 > │ and method1 (v0 : int64 option) : int64 option = │
00:05:07 verbose #17268 > │ v0 │
00:05:07 verbose #17269 > │ and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:05:07 verbose #17270 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:05:07 verbose #17271 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:05:07 verbose #17272 > │ let v2 : US0 = US0_0 │
00:05:07 verbose #17273 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:05:07 verbose #17274 > │ let v4 : (string -> unit) = closure1() │
00:05:07 verbose #17275 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:05:07 verbose #17276 > │ let v6 : int64 option option = None │
00:05:07 verbose #17277 > │ let mutable _v6 = v6 │
00:05:07 verbose #17278 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:05:07 verbose #17279 > │ let v7 : string option = None │
00:05:07 verbose #17280 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:05:07 verbose #17281 > │ │
00:05:07 verbose #17282 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17283 > │ │
00:05:07 verbose #17284 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17285 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:05:07 verbose #17286 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:05:07 verbose #17287 > │ v10 │
00:05:07 verbose #17288 > │ #endif │
00:05:07 verbose #17289 > │ │
00:05:07 verbose #17290 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17291 > │ let v11 : string = null |> unbox<string> │
00:05:07 verbose #17292 > │ v11 │
00:05:07 verbose #17293 > │ #endif │
00:05:07 verbose #17294 > │ │
00:05:07 verbose #17295 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17296 > │ let v12 : string = null |> unbox<string> │
00:05:07 verbose #17297 > │ v12 │
00:05:07 verbose #17298 > │ #endif │
00:05:07 verbose #17299 > │ │
00:05:07 verbose #17300 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17301 > │ let v13 : string = null |> unbox<string> │
00:05:07 verbose #17302 > │ v13 │
00:05:07 verbose #17303 > │ #endif │
00:05:07 verbose #17304 > │ │
00:05:07 verbose #17305 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17306 > │ let v14 : string = null |> unbox<string> │
00:05:07 verbose #17307 > │ v14 │
00:05:07 verbose #17308 > │ #endif │
00:05:07 verbose #17309 > │ │
00:05:07 verbose #17310 > │ #else │
00:05:07 verbose #17311 > │ let v15 : string = │
00:05:07 verbose #17312 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:05:07 verbose #17313 > │ v15 │
00:05:07 verbose #17314 > │ #endif │
00:05:07 verbose #17315 > │ |> fun x -> _v7 <- Some x │
00:05:07 verbose #17316 > │ let v16 : string = _v7.Value │
00:05:07 verbose #17317 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:05:07 verbose #17318 > │ let v19 : bool = v18 <> true │
00:05:07 verbose #17319 > │ let v25 : US1 = │
00:05:07 verbose #17320 > │ if v19 then │
00:05:07 verbose #17321 > │ let v20 : System.DateTime = System.DateTime.Now │
00:05:07 verbose #17322 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:05:07 verbose #17323 > │ let v22 : int64 = v21 v20 │
00:05:07 verbose #17324 > │ US1_0(v22) │
00:05:07 verbose #17325 > │ else │
00:05:07 verbose #17326 > │ US1_1 │
00:05:07 verbose #17327 > │ let v30 : int64 option = │
00:05:07 verbose #17328 > │ match v25 with │
00:05:07 verbose #17329 > │ | US1_1 -> (* None *) │
00:05:07 verbose #17330 > │ let v28 : int64 option = None │
00:05:07 verbose #17331 > │ v28 │
00:05:07 verbose #17332 > │ | US1_0(v26) -> (* Some *) │
00:05:07 verbose #17333 > │ let v27 : int64 option = Some v26 │
00:05:07 verbose #17334 > │ v27 │
00:05:07 verbose #17335 > │ let v31 : int64 option = method0(v30) │
00:05:07 verbose #17336 > │ v31 │
00:05:07 verbose #17337 > │ #else │
00:05:07 verbose #17338 > │ let v32 : int64 option = None │
00:05:07 verbose #17339 > │ let v33 : int64 option = method1(v32) │
00:05:07 verbose #17340 > │ v33 │
00:05:07 verbose #17341 > │ #endif │
00:05:07 verbose #17342 > │ |> fun x -> _v6 <- Some x │
00:05:07 verbose #17343 > │ let v34 : int64 option = _v6.Value │
00:05:07 verbose #17344 > │ struct (v1, v0, v3, v34, v5) │
00:05:07 verbose #17345 > │ and closure2 () () : bool = │
00:05:07 verbose #17346 > │ let v0 : bool option = None │
00:05:07 verbose #17347 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:05:07 verbose #17348 > │ │
00:05:07 verbose #17349 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17350 > │ │
00:05:07 verbose #17351 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17352 > │ let v2 : string = "cfg!(windows)" │
00:05:07 verbose #17353 > │ let v3 : bool = Fable.Core.RustInterop.emitRustExpr () v2 │
00:05:07 verbose #17354 > │ v3 │
00:05:07 verbose #17355 > │ #endif │
00:05:07 verbose #17356 > │ │
00:05:07 verbose #17357 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17358 > │ let v4 : bool = null |> unbox<bool> │
00:05:07 verbose #17359 > │ v4 │
00:05:07 verbose #17360 > │ #endif │
00:05:07 verbose #17361 > │ │
00:05:07 verbose #17362 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17363 > │ let v5 : bool = null |> unbox<bool> │
00:05:07 verbose #17364 > │ v5 │
00:05:07 verbose #17365 > │ #endif │
00:05:07 verbose #17366 > │ │
00:05:07 verbose #17367 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17368 > │ let v6 : bool = null |> unbox<bool> │
00:05:07 verbose #17369 > │ v6 │
00:05:07 verbose #17370 > │ #endif │
00:05:07 verbose #17371 > │ │
00:05:07 verbose #17372 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17373 > │ let v7 : bool = null |> unbox<bool> │
00:05:07 verbose #17374 > │ v7 │
00:05:07 verbose #17375 > │ #endif │
00:05:07 verbose #17376 > │ │
00:05:07 verbose #17377 > │ #else │
00:05:07 verbose #17378 > │ let v8 : System.Runtime.InteropServices.OSPlatform = │
00:05:07 verbose #17379 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:05:07 verbose #17380 > │ let v9 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:05:07 verbose #17381 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:05:07 verbose #17382 > │ let v10 : bool = v9 v8 │
00:05:07 verbose #17383 > │ v10 │
00:05:07 verbose #17384 > │ #endif │
00:05:07 verbose #17385 > │ |> fun x -> _v0 <- Some x │
00:05:07 verbose #17386 > │ let v11 : bool = _v0.Value │
00:05:07 verbose #17387 > │ v11 │
00:05:07 verbose #17388 > │ and closure3 () () : string = │
00:05:07 verbose #17389 > │ let v0 : bool option = None │
00:05:07 verbose #17390 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:05:07 verbose #17391 > │ │
00:05:07 verbose #17392 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17393 > │ │
00:05:07 verbose #17394 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17395 > │ let v2 : string = "cfg!(windows)" │
00:05:07 verbose #17396 > │ let v3 : bool = Fable.Core.RustInterop.emitRustExpr () v2 │
00:05:07 verbose #17397 > │ v3 │
00:05:07 verbose #17398 > │ #endif │
00:05:07 verbose #17399 > │ │
00:05:07 verbose #17400 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17401 > │ let v4 : bool = null |> unbox<bool> │
00:05:07 verbose #17402 > │ v4 │
00:05:07 verbose #17403 > │ #endif │
00:05:07 verbose #17404 > │ │
00:05:07 verbose #17405 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17406 > │ let v5 : bool = null |> unbox<bool> │
00:05:07 verbose #17407 > │ v5 │
00:05:07 verbose #17408 > │ #endif │
00:05:07 verbose #17409 > │ │
00:05:07 verbose #17410 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17411 > │ let v6 : bool = null |> unbox<bool> │
00:05:07 verbose #17412 > │ v6 │
00:05:07 verbose #17413 > │ #endif │
00:05:07 verbose #17414 > │ │
00:05:07 verbose #17415 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17416 > │ let v7 : bool = null |> unbox<bool> │
00:05:07 verbose #17417 > │ v7 │
00:05:07 verbose #17418 > │ #endif │
00:05:07 verbose #17419 > │ │
00:05:07 verbose #17420 > │ #else │
00:05:07 verbose #17421 > │ let v8 : System.Runtime.InteropServices.OSPlatform = │
00:05:07 verbose #17422 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:05:07 verbose #17423 > │ let v9 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:05:07 verbose #17424 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:05:07 verbose #17425 > │ let v10 : bool = v9 v8 │
00:05:07 verbose #17426 > │ v10 │
00:05:07 verbose #17427 > │ #endif │
00:05:07 verbose #17428 > │ |> fun x -> _v0 <- Some x │
00:05:07 verbose #17429 > │ let v11 : bool = _v0.Value │
00:05:07 verbose #17430 > │ if v11 then │
00:05:07 verbose #17431 > │ let v12 : string = ".exe" │
00:05:07 verbose #17432 > │ v12 │
00:05:07 verbose #17433 > │ else │
00:05:07 verbose #17434 > │ let v13 : string = "" │
00:05:07 verbose #17435 > │ v13 │
00:05:07 verbose #17436 > │ and method2 () : struct (string * string) = │
00:05:07 verbose #17437 > │ let v0 : string = "" │
00:05:07 verbose #17438 > │ struct (v0, v0) │
00:05:07 verbose #17439 > │ and method3 (v0 : int32, v1 : Mut4) : bool = │
00:05:07 verbose #17440 > │ let v2 : int32 = v1.l0 │
00:05:07 verbose #17441 > │ let v3 : bool = v2 < v0 │
00:05:07 verbose #17442 > │ v3 │
00:05:07 verbose #17443 > │ and closure6 (v0 : char) (v1 : UH0) : UH0 = │
00:05:07 verbose #17444 > │ UH0_1(v0, v1) │
00:05:07 verbose #17445 > │ and closure5 () (v0 : char) : (UH0 -> UH0) = │
00:05:07 verbose #17446 > │ closure6(v0) │
00:05:07 verbose #17447 > │ and method4 () : (char -> (UH0 -> UH0)) = │
00:05:07 verbose #17448 > │ closure5() │
00:05:07 verbose #17449 > │ and method5 (v0 : string, v1 : string, v2 : UH0, v3 : US2) : struct (string │
00:05:07 verbose #17450 > │ * string) = │
00:05:07 verbose #17451 > │ match v2 with │
00:05:07 verbose #17452 > │ | UH0_1(v4, v5) -> (* Cons *) │
00:05:07 verbose #17453 > │ let v6 : bool = '"' = v4 │
00:05:07 verbose #17454 > │ if v6 then │
00:05:07 verbose #17455 > │ let v8 : bool = v1 = "" │
00:05:07 verbose #17456 > │ if v8 then │
00:05:07 verbose #17457 > │ let v9 : US3 = US3_0 │
00:05:07 verbose #17458 > │ let v10 : US2 = US2_1(v9) │
00:05:07 verbose #17459 > │ method5(v0, v1, v5, v10) │
00:05:07 verbose #17460 > │ else │
00:05:07 verbose #17461 > │ match v3 with │
00:05:07 verbose #17462 > │ | US2_2 -> (* Arguments *) │
00:05:07 verbose #17463 > │ let v38 : string = $"{v0}{v4}" │
00:05:07 verbose #17464 > │ let v39 : US2 = US2_2 │
00:05:07 verbose #17465 > │ method5(v38, v1, v5, v39) │
00:05:07 verbose #17466 > │ | US2_1(v13) -> (* Path *) │
00:05:07 verbose #17467 > │ match v13 with │
00:05:07 verbose #17468 > │ | US3_0 -> (* Quoted *) │
00:05:07 verbose #17469 > │ let v14 : US3 = US3_1 │
00:05:07 verbose #17470 > │ let v15 : US2 = US2_1(v14) │
00:05:07 verbose #17471 > │ method5(v0, v1, v5, v15) │
00:05:07 verbose #17472 > │ | _ -> │
00:05:07 verbose #17473 > │ let v18 : bool = ' ' = v4 │
00:05:07 verbose #17474 > │ if v18 then │
00:05:07 verbose #17475 > │ let v19 : US2 = US2_2 │
00:05:07 verbose #17476 > │ method5(v0, v1, v5, v19) │
00:05:07 verbose #17477 > │ else │
00:05:07 verbose #17478 > │ let v22 : string = $"{v1}{v4}" │
00:05:07 verbose #17479 > │ method5(v0, v22, v5, v3) │
00:05:07 verbose #17480 > │ | US2_0 -> (* Start *) │
00:05:07 verbose #17481 > │ let v29 : bool = ' ' = v4 │
00:05:07 verbose #17482 > │ if v29 then │
00:05:07 verbose #17483 > │ let v30 : US2 = US2_2 │
00:05:07 verbose #17484 > │ method5(v0, v1, v5, v30) │
00:05:07 verbose #17485 > │ else │
00:05:07 verbose #17486 > │ let v33 : string = $"{v1}{v4}" │
00:05:07 verbose #17487 > │ method5(v0, v33, v5, v3) │
00:05:07 verbose #17488 > │ else │
00:05:07 verbose #17489 > │ let v50 : bool = ''' = v4 │
00:05:07 verbose #17490 > │ if v50 then │
00:05:07 verbose #17491 > │ let v52 : bool = v1 = "" │
00:05:07 verbose #17492 > │ if v52 then │
00:05:07 verbose #17493 > │ let v53 : US3 = US3_0 │
00:05:07 verbose #17494 > │ let v54 : US2 = US2_1(v53) │
00:05:07 verbose #17495 > │ method5(v0, v1, v5, v54) │
00:05:07 verbose #17496 > │ else │
00:05:07 verbose #17497 > │ match v3 with │
00:05:07 verbose #17498 > │ | US2_2 -> (* Arguments *) │
00:05:07 verbose #17499 > │ let v82 : string = $"{v0}{v4}" │
00:05:07 verbose #17500 > │ let v83 : US2 = US2_2 │
00:05:07 verbose #17501 > │ method5(v82, v1, v5, v83) │
00:05:07 verbose #17502 > │ | US2_1(v57) -> (* Path *) │
00:05:07 verbose #17503 > │ match v57 with │
00:05:07 verbose #17504 > │ | US3_0 -> (* Quoted *) │
00:05:07 verbose #17505 > │ let v58 : US3 = US3_1 │
00:05:07 verbose #17506 > │ let v59 : US2 = US2_1(v58) │
00:05:07 verbose #17507 > │ method5(v0, v1, v5, v59) │
00:05:07 verbose #17508 > │ | _ -> │
00:05:07 verbose #17509 > │ let v62 : bool = ' ' = v4 │
00:05:07 verbose #17510 > │ if v62 then │
00:05:07 verbose #17511 > │ let v63 : US2 = US2_2 │
00:05:07 verbose #17512 > │ method5(v0, v1, v5, v63) │
00:05:07 verbose #17513 > │ else │
00:05:07 verbose #17514 > │ let v66 : string = $"{v1}{v4}" │
00:05:07 verbose #17515 > │ method5(v0, v66, v5, v3) │
00:05:07 verbose #17516 > │ | US2_0 -> (* Start *) │
00:05:07 verbose #17517 > │ let v73 : bool = ' ' = v4 │
00:05:07 verbose #17518 > │ if v73 then │
00:05:07 verbose #17519 > │ let v74 : US2 = US2_2 │
00:05:07 verbose #17520 > │ method5(v0, v1, v5, v74) │
00:05:07 verbose #17521 > │ else │
00:05:07 verbose #17522 > │ let v77 : string = $"{v1}{v4}" │
00:05:07 verbose #17523 > │ method5(v0, v77, v5, v3) │
00:05:07 verbose #17524 > │ else │
00:05:07 verbose #17525 > │ match v3 with │
00:05:07 verbose #17526 > │ | US2_2 -> (* Arguments *) │
00:05:07 verbose #17527 > │ let v126 : string = $"{v0}{v4}" │
00:05:07 verbose #17528 > │ let v127 : US2 = US2_2 │
00:05:07 verbose #17529 > │ method5(v126, v1, v5, v127) │
00:05:07 verbose #17530 > │ | US2_1(v94) -> (* Path *) │
00:05:07 verbose #17531 > │ match v94 with │
00:05:07 verbose #17532 > │ | US3_0 -> (* Quoted *) │
00:05:07 verbose #17533 > │ let v95 : bool = ' ' = v4 │
00:05:07 verbose #17534 > │ if v95 then │
00:05:07 verbose #17535 > │ let v96 : string = $"{v1} " │
00:05:07 verbose #17536 > │ let v97 : US3 = US3_0 │
00:05:07 verbose #17537 > │ let v98 : US2 = US2_1(v97) │
00:05:07 verbose #17538 > │ method5(v0, v96, v5, v98) │
00:05:07 verbose #17539 > │ else │
00:05:07 verbose #17540 > │ let v101 : string = $"{v1}{v4}" │
00:05:07 verbose #17541 > │ method5(v0, v101, v5, v3) │
00:05:07 verbose #17542 > │ | _ -> │
00:05:07 verbose #17543 > │ let v106 : bool = ' ' = v4 │
00:05:07 verbose #17544 > │ if v106 then │
00:05:07 verbose #17545 > │ let v107 : US2 = US2_2 │
00:05:07 verbose #17546 > │ method5(v0, v1, v5, v107) │
00:05:07 verbose #17547 > │ else │
00:05:07 verbose #17548 > │ let v110 : string = $"{v1}{v4}" │
00:05:07 verbose #17549 > │ method5(v0, v110, v5, v3) │
00:05:07 verbose #17550 > │ | US2_0 -> (* Start *) │
00:05:07 verbose #17551 > │ let v117 : bool = ' ' = v4 │
00:05:07 verbose #17552 > │ if v117 then │
00:05:07 verbose #17553 > │ let v118 : US2 = US2_2 │
00:05:07 verbose #17554 > │ method5(v0, v1, v5, v118) │
00:05:07 verbose #17555 > │ else │
00:05:07 verbose #17556 > │ let v121 : string = $"{v1}{v4}" │
00:05:07 verbose #17557 > │ method5(v0, v121, v5, v3) │
00:05:07 verbose #17558 > │ | _ -> │
00:05:07 verbose #17559 > │ match v3 with │
00:05:07 verbose #17560 > │ | US2_2 -> (* Arguments *) │
00:05:07 verbose #17561 > │ let v152 : string = "\\" │
00:05:07 verbose #17562 > │ let v153 : string = "/" │
00:05:07 verbose #17563 > │ let v154 : string = v1.Replace (v152, v153) │
00:05:07 verbose #17564 > │ struct (v154, v0) │
00:05:07 verbose #17565 > │ | US2_1(v140) -> (* Path *) │
00:05:07 verbose #17566 > │ match v140 with │
00:05:07 verbose #17567 > │ | US3_0 -> (* Quoted *) │
00:05:07 verbose #17568 > │ let v141 : string = "\\" │
00:05:07 verbose #17569 > │ let v142 : string = "/" │
00:05:07 verbose #17570 > │ let v143 : string = v1.Replace (v141, v142) │
00:05:07 verbose #17571 > │ struct (v143, v0) │
00:05:07 verbose #17572 > │ | _ -> │
00:05:07 verbose #17573 > │ let v144 : string = "\\" │
00:05:07 verbose #17574 > │ let v145 : string = "/" │
00:05:07 verbose #17575 > │ let v146 : string = v1.Replace (v144, v145) │
00:05:07 verbose #17576 > │ struct (v146, v0) │
00:05:07 verbose #17577 > │ | US2_0 -> (* Start *) │
00:05:07 verbose #17578 > │ let v149 : string = "\\" │
00:05:07 verbose #17579 > │ let v150 : string = "/" │
00:05:07 verbose #17580 > │ let v151 : string = v1.Replace (v149, v150) │
00:05:07 verbose #17581 > │ struct (v151, v0) │
00:05:07 verbose #17582 > │ and closure7 () (v0 : string) : US4 = │
00:05:07 verbose #17583 > │ US4_0(v0) │
00:05:07 verbose #17584 > │ and method6 () : (string -> US4) = │
00:05:07 verbose #17585 > │ closure7() │
00:05:07 verbose #17586 > │ and closure8 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:05:07 verbose #17587 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:05:07 verbose #17588 > │ Async<unit>) option, v4 : │
00:05:07 verbose #17589 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:05:07 verbose #17590 > │ string option) () : string = │
00:05:07 verbose #17591 > │ let v6 : string = $"execute_with_options_async / options: %A{struct (v0, │
00:05:07 verbose #17592 > │ v1, v2, v3, v4, v5)}" │
00:05:07 verbose #17593 > │ v6 │
00:05:07 verbose #17594 > │ and closure9 () () : string = │
00:05:07 verbose #17595 > │ let v0 : string = "" │
00:05:07 verbose #17596 > │ v0 │
00:05:07 verbose #17597 > │ and method7 () : (unit -> string) = │
00:05:07 verbose #17598 > │ closure9() │
00:05:07 verbose #17599 > │ and closure11 () (v0 : int64) : US5 = │
00:05:07 verbose #17600 > │ US5_0(v0) │
00:05:07 verbose #17601 > │ and method9 () : (int64 -> US5) = │
00:05:07 verbose #17602 > │ closure11() │
00:05:07 verbose #17603 > │ and method10 () : string = │
00:05:07 verbose #17604 > │ let v0 : string = "" │
00:05:07 verbose #17605 > │ v0 │
00:05:07 verbose #17606 > │ and closure10 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:05:07 verbose #17607 > │ string = │
00:05:07 verbose #17608 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:07 verbose #17609 > │ closure0() │
00:05:07 verbose #17610 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:05:07 verbose #17611 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:05:07 verbose #17612 > │ Mut3) = State.trace_state.Value │
00:05:07 verbose #17613 > │ let v9 : string option = None │
00:05:07 verbose #17614 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:05:07 verbose #17615 > │ │
00:05:07 verbose #17616 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17617 > │ │
00:05:07 verbose #17618 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17619 > │ let v11 : (int64 -> US5) = method9() │
00:05:07 verbose #17620 > │ let v12 : US5 = US5_1 │
00:05:07 verbose #17621 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:05:07 verbose #17622 > │ let v31 : System.DateTime = │
00:05:07 verbose #17623 > │ match v13 with │
00:05:07 verbose #17624 > │ | US5_1 -> (* None *) │
00:05:07 verbose #17625 > │ let v29 : System.DateTime = System.DateTime.Now │
00:05:07 verbose #17626 > │ v29 │
00:05:07 verbose #17627 > │ | US5_0(v14) -> (* Some *) │
00:05:07 verbose #17628 > │ let v15 : System.DateTime = System.DateTime.Now │
00:05:07 verbose #17629 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:05:07 verbose #17630 > │ let v17 : int64 = v16 v15 │
00:05:07 verbose #17631 > │ let v18 : int64 = v17 - v14 │
00:05:07 verbose #17632 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:05:07 verbose #17633 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:05:07 verbose #17634 > │ let v21 : int32 = v20 v19 │
00:05:07 verbose #17635 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:05:07 verbose #17636 > │ let v23 : int32 = v22 v19 │
00:05:07 verbose #17637 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:05:07 verbose #17638 > │ let v25 : int32 = v24 v19 │
00:05:07 verbose #17639 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:05:07 verbose #17640 > │ let v27 : int32 = v26 v19 │
00:05:07 verbose #17641 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:05:07 verbose #17642 > │ v25, v27) │
00:05:07 verbose #17643 > │ v28 │
00:05:07 verbose #17644 > │ let v32 : string = "hh:mm:ss" │
00:05:07 verbose #17645 > │ let v33 : string = v31.ToString v32 │
00:05:07 verbose #17646 > │ v33 │
00:05:07 verbose #17647 > │ #endif │
00:05:07 verbose #17648 > │ │
00:05:07 verbose #17649 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17650 > │ let v34 : string = method10() │
00:05:07 verbose #17651 > │ v34 │
00:05:07 verbose #17652 > │ #endif │
00:05:07 verbose #17653 > │ │
00:05:07 verbose #17654 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17655 > │ let v35 : string = method10() │
00:05:07 verbose #17656 > │ v35 │
00:05:07 verbose #17657 > │ #endif │
00:05:07 verbose #17658 > │ │
00:05:07 verbose #17659 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17660 > │ let v36 : string = method10() │
00:05:07 verbose #17661 > │ v36 │
00:05:07 verbose #17662 > │ #endif │
00:05:07 verbose #17663 > │ │
00:05:07 verbose #17664 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17665 > │ let v37 : string = method10() │
00:05:07 verbose #17666 > │ v37 │
00:05:07 verbose #17667 > │ #endif │
00:05:07 verbose #17668 > │ │
00:05:07 verbose #17669 > │ #else │
00:05:07 verbose #17670 > │ let v38 : (int64 -> US5) = method9() │
00:05:07 verbose #17671 > │ let v39 : US5 = US5_1 │
00:05:07 verbose #17672 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:05:07 verbose #17673 > │ let v58 : System.DateTime = │
00:05:07 verbose #17674 > │ match v40 with │
00:05:07 verbose #17675 > │ | US5_1 -> (* None *) │
00:05:07 verbose #17676 > │ let v56 : System.DateTime = System.DateTime.Now │
00:05:07 verbose #17677 > │ v56 │
00:05:07 verbose #17678 > │ | US5_0(v41) -> (* Some *) │
00:05:07 verbose #17679 > │ let v42 : System.DateTime = System.DateTime.Now │
00:05:07 verbose #17680 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:05:07 verbose #17681 > │ let v44 : int64 = v43 v42 │
00:05:07 verbose #17682 > │ let v45 : int64 = v44 - v41 │
00:05:07 verbose #17683 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:05:07 verbose #17684 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:05:07 verbose #17685 > │ let v48 : int32 = v47 v46 │
00:05:07 verbose #17686 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:05:07 verbose #17687 > │ let v50 : int32 = v49 v46 │
00:05:07 verbose #17688 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:05:07 verbose #17689 > │ let v52 : int32 = v51 v46 │
00:05:07 verbose #17690 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:05:07 verbose #17691 > │ let v54 : int32 = v53 v46 │
00:05:07 verbose #17692 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:05:07 verbose #17693 > │ v52, v54) │
00:05:07 verbose #17694 > │ v55 │
00:05:07 verbose #17695 > │ let v59 : string = "HH:mm:ss" │
00:05:07 verbose #17696 > │ let v60 : string = v58.ToString v59 │
00:05:07 verbose #17697 > │ v60 │
00:05:07 verbose #17698 > │ #endif │
00:05:07 verbose #17699 > │ |> fun x -> _v9 <- Some x │
00:05:07 verbose #17700 > │ let v61 : string = _v9.Value │
00:05:07 verbose #17701 > │ let v62 : int64 = v4.l0 │
00:05:07 verbose #17702 > │ let v72 : string = │
00:05:07 verbose #17703 > │ match v0 with │
00:05:07 verbose #17704 > │ | US0_4 -> (* Critical *) │
00:05:07 verbose #17705 > │ let v67 : string = "Critical" │
00:05:07 verbose #17706 > │ v67 │
00:05:07 verbose #17707 > │ | US0_1 -> (* Debug *) │
00:05:07 verbose #17708 > │ let v64 : string = "Debug" │
00:05:07 verbose #17709 > │ v64 │
00:05:07 verbose #17710 > │ | US0_2 -> (* Info *) │
00:05:07 verbose #17711 > │ let v65 : string = "Info" │
00:05:07 verbose #17712 > │ v65 │
00:05:07 verbose #17713 > │ | US0_0 -> (* Verbose *) │
00:05:07 verbose #17714 > │ let v63 : string = "Verbose" │
00:05:07 verbose #17715 > │ v63 │
00:05:07 verbose #17716 > │ | US0_3 -> (* Warning *) │
00:05:07 verbose #17717 > │ let v66 : string = "Warning" │
00:05:07 verbose #17718 > │ v66 │
00:05:07 verbose #17719 > │ let v73 : string = v72.ToLower () │
00:05:07 verbose #17720 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:05:07 verbose #17721 > │ let v75 : string option = None │
00:05:07 verbose #17722 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:05:07 verbose #17723 > │ │
00:05:07 verbose #17724 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17725 > │ │
00:05:07 verbose #17726 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17727 > │ let v91 : Ref<Str> = │
00:05:07 verbose #17728 > │ match v0 with │
00:05:07 verbose #17729 > │ | US0_4 -> (* Critical *) │
00:05:07 verbose #17730 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:05:07 verbose #17731 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:05:07 verbose #17732 > │ v86 │
00:05:07 verbose #17733 > │ | US0_1 -> (* Debug *) │
00:05:07 verbose #17734 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:05:07 verbose #17735 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:05:07 verbose #17736 > │ v80 │
00:05:07 verbose #17737 > │ | US0_2 -> (* Info *) │
00:05:07 verbose #17738 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:05:07 verbose #17739 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:05:07 verbose #17740 > │ v82 │
00:05:07 verbose #17741 > │ | US0_0 -> (* Verbose *) │
00:05:07 verbose #17742 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:05:07 verbose #17743 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:05:07 verbose #17744 > │ v78 │
00:05:07 verbose #17745 > │ | US0_3 -> (* Warning *) │
00:05:07 verbose #17746 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:05:07 verbose #17747 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:05:07 verbose #17748 > │ v84 │
00:05:07 verbose #17749 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:05:07 verbose #17750 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:05:07 verbose #17751 > │ let v94 : string = "inline_colorization::color_reset" │
00:05:07 verbose #17752 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:05:07 verbose #17753 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:05:07 verbose #17754 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:05:07 verbose #17755 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:05:07 verbose #17756 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:05:07 verbose #17757 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:05:07 verbose #17758 > │ v100 │
00:05:07 verbose #17759 > │ #endif │
00:05:07 verbose #17760 > │ │
00:05:07 verbose #17761 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17762 > │ let v115 : Ref<Str> = │
00:05:07 verbose #17763 > │ match v0 with │
00:05:07 verbose #17764 > │ | US0_4 -> (* Critical *) │
00:05:07 verbose #17765 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:05:07 verbose #17766 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17767 > │ v109 │
00:05:07 verbose #17768 > │ v110 │
00:05:07 verbose #17769 > │ | US0_1 -> (* Debug *) │
00:05:07 verbose #17770 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:05:07 verbose #17771 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17772 > │ v103 │
00:05:07 verbose #17773 > │ v104 │
00:05:07 verbose #17774 > │ | US0_2 -> (* Info *) │
00:05:07 verbose #17775 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:05:07 verbose #17776 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17777 > │ v105 │
00:05:07 verbose #17778 > │ v106 │
00:05:07 verbose #17779 > │ | US0_0 -> (* Verbose *) │
00:05:07 verbose #17780 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:05:07 verbose #17781 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17782 > │ v101 │
00:05:07 verbose #17783 > │ v102 │
00:05:07 verbose #17784 > │ | US0_3 -> (* Warning *) │
00:05:07 verbose #17785 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:05:07 verbose #17786 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17787 > │ v107 │
00:05:07 verbose #17788 > │ v108 │
00:05:07 verbose #17789 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:05:07 verbose #17790 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:05:07 verbose #17791 > │ let v118 : string = "inline_colorization::color_reset" │
00:05:07 verbose #17792 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:05:07 verbose #17793 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:05:07 verbose #17794 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:05:07 verbose #17795 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17796 > │ v121 │
00:05:07 verbose #17797 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:05:07 verbose #17798 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:05:07 verbose #17799 > │ v124 │
00:05:07 verbose #17800 > │ #endif │
00:05:07 verbose #17801 > │ │
00:05:07 verbose #17802 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17803 > │ let v139 : Ref<Str> = │
00:05:07 verbose #17804 > │ match v0 with │
00:05:07 verbose #17805 > │ | US0_4 -> (* Critical *) │
00:05:07 verbose #17806 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:05:07 verbose #17807 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17808 > │ v133 │
00:05:07 verbose #17809 > │ v134 │
00:05:07 verbose #17810 > │ | US0_1 -> (* Debug *) │
00:05:07 verbose #17811 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:05:07 verbose #17812 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17813 > │ v127 │
00:05:07 verbose #17814 > │ v128 │
00:05:07 verbose #17815 > │ | US0_2 -> (* Info *) │
00:05:07 verbose #17816 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:05:07 verbose #17817 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17818 > │ v129 │
00:05:07 verbose #17819 > │ v130 │
00:05:07 verbose #17820 > │ | US0_0 -> (* Verbose *) │
00:05:07 verbose #17821 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:05:07 verbose #17822 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17823 > │ v125 │
00:05:07 verbose #17824 > │ v126 │
00:05:07 verbose #17825 > │ | US0_3 -> (* Warning *) │
00:05:07 verbose #17826 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:05:07 verbose #17827 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17828 > │ v131 │
00:05:07 verbose #17829 > │ v132 │
00:05:07 verbose #17830 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:05:07 verbose #17831 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:05:07 verbose #17832 > │ let v142 : string = "inline_colorization::color_reset" │
00:05:07 verbose #17833 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:05:07 verbose #17834 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:05:07 verbose #17835 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:05:07 verbose #17836 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:05:07 verbose #17837 > │ v145 │
00:05:07 verbose #17838 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:05:07 verbose #17839 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:05:07 verbose #17840 > │ v148 │
00:05:07 verbose #17841 > │ #endif │
00:05:07 verbose #17842 > │ │
00:05:07 verbose #17843 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17844 > │ v74 │
00:05:07 verbose #17845 > │ #endif │
00:05:07 verbose #17846 > │ │
00:05:07 verbose #17847 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17848 > │ v74 │
00:05:07 verbose #17849 > │ #endif │
00:05:07 verbose #17850 > │ │
00:05:07 verbose #17851 > │ #else │
00:05:07 verbose #17852 > │ v74 │
00:05:07 verbose #17853 > │ #endif │
00:05:07 verbose #17854 > │ |> fun x -> _v75 <- Some x │
00:05:07 verbose #17855 > │ let v149 : string = _v75.Value │
00:05:07 verbose #17856 > │ let v150 : string = v1 () │
00:05:07 verbose #17857 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:05:07 verbose #17858 > │ let v152 : (char []) = [||] │
00:05:07 verbose #17859 > │ let v153 : string = v151.TrimStart v152 │
00:05:07 verbose #17860 > │ let v154 : (char []) = [|' '; '/'|] │
00:05:07 verbose #17861 > │ let v155 : string = v153.TrimEnd v154 │
00:05:07 verbose #17862 > │ v155 │
00:05:07 verbose #17863 > │ and method11 (v0 : US0, v1 : (unit -> string)) : unit = │
00:05:07 verbose #17864 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:07 verbose #17865 > │ closure0() │
00:05:07 verbose #17866 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:05:07 verbose #17867 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:05:07 verbose #17868 > │ Mut3) = State.trace_state.Value │
00:05:07 verbose #17869 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:05:07 verbose #17870 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:05:07 verbose #17871 > │ Mut3) = State.trace_state.Value │
00:05:07 verbose #17872 > │ let v13 : US0 = v10.l0 │
00:05:07 verbose #17873 > │ let v14 : bool = v9.l0 │
00:05:07 verbose #17874 > │ let v15 : bool = v14 = false │
00:05:07 verbose #17875 > │ let v19 : bool = │
00:05:07 verbose #17876 > │ if v15 then │
00:05:07 verbose #17877 > │ false │
00:05:07 verbose #17878 > │ else │
00:05:07 verbose #17879 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:07 verbose #17880 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:05:07 verbose #17881 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:07 verbose #17882 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:05:07 verbose #17883 > │ let v18 : bool = v16 >= v17 │
00:05:07 verbose #17884 > │ v18 │
00:05:07 verbose #17885 > │ if v19 then │
00:05:07 verbose #17886 > │ let v20 : int64 = v3.l0 │
00:05:07 verbose #17887 > │ let v21 : int64 = v20 + 1L │
00:05:07 verbose #17888 > │ v3.l0 <- v21 │
00:05:07 verbose #17889 > │ let v22 : string = $"%s{v1 ()}" │
00:05:07 verbose #17890 > │ let v23 : unit option = None │
00:05:07 verbose #17891 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:05:07 verbose #17892 > │ │
00:05:07 verbose #17893 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17894 > │ │
00:05:07 verbose #17895 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17896 > │ let v25 : string = @"println!(""{}"", $0)" │
00:05:07 verbose #17897 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:05:07 verbose #17898 > │ () │
00:05:07 verbose #17899 > │ #endif │
00:05:07 verbose #17900 > │ │
00:05:07 verbose #17901 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17902 > │ let v26 : string = @"println!(""{}"", $0)" │
00:05:07 verbose #17903 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:05:07 verbose #17904 > │ () │
00:05:07 verbose #17905 > │ #endif │
00:05:07 verbose #17906 > │ │
00:05:07 verbose #17907 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17908 > │ let v27 : string = @"println!(""{}"", $0)" │
00:05:07 verbose #17909 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:05:07 verbose #17910 > │ () │
00:05:07 verbose #17911 > │ #endif │
00:05:07 verbose #17912 > │ │
00:05:07 verbose #17913 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17914 > │ System.Console.WriteLine v22 │
00:05:07 verbose #17915 > │ () │
00:05:07 verbose #17916 > │ #endif │
00:05:07 verbose #17917 > │ │
00:05:07 verbose #17918 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17919 > │ System.Console.WriteLine v22 │
00:05:07 verbose #17920 > │ () │
00:05:07 verbose #17921 > │ #endif │
00:05:07 verbose #17922 > │ │
00:05:07 verbose #17923 > │ #else │
00:05:07 verbose #17924 > │ System.Console.WriteLine v22 │
00:05:07 verbose #17925 > │ () │
00:05:07 verbose #17926 > │ #endif │
00:05:07 verbose #17927 > │ |> fun x -> _v23 <- Some x │
00:05:07 verbose #17928 > │ _v23.Value │
00:05:07 verbose #17929 > │ let v28 : (string -> unit) = v7.l0 │
00:05:07 verbose #17930 > │ v28 v22 │
00:05:07 verbose #17931 > │ and method8 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:05:07 verbose #17932 > │ = │
00:05:07 verbose #17933 > │ let v3 : (unit -> string) = closure10(v0, v1, v2) │
00:05:07 verbose #17934 > │ method11(v0, v3) │
00:05:07 verbose #17935 > │ and closure13 () (v0 : (struct (bool * string * int32) -> Async<unit>)) : │
00:05:07 verbose #17936 > │ US6 = │
00:05:07 verbose #17937 > │ US6_0(v0) │
00:05:07 verbose #17938 > │ and method12 () : ((struct (bool * string * int32) -> Async<unit>) -> US6) = │
00:05:07 verbose #17939 > │ closure13() │
00:05:07 verbose #17940 > │ and closure14 (v0 : string) () : string = │
00:05:07 verbose #17941 > │ let v1 : string = $"> {v0}" │
00:05:07 verbose #17942 > │ v1 │
00:05:07 verbose #17943 > │ and closure12 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:05:07 verbose #17944 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:05:07 verbose #17945 > │ Async<unit>) option, v4 : │
00:05:07 verbose #17946 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:05:07 verbose #17947 > │ string option, v6 : System.Diagnostics.Process, v7 : │
00:05:07 verbose #17948 > │ System.Collections.Concurrent.ConcurrentStack<string>) (v8 : │
00:05:07 verbose #17949 > │ System.Diagnostics.DataReceivedEventArgs) : unit = │
00:05:07 verbose #17950 > │ let v9 : Async<unit> option = None │
00:05:07 verbose #17951 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:05:07 verbose #17952 > │ │
00:05:07 verbose #17953 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #17954 > │ │
00:05:07 verbose #17955 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #17956 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #17957 > │ v11 │
00:05:07 verbose #17958 > │ #endif │
00:05:07 verbose #17959 > │ │
00:05:07 verbose #17960 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #17961 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #17962 > │ v12 │
00:05:07 verbose #17963 > │ #endif │
00:05:07 verbose #17964 > │ │
00:05:07 verbose #17965 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #17966 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #17967 > │ v13 │
00:05:07 verbose #17968 > │ #endif │
00:05:07 verbose #17969 > │ │
00:05:07 verbose #17970 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #17971 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #17972 > │ v14 │
00:05:07 verbose #17973 > │ #endif │
00:05:07 verbose #17974 > │ │
00:05:07 verbose #17975 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #17976 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #17977 > │ v15 │
00:05:07 verbose #17978 > │ #endif │
00:05:07 verbose #17979 > │ │
00:05:07 verbose #17980 > │ #else │
00:05:07 verbose #17981 > │ let v16 : Async<unit> option = None │
00:05:07 verbose #17982 > │ let mutable _v16 = v16 │
00:05:07 verbose #17983 > │ async { │
00:05:07 verbose #17984 > │ let v17 : string = v8.Data │
00:05:07 verbose #17985 > │ let v18 : string = null |> unbox<string> │
00:05:07 verbose #17986 > │ let v19 : bool = v17 = v18 │
00:05:07 verbose #17987 > │ let v20 : bool = v19 <> true │
00:05:07 verbose #17988 > │ if v20 then │
00:05:07 verbose #17989 > │ let v21 : ((struct (bool * string * int32) -> Async<unit>) -> US6) = │
00:05:07 verbose #17990 > │ method12() │
00:05:07 verbose #17991 > │ let v22 : US6 = US6_1 │
00:05:07 verbose #17992 > │ let v23 : US6 = v3 |> Option.map v21 |> Option.defaultValue v22 │
00:05:07 verbose #17993 > │ match v23 with │
00:05:07 verbose #17994 > │ | US6_1 -> (* None *) │
00:05:07 verbose #17995 > │ () │
00:05:07 verbose #17996 > │ | US6_0(v24) -> (* Some *) │
00:05:07 verbose #17997 > │ let v25 : int32 = v6.Id │
00:05:07 verbose #17998 > │ let v26 : Async<unit> = v24 struct (false, v17, v25) │
00:05:07 verbose #17999 > │ do! v26 │
00:05:07 verbose #18000 > │ () │
00:05:07 verbose #18001 > │ let v27 : US0 = US0_0 │
00:05:07 verbose #18002 > │ let v28 : (unit -> string) = closure14(v17) │
00:05:07 verbose #18003 > │ let v29 : (unit -> string) = closure9() │
00:05:07 verbose #18004 > │ method8(v27, v28, v29) │
00:05:07 verbose #18005 > │ let v30 : string = "" │
00:05:07 verbose #18006 > │ let v31 : string = $"{v30}{v17}{v30}" │
00:05:07 verbose #18007 > │ let v32 : (string -> unit) = v7.Push │
00:05:07 verbose #18008 > │ v32 v31 │
00:05:07 verbose #18009 > │ } │
00:05:07 verbose #18010 > │ |> fun x -> _v16 <- Some x │
00:05:07 verbose #18011 > │ let v33 : Async<unit> = _v16 |> Option.get │
00:05:07 verbose #18012 > │ v33 │
00:05:07 verbose #18013 > │ #endif │
00:05:07 verbose #18014 > │ |> fun x -> _v9 <- Some x │
00:05:07 verbose #18015 > │ let v34 : Async<unit> = _v9.Value │
00:05:07 verbose #18016 > │ let v35 : unit option = None │
00:05:07 verbose #18017 > │ let v36 : bool = true in let mutable _v35 = v35 │
00:05:07 verbose #18018 > │ │
00:05:07 verbose #18019 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18020 > │ │
00:05:07 verbose #18021 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18022 > │ null |> unbox<unit> │
00:05:07 verbose #18023 > │ () │
00:05:07 verbose #18024 > │ #endif │
00:05:07 verbose #18025 > │ │
00:05:07 verbose #18026 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18027 > │ null |> unbox<unit> │
00:05:07 verbose #18028 > │ () │
00:05:07 verbose #18029 > │ #endif │
00:05:07 verbose #18030 > │ │
00:05:07 verbose #18031 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18032 > │ null |> unbox<unit> │
00:05:07 verbose #18033 > │ () │
00:05:07 verbose #18034 > │ #endif │
00:05:07 verbose #18035 > │ │
00:05:07 verbose #18036 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18037 > │ null |> unbox<unit> │
00:05:07 verbose #18038 > │ () │
00:05:07 verbose #18039 > │ #endif │
00:05:07 verbose #18040 > │ │
00:05:07 verbose #18041 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18042 > │ null |> unbox<unit> │
00:05:07 verbose #18043 > │ () │
00:05:07 verbose #18044 > │ #endif │
00:05:07 verbose #18045 > │ │
00:05:07 verbose #18046 > │ #else │
00:05:07 verbose #18047 > │ let v37 : (Async<unit> -> unit) = Async.StartImmediate │
00:05:07 verbose #18048 > │ v37 v34 │
00:05:07 verbose #18049 > │ () │
00:05:07 verbose #18050 > │ #endif │
00:05:07 verbose #18051 > │ |> fun x -> _v35 <- Some x │
00:05:07 verbose #18052 > │ _v35.Value │
00:05:07 verbose #18053 > │ () │
00:05:07 verbose #18054 > │ and closure15 (v0 : System.Threading.CancellationToken option, v1 : string, │
00:05:07 verbose #18055 > │ v2 : (struct (string * string) []), v3 : (struct (bool * string * int32) -> │
00:05:07 verbose #18056 > │ Async<unit>) option, v4 : │
00:05:07 verbose #18057 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:05:07 verbose #18058 > │ string option, v6 : System.Diagnostics.Process, v7 : │
00:05:07 verbose #18059 > │ System.Collections.Concurrent.ConcurrentStack<string>) (v8 : │
00:05:07 verbose #18060 > │ System.Diagnostics.DataReceivedEventArgs) : unit = │
00:05:07 verbose #18061 > │ let v9 : Async<unit> option = None │
00:05:07 verbose #18062 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:05:07 verbose #18063 > │ │
00:05:07 verbose #18064 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18065 > │ │
00:05:07 verbose #18066 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18067 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18068 > │ v11 │
00:05:07 verbose #18069 > │ #endif │
00:05:07 verbose #18070 > │ │
00:05:07 verbose #18071 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18072 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18073 > │ v12 │
00:05:07 verbose #18074 > │ #endif │
00:05:07 verbose #18075 > │ │
00:05:07 verbose #18076 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18077 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18078 > │ v13 │
00:05:07 verbose #18079 > │ #endif │
00:05:07 verbose #18080 > │ │
00:05:07 verbose #18081 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18082 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18083 > │ v14 │
00:05:07 verbose #18084 > │ #endif │
00:05:07 verbose #18085 > │ │
00:05:07 verbose #18086 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18087 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18088 > │ v15 │
00:05:07 verbose #18089 > │ #endif │
00:05:07 verbose #18090 > │ │
00:05:07 verbose #18091 > │ #else │
00:05:07 verbose #18092 > │ let v16 : Async<unit> option = None │
00:05:07 verbose #18093 > │ let mutable _v16 = v16 │
00:05:07 verbose #18094 > │ async { │
00:05:07 verbose #18095 > │ let v17 : string = v8.Data │
00:05:07 verbose #18096 > │ let v18 : string = null |> unbox<string> │
00:05:07 verbose #18097 > │ let v19 : bool = v17 = v18 │
00:05:07 verbose #18098 > │ let v20 : bool = v19 <> true │
00:05:07 verbose #18099 > │ if v20 then │
00:05:07 verbose #18100 > │ let v21 : ((struct (bool * string * int32) -> Async<unit>) -> US6) = │
00:05:07 verbose #18101 > │ method12() │
00:05:07 verbose #18102 > │ let v22 : US6 = US6_1 │
00:05:07 verbose #18103 > │ let v23 : US6 = v3 |> Option.map v21 |> Option.defaultValue v22 │
00:05:07 verbose #18104 > │ match v23 with │
00:05:07 verbose #18105 > │ | US6_1 -> (* None *) │
00:05:07 verbose #18106 > │ () │
00:05:07 verbose #18107 > │ | US6_0(v24) -> (* Some *) │
00:05:07 verbose #18108 > │ let v25 : int32 = v6.Id │
00:05:07 verbose #18109 > │ let v26 : Async<unit> = v24 struct (true, v17, v25) │
00:05:07 verbose #18110 > │ do! v26 │
00:05:07 verbose #18111 > │ () │
00:05:07 verbose #18112 > │ let v27 : US0 = US0_0 │
00:05:07 verbose #18113 > │ let v28 : (unit -> string) = closure14(v17) │
00:05:07 verbose #18114 > │ let v29 : (unit -> string) = closure9() │
00:05:07 verbose #18115 > │ method8(v27, v28, v29) │
00:05:07 verbose #18116 > │ let v30 : string = "[" │
00:05:07 verbose #18117 > │ let v31 : string = "]" │
00:05:07 verbose #18118 > │ let v32 : string = $"{v30}{v17}{v31}" │
00:05:07 verbose #18119 > │ let v33 : (string -> unit) = v7.Push │
00:05:07 verbose #18120 > │ v33 v32 │
00:05:07 verbose #18121 > │ } │
00:05:07 verbose #18122 > │ |> fun x -> _v16 <- Some x │
00:05:07 verbose #18123 > │ let v34 : Async<unit> = _v16 |> Option.get │
00:05:07 verbose #18124 > │ v34 │
00:05:07 verbose #18125 > │ #endif │
00:05:07 verbose #18126 > │ |> fun x -> _v9 <- Some x │
00:05:07 verbose #18127 > │ let v35 : Async<unit> = _v9.Value │
00:05:07 verbose #18128 > │ let v36 : unit option = None │
00:05:07 verbose #18129 > │ let v37 : bool = true in let mutable _v36 = v36 │
00:05:07 verbose #18130 > │ │
00:05:07 verbose #18131 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18132 > │ │
00:05:07 verbose #18133 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18134 > │ null |> unbox<unit> │
00:05:07 verbose #18135 > │ () │
00:05:07 verbose #18136 > │ #endif │
00:05:07 verbose #18137 > │ │
00:05:07 verbose #18138 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18139 > │ null |> unbox<unit> │
00:05:07 verbose #18140 > │ () │
00:05:07 verbose #18141 > │ #endif │
00:05:07 verbose #18142 > │ │
00:05:07 verbose #18143 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18144 > │ null |> unbox<unit> │
00:05:07 verbose #18145 > │ () │
00:05:07 verbose #18146 > │ #endif │
00:05:07 verbose #18147 > │ │
00:05:07 verbose #18148 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18149 > │ null |> unbox<unit> │
00:05:07 verbose #18150 > │ () │
00:05:07 verbose #18151 > │ #endif │
00:05:07 verbose #18152 > │ │
00:05:07 verbose #18153 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18154 > │ null |> unbox<unit> │
00:05:07 verbose #18155 > │ () │
00:05:07 verbose #18156 > │ #endif │
00:05:07 verbose #18157 > │ │
00:05:07 verbose #18158 > │ #else │
00:05:07 verbose #18159 > │ let v38 : (Async<unit> -> unit) = Async.StartImmediate │
00:05:07 verbose #18160 > │ v38 v35 │
00:05:07 verbose #18161 > │ () │
00:05:07 verbose #18162 > │ #endif │
00:05:07 verbose #18163 > │ |> fun x -> _v36 <- Some x │
00:05:07 verbose #18164 > │ _v36.Value │
00:05:07 verbose #18165 > │ () │
00:05:07 verbose #18166 > │ and closure16 () (v0 : System.Threading.CancellationToken) : US7 = │
00:05:07 verbose #18167 > │ US7_0(v0) │
00:05:07 verbose #18168 > │ and method13 () : (System.Threading.CancellationToken -> US7) = │
00:05:07 verbose #18169 > │ closure16() │
00:05:07 verbose #18170 > │ and closure17 (v0 : System.Diagnostics.Process) () : unit = │
00:05:07 verbose #18171 > │ let v1 : bool option = None │
00:05:07 verbose #18172 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:05:07 verbose #18173 > │ │
00:05:07 verbose #18174 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18175 > │ │
00:05:07 verbose #18176 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18177 > │ let v3 : bool = null |> unbox<bool> │
00:05:07 verbose #18178 > │ v3 │
00:05:07 verbose #18179 > │ #endif │
00:05:07 verbose #18180 > │ │
00:05:07 verbose #18181 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18182 > │ let v4 : bool = null |> unbox<bool> │
00:05:07 verbose #18183 > │ v4 │
00:05:07 verbose #18184 > │ #endif │
00:05:07 verbose #18185 > │ │
00:05:07 verbose #18186 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18187 > │ let v5 : bool = null |> unbox<bool> │
00:05:07 verbose #18188 > │ v5 │
00:05:07 verbose #18189 > │ #endif │
00:05:07 verbose #18190 > │ │
00:05:07 verbose #18191 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18192 > │ let v6 : bool = null |> unbox<bool> │
00:05:07 verbose #18193 > │ v6 │
00:05:07 verbose #18194 > │ #endif │
00:05:07 verbose #18195 > │ │
00:05:07 verbose #18196 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18197 > │ let v7 : bool = null |> unbox<bool> │
00:05:07 verbose #18198 > │ v7 │
00:05:07 verbose #18199 > │ #endif │
00:05:07 verbose #18200 > │ │
00:05:07 verbose #18201 > │ #else │
00:05:07 verbose #18202 > │ let v8 : bool = v0.HasExited │
00:05:07 verbose #18203 > │ v8 │
00:05:07 verbose #18204 > │ #endif │
00:05:07 verbose #18205 > │ |> fun x -> _v1 <- Some x │
00:05:07 verbose #18206 > │ let v9 : bool = _v1.Value │
00:05:07 verbose #18207 > │ let v10 : bool = v9 = false │
00:05:07 verbose #18208 > │ if v10 then │
00:05:07 verbose #18209 > │ let v11 : unit option = None │
00:05:07 verbose #18210 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:05:07 verbose #18211 > │ │
00:05:07 verbose #18212 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18213 > │ │
00:05:07 verbose #18214 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18215 > │ null |> unbox<unit> │
00:05:07 verbose #18216 > │ () │
00:05:07 verbose #18217 > │ #endif │
00:05:07 verbose #18218 > │ │
00:05:07 verbose #18219 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18220 > │ null |> unbox<unit> │
00:05:07 verbose #18221 > │ () │
00:05:07 verbose #18222 > │ #endif │
00:05:07 verbose #18223 > │ │
00:05:07 verbose #18224 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18225 > │ null |> unbox<unit> │
00:05:07 verbose #18226 > │ () │
00:05:07 verbose #18227 > │ #endif │
00:05:07 verbose #18228 > │ │
00:05:07 verbose #18229 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18230 > │ null |> unbox<unit> │
00:05:07 verbose #18231 > │ () │
00:05:07 verbose #18232 > │ #endif │
00:05:07 verbose #18233 > │ │
00:05:07 verbose #18234 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18235 > │ null |> unbox<unit> │
00:05:07 verbose #18236 > │ () │
00:05:07 verbose #18237 > │ #endif │
00:05:07 verbose #18238 > │ │
00:05:07 verbose #18239 > │ #else │
00:05:07 verbose #18240 > │ let v13 : (unit -> unit) = v0.Kill │
00:05:07 verbose #18241 > │ v13 () │
00:05:07 verbose #18242 > │ () │
00:05:07 verbose #18243 > │ #endif │
00:05:07 verbose #18244 > │ |> fun x -> _v11 <- Some x │
00:05:07 verbose #18245 > │ _v11.Value │
00:05:07 verbose #18246 > │ () │
00:05:07 verbose #18247 > │ and closure18 (v0 : System.Threading.Tasks.TaskCanceledException) () : │
00:05:07 verbose #18248 > │ string = │
00:05:07 verbose #18249 > │ let v1 : string = $"execute_with_options_async / WaitForExitAsync / ex: │
00:05:07 verbose #18250 > │ %A{v0}" │
00:05:07 verbose #18251 > │ v1 │
00:05:07 verbose #18252 > │ and method14 () : string = │
00:05:07 verbose #18253 > │ let v0 : string = "\n" │
00:05:07 verbose #18254 > │ v0 │
00:05:07 verbose #18255 > │ and closure19 (v0 : int32, v1 : string) () : string = │
00:05:07 verbose #18256 > │ let v2 : string = $"execute_with_options_async / exit_code: {v0} / │
00:05:07 verbose #18257 > │ output.Length: {v1.Length}" │
00:05:07 verbose #18258 > │ v2 │
00:05:07 verbose #18259 > │ and closure4 () (v0 : string) : Async<struct (int32 * string)> = │
00:05:07 verbose #18260 > │ let v1 : string option = None │
00:05:07 verbose #18261 > │ let v2 : System.Threading.CancellationToken option = None │
00:05:07 verbose #18262 > │ let v3 : (struct (string * string) []) = [||] │
00:05:07 verbose #18263 > │ let v4 : (struct (bool * string * int32) -> Async<unit>) option = None │
00:05:07 verbose #18264 > │ let v5 : (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) │
00:05:07 verbose #18265 > │ option = None │
00:05:07 verbose #18266 > │ let v6 : Async<struct (int32 * string)> option = None │
00:05:07 verbose #18267 > │ let v7 : bool = true in let mutable _v6 = v6 │
00:05:07 verbose #18268 > │ │
00:05:07 verbose #18269 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18270 > │ │
00:05:07 verbose #18271 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18272 > │ let v8 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18273 > │ (int32 * string)>> │
00:05:07 verbose #18274 > │ v8 │
00:05:07 verbose #18275 > │ #endif │
00:05:07 verbose #18276 > │ │
00:05:07 verbose #18277 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18278 > │ let v9 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18279 > │ (int32 * string)>> │
00:05:07 verbose #18280 > │ v9 │
00:05:07 verbose #18281 > │ #endif │
00:05:07 verbose #18282 > │ │
00:05:07 verbose #18283 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18284 > │ let v10 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18285 > │ (int32 * string)>> │
00:05:07 verbose #18286 > │ v10 │
00:05:07 verbose #18287 > │ #endif │
00:05:07 verbose #18288 > │ │
00:05:07 verbose #18289 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18290 > │ let v11 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18291 > │ (int32 * string)>> │
00:05:07 verbose #18292 > │ v11 │
00:05:07 verbose #18293 > │ #endif │
00:05:07 verbose #18294 > │ │
00:05:07 verbose #18295 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18296 > │ let v12 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18297 > │ (int32 * string)>> │
00:05:07 verbose #18298 > │ v12 │
00:05:07 verbose #18299 > │ #endif │
00:05:07 verbose #18300 > │ │
00:05:07 verbose #18301 > │ #else │
00:05:07 verbose #18302 > │ let v13 : Async<struct (int32 * string)> option = None │
00:05:07 verbose #18303 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:05:07 verbose #18304 > │ │
00:05:07 verbose #18305 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18306 > │ │
00:05:07 verbose #18307 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18308 > │ let v15 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18309 > │ (int32 * string)>> │
00:05:07 verbose #18310 > │ v15 │
00:05:07 verbose #18311 > │ #endif │
00:05:07 verbose #18312 > │ │
00:05:07 verbose #18313 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18314 > │ let v16 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18315 > │ (int32 * string)>> │
00:05:07 verbose #18316 > │ v16 │
00:05:07 verbose #18317 > │ #endif │
00:05:07 verbose #18318 > │ │
00:05:07 verbose #18319 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18320 > │ let v17 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18321 > │ (int32 * string)>> │
00:05:07 verbose #18322 > │ v17 │
00:05:07 verbose #18323 > │ #endif │
00:05:07 verbose #18324 > │ │
00:05:07 verbose #18325 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18326 > │ let v18 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18327 > │ (int32 * string)>> │
00:05:07 verbose #18328 > │ v18 │
00:05:07 verbose #18329 > │ #endif │
00:05:07 verbose #18330 > │ │
00:05:07 verbose #18331 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18332 > │ let v19 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18333 > │ (int32 * string)>> │
00:05:07 verbose #18334 > │ v19 │
00:05:07 verbose #18335 > │ #endif │
00:05:07 verbose #18336 > │ │
00:05:07 verbose #18337 > │ #else │
00:05:07 verbose #18338 > │ let v20 : Async<struct (int32 * string)> option = None │
00:05:07 verbose #18339 > │ let mutable _v20 = v20 │
00:05:07 verbose #18340 > │ async { │
00:05:07 verbose #18341 > │ let struct (v21 : string, v22 : string) = method2() │
00:05:07 verbose #18342 > │ let v23 : int32 = v0.Length │
00:05:07 verbose #18343 > │ let v24 : (char []) = Array.zeroCreate<char> (v23) │
00:05:07 verbose #18344 > │ let v25 : Mut4 = {l0 = 0} : Mut4 │
00:05:07 verbose #18345 > │ while method3(v23, v25) do │
00:05:07 verbose #18346 > │ let v27 : int32 = v25.l0 │
00:05:07 verbose #18347 > │ let v28 : char = v0.[int v27] │
00:05:07 verbose #18348 > │ v24.[int v27] <- v28 │
00:05:07 verbose #18349 > │ let v29 : int32 = v27 + 1 │
00:05:07 verbose #18350 > │ v25.l0 <- v29 │
00:05:07 verbose #18351 > │ () │
00:05:07 verbose #18352 > │ let v30 : ((char []) -> char list) = Array.toList │
00:05:07 verbose #18353 > │ let v31 : char list = v30 v24 │
00:05:07 verbose #18354 > │ let v32 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:05:07 verbose #18355 > │ List.foldBack │
00:05:07 verbose #18356 > │ let v33 : (char -> (UH0 -> UH0)) = method4() │
00:05:07 verbose #18357 > │ let v34 : (char list -> (UH0 -> UH0)) = v32 v33 │
00:05:07 verbose #18358 > │ let v35 : (UH0 -> UH0) = v34 v31 │
00:05:07 verbose #18359 > │ let v36 : UH0 = UH0_0 │
00:05:07 verbose #18360 > │ let v37 : UH0 = v35 v36 │
00:05:07 verbose #18361 > │ let v38 : US2 = US2_0 │
00:05:07 verbose #18362 > │ let struct (v39 : string, v40 : string) = method5(v22, v21, v37, v38) │
00:05:07 verbose #18363 > │ let v41 : (string -> US4) = method6() │
00:05:07 verbose #18364 > │ let v42 : US4 = US4_1 │
00:05:07 verbose #18365 > │ let v43 : US4 = v1 |> Option.map v41 |> Option.defaultValue v42 │
00:05:07 verbose #18366 > │ let v47 : string = │
00:05:07 verbose #18367 > │ match v43 with │
00:05:07 verbose #18368 > │ | US4_1 -> (* None *) │
00:05:07 verbose #18369 > │ let v45 : string = "" │
00:05:07 verbose #18370 > │ v45 │
00:05:07 verbose #18371 > │ | US4_0(v44) -> (* Some *) │
00:05:07 verbose #18372 > │ v44 │
00:05:07 verbose #18373 > │ let v48 : US0 = US0_1 │
00:05:07 verbose #18374 > │ let v49 : (unit -> string) = closure8(v2, v0, v3, v4, v5, v1) │
00:05:07 verbose #18375 > │ let v50 : (unit -> string) = method7() │
00:05:07 verbose #18376 > │ method8(v48, v49, v50) │
00:05:07 verbose #18377 > │ let v51 : System.Text.Encoding = System.Text.Encoding.UTF8 │
00:05:07 verbose #18378 > │ let v52 : System.Diagnostics.ProcessStartInfo = │
00:05:07 verbose #18379 > │ System.Diagnostics.ProcessStartInfo (Arguments = v40, StandardOutputEncoding │
00:05:07 verbose #18380 > │ = v51, WorkingDirectory = v47, FileName = v39, CreateNoWindow = true, │
00:05:07 verbose #18381 > │ RedirectStandardError = true, RedirectStandardOutput = true, UseShellExecute │
00:05:07 verbose #18382 > │ = false) │
00:05:07 verbose #18383 > │ let v53 : int32 = v3.Length │
00:05:07 verbose #18384 > │ let v54 : Mut4 = {l0 = 0} : Mut4 │
00:05:07 verbose #18385 > │ while method3(v53, v54) do │
00:05:07 verbose #18386 > │ let v56 : int32 = v54.l0 │
00:05:07 verbose #18387 > │ let struct (v57 : string, v58 : string) = v3.[int v56] │
00:05:07 verbose #18388 > │ v52.EnvironmentVariables.[v57] <- v58 │
00:05:07 verbose #18389 > │ let v59 : int32 = v56 + 1 │
00:05:07 verbose #18390 > │ v54.l0 <- v59 │
00:05:07 verbose #18391 > │ () │
00:05:07 verbose #18392 > │ let v60 : System.Diagnostics.Process = new System.Diagnostics.Process │
00:05:07 verbose #18393 > │ (StartInfo = v52) │
00:05:07 verbose #18394 > │ use v60 = v60 │
00:05:07 verbose #18395 > │ let v61 : System.Diagnostics.Process = v60 │
00:05:07 verbose #18396 > │ let v62 : (unit -> │
00:05:07 verbose #18397 > │ System.Collections.Concurrent.ConcurrentStack<string>) = │
00:05:07 verbose #18398 > │ System.Collections.Concurrent.ConcurrentStack<string> │
00:05:07 verbose #18399 > │ let v63 : System.Collections.Concurrent.ConcurrentStack<string> = v62 () │
00:05:07 verbose #18400 > │ let v64 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:05:07 verbose #18401 > │ closure12(v2, v0, v3, v4, v5, v1, v61, v63) │
00:05:07 verbose #18402 > │ v61.OutputDataReceived.Add v64 │
00:05:07 verbose #18403 > │ let v65 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:05:07 verbose #18404 > │ closure15(v2, v0, v3, v4, v5, v1, v61, v63) │
00:05:07 verbose #18405 > │ v61.ErrorDataReceived.Add v65 │
00:05:07 verbose #18406 > │ let v66 : (unit -> bool) = v61.Start │
00:05:07 verbose #18407 > │ let v67 : bool = v66 () │
00:05:07 verbose #18408 > │ let v68 : bool = v67 = false │
00:05:07 verbose #18409 > │ if v68 then │
00:05:07 verbose #18410 > │ let v69 : string = $"execute_with_options_async / process_start │
00:05:07 verbose #18411 > │ error" │
00:05:07 verbose #18412 > │ failwith<unit> v69 │
00:05:07 verbose #18413 > │ let v70 : (unit -> unit) = v61.BeginErrorReadLine │
00:05:07 verbose #18414 > │ v70 () │
00:05:07 verbose #18415 > │ let v71 : (unit -> unit) = v61.BeginOutputReadLine │
00:05:07 verbose #18416 > │ v71 () │
00:05:07 verbose #18417 > │ let v72 : (System.Threading.CancellationToken -> US7) = method13() │
00:05:07 verbose #18418 > │ let v73 : US7 = US7_1 │
00:05:07 verbose #18419 > │ let v74 : US7 = v2 |> Option.map v72 |> Option.defaultValue v73 │
00:05:07 verbose #18420 > │ let v78 : System.Threading.CancellationToken = │
00:05:07 verbose #18421 > │ match v74 with │
00:05:07 verbose #18422 > │ | US7_1 -> (* None *) │
00:05:07 verbose #18423 > │ let v76 : System.Threading.CancellationToken = │
00:05:07 verbose #18424 > │ System.Threading.CancellationToken.None │
00:05:07 verbose #18425 > │ v76 │
00:05:07 verbose #18426 > │ | US7_0(v75) -> (* Some *) │
00:05:07 verbose #18427 > │ v75 │
00:05:07 verbose #18428 > │ let v79 : Async<System.Threading.CancellationToken> option = None │
00:05:07 verbose #18429 > │ let v80 : bool = true in let mutable _v79 = v79 │
00:05:07 verbose #18430 > │ │
00:05:07 verbose #18431 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18432 > │ │
00:05:07 verbose #18433 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18434 > │ let v81 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18435 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18436 > │ v81 │
00:05:07 verbose #18437 > │ #endif │
00:05:07 verbose #18438 > │ │
00:05:07 verbose #18439 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18440 > │ let v82 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18441 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18442 > │ v82 │
00:05:07 verbose #18443 > │ #endif │
00:05:07 verbose #18444 > │ │
00:05:07 verbose #18445 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18446 > │ let v83 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18447 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18448 > │ v83 │
00:05:07 verbose #18449 > │ #endif │
00:05:07 verbose #18450 > │ │
00:05:07 verbose #18451 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18452 > │ let v84 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18453 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18454 > │ v84 │
00:05:07 verbose #18455 > │ #endif │
00:05:07 verbose #18456 > │ │
00:05:07 verbose #18457 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18458 > │ let v85 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18459 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18460 > │ v85 │
00:05:07 verbose #18461 > │ #endif │
00:05:07 verbose #18462 > │ │
00:05:07 verbose #18463 > │ #else │
00:05:07 verbose #18464 > │ let v86 : Async<System.Threading.CancellationToken> option = None │
00:05:07 verbose #18465 > │ let v87 : bool = true in let mutable _v86 = v86 │
00:05:07 verbose #18466 > │ │
00:05:07 verbose #18467 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18468 > │ │
00:05:07 verbose #18469 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18470 > │ let v88 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18471 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18472 > │ v88 │
00:05:07 verbose #18473 > │ #endif │
00:05:07 verbose #18474 > │ │
00:05:07 verbose #18475 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18476 > │ let v89 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18477 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18478 > │ v89 │
00:05:07 verbose #18479 > │ #endif │
00:05:07 verbose #18480 > │ │
00:05:07 verbose #18481 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18482 > │ let v90 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18483 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18484 > │ v90 │
00:05:07 verbose #18485 > │ #endif │
00:05:07 verbose #18486 > │ │
00:05:07 verbose #18487 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18488 > │ let v91 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18489 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18490 > │ v91 │
00:05:07 verbose #18491 > │ #endif │
00:05:07 verbose #18492 > │ │
00:05:07 verbose #18493 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18494 > │ let v92 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18495 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18496 > │ v92 │
00:05:07 verbose #18497 > │ #endif │
00:05:07 verbose #18498 > │ │
00:05:07 verbose #18499 > │ #else │
00:05:07 verbose #18500 > │ let v93 : Async<System.Threading.CancellationToken> option = None │
00:05:07 verbose #18501 > │ let mutable _v93 = v93 │
00:05:07 verbose #18502 > │ async { │
00:05:07 verbose #18503 > │ let v94 : Async<System.Threading.CancellationToken> = │
00:05:07 verbose #18504 > │ Async.CancellationToken │
00:05:07 verbose #18505 > │ let! v94 = v94 │
00:05:07 verbose #18506 > │ let v95 : System.Threading.CancellationToken = v94 │
00:05:07 verbose #18507 > │ let v96 : System.Threading.CancellationToken = │
00:05:07 verbose #18508 > │ Async.DefaultCancellationToken │
00:05:07 verbose #18509 > │ let v97 : (System.Threading.CancellationToken []) = [|v95; v96; v78|] │
00:05:07 verbose #18510 > │ let v98 : ((System.Threading.CancellationToken []) -> │
00:05:07 verbose #18511 > │ System.Threading.CancellationTokenSource) = │
00:05:07 verbose #18512 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:05:07 verbose #18513 > │ let v99 : System.Threading.CancellationTokenSource = v98 v97 │
00:05:07 verbose #18514 > │ let v100 : System.Threading.CancellationToken = v99.Token │
00:05:07 verbose #18515 > │ return v100 │
00:05:07 verbose #18516 > │ } │
00:05:07 verbose #18517 > │ |> fun x -> _v93 <- Some x │
00:05:07 verbose #18518 > │ let v101 : Async<System.Threading.CancellationToken> = _v93 |> │
00:05:07 verbose #18519 > │ Option.get │
00:05:07 verbose #18520 > │ v101 │
00:05:07 verbose #18521 > │ #endif │
00:05:07 verbose #18522 > │ |> fun x -> _v86 <- Some x │
00:05:07 verbose #18523 > │ let v102 : Async<System.Threading.CancellationToken> = _v86.Value │
00:05:07 verbose #18524 > │ v102 │
00:05:07 verbose #18525 > │ #endif │
00:05:07 verbose #18526 > │ |> fun x -> _v79 <- Some x │
00:05:07 verbose #18527 > │ let v103 : Async<System.Threading.CancellationToken> = _v79.Value │
00:05:07 verbose #18528 > │ let! v103 = v103 │
00:05:07 verbose #18529 > │ let v104 : System.Threading.CancellationToken = v103 │
00:05:07 verbose #18530 > │ let v105 : ((unit -> unit) -> │
00:05:07 verbose #18531 > │ System.Threading.CancellationTokenRegistration) = v104.Register │
00:05:07 verbose #18532 > │ let v106 : (unit -> unit) = closure17(v61) │
00:05:07 verbose #18533 > │ let v107 : System.Threading.CancellationTokenRegistration = v105 v106 │
00:05:07 verbose #18534 > │ use v107 = v107 │
00:05:07 verbose #18535 > │ let v108 : System.Threading.CancellationTokenRegistration = v107 │
00:05:07 verbose #18536 > │ let v109 : Async<int32> option = None │
00:05:07 verbose #18537 > │ let v110 : bool = true in let mutable _v109 = v109 │
00:05:07 verbose #18538 > │ │
00:05:07 verbose #18539 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18540 > │ │
00:05:07 verbose #18541 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18542 > │ let v111 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18543 > │ v111 │
00:05:07 verbose #18544 > │ #endif │
00:05:07 verbose #18545 > │ │
00:05:07 verbose #18546 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18547 > │ let v112 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18548 > │ v112 │
00:05:07 verbose #18549 > │ #endif │
00:05:07 verbose #18550 > │ │
00:05:07 verbose #18551 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18552 > │ let v113 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18553 > │ v113 │
00:05:07 verbose #18554 > │ #endif │
00:05:07 verbose #18555 > │ │
00:05:07 verbose #18556 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18557 > │ let v114 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18558 > │ v114 │
00:05:07 verbose #18559 > │ #endif │
00:05:07 verbose #18560 > │ │
00:05:07 verbose #18561 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18562 > │ let v115 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18563 > │ v115 │
00:05:07 verbose #18564 > │ #endif │
00:05:07 verbose #18565 > │ │
00:05:07 verbose #18566 > │ #else │
00:05:07 verbose #18567 > │ let v116 : Async<int32> option = None │
00:05:07 verbose #18568 > │ let mutable _v116 = v116 │
00:05:07 verbose #18569 > │ async { │
00:05:07 verbose #18570 > │ try │
00:05:07 verbose #18571 > │ let v117 : System.Threading.Tasks.Task = v61.WaitForExitAsync v104 │
00:05:07 verbose #18572 > │ let v118 : Async<unit> option = None │
00:05:07 verbose #18573 > │ let v119 : bool = true in let mutable _v118 = v118 │
00:05:07 verbose #18574 > │ │
00:05:07 verbose #18575 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18576 > │ │
00:05:07 verbose #18577 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18578 > │ let v120 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18579 > │ v120 │
00:05:07 verbose #18580 > │ #endif │
00:05:07 verbose #18581 > │ │
00:05:07 verbose #18582 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18583 > │ let v121 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18584 > │ v121 │
00:05:07 verbose #18585 > │ #endif │
00:05:07 verbose #18586 > │ │
00:05:07 verbose #18587 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18588 > │ let v122 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18589 > │ v122 │
00:05:07 verbose #18590 > │ #endif │
00:05:07 verbose #18591 > │ │
00:05:07 verbose #18592 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18593 > │ let v123 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18594 > │ v123 │
00:05:07 verbose #18595 > │ #endif │
00:05:07 verbose #18596 > │ │
00:05:07 verbose #18597 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18598 > │ let v124 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #18599 > │ v124 │
00:05:07 verbose #18600 > │ #endif │
00:05:07 verbose #18601 > │ │
00:05:07 verbose #18602 > │ #else │
00:05:07 verbose #18603 > │ let v125 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:05:07 verbose #18604 > │ Async.AwaitTask │
00:05:07 verbose #18605 > │ let v126 : Async<unit> = v125 v117 │
00:05:07 verbose #18606 > │ v126 │
00:05:07 verbose #18607 > │ #endif │
00:05:07 verbose #18608 > │ |> fun x -> _v118 <- Some x │
00:05:07 verbose #18609 > │ let v127 : Async<unit> = _v118.Value │
00:05:07 verbose #18610 > │ do! v127 │
00:05:07 verbose #18611 > │ let v128 : int32 = v61.ExitCode │
00:05:07 verbose #18612 > │ return v128 │
00:05:07 verbose #18613 > │ with ex -> │
00:05:07 verbose #18614 > │ let v129 : exn = ex │
00:05:07 verbose #18615 > │ let v130 : string option = None │
00:05:07 verbose #18616 > │ let v131 : bool = true in let mutable _v130 = v130 │
00:05:07 verbose #18617 > │ │
00:05:07 verbose #18618 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18619 > │ │
00:05:07 verbose #18620 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18621 > │ let v132 : string = $"%A{v129}" │
00:05:07 verbose #18622 > │ v132 │
00:05:07 verbose #18623 > │ #endif │
00:05:07 verbose #18624 > │ │
00:05:07 verbose #18625 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18626 > │ let v133 : string = $"%A{v129}" │
00:05:07 verbose #18627 > │ v133 │
00:05:07 verbose #18628 > │ #endif │
00:05:07 verbose #18629 > │ │
00:05:07 verbose #18630 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18631 > │ let v134 : string = $"%A{v129}" │
00:05:07 verbose #18632 > │ v134 │
00:05:07 verbose #18633 > │ #endif │
00:05:07 verbose #18634 > │ │
00:05:07 verbose #18635 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18636 > │ let v135 : string = $"%A{v129}" │
00:05:07 verbose #18637 > │ v135 │
00:05:07 verbose #18638 > │ #endif │
00:05:07 verbose #18639 > │ │
00:05:07 verbose #18640 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18641 > │ let v136 : string = $"%A{v129}" │
00:05:07 verbose #18642 > │ v136 │
00:05:07 verbose #18643 > │ #endif │
00:05:07 verbose #18644 > │ │
00:05:07 verbose #18645 > │ #else │
00:05:07 verbose #18646 > │ let v137 : string = $"{v129.GetType ()}: {v129.Message}" │
00:05:07 verbose #18647 > │ v137 │
00:05:07 verbose #18648 > │ #endif │
00:05:07 verbose #18649 > │ |> fun x -> _v130 <- Some x │
00:05:07 verbose #18650 > │ let v138 : string = _v130.Value │
00:05:07 verbose #18651 > │ let v139 : (string -> unit) = v63.Push │
00:05:07 verbose #18652 > │ v139 v138 │
00:05:07 verbose #18653 > │ let v140 : System.Threading.Tasks.TaskCanceledException = v129 |> │
00:05:07 verbose #18654 > │ unbox<System.Threading.Tasks.TaskCanceledException> │
00:05:07 verbose #18655 > │ let v141 : US0 = US0_3 │
00:05:07 verbose #18656 > │ let v142 : (unit -> string) = closure18(v140) │
00:05:07 verbose #18657 > │ let v143 : (unit -> string) = method7() │
00:05:07 verbose #18658 > │ method8(v141, v142, v143) │
00:05:07 verbose #18659 > │ return -2147483648 │
00:05:07 verbose #18660 > │ (* │
00:05:07 verbose #18661 > │ *) │
00:05:07 verbose #18662 > │ } │
00:05:07 verbose #18663 > │ |> fun x -> _v116 <- Some x │
00:05:07 verbose #18664 > │ let v144 : Async<int32> = _v116 |> Option.get │
00:05:07 verbose #18665 > │ v144 │
00:05:07 verbose #18666 > │ #endif │
00:05:07 verbose #18667 > │ |> fun x -> _v109 <- Some x │
00:05:07 verbose #18668 > │ let v145 : Async<int32> = _v109.Value │
00:05:07 verbose #18669 > │ let! v145 = v145 │
00:05:07 verbose #18670 > │ let v146 : int32 = v145 │
00:05:07 verbose #18671 > │ let v147 : (System.Collections.Concurrent.ConcurrentStack<string> -> │
00:05:07 verbose #18672 > │ string seq) = Seq.rev │
00:05:07 verbose #18673 > │ let v148 : string seq = v147 v63 │
00:05:07 verbose #18674 > │ let v149 : string = method14() │
00:05:07 verbose #18675 > │ let v150 : (string -> (string seq -> string)) = String.concat │
00:05:07 verbose #18676 > │ let v151 : (string seq -> string) = v150 v149 │
00:05:07 verbose #18677 > │ let v152 : string = v151 v148 │
00:05:07 verbose #18678 > │ let v153 : US0 = US0_1 │
00:05:07 verbose #18679 > │ let v154 : (unit -> string) = closure19(v146, v152) │
00:05:07 verbose #18680 > │ let v155 : (unit -> string) = method7() │
00:05:07 verbose #18681 > │ method8(v153, v154, v155) │
00:05:07 verbose #18682 > │ return struct (v146, v152) │
00:05:07 verbose #18683 > │ } │
00:05:07 verbose #18684 > │ |> fun x -> _v20 <- Some x │
00:05:07 verbose #18685 > │ let v156 : Async<struct (int32 * string)> = _v20 |> Option.get │
00:05:07 verbose #18686 > │ v156 │
00:05:07 verbose #18687 > │ #endif │
00:05:07 verbose #18688 > │ |> fun x -> _v13 <- Some x │
00:05:07 verbose #18689 > │ let v157 : Async<struct (int32 * string)> = _v13.Value │
00:05:07 verbose #18690 > │ v157 │
00:05:07 verbose #18691 > │ #endif │
00:05:07 verbose #18692 > │ |> fun x -> _v6 <- Some x │
00:05:07 verbose #18693 > │ let v158 : Async<struct (int32 * string)> = _v6.Value │
00:05:07 verbose #18694 > │ v158 │
00:05:07 verbose #18695 > │ and closure20 () struct (v0 : System.Threading.CancellationToken option, v1 │
00:05:07 verbose #18696 > │ : string, v2 : (struct (string * string) []), v3 : (struct (bool * string * │
00:05:07 verbose #18697 > │ int32) -> Async<unit>) option, v4 : │
00:05:07 verbose #18698 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option, v5 : │
00:05:07 verbose #18699 > │ string option) : Async<struct (int32 * string)> = │
00:05:07 verbose #18700 > │ let v6 : Async<struct (int32 * string)> option = None │
00:05:07 verbose #18701 > │ let v7 : bool = true in let mutable _v6 = v6 │
00:05:07 verbose #18702 > │ │
00:05:07 verbose #18703 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18704 > │ │
00:05:07 verbose #18705 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18706 > │ let v8 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18707 > │ (int32 * string)>> │
00:05:07 verbose #18708 > │ v8 │
00:05:07 verbose #18709 > │ #endif │
00:05:07 verbose #18710 > │ │
00:05:07 verbose #18711 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18712 > │ let v9 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18713 > │ (int32 * string)>> │
00:05:07 verbose #18714 > │ v9 │
00:05:07 verbose #18715 > │ #endif │
00:05:07 verbose #18716 > │ │
00:05:07 verbose #18717 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18718 > │ let v10 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18719 > │ (int32 * string)>> │
00:05:07 verbose #18720 > │ v10 │
00:05:07 verbose #18721 > │ #endif │
00:05:07 verbose #18722 > │ │
00:05:07 verbose #18723 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18724 > │ let v11 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18725 > │ (int32 * string)>> │
00:05:07 verbose #18726 > │ v11 │
00:05:07 verbose #18727 > │ #endif │
00:05:07 verbose #18728 > │ │
00:05:07 verbose #18729 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18730 > │ let v12 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18731 > │ (int32 * string)>> │
00:05:07 verbose #18732 > │ v12 │
00:05:07 verbose #18733 > │ #endif │
00:05:07 verbose #18734 > │ │
00:05:07 verbose #18735 > │ #else │
00:05:07 verbose #18736 > │ let v13 : Async<struct (int32 * string)> option = None │
00:05:07 verbose #18737 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:05:07 verbose #18738 > │ │
00:05:07 verbose #18739 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18740 > │ │
00:05:07 verbose #18741 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18742 > │ let v15 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18743 > │ (int32 * string)>> │
00:05:07 verbose #18744 > │ v15 │
00:05:07 verbose #18745 > │ #endif │
00:05:07 verbose #18746 > │ │
00:05:07 verbose #18747 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18748 > │ let v16 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18749 > │ (int32 * string)>> │
00:05:07 verbose #18750 > │ v16 │
00:05:07 verbose #18751 > │ #endif │
00:05:07 verbose #18752 > │ │
00:05:07 verbose #18753 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18754 > │ let v17 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18755 > │ (int32 * string)>> │
00:05:07 verbose #18756 > │ v17 │
00:05:07 verbose #18757 > │ #endif │
00:05:07 verbose #18758 > │ │
00:05:07 verbose #18759 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18760 > │ let v18 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18761 > │ (int32 * string)>> │
00:05:07 verbose #18762 > │ v18 │
00:05:07 verbose #18763 > │ #endif │
00:05:07 verbose #18764 > │ │
00:05:07 verbose #18765 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18766 > │ let v19 : Async<struct (int32 * string)> = null |> unbox<Async<struct │
00:05:07 verbose #18767 > │ (int32 * string)>> │
00:05:07 verbose #18768 > │ v19 │
00:05:07 verbose #18769 > │ #endif │
00:05:07 verbose #18770 > │ │
00:05:07 verbose #18771 > │ #else │
00:05:07 verbose #18772 > │ let v20 : Async<struct (int32 * string)> option = None │
00:05:07 verbose #18773 > │ let mutable _v20 = v20 │
00:05:07 verbose #18774 > │ async { │
00:05:07 verbose #18775 > │ let struct (v21 : string, v22 : string) = method2() │
00:05:07 verbose #18776 > │ let v23 : int32 = v1.Length │
00:05:07 verbose #18777 > │ let v24 : (char []) = Array.zeroCreate<char> (v23) │
00:05:07 verbose #18778 > │ let v25 : Mut4 = {l0 = 0} : Mut4 │
00:05:07 verbose #18779 > │ while method3(v23, v25) do │
00:05:07 verbose #18780 > │ let v27 : int32 = v25.l0 │
00:05:07 verbose #18781 > │ let v28 : char = v1.[int v27] │
00:05:07 verbose #18782 > │ v24.[int v27] <- v28 │
00:05:07 verbose #18783 > │ let v29 : int32 = v27 + 1 │
00:05:07 verbose #18784 > │ v25.l0 <- v29 │
00:05:07 verbose #18785 > │ () │
00:05:07 verbose #18786 > │ let v30 : ((char []) -> char list) = Array.toList │
00:05:07 verbose #18787 > │ let v31 : char list = v30 v24 │
00:05:07 verbose #18788 > │ let v32 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:05:07 verbose #18789 > │ List.foldBack │
00:05:07 verbose #18790 > │ let v33 : (char -> (UH0 -> UH0)) = method4() │
00:05:07 verbose #18791 > │ let v34 : (char list -> (UH0 -> UH0)) = v32 v33 │
00:05:07 verbose #18792 > │ let v35 : (UH0 -> UH0) = v34 v31 │
00:05:07 verbose #18793 > │ let v36 : UH0 = UH0_0 │
00:05:07 verbose #18794 > │ let v37 : UH0 = v35 v36 │
00:05:07 verbose #18795 > │ let v38 : US2 = US2_0 │
00:05:07 verbose #18796 > │ let struct (v39 : string, v40 : string) = method5(v22, v21, v37, v38) │
00:05:07 verbose #18797 > │ let v41 : (string -> US4) = method6() │
00:05:07 verbose #18798 > │ let v42 : US4 = US4_1 │
00:05:07 verbose #18799 > │ let v43 : US4 = v5 |> Option.map v41 |> Option.defaultValue v42 │
00:05:07 verbose #18800 > │ let v47 : string = │
00:05:07 verbose #18801 > │ match v43 with │
00:05:07 verbose #18802 > │ | US4_1 -> (* None *) │
00:05:07 verbose #18803 > │ let v45 : string = "" │
00:05:07 verbose #18804 > │ v45 │
00:05:07 verbose #18805 > │ | US4_0(v44) -> (* Some *) │
00:05:07 verbose #18806 > │ v44 │
00:05:07 verbose #18807 > │ let v48 : US0 = US0_1 │
00:05:07 verbose #18808 > │ let v49 : (unit -> string) = closure8(v0, v1, v2, v3, v4, v5) │
00:05:07 verbose #18809 > │ let v50 : (unit -> string) = method7() │
00:05:07 verbose #18810 > │ method8(v48, v49, v50) │
00:05:07 verbose #18811 > │ let v51 : System.Text.Encoding = System.Text.Encoding.UTF8 │
00:05:07 verbose #18812 > │ let v52 : System.Diagnostics.ProcessStartInfo = │
00:05:07 verbose #18813 > │ System.Diagnostics.ProcessStartInfo (Arguments = v40, StandardOutputEncoding │
00:05:07 verbose #18814 > │ = v51, WorkingDirectory = v47, FileName = v39, CreateNoWindow = true, │
00:05:07 verbose #18815 > │ RedirectStandardError = true, RedirectStandardOutput = true, UseShellExecute │
00:05:07 verbose #18816 > │ = false) │
00:05:07 verbose #18817 > │ let v53 : int32 = v2.Length │
00:05:07 verbose #18818 > │ let v54 : Mut4 = {l0 = 0} : Mut4 │
00:05:07 verbose #18819 > │ while method3(v53, v54) do │
00:05:07 verbose #18820 > │ let v56 : int32 = v54.l0 │
00:05:07 verbose #18821 > │ let struct (v57 : string, v58 : string) = v2.[int v56] │
00:05:07 verbose #18822 > │ v52.EnvironmentVariables.[v57] <- v58 │
00:05:07 verbose #18823 > │ let v59 : int32 = v56 + 1 │
00:05:07 verbose #18824 > │ v54.l0 <- v59 │
00:05:07 verbose #18825 > │ () │
00:05:07 verbose #18826 > │ let v60 : System.Diagnostics.Process = new System.Diagnostics.Process │
00:05:07 verbose #18827 > │ (StartInfo = v52) │
00:05:07 verbose #18828 > │ use v60 = v60 │
00:05:07 verbose #18829 > │ let v61 : System.Diagnostics.Process = v60 │
00:05:07 verbose #18830 > │ let v62 : (unit -> │
00:05:07 verbose #18831 > │ System.Collections.Concurrent.ConcurrentStack<string>) = │
00:05:07 verbose #18832 > │ System.Collections.Concurrent.ConcurrentStack<string> │
00:05:07 verbose #18833 > │ let v63 : System.Collections.Concurrent.ConcurrentStack<string> = v62 () │
00:05:07 verbose #18834 > │ let v64 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:05:07 verbose #18835 > │ closure12(v0, v1, v2, v3, v4, v5, v61, v63) │
00:05:07 verbose #18836 > │ v61.OutputDataReceived.Add v64 │
00:05:07 verbose #18837 > │ let v65 : (System.Diagnostics.DataReceivedEventArgs -> unit) = │
00:05:07 verbose #18838 > │ closure15(v0, v1, v2, v3, v4, v5, v61, v63) │
00:05:07 verbose #18839 > │ v61.ErrorDataReceived.Add v65 │
00:05:07 verbose #18840 > │ let v66 : (unit -> bool) = v61.Start │
00:05:07 verbose #18841 > │ let v67 : bool = v66 () │
00:05:07 verbose #18842 > │ let v68 : bool = v67 = false │
00:05:07 verbose #18843 > │ if v68 then │
00:05:07 verbose #18844 > │ let v69 : string = $"execute_with_options_async / process_start │
00:05:07 verbose #18845 > │ error" │
00:05:07 verbose #18846 > │ failwith<unit> v69 │
00:05:07 verbose #18847 > │ let v70 : (unit -> unit) = v61.BeginErrorReadLine │
00:05:07 verbose #18848 > │ v70 () │
00:05:07 verbose #18849 > │ let v71 : (unit -> unit) = v61.BeginOutputReadLine │
00:05:07 verbose #18850 > │ v71 () │
00:05:07 verbose #18851 > │ let v72 : (System.Threading.CancellationToken -> US7) = method13() │
00:05:07 verbose #18852 > │ let v73 : US7 = US7_1 │
00:05:07 verbose #18853 > │ let v74 : US7 = v0 |> Option.map v72 |> Option.defaultValue v73 │
00:05:07 verbose #18854 > │ let v78 : System.Threading.CancellationToken = │
00:05:07 verbose #18855 > │ match v74 with │
00:05:07 verbose #18856 > │ | US7_1 -> (* None *) │
00:05:07 verbose #18857 > │ let v76 : System.Threading.CancellationToken = │
00:05:07 verbose #18858 > │ System.Threading.CancellationToken.None │
00:05:07 verbose #18859 > │ v76 │
00:05:07 verbose #18860 > │ | US7_0(v75) -> (* Some *) │
00:05:07 verbose #18861 > │ v75 │
00:05:07 verbose #18862 > │ let v79 : Async<System.Threading.CancellationToken> option = None │
00:05:07 verbose #18863 > │ let v80 : bool = true in let mutable _v79 = v79 │
00:05:07 verbose #18864 > │ │
00:05:07 verbose #18865 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18866 > │ │
00:05:07 verbose #18867 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18868 > │ let v81 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18869 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18870 > │ v81 │
00:05:07 verbose #18871 > │ #endif │
00:05:07 verbose #18872 > │ │
00:05:07 verbose #18873 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18874 > │ let v82 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18875 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18876 > │ v82 │
00:05:07 verbose #18877 > │ #endif │
00:05:07 verbose #18878 > │ │
00:05:07 verbose #18879 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18880 > │ let v83 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18881 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18882 > │ v83 │
00:05:07 verbose #18883 > │ #endif │
00:05:07 verbose #18884 > │ │
00:05:07 verbose #18885 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18886 > │ let v84 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18887 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18888 > │ v84 │
00:05:07 verbose #18889 > │ #endif │
00:05:07 verbose #18890 > │ │
00:05:07 verbose #18891 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18892 > │ let v85 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18893 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18894 > │ v85 │
00:05:07 verbose #18895 > │ #endif │
00:05:07 verbose #18896 > │ │
00:05:07 verbose #18897 > │ #else │
00:05:07 verbose #18898 > │ let v86 : Async<System.Threading.CancellationToken> option = None │
00:05:07 verbose #18899 > │ let v87 : bool = true in let mutable _v86 = v86 │
00:05:07 verbose #18900 > │ │
00:05:07 verbose #18901 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18902 > │ │
00:05:07 verbose #18903 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18904 > │ let v88 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18905 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18906 > │ v88 │
00:05:07 verbose #18907 > │ #endif │
00:05:07 verbose #18908 > │ │
00:05:07 verbose #18909 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18910 > │ let v89 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18911 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18912 > │ v89 │
00:05:07 verbose #18913 > │ #endif │
00:05:07 verbose #18914 > │ │
00:05:07 verbose #18915 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18916 > │ let v90 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18917 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18918 > │ v90 │
00:05:07 verbose #18919 > │ #endif │
00:05:07 verbose #18920 > │ │
00:05:07 verbose #18921 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18922 > │ let v91 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18923 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18924 > │ v91 │
00:05:07 verbose #18925 > │ #endif │
00:05:07 verbose #18926 > │ │
00:05:07 verbose #18927 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18928 > │ let v92 : Async<System.Threading.CancellationToken> = null |> │
00:05:07 verbose #18929 > │ unbox<Async<System.Threading.CancellationToken>> │
00:05:07 verbose #18930 > │ v92 │
00:05:07 verbose #18931 > │ #endif │
00:05:07 verbose #18932 > │ │
00:05:07 verbose #18933 > │ #else │
00:05:07 verbose #18934 > │ let v93 : Async<System.Threading.CancellationToken> option = None │
00:05:07 verbose #18935 > │ let mutable _v93 = v93 │
00:05:07 verbose #18936 > │ async { │
00:05:07 verbose #18937 > │ let v94 : Async<System.Threading.CancellationToken> = │
00:05:07 verbose #18938 > │ Async.CancellationToken │
00:05:07 verbose #18939 > │ let! v94 = v94 │
00:05:07 verbose #18940 > │ let v95 : System.Threading.CancellationToken = v94 │
00:05:07 verbose #18941 > │ let v96 : System.Threading.CancellationToken = │
00:05:07 verbose #18942 > │ Async.DefaultCancellationToken │
00:05:07 verbose #18943 > │ let v97 : (System.Threading.CancellationToken []) = [|v95; v96; v78|] │
00:05:07 verbose #18944 > │ let v98 : ((System.Threading.CancellationToken []) -> │
00:05:07 verbose #18945 > │ System.Threading.CancellationTokenSource) = │
00:05:07 verbose #18946 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:05:07 verbose #18947 > │ let v99 : System.Threading.CancellationTokenSource = v98 v97 │
00:05:07 verbose #18948 > │ let v100 : System.Threading.CancellationToken = v99.Token │
00:05:07 verbose #18949 > │ return v100 │
00:05:07 verbose #18950 > │ } │
00:05:07 verbose #18951 > │ |> fun x -> _v93 <- Some x │
00:05:07 verbose #18952 > │ let v101 : Async<System.Threading.CancellationToken> = _v93 |> │
00:05:07 verbose #18953 > │ Option.get │
00:05:07 verbose #18954 > │ v101 │
00:05:07 verbose #18955 > │ #endif │
00:05:07 verbose #18956 > │ |> fun x -> _v86 <- Some x │
00:05:07 verbose #18957 > │ let v102 : Async<System.Threading.CancellationToken> = _v86.Value │
00:05:07 verbose #18958 > │ v102 │
00:05:07 verbose #18959 > │ #endif │
00:05:07 verbose #18960 > │ |> fun x -> _v79 <- Some x │
00:05:07 verbose #18961 > │ let v103 : Async<System.Threading.CancellationToken> = _v79.Value │
00:05:07 verbose #18962 > │ let! v103 = v103 │
00:05:07 verbose #18963 > │ let v104 : System.Threading.CancellationToken = v103 │
00:05:07 verbose #18964 > │ let v105 : ((unit -> unit) -> │
00:05:07 verbose #18965 > │ System.Threading.CancellationTokenRegistration) = v104.Register │
00:05:07 verbose #18966 > │ let v106 : (unit -> unit) = closure17(v61) │
00:05:07 verbose #18967 > │ let v107 : System.Threading.CancellationTokenRegistration = v105 v106 │
00:05:07 verbose #18968 > │ use v107 = v107 │
00:05:07 verbose #18969 > │ let v108 : System.Threading.CancellationTokenRegistration = v107 │
00:05:07 verbose #18970 > │ let v109 : Async<int32> option = None │
00:05:07 verbose #18971 > │ let v110 : bool = true in let mutable _v109 = v109 │
00:05:07 verbose #18972 > │ │
00:05:07 verbose #18973 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #18974 > │ │
00:05:07 verbose #18975 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #18976 > │ let v111 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18977 > │ v111 │
00:05:07 verbose #18978 > │ #endif │
00:05:07 verbose #18979 > │ │
00:05:07 verbose #18980 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #18981 > │ let v112 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18982 > │ v112 │
00:05:07 verbose #18983 > │ #endif │
00:05:07 verbose #18984 > │ │
00:05:07 verbose #18985 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #18986 > │ let v113 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18987 > │ v113 │
00:05:07 verbose #18988 > │ #endif │
00:05:07 verbose #18989 > │ │
00:05:07 verbose #18990 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #18991 > │ let v114 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18992 > │ v114 │
00:05:07 verbose #18993 > │ #endif │
00:05:07 verbose #18994 > │ │
00:05:07 verbose #18995 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #18996 > │ let v115 : Async<int32> = null |> unbox<Async<int32>> │
00:05:07 verbose #18997 > │ v115 │
00:05:07 verbose #18998 > │ #endif │
00:05:07 verbose #18999 > │ │
00:05:07 verbose #19000 > │ #else │
00:05:07 verbose #19001 > │ let v116 : Async<int32> option = None │
00:05:07 verbose #19002 > │ let mutable _v116 = v116 │
00:05:07 verbose #19003 > │ async { │
00:05:07 verbose #19004 > │ try │
00:05:07 verbose #19005 > │ let v117 : System.Threading.Tasks.Task = v61.WaitForExitAsync v104 │
00:05:07 verbose #19006 > │ let v118 : Async<unit> option = None │
00:05:07 verbose #19007 > │ let v119 : bool = true in let mutable _v118 = v118 │
00:05:07 verbose #19008 > │ │
00:05:07 verbose #19009 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #19010 > │ │
00:05:07 verbose #19011 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #19012 > │ let v120 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #19013 > │ v120 │
00:05:07 verbose #19014 > │ #endif │
00:05:07 verbose #19015 > │ │
00:05:07 verbose #19016 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #19017 > │ let v121 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #19018 > │ v121 │
00:05:07 verbose #19019 > │ #endif │
00:05:07 verbose #19020 > │ │
00:05:07 verbose #19021 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #19022 > │ let v122 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #19023 > │ v122 │
00:05:07 verbose #19024 > │ #endif │
00:05:07 verbose #19025 > │ │
00:05:07 verbose #19026 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #19027 > │ let v123 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #19028 > │ v123 │
00:05:07 verbose #19029 > │ #endif │
00:05:07 verbose #19030 > │ │
00:05:07 verbose #19031 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #19032 > │ let v124 : Async<unit> = null |> unbox<Async<unit>> │
00:05:07 verbose #19033 > │ v124 │
00:05:07 verbose #19034 > │ #endif │
00:05:07 verbose #19035 > │ │
00:05:07 verbose #19036 > │ #else │
00:05:07 verbose #19037 > │ let v125 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:05:07 verbose #19038 > │ Async.AwaitTask │
00:05:07 verbose #19039 > │ let v126 : Async<unit> = v125 v117 │
00:05:07 verbose #19040 > │ v126 │
00:05:07 verbose #19041 > │ #endif │
00:05:07 verbose #19042 > │ |> fun x -> _v118 <- Some x │
00:05:07 verbose #19043 > │ let v127 : Async<unit> = _v118.Value │
00:05:07 verbose #19044 > │ do! v127 │
00:05:07 verbose #19045 > │ let v128 : int32 = v61.ExitCode │
00:05:07 verbose #19046 > │ return v128 │
00:05:07 verbose #19047 > │ with ex -> │
00:05:07 verbose #19048 > │ let v129 : exn = ex │
00:05:07 verbose #19049 > │ let v130 : string option = None │
00:05:07 verbose #19050 > │ let v131 : bool = true in let mutable _v130 = v130 │
00:05:07 verbose #19051 > │ │
00:05:07 verbose #19052 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:07 verbose #19053 > │ │
00:05:07 verbose #19054 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:07 verbose #19055 > │ let v132 : string = $"%A{v129}" │
00:05:07 verbose #19056 > │ v132 │
00:05:07 verbose #19057 > │ #endif │
00:05:07 verbose #19058 > │ │
00:05:07 verbose #19059 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:07 verbose #19060 > │ let v133 : string = $"%A{v129}" │
00:05:07 verbose #19061 > │ v133 │
00:05:07 verbose #19062 > │ #endif │
00:05:07 verbose #19063 > │ │
00:05:07 verbose #19064 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:07 verbose #19065 > │ let v134 : string = $"%A{v129}" │
00:05:07 verbose #19066 > │ v134 │
00:05:07 verbose #19067 > │ #endif │
00:05:07 verbose #19068 > │ │
00:05:07 verbose #19069 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:07 verbose #19070 > │ let v135 : string = $"%A{v129}" │
00:05:07 verbose #19071 > │ v135 │
00:05:07 verbose #19072 > │ #endif │
00:05:07 verbose #19073 > │ │
00:05:07 verbose #19074 > │ #if FABLE_COMPILER_PYTHON │
00:05:07 verbose #19075 > │ let v136 : string = $"%A{v129}" │
00:05:07 verbose #19076 > │ v136 │
00:05:07 verbose #19077 > │ #endif │
00:05:07 verbose #19078 > │ │
00:05:07 verbose #19079 > │ #else │
00:05:07 verbose #19080 > │ let v137 : string = $"{v129.GetType ()}: {v129.Message}" │
00:05:07 verbose #19081 > │ v137 │
00:05:07 verbose #19082 > │ #endif │
00:05:07 verbose #19083 > │ |> fun x -> _v130 <- Some x │
00:05:07 verbose #19084 > │ let v138 : string = _v130.Value │
00:05:07 verbose #19085 > │ let v139 : (string -> unit) = v63.Push │
00:05:07 verbose #19086 > │ v139 v138 │
00:05:07 verbose #19087 > │ let v140 : System.Threading.Tasks.TaskCanceledException = v129 |> │
00:05:07 verbose #19088 > │ unbox<System.Threading.Tasks.TaskCanceledException> │
00:05:07 verbose #19089 > │ let v141 : US0 = US0_3 │
00:05:07 verbose #19090 > │ let v142 : (unit -> string) = closure18(v140) │
00:05:07 verbose #19091 > │ let v143 : (unit -> string) = method7() │
00:05:07 verbose #19092 > │ method8(v141, v142, v143) │
00:05:07 verbose #19093 > │ return -2147483648 │
00:05:07 verbose #19094 > │ (* │
00:05:07 verbose #19095 > │ *) │
00:05:07 verbose #19096 > │ } │
00:05:07 verbose #19097 > │ |> fun x -> _v116 <- Some x │
00:05:07 verbose #19098 > │ let v144 : Async<int32> = _v116 |> Option.get │
00:05:07 verbose #19099 > │ v144 │
00:05:07 verbose #19100 > │ #endif │
00:05:07 verbose #19101 > │ |> fun x -> _v109 <- Some x │
00:05:07 verbose #19102 > │ let v145 : Async<int32> = _v109.Value │
00:05:07 verbose #19103 > │ let! v145 = v145 │
00:05:07 verbose #19104 > │ let v146 : int32 = v145 │
00:05:07 verbose #19105 > │ let v147 : (System.Collections.Concurrent.ConcurrentStack<string> -> │
00:05:07 verbose #19106 > │ string seq) = Seq.rev │
00:05:07 verbose #19107 > │ let v148 : string seq = v147 v63 │
00:05:07 verbose #19108 > │ let v149 : string = method14() │
00:05:07 verbose #19109 > │ let v150 : (string -> (string seq -> string)) = String.concat │
00:05:07 verbose #19110 > │ let v151 : (string seq -> string) = v150 v149 │
00:05:07 verbose #19111 > │ let v152 : string = v151 v148 │
00:05:07 verbose #19112 > │ let v153 : US0 = US0_1 │
00:05:07 verbose #19113 > │ let v154 : (unit -> string) = closure19(v146, v152) │
00:05:07 verbose #19114 > │ let v155 : (unit -> string) = method7() │
00:05:07 verbose #19115 > │ method8(v153, v154, v155) │
00:05:07 verbose #19116 > │ return struct (v146, v152) │
00:05:07 verbose #19117 > │ } │
00:05:07 verbose #19118 > │ |> fun x -> _v20 <- Some x │
00:05:07 verbose #19119 > │ let v156 : Async<struct (int32 * string)> = _v20 |> Option.get │
00:05:07 verbose #19120 > │ v156 │
00:05:07 verbose #19121 > │ #endif │
00:05:07 verbose #19122 > │ |> fun x -> _v13 <- Some x │
00:05:07 verbose #19123 > │ let v157 : Async<struct (int32 * string)> = _v13.Value │
00:05:07 verbose #19124 > │ v157 │
00:05:07 verbose #19125 > │ #endif │
00:05:07 verbose #19126 > │ |> fun x -> _v6 <- Some x │
00:05:07 verbose #19127 > │ let v158 : Async<struct (int32 * string)> = _v6.Value │
00:05:07 verbose #19128 > │ v158 │
00:05:07 verbose #19129 > │ and closure21 () (v0 : (Heap0 -> Heap0)) : struct │
00:05:07 verbose #19130 > │ (System.Threading.CancellationToken option * string * (struct (string * │
00:05:07 verbose #19131 > │ string) []) * (struct (bool * string * int32) -> Async<unit>) option * │
00:05:07 verbose #19132 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option * │
00:05:07 verbose #19133 > │ string option) = │
00:05:07 verbose #19134 > │ let v1 : string option = None │
00:05:07 verbose #19135 > │ let v2 : System.Threading.CancellationToken option = None │
00:05:07 verbose #19136 > │ let v3 : (struct (string * string) []) = [||] │
00:05:07 verbose #19137 > │ let v4 : (struct (bool * string * int32) -> Async<unit>) option = None │
00:05:07 verbose #19138 > │ let v5 : (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) │
00:05:07 verbose #19139 > │ option = None │
00:05:07 verbose #19140 > │ let v6 : string = "" │
00:05:07 verbose #19141 > │ let v7 : Heap0 = {l0 = v2; l1 = v6; l2 = v3; l3 = v4; l4 = v5; l5 = v1} │
00:05:07 verbose #19142 > │ : Heap0 │
00:05:07 verbose #19143 > │ let v8 : Heap0 = v0 v7 │
00:05:07 verbose #19144 > │ let v9 : System.Threading.CancellationToken option = v8.l0 │
00:05:07 verbose #19145 > │ let v10 : string = v8.l1 │
00:05:07 verbose #19146 > │ let v11 : (struct (string * string) []) = v8.l2 │
00:05:07 verbose #19147 > │ let v12 : (struct (bool * string * int32) -> Async<unit>) option = v8.l3 │
00:05:07 verbose #19148 > │ let v13 : (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) │
00:05:07 verbose #19149 > │ option = v8.l4 │
00:05:07 verbose #19150 > │ let v14 : string option = v8.l5 │
00:05:07 verbose #19151 > │ struct (v9, v10, v11, v12, v13, v14) │
00:05:07 verbose #19152 > │ and method18 (v0 : UH1, v1 : UH1) : UH1 = │
00:05:07 verbose #19153 > │ match v0 with │
00:05:07 verbose #19154 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:05:07 verbose #19155 > │ let v4 : UH1 = method18(v3, v1) │
00:05:07 verbose #19156 > │ UH1_1(v2, v4) │
00:05:07 verbose #19157 > │ | UH1_0 -> (* Nil *) │
00:05:07 verbose #19158 > │ v1 │
00:05:07 verbose #19159 > │ and method17 (v0 : string, v1 : UH1, v2 : UH0, v3 : US8) : struct (UH1 * │
00:05:07 verbose #19160 > │ string) = │
00:05:07 verbose #19161 > │ match v3 with │
00:05:07 verbose #19162 > │ | US8_2(v44) -> (* Escaped *) │
00:05:07 verbose #19163 > │ match v2 with │
00:05:07 verbose #19164 > │ | UH0_1(v45, v46) -> (* Cons *) │
00:05:07 verbose #19165 > │ let v47 : bool = '\\' = v45 │
00:05:07 verbose #19166 > │ if v47 then │
00:05:07 verbose #19167 > │ let v48 : char = '\\' │
00:05:07 verbose #19168 > │ let v49 : US8 = US8_1(v48) │
00:05:07 verbose #19169 > │ method16(v0, v1, v46, v3, v49) │
00:05:07 verbose #19170 > │ else │
00:05:07 verbose #19171 > │ let v52 : bool = '"' = v45 │
00:05:07 verbose #19172 > │ if v52 then │
00:05:07 verbose #19173 > │ let v54 : bool = │
00:05:07 verbose #19174 > │ match v3 with │
00:05:07 verbose #19175 > │ | US8_0 -> (* Start *) │
00:05:07 verbose #19176 > │ true │
00:05:07 verbose #19177 > │ | _ -> │
00:05:07 verbose #19178 > │ false │
00:05:07 verbose #19179 > │ if v54 then │
00:05:07 verbose #19180 > │ method17(v0, v1, v46, v3) │
00:05:07 verbose #19181 > │ else │
00:05:07 verbose #19182 > │ let v57 : string = $"{v0}\"" │
00:05:07 verbose #19183 > │ let v58 : US8 = US8_2(v44) │
00:05:07 verbose #19184 > │ method16(v57, v1, v46, v3, v58) │
00:05:07 verbose #19185 > │ else │
00:05:07 verbose #19186 > │ let v63 : bool = ' ' = v45 │
00:05:07 verbose #19187 > │ if v63 then │
00:05:07 verbose #19188 > │ let v64 : string = $"{v0} " │
00:05:07 verbose #19189 > │ method17(v64, v1, v46, v3) │
00:05:07 verbose #19190 > │ else │
00:05:07 verbose #19191 > │ let v67 : bool = 1uy = v44 │
00:05:07 verbose #19192 > │ if v67 then │
00:05:07 verbose #19193 > │ let v68 : bool = v3 <> v3 │
00:05:07 verbose #19194 > │ if v68 then │
00:05:07 verbose #19195 > │ let v69 : string = $"{v0}\{v45}" │
00:05:07 verbose #19196 > │ method17(v69, v1, v46, v3) │
00:05:07 verbose #19197 > │ else │
00:05:07 verbose #19198 > │ let v72 : string = $"{v0}{v45}" │
00:05:07 verbose #19199 > │ method17(v72, v1, v46, v3) │
00:05:07 verbose #19200 > │ else │
00:05:07 verbose #19201 > │ let v77 : string = $"{v0}{v45}" │
00:05:07 verbose #19202 > │ method17(v77, v1, v46, v3) │
00:05:07 verbose #19203 > │ | _ -> │
00:05:07 verbose #19204 > │ let v88 : bool = 1uy = v44 │
00:05:07 verbose #19205 > │ if v88 then │
00:05:07 verbose #19206 > │ let v90 : bool = v0 = "" │
00:05:07 verbose #19207 > │ let v94 : UH1 = │
00:05:07 verbose #19208 > │ if v90 then │
00:05:07 verbose #19209 > │ v1 │
00:05:07 verbose #19210 > │ else │
00:05:07 verbose #19211 > │ let v91 : UH1 = UH1_0 │
00:05:07 verbose #19212 > │ let v92 : UH1 = UH1_1(v0, v91) │
00:05:07 verbose #19213 > │ method18(v1, v92) │
00:05:07 verbose #19214 > │ struct (v94, v0) │
00:05:07 verbose #19215 > │ else │
00:05:07 verbose #19216 > │ let v96 : bool = v0 = "" │
00:05:07 verbose #19217 > │ let v100 : UH1 = │
00:05:07 verbose #19218 > │ if v96 then │
00:05:07 verbose #19219 > │ v1 │
00:05:07 verbose #19220 > │ else │
00:05:07 verbose #19221 > │ let v97 : UH1 = UH1_0 │
00:05:07 verbose #19222 > │ let v98 : UH1 = UH1_1(v0, v97) │
00:05:07 verbose #19223 > │ method18(v1, v98) │
00:05:07 verbose #19224 > │ struct (v100, v0) │
00:05:07 verbose #19225 > │ | US8_1(v105) -> (* Quoted *) │
00:05:07 verbose #19226 > │ let v106 : bool = '"' = v105 │
00:05:07 verbose #19227 > │ if v106 then │
00:05:07 verbose #19228 > │ match v2 with │
00:05:07 verbose #19229 > │ | UH0_1(v107, v108) -> (* Cons *) │
00:05:07 verbose #19230 > │ let v109 : bool = '"' = v107 │
00:05:07 verbose #19231 > │ if v109 then │
00:05:07 verbose #19232 > │ let v110 : US8 = US8_1('\\') │
00:05:07 verbose #19233 > │ let v111 : bool = v3 = v110 │
00:05:07 verbose #19234 > │ if v111 then │
00:05:07 verbose #19235 > │ let v112 : US8 = US8_0 │
00:05:07 verbose #19236 > │ method16(v0, v1, v108, v3, v112) │
00:05:07 verbose #19237 > │ else │
00:05:07 verbose #19238 > │ let v115 : bool = '\\' = v105 │
00:05:07 verbose #19239 > │ if v115 then │
00:05:07 verbose #19240 > │ let v116 : US8 = US8_2(0uy) │
00:05:07 verbose #19241 > │ let v117 : bool = v3 <> v116 │
00:05:07 verbose #19242 > │ if v117 then │
00:05:07 verbose #19243 > │ let v118 : string = $"{v0}\"" │
00:05:07 verbose #19244 > │ let v119 : char = '"' │
00:05:07 verbose #19245 > │ let v120 : US8 = US8_1(v119) │
00:05:07 verbose #19246 > │ method16(v118, v1, v108, v3, v120) │
00:05:07 verbose #19247 > │ else │
00:05:07 verbose #19248 > │ let v123 : US8 = US8_1('\\') │
00:05:07 verbose #19249 > │ let v124 : bool = v3 = v123 │
00:05:07 verbose #19250 > │ if v124 then │
00:05:07 verbose #19251 > │ let v125 : string = $"{v0}\"" │
00:05:07 verbose #19252 > │ let v126 : char = '"' │
00:05:07 verbose #19253 > │ let v127 : US8 = US8_1(v126) │
00:05:07 verbose #19254 > │ method16(v125, v1, v108, v3, v127) │
00:05:07 verbose #19255 > │ else │
00:05:07 verbose #19256 > │ let v130 : US8 = US8_0 │
00:05:07 verbose #19257 > │ method16(v0, v1, v108, v3, v130) │
00:05:07 verbose #19258 > │ else │
00:05:07 verbose #19259 > │ let v137 : bool = '\\' = v107 │
00:05:07 verbose #19260 > │ if v137 then │
00:05:07 verbose #19261 > │ let v138 : uint8 = 1uy │
00:05:07 verbose #19262 > │ let v139 : US8 = US8_2(v138) │
00:05:07 verbose #19263 > │ method16(v0, v1, v108, v3, v139) │
00:05:07 verbose #19264 > │ else │
00:05:07 verbose #19265 > │ let v142 : US8 = US8_2(0uy) │
00:05:07 verbose #19266 > │ let v143 : bool = v3 = v142 │
00:05:07 verbose #19267 > │ if v143 then │
00:05:07 verbose #19268 > │ let v144 : string = $"{v0}\"" │
00:05:07 verbose #19269 > │ let v145 : char = '"' │
00:05:07 verbose #19270 > │ let v146 : US8 = US8_1(v145) │
00:05:07 verbose #19271 > │ method16(v144, v1, v108, v3, v146) │
00:05:07 verbose #19272 > │ else │
00:05:07 verbose #19273 > │ let v149 : UH1 = UH1_0 │
00:05:07 verbose #19274 > │ let v150 : UH1 = UH1_1(v0, v149) │
00:05:07 verbose #19275 > │ let v151 : UH1 = method18(v1, v150) │
00:05:07 verbose #19276 > │ let v152 : string = "" │
00:05:07 verbose #19277 > │ let v153 : US8 = US8_0 │
00:05:07 verbose #19278 > │ method16(v152, v151, v108, v3, v153) │
00:05:07 verbose #19279 > │ else │
00:05:07 verbose #19280 > │ let v164 : bool = '\\' = v105 │
00:05:07 verbose #19281 > │ if v164 then │
00:05:07 verbose #19282 > │ let v165 : bool = '\\' = v107 │
00:05:07 verbose #19283 > │ if v165 then │
00:05:07 verbose #19284 > │ let v166 : uint8 = 1uy │
00:05:07 verbose #19285 > │ let v167 : US8 = US8_2(v166) │
00:05:07 verbose #19286 > │ method16(v0, v1, v108, v3, v167) │
00:05:07 verbose #19287 > │ else │
00:05:07 verbose #19288 > │ let v170 : bool = ' ' = v107 │
00:05:07 verbose #19289 > │ if v170 then │
00:05:07 verbose #19290 > │ let v171 : string = $"{v0} " │
00:05:07 verbose #19291 > │ method17(v171, v1, v108, v3) │
00:05:07 verbose #19292 > │ else │
00:05:07 verbose #19293 > │ let v174 : string = $"{v0}{v107}" │
00:05:07 verbose #19294 > │ method17(v174, v1, v108, v3) │
00:05:07 verbose #19295 > │ else │
00:05:07 verbose #19296 > │ let v181 : bool = '\\' = v107 │
00:05:07 verbose #19297 > │ if v181 then │
00:05:07 verbose #19298 > │ let v182 : uint8 = 1uy │
00:05:07 verbose #19299 > │ let v183 : US8 = US8_2(v182) │
00:05:07 verbose #19300 > │ method16(v0, v1, v108, v3, v183) │
00:05:07 verbose #19301 > │ else │
00:05:07 verbose #19302 > │ let v186 : bool = ' ' = v107 │
00:05:07 verbose #19303 > │ if v186 then │
00:05:07 verbose #19304 > │ let v187 : string = $"{v0} " │
00:05:07 verbose #19305 > │ method17(v187, v1, v108, v3) │
00:05:07 verbose #19306 > │ else │
00:05:07 verbose #19307 > │ let v190 : string = $"{v0}{v107}" │
00:05:07 verbose #19308 > │ method17(v190, v1, v108, v3) │
00:05:07 verbose #19309 > │ | _ -> │
00:05:07 verbose #19310 > │ let v201 : bool = '\\' = v105 │
00:05:07 verbose #19311 > │ if v201 then │
00:05:07 verbose #19312 > │ let v203 : bool = v0 = "" │
00:05:07 verbose #19313 > │ let v207 : UH1 = │
00:05:07 verbose #19314 > │ if v203 then │
00:05:07 verbose #19315 > │ v1 │
00:05:07 verbose #19316 > │ else │
00:05:07 verbose #19317 > │ let v204 : UH1 = UH1_0 │
00:05:07 verbose #19318 > │ let v205 : UH1 = UH1_1(v0, v204) │
00:05:07 verbose #19319 > │ method18(v1, v205) │
00:05:07 verbose #19320 > │ struct (v207, v0) │
00:05:07 verbose #19321 > │ else │
00:05:07 verbose #19322 > │ let v209 : bool = v0 = "" │
00:05:07 verbose #19323 > │ let v213 : UH1 = │
00:05:07 verbose #19324 > │ if v209 then │
00:05:07 verbose #19325 > │ v1 │
00:05:07 verbose #19326 > │ else │
00:05:07 verbose #19327 > │ let v210 : UH1 = UH1_0 │
00:05:07 verbose #19328 > │ let v211 : UH1 = UH1_1(v0, v210) │
00:05:07 verbose #19329 > │ method18(v1, v211) │
00:05:07 verbose #19330 > │ struct (v213, v0) │
00:05:07 verbose #19331 > │ else │
00:05:07 verbose #19332 > │ let v218 : bool = '\\' = v105 │
00:05:07 verbose #19333 > │ if v218 then │
00:05:07 verbose #19334 > │ match v2 with │
00:05:07 verbose #19335 > │ | UH0_1(v219, v220) -> (* Cons *) │
00:05:07 verbose #19336 > │ let v221 : bool = '"' = v219 │
00:05:07 verbose #19337 > │ if v221 then │
00:05:07 verbose #19338 > │ let v222 : US8 = US8_2(0uy) │
00:05:07 verbose #19339 > │ let v223 : bool = v3 <> v222 │
00:05:07 verbose #19340 > │ if v223 then │
00:05:07 verbose #19341 > │ let v224 : string = $"{v0}\"" │
00:05:07 verbose #19342 > │ let v225 : char = '"' │
00:05:07 verbose #19343 > │ let v226 : US8 = US8_1(v225) │
00:05:07 verbose #19344 > │ method16(v224, v1, v220, v3, v226) │
00:05:07 verbose #19345 > │ else │
00:05:07 verbose #19346 > │ let v229 : US8 = US8_1('\\') │
00:05:07 verbose #19347 > │ let v230 : bool = v3 = v229 │
00:05:07 verbose #19348 > │ if v230 then │
00:05:07 verbose #19349 > │ let v231 : string = $"{v0}\"" │
00:05:07 verbose #19350 > │ let v232 : char = '"' │
00:05:07 verbose #19351 > │ let v233 : US8 = US8_1(v232) │
00:05:07 verbose #19352 > │ method16(v231, v1, v220, v3, v233) │
00:05:07 verbose #19353 > │ else │
00:05:07 verbose #19354 > │ let v236 : US8 = US8_0 │
00:05:07 verbose #19355 > │ method16(v0, v1, v220, v3, v236) │
00:05:07 verbose #19356 > │ else │
00:05:07 verbose #19357 > │ let v243 : bool = '\\' = v219 │
00:05:07 verbose #19358 > │ if v243 then │
00:05:07 verbose #19359 > │ let v244 : uint8 = 1uy │
00:05:07 verbose #19360 > │ let v245 : US8 = US8_2(v244) │
00:05:07 verbose #19361 > │ method16(v0, v1, v220, v3, v245) │
00:05:07 verbose #19362 > │ else │
00:05:07 verbose #19363 > │ let v248 : bool = ' ' = v219 │
00:05:07 verbose #19364 > │ if v248 then │
00:05:07 verbose #19365 > │ let v249 : string = $"{v0} " │
00:05:07 verbose #19366 > │ method17(v249, v1, v220, v3) │
00:05:07 verbose #19367 > │ else │
00:05:07 verbose #19368 > │ let v252 : string = $"{v0}{v219}" │
00:05:07 verbose #19369 > │ method17(v252, v1, v220, v3) │
00:05:07 verbose #19370 > │ | _ -> │
00:05:07 verbose #19371 > │ let v262 : bool = v0 = "" │
00:05:07 verbose #19372 > │ let v266 : UH1 = │
00:05:07 verbose #19373 > │ if v262 then │
00:05:07 verbose #19374 > │ v1 │
00:05:07 verbose #19375 > │ else │
00:05:07 verbose #19376 > │ let v263 : UH1 = UH1_0 │
00:05:07 verbose #19377 > │ let v264 : UH1 = UH1_1(v0, v263) │
00:05:07 verbose #19378 > │ method18(v1, v264) │
00:05:07 verbose #19379 > │ struct (v266, v0) │
00:05:07 verbose #19380 > │ else │
00:05:07 verbose #19381 > │ match v2 with │
00:05:07 verbose #19382 > │ | UH0_1(v269, v270) -> (* Cons *) │
00:05:07 verbose #19383 > │ let v271 : bool = '\\' = v269 │
00:05:07 verbose #19384 > │ if v271 then │
00:05:07 verbose #19385 > │ let v272 : uint8 = 1uy │
00:05:07 verbose #19386 > │ let v273 : US8 = US8_2(v272) │
00:05:07 verbose #19387 > │ method16(v0, v1, v270, v3, v273) │
00:05:07 verbose #19388 > │ else │
00:05:07 verbose #19389 > │ let v276 : bool = '"' = v269 │
00:05:07 verbose #19390 > │ if v276 then │
00:05:07 verbose #19391 > │ let v277 : US8 = US8_2(0uy) │
00:05:07 verbose #19392 > │ let v278 : bool = v3 = v277 │
00:05:07 verbose #19393 > │ if v278 then │
00:05:07 verbose #19394 > │ let v279 : string = $"{v0}\"" │
00:05:07 verbose #19395 > │ let v280 : char = '"' │
00:05:07 verbose #19396 > │ let v281 : US8 = US8_1(v280) │
00:05:07 verbose #19397 > │ method16(v279, v1, v270, v3, v281) │
00:05:07 verbose #19398 > │ else │
00:05:07 verbose #19399 > │ let v284 : UH1 = UH1_0 │
00:05:07 verbose #19400 > │ let v285 : UH1 = UH1_1(v0, v284) │
00:05:07 verbose #19401 > │ let v286 : UH1 = method18(v1, v285) │
00:05:07 verbose #19402 > │ let v287 : string = "" │
00:05:07 verbose #19403 > │ let v288 : US8 = US8_0 │
00:05:07 verbose #19404 > │ method16(v287, v286, v270, v3, v288) │
00:05:07 verbose #19405 > │ else │
00:05:07 verbose #19406 > │ let v293 : bool = ' ' = v269 │
00:05:07 verbose #19407 > │ if v293 then │
00:05:07 verbose #19408 > │ let v294 : string = $"{v0} " │
00:05:07 verbose #19409 > │ method17(v294, v1, v270, v3) │
00:05:07 verbose #19410 > │ else │
00:05:07 verbose #19411 > │ let v297 : string = $"{v0}{v269}" │
00:05:07 verbose #19412 > │ method17(v297, v1, v270, v3) │
00:05:07 verbose #19413 > │ | _ -> │
00:05:07 verbose #19414 > │ let v307 : bool = v0 = "" │
00:05:07 verbose #19415 > │ let v311 : UH1 = │
00:05:07 verbose #19416 > │ if v307 then │
00:05:07 verbose #19417 > │ v1 │
00:05:07 verbose #19418 > │ else │
00:05:07 verbose #19419 > │ let v308 : UH1 = UH1_0 │
00:05:07 verbose #19420 > │ let v309 : UH1 = UH1_1(v0, v308) │
00:05:07 verbose #19421 > │ method18(v1, v309) │
00:05:07 verbose #19422 > │ struct (v311, v0) │
00:05:07 verbose #19423 > │ | US8_0 -> (* Start *) │
00:05:07 verbose #19424 > │ match v2 with │
00:05:07 verbose #19425 > │ | UH0_1(v4, v5) -> (* Cons *) │
00:05:07 verbose #19426 > │ let v6 : bool = '"' = v4 │
00:05:07 verbose #19427 > │ if v6 then │
00:05:07 verbose #19428 > │ let v7 : string = "" │
00:05:07 verbose #19429 > │ let v8 : char = '"' │
00:05:07 verbose #19430 > │ let v9 : US8 = US8_1(v8) │
00:05:07 verbose #19431 > │ method16(v7, v1, v5, v3, v9) │
00:05:07 verbose #19432 > │ else │
00:05:07 verbose #19433 > │ let v12 : bool = '\\' = v4 │
00:05:07 verbose #19434 > │ if v12 then │
00:05:07 verbose #19435 > │ let v13 : uint8 = 0uy │
00:05:07 verbose #19436 > │ let v14 : US8 = US8_2(v13) │
00:05:07 verbose #19437 > │ method16(v0, v1, v5, v3, v14) │
00:05:07 verbose #19438 > │ else │
00:05:07 verbose #19439 > │ let v17 : bool = ' ' = v4 │
00:05:07 verbose #19440 > │ if v17 then │
00:05:07 verbose #19441 > │ let v19 : bool = v0 = "" │
00:05:07 verbose #19442 > │ let v23 : UH1 = │
00:05:07 verbose #19443 > │ if v19 then │
00:05:07 verbose #19444 > │ v1 │
00:05:07 verbose #19445 > │ else │
00:05:07 verbose #19446 > │ let v20 : UH1 = UH1_0 │
00:05:07 verbose #19447 > │ let v21 : UH1 = UH1_1(v0, v20) │
00:05:07 verbose #19448 > │ method18(v1, v21) │
00:05:07 verbose #19449 > │ let v24 : string = "" │
00:05:07 verbose #19450 > │ method17(v24, v23, v5, v3) │
00:05:07 verbose #19451 > │ else │
00:05:07 verbose #19452 > │ let v27 : string = $"{v0}{v4}" │
00:05:07 verbose #19453 > │ method17(v27, v1, v5, v3) │
00:05:07 verbose #19454 > │ | _ -> │
00:05:07 verbose #19455 > │ let v37 : bool = v0 = "" │
00:05:07 verbose #19456 > │ let v41 : UH1 = │
00:05:07 verbose #19457 > │ if v37 then │
00:05:07 verbose #19458 > │ v1 │
00:05:07 verbose #19459 > │ else │
00:05:07 verbose #19460 > │ let v38 : UH1 = UH1_0 │
00:05:07 verbose #19461 > │ let v39 : UH1 = UH1_1(v0, v38) │
00:05:07 verbose #19462 > │ method18(v1, v39) │
00:05:07 verbose #19463 > │ struct (v41, v0) │
00:05:07 verbose #19464 > │ and method16 (v0 : string, v1 : UH1, v2 : UH0, v3 : US8, v4 : US8) : struct │
00:05:07 verbose #19465 > │ (UH1 * string) = │
00:05:07 verbose #19466 > │ match v4 with │
00:05:07 verbose #19467 > │ | US8_2(v45) -> (* Escaped *) │
00:05:07 verbose #19468 > │ match v2 with │
00:05:07 verbose #19469 > │ | UH0_1(v46, v47) -> (* Cons *) │
00:05:07 verbose #19470 > │ let v48 : bool = '\\' = v46 │
00:05:07 verbose #19471 > │ if v48 then │
00:05:07 verbose #19472 > │ let v49 : char = '\\' │
00:05:07 verbose #19473 > │ let v50 : US8 = US8_1(v49) │
00:05:07 verbose #19474 > │ method16(v0, v1, v47, v4, v50) │
00:05:07 verbose #19475 > │ else │
00:05:07 verbose #19476 > │ let v53 : bool = '"' = v46 │
00:05:07 verbose #19477 > │ if v53 then │
00:05:07 verbose #19478 > │ let v55 : bool = │
00:05:07 verbose #19479 > │ match v3 with │
00:05:07 verbose #19480 > │ | US8_0 -> (* Start *) │
00:05:07 verbose #19481 > │ true │
00:05:07 verbose #19482 > │ | _ -> │
00:05:07 verbose #19483 > │ false │
00:05:07 verbose #19484 > │ if v55 then │
00:05:07 verbose #19485 > │ method17(v0, v1, v47, v4) │
00:05:07 verbose #19486 > │ else │
00:05:07 verbose #19487 > │ let v58 : string = $"{v0}\"" │
00:05:07 verbose #19488 > │ let v59 : US8 = US8_2(v45) │
00:05:07 verbose #19489 > │ method16(v58, v1, v47, v4, v59) │
00:05:07 verbose #19490 > │ else │
00:05:07 verbose #19491 > │ let v64 : bool = ' ' = v46 │
00:05:07 verbose #19492 > │ if v64 then │
00:05:07 verbose #19493 > │ let v65 : string = $"{v0} " │
00:05:07 verbose #19494 > │ method17(v65, v1, v47, v4) │
00:05:07 verbose #19495 > │ else │
00:05:07 verbose #19496 > │ let v68 : bool = 1uy = v45 │
00:05:07 verbose #19497 > │ if v68 then │
00:05:07 verbose #19498 > │ let v69 : bool = v3 <> v4 │
00:05:07 verbose #19499 > │ if v69 then │
00:05:07 verbose #19500 > │ let v70 : string = $"{v0}\{v46}" │
00:05:07 verbose #19501 > │ method16(v70, v1, v47, v4, v3) │
00:05:07 verbose #19502 > │ else │
00:05:07 verbose #19503 > │ let v73 : string = $"{v0}{v46}" │
00:05:07 verbose #19504 > │ method17(v73, v1, v47, v4) │
00:05:07 verbose #19505 > │ else │
00:05:07 verbose #19506 > │ let v78 : string = $"{v0}{v46}" │
00:05:07 verbose #19507 > │ method17(v78, v1, v47, v4) │
00:05:07 verbose #19508 > │ | _ -> │
00:05:07 verbose #19509 > │ let v89 : bool = 1uy = v45 │
00:05:07 verbose #19510 > │ if v89 then │
00:05:07 verbose #19511 > │ let v91 : bool = v0 = "" │
00:05:07 verbose #19512 > │ let v95 : UH1 = │
00:05:07 verbose #19513 > │ if v91 then │
00:05:07 verbose #19514 > │ v1 │
00:05:07 verbose #19515 > │ else │
00:05:07 verbose #19516 > │ let v92 : UH1 = UH1_0 │
00:05:07 verbose #19517 > │ let v93 : UH1 = UH1_1(v0, v92) │
00:05:07 verbose #19518 > │ method18(v1, v93) │
00:05:07 verbose #19519 > │ struct (v95, v0) │
00:05:07 verbose #19520 > │ else │
00:05:07 verbose #19521 > │ let v97 : bool = v0 = "" │
00:05:07 verbose #19522 > │ let v101 : UH1 = │
00:05:07 verbose #19523 > │ if v97 then │
00:05:07 verbose #19524 > │ v1 │
00:05:07 verbose #19525 > │ else │
00:05:07 verbose #19526 > │ let v98 : UH1 = UH1_0 │
00:05:07 verbose #19527 > │ let v99 : UH1 = UH1_1(v0, v98) │
00:05:07 verbose #19528 > │ method18(v1, v99) │
00:05:07 verbose #19529 > │ struct (v101, v0) │
00:05:07 verbose #19530 > │ | US8_1(v106) -> (* Quoted *) │
00:05:07 verbose #19531 > │ let v107 : bool = '"' = v106 │
00:05:07 verbose #19532 > │ if v107 then │
00:05:07 verbose #19533 > │ match v2 with │
00:05:07 verbose #19534 > │ | UH0_1(v108, v109) -> (* Cons *) │
00:05:07 verbose #19535 > │ let v110 : bool = '"' = v108 │
00:05:07 verbose #19536 > │ if v110 then │
00:05:07 verbose #19537 > │ let v111 : US8 = US8_1('\\') │
00:05:07 verbose #19538 > │ let v112 : bool = v3 = v111 │
00:05:07 verbose #19539 > │ if v112 then │
00:05:07 verbose #19540 > │ let v113 : US8 = US8_0 │
00:05:07 verbose #19541 > │ method16(v0, v1, v109, v4, v113) │
00:05:07 verbose #19542 > │ else │
00:05:07 verbose #19543 > │ let v116 : bool = '\\' = v106 │
00:05:07 verbose #19544 > │ if v116 then │
00:05:07 verbose #19545 > │ let v117 : US8 = US8_2(0uy) │
00:05:07 verbose #19546 > │ let v118 : bool = v3 <> v117 │
00:05:07 verbose #19547 > │ if v118 then │
00:05:07 verbose #19548 > │ let v119 : string = $"{v0}\"" │
00:05:07 verbose #19549 > │ let v120 : char = '"' │
00:05:07 verbose #19550 > │ let v121 : US8 = US8_1(v120) │
00:05:07 verbose #19551 > │ method16(v119, v1, v109, v4, v121) │
00:05:07 verbose #19552 > │ else │
00:05:07 verbose #19553 > │ let v124 : US8 = US8_1('\\') │
00:05:07 verbose #19554 > │ let v125 : bool = v3 = v124 │
00:05:07 verbose #19555 > │ if v125 then │
00:05:07 verbose #19556 > │ let v126 : string = $"{v0}\"" │
00:05:07 verbose #19557 > │ let v127 : char = '"' │
00:05:07 verbose #19558 > │ let v128 : US8 = US8_1(v127) │
00:05:07 verbose #19559 > │ method16(v126, v1, v109, v4, v128) │
00:05:07 verbose #19560 > │ else │
00:05:07 verbose #19561 > │ let v131 : US8 = US8_0 │
00:05:07 verbose #19562 > │ method16(v0, v1, v109, v4, v131) │
00:05:07 verbose #19563 > │ else │
00:05:07 verbose #19564 > │ let v138 : bool = '\\' = v108 │
00:05:07 verbose #19565 > │ if v138 then │
00:05:07 verbose #19566 > │ let v139 : uint8 = 1uy │
00:05:07 verbose #19567 > │ let v140 : US8 = US8_2(v139) │
00:05:07 verbose #19568 > │ method16(v0, v1, v109, v4, v140) │
00:05:07 verbose #19569 > │ else │
00:05:07 verbose #19570 > │ let v143 : US8 = US8_2(0uy) │
00:05:07 verbose #19571 > │ let v144 : bool = v3 = v143 │
00:05:07 verbose #19572 > │ if v144 then │
00:05:07 verbose #19573 > │ let v145 : string = $"{v0}\"" │
00:05:07 verbose #19574 > │ let v146 : char = '"' │
00:05:07 verbose #19575 > │ let v147 : US8 = US8_1(v146) │
00:05:07 verbose #19576 > │ method16(v145, v1, v109, v4, v147) │
00:05:07 verbose #19577 > │ else │
00:05:07 verbose #19578 > │ let v150 : UH1 = UH1_0 │
00:05:07 verbose #19579 > │ let v151 : UH1 = UH1_1(v0, v150) │
00:05:07 verbose #19580 > │ let v152 : UH1 = method18(v1, v151) │
00:05:07 verbose #19581 > │ let v153 : string = "" │
00:05:07 verbose #19582 > │ let v154 : US8 = US8_0 │
00:05:07 verbose #19583 > │ method16(v153, v152, v109, v4, v154) │
00:05:07 verbose #19584 > │ else │
00:05:07 verbose #19585 > │ let v165 : bool = '\\' = v106 │
00:05:07 verbose #19586 > │ if v165 then │
00:05:07 verbose #19587 > │ let v166 : bool = '\\' = v108 │
00:05:07 verbose #19588 > │ if v166 then │
00:05:07 verbose #19589 > │ let v167 : uint8 = 1uy │
00:05:07 verbose #19590 > │ let v168 : US8 = US8_2(v167) │
00:05:07 verbose #19591 > │ method16(v0, v1, v109, v4, v168) │
00:05:07 verbose #19592 > │ else │
00:05:07 verbose #19593 > │ let v171 : bool = ' ' = v108 │
00:05:07 verbose #19594 > │ if v171 then │
00:05:07 verbose #19595 > │ let v172 : string = $"{v0} " │
00:05:07 verbose #19596 > │ method17(v172, v1, v109, v4) │
00:05:07 verbose #19597 > │ else │
00:05:07 verbose #19598 > │ let v175 : string = $"{v0}{v108}" │
00:05:07 verbose #19599 > │ method17(v175, v1, v109, v4) │
00:05:07 verbose #19600 > │ else │
00:05:07 verbose #19601 > │ let v182 : bool = '\\' = v108 │
00:05:07 verbose #19602 > │ if v182 then │
00:05:07 verbose #19603 > │ let v183 : uint8 = 1uy │
00:05:07 verbose #19604 > │ let v184 : US8 = US8_2(v183) │
00:05:07 verbose #19605 > │ method16(v0, v1, v109, v4, v184) │
00:05:07 verbose #19606 > │ else │
00:05:07 verbose #19607 > │ let v187 : bool = ' ' = v108 │
00:05:07 verbose #19608 > │ if v187 then │
00:05:07 verbose #19609 > │ let v188 : string = $"{v0} " │
00:05:07 verbose #19610 > │ method17(v188, v1, v109, v4) │
00:05:07 verbose #19611 > │ else │
00:05:07 verbose #19612 > │ let v191 : string = $"{v0}{v108}" │
00:05:07 verbose #19613 > │ method17(v191, v1, v109, v4) │
00:05:07 verbose #19614 > │ | _ -> │
00:05:07 verbose #19615 > │ let v202 : bool = '\\' = v106 │
00:05:07 verbose #19616 > │ if v202 then │
00:05:07 verbose #19617 > │ let v204 : bool = v0 = "" │
00:05:07 verbose #19618 > │ let v208 : UH1 = │
00:05:07 verbose #19619 > │ if v204 then │
00:05:07 verbose #19620 > │ v1 │
00:05:07 verbose #19621 > │ else │
00:05:07 verbose #19622 > │ let v205 : UH1 = UH1_0 │
00:05:07 verbose #19623 > │ let v206 : UH1 = UH1_1(v0, v205) │
00:05:07 verbose #19624 > │ method18(v1, v206) │
00:05:07 verbose #19625 > │ struct (v208, v0) │
00:05:07 verbose #19626 > │ else │
00:05:07 verbose #19627 > │ let v210 : bool = v0 = "" │
00:05:07 verbose #19628 > │ let v214 : UH1 = │
00:05:07 verbose #19629 > │ if v210 then │
00:05:07 verbose #19630 > │ v1 │
00:05:07 verbose #19631 > │ else │
00:05:07 verbose #19632 > │ let v211 : UH1 = UH1_0 │
00:05:07 verbose #19633 > │ let v212 : UH1 = UH1_1(v0, v211) │
00:05:07 verbose #19634 > │ method18(v1, v212) │
00:05:07 verbose #19635 > │ struct (v214, v0) │
00:05:07 verbose #19636 > │ else │
00:05:07 verbose #19637 > │ let v219 : bool = '\\' = v106 │
00:05:07 verbose #19638 > │ if v219 then │
00:05:07 verbose #19639 > │ match v2 with │
00:05:07 verbose #19640 > │ | UH0_1(v220, v221) -> (* Cons *) │
00:05:07 verbose #19641 > │ let v222 : bool = '"' = v220 │
00:05:07 verbose #19642 > │ if v222 then │
00:05:07 verbose #19643 > │ let v223 : US8 = US8_2(0uy) │
00:05:07 verbose #19644 > │ let v224 : bool = v3 <> v223 │
00:05:07 verbose #19645 > │ if v224 then │
00:05:07 verbose #19646 > │ let v225 : string = $"{v0}\"" │
00:05:07 verbose #19647 > │ let v226 : char = '"' │
00:05:07 verbose #19648 > │ let v227 : US8 = US8_1(v226) │
00:05:07 verbose #19649 > │ method16(v225, v1, v221, v4, v227) │
00:05:07 verbose #19650 > │ else │
00:05:07 verbose #19651 > │ let v230 : US8 = US8_1('\\') │
00:05:07 verbose #19652 > │ let v231 : bool = v3 = v230 │
00:05:07 verbose #19653 > │ if v231 then │
00:05:07 verbose #19654 > │ let v232 : string = $"{v0}\"" │
00:05:07 verbose #19655 > │ let v233 : char = '"' │
00:05:07 verbose #19656 > │ let v234 : US8 = US8_1(v233) │
00:05:07 verbose #19657 > │ method16(v232, v1, v221, v4, v234) │
00:05:07 verbose #19658 > │ else │
00:05:07 verbose #19659 > │ let v237 : US8 = US8_0 │
00:05:07 verbose #19660 > │ method16(v0, v1, v221, v4, v237) │
00:05:07 verbose #19661 > │ else │
00:05:07 verbose #19662 > │ let v244 : bool = '\\' = v220 │
00:05:07 verbose #19663 > │ if v244 then │
00:05:07 verbose #19664 > │ let v245 : uint8 = 1uy │
00:05:07 verbose #19665 > │ let v246 : US8 = US8_2(v245) │
00:05:07 verbose #19666 > │ method16(v0, v1, v221, v4, v246) │
00:05:07 verbose #19667 > │ else │
00:05:07 verbose #19668 > │ let v249 : bool = ' ' = v220 │
00:05:07 verbose #19669 > │ if v249 then │
00:05:07 verbose #19670 > │ let v250 : string = $"{v0} " │
00:05:07 verbose #19671 > │ method17(v250, v1, v221, v4) │
00:05:07 verbose #19672 > │ else │
00:05:07 verbose #19673 > │ let v253 : string = $"{v0}{v220}" │
00:05:07 verbose #19674 > │ method17(v253, v1, v221, v4) │
00:05:07 verbose #19675 > │ | _ -> │
00:05:07 verbose #19676 > │ let v263 : bool = v0 = "" │
00:05:07 verbose #19677 > │ let v267 : UH1 = │
00:05:07 verbose #19678 > │ if v263 then │
00:05:07 verbose #19679 > │ v1 │
00:05:07 verbose #19680 > │ else │
00:05:07 verbose #19681 > │ let v264 : UH1 = UH1_0 │
00:05:07 verbose #19682 > │ let v265 : UH1 = UH1_1(v0, v264) │
00:05:07 verbose #19683 > │ method18(v1, v265) │
00:05:07 verbose #19684 > │ struct (v267, v0) │
00:05:07 verbose #19685 > │ else │
00:05:07 verbose #19686 > │ match v2 with │
00:05:07 verbose #19687 > │ | UH0_1(v270, v271) -> (* Cons *) │
00:05:07 verbose #19688 > │ let v272 : bool = '\\' = v270 │
00:05:07 verbose #19689 > │ if v272 then │
00:05:07 verbose #19690 > │ let v273 : uint8 = 1uy │
00:05:07 verbose #19691 > │ let v274 : US8 = US8_2(v273) │
00:05:07 verbose #19692 > │ method16(v0, v1, v271, v4, v274) │
00:05:07 verbose #19693 > │ else │
00:05:07 verbose #19694 > │ let v277 : bool = '"' = v270 │
00:05:07 verbose #19695 > │ if v277 then │
00:05:07 verbose #19696 > │ let v278 : US8 = US8_2(0uy) │
00:05:07 verbose #19697 > │ let v279 : bool = v3 = v278 │
00:05:07 verbose #19698 > │ if v279 then │
00:05:07 verbose #19699 > │ let v280 : string = $"{v0}\"" │
00:05:07 verbose #19700 > │ let v281 : char = '"' │
00:05:07 verbose #19701 > │ let v282 : US8 = US8_1(v281) │
00:05:07 verbose #19702 > │ method16(v280, v1, v271, v4, v282) │
00:05:07 verbose #19703 > │ else │
00:05:07 verbose #19704 > │ let v285 : UH1 = UH1_0 │
00:05:07 verbose #19705 > │ let v286 : UH1 = UH1_1(v0, v285) │
00:05:07 verbose #19706 > │ let v287 : UH1 = method18(v1, v286) │
00:05:07 verbose #19707 > │ let v288 : string = "" │
00:05:07 verbose #19708 > │ let v289 : US8 = US8_0 │
00:05:07 verbose #19709 > │ method16(v288, v287, v271, v4, v289) │
00:05:07 verbose #19710 > │ else │
00:05:07 verbose #19711 > │ let v294 : bool = ' ' = v270 │
00:05:07 verbose #19712 > │ if v294 then │
00:05:07 verbose #19713 > │ let v295 : string = $"{v0} " │
00:05:07 verbose #19714 > │ method17(v295, v1, v271, v4) │
00:05:07 verbose #19715 > │ else │
00:05:07 verbose #19716 > │ let v298 : string = $"{v0}{v270}" │
00:05:07 verbose #19717 > │ method17(v298, v1, v271, v4) │
00:05:07 verbose #19718 > │ | _ -> │
00:05:07 verbose #19719 > │ let v308 : bool = v0 = "" │
00:05:07 verbose #19720 > │ let v312 : UH1 = │
00:05:07 verbose #19721 > │ if v308 then │
00:05:07 verbose #19722 > │ v1 │
00:05:07 verbose #19723 > │ else │
00:05:07 verbose #19724 > │ let v309 : UH1 = UH1_0 │
00:05:07 verbose #19725 > │ let v310 : UH1 = UH1_1(v0, v309) │
00:05:07 verbose #19726 > │ method18(v1, v310) │
00:05:07 verbose #19727 > │ struct (v312, v0) │
00:05:07 verbose #19728 > │ | US8_0 -> (* Start *) │
00:05:07 verbose #19729 > │ match v2 with │
00:05:07 verbose #19730 > │ | UH0_1(v5, v6) -> (* Cons *) │
00:05:07 verbose #19731 > │ let v7 : bool = '"' = v5 │
00:05:07 verbose #19732 > │ if v7 then │
00:05:07 verbose #19733 > │ let v8 : string = "" │
00:05:07 verbose #19734 > │ let v9 : char = '"' │
00:05:07 verbose #19735 > │ let v10 : US8 = US8_1(v9) │
00:05:07 verbose #19736 > │ method16(v8, v1, v6, v4, v10) │
00:05:07 verbose #19737 > │ else │
00:05:07 verbose #19738 > │ let v13 : bool = '\\' = v5 │
00:05:07 verbose #19739 > │ if v13 then │
00:05:07 verbose #19740 > │ let v14 : uint8 = 0uy │
00:05:07 verbose #19741 > │ let v15 : US8 = US8_2(v14) │
00:05:07 verbose #19742 > │ method16(v0, v1, v6, v4, v15) │
00:05:07 verbose #19743 > │ else │
00:05:07 verbose #19744 > │ let v18 : bool = ' ' = v5 │
00:05:07 verbose #19745 > │ if v18 then │
00:05:07 verbose #19746 > │ let v20 : bool = v0 = "" │
00:05:07 verbose #19747 > │ let v24 : UH1 = │
00:05:07 verbose #19748 > │ if v20 then │
00:05:07 verbose #19749 > │ v1 │
00:05:07 verbose #19750 > │ else │
00:05:07 verbose #19751 > │ let v21 : UH1 = UH1_0 │
00:05:07 verbose #19752 > │ let v22 : UH1 = UH1_1(v0, v21) │
00:05:07 verbose #19753 > │ method18(v1, v22) │
00:05:07 verbose #19754 > │ let v25 : string = "" │
00:05:07 verbose #19755 > │ method17(v25, v24, v6, v4) │
00:05:07 verbose #19756 > │ else │
00:05:07 verbose #19757 > │ let v28 : string = $"{v0}{v5}" │
00:05:07 verbose #19758 > │ method17(v28, v1, v6, v4) │
00:05:07 verbose #19759 > │ | _ -> │
00:05:07 verbose #19760 > │ let v38 : bool = v0 = "" │
00:05:07 verbose #19761 > │ let v42 : UH1 = │
00:05:07 verbose #19762 > │ if v38 then │
00:05:07 verbose #19763 > │ v1 │
00:05:07 verbose #19764 > │ else │
00:05:07 verbose #19765 > │ let v39 : UH1 = UH1_0 │
00:05:07 verbose #19766 > │ let v40 : UH1 = UH1_1(v0, v39) │
00:05:07 verbose #19767 > │ method18(v1, v40) │
00:05:07 verbose #19768 > │ struct (v42, v0) │
00:05:07 verbose #19769 > │ and method19 (v0 : UH1, v1 : string list) : string list = │
00:05:07 verbose #19770 > │ match v0 with │
00:05:07 verbose #19771 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:05:07 verbose #19772 > │ let v4 : string list = method19(v3, v1) │
00:05:07 verbose #19773 > │ let v5 : string list = v2 :: v4 │
00:05:07 verbose #19774 > │ v5 │
00:05:07 verbose #19775 > │ | UH1_0 -> (* Nil *) │
00:05:07 verbose #19776 > │ v1 │
00:05:07 verbose #19777 > │ and method15 (v0 : string) : (string []) = │
00:05:07 verbose #19778 > │ let v1 : UH1 = UH1_0 │
00:05:07 verbose #19779 > │ let v2 : string = "" │
00:05:07 verbose #19780 > │ let v3 : bool = true in let mutable _v0 = None │
00:05:07 verbose #19781 > │ #if !FABLE_COMPILER && !WASM && !CONTRACT │
00:05:07 verbose #19782 > │ let v4 : (string -> string option) = Option.ofObj │
00:05:07 verbose #19783 > │ let v5 : string option = v4 v0 │
00:05:07 verbose #19784 > │ v5 │
00:05:07 verbose #19785 > │ #else │
00:05:07 verbose #19786 > │ Some v0 │
00:05:07 verbose #19787 > │ #endif │
00:05:07 verbose #19788 > │ |> fun x -> _v0 <- Some x │
00:05:07 verbose #19789 > │ let v6 : string option = _v0.Value │
00:05:07 verbose #19790 > │ let v7 : (string -> US4) = method6() │
00:05:07 verbose #19791 > │ let v8 : US4 = US4_1 │
00:05:07 verbose #19792 > │ let v9 : US4 = v6 |> Option.map v7 |> Option.defaultValue v8 │
00:05:07 verbose #19793 > │ let v12 : string = │
00:05:07 verbose #19794 > │ match v9 with │
00:05:07 verbose #19795 > │ | US4_1 -> (* None *) │
00:05:07 verbose #19796 > │ v2 │
00:05:07 verbose #19797 > │ | US4_0(v10) -> (* Some *) │
00:05:07 verbose #19798 > │ v10 │
00:05:07 verbose #19799 > │ let v13 : int32 = v12.Length │
00:05:07 verbose #19800 > │ let v14 : (char []) = Array.zeroCreate<char> (v13) │
00:05:07 verbose #19801 > │ let v15 : Mut4 = {l0 = 0} : Mut4 │
00:05:07 verbose #19802 > │ while method3(v13, v15) do │
00:05:07 verbose #19803 > │ let v17 : int32 = v15.l0 │
00:05:07 verbose #19804 > │ let v18 : char = v12.[int v17] │
00:05:07 verbose #19805 > │ v14.[int v17] <- v18 │
00:05:07 verbose #19806 > │ let v19 : int32 = v17 + 1 │
00:05:07 verbose #19807 > │ v15.l0 <- v19 │
00:05:07 verbose #19808 > │ () │
00:05:07 verbose #19809 > │ let v20 : ((char []) -> char list) = Array.toList │
00:05:07 verbose #19810 > │ let v21 : char list = v20 v14 │
00:05:07 verbose #19811 > │ let v22 : ((char -> (UH0 -> UH0)) -> (char list -> (UH0 -> UH0))) = │
00:05:07 verbose #19812 > │ List.foldBack │
00:05:07 verbose #19813 > │ let v23 : (char -> (UH0 -> UH0)) = method4() │
00:05:07 verbose #19814 > │ let v24 : (char list -> (UH0 -> UH0)) = v22 v23 │
00:05:07 verbose #19815 > │ let v25 : (UH0 -> UH0) = v24 v21 │
00:05:07 verbose #19816 > │ let v26 : UH0 = UH0_0 │
00:05:07 verbose #19817 > │ let v27 : UH0 = v25 v26 │
00:05:07 verbose #19818 > │ let v28 : US8 = US8_0 │
00:05:07 verbose #19819 > │ let v29 : US8 = US8_0 │
00:05:07 verbose #19820 > │ let struct (v30 : UH1, v31 : string) = method16(v2, v1, v27, v29, v28) │
00:05:07 verbose #19821 > │ let v32 : string list = [] │
00:05:07 verbose #19822 > │ let v33 : string list = method19(v30, v32) │
00:05:07 verbose #19823 > │ let v34 : (string list -> (string [])) = List.toArray │
00:05:07 verbose #19824 > │ let v35 : (string []) = v34 v33 │
00:05:07 verbose #19825 > │ v35 │
00:05:07 verbose #19826 > │ and closure22 () (v0 : string) : (string []) = │
00:05:07 verbose #19827 > │ method15(v0) │
00:05:07 verbose #19828 > │ let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:07 verbose #19829 > │ closure0() │
00:05:07 verbose #19830 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:07 verbose #19831 > │ let v1 : (unit -> bool) = closure2() │
00:05:07 verbose #19832 > │ let is_windows () = v1 () │
00:05:07 verbose #19833 > │ let v2 : (unit -> string) = closure3() │
00:05:07 verbose #19834 > │ let get_executable_suffix () = v2 () │
00:05:07 verbose #19835 > │ let v3 : (string -> Async<struct (int32 * string)>) = closure4() │
00:05:07 verbose #19836 > │ let execute_async x = v3 x │
00:05:07 verbose #19837 > │ let v4 : (struct (System.Threading.CancellationToken option * string * │
00:05:07 verbose #19838 > │ (struct (string * string) []) * (struct (bool * string * int32) -> │
00:05:07 verbose #19839 > │ Async<unit>) option * (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> │
00:05:07 verbose #19840 > │ -> unit) option * string option) -> Async<struct (int32 * string)>) = │
00:05:07 verbose #19841 > │ closure20() │
00:05:07 verbose #19842 > │ let execute_with_options_async x = v4 x │
00:05:07 verbose #19843 > │ let v5 : ((Heap0 -> Heap0) -> struct (System.Threading.CancellationToken │
00:05:07 verbose #19844 > │ option * string * (struct (string * string) []) * (struct (bool * string * │
00:05:07 verbose #19845 > │ int32) -> Async<unit>) option * │
00:05:07 verbose #19846 > │ (std_sync_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option * │
00:05:07 verbose #19847 > │ string option)) = closure21() │
00:05:07 verbose #19848 > │ let execution_options x = v5 x │
00:05:07 verbose #19849 > │ let v6 : (string -> (string [])) = closure22() │
00:05:07 verbose #19850 > │ let split_args x = v6 x │
00:05:07 verbose #19851 > │ () │
00:05:07 verbose #19852 > │ │
00:05:07 verbose #19853 > │ │
00:05:07 verbose #19854 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:09 verbose #19855 > [NbConvertApp] Converting notebook runtime.dib.ipynb to html
00:05:09 verbose #19856 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:05:09 verbose #19857 > validate(nb)
00:05:11 verbose #19858 > [NbConvertApp] Writing 898752 bytes to runtime.dib.html
00:05:12 debug #19859 execute_with_options_async / exit_code: 0 / output.Length: 1115469
00:05:12 debug #8 main / executeCommand / exitCode: 0
00:05:12 debug #19860 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 trace.dib -Retries 3"", [||],
None, None, None)
00:05:13 verbose #19861 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: trace.dib / _args: [
00:05:13 verbose #19862 > "-Retries",
00:05:13 verbose #19863 > 3
00:05:13 verbose #19864 > ]
00:05:14 verbose #19865 >
00:05:15 verbose #19866 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:15 verbose #19867 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:15 verbose #19868 > │ # trace │
00:05:15 verbose #19869 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:15 verbose #19870 >
00:05:15 verbose #19871 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:15 verbose #19872 > //// test
00:05:15 verbose #19873 >
00:05:15 verbose #19874 > open testing
00:05:15 verbose #19875 >
00:05:15 verbose #19876 > ── spiral - import ─────────────────────────────────────────────────────────────
00:05:15 verbose #19877 > #r
00:05:15 verbose #19878 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:05:15 verbose #19879 > otNet.Interactive.Spiral.dll"
00:05:15 verbose #19880 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:05:15 verbose #19881 > #r
00:05:15 verbose #19882 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:05:15 verbose #19883 > otNet.Interactive.dll"
00:05:15 verbose #19884 > open type Microsoft.DotNet.Interactive.Kernel
00:05:19 verbose #19885 > 00:05:18 debug #260 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:05:19 verbose #19886 >
00:05:19 verbose #19887 > ╭─[ 4.83s - stdout ]───────────────────────────────────────────────────────────╮
00:05:19 verbose #19888 > │ () │
00:05:19 verbose #19889 > │ │
00:05:19 verbose #19890 > │ │
00:05:19 verbose #19891 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:19 verbose #19892 >
00:05:19 verbose #19893 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:19 verbose #19894 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:19 verbose #19895 > │ ## types │
00:05:19 verbose #19896 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:19 verbose #19897 >
00:05:19 verbose #19898 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:19 verbose #19899 > inl types () =
00:05:19 verbose #19900 > rust.types ()
00:05:19 verbose #19901 > sm'.types ()
00:05:20 verbose #19902 > 00:05:19 debug #261 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5511d5468be9fed5ed097108bef0268c55058733dc91249e3f198c656498a651/main.spi
00:05:20 verbose #19903 >
00:05:20 verbose #19904 > ╭─[ 675.75ms - stdout ]────────────────────────────────────────────────────────╮
00:05:20 verbose #19905 > │ () │
00:05:20 verbose #19906 > │ │
00:05:20 verbose #19907 > │ │
00:05:20 verbose #19908 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:20 verbose #19909 >
00:05:20 verbose #19910 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:20 verbose #19911 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:20 verbose #19912 > │ ## trace_level │
00:05:20 verbose #19913 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:20 verbose #19914 >
00:05:20 verbose #19915 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:20 verbose #19916 > union trace_level =
00:05:20 verbose #19917 > | Verbose
00:05:20 verbose #19918 > | Debug
00:05:20 verbose #19919 > | Info
00:05:20 verbose #19920 > | Warning
00:05:20 verbose #19921 > | Critical
00:05:20 verbose #19922 >
00:05:20 verbose #19923 > instance to_string trace_level = function
00:05:20 verbose #19924 > | Verbose => "Verbose"
00:05:20 verbose #19925 > | Debug => "Debug"
00:05:20 verbose #19926 > | Info => "Info"
00:05:20 verbose #19927 > | Warning => "Warning"
00:05:20 verbose #19928 > | Critical => "Critical"
00:05:20 verbose #19929 >
00:05:20 verbose #19930 > instance of_string trace_level = function
00:05:20 verbose #19931 > | "Verbose" => Verbose
00:05:20 verbose #19932 > | "Debug" => Debug
00:05:20 verbose #19933 > | "Info" => Info
00:05:20 verbose #19934 > | "Warning" => Warning
00:05:20 verbose #19935 > | "Critical" => Critical
00:05:21 verbose #19936 > 00:05:20 debug #262 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3df5fcb9dadab9221351ebd82e1f3a52e07fb533ee8d1d5d61409b87bc79713e/main.spi
00:05:21 verbose #19937 >
00:05:21 verbose #19938 > ╭─[ 679.66ms - stdout ]────────────────────────────────────────────────────────╮
00:05:21 verbose #19939 > │ () │
00:05:21 verbose #19940 > │ │
00:05:21 verbose #19941 > │ │
00:05:21 verbose #19942 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:21 verbose #19943 >
00:05:21 verbose #19944 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:21 verbose #19945 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:21 verbose #19946 > │ ## repl_start │
00:05:21 verbose #19947 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:21 verbose #19948 >
00:05:21 verbose #19949 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:21 verbose #19950 > inl repl_start () : optionm'.option' i64 =
00:05:21 verbose #19951 > inl result : optionm'.option' (optionm'.option' i64) = optionm'.none' ()
00:05:21 verbose #19952 > $"let mutable _!result = !result"
00:05:21 verbose #19953 > $'#if INTERACTIVE || \!FABLE_COMPILER' : ()
00:05:21 verbose #19954 > if get_entry_assembly_name () <> "Microsoft.DotNet.Interactive.App"
00:05:21 verbose #19955 > then date_time.now () |> date_time.ticks |> Some
00:05:21 verbose #19956 > else None
00:05:21 verbose #19957 > |> optionm'.box
00:05:21 verbose #19958 > |> fun x =>
00:05:21 verbose #19959 > inl x = join x
00:05:21 verbose #19960 > $'!x '
00:05:21 verbose #19961 > $'#else' : ()
00:05:21 verbose #19962 > (None : option i64) |> optionm'.box
00:05:21 verbose #19963 > |> fun x =>
00:05:21 verbose #19964 > inl x = join x
00:05:21 verbose #19965 > $'!x '
00:05:21 verbose #19966 > $'#endif' : ()
00:05:21 verbose #19967 > $"|> fun x -> _!result <- Some x"
00:05:21 verbose #19968 > $'_!result.Value'
00:05:21 verbose #19969 > 00:05:20 debug #263 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/02ba740a62880cf16184fb8fef76734352676dda3f24a4eab041dcd4661c0eae/main.spi
00:05:21 verbose #19970 >
00:05:21 verbose #19971 > ╭─[ 610.23ms - stdout ]────────────────────────────────────────────────────────╮
00:05:21 verbose #19972 > │ () │
00:05:21 verbose #19973 > │ │
00:05:21 verbose #19974 > │ │
00:05:21 verbose #19975 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:21 verbose #19976 >
00:05:21 verbose #19977 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:21 verbose #19978 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:21 verbose #19979 > │ ## trace_state │
00:05:21 verbose #19980 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:21 verbose #19981 >
00:05:21 verbose #19982 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:21 verbose #19983 > type trace_state =
00:05:21 verbose #19984 > {
00:05:21 verbose #19985 > count : mut i64
00:05:21 verbose #19986 > trace_file : mut (string -> ())
00:05:21 verbose #19987 > enabled : mut bool
00:05:21 verbose #19988 > level : mut trace_level
00:05:21 verbose #19989 > repl_start : optionm'.option' i64
00:05:21 verbose #19990 > }
00:05:21 verbose #19991 >
00:05:21 verbose #19992 > inl new_trace_state () =
00:05:21 verbose #19993 > {
00:05:21 verbose #19994 > enabled = mut true
00:05:21 verbose #19995 > count = mut 0i64
00:05:21 verbose #19996 > level = mut Verbose
00:05:21 verbose #19997 > trace_file = mut ignore
00:05:21 verbose #19998 > repl_start = repl_start ()
00:05:21 verbose #19999 > } : trace_state
00:05:22 verbose #20000 > 00:05:21 debug #264 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fb9b078c1e1b1fb72f33269d049d308ddaec01d443321e58b6cdec89d092552c/main.spi
00:05:22 verbose #20001 >
00:05:22 verbose #20002 > ╭─[ 608.36ms - stdout ]────────────────────────────────────────────────────────╮
00:05:22 verbose #20003 > │ () │
00:05:22 verbose #20004 > │ │
00:05:22 verbose #20005 > │ │
00:05:22 verbose #20006 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:22 verbose #20007 >
00:05:22 verbose #20008 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:22 verbose #20009 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:22 verbose #20010 > │ ## init_trace_state │
00:05:22 verbose #20011 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:22 verbose #20012 >
00:05:22 verbose #20013 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:22 verbose #20014 > inl init_trace_state () : () =
00:05:22 verbose #20015 > global "module State = let mutable trace_state = None"
00:05:22 verbose #20016 > $"if State.trace_state.IsNone then State.trace_state <- !new_trace_state ()
00:05:22 verbose #20017 > |> Some" : ()
00:05:22 verbose #20018 > 00:05:21 debug #265 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/aaaf0d01e1488005e6fc51a31c916c20ee2d4b3f7bbf44fa4fa7d93db9f62c77/main.spi
00:05:23 verbose #20019 >
00:05:23 verbose #20020 > ╭─[ 612.14ms - stdout ]────────────────────────────────────────────────────────╮
00:05:23 verbose #20021 > │ () │
00:05:23 verbose #20022 > │ │
00:05:23 verbose #20023 > │ │
00:05:23 verbose #20024 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:23 verbose #20025 >
00:05:23 verbose #20026 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:23 verbose #20027 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:23 verbose #20028 > │ ## get_trace_state │
00:05:23 verbose #20029 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:23 verbose #20030 >
00:05:23 verbose #20031 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:23 verbose #20032 > inl get_trace_state () : trace_state =
00:05:23 verbose #20033 > init_trace_state ()
00:05:23 verbose #20034 > $'State.trace_state.Value'
00:05:23 verbose #20035 > 00:05:22 debug #266 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2d2d3be67dd2e8248d3e432845e2e101a7cda54698931890b9be16f2219f24a1/main.spi
00:05:23 verbose #20036 >
00:05:23 verbose #20037 > ╭─[ 611.51ms - stdout ]────────────────────────────────────────────────────────╮
00:05:23 verbose #20038 > │ () │
00:05:23 verbose #20039 > │ │
00:05:23 verbose #20040 > │ │
00:05:23 verbose #20041 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:23 verbose #20042 >
00:05:23 verbose #20043 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:23 verbose #20044 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:23 verbose #20045 > │ ## _locals │
00:05:23 verbose #20046 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:23 verbose #20047 >
00:05:23 verbose #20048 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:23 verbose #20049 > inl _locals () = ""
00:05:24 verbose #20050 > 00:05:23 debug #267 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b20fbdf4f70ce28809e3eb36da5c519d4f127600a56698add7b5a8b5e7c5e0fa/main.spi
00:05:24 verbose #20051 >
00:05:24 verbose #20052 > ╭─[ 622.88ms - stdout ]────────────────────────────────────────────────────────╮
00:05:24 verbose #20053 > │ () │
00:05:24 verbose #20054 > │ │
00:05:24 verbose #20055 > │ │
00:05:24 verbose #20056 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:24 verbose #20057 >
00:05:24 verbose #20058 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:24 verbose #20059 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:24 verbose #20060 > │ ## test_trace_level │
00:05:24 verbose #20061 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:24 verbose #20062 >
00:05:24 verbose #20063 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:24 verbose #20064 > inl test_trace_level level : bool =
00:05:24 verbose #20065 > inl state = get_trace_state ()
00:05:24 verbose #20066 > inl level' = *state.level
00:05:24 verbose #20067 > if *state.enabled |> not
00:05:24 verbose #20068 > then false
00:05:24 verbose #20069 > else
00:05:24 verbose #20070 > inl level : i32 = real real_core.union_tag level
00:05:24 verbose #20071 > inl level' : i32 = real real_core.union_tag level'
00:05:24 verbose #20072 > level >= level'
00:05:24 verbose #20073 > 00:05:23 debug #268 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/082849387ca7a53c14ae08dd23bf6c64e70ceb61d327e699559c83cc3f60297d/main.spi
00:05:24 verbose #20074 >
00:05:24 verbose #20075 > ╭─[ 664.60ms - stdout ]────────────────────────────────────────────────────────╮
00:05:24 verbose #20076 > │ () │
00:05:24 verbose #20077 > │ │
00:05:24 verbose #20078 > │ │
00:05:24 verbose #20079 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:24 verbose #20080 >
00:05:24 verbose #20081 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:24 verbose #20082 > //// test
00:05:24 verbose #20083 >
00:05:24 verbose #20084 > test_trace_level Critical |> _assert_eq true
00:05:24 verbose #20085 > test_trace_level Verbose |> _assert_eq true
00:05:24 verbose #20086 >
00:05:24 verbose #20087 > inl level = get_trace_state () .level
00:05:24 verbose #20088 > level <- Debug
00:05:24 verbose #20089 > test_trace_level Verbose |> _assert_eq false
00:05:24 verbose #20090 > level <- Verbose
00:05:24 verbose #20091 > test_trace_level Verbose |> _assert_eq true
00:05:25 verbose #20092 > 00:05:24 debug #269 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7df33a7f3f3a00dcc2d56668d300e1aa5fd8f8641186453fb391ed549cb84af8/main.spi
00:05:26 verbose #20093 >
00:05:26 verbose #20094 > ╭─[ 1.96s - stdout ]───────────────────────────────────────────────────────────╮
00:05:26 verbose #20095 > │ module State = let mutable trace_state = None │
00:05:26 verbose #20096 > │ type Mut0 = {mutable l0 : int64} │
00:05:26 verbose #20097 > │ and Mut1 = {mutable l0 : bool} │
00:05:26 verbose #20098 > │ and [<Struct>] US0 = │
00:05:26 verbose #20099 > │ | US0_0 │
00:05:26 verbose #20100 > │ | US0_1 │
00:05:26 verbose #20101 > │ | US0_2 │
00:05:26 verbose #20102 > │ | US0_3 │
00:05:26 verbose #20103 > │ | US0_4 │
00:05:26 verbose #20104 > │ and Mut2 = {mutable l0 : US0} │
00:05:26 verbose #20105 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:05:26 verbose #20106 > │ and [<Struct>] US1 = │
00:05:26 verbose #20107 > │ | US1_0 of f0_0 : int64 │
00:05:26 verbose #20108 > │ | US1_1 │
00:05:26 verbose #20109 > │ let rec closure1 () (v0 : string) : unit = │
00:05:26 verbose #20110 > │ () │
00:05:26 verbose #20111 > │ and method1 (v0 : int64 option) : int64 option = │
00:05:26 verbose #20112 > │ v0 │
00:05:26 verbose #20113 > │ and method2 (v0 : int64 option) : int64 option = │
00:05:26 verbose #20114 > │ v0 │
00:05:26 verbose #20115 > │ and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:05:26 verbose #20116 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:05:26 verbose #20117 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:05:26 verbose #20118 > │ let v2 : US0 = US0_0 │
00:05:26 verbose #20119 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:05:26 verbose #20120 > │ let v4 : (string -> unit) = closure1() │
00:05:26 verbose #20121 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:05:26 verbose #20122 > │ let v6 : int64 option option = None │
00:05:26 verbose #20123 > │ let mutable _v6 = v6 │
00:05:26 verbose #20124 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:05:26 verbose #20125 > │ let v7 : string option = None │
00:05:26 verbose #20126 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:05:26 verbose #20127 > │ │
00:05:26 verbose #20128 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:26 verbose #20129 > │ │
00:05:26 verbose #20130 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:26 verbose #20131 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:05:26 verbose #20132 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:05:26 verbose #20133 > │ v10 │
00:05:26 verbose #20134 > │ #endif │
00:05:26 verbose #20135 > │ │
00:05:26 verbose #20136 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:26 verbose #20137 > │ let v11 : string = null |> unbox<string> │
00:05:26 verbose #20138 > │ v11 │
00:05:26 verbose #20139 > │ #endif │
00:05:26 verbose #20140 > │ │
00:05:26 verbose #20141 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:26 verbose #20142 > │ let v12 : string = null |> unbox<string> │
00:05:26 verbose #20143 > │ v12 │
00:05:26 verbose #20144 > │ #endif │
00:05:26 verbose #20145 > │ │
00:05:26 verbose #20146 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:26 verbose #20147 > │ let v13 : string = null |> unbox<string> │
00:05:26 verbose #20148 > │ v13 │
00:05:26 verbose #20149 > │ #endif │
00:05:26 verbose #20150 > │ │
00:05:26 verbose #20151 > │ #if FABLE_COMPILER_PYTHON │
00:05:26 verbose #20152 > │ let v14 : string = null |> unbox<string> │
00:05:26 verbose #20153 > │ v14 │
00:05:26 verbose #20154 > │ #endif │
00:05:26 verbose #20155 > │ │
00:05:26 verbose #20156 > │ #else │
00:05:26 verbose #20157 > │ let v15 : string = │
00:05:26 verbose #20158 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:05:26 verbose #20159 > │ v15 │
00:05:26 verbose #20160 > │ #endif │
00:05:26 verbose #20161 > │ |> fun x -> _v7 <- Some x │
00:05:26 verbose #20162 > │ let v16 : string = _v7.Value │
00:05:26 verbose #20163 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:05:26 verbose #20164 > │ let v19 : bool = v18 <> true │
00:05:26 verbose #20165 > │ let v25 : US1 = │
00:05:26 verbose #20166 > │ if v19 then │
00:05:26 verbose #20167 > │ let v20 : System.DateTime = System.DateTime.Now │
00:05:26 verbose #20168 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:05:26 verbose #20169 > │ let v22 : int64 = v21 v20 │
00:05:26 verbose #20170 > │ US1_0(v22) │
00:05:26 verbose #20171 > │ else │
00:05:26 verbose #20172 > │ US1_1 │
00:05:26 verbose #20173 > │ let v30 : int64 option = │
00:05:26 verbose #20174 > │ match v25 with │
00:05:26 verbose #20175 > │ | US1_1 -> (* None *) │
00:05:26 verbose #20176 > │ let v28 : int64 option = None │
00:05:26 verbose #20177 > │ v28 │
00:05:26 verbose #20178 > │ | US1_0(v26) -> (* Some *) │
00:05:26 verbose #20179 > │ let v27 : int64 option = Some v26 │
00:05:26 verbose #20180 > │ v27 │
00:05:26 verbose #20181 > │ let v31 : int64 option = method1(v30) │
00:05:26 verbose #20182 > │ v31 │
00:05:26 verbose #20183 > │ #else │
00:05:26 verbose #20184 > │ let v32 : int64 option = None │
00:05:26 verbose #20185 > │ let v33 : int64 option = method2(v32) │
00:05:26 verbose #20186 > │ v33 │
00:05:26 verbose #20187 > │ #endif │
00:05:26 verbose #20188 > │ |> fun x -> _v6 <- Some x │
00:05:26 verbose #20189 > │ let v34 : int64 option = _v6.Value │
00:05:26 verbose #20190 > │ struct (v1, v0, v3, v34, v5) │
00:05:26 verbose #20191 > │ and method3 (v0 : bool) : bool = │
00:05:26 verbose #20192 > │ v0 │
00:05:26 verbose #20193 > │ and method0 () : unit = │
00:05:26 verbose #20194 > │ let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:26 verbose #20195 > │ closure0() │
00:05:26 verbose #20196 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:26 verbose #20197 > │ let struct (v1 : Mut0, v2 : Mut1, v3 : Mut2, v4 : int64 option, v5 : │
00:05:26 verbose #20198 > │ Mut3) = State.trace_state.Value │
00:05:26 verbose #20199 > │ let v6 : US0 = v3.l0 │
00:05:26 verbose #20200 > │ let v7 : bool = v2.l0 │
00:05:26 verbose #20201 > │ let v8 : bool = v7 = false │
00:05:26 verbose #20202 > │ let v11 : bool = │
00:05:26 verbose #20203 > │ if v8 then │
00:05:26 verbose #20204 > │ false │
00:05:26 verbose #20205 > │ else │
00:05:26 verbose #20206 > │ let v9 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:26 verbose #20207 > │ US0_4, 4 ] |> Map |> Map.find v6 │
00:05:26 verbose #20208 > │ let v10 : bool = 4 >= v9 │
00:05:26 verbose #20209 > │ v10 │
00:05:26 verbose #20210 > │ let v13 : bool = │
00:05:26 verbose #20211 > │ if v11 then │
00:05:26 verbose #20212 > │ true │
00:05:26 verbose #20213 > │ else │
00:05:26 verbose #20214 > │ method3(v11) │
00:05:26 verbose #20215 > │ let v14 : string = "assert_eq" │
00:05:26 verbose #20216 > │ let v15 : string = $"{v14} / actual: %A{v11} / expected: %A{true}" │
00:05:26 verbose #20217 > │ System.Console.WriteLine v15 │
00:05:26 verbose #20218 > │ let v16 : bool = v13 = false │
00:05:26 verbose #20219 > │ if v16 then │
00:05:26 verbose #20220 > │ failwith<unit> v15 │
00:05:26 verbose #20221 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:26 verbose #20222 > │ let struct (v17 : Mut0, v18 : Mut1, v19 : Mut2, v20 : int64 option, v21 │
00:05:26 verbose #20223 > │ : Mut3) = State.trace_state.Value │
00:05:26 verbose #20224 > │ let v22 : US0 = v19.l0 │
00:05:26 verbose #20225 > │ let v23 : bool = v18.l0 │
00:05:26 verbose #20226 > │ let v24 : bool = v23 = false │
00:05:26 verbose #20227 > │ let v27 : bool = │
00:05:26 verbose #20228 > │ if v24 then │
00:05:26 verbose #20229 > │ false │
00:05:26 verbose #20230 > │ else │
00:05:26 verbose #20231 > │ let v25 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:26 verbose #20232 > │ US0_4, 4 ] |> Map |> Map.find v22 │
00:05:26 verbose #20233 > │ let v26 : bool = 0 >= v25 │
00:05:26 verbose #20234 > │ v26 │
00:05:26 verbose #20235 > │ let v29 : bool = │
00:05:26 verbose #20236 > │ if v27 then │
00:05:26 verbose #20237 > │ true │
00:05:26 verbose #20238 > │ else │
00:05:26 verbose #20239 > │ method3(v27) │
00:05:26 verbose #20240 > │ let v30 : string = $"{v14} / actual: %A{v27} / expected: %A{true}" │
00:05:26 verbose #20241 > │ System.Console.WriteLine v30 │
00:05:26 verbose #20242 > │ let v31 : bool = v29 = false │
00:05:26 verbose #20243 > │ if v31 then │
00:05:26 verbose #20244 > │ failwith<unit> v30 │
00:05:26 verbose #20245 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:26 verbose #20246 > │ let struct (v32 : Mut0, v33 : Mut1, v34 : Mut2, v35 : int64 option, v36 │
00:05:26 verbose #20247 > │ : Mut3) = State.trace_state.Value │
00:05:26 verbose #20248 > │ let v37 : US0 = US0_1 │
00:05:26 verbose #20249 > │ v34.l0 <- v37 │
00:05:26 verbose #20250 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:26 verbose #20251 > │ let struct (v38 : Mut0, v39 : Mut1, v40 : Mut2, v41 : int64 option, v42 │
00:05:26 verbose #20252 > │ : Mut3) = State.trace_state.Value │
00:05:26 verbose #20253 > │ let v43 : US0 = v40.l0 │
00:05:27 verbose #20254 > │ let v44 : bool = v39.l0 │
00:05:27 verbose #20255 > │ let v45 : bool = v44 = false │
00:05:27 verbose #20256 > │ let v48 : bool = │
00:05:27 verbose #20257 > │ if v45 then │
00:05:27 verbose #20258 > │ false │
00:05:27 verbose #20259 > │ else │
00:05:27 verbose #20260 > │ let v46 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:27 verbose #20261 > │ US0_4, 4 ] |> Map |> Map.find v43 │
00:05:27 verbose #20262 > │ let v47 : bool = 0 >= v46 │
00:05:27 verbose #20263 > │ v47 │
00:05:27 verbose #20264 > │ let v49 : bool = v48 = false │
00:05:27 verbose #20265 > │ let v51 : bool = │
00:05:27 verbose #20266 > │ if v49 then │
00:05:27 verbose #20267 > │ true │
00:05:27 verbose #20268 > │ else │
00:05:27 verbose #20269 > │ method3(v49) │
00:05:27 verbose #20270 > │ let v52 : string = $"{v14} / actual: %A{v48} / expected: %A{false}" │
00:05:27 verbose #20271 > │ System.Console.WriteLine v52 │
00:05:27 verbose #20272 > │ let v53 : bool = v51 = false │
00:05:27 verbose #20273 > │ if v53 then │
00:05:27 verbose #20274 > │ failwith<unit> v52 │
00:05:27 verbose #20275 > │ let v54 : US0 = US0_0 │
00:05:27 verbose #20276 > │ v34.l0 <- v54 │
00:05:27 verbose #20277 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:27 verbose #20278 > │ let struct (v55 : Mut0, v56 : Mut1, v57 : Mut2, v58 : int64 option, v59 │
00:05:27 verbose #20279 > │ : Mut3) = State.trace_state.Value │
00:05:27 verbose #20280 > │ let v60 : US0 = v57.l0 │
00:05:27 verbose #20281 > │ let v61 : bool = v56.l0 │
00:05:27 verbose #20282 > │ let v62 : bool = v61 = false │
00:05:27 verbose #20283 > │ let v65 : bool = │
00:05:27 verbose #20284 > │ if v62 then │
00:05:27 verbose #20285 > │ false │
00:05:27 verbose #20286 > │ else │
00:05:27 verbose #20287 > │ let v63 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:27 verbose #20288 > │ US0_4, 4 ] |> Map |> Map.find v60 │
00:05:27 verbose #20289 > │ let v64 : bool = 0 >= v63 │
00:05:27 verbose #20290 > │ v64 │
00:05:27 verbose #20291 > │ let v67 : bool = │
00:05:27 verbose #20292 > │ if v65 then │
00:05:27 verbose #20293 > │ true │
00:05:27 verbose #20294 > │ else │
00:05:27 verbose #20295 > │ method3(v65) │
00:05:27 verbose #20296 > │ let v68 : string = $"{v14} / actual: %A{v65} / expected: %A{true}" │
00:05:27 verbose #20297 > │ System.Console.WriteLine v68 │
00:05:27 verbose #20298 > │ let v69 : bool = v67 = false │
00:05:27 verbose #20299 > │ if v69 then │
00:05:27 verbose #20300 > │ failwith<unit> v68 │
00:05:27 verbose #20301 > │ method0() │
00:05:27 verbose #20302 > │ │
00:05:27 verbose #20303 > │ assert_eq / actual: true / expected: true │
00:05:27 verbose #20304 > │ assert_eq / actual: true / expected: true │
00:05:27 verbose #20305 > │ assert_eq / actual: false / expected: false │
00:05:27 verbose #20306 > │ assert_eq / actual: true / expected: true │
00:05:27 verbose #20307 > │ │
00:05:27 verbose #20308 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:27 verbose #20309 >
00:05:27 verbose #20310 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:27 verbose #20311 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:27 verbose #20312 > │ ## trace_raw │
00:05:27 verbose #20313 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:27 verbose #20314 >
00:05:27 verbose #20315 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:27 verbose #20316 > let rec trace_raw level fn =
00:05:27 verbose #20317 > inl trace_state = get_trace_state ()
00:05:27 verbose #20318 > if level |> test_trace_level then
00:05:27 verbose #20319 > inl count = trace_state.count
00:05:27 verbose #20320 > count <- *trace_state.count + 1
00:05:27 verbose #20321 >
00:05:27 verbose #20322 > inl text = $'$"%s{!fn ()}"' : string
00:05:27 verbose #20323 > run_target function
00:05:27 verbose #20324 > | Rust _ => fun () =>
00:05:27 verbose #20325 > open rust_operators
00:05:27 verbose #20326 > !\\(text, $'\@"println\!(""{}"", $0)"')
00:05:27 verbose #20327 > | _ => fun () =>
00:05:27 verbose #20328 > $'System.Console.WriteLine !text '
00:05:27 verbose #20329 >
00:05:27 verbose #20330 > *trace_state.trace_file text
00:05:27 verbose #20331 > 00:05:26 debug #270 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3908ebf154bc2a24051a30eaa489cbbdd2c1745cef5a683da167551e0e7dbe3f/main.spi
00:05:27 verbose #20332 >
00:05:27 verbose #20333 > ╭─[ 593.00ms - stdout ]────────────────────────────────────────────────────────╮
00:05:27 verbose #20334 > │ () │
00:05:27 verbose #20335 > │ │
00:05:27 verbose #20336 > │ │
00:05:27 verbose #20337 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:27 verbose #20338 >
00:05:27 verbose #20339 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:27 verbose #20340 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:27 verbose #20341 > │ ## trace │
00:05:27 verbose #20342 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:27 verbose #20343 >
00:05:27 verbose #20344 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:27 verbose #20345 > let trace (level : trace_level) (fn : () -> string) (locals : () -> string) =
00:05:27 verbose #20346 > fun () =>
00:05:27 verbose #20347 > inl trace_state = get_trace_state ()
00:05:27 verbose #20348 > inl time =
00:05:27 verbose #20349 > run_target fun target =>
00:05:27 verbose #20350 > match target with
00:05:27 verbose #20351 > | Fsharp (Native)
00:05:27 verbose #20352 > | Rust (Native) => fun () =>
00:05:27 verbose #20353 > match trace_state.repl_start |> optionm'.unbox with
00:05:27 verbose #20354 > | Some repl_start =>
00:05:27 verbose #20355 > inl t =
00:05:27 verbose #20356 > (date_time.now () |> date_time.ticks |> fun
00:05:27 verbose #20357 > (date_time.timestamp x) => x)
00:05:27 verbose #20358 > - repl_start |> date_time.time_span
00:05:27 verbose #20359 > date_time.date_time_milliseconds
00:05:27 verbose #20360 > 1i32 1i32 1i32
00:05:27 verbose #20361 > (t |> date_time.hours)
00:05:27 verbose #20362 > (t |> date_time.minutes)
00:05:27 verbose #20363 > (t |> date_time.seconds)
00:05:27 verbose #20364 > (t |> date_time.milliseconds)
00:05:27 verbose #20365 > | None => date_time.now ()
00:05:27 verbose #20366 > |> fun date_time =>
00:05:27 verbose #20367 > inl format =
00:05:27 verbose #20368 > match target with
00:05:27 verbose #20369 > | Rust _ => "hh:mm:ss"
00:05:27 verbose #20370 > | _ => "HH:mm:ss"
00:05:27 verbose #20371 > $'!date_time.ToString !format '
00:05:27 verbose #20372 > | _ => fun () => join ""
00:05:27 verbose #20373 > inl count = *trace_state.count
00:05:27 verbose #20374 > inl level_str = level |> to_string |> sm'.to_lower |> sm'.pad_left 7 ' '
00:05:27 verbose #20375 > inl level_str =
00:05:27 verbose #20376 > run_target function
00:05:27 verbose #20377 > | Rust _ => fun () =>
00:05:27 verbose #20378 > open rust_operators
00:05:27 verbose #20379 > inl color : rust.ref' sm'.str =
00:05:27 verbose #20380 > match level with
00:05:27 verbose #20381 > | Verbose =>
00:05:27 verbose #20382 > !\($'"inline_colorization::color_bright_black"')
00:05:27 verbose #20383 > | Debug => !\($'"inline_colorization::color_bright_blue"')
00:05:27 verbose #20384 > | Info => !\($'"inline_colorization::color_bright_green"')
00:05:27 verbose #20385 > | Warning =>
00:05:27 verbose #20386 > !\($'"inline_colorization::color_bright_yellow"')
00:05:27 verbose #20387 > | Critical => !\($'"inline_colorization::color_bright_red"')
00:05:27 verbose #20388 > inl level_str = level_str |> sm'.as_str
00:05:27 verbose #20389 > inl color_reset : rust.ref' sm'.str =
00:05:27 verbose #20390 > !\($'"inline_colorization::color_reset"')
00:05:27 verbose #20391 > $'"\\\"{!color}{!level_str}{!color_reset}\\\""'
00:05:27 verbose #20392 > |> sm'.format''
00:05:27 verbose #20393 > |> sm'.from_std_string
00:05:27 verbose #20394 > | _ => fun () => level_str
00:05:27 verbose #20395 > inl text = fn ()
00:05:27 verbose #20396 > $'$"{!time} {!level_str} #{!count} %s{!text} / %s{!locals ()}"'
00:05:27 verbose #20397 > |> sm'.trim_start ;[[]]
00:05:27 verbose #20398 > |> sm'.trim_end ;[[ ' '; '/' ]]
00:05:27 verbose #20399 > |> trace_raw level
00:05:28 verbose #20400 > 00:05:27 debug #271 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ec8832bb9b8bdf8ad43a24f67da8bdf39ea7889d9f898e0d14fe41d4cafb8c95/main.spi
00:05:28 verbose #20401 >
00:05:28 verbose #20402 > ╭─[ 624.24ms - stdout ]────────────────────────────────────────────────────────╮
00:05:28 verbose #20403 > │ () │
00:05:28 verbose #20404 > │ │
00:05:28 verbose #20405 > │ │
00:05:28 verbose #20406 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:28 verbose #20407 >
00:05:28 verbose #20408 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:28 verbose #20409 > //// test
00:05:28 verbose #20410 > //// print_code=false
00:05:28 verbose #20411 >
00:05:28 verbose #20412 > trace Debug (fun () => "test") _locals
00:05:28 verbose #20413 > trace Debug (fun () => "test") _locals
00:05:28 verbose #20414 > get_trace_state () .count
00:05:28 verbose #20415 > |> fun x => *x
00:05:28 verbose #20416 > |> _assert_eq 2
00:05:28 verbose #20417 > 00:05:27 debug #272 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c86e0c845c2c85d671b7530be12ce9ac518be97b154f4cfde97e64cdb03391ac/main.spi
00:05:29 verbose #20418 >
00:05:29 verbose #20419 > ╭─[ 1.01s - stdout ]───────────────────────────────────────────────────────────╮
00:05:29 verbose #20420 > │ 00:00:00 debug #1 test │
00:05:29 verbose #20421 > │ 00:00:00 debug #2 test │
00:05:29 verbose #20422 > │ assert_eq / actual: 2L / expected: 2L │
00:05:29 verbose #20423 > │ │
00:05:29 verbose #20424 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:29 verbose #20425 >
00:05:29 verbose #20426 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:29 verbose #20427 > //// test
00:05:29 verbose #20428 > //// print_code=false
00:05:29 verbose #20429 > ///! rust
00:05:29 verbose #20430 >
00:05:29 verbose #20431 > types ()
00:05:29 verbose #20432 > trace Debug (fun () => "test1") _locals
00:05:29 verbose #20433 > trace Debug (fun () => "test2") _locals
00:05:29 verbose #20434 > get_trace_state () .count
00:05:29 verbose #20435 > |> fun x => *x
00:05:29 verbose #20436 > |> _assert_eq 2
00:05:29 verbose #20437 > 00:05:28 debug #273 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5d6db9cc0b2c42f2a1cc401fa57e93ec47a76836dd4863cdc92c6b42349483c5/main.spi
00:05:38 verbose #20438 >
00:05:38 verbose #20439 > ╭─[ 9.63s - return value ]─────────────────────────────────────────────────────╮
00:05:38 verbose #20440 > │ 02:40:00 debug #1 test1 │
00:05:38 verbose #20441 > │ 02:40:00 debug #2 test2 │
00:05:38 verbose #20442 > │ assert_eq / actual: 2 / expected: 2 │
00:05:38 verbose #20443 > │ │
00:05:38 verbose #20444 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:38 verbose #20445 >
00:05:38 verbose #20446 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:38 verbose #20447 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:38 verbose #20448 > │ ## main │
00:05:38 verbose #20449 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:38 verbose #20450 >
00:05:38 verbose #20451 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:38 verbose #20452 > inl main () =
00:05:38 verbose #20453 > types ()
00:05:38 verbose #20454 > init_trace_state ()
00:05:38 verbose #20455 > $"let trace x = !trace x" : ()
00:05:39 verbose #20456 > 00:05:38 debug #274 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5972f6fc1b7cc28969d0c5e5af31bbaad2d1a414886bf25003888086c92c4c1a/main.spi
00:05:39 verbose #20457 >
00:05:39 verbose #20458 > ╭─[ 840.72ms - stdout ]────────────────────────────────────────────────────────╮
00:05:39 verbose #20459 > │ #if FABLE_COMPILER │
00:05:39 verbose #20460 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:05:39 verbose #20461 > │ #endif │
00:05:39 verbose #20462 > │ type Func0<'T> = class end │
00:05:39 verbose #20463 > │ #if FABLE_COMPILER │
00:05:39 verbose #20464 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:05:39 verbose #20465 > │ #endif │
00:05:39 verbose #20466 > │ type Func0<'T, 'U> = class end │
00:05:39 verbose #20467 > │ #if FABLE_COMPILER │
00:05:39 verbose #20468 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:05:39 verbose #20469 > │ #endif │
00:05:39 verbose #20470 > │ type Box<'T> = class end │
00:05:39 verbose #20471 > │ #if FABLE_COMPILER │
00:05:39 verbose #20472 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:05:39 verbose #20473 > │ #endif │
00:05:39 verbose #20474 > │ type Dyn<'T> = class end │
00:05:39 verbose #20475 > │ #if FABLE_COMPILER │
00:05:39 verbose #20476 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:05:39 verbose #20477 > │ #endif │
00:05:39 verbose #20478 > │ type Send<'T> = class end │
00:05:39 verbose #20479 > │ #if FABLE_COMPILER │
00:05:39 verbose #20480 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:05:39 verbose #20481 > │ #endif │
00:05:39 verbose #20482 > │ type Fn<'T> = class end │
00:05:39 verbose #20483 > │ #if FABLE_COMPILER │
00:05:39 verbose #20484 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:05:39 verbose #20485 > │ #endif │
00:05:39 verbose #20486 > │ type FnUnit = class end │
00:05:39 verbose #20487 > │ #if FABLE_COMPILER │
00:05:39 verbose #20488 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:05:39 verbose #20489 > │ #endif │
00:05:39 verbose #20490 > │ type FnOnce<'T> = class end │
00:05:39 verbose #20491 > │ #if FABLE_COMPILER │
00:05:39 verbose #20492 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:05:39 verbose #20493 > │ #endif │
00:05:39 verbose #20494 > │ type ActionFn<'T> = class end │
00:05:39 verbose #20495 > │ #if FABLE_COMPILER │
00:05:39 verbose #20496 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:05:39 verbose #20497 > │ #endif │
00:05:39 verbose #20498 > │ type ActionFn2<'T, 'U> = class end │
00:05:39 verbose #20499 > │ #if FABLE_COMPILER │
00:05:39 verbose #20500 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:05:39 verbose #20501 > │ #endif │
00:05:39 verbose #20502 > │ type Impl<'T> = class end │
00:05:39 verbose #20503 > │ #if FABLE_COMPILER │
00:05:39 verbose #20504 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:05:39 verbose #20505 > │ #endif │
00:05:39 verbose #20506 > │ type Mut<'T> = class end │
00:05:39 verbose #20507 > │ #if FABLE_COMPILER │
00:05:39 verbose #20508 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:05:39 verbose #20509 > │ #endif │
00:05:39 verbose #20510 > │ type Ref<'T> = class end │
00:05:39 verbose #20511 > │ #if FABLE_COMPILER │
00:05:39 verbose #20512 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:05:39 verbose #20513 > │ #endif │
00:05:39 verbose #20514 > │ type StaticRef<'T> = class end │
00:05:39 verbose #20515 > │ #if FABLE_COMPILER │
00:05:39 verbose #20516 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:05:39 verbose #20517 > │ #endif │
00:05:39 verbose #20518 > │ type MutCell<'T> = class end │
00:05:39 verbose #20519 > │ #if FABLE_COMPILER │
00:05:39 verbose #20520 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:05:39 verbose #20521 > │ #endif │
00:05:39 verbose #20522 > │ type std_any_Any = class end │
00:05:39 verbose #20523 > │ #if FABLE_COMPILER │
00:05:39 verbose #20524 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:05:39 verbose #20525 > │ #endif │
00:05:39 verbose #20526 > │ type std_borrow_Cow<'T> = class end │
00:05:39 verbose #20527 > │ #if FABLE_COMPILER │
00:05:39 verbose #20528 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:05:39 verbose #20529 > │ #endif │
00:05:39 verbose #20530 > │ type std_cell_RefCell<'T> = class end │
00:05:39 verbose #20531 > │ #if FABLE_COMPILER │
00:05:39 verbose #20532 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:05:39 verbose #20533 > │ #endif │
00:05:39 verbose #20534 > │ type std_pin_Pin<'T> = class end │
00:05:39 verbose #20535 > │ #if FABLE_COMPILER │
00:05:39 verbose #20536 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:05:39 verbose #20537 > │ #endif │
00:05:39 verbose #20538 > │ type std_rc_Rc<'T> = class end │
00:05:39 verbose #20539 > │ #if FABLE_COMPILER │
00:05:39 verbose #20540 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:05:39 verbose #20541 > │ #endif │
00:05:39 verbose #20542 > │ type std_rc_Weak<'T> = class end │
00:05:39 verbose #20543 > │ #if FABLE_COMPILER │
00:05:39 verbose #20544 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:05:39 verbose #20545 > │ #endif │
00:05:39 verbose #20546 > │ type Str = class end │
00:05:39 verbose #20547 > │ #if FABLE_COMPILER │
00:05:39 verbose #20548 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:05:39 verbose #20549 > │ #endif │
00:05:39 verbose #20550 > │ type base64_DecodeError = class end │
00:05:39 verbose #20551 > │ #if FABLE_COMPILER │
00:05:39 verbose #20552 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:05:39 verbose #20553 > │ #endif │
00:05:39 verbose #20554 > │ type borsh_io_Error = class end │
00:05:39 verbose #20555 > │ #if FABLE_COMPILER │
00:05:39 verbose #20556 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:05:39 verbose #20557 > │ #endif │
00:05:39 verbose #20558 > │ type js_sys_JsString = class end │
00:05:39 verbose #20559 > │ #if FABLE_COMPILER │
00:05:39 verbose #20560 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:05:39 verbose #20561 > │ #endif │
00:05:39 verbose #20562 > │ type serde_json_Error = class end │
00:05:39 verbose #20563 > │ #if FABLE_COMPILER │
00:05:39 verbose #20564 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:05:39 verbose #20565 > │ #endif │
00:05:39 verbose #20566 > │ type serde_json_Value = class end │
00:05:39 verbose #20567 > │ #if FABLE_COMPILER │
00:05:39 verbose #20568 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:05:39 verbose #20569 > │ #endif │
00:05:39 verbose #20570 > │ type serde_wasm_bindgen_Error = class end │
00:05:39 verbose #20571 > │ #if FABLE_COMPILER │
00:05:39 verbose #20572 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:05:39 verbose #20573 > │ #endif │
00:05:39 verbose #20574 > │ type std_ffi_OsStr = class end │
00:05:39 verbose #20575 > │ #if FABLE_COMPILER │
00:05:39 verbose #20576 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:05:39 verbose #20577 > │ #endif │
00:05:39 verbose #20578 > │ type std_ffi_OsString = class end │
00:05:39 verbose #20579 > │ #if FABLE_COMPILER │
00:05:39 verbose #20580 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:05:39 verbose #20581 > │ #endif │
00:05:39 verbose #20582 > │ type std_fmt_Display<'T> = class end │
00:05:39 verbose #20583 > │ #if FABLE_COMPILER │
00:05:39 verbose #20584 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:05:39 verbose #20585 > │ #endif │
00:05:39 verbose #20586 > │ type std_str_Utf8Error = class end │
00:05:39 verbose #20587 > │ #if FABLE_COMPILER │
00:05:39 verbose #20588 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:05:39 verbose #20589 > │ #endif │
00:05:39 verbose #20590 > │ type std_string_FromUtf8Error = class end │
00:05:39 verbose #20591 > │ #if FABLE_COMPILER │
00:05:39 verbose #20592 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:05:39 verbose #20593 > │ #endif │
00:05:39 verbose #20594 > │ type std_string_String = class end │
00:05:39 verbose #20595 > │ #if FABLE_COMPILER │
00:05:39 verbose #20596 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:05:39 verbose #20597 > │ #endif │
00:05:39 verbose #20598 > │ type std_slice_Windows<'T> = class end │
00:05:39 verbose #20599 > │ module State = let mutable trace_state = None │
00:05:39 verbose #20600 > │ type Mut0 = {mutable l0 : int64} │
00:05:39 verbose #20601 > │ and Mut1 = {mutable l0 : bool} │
00:05:39 verbose #20602 > │ and [<Struct>] US0 = │
00:05:39 verbose #20603 > │ | US0_0 │
00:05:39 verbose #20604 > │ | US0_1 │
00:05:39 verbose #20605 > │ | US0_2 │
00:05:39 verbose #20606 > │ | US0_3 │
00:05:39 verbose #20607 > │ | US0_4 │
00:05:39 verbose #20608 > │ and Mut2 = {mutable l0 : US0} │
00:05:39 verbose #20609 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:05:39 verbose #20610 > │ and [<Struct>] US1 = │
00:05:39 verbose #20611 > │ | US1_0 of f0_0 : int64 │
00:05:39 verbose #20612 > │ | US1_1 │
00:05:39 verbose #20613 > │ and [<Struct>] US2 = │
00:05:39 verbose #20614 > │ | US2_0 of f0_0 : int64 │
00:05:39 verbose #20615 > │ | US2_1 │
00:05:39 verbose #20616 > │ let rec closure1 () (v0 : string) : unit = │
00:05:39 verbose #20617 > │ () │
00:05:39 verbose #20618 > │ and method0 (v0 : int64 option) : int64 option = │
00:05:39 verbose #20619 > │ v0 │
00:05:39 verbose #20620 > │ and method1 (v0 : int64 option) : int64 option = │
00:05:39 verbose #20621 > │ v0 │
00:05:39 verbose #20622 > │ and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:05:39 verbose #20623 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:05:39 verbose #20624 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:05:39 verbose #20625 > │ let v2 : US0 = US0_0 │
00:05:39 verbose #20626 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:05:39 verbose #20627 > │ let v4 : (string -> unit) = closure1() │
00:05:39 verbose #20628 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:05:39 verbose #20629 > │ let v6 : int64 option option = None │
00:05:39 verbose #20630 > │ let mutable _v6 = v6 │
00:05:39 verbose #20631 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:05:39 verbose #20632 > │ let v7 : string option = None │
00:05:39 verbose #20633 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:05:39 verbose #20634 > │ │
00:05:39 verbose #20635 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:39 verbose #20636 > │ │
00:05:39 verbose #20637 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:39 verbose #20638 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:05:39 verbose #20639 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:05:39 verbose #20640 > │ v10 │
00:05:39 verbose #20641 > │ #endif │
00:05:39 verbose #20642 > │ │
00:05:39 verbose #20643 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:39 verbose #20644 > │ let v11 : string = null |> unbox<string> │
00:05:39 verbose #20645 > │ v11 │
00:05:39 verbose #20646 > │ #endif │
00:05:39 verbose #20647 > │ │
00:05:39 verbose #20648 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:39 verbose #20649 > │ let v12 : string = null |> unbox<string> │
00:05:39 verbose #20650 > │ v12 │
00:05:39 verbose #20651 > │ #endif │
00:05:39 verbose #20652 > │ │
00:05:39 verbose #20653 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:39 verbose #20654 > │ let v13 : string = null |> unbox<string> │
00:05:39 verbose #20655 > │ v13 │
00:05:39 verbose #20656 > │ #endif │
00:05:39 verbose #20657 > │ │
00:05:39 verbose #20658 > │ #if FABLE_COMPILER_PYTHON │
00:05:39 verbose #20659 > │ let v14 : string = null |> unbox<string> │
00:05:39 verbose #20660 > │ v14 │
00:05:39 verbose #20661 > │ #endif │
00:05:39 verbose #20662 > │ │
00:05:39 verbose #20663 > │ #else │
00:05:39 verbose #20664 > │ let v15 : string = │
00:05:39 verbose #20665 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:05:39 verbose #20666 > │ v15 │
00:05:39 verbose #20667 > │ #endif │
00:05:39 verbose #20668 > │ |> fun x -> _v7 <- Some x │
00:05:39 verbose #20669 > │ let v16 : string = _v7.Value │
00:05:39 verbose #20670 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:05:39 verbose #20671 > │ let v19 : bool = v18 <> true │
00:05:39 verbose #20672 > │ let v25 : US1 = │
00:05:39 verbose #20673 > │ if v19 then │
00:05:39 verbose #20674 > │ let v20 : System.DateTime = System.DateTime.Now │
00:05:39 verbose #20675 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:05:39 verbose #20676 > │ let v22 : int64 = v21 v20 │
00:05:39 verbose #20677 > │ US1_0(v22) │
00:05:39 verbose #20678 > │ else │
00:05:39 verbose #20679 > │ US1_1 │
00:05:39 verbose #20680 > │ let v30 : int64 option = │
00:05:39 verbose #20681 > │ match v25 with │
00:05:39 verbose #20682 > │ | US1_1 -> (* None *) │
00:05:39 verbose #20683 > │ let v28 : int64 option = None │
00:05:39 verbose #20684 > │ v28 │
00:05:39 verbose #20685 > │ | US1_0(v26) -> (* Some *) │
00:05:39 verbose #20686 > │ let v27 : int64 option = Some v26 │
00:05:39 verbose #20687 > │ v27 │
00:05:39 verbose #20688 > │ let v31 : int64 option = method0(v30) │
00:05:39 verbose #20689 > │ v31 │
00:05:39 verbose #20690 > │ #else │
00:05:39 verbose #20691 > │ let v32 : int64 option = None │
00:05:39 verbose #20692 > │ let v33 : int64 option = method1(v32) │
00:05:39 verbose #20693 > │ v33 │
00:05:39 verbose #20694 > │ #endif │
00:05:39 verbose #20695 > │ |> fun x -> _v6 <- Some x │
00:05:39 verbose #20696 > │ let v34 : int64 option = _v6.Value │
00:05:39 verbose #20697 > │ struct (v1, v0, v3, v34, v5) │
00:05:39 verbose #20698 > │ and closure6 () (v0 : int64) : US2 = │
00:05:39 verbose #20699 > │ US2_0(v0) │
00:05:39 verbose #20700 > │ and method3 () : (int64 -> US2) = │
00:05:39 verbose #20701 > │ closure6() │
00:05:39 verbose #20702 > │ and method4 () : string = │
00:05:39 verbose #20703 > │ let v0 : string = "" │
00:05:39 verbose #20704 > │ v0 │
00:05:39 verbose #20705 > │ and closure5 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:05:39 verbose #20706 > │ string = │
00:05:39 verbose #20707 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:39 verbose #20708 > │ closure0() │
00:05:39 verbose #20709 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:05:39 verbose #20710 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:05:39 verbose #20711 > │ Mut3) = State.trace_state.Value │
00:05:39 verbose #20712 > │ let v9 : string option = None │
00:05:39 verbose #20713 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:05:39 verbose #20714 > │ │
00:05:39 verbose #20715 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:39 verbose #20716 > │ │
00:05:39 verbose #20717 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:39 verbose #20718 > │ let v11 : (int64 -> US2) = method3() │
00:05:39 verbose #20719 > │ let v12 : US2 = US2_1 │
00:05:39 verbose #20720 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:05:39 verbose #20721 > │ let v31 : System.DateTime = │
00:05:39 verbose #20722 > │ match v13 with │
00:05:39 verbose #20723 > │ | US2_1 -> (* None *) │
00:05:39 verbose #20724 > │ let v29 : System.DateTime = System.DateTime.Now │
00:05:39 verbose #20725 > │ v29 │
00:05:39 verbose #20726 > │ | US2_0(v14) -> (* Some *) │
00:05:39 verbose #20727 > │ let v15 : System.DateTime = System.DateTime.Now │
00:05:39 verbose #20728 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:05:39 verbose #20729 > │ let v17 : int64 = v16 v15 │
00:05:39 verbose #20730 > │ let v18 : int64 = v17 - v14 │
00:05:39 verbose #20731 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:05:39 verbose #20732 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:05:39 verbose #20733 > │ let v21 : int32 = v20 v19 │
00:05:39 verbose #20734 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:05:39 verbose #20735 > │ let v23 : int32 = v22 v19 │
00:05:39 verbose #20736 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:05:39 verbose #20737 > │ let v25 : int32 = v24 v19 │
00:05:39 verbose #20738 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:05:39 verbose #20739 > │ let v27 : int32 = v26 v19 │
00:05:39 verbose #20740 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:05:39 verbose #20741 > │ v25, v27) │
00:05:39 verbose #20742 > │ v28 │
00:05:39 verbose #20743 > │ let v32 : string = "hh:mm:ss" │
00:05:39 verbose #20744 > │ let v33 : string = v31.ToString v32 │
00:05:39 verbose #20745 > │ v33 │
00:05:39 verbose #20746 > │ #endif │
00:05:39 verbose #20747 > │ │
00:05:39 verbose #20748 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:39 verbose #20749 > │ let v34 : string = method4() │
00:05:39 verbose #20750 > │ v34 │
00:05:39 verbose #20751 > │ #endif │
00:05:39 verbose #20752 > │ │
00:05:39 verbose #20753 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:39 verbose #20754 > │ let v35 : string = method4() │
00:05:39 verbose #20755 > │ v35 │
00:05:39 verbose #20756 > │ #endif │
00:05:39 verbose #20757 > │ │
00:05:39 verbose #20758 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:39 verbose #20759 > │ let v36 : string = method4() │
00:05:39 verbose #20760 > │ v36 │
00:05:39 verbose #20761 > │ #endif │
00:05:39 verbose #20762 > │ │
00:05:39 verbose #20763 > │ #if FABLE_COMPILER_PYTHON │
00:05:39 verbose #20764 > │ let v37 : string = method4() │
00:05:39 verbose #20765 > │ v37 │
00:05:39 verbose #20766 > │ #endif │
00:05:39 verbose #20767 > │ │
00:05:39 verbose #20768 > │ #else │
00:05:39 verbose #20769 > │ let v38 : (int64 -> US2) = method3() │
00:05:39 verbose #20770 > │ let v39 : US2 = US2_1 │
00:05:39 verbose #20771 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:05:39 verbose #20772 > │ let v58 : System.DateTime = │
00:05:39 verbose #20773 > │ match v40 with │
00:05:39 verbose #20774 > │ | US2_1 -> (* None *) │
00:05:39 verbose #20775 > │ let v56 : System.DateTime = System.DateTime.Now │
00:05:39 verbose #20776 > │ v56 │
00:05:39 verbose #20777 > │ | US2_0(v41) -> (* Some *) │
00:05:39 verbose #20778 > │ let v42 : System.DateTime = System.DateTime.Now │
00:05:39 verbose #20779 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:05:39 verbose #20780 > │ let v44 : int64 = v43 v42 │
00:05:39 verbose #20781 > │ let v45 : int64 = v44 - v41 │
00:05:39 verbose #20782 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:05:39 verbose #20783 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:05:39 verbose #20784 > │ let v48 : int32 = v47 v46 │
00:05:39 verbose #20785 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:05:39 verbose #20786 > │ let v50 : int32 = v49 v46 │
00:05:39 verbose #20787 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:05:39 verbose #20788 > │ let v52 : int32 = v51 v46 │
00:05:39 verbose #20789 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:05:39 verbose #20790 > │ let v54 : int32 = v53 v46 │
00:05:39 verbose #20791 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:05:39 verbose #20792 > │ v52, v54) │
00:05:39 verbose #20793 > │ v55 │
00:05:39 verbose #20794 > │ let v59 : string = "HH:mm:ss" │
00:05:39 verbose #20795 > │ let v60 : string = v58.ToString v59 │
00:05:39 verbose #20796 > │ v60 │
00:05:39 verbose #20797 > │ #endif │
00:05:39 verbose #20798 > │ |> fun x -> _v9 <- Some x │
00:05:39 verbose #20799 > │ let v61 : string = _v9.Value │
00:05:39 verbose #20800 > │ let v62 : int64 = v4.l0 │
00:05:39 verbose #20801 > │ let v72 : string = │
00:05:39 verbose #20802 > │ match v0 with │
00:05:39 verbose #20803 > │ | US0_4 -> (* Critical *) │
00:05:39 verbose #20804 > │ let v67 : string = "Critical" │
00:05:39 verbose #20805 > │ v67 │
00:05:39 verbose #20806 > │ | US0_1 -> (* Debug *) │
00:05:39 verbose #20807 > │ let v64 : string = "Debug" │
00:05:39 verbose #20808 > │ v64 │
00:05:39 verbose #20809 > │ | US0_2 -> (* Info *) │
00:05:39 verbose #20810 > │ let v65 : string = "Info" │
00:05:39 verbose #20811 > │ v65 │
00:05:39 verbose #20812 > │ | US0_0 -> (* Verbose *) │
00:05:39 verbose #20813 > │ let v63 : string = "Verbose" │
00:05:39 verbose #20814 > │ v63 │
00:05:39 verbose #20815 > │ | US0_3 -> (* Warning *) │
00:05:39 verbose #20816 > │ let v66 : string = "Warning" │
00:05:39 verbose #20817 > │ v66 │
00:05:39 verbose #20818 > │ let v73 : string = v72.ToLower () │
00:05:39 verbose #20819 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:05:39 verbose #20820 > │ let v75 : string option = None │
00:05:39 verbose #20821 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:05:39 verbose #20822 > │ │
00:05:39 verbose #20823 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:39 verbose #20824 > │ │
00:05:39 verbose #20825 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:39 verbose #20826 > │ let v91 : Ref<Str> = │
00:05:39 verbose #20827 > │ match v0 with │
00:05:39 verbose #20828 > │ | US0_4 -> (* Critical *) │
00:05:39 verbose #20829 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:05:39 verbose #20830 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:05:39 verbose #20831 > │ v86 │
00:05:39 verbose #20832 > │ | US0_1 -> (* Debug *) │
00:05:39 verbose #20833 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:05:39 verbose #20834 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:05:39 verbose #20835 > │ v80 │
00:05:39 verbose #20836 > │ | US0_2 -> (* Info *) │
00:05:39 verbose #20837 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:05:39 verbose #20838 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:05:39 verbose #20839 > │ v82 │
00:05:39 verbose #20840 > │ | US0_0 -> (* Verbose *) │
00:05:39 verbose #20841 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:05:39 verbose #20842 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:05:39 verbose #20843 > │ v78 │
00:05:39 verbose #20844 > │ | US0_3 -> (* Warning *) │
00:05:39 verbose #20845 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:05:39 verbose #20846 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:05:39 verbose #20847 > │ v84 │
00:05:39 verbose #20848 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:05:39 verbose #20849 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:05:39 verbose #20850 > │ let v94 : string = "inline_colorization::color_reset" │
00:05:39 verbose #20851 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:05:39 verbose #20852 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:05:39 verbose #20853 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:05:39 verbose #20854 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:05:39 verbose #20855 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:05:39 verbose #20856 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:05:39 verbose #20857 > │ v100 │
00:05:39 verbose #20858 > │ #endif │
00:05:39 verbose #20859 > │ │
00:05:39 verbose #20860 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:39 verbose #20861 > │ let v115 : Ref<Str> = │
00:05:39 verbose #20862 > │ match v0 with │
00:05:39 verbose #20863 > │ | US0_4 -> (* Critical *) │
00:05:39 verbose #20864 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:05:39 verbose #20865 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20866 > │ v109 │
00:05:39 verbose #20867 > │ v110 │
00:05:39 verbose #20868 > │ | US0_1 -> (* Debug *) │
00:05:39 verbose #20869 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:05:39 verbose #20870 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20871 > │ v103 │
00:05:39 verbose #20872 > │ v104 │
00:05:39 verbose #20873 > │ | US0_2 -> (* Info *) │
00:05:39 verbose #20874 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:05:39 verbose #20875 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20876 > │ v105 │
00:05:39 verbose #20877 > │ v106 │
00:05:39 verbose #20878 > │ | US0_0 -> (* Verbose *) │
00:05:39 verbose #20879 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:05:39 verbose #20880 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20881 > │ v101 │
00:05:39 verbose #20882 > │ v102 │
00:05:39 verbose #20883 > │ | US0_3 -> (* Warning *) │
00:05:39 verbose #20884 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:05:39 verbose #20885 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20886 > │ v107 │
00:05:39 verbose #20887 > │ v108 │
00:05:39 verbose #20888 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:05:39 verbose #20889 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:05:39 verbose #20890 > │ let v118 : string = "inline_colorization::color_reset" │
00:05:39 verbose #20891 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:05:39 verbose #20892 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:05:39 verbose #20893 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:05:39 verbose #20894 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20895 > │ v121 │
00:05:39 verbose #20896 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:05:39 verbose #20897 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:05:39 verbose #20898 > │ v124 │
00:05:39 verbose #20899 > │ #endif │
00:05:39 verbose #20900 > │ │
00:05:39 verbose #20901 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:39 verbose #20902 > │ let v139 : Ref<Str> = │
00:05:39 verbose #20903 > │ match v0 with │
00:05:39 verbose #20904 > │ | US0_4 -> (* Critical *) │
00:05:39 verbose #20905 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:05:39 verbose #20906 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20907 > │ v133 │
00:05:39 verbose #20908 > │ v134 │
00:05:39 verbose #20909 > │ | US0_1 -> (* Debug *) │
00:05:39 verbose #20910 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:05:39 verbose #20911 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20912 > │ v127 │
00:05:39 verbose #20913 > │ v128 │
00:05:39 verbose #20914 > │ | US0_2 -> (* Info *) │
00:05:39 verbose #20915 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:05:39 verbose #20916 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20917 > │ v129 │
00:05:39 verbose #20918 > │ v130 │
00:05:39 verbose #20919 > │ | US0_0 -> (* Verbose *) │
00:05:39 verbose #20920 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:05:39 verbose #20921 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20922 > │ v125 │
00:05:39 verbose #20923 > │ v126 │
00:05:39 verbose #20924 > │ | US0_3 -> (* Warning *) │
00:05:39 verbose #20925 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:05:39 verbose #20926 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20927 > │ v131 │
00:05:39 verbose #20928 > │ v132 │
00:05:39 verbose #20929 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:05:39 verbose #20930 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:05:39 verbose #20931 > │ let v142 : string = "inline_colorization::color_reset" │
00:05:39 verbose #20932 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:05:39 verbose #20933 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:05:39 verbose #20934 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:05:39 verbose #20935 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:05:39 verbose #20936 > │ v145 │
00:05:39 verbose #20937 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:05:39 verbose #20938 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:05:39 verbose #20939 > │ v148 │
00:05:39 verbose #20940 > │ #endif │
00:05:39 verbose #20941 > │ │
00:05:39 verbose #20942 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:39 verbose #20943 > │ v74 │
00:05:39 verbose #20944 > │ #endif │
00:05:39 verbose #20945 > │ │
00:05:39 verbose #20946 > │ #if FABLE_COMPILER_PYTHON │
00:05:39 verbose #20947 > │ v74 │
00:05:39 verbose #20948 > │ #endif │
00:05:39 verbose #20949 > │ │
00:05:39 verbose #20950 > │ #else │
00:05:39 verbose #20951 > │ v74 │
00:05:39 verbose #20952 > │ #endif │
00:05:39 verbose #20953 > │ |> fun x -> _v75 <- Some x │
00:05:39 verbose #20954 > │ let v149 : string = _v75.Value │
00:05:39 verbose #20955 > │ let v150 : string = v1 () │
00:05:39 verbose #20956 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:05:39 verbose #20957 > │ let v152 : (char []) = [||] │
00:05:39 verbose #20958 > │ let v153 : string = v151.TrimStart v152 │
00:05:39 verbose #20959 > │ let v154 : (char []) = [|' '; '/'|] │
00:05:39 verbose #20960 > │ let v155 : string = v153.TrimEnd v154 │
00:05:39 verbose #20961 > │ v155 │
00:05:39 verbose #20962 > │ and method5 (v0 : US0, v1 : (unit -> string)) : unit = │
00:05:39 verbose #20963 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:39 verbose #20964 > │ closure0() │
00:05:39 verbose #20965 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:05:39 verbose #20966 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:05:39 verbose #20967 > │ Mut3) = State.trace_state.Value │
00:05:39 verbose #20968 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:05:39 verbose #20969 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:05:39 verbose #20970 > │ Mut3) = State.trace_state.Value │
00:05:39 verbose #20971 > │ let v13 : US0 = v10.l0 │
00:05:39 verbose #20972 > │ let v14 : bool = v9.l0 │
00:05:39 verbose #20973 > │ let v15 : bool = v14 = false │
00:05:39 verbose #20974 > │ let v19 : bool = │
00:05:39 verbose #20975 > │ if v15 then │
00:05:39 verbose #20976 > │ false │
00:05:39 verbose #20977 > │ else │
00:05:39 verbose #20978 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:39 verbose #20979 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:05:39 verbose #20980 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:05:39 verbose #20981 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:05:39 verbose #20982 > │ let v18 : bool = v16 >= v17 │
00:05:39 verbose #20983 > │ v18 │
00:05:39 verbose #20984 > │ if v19 then │
00:05:39 verbose #20985 > │ let v20 : int64 = v3.l0 │
00:05:39 verbose #20986 > │ let v21 : int64 = v20 + 1L │
00:05:39 verbose #20987 > │ v3.l0 <- v21 │
00:05:39 verbose #20988 > │ let v22 : string = $"%s{v1 ()}" │
00:05:39 verbose #20989 > │ let v23 : unit option = None │
00:05:39 verbose #20990 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:05:39 verbose #20991 > │ │
00:05:39 verbose #20992 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:05:39 verbose #20993 > │ │
00:05:39 verbose #20994 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:05:39 verbose #20995 > │ let v25 : string = @"println!(""{}"", $0)" │
00:05:39 verbose #20996 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:05:39 verbose #20997 > │ () │
00:05:39 verbose #20998 > │ #endif │
00:05:39 verbose #20999 > │ │
00:05:39 verbose #21000 > │ #if FABLE_COMPILER_RUST && WASM │
00:05:39 verbose #21001 > │ let v26 : string = @"println!(""{}"", $0)" │
00:05:39 verbose #21002 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:05:39 verbose #21003 > │ () │
00:05:39 verbose #21004 > │ #endif │
00:05:39 verbose #21005 > │ │
00:05:39 verbose #21006 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:05:39 verbose #21007 > │ let v27 : string = @"println!(""{}"", $0)" │
00:05:39 verbose #21008 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:05:39 verbose #21009 > │ () │
00:05:39 verbose #21010 > │ #endif │
00:05:39 verbose #21011 > │ │
00:05:39 verbose #21012 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:05:39 verbose #21013 > │ System.Console.WriteLine v22 │
00:05:39 verbose #21014 > │ () │
00:05:39 verbose #21015 > │ #endif │
00:05:39 verbose #21016 > │ │
00:05:39 verbose #21017 > │ #if FABLE_COMPILER_PYTHON │
00:05:39 verbose #21018 > │ System.Console.WriteLine v22 │
00:05:39 verbose #21019 > │ () │
00:05:39 verbose #21020 > │ #endif │
00:05:39 verbose #21021 > │ │
00:05:39 verbose #21022 > │ #else │
00:05:39 verbose #21023 > │ System.Console.WriteLine v22 │
00:05:39 verbose #21024 > │ () │
00:05:39 verbose #21025 > │ #endif │
00:05:39 verbose #21026 > │ |> fun x -> _v23 <- Some x │
00:05:39 verbose #21027 > │ _v23.Value │
00:05:39 verbose #21028 > │ let v28 : (string -> unit) = v7.l0 │
00:05:39 verbose #21029 > │ v28 v22 │
00:05:39 verbose #21030 > │ and method2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:05:39 verbose #21031 > │ = │
00:05:39 verbose #21032 > │ let v3 : (unit -> string) = closure5(v0, v1, v2) │
00:05:39 verbose #21033 > │ method5(v0, v3) │
00:05:39 verbose #21034 > │ and closure4 (v0 : US0, v1 : (unit -> string)) (v2 : (unit -> string)) : │
00:05:39 verbose #21035 > │ unit = │
00:05:39 verbose #21036 > │ method2(v0, v1, v2) │
00:05:39 verbose #21037 > │ and closure3 (v0 : US0) (v1 : (unit -> string)) : ((unit -> string) -> unit) │
00:05:39 verbose #21038 > │ = │
00:05:39 verbose #21039 > │ closure4(v0, v1) │
00:05:39 verbose #21040 > │ and closure2 () (v0 : US0) : ((unit -> string) -> ((unit -> string) -> │
00:05:39 verbose #21041 > │ unit)) = │
00:05:39 verbose #21042 > │ closure3(v0) │
00:05:39 verbose #21043 > │ let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:05:39 verbose #21044 > │ closure0() │
00:05:39 verbose #21045 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:05:39 verbose #21046 > │ let v1 : (US0 -> ((unit -> string) -> ((unit -> string) -> unit))) = │
00:05:39 verbose #21047 > │ closure2() │
00:05:39 verbose #21048 > │ let trace x = v1 x │
00:05:39 verbose #21049 > │ () │
00:05:39 verbose #21050 > │ │
00:05:39 verbose #21051 > │ │
00:05:39 verbose #21052 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:41 verbose #21053 > [NbConvertApp] Converting notebook trace.dib.ipynb to html
00:05:41 verbose #21054 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:05:41 verbose #21055 > validate(nb)
00:05:43 verbose #21056 > [NbConvertApp] Writing 341422 bytes to trace.dib.html
00:05:44 debug #21057 execute_with_options_async / exit_code: 0 / output.Length: 83098
00:05:44 debug #9 main / executeCommand / exitCode: 0
00:05:44 debug #21058 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 \"am'.dib\" -Retries 3"", [||],
None, None, None)
00:05:44 verbose #21059 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: am'.dib / _args: [
00:05:44 verbose #21060 > "-Retries",
00:05:44 verbose #21061 > 3
00:05:44 verbose #21062 > ]
00:05:46 verbose #21063 >
00:05:46 verbose #21064 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:46 verbose #21065 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:46 verbose #21066 > │ # am' │
00:05:46 verbose #21067 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:46 verbose #21068 >
00:05:46 verbose #21069 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:46 verbose #21070 > //// test
00:05:46 verbose #21071 >
00:05:46 verbose #21072 > open testing
00:05:46 verbose #21073 >
00:05:46 verbose #21074 > prototype append t : t -> t -> t
00:05:46 verbose #21075 >
00:05:46 verbose #21076 > ── spiral - import ─────────────────────────────────────────────────────────────
00:05:46 verbose #21077 > #r
00:05:46 verbose #21078 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:05:46 verbose #21079 > otNet.Interactive.Spiral.dll"
00:05:46 verbose #21080 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:05:46 verbose #21081 > #r
00:05:46 verbose #21082 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:05:46 verbose #21083 > otNet.Interactive.dll"
00:05:46 verbose #21084 > open type Microsoft.DotNet.Interactive.Kernel
00:05:51 verbose #21085 > 00:05:50 debug #275 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/79212f56ecf9b14ce17bbf24b218b90a72b80496a15e8248e9a47f19ecf7b365/main.spi
00:05:51 verbose #21086 >
00:05:51 verbose #21087 > ╭─[ 4.97s - stdout ]───────────────────────────────────────────────────────────╮
00:05:51 verbose #21088 > │ () │
00:05:51 verbose #21089 > │ │
00:05:51 verbose #21090 > │ │
00:05:51 verbose #21091 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:51 verbose #21092 >
00:05:51 verbose #21093 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:51 verbose #21094 > open rust_operators
00:05:52 verbose #21095 > 00:05:51 debug #276 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3dbbc6f18dd4f52399ed92979f7a601e2a6dd5b2a2097b60d44f31b901dea1f9/main.spi
00:05:52 verbose #21096 >
00:05:52 verbose #21097 > ╭─[ 624.26ms - stdout ]────────────────────────────────────────────────────────╮
00:05:52 verbose #21098 > │ () │
00:05:52 verbose #21099 > │ │
00:05:52 verbose #21100 > │ │
00:05:52 verbose #21101 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:52 verbose #21102 >
00:05:52 verbose #21103 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:52 verbose #21104 > inl types () =
00:05:52 verbose #21105 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:52 verbose #21106 > Fable.Core.Emit(\"[[$0]]\")>]]\n#endif\ntype Slice<'T> = class end"
00:05:52 verbose #21107 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase; Fable.Core.Emit(\"[[$0;
00:05:52 verbose #21108 > $1]]\")>]]\n#endif\ntype Slice'<'T, 'U> = class end"
00:05:52 verbose #21109 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:05:52 verbose #21110 > Fable.Core.Emit(\"Vec<$0>\")>]]\n#endif\ntype Vec<'T> = class end"
00:05:52 verbose #21111 > 00:05:51 debug #277 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/560dbc2e7308e9afe8cd00fbe05c9afbb39d0fb85ba90c3326d44b41c0cc1774/main.spi
00:05:52 verbose #21112 >
00:05:52 verbose #21113 > ╭─[ 612.03ms - stdout ]────────────────────────────────────────────────────────╮
00:05:52 verbose #21114 > │ () │
00:05:52 verbose #21115 > │ │
00:05:52 verbose #21116 > │ │
00:05:52 verbose #21117 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:52 verbose #21118 >
00:05:52 verbose #21119 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:52 verbose #21120 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:52 verbose #21121 > │ ## length │
00:05:52 verbose #21122 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:52 verbose #21123 >
00:05:52 verbose #21124 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:52 verbose #21125 > inl length forall dim {int} el. (a : a dim el) : dim =
00:05:52 verbose #21126 > a |> length
00:05:53 verbose #21127 > 00:05:52 debug #278 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bfe832c82b7a34df7cffd0f3578f22a8ede18c96350fd2b019beef377ca4565f/main.spi
00:05:53 verbose #21128 >
00:05:53 verbose #21129 > ╭─[ 659.14ms - stdout ]────────────────────────────────────────────────────────╮
00:05:53 verbose #21130 > │ () │
00:05:53 verbose #21131 > │ │
00:05:53 verbose #21132 > │ │
00:05:53 verbose #21133 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:53 verbose #21134 >
00:05:53 verbose #21135 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:53 verbose #21136 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:53 verbose #21137 > │ ## index │
00:05:53 verbose #21138 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:53 verbose #21139 >
00:05:53 verbose #21140 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:53 verbose #21141 > inl index forall dim {int} el. (i : dim) (a : a dim el) : el =
00:05:53 verbose #21142 > index a i
00:05:54 verbose #21143 > 00:05:53 debug #279 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/02e0b3af501639abae76e0b3b3804f97231ac432e5ad1453ecc3547a22beeb7e/main.spi
00:05:54 verbose #21144 >
00:05:54 verbose #21145 > ╭─[ 612.86ms - stdout ]────────────────────────────────────────────────────────╮
00:05:54 verbose #21146 > │ () │
00:05:54 verbose #21147 > │ │
00:05:54 verbose #21148 > │ │
00:05:54 verbose #21149 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:54 verbose #21150 >
00:05:54 verbose #21151 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:54 verbose #21152 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:54 verbose #21153 > │ ## append │
00:05:54 verbose #21154 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:54 verbose #21155 >
00:05:54 verbose #21156 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:54 verbose #21157 > instance append a dim {int; number} t =
00:05:54 verbose #21158 > am.append
00:05:54 verbose #21159 > 00:05:53 debug #280 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9c909ee4467aa532019aad676fb45acd62be3269bf7c56823b98f73d88452e88/main.spi
00:05:54 verbose #21160 >
00:05:54 verbose #21161 > ╭─[ 626.93ms - stdout ]────────────────────────────────────────────────────────╮
00:05:54 verbose #21162 > │ () │
00:05:54 verbose #21163 > │ │
00:05:54 verbose #21164 > │ │
00:05:54 verbose #21165 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:54 verbose #21166 >
00:05:54 verbose #21167 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:54 verbose #21168 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:54 verbose #21169 > │ ## /@ │
00:05:54 verbose #21170 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:54 verbose #21171 >
00:05:54 verbose #21172 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:54 verbose #21173 > inl (/@) a b =
00:05:54 verbose #21174 > b |> append a
00:05:55 verbose #21175 > 00:05:54 debug #281 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cc65596f82be5fa2ad2236a71bfcad39cce1b4a136fe1a2b1537390bd0c3a9b5/main.spi
00:05:55 verbose #21176 >
00:05:55 verbose #21177 > ╭─[ 597.27ms - stdout ]────────────────────────────────────────────────────────╮
00:05:55 verbose #21178 > │ () │
00:05:55 verbose #21179 > │ │
00:05:55 verbose #21180 > │ │
00:05:55 verbose #21181 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:55 verbose #21182 >
00:05:55 verbose #21183 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:55 verbose #21184 > //// test
00:05:55 verbose #21185 >
00:05:55 verbose #21186 > a ;[[ "a"; "b" ]] /@ a ;[[ "c"; "d" ]]
00:05:55 verbose #21187 > |> _assert_eq (a ;[[ "a"; "b"; "c"; "d" ]] : _ i32 _)
00:05:55 verbose #21188 > 00:05:54 debug #282 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4fe1af465b2743c1bd9bde08f663343a4cd84c56688674d4f378322984d9f527/main.spi
00:05:56 verbose #21189 >
00:05:56 verbose #21190 > ╭─[ 1.59s - stdout ]───────────────────────────────────────────────────────────╮
00:05:56 verbose #21191 > │ type Mut0 = {mutable l0 : int32} │
00:05:56 verbose #21192 > │ let rec method1 (v0 : int32, v1 : Mut0) : bool = │
00:05:56 verbose #21193 > │ let v2 : int32 = v1.l0 │
00:05:56 verbose #21194 > │ let v3 : bool = v2 < v0 │
00:05:56 verbose #21195 > │ v3 │
00:05:56 verbose #21196 > │ and method2 (v0 : (string []), v1 : (string []), v2 : int32) : bool = │
00:05:56 verbose #21197 > │ let v3 : int32 = v0.Length │
00:05:56 verbose #21198 > │ let v4 : bool = v2 < v3 │
00:05:56 verbose #21199 > │ if v4 then │
00:05:56 verbose #21200 > │ let v5 : string = v0.[int v2] │
00:05:56 verbose #21201 > │ let v6 : string = v1.[int v2] │
00:05:56 verbose #21202 > │ let v7 : bool = v5 = v6 │
00:05:56 verbose #21203 > │ if v7 then │
00:05:56 verbose #21204 > │ let v8 : int32 = v2 + 1 │
00:05:56 verbose #21205 > │ method2(v0, v1, v8) │
00:05:56 verbose #21206 > │ else │
00:05:56 verbose #21207 > │ false │
00:05:56 verbose #21208 > │ else │
00:05:56 verbose #21209 > │ true │
00:05:56 verbose #21210 > │ and method3 (v0 : bool) : bool = │
00:05:56 verbose #21211 > │ v0 │
00:05:56 verbose #21212 > │ and method0 () : unit = │
00:05:56 verbose #21213 > │ let v0 : string = "a" │
00:05:56 verbose #21214 > │ let v1 : string = "b" │
00:05:56 verbose #21215 > │ let v2 : (string []) = [|v0; v1|] │
00:05:56 verbose #21216 > │ let v3 : string = "c" │
00:05:56 verbose #21217 > │ let v4 : string = "d" │
00:05:56 verbose #21218 > │ let v5 : (string []) = [|v3; v4|] │
00:05:56 verbose #21219 > │ let v6 : int32 = v2.Length │
00:05:56 verbose #21220 > │ let v7 : int32 = v5.Length │
00:05:56 verbose #21221 > │ let v8 : int32 = v6 + v7 │
00:05:56 verbose #21222 > │ let v9 : (string []) = Array.zeroCreate<string> (v8) │
00:05:56 verbose #21223 > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:05:56 verbose #21224 > │ while method1(v8, v10) do │
00:05:56 verbose #21225 > │ let v12 : int32 = v10.l0 │
00:05:56 verbose #21226 > │ let v13 : bool = v12 < v6 │
00:05:56 verbose #21227 > │ let v17 : string = │
00:05:56 verbose #21228 > │ if v13 then │
00:05:56 verbose #21229 > │ let v14 : string = v2.[int v12] │
00:05:56 verbose #21230 > │ v14 │
00:05:56 verbose #21231 > │ else │
00:05:56 verbose #21232 > │ let v15 : int32 = v12 - v6 │
00:05:56 verbose #21233 > │ let v16 : string = v5.[int v15] │
00:05:56 verbose #21234 > │ v16 │
00:05:56 verbose #21235 > │ v9.[int v12] <- v17 │
00:05:56 verbose #21236 > │ let v18 : int32 = v12 + 1 │
00:05:56 verbose #21237 > │ v10.l0 <- v18 │
00:05:56 verbose #21238 > │ () │
00:05:56 verbose #21239 > │ let v19 : (string []) = [|v0; v1; v3; v4|] │
00:05:56 verbose #21240 > │ let v20 : int32 = v9.Length │
00:05:56 verbose #21241 > │ let v21 : int32 = v19.Length │
00:05:56 verbose #21242 > │ let v22 : bool = v20 = v21 │
00:05:56 verbose #21243 > │ let v23 : bool = v22 <> true │
00:05:56 verbose #21244 > │ let v26 : bool = │
00:05:56 verbose #21245 > │ if v23 then │
00:05:56 verbose #21246 > │ false │
00:05:56 verbose #21247 > │ else │
00:05:56 verbose #21248 > │ let v24 : int32 = 0 │
00:05:56 verbose #21249 > │ method2(v9, v19, v24) │
00:05:56 verbose #21250 > │ let v28 : bool = │
00:05:56 verbose #21251 > │ if v26 then │
00:05:56 verbose #21252 > │ true │
00:05:56 verbose #21253 > │ else │
00:05:56 verbose #21254 > │ method3(v26) │
00:05:56 verbose #21255 > │ let v29 : string = "assert_eq" │
00:05:56 verbose #21256 > │ let v30 : string = $"{v29} / actual: %A{v9} / expected: %A{v19}" │
00:05:56 verbose #21257 > │ System.Console.WriteLine v30 │
00:05:56 verbose #21258 > │ let v31 : bool = v28 = false │
00:05:56 verbose #21259 > │ if v31 then │
00:05:56 verbose #21260 > │ failwith<unit> v30 │
00:05:56 verbose #21261 > │ method0() │
00:05:56 verbose #21262 > │ │
00:05:56 verbose #21263 > │ assert_eq / actual: [|"a"; "b"; "c"; "d"|] / expected: [|"a"; "b"; "c"; │
00:05:56 verbose #21264 > │ "d"|] │
00:05:56 verbose #21265 > │ │
00:05:56 verbose #21266 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:56 verbose #21267 >
00:05:56 verbose #21268 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:56 verbose #21269 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:56 verbose #21270 > │ ## collect │
00:05:56 verbose #21271 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:56 verbose #21272 >
00:05:56 verbose #21273 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:56 verbose #21274 > inl collect forall t r. (fn : t -> a i32 r) (items : a i32 t) : a i32 r =
00:05:56 verbose #21275 > items
00:05:56 verbose #21276 > |> am.map fn
00:05:56 verbose #21277 > |> am.fold (/@) (a ;[[]])
00:05:57 verbose #21278 > 00:05:56 debug #283 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2c95a0d29262055395bfd0312d34d7ca05c8bce505875192c208be8d360ffac2/main.spi
00:05:57 verbose #21279 >
00:05:57 verbose #21280 > ╭─[ 599.78ms - stdout ]────────────────────────────────────────────────────────╮
00:05:57 verbose #21281 > │ () │
00:05:57 verbose #21282 > │ │
00:05:57 verbose #21283 > │ │
00:05:57 verbose #21284 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:57 verbose #21285 >
00:05:57 verbose #21286 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:57 verbose #21287 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:57 verbose #21288 > │ ## choose │
00:05:57 verbose #21289 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:57 verbose #21290 >
00:05:57 verbose #21291 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:57 verbose #21292 > inl choose f l =
00:05:57 verbose #21293 > (l, [[]])
00:05:57 verbose #21294 > ||> am.foldBack fun x acc =>
00:05:57 verbose #21295 > match f x with
00:05:57 verbose #21296 > | Some y => y :: acc
00:05:57 verbose #21297 > | None => acc
00:05:57 verbose #21298 > |> listm.toArray
00:05:58 verbose #21299 > 00:05:57 debug #284 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3f526cab8bfd5dc78226d23f2480cca9b617d442068af444c004c3d8071eb30b/main.spi
00:05:58 verbose #21300 >
00:05:58 verbose #21301 > ╭─[ 619.52ms - stdout ]────────────────────────────────────────────────────────╮
00:05:58 verbose #21302 > │ () │
00:05:58 verbose #21303 > │ │
00:05:58 verbose #21304 > │ │
00:05:58 verbose #21305 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:58 verbose #21306 >
00:05:58 verbose #21307 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:58 verbose #21308 > //// test
00:05:58 verbose #21309 >
00:05:58 verbose #21310 > (am.init 10i32 id : a _ _)
00:05:58 verbose #21311 > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:05:58 verbose #21312 > |> _assert_eq (a ;[[ 0; 2; 4; 6; 8 ]] : _ i32 _)
00:05:58 verbose #21313 > 00:05:57 debug #285 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e2cd199bdf6b8d939579dbf47a23fb7a2da42e107f0f869d24a5e2718a0478b8/main.spi
00:05:59 verbose #21314 >
00:05:59 verbose #21315 > ╭─[ 855.43ms - stdout ]────────────────────────────────────────────────────────╮
00:05:59 verbose #21316 > │ type Mut0 = {mutable l0 : int32} │
00:05:59 verbose #21317 > │ and UH0 = │
00:05:59 verbose #21318 > │ | UH0_0 │
00:05:59 verbose #21319 > │ | UH0_1 of int32 * UH0 │
00:05:59 verbose #21320 > │ and Mut1 = {mutable l0 : int32; mutable l1 : UH0} │
00:05:59 verbose #21321 > │ and [<Struct>] US0 = │
00:05:59 verbose #21322 > │ | US0_0 of f0_0 : int32 │
00:05:59 verbose #21323 > │ | US0_1 │
00:05:59 verbose #21324 > │ let rec method1 (v0 : Mut0) : bool = │
00:05:59 verbose #21325 > │ let v1 : int32 = v0.l0 │
00:05:59 verbose #21326 > │ let v2 : bool = v1 < 10 │
00:05:59 verbose #21327 > │ v2 │
00:05:59 verbose #21328 > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:05:59 verbose #21329 > │ let v2 : int32 = v1.l0 │
00:05:59 verbose #21330 > │ let v3 : bool = v2 < v0 │
00:05:59 verbose #21331 > │ v3 │
00:05:59 verbose #21332 > │ and method4 (v0 : UH0, v1 : int32) : int32 = │
00:05:59 verbose #21333 > │ match v0 with │
00:05:59 verbose #21334 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:05:59 verbose #21335 > │ let v4 : int32 = v1 + 1 │
00:05:59 verbose #21336 > │ method4(v3, v4) │
00:05:59 verbose #21337 > │ | UH0_0 -> (* Nil *) │
00:05:59 verbose #21338 > │ v1 │
00:05:59 verbose #21339 > │ and method5 (v0 : (int32 []), v1 : UH0, v2 : int32) : int32 = │
00:05:59 verbose #21340 > │ match v1 with │
00:05:59 verbose #21341 > │ | UH0_1(v3, v4) -> (* Cons *) │
00:05:59 verbose #21342 > │ v0.[int v2] <- v3 │
00:05:59 verbose #21343 > │ let v5 : int32 = v2 + 1 │
00:05:59 verbose #21344 > │ method5(v0, v4, v5) │
00:05:59 verbose #21345 > │ | UH0_0 -> (* Nil *) │
00:05:59 verbose #21346 > │ v2 │
00:05:59 verbose #21347 > │ and method3 (v0 : UH0) : (int32 []) = │
00:05:59 verbose #21348 > │ let v1 : int32 = 0 │
00:05:59 verbose #21349 > │ let v2 : int32 = method4(v0, v1) │
00:05:59 verbose #21350 > │ let v3 : (int32 []) = Array.zeroCreate<int32> (v2) │
00:05:59 verbose #21351 > │ let v4 : int32 = 0 │
00:05:59 verbose #21352 > │ let v5 : int32 = method5(v3, v0, v4) │
00:05:59 verbose #21353 > │ v3 │
00:05:59 verbose #21354 > │ and method6 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool = │
00:05:59 verbose #21355 > │ let v3 : int32 = v0.Length │
00:05:59 verbose #21356 > │ let v4 : bool = v2 < v3 │
00:05:59 verbose #21357 > │ if v4 then │
00:05:59 verbose #21358 > │ let v5 : int32 = v0.[int v2] │
00:05:59 verbose #21359 > │ let v6 : int32 = v1.[int v2] │
00:05:59 verbose #21360 > │ let v7 : bool = v5 = v6 │
00:05:59 verbose #21361 > │ if v7 then │
00:05:59 verbose #21362 > │ let v8 : int32 = v2 + 1 │
00:05:59 verbose #21363 > │ method6(v0, v1, v8) │
00:05:59 verbose #21364 > │ else │
00:05:59 verbose #21365 > │ false │
00:05:59 verbose #21366 > │ else │
00:05:59 verbose #21367 > │ true │
00:05:59 verbose #21368 > │ and method7 (v0 : bool) : bool = │
00:05:59 verbose #21369 > │ v0 │
00:05:59 verbose #21370 > │ and method0 () : unit = │
00:05:59 verbose #21371 > │ let v0 : (int32 []) = Array.zeroCreate<int32> (10) │
00:05:59 verbose #21372 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:05:59 verbose #21373 > │ while method1(v1) do │
00:05:59 verbose #21374 > │ let v3 : int32 = v1.l0 │
00:05:59 verbose #21375 > │ v0.[int v3] <- v3 │
00:05:59 verbose #21376 > │ let v4 : int32 = v3 + 1 │
00:05:59 verbose #21377 > │ v1.l0 <- v4 │
00:05:59 verbose #21378 > │ () │
00:05:59 verbose #21379 > │ let v5 : int32 = v0.Length │
00:05:59 verbose #21380 > │ let v6 : UH0 = UH0_0 │
00:05:59 verbose #21381 > │ let v7 : Mut1 = {l0 = 0; l1 = v6} : Mut1 │
00:05:59 verbose #21382 > │ while method2(v5, v7) do │
00:05:59 verbose #21383 > │ let v9 : int32 = v7.l0 │
00:05:59 verbose #21384 > │ let v10 : int32 = -v9 │
00:05:59 verbose #21385 > │ let v11 : int32 = v10 + v5 │
00:05:59 verbose #21386 > │ let v12 : int32 = v11 - 1 │
00:05:59 verbose #21387 > │ let v13 : UH0 = v7.l1 │
00:05:59 verbose #21388 > │ let v14 : int32 = v0.[int v12] │
00:05:59 verbose #21389 > │ let v15 : int32 = v14 % 2 │
00:05:59 verbose #21390 > │ let v16 : bool = v15 = 0 │
00:05:59 verbose #21391 > │ let v19 : US0 = │
00:05:59 verbose #21392 > │ if v16 then │
00:05:59 verbose #21393 > │ US0_0(v14) │
00:05:59 verbose #21394 > │ else │
00:05:59 verbose #21395 > │ US0_1 │
00:05:59 verbose #21396 > │ let v23 : UH0 = │
00:05:59 verbose #21397 > │ match v19 with │
00:05:59 verbose #21398 > │ | US0_1 -> (* None *) │
00:05:59 verbose #21399 > │ v13 │
00:05:59 verbose #21400 > │ | US0_0(v20) -> (* Some *) │
00:05:59 verbose #21401 > │ UH0_1(v20, v13) │
00:05:59 verbose #21402 > │ let v24 : int32 = v9 + 1 │
00:05:59 verbose #21403 > │ v7.l0 <- v24 │
00:05:59 verbose #21404 > │ v7.l1 <- v23 │
00:05:59 verbose #21405 > │ () │
00:05:59 verbose #21406 > │ let v25 : UH0 = v7.l1 │
00:05:59 verbose #21407 > │ let v26 : (int32 []) = method3(v25) │
00:05:59 verbose #21408 > │ let v27 : (int32 []) = [|0; 2; 4; 6; 8|] │
00:05:59 verbose #21409 > │ let v28 : int32 = v26.Length │
00:05:59 verbose #21410 > │ let v29 : int32 = v27.Length │
00:05:59 verbose #21411 > │ let v30 : bool = v28 = v29 │
00:05:59 verbose #21412 > │ let v31 : bool = v30 <> true │
00:05:59 verbose #21413 > │ let v34 : bool = │
00:05:59 verbose #21414 > │ if v31 then │
00:05:59 verbose #21415 > │ false │
00:05:59 verbose #21416 > │ else │
00:05:59 verbose #21417 > │ let v32 : int32 = 0 │
00:05:59 verbose #21418 > │ method6(v26, v27, v32) │
00:05:59 verbose #21419 > │ let v36 : bool = │
00:05:59 verbose #21420 > │ if v34 then │
00:05:59 verbose #21421 > │ true │
00:05:59 verbose #21422 > │ else │
00:05:59 verbose #21423 > │ method7(v34) │
00:05:59 verbose #21424 > │ let v37 : string = "assert_eq" │
00:05:59 verbose #21425 > │ let v38 : string = $"{v37} / actual: %A{v26} / expected: %A{v27}" │
00:05:59 verbose #21426 > │ System.Console.WriteLine v38 │
00:05:59 verbose #21427 > │ let v39 : bool = v36 = false │
00:05:59 verbose #21428 > │ if v39 then │
00:05:59 verbose #21429 > │ failwith<unit> v38 │
00:05:59 verbose #21430 > │ method0() │
00:05:59 verbose #21431 > │ │
00:05:59 verbose #21432 > │ assert_eq / actual: [|0; 2; 4; 6; 8|] / expected: [|0; 2; 4; 6; 8|] │
00:05:59 verbose #21433 > │ │
00:05:59 verbose #21434 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:59 verbose #21435 >
00:05:59 verbose #21436 > ── markdown ────────────────────────────────────────────────────────────────────
00:05:59 verbose #21437 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:05:59 verbose #21438 > │ ## sum │
00:05:59 verbose #21439 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:59 verbose #21440 >
00:05:59 verbose #21441 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:59 verbose #21442 > inl sum (a' : a _ _) =
00:05:59 verbose #21443 > a' |> am.fold (+) 0
00:05:59 verbose #21444 > 00:05:58 debug #286 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2391d8a4c031ec5529dd745ad22b0347b017ad943dcc428b2f7761bf72a635aa/main.spi
00:05:59 verbose #21445 >
00:05:59 verbose #21446 > ╭─[ 600.11ms - stdout ]────────────────────────────────────────────────────────╮
00:05:59 verbose #21447 > │ () │
00:05:59 verbose #21448 > │ │
00:05:59 verbose #21449 > │ │
00:05:59 verbose #21450 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:05:59 verbose #21451 >
00:05:59 verbose #21452 > ── spiral ──────────────────────────────────────────────────────────────────────
00:05:59 verbose #21453 > //// test
00:05:59 verbose #21454 >
00:05:59 verbose #21455 > am.init 10i32 id
00:05:59 verbose #21456 > |> sum
00:05:59 verbose #21457 > |> _assert_eq 45
00:06:00 verbose #21458 > 00:05:59 debug #287 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6444825d1cc47bd96b387db8d0f46cb28e55e61f452364d29fc213f68c491e5e/main.spi
00:06:00 verbose #21459 >
00:06:00 verbose #21460 > ╭─[ 635.18ms - stdout ]────────────────────────────────────────────────────────╮
00:06:00 verbose #21461 > │ type Mut0 = {mutable l0 : int32} │
00:06:00 verbose #21462 > │ and Mut1 = {mutable l0 : int32; mutable l1 : int32} │
00:06:00 verbose #21463 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:00 verbose #21464 > │ let v1 : int32 = v0.l0 │
00:06:00 verbose #21465 > │ let v2 : bool = v1 < 10 │
00:06:00 verbose #21466 > │ v2 │
00:06:00 verbose #21467 > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:06:00 verbose #21468 > │ let v2 : int32 = v1.l0 │
00:06:00 verbose #21469 > │ let v3 : bool = v2 < v0 │
00:06:00 verbose #21470 > │ v3 │
00:06:00 verbose #21471 > │ and method3 (v0 : bool) : bool = │
00:06:00 verbose #21472 > │ v0 │
00:06:00 verbose #21473 > │ and method0 () : unit = │
00:06:00 verbose #21474 > │ let v0 : (int32 []) = Array.zeroCreate<int32> (10) │
00:06:00 verbose #21475 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:06:00 verbose #21476 > │ while method1(v1) do │
00:06:00 verbose #21477 > │ let v3 : int32 = v1.l0 │
00:06:00 verbose #21478 > │ v0.[int v3] <- v3 │
00:06:00 verbose #21479 > │ let v4 : int32 = v3 + 1 │
00:06:00 verbose #21480 > │ v1.l0 <- v4 │
00:06:00 verbose #21481 > │ () │
00:06:00 verbose #21482 > │ let v5 : int32 = v0.Length │
00:06:00 verbose #21483 > │ let v6 : Mut1 = {l0 = 0; l1 = 0} : Mut1 │
00:06:00 verbose #21484 > │ while method2(v5, v6) do │
00:06:00 verbose #21485 > │ let v8 : int32 = v6.l0 │
00:06:00 verbose #21486 > │ let v9 : int32 = v6.l1 │
00:06:00 verbose #21487 > │ let v10 : int32 = v0.[int v8] │
00:06:00 verbose #21488 > │ let v11 : int32 = v9 + v10 │
00:06:00 verbose #21489 > │ let v12 : int32 = v8 + 1 │
00:06:00 verbose #21490 > │ v6.l0 <- v12 │
00:06:00 verbose #21491 > │ v6.l1 <- v11 │
00:06:00 verbose #21492 > │ () │
00:06:00 verbose #21493 > │ let v13 : int32 = v6.l1 │
00:06:00 verbose #21494 > │ let v14 : bool = v13 = 45 │
00:06:00 verbose #21495 > │ let v16 : bool = │
00:06:00 verbose #21496 > │ if v14 then │
00:06:00 verbose #21497 > │ true │
00:06:00 verbose #21498 > │ else │
00:06:00 verbose #21499 > │ method3(v14) │
00:06:00 verbose #21500 > │ let v17 : string = "assert_eq" │
00:06:00 verbose #21501 > │ let v18 : string = $"{v17} / actual: %A{v13} / expected: %A{45}" │
00:06:00 verbose #21502 > │ System.Console.WriteLine v18 │
00:06:00 verbose #21503 > │ let v19 : bool = v16 = false │
00:06:00 verbose #21504 > │ if v19 then │
00:06:00 verbose #21505 > │ failwith<unit> v18 │
00:06:00 verbose #21506 > │ method0() │
00:06:00 verbose #21507 > │ │
00:06:00 verbose #21508 > │ assert_eq / actual: 45 / expected: 45 │
00:06:00 verbose #21509 > │ │
00:06:00 verbose #21510 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:00 verbose #21511 >
00:06:00 verbose #21512 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:00 verbose #21513 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:00 verbose #21514 > │ ## init_series │
00:06:00 verbose #21515 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:00 verbose #21516 >
00:06:00 verbose #21517 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:00 verbose #21518 > inl init_series start end inc =
00:06:00 verbose #21519 > inl total = conv ((end - start) / inc) + 1
00:06:00 verbose #21520 > am.init total (conv >> (*) inc >> (+) start) : a i32 _
00:06:00 verbose #21521 > 00:05:59 debug #288 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9533f44fc9d5165ebe1d88630eadf08d4ba508868482c35cb76e57e51950fe37/main.spi
00:06:01 verbose #21522 >
00:06:01 verbose #21523 > ╭─[ 664.34ms - stdout ]────────────────────────────────────────────────────────╮
00:06:01 verbose #21524 > │ () │
00:06:01 verbose #21525 > │ │
00:06:01 verbose #21526 > │ │
00:06:01 verbose #21527 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:01 verbose #21528 >
00:06:01 verbose #21529 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:01 verbose #21530 > //// test
00:06:01 verbose #21531 >
00:06:01 verbose #21532 > init_series 0 1 0.5
00:06:01 verbose #21533 > |> _assert_eq (a ;[[ 0f64; 0.5; 1 ]])
00:06:01 verbose #21534 > 00:06:00 debug #289 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/49933dff7776301dd99cb51fdfe9adf21831e86da940485a76debc292ec17e62/main.spi
00:06:01 verbose #21535 >
00:06:01 verbose #21536 > ╭─[ 648.39ms - stdout ]────────────────────────────────────────────────────────╮
00:06:01 verbose #21537 > │ type Mut0 = {mutable l0 : int32} │
00:06:01 verbose #21538 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:01 verbose #21539 > │ let v1 : int32 = v0.l0 │
00:06:01 verbose #21540 > │ let v2 : bool = v1 < 3 │
00:06:01 verbose #21541 > │ v2 │
00:06:01 verbose #21542 > │ and method2 (v0 : (float []), v1 : (float []), v2 : int32) : bool = │
00:06:01 verbose #21543 > │ let v3 : int32 = v0.Length │
00:06:01 verbose #21544 > │ let v4 : bool = v2 < v3 │
00:06:01 verbose #21545 > │ if v4 then │
00:06:01 verbose #21546 > │ let v5 : float = v0.[int v2] │
00:06:01 verbose #21547 > │ let v6 : float = v1.[int v2] │
00:06:01 verbose #21548 > │ let v7 : bool = v5 = v6 │
00:06:01 verbose #21549 > │ if v7 then │
00:06:01 verbose #21550 > │ let v8 : int32 = v2 + 1 │
00:06:01 verbose #21551 > │ method2(v0, v1, v8) │
00:06:01 verbose #21552 > │ else │
00:06:01 verbose #21553 > │ false │
00:06:01 verbose #21554 > │ else │
00:06:01 verbose #21555 > │ true │
00:06:01 verbose #21556 > │ and method3 (v0 : bool) : bool = │
00:06:01 verbose #21557 > │ v0 │
00:06:01 verbose #21558 > │ and method0 () : unit = │
00:06:01 verbose #21559 > │ let v0 : (float []) = Array.zeroCreate<float> (3) │
00:06:01 verbose #21560 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:06:01 verbose #21561 > │ while method1(v1) do │
00:06:01 verbose #21562 > │ let v3 : int32 = v1.l0 │
00:06:01 verbose #21563 > │ let v4 : float = float v3 │
00:06:01 verbose #21564 > │ let v5 : float = 0.5 * v4 │
00:06:01 verbose #21565 > │ v0.[int v3] <- v5 │
00:06:01 verbose #21566 > │ let v6 : int32 = v3 + 1 │
00:06:01 verbose #21567 > │ v1.l0 <- v6 │
00:06:01 verbose #21568 > │ () │
00:06:01 verbose #21569 > │ let v7 : (float []) = [|0.0; 0.5; 1.0|] │
00:06:01 verbose #21570 > │ let v8 : int32 = v0.Length │
00:06:01 verbose #21571 > │ let v9 : int32 = v7.Length │
00:06:01 verbose #21572 > │ let v10 : bool = v8 = v9 │
00:06:01 verbose #21573 > │ let v11 : bool = v10 <> true │
00:06:01 verbose #21574 > │ let v14 : bool = │
00:06:01 verbose #21575 > │ if v11 then │
00:06:01 verbose #21576 > │ false │
00:06:01 verbose #21577 > │ else │
00:06:01 verbose #21578 > │ let v12 : int32 = 0 │
00:06:01 verbose #21579 > │ method2(v0, v7, v12) │
00:06:01 verbose #21580 > │ let v16 : bool = │
00:06:01 verbose #21581 > │ if v14 then │
00:06:01 verbose #21582 > │ true │
00:06:01 verbose #21583 > │ else │
00:06:01 verbose #21584 > │ method3(v14) │
00:06:01 verbose #21585 > │ let v17 : string = "assert_eq" │
00:06:01 verbose #21586 > │ let v18 : string = $"{v17} / actual: %A{v0} / expected: %A{v7}" │
00:06:01 verbose #21587 > │ System.Console.WriteLine v18 │
00:06:01 verbose #21588 > │ let v19 : bool = v16 = false │
00:06:01 verbose #21589 > │ if v19 then │
00:06:01 verbose #21590 > │ failwith<unit> v18 │
00:06:01 verbose #21591 > │ method0() │
00:06:01 verbose #21592 > │ │
00:06:01 verbose #21593 > │ assert_eq / actual: [|0.0; 0.5; 1.0|] / expected: [|0.0; 0.5; 1.0|] │
00:06:01 verbose #21594 > │ │
00:06:01 verbose #21595 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:01 verbose #21596 >
00:06:01 verbose #21597 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:01 verbose #21598 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:01 verbose #21599 > │ ## head │
00:06:01 verbose #21600 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:01 verbose #21601 >
00:06:01 verbose #21602 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:01 verbose #21603 > inl head (ar : a _ _) =
00:06:01 verbose #21604 > if var_is ar || length ar > 0
00:06:01 verbose #21605 > then ar |> index 0
00:06:01 verbose #21606 > else error_type "The length of the array should be greater than 0."
00:06:02 verbose #21607 > 00:06:01 debug #290 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fd60a628f6a2a98660fc5575fc2461c089409acd3debdd933188eb0cc043005c/main.spi
00:06:02 verbose #21608 >
00:06:02 verbose #21609 > ╭─[ 611.95ms - stdout ]────────────────────────────────────────────────────────╮
00:06:02 verbose #21610 > │ () │
00:06:02 verbose #21611 > │ │
00:06:02 verbose #21612 > │ │
00:06:02 verbose #21613 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:02 verbose #21614 >
00:06:02 verbose #21615 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:02 verbose #21616 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:02 verbose #21617 > │ ## last │
00:06:02 verbose #21618 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:02 verbose #21619 >
00:06:02 verbose #21620 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:02 verbose #21621 > inl last (ar : a _ _) =
00:06:02 verbose #21622 > inl len = length ar
00:06:02 verbose #21623 > if var_is ar || len > 0
00:06:02 verbose #21624 > then ar |> index (len - 1)
00:06:02 verbose #21625 > else error_type "The length of the array should be greater than 0."
00:06:02 verbose #21626 > 00:06:01 debug #291 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0bbe2aed236e16d231b66e3f395f3668c833a880f599cca479fb47123959a03a/main.spi
00:06:02 verbose #21627 >
00:06:02 verbose #21628 > ╭─[ 657.85ms - stdout ]────────────────────────────────────────────────────────╮
00:06:02 verbose #21629 > │ () │
00:06:02 verbose #21630 > │ │
00:06:02 verbose #21631 > │ │
00:06:02 verbose #21632 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:02 verbose #21633 >
00:06:02 verbose #21634 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:02 verbose #21635 > //// test
00:06:02 verbose #21636 >
00:06:02 verbose #21637 > am.init 10i32 id
00:06:02 verbose #21638 > |> last
00:06:02 verbose #21639 > |> _assert_eq 9
00:06:03 verbose #21640 > 00:06:02 debug #292 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/be0dcc79c150060789c9a0d4ec72c47223d005a5d7afa56f1d8d829cb0aa2be5/main.spi
00:06:03 verbose #21641 >
00:06:03 verbose #21642 > ╭─[ 677.86ms - stdout ]────────────────────────────────────────────────────────╮
00:06:03 verbose #21643 > │ type Mut0 = {mutable l0 : int32} │
00:06:03 verbose #21644 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:03 verbose #21645 > │ let v1 : int32 = v0.l0 │
00:06:03 verbose #21646 > │ let v2 : bool = v1 < 10 │
00:06:03 verbose #21647 > │ v2 │
00:06:03 verbose #21648 > │ and method2 (v0 : bool) : bool = │
00:06:03 verbose #21649 > │ v0 │
00:06:03 verbose #21650 > │ and method0 () : unit = │
00:06:03 verbose #21651 > │ let v0 : (int32 []) = Array.zeroCreate<int32> (10) │
00:06:03 verbose #21652 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:06:03 verbose #21653 > │ while method1(v1) do │
00:06:03 verbose #21654 > │ let v3 : int32 = v1.l0 │
00:06:03 verbose #21655 > │ v0.[int v3] <- v3 │
00:06:03 verbose #21656 > │ let v4 : int32 = v3 + 1 │
00:06:03 verbose #21657 > │ v1.l0 <- v4 │
00:06:03 verbose #21658 > │ () │
00:06:03 verbose #21659 > │ let v5 : int32 = v0.Length │
00:06:03 verbose #21660 > │ let v6 : int32 = v5 - 1 │
00:06:03 verbose #21661 > │ let v7 : int32 = v0.[int v6] │
00:06:03 verbose #21662 > │ let v8 : bool = v7 = 9 │
00:06:03 verbose #21663 > │ let v10 : bool = │
00:06:03 verbose #21664 > │ if v8 then │
00:06:03 verbose #21665 > │ true │
00:06:03 verbose #21666 > │ else │
00:06:03 verbose #21667 > │ method2(v8) │
00:06:03 verbose #21668 > │ let v11 : string = "assert_eq" │
00:06:03 verbose #21669 > │ let v12 : string = $"{v11} / actual: %A{v7} / expected: %A{9}" │
00:06:03 verbose #21670 > │ System.Console.WriteLine v12 │
00:06:03 verbose #21671 > │ let v13 : bool = v10 = false │
00:06:03 verbose #21672 > │ if v13 then │
00:06:03 verbose #21673 > │ failwith<unit> v12 │
00:06:03 verbose #21674 > │ method0() │
00:06:03 verbose #21675 > │ │
00:06:03 verbose #21676 > │ assert_eq / actual: 9 / expected: 9 │
00:06:03 verbose #21677 > │ │
00:06:03 verbose #21678 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:03 verbose #21679 >
00:06:03 verbose #21680 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:03 verbose #21681 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:03 verbose #21682 > │ ## try_pick │
00:06:03 verbose #21683 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:03 verbose #21684 >
00:06:03 verbose #21685 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:03 verbose #21686 > inl try_pick forall t u. (fn : t -> option u) (array : a _ t) : option u =
00:06:03 verbose #21687 > (array, None)
00:06:03 verbose #21688 > ||> am.foldBack fun x acc =>
00:06:03 verbose #21689 > match acc with
00:06:03 verbose #21690 > | Some _ => acc
00:06:03 verbose #21691 > | None => x |> fn
00:06:04 verbose #21692 > 00:06:03 debug #293 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bc42271723fc6d7c427d9df87fb46a58ac4340db899d4c8be1b2fe518d5e9387/main.spi
00:06:04 verbose #21693 >
00:06:04 verbose #21694 > ╭─[ 610.36ms - stdout ]────────────────────────────────────────────────────────╮
00:06:04 verbose #21695 > │ () │
00:06:04 verbose #21696 > │ │
00:06:04 verbose #21697 > │ │
00:06:04 verbose #21698 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:04 verbose #21699 >
00:06:04 verbose #21700 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:04 verbose #21701 > //// test
00:06:04 verbose #21702 >
00:06:04 verbose #21703 > am.init 10i32 id
00:06:04 verbose #21704 > |> try_pick (fun x => if x = 5i32 then Some x else None)
00:06:04 verbose #21705 > |> _assert_eq (Some 5i32)
00:06:04 verbose #21706 > 00:06:03 debug #294 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31ba1818f9cdcddc7a8b9bf46ab258f3f64ce81df4b2b66b7f7af9e03d62925f/main.spi
00:06:04 verbose #21707 >
00:06:04 verbose #21708 > ╭─[ 680.10ms - stdout ]────────────────────────────────────────────────────────╮
00:06:04 verbose #21709 > │ type Mut0 = {mutable l0 : int32} │
00:06:04 verbose #21710 > │ and [<Struct>] US0 = │
00:06:04 verbose #21711 > │ | US0_0 of f0_0 : int32 │
00:06:04 verbose #21712 > │ | US0_1 │
00:06:04 verbose #21713 > │ and Mut1 = {mutable l0 : int32; mutable l1 : US0} │
00:06:04 verbose #21714 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:04 verbose #21715 > │ let v1 : int32 = v0.l0 │
00:06:04 verbose #21716 > │ let v2 : bool = v1 < 10 │
00:06:04 verbose #21717 > │ v2 │
00:06:04 verbose #21718 > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:06:04 verbose #21719 > │ let v2 : int32 = v1.l0 │
00:06:04 verbose #21720 > │ let v3 : bool = v2 < v0 │
00:06:04 verbose #21721 > │ v3 │
00:06:04 verbose #21722 > │ and method3 (v0 : bool) : bool = │
00:06:04 verbose #21723 > │ v0 │
00:06:04 verbose #21724 > │ and method0 () : unit = │
00:06:04 verbose #21725 > │ let v0 : (int32 []) = Array.zeroCreate<int32> (10) │
00:06:04 verbose #21726 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:06:04 verbose #21727 > │ while method1(v1) do │
00:06:04 verbose #21728 > │ let v3 : int32 = v1.l0 │
00:06:04 verbose #21729 > │ v0.[int v3] <- v3 │
00:06:04 verbose #21730 > │ let v4 : int32 = v3 + 1 │
00:06:04 verbose #21731 > │ v1.l0 <- v4 │
00:06:04 verbose #21732 > │ () │
00:06:04 verbose #21733 > │ let v5 : int32 = v0.Length │
00:06:04 verbose #21734 > │ let v6 : US0 = US0_1 │
00:06:04 verbose #21735 > │ let v7 : Mut1 = {l0 = 0; l1 = v6} : Mut1 │
00:06:04 verbose #21736 > │ while method2(v5, v7) do │
00:06:04 verbose #21737 > │ let v9 : int32 = v7.l0 │
00:06:04 verbose #21738 > │ let v10 : int32 = -v9 │
00:06:04 verbose #21739 > │ let v11 : int32 = v10 + v5 │
00:06:04 verbose #21740 > │ let v12 : int32 = v11 - 1 │
00:06:04 verbose #21741 > │ let v13 : US0 = v7.l1 │
00:06:04 verbose #21742 > │ let v14 : int32 = v0.[int v12] │
00:06:04 verbose #21743 > │ let v21 : US0 = │
00:06:04 verbose #21744 > │ match v13 with │
00:06:04 verbose #21745 > │ | US0_1 -> (* None *) │
00:06:04 verbose #21746 > │ let v16 : bool = v14 = 5 │
00:06:04 verbose #21747 > │ if v16 then │
00:06:04 verbose #21748 > │ US0_0(v14) │
00:06:04 verbose #21749 > │ else │
00:06:04 verbose #21750 > │ US0_1 │
00:06:04 verbose #21751 > │ | US0_0(v15) -> (* Some *) │
00:06:04 verbose #21752 > │ v13 │
00:06:04 verbose #21753 > │ let v22 : int32 = v9 + 1 │
00:06:04 verbose #21754 > │ v7.l0 <- v22 │
00:06:04 verbose #21755 > │ v7.l1 <- v21 │
00:06:04 verbose #21756 > │ () │
00:06:04 verbose #21757 > │ let v23 : US0 = v7.l1 │
00:06:04 verbose #21758 > │ let v27 : bool = │
00:06:04 verbose #21759 > │ match v23 with │
00:06:04 verbose #21760 > │ | US0_0(v25) -> (* Some *) │
00:06:04 verbose #21761 > │ let v26 : bool = v25 = 5 │
00:06:04 verbose #21762 > │ v26 │
00:06:04 verbose #21763 > │ | _ -> │
00:06:04 verbose #21764 > │ false │
00:06:04 verbose #21765 > │ let v29 : bool = │
00:06:04 verbose #21766 > │ if v27 then │
00:06:04 verbose #21767 > │ true │
00:06:04 verbose #21768 > │ else │
00:06:04 verbose #21769 > │ method3(v27) │
00:06:04 verbose #21770 > │ let v30 : string = "assert_eq" │
00:06:04 verbose #21771 > │ let v31 : US0 = US0_0(5) │
00:06:04 verbose #21772 > │ let v32 : string = $"{v30} / actual: %A{v23} / expected: %A{v31}" │
00:06:04 verbose #21773 > │ System.Console.WriteLine v32 │
00:06:04 verbose #21774 > │ let v33 : bool = v29 = false │
00:06:04 verbose #21775 > │ if v33 then │
00:06:04 verbose #21776 > │ failwith<unit> v32 │
00:06:04 verbose #21777 > │ method0() │
00:06:04 verbose #21778 > │ │
00:06:04 verbose #21779 > │ assert_eq / actual: US0_0 5 / expected: US0_0 5 │
00:06:04 verbose #21780 > │ │
00:06:04 verbose #21781 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:04 verbose #21782 >
00:06:04 verbose #21783 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:04 verbose #21784 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:04 verbose #21785 > │ ## indexed' │
00:06:04 verbose #21786 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:04 verbose #21787 >
00:06:04 verbose #21788 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:04 verbose #21789 > inl indexed' forall t dim {int; number} dim' {int; number} u {number}. (ar : a
00:06:04 verbose #21790 > dim t) : a dim' (u * t) =
00:06:04 verbose #21791 > ((0, a ;[[]]), ar)
00:06:04 verbose #21792 > ||> am.fold fun (i, acc) x =>
00:06:04 verbose #21793 > i + 1, acc /@ a ;[[i, x]]
00:06:04 verbose #21794 > |> snd
00:06:05 verbose #21795 > 00:06:04 debug #295 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/880f25745c235117b98392b04a8ac123de9d850cba129576e5d914d8e4b3a5b7/main.spi
00:06:05 verbose #21796 >
00:06:05 verbose #21797 > ╭─[ 672.98ms - stdout ]────────────────────────────────────────────────────────╮
00:06:05 verbose #21798 > │ () │
00:06:05 verbose #21799 > │ │
00:06:05 verbose #21800 > │ │
00:06:05 verbose #21801 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:05 verbose #21802 >
00:06:05 verbose #21803 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:05 verbose #21804 > //// test
00:06:05 verbose #21805 >
00:06:05 verbose #21806 > am.init 3i32 ((*) 2)
00:06:05 verbose #21807 > |> indexed'
00:06:05 verbose #21808 > |> _assert_eq (a ;[[0i32, 0; 1, 2; 2, 4]] : a i32 _)
00:06:06 verbose #21809 > 00:06:05 debug #296 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ec8653778656ec95d82c94a2ac54e06d76980d571f18bdc8b3b98a295c08e280/main.spi
00:06:06 verbose #21810 >
00:06:06 verbose #21811 > ╭─[ 685.54ms - stdout ]────────────────────────────────────────────────────────╮
00:06:06 verbose #21812 > │ type Mut0 = {mutable l0 : int32} │
00:06:06 verbose #21813 > │ and Mut1 = {mutable l0 : int32; mutable l1 : int32; mutable l2 : (struct │
00:06:06 verbose #21814 > │ (int32 * int32) [])} │
00:06:06 verbose #21815 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:06 verbose #21816 > │ let v1 : int32 = v0.l0 │
00:06:06 verbose #21817 > │ let v2 : bool = v1 < 3 │
00:06:06 verbose #21818 > │ v2 │
00:06:06 verbose #21819 > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:06:06 verbose #21820 > │ let v2 : int32 = v1.l0 │
00:06:06 verbose #21821 > │ let v3 : bool = v2 < v0 │
00:06:06 verbose #21822 > │ v3 │
00:06:06 verbose #21823 > │ and method3 (v0 : int32, v1 : Mut0) : bool = │
00:06:06 verbose #21824 > │ let v2 : int32 = v1.l0 │
00:06:06 verbose #21825 > │ let v3 : bool = v2 < v0 │
00:06:06 verbose #21826 > │ v3 │
00:06:06 verbose #21827 > │ and method4 (v0 : (struct (int32 * int32) []), v1 : (struct (int32 * int32) │
00:06:06 verbose #21828 > │ []), v2 : int32) : bool = │
00:06:06 verbose #21829 > │ let v3 : int32 = v0.Length │
00:06:06 verbose #21830 > │ let v4 : bool = v2 < v3 │
00:06:06 verbose #21831 > │ if v4 then │
00:06:06 verbose #21832 > │ let struct (v5 : int32, v6 : int32) = v0.[int v2] │
00:06:06 verbose #21833 > │ let struct (v7 : int32, v8 : int32) = v1.[int v2] │
00:06:06 verbose #21834 > │ let v9 : bool = v5 = v7 │
00:06:06 verbose #21835 > │ let v11 : bool = │
00:06:06 verbose #21836 > │ if v9 then │
00:06:06 verbose #21837 > │ let v10 : bool = v6 = v8 │
00:06:06 verbose #21838 > │ v10 │
00:06:06 verbose #21839 > │ else │
00:06:06 verbose #21840 > │ false │
00:06:06 verbose #21841 > │ if v11 then │
00:06:06 verbose #21842 > │ let v12 : int32 = v2 + 1 │
00:06:06 verbose #21843 > │ method4(v0, v1, v12) │
00:06:06 verbose #21844 > │ else │
00:06:06 verbose #21845 > │ false │
00:06:06 verbose #21846 > │ else │
00:06:06 verbose #21847 > │ true │
00:06:06 verbose #21848 > │ and method5 (v0 : bool) : bool = │
00:06:06 verbose #21849 > │ v0 │
00:06:06 verbose #21850 > │ and method0 () : unit = │
00:06:06 verbose #21851 > │ let v0 : (int32 []) = Array.zeroCreate<int32> (3) │
00:06:06 verbose #21852 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:06:06 verbose #21853 > │ while method1(v1) do │
00:06:06 verbose #21854 > │ let v3 : int32 = v1.l0 │
00:06:06 verbose #21855 > │ let v4 : int32 = 2 * v3 │
00:06:06 verbose #21856 > │ v0.[int v3] <- v4 │
00:06:06 verbose #21857 > │ let v5 : int32 = v3 + 1 │
00:06:06 verbose #21858 > │ v1.l0 <- v5 │
00:06:06 verbose #21859 > │ () │
00:06:06 verbose #21860 > │ let v6 : (struct (int32 * int32) []) = [||] │
00:06:06 verbose #21861 > │ let v7 : int32 = v0.Length │
00:06:06 verbose #21862 > │ let v8 : Mut1 = {l0 = 0; l1 = 0; l2 = v6} : Mut1 │
00:06:06 verbose #21863 > │ while method2(v7, v8) do │
00:06:06 verbose #21864 > │ let v10 : int32 = v8.l0 │
00:06:06 verbose #21865 > │ let struct (v11 : int32, v12 : (struct (int32 * int32) [])) = v8.l1, │
00:06:06 verbose #21866 > │ v8.l2 │
00:06:06 verbose #21867 > │ let v13 : int32 = v0.[int v10] │
00:06:06 verbose #21868 > │ let v14 : int32 = v11 + 1 │
00:06:06 verbose #21869 > │ let v15 : (struct (int32 * int32) []) = [|struct (v11, v13)|] │
00:06:06 verbose #21870 > │ let v16 : int32 = v12.Length │
00:06:06 verbose #21871 > │ let v17 : int32 = v15.Length │
00:06:06 verbose #21872 > │ let v18 : int32 = v16 + v17 │
00:06:06 verbose #21873 > │ let v19 : (struct (int32 * int32) []) = Array.zeroCreate<struct │
00:06:06 verbose #21874 > │ (int32 * int32)> (v18) │
00:06:06 verbose #21875 > │ let v20 : Mut0 = {l0 = 0} : Mut0 │
00:06:06 verbose #21876 > │ while method3(v18, v20) do │
00:06:06 verbose #21877 > │ let v22 : int32 = v20.l0 │
00:06:06 verbose #21878 > │ let v23 : bool = v22 < v16 │
00:06:06 verbose #21879 > │ let struct (v29 : int32, v30 : int32) = │
00:06:06 verbose #21880 > │ if v23 then │
00:06:06 verbose #21881 > │ let struct (v24 : int32, v25 : int32) = v12.[int v22] │
00:06:06 verbose #21882 > │ struct (v24, v25) │
00:06:06 verbose #21883 > │ else │
00:06:06 verbose #21884 > │ let v26 : int32 = v22 - v16 │
00:06:06 verbose #21885 > │ let struct (v27 : int32, v28 : int32) = v15.[int v26] │
00:06:06 verbose #21886 > │ struct (v27, v28) │
00:06:06 verbose #21887 > │ v19.[int v22] <- struct (v29, v30) │
00:06:06 verbose #21888 > │ let v31 : int32 = v22 + 1 │
00:06:06 verbose #21889 > │ v20.l0 <- v31 │
00:06:06 verbose #21890 > │ () │
00:06:06 verbose #21891 > │ let v32 : int32 = v10 + 1 │
00:06:06 verbose #21892 > │ v8.l0 <- v32 │
00:06:06 verbose #21893 > │ v8.l1 <- v14 │
00:06:06 verbose #21894 > │ v8.l2 <- v19 │
00:06:06 verbose #21895 > │ () │
00:06:06 verbose #21896 > │ let struct (v33 : int32, v34 : (struct (int32 * int32) [])) = v8.l1, │
00:06:06 verbose #21897 > │ v8.l2 │
00:06:06 verbose #21898 > │ let v35 : (struct (int32 * int32) []) = [|struct (0, 0); struct (1, 2); │
00:06:06 verbose #21899 > │ struct (2, 4)|] │
00:06:06 verbose #21900 > │ let v36 : int32 = v34.Length │
00:06:06 verbose #21901 > │ let v37 : int32 = v35.Length │
00:06:06 verbose #21902 > │ let v38 : bool = v36 = v37 │
00:06:06 verbose #21903 > │ let v39 : bool = v38 <> true │
00:06:06 verbose #21904 > │ let v42 : bool = │
00:06:06 verbose #21905 > │ if v39 then │
00:06:06 verbose #21906 > │ false │
00:06:06 verbose #21907 > │ else │
00:06:06 verbose #21908 > │ let v40 : int32 = 0 │
00:06:06 verbose #21909 > │ method4(v34, v35, v40) │
00:06:06 verbose #21910 > │ let v44 : bool = │
00:06:06 verbose #21911 > │ if v42 then │
00:06:06 verbose #21912 > │ true │
00:06:06 verbose #21913 > │ else │
00:06:06 verbose #21914 > │ method5(v42) │
00:06:06 verbose #21915 > │ let v45 : string = "assert_eq" │
00:06:06 verbose #21916 > │ let v46 : string = $"{v45} / actual: %A{v34} / expected: %A{v35}" │
00:06:06 verbose #21917 > │ System.Console.WriteLine v46 │
00:06:06 verbose #21918 > │ let v47 : bool = v44 = false │
00:06:06 verbose #21919 > │ if v47 then │
00:06:06 verbose #21920 > │ failwith<unit> v46 │
00:06:06 verbose #21921 > │ method0() │
00:06:06 verbose #21922 > │ │
00:06:06 verbose #21923 > │ assert_eq / actual: [|struct (0, 0); struct (1, 2); struct (2, 4)|] / │
00:06:06 verbose #21924 > │ expected: [|struct (0, 0); struct (1, 2); struct (2, 4)|] │
00:06:06 verbose #21925 > │ │
00:06:06 verbose #21926 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:06 verbose #21927 >
00:06:06 verbose #21928 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:06 verbose #21929 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:06 verbose #21930 > │ ## map_base │
00:06:06 verbose #21931 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:06 verbose #21932 >
00:06:06 verbose #21933 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:06 verbose #21934 > inl map_base forall t u. (fn : t -> u) (x : array_base t) : array_base u =
00:06:06 verbose #21935 > a x
00:06:06 verbose #21936 > |> am.map fn
00:06:06 verbose #21937 > |> fun (a x : _ i64 _) => x
00:06:06 verbose #21938 > 00:06:05 debug #297 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6036e5451111c69c70d50078d5061e556a5327350374468c85cec35fd1c51bae/main.spi
00:06:07 verbose #21939 >
00:06:07 verbose #21940 > ╭─[ 642.60ms - stdout ]────────────────────────────────────────────────────────╮
00:06:07 verbose #21941 > │ () │
00:06:07 verbose #21942 > │ │
00:06:07 verbose #21943 > │ │
00:06:07 verbose #21944 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:07 verbose #21945 >
00:06:07 verbose #21946 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:07 verbose #21947 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:07 verbose #21948 > │ ## average │
00:06:07 verbose #21949 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:07 verbose #21950 >
00:06:07 verbose #21951 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:07 verbose #21952 > inl average forall el {number}. (a : a _ el) : el =
00:06:07 verbose #21953 > a |> $'Array.average'
00:06:07 verbose #21954 > 00:06:06 debug #298 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/49ed434162217170d2ae166e60ea750418db1840c3e25d28b9be2c46e8b941f8/main.spi
00:06:07 verbose #21955 >
00:06:07 verbose #21956 > ╭─[ 655.27ms - stdout ]────────────────────────────────────────────────────────╮
00:06:07 verbose #21957 > │ () │
00:06:07 verbose #21958 > │ │
00:06:07 verbose #21959 > │ │
00:06:07 verbose #21960 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:07 verbose #21961 >
00:06:07 verbose #21962 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:07 verbose #21963 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:07 verbose #21964 > │ ## distinct │
00:06:07 verbose #21965 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:07 verbose #21966 >
00:06:07 verbose #21967 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:07 verbose #21968 > inl distinct forall dim el. (a : a dim el) : a dim el =
00:06:07 verbose #21969 > a |> $'Array.distinct'
00:06:08 verbose #21970 > 00:06:07 debug #299 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4db0e5537628aeb0953b17b448939699217a7b224f061b8f663858ef315e1b9c/main.spi
00:06:08 verbose #21971 >
00:06:08 verbose #21972 > ╭─[ 602.18ms - stdout ]────────────────────────────────────────────────────────╮
00:06:08 verbose #21973 > │ () │
00:06:08 verbose #21974 > │ │
00:06:08 verbose #21975 > │ │
00:06:08 verbose #21976 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:08 verbose #21977 >
00:06:08 verbose #21978 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:08 verbose #21979 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:08 verbose #21980 > │ ## to_list' │
00:06:08 verbose #21981 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:08 verbose #21982 >
00:06:08 verbose #21983 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:08 verbose #21984 > inl to_list' forall dim t. (items : a dim t) : listm'.list' t =
00:06:08 verbose #21985 > items |> $'Array.toList'
00:06:08 verbose #21986 > 00:06:07 debug #300 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/98b79508d89ce31d00b018ae57e4ab78f28c5606f02e4eb8b8c98bc6096c9932/main.spi
00:06:08 verbose #21987 >
00:06:08 verbose #21988 > ╭─[ 604.93ms - stdout ]────────────────────────────────────────────────────────╮
00:06:08 verbose #21989 > │ () │
00:06:08 verbose #21990 > │ │
00:06:08 verbose #21991 > │ │
00:06:08 verbose #21992 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:08 verbose #21993 >
00:06:08 verbose #21994 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:08 verbose #21995 > //// test
00:06:08 verbose #21996 >
00:06:08 verbose #21997 > (a ;[[ "a"; "b" ]] : _ i32 _)
00:06:08 verbose #21998 > |> to_list'
00:06:08 verbose #21999 > |> listm'.unbox
00:06:08 verbose #22000 > |> _assert_eq ([[ "a"; "b" ]])
00:06:09 verbose #22001 > 00:06:08 debug #301 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c665d8ef6cba047c01e58e804f8b8b14413d6a3fccbb62f20802a06d97723bed/main.spi
00:06:09 verbose #22002 >
00:06:09 verbose #22003 > ╭─[ 688.53ms - stdout ]────────────────────────────────────────────────────────╮
00:06:09 verbose #22004 > │ type UH0 = │
00:06:09 verbose #22005 > │ | UH0_0 │
00:06:09 verbose #22006 > │ | UH0_1 of string * UH0 │
00:06:09 verbose #22007 > │ let rec closure1 (v0 : string) (v1 : UH0) : UH0 = │
00:06:09 verbose #22008 > │ UH0_1(v0, v1) │
00:06:09 verbose #22009 > │ and closure0 () (v0 : string) : (UH0 -> UH0) = │
00:06:09 verbose #22010 > │ closure1(v0) │
00:06:09 verbose #22011 > │ and method1 () : (string -> (UH0 -> UH0)) = │
00:06:09 verbose #22012 > │ closure0() │
00:06:09 verbose #22013 > │ and method2 (v0 : bool) : bool = │
00:06:09 verbose #22014 > │ v0 │
00:06:09 verbose #22015 > │ and method0 () : unit = │
00:06:09 verbose #22016 > │ let v0 : string = "a" │
00:06:09 verbose #22017 > │ let v1 : string = "b" │
00:06:09 verbose #22018 > │ let v2 : (string []) = [|v0; v1|] │
00:06:09 verbose #22019 > │ let v3 : ((string []) -> string list) = Array.toList │
00:06:09 verbose #22020 > │ let v4 : string list = v3 v2 │
00:06:09 verbose #22021 > │ let v5 : ((string -> (UH0 -> UH0)) -> (string list -> (UH0 -> UH0))) = │
00:06:09 verbose #22022 > │ List.foldBack │
00:06:09 verbose #22023 > │ let v6 : (string -> (UH0 -> UH0)) = method1() │
00:06:09 verbose #22024 > │ let v7 : (string list -> (UH0 -> UH0)) = v5 v6 │
00:06:09 verbose #22025 > │ let v8 : (UH0 -> UH0) = v7 v4 │
00:06:09 verbose #22026 > │ let v9 : UH0 = UH0_0 │
00:06:09 verbose #22027 > │ let v10 : UH0 = v8 v9 │
00:06:09 verbose #22028 > │ let v24 : bool = │
00:06:09 verbose #22029 > │ match v10 with │
00:06:09 verbose #22030 > │ | UH0_1(v14, v15) -> (* Cons *) │
00:06:09 verbose #22031 > │ let v16 : bool = v14 = "a" │
00:06:09 verbose #22032 > │ if v16 then │
00:06:09 verbose #22033 > │ match v15 with │
00:06:09 verbose #22034 > │ | UH0_1(v17, v18) -> (* Cons *) │
00:06:09 verbose #22035 > │ let v19 : bool = v17 = "b" │
00:06:09 verbose #22036 > │ if v19 then │
00:06:09 verbose #22037 > │ match v18 with │
00:06:09 verbose #22038 > │ | UH0_0 -> (* Nil *) │
00:06:09 verbose #22039 > │ true │
00:06:09 verbose #22040 > │ | _ -> │
00:06:09 verbose #22041 > │ false │
00:06:09 verbose #22042 > │ else │
00:06:09 verbose #22043 > │ false │
00:06:09 verbose #22044 > │ | _ -> │
00:06:09 verbose #22045 > │ false │
00:06:09 verbose #22046 > │ else │
00:06:09 verbose #22047 > │ false │
00:06:09 verbose #22048 > │ | _ -> │
00:06:09 verbose #22049 > │ false │
00:06:09 verbose #22050 > │ let v26 : bool = │
00:06:09 verbose #22051 > │ if v24 then │
00:06:09 verbose #22052 > │ true │
00:06:09 verbose #22053 > │ else │
00:06:09 verbose #22054 > │ method2(v24) │
00:06:09 verbose #22055 > │ let v27 : string = "assert_eq" │
00:06:09 verbose #22056 > │ let v28 : UH0 = UH0_0 │
00:06:09 verbose #22057 > │ let v29 : UH0 = UH0_1(v1, v28) │
00:06:09 verbose #22058 > │ let v30 : UH0 = UH0_1(v0, v29) │
00:06:09 verbose #22059 > │ let v31 : string = $"{v27} / actual: %A{v10} / expected: %A{v30}" │
00:06:09 verbose #22060 > │ System.Console.WriteLine v31 │
00:06:09 verbose #22061 > │ let v32 : bool = v26 = false │
00:06:09 verbose #22062 > │ if v32 then │
00:06:09 verbose #22063 > │ failwith<unit> v31 │
00:06:09 verbose #22064 > │ method0() │
00:06:09 verbose #22065 > │ │
00:06:09 verbose #22066 > │ assert_eq / actual: UH0_1 ("a", UH0_1 ("b", UH0_0)) / expected: UH0_1 ("a", │
00:06:09 verbose #22067 > │ UH0_1 ("b", UH0_0)) │
00:06:09 verbose #22068 > │ │
00:06:09 verbose #22069 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:09 verbose #22070 >
00:06:09 verbose #22071 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:09 verbose #22072 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:09 verbose #22073 > │ ## parallel_map │
00:06:09 verbose #22074 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:09 verbose #22075 >
00:06:09 verbose #22076 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:09 verbose #22077 > inl parallel_map forall dim el el'. (fn : el -> el') (a : a dim el) : a dim el'
00:06:09 verbose #22078 > =
00:06:09 verbose #22079 > a |> $'Array.Parallel.map' fn
00:06:10 verbose #22080 > 00:06:09 debug #302 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f967224c9f194243b8553278e9194f34fbcecf8be7090ca932b791bd0db78d81/main.spi
00:06:10 verbose #22081 >
00:06:10 verbose #22082 > ╭─[ 621.46ms - stdout ]────────────────────────────────────────────────────────╮
00:06:10 verbose #22083 > │ () │
00:06:10 verbose #22084 > │ │
00:06:10 verbose #22085 > │ │
00:06:10 verbose #22086 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:10 verbose #22087 >
00:06:10 verbose #22088 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:10 verbose #22089 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:10 verbose #22090 > │ ## sort_by │
00:06:10 verbose #22091 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:10 verbose #22092 >
00:06:10 verbose #22093 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:10 verbose #22094 > inl sort_by forall dim el. (fn : el -> _) (a : a dim el) : a dim el =
00:06:10 verbose #22095 > a |> $'Array.sortBy' fn
00:06:10 verbose #22096 > 00:06:09 debug #303 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/afd0f2be827c01aa7cfe14654a2ea7d510204a0d06c9cea7ec462b827f129e3f/main.spi
00:06:10 verbose #22097 >
00:06:10 verbose #22098 > ╭─[ 619.47ms - stdout ]────────────────────────────────────────────────────────╮
00:06:10 verbose #22099 > │ () │
00:06:10 verbose #22100 > │ │
00:06:10 verbose #22101 > │ │
00:06:10 verbose #22102 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:10 verbose #22103 >
00:06:10 verbose #22104 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:10 verbose #22105 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:10 verbose #22106 > │ ## sort_descending │
00:06:10 verbose #22107 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:10 verbose #22108 >
00:06:10 verbose #22109 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:10 verbose #22110 > inl sort_descending forall dim el. (a : a dim el) : a dim el =
00:06:10 verbose #22111 > a |> $'Array.sortDescending'
00:06:11 verbose #22112 > 00:06:10 debug #304 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/85de284342ffdb76a439ef5dad722dcf4367a034066bdc874c4f9cd4f3a361c0/main.spi
00:06:11 verbose #22113 >
00:06:11 verbose #22114 > ╭─[ 594.78ms - stdout ]────────────────────────────────────────────────────────╮
00:06:11 verbose #22115 > │ () │
00:06:11 verbose #22116 > │ │
00:06:11 verbose #22117 > │ │
00:06:11 verbose #22118 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:11 verbose #22119 >
00:06:11 verbose #22120 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:11 verbose #22121 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:11 verbose #22122 > │ ## transpose │
00:06:11 verbose #22123 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:11 verbose #22124 >
00:06:11 verbose #22125 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:11 verbose #22126 > inl transpose forall dim el. (a : a dim (a dim el)) : a dim (a dim el) =
00:06:11 verbose #22127 > a |> $'Array.transpose'
00:06:12 verbose #22128 > 00:06:10 debug #305 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fb97401ca046c87f7b631f73b3fda01da3302e29d43e4a8c311f58192909b8d5/main.spi
00:06:12 verbose #22129 >
00:06:12 verbose #22130 > ╭─[ 610.06ms - stdout ]────────────────────────────────────────────────────────╮
00:06:12 verbose #22131 > │ () │
00:06:12 verbose #22132 > │ │
00:06:12 verbose #22133 > │ │
00:06:12 verbose #22134 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:12 verbose #22135 >
00:06:12 verbose #22136 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:12 verbose #22137 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:12 verbose #22138 > │ ## try_item │
00:06:12 verbose #22139 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:12 verbose #22140 >
00:06:12 verbose #22141 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:12 verbose #22142 > inl try_item forall dim el. (i : i32) (a : a dim el) : option el =
00:06:12 verbose #22143 > a |> $'Array.tryItem' i |> optionm'.unbox
00:06:12 verbose #22144 > 00:06:11 debug #306 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e3f62f3c4d8f4cf6da692e6f5215beb14a768daad3a526dc9d03c5e8770542d9/main.spi
00:06:12 verbose #22145 >
00:06:12 verbose #22146 > ╭─[ 628.42ms - stdout ]────────────────────────────────────────────────────────╮
00:06:12 verbose #22147 > │ () │
00:06:12 verbose #22148 > │ │
00:06:12 verbose #22149 > │ │
00:06:12 verbose #22150 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:12 verbose #22151 >
00:06:12 verbose #22152 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:12 verbose #22153 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:12 verbose #22154 > │ ## indexed │
00:06:12 verbose #22155 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:12 verbose #22156 >
00:06:12 verbose #22157 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:12 verbose #22158 > inl indexed (array : a _ _) =
00:06:12 verbose #22159 > (([[]], 0), array)
00:06:12 verbose #22160 > ||> am.fold fun (acc, i) x =>
00:06:12 verbose #22161 > (i, x) :: acc, i + 1
00:06:12 verbose #22162 > |> fst
00:06:12 verbose #22163 > |> listm.rev
00:06:12 verbose #22164 > |> listm.toArray
00:06:13 verbose #22165 > 00:06:12 debug #307 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/45f7916dde605ed117ec52dcfac8e9637981174b92021b154f8b0c9bdecd3a59/main.spi
00:06:13 verbose #22166 >
00:06:13 verbose #22167 > ╭─[ 614.08ms - stdout ]────────────────────────────────────────────────────────╮
00:06:13 verbose #22168 > │ () │
00:06:13 verbose #22169 > │ │
00:06:13 verbose #22170 > │ │
00:06:13 verbose #22171 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:13 verbose #22172 >
00:06:13 verbose #22173 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:13 verbose #22174 > //// test
00:06:13 verbose #22175 >
00:06:13 verbose #22176 > am.init 3i32 ((*) 2)
00:06:13 verbose #22177 > |> indexed
00:06:13 verbose #22178 > |> _assert_eq (a ;[[0i32, 0; 1, 2; 2, 4]] : a i32 _)
00:06:13 verbose #22179 > 00:06:12 debug #308 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/35d4f0c32f409785e84f025bc4cf4a7c7c2a73713cfa93e43898739823ebd08d/main.spi
00:06:14 verbose #22180 >
00:06:14 verbose #22181 > ╭─[ 753.26ms - stdout ]────────────────────────────────────────────────────────╮
00:06:14 verbose #22182 > │ type Mut0 = {mutable l0 : int32} │
00:06:14 verbose #22183 > │ and UH0 = │
00:06:14 verbose #22184 > │ | UH0_0 │
00:06:14 verbose #22185 > │ | UH0_1 of int32 * int32 * UH0 │
00:06:14 verbose #22186 > │ and Mut1 = {mutable l0 : int32; mutable l1 : UH0; mutable l2 : int32} │
00:06:14 verbose #22187 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:14 verbose #22188 > │ let v1 : int32 = v0.l0 │
00:06:14 verbose #22189 > │ let v2 : bool = v1 < 3 │
00:06:14 verbose #22190 > │ v2 │
00:06:14 verbose #22191 > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:06:14 verbose #22192 > │ let v2 : int32 = v1.l0 │
00:06:14 verbose #22193 > │ let v3 : bool = v2 < v0 │
00:06:14 verbose #22194 > │ v3 │
00:06:14 verbose #22195 > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:06:14 verbose #22196 > │ match v0 with │
00:06:14 verbose #22197 > │ | UH0_1(v2, v3, v4) -> (* Cons *) │
00:06:14 verbose #22198 > │ let v5 : UH0 = UH0_1(v2, v3, v1) │
00:06:14 verbose #22199 > │ method3(v4, v5) │
00:06:14 verbose #22200 > │ | UH0_0 -> (* Nil *) │
00:06:14 verbose #22201 > │ v1 │
00:06:14 verbose #22202 > │ and method5 (v0 : UH0, v1 : int32) : int32 = │
00:06:14 verbose #22203 > │ match v0 with │
00:06:14 verbose #22204 > │ | UH0_1(v2, v3, v4) -> (* Cons *) │
00:06:14 verbose #22205 > │ let v5 : int32 = v1 + 1 │
00:06:14 verbose #22206 > │ method5(v4, v5) │
00:06:14 verbose #22207 > │ | UH0_0 -> (* Nil *) │
00:06:14 verbose #22208 > │ v1 │
00:06:14 verbose #22209 > │ and method6 (v0 : (struct (int32 * int32) []), v1 : UH0, v2 : int32) : int32 │
00:06:14 verbose #22210 > │ = │
00:06:14 verbose #22211 > │ match v1 with │
00:06:14 verbose #22212 > │ | UH0_1(v3, v4, v5) -> (* Cons *) │
00:06:14 verbose #22213 > │ v0.[int v2] <- struct (v3, v4) │
00:06:14 verbose #22214 > │ let v6 : int32 = v2 + 1 │
00:06:14 verbose #22215 > │ method6(v0, v5, v6) │
00:06:14 verbose #22216 > │ | UH0_0 -> (* Nil *) │
00:06:14 verbose #22217 > │ v2 │
00:06:14 verbose #22218 > │ and method4 (v0 : UH0) : (struct (int32 * int32) []) = │
00:06:14 verbose #22219 > │ let v1 : int32 = 0 │
00:06:14 verbose #22220 > │ let v2 : int32 = method5(v0, v1) │
00:06:14 verbose #22221 > │ let v3 : (struct (int32 * int32) []) = Array.zeroCreate<struct (int32 * │
00:06:14 verbose #22222 > │ int32)> (v2) │
00:06:14 verbose #22223 > │ let v4 : int32 = 0 │
00:06:14 verbose #22224 > │ let v5 : int32 = method6(v3, v0, v4) │
00:06:14 verbose #22225 > │ v3 │
00:06:14 verbose #22226 > │ and method7 (v0 : (struct (int32 * int32) []), v1 : (struct (int32 * int32) │
00:06:14 verbose #22227 > │ []), v2 : int32) : bool = │
00:06:14 verbose #22228 > │ let v3 : int32 = v0.Length │
00:06:14 verbose #22229 > │ let v4 : bool = v2 < v3 │
00:06:14 verbose #22230 > │ if v4 then │
00:06:14 verbose #22231 > │ let struct (v5 : int32, v6 : int32) = v0.[int v2] │
00:06:14 verbose #22232 > │ let struct (v7 : int32, v8 : int32) = v1.[int v2] │
00:06:14 verbose #22233 > │ let v9 : bool = v5 = v7 │
00:06:14 verbose #22234 > │ let v11 : bool = │
00:06:14 verbose #22235 > │ if v9 then │
00:06:14 verbose #22236 > │ let v10 : bool = v6 = v8 │
00:06:14 verbose #22237 > │ v10 │
00:06:14 verbose #22238 > │ else │
00:06:14 verbose #22239 > │ false │
00:06:14 verbose #22240 > │ if v11 then │
00:06:14 verbose #22241 > │ let v12 : int32 = v2 + 1 │
00:06:14 verbose #22242 > │ method7(v0, v1, v12) │
00:06:14 verbose #22243 > │ else │
00:06:14 verbose #22244 > │ false │
00:06:14 verbose #22245 > │ else │
00:06:14 verbose #22246 > │ true │
00:06:14 verbose #22247 > │ and method8 (v0 : bool) : bool = │
00:06:14 verbose #22248 > │ v0 │
00:06:14 verbose #22249 > │ and method0 () : unit = │
00:06:14 verbose #22250 > │ let v0 : (int32 []) = Array.zeroCreate<int32> (3) │
00:06:14 verbose #22251 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:06:14 verbose #22252 > │ while method1(v1) do │
00:06:14 verbose #22253 > │ let v3 : int32 = v1.l0 │
00:06:14 verbose #22254 > │ let v4 : int32 = 2 * v3 │
00:06:14 verbose #22255 > │ v0.[int v3] <- v4 │
00:06:14 verbose #22256 > │ let v5 : int32 = v3 + 1 │
00:06:14 verbose #22257 > │ v1.l0 <- v5 │
00:06:14 verbose #22258 > │ () │
00:06:14 verbose #22259 > │ let v6 : int32 = v0.Length │
00:06:14 verbose #22260 > │ let v7 : UH0 = UH0_0 │
00:06:14 verbose #22261 > │ let v8 : Mut1 = {l0 = 0; l1 = v7; l2 = 0} : Mut1 │
00:06:14 verbose #22262 > │ while method2(v6, v8) do │
00:06:14 verbose #22263 > │ let v10 : int32 = v8.l0 │
00:06:14 verbose #22264 > │ let struct (v11 : UH0, v12 : int32) = v8.l1, v8.l2 │
00:06:14 verbose #22265 > │ let v13 : int32 = v0.[int v10] │
00:06:14 verbose #22266 > │ let v14 : int32 = v12 + 1 │
00:06:14 verbose #22267 > │ let v15 : int32 = v10 + 1 │
00:06:14 verbose #22268 > │ let v16 : UH0 = UH0_1(v12, v13, v11) │
00:06:14 verbose #22269 > │ v8.l0 <- v15 │
00:06:14 verbose #22270 > │ v8.l1 <- v16 │
00:06:14 verbose #22271 > │ v8.l2 <- v14 │
00:06:14 verbose #22272 > │ () │
00:06:14 verbose #22273 > │ let struct (v17 : UH0, v18 : int32) = v8.l1, v8.l2 │
00:06:14 verbose #22274 > │ let v19 : UH0 = UH0_0 │
00:06:14 verbose #22275 > │ let v20 : UH0 = method3(v17, v19) │
00:06:14 verbose #22276 > │ let v21 : (struct (int32 * int32) []) = method4(v20) │
00:06:14 verbose #22277 > │ let v22 : (struct (int32 * int32) []) = [|struct (0, 0); struct (1, 2); │
00:06:14 verbose #22278 > │ struct (2, 4)|] │
00:06:14 verbose #22279 > │ let v23 : int32 = v21.Length │
00:06:14 verbose #22280 > │ let v24 : int32 = v22.Length │
00:06:14 verbose #22281 > │ let v25 : bool = v23 = v24 │
00:06:14 verbose #22282 > │ let v26 : bool = v25 <> true │
00:06:14 verbose #22283 > │ let v29 : bool = │
00:06:14 verbose #22284 > │ if v26 then │
00:06:14 verbose #22285 > │ false │
00:06:14 verbose #22286 > │ else │
00:06:14 verbose #22287 > │ let v27 : int32 = 0 │
00:06:14 verbose #22288 > │ method7(v21, v22, v27) │
00:06:14 verbose #22289 > │ let v31 : bool = │
00:06:14 verbose #22290 > │ if v29 then │
00:06:14 verbose #22291 > │ true │
00:06:14 verbose #22292 > │ else │
00:06:14 verbose #22293 > │ method8(v29) │
00:06:14 verbose #22294 > │ let v32 : string = "assert_eq" │
00:06:14 verbose #22295 > │ let v33 : string = $"{v32} / actual: %A{v21} / expected: %A{v22}" │
00:06:14 verbose #22296 > │ System.Console.WriteLine v33 │
00:06:14 verbose #22297 > │ let v34 : bool = v31 = false │
00:06:14 verbose #22298 > │ if v34 then │
00:06:14 verbose #22299 > │ failwith<unit> v33 │
00:06:14 verbose #22300 > │ method0() │
00:06:14 verbose #22301 > │ │
00:06:14 verbose #22302 > │ assert_eq / actual: [|struct (0, 0); struct (1, 2); struct (2, 4)|] / │
00:06:14 verbose #22303 > │ expected: [|struct (0, 0); struct (1, 2); struct (2, 4)|] │
00:06:14 verbose #22304 > │ │
00:06:14 verbose #22305 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:14 verbose #22306 >
00:06:14 verbose #22307 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:14 verbose #22308 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:14 verbose #22309 > │ ## vec │
00:06:14 verbose #22310 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:14 verbose #22311 >
00:06:14 verbose #22312 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:14 verbose #22313 > nominal vec t = $"Vec<`t>"
00:06:14 verbose #22314 > 00:06:13 debug #309 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/82998bbbc58086d4a50688d3068963dff8aae7391b5f6d5430e776ce11377af9/main.spi
00:06:14 verbose #22315 >
00:06:14 verbose #22316 > ╭─[ 626.09ms - stdout ]────────────────────────────────────────────────────────╮
00:06:14 verbose #22317 > │ () │
00:06:14 verbose #22318 > │ │
00:06:14 verbose #22319 > │ │
00:06:14 verbose #22320 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:14 verbose #22321 >
00:06:14 verbose #22322 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:14 verbose #22323 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:14 verbose #22324 > │ ## from_vec │
00:06:14 verbose #22325 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:14 verbose #22326 >
00:06:14 verbose #22327 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:14 verbose #22328 > inl from_vec forall dim el. (vec : vec el) : a dim el =
00:06:14 verbose #22329 > !\\(vec, $'"fable_library_rust::NativeArray_::array_from($0)"')
00:06:15 verbose #22330 > 00:06:14 debug #310 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/51f8f7f6dddfe27b6675a0a477b9127eb7a445c3a817a87d03dd491fd3b0b441/main.spi
00:06:15 verbose #22331 >
00:06:15 verbose #22332 > ╭─[ 615.33ms - stdout ]────────────────────────────────────────────────────────╮
00:06:15 verbose #22333 > │ () │
00:06:15 verbose #22334 > │ │
00:06:15 verbose #22335 > │ │
00:06:15 verbose #22336 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:15 verbose #22337 >
00:06:15 verbose #22338 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:15 verbose #22339 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:15 verbose #22340 > │ ## to_vec │
00:06:15 verbose #22341 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:15 verbose #22342 >
00:06:15 verbose #22343 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:15 verbose #22344 > inl to_vec forall t. (ab : array_base t) : vec t =
00:06:15 verbose #22345 > !\\(ab, $'"$0.to_vec()"')
00:06:15 verbose #22346 > 00:06:14 debug #311 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6836ffb3beab3f5a804ca8a88b3651eb6eb98956bab6bdf27410a4c1197e7c8a/main.spi
00:06:16 verbose #22347 >
00:06:16 verbose #22348 > ╭─[ 663.09ms - stdout ]────────────────────────────────────────────────────────╮
00:06:16 verbose #22349 > │ () │
00:06:16 verbose #22350 > │ │
00:06:16 verbose #22351 > │ │
00:06:16 verbose #22352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:16 verbose #22353 >
00:06:16 verbose #22354 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:16 verbose #22355 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:16 verbose #22356 > │ ## vec_push │
00:06:16 verbose #22357 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:16 verbose #22358 >
00:06:16 verbose #22359 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:16 verbose #22360 > inl vec_push forall el. (el : el) (vec : vec el) : vec el =
00:06:16 verbose #22361 > inl el = join el
00:06:16 verbose #22362 > inl vec = join vec
00:06:16 verbose #22363 > !\($'"let mut !vec = !vec"')
00:06:16 verbose #22364 > // inl vec = vec |> rust.to_mut
00:06:16 verbose #22365 > !\($'"!vec.push(!el)"')
00:06:16 verbose #22366 > !\($'"!vec"')
00:06:16 verbose #22367 > 00:06:15 debug #312 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8e4bd8f5beee3f6adf65bef5775852c0d2ff309992878c36e5d5a571f1ae7b6e/main.spi
00:06:16 verbose #22368 >
00:06:16 verbose #22369 > ╭─[ 643.18ms - stdout ]────────────────────────────────────────────────────────╮
00:06:16 verbose #22370 > │ () │
00:06:16 verbose #22371 > │ │
00:06:16 verbose #22372 > │ │
00:06:16 verbose #22373 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:16 verbose #22374 >
00:06:16 verbose #22375 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:16 verbose #22376 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:16 verbose #22377 > │ ## vec_reverse │
00:06:16 verbose #22378 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:16 verbose #22379 >
00:06:16 verbose #22380 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:16 verbose #22381 > inl vec_reverse forall el. (vec : vec el) : vec el =
00:06:16 verbose #22382 > inl vec = join vec
00:06:16 verbose #22383 > !\($'"let mut !vec = !vec"')
00:06:16 verbose #22384 > !\($'"!vec.reverse()"')
00:06:16 verbose #22385 > !\($'"!vec"')
00:06:17 verbose #22386 > 00:06:16 debug #313 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bc56a5a5569dc749e62fcc64384218a5782ac8c62dc0d43cb33aaf3b6453b467/main.spi
00:06:17 verbose #22387 >
00:06:17 verbose #22388 > ╭─[ 603.78ms - stdout ]────────────────────────────────────────────────────────╮
00:06:17 verbose #22389 > │ () │
00:06:17 verbose #22390 > │ │
00:06:17 verbose #22391 > │ │
00:06:17 verbose #22392 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:17 verbose #22393 >
00:06:17 verbose #22394 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:17 verbose #22395 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:17 verbose #22396 > │ ## vec_retain │
00:06:17 verbose #22397 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:17 verbose #22398 >
00:06:17 verbose #22399 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:17 verbose #22400 > inl vec_retain forall el. (fn : el -> bool) (vec : vec el) : vec el =
00:06:17 verbose #22401 > inl vec = join vec
00:06:17 verbose #22402 > inl fn = join fn
00:06:17 verbose #22403 > !\($'"let mut !vec = !vec"')
00:06:17 verbose #22404 > // inl vec = vec |> rust.to_mut
00:06:17 verbose #22405 > !\($'"!vec.retain(|x| !fn(x.clone()))"')
00:06:17 verbose #22406 > !\($'"!vec"')
00:06:17 verbose #22407 > 00:06:16 debug #314 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/de71595d210a1c60c01d6d82ba9e5cfae8437dff943fdf2b9dc641e05922071c/main.spi
00:06:17 verbose #22408 >
00:06:17 verbose #22409 > ╭─[ 632.04ms - stdout ]────────────────────────────────────────────────────────╮
00:06:17 verbose #22410 > │ () │
00:06:17 verbose #22411 > │ │
00:06:17 verbose #22412 > │ │
00:06:17 verbose #22413 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:17 verbose #22414 >
00:06:17 verbose #22415 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:17 verbose #22416 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:17 verbose #22417 > │ ## vec_sort_by_key │
00:06:17 verbose #22418 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:17 verbose #22419 >
00:06:17 verbose #22420 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:17 verbose #22421 > inl vec_sort_by_key forall el t. (fn : el -> t) (vec : vec el) : vec el =
00:06:17 verbose #22422 > inl vec = join vec
00:06:17 verbose #22423 > inl fn = join fn
00:06:17 verbose #22424 > !\($'"let mut !vec = !vec"')
00:06:17 verbose #22425 > // inl vec = vec |> rust.to_mut
00:06:17 verbose #22426 > !\($'"!vec.sort_by_key(|x| !fn(x.clone()))"')
00:06:17 verbose #22427 > !\($'"!vec"')
00:06:18 verbose #22428 > 00:06:17 debug #315 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bbdf824699c8cd39ee822660dade9d7ad343e1a99cc1cffc1f45190cf0d17ac8/main.spi
00:06:18 verbose #22429 >
00:06:18 verbose #22430 > ╭─[ 651.78ms - stdout ]────────────────────────────────────────────────────────╮
00:06:18 verbose #22431 > │ () │
00:06:18 verbose #22432 > │ │
00:06:18 verbose #22433 > │ │
00:06:18 verbose #22434 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:18 verbose #22435 >
00:06:18 verbose #22436 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:18 verbose #22437 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:18 verbose #22438 > │ ## vec_extend │
00:06:18 verbose #22439 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:18 verbose #22440 >
00:06:18 verbose #22441 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:18 verbose #22442 > inl vec_extend forall el. (el : vec el) (vec : vec el) : vec el =
00:06:18 verbose #22443 > inl el = join el
00:06:18 verbose #22444 > inl vec = join vec
00:06:18 verbose #22445 > !\($'"let mut !vec = !vec"')
00:06:18 verbose #22446 > // inl vec = vec |> rust.to_mut
00:06:18 verbose #22447 > !\($'"!vec.extend(!el)"')
00:06:18 verbose #22448 > !\($'"!vec"')
00:06:19 verbose #22449 > 00:06:18 debug #316 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09a95de559be477166737c1c560ebd610339aa4c0dda194e74ccc2cd734a10dd/main.spi
00:06:19 verbose #22450 >
00:06:19 verbose #22451 > ╭─[ 640.09ms - stdout ]────────────────────────────────────────────────────────╮
00:06:19 verbose #22452 > │ () │
00:06:19 verbose #22453 > │ │
00:06:19 verbose #22454 > │ │
00:06:19 verbose #22455 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:19 verbose #22456 >
00:06:19 verbose #22457 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:19 verbose #22458 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:19 verbose #22459 > │ ## vec_collect │
00:06:19 verbose #22460 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:19 verbose #22461 >
00:06:19 verbose #22462 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:19 verbose #22463 > inl vec_collect fn vec =
00:06:19 verbose #22464 > ((;[[]] |> to_vec), (vec |> from_vec : _ i32 _))
00:06:19 verbose #22465 > ||> am.fold fun acc x =>
00:06:19 verbose #22466 > acc |> vec_extend (fn x)
00:06:19 verbose #22467 > 00:06:18 debug #317 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5cfd86de2824c20474136a957ac89bd626d4a0e891f784c3a99681bb17f3f48f/main.spi
00:06:19 verbose #22468 >
00:06:19 verbose #22469 > ╭─[ 626.31ms - stdout ]────────────────────────────────────────────────────────╮
00:06:19 verbose #22470 > │ () │
00:06:19 verbose #22471 > │ │
00:06:19 verbose #22472 > │ │
00:06:19 verbose #22473 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:19 verbose #22474 >
00:06:19 verbose #22475 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:19 verbose #22476 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:19 verbose #22477 > │ ## vec_collect_option │
00:06:19 verbose #22478 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:19 verbose #22479 >
00:06:19 verbose #22480 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:19 verbose #22481 > inl vec_collect_option vec =
00:06:19 verbose #22482 > ((;[[]] |> to_vec |> Ok), (vec |> from_vec : _ i32 _))
00:06:19 verbose #22483 > ||> am.fold fun acc x =>
00:06:19 verbose #22484 > x
00:06:19 verbose #22485 > |> resultm.unbox
00:06:19 verbose #22486 > |> fun x =>
00:06:19 verbose #22487 > match acc, x |> resultm.map optionm'.unbox with
00:06:19 verbose #22488 > | Ok acc, Ok (Some x) => acc |> vec_extend x |> Ok
00:06:19 verbose #22489 > | _, Error error => error |> Error
00:06:19 verbose #22490 > | _ => acc
00:06:20 verbose #22491 > 00:06:19 debug #318 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6aee3cd81e23a5e6d05a65c6a3b78c2d57eedd9244a3ff2e7a8adadfeb44729c/main.spi
00:06:20 verbose #22492 >
00:06:20 verbose #22493 > ╭─[ 677.26ms - stdout ]────────────────────────────────────────────────────────╮
00:06:20 verbose #22494 > │ () │
00:06:20 verbose #22495 > │ │
00:06:20 verbose #22496 > │ │
00:06:20 verbose #22497 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:20 verbose #22498 >
00:06:20 verbose #22499 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:20 verbose #22500 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:20 verbose #22501 > │ ## vec_collect_into │
00:06:20 verbose #22502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:20 verbose #22503 >
00:06:20 verbose #22504 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:20 verbose #22505 > inl vec_collect_into forall (c : * -> * -> *) t e.
00:06:20 verbose #22506 > (x : vec (c t e))
00:06:20 verbose #22507 > : c (vec t) e
00:06:20 verbose #22508 > =
00:06:20 verbose #22509 > !\($'"!x.into_iter().collect()"')
00:06:21 verbose #22510 > 00:06:20 debug #319 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/162ea4c9a3ed6b80cc9c23844ced6a989a84bb5d1f5ffb43f0e3c6eb47c36212/main.spi
00:06:21 verbose #22511 >
00:06:21 verbose #22512 > ╭─[ 664.93ms - stdout ]────────────────────────────────────────────────────────╮
00:06:21 verbose #22513 > │ () │
00:06:21 verbose #22514 > │ │
00:06:21 verbose #22515 > │ │
00:06:21 verbose #22516 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:21 verbose #22517 >
00:06:21 verbose #22518 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:21 verbose #22519 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:21 verbose #22520 > │ ## vec_mapi │
00:06:21 verbose #22521 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:21 verbose #22522 >
00:06:21 verbose #22523 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:21 verbose #22524 > inl vec_mapi forall dim t u. (fn : dim -> t -> u) (ar : vec t) : vec u =
00:06:21 verbose #22525 > inl fn = join fn
00:06:21 verbose #22526 > inl ar = join ar
00:06:21 verbose #22527 > !\($'"!ar.iter().enumerate().map(|(i, x)|
00:06:21 verbose #22528 > !fn(i.try_into().unwrap())(x.clone())).collect()"')
00:06:21 verbose #22529 > 00:06:20 debug #320 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dede9a5272e73bea45c8b3903e54586be50a9b11480f2745b1f8eff1434c9557/main.spi
00:06:21 verbose #22530 >
00:06:21 verbose #22531 > ╭─[ 662.66ms - stdout ]────────────────────────────────────────────────────────╮
00:06:21 verbose #22532 > │ () │
00:06:21 verbose #22533 > │ │
00:06:21 verbose #22534 > │ │
00:06:21 verbose #22535 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:21 verbose #22536 >
00:06:21 verbose #22537 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:21 verbose #22538 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:21 verbose #22539 > │ ## vec_map │
00:06:21 verbose #22540 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:21 verbose #22541 >
00:06:21 verbose #22542 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:21 verbose #22543 > inl vec_map forall t u. (fn : t -> u) (ar : vec t) : vec u =
00:06:21 verbose #22544 > !\\((ar, fn), $'"$0.iter().map(|x| $1(x.clone())).collect()"')
00:06:22 verbose #22545 > 00:06:21 debug #321 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/affe623e283e41bd917543e4cff12225e7b3db0758fc43857cddb43a31d7adf8/main.spi
00:06:22 verbose #22546 >
00:06:22 verbose #22547 > ╭─[ 663.32ms - stdout ]────────────────────────────────────────────────────────╮
00:06:22 verbose #22548 > │ () │
00:06:22 verbose #22549 > │ │
00:06:22 verbose #22550 > │ │
00:06:22 verbose #22551 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:22 verbose #22552 >
00:06:22 verbose #22553 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:22 verbose #22554 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:22 verbose #22555 > │ ## vec_iter │
00:06:22 verbose #22556 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:22 verbose #22557 >
00:06:22 verbose #22558 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:22 verbose #22559 > inl vec_iter forall t. (fn : t -> ()) (ar : vec t) : () =
00:06:22 verbose #22560 > !\\((ar, fn), $'"$0.iter().map(|x| { $1(x.clone()); }).collect()"')
00:06:23 verbose #22561 > 00:06:22 debug #322 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ea08655d8ff22927986e5ca371787e5dc4889b863c430cc674165096680c38d6/main.spi
00:06:23 verbose #22562 >
00:06:23 verbose #22563 > ╭─[ 624.20ms - stdout ]────────────────────────────────────────────────────────╮
00:06:23 verbose #22564 > │ () │
00:06:23 verbose #22565 > │ │
00:06:23 verbose #22566 > │ │
00:06:23 verbose #22567 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:23 verbose #22568 >
00:06:23 verbose #22569 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:23 verbose #22570 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:23 verbose #22571 > │ ## vec_filter │
00:06:23 verbose #22572 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:23 verbose #22573 >
00:06:23 verbose #22574 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:23 verbose #22575 > inl vec_filter forall t. (fn : t -> bool) (ar : vec t) : vec t =
00:06:23 verbose #22576 > inl fn = join fn
00:06:23 verbose #22577 > inl ar = join ar
00:06:23 verbose #22578 > !\($'"!ar.into_iter().filter(|x| !fn(x.clone().clone())).collect()"')
00:06:23 verbose #22579 > 00:06:22 debug #323 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/adf3f75d5dc297d14287979dece6efe1e0b5faa8bf6f9f80d7e153551bebe29e/main.spi
00:06:23 verbose #22580 >
00:06:23 verbose #22581 > ╭─[ 608.69ms - stdout ]────────────────────────────────────────────────────────╮
00:06:23 verbose #22582 > │ () │
00:06:23 verbose #22583 > │ │
00:06:23 verbose #22584 > │ │
00:06:23 verbose #22585 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:23 verbose #22586 >
00:06:23 verbose #22587 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:23 verbose #22588 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:23 verbose #22589 > │ ## vec_len │
00:06:23 verbose #22590 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:23 verbose #22591 >
00:06:23 verbose #22592 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:23 verbose #22593 > inl vec_len forall t. (vec : vec t) : unativeint =
00:06:23 verbose #22594 > !\\(vec, $'"$0.len()"')
00:06:24 verbose #22595 > 00:06:23 debug #324 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3943f2119eb19030064994509f7981d7699d7480771881fbd41739b379fab513/main.spi
00:06:24 verbose #22596 >
00:06:24 verbose #22597 > ╭─[ 632.57ms - stdout ]────────────────────────────────────────────────────────╮
00:06:24 verbose #22598 > │ () │
00:06:24 verbose #22599 > │ │
00:06:24 verbose #22600 > │ │
00:06:24 verbose #22601 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:24 verbose #22602 >
00:06:24 verbose #22603 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:24 verbose #22604 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:24 verbose #22605 > │ ## slice │
00:06:24 verbose #22606 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:24 verbose #22607 >
00:06:24 verbose #22608 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:24 verbose #22609 > nominal slice t = $"Slice<`t>"
00:06:25 verbose #22610 > 00:06:23 debug #325 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c7dd07f23bae41b4b812dc003edd6071c4835f72286ae0250144435725fbc1ab/main.spi
00:06:25 verbose #22611 >
00:06:25 verbose #22612 > ╭─[ 642.52ms - stdout ]────────────────────────────────────────────────────────╮
00:06:25 verbose #22613 > │ () │
00:06:25 verbose #22614 > │ │
00:06:25 verbose #22615 > │ │
00:06:25 verbose #22616 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:25 verbose #22617 >
00:06:25 verbose #22618 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:25 verbose #22619 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:25 verbose #22620 > │ ## slice │
00:06:25 verbose #22621 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:25 verbose #22622 >
00:06:25 verbose #22623 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:25 verbose #22624 > inl slice forall dim {int; number} el. from nearTo s : a dim el =
00:06:25 verbose #22625 > am.slice { from nearTo } s
00:06:25 verbose #22626 > 00:06:24 debug #326 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/61bc91b537f7faba911e90202e654b41770852a56fa093de773110f6fbf48b2f/main.spi
00:06:25 verbose #22627 >
00:06:25 verbose #22628 > ╭─[ 610.73ms - stdout ]────────────────────────────────────────────────────────╮
00:06:25 verbose #22629 > │ () │
00:06:25 verbose #22630 > │ │
00:06:25 verbose #22631 > │ │
00:06:25 verbose #22632 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:25 verbose #22633 >
00:06:25 verbose #22634 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:25 verbose #22635 > //// test
00:06:25 verbose #22636 >
00:06:25 verbose #22637 > inl x : _ i32 _ = a ;[[ 1i32; 2; 3 ]]
00:06:25 verbose #22638 > x |> slice 0 0 |> _assert_eq (a ;[[]])
00:06:25 verbose #22639 > x |> slice 0 1 |> _assert_eq (a ;[[ 1 ]])
00:06:25 verbose #22640 > x |> slice 1 1 |> _assert_eq (a ;[[]])
00:06:25 verbose #22641 > x |> slice 1 2 |> _assert_eq (a ;[[ 2 ]])
00:06:25 verbose #22642 > x |> slice 2 2 |> _assert_eq (a ;[[]])
00:06:25 verbose #22643 > x |> slice 0 2 |> _assert_eq (a ;[[ 1; 2 ]])
00:06:26 verbose #22644 > 00:06:25 debug #327 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/65240eef02c4eb76ebd34e115fcdcb2f2c233ec09324bf1624946aa96206a4bf/main.spi
00:06:26 verbose #22645 >
00:06:26 verbose #22646 > ╭─[ 711.97ms - stdout ]────────────────────────────────────────────────────────╮
00:06:26 verbose #22647 > │ type Mut0 = {mutable l0 : int32} │
00:06:26 verbose #22648 > │ let rec method1 (v0 : Mut0) : bool = │
00:06:26 verbose #22649 > │ let v1 : int32 = v0.l0 │
00:06:26 verbose #22650 > │ let v2 : bool = v1 < 0 │
00:06:26 verbose #22651 > │ v2 │
00:06:26 verbose #22652 > │ and method2 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool = │
00:06:26 verbose #22653 > │ let v3 : int32 = v0.Length │
00:06:26 verbose #22654 > │ let v4 : bool = v2 < v3 │
00:06:26 verbose #22655 > │ if v4 then │
00:06:26 verbose #22656 > │ let v5 : int32 = v0.[int v2] │
00:06:26 verbose #22657 > │ let v6 : int32 = v1.[int v2] │
00:06:26 verbose #22658 > │ let v7 : bool = v5 = v6 │
00:06:26 verbose #22659 > │ if v7 then │
00:06:26 verbose #22660 > │ let v8 : int32 = v2 + 1 │
00:06:26 verbose #22661 > │ method2(v0, v1, v8) │
00:06:26 verbose #22662 > │ else │
00:06:26 verbose #22663 > │ false │
00:06:26 verbose #22664 > │ else │
00:06:26 verbose #22665 > │ true │
00:06:26 verbose #22666 > │ and method3 (v0 : bool) : bool = │
00:06:26 verbose #22667 > │ v0 │
00:06:26 verbose #22668 > │ and method4 (v0 : Mut0) : bool = │
00:06:26 verbose #22669 > │ let v1 : int32 = v0.l0 │
00:06:26 verbose #22670 > │ let v2 : bool = v1 < 1 │
00:06:26 verbose #22671 > │ v2 │
00:06:26 verbose #22672 > │ and method5 (v0 : Mut0) : bool = │
00:06:26 verbose #22673 > │ let v1 : int32 = v0.l0 │
00:06:26 verbose #22674 > │ let v2 : bool = v1 < 2 │
00:06:26 verbose #22675 > │ v2 │
00:06:26 verbose #22676 > │ and method0 () : unit = │
00:06:26 verbose #22677 > │ let v0 : (int32 []) = [|1; 2; 3|] │
00:06:26 verbose #22678 > │ let v1 : (int32 []) = Array.zeroCreate<int32> (0) │
00:06:26 verbose #22679 > │ let v2 : Mut0 = {l0 = 0} : Mut0 │
00:06:26 verbose #22680 > │ while method1(v2) do │
00:06:26 verbose #22681 > │ let v4 : int32 = v2.l0 │
00:06:26 verbose #22682 > │ let v5 : int32 = v0.[int v4] │
00:06:26 verbose #22683 > │ v1.[int v4] <- v5 │
00:06:26 verbose #22684 > │ let v6 : int32 = v4 + 1 │
00:06:26 verbose #22685 > │ v2.l0 <- v6 │
00:06:26 verbose #22686 > │ () │
00:06:26 verbose #22687 > │ let v7 : (int32 []) = [||] │
00:06:26 verbose #22688 > │ let v8 : int32 = v1.Length │
00:06:26 verbose #22689 > │ let v9 : int32 = v7.Length │
00:06:26 verbose #22690 > │ let v10 : bool = v8 = v9 │
00:06:26 verbose #22691 > │ let v11 : bool = v10 <> true │
00:06:26 verbose #22692 > │ let v14 : bool = │
00:06:26 verbose #22693 > │ if v11 then │
00:06:26 verbose #22694 > │ false │
00:06:26 verbose #22695 > │ else │
00:06:26 verbose #22696 > │ let v12 : int32 = 0 │
00:06:26 verbose #22697 > │ method2(v1, v7, v12) │
00:06:26 verbose #22698 > │ let v16 : bool = │
00:06:26 verbose #22699 > │ if v14 then │
00:06:26 verbose #22700 > │ true │
00:06:26 verbose #22701 > │ else │
00:06:26 verbose #22702 > │ method3(v14) │
00:06:26 verbose #22703 > │ let v17 : string = "assert_eq" │
00:06:26 verbose #22704 > │ let v18 : string = $"{v17} / actual: %A{v1} / expected: %A{v7}" │
00:06:26 verbose #22705 > │ System.Console.WriteLine v18 │
00:06:26 verbose #22706 > │ let v19 : bool = v16 = false │
00:06:26 verbose #22707 > │ if v19 then │
00:06:26 verbose #22708 > │ failwith<unit> v18 │
00:06:26 verbose #22709 > │ let v20 : (int32 []) = Array.zeroCreate<int32> (1) │
00:06:26 verbose #22710 > │ let v21 : Mut0 = {l0 = 0} : Mut0 │
00:06:26 verbose #22711 > │ while method4(v21) do │
00:06:26 verbose #22712 > │ let v23 : int32 = v21.l0 │
00:06:26 verbose #22713 > │ let v24 : int32 = v0.[int v23] │
00:06:26 verbose #22714 > │ v20.[int v23] <- v24 │
00:06:26 verbose #22715 > │ let v25 : int32 = v23 + 1 │
00:06:26 verbose #22716 > │ v21.l0 <- v25 │
00:06:26 verbose #22717 > │ () │
00:06:26 verbose #22718 > │ let v26 : (int32 []) = [|1|] │
00:06:26 verbose #22719 > │ let v27 : int32 = v20.Length │
00:06:26 verbose #22720 > │ let v28 : int32 = v26.Length │
00:06:26 verbose #22721 > │ let v29 : bool = v27 = v28 │
00:06:26 verbose #22722 > │ let v30 : bool = v29 <> true │
00:06:26 verbose #22723 > │ let v33 : bool = │
00:06:26 verbose #22724 > │ if v30 then │
00:06:26 verbose #22725 > │ false │
00:06:26 verbose #22726 > │ else │
00:06:26 verbose #22727 > │ let v31 : int32 = 0 │
00:06:26 verbose #22728 > │ method2(v20, v26, v31) │
00:06:26 verbose #22729 > │ let v35 : bool = │
00:06:26 verbose #22730 > │ if v33 then │
00:06:26 verbose #22731 > │ true │
00:06:26 verbose #22732 > │ else │
00:06:26 verbose #22733 > │ method3(v33) │
00:06:26 verbose #22734 > │ let v36 : string = $"{v17} / actual: %A{v20} / expected: %A{v26}" │
00:06:26 verbose #22735 > │ System.Console.WriteLine v36 │
00:06:26 verbose #22736 > │ let v37 : bool = v35 = false │
00:06:26 verbose #22737 > │ if v37 then │
00:06:26 verbose #22738 > │ failwith<unit> v36 │
00:06:26 verbose #22739 > │ let v38 : (int32 []) = Array.zeroCreate<int32> (0) │
00:06:26 verbose #22740 > │ let v39 : Mut0 = {l0 = 0} : Mut0 │
00:06:26 verbose #22741 > │ while method1(v39) do │
00:06:26 verbose #22742 > │ let v41 : int32 = v39.l0 │
00:06:26 verbose #22743 > │ let v42 : int32 = v41 + 1 │
00:06:26 verbose #22744 > │ let v43 : int32 = v0.[int v42] │
00:06:26 verbose #22745 > │ v38.[int v41] <- v43 │
00:06:26 verbose #22746 > │ v39.l0 <- v42 │
00:06:26 verbose #22747 > │ () │
00:06:26 verbose #22748 > │ let v44 : (int32 []) = [||] │
00:06:26 verbose #22749 > │ let v45 : int32 = v38.Length │
00:06:26 verbose #22750 > │ let v46 : int32 = v44.Length │
00:06:26 verbose #22751 > │ let v47 : bool = v45 = v46 │
00:06:26 verbose #22752 > │ let v48 : bool = v47 <> true │
00:06:26 verbose #22753 > │ let v51 : bool = │
00:06:26 verbose #22754 > │ if v48 then │
00:06:26 verbose #22755 > │ false │
00:06:26 verbose #22756 > │ else │
00:06:26 verbose #22757 > │ let v49 : int32 = 0 │
00:06:26 verbose #22758 > │ method2(v38, v44, v49) │
00:06:26 verbose #22759 > │ let v53 : bool = │
00:06:26 verbose #22760 > │ if v51 then │
00:06:26 verbose #22761 > │ true │
00:06:26 verbose #22762 > │ else │
00:06:26 verbose #22763 > │ method3(v51) │
00:06:26 verbose #22764 > │ let v54 : string = $"{v17} / actual: %A{v38} / expected: %A{v44}" │
00:06:26 verbose #22765 > │ System.Console.WriteLine v54 │
00:06:26 verbose #22766 > │ let v55 : bool = v53 = false │
00:06:26 verbose #22767 > │ if v55 then │
00:06:26 verbose #22768 > │ failwith<unit> v54 │
00:06:26 verbose #22769 > │ let v56 : (int32 []) = Array.zeroCreate<int32> (1) │
00:06:26 verbose #22770 > │ let v57 : Mut0 = {l0 = 0} : Mut0 │
00:06:26 verbose #22771 > │ while method4(v57) do │
00:06:26 verbose #22772 > │ let v59 : int32 = v57.l0 │
00:06:26 verbose #22773 > │ let v60 : int32 = v59 + 1 │
00:06:26 verbose #22774 > │ let v61 : int32 = v0.[int v60] │
00:06:26 verbose #22775 > │ v56.[int v59] <- v61 │
00:06:26 verbose #22776 > │ v57.l0 <- v60 │
00:06:26 verbose #22777 > │ () │
00:06:26 verbose #22778 > │ let v62 : (int32 []) = [|2|] │
00:06:26 verbose #22779 > │ let v63 : int32 = v56.Length │
00:06:26 verbose #22780 > │ let v64 : int32 = v62.Length │
00:06:26 verbose #22781 > │ let v65 : bool = v63 = v64 │
00:06:26 verbose #22782 > │ let v66 : bool = v65 <> true │
00:06:26 verbose #22783 > │ let v69 : bool = │
00:06:26 verbose #22784 > │ if v66 then │
00:06:26 verbose #22785 > │ false │
00:06:26 verbose #22786 > │ else │
00:06:26 verbose #22787 > │ let v67 : int32 = 0 │
00:06:26 verbose #22788 > │ method2(v56, v62, v67) │
00:06:26 verbose #22789 > │ let v71 : bool = │
00:06:26 verbose #22790 > │ if v69 then │
00:06:26 verbose #22791 > │ true │
00:06:26 verbose #22792 > │ else │
00:06:26 verbose #22793 > │ method3(v69) │
00:06:26 verbose #22794 > │ let v72 : string = $"{v17} / actual: %A{v56} / expected: %A{v62}" │
00:06:26 verbose #22795 > │ System.Console.WriteLine v72 │
00:06:26 verbose #22796 > │ let v73 : bool = v71 = false │
00:06:26 verbose #22797 > │ if v73 then │
00:06:26 verbose #22798 > │ failwith<unit> v72 │
00:06:26 verbose #22799 > │ let v74 : (int32 []) = Array.zeroCreate<int32> (0) │
00:06:26 verbose #22800 > │ let v75 : Mut0 = {l0 = 0} : Mut0 │
00:06:26 verbose #22801 > │ while method1(v75) do │
00:06:26 verbose #22802 > │ let v77 : int32 = v75.l0 │
00:06:26 verbose #22803 > │ let v78 : int32 = v77 + 2 │
00:06:26 verbose #22804 > │ let v79 : int32 = v0.[int v78] │
00:06:26 verbose #22805 > │ v74.[int v77] <- v79 │
00:06:26 verbose #22806 > │ let v80 : int32 = v77 + 1 │
00:06:26 verbose #22807 > │ v75.l0 <- v80 │
00:06:26 verbose #22808 > │ () │
00:06:26 verbose #22809 > │ let v81 : (int32 []) = [||] │
00:06:26 verbose #22810 > │ let v82 : int32 = v74.Length │
00:06:26 verbose #22811 > │ let v83 : int32 = v81.Length │
00:06:26 verbose #22812 > │ let v84 : bool = v82 = v83 │
00:06:26 verbose #22813 > │ let v85 : bool = v84 <> true │
00:06:26 verbose #22814 > │ let v88 : bool = │
00:06:26 verbose #22815 > │ if v85 then │
00:06:26 verbose #22816 > │ false │
00:06:26 verbose #22817 > │ else │
00:06:26 verbose #22818 > │ let v86 : int32 = 0 │
00:06:26 verbose #22819 > │ method2(v74, v81, v86) │
00:06:26 verbose #22820 > │ let v90 : bool = │
00:06:26 verbose #22821 > │ if v88 then │
00:06:26 verbose #22822 > │ true │
00:06:26 verbose #22823 > │ else │
00:06:26 verbose #22824 > │ method3(v88) │
00:06:26 verbose #22825 > │ let v91 : string = $"{v17} / actual: %A{v74} / expected: %A{v81}" │
00:06:26 verbose #22826 > │ System.Console.WriteLine v91 │
00:06:26 verbose #22827 > │ let v92 : bool = v90 = false │
00:06:26 verbose #22828 > │ if v92 then │
00:06:26 verbose #22829 > │ failwith<unit> v91 │
00:06:26 verbose #22830 > │ let v93 : (int32 []) = Array.zeroCreate<int32> (2) │
00:06:26 verbose #22831 > │ let v94 : Mut0 = {l0 = 0} : Mut0 │
00:06:26 verbose #22832 > │ while method5(v94) do │
00:06:26 verbose #22833 > │ let v96 : int32 = v94.l0 │
00:06:26 verbose #22834 > │ let v97 : int32 = v0.[int v96] │
00:06:26 verbose #22835 > │ v93.[int v96] <- v97 │
00:06:26 verbose #22836 > │ let v98 : int32 = v96 + 1 │
00:06:26 verbose #22837 > │ v94.l0 <- v98 │
00:06:26 verbose #22838 > │ () │
00:06:26 verbose #22839 > │ let v99 : (int32 []) = [|1; 2|] │
00:06:26 verbose #22840 > │ let v100 : int32 = v93.Length │
00:06:26 verbose #22841 > │ let v101 : int32 = v99.Length │
00:06:26 verbose #22842 > │ let v102 : bool = v100 = v101 │
00:06:26 verbose #22843 > │ let v103 : bool = v102 <> true │
00:06:26 verbose #22844 > │ let v106 : bool = │
00:06:26 verbose #22845 > │ if v103 then │
00:06:26 verbose #22846 > │ false │
00:06:26 verbose #22847 > │ else │
00:06:26 verbose #22848 > │ let v104 : int32 = 0 │
00:06:26 verbose #22849 > │ method2(v93, v99, v104) │
00:06:26 verbose #22850 > │ let v108 : bool = │
00:06:26 verbose #22851 > │ if v106 then │
00:06:26 verbose #22852 > │ true │
00:06:26 verbose #22853 > │ else │
00:06:26 verbose #22854 > │ method3(v106) │
00:06:26 verbose #22855 > │ let v109 : string = $"{v17} / actual: %A{v93} / expected: %A{v99}" │
00:06:26 verbose #22856 > │ System.Console.WriteLine v109 │
00:06:26 verbose #22857 > │ let v110 : bool = v108 = false │
00:06:26 verbose #22858 > │ if v110 then │
00:06:26 verbose #22859 > │ failwith<unit> v109 │
00:06:26 verbose #22860 > │ method0() │
00:06:26 verbose #22861 > │ │
00:06:26 verbose #22862 > │ assert_eq / actual: [||] / expected: [||] │
00:06:26 verbose #22863 > │ assert_eq / actual: [|1|] / expected: [|1|] │
00:06:26 verbose #22864 > │ assert_eq / actual: [||] / expected: [||] │
00:06:26 verbose #22865 > │ assert_eq / actual: [|2|] / expected: [|2|] │
00:06:26 verbose #22866 > │ assert_eq / actual: [||] / expected: [||] │
00:06:26 verbose #22867 > │ assert_eq / actual: [|1; 2|] / expected: [|1; 2|] │
00:06:26 verbose #22868 > │ │
00:06:26 verbose #22869 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:26 verbose #22870 >
00:06:26 verbose #22871 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:26 verbose #22872 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:26 verbose #22873 > │ ## range │
00:06:26 verbose #22874 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:26 verbose #22875 >
00:06:26 verbose #22876 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:26 verbose #22877 > union range dim =
00:06:26 verbose #22878 > | Start : dim
00:06:26 verbose #22879 > | End : dim -> dim
00:06:26 verbose #22880 >
00:06:26 verbose #22881 > inl range start end s =
00:06:26 verbose #22882 > inl start, end =
00:06:26 verbose #22883 > match start, end with
00:06:26 verbose #22884 > | Start start, End fn =>
00:06:26 verbose #22885 > start, s |> length |> fn
00:06:26 verbose #22886 > | End start_fn, End end_fn =>
00:06:26 verbose #22887 > inl len = s |> length
00:06:26 verbose #22888 > start_fn len, end_fn len
00:06:26 verbose #22889 > s |> slice start end
00:06:27 verbose #22890 > 00:06:26 debug #328 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ef91061c44cfd81d36ec2e1418e06c2349ddf941aa05cf0ba86210ee67e4cf5f/main.spi
00:06:27 verbose #22891 >
00:06:27 verbose #22892 > ╭─[ 704.40ms - stdout ]────────────────────────────────────────────────────────╮
00:06:27 verbose #22893 > │ () │
00:06:27 verbose #22894 > │ │
00:06:27 verbose #22895 > │ │
00:06:27 verbose #22896 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:27 verbose #22897 >
00:06:27 verbose #22898 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:27 verbose #22899 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:27 verbose #22900 > │ ## slice' │
00:06:27 verbose #22901 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:27 verbose #22902 >
00:06:27 verbose #22903 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:27 verbose #22904 > nominal slice' t u = $"Slice'<`t, `u>"
00:06:27 verbose #22905 >
00:06:27 verbose #22906 > inl slice' forall dim el. (x : option el) : slice' el dim =
00:06:27 verbose #22907 > match x with
00:06:27 verbose #22908 > | Some x => !\($'"[[!x]]"')
00:06:27 verbose #22909 > | None =>
00:06:27 verbose #22910 > !\($'"[[\\\"\\\".to_string()]]"') : slice' el dim
00:06:27 verbose #22911 > // emit_expr `(()) `(slice' el dim) () ($'"[[@dim]]"' : string) :
00:06:27 verbose #22912 > slice' el 10
00:06:27 verbose #22913 > // !\( : string) : slice' el i32 // !\($'"[[]]"')
00:06:27 verbose #22914 > 00:06:26 debug #329 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b893c0dff7f6f2d3d220090bc68ca38ca9061b8892de4e390d6953fa169a2070/main.spi
00:06:27 verbose #22915 >
00:06:27 verbose #22916 > ╭─[ 651.16ms - stdout ]────────────────────────────────────────────────────────╮
00:06:27 verbose #22917 > │ () │
00:06:27 verbose #22918 > │ │
00:06:27 verbose #22919 > │ │
00:06:27 verbose #22920 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:27 verbose #22921 >
00:06:27 verbose #22922 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:27 verbose #22923 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:27 verbose #22924 > │ ## slice_range │
00:06:27 verbose #22925 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:27 verbose #22926 >
00:06:27 verbose #22927 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:27 verbose #22928 > inl slice_range forall t dim. start end (s : slice' t dim) : slice' t dim =
00:06:27 verbose #22929 > inl start, end =
00:06:27 verbose #22930 > inl length (x : slice' t dim) : dim =
00:06:27 verbose #22931 > !\($'"!x.len()"')
00:06:27 verbose #22932 > match start, end with
00:06:27 verbose #22933 > | Start start, End fn =>
00:06:27 verbose #22934 > start, s |> length |> fn
00:06:27 verbose #22935 > | End start_fn, End end_fn =>
00:06:27 verbose #22936 > inl len = s |> length
00:06:27 verbose #22937 > start_fn len, end_fn len
00:06:27 verbose #22938 > !\($'"!s[[!start..!end]]"')
00:06:28 verbose #22939 > 00:06:27 debug #330 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/49ce71aa7525c705ac834a015cced5ac13a1d8e81fa0da3c8f0dc7e65e44eb01/main.spi
00:06:28 verbose #22940 >
00:06:28 verbose #22941 > ╭─[ 634.65ms - stdout ]────────────────────────────────────────────────────────╮
00:06:28 verbose #22942 > │ () │
00:06:28 verbose #22943 > │ │
00:06:28 verbose #22944 > │ │
00:06:28 verbose #22945 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:28 verbose #22946 >
00:06:28 verbose #22947 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:28 verbose #22948 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:28 verbose #22949 > │ ## new_slice │
00:06:28 verbose #22950 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:28 verbose #22951 >
00:06:28 verbose #22952 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:28 verbose #22953 > inl new_slice forall dim el. ((n : el), (dim : dim)) : slice' el dim =
00:06:28 verbose #22954 > !\($'"[[!n; !dim]]"')
00:06:29 verbose #22955 > 00:06:28 debug #331 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/68aa2a021fde224c4dc4e9fa72e8cbbb89982b5117f2d14599afbfad5a05aae6/main.spi
00:06:29 verbose #22956 >
00:06:29 verbose #22957 > ╭─[ 658.71ms - stdout ]────────────────────────────────────────────────────────╮
00:06:29 verbose #22958 > │ () │
00:06:29 verbose #22959 > │ │
00:06:29 verbose #22960 > │ │
00:06:29 verbose #22961 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:29 verbose #22962 >
00:06:29 verbose #22963 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:29 verbose #22964 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:29 verbose #22965 > │ ## as_slice │
00:06:29 verbose #22966 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:29 verbose #22967 >
00:06:29 verbose #22968 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:29 verbose #22969 > inl as_slice forall t. (x : array_base t) : rust.ref' (slice t) =
00:06:29 verbose #22970 > inl x = x |> to_vec
00:06:29 verbose #22971 > !\($'"!x.as_slice()"')
00:06:29 verbose #22972 > 00:06:28 debug #332 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cdc638112188acbaaf671115f4591d84667037ce1e83b901686368747d349a31/main.spi
00:06:29 verbose #22973 >
00:06:29 verbose #22974 > ╭─[ 652.31ms - stdout ]────────────────────────────────────────────────────────╮
00:06:29 verbose #22975 > │ () │
00:06:29 verbose #22976 > │ │
00:06:29 verbose #22977 > │ │
00:06:29 verbose #22978 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:29 verbose #22979 >
00:06:29 verbose #22980 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:29 verbose #22981 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:29 verbose #22982 > │ ## any │
00:06:29 verbose #22983 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:29 verbose #22984 >
00:06:29 verbose #22985 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:29 verbose #22986 > inl any forall t. (fn : t -> bool) (source : array_base t) : bool =
00:06:29 verbose #22987 > !\($'"!source.any(|x| !fn(x))"')
00:06:30 verbose #22988 > 00:06:29 debug #333 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a276b2e20212c975a4cef7cba8b8ff619f792cf71f2004704cb0a915a3d7e1f8/main.spi
00:06:30 verbose #22989 >
00:06:30 verbose #22990 > ╭─[ 628.36ms - stdout ]────────────────────────────────────────────────────────╮
00:06:30 verbose #22991 > │ () │
00:06:30 verbose #22992 > │ │
00:06:30 verbose #22993 > │ │
00:06:30 verbose #22994 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:32 verbose #22995 > [NbConvertApp] Converting notebook am'.dib.ipynb to html
00:06:32 verbose #22996 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:06:32 verbose #22997 > validate(nb)
00:06:34 verbose #22998 > [NbConvertApp] Writing 428951 bytes to am'.dib.html
00:06:34 debug #22999 execute_with_options_async / exit_code: 0 / output.Length: 126504
00:06:34 debug #10 main / executeCommand / exitCode: 0
00:06:34 debug #23000 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 crypto.dib -Retries 3"", [||],
None, None, None)
00:06:35 verbose #23001 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: crypto.dib / _args: [
00:06:35 verbose #23002 > "-Retries",
00:06:35 verbose #23003 > 3
00:06:35 verbose #23004 > ]
00:06:37 verbose #23005 >
00:06:37 verbose #23006 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:37 verbose #23007 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:37 verbose #23008 > │ # crypto │
00:06:37 verbose #23009 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:37 verbose #23010 >
00:06:37 verbose #23011 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:37 verbose #23012 > open rust_operators
00:06:37 verbose #23013 >
00:06:37 verbose #23014 > ── spiral - import ─────────────────────────────────────────────────────────────
00:06:37 verbose #23015 > #r
00:06:37 verbose #23016 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:06:37 verbose #23017 > otNet.Interactive.Spiral.dll"
00:06:37 verbose #23018 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:06:37 verbose #23019 > #r
00:06:37 verbose #23020 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:06:37 verbose #23021 > otNet.Interactive.dll"
00:06:37 verbose #23022 > open type Microsoft.DotNet.Interactive.Kernel
00:06:42 verbose #23023 > 00:06:41 debug #334 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/509422cf3bb8a8cfc4cbb3c916e280922525b9b9428a427906e968efadb5b7b1/main.spi
00:06:42 verbose #23024 >
00:06:42 verbose #23025 > ╭─[ 5.09s - stdout ]───────────────────────────────────────────────────────────╮
00:06:42 verbose #23026 > │ () │
00:06:42 verbose #23027 > │ │
00:06:42 verbose #23028 > │ │
00:06:42 verbose #23029 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:42 verbose #23030 >
00:06:42 verbose #23031 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:42 verbose #23032 > //// test
00:06:42 verbose #23033 >
00:06:42 verbose #23034 > open testing
00:06:42 verbose #23035 > open file_system_operators
00:06:43 verbose #23036 > 00:06:42 debug #335 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/656184934e117cab614fcd21f8f1878f55d2fd4b84b51ce6ea2f9b8339ee5933/main.spi
00:06:43 verbose #23037 >
00:06:43 verbose #23038 > ╭─[ 680.47ms - stdout ]────────────────────────────────────────────────────────╮
00:06:43 verbose #23039 > │ () │
00:06:43 verbose #23040 > │ │
00:06:43 verbose #23041 > │ │
00:06:43 verbose #23042 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:43 verbose #23043 >
00:06:43 verbose #23044 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:43 verbose #23045 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:43 verbose #23046 > │ ## types │
00:06:43 verbose #23047 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:43 verbose #23048 >
00:06:43 verbose #23049 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:43 verbose #23050 > inl types () =
00:06:43 verbose #23051 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:06:43 verbose #23052 > Fable.Core.Emit(\"sha2::Sha256\")>]]\n#endif\ntype sha2_Sha256 = class end"
00:06:43 verbose #23053 > 00:06:42 debug #336 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a69dfcf8eb9a991696d1d1f27edc5b56db1cb93ea50af7f5e20a2549267719f8/main.spi
00:06:43 verbose #23054 >
00:06:43 verbose #23055 > ╭─[ 601.68ms - stdout ]────────────────────────────────────────────────────────╮
00:06:43 verbose #23056 > │ () │
00:06:43 verbose #23057 > │ │
00:06:43 verbose #23058 > │ │
00:06:43 verbose #23059 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:43 verbose #23060 >
00:06:43 verbose #23061 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:43 verbose #23062 > inl types () =
00:06:43 verbose #23063 > sm'.types ()
00:06:43 verbose #23064 > am'.types ()
00:06:43 verbose #23065 > threading.types ()
00:06:43 verbose #23066 > rust.types ()
00:06:43 verbose #23067 > date_time.types ()
00:06:43 verbose #23068 > file_system.types ()
00:06:43 verbose #23069 > stream.types ()
00:06:43 verbose #23070 > runtime.types ()
00:06:43 verbose #23071 > types ()
00:06:44 verbose #23072 > 00:06:43 debug #337 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/91280e33e639d258810d0cd2962d4fd001b60b49bc30f3f824e87d03ab199bae/main.spi
00:06:44 verbose #23073 >
00:06:44 verbose #23074 > ╭─[ 591.36ms - stdout ]────────────────────────────────────────────────────────╮
00:06:44 verbose #23075 > │ () │
00:06:44 verbose #23076 > │ │
00:06:44 verbose #23077 > │ │
00:06:44 verbose #23078 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:44 verbose #23079 >
00:06:44 verbose #23080 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:44 verbose #23081 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:44 verbose #23082 > │ ## sha256 │
00:06:44 verbose #23083 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:44 verbose #23084 >
00:06:44 verbose #23085 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:44 verbose #23086 > nominal sha256 = $'System.Security.Cryptography.SHA256'
00:06:44 verbose #23087 >
00:06:44 verbose #23088 > inl sha256 () : sha256 =
00:06:44 verbose #23089 > $'`sha256.Create' ()
00:06:44 verbose #23090 > 00:06:43 debug #338 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7047d440f8f723263d68c533d8599915cba357652ec38c99af11fc51faa58310/main.spi
00:06:45 verbose #23091 >
00:06:45 verbose #23092 > ╭─[ 592.09ms - stdout ]────────────────────────────────────────────────────────╮
00:06:45 verbose #23093 > │ () │
00:06:45 verbose #23094 > │ │
00:06:45 verbose #23095 > │ │
00:06:45 verbose #23096 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:45 verbose #23097 >
00:06:45 verbose #23098 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:45 verbose #23099 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:45 verbose #23100 > │ ## sha256_compute_hash │
00:06:45 verbose #23101 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:45 verbose #23102 >
00:06:45 verbose #23103 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:45 verbose #23104 > inl sha256_compute_hash (x : sha256) (data : a i32 u8) : a i32 u8 =
00:06:45 verbose #23105 > data |> $'!x.ComputeHash'
00:06:45 verbose #23106 > 00:06:44 debug #339 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d61eeb041a185fa376f92664d5998a7ef0a2dcaca88d8bf204d637e5e733a1e8/main.spi
00:06:45 verbose #23107 >
00:06:45 verbose #23108 > ╭─[ 589.18ms - stdout ]────────────────────────────────────────────────────────╮
00:06:45 verbose #23109 > │ () │
00:06:45 verbose #23110 > │ │
00:06:45 verbose #23111 > │ │
00:06:45 verbose #23112 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:45 verbose #23113 >
00:06:45 verbose #23114 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:45 verbose #23115 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:45 verbose #23116 > │ ## create_hash │
00:06:45 verbose #23117 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:45 verbose #23118 >
00:06:45 verbose #23119 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:45 verbose #23120 > inl create_hash (x : string) : any =
00:06:45 verbose #23121 > open ts_operators
00:06:45 verbose #23122 > global "type ICryptoCreateHash = abstract createHash: x: string -> obj"
00:06:45 verbose #23123 > inl crypto : $'ICryptoCreateHash' = ts.import_all "crypto"
00:06:45 verbose #23124 > !\\(x, $'"!crypto.createHash($0)"')
00:06:46 verbose #23125 > 00:06:45 debug #340 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3faca2bd9064c574e95404a0ea97e0fc1adf32ae3ffad06cf1a1e6560a614b76/main.spi
00:06:46 verbose #23126 >
00:06:46 verbose #23127 > ╭─[ 638.13ms - stdout ]────────────────────────────────────────────────────────╮
00:06:46 verbose #23128 > │ () │
00:06:46 verbose #23129 > │ │
00:06:46 verbose #23130 > │ │
00:06:46 verbose #23131 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:46 verbose #23132 >
00:06:46 verbose #23133 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:46 verbose #23134 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:46 verbose #23135 > │ ## hash_update │
00:06:46 verbose #23136 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:46 verbose #23137 >
00:06:46 verbose #23138 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:46 verbose #23139 > inl hash_update (s : string) (x : any) : any =
00:06:46 verbose #23140 > open ts_operators
00:06:46 verbose #23141 > !\\((x, s), $'"$0.update($1, \'utf8\')"')
00:06:46 verbose #23142 > 00:06:45 debug #341 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/66293bbbeb6cfd45f0c59a29a1566e7eb82e5f2bc4d1ff8fc9e253a6ab9ce805/main.spi
00:06:46 verbose #23143 >
00:06:46 verbose #23144 > ╭─[ 603.71ms - stdout ]────────────────────────────────────────────────────────╮
00:06:46 verbose #23145 > │ () │
00:06:46 verbose #23146 > │ │
00:06:46 verbose #23147 > │ │
00:06:46 verbose #23148 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:46 verbose #23149 >
00:06:46 verbose #23150 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:46 verbose #23151 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:46 verbose #23152 > │ ## hash_digest │
00:06:46 verbose #23153 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:46 verbose #23154 >
00:06:46 verbose #23155 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:46 verbose #23156 > inl hash_digest (s : string) (x : any) : string =
00:06:46 verbose #23157 > open ts_operators
00:06:46 verbose #23158 > !\\((x, s), $'"$0.digest($1)"')
00:06:47 verbose #23159 > 00:06:46 debug #342 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/987fdb0fa9d2e4913ddf87f1f0928df598a060af378d96a6c9c217cca2476b26/main.spi
00:06:47 verbose #23160 >
00:06:47 verbose #23161 > ╭─[ 615.09ms - stdout ]────────────────────────────────────────────────────────╮
00:06:47 verbose #23162 > │ () │
00:06:47 verbose #23163 > │ │
00:06:47 verbose #23164 > │ │
00:06:47 verbose #23165 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:47 verbose #23166 >
00:06:47 verbose #23167 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:47 verbose #23168 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:47 verbose #23169 > │ ## hash_text │
00:06:47 verbose #23170 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:47 verbose #23171 >
00:06:47 verbose #23172 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:47 verbose #23173 > inl hash_text (input : string) =
00:06:47 verbose #23174 > run_target function
00:06:47 verbose #23175 > | Fsharp (Native) => fun () =>
00:06:47 verbose #23176 > inl input = join input
00:06:47 verbose #23177 > inl sha256 = sha256 () |> use
00:06:47 verbose #23178 > input
00:06:47 verbose #23179 > |> sm'.utf8_get_bytes
00:06:47 verbose #23180 > |> sha256_compute_hash sha256
00:06:47 verbose #23181 > |> am.map (sm'.byte_to_string "x2")
00:06:47 verbose #23182 > |> seq.of_array'
00:06:47 verbose #23183 > |> sm'.concat ""
00:06:47 verbose #23184 > | TypeScript _ => fun () =>
00:06:47 verbose #23185 > create_hash "sha256"
00:06:47 verbose #23186 > |> hash_update input
00:06:47 verbose #23187 > |> hash_digest "hex"
00:06:47 verbose #23188 > | _ => fun () => null ()
00:06:48 verbose #23189 > 00:06:47 debug #343 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3cb44b6e85de428b2164e7d11e6de9f00bd00906c7da200dee10d4618255fde9/main.spi
00:06:48 verbose #23190 >
00:06:48 verbose #23191 > ╭─[ 611.42ms - stdout ]────────────────────────────────────────────────────────╮
00:06:48 verbose #23192 > │ () │
00:06:48 verbose #23193 > │ │
00:06:48 verbose #23194 > │ │
00:06:48 verbose #23195 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:48 verbose #23196 >
00:06:48 verbose #23197 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:48 verbose #23198 > //// test
00:06:48 verbose #23199 >
00:06:48 verbose #23200 > ""
00:06:48 verbose #23201 > |> hash_text
00:06:48 verbose #23202 > |> _assert_eq "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
00:06:48 verbose #23203 > 00:06:47 debug #344 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c8b347e63e8c107df8ce2b6dfffbedb03d78cc6b7941140da6bf1147514ca427/main.spi
00:06:49 verbose #23204 >
00:06:49 verbose #23205 > ╭─[ 1.75s - stdout ]───────────────────────────────────────────────────────────╮
00:06:49 verbose #23206 > │ type ICryptoCreateHash = abstract createHash: x: string -> obj │
00:06:49 verbose #23207 > │ type Mut0 = {mutable l0 : int32} │
00:06:49 verbose #23208 > │ let rec method1 () : string = │
00:06:49 verbose #23209 > │ let v0 : string = "" │
00:06:49 verbose #23210 > │ v0 │
00:06:49 verbose #23211 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:06:49 verbose #23212 > │ let v2 : int32 = v1.l0 │
00:06:49 verbose #23213 > │ let v3 : bool = v2 < v0 │
00:06:49 verbose #23214 > │ v3 │
00:06:49 verbose #23215 > │ and method3 () : string = │
00:06:49 verbose #23216 > │ let v0 : string = "" │
00:06:49 verbose #23217 > │ v0 │
00:06:49 verbose #23218 > │ and method4 (v0 : bool) : bool = │
00:06:49 verbose #23219 > │ v0 │
00:06:49 verbose #23220 > │ and method0 () : unit = │
00:06:49 verbose #23221 > │ let v0 : string option = None │
00:06:49 verbose #23222 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:06:49 verbose #23223 > │ │
00:06:49 verbose #23224 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:06:49 verbose #23225 > │ │
00:06:49 verbose #23226 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:06:49 verbose #23227 > │ let v2 : string = null |> unbox<string> │
00:06:49 verbose #23228 > │ v2 │
00:06:49 verbose #23229 > │ #endif │
00:06:49 verbose #23230 > │ │
00:06:49 verbose #23231 > │ #if FABLE_COMPILER_RUST && WASM │
00:06:49 verbose #23232 > │ let v3 : string = null |> unbox<string> │
00:06:49 verbose #23233 > │ v3 │
00:06:49 verbose #23234 > │ #endif │
00:06:49 verbose #23235 > │ │
00:06:49 verbose #23236 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:06:49 verbose #23237 > │ let v4 : string = null |> unbox<string> │
00:06:49 verbose #23238 > │ v4 │
00:06:49 verbose #23239 > │ #endif │
00:06:49 verbose #23240 > │ │
00:06:49 verbose #23241 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:06:49 verbose #23242 > │ let v5 : string = "crypto" │
00:06:49 verbose #23243 > │ let v6 : ICryptoCreateHash = Fable.Core.JsInterop.importAll v5 │
00:06:49 verbose #23244 > │ let v7 : string = "v6.createHash($0)" │
00:06:49 verbose #23245 > │ let v8 : string = "sha256" │
00:06:49 verbose #23246 > │ let v9 : obj = Fable.Core.JsInterop.emitJsExpr v8 v7 │
00:06:49 verbose #23247 > │ let v10 : string = "$0.update($1, 'utf8')" │
00:06:49 verbose #23248 > │ let v11 : string = "" │
00:06:49 verbose #23249 > │ let v12 : obj = Fable.Core.JsInterop.emitJsExpr struct (v9, v11) v10 │
00:06:49 verbose #23250 > │ let v13 : string = "$0.digest($1)" │
00:06:49 verbose #23251 > │ let v14 : string = "hex" │
00:06:49 verbose #23252 > │ let v15 : string = Fable.Core.JsInterop.emitJsExpr struct (v12, v14) v13 │
00:06:49 verbose #23253 > │ v15 │
00:06:49 verbose #23254 > │ #endif │
00:06:49 verbose #23255 > │ │
00:06:49 verbose #23256 > │ #if FABLE_COMPILER_PYTHON │
00:06:49 verbose #23257 > │ let v16 : string = null |> unbox<string> │
00:06:49 verbose #23258 > │ v16 │
00:06:49 verbose #23259 > │ #endif │
00:06:49 verbose #23260 > │ │
00:06:49 verbose #23261 > │ #else │
00:06:49 verbose #23262 > │ let v17 : string = method1() │
00:06:49 verbose #23263 > │ let v18 : (unit -> System.Security.Cryptography.SHA256) = │
00:06:49 verbose #23264 > │ System.Security.Cryptography.SHA256.Create │
00:06:49 verbose #23265 > │ let v19 : System.Security.Cryptography.SHA256 = v18 () │
00:06:49 verbose #23266 > │ use v19 = v19 │
00:06:49 verbose #23267 > │ let v20 : System.Security.Cryptography.SHA256 = v19 │
00:06:49 verbose #23268 > │ let v21 : (string -> (uint8 [])) = System.Text.Encoding.UTF8.GetBytes │
00:06:49 verbose #23269 > │ let v22 : (uint8 []) = v21 v17 │
00:06:49 verbose #23270 > │ let v23 : ((uint8 []) -> (uint8 [])) = v20.ComputeHash │
00:06:49 verbose #23271 > │ let v24 : (uint8 []) = v23 v22 │
00:06:49 verbose #23272 > │ let v25 : int32 = v24.Length │
00:06:49 verbose #23273 > │ let v26 : (string []) = Array.zeroCreate<string> (v25) │
00:06:49 verbose #23274 > │ let v27 : Mut0 = {l0 = 0} : Mut0 │
00:06:49 verbose #23275 > │ while method2(v25, v27) do │
00:06:49 verbose #23276 > │ let v29 : int32 = v27.l0 │
00:06:49 verbose #23277 > │ let v30 : uint8 = v24.[int v29] │
00:06:49 verbose #23278 > │ let v31 : (string -> string) = v30.ToString │
00:06:49 verbose #23279 > │ let v32 : string = "x2" │
00:06:49 verbose #23280 > │ let v33 : string = v31 v32 │
00:06:49 verbose #23281 > │ v26.[int v29] <- v33 │
00:06:49 verbose #23282 > │ let v34 : int32 = v29 + 1 │
00:06:49 verbose #23283 > │ v27.l0 <- v34 │
00:06:49 verbose #23284 > │ () │
00:06:49 verbose #23285 > │ let v35 : string seq = seq { for i = 0 to v26.Length - 1 do yield v26.[ │
00:06:49 verbose #23286 > │ i] } │
00:06:49 verbose #23287 > │ let v36 : string = method3() │
00:06:49 verbose #23288 > │ let v37 : (string -> (string seq -> string)) = String.concat │
00:06:49 verbose #23289 > │ let v38 : (string seq -> string) = v37 v36 │
00:06:49 verbose #23290 > │ let v39 : string = v38 v35 │
00:06:49 verbose #23291 > │ v39 │
00:06:49 verbose #23292 > │ #endif │
00:06:49 verbose #23293 > │ |> fun x -> _v0 <- Some x │
00:06:49 verbose #23294 > │ let v40 : string = _v0.Value │
00:06:49 verbose #23295 > │ let v42 : bool = v40 = │
00:06:49 verbose #23296 > │ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" │
00:06:49 verbose #23297 > │ let v44 : bool = │
00:06:49 verbose #23298 > │ if v42 then │
00:06:49 verbose #23299 > │ true │
00:06:49 verbose #23300 > │ else │
00:06:49 verbose #23301 > │ method4(v42) │
00:06:49 verbose #23302 > │ let v45 : string = "assert_eq" │
00:06:49 verbose #23303 > │ let v46 : string = │
00:06:49 verbose #23304 > │ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" │
00:06:49 verbose #23305 > │ let v47 : string = $"{v45} / actual: %A{v40} / expected: %A{v46}" │
00:06:49 verbose #23306 > │ System.Console.WriteLine v47 │
00:06:49 verbose #23307 > │ let v48 : bool = v44 = false │
00:06:49 verbose #23308 > │ if v48 then │
00:06:49 verbose #23309 > │ failwith<unit> v47 │
00:06:49 verbose #23310 > │ method0() │
00:06:49 verbose #23311 > │ │
00:06:49 verbose #23312 > │ assert_eq / actual: │
00:06:49 verbose #23313 > │ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" / │
00:06:49 verbose #23314 > │ expected: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" │
00:06:49 verbose #23315 > │ │
00:06:49 verbose #23316 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:49 verbose #23317 >
00:06:49 verbose #23318 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:49 verbose #23319 > //// test
00:06:49 verbose #23320 >
00:06:49 verbose #23321 > " "
00:06:49 verbose #23322 > |> hash_text
00:06:49 verbose #23323 > |> _assert_eq "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"
00:06:50 verbose #23324 > 00:06:49 debug #345 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/75b248d5b91b594986461341b19da3ac3ca5a0b3a83e3acd7fc22fe77272d60e/main.spi
00:06:50 verbose #23325 >
00:06:50 verbose #23326 > ╭─[ 688.34ms - stdout ]────────────────────────────────────────────────────────╮
00:06:50 verbose #23327 > │ type ICryptoCreateHash = abstract createHash: x: string -> obj │
00:06:50 verbose #23328 > │ type Mut0 = {mutable l0 : int32} │
00:06:50 verbose #23329 > │ let rec method1 () : string = │
00:06:50 verbose #23330 > │ let v0 : string = " " │
00:06:50 verbose #23331 > │ v0 │
00:06:50 verbose #23332 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:06:50 verbose #23333 > │ let v2 : int32 = v1.l0 │
00:06:50 verbose #23334 > │ let v3 : bool = v2 < v0 │
00:06:50 verbose #23335 > │ v3 │
00:06:50 verbose #23336 > │ and method3 () : string = │
00:06:50 verbose #23337 > │ let v0 : string = "" │
00:06:50 verbose #23338 > │ v0 │
00:06:50 verbose #23339 > │ and method4 (v0 : bool) : bool = │
00:06:50 verbose #23340 > │ v0 │
00:06:50 verbose #23341 > │ and method0 () : unit = │
00:06:50 verbose #23342 > │ let v0 : string option = None │
00:06:50 verbose #23343 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:06:50 verbose #23344 > │ │
00:06:50 verbose #23345 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:06:50 verbose #23346 > │ │
00:06:50 verbose #23347 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:06:50 verbose #23348 > │ let v2 : string = null |> unbox<string> │
00:06:50 verbose #23349 > │ v2 │
00:06:50 verbose #23350 > │ #endif │
00:06:50 verbose #23351 > │ │
00:06:50 verbose #23352 > │ #if FABLE_COMPILER_RUST && WASM │
00:06:50 verbose #23353 > │ let v3 : string = null |> unbox<string> │
00:06:50 verbose #23354 > │ v3 │
00:06:50 verbose #23355 > │ #endif │
00:06:50 verbose #23356 > │ │
00:06:50 verbose #23357 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:06:50 verbose #23358 > │ let v4 : string = null |> unbox<string> │
00:06:50 verbose #23359 > │ v4 │
00:06:50 verbose #23360 > │ #endif │
00:06:50 verbose #23361 > │ │
00:06:50 verbose #23362 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:06:50 verbose #23363 > │ let v5 : string = "crypto" │
00:06:50 verbose #23364 > │ let v6 : ICryptoCreateHash = Fable.Core.JsInterop.importAll v5 │
00:06:50 verbose #23365 > │ let v7 : string = "v6.createHash($0)" │
00:06:50 verbose #23366 > │ let v8 : string = "sha256" │
00:06:50 verbose #23367 > │ let v9 : obj = Fable.Core.JsInterop.emitJsExpr v8 v7 │
00:06:50 verbose #23368 > │ let v10 : string = "$0.update($1, 'utf8')" │
00:06:50 verbose #23369 > │ let v11 : string = " " │
00:06:50 verbose #23370 > │ let v12 : obj = Fable.Core.JsInterop.emitJsExpr struct (v9, v11) v10 │
00:06:50 verbose #23371 > │ let v13 : string = "$0.digest($1)" │
00:06:50 verbose #23372 > │ let v14 : string = "hex" │
00:06:50 verbose #23373 > │ let v15 : string = Fable.Core.JsInterop.emitJsExpr struct (v12, v14) v13 │
00:06:50 verbose #23374 > │ v15 │
00:06:50 verbose #23375 > │ #endif │
00:06:50 verbose #23376 > │ │
00:06:50 verbose #23377 > │ #if FABLE_COMPILER_PYTHON │
00:06:50 verbose #23378 > │ let v16 : string = null |> unbox<string> │
00:06:50 verbose #23379 > │ v16 │
00:06:50 verbose #23380 > │ #endif │
00:06:50 verbose #23381 > │ │
00:06:50 verbose #23382 > │ #else │
00:06:50 verbose #23383 > │ let v17 : string = method1() │
00:06:50 verbose #23384 > │ let v18 : (unit -> System.Security.Cryptography.SHA256) = │
00:06:50 verbose #23385 > │ System.Security.Cryptography.SHA256.Create │
00:06:50 verbose #23386 > │ let v19 : System.Security.Cryptography.SHA256 = v18 () │
00:06:50 verbose #23387 > │ use v19 = v19 │
00:06:50 verbose #23388 > │ let v20 : System.Security.Cryptography.SHA256 = v19 │
00:06:50 verbose #23389 > │ let v21 : (string -> (uint8 [])) = System.Text.Encoding.UTF8.GetBytes │
00:06:50 verbose #23390 > │ let v22 : (uint8 []) = v21 v17 │
00:06:50 verbose #23391 > │ let v23 : ((uint8 []) -> (uint8 [])) = v20.ComputeHash │
00:06:50 verbose #23392 > │ let v24 : (uint8 []) = v23 v22 │
00:06:50 verbose #23393 > │ let v25 : int32 = v24.Length │
00:06:50 verbose #23394 > │ let v26 : (string []) = Array.zeroCreate<string> (v25) │
00:06:50 verbose #23395 > │ let v27 : Mut0 = {l0 = 0} : Mut0 │
00:06:50 verbose #23396 > │ while method2(v25, v27) do │
00:06:50 verbose #23397 > │ let v29 : int32 = v27.l0 │
00:06:50 verbose #23398 > │ let v30 : uint8 = v24.[int v29] │
00:06:50 verbose #23399 > │ let v31 : (string -> string) = v30.ToString │
00:06:50 verbose #23400 > │ let v32 : string = "x2" │
00:06:50 verbose #23401 > │ let v33 : string = v31 v32 │
00:06:50 verbose #23402 > │ v26.[int v29] <- v33 │
00:06:50 verbose #23403 > │ let v34 : int32 = v29 + 1 │
00:06:50 verbose #23404 > │ v27.l0 <- v34 │
00:06:50 verbose #23405 > │ () │
00:06:50 verbose #23406 > │ let v35 : string seq = seq { for i = 0 to v26.Length - 1 do yield v26.[ │
00:06:50 verbose #23407 > │ i] } │
00:06:50 verbose #23408 > │ let v36 : string = method3() │
00:06:50 verbose #23409 > │ let v37 : (string -> (string seq -> string)) = String.concat │
00:06:50 verbose #23410 > │ let v38 : (string seq -> string) = v37 v36 │
00:06:50 verbose #23411 > │ let v39 : string = v38 v35 │
00:06:50 verbose #23412 > │ v39 │
00:06:50 verbose #23413 > │ #endif │
00:06:50 verbose #23414 > │ |> fun x -> _v0 <- Some x │
00:06:50 verbose #23415 > │ let v40 : string = _v0.Value │
00:06:50 verbose #23416 > │ let v42 : bool = v40 = │
00:06:50 verbose #23417 > │ "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068" │
00:06:50 verbose #23418 > │ let v44 : bool = │
00:06:50 verbose #23419 > │ if v42 then │
00:06:50 verbose #23420 > │ true │
00:06:50 verbose #23421 > │ else │
00:06:50 verbose #23422 > │ method4(v42) │
00:06:50 verbose #23423 > │ let v45 : string = "assert_eq" │
00:06:50 verbose #23424 > │ let v46 : string = │
00:06:50 verbose #23425 > │ "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068" │
00:06:50 verbose #23426 > │ let v47 : string = $"{v45} / actual: %A{v40} / expected: %A{v46}" │
00:06:50 verbose #23427 > │ System.Console.WriteLine v47 │
00:06:50 verbose #23428 > │ let v48 : bool = v44 = false │
00:06:50 verbose #23429 > │ if v48 then │
00:06:50 verbose #23430 > │ failwith<unit> v47 │
00:06:50 verbose #23431 > │ method0() │
00:06:50 verbose #23432 > │ │
00:06:50 verbose #23433 > │ assert_eq / actual: │
00:06:50 verbose #23434 > │ "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068" / │
00:06:50 verbose #23435 > │ expected: "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068" │
00:06:50 verbose #23436 > │ │
00:06:50 verbose #23437 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:50 verbose #23438 >
00:06:50 verbose #23439 > ── markdown ────────────────────────────────────────────────────────────────────
00:06:50 verbose #23440 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:06:50 verbose #23441 > │ ## get_file_hash │
00:06:50 verbose #23442 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:50 verbose #23443 >
00:06:50 verbose #23444 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:50 verbose #23445 > inl get_file_hash (path : string) : result string string =
00:06:50 verbose #23446 > inl path = path |> file_system.normalize_path
00:06:50 verbose #23447 > inl exit_code, result =
00:06:50 verbose #23448 > runtime.execution_options fun x => { x with
00:06:50 verbose #23449 > command = $'$"pwsh -c \\\"(Get-FileHash \\\\\\"{!path}\\\\\\"
00:06:50 verbose #23450 > -Algorithm SHA256).Hash\\\""'
00:06:50 verbose #23451 > }
00:06:50 verbose #23452 > |> runtime.execute_with_options
00:06:50 verbose #23453 > if exit_code = 0
00:06:50 verbose #23454 > then Ok result
00:06:50 verbose #23455 > else Error result
00:06:51 verbose #23456 > 00:06:50 debug #346 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f24fd1567c6fe7a00d98e8e0f2f271a1d7d94474ac7083cc003b108b897c39ab/main.spi
00:06:51 verbose #23457 >
00:06:51 verbose #23458 > ╭─[ 607.09ms - stdout ]────────────────────────────────────────────────────────╮
00:06:51 verbose #23459 > │ () │
00:06:51 verbose #23460 > │ │
00:06:51 verbose #23461 > │ │
00:06:51 verbose #23462 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:06:51 verbose #23463 >
00:06:51 verbose #23464 > ── spiral ──────────────────────────────────────────────────────────────────────
00:06:51 verbose #23465 > //// test
00:06:51 verbose #23466 > //// print_code=false
00:06:51 verbose #23467 > ///! rust
00:06:51 verbose #23468 >
00:06:51 verbose #23469 > types ()
00:06:51 verbose #23470 > inl temp_folder, disposable = file_system.create_temp_directory ()
00:06:51 verbose #23471 >
00:06:51 verbose #23472 > inl file_name = join "test.txt"
00:06:51 verbose #23473 > inl path = temp_folder </> file_name
00:06:51 verbose #23474 > "" |> file_system.write_all_text path
00:06:51 verbose #23475 > path
00:06:51 verbose #23476 > |> get_file_hash
00:06:51 verbose #23477 > |> resultm.get
00:06:51 verbose #23478 > |> _assert_eq "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855"
00:06:51 verbose #23479 > disposable |> use |> ignore
00:06:51 verbose #23480 > 00:06:50 debug #347 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/903eb1960c5e32344a257b262e5546eb814e54167ea6296a044e98386c1729d6/main.spi
00:07:05 verbose #23481 >
00:07:05 verbose #23482 > ╭─[ 14.10s - return value ]────────────────────────────────────────────────────╮
00:07:05 verbose #23483 > │ 02:41:26 verbose #1 file_system.create_directory / dir: │
00:07:05 verbose #23484 > │ C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0241-2670-4541-00000 │
00:07:05 verbose #23485 > │ 03c64e0 │
00:07:05 verbose #23486 > │ 02:41:26 debug #2 execute_with_options / file_name: pwsh / │
00:07:05 verbose #23487 > │ arguments: ["-c", "(Get-FileHash │
00:07:05 verbose #23488 > │ \"c:/Users/i574n/AppData/Local/Temp/!spiral_eval/20240503-0241-2670-4541-000 │
00:07:05 verbose #23489 > │ 0003c64e0/test.txt\" -Algorithm SHA256).Hash"] / options: (None, "pwsh -c │
00:07:05 verbose #23490 > │ "(Get-FileHash │
00:07:05 verbose #23491 > │ \"c:/Users/i574n/AppData/Local/Temp/!spiral_eval/20240503-0241-2670-4541-000 │
00:07:05 verbose #23492 > │ 0003c64e0/test.txt\" -Algorithm SHA256).Hash"", Array(MutCell([])), None, │
00:07:05 verbose #23493 > │ None, None) │
00:07:05 verbose #23494 > │ 02:41:27 verbose #3 > │
00:07:05 verbose #23495 > │ E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 │
00:07:05 verbose #23496 > │ 02:41:27 verbose #4 execute_with_options / exit_code: 0 / std_... │
00:07:05 verbose #23497 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:05 verbose #23498 >
00:07:05 verbose #23499 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:05 verbose #23500 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:05 verbose #23501 > │ ## hash_file │
00:07:05 verbose #23502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:05 verbose #23503 >
00:07:05 verbose #23504 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:05 verbose #23505 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:05 verbose #23506 > │ ## sha256' │
00:07:05 verbose #23507 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:05 verbose #23508 >
00:07:05 verbose #23509 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:05 verbose #23510 > nominal sha256' = $'sha2_Sha256'
00:07:05 verbose #23511 > 00:07:04 debug #348 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/45b12aab31af97d5c70e61a7739af3002e778064fa9ddf4097cdb350bc6074c4/main.spi
00:07:05 verbose #23512 >
00:07:05 verbose #23513 > ╭─[ 631.70ms - stdout ]────────────────────────────────────────────────────────╮
00:07:05 verbose #23514 > │ () │
00:07:05 verbose #23515 > │ │
00:07:05 verbose #23516 > │ │
00:07:05 verbose #23517 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:05 verbose #23518 >
00:07:05 verbose #23519 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:05 verbose #23520 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:05 verbose #23521 > │ ## new_sha256 │
00:07:05 verbose #23522 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:05 verbose #23523 >
00:07:05 verbose #23524 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:05 verbose #23525 > inl new_sha256 () : sha256' =
00:07:05 verbose #23526 > !\($'"sha2::Sha256::new()"')
00:07:06 verbose #23527 > 00:07:05 debug #349 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b9c8d4d49c7271113a5d27d3b5a595ad32f5dcb901f009886e34bcfe516704cb/main.spi
00:07:06 verbose #23528 >
00:07:06 verbose #23529 > ╭─[ 639.80ms - stdout ]────────────────────────────────────────────────────────╮
00:07:06 verbose #23530 > │ () │
00:07:06 verbose #23531 > │ │
00:07:06 verbose #23532 > │ │
00:07:06 verbose #23533 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:06 verbose #23534 >
00:07:06 verbose #23535 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:06 verbose #23536 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:06 verbose #23537 > │ ## hasher_update │
00:07:06 verbose #23538 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:06 verbose #23539 >
00:07:06 verbose #23540 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:06 verbose #23541 > inl hasher_update forall t dim. (slice : am'.slice' t dim) (hasher : sha256') :
00:07:06 verbose #23542 > () =
00:07:06 verbose #23543 > !\($'"!hasher"')
00:07:07 verbose #23544 > 00:07:06 debug #350 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6d73dc71ef6464c23c9e3415188c7de4f7c9372309d650131f61f7fe71ffcdc2/main.spi
00:07:07 verbose #23545 >
00:07:07 verbose #23546 > ╭─[ 647.60ms - stdout ]────────────────────────────────────────────────────────╮
00:07:07 verbose #23547 > │ () │
00:07:07 verbose #23548 > │ │
00:07:07 verbose #23549 > │ │
00:07:07 verbose #23550 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:07 verbose #23551 >
00:07:07 verbose #23552 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:07 verbose #23553 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:07 verbose #23554 > │ ## hasher_finalize │
00:07:07 verbose #23555 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:07 verbose #23556 >
00:07:07 verbose #23557 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:07 verbose #23558 > inl hasher_finalize (hasher : sha256') : sm'.std_string =
00:07:07 verbose #23559 > !\($'"!hasher"')
00:07:07 verbose #23560 > 00:07:06 debug #351 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a39b874fc174035a2532a797bab237af7d4e77255783937bb1b2d982c30cebae/main.spi
00:07:07 verbose #23561 >
00:07:07 verbose #23562 > ╭─[ 631.06ms - stdout ]────────────────────────────────────────────────────────╮
00:07:07 verbose #23563 > │ () │
00:07:07 verbose #23564 > │ │
00:07:07 verbose #23565 > │ │
00:07:07 verbose #23566 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:07 verbose #23567 >
00:07:07 verbose #23568 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:07 verbose #23569 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:07 verbose #23570 > │ ## hash_file │
00:07:07 verbose #23571 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:07 verbose #23572 >
00:07:07 verbose #23573 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:07 verbose #23574 > inl hash_file (path : string) : result string string =
00:07:07 verbose #23575 > inl path = path |> file_system.normalize_path
00:07:07 verbose #23576 > inl file = path |> file_system.file_open |> resultm.unwrap'
00:07:07 verbose #23577 > inl reader = file |> stream.new_buf_reader
00:07:07 verbose #23578 > inl hasher = new_sha256 ()
00:07:07 verbose #23579 > inl buffer : _ i32 i32 = (0, 1014) |> am'.new_slice
00:07:07 verbose #23580 >
00:07:07 verbose #23581 > rust.loop fun () =>
00:07:07 verbose #23582 > inl count = reader |> stream.buf_reader_read buffer |> resultm.unwrap'
00:07:07 verbose #23583 > if count = 0 then rust.break ()
00:07:07 verbose #23584 > hasher |> hasher_update (buffer |> am'.slice_range (am'.Start 0)
00:07:07 verbose #23585 > (am'.End fun _ => count))
00:07:07 verbose #23586 >
00:07:07 verbose #23587 > hasher |> hasher_finalize |> sm'.from_std_string |> Ok
00:07:08 verbose #23588 > 00:07:07 debug #352 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0134c16cd505c24457836fd546b621b5941d93c99d5cfc4bf6d3e97dbef3260b/main.spi
00:07:08 verbose #23589 >
00:07:08 verbose #23590 > ╭─[ 621.35ms - stdout ]────────────────────────────────────────────────────────╮
00:07:08 verbose #23591 > │ () │
00:07:08 verbose #23592 > │ │
00:07:08 verbose #23593 > │ │
00:07:08 verbose #23594 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:08 verbose #23595 >
00:07:08 verbose #23596 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:08 verbose #23597 > //// test
00:07:08 verbose #23598 > //// print_code=false
00:07:08 verbose #23599 > ///! rust
00:07:08 verbose #23600 >
00:07:08 verbose #23601 > types ()
00:07:08 verbose #23602 > inl temp_folder, disposable = file_system.create_temp_directory ()
00:07:08 verbose #23603 >
00:07:08 verbose #23604 > fun () =>
00:07:08 verbose #23605 > inl file_name = join "test.txt"
00:07:08 verbose #23606 > inl path = temp_folder </> file_name
00:07:08 verbose #23607 > "" |> file_system.write_all_text path
00:07:08 verbose #23608 > path
00:07:08 verbose #23609 > |> hash_file
00:07:08 verbose #23610 > |> resultm.get
00:07:08 verbose #23611 > |> _assert_eq
00:07:08 verbose #23612 > "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855"
00:07:08 verbose #23613 > |> ignore
00:07:08 verbose #23614 > disposable |> use |> ignore
00:07:09 verbose #23615 > 00:07:08 debug #353 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/099a34acf1f8165a9d276e37b3fcb9d94936aed3a8eef0c3581883a14cdd63f5/main.spi
00:07:18 verbose #23616 >
00:07:18 verbose #23617 > ╭─[ 9.82s - return value ]─────────────────────────────────────────────────────╮
00:07:18 verbose #23618 > │ 02:41:40 verbose #1 file_system.create_directory / dir: │
00:07:18 verbose #23619 > │ C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0241-4025-4005-00000 │
00:07:18 verbose #23620 > │ 06c1384 │
00:07:18 verbose #23621 > │ │
00:07:18 verbose #23622 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:18 verbose #23623 >
00:07:18 verbose #23624 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:18 verbose #23625 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:18 verbose #23626 > │ ## main │
00:07:18 verbose #23627 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:18 verbose #23628 >
00:07:18 verbose #23629 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:18 verbose #23630 > inl main () =
00:07:18 verbose #23631 > types ()
00:07:18 verbose #23632 > $"let hash_text x = !hash_text x" : ()
00:07:18 verbose #23633 > 00:07:17 debug #354 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6ce3082afaed6ba1891426598a49aba3fd9fe400f76829cb00c578e66a3464b9/main.spi
00:07:19 verbose #23634 >
00:07:19 verbose #23635 > ╭─[ 777.27ms - stdout ]────────────────────────────────────────────────────────╮
00:07:19 verbose #23636 > │ #if FABLE_COMPILER │
00:07:19 verbose #23637 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:07:19 verbose #23638 > │ #endif │
00:07:19 verbose #23639 > │ type Func0<'T> = class end │
00:07:19 verbose #23640 > │ #if FABLE_COMPILER │
00:07:19 verbose #23641 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:07:19 verbose #23642 > │ #endif │
00:07:19 verbose #23643 > │ type Func0<'T, 'U> = class end │
00:07:19 verbose #23644 > │ #if FABLE_COMPILER │
00:07:19 verbose #23645 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:07:19 verbose #23646 > │ #endif │
00:07:19 verbose #23647 > │ type Box<'T> = class end │
00:07:19 verbose #23648 > │ #if FABLE_COMPILER │
00:07:19 verbose #23649 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:07:19 verbose #23650 > │ #endif │
00:07:19 verbose #23651 > │ type Dyn<'T> = class end │
00:07:19 verbose #23652 > │ #if FABLE_COMPILER │
00:07:19 verbose #23653 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:07:19 verbose #23654 > │ #endif │
00:07:19 verbose #23655 > │ type Send<'T> = class end │
00:07:19 verbose #23656 > │ #if FABLE_COMPILER │
00:07:19 verbose #23657 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:07:19 verbose #23658 > │ #endif │
00:07:19 verbose #23659 > │ type Fn<'T> = class end │
00:07:19 verbose #23660 > │ #if FABLE_COMPILER │
00:07:19 verbose #23661 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:07:19 verbose #23662 > │ #endif │
00:07:19 verbose #23663 > │ type FnUnit = class end │
00:07:19 verbose #23664 > │ #if FABLE_COMPILER │
00:07:19 verbose #23665 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:07:19 verbose #23666 > │ #endif │
00:07:19 verbose #23667 > │ type FnOnce<'T> = class end │
00:07:19 verbose #23668 > │ #if FABLE_COMPILER │
00:07:19 verbose #23669 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:07:19 verbose #23670 > │ #endif │
00:07:19 verbose #23671 > │ type ActionFn<'T> = class end │
00:07:19 verbose #23672 > │ #if FABLE_COMPILER │
00:07:19 verbose #23673 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:07:19 verbose #23674 > │ #endif │
00:07:19 verbose #23675 > │ type ActionFn2<'T, 'U> = class end │
00:07:19 verbose #23676 > │ #if FABLE_COMPILER │
00:07:19 verbose #23677 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:07:19 verbose #23678 > │ #endif │
00:07:19 verbose #23679 > │ type Impl<'T> = class end │
00:07:19 verbose #23680 > │ #if FABLE_COMPILER │
00:07:19 verbose #23681 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:07:19 verbose #23682 > │ #endif │
00:07:19 verbose #23683 > │ type Mut<'T> = class end │
00:07:19 verbose #23684 > │ #if FABLE_COMPILER │
00:07:19 verbose #23685 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:07:19 verbose #23686 > │ #endif │
00:07:19 verbose #23687 > │ type Ref<'T> = class end │
00:07:19 verbose #23688 > │ #if FABLE_COMPILER │
00:07:19 verbose #23689 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:07:19 verbose #23690 > │ #endif │
00:07:19 verbose #23691 > │ type StaticRef<'T> = class end │
00:07:19 verbose #23692 > │ #if FABLE_COMPILER │
00:07:19 verbose #23693 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:07:19 verbose #23694 > │ #endif │
00:07:19 verbose #23695 > │ type MutCell<'T> = class end │
00:07:19 verbose #23696 > │ #if FABLE_COMPILER │
00:07:19 verbose #23697 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:07:19 verbose #23698 > │ #endif │
00:07:19 verbose #23699 > │ type std_any_Any = class end │
00:07:19 verbose #23700 > │ #if FABLE_COMPILER │
00:07:19 verbose #23701 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:07:19 verbose #23702 > │ #endif │
00:07:19 verbose #23703 > │ type std_borrow_Cow<'T> = class end │
00:07:19 verbose #23704 > │ #if FABLE_COMPILER │
00:07:19 verbose #23705 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:07:19 verbose #23706 > │ #endif │
00:07:19 verbose #23707 > │ type std_cell_RefCell<'T> = class end │
00:07:19 verbose #23708 > │ #if FABLE_COMPILER │
00:07:19 verbose #23709 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:07:19 verbose #23710 > │ #endif │
00:07:19 verbose #23711 > │ type std_pin_Pin<'T> = class end │
00:07:19 verbose #23712 > │ #if FABLE_COMPILER │
00:07:19 verbose #23713 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:07:19 verbose #23714 > │ #endif │
00:07:19 verbose #23715 > │ type std_rc_Rc<'T> = class end │
00:07:19 verbose #23716 > │ #if FABLE_COMPILER │
00:07:19 verbose #23717 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:07:19 verbose #23718 > │ #endif │
00:07:19 verbose #23719 > │ type std_rc_Weak<'T> = class end │
00:07:19 verbose #23720 > │ #if FABLE_COMPILER │
00:07:19 verbose #23721 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:07:19 verbose #23722 > │ #endif │
00:07:19 verbose #23723 > │ type Str = class end │
00:07:19 verbose #23724 > │ #if FABLE_COMPILER │
00:07:19 verbose #23725 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:07:19 verbose #23726 > │ #endif │
00:07:19 verbose #23727 > │ type base64_DecodeError = class end │
00:07:19 verbose #23728 > │ #if FABLE_COMPILER │
00:07:19 verbose #23729 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:07:19 verbose #23730 > │ #endif │
00:07:19 verbose #23731 > │ type borsh_io_Error = class end │
00:07:19 verbose #23732 > │ #if FABLE_COMPILER │
00:07:19 verbose #23733 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:07:19 verbose #23734 > │ #endif │
00:07:19 verbose #23735 > │ type js_sys_JsString = class end │
00:07:19 verbose #23736 > │ #if FABLE_COMPILER │
00:07:19 verbose #23737 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:07:19 verbose #23738 > │ #endif │
00:07:19 verbose #23739 > │ type serde_json_Error = class end │
00:07:19 verbose #23740 > │ #if FABLE_COMPILER │
00:07:19 verbose #23741 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:07:19 verbose #23742 > │ #endif │
00:07:19 verbose #23743 > │ type serde_json_Value = class end │
00:07:19 verbose #23744 > │ #if FABLE_COMPILER │
00:07:19 verbose #23745 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:07:19 verbose #23746 > │ #endif │
00:07:19 verbose #23747 > │ type serde_wasm_bindgen_Error = class end │
00:07:19 verbose #23748 > │ #if FABLE_COMPILER │
00:07:19 verbose #23749 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:07:19 verbose #23750 > │ #endif │
00:07:19 verbose #23751 > │ type std_ffi_OsStr = class end │
00:07:19 verbose #23752 > │ #if FABLE_COMPILER │
00:07:19 verbose #23753 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:07:19 verbose #23754 > │ #endif │
00:07:19 verbose #23755 > │ type std_ffi_OsString = class end │
00:07:19 verbose #23756 > │ #if FABLE_COMPILER │
00:07:19 verbose #23757 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:07:19 verbose #23758 > │ #endif │
00:07:19 verbose #23759 > │ type std_fmt_Display<'T> = class end │
00:07:19 verbose #23760 > │ #if FABLE_COMPILER │
00:07:19 verbose #23761 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:07:19 verbose #23762 > │ #endif │
00:07:19 verbose #23763 > │ type std_str_Utf8Error = class end │
00:07:19 verbose #23764 > │ #if FABLE_COMPILER │
00:07:19 verbose #23765 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:07:19 verbose #23766 > │ #endif │
00:07:19 verbose #23767 > │ type std_string_FromUtf8Error = class end │
00:07:19 verbose #23768 > │ #if FABLE_COMPILER │
00:07:19 verbose #23769 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:07:19 verbose #23770 > │ #endif │
00:07:19 verbose #23771 > │ type std_string_String = class end │
00:07:19 verbose #23772 > │ #if FABLE_COMPILER │
00:07:19 verbose #23773 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:07:19 verbose #23774 > │ #endif │
00:07:19 verbose #23775 > │ type std_slice_Windows<'T> = class end │
00:07:19 verbose #23776 > │ #if FABLE_COMPILER │
00:07:19 verbose #23777 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0]")>] │
00:07:19 verbose #23778 > │ #endif │
00:07:19 verbose #23779 > │ type Slice<'T> = class end │
00:07:19 verbose #23780 > │ #if FABLE_COMPILER │
00:07:19 verbose #23781 > │ [<Fable.Core.Erase; Fable.Core.Emit("[$0; $1]")>] │
00:07:19 verbose #23782 > │ #endif │
00:07:19 verbose #23783 > │ type Slice'<'T, 'U> = class end │
00:07:19 verbose #23784 > │ #if FABLE_COMPILER │
00:07:19 verbose #23785 > │ [<Fable.Core.Erase; Fable.Core.Emit("Vec<$0>")>] │
00:07:19 verbose #23786 > │ #endif │
00:07:19 verbose #23787 > │ type Vec<'T> = class end │
00:07:19 verbose #23788 > │ #if FABLE_COMPILER │
00:07:19 verbose #23789 > │ [<Fable.Core.Erase; Fable.Core.Emit("std:🧵:JoinHandle<$0>")>] │
00:07:19 verbose #23790 > │ #endif │
00:07:19 verbose #23791 > │ type std_thread_JoinHandle<'T> = class end │
00:07:19 verbose #23792 > │ #if FABLE_COMPILER │
00:07:19 verbose #23793 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>] │
00:07:19 verbose #23794 > │ #endif │
00:07:19 verbose #23795 > │ type std_sync_Arc<'T> = class end │
00:07:19 verbose #23796 > │ #if FABLE_COMPILER │
00:07:19 verbose #23797 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>] │
00:07:19 verbose #23798 > │ #endif │
00:07:19 verbose #23799 > │ type std_sync_Mutex<'T> = class end │
00:07:19 verbose #23800 > │ #if FABLE_COMPILER │
00:07:19 verbose #23801 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>] │
00:07:19 verbose #23802 > │ #endif │
00:07:19 verbose #23803 > │ type std_sync_MutexGuard<'T> = class end │
00:07:19 verbose #23804 > │ #if FABLE_COMPILER │
00:07:19 verbose #23805 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>] │
00:07:19 verbose #23806 > │ #endif │
00:07:19 verbose #23807 > │ type std_sync_PoisonError<'T> = class end │
00:07:19 verbose #23808 > │ #if FABLE_COMPILER │
00:07:19 verbose #23809 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:07:19 verbose #23810 > │ #endif │
00:07:19 verbose #23811 > │ type chrono_DateTime<'T> = class end │
00:07:19 verbose #23812 > │ #if FABLE_COMPILER │
00:07:19 verbose #23813 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:07:19 verbose #23814 > │ #endif │
00:07:19 verbose #23815 > │ type chrono_Local = class end │
00:07:19 verbose #23816 > │ #if FABLE_COMPILER │
00:07:19 verbose #23817 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:07:19 verbose #23818 > │ #endif │
00:07:19 verbose #23819 > │ type chrono_NaiveDateTime = class end │
00:07:19 verbose #23820 > │ #if FABLE_COMPILER │
00:07:19 verbose #23821 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:07:19 verbose #23822 > │ #endif │
00:07:19 verbose #23823 > │ type chrono_Utc = class end │
00:07:19 verbose #23824 > │ #if FABLE_COMPILER │
00:07:19 verbose #23825 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:07:19 verbose #23826 > │ #endif │
00:07:19 verbose #23827 > │ type std_time_Duration = class end │
00:07:19 verbose #23828 > │ #if FABLE_COMPILER │
00:07:19 verbose #23829 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:07:19 verbose #23830 > │ #endif │
00:07:19 verbose #23831 > │ type async_std_io_BufReader<'T> = class end │
00:07:19 verbose #23832 > │ #if FABLE_COMPILER │
00:07:19 verbose #23833 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:07:19 verbose #23834 > │ #endif │
00:07:19 verbose #23835 > │ type std_io_BufReader<'T> = class end │
00:07:19 verbose #23836 > │ #if FABLE_COMPILER │
00:07:19 verbose #23837 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:07:19 verbose #23838 > │ #endif │
00:07:19 verbose #23839 > │ type std_io_Error = class end │
00:07:19 verbose #23840 > │ #if FABLE_COMPILER │
00:07:19 verbose #23841 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:07:19 verbose #23842 > │ #endif │
00:07:19 verbose #23843 > │ type std_io_Lines<'T> = class end │
00:07:19 verbose #23844 > │ #if FABLE_COMPILER │
00:07:19 verbose #23845 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:07:19 verbose #23846 > │ #endif │
00:07:19 verbose #23847 > │ type std_fs_File = class end │
00:07:19 verbose #23848 > │ #if FABLE_COMPILER │
00:07:19 verbose #23849 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:07:19 verbose #23850 > │ #endif │
00:07:19 verbose #23851 > │ type std_fs_FileType = class end │
00:07:19 verbose #23852 > │ #if FABLE_COMPILER │
00:07:19 verbose #23853 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:07:19 verbose #23854 > │ #endif │
00:07:19 verbose #23855 > │ type std_path_Display = class end │
00:07:19 verbose #23856 > │ #if FABLE_COMPILER │
00:07:19 verbose #23857 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:07:19 verbose #23858 > │ #endif │
00:07:19 verbose #23859 > │ type std_path_Path = class end │
00:07:19 verbose #23860 > │ #if FABLE_COMPILER │
00:07:19 verbose #23861 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:07:19 verbose #23862 > │ #endif │
00:07:19 verbose #23863 > │ type std_path_PathBuf = class end │
00:07:19 verbose #23864 > │ #if FABLE_COMPILER │
00:07:19 verbose #23865 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:07:19 verbose #23866 > │ #endif │
00:07:19 verbose #23867 > │ type async_walkdir_DirEntry = class end │
00:07:19 verbose #23868 > │ #if FABLE_COMPILER │
00:07:19 verbose #23869 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:07:19 verbose #23870 > │ #endif │
00:07:19 verbose #23871 > │ type async_walkdir_Filtering = class end │
00:07:19 verbose #23872 > │ #if FABLE_COMPILER │
00:07:19 verbose #23873 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:07:19 verbose #23874 > │ #endif │
00:07:19 verbose #23875 > │ type async_walkdir_WalkDir = class end │
00:07:19 verbose #23876 > │ #if FABLE_COMPILER │
00:07:19 verbose #23877 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>] │
00:07:19 verbose #23878 > │ #endif │
00:07:19 verbose #23879 > │ type std_future_Future<'T> = class end │
00:07:19 verbose #23880 > │ #if FABLE_COMPILER │
00:07:19 verbose #23881 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>] │
00:07:19 verbose #23882 > │ #endif │
00:07:19 verbose #23883 > │ type futures_future_TryJoinAll<'T> = class end │
00:07:19 verbose #23884 > │ #if FABLE_COMPILER │
00:07:19 verbose #23885 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>] │
00:07:19 verbose #23886 > │ #endif │
00:07:19 verbose #23887 > │ type rayon_vec_IntoIter<'T> = class end │
00:07:19 verbose #23888 > │ #if FABLE_COMPILER │
00:07:19 verbose #23889 > │ [<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>] │
00:07:19 verbose #23890 > │ #endif │
00:07:19 verbose #23891 > │ type rayon_iter_Map<'T> = class end │
00:07:19 verbose #23892 > │ #if FABLE_COMPILER │
00:07:19 verbose #23893 > │ [<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>] │
00:07:19 verbose #23894 > │ #endif │
00:07:19 verbose #23895 > │ type futures_lite_stream_StreamExt = class end │
00:07:19 verbose #23896 > │ #if FABLE_COMPILER │
00:07:19 verbose #23897 > │ [<Fable.Core.Erase; Fable.Core.Emit("core::iter::Fuse<$0>")>] │
00:07:19 verbose #23898 > │ #endif │
00:07:19 verbose #23899 > │ type core_iter_Fuse<'T> = class end │
00:07:19 verbose #23900 > │ #if FABLE_COMPILER │
00:07:19 verbose #23901 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Arg")>] │
00:07:19 verbose #23902 > │ #endif │
00:07:19 verbose #23903 > │ type clap_Arg = class end │
00:07:19 verbose #23904 > │ #if FABLE_COMPILER │
00:07:19 verbose #23905 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::Command")>] │
00:07:19 verbose #23906 > │ #endif │
00:07:19 verbose #23907 > │ type clap_Command = class end │
00:07:19 verbose #23908 > │ #if FABLE_COMPILER │
00:07:19 verbose #23909 > │ [<Fable.Core.Erase; Fable.Core.Emit("clap::ArgMatches")>] │
00:07:19 verbose #23910 > │ #endif │
00:07:19 verbose #23911 > │ type clap_ArgMatches = class end │
00:07:19 verbose #23912 > │ #if FABLE_COMPILER │
00:07:19 verbose #23913 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Child")>] │
00:07:19 verbose #23914 > │ #endif │
00:07:19 verbose #23915 > │ type std_process_Child = class end │
00:07:19 verbose #23916 > │ #if FABLE_COMPILER │
00:07:19 verbose #23917 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStderr")>] │
00:07:19 verbose #23918 > │ #endif │
00:07:19 verbose #23919 > │ type std_process_ChildStderr = class end │
00:07:19 verbose #23920 > │ #if FABLE_COMPILER │
00:07:19 verbose #23921 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdout")>] │
00:07:19 verbose #23922 > │ #endif │
00:07:19 verbose #23923 > │ type std_process_ChildStdout = class end │
00:07:19 verbose #23924 > │ #if FABLE_COMPILER │
00:07:19 verbose #23925 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::ChildStdin")>] │
00:07:19 verbose #23926 > │ #endif │
00:07:19 verbose #23927 > │ type std_process_ChildStdin = class end │
00:07:19 verbose #23928 > │ #if FABLE_COMPILER │
00:07:19 verbose #23929 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Command")>] │
00:07:19 verbose #23930 > │ #endif │
00:07:19 verbose #23931 > │ type std_process_Command = class end │
00:07:19 verbose #23932 > │ #if FABLE_COMPILER │
00:07:19 verbose #23933 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Output")>] │
00:07:19 verbose #23934 > │ #endif │
00:07:19 verbose #23935 > │ type std_process_Output = class end │
00:07:19 verbose #23936 > │ #if FABLE_COMPILER │
00:07:19 verbose #23937 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::process::Stdio")>] │
00:07:19 verbose #23938 > │ #endif │
00:07:19 verbose #23939 > │ type std_process_Stdio = class end │
00:07:19 verbose #23940 > │ #if FABLE_COMPILER │
00:07:19 verbose #23941 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Receiver<$0>")>] │
00:07:19 verbose #23942 > │ #endif │
00:07:19 verbose #23943 > │ type std_sync_mpsc_Receiver<'T> = class end │
00:07:19 verbose #23944 > │ #if FABLE_COMPILER │
00:07:19 verbose #23945 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::mpsc::Sender<$0>")>] │
00:07:19 verbose #23946 > │ #endif │
00:07:19 verbose #23947 > │ type std_sync_mpsc_Sender<'T> = class end │
00:07:19 verbose #23948 > │ #if FABLE_COMPILER │
00:07:19 verbose #23949 > │ [<Fable.Core.Erase; Fable.Core.Emit("sha2::Sha256")>] │
00:07:19 verbose #23950 > │ #endif │
00:07:19 verbose #23951 > │ type sha2_Sha256 = class end │
00:07:19 verbose #23952 > │ type ICryptoCreateHash = abstract createHash: x: string -> obj │
00:07:19 verbose #23953 > │ type Mut0 = {mutable l0 : int32} │
00:07:19 verbose #23954 > │ let rec method0 (v0 : string) : string = │
00:07:19 verbose #23955 > │ v0 │
00:07:19 verbose #23956 > │ and method1 (v0 : int32, v1 : Mut0) : bool = │
00:07:19 verbose #23957 > │ let v2 : int32 = v1.l0 │
00:07:19 verbose #23958 > │ let v3 : bool = v2 < v0 │
00:07:19 verbose #23959 > │ v3 │
00:07:19 verbose #23960 > │ and method2 () : string = │
00:07:19 verbose #23961 > │ let v0 : string = "" │
00:07:19 verbose #23962 > │ v0 │
00:07:19 verbose #23963 > │ and closure0 () (v0 : string) : string = │
00:07:19 verbose #23964 > │ let v1 : string option = None │
00:07:19 verbose #23965 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:07:19 verbose #23966 > │ │
00:07:19 verbose #23967 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:07:19 verbose #23968 > │ │
00:07:19 verbose #23969 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:07:19 verbose #23970 > │ let v3 : string = null |> unbox<string> │
00:07:19 verbose #23971 > │ v3 │
00:07:19 verbose #23972 > │ #endif │
00:07:19 verbose #23973 > │ │
00:07:19 verbose #23974 > │ #if FABLE_COMPILER_RUST && WASM │
00:07:19 verbose #23975 > │ let v4 : string = null |> unbox<string> │
00:07:19 verbose #23976 > │ v4 │
00:07:19 verbose #23977 > │ #endif │
00:07:19 verbose #23978 > │ │
00:07:19 verbose #23979 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:07:19 verbose #23980 > │ let v5 : string = null |> unbox<string> │
00:07:19 verbose #23981 > │ v5 │
00:07:19 verbose #23982 > │ #endif │
00:07:19 verbose #23983 > │ │
00:07:19 verbose #23984 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:07:19 verbose #23985 > │ let v6 : string = "crypto" │
00:07:19 verbose #23986 > │ let v7 : ICryptoCreateHash = Fable.Core.JsInterop.importAll v6 │
00:07:19 verbose #23987 > │ let v8 : string = "v7.createHash($0)" │
00:07:19 verbose #23988 > │ let v9 : string = "sha256" │
00:07:19 verbose #23989 > │ let v10 : obj = Fable.Core.JsInterop.emitJsExpr v9 v8 │
00:07:19 verbose #23990 > │ let v11 : string = "$0.update($1, 'utf8')" │
00:07:19 verbose #23991 > │ let v12 : obj = Fable.Core.JsInterop.emitJsExpr struct (v10, v0) v11 │
00:07:19 verbose #23992 > │ let v13 : string = "$0.digest($1)" │
00:07:19 verbose #23993 > │ let v14 : string = "hex" │
00:07:19 verbose #23994 > │ let v15 : string = Fable.Core.JsInterop.emitJsExpr struct (v12, v14) v13 │
00:07:19 verbose #23995 > │ v15 │
00:07:19 verbose #23996 > │ #endif │
00:07:19 verbose #23997 > │ │
00:07:19 verbose #23998 > │ #if FABLE_COMPILER_PYTHON │
00:07:19 verbose #23999 > │ let v16 : string = null |> unbox<string> │
00:07:19 verbose #24000 > │ v16 │
00:07:19 verbose #24001 > │ #endif │
00:07:19 verbose #24002 > │ │
00:07:19 verbose #24003 > │ #else │
00:07:19 verbose #24004 > │ let v17 : string = method0(v0) │
00:07:19 verbose #24005 > │ let v18 : (unit -> System.Security.Cryptography.SHA256) = │
00:07:19 verbose #24006 > │ System.Security.Cryptography.SHA256.Create │
00:07:19 verbose #24007 > │ let v19 : System.Security.Cryptography.SHA256 = v18 () │
00:07:19 verbose #24008 > │ use v19 = v19 │
00:07:19 verbose #24009 > │ let v20 : System.Security.Cryptography.SHA256 = v19 │
00:07:19 verbose #24010 > │ let v21 : (string -> (uint8 [])) = System.Text.Encoding.UTF8.GetBytes │
00:07:19 verbose #24011 > │ let v22 : (uint8 []) = v21 v17 │
00:07:19 verbose #24012 > │ let v23 : ((uint8 []) -> (uint8 [])) = v20.ComputeHash │
00:07:19 verbose #24013 > │ let v24 : (uint8 []) = v23 v22 │
00:07:19 verbose #24014 > │ let v25 : int32 = v24.Length │
00:07:19 verbose #24015 > │ let v26 : (string []) = Array.zeroCreate<string> (v25) │
00:07:19 verbose #24016 > │ let v27 : Mut0 = {l0 = 0} : Mut0 │
00:07:19 verbose #24017 > │ while method1(v25, v27) do │
00:07:19 verbose #24018 > │ let v29 : int32 = v27.l0 │
00:07:19 verbose #24019 > │ let v30 : uint8 = v24.[int v29] │
00:07:19 verbose #24020 > │ let v31 : (string -> string) = v30.ToString │
00:07:19 verbose #24021 > │ let v32 : string = "x2" │
00:07:19 verbose #24022 > │ let v33 : string = v31 v32 │
00:07:19 verbose #24023 > │ v26.[int v29] <- v33 │
00:07:19 verbose #24024 > │ let v34 : int32 = v29 + 1 │
00:07:19 verbose #24025 > │ v27.l0 <- v34 │
00:07:19 verbose #24026 > │ () │
00:07:19 verbose #24027 > │ let v35 : string seq = seq { for i = 0 to v26.Length - 1 do yield v26.[ │
00:07:19 verbose #24028 > │ i] } │
00:07:19 verbose #24029 > │ let v36 : string = method2() │
00:07:19 verbose #24030 > │ let v37 : (string -> (string seq -> string)) = String.concat │
00:07:19 verbose #24031 > │ let v38 : (string seq -> string) = v37 v36 │
00:07:19 verbose #24032 > │ let v39 : string = v38 v35 │
00:07:19 verbose #24033 > │ v39 │
00:07:19 verbose #24034 > │ #endif │
00:07:19 verbose #24035 > │ |> fun x -> _v1 <- Some x │
00:07:19 verbose #24036 > │ let v40 : string = _v1.Value │
00:07:19 verbose #24037 > │ v40 │
00:07:19 verbose #24038 > │ let v0 : (string -> string) = closure0() │
00:07:19 verbose #24039 > │ let hash_text x = v0 x │
00:07:19 verbose #24040 > │ () │
00:07:19 verbose #24041 > │ │
00:07:19 verbose #24042 > │ │
00:07:19 verbose #24043 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:21 verbose #24044 > [NbConvertApp] Converting notebook crypto.dib.ipynb to html
00:07:21 verbose #24045 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:07:21 verbose #24046 > validate(nb)
00:07:23 verbose #24047 > [NbConvertApp] Writing 337031 bytes to crypto.dib.html
00:07:23 debug #24048 execute_with_options_async / exit_code: 0 / output.Length: 71559
00:07:23 debug #11 main / executeCommand / exitCode: 0
00:07:23 debug #24049 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 common.dib -Retries 3"", [||],
None, None, None)
00:07:24 verbose #24050 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: common.dib / _args: [
00:07:24 verbose #24051 > "-Retries",
00:07:24 verbose #24052 > 3
00:07:24 verbose #24053 > ]
00:07:26 verbose #24054 >
00:07:26 verbose #24055 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:26 verbose #24056 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:26 verbose #24057 > │ # common │
00:07:26 verbose #24058 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:26 verbose #24059 >
00:07:26 verbose #24060 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:26 verbose #24061 > //// test
00:07:26 verbose #24062 >
00:07:26 verbose #24063 > open testing
00:07:26 verbose #24064 >
00:07:26 verbose #24065 > ── spiral - import ─────────────────────────────────────────────────────────────
00:07:26 verbose #24066 > #r
00:07:26 verbose #24067 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:07:26 verbose #24068 > otNet.Interactive.Spiral.dll"
00:07:26 verbose #24069 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:07:26 verbose #24070 > #r
00:07:26 verbose #24071 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:07:26 verbose #24072 > otNet.Interactive.dll"
00:07:26 verbose #24073 > open type Microsoft.DotNet.Interactive.Kernel
00:07:30 verbose #24074 > 00:07:29 debug #355 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:07:31 verbose #24075 >
00:07:31 verbose #24076 > ╭─[ 4.90s - stdout ]───────────────────────────────────────────────────────────╮
00:07:31 verbose #24077 > │ () │
00:07:31 verbose #24078 > │ │
00:07:31 verbose #24079 > │ │
00:07:31 verbose #24080 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:31 verbose #24081 >
00:07:31 verbose #24082 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:31 verbose #24083 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:31 verbose #24084 > │ ## types │
00:07:31 verbose #24085 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:31 verbose #24086 >
00:07:31 verbose #24087 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:31 verbose #24088 > inl types () =
00:07:31 verbose #24089 > rust.types ()
00:07:31 verbose #24090 > sm'.types ()
00:07:31 verbose #24091 > 00:07:30 debug #356 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5511d5468be9fed5ed097108bef0268c55058733dc91249e3f198c656498a651/main.spi
00:07:31 verbose #24092 >
00:07:31 verbose #24093 > ╭─[ 624.54ms - stdout ]────────────────────────────────────────────────────────╮
00:07:31 verbose #24094 > │ () │
00:07:31 verbose #24095 > │ │
00:07:31 verbose #24096 > │ │
00:07:31 verbose #24097 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:31 verbose #24098 >
00:07:31 verbose #24099 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:31 verbose #24100 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:31 verbose #24101 > │ ## prototype │
00:07:31 verbose #24102 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:31 verbose #24103 >
00:07:31 verbose #24104 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:31 verbose #24105 > prototype (~:>) r : forall t. t -> r
00:07:32 verbose #24106 > 00:07:31 debug #357 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ad02378976b438c0ce2b50c81d5c6cf47ee9c2cd352d91e8ee25375a4015675a/main.spi
00:07:32 verbose #24107 >
00:07:32 verbose #24108 > ╭─[ 593.67ms - stdout ]────────────────────────────────────────────────────────╮
00:07:32 verbose #24109 > │ () │
00:07:32 verbose #24110 > │ │
00:07:32 verbose #24111 > │ │
00:07:32 verbose #24112 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:32 verbose #24113 >
00:07:32 verbose #24114 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:32 verbose #24115 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:32 verbose #24116 > │ ## run_target │
00:07:32 verbose #24117 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:32 verbose #24118 >
00:07:32 verbose #24119 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:32 verbose #24120 > //// test
00:07:32 verbose #24121 >
00:07:32 verbose #24122 > run_target function
00:07:32 verbose #24123 > | Fsharp (Native) => fun () => $"1uy"
00:07:32 verbose #24124 > | _ => fun () => $"2uy"
00:07:32 verbose #24125 > |> _assert_eq 1u8
00:07:33 verbose #24126 > 00:07:32 debug #358 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0e2733d98722f25a522d3ce6d7740a3f24ad8aa6ddf907e531fc99b34c7c43e0/main.spi
00:07:33 verbose #24127 >
00:07:33 verbose #24128 > ╭─[ 1.34s - stdout ]───────────────────────────────────────────────────────────╮
00:07:33 verbose #24129 > │ let rec method1 (v0 : bool) : bool = │
00:07:33 verbose #24130 > │ v0 │
00:07:33 verbose #24131 > │ and method0 () : unit = │
00:07:33 verbose #24132 > │ let v0 : uint8 option = None │
00:07:33 verbose #24133 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:07:33 verbose #24134 > │ │
00:07:33 verbose #24135 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:07:33 verbose #24136 > │ │
00:07:33 verbose #24137 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:07:33 verbose #24138 > │ let v2 : uint8 = 2uy │
00:07:33 verbose #24139 > │ v2 │
00:07:33 verbose #24140 > │ #endif │
00:07:33 verbose #24141 > │ │
00:07:33 verbose #24142 > │ #if FABLE_COMPILER_RUST && WASM │
00:07:33 verbose #24143 > │ let v3 : uint8 = 2uy │
00:07:33 verbose #24144 > │ v3 │
00:07:33 verbose #24145 > │ #endif │
00:07:33 verbose #24146 > │ │
00:07:33 verbose #24147 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:07:33 verbose #24148 > │ let v4 : uint8 = 2uy │
00:07:33 verbose #24149 > │ v4 │
00:07:33 verbose #24150 > │ #endif │
00:07:33 verbose #24151 > │ │
00:07:33 verbose #24152 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:07:33 verbose #24153 > │ let v5 : uint8 = 2uy │
00:07:33 verbose #24154 > │ v5 │
00:07:33 verbose #24155 > │ #endif │
00:07:33 verbose #24156 > │ │
00:07:33 verbose #24157 > │ #if FABLE_COMPILER_PYTHON │
00:07:33 verbose #24158 > │ let v6 : uint8 = 2uy │
00:07:33 verbose #24159 > │ v6 │
00:07:33 verbose #24160 > │ #endif │
00:07:33 verbose #24161 > │ │
00:07:33 verbose #24162 > │ #else │
00:07:33 verbose #24163 > │ let v7 : uint8 = 1uy │
00:07:33 verbose #24164 > │ v7 │
00:07:33 verbose #24165 > │ #endif │
00:07:33 verbose #24166 > │ |> fun x -> _v0 <- Some x │
00:07:33 verbose #24167 > │ let v8 : uint8 = _v0.Value │
00:07:33 verbose #24168 > │ let v9 : bool = v8 = 1uy │
00:07:33 verbose #24169 > │ let v11 : bool = │
00:07:33 verbose #24170 > │ if v9 then │
00:07:33 verbose #24171 > │ true │
00:07:33 verbose #24172 > │ else │
00:07:33 verbose #24173 > │ method1(v9) │
00:07:33 verbose #24174 > │ let v12 : string = "assert_eq" │
00:07:33 verbose #24175 > │ let v13 : string = $"{v12} / actual: %A{v8} / expected: %A{1uy}" │
00:07:33 verbose #24176 > │ System.Console.WriteLine v13 │
00:07:33 verbose #24177 > │ let v14 : bool = v11 = false │
00:07:33 verbose #24178 > │ if v14 then │
00:07:33 verbose #24179 > │ failwith<unit> v13 │
00:07:33 verbose #24180 > │ method0() │
00:07:33 verbose #24181 > │ │
00:07:33 verbose #24182 > │ assert_eq / actual: 1uy / expected: 1uy │
00:07:33 verbose #24183 > │ │
00:07:33 verbose #24184 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:33 verbose #24185 >
00:07:33 verbose #24186 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:33 verbose #24187 > //// test
00:07:33 verbose #24188 > ///! rust
00:07:33 verbose #24189 >
00:07:33 verbose #24190 > run_target function
00:07:33 verbose #24191 > | Rust (Native) => fun () => $"1uy"
00:07:33 verbose #24192 > | _ => fun () => $"2uy"
00:07:33 verbose #24193 > |> _assert_eq 1u8
00:07:34 verbose #24194 > 00:07:33 debug #359 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/61e626e31374d8b2ee542d3e8a3465bb94a706057b5cf6449a3443109be9a763/main.spi
00:07:45 verbose #24195 >
00:07:45 verbose #24196 > ╭─[ 11.58s - return value ]────────────────────────────────────────────────────╮
00:07:45 verbose #24197 > │ output: │
00:07:45 verbose #24198 > │ assert_eq / actual: 1 / expected: 1 │
00:07:45 verbose #24199 > │ │
00:07:45 verbose #24200 > │ │
00:07:45 verbose #24201 > │ │
00:07:45 verbose #24202 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:45 verbose #24203 >
00:07:45 verbose #24204 > ╭─[ 11.59s - stdout ]──────────────────────────────────────────────────────────╮
00:07:45 verbose #24205 > │ .fsx: │
00:07:45 verbose #24206 > │ let rec method1 (v0 : bool) : bool = │
00:07:45 verbose #24207 > │ v0 │
00:07:45 verbose #24208 > │ and method0 () : unit = │
00:07:45 verbose #24209 > │ let v0 : uint8 option = None │
00:07:45 verbose #24210 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:07:45 verbose #24211 > │ │
00:07:45 verbose #24212 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:07:45 verbose #24213 > │ │
00:07:45 verbose #24214 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:07:45 verbose #24215 > │ let v2 : uint8 = 1uy │
00:07:45 verbose #24216 > │ v2 │
00:07:45 verbose #24217 > │ #endif │
00:07:45 verbose #24218 > │ │
00:07:45 verbose #24219 > │ #if FABLE_COMPILER_RUST && WASM │
00:07:45 verbose #24220 > │ let v3 : uint8 = 2uy │
00:07:45 verbose #24221 > │ v3 │
00:07:45 verbose #24222 > │ #endif │
00:07:45 verbose #24223 > │ │
00:07:45 verbose #24224 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:07:45 verbose #24225 > │ let v4 : uint8 = 2uy │
00:07:45 verbose #24226 > │ v4 │
00:07:45 verbose #24227 > │ #endif │
00:07:45 verbose #24228 > │ │
00:07:45 verbose #24229 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:07:45 verbose #24230 > │ let v5 : uint8 = 2uy │
00:07:45 verbose #24231 > │ v5 │
00:07:45 verbose #24232 > │ #endif │
00:07:45 verbose #24233 > │ │
00:07:45 verbose #24234 > │ #if FABLE_COMPILER_PYTHON │
00:07:45 verbose #24235 > │ let v6 : uint8 = 2uy │
00:07:45 verbose #24236 > │ v6 │
00:07:45 verbose #24237 > │ #endif │
00:07:45 verbose #24238 > │ │
00:07:45 verbose #24239 > │ #else │
00:07:45 verbose #24240 > │ let v7 : uint8 = 2uy │
00:07:45 verbose #24241 > │ v7 │
00:07:45 verbose #24242 > │ #endif │
00:07:45 verbose #24243 > │ |> fun x -> _v0 <- Some x │
00:07:45 verbose #24244 > │ let v8 : uint8 = _v0.Value │
00:07:45 verbose #24245 > │ let v9 : bool = v8 = 1uy │
00:07:45 verbose #24246 > │ let v11 : bool = │
00:07:45 verbose #24247 > │ if v9 then │
00:07:45 verbose #24248 > │ true │
00:07:45 verbose #24249 > │ else │
00:07:45 verbose #24250 > │ method1(v9) │
00:07:45 verbose #24251 > │ let v12 : string = "assert_eq" │
00:07:45 verbose #24252 > │ let v13 : string = $"{v12} / actual: %A{v8} / expected: %A{1uy}" │
00:07:45 verbose #24253 > │ System.Console.WriteLine v13 │
00:07:45 verbose #24254 > │ let v14 : bool = v11 = false │
00:07:45 verbose #24255 > │ if v14 then │
00:07:45 verbose #24256 > │ failwith<unit> v13 │
00:07:45 verbose #24257 > │ method0() │
00:07:45 verbose #24258 > │ │
00:07:45 verbose #24259 > │ │
00:07:45 verbose #24260 > │ │
00:07:45 verbose #24261 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:45 verbose #24262 >
00:07:45 verbose #24263 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:45 verbose #24264 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:45 verbose #24265 > │ ## upcast │
00:07:45 verbose #24266 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:45 verbose #24267 >
00:07:45 verbose #24268 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:45 verbose #24269 > inl upcast forall t u. (x : t) : u =
00:07:45 verbose #24270 > $'!x :> `u '
00:07:46 verbose #24271 > 00:07:45 debug #360 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dc495020006f5dddb01016c9b140b6d43bd5f9cba4c431a19a0368dbbe9edabf/main.spi
00:07:46 verbose #24272 >
00:07:46 verbose #24273 > ╭─[ 653.02ms - stdout ]────────────────────────────────────────────────────────╮
00:07:46 verbose #24274 > │ () │
00:07:46 verbose #24275 > │ │
00:07:46 verbose #24276 > │ │
00:07:46 verbose #24277 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:46 verbose #24278 >
00:07:46 verbose #24279 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:46 verbose #24280 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:46 verbose #24281 > │ ## downcast │
00:07:46 verbose #24282 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:46 verbose #24283 >
00:07:46 verbose #24284 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:46 verbose #24285 > inl downcast forall t u. (x : t) : u =
00:07:46 verbose #24286 > $'!x :?> `u '
00:07:46 verbose #24287 > 00:07:45 debug #361 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/116c0b05a62944094b6f42228a504d5e9c8b365a1e26b08eed0be62f52bf6b94/main.spi
00:07:46 verbose #24288 >
00:07:46 verbose #24289 > ╭─[ 620.56ms - stdout ]────────────────────────────────────────────────────────╮
00:07:46 verbose #24290 > │ () │
00:07:46 verbose #24291 > │ │
00:07:46 verbose #24292 > │ │
00:07:46 verbose #24293 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:46 verbose #24294 >
00:07:46 verbose #24295 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:46 verbose #24296 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:46 verbose #24297 > │ ## pair │
00:07:46 verbose #24298 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:46 verbose #24299 >
00:07:46 verbose #24300 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:46 verbose #24301 > //// test
00:07:46 verbose #24302 >
00:07:46 verbose #24303 > pair 1i32 2i32
00:07:46 verbose #24304 > |> _assert_eq (1, 2)
00:07:47 verbose #24305 > 00:07:46 debug #362 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2787ed2d341801eee60ea02e23c63d726fe3a74d4fae656a47aaf2e7319b075c/main.spi
00:07:47 verbose #24306 >
00:07:47 verbose #24307 > ╭─[ 679.28ms - stdout ]────────────────────────────────────────────────────────╮
00:07:47 verbose #24308 > │ let rec method0 () : unit = │
00:07:47 verbose #24309 > │ let v0 : string = "assert_eq" │
00:07:47 verbose #24310 > │ let v1 : string = $"{v0} / actual: %A{struct (1, 2)} / expected: │
00:07:47 verbose #24311 > │ %A{struct (1, 2)}" │
00:07:47 verbose #24312 > │ System.Console.WriteLine v1 │
00:07:47 verbose #24313 > │ () │
00:07:47 verbose #24314 > │ method0() │
00:07:47 verbose #24315 > │ │
00:07:47 verbose #24316 > │ assert_eq / actual: struct (1, 2) / expected: struct (1, 2) │
00:07:47 verbose #24317 > │ │
00:07:47 verbose #24318 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:47 verbose #24319 >
00:07:47 verbose #24320 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:47 verbose #24321 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:47 verbose #24322 > │ ## new_pair │
00:07:47 verbose #24323 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:47 verbose #24324 >
00:07:47 verbose #24325 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:47 verbose #24326 > inl new_pair forall a b. (a : a) (b : b) : pair a b =
00:07:47 verbose #24327 > $"!a, !b"
00:07:47 verbose #24328 > 00:07:46 debug #363 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dfb9e57104f3a2ee7bd1f2b341640e9ff44adf36c3fea65bd9b27e12a02a5ed4/main.spi
00:07:48 verbose #24329 >
00:07:48 verbose #24330 > ╭─[ 659.89ms - stdout ]────────────────────────────────────────────────────────╮
00:07:48 verbose #24331 > │ () │
00:07:48 verbose #24332 > │ │
00:07:48 verbose #24333 > │ │
00:07:48 verbose #24334 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:48 verbose #24335 >
00:07:48 verbose #24336 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:48 verbose #24337 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:48 verbose #24338 > │ ## from_pair │
00:07:48 verbose #24339 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:48 verbose #24340 >
00:07:48 verbose #24341 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:48 verbose #24342 > inl from_pair forall a b. (pair : pair a b) : a * b =
00:07:48 verbose #24343 > $"let (a, b) = !pair"
00:07:48 verbose #24344 > $"a", $"b"
00:07:48 verbose #24345 > 00:07:47 debug #364 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1494e4a2aa0e0e2bbe9c48596a7506007f6a0c7fbc777ba530108e63a758e274/main.spi
00:07:48 verbose #24346 >
00:07:48 verbose #24347 > ╭─[ 716.84ms - stdout ]────────────────────────────────────────────────────────╮
00:07:48 verbose #24348 > │ () │
00:07:48 verbose #24349 > │ │
00:07:48 verbose #24350 > │ │
00:07:48 verbose #24351 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:48 verbose #24352 >
00:07:48 verbose #24353 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:48 verbose #24354 > //// test
00:07:48 verbose #24355 >
00:07:48 verbose #24356 > new_pair "a" 1i32
00:07:48 verbose #24357 > |> from_pair
00:07:48 verbose #24358 > |> _assert_eq ("a", 1i32)
00:07:49 verbose #24359 > 00:07:48 debug #365 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/48d7c3fe119864196561a700969fbf4f747412939c8723cfd5a6c6c1d34d7fdc/main.spi
00:07:49 verbose #24360 >
00:07:49 verbose #24361 > ╭─[ 762.70ms - stdout ]────────────────────────────────────────────────────────╮
00:07:49 verbose #24362 > │ let rec method1 (v0 : bool) : bool = │
00:07:49 verbose #24363 > │ v0 │
00:07:49 verbose #24364 > │ and method0 () : unit = │
00:07:49 verbose #24365 > │ let v0 : string = "a" │
00:07:49 verbose #24366 > │ let v1 : (string * int32) = v0, 1 │
00:07:49 verbose #24367 > │ let (a, b) = v1 │
00:07:49 verbose #24368 > │ let v2 : string = a │
00:07:49 verbose #24369 > │ let v3 : int32 = b │
00:07:49 verbose #24370 > │ let v4 : bool = v2 = "a" │
00:07:49 verbose #24371 > │ let v6 : bool = │
00:07:49 verbose #24372 > │ if v4 then │
00:07:49 verbose #24373 > │ let v5 : bool = v3 = 1 │
00:07:49 verbose #24374 > │ v5 │
00:07:49 verbose #24375 > │ else │
00:07:49 verbose #24376 > │ false │
00:07:49 verbose #24377 > │ let v8 : bool = │
00:07:49 verbose #24378 > │ if v6 then │
00:07:49 verbose #24379 > │ true │
00:07:49 verbose #24380 > │ else │
00:07:49 verbose #24381 > │ method1(v6) │
00:07:49 verbose #24382 > │ let v9 : string = "assert_eq" │
00:07:49 verbose #24383 > │ let v10 : string = $"{v9} / actual: %A{struct (v2, v3)} / expected: │
00:07:49 verbose #24384 > │ %A{struct (v0, 1)}" │
00:07:49 verbose #24385 > │ System.Console.WriteLine v10 │
00:07:49 verbose #24386 > │ let v11 : bool = v8 = false │
00:07:49 verbose #24387 > │ if v11 then │
00:07:49 verbose #24388 > │ failwith<unit> v10 │
00:07:49 verbose #24389 > │ method0() │
00:07:49 verbose #24390 > │ │
00:07:49 verbose #24391 > │ assert_eq / actual: struct ("a", 1) / expected: struct ("a", 1) │
00:07:49 verbose #24392 > │ │
00:07:49 verbose #24393 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:49 verbose #24394 >
00:07:49 verbose #24395 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:49 verbose #24396 > //// test
00:07:49 verbose #24397 >
00:07:49 verbose #24398 > new_pair "a" (new_pair 1i32 "b")
00:07:49 verbose #24399 > |> from_pair
00:07:50 verbose #24400 > 00:07:49 debug #366 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a00e7127371c338d8ea7cad41a6593fef4b4e400308dc66efa692f30b2f5229d/main.spi
00:07:50 verbose #24401 >
00:07:50 verbose #24402 > ╭─[ 876.38ms - return value ]──────────────────────────────────────────────────╮
00:07:50 verbose #24403 > │ <details open="open" class="dni-treeview"><summary><span │
00:07:50 verbose #24404 > │ class="dni-code-hint"><code>(a, (1, │
00:07:50 verbose #24405 > │ b))</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
00:07:50 verbose #24406 > │ d>Item1</td><td><div │
00:07:50 verbose #24407 > │ class="dni-plaintext"><pre>a</pre></div></td></tr><tr><td>Item2</td><td><det │
00:07:50 verbose #24408 > │ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>(1, │
00:07:50 verbose #24409 > │ b)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
00:07:50 verbose #24410 > │ >Item1</td><td><div │
00:07:50 verbose #24411 > │ class="dni-plaintext"><pre>1</pre></div></td></tr><tr><td>Item2</td><td><div │
00:07:50 verbose #24412 > │ class="dni-plaintext"><pre>b</pre></div></td></tr></tbody></table></div></de │
00:07:50 verbose #24413 > │ tails></td></tr></tbody></table></div></details><style> │
00:07:50 verbose #24414 > │ .dni-code-hint { │
00:07:50 verbose #24415 > │ font-style: italic; │
00:07:50 verbose #24416 > │ overflow: hidden; │
00:07:50 verbose #24417 > │ white-space: nowrap; │
00:07:50 verbose #24418 > │ } │
00:07:50 verbose #24419 > │ .dni-treev... │
00:07:50 verbose #24420 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:50 verbose #24421 >
00:07:50 verbose #24422 > ╭─[ 887.28ms - stdout ]────────────────────────────────────────────────────────╮
00:07:50 verbose #24423 > │ let rec method0 () : struct (string * (int32 * string)) = │
00:07:50 verbose #24424 > │ let v0 : string = "b" │
00:07:50 verbose #24425 > │ let v1 : (int32 * string) = 1, v0 │
00:07:50 verbose #24426 > │ let v2 : string = "a" │
00:07:50 verbose #24427 > │ let v3 : (string * (int32 * string)) = v2, v1 │
00:07:50 verbose #24428 > │ let (a, b) = v3 │
00:07:50 verbose #24429 > │ let v4 : string = a │
00:07:50 verbose #24430 > │ let v5 : (int32 * string) = b │
00:07:50 verbose #24431 > │ struct (v4, v5) │
00:07:50 verbose #24432 > │ method0() │
00:07:50 verbose #24433 > │ │
00:07:50 verbose #24434 > │ │
00:07:50 verbose #24435 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:50 verbose #24436 >
00:07:50 verbose #24437 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:50 verbose #24438 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:50 verbose #24439 > │ ## memoize │
00:07:50 verbose #24440 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:50 verbose #24441 >
00:07:50 verbose #24442 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:50 verbose #24443 > nominal lazy t = $'Lazy<`t>'
00:07:50 verbose #24444 >
00:07:50 verbose #24445 > inl memoize forall t. (fn : () -> t) : () -> t =
00:07:50 verbose #24446 > inl fn = join fn
00:07:50 verbose #24447 > inl result : lazy t = $'lazy !fn ()'
00:07:50 verbose #24448 > fun () => $'!result.Value'
00:07:51 verbose #24449 > 00:07:50 debug #367 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c35f8dbe18a5b525d6217922b368dde060d7892f163f75a4da17a659ac36c04e/main.spi
00:07:51 verbose #24450 >
00:07:51 verbose #24451 > ╭─[ 624.41ms - stdout ]────────────────────────────────────────────────────────╮
00:07:51 verbose #24452 > │ () │
00:07:51 verbose #24453 > │ │
00:07:51 verbose #24454 > │ │
00:07:51 verbose #24455 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:51 verbose #24456 >
00:07:51 verbose #24457 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:51 verbose #24458 > //// test
00:07:51 verbose #24459 >
00:07:51 verbose #24460 > inl count = mut 0i32
00:07:51 verbose #24461 > inl add =
00:07:51 verbose #24462 > fun () => count <- *count + 1
00:07:51 verbose #24463 > |> memoize
00:07:51 verbose #24464 >
00:07:51 verbose #24465 > add ()
00:07:51 verbose #24466 > add ()
00:07:51 verbose #24467 > add ()
00:07:51 verbose #24468 >
00:07:51 verbose #24469 > *count
00:07:51 verbose #24470 > |> _assert_eq 1
00:07:51 verbose #24471 > 00:07:50 debug #368 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a90c2ee49ff0bd139a9dc4969da42a907241b2d39e397f38c15f05f68d973a51/main.spi
00:07:52 verbose #24472 >
00:07:52 verbose #24473 > ╭─[ 1.31s - stdout ]───────────────────────────────────────────────────────────╮
00:07:52 verbose #24474 > │ type Mut0 = {mutable l0 : int32} │
00:07:52 verbose #24475 > │ let rec closure0 (v0 : Mut0) () : unit = │
00:07:52 verbose #24476 > │ let v1 : int32 = v0.l0 │
00:07:52 verbose #24477 > │ let v2 : int32 = v1 + 1 │
00:07:52 verbose #24478 > │ v0.l0 <- v2 │
00:07:52 verbose #24479 > │ () │
00:07:52 verbose #24480 > │ and method1 (v0 : Mut0) : (unit -> unit) = │
00:07:52 verbose #24481 > │ closure0(v0) │
00:07:52 verbose #24482 > │ and method2 (v0 : bool) : bool = │
00:07:52 verbose #24483 > │ v0 │
00:07:52 verbose #24484 > │ and method0 () : unit = │
00:07:52 verbose #24485 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:07:52 verbose #24486 > │ let v1 : (unit -> unit) = method1(v0) │
00:07:52 verbose #24487 > │ let v2 : Lazy<unit> = lazy v1 () │
00:07:52 verbose #24488 > │ v2.Value │
00:07:52 verbose #24489 > │ v2.Value │
00:07:52 verbose #24490 > │ v2.Value │
00:07:52 verbose #24491 > │ let v3 : int32 = v0.l0 │
00:07:52 verbose #24492 > │ let v4 : bool = v3 = 1 │
00:07:52 verbose #24493 > │ let v6 : bool = │
00:07:52 verbose #24494 > │ if v4 then │
00:07:52 verbose #24495 > │ true │
00:07:52 verbose #24496 > │ else │
00:07:52 verbose #24497 > │ method2(v4) │
00:07:52 verbose #24498 > │ let v7 : string = "assert_eq" │
00:07:52 verbose #24499 > │ let v8 : string = $"{v7} / actual: %A{v3} / expected: %A{1}" │
00:07:52 verbose #24500 > │ System.Console.WriteLine v8 │
00:07:52 verbose #24501 > │ let v9 : bool = v6 = false │
00:07:52 verbose #24502 > │ if v9 then │
00:07:52 verbose #24503 > │ failwith<unit> v8 │
00:07:52 verbose #24504 > │ method0() │
00:07:52 verbose #24505 > │ │
00:07:52 verbose #24506 > │ assert_eq / actual: 1 / expected: 1 │
00:07:52 verbose #24507 > │ │
00:07:52 verbose #24508 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:52 verbose #24509 >
00:07:52 verbose #24510 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:52 verbose #24511 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:52 verbose #24512 > │ ## to_any │
00:07:52 verbose #24513 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:52 verbose #24514 >
00:07:52 verbose #24515 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:52 verbose #24516 > inl to_any forall t. (obj : t) : any =
00:07:52 verbose #24517 > $"!obj"
00:07:52 verbose #24518 >
00:07:52 verbose #24519 > instance (~:>) any = to_any
00:07:52 verbose #24520 > 00:07:51 debug #369 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/550f210346c08754722b17e03560997a62a6549d969ee72aeaca2f8eb7a0dba0/main.spi
00:07:53 verbose #24521 >
00:07:53 verbose #24522 > ╭─[ 701.99ms - stdout ]────────────────────────────────────────────────────────╮
00:07:53 verbose #24523 > │ () │
00:07:53 verbose #24524 > │ │
00:07:53 verbose #24525 > │ │
00:07:53 verbose #24526 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:53 verbose #24527 >
00:07:53 verbose #24528 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:53 verbose #24529 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:53 verbose #24530 > │ ## (||>) │
00:07:53 verbose #24531 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:53 verbose #24532 >
00:07:53 verbose #24533 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:53 verbose #24534 > //// test
00:07:53 verbose #24535 >
00:07:53 verbose #24536 > (3i32, 2i32)
00:07:53 verbose #24537 > ||> fun a b => a - b
00:07:53 verbose #24538 > |> _assert_eq 1
00:07:53 verbose #24539 > 00:07:52 debug #370 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dc92ac4809e7e91ec8340386e476788f869f70557c753713c11101ffa0ad814e/main.spi
00:07:53 verbose #24540 >
00:07:53 verbose #24541 > ╭─[ 724.79ms - stdout ]────────────────────────────────────────────────────────╮
00:07:53 verbose #24542 > │ let rec method0 () : unit = │
00:07:53 verbose #24543 > │ let v0 : string = "assert_eq" │
00:07:53 verbose #24544 > │ let v1 : string = $"{v0} / actual: %A{1} / expected: %A{1}" │
00:07:53 verbose #24545 > │ System.Console.WriteLine v1 │
00:07:53 verbose #24546 > │ () │
00:07:53 verbose #24547 > │ method0() │
00:07:53 verbose #24548 > │ │
00:07:53 verbose #24549 > │ assert_eq / actual: 1 / expected: 1 │
00:07:53 verbose #24550 > │ │
00:07:53 verbose #24551 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:53 verbose #24552 >
00:07:53 verbose #24553 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:53 verbose #24554 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:53 verbose #24555 > │ ## flip │
00:07:53 verbose #24556 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:53 verbose #24557 >
00:07:53 verbose #24558 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:53 verbose #24559 > inl flip fn a b =
00:07:53 verbose #24560 > fn b a
00:07:54 verbose #24561 > 00:07:53 debug #371 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/74c788446404be811bdce2405477d0c1c416facfe7de5b4cee36a45307a3043c/main.spi
00:07:54 verbose #24562 >
00:07:54 verbose #24563 > ╭─[ 662.91ms - stdout ]────────────────────────────────────────────────────────╮
00:07:54 verbose #24564 > │ () │
00:07:54 verbose #24565 > │ │
00:07:54 verbose #24566 > │ │
00:07:54 verbose #24567 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:54 verbose #24568 >
00:07:54 verbose #24569 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:54 verbose #24570 > //// test
00:07:54 verbose #24571 >
00:07:54 verbose #24572 > (1i32, 2i32)
00:07:54 verbose #24573 > ||> flip pair
00:07:54 verbose #24574 > |> _assert_eq (2, 1)
00:07:55 verbose #24575 > 00:07:54 debug #372 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dde73e54efd5b5ea6081237f23e6981d08502ee8541a0538d44455c67c7d38a3/main.spi
00:07:55 verbose #24576 >
00:07:55 verbose #24577 > ╭─[ 668.44ms - stdout ]────────────────────────────────────────────────────────╮
00:07:55 verbose #24578 > │ let rec method0 () : unit = │
00:07:55 verbose #24579 > │ let v0 : string = "assert_eq" │
00:07:55 verbose #24580 > │ let v1 : string = $"{v0} / actual: %A{struct (2, 1)} / expected: │
00:07:55 verbose #24581 > │ %A{struct (2, 1)}" │
00:07:55 verbose #24582 > │ System.Console.WriteLine v1 │
00:07:55 verbose #24583 > │ () │
00:07:55 verbose #24584 > │ method0() │
00:07:55 verbose #24585 > │ │
00:07:55 verbose #24586 > │ assert_eq / actual: struct (2, 1) / expected: struct (2, 1) │
00:07:55 verbose #24587 > │ │
00:07:55 verbose #24588 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:55 verbose #24589 >
00:07:55 verbose #24590 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:55 verbose #24591 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:55 verbose #24592 > │ ## join_body │
00:07:55 verbose #24593 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:55 verbose #24594 >
00:07:55 verbose #24595 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:55 verbose #24596 > inl join_body body acc x =
00:07:55 verbose #24597 > if var_is x |> not
00:07:55 verbose #24598 > then body acc x
00:07:55 verbose #24599 > else
00:07:55 verbose #24600 > inl acc = dyn acc
00:07:55 verbose #24601 > join body acc x
00:07:55 verbose #24602 > 00:07:54 debug #373 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09de9acac59337fe218f4cddbe27bb59ad81babfdafff1cbe06179dc6b80d6f4/main.spi
00:07:55 verbose #24603 >
00:07:55 verbose #24604 > ╭─[ 646.15ms - stdout ]────────────────────────────────────────────────────────╮
00:07:55 verbose #24605 > │ () │
00:07:55 verbose #24606 > │ │
00:07:55 verbose #24607 > │ │
00:07:55 verbose #24608 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:55 verbose #24609 >
00:07:55 verbose #24610 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:55 verbose #24611 > //// test
00:07:55 verbose #24612 >
00:07:55 verbose #24613 > inl rec fold_list f s = function
00:07:55 verbose #24614 > | Cons (x, x') => fold_list f (f s x) x'
00:07:55 verbose #24615 > | Nil => s
00:07:56 verbose #24616 > 00:07:55 debug #374 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d343c90acd5093eece13b20e34a826c5e48772bf15fd25770425676cf3d1e9fe/main.spi
00:07:56 verbose #24617 >
00:07:56 verbose #24618 > ╭─[ 602.25ms - stdout ]────────────────────────────────────────────────────────╮
00:07:56 verbose #24619 > │ () │
00:07:56 verbose #24620 > │ │
00:07:56 verbose #24621 > │ │
00:07:56 verbose #24622 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:56 verbose #24623 >
00:07:56 verbose #24624 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:56 verbose #24625 > //// test
00:07:56 verbose #24626 >
00:07:56 verbose #24627 > [[ 5i32; 4; join 3; 2; 1 ]]
00:07:56 verbose #24628 > |> fold_list (+) 0
00:07:56 verbose #24629 > |> _assert_eq 15
00:07:57 verbose #24630 > 00:07:56 debug #375 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ff605a04251a5e7bc87c0c1493b7c674fb14423d08cc5ef4901a845844333d5/main.spi
00:07:57 verbose #24631 >
00:07:57 verbose #24632 > ╭─[ 674.51ms - stdout ]────────────────────────────────────────────────────────╮
00:07:57 verbose #24633 > │ let rec method1 () : int32 = │
00:07:57 verbose #24634 > │ 3 │
00:07:57 verbose #24635 > │ and method2 (v0 : bool) : bool = │
00:07:57 verbose #24636 > │ v0 │
00:07:57 verbose #24637 > │ and method0 () : unit = │
00:07:57 verbose #24638 > │ let v0 : int32 = method1() │
00:07:57 verbose #24639 > │ let v1 : int32 = 9 + v0 │
00:07:57 verbose #24640 > │ let v2 : int32 = v1 + 2 │
00:07:57 verbose #24641 > │ let v3 : int32 = v2 + 1 │
00:07:57 verbose #24642 > │ let v4 : bool = v3 = 15 │
00:07:57 verbose #24643 > │ let v6 : bool = │
00:07:57 verbose #24644 > │ if v4 then │
00:07:57 verbose #24645 > │ true │
00:07:57 verbose #24646 > │ else │
00:07:57 verbose #24647 > │ method2(v4) │
00:07:57 verbose #24648 > │ let v7 : string = "assert_eq" │
00:07:57 verbose #24649 > │ let v8 : string = $"{v7} / actual: %A{v3} / expected: %A{15}" │
00:07:57 verbose #24650 > │ System.Console.WriteLine v8 │
00:07:57 verbose #24651 > │ let v9 : bool = v6 = false │
00:07:57 verbose #24652 > │ if v9 then │
00:07:57 verbose #24653 > │ failwith<unit> v8 │
00:07:57 verbose #24654 > │ method0() │
00:07:57 verbose #24655 > │ │
00:07:57 verbose #24656 > │ assert_eq / actual: 15 / expected: 15 │
00:07:57 verbose #24657 > │ │
00:07:57 verbose #24658 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:57 verbose #24659 >
00:07:57 verbose #24660 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:57 verbose #24661 > //// test
00:07:57 verbose #24662 >
00:07:57 verbose #24663 > [[ 5i32; 4; join 3; 2; 1 ]]
00:07:57 verbose #24664 > |> fold_list (join_body (+)) 0
00:07:57 verbose #24665 > |> _assert_eq 15
00:07:57 verbose #24666 > 00:07:56 debug #376 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0df8d87fe07c546cd2f24af1f21e78dee49e8dc13c4d7f50162149f4038badf6/main.spi
00:07:57 verbose #24667 >
00:07:57 verbose #24668 > ╭─[ 700.61ms - stdout ]────────────────────────────────────────────────────────╮
00:07:57 verbose #24669 > │ let rec method1 () : int32 = │
00:07:57 verbose #24670 > │ 3 │
00:07:57 verbose #24671 > │ and method2 (v0 : int32, v1 : int32) : int32 = │
00:07:57 verbose #24672 > │ let v2 : int32 = v1 + v0 │
00:07:57 verbose #24673 > │ v2 │
00:07:57 verbose #24674 > │ and method3 (v0 : bool) : bool = │
00:07:57 verbose #24675 > │ v0 │
00:07:57 verbose #24676 > │ and method0 () : unit = │
00:07:57 verbose #24677 > │ let v0 : int32 = method1() │
00:07:57 verbose #24678 > │ let v1 : int32 = 9 │
00:07:57 verbose #24679 > │ let v2 : int32 = method2(v0, v1) │
00:07:57 verbose #24680 > │ let v3 : int32 = v2 + 2 │
00:07:57 verbose #24681 > │ let v4 : int32 = v3 + 1 │
00:07:57 verbose #24682 > │ let v5 : bool = v4 = 15 │
00:07:57 verbose #24683 > │ let v7 : bool = │
00:07:57 verbose #24684 > │ if v5 then │
00:07:57 verbose #24685 > │ true │
00:07:57 verbose #24686 > │ else │
00:07:57 verbose #24687 > │ method3(v5) │
00:07:57 verbose #24688 > │ let v8 : string = "assert_eq" │
00:07:57 verbose #24689 > │ let v9 : string = $"{v8} / actual: %A{v4} / expected: %A{15}" │
00:07:57 verbose #24690 > │ System.Console.WriteLine v9 │
00:07:57 verbose #24691 > │ let v10 : bool = v7 = false │
00:07:57 verbose #24692 > │ if v10 then │
00:07:57 verbose #24693 > │ failwith<unit> v9 │
00:07:57 verbose #24694 > │ method0() │
00:07:57 verbose #24695 > │ │
00:07:57 verbose #24696 > │ assert_eq / actual: 15 / expected: 15 │
00:07:57 verbose #24697 > │ │
00:07:57 verbose #24698 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:57 verbose #24699 >
00:07:57 verbose #24700 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:57 verbose #24701 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:57 verbose #24702 > │ ## join_body_unit │
00:07:57 verbose #24703 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:57 verbose #24704 >
00:07:57 verbose #24705 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:57 verbose #24706 > inl join_body_unit body d x =
00:07:57 verbose #24707 > if var_is d |> not
00:07:57 verbose #24708 > then body x
00:07:57 verbose #24709 > else
00:07:57 verbose #24710 > inl x = dyn x
00:07:57 verbose #24711 > join body x
00:07:58 verbose #24712 > 00:07:57 debug #377 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/95fb0a41a850435629b8f7d4c38fc4c5617cd7de9a35abc912bfde918b5990ed/main.spi
00:07:58 verbose #24713 >
00:07:58 verbose #24714 > ╭─[ 620.57ms - stdout ]────────────────────────────────────────────────────────╮
00:07:58 verbose #24715 > │ () │
00:07:58 verbose #24716 > │ │
00:07:58 verbose #24717 > │ │
00:07:58 verbose #24718 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:58 verbose #24719 >
00:07:58 verbose #24720 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:58 verbose #24721 > //// test
00:07:58 verbose #24722 >
00:07:58 verbose #24723 > [[ 5i32; 4; join 3; 2; 1 ]]
00:07:58 verbose #24724 > |> fold_list (fun acc n => join_body_unit ((+) acc) n n) 0
00:07:58 verbose #24725 > |> _assert_eq 15
00:07:59 verbose #24726 > 00:07:58 debug #378 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b65b3a42f95e27bb9c1868b49a1847eeb39016da288f6f0140c71238efc35c8a/main.spi
00:07:59 verbose #24727 >
00:07:59 verbose #24728 > ╭─[ 681.57ms - stdout ]────────────────────────────────────────────────────────╮
00:07:59 verbose #24729 > │ let rec method1 () : int32 = │
00:07:59 verbose #24730 > │ 3 │
00:07:59 verbose #24731 > │ and method2 (v0 : int32) : int32 = │
00:07:59 verbose #24732 > │ let v1 : int32 = 9 + v0 │
00:07:59 verbose #24733 > │ v1 │
00:07:59 verbose #24734 > │ and method3 (v0 : bool) : bool = │
00:07:59 verbose #24735 > │ v0 │
00:07:59 verbose #24736 > │ and method0 () : unit = │
00:07:59 verbose #24737 > │ let v0 : int32 = method1() │
00:07:59 verbose #24738 > │ let v1 : int32 = method2(v0) │
00:07:59 verbose #24739 > │ let v2 : int32 = v1 + 2 │
00:07:59 verbose #24740 > │ let v3 : int32 = v2 + 1 │
00:07:59 verbose #24741 > │ let v4 : bool = v3 = 15 │
00:07:59 verbose #24742 > │ let v6 : bool = │
00:07:59 verbose #24743 > │ if v4 then │
00:07:59 verbose #24744 > │ true │
00:07:59 verbose #24745 > │ else │
00:07:59 verbose #24746 > │ method3(v4) │
00:07:59 verbose #24747 > │ let v7 : string = "assert_eq" │
00:07:59 verbose #24748 > │ let v8 : string = $"{v7} / actual: %A{v3} / expected: %A{15}" │
00:07:59 verbose #24749 > │ System.Console.WriteLine v8 │
00:07:59 verbose #24750 > │ let v9 : bool = v6 = false │
00:07:59 verbose #24751 > │ if v9 then │
00:07:59 verbose #24752 > │ failwith<unit> v8 │
00:07:59 verbose #24753 > │ method0() │
00:07:59 verbose #24754 > │ │
00:07:59 verbose #24755 > │ assert_eq / actual: 15 / expected: 15 │
00:07:59 verbose #24756 > │ │
00:07:59 verbose #24757 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:59 verbose #24758 >
00:07:59 verbose #24759 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:59 verbose #24760 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:59 verbose #24761 > │ ## nameof │
00:07:59 verbose #24762 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:59 verbose #24763 >
00:07:59 verbose #24764 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:59 verbose #24765 > inl nameof x : string =
00:07:59 verbose #24766 > $"nameof !x"
00:07:59 verbose #24767 > 00:07:58 debug #379 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/01fb819894ac7e752589cdae7461a41656b814511c3259dcb991ab6cbc341c14/main.spi
00:07:59 verbose #24768 >
00:07:59 verbose #24769 > ╭─[ 661.20ms - stdout ]────────────────────────────────────────────────────────╮
00:07:59 verbose #24770 > │ () │
00:07:59 verbose #24771 > │ │
00:07:59 verbose #24772 > │ │
00:07:59 verbose #24773 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:59 verbose #24774 >
00:07:59 verbose #24775 > ── markdown ────────────────────────────────────────────────────────────────────
00:07:59 verbose #24776 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:07:59 verbose #24777 > │ ## get_environment_variable │
00:07:59 verbose #24778 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:07:59 verbose #24779 >
00:07:59 verbose #24780 > ── spiral ──────────────────────────────────────────────────────────────────────
00:07:59 verbose #24781 > inl get_environment_variable (var : string) : string =
00:07:59 verbose #24782 > $"System.Environment.GetEnvironmentVariable !var"
00:08:00 verbose #24783 > 00:07:59 debug #380 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ba166b916029f7534bed9f6c64d13ff57d442099cdc38bbc55cc811f6632be7c/main.spi
00:08:00 verbose #24784 >
00:08:00 verbose #24785 > ╭─[ 746.24ms - stdout ]────────────────────────────────────────────────────────╮
00:08:00 verbose #24786 > │ () │
00:08:00 verbose #24787 > │ │
00:08:00 verbose #24788 > │ │
00:08:00 verbose #24789 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:00 verbose #24790 >
00:08:00 verbose #24791 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:00 verbose #24792 > //// test
00:08:00 verbose #24793 >
00:08:00 verbose #24794 > fun () => failwith "test"
00:08:00 verbose #24795 > |> _throws
00:08:00 verbose #24796 > |> optionm.map sm'.format_exception
00:08:00 verbose #24797 > |> _assert_eq (Some "System.Exception: test")
00:08:01 verbose #24798 > 00:08:00 debug #381 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/322d668c8163aadc8e3893b21c18b7bbfc3d39bbb16016417dfb86c063334179/main.spi
00:08:01 verbose #24799 >
00:08:01 verbose #24800 > ╭─[ 1.14s - stdout ]───────────────────────────────────────────────────────────╮
00:08:01 verbose #24801 > │ type [<Struct>] US0 = │
00:08:01 verbose #24802 > │ | US0_0 of f0_0 : exn │
00:08:01 verbose #24803 > │ | US0_1 │
00:08:01 verbose #24804 > │ and [<Struct>] US1 = │
00:08:01 verbose #24805 > │ | US1_0 of f0_0 : string │
00:08:01 verbose #24806 > │ | US1_1 │
00:08:01 verbose #24807 > │ let rec closure0 () () : unit = │
00:08:01 verbose #24808 > │ failwith<unit> "test" │
00:08:01 verbose #24809 > │ and closure1 () (v0 : exn) : US0 = │
00:08:01 verbose #24810 > │ US0_0(v0) │
00:08:01 verbose #24811 > │ and method1 (v0 : bool) : bool = │
00:08:01 verbose #24812 > │ v0 │
00:08:01 verbose #24813 > │ and method0 () : unit = │
00:08:01 verbose #24814 > │ let v0 : (unit -> unit) = closure0() │
00:08:01 verbose #24815 > │ let v1 : US0 = US0_1 │
00:08:01 verbose #24816 > │ let v2 : (exn -> US0) = closure1() │
00:08:01 verbose #24817 > │ let v3 : US0 = try v0 (); v1 with ex -> ex |> v2 │
00:08:01 verbose #24818 > │ let v17 : US1 = │
00:08:01 verbose #24819 > │ match v3 with │
00:08:01 verbose #24820 > │ | US0_1 -> (* None *) │
00:08:01 verbose #24821 > │ US1_1 │
00:08:01 verbose #24822 > │ | US0_0(v4) -> (* Some *) │
00:08:01 verbose #24823 > │ let v5 : string option = None │
00:08:01 verbose #24824 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:08:01 verbose #24825 > │ │
00:08:01 verbose #24826 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:01 verbose #24827 > │ │
00:08:01 verbose #24828 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:01 verbose #24829 > │ let v7 : string = $"%A{v4}" │
00:08:01 verbose #24830 > │ v7 │
00:08:01 verbose #24831 > │ #endif │
00:08:01 verbose #24832 > │ │
00:08:01 verbose #24833 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:01 verbose #24834 > │ let v8 : string = $"%A{v4}" │
00:08:01 verbose #24835 > │ v8 │
00:08:01 verbose #24836 > │ #endif │
00:08:01 verbose #24837 > │ │
00:08:01 verbose #24838 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:01 verbose #24839 > │ let v9 : string = $"%A{v4}" │
00:08:01 verbose #24840 > │ v9 │
00:08:01 verbose #24841 > │ #endif │
00:08:01 verbose #24842 > │ │
00:08:01 verbose #24843 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:01 verbose #24844 > │ let v10 : string = $"%A{v4}" │
00:08:01 verbose #24845 > │ v10 │
00:08:01 verbose #24846 > │ #endif │
00:08:01 verbose #24847 > │ │
00:08:01 verbose #24848 > │ #if FABLE_COMPILER_PYTHON │
00:08:01 verbose #24849 > │ let v11 : string = $"%A{v4}" │
00:08:01 verbose #24850 > │ v11 │
00:08:01 verbose #24851 > │ #endif │
00:08:01 verbose #24852 > │ │
00:08:01 verbose #24853 > │ #else │
00:08:01 verbose #24854 > │ let v12 : string = $"{v4.GetType ()}: {v4.Message}" │
00:08:01 verbose #24855 > │ v12 │
00:08:01 verbose #24856 > │ #endif │
00:08:01 verbose #24857 > │ |> fun x -> _v5 <- Some x │
00:08:01 verbose #24858 > │ let v13 : string = _v5.Value │
00:08:01 verbose #24859 > │ US1_0(v13) │
00:08:01 verbose #24860 > │ let v22 : bool = │
00:08:01 verbose #24861 > │ match v17 with │
00:08:01 verbose #24862 > │ | US1_0(v20) -> (* Some *) │
00:08:01 verbose #24863 > │ let v21 : bool = v20 = "System.Exception: test" │
00:08:01 verbose #24864 > │ v21 │
00:08:01 verbose #24865 > │ | _ -> │
00:08:01 verbose #24866 > │ false │
00:08:01 verbose #24867 > │ let v24 : bool = │
00:08:01 verbose #24868 > │ if v22 then │
00:08:01 verbose #24869 > │ true │
00:08:01 verbose #24870 > │ else │
00:08:01 verbose #24871 > │ method1(v22) │
00:08:01 verbose #24872 > │ let v25 : string = "assert_eq" │
00:08:01 verbose #24873 > │ let v26 : string = "System.Exception: test" │
00:08:01 verbose #24874 > │ let v27 : US1 = US1_0(v26) │
00:08:01 verbose #24875 > │ let v28 : string = $"{v25} / actual: %A{v17} / expected: %A{v27}" │
00:08:01 verbose #24876 > │ System.Console.WriteLine v28 │
00:08:01 verbose #24877 > │ let v29 : bool = v24 = false │
00:08:01 verbose #24878 > │ if v29 then │
00:08:01 verbose #24879 > │ failwith<unit> v28 │
00:08:01 verbose #24880 > │ method0() │
00:08:01 verbose #24881 > │ │
00:08:01 verbose #24882 > │ assert_eq / actual: US1_0 "System.Exception: test" / expected: US1_0 │
00:08:01 verbose #24883 > │ "System.Exception: test" │
00:08:01 verbose #24884 > │ │
00:08:01 verbose #24885 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:01 verbose #24886 >
00:08:01 verbose #24887 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:01 verbose #24888 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:01 verbose #24889 > │ ## disposable │
00:08:01 verbose #24890 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:01 verbose #24891 >
00:08:01 verbose #24892 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:01 verbose #24893 > nominal disposable t = $"System.IDisposable"
00:08:02 verbose #24894 > 00:08:01 debug #382 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ce6d8ce678d92763bfaa4971f6ec6ce16538ba0f58134eec864391459723e8e/main.spi
00:08:02 verbose #24895 >
00:08:02 verbose #24896 > ╭─[ 782.38ms - stdout ]────────────────────────────────────────────────────────╮
00:08:02 verbose #24897 > │ () │
00:08:02 verbose #24898 > │ │
00:08:02 verbose #24899 > │ │
00:08:02 verbose #24900 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:02 verbose #24901 >
00:08:02 verbose #24902 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:02 verbose #24903 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:02 verbose #24904 > │ ## dispose │
00:08:02 verbose #24905 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:02 verbose #24906 >
00:08:02 verbose #24907 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:02 verbose #24908 > inl dispose (disposable : disposable _) : () =
00:08:02 verbose #24909 > disposable |> $'_.Dispose()'
00:08:03 verbose #24910 > 00:08:02 debug #383 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/10cc4e6d796cfa5c484f2b24c1865015a05089ce7c91baccd8b351f21157eed8/main.spi
00:08:03 verbose #24911 >
00:08:03 verbose #24912 > ╭─[ 644.76ms - stdout ]────────────────────────────────────────────────────────╮
00:08:03 verbose #24913 > │ () │
00:08:03 verbose #24914 > │ │
00:08:03 verbose #24915 > │ │
00:08:03 verbose #24916 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:03 verbose #24917 >
00:08:03 verbose #24918 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:03 verbose #24919 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:03 verbose #24920 > │ ## new_disposable │
00:08:03 verbose #24921 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:03 verbose #24922 >
00:08:03 verbose #24923 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:03 verbose #24924 > inl new_disposable (fn : () -> ()) : disposable _ =
00:08:03 verbose #24925 > run_target function
00:08:03 verbose #24926 > | Rust _ => fun () =>
00:08:03 verbose #24927 > global "type Disposable (f : unit -> unit) = interface
00:08:03 verbose #24928 > System.IDisposable with member _.Dispose () = f ()"
00:08:03 verbose #24929 > $'new Disposable (fun () -> Fable.Core.RustInterop.emitRustExpr !fn
00:08:03 verbose #24930 > "$0()" )'
00:08:03 verbose #24931 > | Fsharp _ => fun () =>
00:08:03 verbose #24932 > inl fn = join fn
00:08:03 verbose #24933 > $'{ new System.IDisposable with member _.Dispose () = !fn () }'
00:08:03 verbose #24934 > | _ => fun () => null ()
00:08:03 verbose #24935 > 00:08:02 debug #384 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fd45d7d6d5aa5497c9a309dd396a0bff9b58d1aa51f19c8d9cf8b3d99892d97c/main.spi
00:08:03 verbose #24936 >
00:08:03 verbose #24937 > ╭─[ 625.35ms - stdout ]────────────────────────────────────────────────────────╮
00:08:03 verbose #24938 > │ () │
00:08:03 verbose #24939 > │ │
00:08:03 verbose #24940 > │ │
00:08:03 verbose #24941 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:03 verbose #24942 >
00:08:03 verbose #24943 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:03 verbose #24944 > //// test
00:08:03 verbose #24945 >
00:08:03 verbose #24946 > inl new_disposable_test = mut 0i32
00:08:03 verbose #24947 > new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:08:03 verbose #24948 > |> fun x => x : disposable ()
00:08:03 verbose #24949 > |> dispose
00:08:03 verbose #24950 > *new_disposable_test |> _assert_eq 1
00:08:04 verbose #24951 > 00:08:03 debug #385 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2de2dae285cc8ee67f2e593a147776358b904e9e523652dab9888fd4fe5c6fe6/main.spi
00:08:04 verbose #24952 >
00:08:04 verbose #24953 > ╭─[ 743.16ms - stdout ]────────────────────────────────────────────────────────╮
00:08:04 verbose #24954 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:08:04 verbose #24955 > │ member _.Dispose () = f () │
00:08:04 verbose #24956 > │ type Mut0 = {mutable l0 : int32} │
00:08:04 verbose #24957 > │ let rec closure0 (v0 : Mut0) () : unit = │
00:08:04 verbose #24958 > │ let v1 : int32 = v0.l0 │
00:08:04 verbose #24959 > │ let v2 : int32 = v1 + 1 │
00:08:04 verbose #24960 > │ v0.l0 <- v2 │
00:08:04 verbose #24961 > │ () │
00:08:04 verbose #24962 > │ and method1 (v0 : Mut0) : (unit -> unit) = │
00:08:04 verbose #24963 > │ closure0(v0) │
00:08:04 verbose #24964 > │ and method2 (v0 : bool) : bool = │
00:08:04 verbose #24965 > │ v0 │
00:08:04 verbose #24966 > │ and method0 () : unit = │
00:08:04 verbose #24967 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:08:04 verbose #24968 > │ let v1 : System.IDisposable option = None │
00:08:04 verbose #24969 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:08:04 verbose #24970 > │ │
00:08:04 verbose #24971 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:04 verbose #24972 > │ │
00:08:04 verbose #24973 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:04 verbose #24974 > │ let v3 : (unit -> unit) = closure0(v0) │
00:08:04 verbose #24975 > │ let v4 : System.IDisposable = new Disposable (fun () -> │
00:08:04 verbose #24976 > │ Fable.Core.RustInterop.emitRustExpr v3 "$0()" ) │
00:08:04 verbose #24977 > │ v4 │
00:08:04 verbose #24978 > │ #endif │
00:08:04 verbose #24979 > │ │
00:08:04 verbose #24980 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:04 verbose #24981 > │ let v5 : System.IDisposable = new Disposable (fun () -> │
00:08:04 verbose #24982 > │ Fable.Core.RustInterop.emitRustExpr v3 "$0()" ) │
00:08:04 verbose #24983 > │ v5 │
00:08:04 verbose #24984 > │ #endif │
00:08:04 verbose #24985 > │ │
00:08:04 verbose #24986 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:04 verbose #24987 > │ let v6 : System.IDisposable = new Disposable (fun () -> │
00:08:04 verbose #24988 > │ Fable.Core.RustInterop.emitRustExpr v3 "$0()" ) │
00:08:04 verbose #24989 > │ v6 │
00:08:04 verbose #24990 > │ #endif │
00:08:04 verbose #24991 > │ │
00:08:04 verbose #24992 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:04 verbose #24993 > │ let v7 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:04 verbose #24994 > │ v7 │
00:08:04 verbose #24995 > │ #endif │
00:08:04 verbose #24996 > │ │
00:08:04 verbose #24997 > │ #if FABLE_COMPILER_PYTHON │
00:08:04 verbose #24998 > │ let v8 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:04 verbose #24999 > │ v8 │
00:08:04 verbose #25000 > │ #endif │
00:08:04 verbose #25001 > │ │
00:08:04 verbose #25002 > │ #else │
00:08:04 verbose #25003 > │ let v9 : (unit -> unit) = method1(v0) │
00:08:04 verbose #25004 > │ let v10 : System.IDisposable = { new System.IDisposable with member │
00:08:04 verbose #25005 > │ _.Dispose () = v9 () } │
00:08:04 verbose #25006 > │ v10 │
00:08:04 verbose #25007 > │ #endif │
00:08:04 verbose #25008 > │ |> fun x -> _v1 <- Some x │
00:08:04 verbose #25009 > │ let v11 : System.IDisposable = _v1.Value │
00:08:04 verbose #25010 > │ let v12 : (System.IDisposable -> unit) = _.Dispose() │
00:08:04 verbose #25011 > │ v12 v11 │
00:08:04 verbose #25012 > │ let v13 : int32 = v0.l0 │
00:08:04 verbose #25013 > │ let v14 : bool = v13 = 1 │
00:08:04 verbose #25014 > │ let v16 : bool = │
00:08:04 verbose #25015 > │ if v14 then │
00:08:04 verbose #25016 > │ true │
00:08:04 verbose #25017 > │ else │
00:08:04 verbose #25018 > │ method2(v14) │
00:08:04 verbose #25019 > │ let v17 : string = "assert_eq" │
00:08:04 verbose #25020 > │ let v18 : string = $"{v17} / actual: %A{v13} / expected: %A{1}" │
00:08:04 verbose #25021 > │ System.Console.WriteLine v18 │
00:08:04 verbose #25022 > │ let v19 : bool = v16 = false │
00:08:04 verbose #25023 > │ if v19 then │
00:08:04 verbose #25024 > │ failwith<unit> v18 │
00:08:04 verbose #25025 > │ method0() │
00:08:04 verbose #25026 > │ │
00:08:04 verbose #25027 > │ assert_eq / actual: 1 / expected: 1 │
00:08:04 verbose #25028 > │ │
00:08:04 verbose #25029 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:04 verbose #25030 >
00:08:04 verbose #25031 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:04 verbose #25032 > //// test
00:08:04 verbose #25033 > //// print_code=false
00:08:04 verbose #25034 > ///! rust
00:08:04 verbose #25035 >
00:08:04 verbose #25036 > ///! rust
00:08:04 verbose #25037 >
00:08:04 verbose #25038 > inl new_disposable_test = mut 0i32
00:08:04 verbose #25039 > new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:08:04 verbose #25040 > |> fun x => x : disposable ()
00:08:04 verbose #25041 > |> dispose
00:08:04 verbose #25042 > *new_disposable_test |> _assert_eq 1
00:08:05 verbose #25043 > 00:08:04 debug #386 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/eed16f1ac8c1da2d8b1e5a4d574099bd6864a17aaabd89e5ff2a2e1ae04e383e/main.spi
00:08:14 verbose #25044 >
00:08:14 verbose #25045 > ╭─[ 9.97s - return value ]─────────────────────────────────────────────────────╮
00:08:14 verbose #25046 > │ assert_eq / actual: 1 / expected: 1 │
00:08:14 verbose #25047 > │ │
00:08:14 verbose #25048 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:14 verbose #25049 >
00:08:14 verbose #25050 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:14 verbose #25051 > //// test
00:08:14 verbose #25052 >
00:08:14 verbose #25053 > inl new_disposable_test = mut 0i32
00:08:14 verbose #25054 > fun () =>
00:08:14 verbose #25055 > new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:08:14 verbose #25056 > |> fun x => x : disposable ()
00:08:14 verbose #25057 > |> use
00:08:14 verbose #25058 > |> ignore
00:08:14 verbose #25059 > |> return
00:08:14 verbose #25060 > |> async.new_task
00:08:14 verbose #25061 > |> async.await_task
00:08:14 verbose #25062 > |> async.run_synchronously
00:08:14 verbose #25063 > *new_disposable_test |> _assert_eq 1
00:08:15 verbose #25064 > 00:08:14 debug #387 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6cf201880ad84c5e5ea09ace878c13f47ee8d637ecfa185e8de832d6a24cb5fd/main.spi
00:08:15 verbose #25065 >
00:08:15 verbose #25066 > ╭─[ 791.32ms - stdout ]────────────────────────────────────────────────────────╮
00:08:15 verbose #25067 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:08:15 verbose #25068 > │ member _.Dispose () = f () │
00:08:15 verbose #25069 > │ type Mut0 = {mutable l0 : int32} │
00:08:15 verbose #25070 > │ let rec closure0 (v0 : Mut0) () : unit = │
00:08:15 verbose #25071 > │ let v1 : int32 = v0.l0 │
00:08:15 verbose #25072 > │ let v2 : int32 = v1 + 1 │
00:08:15 verbose #25073 > │ v0.l0 <- v2 │
00:08:15 verbose #25074 > │ () │
00:08:15 verbose #25075 > │ and method1 (v0 : Mut0) : (unit -> unit) = │
00:08:15 verbose #25076 > │ closure0(v0) │
00:08:15 verbose #25077 > │ and method2 (v0 : bool) : bool = │
00:08:15 verbose #25078 > │ v0 │
00:08:15 verbose #25079 > │ and method0 () : unit = │
00:08:15 verbose #25080 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:08:15 verbose #25081 > │ let v1 : System.Threading.Tasks.Task option = None │
00:08:15 verbose #25082 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:08:15 verbose #25083 > │ │
00:08:15 verbose #25084 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:15 verbose #25085 > │ │
00:08:15 verbose #25086 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:15 verbose #25087 > │ let v3 : System.Threading.Tasks.Task = null |> │
00:08:15 verbose #25088 > │ unbox<System.Threading.Tasks.Task> │
00:08:15 verbose #25089 > │ v3 │
00:08:15 verbose #25090 > │ #endif │
00:08:15 verbose #25091 > │ │
00:08:15 verbose #25092 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:15 verbose #25093 > │ let v4 : System.Threading.Tasks.Task = null |> │
00:08:15 verbose #25094 > │ unbox<System.Threading.Tasks.Task> │
00:08:15 verbose #25095 > │ v4 │
00:08:15 verbose #25096 > │ #endif │
00:08:15 verbose #25097 > │ │
00:08:15 verbose #25098 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:15 verbose #25099 > │ let v5 : System.Threading.Tasks.Task = null |> │
00:08:15 verbose #25100 > │ unbox<System.Threading.Tasks.Task> │
00:08:15 verbose #25101 > │ v5 │
00:08:15 verbose #25102 > │ #endif │
00:08:15 verbose #25103 > │ │
00:08:15 verbose #25104 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:15 verbose #25105 > │ let v6 : System.Threading.Tasks.Task = null |> │
00:08:15 verbose #25106 > │ unbox<System.Threading.Tasks.Task> │
00:08:15 verbose #25107 > │ v6 │
00:08:15 verbose #25108 > │ #endif │
00:08:15 verbose #25109 > │ │
00:08:15 verbose #25110 > │ #if FABLE_COMPILER_PYTHON │
00:08:15 verbose #25111 > │ let v7 : System.Threading.Tasks.Task = null |> │
00:08:15 verbose #25112 > │ unbox<System.Threading.Tasks.Task> │
00:08:15 verbose #25113 > │ v7 │
00:08:15 verbose #25114 > │ #endif │
00:08:15 verbose #25115 > │ │
00:08:15 verbose #25116 > │ #else │
00:08:15 verbose #25117 > │ let v8 : System.Threading.Tasks.Task option = None │
00:08:15 verbose #25118 > │ let mutable _v8 = v8 │
00:08:15 verbose #25119 > │ task { │
00:08:15 verbose #25120 > │ let v9 : System.IDisposable option = None │
00:08:15 verbose #25121 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:08:15 verbose #25122 > │ │
00:08:15 verbose #25123 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:15 verbose #25124 > │ │
00:08:15 verbose #25125 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:15 verbose #25126 > │ let v11 : (unit -> unit) = closure0(v0) │
00:08:15 verbose #25127 > │ let v12 : System.IDisposable = new Disposable (fun () -> │
00:08:15 verbose #25128 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:15 verbose #25129 > │ v12 │
00:08:15 verbose #25130 > │ #endif │
00:08:15 verbose #25131 > │ │
00:08:15 verbose #25132 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:15 verbose #25133 > │ let v13 : System.IDisposable = new Disposable (fun () -> │
00:08:15 verbose #25134 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:15 verbose #25135 > │ v13 │
00:08:15 verbose #25136 > │ #endif │
00:08:15 verbose #25137 > │ │
00:08:15 verbose #25138 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:15 verbose #25139 > │ let v14 : System.IDisposable = new Disposable (fun () -> │
00:08:15 verbose #25140 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:15 verbose #25141 > │ v14 │
00:08:15 verbose #25142 > │ #endif │
00:08:15 verbose #25143 > │ │
00:08:15 verbose #25144 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:15 verbose #25145 > │ let v15 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:15 verbose #25146 > │ v15 │
00:08:15 verbose #25147 > │ #endif │
00:08:15 verbose #25148 > │ │
00:08:15 verbose #25149 > │ #if FABLE_COMPILER_PYTHON │
00:08:15 verbose #25150 > │ let v16 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:15 verbose #25151 > │ v16 │
00:08:15 verbose #25152 > │ #endif │
00:08:15 verbose #25153 > │ │
00:08:15 verbose #25154 > │ #else │
00:08:15 verbose #25155 > │ let v17 : (unit -> unit) = method1(v0) │
00:08:15 verbose #25156 > │ let v18 : System.IDisposable = { new System.IDisposable with member │
00:08:15 verbose #25157 > │ _.Dispose () = v17 () } │
00:08:15 verbose #25158 > │ v18 │
00:08:15 verbose #25159 > │ #endif │
00:08:15 verbose #25160 > │ |> fun x -> _v9 <- Some x │
00:08:15 verbose #25161 > │ let v19 : System.IDisposable = _v9.Value │
00:08:15 verbose #25162 > │ use v19 = v19 │
00:08:15 verbose #25163 > │ let v20 : System.IDisposable = v19 │
00:08:15 verbose #25164 > │ return () │
00:08:15 verbose #25165 > │ } │
00:08:15 verbose #25166 > │ |> fun x -> _v8 <- Some x │
00:08:15 verbose #25167 > │ let v21 : System.Threading.Tasks.Task = _v8 |> Option.get │
00:08:15 verbose #25168 > │ v21 │
00:08:15 verbose #25169 > │ #endif │
00:08:15 verbose #25170 > │ |> fun x -> _v1 <- Some x │
00:08:15 verbose #25171 > │ let v22 : System.Threading.Tasks.Task = _v1.Value │
00:08:15 verbose #25172 > │ let v23 : Async<unit> option = None │
00:08:15 verbose #25173 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:08:15 verbose #25174 > │ │
00:08:15 verbose #25175 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:15 verbose #25176 > │ │
00:08:15 verbose #25177 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:15 verbose #25178 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:08:15 verbose #25179 > │ v25 │
00:08:15 verbose #25180 > │ #endif │
00:08:15 verbose #25181 > │ │
00:08:15 verbose #25182 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:15 verbose #25183 > │ let v26 : Async<unit> = null |> unbox<Async<unit>> │
00:08:15 verbose #25184 > │ v26 │
00:08:15 verbose #25185 > │ #endif │
00:08:15 verbose #25186 > │ │
00:08:15 verbose #25187 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:15 verbose #25188 > │ let v27 : Async<unit> = null |> unbox<Async<unit>> │
00:08:15 verbose #25189 > │ v27 │
00:08:15 verbose #25190 > │ #endif │
00:08:15 verbose #25191 > │ │
00:08:15 verbose #25192 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:15 verbose #25193 > │ let v28 : Async<unit> = null |> unbox<Async<unit>> │
00:08:15 verbose #25194 > │ v28 │
00:08:15 verbose #25195 > │ #endif │
00:08:15 verbose #25196 > │ │
00:08:15 verbose #25197 > │ #if FABLE_COMPILER_PYTHON │
00:08:15 verbose #25198 > │ let v29 : Async<unit> = null |> unbox<Async<unit>> │
00:08:15 verbose #25199 > │ v29 │
00:08:15 verbose #25200 > │ #endif │
00:08:15 verbose #25201 > │ │
00:08:15 verbose #25202 > │ #else │
00:08:15 verbose #25203 > │ let v30 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask │
00:08:15 verbose #25204 > │ let v31 : Async<unit> = v30 v22 │
00:08:15 verbose #25205 > │ v31 │
00:08:15 verbose #25206 > │ #endif │
00:08:15 verbose #25207 > │ |> fun x -> _v23 <- Some x │
00:08:15 verbose #25208 > │ let v32 : Async<unit> = _v23.Value │
00:08:15 verbose #25209 > │ let v33 : unit option = None │
00:08:15 verbose #25210 > │ let v34 : bool = true in let mutable _v33 = v33 │
00:08:15 verbose #25211 > │ │
00:08:15 verbose #25212 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:15 verbose #25213 > │ │
00:08:15 verbose #25214 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:15 verbose #25215 > │ null |> unbox<unit> │
00:08:15 verbose #25216 > │ () │
00:08:15 verbose #25217 > │ #endif │
00:08:15 verbose #25218 > │ │
00:08:15 verbose #25219 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:15 verbose #25220 > │ null |> unbox<unit> │
00:08:15 verbose #25221 > │ () │
00:08:15 verbose #25222 > │ #endif │
00:08:15 verbose #25223 > │ │
00:08:15 verbose #25224 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:15 verbose #25225 > │ null |> unbox<unit> │
00:08:15 verbose #25226 > │ () │
00:08:15 verbose #25227 > │ #endif │
00:08:15 verbose #25228 > │ │
00:08:15 verbose #25229 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:15 verbose #25230 > │ null |> unbox<unit> │
00:08:15 verbose #25231 > │ () │
00:08:15 verbose #25232 > │ #endif │
00:08:15 verbose #25233 > │ │
00:08:15 verbose #25234 > │ #if FABLE_COMPILER_PYTHON │
00:08:15 verbose #25235 > │ null |> unbox<unit> │
00:08:15 verbose #25236 > │ () │
00:08:15 verbose #25237 > │ #endif │
00:08:15 verbose #25238 > │ │
00:08:15 verbose #25239 > │ #else │
00:08:15 verbose #25240 > │ let v35 : (Async<unit> -> unit) = Async.RunSynchronously │
00:08:15 verbose #25241 > │ v35 v32 │
00:08:15 verbose #25242 > │ () │
00:08:15 verbose #25243 > │ #endif │
00:08:15 verbose #25244 > │ |> fun x -> _v33 <- Some x │
00:08:15 verbose #25245 > │ _v33.Value │
00:08:15 verbose #25246 > │ let v36 : int32 = v0.l0 │
00:08:15 verbose #25247 > │ let v37 : bool = v36 = 1 │
00:08:15 verbose #25248 > │ let v39 : bool = │
00:08:15 verbose #25249 > │ if v37 then │
00:08:15 verbose #25250 > │ true │
00:08:15 verbose #25251 > │ else │
00:08:15 verbose #25252 > │ method2(v37) │
00:08:15 verbose #25253 > │ let v40 : string = "assert_eq" │
00:08:15 verbose #25254 > │ let v41 : string = $"{v40} / actual: %A{v36} / expected: %A{1}" │
00:08:15 verbose #25255 > │ System.Console.WriteLine v41 │
00:08:15 verbose #25256 > │ let v42 : bool = v39 = false │
00:08:15 verbose #25257 > │ if v42 then │
00:08:15 verbose #25258 > │ failwith<unit> v41 │
00:08:15 verbose #25259 > │ method0() │
00:08:15 verbose #25260 > │ │
00:08:15 verbose #25261 > │ assert_eq / actual: 1 / expected: 1 │
00:08:15 verbose #25262 > │ │
00:08:15 verbose #25263 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:15 verbose #25264 >
00:08:15 verbose #25265 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:15 verbose #25266 > //// test
00:08:15 verbose #25267 >
00:08:15 verbose #25268 > inl new_disposable_test = mut 0i32
00:08:15 verbose #25269 > fun () =>
00:08:15 verbose #25270 > new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:08:15 verbose #25271 > |> fun x => x : disposable ()
00:08:15 verbose #25272 > |> use
00:08:15 verbose #25273 > |> ignore
00:08:15 verbose #25274 > |> return
00:08:15 verbose #25275 > |> async.new_async
00:08:15 verbose #25276 > |> async.run_synchronously
00:08:15 verbose #25277 > *new_disposable_test |> _assert_eq 1
00:08:15 verbose #25278 > 00:08:14 debug #388 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/485fff1e74bb8c851965233d4bf6b3ae693e0187876d89a03e02fe430b12b134/main.spi
00:08:16 verbose #25279 >
00:08:16 verbose #25280 > ╭─[ 851.52ms - stdout ]────────────────────────────────────────────────────────╮
00:08:16 verbose #25281 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:08:16 verbose #25282 > │ member _.Dispose () = f () │
00:08:16 verbose #25283 > │ type Mut0 = {mutable l0 : int32} │
00:08:16 verbose #25284 > │ let rec closure0 (v0 : Mut0) () : unit = │
00:08:16 verbose #25285 > │ let v1 : int32 = v0.l0 │
00:08:16 verbose #25286 > │ let v2 : int32 = v1 + 1 │
00:08:16 verbose #25287 > │ v0.l0 <- v2 │
00:08:16 verbose #25288 > │ () │
00:08:16 verbose #25289 > │ and method1 (v0 : Mut0) : (unit -> unit) = │
00:08:16 verbose #25290 > │ closure0(v0) │
00:08:16 verbose #25291 > │ and method2 (v0 : bool) : bool = │
00:08:16 verbose #25292 > │ v0 │
00:08:16 verbose #25293 > │ and method0 () : unit = │
00:08:16 verbose #25294 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:08:16 verbose #25295 > │ let v1 : Async<unit> option = None │
00:08:16 verbose #25296 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:08:16 verbose #25297 > │ │
00:08:16 verbose #25298 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:16 verbose #25299 > │ │
00:08:16 verbose #25300 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:16 verbose #25301 > │ let v3 : Async<unit> = null |> unbox<Async<unit>> │
00:08:16 verbose #25302 > │ v3 │
00:08:16 verbose #25303 > │ #endif │
00:08:16 verbose #25304 > │ │
00:08:16 verbose #25305 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:16 verbose #25306 > │ let v4 : Async<unit> = null |> unbox<Async<unit>> │
00:08:16 verbose #25307 > │ v4 │
00:08:16 verbose #25308 > │ #endif │
00:08:16 verbose #25309 > │ │
00:08:16 verbose #25310 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:16 verbose #25311 > │ let v5 : Async<unit> = null |> unbox<Async<unit>> │
00:08:16 verbose #25312 > │ v5 │
00:08:16 verbose #25313 > │ #endif │
00:08:16 verbose #25314 > │ │
00:08:16 verbose #25315 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:16 verbose #25316 > │ let v6 : Async<unit> = null |> unbox<Async<unit>> │
00:08:16 verbose #25317 > │ v6 │
00:08:16 verbose #25318 > │ #endif │
00:08:16 verbose #25319 > │ │
00:08:16 verbose #25320 > │ #if FABLE_COMPILER_PYTHON │
00:08:16 verbose #25321 > │ let v7 : Async<unit> = null |> unbox<Async<unit>> │
00:08:16 verbose #25322 > │ v7 │
00:08:16 verbose #25323 > │ #endif │
00:08:16 verbose #25324 > │ │
00:08:16 verbose #25325 > │ #else │
00:08:16 verbose #25326 > │ let v8 : Async<unit> option = None │
00:08:16 verbose #25327 > │ let mutable _v8 = v8 │
00:08:16 verbose #25328 > │ async { │
00:08:16 verbose #25329 > │ let v9 : System.IDisposable option = None │
00:08:16 verbose #25330 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:08:16 verbose #25331 > │ │
00:08:16 verbose #25332 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:16 verbose #25333 > │ │
00:08:16 verbose #25334 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:16 verbose #25335 > │ let v11 : (unit -> unit) = closure0(v0) │
00:08:16 verbose #25336 > │ let v12 : System.IDisposable = new Disposable (fun () -> │
00:08:16 verbose #25337 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:16 verbose #25338 > │ v12 │
00:08:16 verbose #25339 > │ #endif │
00:08:16 verbose #25340 > │ │
00:08:16 verbose #25341 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:16 verbose #25342 > │ let v13 : System.IDisposable = new Disposable (fun () -> │
00:08:16 verbose #25343 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:16 verbose #25344 > │ v13 │
00:08:16 verbose #25345 > │ #endif │
00:08:16 verbose #25346 > │ │
00:08:16 verbose #25347 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:16 verbose #25348 > │ let v14 : System.IDisposable = new Disposable (fun () -> │
00:08:16 verbose #25349 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:16 verbose #25350 > │ v14 │
00:08:16 verbose #25351 > │ #endif │
00:08:16 verbose #25352 > │ │
00:08:16 verbose #25353 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:16 verbose #25354 > │ let v15 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:16 verbose #25355 > │ v15 │
00:08:16 verbose #25356 > │ #endif │
00:08:16 verbose #25357 > │ │
00:08:16 verbose #25358 > │ #if FABLE_COMPILER_PYTHON │
00:08:16 verbose #25359 > │ let v16 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:16 verbose #25360 > │ v16 │
00:08:16 verbose #25361 > │ #endif │
00:08:16 verbose #25362 > │ │
00:08:16 verbose #25363 > │ #else │
00:08:16 verbose #25364 > │ let v17 : (unit -> unit) = method1(v0) │
00:08:16 verbose #25365 > │ let v18 : System.IDisposable = { new System.IDisposable with member │
00:08:16 verbose #25366 > │ _.Dispose () = v17 () } │
00:08:16 verbose #25367 > │ v18 │
00:08:16 verbose #25368 > │ #endif │
00:08:16 verbose #25369 > │ |> fun x -> _v9 <- Some x │
00:08:16 verbose #25370 > │ let v19 : System.IDisposable = _v9.Value │
00:08:16 verbose #25371 > │ use v19 = v19 │
00:08:16 verbose #25372 > │ let v20 : System.IDisposable = v19 │
00:08:16 verbose #25373 > │ return () │
00:08:16 verbose #25374 > │ } │
00:08:16 verbose #25375 > │ |> fun x -> _v8 <- Some x │
00:08:16 verbose #25376 > │ let v21 : Async<unit> = _v8 |> Option.get │
00:08:16 verbose #25377 > │ v21 │
00:08:16 verbose #25378 > │ #endif │
00:08:16 verbose #25379 > │ |> fun x -> _v1 <- Some x │
00:08:16 verbose #25380 > │ let v22 : Async<unit> = _v1.Value │
00:08:16 verbose #25381 > │ let v23 : unit option = None │
00:08:16 verbose #25382 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:08:16 verbose #25383 > │ │
00:08:16 verbose #25384 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:16 verbose #25385 > │ │
00:08:16 verbose #25386 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:16 verbose #25387 > │ null |> unbox<unit> │
00:08:16 verbose #25388 > │ () │
00:08:16 verbose #25389 > │ #endif │
00:08:16 verbose #25390 > │ │
00:08:16 verbose #25391 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:16 verbose #25392 > │ null |> unbox<unit> │
00:08:16 verbose #25393 > │ () │
00:08:16 verbose #25394 > │ #endif │
00:08:16 verbose #25395 > │ │
00:08:16 verbose #25396 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:16 verbose #25397 > │ null |> unbox<unit> │
00:08:16 verbose #25398 > │ () │
00:08:16 verbose #25399 > │ #endif │
00:08:16 verbose #25400 > │ │
00:08:16 verbose #25401 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:16 verbose #25402 > │ null |> unbox<unit> │
00:08:16 verbose #25403 > │ () │
00:08:16 verbose #25404 > │ #endif │
00:08:16 verbose #25405 > │ │
00:08:16 verbose #25406 > │ #if FABLE_COMPILER_PYTHON │
00:08:16 verbose #25407 > │ null |> unbox<unit> │
00:08:16 verbose #25408 > │ () │
00:08:16 verbose #25409 > │ #endif │
00:08:16 verbose #25410 > │ │
00:08:16 verbose #25411 > │ #else │
00:08:16 verbose #25412 > │ let v25 : (Async<unit> -> unit) = Async.RunSynchronously │
00:08:16 verbose #25413 > │ v25 v22 │
00:08:16 verbose #25414 > │ () │
00:08:16 verbose #25415 > │ #endif │
00:08:16 verbose #25416 > │ |> fun x -> _v23 <- Some x │
00:08:16 verbose #25417 > │ _v23.Value │
00:08:16 verbose #25418 > │ let v26 : int32 = v0.l0 │
00:08:16 verbose #25419 > │ let v27 : bool = v26 = 1 │
00:08:16 verbose #25420 > │ let v29 : bool = │
00:08:16 verbose #25421 > │ if v27 then │
00:08:16 verbose #25422 > │ true │
00:08:16 verbose #25423 > │ else │
00:08:16 verbose #25424 > │ method2(v27) │
00:08:16 verbose #25425 > │ let v30 : string = "assert_eq" │
00:08:16 verbose #25426 > │ let v31 : string = $"{v30} / actual: %A{v26} / expected: %A{1}" │
00:08:16 verbose #25427 > │ System.Console.WriteLine v31 │
00:08:16 verbose #25428 > │ let v32 : bool = v29 = false │
00:08:16 verbose #25429 > │ if v32 then │
00:08:16 verbose #25430 > │ failwith<unit> v31 │
00:08:16 verbose #25431 > │ method0() │
00:08:16 verbose #25432 > │ │
00:08:16 verbose #25433 > │ assert_eq / actual: 1 / expected: 1 │
00:08:16 verbose #25434 > │ │
00:08:16 verbose #25435 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:16 verbose #25436 >
00:08:16 verbose #25437 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:16 verbose #25438 > //// test
00:08:16 verbose #25439 >
00:08:16 verbose #25440 > inl new_disposable_test = mut 0i32
00:08:16 verbose #25441 > fun () =>
00:08:16 verbose #25442 > new_disposable fun () => new_disposable_test <- *new_disposable_test + 1
00:08:16 verbose #25443 > |> fun x => x : disposable ()
00:08:16 verbose #25444 > |> ignore
00:08:16 verbose #25445 > |> return
00:08:16 verbose #25446 > |> async.new_async
00:08:16 verbose #25447 > |> async.run_synchronously
00:08:16 verbose #25448 > *new_disposable_test |> _assert_eq 0
00:08:16 verbose #25449 > 00:08:15 debug #389 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a48169d4167a52ce776748bddc30573b183362d81926eb77352790e6a5a1de34/main.spi
00:08:17 verbose #25450 >
00:08:17 verbose #25451 > ╭─[ 691.52ms - stdout ]────────────────────────────────────────────────────────╮
00:08:17 verbose #25452 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:08:17 verbose #25453 > │ member _.Dispose () = f () │
00:08:17 verbose #25454 > │ type Mut0 = {mutable l0 : int32} │
00:08:17 verbose #25455 > │ let rec closure0 (v0 : Mut0) () : unit = │
00:08:17 verbose #25456 > │ let v1 : int32 = v0.l0 │
00:08:17 verbose #25457 > │ let v2 : int32 = v1 + 1 │
00:08:17 verbose #25458 > │ v0.l0 <- v2 │
00:08:17 verbose #25459 > │ () │
00:08:17 verbose #25460 > │ and method1 (v0 : Mut0) : (unit -> unit) = │
00:08:17 verbose #25461 > │ closure0(v0) │
00:08:17 verbose #25462 > │ and method2 (v0 : bool) : bool = │
00:08:17 verbose #25463 > │ v0 │
00:08:17 verbose #25464 > │ and method0 () : unit = │
00:08:17 verbose #25465 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:08:17 verbose #25466 > │ let v1 : Async<unit> option = None │
00:08:17 verbose #25467 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:08:17 verbose #25468 > │ │
00:08:17 verbose #25469 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:17 verbose #25470 > │ │
00:08:17 verbose #25471 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:17 verbose #25472 > │ let v3 : Async<unit> = null |> unbox<Async<unit>> │
00:08:17 verbose #25473 > │ v3 │
00:08:17 verbose #25474 > │ #endif │
00:08:17 verbose #25475 > │ │
00:08:17 verbose #25476 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:17 verbose #25477 > │ let v4 : Async<unit> = null |> unbox<Async<unit>> │
00:08:17 verbose #25478 > │ v4 │
00:08:17 verbose #25479 > │ #endif │
00:08:17 verbose #25480 > │ │
00:08:17 verbose #25481 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:17 verbose #25482 > │ let v5 : Async<unit> = null |> unbox<Async<unit>> │
00:08:17 verbose #25483 > │ v5 │
00:08:17 verbose #25484 > │ #endif │
00:08:17 verbose #25485 > │ │
00:08:17 verbose #25486 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:17 verbose #25487 > │ let v6 : Async<unit> = null |> unbox<Async<unit>> │
00:08:17 verbose #25488 > │ v6 │
00:08:17 verbose #25489 > │ #endif │
00:08:17 verbose #25490 > │ │
00:08:17 verbose #25491 > │ #if FABLE_COMPILER_PYTHON │
00:08:17 verbose #25492 > │ let v7 : Async<unit> = null |> unbox<Async<unit>> │
00:08:17 verbose #25493 > │ v7 │
00:08:17 verbose #25494 > │ #endif │
00:08:17 verbose #25495 > │ │
00:08:17 verbose #25496 > │ #else │
00:08:17 verbose #25497 > │ let v8 : Async<unit> option = None │
00:08:17 verbose #25498 > │ let mutable _v8 = v8 │
00:08:17 verbose #25499 > │ async { │
00:08:17 verbose #25500 > │ let v9 : System.IDisposable option = None │
00:08:17 verbose #25501 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:08:17 verbose #25502 > │ │
00:08:17 verbose #25503 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:17 verbose #25504 > │ │
00:08:17 verbose #25505 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:17 verbose #25506 > │ let v11 : (unit -> unit) = closure0(v0) │
00:08:17 verbose #25507 > │ let v12 : System.IDisposable = new Disposable (fun () -> │
00:08:17 verbose #25508 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:17 verbose #25509 > │ v12 │
00:08:17 verbose #25510 > │ #endif │
00:08:17 verbose #25511 > │ │
00:08:17 verbose #25512 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:17 verbose #25513 > │ let v13 : System.IDisposable = new Disposable (fun () -> │
00:08:17 verbose #25514 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:17 verbose #25515 > │ v13 │
00:08:17 verbose #25516 > │ #endif │
00:08:17 verbose #25517 > │ │
00:08:17 verbose #25518 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:17 verbose #25519 > │ let v14 : System.IDisposable = new Disposable (fun () -> │
00:08:17 verbose #25520 > │ Fable.Core.RustInterop.emitRustExpr v11 "$0()" ) │
00:08:17 verbose #25521 > │ v14 │
00:08:17 verbose #25522 > │ #endif │
00:08:17 verbose #25523 > │ │
00:08:17 verbose #25524 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:17 verbose #25525 > │ let v15 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:17 verbose #25526 > │ v15 │
00:08:17 verbose #25527 > │ #endif │
00:08:17 verbose #25528 > │ │
00:08:17 verbose #25529 > │ #if FABLE_COMPILER_PYTHON │
00:08:17 verbose #25530 > │ let v16 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:17 verbose #25531 > │ v16 │
00:08:17 verbose #25532 > │ #endif │
00:08:17 verbose #25533 > │ │
00:08:17 verbose #25534 > │ #else │
00:08:17 verbose #25535 > │ let v17 : (unit -> unit) = method1(v0) │
00:08:17 verbose #25536 > │ let v18 : System.IDisposable = { new System.IDisposable with member │
00:08:17 verbose #25537 > │ _.Dispose () = v17 () } │
00:08:17 verbose #25538 > │ v18 │
00:08:17 verbose #25539 > │ #endif │
00:08:17 verbose #25540 > │ |> fun x -> _v9 <- Some x │
00:08:17 verbose #25541 > │ let v19 : System.IDisposable = _v9.Value │
00:08:17 verbose #25542 > │ return () │
00:08:17 verbose #25543 > │ } │
00:08:17 verbose #25544 > │ |> fun x -> _v8 <- Some x │
00:08:17 verbose #25545 > │ let v20 : Async<unit> = _v8 |> Option.get │
00:08:17 verbose #25546 > │ v20 │
00:08:17 verbose #25547 > │ #endif │
00:08:17 verbose #25548 > │ |> fun x -> _v1 <- Some x │
00:08:17 verbose #25549 > │ let v21 : Async<unit> = _v1.Value │
00:08:17 verbose #25550 > │ let v22 : unit option = None │
00:08:17 verbose #25551 > │ let v23 : bool = true in let mutable _v22 = v22 │
00:08:17 verbose #25552 > │ │
00:08:17 verbose #25553 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:17 verbose #25554 > │ │
00:08:17 verbose #25555 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:17 verbose #25556 > │ null |> unbox<unit> │
00:08:17 verbose #25557 > │ () │
00:08:17 verbose #25558 > │ #endif │
00:08:17 verbose #25559 > │ │
00:08:17 verbose #25560 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:17 verbose #25561 > │ null |> unbox<unit> │
00:08:17 verbose #25562 > │ () │
00:08:17 verbose #25563 > │ #endif │
00:08:17 verbose #25564 > │ │
00:08:17 verbose #25565 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:17 verbose #25566 > │ null |> unbox<unit> │
00:08:17 verbose #25567 > │ () │
00:08:17 verbose #25568 > │ #endif │
00:08:17 verbose #25569 > │ │
00:08:17 verbose #25570 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:17 verbose #25571 > │ null |> unbox<unit> │
00:08:17 verbose #25572 > │ () │
00:08:17 verbose #25573 > │ #endif │
00:08:17 verbose #25574 > │ │
00:08:17 verbose #25575 > │ #if FABLE_COMPILER_PYTHON │
00:08:17 verbose #25576 > │ null |> unbox<unit> │
00:08:17 verbose #25577 > │ () │
00:08:17 verbose #25578 > │ #endif │
00:08:17 verbose #25579 > │ │
00:08:17 verbose #25580 > │ #else │
00:08:17 verbose #25581 > │ let v24 : (Async<unit> -> unit) = Async.RunSynchronously │
00:08:17 verbose #25582 > │ v24 v21 │
00:08:17 verbose #25583 > │ () │
00:08:17 verbose #25584 > │ #endif │
00:08:17 verbose #25585 > │ |> fun x -> _v22 <- Some x │
00:08:17 verbose #25586 > │ _v22.Value │
00:08:17 verbose #25587 > │ let v25 : int32 = v0.l0 │
00:08:17 verbose #25588 > │ let v26 : bool = v25 = 0 │
00:08:17 verbose #25589 > │ let v28 : bool = │
00:08:17 verbose #25590 > │ if v26 then │
00:08:17 verbose #25591 > │ true │
00:08:17 verbose #25592 > │ else │
00:08:17 verbose #25593 > │ method2(v26) │
00:08:17 verbose #25594 > │ let v29 : string = "assert_eq" │
00:08:17 verbose #25595 > │ let v30 : string = $"{v29} / actual: %A{v25} / expected: %A{0}" │
00:08:17 verbose #25596 > │ System.Console.WriteLine v30 │
00:08:17 verbose #25597 > │ let v31 : bool = v28 = false │
00:08:17 verbose #25598 > │ if v31 then │
00:08:17 verbose #25599 > │ failwith<unit> v30 │
00:08:17 verbose #25600 > │ method0() │
00:08:17 verbose #25601 > │ │
00:08:17 verbose #25602 > │ assert_eq / actual: 0 / expected: 0 │
00:08:17 verbose #25603 > │ │
00:08:17 verbose #25604 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:17 verbose #25605 >
00:08:17 verbose #25606 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:17 verbose #25607 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:17 verbose #25608 > │ ## return │
00:08:17 verbose #25609 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:17 verbose #25610 >
00:08:17 verbose #25611 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:17 verbose #25612 > inl return forall t. (x : t) : () =
00:08:17 verbose #25613 > $'return !x '
00:08:17 verbose #25614 >
00:08:17 verbose #25615 > inl return' forall t. (x : t) : t =
00:08:17 verbose #25616 > $'return !x '
00:08:17 verbose #25617 > 00:08:16 debug #390 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/929a1ea720c825371497220a6fa87df58c5f05e39cb8ec777b52b98c80219e85/main.spi
00:08:17 verbose #25618 >
00:08:17 verbose #25619 > ╭─[ 625.09ms - stdout ]────────────────────────────────────────────────────────╮
00:08:17 verbose #25620 > │ () │
00:08:17 verbose #25621 > │ │
00:08:17 verbose #25622 > │ │
00:08:17 verbose #25623 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:17 verbose #25624 >
00:08:17 verbose #25625 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:17 verbose #25626 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:17 verbose #25627 > │ ## sleep │
00:08:17 verbose #25628 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:17 verbose #25629 >
00:08:17 verbose #25630 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:17 verbose #25631 > inl sleep (n : i32) : () =
00:08:17 verbose #25632 > run_target function
00:08:17 verbose #25633 > | Fsharp (Native) => fun () => $'System.Threading.Thread.Sleep' n
00:08:17 verbose #25634 > | _ => fun () => ()
00:08:18 verbose #25635 > 00:08:17 debug #391 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e1a27a025c057f207102f09614d1e62352b426c934e58b85febd343c1a84eb36/main.spi
00:08:18 verbose #25636 >
00:08:18 verbose #25637 > ╭─[ 630.20ms - stdout ]────────────────────────────────────────────────────────╮
00:08:18 verbose #25638 > │ () │
00:08:18 verbose #25639 > │ │
00:08:18 verbose #25640 > │ │
00:08:18 verbose #25641 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:18 verbose #25642 >
00:08:18 verbose #25643 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:18 verbose #25644 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:18 verbose #25645 > │ ## retry_fn │
00:08:18 verbose #25646 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:18 verbose #25647 >
00:08:18 verbose #25648 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:18 verbose #25649 > inl retry_fn forall t. retries (fn : () -> t) : option t =
00:08:18 verbose #25650 > let rec loop retry =
00:08:18 verbose #25651 > try
00:08:18 verbose #25652 > fun () =>
00:08:18 verbose #25653 > if retry < retries
00:08:18 verbose #25654 > then fn () |> Some
00:08:18 verbose #25655 > else None
00:08:18 verbose #25656 > fun ex =>
00:08:18 verbose #25657 > trace Warning
00:08:18 verbose #25658 > fun () => "retry_fn"
00:08:18 verbose #25659 > fun () =>
00:08:18 verbose #25660 > $'$"retry: {!retry} / ex: %A{!ex} / {!_locals ()}"'
00:08:18 verbose #25661 > sleep 1
00:08:18 verbose #25662 > None
00:08:18 verbose #25663 > |> function
00:08:18 verbose #25664 > | Some x => x
00:08:18 verbose #25665 > | None => loop (retry + 1)
00:08:18 verbose #25666 > loop 0
00:08:18 verbose #25667 > 00:08:17 debug #392 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/43b9a71b8a9b9a8db8217b1fd92502774fc79f0838d396a91734ccb914f55f6d/main.spi
00:08:19 verbose #25668 >
00:08:19 verbose #25669 > ╭─[ 639.79ms - stdout ]────────────────────────────────────────────────────────╮
00:08:19 verbose #25670 > │ () │
00:08:19 verbose #25671 > │ │
00:08:19 verbose #25672 > │ │
00:08:19 verbose #25673 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:19 verbose #25674 >
00:08:19 verbose #25675 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:19 verbose #25676 > //// test
00:08:19 verbose #25677 >
00:08:19 verbose #25678 > inl retry_fn_test = mut 0i32
00:08:19 verbose #25679 > fun () =>
00:08:19 verbose #25680 > retry_fn_test <- *retry_fn_test + 1
00:08:19 verbose #25681 > *retry_fn_test
00:08:19 verbose #25682 > |> retry_fn 3i32
00:08:19 verbose #25683 > |> _assert_eq (Some 1i32)
00:08:19 verbose #25684 > 00:08:18 debug #393 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5525f4a36a34ba2a9a9c7b45faf42bfae28a4f641e035dfa5b3a82205251c5ed/main.spi
00:08:19 verbose #25685 >
00:08:19 verbose #25686 > ╭─[ 921.84ms - stdout ]────────────────────────────────────────────────────────╮
00:08:19 verbose #25687 > │ module State = let mutable trace_state = None │
00:08:19 verbose #25688 > │ type Mut0 = {mutable l0 : int32} │
00:08:19 verbose #25689 > │ and [<Struct>] US0 = │
00:08:19 verbose #25690 > │ | US0_0 of f0_0 : int32 │
00:08:19 verbose #25691 > │ | US0_1 │
00:08:19 verbose #25692 > │ and [<Struct>] US1 = │
00:08:19 verbose #25693 > │ | US1_0 of f0_0 : US0 │
00:08:19 verbose #25694 > │ | US1_1 │
00:08:19 verbose #25695 > │ and [<Struct>] US2 = │
00:08:19 verbose #25696 > │ | US2_0 │
00:08:19 verbose #25697 > │ | US2_1 │
00:08:19 verbose #25698 > │ | US2_2 │
00:08:19 verbose #25699 > │ | US2_3 │
00:08:19 verbose #25700 > │ | US2_4 │
00:08:19 verbose #25701 > │ and Mut1 = {mutable l0 : int64} │
00:08:19 verbose #25702 > │ and Mut2 = {mutable l0 : bool} │
00:08:19 verbose #25703 > │ and Mut3 = {mutable l0 : US2} │
00:08:19 verbose #25704 > │ and Mut4 = {mutable l0 : (string -> unit)} │
00:08:19 verbose #25705 > │ and [<Struct>] US3 = │
00:08:19 verbose #25706 > │ | US3_0 of f0_0 : int64 │
00:08:19 verbose #25707 > │ | US3_1 │
00:08:19 verbose #25708 > │ and [<Struct>] US4 = │
00:08:19 verbose #25709 > │ | US4_0 of f0_0 : int64 │
00:08:19 verbose #25710 > │ | US4_1 │
00:08:19 verbose #25711 > │ let rec closure0 (v0 : Mut0, v1 : int32) () : US0 = │
00:08:19 verbose #25712 > │ let v2 : bool = v1 < 3 │
00:08:19 verbose #25713 > │ if v2 then │
00:08:19 verbose #25714 > │ let v3 : int32 = v0.l0 │
00:08:19 verbose #25715 > │ let v4 : int32 = v3 + 1 │
00:08:19 verbose #25716 > │ v0.l0 <- v4 │
00:08:19 verbose #25717 > │ let v5 : int32 = v0.l0 │
00:08:19 verbose #25718 > │ US0_0(v5) │
00:08:19 verbose #25719 > │ else │
00:08:19 verbose #25720 > │ US0_1 │
00:08:19 verbose #25721 > │ and closure1 () (v0 : US0) : US1 = │
00:08:19 verbose #25722 > │ US1_0(v0) │
00:08:19 verbose #25723 > │ and closure3 () () : string = │
00:08:19 verbose #25724 > │ let v0 : string = "retry_fn" │
00:08:19 verbose #25725 > │ v0 │
00:08:19 verbose #25726 > │ and closure5 () () : string = │
00:08:19 verbose #25727 > │ let v0 : string = "" │
00:08:19 verbose #25728 > │ v0 │
00:08:19 verbose #25729 > │ and closure4 (v0 : int32, v1 : exn) () : string = │
00:08:19 verbose #25730 > │ let v2 : (unit -> string) = closure5() │
00:08:19 verbose #25731 > │ let v3 : string = $"retry: {v0} / ex: %A{v1} / {v2 ()}" │
00:08:19 verbose #25732 > │ v3 │
00:08:19 verbose #25733 > │ and closure8 () (v0 : string) : unit = │
00:08:19 verbose #25734 > │ () │
00:08:19 verbose #25735 > │ and method3 (v0 : int64 option) : int64 option = │
00:08:19 verbose #25736 > │ v0 │
00:08:19 verbose #25737 > │ and method4 (v0 : int64 option) : int64 option = │
00:08:19 verbose #25738 > │ v0 │
00:08:19 verbose #25739 > │ and closure7 () () : struct (Mut1 * Mut2 * Mut3 * int64 option * Mut4) = │
00:08:19 verbose #25740 > │ let v0 : Mut2 = {l0 = true} : Mut2 │
00:08:19 verbose #25741 > │ let v1 : Mut1 = {l0 = 0L} : Mut1 │
00:08:19 verbose #25742 > │ let v2 : US2 = US2_0 │
00:08:19 verbose #25743 > │ let v3 : Mut3 = {l0 = v2} : Mut3 │
00:08:19 verbose #25744 > │ let v4 : (string -> unit) = closure8() │
00:08:19 verbose #25745 > │ let v5 : Mut4 = {l0 = v4} : Mut4 │
00:08:19 verbose #25746 > │ let v6 : int64 option option = None │
00:08:19 verbose #25747 > │ let mutable _v6 = v6 │
00:08:19 verbose #25748 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:08:19 verbose #25749 > │ let v7 : string option = None │
00:08:19 verbose #25750 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:08:19 verbose #25751 > │ │
00:08:19 verbose #25752 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:19 verbose #25753 > │ │
00:08:19 verbose #25754 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:19 verbose #25755 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:08:19 verbose #25756 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:08:19 verbose #25757 > │ v10 │
00:08:19 verbose #25758 > │ #endif │
00:08:19 verbose #25759 > │ │
00:08:19 verbose #25760 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:19 verbose #25761 > │ let v11 : string = null |> unbox<string> │
00:08:19 verbose #25762 > │ v11 │
00:08:19 verbose #25763 > │ #endif │
00:08:19 verbose #25764 > │ │
00:08:19 verbose #25765 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:19 verbose #25766 > │ let v12 : string = null |> unbox<string> │
00:08:19 verbose #25767 > │ v12 │
00:08:19 verbose #25768 > │ #endif │
00:08:19 verbose #25769 > │ │
00:08:19 verbose #25770 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:19 verbose #25771 > │ let v13 : string = null |> unbox<string> │
00:08:19 verbose #25772 > │ v13 │
00:08:19 verbose #25773 > │ #endif │
00:08:19 verbose #25774 > │ │
00:08:19 verbose #25775 > │ #if FABLE_COMPILER_PYTHON │
00:08:19 verbose #25776 > │ let v14 : string = null |> unbox<string> │
00:08:19 verbose #25777 > │ v14 │
00:08:19 verbose #25778 > │ #endif │
00:08:19 verbose #25779 > │ │
00:08:19 verbose #25780 > │ #else │
00:08:19 verbose #25781 > │ let v15 : string = │
00:08:19 verbose #25782 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:08:19 verbose #25783 > │ v15 │
00:08:19 verbose #25784 > │ #endif │
00:08:19 verbose #25785 > │ |> fun x -> _v7 <- Some x │
00:08:19 verbose #25786 > │ let v16 : string = _v7.Value │
00:08:19 verbose #25787 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:08:19 verbose #25788 > │ let v19 : bool = v18 <> true │
00:08:19 verbose #25789 > │ let v25 : US3 = │
00:08:19 verbose #25790 > │ if v19 then │
00:08:19 verbose #25791 > │ let v20 : System.DateTime = System.DateTime.Now │
00:08:19 verbose #25792 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:08:19 verbose #25793 > │ let v22 : int64 = v21 v20 │
00:08:19 verbose #25794 > │ US3_0(v22) │
00:08:19 verbose #25795 > │ else │
00:08:19 verbose #25796 > │ US3_1 │
00:08:19 verbose #25797 > │ let v30 : int64 option = │
00:08:19 verbose #25798 > │ match v25 with │
00:08:19 verbose #25799 > │ | US3_1 -> (* None *) │
00:08:19 verbose #25800 > │ let v28 : int64 option = None │
00:08:19 verbose #25801 > │ v28 │
00:08:19 verbose #25802 > │ | US3_0(v26) -> (* Some *) │
00:08:19 verbose #25803 > │ let v27 : int64 option = Some v26 │
00:08:19 verbose #25804 > │ v27 │
00:08:19 verbose #25805 > │ let v31 : int64 option = method3(v30) │
00:08:19 verbose #25806 > │ v31 │
00:08:19 verbose #25807 > │ #else │
00:08:19 verbose #25808 > │ let v32 : int64 option = None │
00:08:19 verbose #25809 > │ let v33 : int64 option = method4(v32) │
00:08:19 verbose #25810 > │ v33 │
00:08:19 verbose #25811 > │ #endif │
00:08:19 verbose #25812 > │ |> fun x -> _v6 <- Some x │
00:08:19 verbose #25813 > │ let v34 : int64 option = _v6.Value │
00:08:19 verbose #25814 > │ struct (v1, v0, v3, v34, v5) │
00:08:19 verbose #25815 > │ and closure9 () (v0 : int64) : US4 = │
00:08:19 verbose #25816 > │ US4_0(v0) │
00:08:19 verbose #25817 > │ and method5 () : (int64 -> US4) = │
00:08:19 verbose #25818 > │ closure9() │
00:08:19 verbose #25819 > │ and method6 () : string = │
00:08:19 verbose #25820 > │ let v0 : string = "" │
00:08:19 verbose #25821 > │ v0 │
00:08:19 verbose #25822 > │ and closure6 (v0 : US2, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:08:19 verbose #25823 > │ string = │
00:08:19 verbose #25824 > │ let v3 : (unit -> struct (Mut1 * Mut2 * Mut3 * int64 option * Mut4)) = │
00:08:19 verbose #25825 > │ closure7() │
00:08:19 verbose #25826 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:08:19 verbose #25827 > │ let struct (v4 : Mut1, v5 : Mut2, v6 : Mut3, v7 : int64 option, v8 : │
00:08:19 verbose #25828 > │ Mut4) = State.trace_state.Value │
00:08:19 verbose #25829 > │ let v9 : string option = None │
00:08:19 verbose #25830 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:08:19 verbose #25831 > │ │
00:08:19 verbose #25832 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:19 verbose #25833 > │ │
00:08:19 verbose #25834 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:19 verbose #25835 > │ let v11 : (int64 -> US4) = method5() │
00:08:19 verbose #25836 > │ let v12 : US4 = US4_1 │
00:08:19 verbose #25837 > │ let v13 : US4 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:08:19 verbose #25838 > │ let v31 : System.DateTime = │
00:08:19 verbose #25839 > │ match v13 with │
00:08:19 verbose #25840 > │ | US4_1 -> (* None *) │
00:08:19 verbose #25841 > │ let v29 : System.DateTime = System.DateTime.Now │
00:08:19 verbose #25842 > │ v29 │
00:08:19 verbose #25843 > │ | US4_0(v14) -> (* Some *) │
00:08:19 verbose #25844 > │ let v15 : System.DateTime = System.DateTime.Now │
00:08:19 verbose #25845 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:08:19 verbose #25846 > │ let v17 : int64 = v16 v15 │
00:08:19 verbose #25847 > │ let v18 : int64 = v17 - v14 │
00:08:19 verbose #25848 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:08:19 verbose #25849 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:08:19 verbose #25850 > │ let v21 : int32 = v20 v19 │
00:08:19 verbose #25851 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:08:19 verbose #25852 > │ let v23 : int32 = v22 v19 │
00:08:19 verbose #25853 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:08:19 verbose #25854 > │ let v25 : int32 = v24 v19 │
00:08:19 verbose #25855 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:08:19 verbose #25856 > │ let v27 : int32 = v26 v19 │
00:08:19 verbose #25857 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:08:19 verbose #25858 > │ v25, v27) │
00:08:19 verbose #25859 > │ v28 │
00:08:19 verbose #25860 > │ let v32 : string = "hh:mm:ss" │
00:08:19 verbose #25861 > │ let v33 : string = v31.ToString v32 │
00:08:19 verbose #25862 > │ v33 │
00:08:19 verbose #25863 > │ #endif │
00:08:19 verbose #25864 > │ │
00:08:19 verbose #25865 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:19 verbose #25866 > │ let v34 : string = method6() │
00:08:19 verbose #25867 > │ v34 │
00:08:19 verbose #25868 > │ #endif │
00:08:19 verbose #25869 > │ │
00:08:19 verbose #25870 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:19 verbose #25871 > │ let v35 : string = method6() │
00:08:19 verbose #25872 > │ v35 │
00:08:19 verbose #25873 > │ #endif │
00:08:19 verbose #25874 > │ │
00:08:20 verbose #25875 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:20 verbose #25876 > │ let v36 : string = method6() │
00:08:20 verbose #25877 > │ v36 │
00:08:20 verbose #25878 > │ #endif │
00:08:20 verbose #25879 > │ │
00:08:20 verbose #25880 > │ #if FABLE_COMPILER_PYTHON │
00:08:20 verbose #25881 > │ let v37 : string = method6() │
00:08:20 verbose #25882 > │ v37 │
00:08:20 verbose #25883 > │ #endif │
00:08:20 verbose #25884 > │ │
00:08:20 verbose #25885 > │ #else │
00:08:20 verbose #25886 > │ let v38 : (int64 -> US4) = method5() │
00:08:20 verbose #25887 > │ let v39 : US4 = US4_1 │
00:08:20 verbose #25888 > │ let v40 : US4 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:08:20 verbose #25889 > │ let v58 : System.DateTime = │
00:08:20 verbose #25890 > │ match v40 with │
00:08:20 verbose #25891 > │ | US4_1 -> (* None *) │
00:08:20 verbose #25892 > │ let v56 : System.DateTime = System.DateTime.Now │
00:08:20 verbose #25893 > │ v56 │
00:08:20 verbose #25894 > │ | US4_0(v41) -> (* Some *) │
00:08:20 verbose #25895 > │ let v42 : System.DateTime = System.DateTime.Now │
00:08:20 verbose #25896 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:08:20 verbose #25897 > │ let v44 : int64 = v43 v42 │
00:08:20 verbose #25898 > │ let v45 : int64 = v44 - v41 │
00:08:20 verbose #25899 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:08:20 verbose #25900 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:08:20 verbose #25901 > │ let v48 : int32 = v47 v46 │
00:08:20 verbose #25902 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:08:20 verbose #25903 > │ let v50 : int32 = v49 v46 │
00:08:20 verbose #25904 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:08:20 verbose #25905 > │ let v52 : int32 = v51 v46 │
00:08:20 verbose #25906 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:08:20 verbose #25907 > │ let v54 : int32 = v53 v46 │
00:08:20 verbose #25908 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:08:20 verbose #25909 > │ v52, v54) │
00:08:20 verbose #25910 > │ v55 │
00:08:20 verbose #25911 > │ let v59 : string = "HH:mm:ss" │
00:08:20 verbose #25912 > │ let v60 : string = v58.ToString v59 │
00:08:20 verbose #25913 > │ v60 │
00:08:20 verbose #25914 > │ #endif │
00:08:20 verbose #25915 > │ |> fun x -> _v9 <- Some x │
00:08:20 verbose #25916 > │ let v61 : string = _v9.Value │
00:08:20 verbose #25917 > │ let v62 : int64 = v4.l0 │
00:08:20 verbose #25918 > │ let v72 : string = │
00:08:20 verbose #25919 > │ match v0 with │
00:08:20 verbose #25920 > │ | US2_4 -> (* Critical *) │
00:08:20 verbose #25921 > │ let v67 : string = "Critical" │
00:08:20 verbose #25922 > │ v67 │
00:08:20 verbose #25923 > │ | US2_1 -> (* Debug *) │
00:08:20 verbose #25924 > │ let v64 : string = "Debug" │
00:08:20 verbose #25925 > │ v64 │
00:08:20 verbose #25926 > │ | US2_2 -> (* Info *) │
00:08:20 verbose #25927 > │ let v65 : string = "Info" │
00:08:20 verbose #25928 > │ v65 │
00:08:20 verbose #25929 > │ | US2_0 -> (* Verbose *) │
00:08:20 verbose #25930 > │ let v63 : string = "Verbose" │
00:08:20 verbose #25931 > │ v63 │
00:08:20 verbose #25932 > │ | US2_3 -> (* Warning *) │
00:08:20 verbose #25933 > │ let v66 : string = "Warning" │
00:08:20 verbose #25934 > │ v66 │
00:08:20 verbose #25935 > │ let v73 : string = v72.ToLower () │
00:08:20 verbose #25936 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:08:20 verbose #25937 > │ let v75 : string option = None │
00:08:20 verbose #25938 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:08:20 verbose #25939 > │ │
00:08:20 verbose #25940 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:20 verbose #25941 > │ │
00:08:20 verbose #25942 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:20 verbose #25943 > │ let v91 : Ref<Str> = │
00:08:20 verbose #25944 > │ match v0 with │
00:08:20 verbose #25945 > │ | US2_4 -> (* Critical *) │
00:08:20 verbose #25946 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:08:20 verbose #25947 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:08:20 verbose #25948 > │ v86 │
00:08:20 verbose #25949 > │ | US2_1 -> (* Debug *) │
00:08:20 verbose #25950 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:08:20 verbose #25951 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:08:20 verbose #25952 > │ v80 │
00:08:20 verbose #25953 > │ | US2_2 -> (* Info *) │
00:08:20 verbose #25954 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:08:20 verbose #25955 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:08:20 verbose #25956 > │ v82 │
00:08:20 verbose #25957 > │ | US2_0 -> (* Verbose *) │
00:08:20 verbose #25958 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:08:20 verbose #25959 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:08:20 verbose #25960 > │ v78 │
00:08:20 verbose #25961 > │ | US2_3 -> (* Warning *) │
00:08:20 verbose #25962 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:08:20 verbose #25963 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:08:20 verbose #25964 > │ v84 │
00:08:20 verbose #25965 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:20 verbose #25966 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:08:20 verbose #25967 > │ let v94 : string = "inline_colorization::color_reset" │
00:08:20 verbose #25968 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:08:20 verbose #25969 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:08:20 verbose #25970 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:08:20 verbose #25971 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:08:20 verbose #25972 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:08:20 verbose #25973 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:08:20 verbose #25974 > │ v100 │
00:08:20 verbose #25975 > │ #endif │
00:08:20 verbose #25976 > │ │
00:08:20 verbose #25977 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:20 verbose #25978 > │ let v115 : Ref<Str> = │
00:08:20 verbose #25979 > │ match v0 with │
00:08:20 verbose #25980 > │ | US2_4 -> (* Critical *) │
00:08:20 verbose #25981 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:08:20 verbose #25982 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #25983 > │ v109 │
00:08:20 verbose #25984 > │ v110 │
00:08:20 verbose #25985 > │ | US2_1 -> (* Debug *) │
00:08:20 verbose #25986 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:08:20 verbose #25987 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #25988 > │ v103 │
00:08:20 verbose #25989 > │ v104 │
00:08:20 verbose #25990 > │ | US2_2 -> (* Info *) │
00:08:20 verbose #25991 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:08:20 verbose #25992 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #25993 > │ v105 │
00:08:20 verbose #25994 > │ v106 │
00:08:20 verbose #25995 > │ | US2_0 -> (* Verbose *) │
00:08:20 verbose #25996 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:08:20 verbose #25997 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #25998 > │ v101 │
00:08:20 verbose #25999 > │ v102 │
00:08:20 verbose #26000 > │ | US2_3 -> (* Warning *) │
00:08:20 verbose #26001 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:08:20 verbose #26002 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26003 > │ v107 │
00:08:20 verbose #26004 > │ v108 │
00:08:20 verbose #26005 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:20 verbose #26006 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:08:20 verbose #26007 > │ let v118 : string = "inline_colorization::color_reset" │
00:08:20 verbose #26008 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:08:20 verbose #26009 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:08:20 verbose #26010 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:08:20 verbose #26011 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26012 > │ v121 │
00:08:20 verbose #26013 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:08:20 verbose #26014 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:08:20 verbose #26015 > │ v124 │
00:08:20 verbose #26016 > │ #endif │
00:08:20 verbose #26017 > │ │
00:08:20 verbose #26018 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:20 verbose #26019 > │ let v139 : Ref<Str> = │
00:08:20 verbose #26020 > │ match v0 with │
00:08:20 verbose #26021 > │ | US2_4 -> (* Critical *) │
00:08:20 verbose #26022 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:08:20 verbose #26023 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26024 > │ v133 │
00:08:20 verbose #26025 > │ v134 │
00:08:20 verbose #26026 > │ | US2_1 -> (* Debug *) │
00:08:20 verbose #26027 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:08:20 verbose #26028 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26029 > │ v127 │
00:08:20 verbose #26030 > │ v128 │
00:08:20 verbose #26031 > │ | US2_2 -> (* Info *) │
00:08:20 verbose #26032 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:08:20 verbose #26033 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26034 > │ v129 │
00:08:20 verbose #26035 > │ v130 │
00:08:20 verbose #26036 > │ | US2_0 -> (* Verbose *) │
00:08:20 verbose #26037 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:08:20 verbose #26038 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26039 > │ v125 │
00:08:20 verbose #26040 > │ v126 │
00:08:20 verbose #26041 > │ | US2_3 -> (* Warning *) │
00:08:20 verbose #26042 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:08:20 verbose #26043 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26044 > │ v131 │
00:08:20 verbose #26045 > │ v132 │
00:08:20 verbose #26046 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:20 verbose #26047 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:08:20 verbose #26048 > │ let v142 : string = "inline_colorization::color_reset" │
00:08:20 verbose #26049 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:08:20 verbose #26050 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:08:20 verbose #26051 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:08:20 verbose #26052 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:08:20 verbose #26053 > │ v145 │
00:08:20 verbose #26054 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:08:20 verbose #26055 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:08:20 verbose #26056 > │ v148 │
00:08:20 verbose #26057 > │ #endif │
00:08:20 verbose #26058 > │ │
00:08:20 verbose #26059 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:20 verbose #26060 > │ v74 │
00:08:20 verbose #26061 > │ #endif │
00:08:20 verbose #26062 > │ │
00:08:20 verbose #26063 > │ #if FABLE_COMPILER_PYTHON │
00:08:20 verbose #26064 > │ v74 │
00:08:20 verbose #26065 > │ #endif │
00:08:20 verbose #26066 > │ │
00:08:20 verbose #26067 > │ #else │
00:08:20 verbose #26068 > │ v74 │
00:08:20 verbose #26069 > │ #endif │
00:08:20 verbose #26070 > │ |> fun x -> _v75 <- Some x │
00:08:20 verbose #26071 > │ let v149 : string = _v75.Value │
00:08:20 verbose #26072 > │ let v150 : string = v1 () │
00:08:20 verbose #26073 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:08:20 verbose #26074 > │ let v152 : (char []) = [||] │
00:08:20 verbose #26075 > │ let v153 : string = v151.TrimStart v152 │
00:08:20 verbose #26076 > │ let v154 : (char []) = [|' '; '/'|] │
00:08:20 verbose #26077 > │ let v155 : string = v153.TrimEnd v154 │
00:08:20 verbose #26078 > │ v155 │
00:08:20 verbose #26079 > │ and method7 (v0 : US2, v1 : (unit -> string)) : unit = │
00:08:20 verbose #26080 > │ let v2 : (unit -> struct (Mut1 * Mut2 * Mut3 * int64 option * Mut4)) = │
00:08:20 verbose #26081 > │ closure7() │
00:08:20 verbose #26082 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:08:20 verbose #26083 > │ let struct (v3 : Mut1, v4 : Mut2, v5 : Mut3, v6 : int64 option, v7 : │
00:08:20 verbose #26084 > │ Mut4) = State.trace_state.Value │
00:08:20 verbose #26085 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:08:20 verbose #26086 > │ let struct (v8 : Mut1, v9 : Mut2, v10 : Mut3, v11 : int64 option, v12 : │
00:08:20 verbose #26087 > │ Mut4) = State.trace_state.Value │
00:08:20 verbose #26088 > │ let v13 : US2 = v10.l0 │
00:08:20 verbose #26089 > │ let v14 : bool = v9.l0 │
00:08:20 verbose #26090 > │ let v15 : bool = v14 = false │
00:08:20 verbose #26091 > │ let v19 : bool = │
00:08:20 verbose #26092 > │ if v15 then │
00:08:20 verbose #26093 > │ false │
00:08:20 verbose #26094 > │ else │
00:08:20 verbose #26095 > │ let v16 : int32 = [ US2_0, 0; US2_1, 1; US2_2, 2; US2_3, 3; │
00:08:20 verbose #26096 > │ US2_4, 4 ] |> Map |> Map.find v0 │
00:08:20 verbose #26097 > │ let v17 : int32 = [ US2_0, 0; US2_1, 1; US2_2, 2; US2_3, 3; │
00:08:20 verbose #26098 > │ US2_4, 4 ] |> Map |> Map.find v13 │
00:08:20 verbose #26099 > │ let v18 : bool = v16 >= v17 │
00:08:20 verbose #26100 > │ v18 │
00:08:20 verbose #26101 > │ if v19 then │
00:08:20 verbose #26102 > │ let v20 : int64 = v3.l0 │
00:08:20 verbose #26103 > │ let v21 : int64 = v20 + 1L │
00:08:20 verbose #26104 > │ v3.l0 <- v21 │
00:08:20 verbose #26105 > │ let v22 : string = $"%s{v1 ()}" │
00:08:20 verbose #26106 > │ let v23 : unit option = None │
00:08:20 verbose #26107 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:08:20 verbose #26108 > │ │
00:08:20 verbose #26109 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:20 verbose #26110 > │ │
00:08:20 verbose #26111 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:20 verbose #26112 > │ let v25 : string = @"println!(""{}"", $0)" │
00:08:20 verbose #26113 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:08:20 verbose #26114 > │ () │
00:08:20 verbose #26115 > │ #endif │
00:08:20 verbose #26116 > │ │
00:08:20 verbose #26117 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:20 verbose #26118 > │ let v26 : string = @"println!(""{}"", $0)" │
00:08:20 verbose #26119 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:08:20 verbose #26120 > │ () │
00:08:20 verbose #26121 > │ #endif │
00:08:20 verbose #26122 > │ │
00:08:20 verbose #26123 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:20 verbose #26124 > │ let v27 : string = @"println!(""{}"", $0)" │
00:08:20 verbose #26125 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:08:20 verbose #26126 > │ () │
00:08:20 verbose #26127 > │ #endif │
00:08:20 verbose #26128 > │ │
00:08:20 verbose #26129 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:20 verbose #26130 > │ System.Console.WriteLine v22 │
00:08:20 verbose #26131 > │ () │
00:08:20 verbose #26132 > │ #endif │
00:08:20 verbose #26133 > │ │
00:08:20 verbose #26134 > │ #if FABLE_COMPILER_PYTHON │
00:08:20 verbose #26135 > │ System.Console.WriteLine v22 │
00:08:20 verbose #26136 > │ () │
00:08:20 verbose #26137 > │ #endif │
00:08:20 verbose #26138 > │ │
00:08:20 verbose #26139 > │ #else │
00:08:20 verbose #26140 > │ System.Console.WriteLine v22 │
00:08:20 verbose #26141 > │ () │
00:08:20 verbose #26142 > │ #endif │
00:08:20 verbose #26143 > │ |> fun x -> _v23 <- Some x │
00:08:20 verbose #26144 > │ _v23.Value │
00:08:20 verbose #26145 > │ let v28 : (string -> unit) = v7.l0 │
00:08:20 verbose #26146 > │ v28 v22 │
00:08:20 verbose #26147 > │ and method2 (v0 : US2, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:08:20 verbose #26148 > │ = │
00:08:20 verbose #26149 > │ let v3 : (unit -> string) = closure6(v0, v1, v2) │
00:08:20 verbose #26150 > │ method7(v0, v3) │
00:08:20 verbose #26151 > │ and closure2 (v0 : int32) (v1 : exn) : US1 = │
00:08:20 verbose #26152 > │ let v2 : US2 = US2_3 │
00:08:20 verbose #26153 > │ let v3 : (unit -> string) = closure3() │
00:08:20 verbose #26154 > │ let v4 : (unit -> string) = closure4(v0, v1) │
00:08:20 verbose #26155 > │ method2(v2, v3, v4) │
00:08:20 verbose #26156 > │ let v5 : unit option = None │
00:08:20 verbose #26157 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:08:20 verbose #26158 > │ │
00:08:20 verbose #26159 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:20 verbose #26160 > │ │
00:08:20 verbose #26161 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:20 verbose #26162 > │ () │
00:08:20 verbose #26163 > │ #endif │
00:08:20 verbose #26164 > │ │
00:08:20 verbose #26165 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:20 verbose #26166 > │ () │
00:08:20 verbose #26167 > │ #endif │
00:08:20 verbose #26168 > │ │
00:08:20 verbose #26169 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:20 verbose #26170 > │ () │
00:08:20 verbose #26171 > │ #endif │
00:08:20 verbose #26172 > │ │
00:08:20 verbose #26173 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:20 verbose #26174 > │ () │
00:08:20 verbose #26175 > │ #endif │
00:08:20 verbose #26176 > │ │
00:08:20 verbose #26177 > │ #if FABLE_COMPILER_PYTHON │
00:08:20 verbose #26178 > │ () │
00:08:20 verbose #26179 > │ #endif │
00:08:20 verbose #26180 > │ │
00:08:20 verbose #26181 > │ #else │
00:08:20 verbose #26182 > │ let v7 : (int32 -> unit) = System.Threading.Thread.Sleep │
00:08:20 verbose #26183 > │ v7 1 │
00:08:20 verbose #26184 > │ () │
00:08:20 verbose #26185 > │ #endif │
00:08:20 verbose #26186 > │ |> fun x -> _v5 <- Some x │
00:08:20 verbose #26187 > │ _v5.Value │
00:08:20 verbose #26188 > │ US1_1 │
00:08:20 verbose #26189 > │ and method1 (v0 : Mut0, v1 : int32) : US0 = │
00:08:20 verbose #26190 > │ let v2 : (unit -> US0) = closure0(v0, v1) │
00:08:20 verbose #26191 > │ let v3 : (US0 -> US1) = closure1() │
00:08:20 verbose #26192 > │ let v4 : (exn -> US1) = closure2(v1) │
00:08:20 verbose #26193 > │ let v5 : US1 = try v2 () |> v3 with ex -> v4 ex │
00:08:20 verbose #26194 > │ match v5 with │
00:08:20 verbose #26195 > │ | US1_1 -> (* None *) │
00:08:20 verbose #26196 > │ let v7 : int32 = v1 + 1 │
00:08:20 verbose #26197 > │ method1(v0, v7) │
00:08:20 verbose #26198 > │ | US1_0(v6) -> (* Some *) │
00:08:20 verbose #26199 > │ v6 │
00:08:20 verbose #26200 > │ and method8 (v0 : bool) : bool = │
00:08:20 verbose #26201 > │ v0 │
00:08:20 verbose #26202 > │ and method0 () : unit = │
00:08:20 verbose #26203 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:08:20 verbose #26204 > │ let v1 : int32 = 0 │
00:08:20 verbose #26205 > │ let v2 : US0 = method1(v0, v1) │
00:08:20 verbose #26206 > │ let v6 : bool = │
00:08:20 verbose #26207 > │ match v2 with │
00:08:20 verbose #26208 > │ | US0_0(v4) -> (* Some *) │
00:08:20 verbose #26209 > │ let v5 : bool = v4 = 1 │
00:08:20 verbose #26210 > │ v5 │
00:08:20 verbose #26211 > │ | _ -> │
00:08:20 verbose #26212 > │ false │
00:08:20 verbose #26213 > │ let v8 : bool = │
00:08:20 verbose #26214 > │ if v6 then │
00:08:20 verbose #26215 > │ true │
00:08:20 verbose #26216 > │ else │
00:08:20 verbose #26217 > │ method8(v6) │
00:08:20 verbose #26218 > │ let v9 : string = "assert_eq" │
00:08:20 verbose #26219 > │ let v10 : US0 = US0_0(1) │
00:08:20 verbose #26220 > │ let v11 : string = $"{v9} / actual: %A{v2} / expected: %A{v10}" │
00:08:20 verbose #26221 > │ System.Console.WriteLine v11 │
00:08:20 verbose #26222 > │ let v12 : bool = v8 = false │
00:08:20 verbose #26223 > │ if v12 then │
00:08:20 verbose #26224 > │ failwith<unit> v11 │
00:08:20 verbose #26225 > │ method0() │
00:08:20 verbose #26226 > │ │
00:08:20 verbose #26227 > │ assert_eq / actual: US0_0 1 / expected: US0_0 1 │
00:08:20 verbose #26228 > │ │
00:08:20 verbose #26229 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:20 verbose #26230 >
00:08:20 verbose #26231 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:20 verbose #26232 > //// test
00:08:20 verbose #26233 >
00:08:20 verbose #26234 > inl retry_fn_test = mut 0i32
00:08:20 verbose #26235 > fun () =>
00:08:20 verbose #26236 > if *retry_fn_test >= 2
00:08:20 verbose #26237 > then *retry_fn_test
00:08:20 verbose #26238 > else
00:08:20 verbose #26239 > retry_fn_test <- *retry_fn_test + 1
00:08:20 verbose #26240 > failwith "test"
00:08:20 verbose #26241 > |> retry_fn 3i32
00:08:20 verbose #26242 > |> _assert_eq (Some 2i32)
00:08:20 verbose #26243 > 00:08:19 debug #394 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a4f3b1d841389dcc7e2cac0a833f5291c63a939ffc06fc04a78573e477ec0c13/main.spi
00:08:20 verbose #26244 >
00:08:20 verbose #26245 > ╭─[ 867.78ms - stdout ]────────────────────────────────────────────────────────╮
00:08:20 verbose #26246 > │ module State = let mutable trace_state = None │
00:08:20 verbose #26247 > │ type Mut0 = {mutable l0 : int32} │
00:08:20 verbose #26248 > │ and [<Struct>] US0 = │
00:08:20 verbose #26249 > │ | US0_0 of f0_0 : int32 │
00:08:20 verbose #26250 > │ | US0_1 │
00:08:20 verbose #26251 > │ and [<Struct>] US1 = │
00:08:20 verbose #26252 > │ | US1_0 of f0_0 : US0 │
00:08:20 verbose #26253 > │ | US1_1 │
00:08:20 verbose #26254 > │ and [<Struct>] US2 = │
00:08:20 verbose #26255 > │ | US2_0 │
00:08:20 verbose #26256 > │ | US2_1 │
00:08:20 verbose #26257 > │ | US2_2 │
00:08:20 verbose #26258 > │ | US2_3 │
00:08:20 verbose #26259 > │ | US2_4 │
00:08:20 verbose #26260 > │ and Mut1 = {mutable l0 : int64} │
00:08:20 verbose #26261 > │ and Mut2 = {mutable l0 : bool} │
00:08:20 verbose #26262 > │ and Mut3 = {mutable l0 : US2} │
00:08:20 verbose #26263 > │ and Mut4 = {mutable l0 : (string -> unit)} │
00:08:20 verbose #26264 > │ and [<Struct>] US3 = │
00:08:20 verbose #26265 > │ | US3_0 of f0_0 : int64 │
00:08:20 verbose #26266 > │ | US3_1 │
00:08:20 verbose #26267 > │ and [<Struct>] US4 = │
00:08:20 verbose #26268 > │ | US4_0 of f0_0 : int64 │
00:08:20 verbose #26269 > │ | US4_1 │
00:08:20 verbose #26270 > │ let rec closure0 (v0 : Mut0, v1 : int32) () : US0 = │
00:08:20 verbose #26271 > │ let v2 : bool = v1 < 3 │
00:08:20 verbose #26272 > │ if v2 then │
00:08:20 verbose #26273 > │ let v3 : int32 = v0.l0 │
00:08:20 verbose #26274 > │ let v4 : bool = v3 >= 2 │
00:08:20 verbose #26275 > │ let v9 : int32 = │
00:08:21 verbose #26276 > │ if v4 then │
00:08:21 verbose #26277 > │ let v5 : int32 = v0.l0 │
00:08:21 verbose #26278 > │ v5 │
00:08:21 verbose #26279 > │ else │
00:08:21 verbose #26280 > │ let v6 : int32 = v0.l0 │
00:08:21 verbose #26281 > │ let v7 : int32 = v6 + 1 │
00:08:21 verbose #26282 > │ v0.l0 <- v7 │
00:08:21 verbose #26283 > │ failwith<int32> "test" │
00:08:21 verbose #26284 > │ US0_0(v9) │
00:08:21 verbose #26285 > │ else │
00:08:21 verbose #26286 > │ US0_1 │
00:08:21 verbose #26287 > │ and closure1 () (v0 : US0) : US1 = │
00:08:21 verbose #26288 > │ US1_0(v0) │
00:08:21 verbose #26289 > │ and closure3 () () : string = │
00:08:21 verbose #26290 > │ let v0 : string = "retry_fn" │
00:08:21 verbose #26291 > │ v0 │
00:08:21 verbose #26292 > │ and closure5 () () : string = │
00:08:21 verbose #26293 > │ let v0 : string = "" │
00:08:21 verbose #26294 > │ v0 │
00:08:21 verbose #26295 > │ and closure4 (v0 : int32, v1 : exn) () : string = │
00:08:21 verbose #26296 > │ let v2 : (unit -> string) = closure5() │
00:08:21 verbose #26297 > │ let v3 : string = $"retry: {v0} / ex: %A{v1} / {v2 ()}" │
00:08:21 verbose #26298 > │ v3 │
00:08:21 verbose #26299 > │ and closure8 () (v0 : string) : unit = │
00:08:21 verbose #26300 > │ () │
00:08:21 verbose #26301 > │ and method3 (v0 : int64 option) : int64 option = │
00:08:21 verbose #26302 > │ v0 │
00:08:21 verbose #26303 > │ and method4 (v0 : int64 option) : int64 option = │
00:08:21 verbose #26304 > │ v0 │
00:08:21 verbose #26305 > │ and closure7 () () : struct (Mut1 * Mut2 * Mut3 * int64 option * Mut4) = │
00:08:21 verbose #26306 > │ let v0 : Mut2 = {l0 = true} : Mut2 │
00:08:21 verbose #26307 > │ let v1 : Mut1 = {l0 = 0L} : Mut1 │
00:08:21 verbose #26308 > │ let v2 : US2 = US2_0 │
00:08:21 verbose #26309 > │ let v3 : Mut3 = {l0 = v2} : Mut3 │
00:08:21 verbose #26310 > │ let v4 : (string -> unit) = closure8() │
00:08:21 verbose #26311 > │ let v5 : Mut4 = {l0 = v4} : Mut4 │
00:08:21 verbose #26312 > │ let v6 : int64 option option = None │
00:08:21 verbose #26313 > │ let mutable _v6 = v6 │
00:08:21 verbose #26314 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:08:21 verbose #26315 > │ let v7 : string option = None │
00:08:21 verbose #26316 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:08:21 verbose #26317 > │ │
00:08:21 verbose #26318 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:21 verbose #26319 > │ │
00:08:21 verbose #26320 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:21 verbose #26321 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:08:21 verbose #26322 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:08:21 verbose #26323 > │ v10 │
00:08:21 verbose #26324 > │ #endif │
00:08:21 verbose #26325 > │ │
00:08:21 verbose #26326 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:21 verbose #26327 > │ let v11 : string = null |> unbox<string> │
00:08:21 verbose #26328 > │ v11 │
00:08:21 verbose #26329 > │ #endif │
00:08:21 verbose #26330 > │ │
00:08:21 verbose #26331 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:21 verbose #26332 > │ let v12 : string = null |> unbox<string> │
00:08:21 verbose #26333 > │ v12 │
00:08:21 verbose #26334 > │ #endif │
00:08:21 verbose #26335 > │ │
00:08:21 verbose #26336 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:21 verbose #26337 > │ let v13 : string = null |> unbox<string> │
00:08:21 verbose #26338 > │ v13 │
00:08:21 verbose #26339 > │ #endif │
00:08:21 verbose #26340 > │ │
00:08:21 verbose #26341 > │ #if FABLE_COMPILER_PYTHON │
00:08:21 verbose #26342 > │ let v14 : string = null |> unbox<string> │
00:08:21 verbose #26343 > │ v14 │
00:08:21 verbose #26344 > │ #endif │
00:08:21 verbose #26345 > │ │
00:08:21 verbose #26346 > │ #else │
00:08:21 verbose #26347 > │ let v15 : string = │
00:08:21 verbose #26348 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:08:21 verbose #26349 > │ v15 │
00:08:21 verbose #26350 > │ #endif │
00:08:21 verbose #26351 > │ |> fun x -> _v7 <- Some x │
00:08:21 verbose #26352 > │ let v16 : string = _v7.Value │
00:08:21 verbose #26353 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:08:21 verbose #26354 > │ let v19 : bool = v18 <> true │
00:08:21 verbose #26355 > │ let v25 : US3 = │
00:08:21 verbose #26356 > │ if v19 then │
00:08:21 verbose #26357 > │ let v20 : System.DateTime = System.DateTime.Now │
00:08:21 verbose #26358 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:08:21 verbose #26359 > │ let v22 : int64 = v21 v20 │
00:08:21 verbose #26360 > │ US3_0(v22) │
00:08:21 verbose #26361 > │ else │
00:08:21 verbose #26362 > │ US3_1 │
00:08:21 verbose #26363 > │ let v30 : int64 option = │
00:08:21 verbose #26364 > │ match v25 with │
00:08:21 verbose #26365 > │ | US3_1 -> (* None *) │
00:08:21 verbose #26366 > │ let v28 : int64 option = None │
00:08:21 verbose #26367 > │ v28 │
00:08:21 verbose #26368 > │ | US3_0(v26) -> (* Some *) │
00:08:21 verbose #26369 > │ let v27 : int64 option = Some v26 │
00:08:21 verbose #26370 > │ v27 │
00:08:21 verbose #26371 > │ let v31 : int64 option = method3(v30) │
00:08:21 verbose #26372 > │ v31 │
00:08:21 verbose #26373 > │ #else │
00:08:21 verbose #26374 > │ let v32 : int64 option = None │
00:08:21 verbose #26375 > │ let v33 : int64 option = method4(v32) │
00:08:21 verbose #26376 > │ v33 │
00:08:21 verbose #26377 > │ #endif │
00:08:21 verbose #26378 > │ |> fun x -> _v6 <- Some x │
00:08:21 verbose #26379 > │ let v34 : int64 option = _v6.Value │
00:08:21 verbose #26380 > │ struct (v1, v0, v3, v34, v5) │
00:08:21 verbose #26381 > │ and closure9 () (v0 : int64) : US4 = │
00:08:21 verbose #26382 > │ US4_0(v0) │
00:08:21 verbose #26383 > │ and method5 () : (int64 -> US4) = │
00:08:21 verbose #26384 > │ closure9() │
00:08:21 verbose #26385 > │ and method6 () : string = │
00:08:21 verbose #26386 > │ let v0 : string = "" │
00:08:21 verbose #26387 > │ v0 │
00:08:21 verbose #26388 > │ and closure6 (v0 : US2, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:08:21 verbose #26389 > │ string = │
00:08:21 verbose #26390 > │ let v3 : (unit -> struct (Mut1 * Mut2 * Mut3 * int64 option * Mut4)) = │
00:08:21 verbose #26391 > │ closure7() │
00:08:21 verbose #26392 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:08:21 verbose #26393 > │ let struct (v4 : Mut1, v5 : Mut2, v6 : Mut3, v7 : int64 option, v8 : │
00:08:21 verbose #26394 > │ Mut4) = State.trace_state.Value │
00:08:21 verbose #26395 > │ let v9 : string option = None │
00:08:21 verbose #26396 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:08:21 verbose #26397 > │ │
00:08:21 verbose #26398 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:21 verbose #26399 > │ │
00:08:21 verbose #26400 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:21 verbose #26401 > │ let v11 : (int64 -> US4) = method5() │
00:08:21 verbose #26402 > │ let v12 : US4 = US4_1 │
00:08:21 verbose #26403 > │ let v13 : US4 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:08:21 verbose #26404 > │ let v31 : System.DateTime = │
00:08:21 verbose #26405 > │ match v13 with │
00:08:21 verbose #26406 > │ | US4_1 -> (* None *) │
00:08:21 verbose #26407 > │ let v29 : System.DateTime = System.DateTime.Now │
00:08:21 verbose #26408 > │ v29 │
00:08:21 verbose #26409 > │ | US4_0(v14) -> (* Some *) │
00:08:21 verbose #26410 > │ let v15 : System.DateTime = System.DateTime.Now │
00:08:21 verbose #26411 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:08:21 verbose #26412 > │ let v17 : int64 = v16 v15 │
00:08:21 verbose #26413 > │ let v18 : int64 = v17 - v14 │
00:08:21 verbose #26414 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:08:21 verbose #26415 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:08:21 verbose #26416 > │ let v21 : int32 = v20 v19 │
00:08:21 verbose #26417 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:08:21 verbose #26418 > │ let v23 : int32 = v22 v19 │
00:08:21 verbose #26419 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:08:21 verbose #26420 > │ let v25 : int32 = v24 v19 │
00:08:21 verbose #26421 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:08:21 verbose #26422 > │ let v27 : int32 = v26 v19 │
00:08:21 verbose #26423 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:08:21 verbose #26424 > │ v25, v27) │
00:08:21 verbose #26425 > │ v28 │
00:08:21 verbose #26426 > │ let v32 : string = "hh:mm:ss" │
00:08:21 verbose #26427 > │ let v33 : string = v31.ToString v32 │
00:08:21 verbose #26428 > │ v33 │
00:08:21 verbose #26429 > │ #endif │
00:08:21 verbose #26430 > │ │
00:08:21 verbose #26431 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:21 verbose #26432 > │ let v34 : string = method6() │
00:08:21 verbose #26433 > │ v34 │
00:08:21 verbose #26434 > │ #endif │
00:08:21 verbose #26435 > │ │
00:08:21 verbose #26436 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:21 verbose #26437 > │ let v35 : string = method6() │
00:08:21 verbose #26438 > │ v35 │
00:08:21 verbose #26439 > │ #endif │
00:08:21 verbose #26440 > │ │
00:08:21 verbose #26441 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:21 verbose #26442 > │ let v36 : string = method6() │
00:08:21 verbose #26443 > │ v36 │
00:08:21 verbose #26444 > │ #endif │
00:08:21 verbose #26445 > │ │
00:08:21 verbose #26446 > │ #if FABLE_COMPILER_PYTHON │
00:08:21 verbose #26447 > │ let v37 : string = method6() │
00:08:21 verbose #26448 > │ v37 │
00:08:21 verbose #26449 > │ #endif │
00:08:21 verbose #26450 > │ │
00:08:21 verbose #26451 > │ #else │
00:08:21 verbose #26452 > │ let v38 : (int64 -> US4) = method5() │
00:08:21 verbose #26453 > │ let v39 : US4 = US4_1 │
00:08:21 verbose #26454 > │ let v40 : US4 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:08:21 verbose #26455 > │ let v58 : System.DateTime = │
00:08:21 verbose #26456 > │ match v40 with │
00:08:21 verbose #26457 > │ | US4_1 -> (* None *) │
00:08:21 verbose #26458 > │ let v56 : System.DateTime = System.DateTime.Now │
00:08:21 verbose #26459 > │ v56 │
00:08:21 verbose #26460 > │ | US4_0(v41) -> (* Some *) │
00:08:21 verbose #26461 > │ let v42 : System.DateTime = System.DateTime.Now │
00:08:21 verbose #26462 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:08:21 verbose #26463 > │ let v44 : int64 = v43 v42 │
00:08:21 verbose #26464 > │ let v45 : int64 = v44 - v41 │
00:08:21 verbose #26465 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:08:21 verbose #26466 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:08:21 verbose #26467 > │ let v48 : int32 = v47 v46 │
00:08:21 verbose #26468 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:08:21 verbose #26469 > │ let v50 : int32 = v49 v46 │
00:08:21 verbose #26470 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:08:21 verbose #26471 > │ let v52 : int32 = v51 v46 │
00:08:21 verbose #26472 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:08:21 verbose #26473 > │ let v54 : int32 = v53 v46 │
00:08:21 verbose #26474 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:08:21 verbose #26475 > │ v52, v54) │
00:08:21 verbose #26476 > │ v55 │
00:08:21 verbose #26477 > │ let v59 : string = "HH:mm:ss" │
00:08:21 verbose #26478 > │ let v60 : string = v58.ToString v59 │
00:08:21 verbose #26479 > │ v60 │
00:08:21 verbose #26480 > │ #endif │
00:08:21 verbose #26481 > │ |> fun x -> _v9 <- Some x │
00:08:21 verbose #26482 > │ let v61 : string = _v9.Value │
00:08:21 verbose #26483 > │ let v62 : int64 = v4.l0 │
00:08:21 verbose #26484 > │ let v72 : string = │
00:08:21 verbose #26485 > │ match v0 with │
00:08:21 verbose #26486 > │ | US2_4 -> (* Critical *) │
00:08:21 verbose #26487 > │ let v67 : string = "Critical" │
00:08:21 verbose #26488 > │ v67 │
00:08:21 verbose #26489 > │ | US2_1 -> (* Debug *) │
00:08:21 verbose #26490 > │ let v64 : string = "Debug" │
00:08:21 verbose #26491 > │ v64 │
00:08:21 verbose #26492 > │ | US2_2 -> (* Info *) │
00:08:21 verbose #26493 > │ let v65 : string = "Info" │
00:08:21 verbose #26494 > │ v65 │
00:08:21 verbose #26495 > │ | US2_0 -> (* Verbose *) │
00:08:21 verbose #26496 > │ let v63 : string = "Verbose" │
00:08:21 verbose #26497 > │ v63 │
00:08:21 verbose #26498 > │ | US2_3 -> (* Warning *) │
00:08:21 verbose #26499 > │ let v66 : string = "Warning" │
00:08:21 verbose #26500 > │ v66 │
00:08:21 verbose #26501 > │ let v73 : string = v72.ToLower () │
00:08:21 verbose #26502 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:08:21 verbose #26503 > │ let v75 : string option = None │
00:08:21 verbose #26504 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:08:21 verbose #26505 > │ │
00:08:21 verbose #26506 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:21 verbose #26507 > │ │
00:08:21 verbose #26508 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:21 verbose #26509 > │ let v91 : Ref<Str> = │
00:08:21 verbose #26510 > │ match v0 with │
00:08:21 verbose #26511 > │ | US2_4 -> (* Critical *) │
00:08:21 verbose #26512 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:08:21 verbose #26513 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:08:21 verbose #26514 > │ v86 │
00:08:21 verbose #26515 > │ | US2_1 -> (* Debug *) │
00:08:21 verbose #26516 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:08:21 verbose #26517 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:08:21 verbose #26518 > │ v80 │
00:08:21 verbose #26519 > │ | US2_2 -> (* Info *) │
00:08:21 verbose #26520 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:08:21 verbose #26521 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:08:21 verbose #26522 > │ v82 │
00:08:21 verbose #26523 > │ | US2_0 -> (* Verbose *) │
00:08:21 verbose #26524 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:08:21 verbose #26525 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:08:21 verbose #26526 > │ v78 │
00:08:21 verbose #26527 > │ | US2_3 -> (* Warning *) │
00:08:21 verbose #26528 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:08:21 verbose #26529 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:08:21 verbose #26530 > │ v84 │
00:08:21 verbose #26531 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:21 verbose #26532 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:08:21 verbose #26533 > │ let v94 : string = "inline_colorization::color_reset" │
00:08:21 verbose #26534 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:08:21 verbose #26535 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:08:21 verbose #26536 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:08:21 verbose #26537 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:08:21 verbose #26538 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:08:21 verbose #26539 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:08:21 verbose #26540 > │ v100 │
00:08:21 verbose #26541 > │ #endif │
00:08:21 verbose #26542 > │ │
00:08:21 verbose #26543 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:21 verbose #26544 > │ let v115 : Ref<Str> = │
00:08:21 verbose #26545 > │ match v0 with │
00:08:21 verbose #26546 > │ | US2_4 -> (* Critical *) │
00:08:21 verbose #26547 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:08:21 verbose #26548 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26549 > │ v109 │
00:08:21 verbose #26550 > │ v110 │
00:08:21 verbose #26551 > │ | US2_1 -> (* Debug *) │
00:08:21 verbose #26552 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:08:21 verbose #26553 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26554 > │ v103 │
00:08:21 verbose #26555 > │ v104 │
00:08:21 verbose #26556 > │ | US2_2 -> (* Info *) │
00:08:21 verbose #26557 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:08:21 verbose #26558 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26559 > │ v105 │
00:08:21 verbose #26560 > │ v106 │
00:08:21 verbose #26561 > │ | US2_0 -> (* Verbose *) │
00:08:21 verbose #26562 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:08:21 verbose #26563 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26564 > │ v101 │
00:08:21 verbose #26565 > │ v102 │
00:08:21 verbose #26566 > │ | US2_3 -> (* Warning *) │
00:08:21 verbose #26567 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:08:21 verbose #26568 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26569 > │ v107 │
00:08:21 verbose #26570 > │ v108 │
00:08:21 verbose #26571 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:21 verbose #26572 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:08:21 verbose #26573 > │ let v118 : string = "inline_colorization::color_reset" │
00:08:21 verbose #26574 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:08:21 verbose #26575 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:08:21 verbose #26576 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:08:21 verbose #26577 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26578 > │ v121 │
00:08:21 verbose #26579 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:08:21 verbose #26580 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:08:21 verbose #26581 > │ v124 │
00:08:21 verbose #26582 > │ #endif │
00:08:21 verbose #26583 > │ │
00:08:21 verbose #26584 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:21 verbose #26585 > │ let v139 : Ref<Str> = │
00:08:21 verbose #26586 > │ match v0 with │
00:08:21 verbose #26587 > │ | US2_4 -> (* Critical *) │
00:08:21 verbose #26588 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:08:21 verbose #26589 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26590 > │ v133 │
00:08:21 verbose #26591 > │ v134 │
00:08:21 verbose #26592 > │ | US2_1 -> (* Debug *) │
00:08:21 verbose #26593 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:08:21 verbose #26594 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26595 > │ v127 │
00:08:21 verbose #26596 > │ v128 │
00:08:21 verbose #26597 > │ | US2_2 -> (* Info *) │
00:08:21 verbose #26598 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:08:21 verbose #26599 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26600 > │ v129 │
00:08:21 verbose #26601 > │ v130 │
00:08:21 verbose #26602 > │ | US2_0 -> (* Verbose *) │
00:08:21 verbose #26603 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:08:21 verbose #26604 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26605 > │ v125 │
00:08:21 verbose #26606 > │ v126 │
00:08:21 verbose #26607 > │ | US2_3 -> (* Warning *) │
00:08:21 verbose #26608 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:08:21 verbose #26609 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26610 > │ v131 │
00:08:21 verbose #26611 > │ v132 │
00:08:21 verbose #26612 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:21 verbose #26613 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:08:21 verbose #26614 > │ let v142 : string = "inline_colorization::color_reset" │
00:08:21 verbose #26615 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:08:21 verbose #26616 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:08:21 verbose #26617 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:08:21 verbose #26618 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:08:21 verbose #26619 > │ v145 │
00:08:21 verbose #26620 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:08:21 verbose #26621 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:08:21 verbose #26622 > │ v148 │
00:08:21 verbose #26623 > │ #endif │
00:08:21 verbose #26624 > │ │
00:08:21 verbose #26625 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:21 verbose #26626 > │ v74 │
00:08:21 verbose #26627 > │ #endif │
00:08:21 verbose #26628 > │ │
00:08:21 verbose #26629 > │ #if FABLE_COMPILER_PYTHON │
00:08:21 verbose #26630 > │ v74 │
00:08:21 verbose #26631 > │ #endif │
00:08:21 verbose #26632 > │ │
00:08:21 verbose #26633 > │ #else │
00:08:21 verbose #26634 > │ v74 │
00:08:21 verbose #26635 > │ #endif │
00:08:21 verbose #26636 > │ |> fun x -> _v75 <- Some x │
00:08:21 verbose #26637 > │ let v149 : string = _v75.Value │
00:08:21 verbose #26638 > │ let v150 : string = v1 () │
00:08:21 verbose #26639 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:08:21 verbose #26640 > │ let v152 : (char []) = [||] │
00:08:21 verbose #26641 > │ let v153 : string = v151.TrimStart v152 │
00:08:21 verbose #26642 > │ let v154 : (char []) = [|' '; '/'|] │
00:08:21 verbose #26643 > │ let v155 : string = v153.TrimEnd v154 │
00:08:21 verbose #26644 > │ v155 │
00:08:21 verbose #26645 > │ and method7 (v0 : US2, v1 : (unit -> string)) : unit = │
00:08:21 verbose #26646 > │ let v2 : (unit -> struct (Mut1 * Mut2 * Mut3 * int64 option * Mut4)) = │
00:08:21 verbose #26647 > │ closure7() │
00:08:21 verbose #26648 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:08:21 verbose #26649 > │ let struct (v3 : Mut1, v4 : Mut2, v5 : Mut3, v6 : int64 option, v7 : │
00:08:21 verbose #26650 > │ Mut4) = State.trace_state.Value │
00:08:21 verbose #26651 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:08:21 verbose #26652 > │ let struct (v8 : Mut1, v9 : Mut2, v10 : Mut3, v11 : int64 option, v12 : │
00:08:21 verbose #26653 > │ Mut4) = State.trace_state.Value │
00:08:21 verbose #26654 > │ let v13 : US2 = v10.l0 │
00:08:21 verbose #26655 > │ let v14 : bool = v9.l0 │
00:08:21 verbose #26656 > │ let v15 : bool = v14 = false │
00:08:21 verbose #26657 > │ let v19 : bool = │
00:08:21 verbose #26658 > │ if v15 then │
00:08:21 verbose #26659 > │ false │
00:08:21 verbose #26660 > │ else │
00:08:21 verbose #26661 > │ let v16 : int32 = [ US2_0, 0; US2_1, 1; US2_2, 2; US2_3, 3; │
00:08:21 verbose #26662 > │ US2_4, 4 ] |> Map |> Map.find v0 │
00:08:21 verbose #26663 > │ let v17 : int32 = [ US2_0, 0; US2_1, 1; US2_2, 2; US2_3, 3; │
00:08:21 verbose #26664 > │ US2_4, 4 ] |> Map |> Map.find v13 │
00:08:21 verbose #26665 > │ let v18 : bool = v16 >= v17 │
00:08:21 verbose #26666 > │ v18 │
00:08:21 verbose #26667 > │ if v19 then │
00:08:21 verbose #26668 > │ let v20 : int64 = v3.l0 │
00:08:21 verbose #26669 > │ let v21 : int64 = v20 + 1L │
00:08:21 verbose #26670 > │ v3.l0 <- v21 │
00:08:21 verbose #26671 > │ let v22 : string = $"%s{v1 ()}" │
00:08:21 verbose #26672 > │ let v23 : unit option = None │
00:08:21 verbose #26673 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:08:21 verbose #26674 > │ │
00:08:21 verbose #26675 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:21 verbose #26676 > │ │
00:08:21 verbose #26677 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:21 verbose #26678 > │ let v25 : string = @"println!(""{}"", $0)" │
00:08:21 verbose #26679 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:08:21 verbose #26680 > │ () │
00:08:21 verbose #26681 > │ #endif │
00:08:21 verbose #26682 > │ │
00:08:21 verbose #26683 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:21 verbose #26684 > │ let v26 : string = @"println!(""{}"", $0)" │
00:08:21 verbose #26685 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:08:21 verbose #26686 > │ () │
00:08:21 verbose #26687 > │ #endif │
00:08:21 verbose #26688 > │ │
00:08:21 verbose #26689 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:21 verbose #26690 > │ let v27 : string = @"println!(""{}"", $0)" │
00:08:21 verbose #26691 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:08:21 verbose #26692 > │ () │
00:08:21 verbose #26693 > │ #endif │
00:08:21 verbose #26694 > │ │
00:08:21 verbose #26695 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:21 verbose #26696 > │ System.Console.WriteLine v22 │
00:08:21 verbose #26697 > │ () │
00:08:21 verbose #26698 > │ #endif │
00:08:21 verbose #26699 > │ │
00:08:21 verbose #26700 > │ #if FABLE_COMPILER_PYTHON │
00:08:21 verbose #26701 > │ System.Console.WriteLine v22 │
00:08:21 verbose #26702 > │ () │
00:08:21 verbose #26703 > │ #endif │
00:08:21 verbose #26704 > │ │
00:08:21 verbose #26705 > │ #else │
00:08:21 verbose #26706 > │ System.Console.WriteLine v22 │
00:08:21 verbose #26707 > │ () │
00:08:21 verbose #26708 > │ #endif │
00:08:21 verbose #26709 > │ |> fun x -> _v23 <- Some x │
00:08:21 verbose #26710 > │ _v23.Value │
00:08:21 verbose #26711 > │ let v28 : (string -> unit) = v7.l0 │
00:08:21 verbose #26712 > │ v28 v22 │
00:08:21 verbose #26713 > │ and method2 (v0 : US2, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:08:21 verbose #26714 > │ = │
00:08:21 verbose #26715 > │ let v3 : (unit -> string) = closure6(v0, v1, v2) │
00:08:21 verbose #26716 > │ method7(v0, v3) │
00:08:21 verbose #26717 > │ and closure2 (v0 : int32) (v1 : exn) : US1 = │
00:08:21 verbose #26718 > │ let v2 : US2 = US2_3 │
00:08:21 verbose #26719 > │ let v3 : (unit -> string) = closure3() │
00:08:21 verbose #26720 > │ let v4 : (unit -> string) = closure4(v0, v1) │
00:08:21 verbose #26721 > │ method2(v2, v3, v4) │
00:08:21 verbose #26722 > │ let v5 : unit option = None │
00:08:21 verbose #26723 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:08:21 verbose #26724 > │ │
00:08:21 verbose #26725 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:21 verbose #26726 > │ │
00:08:21 verbose #26727 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:21 verbose #26728 > │ () │
00:08:21 verbose #26729 > │ #endif │
00:08:21 verbose #26730 > │ │
00:08:21 verbose #26731 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:21 verbose #26732 > │ () │
00:08:21 verbose #26733 > │ #endif │
00:08:21 verbose #26734 > │ │
00:08:21 verbose #26735 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:21 verbose #26736 > │ () │
00:08:21 verbose #26737 > │ #endif │
00:08:21 verbose #26738 > │ │
00:08:21 verbose #26739 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:21 verbose #26740 > │ () │
00:08:21 verbose #26741 > │ #endif │
00:08:21 verbose #26742 > │ │
00:08:21 verbose #26743 > │ #if FABLE_COMPILER_PYTHON │
00:08:21 verbose #26744 > │ () │
00:08:21 verbose #26745 > │ #endif │
00:08:21 verbose #26746 > │ │
00:08:21 verbose #26747 > │ #else │
00:08:21 verbose #26748 > │ let v7 : (int32 -> unit) = System.Threading.Thread.Sleep │
00:08:21 verbose #26749 > │ v7 1 │
00:08:21 verbose #26750 > │ () │
00:08:21 verbose #26751 > │ #endif │
00:08:21 verbose #26752 > │ |> fun x -> _v5 <- Some x │
00:08:21 verbose #26753 > │ _v5.Value │
00:08:21 verbose #26754 > │ US1_1 │
00:08:21 verbose #26755 > │ and method1 (v0 : Mut0, v1 : int32) : US0 = │
00:08:21 verbose #26756 > │ let v2 : (unit -> US0) = closure0(v0, v1) │
00:08:21 verbose #26757 > │ let v3 : (US0 -> US1) = closure1() │
00:08:21 verbose #26758 > │ let v4 : (exn -> US1) = closure2(v1) │
00:08:21 verbose #26759 > │ let v5 : US1 = try v2 () |> v3 with ex -> v4 ex │
00:08:21 verbose #26760 > │ match v5 with │
00:08:21 verbose #26761 > │ | US1_1 -> (* None *) │
00:08:21 verbose #26762 > │ let v7 : int32 = v1 + 1 │
00:08:21 verbose #26763 > │ method1(v0, v7) │
00:08:21 verbose #26764 > │ | US1_0(v6) -> (* Some *) │
00:08:21 verbose #26765 > │ v6 │
00:08:21 verbose #26766 > │ and method8 (v0 : bool) : bool = │
00:08:21 verbose #26767 > │ v0 │
00:08:21 verbose #26768 > │ and method0 () : unit = │
00:08:21 verbose #26769 > │ let v0 : Mut0 = {l0 = 0} : Mut0 │
00:08:21 verbose #26770 > │ let v1 : int32 = 0 │
00:08:21 verbose #26771 > │ let v2 : US0 = method1(v0, v1) │
00:08:21 verbose #26772 > │ let v6 : bool = │
00:08:21 verbose #26773 > │ match v2 with │
00:08:21 verbose #26774 > │ | US0_0(v4) -> (* Some *) │
00:08:21 verbose #26775 > │ let v5 : bool = v4 = 2 │
00:08:21 verbose #26776 > │ v5 │
00:08:21 verbose #26777 > │ | _ -> │
00:08:21 verbose #26778 > │ false │
00:08:21 verbose #26779 > │ let v8 : bool = │
00:08:21 verbose #26780 > │ if v6 then │
00:08:21 verbose #26781 > │ true │
00:08:21 verbose #26782 > │ else │
00:08:21 verbose #26783 > │ method8(v6) │
00:08:21 verbose #26784 > │ let v9 : string = "assert_eq" │
00:08:21 verbose #26785 > │ let v10 : US0 = US0_0(2) │
00:08:21 verbose #26786 > │ let v11 : string = $"{v9} / actual: %A{v2} / expected: %A{v10}" │
00:08:21 verbose #26787 > │ System.Console.WriteLine v11 │
00:08:21 verbose #26788 > │ let v12 : bool = v8 = false │
00:08:21 verbose #26789 > │ if v12 then │
00:08:21 verbose #26790 > │ failwith<unit> v11 │
00:08:21 verbose #26791 > │ method0() │
00:08:21 verbose #26792 > │ │
00:08:21 verbose #26793 > │ 00:00:00 warning #1 retry_fn / retry: 0 / ex: System.Exception: test │
00:08:21 verbose #26794 > │ at FSI_0042.closure0(Mut0 v0, Int32 v1, Unit unitVar2) │
00:08:21 verbose #26795 > │ at FSI_0042.method1(Mut0 v0, Int32 v1) │
00:08:21 verbose #26796 > │ 00:00:00 warning #2 retry_fn / retry: 1 / ex: System.Exception: test │
00:08:21 verbose #26797 > │ at FSI_0042.closure0(Mut0 v0, Int32 v1, Unit unitVar2) │
00:08:21 verbose #26798 > │ at FSI_0042.method1(Mut0 v0, Int32 v1) │
00:08:21 verbose #26799 > │ assert_eq / actual: US0_0 2 / expected: US0_0 2 │
00:08:21 verbose #26800 > │ │
00:08:21 verbose #26801 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:21 verbose #26802 >
00:08:21 verbose #26803 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:21 verbose #26804 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:21 verbose #26805 > │ ## main │
00:08:21 verbose #26806 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:21 verbose #26807 >
00:08:21 verbose #26808 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:21 verbose #26809 > inl main () =
00:08:21 verbose #26810 > types ()
00:08:21 verbose #26811 > init_trace_state ()
00:08:21 verbose #26812 > inl new_disposable x : _ () = new_disposable x
00:08:21 verbose #26813 > $"let new_disposable x = !new_disposable x" : ()
00:08:21 verbose #26814 >
00:08:21 verbose #26815 > inl retry_fn (r : i32) (x : () -> _) : optionm'.option' () = retry_fn r x |>
00:08:21 verbose #26816 > optionm'.box
00:08:21 verbose #26817 > $"let retry_fn x = !retry_fn x" : ()
00:08:21 verbose #26818 > inl memoize (fn : () -> ()) : () -> () = memoize fn
00:08:21 verbose #26819 > $"let memoize x = !memoize x" : ()
00:08:21 verbose #26820 > 00:08:20 debug #395 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1b264951b814c421b05ca540bb93f12048b8bc2d27ea99a1d2a02a0a35e27f47/main.spi
00:08:22 verbose #26821 >
00:08:22 verbose #26822 > ╭─[ 888.74ms - stdout ]────────────────────────────────────────────────────────╮
00:08:22 verbose #26823 > │ #if FABLE_COMPILER │
00:08:22 verbose #26824 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:08:22 verbose #26825 > │ #endif │
00:08:22 verbose #26826 > │ type Func0<'T> = class end │
00:08:22 verbose #26827 > │ #if FABLE_COMPILER │
00:08:22 verbose #26828 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:08:22 verbose #26829 > │ #endif │
00:08:22 verbose #26830 > │ type Func0<'T, 'U> = class end │
00:08:22 verbose #26831 > │ #if FABLE_COMPILER │
00:08:22 verbose #26832 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:08:22 verbose #26833 > │ #endif │
00:08:22 verbose #26834 > │ type Box<'T> = class end │
00:08:22 verbose #26835 > │ #if FABLE_COMPILER │
00:08:22 verbose #26836 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:08:22 verbose #26837 > │ #endif │
00:08:22 verbose #26838 > │ type Dyn<'T> = class end │
00:08:22 verbose #26839 > │ #if FABLE_COMPILER │
00:08:22 verbose #26840 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:08:22 verbose #26841 > │ #endif │
00:08:22 verbose #26842 > │ type Send<'T> = class end │
00:08:22 verbose #26843 > │ #if FABLE_COMPILER │
00:08:22 verbose #26844 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:08:22 verbose #26845 > │ #endif │
00:08:22 verbose #26846 > │ type Fn<'T> = class end │
00:08:22 verbose #26847 > │ #if FABLE_COMPILER │
00:08:22 verbose #26848 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:08:22 verbose #26849 > │ #endif │
00:08:22 verbose #26850 > │ type FnUnit = class end │
00:08:22 verbose #26851 > │ #if FABLE_COMPILER │
00:08:22 verbose #26852 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:08:22 verbose #26853 > │ #endif │
00:08:22 verbose #26854 > │ type FnOnce<'T> = class end │
00:08:22 verbose #26855 > │ #if FABLE_COMPILER │
00:08:22 verbose #26856 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:08:22 verbose #26857 > │ #endif │
00:08:22 verbose #26858 > │ type ActionFn<'T> = class end │
00:08:22 verbose #26859 > │ #if FABLE_COMPILER │
00:08:22 verbose #26860 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:08:22 verbose #26861 > │ #endif │
00:08:22 verbose #26862 > │ type ActionFn2<'T, 'U> = class end │
00:08:22 verbose #26863 > │ #if FABLE_COMPILER │
00:08:22 verbose #26864 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:08:22 verbose #26865 > │ #endif │
00:08:22 verbose #26866 > │ type Impl<'T> = class end │
00:08:22 verbose #26867 > │ #if FABLE_COMPILER │
00:08:22 verbose #26868 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:08:22 verbose #26869 > │ #endif │
00:08:22 verbose #26870 > │ type Mut<'T> = class end │
00:08:22 verbose #26871 > │ #if FABLE_COMPILER │
00:08:22 verbose #26872 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:08:22 verbose #26873 > │ #endif │
00:08:22 verbose #26874 > │ type Ref<'T> = class end │
00:08:22 verbose #26875 > │ #if FABLE_COMPILER │
00:08:22 verbose #26876 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:08:22 verbose #26877 > │ #endif │
00:08:22 verbose #26878 > │ type StaticRef<'T> = class end │
00:08:22 verbose #26879 > │ #if FABLE_COMPILER │
00:08:22 verbose #26880 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:08:22 verbose #26881 > │ #endif │
00:08:22 verbose #26882 > │ type MutCell<'T> = class end │
00:08:22 verbose #26883 > │ #if FABLE_COMPILER │
00:08:22 verbose #26884 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:08:22 verbose #26885 > │ #endif │
00:08:22 verbose #26886 > │ type std_any_Any = class end │
00:08:22 verbose #26887 > │ #if FABLE_COMPILER │
00:08:22 verbose #26888 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:08:22 verbose #26889 > │ #endif │
00:08:22 verbose #26890 > │ type std_borrow_Cow<'T> = class end │
00:08:22 verbose #26891 > │ #if FABLE_COMPILER │
00:08:22 verbose #26892 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:08:22 verbose #26893 > │ #endif │
00:08:22 verbose #26894 > │ type std_cell_RefCell<'T> = class end │
00:08:22 verbose #26895 > │ #if FABLE_COMPILER │
00:08:22 verbose #26896 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:08:22 verbose #26897 > │ #endif │
00:08:22 verbose #26898 > │ type std_pin_Pin<'T> = class end │
00:08:22 verbose #26899 > │ #if FABLE_COMPILER │
00:08:22 verbose #26900 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:08:22 verbose #26901 > │ #endif │
00:08:22 verbose #26902 > │ type std_rc_Rc<'T> = class end │
00:08:22 verbose #26903 > │ #if FABLE_COMPILER │
00:08:22 verbose #26904 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:08:22 verbose #26905 > │ #endif │
00:08:22 verbose #26906 > │ type std_rc_Weak<'T> = class end │
00:08:22 verbose #26907 > │ #if FABLE_COMPILER │
00:08:22 verbose #26908 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:08:22 verbose #26909 > │ #endif │
00:08:22 verbose #26910 > │ type Str = class end │
00:08:22 verbose #26911 > │ #if FABLE_COMPILER │
00:08:22 verbose #26912 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:08:22 verbose #26913 > │ #endif │
00:08:22 verbose #26914 > │ type base64_DecodeError = class end │
00:08:22 verbose #26915 > │ #if FABLE_COMPILER │
00:08:22 verbose #26916 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:08:22 verbose #26917 > │ #endif │
00:08:22 verbose #26918 > │ type borsh_io_Error = class end │
00:08:22 verbose #26919 > │ #if FABLE_COMPILER │
00:08:22 verbose #26920 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:08:22 verbose #26921 > │ #endif │
00:08:22 verbose #26922 > │ type js_sys_JsString = class end │
00:08:22 verbose #26923 > │ #if FABLE_COMPILER │
00:08:22 verbose #26924 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:08:22 verbose #26925 > │ #endif │
00:08:22 verbose #26926 > │ type serde_json_Error = class end │
00:08:22 verbose #26927 > │ #if FABLE_COMPILER │
00:08:22 verbose #26928 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:08:22 verbose #26929 > │ #endif │
00:08:22 verbose #26930 > │ type serde_json_Value = class end │
00:08:22 verbose #26931 > │ #if FABLE_COMPILER │
00:08:22 verbose #26932 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:08:22 verbose #26933 > │ #endif │
00:08:22 verbose #26934 > │ type serde_wasm_bindgen_Error = class end │
00:08:22 verbose #26935 > │ #if FABLE_COMPILER │
00:08:22 verbose #26936 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:08:22 verbose #26937 > │ #endif │
00:08:22 verbose #26938 > │ type std_ffi_OsStr = class end │
00:08:22 verbose #26939 > │ #if FABLE_COMPILER │
00:08:22 verbose #26940 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:08:22 verbose #26941 > │ #endif │
00:08:22 verbose #26942 > │ type std_ffi_OsString = class end │
00:08:22 verbose #26943 > │ #if FABLE_COMPILER │
00:08:22 verbose #26944 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:08:22 verbose #26945 > │ #endif │
00:08:22 verbose #26946 > │ type std_fmt_Display<'T> = class end │
00:08:22 verbose #26947 > │ #if FABLE_COMPILER │
00:08:22 verbose #26948 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:08:22 verbose #26949 > │ #endif │
00:08:22 verbose #26950 > │ type std_str_Utf8Error = class end │
00:08:22 verbose #26951 > │ #if FABLE_COMPILER │
00:08:22 verbose #26952 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:08:22 verbose #26953 > │ #endif │
00:08:22 verbose #26954 > │ type std_string_FromUtf8Error = class end │
00:08:22 verbose #26955 > │ #if FABLE_COMPILER │
00:08:22 verbose #26956 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:08:22 verbose #26957 > │ #endif │
00:08:22 verbose #26958 > │ type std_string_String = class end │
00:08:22 verbose #26959 > │ #if FABLE_COMPILER │
00:08:22 verbose #26960 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:08:22 verbose #26961 > │ #endif │
00:08:22 verbose #26962 > │ type std_slice_Windows<'T> = class end │
00:08:22 verbose #26963 > │ module State = let mutable trace_state = None │
00:08:22 verbose #26964 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:08:22 verbose #26965 > │ member _.Dispose () = f () │
00:08:22 verbose #26966 > │ type Mut0 = {mutable l0 : int64} │
00:08:22 verbose #26967 > │ and Mut1 = {mutable l0 : bool} │
00:08:22 verbose #26968 > │ and [<Struct>] US0 = │
00:08:22 verbose #26969 > │ | US0_0 │
00:08:22 verbose #26970 > │ | US0_1 │
00:08:22 verbose #26971 > │ | US0_2 │
00:08:22 verbose #26972 > │ | US0_3 │
00:08:22 verbose #26973 > │ | US0_4 │
00:08:22 verbose #26974 > │ and Mut2 = {mutable l0 : US0} │
00:08:22 verbose #26975 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:08:22 verbose #26976 > │ and [<Struct>] US1 = │
00:08:22 verbose #26977 > │ | US1_0 of f0_0 : int64 │
00:08:22 verbose #26978 > │ | US1_1 │
00:08:22 verbose #26979 > │ and [<Struct>] US2 = │
00:08:22 verbose #26980 > │ | US2_0 │
00:08:22 verbose #26981 > │ | US2_1 │
00:08:22 verbose #26982 > │ and [<Struct>] US3 = │
00:08:22 verbose #26983 > │ | US3_0 of f0_0 : US2 │
00:08:22 verbose #26984 > │ | US3_1 │
00:08:22 verbose #26985 > │ and [<Struct>] US4 = │
00:08:22 verbose #26986 > │ | US4_0 of f0_0 : int64 │
00:08:22 verbose #26987 > │ | US4_1 │
00:08:22 verbose #26988 > │ let rec closure1 () (v0 : string) : unit = │
00:08:22 verbose #26989 > │ () │
00:08:22 verbose #26990 > │ and method0 (v0 : int64 option) : int64 option = │
00:08:22 verbose #26991 > │ v0 │
00:08:22 verbose #26992 > │ and method1 (v0 : int64 option) : int64 option = │
00:08:22 verbose #26993 > │ v0 │
00:08:22 verbose #26994 > │ and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:08:22 verbose #26995 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:08:22 verbose #26996 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:08:22 verbose #26997 > │ let v2 : US0 = US0_0 │
00:08:22 verbose #26998 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:08:22 verbose #26999 > │ let v4 : (string -> unit) = closure1() │
00:08:22 verbose #27000 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:08:22 verbose #27001 > │ let v6 : int64 option option = None │
00:08:22 verbose #27002 > │ let mutable _v6 = v6 │
00:08:22 verbose #27003 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:08:22 verbose #27004 > │ let v7 : string option = None │
00:08:22 verbose #27005 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:08:22 verbose #27006 > │ │
00:08:22 verbose #27007 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:22 verbose #27008 > │ │
00:08:22 verbose #27009 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:22 verbose #27010 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:08:22 verbose #27011 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:08:22 verbose #27012 > │ v10 │
00:08:22 verbose #27013 > │ #endif │
00:08:22 verbose #27014 > │ │
00:08:22 verbose #27015 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:22 verbose #27016 > │ let v11 : string = null |> unbox<string> │
00:08:22 verbose #27017 > │ v11 │
00:08:22 verbose #27018 > │ #endif │
00:08:22 verbose #27019 > │ │
00:08:22 verbose #27020 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:22 verbose #27021 > │ let v12 : string = null |> unbox<string> │
00:08:22 verbose #27022 > │ v12 │
00:08:22 verbose #27023 > │ #endif │
00:08:22 verbose #27024 > │ │
00:08:22 verbose #27025 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:22 verbose #27026 > │ let v13 : string = null |> unbox<string> │
00:08:22 verbose #27027 > │ v13 │
00:08:22 verbose #27028 > │ #endif │
00:08:22 verbose #27029 > │ │
00:08:22 verbose #27030 > │ #if FABLE_COMPILER_PYTHON │
00:08:22 verbose #27031 > │ let v14 : string = null |> unbox<string> │
00:08:22 verbose #27032 > │ v14 │
00:08:22 verbose #27033 > │ #endif │
00:08:22 verbose #27034 > │ │
00:08:22 verbose #27035 > │ #else │
00:08:22 verbose #27036 > │ let v15 : string = │
00:08:22 verbose #27037 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:08:22 verbose #27038 > │ v15 │
00:08:22 verbose #27039 > │ #endif │
00:08:22 verbose #27040 > │ |> fun x -> _v7 <- Some x │
00:08:22 verbose #27041 > │ let v16 : string = _v7.Value │
00:08:22 verbose #27042 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:08:22 verbose #27043 > │ let v19 : bool = v18 <> true │
00:08:22 verbose #27044 > │ let v25 : US1 = │
00:08:22 verbose #27045 > │ if v19 then │
00:08:22 verbose #27046 > │ let v20 : System.DateTime = System.DateTime.Now │
00:08:22 verbose #27047 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:08:22 verbose #27048 > │ let v22 : int64 = v21 v20 │
00:08:22 verbose #27049 > │ US1_0(v22) │
00:08:22 verbose #27050 > │ else │
00:08:22 verbose #27051 > │ US1_1 │
00:08:22 verbose #27052 > │ let v30 : int64 option = │
00:08:22 verbose #27053 > │ match v25 with │
00:08:22 verbose #27054 > │ | US1_1 -> (* None *) │
00:08:22 verbose #27055 > │ let v28 : int64 option = None │
00:08:22 verbose #27056 > │ v28 │
00:08:22 verbose #27057 > │ | US1_0(v26) -> (* Some *) │
00:08:22 verbose #27058 > │ let v27 : int64 option = Some v26 │
00:08:22 verbose #27059 > │ v27 │
00:08:22 verbose #27060 > │ let v31 : int64 option = method0(v30) │
00:08:22 verbose #27061 > │ v31 │
00:08:22 verbose #27062 > │ #else │
00:08:22 verbose #27063 > │ let v32 : int64 option = None │
00:08:22 verbose #27064 > │ let v33 : int64 option = method1(v32) │
00:08:22 verbose #27065 > │ v33 │
00:08:22 verbose #27066 > │ #endif │
00:08:22 verbose #27067 > │ |> fun x -> _v6 <- Some x │
00:08:22 verbose #27068 > │ let v34 : int64 option = _v6.Value │
00:08:22 verbose #27069 > │ struct (v1, v0, v3, v34, v5) │
00:08:22 verbose #27070 > │ and method2 (v0 : (unit -> unit)) : (unit -> unit) = │
00:08:22 verbose #27071 > │ v0 │
00:08:22 verbose #27072 > │ and closure2 () (v0 : (unit -> unit)) : System.IDisposable = │
00:08:22 verbose #27073 > │ let v1 : System.IDisposable option = None │
00:08:22 verbose #27074 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:08:22 verbose #27075 > │ │
00:08:22 verbose #27076 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:22 verbose #27077 > │ │
00:08:22 verbose #27078 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:22 verbose #27079 > │ let v3 : System.IDisposable = new Disposable (fun () -> │
00:08:22 verbose #27080 > │ Fable.Core.RustInterop.emitRustExpr v0 "$0()" ) │
00:08:22 verbose #27081 > │ v3 │
00:08:22 verbose #27082 > │ #endif │
00:08:22 verbose #27083 > │ │
00:08:22 verbose #27084 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:22 verbose #27085 > │ let v4 : System.IDisposable = new Disposable (fun () -> │
00:08:22 verbose #27086 > │ Fable.Core.RustInterop.emitRustExpr v0 "$0()" ) │
00:08:22 verbose #27087 > │ v4 │
00:08:22 verbose #27088 > │ #endif │
00:08:22 verbose #27089 > │ │
00:08:22 verbose #27090 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:22 verbose #27091 > │ let v5 : System.IDisposable = new Disposable (fun () -> │
00:08:22 verbose #27092 > │ Fable.Core.RustInterop.emitRustExpr v0 "$0()" ) │
00:08:22 verbose #27093 > │ v5 │
00:08:22 verbose #27094 > │ #endif │
00:08:22 verbose #27095 > │ │
00:08:22 verbose #27096 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:22 verbose #27097 > │ let v6 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:22 verbose #27098 > │ v6 │
00:08:22 verbose #27099 > │ #endif │
00:08:22 verbose #27100 > │ │
00:08:22 verbose #27101 > │ #if FABLE_COMPILER_PYTHON │
00:08:22 verbose #27102 > │ let v7 : System.IDisposable = null |> unbox<System.IDisposable> │
00:08:22 verbose #27103 > │ v7 │
00:08:22 verbose #27104 > │ #endif │
00:08:22 verbose #27105 > │ │
00:08:22 verbose #27106 > │ #else │
00:08:22 verbose #27107 > │ let v8 : (unit -> unit) = method2(v0) │
00:08:22 verbose #27108 > │ let v9 : System.IDisposable = { new System.IDisposable with member │
00:08:22 verbose #27109 > │ _.Dispose () = v8 () } │
00:08:22 verbose #27110 > │ v9 │
00:08:22 verbose #27111 > │ #endif │
00:08:22 verbose #27112 > │ |> fun x -> _v1 <- Some x │
00:08:22 verbose #27113 > │ let v10 : System.IDisposable = _v1.Value │
00:08:22 verbose #27114 > │ v10 │
00:08:22 verbose #27115 > │ and closure5 (v0 : int32, v1 : (unit -> unit), v2 : int32) () : US2 = │
00:08:22 verbose #27116 > │ let v3 : bool = v2 < v0 │
00:08:22 verbose #27117 > │ if v3 then │
00:08:22 verbose #27118 > │ v1 () │
00:08:22 verbose #27119 > │ US2_0 │
00:08:22 verbose #27120 > │ else │
00:08:22 verbose #27121 > │ US2_1 │
00:08:22 verbose #27122 > │ and closure6 () (v0 : US2) : US3 = │
00:08:22 verbose #27123 > │ US3_0(v0) │
00:08:22 verbose #27124 > │ and closure8 () () : string = │
00:08:22 verbose #27125 > │ let v0 : string = "retry_fn" │
00:08:22 verbose #27126 > │ v0 │
00:08:22 verbose #27127 > │ and closure10 () () : string = │
00:08:22 verbose #27128 > │ let v0 : string = "" │
00:08:22 verbose #27129 > │ v0 │
00:08:22 verbose #27130 > │ and closure9 (v0 : int32, v1 : exn) () : string = │
00:08:22 verbose #27131 > │ let v2 : (unit -> string) = closure10() │
00:08:22 verbose #27132 > │ let v3 : string = $"retry: {v0} / ex: %A{v1} / {v2 ()}" │
00:08:22 verbose #27133 > │ v3 │
00:08:22 verbose #27134 > │ and closure12 () (v0 : int64) : US4 = │
00:08:22 verbose #27135 > │ US4_0(v0) │
00:08:22 verbose #27136 > │ and method5 () : (int64 -> US4) = │
00:08:22 verbose #27137 > │ closure12() │
00:08:22 verbose #27138 > │ and method6 () : string = │
00:08:22 verbose #27139 > │ let v0 : string = "" │
00:08:22 verbose #27140 > │ v0 │
00:08:22 verbose #27141 > │ and closure11 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:08:22 verbose #27142 > │ string = │
00:08:22 verbose #27143 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:08:22 verbose #27144 > │ closure0() │
00:08:22 verbose #27145 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:08:22 verbose #27146 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:08:22 verbose #27147 > │ Mut3) = State.trace_state.Value │
00:08:22 verbose #27148 > │ let v9 : string option = None │
00:08:22 verbose #27149 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:08:22 verbose #27150 > │ │
00:08:22 verbose #27151 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:22 verbose #27152 > │ │
00:08:22 verbose #27153 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:22 verbose #27154 > │ let v11 : (int64 -> US4) = method5() │
00:08:22 verbose #27155 > │ let v12 : US4 = US4_1 │
00:08:22 verbose #27156 > │ let v13 : US4 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:08:22 verbose #27157 > │ let v31 : System.DateTime = │
00:08:22 verbose #27158 > │ match v13 with │
00:08:22 verbose #27159 > │ | US4_1 -> (* None *) │
00:08:22 verbose #27160 > │ let v29 : System.DateTime = System.DateTime.Now │
00:08:22 verbose #27161 > │ v29 │
00:08:22 verbose #27162 > │ | US4_0(v14) -> (* Some *) │
00:08:22 verbose #27163 > │ let v15 : System.DateTime = System.DateTime.Now │
00:08:22 verbose #27164 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:08:22 verbose #27165 > │ let v17 : int64 = v16 v15 │
00:08:22 verbose #27166 > │ let v18 : int64 = v17 - v14 │
00:08:22 verbose #27167 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:08:22 verbose #27168 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:08:22 verbose #27169 > │ let v21 : int32 = v20 v19 │
00:08:22 verbose #27170 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:08:22 verbose #27171 > │ let v23 : int32 = v22 v19 │
00:08:22 verbose #27172 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:08:22 verbose #27173 > │ let v25 : int32 = v24 v19 │
00:08:22 verbose #27174 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:08:22 verbose #27175 > │ let v27 : int32 = v26 v19 │
00:08:22 verbose #27176 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:08:22 verbose #27177 > │ v25, v27) │
00:08:22 verbose #27178 > │ v28 │
00:08:22 verbose #27179 > │ let v32 : string = "hh:mm:ss" │
00:08:22 verbose #27180 > │ let v33 : string = v31.ToString v32 │
00:08:22 verbose #27181 > │ v33 │
00:08:22 verbose #27182 > │ #endif │
00:08:22 verbose #27183 > │ │
00:08:22 verbose #27184 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:22 verbose #27185 > │ let v34 : string = method6() │
00:08:22 verbose #27186 > │ v34 │
00:08:22 verbose #27187 > │ #endif │
00:08:22 verbose #27188 > │ │
00:08:22 verbose #27189 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:22 verbose #27190 > │ let v35 : string = method6() │
00:08:22 verbose #27191 > │ v35 │
00:08:22 verbose #27192 > │ #endif │
00:08:22 verbose #27193 > │ │
00:08:22 verbose #27194 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:22 verbose #27195 > │ let v36 : string = method6() │
00:08:22 verbose #27196 > │ v36 │
00:08:22 verbose #27197 > │ #endif │
00:08:22 verbose #27198 > │ │
00:08:22 verbose #27199 > │ #if FABLE_COMPILER_PYTHON │
00:08:22 verbose #27200 > │ let v37 : string = method6() │
00:08:22 verbose #27201 > │ v37 │
00:08:22 verbose #27202 > │ #endif │
00:08:22 verbose #27203 > │ │
00:08:22 verbose #27204 > │ #else │
00:08:22 verbose #27205 > │ let v38 : (int64 -> US4) = method5() │
00:08:22 verbose #27206 > │ let v39 : US4 = US4_1 │
00:08:22 verbose #27207 > │ let v40 : US4 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:08:22 verbose #27208 > │ let v58 : System.DateTime = │
00:08:22 verbose #27209 > │ match v40 with │
00:08:22 verbose #27210 > │ | US4_1 -> (* None *) │
00:08:22 verbose #27211 > │ let v56 : System.DateTime = System.DateTime.Now │
00:08:22 verbose #27212 > │ v56 │
00:08:22 verbose #27213 > │ | US4_0(v41) -> (* Some *) │
00:08:22 verbose #27214 > │ let v42 : System.DateTime = System.DateTime.Now │
00:08:22 verbose #27215 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:08:22 verbose #27216 > │ let v44 : int64 = v43 v42 │
00:08:22 verbose #27217 > │ let v45 : int64 = v44 - v41 │
00:08:22 verbose #27218 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:08:22 verbose #27219 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:08:22 verbose #27220 > │ let v48 : int32 = v47 v46 │
00:08:22 verbose #27221 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:08:22 verbose #27222 > │ let v50 : int32 = v49 v46 │
00:08:22 verbose #27223 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:08:22 verbose #27224 > │ let v52 : int32 = v51 v46 │
00:08:22 verbose #27225 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:08:22 verbose #27226 > │ let v54 : int32 = v53 v46 │
00:08:22 verbose #27227 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:08:22 verbose #27228 > │ v52, v54) │
00:08:22 verbose #27229 > │ v55 │
00:08:22 verbose #27230 > │ let v59 : string = "HH:mm:ss" │
00:08:22 verbose #27231 > │ let v60 : string = v58.ToString v59 │
00:08:22 verbose #27232 > │ v60 │
00:08:22 verbose #27233 > │ #endif │
00:08:22 verbose #27234 > │ |> fun x -> _v9 <- Some x │
00:08:22 verbose #27235 > │ let v61 : string = _v9.Value │
00:08:22 verbose #27236 > │ let v62 : int64 = v4.l0 │
00:08:22 verbose #27237 > │ let v72 : string = │
00:08:22 verbose #27238 > │ match v0 with │
00:08:22 verbose #27239 > │ | US0_4 -> (* Critical *) │
00:08:22 verbose #27240 > │ let v67 : string = "Critical" │
00:08:22 verbose #27241 > │ v67 │
00:08:22 verbose #27242 > │ | US0_1 -> (* Debug *) │
00:08:22 verbose #27243 > │ let v64 : string = "Debug" │
00:08:22 verbose #27244 > │ v64 │
00:08:22 verbose #27245 > │ | US0_2 -> (* Info *) │
00:08:22 verbose #27246 > │ let v65 : string = "Info" │
00:08:22 verbose #27247 > │ v65 │
00:08:22 verbose #27248 > │ | US0_0 -> (* Verbose *) │
00:08:22 verbose #27249 > │ let v63 : string = "Verbose" │
00:08:22 verbose #27250 > │ v63 │
00:08:22 verbose #27251 > │ | US0_3 -> (* Warning *) │
00:08:22 verbose #27252 > │ let v66 : string = "Warning" │
00:08:22 verbose #27253 > │ v66 │
00:08:22 verbose #27254 > │ let v73 : string = v72.ToLower () │
00:08:22 verbose #27255 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:08:22 verbose #27256 > │ let v75 : string option = None │
00:08:22 verbose #27257 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:08:22 verbose #27258 > │ │
00:08:22 verbose #27259 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:22 verbose #27260 > │ │
00:08:22 verbose #27261 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:22 verbose #27262 > │ let v91 : Ref<Str> = │
00:08:22 verbose #27263 > │ match v0 with │
00:08:22 verbose #27264 > │ | US0_4 -> (* Critical *) │
00:08:22 verbose #27265 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:08:22 verbose #27266 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:08:22 verbose #27267 > │ v86 │
00:08:22 verbose #27268 > │ | US0_1 -> (* Debug *) │
00:08:22 verbose #27269 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:08:22 verbose #27270 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:08:22 verbose #27271 > │ v80 │
00:08:22 verbose #27272 > │ | US0_2 -> (* Info *) │
00:08:22 verbose #27273 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:08:22 verbose #27274 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:08:22 verbose #27275 > │ v82 │
00:08:22 verbose #27276 > │ | US0_0 -> (* Verbose *) │
00:08:22 verbose #27277 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:08:22 verbose #27278 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:08:22 verbose #27279 > │ v78 │
00:08:22 verbose #27280 > │ | US0_3 -> (* Warning *) │
00:08:22 verbose #27281 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:08:22 verbose #27282 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:08:22 verbose #27283 > │ v84 │
00:08:22 verbose #27284 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:22 verbose #27285 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:08:22 verbose #27286 > │ let v94 : string = "inline_colorization::color_reset" │
00:08:22 verbose #27287 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:08:22 verbose #27288 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:08:22 verbose #27289 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:08:22 verbose #27290 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:08:22 verbose #27291 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:08:22 verbose #27292 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:08:22 verbose #27293 > │ v100 │
00:08:22 verbose #27294 > │ #endif │
00:08:22 verbose #27295 > │ │
00:08:22 verbose #27296 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:22 verbose #27297 > │ let v115 : Ref<Str> = │
00:08:22 verbose #27298 > │ match v0 with │
00:08:22 verbose #27299 > │ | US0_4 -> (* Critical *) │
00:08:22 verbose #27300 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:08:22 verbose #27301 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27302 > │ v109 │
00:08:22 verbose #27303 > │ v110 │
00:08:22 verbose #27304 > │ | US0_1 -> (* Debug *) │
00:08:22 verbose #27305 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:08:22 verbose #27306 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27307 > │ v103 │
00:08:22 verbose #27308 > │ v104 │
00:08:22 verbose #27309 > │ | US0_2 -> (* Info *) │
00:08:22 verbose #27310 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:08:22 verbose #27311 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27312 > │ v105 │
00:08:22 verbose #27313 > │ v106 │
00:08:22 verbose #27314 > │ | US0_0 -> (* Verbose *) │
00:08:22 verbose #27315 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:08:22 verbose #27316 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27317 > │ v101 │
00:08:22 verbose #27318 > │ v102 │
00:08:22 verbose #27319 > │ | US0_3 -> (* Warning *) │
00:08:22 verbose #27320 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:08:22 verbose #27321 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27322 > │ v107 │
00:08:22 verbose #27323 > │ v108 │
00:08:22 verbose #27324 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:22 verbose #27325 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:08:22 verbose #27326 > │ let v118 : string = "inline_colorization::color_reset" │
00:08:22 verbose #27327 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:08:22 verbose #27328 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:08:22 verbose #27329 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:08:22 verbose #27330 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27331 > │ v121 │
00:08:22 verbose #27332 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:08:22 verbose #27333 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:08:22 verbose #27334 > │ v124 │
00:08:22 verbose #27335 > │ #endif │
00:08:22 verbose #27336 > │ │
00:08:22 verbose #27337 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:22 verbose #27338 > │ let v139 : Ref<Str> = │
00:08:22 verbose #27339 > │ match v0 with │
00:08:22 verbose #27340 > │ | US0_4 -> (* Critical *) │
00:08:22 verbose #27341 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:08:22 verbose #27342 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27343 > │ v133 │
00:08:22 verbose #27344 > │ v134 │
00:08:22 verbose #27345 > │ | US0_1 -> (* Debug *) │
00:08:22 verbose #27346 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:08:22 verbose #27347 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27348 > │ v127 │
00:08:22 verbose #27349 > │ v128 │
00:08:22 verbose #27350 > │ | US0_2 -> (* Info *) │
00:08:22 verbose #27351 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:08:22 verbose #27352 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27353 > │ v129 │
00:08:22 verbose #27354 > │ v130 │
00:08:22 verbose #27355 > │ | US0_0 -> (* Verbose *) │
00:08:22 verbose #27356 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:08:22 verbose #27357 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27358 > │ v125 │
00:08:22 verbose #27359 > │ v126 │
00:08:22 verbose #27360 > │ | US0_3 -> (* Warning *) │
00:08:22 verbose #27361 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:08:22 verbose #27362 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27363 > │ v131 │
00:08:22 verbose #27364 > │ v132 │
00:08:22 verbose #27365 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:08:22 verbose #27366 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:08:22 verbose #27367 > │ let v142 : string = "inline_colorization::color_reset" │
00:08:22 verbose #27368 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:08:22 verbose #27369 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:08:22 verbose #27370 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:08:22 verbose #27371 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:08:22 verbose #27372 > │ v145 │
00:08:22 verbose #27373 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:08:22 verbose #27374 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:08:22 verbose #27375 > │ v148 │
00:08:22 verbose #27376 > │ #endif │
00:08:22 verbose #27377 > │ │
00:08:22 verbose #27378 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:22 verbose #27379 > │ v74 │
00:08:22 verbose #27380 > │ #endif │
00:08:22 verbose #27381 > │ │
00:08:22 verbose #27382 > │ #if FABLE_COMPILER_PYTHON │
00:08:22 verbose #27383 > │ v74 │
00:08:22 verbose #27384 > │ #endif │
00:08:22 verbose #27385 > │ │
00:08:22 verbose #27386 > │ #else │
00:08:22 verbose #27387 > │ v74 │
00:08:22 verbose #27388 > │ #endif │
00:08:22 verbose #27389 > │ |> fun x -> _v75 <- Some x │
00:08:22 verbose #27390 > │ let v149 : string = _v75.Value │
00:08:22 verbose #27391 > │ let v150 : string = v1 () │
00:08:22 verbose #27392 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:08:22 verbose #27393 > │ let v152 : (char []) = [||] │
00:08:22 verbose #27394 > │ let v153 : string = v151.TrimStart v152 │
00:08:22 verbose #27395 > │ let v154 : (char []) = [|' '; '/'|] │
00:08:22 verbose #27396 > │ let v155 : string = v153.TrimEnd v154 │
00:08:22 verbose #27397 > │ v155 │
00:08:22 verbose #27398 > │ and method7 (v0 : US0, v1 : (unit -> string)) : unit = │
00:08:22 verbose #27399 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:08:22 verbose #27400 > │ closure0() │
00:08:22 verbose #27401 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:08:22 verbose #27402 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:08:22 verbose #27403 > │ Mut3) = State.trace_state.Value │
00:08:22 verbose #27404 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:08:22 verbose #27405 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:08:22 verbose #27406 > │ Mut3) = State.trace_state.Value │
00:08:22 verbose #27407 > │ let v13 : US0 = v10.l0 │
00:08:22 verbose #27408 > │ let v14 : bool = v9.l0 │
00:08:22 verbose #27409 > │ let v15 : bool = v14 = false │
00:08:22 verbose #27410 > │ let v19 : bool = │
00:08:22 verbose #27411 > │ if v15 then │
00:08:22 verbose #27412 > │ false │
00:08:22 verbose #27413 > │ else │
00:08:22 verbose #27414 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:08:22 verbose #27415 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:08:22 verbose #27416 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:08:22 verbose #27417 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:08:22 verbose #27418 > │ let v18 : bool = v16 >= v17 │
00:08:22 verbose #27419 > │ v18 │
00:08:22 verbose #27420 > │ if v19 then │
00:08:22 verbose #27421 > │ let v20 : int64 = v3.l0 │
00:08:22 verbose #27422 > │ let v21 : int64 = v20 + 1L │
00:08:22 verbose #27423 > │ v3.l0 <- v21 │
00:08:22 verbose #27424 > │ let v22 : string = $"%s{v1 ()}" │
00:08:22 verbose #27425 > │ let v23 : unit option = None │
00:08:22 verbose #27426 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:08:22 verbose #27427 > │ │
00:08:22 verbose #27428 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:22 verbose #27429 > │ │
00:08:22 verbose #27430 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:22 verbose #27431 > │ let v25 : string = @"println!(""{}"", $0)" │
00:08:22 verbose #27432 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:08:22 verbose #27433 > │ () │
00:08:22 verbose #27434 > │ #endif │
00:08:22 verbose #27435 > │ │
00:08:22 verbose #27436 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:22 verbose #27437 > │ let v26 : string = @"println!(""{}"", $0)" │
00:08:22 verbose #27438 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:08:22 verbose #27439 > │ () │
00:08:22 verbose #27440 > │ #endif │
00:08:22 verbose #27441 > │ │
00:08:22 verbose #27442 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:22 verbose #27443 > │ let v27 : string = @"println!(""{}"", $0)" │
00:08:22 verbose #27444 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:08:22 verbose #27445 > │ () │
00:08:22 verbose #27446 > │ #endif │
00:08:22 verbose #27447 > │ │
00:08:22 verbose #27448 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:22 verbose #27449 > │ System.Console.WriteLine v22 │
00:08:22 verbose #27450 > │ () │
00:08:22 verbose #27451 > │ #endif │
00:08:22 verbose #27452 > │ │
00:08:22 verbose #27453 > │ #if FABLE_COMPILER_PYTHON │
00:08:22 verbose #27454 > │ System.Console.WriteLine v22 │
00:08:22 verbose #27455 > │ () │
00:08:22 verbose #27456 > │ #endif │
00:08:22 verbose #27457 > │ │
00:08:22 verbose #27458 > │ #else │
00:08:22 verbose #27459 > │ System.Console.WriteLine v22 │
00:08:22 verbose #27460 > │ () │
00:08:22 verbose #27461 > │ #endif │
00:08:22 verbose #27462 > │ |> fun x -> _v23 <- Some x │
00:08:22 verbose #27463 > │ _v23.Value │
00:08:22 verbose #27464 > │ let v28 : (string -> unit) = v7.l0 │
00:08:22 verbose #27465 > │ v28 v22 │
00:08:22 verbose #27466 > │ and method4 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:08:22 verbose #27467 > │ = │
00:08:22 verbose #27468 > │ let v3 : (unit -> string) = closure11(v0, v1, v2) │
00:08:22 verbose #27469 > │ method7(v0, v3) │
00:08:22 verbose #27470 > │ and closure7 (v0 : int32) (v1 : exn) : US3 = │
00:08:22 verbose #27471 > │ let v2 : US0 = US0_3 │
00:08:22 verbose #27472 > │ let v3 : (unit -> string) = closure8() │
00:08:22 verbose #27473 > │ let v4 : (unit -> string) = closure9(v0, v1) │
00:08:22 verbose #27474 > │ method4(v2, v3, v4) │
00:08:22 verbose #27475 > │ let v5 : unit option = None │
00:08:22 verbose #27476 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:08:22 verbose #27477 > │ │
00:08:22 verbose #27478 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:08:22 verbose #27479 > │ │
00:08:22 verbose #27480 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:08:22 verbose #27481 > │ () │
00:08:22 verbose #27482 > │ #endif │
00:08:22 verbose #27483 > │ │
00:08:22 verbose #27484 > │ #if FABLE_COMPILER_RUST && WASM │
00:08:22 verbose #27485 > │ () │
00:08:22 verbose #27486 > │ #endif │
00:08:22 verbose #27487 > │ │
00:08:22 verbose #27488 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:08:22 verbose #27489 > │ () │
00:08:22 verbose #27490 > │ #endif │
00:08:22 verbose #27491 > │ │
00:08:22 verbose #27492 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:08:22 verbose #27493 > │ () │
00:08:22 verbose #27494 > │ #endif │
00:08:22 verbose #27495 > │ │
00:08:22 verbose #27496 > │ #if FABLE_COMPILER_PYTHON │
00:08:22 verbose #27497 > │ () │
00:08:22 verbose #27498 > │ #endif │
00:08:22 verbose #27499 > │ │
00:08:22 verbose #27500 > │ #else │
00:08:22 verbose #27501 > │ let v7 : (int32 -> unit) = System.Threading.Thread.Sleep │
00:08:22 verbose #27502 > │ v7 1 │
00:08:22 verbose #27503 > │ () │
00:08:22 verbose #27504 > │ #endif │
00:08:22 verbose #27505 > │ |> fun x -> _v5 <- Some x │
00:08:22 verbose #27506 > │ _v5.Value │
00:08:22 verbose #27507 > │ US3_1 │
00:08:22 verbose #27508 > │ and method3 (v0 : int32, v1 : (unit -> unit), v2 : int32) : US2 = │
00:08:22 verbose #27509 > │ let v3 : (unit -> US2) = closure5(v0, v1, v2) │
00:08:22 verbose #27510 > │ let v4 : (US2 -> US3) = closure6() │
00:08:22 verbose #27511 > │ let v5 : (exn -> US3) = closure7(v2) │
00:08:22 verbose #27512 > │ let v6 : US3 = try v3 () |> v4 with ex -> v5 ex │
00:08:22 verbose #27513 > │ match v6 with │
00:08:22 verbose #27514 > │ | US3_1 -> (* None *) │
00:08:22 verbose #27515 > │ let v8 : int32 = v2 + 1 │
00:08:22 verbose #27516 > │ method3(v0, v1, v8) │
00:08:22 verbose #27517 > │ | US3_0(v7) -> (* Some *) │
00:08:22 verbose #27518 > │ v7 │
00:08:22 verbose #27519 > │ and closure4 (v0 : int32) (v1 : (unit -> unit)) : unit option = │
00:08:22 verbose #27520 > │ let v2 : int32 = 0 │
00:08:22 verbose #27521 > │ let v3 : US2 = method3(v0, v1, v2) │
00:08:22 verbose #27522 > │ match v3 with │
00:08:22 verbose #27523 > │ | US2_1 -> (* None *) │
00:08:22 verbose #27524 > │ let v5 : unit option = None │
00:08:22 verbose #27525 > │ v5 │
00:08:22 verbose #27526 > │ | US2_0 -> (* Some *) │
00:08:22 verbose #27527 > │ let v4 : unit option = Some () │
00:08:22 verbose #27528 > │ v4 │
00:08:22 verbose #27529 > │ and closure3 () (v0 : int32) : ((unit -> unit) -> unit option) = │
00:08:22 verbose #27530 > │ closure4(v0) │
00:08:22 verbose #27531 > │ and method8 (v0 : (unit -> unit)) : (unit -> unit) = │
00:08:22 verbose #27532 > │ v0 │
00:08:22 verbose #27533 > │ and closure14 (v0 : Lazy<unit>) () : unit = │
00:08:22 verbose #27534 > │ v0.Value │
00:08:22 verbose #27535 > │ () │
00:08:22 verbose #27536 > │ and closure13 () (v0 : (unit -> unit)) : (unit -> unit) = │
00:08:22 verbose #27537 > │ let v1 : (unit -> unit) = method8(v0) │
00:08:22 verbose #27538 > │ let v2 : Lazy<unit> = lazy v1 () │
00:08:22 verbose #27539 > │ closure14(v2) │
00:08:22 verbose #27540 > │ let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:08:22 verbose #27541 > │ closure0() │
00:08:22 verbose #27542 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:08:22 verbose #27543 > │ let v1 : ((unit -> unit) -> System.IDisposable) = closure2() │
00:08:22 verbose #27544 > │ let new_disposable x = v1 x │
00:08:22 verbose #27545 > │ let v2 : (int32 -> ((unit -> unit) -> unit option)) = closure3() │
00:08:22 verbose #27546 > │ let retry_fn x = v2 x │
00:08:22 verbose #27547 > │ let v3 : ((unit -> unit) -> (unit -> unit)) = closure13() │
00:08:22 verbose #27548 > │ let memoize x = v3 x │
00:08:22 verbose #27549 > │ () │
00:08:22 verbose #27550 > │ │
00:08:22 verbose #27551 > │ │
00:08:22 verbose #27552 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:24 verbose #27553 > [NbConvertApp] Converting notebook common.dib.ipynb to html
00:08:24 verbose #27554 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:08:24 verbose #27555 > validate(nb)
00:08:26 verbose #27556 > [NbConvertApp] Writing 437158 bytes to common.dib.html
00:08:26 debug #27557 execute_with_options_async / exit_code: 0 / output.Length: 257707
00:08:26 debug #12 main / executeCommand / exitCode: 0
00:08:26 debug #27558 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 resultm.dib -Retries 3"", [||],
None, None, None)
00:08:27 verbose #27559 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: resultm.dib / _args: [
00:08:27 verbose #27560 > "-Retries",
00:08:27 verbose #27561 > 3
00:08:27 verbose #27562 > ]
00:08:29 verbose #27563 >
00:08:29 verbose #27564 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:29 verbose #27565 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:29 verbose #27566 > │ # resultm │
00:08:29 verbose #27567 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:29 verbose #27568 >
00:08:29 verbose #27569 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:29 verbose #27570 > open rust_operators
00:08:29 verbose #27571 >
00:08:29 verbose #27572 > ── spiral - import ─────────────────────────────────────────────────────────────
00:08:29 verbose #27573 > #r
00:08:29 verbose #27574 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:08:29 verbose #27575 > otNet.Interactive.Spiral.dll"
00:08:29 verbose #27576 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:08:29 verbose #27577 > #r
00:08:29 verbose #27578 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:08:29 verbose #27579 > otNet.Interactive.dll"
00:08:29 verbose #27580 > open type Microsoft.DotNet.Interactive.Kernel
00:08:34 verbose #27581 > 00:08:33 debug #396 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/509422cf3bb8a8cfc4cbb3c916e280922525b9b9428a427906e968efadb5b7b1/main.spi
00:08:34 verbose #27582 >
00:08:34 verbose #27583 > ╭─[ 5.07s - stdout ]───────────────────────────────────────────────────────────╮
00:08:34 verbose #27584 > │ () │
00:08:34 verbose #27585 > │ │
00:08:34 verbose #27586 > │ │
00:08:34 verbose #27587 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:34 verbose #27588 >
00:08:34 verbose #27589 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:34 verbose #27590 > //// test
00:08:34 verbose #27591 >
00:08:34 verbose #27592 > open testing
00:08:35 verbose #27593 > 00:08:34 debug #397 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d67524a3bcd7038c5c43eb4daee40517b284f6b43c6c9788496346ad0e56646c/main.spi
00:08:35 verbose #27594 >
00:08:35 verbose #27595 > ╭─[ 654.75ms - stdout ]────────────────────────────────────────────────────────╮
00:08:35 verbose #27596 > │ () │
00:08:35 verbose #27597 > │ │
00:08:35 verbose #27598 > │ │
00:08:35 verbose #27599 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:35 verbose #27600 >
00:08:35 verbose #27601 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:35 verbose #27602 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:35 verbose #27603 > │ ## result' │
00:08:35 verbose #27604 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:35 verbose #27605 >
00:08:35 verbose #27606 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:35 verbose #27607 > nominal result' t u = $"Result<`t, `u>"
00:08:35 verbose #27608 > 00:08:34 debug #398 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/24c9485279a8b78fd1932514ac18e436bf2dbbae7e9be908b9c15147dce7f763/main.spi
00:08:35 verbose #27609 >
00:08:35 verbose #27610 > ╭─[ 606.80ms - stdout ]────────────────────────────────────────────────────────╮
00:08:35 verbose #27611 > │ () │
00:08:35 verbose #27612 > │ │
00:08:35 verbose #27613 > │ │
00:08:35 verbose #27614 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:35 verbose #27615 >
00:08:35 verbose #27616 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:35 verbose #27617 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:35 verbose #27618 > │ ## from_option_error │
00:08:35 verbose #27619 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:35 verbose #27620 >
00:08:35 verbose #27621 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:35 verbose #27622 > inl from_option_error error opt =
00:08:35 verbose #27623 > match opt with
00:08:35 verbose #27624 > | Some x => Ok x
00:08:35 verbose #27625 > | None => Error error
00:08:36 verbose #27626 > 00:08:35 debug #399 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f99cfaa402c62ea4b652a3b1657b7067000df7e8eeea8be0fd85e0f1dec847c0/main.spi
00:08:36 verbose #27627 >
00:08:36 verbose #27628 > ╭─[ 593.12ms - stdout ]────────────────────────────────────────────────────────╮
00:08:36 verbose #27629 > │ () │
00:08:36 verbose #27630 > │ │
00:08:36 verbose #27631 > │ │
00:08:36 verbose #27632 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:36 verbose #27633 >
00:08:36 verbose #27634 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:36 verbose #27635 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:36 verbose #27636 > │ ## from_option │
00:08:36 verbose #27637 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:36 verbose #27638 >
00:08:36 verbose #27639 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:36 verbose #27640 > inl from_option opt =
00:08:36 verbose #27641 > opt |> from_option_error "resultm.from_option / Option does not have a
00:08:36 verbose #27642 > value."
00:08:36 verbose #27643 > 00:08:35 debug #400 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fed821340b96faca3c7cab79521a94caeda38f2a4e9edddd0dd65b3a12b73949/main.spi
00:08:36 verbose #27644 >
00:08:36 verbose #27645 > ╭─[ 612.27ms - stdout ]────────────────────────────────────────────────────────╮
00:08:36 verbose #27646 > │ () │
00:08:36 verbose #27647 > │ │
00:08:36 verbose #27648 > │ │
00:08:36 verbose #27649 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:36 verbose #27650 >
00:08:36 verbose #27651 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:36 verbose #27652 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:36 verbose #27653 > │ ## flatten_option │
00:08:36 verbose #27654 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:36 verbose #27655 >
00:08:36 verbose #27656 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:36 verbose #27657 > inl flatten_option forall t u. (x : option (result (option t) u)) : result
00:08:36 verbose #27658 > (option t) u =
00:08:36 verbose #27659 > match x with
00:08:36 verbose #27660 > | Some (Error x) => Error x
00:08:36 verbose #27661 > | Some (Ok (Some x)) => Ok (Some x)
00:08:36 verbose #27662 > | _ => Ok None
00:08:37 verbose #27663 > 00:08:36 debug #401 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fdb21a0a07df58e3b2f9a257fce9a197cc52a42024e90cfc4da44daea2393a97/main.spi
00:08:37 verbose #27664 >
00:08:37 verbose #27665 > ╭─[ 595.46ms - stdout ]────────────────────────────────────────────────────────╮
00:08:37 verbose #27666 > │ () │
00:08:37 verbose #27667 > │ │
00:08:37 verbose #27668 > │ │
00:08:37 verbose #27669 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:37 verbose #27670 >
00:08:37 verbose #27671 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:37 verbose #27672 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:37 verbose #27673 > │ ## flatten │
00:08:37 verbose #27674 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:37 verbose #27675 >
00:08:37 verbose #27676 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:37 verbose #27677 > inl flatten forall t u. (x : result (result t u) u) : result t u =
00:08:37 verbose #27678 > match x with
00:08:37 verbose #27679 > | Ok x => x
00:08:37 verbose #27680 > | Error x => Error x
00:08:38 verbose #27681 > 00:08:37 debug #402 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a24901797c73584e53d79f4d71f92523240b2f9775325eee94c805a95aa81905/main.spi
00:08:38 verbose #27682 >
00:08:38 verbose #27683 > ╭─[ 596.98ms - stdout ]────────────────────────────────────────────────────────╮
00:08:38 verbose #27684 > │ () │
00:08:38 verbose #27685 > │ │
00:08:38 verbose #27686 > │ │
00:08:38 verbose #27687 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:38 verbose #27688 >
00:08:38 verbose #27689 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:38 verbose #27690 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:38 verbose #27691 > │ ## get │
00:08:38 verbose #27692 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:38 verbose #27693 >
00:08:38 verbose #27694 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:38 verbose #27695 > inl get forall t e. (source : result t e) : t =
00:08:38 verbose #27696 > match source with
00:08:38 verbose #27697 > | Ok x => x
00:08:38 verbose #27698 > | Error x => failwith $'$"resultm.get / Result value was Error: {!x}"'
00:08:38 verbose #27699 > 00:08:37 debug #403 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d7306e93ce0720b2a0646e6f42d2824774d5adfb17c2a75fb74f45e85f96992d/main.spi
00:08:38 verbose #27700 >
00:08:38 verbose #27701 > ╭─[ 651.48ms - stdout ]────────────────────────────────────────────────────────╮
00:08:38 verbose #27702 > │ () │
00:08:38 verbose #27703 > │ │
00:08:38 verbose #27704 > │ │
00:08:38 verbose #27705 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:38 verbose #27706 >
00:08:38 verbose #27707 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:38 verbose #27708 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:38 verbose #27709 > │ ## map │
00:08:38 verbose #27710 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:38 verbose #27711 >
00:08:38 verbose #27712 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:38 verbose #27713 > inl map forall t e u. (fn : t -> u) (source : result t e) : result u e =
00:08:38 verbose #27714 > match source with
00:08:38 verbose #27715 > | Ok x => x |> fn |> Ok
00:08:38 verbose #27716 > | Error x => Error x
00:08:39 verbose #27717 > 00:08:38 debug #404 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/28f0ed7f3732d7c0194dfb9050a03cb5ae236c61529e47ffc1bc00d96043284a/main.spi
00:08:39 verbose #27718 >
00:08:39 verbose #27719 > ╭─[ 644.31ms - stdout ]────────────────────────────────────────────────────────╮
00:08:39 verbose #27720 > │ () │
00:08:39 verbose #27721 > │ │
00:08:39 verbose #27722 > │ │
00:08:39 verbose #27723 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:39 verbose #27724 >
00:08:39 verbose #27725 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:39 verbose #27726 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:39 verbose #27727 > │ ## map_error │
00:08:39 verbose #27728 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:39 verbose #27729 >
00:08:39 verbose #27730 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:39 verbose #27731 > inl map_error forall t e u. (fn : e -> u) (source : result t e) : result t u =
00:08:39 verbose #27732 > match source with
00:08:39 verbose #27733 > | Ok x => Ok x
00:08:39 verbose #27734 > | Error x => x |> fn |> Error
00:08:40 verbose #27735 > 00:08:38 debug #405 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f1bf77534c02d31e0d2c05e251b080b206e1d6164d329474ffec660e1711a9fa/main.spi
00:08:40 verbose #27736 >
00:08:40 verbose #27737 > ╭─[ 601.39ms - stdout ]────────────────────────────────────────────────────────╮
00:08:40 verbose #27738 > │ () │
00:08:40 verbose #27739 > │ │
00:08:40 verbose #27740 > │ │
00:08:40 verbose #27741 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:40 verbose #27742 >
00:08:40 verbose #27743 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:40 verbose #27744 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:40 verbose #27745 > │ ## map' │
00:08:40 verbose #27746 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:40 verbose #27747 >
00:08:40 verbose #27748 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:40 verbose #27749 > inl map' forall t e u. (fn : t -> u) (source : result' t e) : result' u e =
00:08:40 verbose #27750 > inl fn = join fn
00:08:40 verbose #27751 > inl source = join source
00:08:40 verbose #27752 > !\($'"!source.map(|x| !fn(x))"')
00:08:40 verbose #27753 > 00:08:39 debug #406 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c4d48d5e0e68fabcb07fb64a51192dc6c3c706fc969d52389ca5eeb5b5595fa6/main.spi
00:08:40 verbose #27754 >
00:08:40 verbose #27755 > ╭─[ 629.74ms - stdout ]────────────────────────────────────────────────────────╮
00:08:40 verbose #27756 > │ () │
00:08:40 verbose #27757 > │ │
00:08:40 verbose #27758 > │ │
00:08:40 verbose #27759 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:40 verbose #27760 >
00:08:40 verbose #27761 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:40 verbose #27762 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:40 verbose #27763 > │ ## map_error' │
00:08:40 verbose #27764 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:40 verbose #27765 >
00:08:40 verbose #27766 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:40 verbose #27767 > inl map_error' forall t e u. (fn : e -> u) (source : result' t e) : result' t u
00:08:40 verbose #27768 > =
00:08:40 verbose #27769 > inl fn = join fn
00:08:40 verbose #27770 > !\\((source, fn), $'"$0.map_err(|x| $1(x))"')
00:08:41 verbose #27771 > 00:08:40 debug #407 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31aba1e253ae58cf014a7b32bdf009ea6ac7eafed2ff9536b40b9668de2bd976/main.spi
00:08:41 verbose #27772 >
00:08:41 verbose #27773 > ╭─[ 630.88ms - stdout ]────────────────────────────────────────────────────────╮
00:08:41 verbose #27774 > │ () │
00:08:41 verbose #27775 > │ │
00:08:41 verbose #27776 > │ │
00:08:41 verbose #27777 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:41 verbose #27778 >
00:08:41 verbose #27779 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:41 verbose #27780 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:41 verbose #27781 > │ ## as_ref │
00:08:41 verbose #27782 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:41 verbose #27783 >
00:08:41 verbose #27784 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:41 verbose #27785 > inl as_ref forall t e. (source : result' t e) : result' (rust.ref' t) (rust.ref'
00:08:41 verbose #27786 > e) =
00:08:41 verbose #27787 > !\($'"!source.as_ref()"')
00:08:41 verbose #27788 > 00:08:40 debug #408 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1cfee88851b544d1034355512ce64e43bbda9108c0190275409bbb6d654b50f2/main.spi
00:08:41 verbose #27789 >
00:08:41 verbose #27790 > ╭─[ 622.68ms - stdout ]────────────────────────────────────────────────────────╮
00:08:41 verbose #27791 > │ () │
00:08:41 verbose #27792 > │ │
00:08:41 verbose #27793 > │ │
00:08:41 verbose #27794 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:41 verbose #27795 >
00:08:41 verbose #27796 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:41 verbose #27797 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:41 verbose #27798 > │ ## unbox │
00:08:41 verbose #27799 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:41 verbose #27800 >
00:08:41 verbose #27801 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:41 verbose #27802 > inl unbox forall t u. (x : result' t u) : result t u =
00:08:41 verbose #27803 > inl ok x : result t u = Ok x
00:08:41 verbose #27804 > inl error x : result t u = Error x
00:08:41 verbose #27805 > real
00:08:41 verbose #27806 > typecase t with
00:08:41 verbose #27807 > | () => $"match !x with Ok () -> !ok () | Error x -> !error x" : result
00:08:41 verbose #27808 > t u
00:08:41 verbose #27809 > | _ => $"match !x with Ok x -> !ok x | Error x -> !error x" : result t u
00:08:42 verbose #27810 > 00:08:41 debug #409 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/050e544b9a083cee07c4f7e29e83b878f79e5689acb352cd8b91668e7c783e48/main.spi
00:08:42 verbose #27811 >
00:08:42 verbose #27812 > ╭─[ 609.53ms - stdout ]────────────────────────────────────────────────────────╮
00:08:42 verbose #27813 > │ () │
00:08:42 verbose #27814 > │ │
00:08:42 verbose #27815 > │ │
00:08:42 verbose #27816 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:42 verbose #27817 >
00:08:42 verbose #27818 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:42 verbose #27819 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:42 verbose #27820 > │ ## box │
00:08:42 verbose #27821 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:42 verbose #27822 >
00:08:42 verbose #27823 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:42 verbose #27824 > inl box forall t u. (x : result t u) : result' t u =
00:08:42 verbose #27825 > match x with
00:08:42 verbose #27826 > | Ok x => $"Ok !x"
00:08:42 verbose #27827 > | Error err => $"Error !err"
00:08:43 verbose #27828 > 00:08:42 debug #410 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a210ed1e72e1557dcb46127a599601509c261ec926d14a220554957930f47c1b/main.spi
00:08:43 verbose #27829 >
00:08:43 verbose #27830 > ╭─[ 631.61ms - stdout ]────────────────────────────────────────────────────────╮
00:08:43 verbose #27831 > │ () │
00:08:43 verbose #27832 > │ │
00:08:43 verbose #27833 > │ │
00:08:43 verbose #27834 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:43 verbose #27835 >
00:08:43 verbose #27836 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:43 verbose #27837 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:43 verbose #27838 > │ ## try' │
00:08:43 verbose #27839 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:43 verbose #27840 >
00:08:43 verbose #27841 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:43 verbose #27842 > inl try' forall t u. (x : result' t u) : t =
00:08:43 verbose #27843 > !\\(x, $'"$0?"')
00:08:43 verbose #27844 > 00:08:42 debug #411 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6f3d5c8f586a041fc10ed5b1335ece48b752e94fb6765845c0620ce740c9bba4/main.spi
00:08:43 verbose #27845 >
00:08:43 verbose #27846 > ╭─[ 619.19ms - stdout ]────────────────────────────────────────────────────────╮
00:08:43 verbose #27847 > │ () │
00:08:43 verbose #27848 > │ │
00:08:43 verbose #27849 > │ │
00:08:43 verbose #27850 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:43 verbose #27851 >
00:08:43 verbose #27852 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:43 verbose #27853 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:43 verbose #27854 > │ ## unwrap' │
00:08:43 verbose #27855 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:43 verbose #27856 >
00:08:43 verbose #27857 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:43 verbose #27858 > inl unwrap' forall t u. (x : result' t u) : t =
00:08:43 verbose #27859 > !\\(x, $'"$0.unwrap()"')
00:08:44 verbose #27860 > 00:08:43 debug #412 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3ce4872230d4e146a8341d141f7d7445f9fb6c05f30590b96aa4bc52ca1a3f7a/main.spi
00:08:44 verbose #27861 >
00:08:44 verbose #27862 > ╭─[ 642.95ms - stdout ]────────────────────────────────────────────────────────╮
00:08:44 verbose #27863 > │ () │
00:08:44 verbose #27864 > │ │
00:08:44 verbose #27865 > │ │
00:08:44 verbose #27866 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:44 verbose #27867 >
00:08:44 verbose #27868 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:44 verbose #27869 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:44 verbose #27870 > │ ## unwrap_or' │
00:08:44 verbose #27871 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:44 verbose #27872 >
00:08:44 verbose #27873 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:44 verbose #27874 > inl unwrap_or' forall t u. (default : t) (x : result' t u) : t =
00:08:44 verbose #27875 > !\\(x, $'"$0.unwrap_or(!default)"')
00:08:45 verbose #27876 > 00:08:44 debug #413 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ba2f9db0117cc95224fb6017317ccba4022345543b0261765364ad9b4e4ea73/main.spi
00:08:45 verbose #27877 >
00:08:45 verbose #27878 > ╭─[ 639.28ms - stdout ]────────────────────────────────────────────────────────╮
00:08:45 verbose #27879 > │ () │
00:08:45 verbose #27880 > │ │
00:08:45 verbose #27881 > │ │
00:08:45 verbose #27882 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:45 verbose #27883 >
00:08:45 verbose #27884 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:45 verbose #27885 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:45 verbose #27886 > │ ## expect │
00:08:45 verbose #27887 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:45 verbose #27888 >
00:08:45 verbose #27889 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:45 verbose #27890 > inl expect forall t u. (error : rust.ref' string) (x : result' t u) : t =
00:08:45 verbose #27891 > !\($'"!x.expect(&!error)"')
00:08:45 verbose #27892 > 00:08:44 debug #414 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f29b797b3b2a2cf1c175b60e4b82fefaf83c64dd995518336b679aae1e1d6157/main.spi
00:08:45 verbose #27893 >
00:08:45 verbose #27894 > ╭─[ 635.01ms - stdout ]────────────────────────────────────────────────────────╮
00:08:45 verbose #27895 > │ () │
00:08:45 verbose #27896 > │ │
00:08:45 verbose #27897 > │ │
00:08:45 verbose #27898 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:45 verbose #27899 >
00:08:45 verbose #27900 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:45 verbose #27901 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:45 verbose #27902 > │ ## ok' │
00:08:45 verbose #27903 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:45 verbose #27904 >
00:08:45 verbose #27905 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:45 verbose #27906 > inl ok' forall t. (x : result' t _) : optionm'.option' t =
00:08:45 verbose #27907 > !\($'"!x.ok()"')
00:08:46 verbose #27908 > 00:08:45 debug #415 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f6ddc5f4a26b8c29332607ac01f0dbf0033b30ad2be3d223b53f2b0df52d2336/main.spi
00:08:46 verbose #27909 >
00:08:46 verbose #27910 > ╭─[ 690.80ms - stdout ]────────────────────────────────────────────────────────╮
00:08:46 verbose #27911 > │ () │
00:08:46 verbose #27912 > │ │
00:08:46 verbose #27913 > │ │
00:08:46 verbose #27914 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:46 verbose #27915 >
00:08:46 verbose #27916 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:46 verbose #27917 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:46 verbose #27918 > │ ## ok │
00:08:46 verbose #27919 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:46 verbose #27920 >
00:08:46 verbose #27921 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:46 verbose #27922 > inl ok forall t. (x : result t _) : option t =
00:08:46 verbose #27923 > match x with
00:08:46 verbose #27924 > | Ok x => Some x
00:08:46 verbose #27925 > | Error _ => None
00:08:47 verbose #27926 > 00:08:45 debug #416 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/46f8d39bedaab710da13659071f344e8a5ed16b46f89f10f3df15b571c98a447/main.spi
00:08:47 verbose #27927 >
00:08:47 verbose #27928 > ╭─[ 623.76ms - stdout ]────────────────────────────────────────────────────────╮
00:08:47 verbose #27929 > │ () │
00:08:47 verbose #27930 > │ │
00:08:47 verbose #27931 > │ │
00:08:47 verbose #27932 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:47 verbose #27933 >
00:08:47 verbose #27934 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:47 verbose #27935 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:47 verbose #27936 > │ ## transpose │
00:08:47 verbose #27937 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:47 verbose #27938 >
00:08:47 verbose #27939 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:47 verbose #27940 > inl transpose forall t u. (x : optionm'.option' (result' t u)) : result'
00:08:47 verbose #27941 > (optionm'.option' t) u =
00:08:47 verbose #27942 > !\\(x, $'"$0.transpose()"')
00:08:47 verbose #27943 > 00:08:46 debug #417 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f80036b634bb031f3fe159ecfb033ed519504a77756d4f7dc16230567214fcb3/main.spi
00:08:47 verbose #27944 >
00:08:47 verbose #27945 > ╭─[ 645.68ms - stdout ]────────────────────────────────────────────────────────╮
00:08:47 verbose #27946 > │ () │
00:08:47 verbose #27947 > │ │
00:08:47 verbose #27948 > │ │
00:08:47 verbose #27949 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:47 verbose #27950 >
00:08:47 verbose #27951 > ── markdown ────────────────────────────────────────────────────────────────────
00:08:47 verbose #27952 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:08:47 verbose #27953 > │ ## rc_try_unwrap │
00:08:47 verbose #27954 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:47 verbose #27955 >
00:08:47 verbose #27956 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:47 verbose #27957 > inl rc_try_unwrap forall t. (x : rust.rc t) : result' t (rust.rc t) =
00:08:47 verbose #27958 > !\($'"std::rc::Rc::try_unwrap(!x)"')
00:08:48 verbose #27959 > 00:08:47 debug #418 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/23180835598857233b18f6c96936fc996ef90527e2b0e8e0bd9fb8d17edf575a/main.spi
00:08:48 verbose #27960 >
00:08:48 verbose #27961 > ╭─[ 656.31ms - stdout ]────────────────────────────────────────────────────────╮
00:08:48 verbose #27962 > │ () │
00:08:48 verbose #27963 > │ │
00:08:48 verbose #27964 > │ │
00:08:48 verbose #27965 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:48 verbose #27966 >
00:08:48 verbose #27967 > ── spiral ──────────────────────────────────────────────────────────────────────
00:08:48 verbose #27968 > //// test
00:08:48 verbose #27969 > ///! rust
00:08:48 verbose #27970 >
00:08:48 verbose #27971 > types ()
00:08:48 verbose #27972 > rust.new_rc ()
00:08:48 verbose #27973 > |> rc_try_unwrap
00:08:48 verbose #27974 > |> unbox
00:08:48 verbose #27975 > |> _assert_eq (Ok ())
00:08:48 verbose #27976 > 00:08:47 debug #419 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bcdc0c9b47b2ceb82ee0218706630a35f45891346845fb4fe0271952aac9c62d/main.spi
00:08:56 verbose #27977 >
00:08:56 verbose #27978 > ╭─[ 8.43s - return value ]─────────────────────────────────────────────────────╮
00:08:56 verbose #27979 > │ output: │
00:08:56 verbose #27980 > │ assert_eq / actual: US0_0 / expected: US0_0 │
00:08:56 verbose #27981 > │ │
00:08:56 verbose #27982 > │ │
00:08:56 verbose #27983 > │ │
00:08:56 verbose #27984 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:56 verbose #27985 >
00:08:56 verbose #27986 > ╭─[ 8.44s - stdout ]───────────────────────────────────────────────────────────╮
00:08:56 verbose #27987 > │ .fsx: │
00:08:56 verbose #27988 > │ #if FABLE_COMPILER │
00:08:56 verbose #27989 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:08:56 verbose #27990 > │ #endif │
00:08:56 verbose #27991 > │ type Func0<'T> = class end │
00:08:56 verbose #27992 > │ #if FABLE_COMPILER │
00:08:56 verbose #27993 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:08:56 verbose #27994 > │ #endif │
00:08:56 verbose #27995 > │ type Func0<'T, 'U> = class end │
00:08:56 verbose #27996 > │ #if FABLE_COMPILER │
00:08:56 verbose #27997 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:08:56 verbose #27998 > │ #endif │
00:08:56 verbose #27999 > │ type Box<'T> = class end │
00:08:56 verbose #28000 > │ #if FABLE_COMPILER │
00:08:56 verbose #28001 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:08:56 verbose #28002 > │ #endif │
00:08:56 verbose #28003 > │ type Dyn<'T> = class end │
00:08:56 verbose #28004 > │ #if FABLE_COMPILER │
00:08:56 verbose #28005 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:08:56 verbose #28006 > │ #endif │
00:08:56 verbose #28007 > │ type Send<'T> = class end │
00:08:56 verbose #28008 > │ #if FABLE_COMPILER │
00:08:56 verbose #28009 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:08:56 verbose #28010 > │ #endif │
00:08:56 verbose #28011 > │ type Fn<'T> = class end │
00:08:56 verbose #28012 > │ #if FABLE_COMPILER │
00:08:56 verbose #28013 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:08:56 verbose #28014 > │ #endif │
00:08:56 verbose #28015 > │ type FnUnit = class end │
00:08:56 verbose #28016 > │ #if FABLE_COMPILER │
00:08:56 verbose #28017 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:08:56 verbose #28018 > │ #endif │
00:08:56 verbose #28019 > │ type FnOnce<'T> = class end │
00:08:56 verbose #28020 > │ #if FABLE_COMPILER │
00:08:56 verbose #28021 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:08:56 verbose #28022 > │ #endif │
00:08:56 verbose #28023 > │ type ActionFn<'T> = class end │
00:08:56 verbose #28024 > │ #if FABLE_COMPILER │
00:08:56 verbose #28025 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:08:56 verbose #28026 > │ #endif │
00:08:56 verbose #28027 > │ type ActionFn2<'T, 'U> = class end │
00:08:56 verbose #28028 > │ #if FABLE_COMPILER │
00:08:56 verbose #28029 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:08:56 verbose #28030 > │ #endif │
00:08:56 verbose #28031 > │ type Impl<'T> = class end │
00:08:56 verbose #28032 > │ #if FABLE_COMPILER │
00:08:56 verbose #28033 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:08:56 verbose #28034 > │ #endif │
00:08:56 verbose #28035 > │ type Mut<'T> = class end │
00:08:56 verbose #28036 > │ #if FABLE_COMPILER │
00:08:56 verbose #28037 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:08:56 verbose #28038 > │ #endif │
00:08:56 verbose #28039 > │ type Ref<'T> = class end │
00:08:56 verbose #28040 > │ #if FABLE_COMPILER │
00:08:56 verbose #28041 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:08:56 verbose #28042 > │ #endif │
00:08:56 verbose #28043 > │ type StaticRef<'T> = class end │
00:08:56 verbose #28044 > │ #if FABLE_COMPILER │
00:08:56 verbose #28045 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:08:56 verbose #28046 > │ #endif │
00:08:56 verbose #28047 > │ type MutCell<'T> = class end │
00:08:56 verbose #28048 > │ #if FABLE_COMPILER │
00:08:56 verbose #28049 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:08:56 verbose #28050 > │ #endif │
00:08:56 verbose #28051 > │ type std_any_Any = class end │
00:08:56 verbose #28052 > │ #if FABLE_COMPILER │
00:08:56 verbose #28053 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:08:56 verbose #28054 > │ #endif │
00:08:56 verbose #28055 > │ type std_borrow_Cow<'T> = class end │
00:08:56 verbose #28056 > │ #if FABLE_COMPILER │
00:08:56 verbose #28057 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:08:56 verbose #28058 > │ #endif │
00:08:56 verbose #28059 > │ type std_cell_RefCell<'T> = class end │
00:08:56 verbose #28060 > │ #if FABLE_COMPILER │
00:08:56 verbose #28061 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:08:56 verbose #28062 > │ #endif │
00:08:56 verbose #28063 > │ type std_pin_Pin<'T> = class end │
00:08:56 verbose #28064 > │ #if FABLE_COMPILER │
00:08:56 verbose #28065 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:08:56 verbose #28066 > │ #endif │
00:08:56 verbose #28067 > │ type std_rc_Rc<'T> = class end │
00:08:56 verbose #28068 > │ #if FABLE_COMPILER │
00:08:56 verbose #28069 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:08:56 verbose #28070 > │ #endif │
00:08:56 verbose #28071 > │ type std_rc_Weak<'T> = class end │
00:08:56 verbose #28072 > │ #if FABLE_COMPILER │
00:08:56 verbose #28073 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:08:56 verbose #28074 > │ #endif │
00:08:56 verbose #28075 > │ type Str = class end │
00:08:56 verbose #28076 > │ #if FABLE_COMPILER │
00:08:56 verbose #28077 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:08:56 verbose #28078 > │ #endif │
00:08:56 verbose #28079 > │ type base64_DecodeError = class end │
00:08:56 verbose #28080 > │ #if FABLE_COMPILER │
00:08:56 verbose #28081 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:08:56 verbose #28082 > │ #endif │
00:08:56 verbose #28083 > │ type borsh_io_Error = class end │
00:08:56 verbose #28084 > │ #if FABLE_COMPILER │
00:08:56 verbose #28085 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:08:56 verbose #28086 > │ #endif │
00:08:56 verbose #28087 > │ type js_sys_JsString = class end │
00:08:56 verbose #28088 > │ #if FABLE_COMPILER │
00:08:56 verbose #28089 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:08:56 verbose #28090 > │ #endif │
00:08:56 verbose #28091 > │ type serde_json_Error = class end │
00:08:56 verbose #28092 > │ #if FABLE_COMPILER │
00:08:56 verbose #28093 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:08:56 verbose #28094 > │ #endif │
00:08:56 verbose #28095 > │ type serde_json_Value = class end │
00:08:56 verbose #28096 > │ #if FABLE_COMPILER │
00:08:56 verbose #28097 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:08:56 verbose #28098 > │ #endif │
00:08:56 verbose #28099 > │ type serde_wasm_bindgen_Error = class end │
00:08:56 verbose #28100 > │ #if FABLE_COMPILER │
00:08:56 verbose #28101 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:08:56 verbose #28102 > │ #endif │
00:08:56 verbose #28103 > │ type std_ffi_OsStr = class end │
00:08:56 verbose #28104 > │ #if FABLE_COMPILER │
00:08:56 verbose #28105 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:08:56 verbose #28106 > │ #endif │
00:08:56 verbose #28107 > │ type std_ffi_OsString = class end │
00:08:56 verbose #28108 > │ #if FABLE_COMPILER │
00:08:56 verbose #28109 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:08:56 verbose #28110 > │ #endif │
00:08:56 verbose #28111 > │ type std_fmt_Display<'T> = class end │
00:08:56 verbose #28112 > │ #if FABLE_COMPILER │
00:08:56 verbose #28113 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:08:56 verbose #28114 > │ #endif │
00:08:56 verbose #28115 > │ type std_str_Utf8Error = class end │
00:08:56 verbose #28116 > │ #if FABLE_COMPILER │
00:08:56 verbose #28117 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:08:56 verbose #28118 > │ #endif │
00:08:56 verbose #28119 > │ type std_string_FromUtf8Error = class end │
00:08:56 verbose #28120 > │ #if FABLE_COMPILER │
00:08:56 verbose #28121 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:08:56 verbose #28122 > │ #endif │
00:08:56 verbose #28123 > │ type std_string_String = class end │
00:08:56 verbose #28124 > │ #if FABLE_COMPILER │
00:08:56 verbose #28125 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:08:56 verbose #28126 > │ #endif │
00:08:56 verbose #28127 > │ type std_slice_Windows<'T> = class end │
00:08:56 verbose #28128 > │ type [<Struct>] US0 = │
00:08:56 verbose #28129 > │ | US0_0 │
00:08:56 verbose #28130 > │ | US0_1 of f1_0 : std_rc_Rc<unit> │
00:08:56 verbose #28131 > │ let rec method1 () : unit = │
00:08:56 verbose #28132 > │ () │
00:08:56 verbose #28133 > │ and closure0 () () : US0 = │
00:08:56 verbose #28134 > │ US0_0 │
00:08:56 verbose #28135 > │ and closure1 () (v0 : std_rc_Rc<unit>) : US0 = │
00:08:56 verbose #28136 > │ US0_1(v0) │
00:08:56 verbose #28137 > │ and method2 (v0 : bool) : bool = │
00:08:56 verbose #28138 > │ v0 │
00:08:56 verbose #28139 > │ and method0 () : unit = │
00:08:56 verbose #28140 > │ method1() │
00:08:56 verbose #28141 > │ let v0 : string = "std::rc::Rc::new(())" │
00:08:56 verbose #28142 > │ let v1 : std_rc_Rc<unit> = Fable.Core.RustInterop.emitRustExpr () v0 │
00:08:56 verbose #28143 > │ let v2 : string = "std::rc::Rc::try_unwrap(v1)" │
00:08:56 verbose #28144 > │ let v3 : Result<unit, std_rc_Rc<unit>> = │
00:08:56 verbose #28145 > │ Fable.Core.RustInterop.emitRustExpr () v2 │
00:08:56 verbose #28146 > │ let v4 : (unit -> US0) = closure0() │
00:08:56 verbose #28147 > │ let v5 : (std_rc_Rc<unit> -> US0) = closure1() │
00:08:56 verbose #28148 > │ let v6 : US0 = match v3 with Ok () -> v4 () | Error x -> v5 x │
00:08:56 verbose #28149 > │ let v8 : bool = │
00:08:56 verbose #28150 > │ match v6 with │
00:08:56 verbose #28151 > │ | US0_0 -> (* Ok *) │
00:08:56 verbose #28152 > │ true │
00:08:56 verbose #28153 > │ | _ -> │
00:08:56 verbose #28154 > │ false │
00:08:56 verbose #28155 > │ let v10 : bool = │
00:08:56 verbose #28156 > │ if v8 then │
00:08:56 verbose #28157 > │ true │
00:08:56 verbose #28158 > │ else │
00:08:56 verbose #28159 > │ method2(v8) │
00:08:56 verbose #28160 > │ let v11 : string = "assert_eq" │
00:08:56 verbose #28161 > │ let v12 : US0 = US0_0 │
00:08:56 verbose #28162 > │ let v13 : string = $"{v11} / actual: %A{v6} / expected: %A{v12}" │
00:08:56 verbose #28163 > │ System.Console.WriteLine v13 │
00:08:56 verbose #28164 > │ let v14 : bool = v10 = false │
00:08:56 verbose #28165 > │ if v14 then │
00:08:56 verbose #28166 > │ failwith<unit> v13 │
00:08:56 verbose #28167 > │ method0() │
00:08:56 verbose #28168 > │ │
00:08:56 verbose #28169 > │ │
00:08:56 verbose #28170 > │ │
00:08:56 verbose #28171 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:08:58 verbose #28172 > [NbConvertApp] Converting notebook resultm.dib.ipynb to html
00:08:58 verbose #28173 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:08:58 verbose #28174 > validate(nb)
00:09:00 verbose #28175 > [NbConvertApp] Writing 325140 bytes to resultm.dib.html
00:09:00 debug #28176 execute_with_options_async / exit_code: 0 / output.Length: 38005
00:09:00 debug #13 main / executeCommand / exitCode: 0
00:09:00 debug #28177 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 console.dib -Retries 3"", [||],
None, None, None)
00:09:01 verbose #28178 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: console.dib / _args: [
00:09:01 verbose #28179 > "-Retries",
00:09:01 verbose #28180 > 3
00:09:01 verbose #28181 > ]
00:09:03 verbose #28182 >
00:09:03 verbose #28183 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:03 verbose #28184 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:03 verbose #28185 > │ # console │
00:09:03 verbose #28186 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:03 verbose #28187 >
00:09:03 verbose #28188 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:03 verbose #28189 > //// test
00:09:03 verbose #28190 >
00:09:03 verbose #28191 > open testing
00:09:03 verbose #28192 >
00:09:03 verbose #28193 > ── spiral - import ─────────────────────────────────────────────────────────────
00:09:03 verbose #28194 > #r
00:09:03 verbose #28195 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:09:03 verbose #28196 > otNet.Interactive.Spiral.dll"
00:09:03 verbose #28197 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:09:03 verbose #28198 > #r
00:09:03 verbose #28199 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:09:03 verbose #28200 > otNet.Interactive.dll"
00:09:03 verbose #28201 > open type Microsoft.DotNet.Interactive.Kernel
00:09:07 verbose #28202 > 00:09:06 debug #420 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:09:08 verbose #28203 >
00:09:08 verbose #28204 > ╭─[ 4.73s - stdout ]───────────────────────────────────────────────────────────╮
00:09:08 verbose #28205 > │ () │
00:09:08 verbose #28206 > │ │
00:09:08 verbose #28207 > │ │
00:09:08 verbose #28208 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:08 verbose #28209 >
00:09:08 verbose #28210 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:08 verbose #28211 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:08 verbose #28212 > │ ## write_line │
00:09:08 verbose #28213 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:08 verbose #28214 >
00:09:08 verbose #28215 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:08 verbose #28216 > inl write_line obj : () =
00:09:08 verbose #28217 > $"System.Console.WriteLine !obj"
00:09:08 verbose #28218 > 00:09:07 debug #421 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/71716729a2ca101e11195748c103bc9c8a3f10667e468e307d7e6df4c7c2a182/main.spi
00:09:08 verbose #28219 >
00:09:08 verbose #28220 > ╭─[ 681.42ms - stdout ]────────────────────────────────────────────────────────╮
00:09:08 verbose #28221 > │ () │
00:09:08 verbose #28222 > │ │
00:09:08 verbose #28223 > │ │
00:09:08 verbose #28224 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:08 verbose #28225 >
00:09:08 verbose #28226 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:08 verbose #28227 > inl write_line_ ~obj : () =
00:09:08 verbose #28228 > $"System.Console.WriteLine !obj"
00:09:09 verbose #28229 > 00:09:08 debug #422 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bec4b67e0c55fe4aacc72e2ee2ebfede0554bc9a3790930c9672b0da2a479094/main.spi
00:09:09 verbose #28230 >
00:09:09 verbose #28231 > ╭─[ 635.29ms - stdout ]────────────────────────────────────────────────────────╮
00:09:09 verbose #28232 > │ () │
00:09:09 verbose #28233 > │ │
00:09:09 verbose #28234 > │ │
00:09:09 verbose #28235 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:09 verbose #28236 >
00:09:09 verbose #28237 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:09 verbose #28238 > nominal console_color = $"System.ConsoleColor"
00:09:09 verbose #28239 >
00:09:09 verbose #28240 > inl reset_color () : () =
00:09:09 verbose #28241 > run_target function
00:09:09 verbose #28242 > | Fsharp => fun () => $"System.Console.ResetColor ()"
00:09:09 verbose #28243 > | _ => fun () => ()
00:09:09 verbose #28244 >
00:09:09 verbose #28245 > inl set_foreground_color (color : console_color) : () =
00:09:09 verbose #28246 > run_target function
00:09:09 verbose #28247 > | Fsharp => fun () => $"System.Console.ForegroundColor <- !color"
00:09:09 verbose #28248 > | _ => fun () => ()
00:09:09 verbose #28249 > 00:09:08 debug #423 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f7fd5c038baf6d91094ba591075fbffca349c9f7f4b14ad519606fe3c2a7c6dd/main.spi
00:09:10 verbose #28250 >
00:09:10 verbose #28251 > ╭─[ 596.69ms - stdout ]────────────────────────────────────────────────────────╮
00:09:10 verbose #28252 > │ () │
00:09:10 verbose #28253 > │ │
00:09:10 verbose #28254 > │ │
00:09:10 verbose #28255 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:12 verbose #28256 > [NbConvertApp] Converting notebook console.dib.ipynb to html
00:09:12 verbose #28257 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:09:12 verbose #28258 > validate(nb)
00:09:14 verbose #28259 > [NbConvertApp] Writing 276909 bytes to console.dib.html
00:09:16 debug #28260 execute_with_options_async / exit_code: 0 / output.Length: 4201
00:09:16 debug #14 main / executeCommand / exitCode: 0
00:09:16 debug #28261 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 date_time.dib -Retries 3"", [||],
None, None, None)
00:09:17 verbose #28262 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: date_time.dib / _args: [
00:09:17 verbose #28263 > "-Retries",
00:09:17 verbose #28264 > 3
00:09:17 verbose #28265 > ]
00:09:20 verbose #28266 >
00:09:20 verbose #28267 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:20 verbose #28268 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:20 verbose #28269 > │ # date_time │
00:09:20 verbose #28270 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:20 verbose #28271 >
00:09:20 verbose #28272 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:20 verbose #28273 > open rust_operators
00:09:20 verbose #28274 > open sm'_operators
00:09:20 verbose #28275 >
00:09:20 verbose #28276 > ── spiral - import ─────────────────────────────────────────────────────────────
00:09:20 verbose #28277 > #r
00:09:20 verbose #28278 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:09:20 verbose #28279 > otNet.Interactive.Spiral.dll"
00:09:20 verbose #28280 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:09:20 verbose #28281 > #r
00:09:20 verbose #28282 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:09:20 verbose #28283 > otNet.Interactive.dll"
00:09:20 verbose #28284 > open type Microsoft.DotNet.Interactive.Kernel
00:09:22 verbose #28285 > 00:09:21 debug #424 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/73fbdf632f206e5ef1d660ecbea7919750298a79ac4ddffc8464fe42ed1def80/main.spi
00:09:23 verbose #28286 > 00:09:22 debug #425 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/81836abceb09d8e006216fe8c3cd7df4b5f8524fdebdc5d0e622387fdc697301/main.spi
00:09:24 verbose #28287 > 00:09:23 debug #426 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0b59d53044b64b3430d8fcc5b3a3a6fa7a6ed7d3d78e351edd0a4603f220a6d6/main.spi
00:09:24 verbose #28288 > 00:09:23 debug #427 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ac87eb490fbc8c45c90b4e3618f5bb5ef033c72473494e14c21134d56c116209/main.spi
00:09:25 verbose #28289 > 00:09:24 debug #428 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/13997110507d9d7af336ea5cb3c08732c88d81c97ad516f5946343019756e55a/main.spi
00:09:25 verbose #28290 > 00:09:24 debug #429 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/032c8b088372ab832664d98a64dd782e20000598cb6f954fca120c7fcc91e0cc/main.spi
00:09:25 verbose #28291 > 00:09:24 debug #430 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/10c3c9cadf96571c1f7b8ded19c058b99d24a87673940a4ace33fb18a7b638cc/main.spi
00:09:26 verbose #28292 >
00:09:26 verbose #28293 > ╭─[ 5.87s - stdout ]───────────────────────────────────────────────────────────╮
00:09:26 verbose #28294 > │ () │
00:09:26 verbose #28295 > │ │
00:09:26 verbose #28296 > │ │
00:09:26 verbose #28297 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:26 verbose #28298 >
00:09:26 verbose #28299 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:26 verbose #28300 > //// test
00:09:26 verbose #28301 >
00:09:26 verbose #28302 > open testing
00:09:26 verbose #28303 > 00:09:25 debug #431 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7a7e482c2d014704088cde7ef06991e8f99723af09ddc7a25d0177c747b3ac70/main.spi
00:09:26 verbose #28304 > 00:09:25 debug #432 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/985a2062e50fddda1b89de8b792b508339c9d47a2c420f37b274099510c0c521/main.spi
00:09:27 verbose #28305 >
00:09:27 verbose #28306 > ╭─[ 620.61ms - stdout ]────────────────────────────────────────────────────────╮
00:09:27 verbose #28307 > │ () │
00:09:27 verbose #28308 > │ │
00:09:27 verbose #28309 > │ │
00:09:27 verbose #28310 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:27 verbose #28311 >
00:09:27 verbose #28312 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:27 verbose #28313 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:27 verbose #28314 > │ ## types │
00:09:27 verbose #28315 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:27 verbose #28316 >
00:09:27 verbose #28317 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:27 verbose #28318 > inl types () =
00:09:27 verbose #28319 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:27 verbose #28320 > Fable.Core.Emit(\"chrono::DateTime<$0>\")>]]\n#endif\ntype chrono_DateTime<'T> =
00:09:27 verbose #28321 > class end"
00:09:27 verbose #28322 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:27 verbose #28323 > Fable.Core.Emit(\"chrono::Local\")>]]\n#endif\ntype chrono_Local = class end"
00:09:27 verbose #28324 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:27 verbose #28325 > Fable.Core.Emit(\"chrono::NaiveDateTime\")>]]\n#endif\ntype chrono_NaiveDateTime
00:09:27 verbose #28326 > = class end"
00:09:27 verbose #28327 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:27 verbose #28328 > Fable.Core.Emit(\"chrono::Utc\")>]]\n#endif\ntype chrono_Utc = class end"
00:09:27 verbose #28329 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:09:27 verbose #28330 > Fable.Core.Emit(\"std::time::Duration\")>]]\n#endif\ntype std_time_Duration =
00:09:27 verbose #28331 > class end"
00:09:27 verbose #28332 > 00:09:26 debug #433 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ce5f7f56a35a24589dd9d80909e3d928c5c08c319d8b65c1123fcb1ceed3ea6b/main.spi
00:09:27 verbose #28333 > 00:09:26 debug #434 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a01f6f93a421bbf6b2cc90b18687ccb3de15f40d48b18797461e7469425d0f11/main.spi
00:09:27 verbose #28334 >
00:09:27 verbose #28335 > ╭─[ 615.45ms - stdout ]────────────────────────────────────────────────────────╮
00:09:27 verbose #28336 > │ () │
00:09:27 verbose #28337 > │ │
00:09:27 verbose #28338 > │ │
00:09:27 verbose #28339 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:27 verbose #28340 >
00:09:27 verbose #28341 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:27 verbose #28342 > inl types () =
00:09:27 verbose #28343 > sm'.types ()
00:09:27 verbose #28344 > types ()
00:09:27 verbose #28345 > 00:09:26 debug #435 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fa4d217e72c9145a7c480e64d16d1c22005cd7ac90540939669f7255428076d5/main.spi
00:09:28 verbose #28346 > 00:09:27 debug #436 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/358c862038b2c7ab74aff08717f8be22961b3320519b1716afb66c6e4dc9f97e/main.spi
00:09:28 verbose #28347 >
00:09:28 verbose #28348 > ╭─[ 689.44ms - stdout ]────────────────────────────────────────────────────────╮
00:09:28 verbose #28349 > │ () │
00:09:28 verbose #28350 > │ │
00:09:28 verbose #28351 > │ │
00:09:28 verbose #28352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:28 verbose #28353 >
00:09:28 verbose #28354 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:28 verbose #28355 > nominal timestamp = i64
00:09:28 verbose #28356 > nominal duration = $"std_time_Duration"
00:09:28 verbose #28357 > nominal date_time = $"System.DateTime"
00:09:28 verbose #28358 > nominal date_time' t = $"chrono_DateTime<`t>"
00:09:28 verbose #28359 > nominal local = $"chrono_Local"
00:09:28 verbose #28360 > nominal naive_date_time = $"chrono_NaiveDateTime"
00:09:28 verbose #28361 > nominal utc = $"chrono_Utc"
00:09:28 verbose #28362 > 00:09:27 debug #437 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4b3db2ca57bd3a35687874bd5121b4a52403f542d1c411e7d334edf1aa0b3679/main.spi
00:09:28 verbose #28363 > 00:09:27 debug #438 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/739a9f184038d4d7e55d3df4adf74da8ea252c33cbfa959f59f9a718babadc52/main.spi
00:09:29 verbose #28364 >
00:09:29 verbose #28365 > ╭─[ 650.77ms - stdout ]────────────────────────────────────────────────────────╮
00:09:29 verbose #28366 > │ () │
00:09:29 verbose #28367 > │ │
00:09:29 verbose #28368 > │ │
00:09:29 verbose #28369 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:29 verbose #28370 >
00:09:29 verbose #28371 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:29 verbose #28372 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:29 verbose #28373 > │ ## date_time_milliseconds │
00:09:29 verbose #28374 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:29 verbose #28375 >
00:09:29 verbose #28376 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:29 verbose #28377 > inl date_time_milliseconds
00:09:29 verbose #28378 > (year : int) (month : int) (day : int) (hour : int) (minute : int) (second :
00:09:29 verbose #28379 > int) (millisecond : int)
00:09:29 verbose #28380 > : date_time
00:09:29 verbose #28381 > =
00:09:29 verbose #28382 > $'System.DateTime (!year, !month, !day, !hour, !minute, !second,
00:09:29 verbose #28383 > !millisecond)'
00:09:29 verbose #28384 > 00:09:28 debug #439 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9041c5117f0728e5a748aa95dc58fe5063b5bc8149208164b71fadd2ac026567/main.spi
00:09:29 verbose #28385 > 00:09:28 debug #440 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/559a8f6367b18f4375feb7be74ea4c1daa80ec832191cd0b3db9f56a6ece7cb3/main.spi
00:09:29 verbose #28386 >
00:09:29 verbose #28387 > ╭─[ 645.05ms - stdout ]────────────────────────────────────────────────────────╮
00:09:29 verbose #28388 > │ () │
00:09:29 verbose #28389 > │ │
00:09:29 verbose #28390 > │ │
00:09:29 verbose #28391 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:29 verbose #28392 >
00:09:29 verbose #28393 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:29 verbose #28394 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:29 verbose #28395 > │ ## date_time_utc │
00:09:29 verbose #28396 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:29 verbose #28397 >
00:09:29 verbose #28398 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:29 verbose #28399 > inl date_time_utc
00:09:29 verbose #28400 > (year : int) (month : int) (day : int) (hour : int) (minute : int) (second :
00:09:29 verbose #28401 > int)
00:09:29 verbose #28402 > : date_time
00:09:29 verbose #28403 > =
00:09:29 verbose #28404 > $'System.DateTime (!year, !month, !day, !hour, !minute, !second,
00:09:29 verbose #28405 > System.DateTimeKind.Utc)'
00:09:30 verbose #28406 > 00:09:29 debug #441 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/868a8cf263b76dc74e8754f3bb0f24b4ee375a169556147fbc627ea8dad2b786/main.spi
00:09:30 verbose #28407 >
00:09:30 verbose #28408 > ╭─[ 750.59ms - stdout ]────────────────────────────────────────────────────────╮
00:09:30 verbose #28409 > │ () │
00:09:30 verbose #28410 > │ │
00:09:30 verbose #28411 > │ │
00:09:30 verbose #28412 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:30 verbose #28413 >
00:09:30 verbose #28414 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:30 verbose #28415 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:30 verbose #28416 > │ ## naive_utc │
00:09:30 verbose #28417 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:30 verbose #28418 >
00:09:30 verbose #28419 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:30 verbose #28420 > inl naive_utc (date_time : date_time' utc) : naive_date_time =
00:09:30 verbose #28421 > inl date_time = join date_time
00:09:30 verbose #28422 > !\($'"!date_time.naive_utc()"')
00:09:31 verbose #28423 > 00:09:30 debug #442 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a41f9bb29c6490785165843e3bdad086668d924190a64e84a85dae698843b7e4/main.spi
00:09:31 verbose #28424 >
00:09:31 verbose #28425 > ╭─[ 1.13s - stdout ]───────────────────────────────────────────────────────────╮
00:09:31 verbose #28426 > │ () │
00:09:31 verbose #28427 > │ │
00:09:31 verbose #28428 > │ │
00:09:31 verbose #28429 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:31 verbose #28430 >
00:09:31 verbose #28431 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:31 verbose #28432 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:31 verbose #28433 > │ ## to_local │
00:09:31 verbose #28434 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:31 verbose #28435 >
00:09:31 verbose #28436 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:31 verbose #28437 > inl to_local (date_time : date_time' utc) : date_time' local =
00:09:31 verbose #28438 > inl naive_date_time = date_time |> naive_utc
00:09:31 verbose #28439 > !\($'"chrono::offset::TimeZone::from_utc_datetime(&chrono::Local,
00:09:31 verbose #28440 > &!naive_date_time)"')
00:09:32 verbose #28441 > 00:09:31 debug #443 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fe1c743fd377bb1f06f38faebc4088675019d24256a13a047e1e2796b56c4532/main.spi
00:09:32 verbose #28442 >
00:09:32 verbose #28443 > ╭─[ 745.15ms - stdout ]────────────────────────────────────────────────────────╮
00:09:32 verbose #28444 > │ () │
00:09:32 verbose #28445 > │ │
00:09:32 verbose #28446 > │ │
00:09:32 verbose #28447 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:32 verbose #28448 >
00:09:32 verbose #28449 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:32 verbose #28450 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:32 verbose #28451 > │ ## from_timestamp_micros │
00:09:32 verbose #28452 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:32 verbose #28453 >
00:09:32 verbose #28454 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:32 verbose #28455 > inl from_timestamp_micros forall t {number; int}. (timestamp : t) : option
00:09:32 verbose #28456 > (date_time' utc) =
00:09:32 verbose #28457 > inl result : optionm'.option' (date_time' utc) =
00:09:32 verbose #28458 > !\\(timestamp, $'"chrono::DateTime::from_timestamp_micros($0)"')
00:09:32 verbose #28459 > result |> optionm'.unbox
00:09:32 verbose #28460 > 00:09:31 debug #444 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d68e95f7f85c0c098e169ec81e84ce4df9b1bc23aabe436172965c274a7017ff/main.spi
00:09:33 verbose #28461 >
00:09:33 verbose #28462 > ╭─[ 773.07ms - stdout ]────────────────────────────────────────────────────────╮
00:09:33 verbose #28463 > │ () │
00:09:33 verbose #28464 > │ │
00:09:33 verbose #28465 > │ │
00:09:33 verbose #28466 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #28467 >
00:09:33 verbose #28468 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:33 verbose #28469 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:33 verbose #28470 > │ ## ticks │
00:09:33 verbose #28471 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #28472 >
00:09:33 verbose #28473 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:33 verbose #28474 > inl ticks (date_time : date_time) : timestamp =
00:09:33 verbose #28475 > date_time |> $'_.Ticks'
00:09:33 verbose #28476 > 00:09:32 debug #445 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f9b659a680f4f6b0a51005d30ab60a83765ffe81ba3f41b81463c4031915d2d9/main.spi
00:09:33 verbose #28477 >
00:09:33 verbose #28478 > ╭─[ 827.74ms - stdout ]────────────────────────────────────────────────────────╮
00:09:33 verbose #28479 > │ () │
00:09:33 verbose #28480 > │ │
00:09:33 verbose #28481 > │ │
00:09:33 verbose #28482 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #28483 >
00:09:33 verbose #28484 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:33 verbose #28485 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:33 verbose #28486 > │ ## format │
00:09:33 verbose #28487 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:33 verbose #28488 >
00:09:33 verbose #28489 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:33 verbose #28490 > inl format (format : string) (date_time : date_time) : string =
00:09:33 verbose #28491 > $'!date_time.ToString' format
00:09:34 verbose #28492 > 00:09:33 debug #446 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/36646897c07dd0f9d189cb8b43a37b937cf774391ca1a80aa6ae419cdaddac67/main.spi
00:09:35 verbose #28493 >
00:09:35 verbose #28494 > ╭─[ 1.06s - stdout ]───────────────────────────────────────────────────────────╮
00:09:35 verbose #28495 > │ () │
00:09:35 verbose #28496 > │ │
00:09:35 verbose #28497 > │ │
00:09:35 verbose #28498 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:35 verbose #28499 >
00:09:35 verbose #28500 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:35 verbose #28501 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:35 verbose #28502 > │ ## format_iso8601 │
00:09:35 verbose #28503 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:35 verbose #28504 >
00:09:35 verbose #28505 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:35 verbose #28506 > inl format_iso8601 (date_time : date_time) =
00:09:35 verbose #28507 > date_time |> format "yyyy-MM-ddTHH-mm-ss.fff"
00:09:35 verbose #28508 > 00:09:34 debug #447 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4d1b575f04e8c82a407ac940064af6131cf138b150ab5c975739ed6e06d5c75a/main.spi
00:09:35 verbose #28509 >
00:09:35 verbose #28510 > ╭─[ 862.26ms - stdout ]────────────────────────────────────────────────────────╮
00:09:35 verbose #28511 > │ () │
00:09:35 verbose #28512 > │ │
00:09:35 verbose #28513 > │ │
00:09:35 verbose #28514 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:35 verbose #28515 >
00:09:35 verbose #28516 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:35 verbose #28517 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:35 verbose #28518 > │ ## format' │
00:09:35 verbose #28519 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:35 verbose #28520 >
00:09:35 verbose #28521 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:35 verbose #28522 > inl format' (format : string) (date_time : date_time' utc) : sm'.std_string =
00:09:35 verbose #28523 > inl format = #format
00:09:35 verbose #28524 > inl date_time = join date_time
00:09:35 verbose #28525 > !\($'"!date_time.format(!format).to_string()"')
00:09:36 verbose #28526 > 00:09:35 debug #448 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4451f44f971307f3138119f4491fbbb0c3840c8da94a4585bb79e64f22ea52cf/main.spi
00:09:36 verbose #28527 >
00:09:36 verbose #28528 > ╭─[ 872.97ms - stdout ]────────────────────────────────────────────────────────╮
00:09:36 verbose #28529 > │ () │
00:09:36 verbose #28530 > │ │
00:09:36 verbose #28531 > │ │
00:09:36 verbose #28532 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:36 verbose #28533 >
00:09:36 verbose #28534 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:36 verbose #28535 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:36 verbose #28536 > │ ## format'' │
00:09:36 verbose #28537 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:36 verbose #28538 >
00:09:36 verbose #28539 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:36 verbose #28540 > inl format'' (format : string) (date_time : date_time' _) : sm'.std_string =
00:09:36 verbose #28541 > inl format = #format
00:09:36 verbose #28542 > inl date_time = join date_time
00:09:36 verbose #28543 > !\($'"!date_time.format(!format).to_string()"')
00:09:37 verbose #28544 > 00:09:36 debug #449 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e87a2d37ad3381fcc27a3b8bfc586c791136031763a2b559b724658cdf28204a/main.spi
00:09:37 verbose #28545 >
00:09:37 verbose #28546 > ╭─[ 1.04s - stdout ]───────────────────────────────────────────────────────────╮
00:09:37 verbose #28547 > │ () │
00:09:37 verbose #28548 > │ │
00:09:37 verbose #28549 > │ │
00:09:37 verbose #28550 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:37 verbose #28551 >
00:09:37 verbose #28552 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:37 verbose #28553 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:37 verbose #28554 > │ ## format_timestamp │
00:09:37 verbose #28555 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:37 verbose #28556 >
00:09:37 verbose #28557 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:37 verbose #28558 > inl format_timestamp forall t {number; int}. (timestamp : t) =
00:09:37 verbose #28559 > inl timestamp = join timestamp
00:09:37 verbose #28560 > (timestamp / 1000)
00:09:37 verbose #28561 > |> from_timestamp_micros
00:09:37 verbose #28562 > |> optionm.map fun x =>
00:09:37 verbose #28563 > x
00:09:37 verbose #28564 > |> to_local
00:09:37 verbose #28565 > |> format'' "%Y-%m-%d %H:%M:%S"
00:09:37 verbose #28566 > |> sm'.from_std_string
00:09:37 verbose #28567 > |> resultm.from_option
00:09:38 verbose #28568 > 00:09:37 debug #450 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1884631ce2db1fb827c527529f5516506fa99302d11a8ada1bc8af64e48cefe8/main.spi
00:09:38 verbose #28569 >
00:09:38 verbose #28570 > ╭─[ 812.49ms - stdout ]────────────────────────────────────────────────────────╮
00:09:38 verbose #28571 > │ () │
00:09:38 verbose #28572 > │ │
00:09:38 verbose #28573 > │ │
00:09:38 verbose #28574 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:38 verbose #28575 >
00:09:38 verbose #28576 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:38 verbose #28577 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:38 verbose #28578 > │ ## duration_from_millis │
00:09:38 verbose #28579 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:38 verbose #28580 >
00:09:38 verbose #28581 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:38 verbose #28582 > inl duration_from_millis (ms : u64) : duration =
00:09:38 verbose #28583 > inl ms = join ms
00:09:38 verbose #28584 > !\($'"std::time::Duration::from_millis(!ms)"')
00:09:39 verbose #28585 > 00:09:38 debug #451 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3523676dfd5eac565dcc823d3a83db8935cf8a41263f77a4510fd746ef1343d1/main.spi
00:09:39 verbose #28586 >
00:09:39 verbose #28587 > ╭─[ 764.61ms - stdout ]────────────────────────────────────────────────────────╮
00:09:39 verbose #28588 > │ () │
00:09:39 verbose #28589 > │ │
00:09:39 verbose #28590 > │ │
00:09:39 verbose #28591 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:39 verbose #28592 >
00:09:39 verbose #28593 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:39 verbose #28594 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:39 verbose #28595 > │ ## min_value │
00:09:39 verbose #28596 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:39 verbose #28597 >
00:09:39 verbose #28598 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:39 verbose #28599 > inl min_value () : date_time =
00:09:39 verbose #28600 > $'System.DateTime.MinValue'
00:09:39 verbose #28601 > 00:09:38 debug #452 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/21ff97f8fca48e3766280b48fc984f64b483537891552f45450d8cb4691d660e/main.spi
00:09:40 verbose #28602 >
00:09:40 verbose #28603 > ╭─[ 687.28ms - stdout ]────────────────────────────────────────────────────────╮
00:09:40 verbose #28604 > │ () │
00:09:40 verbose #28605 > │ │
00:09:40 verbose #28606 > │ │
00:09:40 verbose #28607 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:40 verbose #28608 >
00:09:40 verbose #28609 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:40 verbose #28610 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:40 verbose #28611 > │ ## max_value │
00:09:40 verbose #28612 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:40 verbose #28613 >
00:09:40 verbose #28614 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:40 verbose #28615 > inl max_value () : date_time =
00:09:40 verbose #28616 > $'System.DateTime.MaxValue'
00:09:40 verbose #28617 > 00:09:39 debug #453 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7f40561def08ce31b7d488df69c00821909a4767a21338a52fb0920b0b39b122/main.spi
00:09:40 verbose #28618 >
00:09:40 verbose #28619 > ╭─[ 703.35ms - stdout ]────────────────────────────────────────────────────────╮
00:09:40 verbose #28620 > │ () │
00:09:40 verbose #28621 > │ │
00:09:40 verbose #28622 > │ │
00:09:40 verbose #28623 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:40 verbose #28624 >
00:09:40 verbose #28625 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:40 verbose #28626 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:40 verbose #28627 > │ ## unix_epoch │
00:09:40 verbose #28628 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:40 verbose #28629 >
00:09:40 verbose #28630 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:40 verbose #28631 > inl unix_epoch () : date_time =
00:09:40 verbose #28632 > $'System.DateTime.UnixEpoch'
00:09:41 verbose #28633 > 00:09:40 debug #454 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/626045bef98e1c074c4251e8871239a3ab8eba7393b1891bee264c56dc55855e/main.spi
00:09:41 verbose #28634 >
00:09:41 verbose #28635 > ╭─[ 690.21ms - stdout ]────────────────────────────────────────────────────────╮
00:09:41 verbose #28636 > │ () │
00:09:41 verbose #28637 > │ │
00:09:41 verbose #28638 > │ │
00:09:41 verbose #28639 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:41 verbose #28640 >
00:09:41 verbose #28641 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:41 verbose #28642 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:41 verbose #28643 > │ ## to_universal_time │
00:09:41 verbose #28644 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:41 verbose #28645 >
00:09:41 verbose #28646 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:41 verbose #28647 > inl to_universal_time (date_time : date_time) : date_time =
00:09:41 verbose #28648 > date_time |> $'_.ToUniversalTime()'
00:09:42 verbose #28649 > 00:09:41 debug #455 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5c5d4d120b944eb5d8215d4c390c4fb170765a163a042ac4d777052a32df6f37/main.spi
00:09:42 verbose #28650 >
00:09:42 verbose #28651 > ╭─[ 710.39ms - stdout ]────────────────────────────────────────────────────────╮
00:09:42 verbose #28652 > │ () │
00:09:42 verbose #28653 > │ │
00:09:42 verbose #28654 > │ │
00:09:42 verbose #28655 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:42 verbose #28656 >
00:09:42 verbose #28657 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:42 verbose #28658 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:42 verbose #28659 > │ ## date_time_kind │
00:09:42 verbose #28660 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:42 verbose #28661 >
00:09:42 verbose #28662 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:42 verbose #28663 > union date_time_kind =
00:09:42 verbose #28664 > | Unspecified
00:09:42 verbose #28665 > | Utc
00:09:42 verbose #28666 > | Local
00:09:42 verbose #28667 > 00:09:41 debug #456 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/92fde1941239bf3eaad5a8fd75c860a73a706a9c52f7dc075c4321e53976c7b2/main.spi
00:09:42 verbose #28668 >
00:09:42 verbose #28669 > ╭─[ 679.61ms - stdout ]────────────────────────────────────────────────────────╮
00:09:42 verbose #28670 > │ () │
00:09:42 verbose #28671 > │ │
00:09:42 verbose #28672 > │ │
00:09:42 verbose #28673 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:42 verbose #28674 >
00:09:42 verbose #28675 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:42 verbose #28676 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:42 verbose #28677 > │ ## specify_date_kind │
00:09:42 verbose #28678 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:42 verbose #28679 >
00:09:42 verbose #28680 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:42 verbose #28681 > inl specify_date_kind (kind : date_time_kind) (date_time : date_time) :
00:09:42 verbose #28682 > date_time =
00:09:42 verbose #28683 > inl kind : $'System.DateTimeKind' =
00:09:42 verbose #28684 > match kind with
00:09:42 verbose #28685 > | Unspecified => $'System.DateTimeKind.Unspecified'
00:09:42 verbose #28686 > | Utc => $'System.DateTimeKind.Utc'
00:09:42 verbose #28687 > | Local => $'System.DateTimeKind.Local'
00:09:42 verbose #28688 > $'System.DateTime.SpecifyKind (!date_time, !kind)'
00:09:43 verbose #28689 > 00:09:42 debug #457 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c2ff04025603f9a9a76871c2b83d835039fa504128bd1a7b7d34e4e7a9008ab6/main.spi
00:09:43 verbose #28690 >
00:09:43 verbose #28691 > ╭─[ 678.17ms - stdout ]────────────────────────────────────────────────────────╮
00:09:43 verbose #28692 > │ () │
00:09:43 verbose #28693 > │ │
00:09:43 verbose #28694 > │ │
00:09:43 verbose #28695 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:43 verbose #28696 >
00:09:43 verbose #28697 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:43 verbose #28698 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:43 verbose #28699 > │ ## time_span │
00:09:43 verbose #28700 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:43 verbose #28701 >
00:09:43 verbose #28702 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:43 verbose #28703 > nominal time_span = $'System.TimeSpan'
00:09:43 verbose #28704 >
00:09:43 verbose #28705 > inl time_span x : time_span =
00:09:43 verbose #28706 > $'`time_span !x '
00:09:44 verbose #28707 > 00:09:43 debug #458 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ce34eaeae7fdecb877cbffa05db90b56f414ec8a22d9882dbe5e9f520e2f5bf7/main.spi
00:09:44 verbose #28708 >
00:09:44 verbose #28709 > ╭─[ 768.48ms - stdout ]────────────────────────────────────────────────────────╮
00:09:44 verbose #28710 > │ () │
00:09:44 verbose #28711 > │ │
00:09:44 verbose #28712 > │ │
00:09:44 verbose #28713 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:44 verbose #28714 >
00:09:44 verbose #28715 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:44 verbose #28716 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:44 verbose #28717 > │ ## new_time_span │
00:09:44 verbose #28718 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:44 verbose #28719 >
00:09:44 verbose #28720 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:44 verbose #28721 > inl new_time_span (a : date_time) (b : date_time) : time_span =
00:09:44 verbose #28722 > $'!b - !a '
00:09:44 verbose #28723 > 00:09:43 debug #459 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2be8a131237464ab5ccdb1a70de4d7cb1364ce39da8b4ed34d27b6f2c3a544a6/main.spi
00:09:45 verbose #28724 >
00:09:45 verbose #28725 > ╭─[ 662.09ms - stdout ]────────────────────────────────────────────────────────╮
00:09:45 verbose #28726 > │ () │
00:09:45 verbose #28727 > │ │
00:09:45 verbose #28728 > │ │
00:09:45 verbose #28729 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:45 verbose #28730 >
00:09:45 verbose #28731 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:45 verbose #28732 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:45 verbose #28733 > │ ## time_span_format │
00:09:45 verbose #28734 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:45 verbose #28735 >
00:09:45 verbose #28736 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:45 verbose #28737 > inl time_span_format (format : string) (time_span : time_span) : string =
00:09:45 verbose #28738 > $'!time_span.ToString' format
00:09:45 verbose #28739 > 00:09:44 debug #460 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5feda1aa5bfa0fa595074faae7db1f33e84420d3bc3d2c701a8cc2578146b690/main.spi
00:09:45 verbose #28740 >
00:09:45 verbose #28741 > ╭─[ 715.30ms - stdout ]────────────────────────────────────────────────────────╮
00:09:45 verbose #28742 > │ () │
00:09:45 verbose #28743 > │ │
00:09:45 verbose #28744 > │ │
00:09:45 verbose #28745 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:45 verbose #28746 >
00:09:45 verbose #28747 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:45 verbose #28748 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:45 verbose #28749 > │ ## hours │
00:09:45 verbose #28750 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:45 verbose #28751 >
00:09:45 verbose #28752 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:45 verbose #28753 > inl hours (time_span : time_span) : i32 =
00:09:45 verbose #28754 > time_span |> $'_.Hours'
00:09:46 verbose #28755 > 00:09:45 debug #461 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/82bcd06c57532d137b01af8b71dacc38171c1286e3fe2ae446e88ad98198144d/main.spi
00:09:46 verbose #28756 >
00:09:46 verbose #28757 > ╭─[ 737.19ms - stdout ]────────────────────────────────────────────────────────╮
00:09:46 verbose #28758 > │ () │
00:09:46 verbose #28759 > │ │
00:09:46 verbose #28760 > │ │
00:09:46 verbose #28761 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:46 verbose #28762 >
00:09:46 verbose #28763 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:46 verbose #28764 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:46 verbose #28765 > │ ## milliseconds │
00:09:46 verbose #28766 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:46 verbose #28767 >
00:09:46 verbose #28768 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:46 verbose #28769 > inl milliseconds (time_span : time_span) : i32 =
00:09:46 verbose #28770 > time_span |> $'_.Milliseconds'
00:09:47 verbose #28771 > 00:09:46 debug #462 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7cf4ff1f084b05489d5b459a6ebd184c5c523331dae6d63d31c9ec88c6283fb5/main.spi
00:09:47 verbose #28772 >
00:09:47 verbose #28773 > ╭─[ 735.01ms - stdout ]────────────────────────────────────────────────────────╮
00:09:47 verbose #28774 > │ () │
00:09:47 verbose #28775 > │ │
00:09:47 verbose #28776 > │ │
00:09:47 verbose #28777 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:47 verbose #28778 >
00:09:47 verbose #28779 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:47 verbose #28780 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:47 verbose #28781 > │ ## minutes │
00:09:47 verbose #28782 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:47 verbose #28783 >
00:09:47 verbose #28784 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:47 verbose #28785 > inl minutes (time_span : time_span) : i32 =
00:09:47 verbose #28786 > time_span |> $'_.Minutes'
00:09:47 verbose #28787 > 00:09:46 debug #463 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7b9a3a7cd6c0375ae6f9a25aeabd90b083a6a40097c54f1dcf38f168c5d47c3c/main.spi
00:09:47 verbose #28788 >
00:09:47 verbose #28789 > ╭─[ 669.22ms - stdout ]────────────────────────────────────────────────────────╮
00:09:47 verbose #28790 > │ () │
00:09:47 verbose #28791 > │ │
00:09:47 verbose #28792 > │ │
00:09:47 verbose #28793 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:47 verbose #28794 >
00:09:47 verbose #28795 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:47 verbose #28796 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:47 verbose #28797 > │ ## seconds │
00:09:47 verbose #28798 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:47 verbose #28799 >
00:09:47 verbose #28800 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:47 verbose #28801 > inl seconds (time_span : time_span) : i32 =
00:09:47 verbose #28802 > time_span |> $'_.Seconds'
00:09:48 verbose #28803 > 00:09:47 debug #464 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8880ed80af38b90b1ecc17e703fe5dfda876dda306a4bdaf2a4118e4ce67bb0b/main.spi
00:09:48 verbose #28804 >
00:09:48 verbose #28805 > ╭─[ 757.94ms - stdout ]────────────────────────────────────────────────────────╮
00:09:48 verbose #28806 > │ () │
00:09:48 verbose #28807 > │ │
00:09:48 verbose #28808 > │ │
00:09:48 verbose #28809 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:48 verbose #28810 >
00:09:48 verbose #28811 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:48 verbose #28812 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:48 verbose #28813 > │ ## total_seconds │
00:09:48 verbose #28814 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:48 verbose #28815 >
00:09:48 verbose #28816 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:48 verbose #28817 > inl total_seconds (time_span : time_span) : f64 =
00:09:48 verbose #28818 > time_span |> $'_.TotalSeconds'
00:09:49 verbose #28819 > 00:09:48 debug #465 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9e40f051d471f96ee4ba3d4021d71c8f7dd811c6c34b5769c67b44f6650bd67b/main.spi
00:09:49 verbose #28820 >
00:09:49 verbose #28821 > ╭─[ 692.23ms - stdout ]────────────────────────────────────────────────────────╮
00:09:49 verbose #28822 > │ () │
00:09:49 verbose #28823 > │ │
00:09:49 verbose #28824 > │ │
00:09:49 verbose #28825 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:49 verbose #28826 >
00:09:49 verbose #28827 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:49 verbose #28828 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:49 verbose #28829 > │ ## time_zone_info │
00:09:49 verbose #28830 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:49 verbose #28831 >
00:09:49 verbose #28832 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:49 verbose #28833 > nominal time_zone_info = $'System.TimeZoneInfo'
00:09:49 verbose #28834 > 00:09:48 debug #466 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d21c5cbfbc07c6d3038df4dd23c81b0a8a12d9e61bda1c0ff51390a1c9205a76/main.spi
00:09:50 verbose #28835 >
00:09:50 verbose #28836 > ╭─[ 707.90ms - stdout ]────────────────────────────────────────────────────────╮
00:09:50 verbose #28837 > │ () │
00:09:50 verbose #28838 > │ │
00:09:50 verbose #28839 > │ │
00:09:50 verbose #28840 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:50 verbose #28841 >
00:09:50 verbose #28842 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:50 verbose #28843 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:50 verbose #28844 > │ ## time_zone_local │
00:09:50 verbose #28845 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:50 verbose #28846 >
00:09:50 verbose #28847 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:50 verbose #28848 > inl time_zone_local () : time_zone_info =
00:09:50 verbose #28849 > run_target function
00:09:50 verbose #28850 > | Fsharp (Native) => fun () =>
00:09:50 verbose #28851 > $'System.TimeZoneInfo.Local'
00:09:50 verbose #28852 > | Rust (Native) => fun () =>
00:09:50 verbose #28853 > open rust_operators
00:09:50 verbose #28854 > !\($'"0i64.into()"')
00:09:50 verbose #28855 > | _ => fun () => null ()
00:09:50 verbose #28856 > 00:09:49 debug #467 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a662cc063ff47c3d3da499e13f99153187c91f32bcbe0d14a0fcd15e52ae4c93/main.spi
00:09:50 verbose #28857 >
00:09:50 verbose #28858 > ╭─[ 764.07ms - stdout ]────────────────────────────────────────────────────────╮
00:09:50 verbose #28859 > │ () │
00:09:50 verbose #28860 > │ │
00:09:50 verbose #28861 > │ │
00:09:50 verbose #28862 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:50 verbose #28863 >
00:09:50 verbose #28864 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:50 verbose #28865 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:50 verbose #28866 > │ ## get_utc_offset │
00:09:50 verbose #28867 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:50 verbose #28868 >
00:09:50 verbose #28869 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:50 verbose #28870 > inl get_utc_offset (time_zone_info : time_zone_info) (date_time : date_time) :
00:09:50 verbose #28871 > time_span =
00:09:50 verbose #28872 > run_target function
00:09:50 verbose #28873 > | Fsharp (Native) => fun () =>
00:09:50 verbose #28874 > date_time |> $'_.GetUtcOffset' (time_zone_local ())
00:09:50 verbose #28875 > | _ => fun () =>
00:09:50 verbose #28876 > time_span ()
00:09:51 verbose #28877 > 00:09:50 debug #468 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/588c9eaba2215eaa74a6d19731223f42bf9ab954462b4565ef3a868ecefe9796/main.spi
00:09:51 verbose #28878 >
00:09:51 verbose #28879 > ╭─[ 770.45ms - stdout ]────────────────────────────────────────────────────────╮
00:09:51 verbose #28880 > │ () │
00:09:51 verbose #28881 > │ │
00:09:51 verbose #28882 > │ │
00:09:51 verbose #28883 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:51 verbose #28884 >
00:09:51 verbose #28885 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:51 verbose #28886 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:51 verbose #28887 > │ ## add_days │
00:09:51 verbose #28888 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:51 verbose #28889 >
00:09:51 verbose #28890 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:51 verbose #28891 > inl add_days (days : i32) (date_time : date_time) : date_time =
00:09:51 verbose #28892 > $'!date_time.AddDays' days
00:09:52 verbose #28893 > 00:09:51 debug #469 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/794a8cdae9241188ce4af1c0efac7875ab360f27950c08bbf3babf9f2402a80c/main.spi
00:09:52 verbose #28894 >
00:09:52 verbose #28895 > ╭─[ 1.05s - stdout ]───────────────────────────────────────────────────────────╮
00:09:52 verbose #28896 > │ () │
00:09:52 verbose #28897 > │ │
00:09:52 verbose #28898 > │ │
00:09:52 verbose #28899 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:52 verbose #28900 >
00:09:52 verbose #28901 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:52 verbose #28902 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:52 verbose #28903 > │ ## now │
00:09:52 verbose #28904 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:52 verbose #28905 >
00:09:52 verbose #28906 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:52 verbose #28907 > inl now () : date_time =
00:09:52 verbose #28908 > $'System.DateTime.Now'
00:09:53 verbose #28909 > 00:09:52 debug #470 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ee885b117231ee444f8fce143aa9b16cec9baca869768900662d663e835b64a/main.spi
00:09:53 verbose #28910 >
00:09:53 verbose #28911 > ╭─[ 836.91ms - stdout ]────────────────────────────────────────────────────────╮
00:09:53 verbose #28912 > │ () │
00:09:53 verbose #28913 > │ │
00:09:53 verbose #28914 > │ │
00:09:53 verbose #28915 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:53 verbose #28916 >
00:09:53 verbose #28917 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:53 verbose #28918 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:53 verbose #28919 > │ ## utc_now │
00:09:53 verbose #28920 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:53 verbose #28921 >
00:09:53 verbose #28922 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:53 verbose #28923 > inl utc_now () : date_time =
00:09:53 verbose #28924 > $'System.DateTime.UtcNow'
00:09:54 verbose #28925 > 00:09:53 debug #471 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bb5088f25c93fb2c5f66a526eda841c809d2f6927608e2c00f3d57128a2da788/main.spi
00:09:54 verbose #28926 >
00:09:54 verbose #28927 > ╭─[ 953.99ms - stdout ]────────────────────────────────────────────────────────╮
00:09:54 verbose #28928 > │ () │
00:09:54 verbose #28929 > │ │
00:09:54 verbose #28930 > │ │
00:09:54 verbose #28931 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:54 verbose #28932 >
00:09:54 verbose #28933 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:54 verbose #28934 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:54 verbose #28935 > │ ## timestamp_guid │
00:09:54 verbose #28936 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:54 verbose #28937 >
00:09:54 verbose #28938 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:54 verbose #28939 > type timestamp_guid = guid.guid
00:09:55 verbose #28940 > 00:09:54 debug #472 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/82fdce6f45bbe387d96ce524d5db8504a194de892a035885ec66c3032f579a91/main.spi
00:09:55 verbose #28941 >
00:09:55 verbose #28942 > ╭─[ 850.20ms - stdout ]────────────────────────────────────────────────────────╮
00:09:55 verbose #28943 > │ () │
00:09:55 verbose #28944 > │ │
00:09:55 verbose #28945 > │ │
00:09:55 verbose #28946 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:55 verbose #28947 >
00:09:55 verbose #28948 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:55 verbose #28949 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:55 verbose #28950 > │ ## date_time_guid │
00:09:55 verbose #28951 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:55 verbose #28952 >
00:09:55 verbose #28953 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:55 verbose #28954 > type date_time_guid = guid.guid
00:09:55 verbose #28955 > 00:09:54 debug #473 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/76758930ec7408a6bd7e22ce675c0e3b688fc9e7ba20b2c32514621e5b41c83f/main.spi
00:09:56 verbose #28956 >
00:09:56 verbose #28957 > ╭─[ 1.06s - stdout ]───────────────────────────────────────────────────────────╮
00:09:56 verbose #28958 > │ () │
00:09:56 verbose #28959 > │ │
00:09:56 verbose #28960 > │ │
00:09:56 verbose #28961 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:56 verbose #28962 >
00:09:56 verbose #28963 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:56 verbose #28964 > //// test
00:09:56 verbose #28965 >
00:09:56 verbose #28966 > inl test_guid () =
00:09:56 verbose #28967 > guid.new_guid "FEDCBA98-7654-3210-FEDC-BA9876543210"
00:09:57 verbose #28968 > 00:09:56 debug #474 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7d0343c712419474a2ca78f9fb89533757794ab95fd09aed830dea0a375b8a14/main.spi
00:09:57 verbose #28969 >
00:09:57 verbose #28970 > ╭─[ 912.48ms - stdout ]────────────────────────────────────────────────────────╮
00:09:57 verbose #28971 > │ () │
00:09:57 verbose #28972 > │ │
00:09:57 verbose #28973 > │ │
00:09:57 verbose #28974 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:57 verbose #28975 >
00:09:57 verbose #28976 > ── markdown ────────────────────────────────────────────────────────────────────
00:09:57 verbose #28977 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:09:57 verbose #28978 > │ ## date_time_guid_from_date_time │
00:09:57 verbose #28979 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:57 verbose #28980 >
00:09:57 verbose #28981 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:57 verbose #28982 > inl date_time_guid_from_date_time (guid : guid.guid) (date_time : date_time) =
00:09:57 verbose #28983 > inl guid = guid |> sm'.obj_to_string
00:09:57 verbose #28984 > inl prefix, time_zone =
00:09:57 verbose #28985 > run_target function
00:09:57 verbose #28986 > | Fsharp (Native) => fun () =>
00:09:57 verbose #28987 > inl prefix = date_time |> format (join
00:09:57 verbose #28988 > "yyyyMMdd-HHmm-ssff-ffff-f")
00:09:57 verbose #28989 > inl time_zone = date_time |> get_utc_offset (time_zone_local ())
00:09:57 verbose #28990 > inl time_zone_signal = (hours time_zone > 0) |> convert_i32
00:09:57 verbose #28991 > inl time_zone_value = time_zone |> time_span_format (join
00:09:57 verbose #28992 > "hhmm")
00:09:57 verbose #28993 > inl time_zone = $'$"{!time_zone_signal}{!time_zone_value}"' :
00:09:57 verbose #28994 > string
00:09:57 verbose #28995 > prefix, time_zone
00:09:57 verbose #28996 > | Rust (Native) => fun () =>
00:09:57 verbose #28997 > inl epoch =
00:09:57 verbose #28998 > date_time_utc 1970 1 1 0 0 0
00:09:57 verbose #28999 > |> to_universal_time
00:09:57 verbose #29000 > inl date_time =
00:09:57 verbose #29001 > date_time
00:09:57 verbose #29002 > |> specify_date_kind Local
00:09:57 verbose #29003 > |> to_universal_time
00:09:57 verbose #29004 > inl unixticks =
00:09:57 verbose #29005 > match date_time |> ticks, epoch |> ticks with
00:09:57 verbose #29006 > | timestamp date_time, timestamp epoch => date_time - epoch
00:09:57 verbose #29007 > inl prefix =
00:09:57 verbose #29008 > unixticks / 10
00:09:57 verbose #29009 > |> from_timestamp_micros
00:09:57 verbose #29010 > |> optionm.map (
00:09:57 verbose #29011 > to_local
00:09:57 verbose #29012 > >> format'' "%Y%m%d-%H%M-%S%f"
00:09:57 verbose #29013 > >> sm'.from_std_string
00:09:57 verbose #29014 > >> fun s =>
00:09:57 verbose #29015 > $'$"{!s.[[0..17]]}-{!s.[[18..21]]}-{!s.[[22]]}"'
00:09:57 verbose #29016 > )
00:09:57 verbose #29017 > |> optionm'.default_value ""
00:09:57 verbose #29018 > inl time_zone = date_time |> get_utc_offset (time_zone_local ())
00:09:57 verbose #29019 > inl time_zone_signal = if hours time_zone > 0 then 1u8 else 0
00:09:57 verbose #29020 > inl time_zone_value = time_zone |> time_span_format "hh:mm"
00:09:57 verbose #29021 > inl time_zone =
00:09:57 verbose #29022 > $'$"{!time_zone_signal}{!time_zone_value.[[0..1]]}{!time_zone_value.[[3..4]]}"'
00:09:57 verbose #29023 > : string
00:09:57 verbose #29024 > prefix, time_zone
00:09:57 verbose #29025 > | _ => fun () => null ()
00:09:57 verbose #29026 >
00:09:57 verbose #29027 > $'`date_time_guid $"{!prefix}{!time_zone}{!guid.[[!prefix.Length +
00:09:57 verbose #29028 > !time_zone.Length..]]}"' : date_time_guid
00:09:57 verbose #29029 > 00:09:56 debug #475 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/66ce7bce2c2fb2dd515eaf48b78d2091e69cbe5f061e8b99bd6b52ee8701efdf/main.spi
00:09:58 verbose #29030 >
00:09:58 verbose #29031 > ╭─[ 761.85ms - stdout ]────────────────────────────────────────────────────────╮
00:09:58 verbose #29032 > │ () │
00:09:58 verbose #29033 > │ │
00:09:58 verbose #29034 > │ │
00:09:58 verbose #29035 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:09:58 verbose #29036 >
00:09:58 verbose #29037 > ── spiral ──────────────────────────────────────────────────────────────────────
00:09:58 verbose #29038 > //// test
00:09:58 verbose #29039 > //// print_code=false
00:09:58 verbose #29040 >
00:09:58 verbose #29041 > types ()
00:09:58 verbose #29042 > now () |> to_universal_time |> date_time_guid_from_date_time (test_guid ()) |>
00:09:58 verbose #29043 > sm'.obj_to_string
00:09:58 verbose #29044 > |> console.write_line
00:09:58 verbose #29045 > 00:09:57 debug #476 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e6721a2b93f1437a62dbd5795c29a863a70e0c7cd4753b135840641057f2b096/main.spi
00:10:02 verbose #29046 >
00:10:02 verbose #29047 > ╭─[ 4.07s - stdout ]───────────────────────────────────────────────────────────╮
00:10:02 verbose #29048 > │ 20240503-0644-2417-1738-100400543210 │
00:10:02 verbose #29049 > │ │
00:10:02 verbose #29050 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:02 verbose #29051 >
00:10:02 verbose #29052 > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:02 verbose #29053 > //// test
00:10:02 verbose #29054 > //// print_code=false
00:10:02 verbose #29055 > ///! rust
00:10:02 verbose #29056 >
00:10:02 verbose #29057 > types ()
00:10:02 verbose #29058 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:10:02 verbose #29059 > - 6i32) (am'.End id)
00:10:02 verbose #29060 > now ()
00:10:02 verbose #29061 > |> to_universal_time
00:10:02 verbose #29062 > |> date_time_guid_from_date_time (test_guid ())
00:10:02 verbose #29063 > |> sm'.obj_to_string
00:10:02 verbose #29064 > |> fun s => s |> _assert_eq' $'$"{!s.[[0..29]]}{!suffix}"'
00:10:02 verbose #29065 > 00:10:01 debug #477 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7a2b0a7f2b631e666cf093e04e94663dbc775f0ae40722d4f542bedcf4e09027/main.spi
00:10:47 verbose #29066 >
00:10:47 verbose #29067 > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:47 verbose #29068 > ╭─[ 45.45s - diagnostics ]─────────────────────────────────────────────────────╮
00:10:47 verbose #29069 > │ (0,1)-(0,1) typecheck error 00:00:44 critical #1 Eval.main / error: "[ │
00:10:47 verbose #29070 > │ Blocking waiting for file lock on build directory] │
00:10:47 verbose #29071 > │ [ Compiling pyo3-build-config v0.21.2] │
00:10:47 verbose #29072 > │ [ Compiling fable_library_rust v0.1.0 │
00:10:47 verbose #29073 > │ (C:\home\git\polyglot\target\polyglot\builder\spiral_eval\target\spiral_eval │
00:10:47 verbose #29074 > │ \fable_modules\fable-library-rust)] │
00:10:47 verbose #29075 > │ [ Compiling pyo3-macros-backend v0.21.2] │
00:10:47 verbose #29076 > │ [ Compiling pyo3-ffi v0.21.2] │
00:10:47 verbose #29077 > │ [ Compiling pyo3 v0.21.2] │
00:10:47 verbose #29078 > │ [ Compiling pyo3-macros v0.21.2] │
00:10:47 verbose #29079 > │ [ Compiling spiral_eval v0.0.1 │
00:10:47 verbose #29080 > │ (C:\home\git\polyglot\target\polyglot\builder\spiral_eval\target\spiral_eval │
00:10:47 verbose #29081 > │ )] │
00:10:47 verbose #29082 > │ [error: failed to remove file │
00:10:47 verbose #29083 > │ `C:\home\git\polyglot\target\polyglot\builder\spiral_eval\target\spiral_eval │
00:10:47 verbose #29084 > │ \target\debug\spiral_eval.exe`] │
00:10:47 verbose #29085 > │ [] │
00:10:47 verbose #29086 > │ [Caused by:] │
00:10:47 verbose #29087 > │ [ Access is denied. (os error 5)]" │
00:10:47 verbose #29088 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:47 verbose #29089 > Exiting...
00:10:48 verbose #29090 > 00:10:47 debug #478 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2e0540e07d5b72dcf43d692f9fda90eb32aee116d255aa2d8e709365635f1771/main.spi
00:10:48 verbose #29091 >
00:10:48 verbose #29092 > # Invoke-Block / $retry: 1/3 / $Location: / Get-Location: C:\home\git\polyglot\lib\spiral / $OnError: Stop / $exitcode: -1 / $EnvVars: null / $Error: '' / $ScriptBlock:
00:10:48 verbose #29093 > 'dotnet repl --run "$path" --output-path "$path.ipynb" --exit-after-run'
00:10:48 verbose #29094 >
00:10:49 verbose #29095 > 00:10:48 debug #479 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0b5a149f97cd21956d73ce6da639a4574f28cd9d63cb89e04ca37032f2dc7356/main.spi
00:10:51 verbose #29096 >
00:10:52 verbose #29097 > ── markdown ────────────────────────────────────────────────────────────────────
00:10:52 verbose #29098 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:52 verbose #29099 > │ # date_time │
00:10:52 verbose #29100 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:52 verbose #29101 >
00:10:52 verbose #29102 > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:52 verbose #29103 > open rust_operators
00:10:52 verbose #29104 > open sm'_operators
00:10:52 verbose #29105 >
00:10:52 verbose #29106 > ── spiral - import ─────────────────────────────────────────────────────────────
00:10:52 verbose #29107 > #r
00:10:52 verbose #29108 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:10:52 verbose #29109 > otNet.Interactive.Spiral.dll"
00:10:52 verbose #29110 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:10:52 verbose #29111 > #r
00:10:52 verbose #29112 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:10:52 verbose #29113 > otNet.Interactive.dll"
00:10:52 verbose #29114 > open type Microsoft.DotNet.Interactive.Kernel
00:10:58 verbose #29115 > 00:10:57 debug #480 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/032c8b088372ab832664d98a64dd782e20000598cb6f954fca120c7fcc91e0cc/main.spi
00:10:58 verbose #29116 >
00:10:58 verbose #29117 > ╭─[ 6.78s - stdout ]───────────────────────────────────────────────────────────╮
00:10:58 verbose #29118 > │ () │
00:10:58 verbose #29119 > │ │
00:10:58 verbose #29120 > │ │
00:10:58 verbose #29121 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:58 verbose #29122 >
00:10:58 verbose #29123 > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:58 verbose #29124 > //// test
00:10:58 verbose #29125 >
00:10:58 verbose #29126 > open testing
00:10:59 verbose #29127 > 00:10:58 debug #481 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/985a2062e50fddda1b89de8b792b508339c9d47a2c420f37b274099510c0c521/main.spi
00:10:59 verbose #29128 >
00:10:59 verbose #29129 > ╭─[ 630.40ms - stdout ]────────────────────────────────────────────────────────╮
00:10:59 verbose #29130 > │ () │
00:10:59 verbose #29131 > │ │
00:10:59 verbose #29132 > │ │
00:10:59 verbose #29133 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:59 verbose #29134 >
00:10:59 verbose #29135 > ── markdown ────────────────────────────────────────────────────────────────────
00:10:59 verbose #29136 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:10:59 verbose #29137 > │ ## types │
00:10:59 verbose #29138 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:10:59 verbose #29139 >
00:10:59 verbose #29140 > ── spiral ──────────────────────────────────────────────────────────────────────
00:10:59 verbose #29141 > inl types () =
00:10:59 verbose #29142 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:10:59 verbose #29143 > Fable.Core.Emit(\"chrono::DateTime<$0>\")>]]\n#endif\ntype chrono_DateTime<'T> =
00:10:59 verbose #29144 > class end"
00:10:59 verbose #29145 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:10:59 verbose #29146 > Fable.Core.Emit(\"chrono::Local\")>]]\n#endif\ntype chrono_Local = class end"
00:10:59 verbose #29147 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:10:59 verbose #29148 > Fable.Core.Emit(\"chrono::NaiveDateTime\")>]]\n#endif\ntype chrono_NaiveDateTime
00:10:59 verbose #29149 > = class end"
00:10:59 verbose #29150 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:10:59 verbose #29151 > Fable.Core.Emit(\"chrono::Utc\")>]]\n#endif\ntype chrono_Utc = class end"
00:10:59 verbose #29152 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:10:59 verbose #29153 > Fable.Core.Emit(\"std::time::Duration\")>]]\n#endif\ntype std_time_Duration =
00:10:59 verbose #29154 > class end"
00:10:59 verbose #29155 > 00:10:58 debug #482 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a01f6f93a421bbf6b2cc90b18687ccb3de15f40d48b18797461e7469425d0f11/main.spi
00:11:00 verbose #29156 >
00:11:00 verbose #29157 > ╭─[ 632.12ms - stdout ]────────────────────────────────────────────────────────╮
00:11:00 verbose #29158 > │ () │
00:11:00 verbose #29159 > │ │
00:11:00 verbose #29160 > │ │
00:11:00 verbose #29161 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:00 verbose #29162 >
00:11:00 verbose #29163 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:00 verbose #29164 > inl types () =
00:11:00 verbose #29165 > sm'.types ()
00:11:00 verbose #29166 > types ()
00:11:00 verbose #29167 > 00:10:59 debug #483 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/358c862038b2c7ab74aff08717f8be22961b3320519b1716afb66c6e4dc9f97e/main.spi
00:11:00 verbose #29168 >
00:11:00 verbose #29169 > ╭─[ 660.36ms - stdout ]────────────────────────────────────────────────────────╮
00:11:00 verbose #29170 > │ () │
00:11:00 verbose #29171 > │ │
00:11:00 verbose #29172 > │ │
00:11:00 verbose #29173 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:00 verbose #29174 >
00:11:00 verbose #29175 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:00 verbose #29176 > nominal timestamp = i64
00:11:00 verbose #29177 > nominal duration = $"std_time_Duration"
00:11:00 verbose #29178 > nominal date_time = $"System.DateTime"
00:11:00 verbose #29179 > nominal date_time' t = $"chrono_DateTime<`t>"
00:11:00 verbose #29180 > nominal local = $"chrono_Local"
00:11:00 verbose #29181 > nominal naive_date_time = $"chrono_NaiveDateTime"
00:11:00 verbose #29182 > nominal utc = $"chrono_Utc"
00:11:01 verbose #29183 > 00:11:00 debug #484 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/739a9f184038d4d7e55d3df4adf74da8ea252c33cbfa959f59f9a718babadc52/main.spi
00:11:01 verbose #29184 >
00:11:01 verbose #29185 > ╭─[ 778.77ms - stdout ]────────────────────────────────────────────────────────╮
00:11:01 verbose #29186 > │ () │
00:11:01 verbose #29187 > │ │
00:11:01 verbose #29188 > │ │
00:11:01 verbose #29189 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:01 verbose #29190 >
00:11:01 verbose #29191 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:01 verbose #29192 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:01 verbose #29193 > │ ## date_time_milliseconds │
00:11:01 verbose #29194 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:01 verbose #29195 >
00:11:01 verbose #29196 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:01 verbose #29197 > inl date_time_milliseconds
00:11:01 verbose #29198 > (year : int) (month : int) (day : int) (hour : int) (minute : int) (second :
00:11:01 verbose #29199 > int) (millisecond : int)
00:11:01 verbose #29200 > : date_time
00:11:01 verbose #29201 > =
00:11:01 verbose #29202 > $'System.DateTime (!year, !month, !day, !hour, !minute, !second,
00:11:01 verbose #29203 > !millisecond)'
00:11:02 verbose #29204 > 00:11:01 debug #485 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/559a8f6367b18f4375feb7be74ea4c1daa80ec832191cd0b3db9f56a6ece7cb3/main.spi
00:11:02 verbose #29205 >
00:11:02 verbose #29206 > ╭─[ 688.10ms - stdout ]────────────────────────────────────────────────────────╮
00:11:02 verbose #29207 > │ () │
00:11:02 verbose #29208 > │ │
00:11:02 verbose #29209 > │ │
00:11:02 verbose #29210 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:02 verbose #29211 >
00:11:02 verbose #29212 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:02 verbose #29213 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:02 verbose #29214 > │ ## date_time_utc │
00:11:02 verbose #29215 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:02 verbose #29216 >
00:11:02 verbose #29217 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:02 verbose #29218 > inl date_time_utc
00:11:02 verbose #29219 > (year : int) (month : int) (day : int) (hour : int) (minute : int) (second :
00:11:02 verbose #29220 > int)
00:11:02 verbose #29221 > : date_time
00:11:02 verbose #29222 > =
00:11:02 verbose #29223 > $'System.DateTime (!year, !month, !day, !hour, !minute, !second,
00:11:02 verbose #29224 > System.DateTimeKind.Utc)'
00:11:02 verbose #29225 > 00:11:01 debug #486 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/868a8cf263b76dc74e8754f3bb0f24b4ee375a169556147fbc627ea8dad2b786/main.spi
00:11:02 verbose #29226 >
00:11:02 verbose #29227 > ╭─[ 663.69ms - stdout ]────────────────────────────────────────────────────────╮
00:11:02 verbose #29228 > │ () │
00:11:02 verbose #29229 > │ │
00:11:02 verbose #29230 > │ │
00:11:02 verbose #29231 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:02 verbose #29232 >
00:11:02 verbose #29233 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:02 verbose #29234 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:02 verbose #29235 > │ ## naive_utc │
00:11:02 verbose #29236 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:02 verbose #29237 >
00:11:02 verbose #29238 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:02 verbose #29239 > inl naive_utc (date_time : date_time' utc) : naive_date_time =
00:11:02 verbose #29240 > inl date_time = join date_time
00:11:02 verbose #29241 > !\($'"!date_time.naive_utc()"')
00:11:03 verbose #29242 > 00:11:02 debug #487 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a41f9bb29c6490785165843e3bdad086668d924190a64e84a85dae698843b7e4/main.spi
00:11:03 verbose #29243 >
00:11:03 verbose #29244 > ╭─[ 613.67ms - stdout ]────────────────────────────────────────────────────────╮
00:11:03 verbose #29245 > │ () │
00:11:03 verbose #29246 > │ │
00:11:03 verbose #29247 > │ │
00:11:03 verbose #29248 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:03 verbose #29249 >
00:11:03 verbose #29250 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:03 verbose #29251 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:03 verbose #29252 > │ ## to_local │
00:11:03 verbose #29253 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:03 verbose #29254 >
00:11:03 verbose #29255 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:03 verbose #29256 > inl to_local (date_time : date_time' utc) : date_time' local =
00:11:03 verbose #29257 > inl naive_date_time = date_time |> naive_utc
00:11:03 verbose #29258 > !\($'"chrono::offset::TimeZone::from_utc_datetime(&chrono::Local,
00:11:03 verbose #29259 > &!naive_date_time)"')
00:11:04 verbose #29260 > 00:11:03 debug #488 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fe1c743fd377bb1f06f38faebc4088675019d24256a13a047e1e2796b56c4532/main.spi
00:11:04 verbose #29261 >
00:11:04 verbose #29262 > ╭─[ 628.93ms - stdout ]────────────────────────────────────────────────────────╮
00:11:04 verbose #29263 > │ () │
00:11:04 verbose #29264 > │ │
00:11:04 verbose #29265 > │ │
00:11:04 verbose #29266 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:04 verbose #29267 >
00:11:04 verbose #29268 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:04 verbose #29269 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:04 verbose #29270 > │ ## from_timestamp_micros │
00:11:04 verbose #29271 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:04 verbose #29272 >
00:11:04 verbose #29273 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:04 verbose #29274 > inl from_timestamp_micros forall t {number; int}. (timestamp : t) : option
00:11:04 verbose #29275 > (date_time' utc) =
00:11:04 verbose #29276 > inl result : optionm'.option' (date_time' utc) =
00:11:04 verbose #29277 > !\\(timestamp, $'"chrono::DateTime::from_timestamp_micros($0)"')
00:11:04 verbose #29278 > result |> optionm'.unbox
00:11:04 verbose #29279 > 00:11:03 debug #489 Supervisor.supervisor_server.BuildFile / file: c:/home/git/vault/apps/documents/documents.spi
00:11:04 verbose #29280 > 00:11:03 debug #490 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d68e95f7f85c0c098e169ec81e84ce4df9b1bc23aabe436172965c274a7017ff/main.spi
00:11:04 verbose #29281 >
00:11:04 verbose #29282 > ╭─[ 617.93ms - stdout ]────────────────────────────────────────────────────────╮
00:11:04 verbose #29283 > │ () │
00:11:04 verbose #29284 > │ │
00:11:04 verbose #29285 > │ │
00:11:04 verbose #29286 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:04 verbose #29287 >
00:11:04 verbose #29288 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:04 verbose #29289 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:04 verbose #29290 > │ ## ticks │
00:11:04 verbose #29291 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:04 verbose #29292 >
00:11:04 verbose #29293 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:04 verbose #29294 > inl ticks (date_time : date_time) : timestamp =
00:11:04 verbose #29295 > date_time |> $'_.Ticks'
00:11:05 verbose #29296 > 00:11:04 debug #491 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f9b659a680f4f6b0a51005d30ab60a83765ffe81ba3f41b81463c4031915d2d9/main.spi
00:11:05 verbose #29297 >
00:11:05 verbose #29298 > ╭─[ 711.92ms - stdout ]────────────────────────────────────────────────────────╮
00:11:05 verbose #29299 > │ () │
00:11:05 verbose #29300 > │ │
00:11:05 verbose #29301 > │ │
00:11:05 verbose #29302 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:05 verbose #29303 >
00:11:05 verbose #29304 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:05 verbose #29305 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:05 verbose #29306 > │ ## format │
00:11:05 verbose #29307 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:05 verbose #29308 >
00:11:05 verbose #29309 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:05 verbose #29310 > inl format (format : string) (date_time : date_time) : string =
00:11:05 verbose #29311 > $'!date_time.ToString' format
00:11:06 verbose #29312 > 00:11:05 debug #492 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/36646897c07dd0f9d189cb8b43a37b937cf774391ca1a80aa6ae419cdaddac67/main.spi
00:11:06 verbose #29313 >
00:11:06 verbose #29314 > ╭─[ 657.48ms - stdout ]────────────────────────────────────────────────────────╮
00:11:06 verbose #29315 > │ () │
00:11:06 verbose #29316 > │ │
00:11:06 verbose #29317 > │ │
00:11:06 verbose #29318 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:06 verbose #29319 >
00:11:06 verbose #29320 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:06 verbose #29321 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:06 verbose #29322 > │ ## format_iso8601 │
00:11:06 verbose #29323 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:06 verbose #29324 >
00:11:06 verbose #29325 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:06 verbose #29326 > inl format_iso8601 (date_time : date_time) =
00:11:06 verbose #29327 > date_time |> format "yyyy-MM-ddTHH-mm-ss.fff"
00:11:06 verbose #29328 > 00:11:05 debug #493 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4d1b575f04e8c82a407ac940064af6131cf138b150ab5c975739ed6e06d5c75a/main.spi
00:11:06 verbose #29329 >
00:11:06 verbose #29330 > ╭─[ 637.94ms - stdout ]────────────────────────────────────────────────────────╮
00:11:06 verbose #29331 > │ () │
00:11:06 verbose #29332 > │ │
00:11:06 verbose #29333 > │ │
00:11:06 verbose #29334 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:06 verbose #29335 >
00:11:06 verbose #29336 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:06 verbose #29337 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:06 verbose #29338 > │ ## format' │
00:11:06 verbose #29339 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:06 verbose #29340 >
00:11:06 verbose #29341 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:06 verbose #29342 > inl format' (format : string) (date_time : date_time' utc) : sm'.std_string =
00:11:06 verbose #29343 > inl format = #format
00:11:06 verbose #29344 > inl date_time = join date_time
00:11:06 verbose #29345 > !\($'"!date_time.format(!format).to_string()"')
00:11:07 verbose #29346 > 00:11:06 debug #494 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4451f44f971307f3138119f4491fbbb0c3840c8da94a4585bb79e64f22ea52cf/main.spi
00:11:07 verbose #29347 >
00:11:07 verbose #29348 > ╭─[ 624.08ms - stdout ]────────────────────────────────────────────────────────╮
00:11:07 verbose #29349 > │ () │
00:11:07 verbose #29350 > │ │
00:11:07 verbose #29351 > │ │
00:11:07 verbose #29352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:07 verbose #29353 >
00:11:07 verbose #29354 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:07 verbose #29355 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:07 verbose #29356 > │ ## format'' │
00:11:07 verbose #29357 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:07 verbose #29358 >
00:11:07 verbose #29359 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:07 verbose #29360 > inl format'' (format : string) (date_time : date_time' _) : sm'.std_string =
00:11:07 verbose #29361 > inl format = #format
00:11:07 verbose #29362 > inl date_time = join date_time
00:11:07 verbose #29363 > !\($'"!date_time.format(!format).to_string()"')
00:11:07 verbose #29364 > 00:11:06 debug #495 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e87a2d37ad3381fcc27a3b8bfc586c791136031763a2b559b724658cdf28204a/main.spi
00:11:08 verbose #29365 >
00:11:08 verbose #29366 > ╭─[ 674.80ms - stdout ]────────────────────────────────────────────────────────╮
00:11:08 verbose #29367 > │ () │
00:11:08 verbose #29368 > │ │
00:11:08 verbose #29369 > │ │
00:11:08 verbose #29370 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:08 verbose #29371 >
00:11:08 verbose #29372 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:08 verbose #29373 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:08 verbose #29374 > │ ## format_timestamp │
00:11:08 verbose #29375 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:08 verbose #29376 >
00:11:08 verbose #29377 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:08 verbose #29378 > inl format_timestamp forall t {number; int}. (timestamp : t) =
00:11:08 verbose #29379 > inl timestamp = join timestamp
00:11:08 verbose #29380 > (timestamp / 1000)
00:11:08 verbose #29381 > |> from_timestamp_micros
00:11:08 verbose #29382 > |> optionm.map fun x =>
00:11:08 verbose #29383 > x
00:11:08 verbose #29384 > |> to_local
00:11:08 verbose #29385 > |> format'' "%Y-%m-%d %H:%M:%S"
00:11:08 verbose #29386 > |> sm'.from_std_string
00:11:08 verbose #29387 > |> resultm.from_option
00:11:08 verbose #29388 > 00:11:07 debug #496 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1884631ce2db1fb827c527529f5516506fa99302d11a8ada1bc8af64e48cefe8/main.spi
00:11:08 verbose #29389 >
00:11:08 verbose #29390 > ╭─[ 676.50ms - stdout ]────────────────────────────────────────────────────────╮
00:11:08 verbose #29391 > │ () │
00:11:08 verbose #29392 > │ │
00:11:08 verbose #29393 > │ │
00:11:08 verbose #29394 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:08 verbose #29395 >
00:11:08 verbose #29396 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:08 verbose #29397 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:08 verbose #29398 > │ ## duration_from_millis │
00:11:08 verbose #29399 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:08 verbose #29400 >
00:11:08 verbose #29401 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:08 verbose #29402 > inl duration_from_millis (ms : u64) : duration =
00:11:08 verbose #29403 > inl ms = join ms
00:11:08 verbose #29404 > !\($'"std::time::Duration::from_millis(!ms)"')
00:11:09 verbose #29405 > 00:11:08 debug #497 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3523676dfd5eac565dcc823d3a83db8935cf8a41263f77a4510fd746ef1343d1/main.spi
00:11:09 verbose #29406 >
00:11:09 verbose #29407 > ╭─[ 698.33ms - stdout ]────────────────────────────────────────────────────────╮
00:11:09 verbose #29408 > │ () │
00:11:09 verbose #29409 > │ │
00:11:09 verbose #29410 > │ │
00:11:09 verbose #29411 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:09 verbose #29412 >
00:11:09 verbose #29413 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:09 verbose #29414 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:09 verbose #29415 > │ ## min_value │
00:11:09 verbose #29416 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:09 verbose #29417 >
00:11:09 verbose #29418 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:09 verbose #29419 > inl min_value () : date_time =
00:11:09 verbose #29420 > $'System.DateTime.MinValue'
00:11:10 verbose #29421 > 00:11:08 debug #498 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/21ff97f8fca48e3766280b48fc984f64b483537891552f45450d8cb4691d660e/main.spi
00:11:10 verbose #29422 >
00:11:10 verbose #29423 > ╭─[ 638.37ms - stdout ]────────────────────────────────────────────────────────╮
00:11:10 verbose #29424 > │ () │
00:11:10 verbose #29425 > │ │
00:11:10 verbose #29426 > │ │
00:11:10 verbose #29427 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:10 verbose #29428 >
00:11:10 verbose #29429 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:10 verbose #29430 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:10 verbose #29431 > │ ## max_value │
00:11:10 verbose #29432 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:10 verbose #29433 >
00:11:10 verbose #29434 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:10 verbose #29435 > inl max_value () : date_time =
00:11:10 verbose #29436 > $'System.DateTime.MaxValue'
00:11:10 verbose #29437 > 00:11:09 debug #499 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7f40561def08ce31b7d488df69c00821909a4767a21338a52fb0920b0b39b122/main.spi
00:11:10 verbose #29438 >
00:11:10 verbose #29439 > ╭─[ 622.90ms - stdout ]────────────────────────────────────────────────────────╮
00:11:10 verbose #29440 > │ () │
00:11:10 verbose #29441 > │ │
00:11:10 verbose #29442 > │ │
00:11:10 verbose #29443 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:10 verbose #29444 >
00:11:10 verbose #29445 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:10 verbose #29446 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:10 verbose #29447 > │ ## unix_epoch │
00:11:10 verbose #29448 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:10 verbose #29449 >
00:11:10 verbose #29450 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:10 verbose #29451 > inl unix_epoch () : date_time =
00:11:10 verbose #29452 > $'System.DateTime.UnixEpoch'
00:11:11 verbose #29453 > 00:11:10 debug #500 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/626045bef98e1c074c4251e8871239a3ab8eba7393b1891bee264c56dc55855e/main.spi
00:11:11 verbose #29454 >
00:11:11 verbose #29455 > ╭─[ 639.55ms - stdout ]────────────────────────────────────────────────────────╮
00:11:11 verbose #29456 > │ () │
00:11:11 verbose #29457 > │ │
00:11:11 verbose #29458 > │ │
00:11:11 verbose #29459 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:11 verbose #29460 >
00:11:11 verbose #29461 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:11 verbose #29462 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:11 verbose #29463 > │ ## to_universal_time │
00:11:11 verbose #29464 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:11 verbose #29465 >
00:11:11 verbose #29466 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:11 verbose #29467 > inl to_universal_time (date_time : date_time) : date_time =
00:11:11 verbose #29468 > date_time |> $'_.ToUniversalTime()'
00:11:11 verbose #29469 > 00:11:10 debug #501 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5c5d4d120b944eb5d8215d4c390c4fb170765a163a042ac4d777052a32df6f37/main.spi
00:11:12 verbose #29470 >
00:11:12 verbose #29471 > ╭─[ 613.03ms - stdout ]────────────────────────────────────────────────────────╮
00:11:12 verbose #29472 > │ () │
00:11:12 verbose #29473 > │ │
00:11:12 verbose #29474 > │ │
00:11:12 verbose #29475 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:12 verbose #29476 >
00:11:12 verbose #29477 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:12 verbose #29478 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:12 verbose #29479 > │ ## date_time_kind │
00:11:12 verbose #29480 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:12 verbose #29481 >
00:11:12 verbose #29482 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:12 verbose #29483 > union date_time_kind =
00:11:12 verbose #29484 > | Unspecified
00:11:12 verbose #29485 > | Utc
00:11:12 verbose #29486 > | Local
00:11:12 verbose #29487 > 00:11:11 debug #502 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/92fde1941239bf3eaad5a8fd75c860a73a706a9c52f7dc075c4321e53976c7b2/main.spi
00:11:12 verbose #29488 >
00:11:12 verbose #29489 > ╭─[ 631.77ms - stdout ]────────────────────────────────────────────────────────╮
00:11:12 verbose #29490 > │ () │
00:11:12 verbose #29491 > │ │
00:11:12 verbose #29492 > │ │
00:11:12 verbose #29493 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:12 verbose #29494 >
00:11:12 verbose #29495 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:12 verbose #29496 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:12 verbose #29497 > │ ## specify_date_kind │
00:11:12 verbose #29498 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:12 verbose #29499 >
00:11:12 verbose #29500 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:12 verbose #29501 > inl specify_date_kind (kind : date_time_kind) (date_time : date_time) :
00:11:12 verbose #29502 > date_time =
00:11:12 verbose #29503 > inl kind : $'System.DateTimeKind' =
00:11:12 verbose #29504 > match kind with
00:11:12 verbose #29505 > | Unspecified => $'System.DateTimeKind.Unspecified'
00:11:12 verbose #29506 > | Utc => $'System.DateTimeKind.Utc'
00:11:12 verbose #29507 > | Local => $'System.DateTimeKind.Local'
00:11:12 verbose #29508 > $'System.DateTime.SpecifyKind (!date_time, !kind)'
00:11:13 verbose #29509 > 00:11:12 debug #503 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c2ff04025603f9a9a76871c2b83d835039fa504128bd1a7b7d34e4e7a9008ab6/main.spi
00:11:13 verbose #29510 >
00:11:13 verbose #29511 > ╭─[ 672.08ms - stdout ]────────────────────────────────────────────────────────╮
00:11:13 verbose #29512 > │ () │
00:11:13 verbose #29513 > │ │
00:11:13 verbose #29514 > │ │
00:11:13 verbose #29515 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:13 verbose #29516 >
00:11:13 verbose #29517 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:13 verbose #29518 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:13 verbose #29519 > │ ## time_span │
00:11:13 verbose #29520 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:13 verbose #29521 >
00:11:13 verbose #29522 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:13 verbose #29523 > nominal time_span = $'System.TimeSpan'
00:11:13 verbose #29524 >
00:11:13 verbose #29525 > inl time_span x : time_span =
00:11:13 verbose #29526 > $'`time_span !x '
00:11:13 verbose #29527 > 00:11:12 debug #504 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ce34eaeae7fdecb877cbffa05db90b56f414ec8a22d9882dbe5e9f520e2f5bf7/main.spi
00:11:13 verbose #29528 >
00:11:13 verbose #29529 > ╭─[ 635.38ms - stdout ]────────────────────────────────────────────────────────╮
00:11:13 verbose #29530 > │ () │
00:11:13 verbose #29531 > │ │
00:11:13 verbose #29532 > │ │
00:11:13 verbose #29533 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:13 verbose #29534 >
00:11:13 verbose #29535 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:13 verbose #29536 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:13 verbose #29537 > │ ## new_time_span │
00:11:13 verbose #29538 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:13 verbose #29539 >
00:11:13 verbose #29540 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:13 verbose #29541 > inl new_time_span (a : date_time) (b : date_time) : time_span =
00:11:13 verbose #29542 > $'!b - !a '
00:11:14 verbose #29543 > 00:11:13 debug #505 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2be8a131237464ab5ccdb1a70de4d7cb1364ce39da8b4ed34d27b6f2c3a544a6/main.spi
00:11:14 verbose #29544 >
00:11:14 verbose #29545 > ╭─[ 646.30ms - stdout ]────────────────────────────────────────────────────────╮
00:11:14 verbose #29546 > │ () │
00:11:14 verbose #29547 > │ │
00:11:14 verbose #29548 > │ │
00:11:14 verbose #29549 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:14 verbose #29550 >
00:11:14 verbose #29551 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:14 verbose #29552 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:14 verbose #29553 > │ ## time_span_format │
00:11:14 verbose #29554 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:14 verbose #29555 >
00:11:14 verbose #29556 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:14 verbose #29557 > inl time_span_format (format : string) (time_span : time_span) : string =
00:11:14 verbose #29558 > $'!time_span.ToString' format
00:11:15 verbose #29559 > 00:11:14 debug #506 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5feda1aa5bfa0fa595074faae7db1f33e84420d3bc3d2c701a8cc2578146b690/main.spi
00:11:15 verbose #29560 >
00:11:15 verbose #29561 > ╭─[ 620.56ms - stdout ]────────────────────────────────────────────────────────╮
00:11:15 verbose #29562 > │ () │
00:11:15 verbose #29563 > │ │
00:11:15 verbose #29564 > │ │
00:11:15 verbose #29565 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:15 verbose #29566 >
00:11:15 verbose #29567 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:15 verbose #29568 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:15 verbose #29569 > │ ## hours │
00:11:15 verbose #29570 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:15 verbose #29571 >
00:11:15 verbose #29572 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:15 verbose #29573 > inl hours (time_span : time_span) : i32 =
00:11:15 verbose #29574 > time_span |> $'_.Hours'
00:11:15 verbose #29575 > 00:11:14 debug #507 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/82bcd06c57532d137b01af8b71dacc38171c1286e3fe2ae446e88ad98198144d/main.spi
00:11:15 verbose #29576 >
00:11:15 verbose #29577 > ╭─[ 630.54ms - stdout ]────────────────────────────────────────────────────────╮
00:11:15 verbose #29578 > │ () │
00:11:15 verbose #29579 > │ │
00:11:15 verbose #29580 > │ │
00:11:15 verbose #29581 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:15 verbose #29582 >
00:11:15 verbose #29583 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:15 verbose #29584 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:15 verbose #29585 > │ ## milliseconds │
00:11:15 verbose #29586 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:15 verbose #29587 >
00:11:15 verbose #29588 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:15 verbose #29589 > inl milliseconds (time_span : time_span) : i32 =
00:11:15 verbose #29590 > time_span |> $'_.Milliseconds'
00:11:16 verbose #29591 > 00:11:15 debug #508 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7cf4ff1f084b05489d5b459a6ebd184c5c523331dae6d63d31c9ec88c6283fb5/main.spi
00:11:16 verbose #29592 >
00:11:16 verbose #29593 > ╭─[ 622.21ms - stdout ]────────────────────────────────────────────────────────╮
00:11:16 verbose #29594 > │ () │
00:11:16 verbose #29595 > │ │
00:11:16 verbose #29596 > │ │
00:11:16 verbose #29597 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:16 verbose #29598 >
00:11:16 verbose #29599 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:16 verbose #29600 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:16 verbose #29601 > │ ## minutes │
00:11:16 verbose #29602 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:16 verbose #29603 >
00:11:16 verbose #29604 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:16 verbose #29605 > inl minutes (time_span : time_span) : i32 =
00:11:16 verbose #29606 > time_span |> $'_.Minutes'
00:11:17 verbose #29607 > 00:11:16 debug #509 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7b9a3a7cd6c0375ae6f9a25aeabd90b083a6a40097c54f1dcf38f168c5d47c3c/main.spi
00:11:17 verbose #29608 >
00:11:17 verbose #29609 > ╭─[ 632.27ms - stdout ]────────────────────────────────────────────────────────╮
00:11:17 verbose #29610 > │ () │
00:11:17 verbose #29611 > │ │
00:11:17 verbose #29612 > │ │
00:11:17 verbose #29613 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #29614 >
00:11:17 verbose #29615 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:17 verbose #29616 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:17 verbose #29617 > │ ## seconds │
00:11:17 verbose #29618 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #29619 >
00:11:17 verbose #29620 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:17 verbose #29621 > inl seconds (time_span : time_span) : i32 =
00:11:17 verbose #29622 > time_span |> $'_.Seconds'
00:11:17 verbose #29623 > 00:11:16 debug #510 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8880ed80af38b90b1ecc17e703fe5dfda876dda306a4bdaf2a4118e4ce67bb0b/main.spi
00:11:17 verbose #29624 >
00:11:17 verbose #29625 > ╭─[ 609.80ms - stdout ]────────────────────────────────────────────────────────╮
00:11:17 verbose #29626 > │ () │
00:11:17 verbose #29627 > │ │
00:11:17 verbose #29628 > │ │
00:11:17 verbose #29629 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #29630 >
00:11:17 verbose #29631 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:17 verbose #29632 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:17 verbose #29633 > │ ## total_seconds │
00:11:17 verbose #29634 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:17 verbose #29635 >
00:11:17 verbose #29636 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:17 verbose #29637 > inl total_seconds (time_span : time_span) : f64 =
00:11:17 verbose #29638 > time_span |> $'_.TotalSeconds'
00:11:18 verbose #29639 > 00:11:17 debug #511 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9e40f051d471f96ee4ba3d4021d71c8f7dd811c6c34b5769c67b44f6650bd67b/main.spi
00:11:18 verbose #29640 >
00:11:18 verbose #29641 > ╭─[ 632.90ms - stdout ]────────────────────────────────────────────────────────╮
00:11:18 verbose #29642 > │ () │
00:11:18 verbose #29643 > │ │
00:11:18 verbose #29644 > │ │
00:11:18 verbose #29645 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:18 verbose #29646 >
00:11:18 verbose #29647 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:18 verbose #29648 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:18 verbose #29649 > │ ## time_zone_info │
00:11:18 verbose #29650 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:18 verbose #29651 >
00:11:18 verbose #29652 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:18 verbose #29653 > nominal time_zone_info = $'System.TimeZoneInfo'
00:11:18 verbose #29654 > 00:11:17 debug #512 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d21c5cbfbc07c6d3038df4dd23c81b0a8a12d9e61bda1c0ff51390a1c9205a76/main.spi
00:11:19 verbose #29655 >
00:11:19 verbose #29656 > ╭─[ 618.78ms - stdout ]────────────────────────────────────────────────────────╮
00:11:19 verbose #29657 > │ () │
00:11:19 verbose #29658 > │ │
00:11:19 verbose #29659 > │ │
00:11:19 verbose #29660 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:19 verbose #29661 >
00:11:19 verbose #29662 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:19 verbose #29663 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:19 verbose #29664 > │ ## time_zone_local │
00:11:19 verbose #29665 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:19 verbose #29666 >
00:11:19 verbose #29667 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:19 verbose #29668 > inl time_zone_local () : time_zone_info =
00:11:19 verbose #29669 > run_target function
00:11:19 verbose #29670 > | Fsharp (Native) => fun () =>
00:11:19 verbose #29671 > $'System.TimeZoneInfo.Local'
00:11:19 verbose #29672 > | Rust (Native) => fun () =>
00:11:19 verbose #29673 > open rust_operators
00:11:19 verbose #29674 > !\($'"0i64.into()"')
00:11:19 verbose #29675 > | _ => fun () => null ()
00:11:19 verbose #29676 > 00:11:18 debug #513 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a662cc063ff47c3d3da499e13f99153187c91f32bcbe0d14a0fcd15e52ae4c93/main.spi
00:11:19 verbose #29677 >
00:11:19 verbose #29678 > ╭─[ 672.84ms - stdout ]────────────────────────────────────────────────────────╮
00:11:19 verbose #29679 > │ () │
00:11:19 verbose #29680 > │ │
00:11:19 verbose #29681 > │ │
00:11:19 verbose #29682 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:19 verbose #29683 >
00:11:19 verbose #29684 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:19 verbose #29685 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:19 verbose #29686 > │ ## get_utc_offset │
00:11:19 verbose #29687 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:19 verbose #29688 >
00:11:19 verbose #29689 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:19 verbose #29690 > inl get_utc_offset (time_zone_info : time_zone_info) (date_time : date_time) :
00:11:19 verbose #29691 > time_span =
00:11:19 verbose #29692 > run_target function
00:11:19 verbose #29693 > | Fsharp (Native) => fun () =>
00:11:19 verbose #29694 > date_time |> $'_.GetUtcOffset' (time_zone_local ())
00:11:19 verbose #29695 > | _ => fun () =>
00:11:19 verbose #29696 > time_span ()
00:11:20 verbose #29697 > 00:11:19 debug #514 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/588c9eaba2215eaa74a6d19731223f42bf9ab954462b4565ef3a868ecefe9796/main.spi
00:11:20 verbose #29698 >
00:11:20 verbose #29699 > ╭─[ 625.48ms - stdout ]────────────────────────────────────────────────────────╮
00:11:20 verbose #29700 > │ () │
00:11:20 verbose #29701 > │ │
00:11:20 verbose #29702 > │ │
00:11:20 verbose #29703 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:20 verbose #29704 >
00:11:20 verbose #29705 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:20 verbose #29706 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:20 verbose #29707 > │ ## add_days │
00:11:20 verbose #29708 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:20 verbose #29709 >
00:11:20 verbose #29710 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:20 verbose #29711 > inl add_days (days : i32) (date_time : date_time) : date_time =
00:11:20 verbose #29712 > $'!date_time.AddDays' days
00:11:20 verbose #29713 > 00:11:19 debug #515 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/794a8cdae9241188ce4af1c0efac7875ab360f27950c08bbf3babf9f2402a80c/main.spi
00:11:20 verbose #29714 >
00:11:20 verbose #29715 > ╭─[ 638.19ms - stdout ]────────────────────────────────────────────────────────╮
00:11:20 verbose #29716 > │ () │
00:11:20 verbose #29717 > │ │
00:11:20 verbose #29718 > │ │
00:11:20 verbose #29719 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:20 verbose #29720 >
00:11:20 verbose #29721 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:20 verbose #29722 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:20 verbose #29723 > │ ## now │
00:11:20 verbose #29724 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:20 verbose #29725 >
00:11:20 verbose #29726 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:20 verbose #29727 > inl now () : date_time =
00:11:20 verbose #29728 > $'System.DateTime.Now'
00:11:21 verbose #29729 > 00:11:20 debug #516 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ee885b117231ee444f8fce143aa9b16cec9baca869768900662d663e835b64a/main.spi
00:11:21 verbose #29730 >
00:11:21 verbose #29731 > ╭─[ 667.20ms - stdout ]────────────────────────────────────────────────────────╮
00:11:21 verbose #29732 > │ () │
00:11:21 verbose #29733 > │ │
00:11:21 verbose #29734 > │ │
00:11:21 verbose #29735 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:21 verbose #29736 >
00:11:21 verbose #29737 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:21 verbose #29738 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:21 verbose #29739 > │ ## utc_now │
00:11:21 verbose #29740 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:21 verbose #29741 >
00:11:21 verbose #29742 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:21 verbose #29743 > inl utc_now () : date_time =
00:11:21 verbose #29744 > $'System.DateTime.UtcNow'
00:11:22 verbose #29745 > 00:11:21 debug #517 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bb5088f25c93fb2c5f66a526eda841c809d2f6927608e2c00f3d57128a2da788/main.spi
00:11:22 verbose #29746 >
00:11:22 verbose #29747 > ╭─[ 644.20ms - stdout ]────────────────────────────────────────────────────────╮
00:11:22 verbose #29748 > │ () │
00:11:22 verbose #29749 > │ │
00:11:22 verbose #29750 > │ │
00:11:22 verbose #29751 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:22 verbose #29752 >
00:11:22 verbose #29753 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:22 verbose #29754 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:22 verbose #29755 > │ ## timestamp_guid │
00:11:22 verbose #29756 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:22 verbose #29757 >
00:11:22 verbose #29758 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:22 verbose #29759 > type timestamp_guid = guid.guid
00:11:22 verbose #29760 > 00:11:21 debug #518 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/82fdce6f45bbe387d96ce524d5db8504a194de892a035885ec66c3032f579a91/main.spi
00:11:22 verbose #29761 >
00:11:22 verbose #29762 > ╭─[ 609.41ms - stdout ]────────────────────────────────────────────────────────╮
00:11:22 verbose #29763 > │ () │
00:11:22 verbose #29764 > │ │
00:11:22 verbose #29765 > │ │
00:11:22 verbose #29766 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:22 verbose #29767 >
00:11:22 verbose #29768 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:22 verbose #29769 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:22 verbose #29770 > │ ## date_time_guid │
00:11:22 verbose #29771 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:22 verbose #29772 >
00:11:22 verbose #29773 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:22 verbose #29774 > type date_time_guid = guid.guid
00:11:23 verbose #29775 > 00:11:22 debug #519 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/76758930ec7408a6bd7e22ce675c0e3b688fc9e7ba20b2c32514621e5b41c83f/main.spi
00:11:23 verbose #29776 >
00:11:23 verbose #29777 > ╭─[ 598.79ms - stdout ]────────────────────────────────────────────────────────╮
00:11:23 verbose #29778 > │ () │
00:11:23 verbose #29779 > │ │
00:11:23 verbose #29780 > │ │
00:11:23 verbose #29781 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:23 verbose #29782 >
00:11:23 verbose #29783 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:23 verbose #29784 > //// test
00:11:23 verbose #29785 >
00:11:23 verbose #29786 > inl test_guid () =
00:11:23 verbose #29787 > guid.new_guid "FEDCBA98-7654-3210-FEDC-BA9876543210"
00:11:24 verbose #29788 > 00:11:23 debug #520 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7d0343c712419474a2ca78f9fb89533757794ab95fd09aed830dea0a375b8a14/main.spi
00:11:24 verbose #29789 >
00:11:24 verbose #29790 > ╭─[ 673.20ms - stdout ]────────────────────────────────────────────────────────╮
00:11:24 verbose #29791 > │ () │
00:11:24 verbose #29792 > │ │
00:11:24 verbose #29793 > │ │
00:11:24 verbose #29794 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:24 verbose #29795 >
00:11:24 verbose #29796 > ── markdown ────────────────────────────────────────────────────────────────────
00:11:24 verbose #29797 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:11:24 verbose #29798 > │ ## date_time_guid_from_date_time │
00:11:24 verbose #29799 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:24 verbose #29800 >
00:11:24 verbose #29801 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:24 verbose #29802 > inl date_time_guid_from_date_time (guid : guid.guid) (date_time : date_time) =
00:11:24 verbose #29803 > inl guid = guid |> sm'.obj_to_string
00:11:24 verbose #29804 > inl prefix, time_zone =
00:11:24 verbose #29805 > run_target function
00:11:24 verbose #29806 > | Fsharp (Native) => fun () =>
00:11:24 verbose #29807 > inl prefix = date_time |> format (join
00:11:24 verbose #29808 > "yyyyMMdd-HHmm-ssff-ffff-f")
00:11:24 verbose #29809 > inl time_zone = date_time |> get_utc_offset (time_zone_local ())
00:11:24 verbose #29810 > inl time_zone_signal = (hours time_zone > 0) |> convert_i32
00:11:24 verbose #29811 > inl time_zone_value = time_zone |> time_span_format (join
00:11:24 verbose #29812 > "hhmm")
00:11:24 verbose #29813 > inl time_zone = $'$"{!time_zone_signal}{!time_zone_value}"' :
00:11:24 verbose #29814 > string
00:11:24 verbose #29815 > prefix, time_zone
00:11:24 verbose #29816 > | Rust (Native) => fun () =>
00:11:24 verbose #29817 > inl epoch =
00:11:24 verbose #29818 > date_time_utc 1970 1 1 0 0 0
00:11:24 verbose #29819 > |> to_universal_time
00:11:24 verbose #29820 > inl date_time =
00:11:24 verbose #29821 > date_time
00:11:24 verbose #29822 > |> specify_date_kind Local
00:11:24 verbose #29823 > |> to_universal_time
00:11:24 verbose #29824 > inl unixticks =
00:11:24 verbose #29825 > match date_time |> ticks, epoch |> ticks with
00:11:24 verbose #29826 > | timestamp date_time, timestamp epoch => date_time - epoch
00:11:24 verbose #29827 > inl prefix =
00:11:24 verbose #29828 > unixticks / 10
00:11:24 verbose #29829 > |> from_timestamp_micros
00:11:24 verbose #29830 > |> optionm.map (
00:11:24 verbose #29831 > to_local
00:11:24 verbose #29832 > >> format'' "%Y%m%d-%H%M-%S%f"
00:11:24 verbose #29833 > >> sm'.from_std_string
00:11:24 verbose #29834 > >> fun s =>
00:11:24 verbose #29835 > $'$"{!s.[[0..17]]}-{!s.[[18..21]]}-{!s.[[22]]}"'
00:11:24 verbose #29836 > )
00:11:24 verbose #29837 > |> optionm'.default_value ""
00:11:24 verbose #29838 > inl time_zone = date_time |> get_utc_offset (time_zone_local ())
00:11:24 verbose #29839 > inl time_zone_signal = if hours time_zone > 0 then 1u8 else 0
00:11:24 verbose #29840 > inl time_zone_value = time_zone |> time_span_format "hh:mm"
00:11:24 verbose #29841 > inl time_zone =
00:11:24 verbose #29842 > $'$"{!time_zone_signal}{!time_zone_value.[[0..1]]}{!time_zone_value.[[3..4]]}"'
00:11:24 verbose #29843 > : string
00:11:24 verbose #29844 > prefix, time_zone
00:11:24 verbose #29845 > | _ => fun () => null ()
00:11:24 verbose #29846 >
00:11:24 verbose #29847 > $'`date_time_guid $"{!prefix}{!time_zone}{!guid.[[!prefix.Length +
00:11:24 verbose #29848 > !time_zone.Length..]]}"' : date_time_guid
00:11:24 verbose #29849 > 00:11:23 debug #521 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/66ce7bce2c2fb2dd515eaf48b78d2091e69cbe5f061e8b99bd6b52ee8701efdf/main.spi
00:11:24 verbose #29850 >
00:11:24 verbose #29851 > ╭─[ 636.41ms - stdout ]────────────────────────────────────────────────────────╮
00:11:24 verbose #29852 > │ () │
00:11:24 verbose #29853 > │ │
00:11:24 verbose #29854 > │ │
00:11:24 verbose #29855 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:24 verbose #29856 >
00:11:24 verbose #29857 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:24 verbose #29858 > //// test
00:11:24 verbose #29859 > //// print_code=false
00:11:24 verbose #29860 >
00:11:24 verbose #29861 > types ()
00:11:24 verbose #29862 > now () |> to_universal_time |> date_time_guid_from_date_time (test_guid ()) |>
00:11:24 verbose #29863 > sm'.obj_to_string
00:11:24 verbose #29864 > |> console.write_line
00:11:25 verbose #29865 > 00:11:24 debug #522 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e6721a2b93f1437a62dbd5795c29a863a70e0c7cd4753b135840641057f2b096/main.spi
00:11:27 verbose #29866 >
00:11:27 verbose #29867 > ╭─[ 2.32s - stdout ]───────────────────────────────────────────────────────────╮
00:11:27 verbose #29868 > │ 20240503-0645-4912-1288-100400543210 │
00:11:27 verbose #29869 > │ │
00:11:27 verbose #29870 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:27 verbose #29871 >
00:11:27 verbose #29872 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:27 verbose #29873 > //// test
00:11:27 verbose #29874 > //// print_code=false
00:11:27 verbose #29875 > ///! rust
00:11:27 verbose #29876 >
00:11:27 verbose #29877 > types ()
00:11:27 verbose #29878 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:11:27 verbose #29879 > - 6i32) (am'.End id)
00:11:27 verbose #29880 > now ()
00:11:27 verbose #29881 > |> to_universal_time
00:11:27 verbose #29882 > |> date_time_guid_from_date_time (test_guid ())
00:11:27 verbose #29883 > |> sm'.obj_to_string
00:11:27 verbose #29884 > |> fun s => s |> _assert_eq' $'$"{!s.[[0..29]]}{!suffix}"'
00:11:27 verbose #29885 > 00:11:26 debug #523 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7a2b0a7f2b631e666cf093e04e94663dbc775f0ae40722d4f542bedcf4e09027/main.spi
00:11:43 verbose #29886 >
00:11:43 verbose #29887 > ╭─[ 15.92s - return value ]────────────────────────────────────────────────────╮
00:11:43 verbose #29888 > │ assert_eq' / actual: "20240503-0646-0483-9721-000000543210" / expected: │
00:11:43 verbose #29889 > │ "20240503-0646-0483-9721-000000543210" │
00:11:43 verbose #29890 > │ │
00:11:43 verbose #29891 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:43 verbose #29892 >
00:11:43 verbose #29893 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:43 verbose #29894 > //// test
00:11:43 verbose #29895 > //// print_code=false
00:11:43 verbose #29896 >
00:11:43 verbose #29897 > types ()
00:11:43 verbose #29898 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:11:43 verbose #29899 > - 6i32) (am'.End id)
00:11:43 verbose #29900 > min_value ()
00:11:43 verbose #29901 > |> specify_date_kind Local
00:11:43 verbose #29902 > |> date_time_guid_from_date_time (test_guid ())
00:11:43 verbose #29903 > |> sm'.obj_to_string
00:11:43 verbose #29904 > |> fun s => s |> _assert_eq'
00:11:43 verbose #29905 > $'$"00010101-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:11:43 verbose #29906 > 00:11:42 debug #524 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07a046959d71f54c2bb5a63a42cb6aaa2ff66487238caa13408a01b496729c95/main.spi
00:11:44 verbose #29907 >
00:11:44 verbose #29908 > ╭─[ 1.28s - stdout ]───────────────────────────────────────────────────────────╮
00:11:44 verbose #29909 > │ assert_eq' / actual: "00010101-0000-0000-0000-000400543210" / expected: │
00:11:44 verbose #29910 > │ "00010101-0000-0000-0000-000400543210" │
00:11:44 verbose #29911 > │ │
00:11:44 verbose #29912 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:11:44 verbose #29913 >
00:11:44 verbose #29914 > ── spiral ──────────────────────────────────────────────────────────────────────
00:11:44 verbose #29915 > //// test
00:11:44 verbose #29916 > //// print_code=false
00:11:44 verbose #29917 > ///! rust
00:11:44 verbose #29918 >
00:11:44 verbose #29919 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:11:44 verbose #29920 > - 6i32) (am'.End id)
00:11:44 verbose #29921 > types ()
00:11:44 verbose #29922 > min_value ()
00:11:44 verbose #29923 > |> specify_date_kind Local
00:11:44 verbose #29924 > |> date_time_guid_from_date_time (test_guid ())
00:11:44 verbose #29925 > |> sm'.obj_to_string
00:11:44 verbose #29926 > |> fun s => s |> _assert_eq'
00:11:44 verbose #29927 > $'$"00010101-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:11:44 verbose #29928 > 00:11:43 debug #525 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2b29e130aecec4220102fe9dc1989a87279ea979425fb522030a7717a151cf4d/main.spi
00:12:03 verbose #29929 >
00:12:03 verbose #29930 > ╭─[ 19.23s - return value ]────────────────────────────────────────────────────╮
00:12:03 verbose #29931 > │ assert_eq' / actual: "00010101-0000-0000-0000-000000543210" / expected: │
00:12:03 verbose #29932 > │ "00010101-0000-0000-0000-000000543210" │
00:12:03 verbose #29933 > │ │
00:12:03 verbose #29934 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:03 verbose #29935 >
00:12:03 verbose #29936 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:03 verbose #29937 > //// test
00:12:03 verbose #29938 > //// print_code=false
00:12:03 verbose #29939 >
00:12:03 verbose #29940 > types ()
00:12:03 verbose #29941 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:12:03 verbose #29942 > - 6i32) (am'.End id)
00:12:03 verbose #29943 > max_value ()
00:12:03 verbose #29944 > |> specify_date_kind Utc
00:12:03 verbose #29945 > |> add_days -1
00:12:03 verbose #29946 > |> date_time_guid_from_date_time (test_guid ())
00:12:03 verbose #29947 > |> sm'.obj_to_string
00:12:03 verbose #29948 > |> fun s => s |> _assert_eq
00:12:03 verbose #29949 > $'$"99991230-2359-5999-9999-9{!s.[[25..29]]}{!suffix}"'
00:12:04 verbose #29950 > 00:12:03 debug #526 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/17a87ea5af413a37049c627971baee44b8e76439d14a7cc497a62086300a36f3/main.spi
00:12:04 verbose #29951 >
00:12:04 verbose #29952 > ╭─[ 792.61ms - stdout ]────────────────────────────────────────────────────────╮
00:12:04 verbose #29953 > │ assert_eq / actual: "99991230-2359-5999-9999-900400543210" / expected: │
00:12:04 verbose #29954 > │ "99991230-2359-5999-9999-900400543210" │
00:12:04 verbose #29955 > │ │
00:12:04 verbose #29956 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:04 verbose #29957 >
00:12:04 verbose #29958 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:04 verbose #29959 > //// test
00:12:04 verbose #29960 > //// print_code=false
00:12:04 verbose #29961 > ///! rust
00:12:04 verbose #29962 >
00:12:04 verbose #29963 > types ()
00:12:04 verbose #29964 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:12:04 verbose #29965 > - 6i32) (am'.End id)
00:12:04 verbose #29966 > max_value ()
00:12:04 verbose #29967 > |> specify_date_kind Utc
00:12:04 verbose #29968 > |> add_days -1
00:12:04 verbose #29969 > |> date_time_guid_from_date_time (test_guid ())
00:12:04 verbose #29970 > |> sm'.obj_to_string
00:12:04 verbose #29971 > |> fun s => s |> _assert_eq
00:12:04 verbose #29972 > $'$"99991230-2359-5999-9999-0{!s.[[25..29]]}{!suffix}"'
00:12:04 verbose #29973 > 00:12:03 debug #527 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7ecaf209cf4bed73e87e810005aa05a4267c13c4c8a2680589e5ca36d1f74834/main.spi
00:12:15 verbose #29974 >
00:12:15 verbose #29975 > ╭─[ 11.02s - return value ]────────────────────────────────────────────────────╮
00:12:15 verbose #29976 > │ assert_eq / actual: "99991230-2359-5999-9999-000000543210" / expected: │
00:12:15 verbose #29977 > │ "99991230-2359-5999-9999-000000543210" │
00:12:15 verbose #29978 > │ │
00:12:15 verbose #29979 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:15 verbose #29980 >
00:12:15 verbose #29981 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:15 verbose #29982 > //// test
00:12:15 verbose #29983 > //// print_code=false
00:12:15 verbose #29984 >
00:12:15 verbose #29985 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:12:15 verbose #29986 > - 6i32) (am'.End id)
00:12:15 verbose #29987 > unix_epoch ()
00:12:15 verbose #29988 > |> specify_date_kind Utc
00:12:15 verbose #29989 > |> add_days 1
00:12:15 verbose #29990 > |> date_time_guid_from_date_time (test_guid ())
00:12:15 verbose #29991 > |> sm'.obj_to_string
00:12:15 verbose #29992 > |> fun s => s |> _assert_eq
00:12:15 verbose #29993 > $'$"19700102-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:12:15 verbose #29994 > 00:12:14 debug #528 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/814d5d299d9cbeea7a461126900915b28d82ef676d9dbf683e0f50f20f3d7001/main.spi
00:12:16 verbose #29995 >
00:12:16 verbose #29996 > ╭─[ 698.50ms - stdout ]────────────────────────────────────────────────────────╮
00:12:16 verbose #29997 > │ assert_eq / actual: "19700102-0000-0000-0000-000400543210" / expected: │
00:12:16 verbose #29998 > │ "19700102-0000-0000-0000-000400543210" │
00:12:16 verbose #29999 > │ │
00:12:16 verbose #30000 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:16 verbose #30001 >
00:12:16 verbose #30002 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:16 verbose #30003 > //// test
00:12:16 verbose #30004 > //// print_code=false
00:12:16 verbose #30005 > ///! rust
00:12:16 verbose #30006 >
00:12:16 verbose #30007 > types ()
00:12:16 verbose #30008 > inl suffix = test_guid () |> sm'.obj_to_string |> sm'.range (am'.End fun x => x
00:12:16 verbose #30009 > - 6i32) (am'.End id)
00:12:16 verbose #30010 > unix_epoch ()
00:12:16 verbose #30011 > |> specify_date_kind Utc
00:12:16 verbose #30012 > |> add_days 1
00:12:16 verbose #30013 > |> date_time_guid_from_date_time (test_guid ())
00:12:16 verbose #30014 > |> sm'.obj_to_string
00:12:16 verbose #30015 > |> fun s => s |> _assert_eq
00:12:16 verbose #30016 > $'$"19700102-0000-0000-0000-0{!s.[[25..29]]}{!suffix}"'
00:12:16 verbose #30017 > 00:12:15 debug #529 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/55b6eb3ddbda1a2c64937730ad6b35166327c307ae3bc28e0c9fa7e261d6ba24/main.spi
00:12:24 verbose #30018 >
00:12:24 verbose #30019 > ╭─[ 8.87s - return value ]─────────────────────────────────────────────────────╮
00:12:24 verbose #30020 > │ assert_eq / actual: "19700102-0000-0000-0000-000000543210" / expected: │
00:12:24 verbose #30021 > │ "19700102-0000-0000-0000-000000543210" │
00:12:24 verbose #30022 > │ │
00:12:24 verbose #30023 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:24 verbose #30024 >
00:12:24 verbose #30025 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:24 verbose #30026 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:24 verbose #30027 > │ ## date_time_from_guid │
00:12:24 verbose #30028 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:24 verbose #30029 >
00:12:24 verbose #30030 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:24 verbose #30031 > inl date_time_from_guid (date_time_guid : date_time_guid) =
00:12:24 verbose #30032 > inl date_time_guid = date_time_guid |> sm'.obj_to_string
00:12:24 verbose #30033 > inl sm'_replace = join sm'.replace
00:12:24 verbose #30034 > run_target function
00:12:24 verbose #30035 > | Rust _ => fun () =>
00:12:24 verbose #30036 > $'System.DateTime.Parse (!date_time_guid.[[..24]] |> !sm'_replace
00:12:24 verbose #30037 > "-" "")' : date_time
00:12:24 verbose #30038 > | _ => fun () => $'System.DateTime.ParseExact (!date_time_guid.[[..24]]
00:12:24 verbose #30039 > |> !sm'_replace "-" "", "yyyyMMddHHmmssfffffff", null)' : date_time
00:12:25 verbose #30040 > 00:12:24 debug #530 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07a145107a02f7b563007a20f4a21bb5e43454e0facab6e1d5b405241ed210f6/main.spi
00:12:25 verbose #30041 >
00:12:25 verbose #30042 > ╭─[ 670.83ms - stdout ]────────────────────────────────────────────────────────╮
00:12:25 verbose #30043 > │ () │
00:12:25 verbose #30044 > │ │
00:12:25 verbose #30045 > │ │
00:12:25 verbose #30046 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:25 verbose #30047 >
00:12:25 verbose #30048 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:25 verbose #30049 > //// test
00:12:25 verbose #30050 >
00:12:25 verbose #30051 > date_time_from_guid (guid.new_guid "00010101-0000-0000-0000-0a9876543210")
00:12:25 verbose #30052 > |> _assert_eq' (min_value ())
00:12:26 verbose #30053 > 00:12:25 debug #531 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/691cf1dc8798b6ed6e80f91d0c9305b6ea28728a3cdd1fade3d0e16bfdda3eb2/main.spi
00:12:26 verbose #30054 >
00:12:26 verbose #30055 > ╭─[ 680.89ms - stdout ]────────────────────────────────────────────────────────╮
00:12:26 verbose #30056 > │ let rec closure2 (v0 : string, v1 : string) (v2 : string) : string = │
00:12:26 verbose #30057 > │ let v3 : string = v2.Replace (v0, v1) │
00:12:26 verbose #30058 > │ v3 │
00:12:26 verbose #30059 > │ and closure1 (v0 : string) (v1 : string) : (string -> string) = │
00:12:26 verbose #30060 > │ closure2(v0, v1) │
00:12:26 verbose #30061 > │ and closure0 () (v0 : string) : (string -> (string -> string)) = │
00:12:26 verbose #30062 > │ closure1(v0) │
00:12:26 verbose #30063 > │ and method1 () : (string -> (string -> (string -> string))) = │
00:12:26 verbose #30064 > │ closure0() │
00:12:26 verbose #30065 > │ and method2 (v0 : bool) : bool = │
00:12:26 verbose #30066 > │ v0 │
00:12:26 verbose #30067 > │ and method0 () : unit = │
00:12:26 verbose #30068 > │ let v0 : string = "00010101-0000-0000-0000-0a9876543210" │
00:12:26 verbose #30069 > │ let v1 : System.Guid = System.Guid v0 │
00:12:26 verbose #30070 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:26 verbose #30071 > │ let v3 : string = v2 v1 │
00:12:26 verbose #30072 > │ let v4 : (string -> (string -> (string -> string))) = method1() │
00:12:26 verbose #30073 > │ let v5 : System.DateTime option = None │
00:12:26 verbose #30074 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:12:26 verbose #30075 > │ │
00:12:26 verbose #30076 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:26 verbose #30077 > │ │
00:12:26 verbose #30078 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:26 verbose #30079 > │ let v7 : System.DateTime = System.DateTime.Parse (v3.[..24] |> v4 "-" │
00:12:26 verbose #30080 > │ "") │
00:12:26 verbose #30081 > │ v7 │
00:12:26 verbose #30082 > │ #endif │
00:12:26 verbose #30083 > │ │
00:12:26 verbose #30084 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:26 verbose #30085 > │ let v8 : System.DateTime = System.DateTime.Parse (v3.[..24] |> v4 "-" │
00:12:26 verbose #30086 > │ "") │
00:12:26 verbose #30087 > │ v8 │
00:12:26 verbose #30088 > │ #endif │
00:12:26 verbose #30089 > │ │
00:12:26 verbose #30090 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:26 verbose #30091 > │ let v9 : System.DateTime = System.DateTime.Parse (v3.[..24] |> v4 "-" │
00:12:26 verbose #30092 > │ "") │
00:12:26 verbose #30093 > │ v9 │
00:12:26 verbose #30094 > │ #endif │
00:12:26 verbose #30095 > │ │
00:12:26 verbose #30096 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:26 verbose #30097 > │ let v10 : System.DateTime = System.DateTime.ParseExact (v3.[..24] |> v4 │
00:12:26 verbose #30098 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:26 verbose #30099 > │ v10 │
00:12:26 verbose #30100 > │ #endif │
00:12:26 verbose #30101 > │ │
00:12:26 verbose #30102 > │ #if FABLE_COMPILER_PYTHON │
00:12:26 verbose #30103 > │ let v11 : System.DateTime = System.DateTime.ParseExact (v3.[..24] |> v4 │
00:12:26 verbose #30104 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:26 verbose #30105 > │ v11 │
00:12:26 verbose #30106 > │ #endif │
00:12:26 verbose #30107 > │ │
00:12:26 verbose #30108 > │ #else │
00:12:26 verbose #30109 > │ let v12 : System.DateTime = System.DateTime.ParseExact (v3.[..24] |> v4 │
00:12:26 verbose #30110 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:26 verbose #30111 > │ v12 │
00:12:26 verbose #30112 > │ #endif │
00:12:26 verbose #30113 > │ |> fun x -> _v5 <- Some x │
00:12:26 verbose #30114 > │ let v13 : System.DateTime = _v5.Value │
00:12:26 verbose #30115 > │ let v14 : System.DateTime = System.DateTime.MinValue │
00:12:26 verbose #30116 > │ let v15 : bool = v13 = v14 │
00:12:26 verbose #30117 > │ let v17 : bool = │
00:12:26 verbose #30118 > │ if v15 then │
00:12:26 verbose #30119 > │ true │
00:12:26 verbose #30120 > │ else │
00:12:26 verbose #30121 > │ method2(v15) │
00:12:26 verbose #30122 > │ let v18 : string = "assert_eq'" │
00:12:26 verbose #30123 > │ let v19 : string = $"{v18} / actual: %A{v13} / expected: %A{v14}" │
00:12:26 verbose #30124 > │ System.Console.WriteLine v19 │
00:12:26 verbose #30125 > │ let v20 : bool = v17 = false │
00:12:26 verbose #30126 > │ if v20 then │
00:12:26 verbose #30127 > │ failwith<unit> v19 │
00:12:26 verbose #30128 > │ method0() │
00:12:26 verbose #30129 > │ │
00:12:26 verbose #30130 > │ assert_eq' / actual: 0001-01-01 12:00:00 AM / expected: 0001-01-01 12:00:00 │
00:12:26 verbose #30131 > │ AM │
00:12:26 verbose #30132 > │ │
00:12:26 verbose #30133 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:26 verbose #30134 >
00:12:26 verbose #30135 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:26 verbose #30136 > //// test
00:12:26 verbose #30137 >
00:12:26 verbose #30138 > date_time_from_guid (guid.new_guid $'$"99991231-2359-5999-9999-9{(!test_guid ()
00:12:26 verbose #30139 > |> string).[[^10..]]}"')
00:12:26 verbose #30140 > |> _assert_eq' (max_value ())
00:12:26 verbose #30141 > 00:12:25 debug #532 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c1f54c0a98f98a135f2a90f19ee22d3639a001d0eace3a03476f65fb387feec2/main.spi
00:12:27 verbose #30142 >
00:12:27 verbose #30143 > ╭─[ 709.66ms - stdout ]────────────────────────────────────────────────────────╮
00:12:27 verbose #30144 > │ let rec closure0 () () : System.Guid = │
00:12:27 verbose #30145 > │ let v0 : string = "FEDCBA98-7654-3210-FEDC-BA9876543210" │
00:12:27 verbose #30146 > │ let v1 : System.Guid = System.Guid v0 │
00:12:27 verbose #30147 > │ v1 │
00:12:27 verbose #30148 > │ and closure3 (v0 : string, v1 : string) (v2 : string) : string = │
00:12:27 verbose #30149 > │ let v3 : string = v2.Replace (v0, v1) │
00:12:27 verbose #30150 > │ v3 │
00:12:27 verbose #30151 > │ and closure2 (v0 : string) (v1 : string) : (string -> string) = │
00:12:27 verbose #30152 > │ closure3(v0, v1) │
00:12:27 verbose #30153 > │ and closure1 () (v0 : string) : (string -> (string -> string)) = │
00:12:27 verbose #30154 > │ closure2(v0) │
00:12:27 verbose #30155 > │ and method1 () : (string -> (string -> (string -> string))) = │
00:12:27 verbose #30156 > │ closure1() │
00:12:27 verbose #30157 > │ and method2 (v0 : bool) : bool = │
00:12:27 verbose #30158 > │ v0 │
00:12:27 verbose #30159 > │ and method0 () : unit = │
00:12:27 verbose #30160 > │ let v0 : (unit -> System.Guid) = closure0() │
00:12:27 verbose #30161 > │ let v1 : string = $"99991231-2359-5999-9999-9{(v0 () |> string).[ │
00:12:27 verbose #30162 > │ ^10..]}" │
00:12:27 verbose #30163 > │ let v2 : System.Guid = System.Guid v1 │
00:12:27 verbose #30164 > │ let v3 : (System.Guid -> string) = _.ToString() │
00:12:27 verbose #30165 > │ let v4 : string = v3 v2 │
00:12:27 verbose #30166 > │ let v5 : (string -> (string -> (string -> string))) = method1() │
00:12:27 verbose #30167 > │ let v6 : System.DateTime option = None │
00:12:27 verbose #30168 > │ let v7 : bool = true in let mutable _v6 = v6 │
00:12:27 verbose #30169 > │ │
00:12:27 verbose #30170 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:27 verbose #30171 > │ │
00:12:27 verbose #30172 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:27 verbose #30173 > │ let v8 : System.DateTime = System.DateTime.Parse (v4.[..24] |> v5 "-" │
00:12:27 verbose #30174 > │ "") │
00:12:27 verbose #30175 > │ v8 │
00:12:27 verbose #30176 > │ #endif │
00:12:27 verbose #30177 > │ │
00:12:27 verbose #30178 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:27 verbose #30179 > │ let v9 : System.DateTime = System.DateTime.Parse (v4.[..24] |> v5 "-" │
00:12:27 verbose #30180 > │ "") │
00:12:27 verbose #30181 > │ v9 │
00:12:27 verbose #30182 > │ #endif │
00:12:27 verbose #30183 > │ │
00:12:27 verbose #30184 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:27 verbose #30185 > │ let v10 : System.DateTime = System.DateTime.Parse (v4.[..24] |> v5 "-" │
00:12:27 verbose #30186 > │ "") │
00:12:27 verbose #30187 > │ v10 │
00:12:27 verbose #30188 > │ #endif │
00:12:27 verbose #30189 > │ │
00:12:27 verbose #30190 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:27 verbose #30191 > │ let v11 : System.DateTime = System.DateTime.ParseExact (v4.[..24] |> v5 │
00:12:27 verbose #30192 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:27 verbose #30193 > │ v11 │
00:12:27 verbose #30194 > │ #endif │
00:12:27 verbose #30195 > │ │
00:12:27 verbose #30196 > │ #if FABLE_COMPILER_PYTHON │
00:12:27 verbose #30197 > │ let v12 : System.DateTime = System.DateTime.ParseExact (v4.[..24] |> v5 │
00:12:27 verbose #30198 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:27 verbose #30199 > │ v12 │
00:12:27 verbose #30200 > │ #endif │
00:12:27 verbose #30201 > │ │
00:12:27 verbose #30202 > │ #else │
00:12:27 verbose #30203 > │ let v13 : System.DateTime = System.DateTime.ParseExact (v4.[..24] |> v5 │
00:12:27 verbose #30204 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:27 verbose #30205 > │ v13 │
00:12:27 verbose #30206 > │ #endif │
00:12:27 verbose #30207 > │ |> fun x -> _v6 <- Some x │
00:12:27 verbose #30208 > │ let v14 : System.DateTime = _v6.Value │
00:12:27 verbose #30209 > │ let v15 : System.DateTime = System.DateTime.MaxValue │
00:12:27 verbose #30210 > │ let v16 : bool = v14 = v15 │
00:12:27 verbose #30211 > │ let v18 : bool = │
00:12:27 verbose #30212 > │ if v16 then │
00:12:27 verbose #30213 > │ true │
00:12:27 verbose #30214 > │ else │
00:12:27 verbose #30215 > │ method2(v16) │
00:12:27 verbose #30216 > │ let v19 : string = "assert_eq'" │
00:12:27 verbose #30217 > │ let v20 : string = $"{v19} / actual: %A{v14} / expected: %A{v15}" │
00:12:27 verbose #30218 > │ System.Console.WriteLine v20 │
00:12:27 verbose #30219 > │ let v21 : bool = v18 = false │
00:12:27 verbose #30220 > │ if v21 then │
00:12:27 verbose #30221 > │ failwith<unit> v20 │
00:12:27 verbose #30222 > │ method0() │
00:12:27 verbose #30223 > │ │
00:12:27 verbose #30224 > │ assert_eq' / actual: 9999-12-31 11:59:59 PM / expected: 9999-12-31 11:59:59 │
00:12:27 verbose #30225 > │ PM │
00:12:27 verbose #30226 > │ │
00:12:27 verbose #30227 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:27 verbose #30228 >
00:12:27 verbose #30229 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:27 verbose #30230 > //// test
00:12:27 verbose #30231 >
00:12:27 verbose #30232 > date_time_from_guid (guid.new_guid $'$"19700101-0000-0000-0000-0{(!test_guid ()
00:12:27 verbose #30233 > |> string).[[^10..]]}"')
00:12:27 verbose #30234 > |> _assert_eq' $'System.DateTime.UnixEpoch'
00:12:27 verbose #30235 > 00:12:26 debug #533 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e959049f2bb4d809e715024c95891df21342e3191402d40ca1fe5ce0b255fb10/main.spi
00:12:27 verbose #30236 >
00:12:27 verbose #30237 > ╭─[ 688.72ms - stdout ]────────────────────────────────────────────────────────╮
00:12:27 verbose #30238 > │ let rec closure0 () () : System.Guid = │
00:12:27 verbose #30239 > │ let v0 : string = "FEDCBA98-7654-3210-FEDC-BA9876543210" │
00:12:27 verbose #30240 > │ let v1 : System.Guid = System.Guid v0 │
00:12:27 verbose #30241 > │ v1 │
00:12:27 verbose #30242 > │ and closure3 (v0 : string, v1 : string) (v2 : string) : string = │
00:12:27 verbose #30243 > │ let v3 : string = v2.Replace (v0, v1) │
00:12:27 verbose #30244 > │ v3 │
00:12:27 verbose #30245 > │ and closure2 (v0 : string) (v1 : string) : (string -> string) = │
00:12:27 verbose #30246 > │ closure3(v0, v1) │
00:12:27 verbose #30247 > │ and closure1 () (v0 : string) : (string -> (string -> string)) = │
00:12:27 verbose #30248 > │ closure2(v0) │
00:12:27 verbose #30249 > │ and method1 () : (string -> (string -> (string -> string))) = │
00:12:27 verbose #30250 > │ closure1() │
00:12:27 verbose #30251 > │ and method2 (v0 : bool) : bool = │
00:12:27 verbose #30252 > │ v0 │
00:12:27 verbose #30253 > │ and method0 () : unit = │
00:12:27 verbose #30254 > │ let v0 : (unit -> System.Guid) = closure0() │
00:12:27 verbose #30255 > │ let v1 : string = $"19700101-0000-0000-0000-0{(v0 () |> string).[ │
00:12:27 verbose #30256 > │ ^10..]}" │
00:12:27 verbose #30257 > │ let v2 : System.Guid = System.Guid v1 │
00:12:27 verbose #30258 > │ let v3 : (System.Guid -> string) = _.ToString() │
00:12:27 verbose #30259 > │ let v4 : string = v3 v2 │
00:12:27 verbose #30260 > │ let v5 : (string -> (string -> (string -> string))) = method1() │
00:12:27 verbose #30261 > │ let v6 : System.DateTime option = None │
00:12:27 verbose #30262 > │ let v7 : bool = true in let mutable _v6 = v6 │
00:12:27 verbose #30263 > │ │
00:12:27 verbose #30264 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:27 verbose #30265 > │ │
00:12:27 verbose #30266 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:27 verbose #30267 > │ let v8 : System.DateTime = System.DateTime.Parse (v4.[..24] |> v5 "-" │
00:12:27 verbose #30268 > │ "") │
00:12:27 verbose #30269 > │ v8 │
00:12:27 verbose #30270 > │ #endif │
00:12:27 verbose #30271 > │ │
00:12:27 verbose #30272 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:27 verbose #30273 > │ let v9 : System.DateTime = System.DateTime.Parse (v4.[..24] |> v5 "-" │
00:12:27 verbose #30274 > │ "") │
00:12:27 verbose #30275 > │ v9 │
00:12:27 verbose #30276 > │ #endif │
00:12:27 verbose #30277 > │ │
00:12:27 verbose #30278 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:27 verbose #30279 > │ let v10 : System.DateTime = System.DateTime.Parse (v4.[..24] |> v5 "-" │
00:12:27 verbose #30280 > │ "") │
00:12:27 verbose #30281 > │ v10 │
00:12:27 verbose #30282 > │ #endif │
00:12:27 verbose #30283 > │ │
00:12:27 verbose #30284 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:27 verbose #30285 > │ let v11 : System.DateTime = System.DateTime.ParseExact (v4.[..24] |> v5 │
00:12:27 verbose #30286 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:27 verbose #30287 > │ v11 │
00:12:27 verbose #30288 > │ #endif │
00:12:27 verbose #30289 > │ │
00:12:27 verbose #30290 > │ #if FABLE_COMPILER_PYTHON │
00:12:27 verbose #30291 > │ let v12 : System.DateTime = System.DateTime.ParseExact (v4.[..24] |> v5 │
00:12:27 verbose #30292 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:27 verbose #30293 > │ v12 │
00:12:27 verbose #30294 > │ #endif │
00:12:27 verbose #30295 > │ │
00:12:27 verbose #30296 > │ #else │
00:12:27 verbose #30297 > │ let v13 : System.DateTime = System.DateTime.ParseExact (v4.[..24] |> v5 │
00:12:27 verbose #30298 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:27 verbose #30299 > │ v13 │
00:12:27 verbose #30300 > │ #endif │
00:12:27 verbose #30301 > │ |> fun x -> _v6 <- Some x │
00:12:27 verbose #30302 > │ let v14 : System.DateTime = _v6.Value │
00:12:27 verbose #30303 > │ let v15 : System.DateTime = System.DateTime.UnixEpoch │
00:12:27 verbose #30304 > │ let v16 : bool = v14 = v15 │
00:12:27 verbose #30305 > │ let v18 : bool = │
00:12:27 verbose #30306 > │ if v16 then │
00:12:27 verbose #30307 > │ true │
00:12:27 verbose #30308 > │ else │
00:12:27 verbose #30309 > │ method2(v16) │
00:12:27 verbose #30310 > │ let v19 : string = "assert_eq'" │
00:12:27 verbose #30311 > │ let v20 : string = $"{v19} / actual: %A{v14} / expected: %A{v15}" │
00:12:27 verbose #30312 > │ System.Console.WriteLine v20 │
00:12:27 verbose #30313 > │ let v21 : bool = v18 = false │
00:12:27 verbose #30314 > │ if v21 then │
00:12:27 verbose #30315 > │ failwith<unit> v20 │
00:12:27 verbose #30316 > │ method0() │
00:12:27 verbose #30317 > │ │
00:12:27 verbose #30318 > │ assert_eq' / actual: 1970-01-01 12:00:00 AM / expected: 1970-01-01 12:00:00 │
00:12:27 verbose #30319 > │ AM │
00:12:27 verbose #30320 > │ │
00:12:27 verbose #30321 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:27 verbose #30322 >
00:12:27 verbose #30323 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:27 verbose #30324 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:27 verbose #30325 > │ ## timestamp_guid_from_timestamp │
00:12:27 verbose #30326 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:27 verbose #30327 >
00:12:27 verbose #30328 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:27 verbose #30329 > inl timestamp_guid_from_timestamp (guid : guid.guid) (timestamp : timestamp) :
00:12:27 verbose #30330 > timestamp_guid =
00:12:27 verbose #30331 > inl guid = guid |> sm'.obj_to_string
00:12:27 verbose #30332 > inl timestamp = timestamp |> sm'.obj_to_string |> sm'.pad_left 18i32 '0'
00:12:27 verbose #30333 > $'`timestamp_guid
00:12:27 verbose #30334 > $"{!timestamp.[[0..7]]}-{!timestamp.[[8..11]]}-{!timestamp.[[12..15]]}-{!timesta
00:12:27 verbose #30335 > mp.[[16..17]]}{!guid.[[21..]]}"'
00:12:28 verbose #30336 > 00:12:27 debug #534 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/327e33f1541a019c25b7553e88b2f0a03a8732e64d5c929af5940e29a8489048/main.spi
00:12:28 verbose #30337 >
00:12:28 verbose #30338 > ╭─[ 629.65ms - stdout ]────────────────────────────────────────────────────────╮
00:12:28 verbose #30339 > │ () │
00:12:28 verbose #30340 > │ │
00:12:28 verbose #30341 > │ │
00:12:28 verbose #30342 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:28 verbose #30343 >
00:12:28 verbose #30344 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:28 verbose #30345 > //// test
00:12:28 verbose #30346 >
00:12:28 verbose #30347 > timestamp_guid_from_timestamp (test_guid ()) (timestamp 0i64)
00:12:28 verbose #30348 > |> _assert_eq' (guid.new_guid "00000000-0000-0000-00dc-ba9876543210")
00:12:29 verbose #30349 > 00:12:27 debug #535 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8b7d3da56845cd465b0501f0014e7c8c850dd31920e0bdc4e96f525bb9caee3d/main.spi
00:12:29 verbose #30350 >
00:12:29 verbose #30351 > ╭─[ 706.33ms - stdout ]────────────────────────────────────────────────────────╮
00:12:29 verbose #30352 > │ let rec method1 (v0 : bool) : bool = │
00:12:29 verbose #30353 > │ v0 │
00:12:29 verbose #30354 > │ and method0 () : unit = │
00:12:29 verbose #30355 > │ let v0 : string = "FEDCBA98-7654-3210-FEDC-BA9876543210" │
00:12:29 verbose #30356 > │ let v1 : System.Guid = System.Guid v0 │
00:12:29 verbose #30357 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:29 verbose #30358 > │ let v3 : string = v2 v1 │
00:12:29 verbose #30359 > │ let v4 : (int64 -> string) = _.ToString() │
00:12:29 verbose #30360 > │ let v5 : string = v4 0L │
00:12:29 verbose #30361 > │ let v6 : string = v5.PadLeft (18, '0') │
00:12:29 verbose #30362 > │ let v7 : System.Guid = System.Guid $"{v6.[0..7]}-{v6.[8..11]}-{v6.[ │
00:12:29 verbose #30363 > │ 12..15]}-{v6.[16..17]}{v3.[21..]}" │
00:12:29 verbose #30364 > │ let v8 : string = "00000000-0000-0000-00dc-ba9876543210" │
00:12:29 verbose #30365 > │ let v9 : System.Guid = System.Guid v8 │
00:12:29 verbose #30366 > │ let v10 : bool = v7 = v9 │
00:12:29 verbose #30367 > │ let v12 : bool = │
00:12:29 verbose #30368 > │ if v10 then │
00:12:29 verbose #30369 > │ true │
00:12:29 verbose #30370 > │ else │
00:12:29 verbose #30371 > │ method1(v10) │
00:12:29 verbose #30372 > │ let v13 : string = "assert_eq'" │
00:12:29 verbose #30373 > │ let v14 : string = $"{v13} / actual: %A{v7} / expected: %A{v9}" │
00:12:29 verbose #30374 > │ System.Console.WriteLine v14 │
00:12:29 verbose #30375 > │ let v15 : bool = v12 = false │
00:12:29 verbose #30376 > │ if v15 then │
00:12:29 verbose #30377 > │ failwith<unit> v14 │
00:12:29 verbose #30378 > │ method0() │
00:12:29 verbose #30379 > │ │
00:12:29 verbose #30380 > │ assert_eq' / actual: 00000000-0000-0000-00dc-ba9876543210 / expected: │
00:12:29 verbose #30381 > │ 00000000-0000-0000-00dc-ba9876543210 │
00:12:29 verbose #30382 > │ │
00:12:29 verbose #30383 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:29 verbose #30384 >
00:12:29 verbose #30385 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:29 verbose #30386 > //// test
00:12:29 verbose #30387 >
00:12:29 verbose #30388 > timestamp_guid_from_timestamp (test_guid ()) (timestamp 999999999999999999i64)
00:12:29 verbose #30389 > |> _assert_eq' (guid.new_guid $'$"99999999-9999-9999-99dc-b{(!test_guid () |>
00:12:29 verbose #30390 > string).[[^10..]]}"')
00:12:29 verbose #30391 > 00:12:28 debug #536 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8e7f3dd415f6894b4eda19cbb37bdef72924ac8f44ea6680d0d790965d4d689f/main.spi
00:12:29 verbose #30392 >
00:12:29 verbose #30393 > ╭─[ 686.38ms - stdout ]────────────────────────────────────────────────────────╮
00:12:29 verbose #30394 > │ let rec closure0 () () : System.Guid = │
00:12:29 verbose #30395 > │ let v0 : string = "FEDCBA98-7654-3210-FEDC-BA9876543210" │
00:12:29 verbose #30396 > │ let v1 : System.Guid = System.Guid v0 │
00:12:29 verbose #30397 > │ v1 │
00:12:29 verbose #30398 > │ and method1 (v0 : bool) : bool = │
00:12:29 verbose #30399 > │ v0 │
00:12:29 verbose #30400 > │ and method0 () : unit = │
00:12:29 verbose #30401 > │ let v0 : string = "FEDCBA98-7654-3210-FEDC-BA9876543210" │
00:12:29 verbose #30402 > │ let v1 : System.Guid = System.Guid v0 │
00:12:29 verbose #30403 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:29 verbose #30404 > │ let v3 : string = v2 v1 │
00:12:29 verbose #30405 > │ let v4 : (int64 -> string) = _.ToString() │
00:12:29 verbose #30406 > │ let v5 : string = v4 999999999999999999L │
00:12:29 verbose #30407 > │ let v6 : string = v5.PadLeft (18, '0') │
00:12:29 verbose #30408 > │ let v7 : System.Guid = System.Guid $"{v6.[0..7]}-{v6.[8..11]}-{v6.[ │
00:12:29 verbose #30409 > │ 12..15]}-{v6.[16..17]}{v3.[21..]}" │
00:12:29 verbose #30410 > │ let v8 : (unit -> System.Guid) = closure0() │
00:12:29 verbose #30411 > │ let v9 : string = $"99999999-9999-9999-99dc-b{(v8 () |> string).[ │
00:12:29 verbose #30412 > │ ^10..]}" │
00:12:29 verbose #30413 > │ let v10 : System.Guid = System.Guid v9 │
00:12:29 verbose #30414 > │ let v11 : bool = v7 = v10 │
00:12:29 verbose #30415 > │ let v13 : bool = │
00:12:29 verbose #30416 > │ if v11 then │
00:12:29 verbose #30417 > │ true │
00:12:29 verbose #30418 > │ else │
00:12:29 verbose #30419 > │ method1(v11) │
00:12:29 verbose #30420 > │ let v14 : string = "assert_eq'" │
00:12:29 verbose #30421 > │ let v15 : string = $"{v14} / actual: %A{v7} / expected: %A{v10}" │
00:12:29 verbose #30422 > │ System.Console.WriteLine v15 │
00:12:29 verbose #30423 > │ let v16 : bool = v13 = false │
00:12:29 verbose #30424 > │ if v16 then │
00:12:29 verbose #30425 > │ failwith<unit> v15 │
00:12:29 verbose #30426 > │ method0() │
00:12:29 verbose #30427 > │ │
00:12:29 verbose #30428 > │ assert_eq' / actual: 99999999-9999-9999-99dc-ba9876543210 / expected: │
00:12:29 verbose #30429 > │ 99999999-9999-9999-99dc-ba9876543210 │
00:12:29 verbose #30430 > │ │
00:12:29 verbose #30431 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:29 verbose #30432 >
00:12:29 verbose #30433 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:29 verbose #30434 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:29 verbose #30435 > │ ## timestamp_from_guid │
00:12:29 verbose #30436 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:29 verbose #30437 >
00:12:29 verbose #30438 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:29 verbose #30439 > inl timestamp_from_guid (guid : date_time_guid) : timestamp =
00:12:29 verbose #30440 > inl guid = guid |> sm'.obj_to_string
00:12:29 verbose #30441 > $'`i64
00:12:29 verbose #30442 > $"{!guid.[[0..7]]}{!guid.[[9..12]]}{!guid.[[14..17]]}{!guid.[[19..20]]}"'
00:12:30 verbose #30443 > 00:12:29 debug #537 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/afe2d2d70adaa88f440c493522cd25ca535c3ea2e86ce028db0ea65171100477/main.spi
00:12:30 verbose #30444 >
00:12:30 verbose #30445 > ╭─[ 636.34ms - stdout ]────────────────────────────────────────────────────────╮
00:12:30 verbose #30446 > │ () │
00:12:30 verbose #30447 > │ │
00:12:30 verbose #30448 > │ │
00:12:30 verbose #30449 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:30 verbose #30450 >
00:12:30 verbose #30451 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:30 verbose #30452 > //// test
00:12:30 verbose #30453 >
00:12:30 verbose #30454 > timestamp_from_guid (guid.new_guid "00000000-0000-0000-00dc-ba9876543210")
00:12:30 verbose #30455 > |> _assert_eq (timestamp 0)
00:12:31 verbose #30456 > 00:12:30 debug #538 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/050851cc6fe2da880e01b00109000fd2456ce6c858ae0b9cfa348867b267f7ea/main.spi
00:12:31 verbose #30457 >
00:12:31 verbose #30458 > ╭─[ 760.18ms - stdout ]────────────────────────────────────────────────────────╮
00:12:31 verbose #30459 > │ let rec method1 (v0 : bool) : bool = │
00:12:31 verbose #30460 > │ v0 │
00:12:31 verbose #30461 > │ and method0 () : unit = │
00:12:31 verbose #30462 > │ let v0 : string = "00000000-0000-0000-00dc-ba9876543210" │
00:12:31 verbose #30463 > │ let v1 : System.Guid = System.Guid v0 │
00:12:31 verbose #30464 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:31 verbose #30465 > │ let v3 : string = v2 v1 │
00:12:31 verbose #30466 > │ let v4 : int64 = int64 $"{v3.[0..7]}{v3.[9..12]}{v3.[14..17]}{v3.[ │
00:12:31 verbose #30467 > │ 19..20]}" │
00:12:31 verbose #30468 > │ let v5 : bool = v4 = 0L │
00:12:31 verbose #30469 > │ let v7 : bool = │
00:12:31 verbose #30470 > │ if v5 then │
00:12:31 verbose #30471 > │ true │
00:12:31 verbose #30472 > │ else │
00:12:31 verbose #30473 > │ method1(v5) │
00:12:31 verbose #30474 > │ let v8 : string = "assert_eq" │
00:12:31 verbose #30475 > │ let v9 : string = $"{v8} / actual: %A{v4} / expected: %A{0L}" │
00:12:31 verbose #30476 > │ System.Console.WriteLine v9 │
00:12:31 verbose #30477 > │ let v10 : bool = v7 = false │
00:12:31 verbose #30478 > │ if v10 then │
00:12:31 verbose #30479 > │ failwith<unit> v9 │
00:12:31 verbose #30480 > │ method0() │
00:12:31 verbose #30481 > │ │
00:12:31 verbose #30482 > │ assert_eq / actual: 0L / expected: 0L │
00:12:31 verbose #30483 > │ │
00:12:31 verbose #30484 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:31 verbose #30485 >
00:12:31 verbose #30486 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:31 verbose #30487 > //// test
00:12:31 verbose #30488 >
00:12:31 verbose #30489 > timestamp_from_guid (guid.new_guid $'$"99999999-9999-9999-99{(!test_guid () |>
00:12:31 verbose #30490 > string).[[^14..]]}"')
00:12:31 verbose #30491 > |> _assert_eq (timestamp 999999999999999999)
00:12:31 verbose #30492 > 00:12:30 debug #539 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/203c6c3c66976f409bf51ebf1751a82182ce82218122babd5991d3c040fc8dbe/main.spi
00:12:32 verbose #30493 >
00:12:32 verbose #30494 > ╭─[ 711.86ms - stdout ]────────────────────────────────────────────────────────╮
00:12:32 verbose #30495 > │ let rec closure0 () () : System.Guid = │
00:12:32 verbose #30496 > │ let v0 : string = "FEDCBA98-7654-3210-FEDC-BA9876543210" │
00:12:32 verbose #30497 > │ let v1 : System.Guid = System.Guid v0 │
00:12:32 verbose #30498 > │ v1 │
00:12:32 verbose #30499 > │ and method1 (v0 : bool) : bool = │
00:12:32 verbose #30500 > │ v0 │
00:12:32 verbose #30501 > │ and method0 () : unit = │
00:12:32 verbose #30502 > │ let v0 : (unit -> System.Guid) = closure0() │
00:12:32 verbose #30503 > │ let v1 : string = $"99999999-9999-9999-99{(v0 () |> string).[^14..]}" │
00:12:32 verbose #30504 > │ let v2 : System.Guid = System.Guid v1 │
00:12:32 verbose #30505 > │ let v3 : (System.Guid -> string) = _.ToString() │
00:12:32 verbose #30506 > │ let v4 : string = v3 v2 │
00:12:32 verbose #30507 > │ let v5 : int64 = int64 $"{v4.[0..7]}{v4.[9..12]}{v4.[14..17]}{v4.[ │
00:12:32 verbose #30508 > │ 19..20]}" │
00:12:32 verbose #30509 > │ let v6 : bool = v5 = 999999999999999999L │
00:12:32 verbose #30510 > │ let v8 : bool = │
00:12:32 verbose #30511 > │ if v6 then │
00:12:32 verbose #30512 > │ true │
00:12:32 verbose #30513 > │ else │
00:12:32 verbose #30514 > │ method1(v6) │
00:12:32 verbose #30515 > │ let v9 : string = "assert_eq" │
00:12:32 verbose #30516 > │ let v10 : string = $"{v9} / actual: %A{v5} / expected: │
00:12:32 verbose #30517 > │ %A{999999999999999999L}" │
00:12:32 verbose #30518 > │ System.Console.WriteLine v10 │
00:12:32 verbose #30519 > │ let v11 : bool = v8 = false │
00:12:32 verbose #30520 > │ if v11 then │
00:12:32 verbose #30521 > │ failwith<unit> v10 │
00:12:32 verbose #30522 > │ method0() │
00:12:32 verbose #30523 > │ │
00:12:32 verbose #30524 > │ assert_eq / actual: 999999999999999999L / expected: 999999999999999999L │
00:12:32 verbose #30525 > │ │
00:12:32 verbose #30526 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:32 verbose #30527 >
00:12:32 verbose #30528 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:32 verbose #30529 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:32 verbose #30530 > │ ## new_guid_from_date_time │
00:12:32 verbose #30531 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:32 verbose #30532 >
00:12:32 verbose #30533 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:32 verbose #30534 > inl new_guid_from_date_time (date_time : date_time) =
00:12:32 verbose #30535 > inl guid = guid.new_raw_guid ()
00:12:32 verbose #30536 > date_time_guid_from_date_time guid date_time
00:12:32 verbose #30537 > 00:12:31 debug #540 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a8955d14a16ebaf0ff48f20d66ec658326debe6e2b73338a36eeb4d198867342/main.spi
00:12:32 verbose #30538 >
00:12:32 verbose #30539 > ╭─[ 686.17ms - stdout ]────────────────────────────────────────────────────────╮
00:12:32 verbose #30540 > │ () │
00:12:32 verbose #30541 > │ │
00:12:32 verbose #30542 > │ │
00:12:32 verbose #30543 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:32 verbose #30544 >
00:12:32 verbose #30545 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:32 verbose #30546 > //// test
00:12:32 verbose #30547 > //// print_code=false
00:12:32 verbose #30548 >
00:12:32 verbose #30549 > utc_now ()
00:12:32 verbose #30550 > |> new_guid_from_date_time
00:12:32 verbose #30551 > |> date_time_from_guid
00:12:32 verbose #30552 > |> fun date_time => new_time_span date_time (utc_now ()) |> total_seconds |> i32
00:12:32 verbose #30553 > |> _assert_eq 0
00:12:33 verbose #30554 > 00:12:32 debug #541 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/17a8347f2fa5e0cc88717cad5c19fe66faae877ef3b312d1bb10629194ab3a84/main.spi
00:12:33 verbose #30555 >
00:12:33 verbose #30556 > ╭─[ 754.78ms - stdout ]────────────────────────────────────────────────────────╮
00:12:33 verbose #30557 > │ assert_eq / actual: 0 / expected: 0 │
00:12:33 verbose #30558 > │ │
00:12:33 verbose #30559 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:33 verbose #30560 >
00:12:33 verbose #30561 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:33 verbose #30562 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:33 verbose #30563 > │ ## new_guid_from_timestamp │
00:12:33 verbose #30564 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:33 verbose #30565 >
00:12:33 verbose #30566 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:33 verbose #30567 > inl new_guid_from_timestamp (timestamp : timestamp) =
00:12:33 verbose #30568 > inl guid = guid.new_raw_guid ()
00:12:33 verbose #30569 > timestamp_guid_from_timestamp guid timestamp
00:12:34 verbose #30570 > 00:12:33 debug #542 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/58e317872f200a1051b870369254a3a98efff0310e8adb78a3b58a10c796bc11/main.spi
00:12:34 verbose #30571 >
00:12:34 verbose #30572 > ╭─[ 675.39ms - stdout ]────────────────────────────────────────────────────────╮
00:12:34 verbose #30573 > │ () │
00:12:34 verbose #30574 > │ │
00:12:34 verbose #30575 > │ │
00:12:34 verbose #30576 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:34 verbose #30577 >
00:12:34 verbose #30578 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:34 verbose #30579 > //// test
00:12:34 verbose #30580 >
00:12:34 verbose #30581 > utc_now ()
00:12:34 verbose #30582 > |> ticks
00:12:34 verbose #30583 > |> new_guid_from_timestamp
00:12:34 verbose #30584 > |> timestamp_from_guid
00:12:34 verbose #30585 > |> fun (timestamp timestamp) => (timestamp - (utc_now () |> ticks |> fun
00:12:34 verbose #30586 > (timestamp x) => x)) / 100000i64
00:12:34 verbose #30587 > |> _assert_eq 0i64
00:12:34 verbose #30588 > 00:12:33 debug #543 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5bfbae437453d2620aee9ac820b2599ba8c7b4245cc6f8e4c1c08a6d220715b3/main.spi
00:12:34 verbose #30589 >
00:12:34 verbose #30590 > ╭─[ 670.81ms - stdout ]────────────────────────────────────────────────────────╮
00:12:34 verbose #30591 > │ let rec method1 (v0 : bool) : bool = │
00:12:34 verbose #30592 > │ v0 │
00:12:34 verbose #30593 > │ and method0 () : unit = │
00:12:34 verbose #30594 > │ let v0 : System.DateTime = System.DateTime.UtcNow │
00:12:34 verbose #30595 > │ let v1 : (System.DateTime -> int64) = _.Ticks │
00:12:34 verbose #30596 > │ let v2 : int64 = v1 v0 │
00:12:34 verbose #30597 > │ let v3 : System.Guid = System.Guid.NewGuid () │
00:12:34 verbose #30598 > │ let v4 : (System.Guid -> string) = _.ToString() │
00:12:34 verbose #30599 > │ let v5 : string = v4 v3 │
00:12:34 verbose #30600 > │ let v6 : (int64 -> string) = _.ToString() │
00:12:34 verbose #30601 > │ let v7 : string = v6 v2 │
00:12:34 verbose #30602 > │ let v8 : string = v7.PadLeft (18, '0') │
00:12:34 verbose #30603 > │ let v9 : System.Guid = System.Guid $"{v8.[0..7]}-{v8.[8..11]}-{v8.[ │
00:12:34 verbose #30604 > │ 12..15]}-{v8.[16..17]}{v5.[21..]}" │
00:12:34 verbose #30605 > │ let v10 : (System.Guid -> string) = _.ToString() │
00:12:34 verbose #30606 > │ let v11 : string = v10 v9 │
00:12:34 verbose #30607 > │ let v12 : int64 = int64 $"{v11.[0..7]}{v11.[9..12]}{v11.[14..17]}{v11.[ │
00:12:34 verbose #30608 > │ 19..20]}" │
00:12:34 verbose #30609 > │ let v13 : System.DateTime = System.DateTime.UtcNow │
00:12:34 verbose #30610 > │ let v14 : (System.DateTime -> int64) = _.Ticks │
00:12:34 verbose #30611 > │ let v15 : int64 = v14 v13 │
00:12:34 verbose #30612 > │ let v16 : int64 = v12 - v15 │
00:12:34 verbose #30613 > │ let v17 : int64 = v16 / 100000L │
00:12:34 verbose #30614 > │ let v18 : bool = v17 = 0L │
00:12:34 verbose #30615 > │ let v20 : bool = │
00:12:34 verbose #30616 > │ if v18 then │
00:12:34 verbose #30617 > │ true │
00:12:34 verbose #30618 > │ else │
00:12:34 verbose #30619 > │ method1(v18) │
00:12:34 verbose #30620 > │ let v21 : string = "assert_eq" │
00:12:34 verbose #30621 > │ let v22 : string = $"{v21} / actual: %A{v17} / expected: %A{0L}" │
00:12:34 verbose #30622 > │ System.Console.WriteLine v22 │
00:12:34 verbose #30623 > │ let v23 : bool = v20 = false │
00:12:34 verbose #30624 > │ if v23 then │
00:12:34 verbose #30625 > │ failwith<unit> v22 │
00:12:34 verbose #30626 > │ method0() │
00:12:34 verbose #30627 > │ │
00:12:34 verbose #30628 > │ assert_eq / actual: 0L / expected: 0L │
00:12:34 verbose #30629 > │ │
00:12:34 verbose #30630 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:34 verbose #30631 >
00:12:34 verbose #30632 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:34 verbose #30633 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:34 verbose #30634 > │ ## main │
00:12:34 verbose #30635 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:34 verbose #30636 >
00:12:34 verbose #30637 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:34 verbose #30638 > inl main () =
00:12:34 verbose #30639 > types ()
00:12:34 verbose #30640 > $"let date_time_guid_from_date_time x = !date_time_guid_from_date_time x" :
00:12:34 verbose #30641 > ()
00:12:34 verbose #30642 > $"let date_time_from_guid x = !date_time_from_guid x" : ()
00:12:34 verbose #30643 > $"let timestamp_guid_from_timestamp x = !timestamp_guid_from_timestamp x" :
00:12:34 verbose #30644 > ()
00:12:34 verbose #30645 > $"let timestamp_from_guid x = !timestamp_from_guid x" : ()
00:12:34 verbose #30646 > $"let new_guid_from_date_time x = !new_guid_from_date_time x" : ()
00:12:34 verbose #30647 > $"let new_guid_from_timestamp x = !new_guid_from_timestamp x" : ()
00:12:34 verbose #30648 > $"let format x = !format x" : ()
00:12:34 verbose #30649 > $"let format_iso8601 x = !format_iso8601 x" : ()
00:12:35 verbose #30650 > 00:12:34 debug #544 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fd8259d2dfce0879771fc3d82161e3d380073be2c75503f2c1221e7522d7e039/main.spi
00:12:35 verbose #30651 >
00:12:35 verbose #30652 > ╭─[ 891.95ms - stdout ]────────────────────────────────────────────────────────╮
00:12:35 verbose #30653 > │ #if FABLE_COMPILER │
00:12:35 verbose #30654 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:12:35 verbose #30655 > │ #endif │
00:12:35 verbose #30656 > │ type Func0<'T> = class end │
00:12:35 verbose #30657 > │ #if FABLE_COMPILER │
00:12:35 verbose #30658 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:12:35 verbose #30659 > │ #endif │
00:12:35 verbose #30660 > │ type Func0<'T, 'U> = class end │
00:12:35 verbose #30661 > │ #if FABLE_COMPILER │
00:12:35 verbose #30662 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:12:35 verbose #30663 > │ #endif │
00:12:35 verbose #30664 > │ type Box<'T> = class end │
00:12:35 verbose #30665 > │ #if FABLE_COMPILER │
00:12:35 verbose #30666 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:12:35 verbose #30667 > │ #endif │
00:12:35 verbose #30668 > │ type Dyn<'T> = class end │
00:12:35 verbose #30669 > │ #if FABLE_COMPILER │
00:12:35 verbose #30670 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:12:35 verbose #30671 > │ #endif │
00:12:35 verbose #30672 > │ type Send<'T> = class end │
00:12:35 verbose #30673 > │ #if FABLE_COMPILER │
00:12:35 verbose #30674 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:12:35 verbose #30675 > │ #endif │
00:12:35 verbose #30676 > │ type Fn<'T> = class end │
00:12:35 verbose #30677 > │ #if FABLE_COMPILER │
00:12:35 verbose #30678 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:12:35 verbose #30679 > │ #endif │
00:12:35 verbose #30680 > │ type FnUnit = class end │
00:12:35 verbose #30681 > │ #if FABLE_COMPILER │
00:12:35 verbose #30682 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:12:35 verbose #30683 > │ #endif │
00:12:35 verbose #30684 > │ type FnOnce<'T> = class end │
00:12:35 verbose #30685 > │ #if FABLE_COMPILER │
00:12:35 verbose #30686 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:12:35 verbose #30687 > │ #endif │
00:12:35 verbose #30688 > │ type ActionFn<'T> = class end │
00:12:35 verbose #30689 > │ #if FABLE_COMPILER │
00:12:35 verbose #30690 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:12:35 verbose #30691 > │ #endif │
00:12:35 verbose #30692 > │ type ActionFn2<'T, 'U> = class end │
00:12:35 verbose #30693 > │ #if FABLE_COMPILER │
00:12:35 verbose #30694 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:12:35 verbose #30695 > │ #endif │
00:12:35 verbose #30696 > │ type Impl<'T> = class end │
00:12:35 verbose #30697 > │ #if FABLE_COMPILER │
00:12:35 verbose #30698 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:12:35 verbose #30699 > │ #endif │
00:12:35 verbose #30700 > │ type Mut<'T> = class end │
00:12:35 verbose #30701 > │ #if FABLE_COMPILER │
00:12:35 verbose #30702 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:12:35 verbose #30703 > │ #endif │
00:12:35 verbose #30704 > │ type Ref<'T> = class end │
00:12:35 verbose #30705 > │ #if FABLE_COMPILER │
00:12:35 verbose #30706 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:12:35 verbose #30707 > │ #endif │
00:12:35 verbose #30708 > │ type StaticRef<'T> = class end │
00:12:35 verbose #30709 > │ #if FABLE_COMPILER │
00:12:35 verbose #30710 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:12:35 verbose #30711 > │ #endif │
00:12:35 verbose #30712 > │ type MutCell<'T> = class end │
00:12:35 verbose #30713 > │ #if FABLE_COMPILER │
00:12:35 verbose #30714 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:12:35 verbose #30715 > │ #endif │
00:12:35 verbose #30716 > │ type std_any_Any = class end │
00:12:35 verbose #30717 > │ #if FABLE_COMPILER │
00:12:35 verbose #30718 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:12:35 verbose #30719 > │ #endif │
00:12:35 verbose #30720 > │ type std_borrow_Cow<'T> = class end │
00:12:35 verbose #30721 > │ #if FABLE_COMPILER │
00:12:35 verbose #30722 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:12:35 verbose #30723 > │ #endif │
00:12:35 verbose #30724 > │ type std_cell_RefCell<'T> = class end │
00:12:35 verbose #30725 > │ #if FABLE_COMPILER │
00:12:35 verbose #30726 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:12:35 verbose #30727 > │ #endif │
00:12:35 verbose #30728 > │ type std_pin_Pin<'T> = class end │
00:12:35 verbose #30729 > │ #if FABLE_COMPILER │
00:12:35 verbose #30730 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:12:35 verbose #30731 > │ #endif │
00:12:35 verbose #30732 > │ type std_rc_Rc<'T> = class end │
00:12:35 verbose #30733 > │ #if FABLE_COMPILER │
00:12:35 verbose #30734 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:12:35 verbose #30735 > │ #endif │
00:12:35 verbose #30736 > │ type std_rc_Weak<'T> = class end │
00:12:35 verbose #30737 > │ #if FABLE_COMPILER │
00:12:35 verbose #30738 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:12:35 verbose #30739 > │ #endif │
00:12:35 verbose #30740 > │ type Str = class end │
00:12:35 verbose #30741 > │ #if FABLE_COMPILER │
00:12:35 verbose #30742 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:12:35 verbose #30743 > │ #endif │
00:12:35 verbose #30744 > │ type base64_DecodeError = class end │
00:12:35 verbose #30745 > │ #if FABLE_COMPILER │
00:12:35 verbose #30746 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:12:35 verbose #30747 > │ #endif │
00:12:35 verbose #30748 > │ type borsh_io_Error = class end │
00:12:35 verbose #30749 > │ #if FABLE_COMPILER │
00:12:35 verbose #30750 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:12:35 verbose #30751 > │ #endif │
00:12:35 verbose #30752 > │ type js_sys_JsString = class end │
00:12:35 verbose #30753 > │ #if FABLE_COMPILER │
00:12:35 verbose #30754 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:12:35 verbose #30755 > │ #endif │
00:12:35 verbose #30756 > │ type serde_json_Error = class end │
00:12:35 verbose #30757 > │ #if FABLE_COMPILER │
00:12:35 verbose #30758 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:12:35 verbose #30759 > │ #endif │
00:12:35 verbose #30760 > │ type serde_json_Value = class end │
00:12:35 verbose #30761 > │ #if FABLE_COMPILER │
00:12:35 verbose #30762 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:12:35 verbose #30763 > │ #endif │
00:12:35 verbose #30764 > │ type serde_wasm_bindgen_Error = class end │
00:12:35 verbose #30765 > │ #if FABLE_COMPILER │
00:12:35 verbose #30766 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:12:35 verbose #30767 > │ #endif │
00:12:35 verbose #30768 > │ type std_ffi_OsStr = class end │
00:12:35 verbose #30769 > │ #if FABLE_COMPILER │
00:12:35 verbose #30770 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:12:35 verbose #30771 > │ #endif │
00:12:35 verbose #30772 > │ type std_ffi_OsString = class end │
00:12:35 verbose #30773 > │ #if FABLE_COMPILER │
00:12:35 verbose #30774 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:12:35 verbose #30775 > │ #endif │
00:12:35 verbose #30776 > │ type std_fmt_Display<'T> = class end │
00:12:35 verbose #30777 > │ #if FABLE_COMPILER │
00:12:35 verbose #30778 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:12:35 verbose #30779 > │ #endif │
00:12:35 verbose #30780 > │ type std_str_Utf8Error = class end │
00:12:35 verbose #30781 > │ #if FABLE_COMPILER │
00:12:35 verbose #30782 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:12:35 verbose #30783 > │ #endif │
00:12:35 verbose #30784 > │ type std_string_FromUtf8Error = class end │
00:12:35 verbose #30785 > │ #if FABLE_COMPILER │
00:12:35 verbose #30786 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:12:35 verbose #30787 > │ #endif │
00:12:35 verbose #30788 > │ type std_string_String = class end │
00:12:35 verbose #30789 > │ #if FABLE_COMPILER │
00:12:35 verbose #30790 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:12:35 verbose #30791 > │ #endif │
00:12:35 verbose #30792 > │ type std_slice_Windows<'T> = class end │
00:12:35 verbose #30793 > │ #if FABLE_COMPILER │
00:12:35 verbose #30794 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:12:35 verbose #30795 > │ #endif │
00:12:35 verbose #30796 > │ type chrono_DateTime<'T> = class end │
00:12:35 verbose #30797 > │ #if FABLE_COMPILER │
00:12:35 verbose #30798 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:12:35 verbose #30799 > │ #endif │
00:12:35 verbose #30800 > │ type chrono_Local = class end │
00:12:35 verbose #30801 > │ #if FABLE_COMPILER │
00:12:35 verbose #30802 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:12:35 verbose #30803 > │ #endif │
00:12:35 verbose #30804 > │ type chrono_NaiveDateTime = class end │
00:12:35 verbose #30805 > │ #if FABLE_COMPILER │
00:12:35 verbose #30806 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:12:35 verbose #30807 > │ #endif │
00:12:35 verbose #30808 > │ type chrono_Utc = class end │
00:12:35 verbose #30809 > │ #if FABLE_COMPILER │
00:12:35 verbose #30810 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:12:35 verbose #30811 > │ #endif │
00:12:35 verbose #30812 > │ type std_time_Duration = class end │
00:12:35 verbose #30813 > │ type [<Struct>] US0 = │
00:12:35 verbose #30814 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:12:35 verbose #30815 > │ | US0_1 │
00:12:35 verbose #30816 > │ and [<Struct>] US1 = │
00:12:35 verbose #30817 > │ | US1_0 of f0_0 : string │
00:12:35 verbose #30818 > │ | US1_1 │
00:12:35 verbose #30819 > │ let rec closure2 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:12:35 verbose #30820 > │ US0_0(v0) │
00:12:35 verbose #30821 > │ and method0 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:12:35 verbose #30822 > │ closure2() │
00:12:35 verbose #30823 > │ and method1 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:12:35 verbose #30824 > │ = │
00:12:35 verbose #30825 > │ v0 │
00:12:35 verbose #30826 > │ and method2 (v0 : chrono_DateTime<chrono_Local>) : │
00:12:35 verbose #30827 > │ chrono_DateTime<chrono_Local> = │
00:12:35 verbose #30828 > │ v0 │
00:12:35 verbose #30829 > │ and method3 () : string = │
00:12:35 verbose #30830 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:12:35 verbose #30831 > │ v0 │
00:12:35 verbose #30832 > │ and method4 () : string = │
00:12:35 verbose #30833 > │ let v0 : string = "hhmm" │
00:12:35 verbose #30834 > │ v0 │
00:12:35 verbose #30835 > │ and closure1 (v0 : System.Guid) (v1 : System.DateTime) : System.Guid = │
00:12:35 verbose #30836 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:35 verbose #30837 > │ let v3 : string = v2 v0 │
00:12:35 verbose #30838 > │ let v4 : struct (string * string) option = None │
00:12:35 verbose #30839 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:12:35 verbose #30840 > │ │
00:12:35 verbose #30841 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #30842 > │ │
00:12:35 verbose #30843 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #30844 > │ let v6 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:12:35 verbose #30845 > │ System.DateTimeKind.Utc) │
00:12:35 verbose #30846 > │ let v7 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:12:35 verbose #30847 > │ let v8 : System.DateTime = v7 v6 │
00:12:35 verbose #30848 > │ let v9 : System.DateTimeKind = System.DateTimeKind.Local │
00:12:35 verbose #30849 > │ let v10 : System.DateTime = System.DateTime.SpecifyKind (v1, v9) │
00:12:35 verbose #30850 > │ let v11 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:12:35 verbose #30851 > │ let v12 : System.DateTime = v11 v10 │
00:12:35 verbose #30852 > │ let v13 : (System.DateTime -> int64) = _.Ticks │
00:12:35 verbose #30853 > │ let v14 : int64 = v13 v12 │
00:12:35 verbose #30854 > │ let v15 : (System.DateTime -> int64) = _.Ticks │
00:12:35 verbose #30855 > │ let v16 : int64 = v15 v8 │
00:12:35 verbose #30856 > │ let v17 : int64 = v14 - v16 │
00:12:35 verbose #30857 > │ let v18 : int64 = v17 / 10L │
00:12:35 verbose #30858 > │ let v19 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:12:35 verbose #30859 > │ let v20 : chrono_DateTime<chrono_Utc> option = │
00:12:35 verbose #30860 > │ Fable.Core.RustInterop.emitRustExpr v18 v19 │
00:12:35 verbose #30861 > │ let v21 : (chrono_DateTime<chrono_Utc> -> US0) = method0() │
00:12:35 verbose #30862 > │ let v22 : US0 = US0_1 │
00:12:35 verbose #30863 > │ let v23 : US0 = v20 |> Option.map v21 |> Option.defaultValue v22 │
00:12:35 verbose #30864 > │ let v42 : US1 = │
00:12:35 verbose #30865 > │ match v23 with │
00:12:35 verbose #30866 > │ | US0_1 -> (* None *) │
00:12:35 verbose #30867 > │ US1_1 │
00:12:35 verbose #30868 > │ | US0_0(v24) -> (* Some *) │
00:12:35 verbose #30869 > │ let v25 : chrono_DateTime<chrono_Utc> = method1(v24) │
00:12:35 verbose #30870 > │ let v26 : string = "v25.naive_utc()" │
00:12:35 verbose #30871 > │ let v27 : chrono_NaiveDateTime = │
00:12:35 verbose #30872 > │ Fable.Core.RustInterop.emitRustExpr () v26 │
00:12:35 verbose #30873 > │ let v28 : string = │
00:12:35 verbose #30874 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v27)" │
00:12:35 verbose #30875 > │ let v29 : chrono_DateTime<chrono_Local> = │
00:12:35 verbose #30876 > │ Fable.Core.RustInterop.emitRustExpr () v28 │
00:12:35 verbose #30877 > │ let v30 : string = "%Y%m%d-%H%M-%S%f" │
00:12:35 verbose #30878 > │ let v31 : string = "r#\"" + v30 + "\"#" │
00:12:35 verbose #30879 > │ let v32 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v31 │
00:12:35 verbose #30880 > │ let v33 : chrono_DateTime<chrono_Local> = method2(v29) │
00:12:35 verbose #30881 > │ let v34 : string = "v33.format(v32).to_string()" │
00:12:35 verbose #30882 > │ let v35 : std_string_String = │
00:12:35 verbose #30883 > │ Fable.Core.RustInterop.emitRustExpr () v34 │
00:12:35 verbose #30884 > │ let v36 : string = "fable_library_rust::String_::fromString($0)" │
00:12:35 verbose #30885 > │ let v37 : string = Fable.Core.RustInterop.emitRustExpr v35 v36 │
00:12:35 verbose #30886 > │ let v38 : string = $"{v37.[0..17]}-{v37.[18..21]}-{v37.[22]}" │
00:12:35 verbose #30887 > │ US1_0(v38) │
00:12:35 verbose #30888 > │ let v46 : string = │
00:12:35 verbose #30889 > │ match v42 with │
00:12:35 verbose #30890 > │ | US1_1 -> (* None *) │
00:12:35 verbose #30891 > │ let v44 : string = "" │
00:12:35 verbose #30892 > │ v44 │
00:12:35 verbose #30893 > │ | US1_0(v43) -> (* Some *) │
00:12:35 verbose #30894 > │ v43 │
00:12:35 verbose #30895 > │ let v47 : System.TimeZoneInfo option = None │
00:12:35 verbose #30896 > │ let v48 : bool = true in let mutable _v47 = v47 │
00:12:35 verbose #30897 > │ │
00:12:35 verbose #30898 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #30899 > │ │
00:12:35 verbose #30900 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #30901 > │ let v49 : string = "0i64.into()" │
00:12:35 verbose #30902 > │ let v50 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:35 verbose #30903 > │ v49 │
00:12:35 verbose #30904 > │ v50 │
00:12:35 verbose #30905 > │ #endif │
00:12:35 verbose #30906 > │ │
00:12:35 verbose #30907 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #30908 > │ let v51 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30909 > │ v51 │
00:12:35 verbose #30910 > │ #endif │
00:12:35 verbose #30911 > │ │
00:12:35 verbose #30912 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #30913 > │ let v52 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30914 > │ v52 │
00:12:35 verbose #30915 > │ #endif │
00:12:35 verbose #30916 > │ │
00:12:35 verbose #30917 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #30918 > │ let v53 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30919 > │ v53 │
00:12:35 verbose #30920 > │ #endif │
00:12:35 verbose #30921 > │ │
00:12:35 verbose #30922 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #30923 > │ let v54 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30924 > │ v54 │
00:12:35 verbose #30925 > │ #endif │
00:12:35 verbose #30926 > │ │
00:12:35 verbose #30927 > │ #else │
00:12:35 verbose #30928 > │ let v55 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:35 verbose #30929 > │ v55 │
00:12:35 verbose #30930 > │ #endif │
00:12:35 verbose #30931 > │ |> fun x -> _v47 <- Some x │
00:12:35 verbose #30932 > │ let v56 : System.TimeZoneInfo = _v47.Value │
00:12:35 verbose #30933 > │ let v57 : System.TimeSpan option = None │
00:12:35 verbose #30934 > │ let v58 : bool = true in let mutable _v57 = v57 │
00:12:35 verbose #30935 > │ │
00:12:35 verbose #30936 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #30937 > │ │
00:12:35 verbose #30938 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #30939 > │ let v59 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #30940 > │ v59 │
00:12:35 verbose #30941 > │ #endif │
00:12:35 verbose #30942 > │ │
00:12:35 verbose #30943 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #30944 > │ let v60 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #30945 > │ v60 │
00:12:35 verbose #30946 > │ #endif │
00:12:35 verbose #30947 > │ │
00:12:35 verbose #30948 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #30949 > │ let v61 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #30950 > │ v61 │
00:12:35 verbose #30951 > │ #endif │
00:12:35 verbose #30952 > │ │
00:12:35 verbose #30953 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #30954 > │ let v62 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #30955 > │ v62 │
00:12:35 verbose #30956 > │ #endif │
00:12:35 verbose #30957 > │ │
00:12:35 verbose #30958 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #30959 > │ let v63 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #30960 > │ v63 │
00:12:35 verbose #30961 > │ #endif │
00:12:35 verbose #30962 > │ │
00:12:35 verbose #30963 > │ #else │
00:12:35 verbose #30964 > │ let v64 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:12:35 verbose #30965 > │ = _.GetUtcOffset │
00:12:35 verbose #30966 > │ let v65 : System.TimeZoneInfo option = None │
00:12:35 verbose #30967 > │ let v66 : bool = true in let mutable _v65 = v65 │
00:12:35 verbose #30968 > │ │
00:12:35 verbose #30969 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #30970 > │ │
00:12:35 verbose #30971 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #30972 > │ let v67 : string = "0i64.into()" │
00:12:35 verbose #30973 > │ let v68 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:35 verbose #30974 > │ v67 │
00:12:35 verbose #30975 > │ v68 │
00:12:35 verbose #30976 > │ #endif │
00:12:35 verbose #30977 > │ │
00:12:35 verbose #30978 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #30979 > │ let v69 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30980 > │ v69 │
00:12:35 verbose #30981 > │ #endif │
00:12:35 verbose #30982 > │ │
00:12:35 verbose #30983 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #30984 > │ let v70 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30985 > │ v70 │
00:12:35 verbose #30986 > │ #endif │
00:12:35 verbose #30987 > │ │
00:12:35 verbose #30988 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #30989 > │ let v71 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30990 > │ v71 │
00:12:35 verbose #30991 > │ #endif │
00:12:35 verbose #30992 > │ │
00:12:35 verbose #30993 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #30994 > │ let v72 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #30995 > │ v72 │
00:12:35 verbose #30996 > │ #endif │
00:12:35 verbose #30997 > │ │
00:12:35 verbose #30998 > │ #else │
00:12:35 verbose #30999 > │ let v73 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:35 verbose #31000 > │ v73 │
00:12:35 verbose #31001 > │ #endif │
00:12:35 verbose #31002 > │ |> fun x -> _v65 <- Some x │
00:12:35 verbose #31003 > │ let v74 : System.TimeZoneInfo = _v65.Value │
00:12:35 verbose #31004 > │ let v75 : (System.DateTime -> System.TimeSpan) = v64 v74 │
00:12:35 verbose #31005 > │ let v76 : System.TimeSpan = v75 v12 │
00:12:35 verbose #31006 > │ v76 │
00:12:35 verbose #31007 > │ #endif │
00:12:35 verbose #31008 > │ |> fun x -> _v57 <- Some x │
00:12:35 verbose #31009 > │ let v77 : System.TimeSpan = _v57.Value │
00:12:35 verbose #31010 > │ let v78 : (System.TimeSpan -> int32) = _.Hours │
00:12:35 verbose #31011 > │ let v79 : int32 = v78 v77 │
00:12:35 verbose #31012 > │ let v80 : bool = v79 > 0 │
00:12:35 verbose #31013 > │ let v81 : uint8 = │
00:12:35 verbose #31014 > │ if v80 then │
00:12:35 verbose #31015 > │ 1uy │
00:12:35 verbose #31016 > │ else │
00:12:35 verbose #31017 > │ 0uy │
00:12:35 verbose #31018 > │ let v82 : (string -> string) = v77.ToString │
00:12:35 verbose #31019 > │ let v83 : string = "hh:mm" │
00:12:35 verbose #31020 > │ let v84 : string = v82 v83 │
00:12:35 verbose #31021 > │ let v85 : string = $"{v81}{v84.[0..1]}{v84.[3..4]}" │
00:12:35 verbose #31022 > │ struct (v46, v85) │
00:12:35 verbose #31023 > │ #endif │
00:12:35 verbose #31024 > │ │
00:12:35 verbose #31025 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #31026 > │ let struct (v86 : string, v87 : string) = null |> unbox<struct (string * │
00:12:35 verbose #31027 > │ string)> │
00:12:35 verbose #31028 > │ struct (v86, v87) │
00:12:35 verbose #31029 > │ #endif │
00:12:35 verbose #31030 > │ │
00:12:35 verbose #31031 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #31032 > │ let struct (v88 : string, v89 : string) = null |> unbox<struct (string * │
00:12:35 verbose #31033 > │ string)> │
00:12:35 verbose #31034 > │ struct (v88, v89) │
00:12:35 verbose #31035 > │ #endif │
00:12:35 verbose #31036 > │ │
00:12:35 verbose #31037 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #31038 > │ let struct (v90 : string, v91 : string) = null |> unbox<struct (string * │
00:12:35 verbose #31039 > │ string)> │
00:12:35 verbose #31040 > │ struct (v90, v91) │
00:12:35 verbose #31041 > │ #endif │
00:12:35 verbose #31042 > │ │
00:12:35 verbose #31043 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #31044 > │ let struct (v92 : string, v93 : string) = null |> unbox<struct (string * │
00:12:35 verbose #31045 > │ string)> │
00:12:35 verbose #31046 > │ struct (v92, v93) │
00:12:35 verbose #31047 > │ #endif │
00:12:35 verbose #31048 > │ │
00:12:35 verbose #31049 > │ #else │
00:12:35 verbose #31050 > │ let v94 : string = method3() │
00:12:35 verbose #31051 > │ let v95 : (string -> string) = v1.ToString │
00:12:35 verbose #31052 > │ let v96 : string = v95 v94 │
00:12:35 verbose #31053 > │ let v97 : System.TimeZoneInfo option = None │
00:12:35 verbose #31054 > │ let v98 : bool = true in let mutable _v97 = v97 │
00:12:35 verbose #31055 > │ │
00:12:35 verbose #31056 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #31057 > │ │
00:12:35 verbose #31058 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #31059 > │ let v99 : string = "0i64.into()" │
00:12:35 verbose #31060 > │ let v100 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:35 verbose #31061 > │ v99 │
00:12:35 verbose #31062 > │ v100 │
00:12:35 verbose #31063 > │ #endif │
00:12:35 verbose #31064 > │ │
00:12:35 verbose #31065 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #31066 > │ let v101 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31067 > │ v101 │
00:12:35 verbose #31068 > │ #endif │
00:12:35 verbose #31069 > │ │
00:12:35 verbose #31070 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #31071 > │ let v102 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31072 > │ v102 │
00:12:35 verbose #31073 > │ #endif │
00:12:35 verbose #31074 > │ │
00:12:35 verbose #31075 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #31076 > │ let v103 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31077 > │ v103 │
00:12:35 verbose #31078 > │ #endif │
00:12:35 verbose #31079 > │ │
00:12:35 verbose #31080 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #31081 > │ let v104 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31082 > │ v104 │
00:12:35 verbose #31083 > │ #endif │
00:12:35 verbose #31084 > │ │
00:12:35 verbose #31085 > │ #else │
00:12:35 verbose #31086 > │ let v105 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:35 verbose #31087 > │ v105 │
00:12:35 verbose #31088 > │ #endif │
00:12:35 verbose #31089 > │ |> fun x -> _v97 <- Some x │
00:12:35 verbose #31090 > │ let v106 : System.TimeZoneInfo = _v97.Value │
00:12:35 verbose #31091 > │ let v107 : System.TimeSpan option = None │
00:12:35 verbose #31092 > │ let v108 : bool = true in let mutable _v107 = v107 │
00:12:35 verbose #31093 > │ │
00:12:35 verbose #31094 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #31095 > │ │
00:12:35 verbose #31096 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #31097 > │ let v109 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #31098 > │ v109 │
00:12:35 verbose #31099 > │ #endif │
00:12:35 verbose #31100 > │ │
00:12:35 verbose #31101 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #31102 > │ let v110 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #31103 > │ v110 │
00:12:35 verbose #31104 > │ #endif │
00:12:35 verbose #31105 > │ │
00:12:35 verbose #31106 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #31107 > │ let v111 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #31108 > │ v111 │
00:12:35 verbose #31109 > │ #endif │
00:12:35 verbose #31110 > │ │
00:12:35 verbose #31111 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #31112 > │ let v112 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #31113 > │ v112 │
00:12:35 verbose #31114 > │ #endif │
00:12:35 verbose #31115 > │ │
00:12:35 verbose #31116 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #31117 > │ let v113 : System.TimeSpan = System.TimeSpan () │
00:12:35 verbose #31118 > │ v113 │
00:12:35 verbose #31119 > │ #endif │
00:12:35 verbose #31120 > │ │
00:12:35 verbose #31121 > │ #else │
00:12:35 verbose #31122 > │ let v114 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:12:35 verbose #31123 > │ = _.GetUtcOffset │
00:12:35 verbose #31124 > │ let v115 : System.TimeZoneInfo option = None │
00:12:35 verbose #31125 > │ let v116 : bool = true in let mutable _v115 = v115 │
00:12:35 verbose #31126 > │ │
00:12:35 verbose #31127 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #31128 > │ │
00:12:35 verbose #31129 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #31130 > │ let v117 : string = "0i64.into()" │
00:12:35 verbose #31131 > │ let v118 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:35 verbose #31132 > │ v117 │
00:12:35 verbose #31133 > │ v118 │
00:12:35 verbose #31134 > │ #endif │
00:12:35 verbose #31135 > │ │
00:12:35 verbose #31136 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #31137 > │ let v119 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31138 > │ v119 │
00:12:35 verbose #31139 > │ #endif │
00:12:35 verbose #31140 > │ │
00:12:35 verbose #31141 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #31142 > │ let v120 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31143 > │ v120 │
00:12:35 verbose #31144 > │ #endif │
00:12:35 verbose #31145 > │ │
00:12:35 verbose #31146 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #31147 > │ let v121 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31148 > │ v121 │
00:12:35 verbose #31149 > │ #endif │
00:12:35 verbose #31150 > │ │
00:12:35 verbose #31151 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #31152 > │ let v122 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31153 > │ v122 │
00:12:35 verbose #31154 > │ #endif │
00:12:35 verbose #31155 > │ │
00:12:35 verbose #31156 > │ #else │
00:12:35 verbose #31157 > │ let v123 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:35 verbose #31158 > │ v123 │
00:12:35 verbose #31159 > │ #endif │
00:12:35 verbose #31160 > │ |> fun x -> _v115 <- Some x │
00:12:35 verbose #31161 > │ let v124 : System.TimeZoneInfo = _v115.Value │
00:12:35 verbose #31162 > │ let v125 : (System.DateTime -> System.TimeSpan) = v114 v124 │
00:12:35 verbose #31163 > │ let v126 : System.TimeSpan = v125 v1 │
00:12:35 verbose #31164 > │ v126 │
00:12:35 verbose #31165 > │ #endif │
00:12:35 verbose #31166 > │ |> fun x -> _v107 <- Some x │
00:12:35 verbose #31167 > │ let v127 : System.TimeSpan = _v107.Value │
00:12:35 verbose #31168 > │ let v128 : (System.TimeSpan -> int32) = _.Hours │
00:12:35 verbose #31169 > │ let v129 : int32 = v128 v127 │
00:12:35 verbose #31170 > │ let v130 : bool = v129 > 0 │
00:12:35 verbose #31171 > │ let v131 : (bool -> int32) = System.Convert.ToInt32 │
00:12:35 verbose #31172 > │ let v132 : int32 = v131 v130 │
00:12:35 verbose #31173 > │ let v133 : string = method4() │
00:12:35 verbose #31174 > │ let v134 : (string -> string) = v127.ToString │
00:12:35 verbose #31175 > │ let v135 : string = v134 v133 │
00:12:35 verbose #31176 > │ let v136 : string = $"{v132}{v135}" │
00:12:35 verbose #31177 > │ struct (v96, v136) │
00:12:35 verbose #31178 > │ #endif │
00:12:35 verbose #31179 > │ |> fun x -> _v4 <- Some x │
00:12:35 verbose #31180 > │ let struct (v137 : string, v138 : string) = _v4.Value │
00:12:35 verbose #31181 > │ let v139 : System.Guid = System.Guid $"{v137}{v138}{v3.[v137.Length + │
00:12:35 verbose #31182 > │ v138.Length..]}" │
00:12:35 verbose #31183 > │ v139 │
00:12:35 verbose #31184 > │ and closure0 () (v0 : System.Guid) : (System.DateTime -> System.Guid) = │
00:12:35 verbose #31185 > │ closure1(v0) │
00:12:35 verbose #31186 > │ and closure6 (v0 : string, v1 : string) (v2 : string) : string = │
00:12:35 verbose #31187 > │ let v3 : string = v2.Replace (v0, v1) │
00:12:35 verbose #31188 > │ v3 │
00:12:35 verbose #31189 > │ and closure5 (v0 : string) (v1 : string) : (string -> string) = │
00:12:35 verbose #31190 > │ closure6(v0, v1) │
00:12:35 verbose #31191 > │ and closure4 () (v0 : string) : (string -> (string -> string)) = │
00:12:35 verbose #31192 > │ closure5(v0) │
00:12:35 verbose #31193 > │ and method5 () : (string -> (string -> (string -> string))) = │
00:12:35 verbose #31194 > │ closure4() │
00:12:35 verbose #31195 > │ and closure3 () (v0 : System.Guid) : System.DateTime = │
00:12:35 verbose #31196 > │ let v1 : (System.Guid -> string) = _.ToString() │
00:12:35 verbose #31197 > │ let v2 : string = v1 v0 │
00:12:35 verbose #31198 > │ let v3 : (string -> (string -> (string -> string))) = method5() │
00:12:35 verbose #31199 > │ let v4 : System.DateTime option = None │
00:12:35 verbose #31200 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:12:35 verbose #31201 > │ │
00:12:35 verbose #31202 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #31203 > │ │
00:12:35 verbose #31204 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #31205 > │ let v6 : System.DateTime = System.DateTime.Parse (v2.[..24] |> v3 "-" │
00:12:35 verbose #31206 > │ "") │
00:12:35 verbose #31207 > │ v6 │
00:12:35 verbose #31208 > │ #endif │
00:12:35 verbose #31209 > │ │
00:12:35 verbose #31210 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #31211 > │ let v7 : System.DateTime = System.DateTime.Parse (v2.[..24] |> v3 "-" │
00:12:35 verbose #31212 > │ "") │
00:12:35 verbose #31213 > │ v7 │
00:12:35 verbose #31214 > │ #endif │
00:12:35 verbose #31215 > │ │
00:12:35 verbose #31216 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #31217 > │ let v8 : System.DateTime = System.DateTime.Parse (v2.[..24] |> v3 "-" │
00:12:35 verbose #31218 > │ "") │
00:12:35 verbose #31219 > │ v8 │
00:12:35 verbose #31220 > │ #endif │
00:12:35 verbose #31221 > │ │
00:12:35 verbose #31222 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #31223 > │ let v9 : System.DateTime = System.DateTime.ParseExact (v2.[..24] |> v3 │
00:12:35 verbose #31224 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:35 verbose #31225 > │ v9 │
00:12:35 verbose #31226 > │ #endif │
00:12:35 verbose #31227 > │ │
00:12:35 verbose #31228 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #31229 > │ let v10 : System.DateTime = System.DateTime.ParseExact (v2.[..24] |> v3 │
00:12:35 verbose #31230 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:35 verbose #31231 > │ v10 │
00:12:35 verbose #31232 > │ #endif │
00:12:35 verbose #31233 > │ │
00:12:35 verbose #31234 > │ #else │
00:12:35 verbose #31235 > │ let v11 : System.DateTime = System.DateTime.ParseExact (v2.[..24] |> v3 │
00:12:35 verbose #31236 > │ "-" "", "yyyyMMddHHmmssfffffff", null) │
00:12:35 verbose #31237 > │ v11 │
00:12:35 verbose #31238 > │ #endif │
00:12:35 verbose #31239 > │ |> fun x -> _v4 <- Some x │
00:12:35 verbose #31240 > │ let v12 : System.DateTime = _v4.Value │
00:12:35 verbose #31241 > │ v12 │
00:12:35 verbose #31242 > │ and closure8 (v0 : System.Guid) (v1 : int64) : System.Guid = │
00:12:35 verbose #31243 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:35 verbose #31244 > │ let v3 : string = v2 v0 │
00:12:35 verbose #31245 > │ let v4 : (int64 -> string) = _.ToString() │
00:12:35 verbose #31246 > │ let v5 : string = v4 v1 │
00:12:35 verbose #31247 > │ let v6 : string = v5.PadLeft (18, '0') │
00:12:35 verbose #31248 > │ let v7 : System.Guid = System.Guid $"{v6.[0..7]}-{v6.[8..11]}-{v6.[ │
00:12:35 verbose #31249 > │ 12..15]}-{v6.[16..17]}{v3.[21..]}" │
00:12:35 verbose #31250 > │ v7 │
00:12:35 verbose #31251 > │ and closure7 () (v0 : System.Guid) : (int64 -> System.Guid) = │
00:12:35 verbose #31252 > │ closure8(v0) │
00:12:35 verbose #31253 > │ and closure9 () (v0 : System.Guid) : int64 = │
00:12:35 verbose #31254 > │ let v1 : (System.Guid -> string) = _.ToString() │
00:12:35 verbose #31255 > │ let v2 : string = v1 v0 │
00:12:35 verbose #31256 > │ let v3 : int64 = int64 $"{v2.[0..7]}{v2.[9..12]}{v2.[14..17]}{v2.[ │
00:12:35 verbose #31257 > │ 19..20]}" │
00:12:35 verbose #31258 > │ v3 │
00:12:35 verbose #31259 > │ and closure10 () (v0 : System.DateTime) : System.Guid = │
00:12:35 verbose #31260 > │ let v1 : System.Guid = System.Guid.NewGuid () │
00:12:35 verbose #31261 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:35 verbose #31262 > │ let v3 : string = v2 v1 │
00:12:35 verbose #31263 > │ let v4 : struct (string * string) option = None │
00:12:35 verbose #31264 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:12:35 verbose #31265 > │ │
00:12:35 verbose #31266 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #31267 > │ │
00:12:35 verbose #31268 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #31269 > │ let v6 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:12:35 verbose #31270 > │ System.DateTimeKind.Utc) │
00:12:35 verbose #31271 > │ let v7 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:12:35 verbose #31272 > │ let v8 : System.DateTime = v7 v6 │
00:12:35 verbose #31273 > │ let v9 : System.DateTimeKind = System.DateTimeKind.Local │
00:12:35 verbose #31274 > │ let v10 : System.DateTime = System.DateTime.SpecifyKind (v0, v9) │
00:12:35 verbose #31275 > │ let v11 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:12:35 verbose #31276 > │ let v12 : System.DateTime = v11 v10 │
00:12:35 verbose #31277 > │ let v13 : (System.DateTime -> int64) = _.Ticks │
00:12:35 verbose #31278 > │ let v14 : int64 = v13 v12 │
00:12:35 verbose #31279 > │ let v15 : (System.DateTime -> int64) = _.Ticks │
00:12:35 verbose #31280 > │ let v16 : int64 = v15 v8 │
00:12:35 verbose #31281 > │ let v17 : int64 = v14 - v16 │
00:12:35 verbose #31282 > │ let v18 : int64 = v17 / 10L │
00:12:35 verbose #31283 > │ let v19 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:12:35 verbose #31284 > │ let v20 : chrono_DateTime<chrono_Utc> option = │
00:12:35 verbose #31285 > │ Fable.Core.RustInterop.emitRustExpr v18 v19 │
00:12:35 verbose #31286 > │ let v21 : (chrono_DateTime<chrono_Utc> -> US0) = method0() │
00:12:35 verbose #31287 > │ let v22 : US0 = US0_1 │
00:12:35 verbose #31288 > │ let v23 : US0 = v20 |> Option.map v21 |> Option.defaultValue v22 │
00:12:35 verbose #31289 > │ let v42 : US1 = │
00:12:35 verbose #31290 > │ match v23 with │
00:12:35 verbose #31291 > │ | US0_1 -> (* None *) │
00:12:35 verbose #31292 > │ US1_1 │
00:12:35 verbose #31293 > │ | US0_0(v24) -> (* Some *) │
00:12:35 verbose #31294 > │ let v25 : chrono_DateTime<chrono_Utc> = method1(v24) │
00:12:35 verbose #31295 > │ let v26 : string = "v25.naive_utc()" │
00:12:35 verbose #31296 > │ let v27 : chrono_NaiveDateTime = │
00:12:35 verbose #31297 > │ Fable.Core.RustInterop.emitRustExpr () v26 │
00:12:35 verbose #31298 > │ let v28 : string = │
00:12:35 verbose #31299 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v27)" │
00:12:35 verbose #31300 > │ let v29 : chrono_DateTime<chrono_Local> = │
00:12:35 verbose #31301 > │ Fable.Core.RustInterop.emitRustExpr () v28 │
00:12:35 verbose #31302 > │ let v30 : string = "%Y%m%d-%H%M-%S%f" │
00:12:35 verbose #31303 > │ let v31 : string = "r#\"" + v30 + "\"#" │
00:12:35 verbose #31304 > │ let v32 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v31 │
00:12:35 verbose #31305 > │ let v33 : chrono_DateTime<chrono_Local> = method2(v29) │
00:12:35 verbose #31306 > │ let v34 : string = "v33.format(v32).to_string()" │
00:12:35 verbose #31307 > │ let v35 : std_string_String = │
00:12:35 verbose #31308 > │ Fable.Core.RustInterop.emitRustExpr () v34 │
00:12:35 verbose #31309 > │ let v36 : string = "fable_library_rust::String_::fromString($0)" │
00:12:35 verbose #31310 > │ let v37 : string = Fable.Core.RustInterop.emitRustExpr v35 v36 │
00:12:35 verbose #31311 > │ let v38 : string = $"{v37.[0..17]}-{v37.[18..21]}-{v37.[22]}" │
00:12:35 verbose #31312 > │ US1_0(v38) │
00:12:35 verbose #31313 > │ let v46 : string = │
00:12:35 verbose #31314 > │ match v42 with │
00:12:35 verbose #31315 > │ | US1_1 -> (* None *) │
00:12:35 verbose #31316 > │ let v44 : string = "" │
00:12:35 verbose #31317 > │ v44 │
00:12:35 verbose #31318 > │ | US1_0(v43) -> (* Some *) │
00:12:35 verbose #31319 > │ v43 │
00:12:35 verbose #31320 > │ let v47 : System.TimeZoneInfo option = None │
00:12:35 verbose #31321 > │ let v48 : bool = true in let mutable _v47 = v47 │
00:12:35 verbose #31322 > │ │
00:12:35 verbose #31323 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:35 verbose #31324 > │ │
00:12:35 verbose #31325 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:35 verbose #31326 > │ let v49 : string = "0i64.into()" │
00:12:35 verbose #31327 > │ let v50 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:35 verbose #31328 > │ v49 │
00:12:35 verbose #31329 > │ v50 │
00:12:35 verbose #31330 > │ #endif │
00:12:35 verbose #31331 > │ │
00:12:35 verbose #31332 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:35 verbose #31333 > │ let v51 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31334 > │ v51 │
00:12:35 verbose #31335 > │ #endif │
00:12:35 verbose #31336 > │ │
00:12:35 verbose #31337 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:35 verbose #31338 > │ let v52 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31339 > │ v52 │
00:12:35 verbose #31340 > │ #endif │
00:12:35 verbose #31341 > │ │
00:12:35 verbose #31342 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:35 verbose #31343 > │ let v53 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31344 > │ v53 │
00:12:35 verbose #31345 > │ #endif │
00:12:35 verbose #31346 > │ │
00:12:35 verbose #31347 > │ #if FABLE_COMPILER_PYTHON │
00:12:35 verbose #31348 > │ let v54 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:35 verbose #31349 > │ v54 │
00:12:35 verbose #31350 > │ #endif │
00:12:35 verbose #31351 > │ │
00:12:36 verbose #31352 > │ #else │
00:12:36 verbose #31353 > │ let v55 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:36 verbose #31354 > │ v55 │
00:12:36 verbose #31355 > │ #endif │
00:12:36 verbose #31356 > │ |> fun x -> _v47 <- Some x │
00:12:36 verbose #31357 > │ let v56 : System.TimeZoneInfo = _v47.Value │
00:12:36 verbose #31358 > │ let v57 : System.TimeSpan option = None │
00:12:36 verbose #31359 > │ let v58 : bool = true in let mutable _v57 = v57 │
00:12:36 verbose #31360 > │ │
00:12:36 verbose #31361 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:36 verbose #31362 > │ │
00:12:36 verbose #31363 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:36 verbose #31364 > │ let v59 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31365 > │ v59 │
00:12:36 verbose #31366 > │ #endif │
00:12:36 verbose #31367 > │ │
00:12:36 verbose #31368 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:36 verbose #31369 > │ let v60 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31370 > │ v60 │
00:12:36 verbose #31371 > │ #endif │
00:12:36 verbose #31372 > │ │
00:12:36 verbose #31373 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:36 verbose #31374 > │ let v61 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31375 > │ v61 │
00:12:36 verbose #31376 > │ #endif │
00:12:36 verbose #31377 > │ │
00:12:36 verbose #31378 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:36 verbose #31379 > │ let v62 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31380 > │ v62 │
00:12:36 verbose #31381 > │ #endif │
00:12:36 verbose #31382 > │ │
00:12:36 verbose #31383 > │ #if FABLE_COMPILER_PYTHON │
00:12:36 verbose #31384 > │ let v63 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31385 > │ v63 │
00:12:36 verbose #31386 > │ #endif │
00:12:36 verbose #31387 > │ │
00:12:36 verbose #31388 > │ #else │
00:12:36 verbose #31389 > │ let v64 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:12:36 verbose #31390 > │ = _.GetUtcOffset │
00:12:36 verbose #31391 > │ let v65 : System.TimeZoneInfo option = None │
00:12:36 verbose #31392 > │ let v66 : bool = true in let mutable _v65 = v65 │
00:12:36 verbose #31393 > │ │
00:12:36 verbose #31394 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:36 verbose #31395 > │ │
00:12:36 verbose #31396 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:36 verbose #31397 > │ let v67 : string = "0i64.into()" │
00:12:36 verbose #31398 > │ let v68 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:36 verbose #31399 > │ v67 │
00:12:36 verbose #31400 > │ v68 │
00:12:36 verbose #31401 > │ #endif │
00:12:36 verbose #31402 > │ │
00:12:36 verbose #31403 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:36 verbose #31404 > │ let v69 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31405 > │ v69 │
00:12:36 verbose #31406 > │ #endif │
00:12:36 verbose #31407 > │ │
00:12:36 verbose #31408 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:36 verbose #31409 > │ let v70 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31410 > │ v70 │
00:12:36 verbose #31411 > │ #endif │
00:12:36 verbose #31412 > │ │
00:12:36 verbose #31413 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:36 verbose #31414 > │ let v71 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31415 > │ v71 │
00:12:36 verbose #31416 > │ #endif │
00:12:36 verbose #31417 > │ │
00:12:36 verbose #31418 > │ #if FABLE_COMPILER_PYTHON │
00:12:36 verbose #31419 > │ let v72 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31420 > │ v72 │
00:12:36 verbose #31421 > │ #endif │
00:12:36 verbose #31422 > │ │
00:12:36 verbose #31423 > │ #else │
00:12:36 verbose #31424 > │ let v73 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:36 verbose #31425 > │ v73 │
00:12:36 verbose #31426 > │ #endif │
00:12:36 verbose #31427 > │ |> fun x -> _v65 <- Some x │
00:12:36 verbose #31428 > │ let v74 : System.TimeZoneInfo = _v65.Value │
00:12:36 verbose #31429 > │ let v75 : (System.DateTime -> System.TimeSpan) = v64 v74 │
00:12:36 verbose #31430 > │ let v76 : System.TimeSpan = v75 v12 │
00:12:36 verbose #31431 > │ v76 │
00:12:36 verbose #31432 > │ #endif │
00:12:36 verbose #31433 > │ |> fun x -> _v57 <- Some x │
00:12:36 verbose #31434 > │ let v77 : System.TimeSpan = _v57.Value │
00:12:36 verbose #31435 > │ let v78 : (System.TimeSpan -> int32) = _.Hours │
00:12:36 verbose #31436 > │ let v79 : int32 = v78 v77 │
00:12:36 verbose #31437 > │ let v80 : bool = v79 > 0 │
00:12:36 verbose #31438 > │ let v81 : uint8 = │
00:12:36 verbose #31439 > │ if v80 then │
00:12:36 verbose #31440 > │ 1uy │
00:12:36 verbose #31441 > │ else │
00:12:36 verbose #31442 > │ 0uy │
00:12:36 verbose #31443 > │ let v82 : (string -> string) = v77.ToString │
00:12:36 verbose #31444 > │ let v83 : string = "hh:mm" │
00:12:36 verbose #31445 > │ let v84 : string = v82 v83 │
00:12:36 verbose #31446 > │ let v85 : string = $"{v81}{v84.[0..1]}{v84.[3..4]}" │
00:12:36 verbose #31447 > │ struct (v46, v85) │
00:12:36 verbose #31448 > │ #endif │
00:12:36 verbose #31449 > │ │
00:12:36 verbose #31450 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:36 verbose #31451 > │ let struct (v86 : string, v87 : string) = null |> unbox<struct (string * │
00:12:36 verbose #31452 > │ string)> │
00:12:36 verbose #31453 > │ struct (v86, v87) │
00:12:36 verbose #31454 > │ #endif │
00:12:36 verbose #31455 > │ │
00:12:36 verbose #31456 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:36 verbose #31457 > │ let struct (v88 : string, v89 : string) = null |> unbox<struct (string * │
00:12:36 verbose #31458 > │ string)> │
00:12:36 verbose #31459 > │ struct (v88, v89) │
00:12:36 verbose #31460 > │ #endif │
00:12:36 verbose #31461 > │ │
00:12:36 verbose #31462 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:36 verbose #31463 > │ let struct (v90 : string, v91 : string) = null |> unbox<struct (string * │
00:12:36 verbose #31464 > │ string)> │
00:12:36 verbose #31465 > │ struct (v90, v91) │
00:12:36 verbose #31466 > │ #endif │
00:12:36 verbose #31467 > │ │
00:12:36 verbose #31468 > │ #if FABLE_COMPILER_PYTHON │
00:12:36 verbose #31469 > │ let struct (v92 : string, v93 : string) = null |> unbox<struct (string * │
00:12:36 verbose #31470 > │ string)> │
00:12:36 verbose #31471 > │ struct (v92, v93) │
00:12:36 verbose #31472 > │ #endif │
00:12:36 verbose #31473 > │ │
00:12:36 verbose #31474 > │ #else │
00:12:36 verbose #31475 > │ let v94 : string = method3() │
00:12:36 verbose #31476 > │ let v95 : (string -> string) = v0.ToString │
00:12:36 verbose #31477 > │ let v96 : string = v95 v94 │
00:12:36 verbose #31478 > │ let v97 : System.TimeZoneInfo option = None │
00:12:36 verbose #31479 > │ let v98 : bool = true in let mutable _v97 = v97 │
00:12:36 verbose #31480 > │ │
00:12:36 verbose #31481 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:36 verbose #31482 > │ │
00:12:36 verbose #31483 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:36 verbose #31484 > │ let v99 : string = "0i64.into()" │
00:12:36 verbose #31485 > │ let v100 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:36 verbose #31486 > │ v99 │
00:12:36 verbose #31487 > │ v100 │
00:12:36 verbose #31488 > │ #endif │
00:12:36 verbose #31489 > │ │
00:12:36 verbose #31490 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:36 verbose #31491 > │ let v101 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31492 > │ v101 │
00:12:36 verbose #31493 > │ #endif │
00:12:36 verbose #31494 > │ │
00:12:36 verbose #31495 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:36 verbose #31496 > │ let v102 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31497 > │ v102 │
00:12:36 verbose #31498 > │ #endif │
00:12:36 verbose #31499 > │ │
00:12:36 verbose #31500 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:36 verbose #31501 > │ let v103 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31502 > │ v103 │
00:12:36 verbose #31503 > │ #endif │
00:12:36 verbose #31504 > │ │
00:12:36 verbose #31505 > │ #if FABLE_COMPILER_PYTHON │
00:12:36 verbose #31506 > │ let v104 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31507 > │ v104 │
00:12:36 verbose #31508 > │ #endif │
00:12:36 verbose #31509 > │ │
00:12:36 verbose #31510 > │ #else │
00:12:36 verbose #31511 > │ let v105 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:36 verbose #31512 > │ v105 │
00:12:36 verbose #31513 > │ #endif │
00:12:36 verbose #31514 > │ |> fun x -> _v97 <- Some x │
00:12:36 verbose #31515 > │ let v106 : System.TimeZoneInfo = _v97.Value │
00:12:36 verbose #31516 > │ let v107 : System.TimeSpan option = None │
00:12:36 verbose #31517 > │ let v108 : bool = true in let mutable _v107 = v107 │
00:12:36 verbose #31518 > │ │
00:12:36 verbose #31519 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:36 verbose #31520 > │ │
00:12:36 verbose #31521 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:36 verbose #31522 > │ let v109 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31523 > │ v109 │
00:12:36 verbose #31524 > │ #endif │
00:12:36 verbose #31525 > │ │
00:12:36 verbose #31526 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:36 verbose #31527 > │ let v110 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31528 > │ v110 │
00:12:36 verbose #31529 > │ #endif │
00:12:36 verbose #31530 > │ │
00:12:36 verbose #31531 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:36 verbose #31532 > │ let v111 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31533 > │ v111 │
00:12:36 verbose #31534 > │ #endif │
00:12:36 verbose #31535 > │ │
00:12:36 verbose #31536 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:36 verbose #31537 > │ let v112 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31538 > │ v112 │
00:12:36 verbose #31539 > │ #endif │
00:12:36 verbose #31540 > │ │
00:12:36 verbose #31541 > │ #if FABLE_COMPILER_PYTHON │
00:12:36 verbose #31542 > │ let v113 : System.TimeSpan = System.TimeSpan () │
00:12:36 verbose #31543 > │ v113 │
00:12:36 verbose #31544 > │ #endif │
00:12:36 verbose #31545 > │ │
00:12:36 verbose #31546 > │ #else │
00:12:36 verbose #31547 > │ let v114 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:12:36 verbose #31548 > │ = _.GetUtcOffset │
00:12:36 verbose #31549 > │ let v115 : System.TimeZoneInfo option = None │
00:12:36 verbose #31550 > │ let v116 : bool = true in let mutable _v115 = v115 │
00:12:36 verbose #31551 > │ │
00:12:36 verbose #31552 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:12:36 verbose #31553 > │ │
00:12:36 verbose #31554 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:12:36 verbose #31555 > │ let v117 : string = "0i64.into()" │
00:12:36 verbose #31556 > │ let v118 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:12:36 verbose #31557 > │ v117 │
00:12:36 verbose #31558 > │ v118 │
00:12:36 verbose #31559 > │ #endif │
00:12:36 verbose #31560 > │ │
00:12:36 verbose #31561 > │ #if FABLE_COMPILER_RUST && WASM │
00:12:36 verbose #31562 > │ let v119 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31563 > │ v119 │
00:12:36 verbose #31564 > │ #endif │
00:12:36 verbose #31565 > │ │
00:12:36 verbose #31566 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:12:36 verbose #31567 > │ let v120 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31568 > │ v120 │
00:12:36 verbose #31569 > │ #endif │
00:12:36 verbose #31570 > │ │
00:12:36 verbose #31571 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:12:36 verbose #31572 > │ let v121 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31573 > │ v121 │
00:12:36 verbose #31574 > │ #endif │
00:12:36 verbose #31575 > │ │
00:12:36 verbose #31576 > │ #if FABLE_COMPILER_PYTHON │
00:12:36 verbose #31577 > │ let v122 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:12:36 verbose #31578 > │ v122 │
00:12:36 verbose #31579 > │ #endif │
00:12:36 verbose #31580 > │ │
00:12:36 verbose #31581 > │ #else │
00:12:36 verbose #31582 > │ let v123 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:12:36 verbose #31583 > │ v123 │
00:12:36 verbose #31584 > │ #endif │
00:12:36 verbose #31585 > │ |> fun x -> _v115 <- Some x │
00:12:36 verbose #31586 > │ let v124 : System.TimeZoneInfo = _v115.Value │
00:12:36 verbose #31587 > │ let v125 : (System.DateTime -> System.TimeSpan) = v114 v124 │
00:12:36 verbose #31588 > │ let v126 : System.TimeSpan = v125 v0 │
00:12:36 verbose #31589 > │ v126 │
00:12:36 verbose #31590 > │ #endif │
00:12:36 verbose #31591 > │ |> fun x -> _v107 <- Some x │
00:12:36 verbose #31592 > │ let v127 : System.TimeSpan = _v107.Value │
00:12:36 verbose #31593 > │ let v128 : (System.TimeSpan -> int32) = _.Hours │
00:12:36 verbose #31594 > │ let v129 : int32 = v128 v127 │
00:12:36 verbose #31595 > │ let v130 : bool = v129 > 0 │
00:12:36 verbose #31596 > │ let v131 : (bool -> int32) = System.Convert.ToInt32 │
00:12:36 verbose #31597 > │ let v132 : int32 = v131 v130 │
00:12:36 verbose #31598 > │ let v133 : string = method4() │
00:12:36 verbose #31599 > │ let v134 : (string -> string) = v127.ToString │
00:12:36 verbose #31600 > │ let v135 : string = v134 v133 │
00:12:36 verbose #31601 > │ let v136 : string = $"{v132}{v135}" │
00:12:36 verbose #31602 > │ struct (v96, v136) │
00:12:36 verbose #31603 > │ #endif │
00:12:36 verbose #31604 > │ |> fun x -> _v4 <- Some x │
00:12:36 verbose #31605 > │ let struct (v137 : string, v138 : string) = _v4.Value │
00:12:36 verbose #31606 > │ let v139 : System.Guid = System.Guid $"{v137}{v138}{v3.[v137.Length + │
00:12:36 verbose #31607 > │ v138.Length..]}" │
00:12:36 verbose #31608 > │ v139 │
00:12:36 verbose #31609 > │ and closure11 () (v0 : int64) : System.Guid = │
00:12:36 verbose #31610 > │ let v1 : System.Guid = System.Guid.NewGuid () │
00:12:36 verbose #31611 > │ let v2 : (System.Guid -> string) = _.ToString() │
00:12:36 verbose #31612 > │ let v3 : string = v2 v1 │
00:12:36 verbose #31613 > │ let v4 : (int64 -> string) = _.ToString() │
00:12:36 verbose #31614 > │ let v5 : string = v4 v0 │
00:12:36 verbose #31615 > │ let v6 : string = v5.PadLeft (18, '0') │
00:12:36 verbose #31616 > │ let v7 : System.Guid = System.Guid $"{v6.[0..7]}-{v6.[8..11]}-{v6.[ │
00:12:36 verbose #31617 > │ 12..15]}-{v6.[16..17]}{v3.[21..]}" │
00:12:36 verbose #31618 > │ v7 │
00:12:36 verbose #31619 > │ and closure13 (v0 : string) (v1 : System.DateTime) : string = │
00:12:36 verbose #31620 > │ let v2 : (string -> string) = v1.ToString │
00:12:36 verbose #31621 > │ v2 v0 │
00:12:36 verbose #31622 > │ and closure12 () (v0 : string) : (System.DateTime -> string) = │
00:12:36 verbose #31623 > │ closure13(v0) │
00:12:36 verbose #31624 > │ and closure14 () (v0 : System.DateTime) : string = │
00:12:36 verbose #31625 > │ let v1 : (string -> string) = v0.ToString │
00:12:36 verbose #31626 > │ let v2 : string = "yyyy-MM-ddTHH-mm-ss.fff" │
00:12:36 verbose #31627 > │ v1 v2 │
00:12:36 verbose #31628 > │ let v0 : (System.Guid -> (System.DateTime -> System.Guid)) = closure0() │
00:12:36 verbose #31629 > │ let date_time_guid_from_date_time x = v0 x │
00:12:36 verbose #31630 > │ let v1 : (System.Guid -> System.DateTime) = closure3() │
00:12:36 verbose #31631 > │ let date_time_from_guid x = v1 x │
00:12:36 verbose #31632 > │ let v2 : (System.Guid -> (int64 -> System.Guid)) = closure7() │
00:12:36 verbose #31633 > │ let timestamp_guid_from_timestamp x = v2 x │
00:12:36 verbose #31634 > │ let v3 : (System.Guid -> int64) = closure9() │
00:12:36 verbose #31635 > │ let timestamp_from_guid x = v3 x │
00:12:36 verbose #31636 > │ let v4 : (System.DateTime -> System.Guid) = closure10() │
00:12:36 verbose #31637 > │ let new_guid_from_date_time x = v4 x │
00:12:36 verbose #31638 > │ let v5 : (int64 -> System.Guid) = closure11() │
00:12:36 verbose #31639 > │ let new_guid_from_timestamp x = v5 x │
00:12:36 verbose #31640 > │ let v6 : (string -> (System.DateTime -> string)) = closure12() │
00:12:36 verbose #31641 > │ let format x = v6 x │
00:12:36 verbose #31642 > │ let v7 : (System.DateTime -> string) = closure14() │
00:12:36 verbose #31643 > │ let format_iso8601 x = v7 x │
00:12:36 verbose #31644 > │ () │
00:12:36 verbose #31645 > │ │
00:12:36 verbose #31646 > │ │
00:12:36 verbose #31647 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:38 verbose #31648 > [NbConvertApp] Converting notebook date_time.dib.ipynb to html
00:12:38 verbose #31649 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:12:38 verbose #31650 > validate(nb)
00:12:40 verbose #31651 > [NbConvertApp] Writing 450320 bytes to date_time.dib.html
00:12:41 debug #31652 execute_with_options_async / exit_code: 0 / output.Length: 213965
00:12:41 debug #15 main / executeCommand / exitCode: 0
00:12:41 debug #31653 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 math.dib -Retries 3"", [||], None,
None, None)
00:12:42 verbose #31654 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: math.dib / _args: [
00:12:42 verbose #31655 > "-Retries",
00:12:42 verbose #31656 > 3
00:12:42 verbose #31657 > ]
00:12:44 verbose #31658 >
00:12:44 verbose #31659 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:44 verbose #31660 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:44 verbose #31661 > │ # math │
00:12:44 verbose #31662 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:44 verbose #31663 >
00:12:44 verbose #31664 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:44 verbose #31665 > //// test
00:12:44 verbose #31666 >
00:12:44 verbose #31667 > open testing
00:12:44 verbose #31668 >
00:12:44 verbose #31669 > ── spiral - import ─────────────────────────────────────────────────────────────
00:12:44 verbose #31670 > #r
00:12:44 verbose #31671 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:12:44 verbose #31672 > otNet.Interactive.Spiral.dll"
00:12:44 verbose #31673 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:12:44 verbose #31674 > #r
00:12:44 verbose #31675 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:12:44 verbose #31676 > otNet.Interactive.dll"
00:12:44 verbose #31677 > open type Microsoft.DotNet.Interactive.Kernel
00:12:49 verbose #31678 > 00:12:48 debug #545 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:12:49 verbose #31679 >
00:12:49 verbose #31680 > ╭─[ 5.50s - stdout ]───────────────────────────────────────────────────────────╮
00:12:49 verbose #31681 > │ () │
00:12:49 verbose #31682 > │ │
00:12:49 verbose #31683 > │ │
00:12:49 verbose #31684 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:49 verbose #31685 >
00:12:49 verbose #31686 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:49 verbose #31687 > //// test
00:12:49 verbose #31688 >
00:12:49 verbose #31689 > 2 * 2 / 0.4f64 |> sqrt
00:12:49 verbose #31690 > |> _assert_approx_eq None 3.1622776601683795
00:12:50 verbose #31691 > 00:12:49 debug #546 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ebdf28a97fa86cafc3ccda8796a3b49cf68066337eb3a90ba6a1b9846fa90091/main.spi
00:12:50 verbose #31692 >
00:12:50 verbose #31693 > ╭─[ 1.21s - stdout ]───────────────────────────────────────────────────────────╮
00:12:50 verbose #31694 > │ let rec method0 () : unit = │
00:12:50 verbose #31695 > │ let v0 : string = "assert_approx_eq" │
00:12:50 verbose #31696 > │ let v1 : string = $"{v0} / actual: %A{3.1622776601683795} / expected: │
00:12:50 verbose #31697 > │ %A{3.1622776601683795}" │
00:12:50 verbose #31698 > │ System.Console.WriteLine v1 │
00:12:50 verbose #31699 > │ () │
00:12:50 verbose #31700 > │ method0() │
00:12:50 verbose #31701 > │ │
00:12:50 verbose #31702 > │ assert_approx_eq / actual: 3.16227766 / expected: 3.16227766 │
00:12:50 verbose #31703 > │ │
00:12:50 verbose #31704 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:50 verbose #31705 >
00:12:50 verbose #31706 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:50 verbose #31707 > //// test
00:12:50 verbose #31708 >
00:12:50 verbose #31709 > 2f64 / 3
00:12:50 verbose #31710 > |> _assert_approx_eq None 0.6666666666666666
00:12:51 verbose #31711 > 00:12:50 debug #547 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cda5fcb6b71a9936ba55723dbbdf754bf5398e07f318522df079ce7ef9518d3b/main.spi
00:12:51 verbose #31712 >
00:12:51 verbose #31713 > ╭─[ 628.56ms - stdout ]────────────────────────────────────────────────────────╮
00:12:51 verbose #31714 > │ let rec method0 () : unit = │
00:12:51 verbose #31715 > │ let v0 : string = "assert_approx_eq" │
00:12:51 verbose #31716 > │ let v1 : string = $"{v0} / actual: %A{0.6666666666666666} / expected: │
00:12:51 verbose #31717 > │ %A{0.6666666666666666}" │
00:12:51 verbose #31718 > │ System.Console.WriteLine v1 │
00:12:51 verbose #31719 > │ () │
00:12:51 verbose #31720 > │ method0() │
00:12:51 verbose #31721 > │ │
00:12:51 verbose #31722 > │ assert_approx_eq / actual: 0.6666666667 / expected: 0.6666666667 │
00:12:51 verbose #31723 > │ │
00:12:51 verbose #31724 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:51 verbose #31725 >
00:12:51 verbose #31726 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:51 verbose #31727 > //// test
00:12:51 verbose #31728 >
00:12:51 verbose #31729 > 2f64 |> log
00:12:51 verbose #31730 > |> _assert_approx_eq None 0.6931471805599453
00:12:52 verbose #31731 > 00:12:51 debug #548 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a9d32c9a97cb46b5ddcb2337e32289c16f3f8fa7c97cb92a01c7863481b60178/main.spi
00:12:52 verbose #31732 >
00:12:52 verbose #31733 > ╭─[ 653.71ms - stdout ]────────────────────────────────────────────────────────╮
00:12:52 verbose #31734 > │ let rec method0 () : unit = │
00:12:52 verbose #31735 > │ let v0 : string = "assert_approx_eq" │
00:12:52 verbose #31736 > │ let v1 : string = $"{v0} / actual: %A{0.6931471805599453} / expected: │
00:12:52 verbose #31737 > │ %A{0.6931471805599453}" │
00:12:52 verbose #31738 > │ System.Console.WriteLine v1 │
00:12:52 verbose #31739 > │ () │
00:12:52 verbose #31740 > │ method0() │
00:12:52 verbose #31741 > │ │
00:12:52 verbose #31742 > │ assert_approx_eq / actual: 0.6931471806 / expected: 0.6931471806 │
00:12:52 verbose #31743 > │ │
00:12:52 verbose #31744 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:52 verbose #31745 >
00:12:52 verbose #31746 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:52 verbose #31747 > //// test
00:12:52 verbose #31748 >
00:12:52 verbose #31749 > pi
00:12:52 verbose #31750 > |> _assert_approx_eq None 3.141592653589793f64
00:12:52 verbose #31751 > 00:12:51 debug #549 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/97c4d2964b4d5b929e4461b5be168ccf5fc123a0f87addffbb3bce13c81d6785/main.spi
00:12:52 verbose #31752 >
00:12:52 verbose #31753 > ╭─[ 636.30ms - stdout ]────────────────────────────────────────────────────────╮
00:12:52 verbose #31754 > │ let rec method0 () : unit = │
00:12:52 verbose #31755 > │ let v0 : string = "assert_approx_eq" │
00:12:52 verbose #31756 > │ let v1 : string = $"{v0} / actual: %A{3.141592653589793} / expected: │
00:12:52 verbose #31757 > │ %A{3.141592653589793}" │
00:12:52 verbose #31758 > │ System.Console.WriteLine v1 │
00:12:52 verbose #31759 > │ () │
00:12:52 verbose #31760 > │ method0() │
00:12:52 verbose #31761 > │ │
00:12:52 verbose #31762 > │ assert_approx_eq / actual: 3.141592654 / expected: 3.141592654 │
00:12:52 verbose #31763 > │ │
00:12:52 verbose #31764 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:52 verbose #31765 >
00:12:52 verbose #31766 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:52 verbose #31767 > //// test
00:12:52 verbose #31768 >
00:12:52 verbose #31769 > pi |> cos
00:12:52 verbose #31770 > |> _assert_eq -1f64
00:12:53 verbose #31771 > 00:12:52 debug #550 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ff460980a3f2839ac0a19c37e15b7360561b5d9cb60667f25cf193b677a8456d/main.spi
00:12:53 verbose #31772 >
00:12:53 verbose #31773 > ╭─[ 636.33ms - stdout ]────────────────────────────────────────────────────────╮
00:12:53 verbose #31774 > │ let rec method0 () : unit = │
00:12:53 verbose #31775 > │ let v0 : string = "assert_eq" │
00:12:53 verbose #31776 > │ let v1 : string = $"{v0} / actual: %A{-1.0} / expected: %A{-1.0}" │
00:12:53 verbose #31777 > │ System.Console.WriteLine v1 │
00:12:53 verbose #31778 > │ () │
00:12:53 verbose #31779 > │ method0() │
00:12:53 verbose #31780 > │ │
00:12:53 verbose #31781 > │ assert_eq / actual: -1.0 / expected: -1.0 │
00:12:53 verbose #31782 > │ │
00:12:53 verbose #31783 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:53 verbose #31784 >
00:12:53 verbose #31785 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:53 verbose #31786 > //// test
00:12:53 verbose #31787 >
00:12:53 verbose #31788 > pi
00:12:53 verbose #31789 > |> cos
00:12:53 verbose #31790 > |> fun n => n / 2f64
00:12:53 verbose #31791 > |> _assert_approx_eq None -0.5
00:12:54 verbose #31792 > 00:12:53 debug #551 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/be394683864ee4c540b6dc6dc56d12d71b082bddb313026d4df08911c58e9cdb/main.spi
00:12:54 verbose #31793 >
00:12:54 verbose #31794 > ╭─[ 624.43ms - stdout ]────────────────────────────────────────────────────────╮
00:12:54 verbose #31795 > │ let rec method0 () : unit = │
00:12:54 verbose #31796 > │ let v0 : string = "assert_approx_eq" │
00:12:54 verbose #31797 > │ let v1 : string = $"{v0} / actual: %A{-0.5} / expected: %A{-0.5}" │
00:12:54 verbose #31798 > │ System.Console.WriteLine v1 │
00:12:54 verbose #31799 > │ () │
00:12:54 verbose #31800 > │ method0() │
00:12:54 verbose #31801 > │ │
00:12:54 verbose #31802 > │ assert_approx_eq / actual: -0.5 / expected: -0.5 │
00:12:54 verbose #31803 > │ │
00:12:54 verbose #31804 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:54 verbose #31805 >
00:12:54 verbose #31806 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:54 verbose #31807 > //// test
00:12:54 verbose #31808 >
00:12:54 verbose #31809 > pi / 2 |> cos
00:12:54 verbose #31810 > |> _assert_approx_eq None 0.00000000000000006123233995736766f64
00:12:54 verbose #31811 > 00:12:53 debug #552 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/13d3c6374bd2e0bb9ec31cc8c4e69feecd99ca5a7e0fdec375d5405b570a05fd/main.spi
00:12:54 verbose #31812 >
00:12:54 verbose #31813 > ╭─[ 654.49ms - stdout ]────────────────────────────────────────────────────────╮
00:12:54 verbose #31814 > │ let rec method0 () : unit = │
00:12:54 verbose #31815 > │ let v0 : string = "assert_approx_eq" │
00:12:54 verbose #31816 > │ let v1 : string = $"{v0} / actual: %A{6.123233995736766E-17} / expected: │
00:12:54 verbose #31817 > │ %A{6.123233995736766E-17}" │
00:12:54 verbose #31818 > │ System.Console.WriteLine v1 │
00:12:54 verbose #31819 > │ () │
00:12:54 verbose #31820 > │ method0() │
00:12:54 verbose #31821 > │ │
00:12:54 verbose #31822 > │ assert_approx_eq / actual: 6.123233996e-17 / expected: 6.123233996e-17 │
00:12:54 verbose #31823 > │ │
00:12:54 verbose #31824 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:54 verbose #31825 >
00:12:54 verbose #31826 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:54 verbose #31827 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:54 verbose #31828 > │ ## atan2 │
00:12:54 verbose #31829 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:54 verbose #31830 >
00:12:54 verbose #31831 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:54 verbose #31832 > inl atan2 (y : f64) (x : f64) =
00:12:54 verbose #31833 > $"System.Math.Atan2 (!y, !x)" : f64
00:12:55 verbose #31834 > 00:12:54 debug #553 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5454c48b0a1017da48af4acdcd579cfa516238b84d7b4606e358c7d5cec42511/main.spi
00:12:55 verbose #31835 >
00:12:55 verbose #31836 > ╭─[ 621.79ms - stdout ]────────────────────────────────────────────────────────╮
00:12:55 verbose #31837 > │ () │
00:12:55 verbose #31838 > │ │
00:12:55 verbose #31839 > │ │
00:12:55 verbose #31840 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:55 verbose #31841 >
00:12:55 verbose #31842 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:55 verbose #31843 > //// test
00:12:55 verbose #31844 >
00:12:55 verbose #31845 > 0 |> atan2 1
00:12:55 verbose #31846 > |> _assert_eq 1.5707963267948966
00:12:56 verbose #31847 > 00:12:55 debug #554 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e796179e6ccabdcc9d8778ae76c7a0b900e51d36b4f90f7bae0507d1088e4cfc/main.spi
00:12:56 verbose #31848 >
00:12:56 verbose #31849 > ╭─[ 749.05ms - stdout ]────────────────────────────────────────────────────────╮
00:12:56 verbose #31850 > │ let rec method1 (v0 : bool) : bool = │
00:12:56 verbose #31851 > │ v0 │
00:12:56 verbose #31852 > │ and method0 () : unit = │
00:12:56 verbose #31853 > │ let v0 : float = System.Math.Atan2 (1.0, 0.0) │
00:12:56 verbose #31854 > │ let v1 : bool = v0 = 1.5707963267948966 │
00:12:56 verbose #31855 > │ let v3 : bool = │
00:12:56 verbose #31856 > │ if v1 then │
00:12:56 verbose #31857 > │ true │
00:12:56 verbose #31858 > │ else │
00:12:56 verbose #31859 > │ method1(v1) │
00:12:56 verbose #31860 > │ let v4 : string = "assert_eq" │
00:12:56 verbose #31861 > │ let v5 : string = $"{v4} / actual: %A{v0} / expected: │
00:12:56 verbose #31862 > │ %A{1.5707963267948966}" │
00:12:56 verbose #31863 > │ System.Console.WriteLine v5 │
00:12:56 verbose #31864 > │ let v6 : bool = v3 = false │
00:12:56 verbose #31865 > │ if v6 then │
00:12:56 verbose #31866 > │ failwith<unit> v5 │
00:12:56 verbose #31867 > │ method0() │
00:12:56 verbose #31868 > │ │
00:12:56 verbose #31869 > │ assert_eq / actual: 1.570796327 / expected: 1.570796327 │
00:12:56 verbose #31870 > │ │
00:12:56 verbose #31871 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:56 verbose #31872 >
00:12:56 verbose #31873 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:56 verbose #31874 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:56 verbose #31875 > │ ## e │
00:12:56 verbose #31876 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:56 verbose #31877 >
00:12:56 verbose #31878 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:56 verbose #31879 > inl e () =
00:12:56 verbose #31880 > exp 1f64
00:12:56 verbose #31881 > 00:12:55 debug #555 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/58c299122d4b703b5825c428af9af3ca31bf015ff071ff08181314a5d25c100a/main.spi
00:12:56 verbose #31882 >
00:12:56 verbose #31883 > ╭─[ 608.90ms - stdout ]────────────────────────────────────────────────────────╮
00:12:56 verbose #31884 > │ () │
00:12:56 verbose #31885 > │ │
00:12:56 verbose #31886 > │ │
00:12:56 verbose #31887 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:56 verbose #31888 >
00:12:56 verbose #31889 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:56 verbose #31890 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:56 verbose #31891 > │ ## floor │
00:12:56 verbose #31892 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:56 verbose #31893 >
00:12:56 verbose #31894 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:56 verbose #31895 > inl floor forall t {float}. (n : t) : t =
00:12:56 verbose #31896 > n |> $'floor'
00:12:57 verbose #31897 > 00:12:56 debug #556 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c20ddaacb5067eaf3f54687aa0368a10585e12cdd3cde266b24c7763aeec8774/main.spi
00:12:57 verbose #31898 >
00:12:57 verbose #31899 > ╭─[ 639.85ms - stdout ]────────────────────────────────────────────────────────╮
00:12:57 verbose #31900 > │ () │
00:12:57 verbose #31901 > │ │
00:12:57 verbose #31902 > │ │
00:12:57 verbose #31903 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:57 verbose #31904 >
00:12:57 verbose #31905 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:57 verbose #31906 > //// test
00:12:57 verbose #31907 >
00:12:57 verbose #31908 > 0.6 |> floor
00:12:57 verbose #31909 > |> _assert_eq 0f64
00:12:58 verbose #31910 > 00:12:57 debug #557 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0223b2543fc00ff82c3608273451651a8239269aebbc5ecae13542508c2516fb/main.spi
00:12:58 verbose #31911 >
00:12:58 verbose #31912 > ╭─[ 722.50ms - stdout ]────────────────────────────────────────────────────────╮
00:12:58 verbose #31913 > │ let rec method1 (v0 : bool) : bool = │
00:12:58 verbose #31914 > │ v0 │
00:12:58 verbose #31915 > │ and method0 () : unit = │
00:12:58 verbose #31916 > │ let v0 : (float -> float) = floor │
00:12:58 verbose #31917 > │ let v1 : float = v0 0.6 │
00:12:58 verbose #31918 > │ let v2 : bool = v1 = 0.0 │
00:12:58 verbose #31919 > │ let v4 : bool = │
00:12:58 verbose #31920 > │ if v2 then │
00:12:58 verbose #31921 > │ true │
00:12:58 verbose #31922 > │ else │
00:12:58 verbose #31923 > │ method1(v2) │
00:12:58 verbose #31924 > │ let v5 : string = "assert_eq" │
00:12:58 verbose #31925 > │ let v6 : string = $"{v5} / actual: %A{v1} / expected: %A{0.0}" │
00:12:58 verbose #31926 > │ System.Console.WriteLine v6 │
00:12:58 verbose #31927 > │ let v7 : bool = v4 = false │
00:12:58 verbose #31928 > │ if v7 then │
00:12:58 verbose #31929 > │ failwith<unit> v6 │
00:12:58 verbose #31930 > │ method0() │
00:12:58 verbose #31931 > │ │
00:12:58 verbose #31932 > │ assert_eq / actual: 0.0 / expected: 0.0 │
00:12:58 verbose #31933 > │ │
00:12:58 verbose #31934 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:58 verbose #31935 >
00:12:58 verbose #31936 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:58 verbose #31937 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:58 verbose #31938 > │ ## ceil │
00:12:58 verbose #31939 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:58 verbose #31940 >
00:12:58 verbose #31941 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:58 verbose #31942 > inl ceil forall t {float}. (n : t) : t =
00:12:58 verbose #31943 > n |> $'ceil'
00:12:58 verbose #31944 > 00:12:57 debug #558 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/87d6a1efd939c986a12af4c0deaea4f06551c664c0a9649cd40ee2c65f44905e/main.spi
00:12:58 verbose #31945 >
00:12:58 verbose #31946 > ╭─[ 607.60ms - stdout ]────────────────────────────────────────────────────────╮
00:12:58 verbose #31947 > │ () │
00:12:58 verbose #31948 > │ │
00:12:58 verbose #31949 > │ │
00:12:58 verbose #31950 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:58 verbose #31951 >
00:12:58 verbose #31952 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:58 verbose #31953 > //// test
00:12:58 verbose #31954 >
00:12:58 verbose #31955 > 0.6 |> ceil
00:12:58 verbose #31956 > |> _assert_eq 1f64
00:12:59 verbose #31957 > 00:12:58 debug #559 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d425c94db1404487d453d86625ad5a4f269838ab84f327580784f5eaec2693cf/main.spi
00:12:59 verbose #31958 >
00:12:59 verbose #31959 > ╭─[ 686.25ms - stdout ]────────────────────────────────────────────────────────╮
00:12:59 verbose #31960 > │ let rec method1 (v0 : bool) : bool = │
00:12:59 verbose #31961 > │ v0 │
00:12:59 verbose #31962 > │ and method0 () : unit = │
00:12:59 verbose #31963 > │ let v0 : (float -> float) = ceil │
00:12:59 verbose #31964 > │ let v1 : float = v0 0.6 │
00:12:59 verbose #31965 > │ let v2 : bool = v1 = 1.0 │
00:12:59 verbose #31966 > │ let v4 : bool = │
00:12:59 verbose #31967 > │ if v2 then │
00:12:59 verbose #31968 > │ true │
00:12:59 verbose #31969 > │ else │
00:12:59 verbose #31970 > │ method1(v2) │
00:12:59 verbose #31971 > │ let v5 : string = "assert_eq" │
00:12:59 verbose #31972 > │ let v6 : string = $"{v5} / actual: %A{v1} / expected: %A{1.0}" │
00:12:59 verbose #31973 > │ System.Console.WriteLine v6 │
00:12:59 verbose #31974 > │ let v7 : bool = v4 = false │
00:12:59 verbose #31975 > │ if v7 then │
00:12:59 verbose #31976 > │ failwith<unit> v6 │
00:12:59 verbose #31977 > │ method0() │
00:12:59 verbose #31978 > │ │
00:12:59 verbose #31979 > │ assert_eq / actual: 1.0 / expected: 1.0 │
00:12:59 verbose #31980 > │ │
00:12:59 verbose #31981 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:59 verbose #31982 >
00:12:59 verbose #31983 > ── markdown ────────────────────────────────────────────────────────────────────
00:12:59 verbose #31984 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:12:59 verbose #31985 > │ ## round │
00:12:59 verbose #31986 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:12:59 verbose #31987 >
00:12:59 verbose #31988 > ── spiral ──────────────────────────────────────────────────────────────────────
00:12:59 verbose #31989 > inl round forall t {float}. (n : t) : t =
00:12:59 verbose #31990 > n |> $'round'
00:13:00 verbose #31991 > 00:12:59 debug #560 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c230b70545f40fc781f11d7514cc5273669648fc62a00941d4d8f93cd31b772a/main.spi
00:13:00 verbose #31992 >
00:13:00 verbose #31993 > ╭─[ 634.03ms - stdout ]────────────────────────────────────────────────────────╮
00:13:00 verbose #31994 > │ () │
00:13:00 verbose #31995 > │ │
00:13:00 verbose #31996 > │ │
00:13:00 verbose #31997 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:00 verbose #31998 >
00:13:00 verbose #31999 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:00 verbose #32000 > //// test
00:13:00 verbose #32001 >
00:13:00 verbose #32002 > 0.5 |> round
00:13:00 verbose #32003 > |> _assert_eq 0f64
00:13:00 verbose #32004 >
00:13:00 verbose #32005 > 1.5 |> round
00:13:00 verbose #32006 > |> _assert_eq 2f64
00:13:00 verbose #32007 >
00:13:00 verbose #32008 > 2.5 |> round
00:13:00 verbose #32009 > |> _assert_eq 2f64
00:13:00 verbose #32010 >
00:13:00 verbose #32011 > 3.5 |> round
00:13:00 verbose #32012 > |> _assert_eq 4f64
00:13:00 verbose #32013 > 00:12:59 debug #561 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/08528633fca4cda2eac091c9cb2343eccda74c15ac65687ff98a9c0416ade7f0/main.spi
00:13:00 verbose #32014 >
00:13:00 verbose #32015 > ╭─[ 632.95ms - stdout ]────────────────────────────────────────────────────────╮
00:13:00 verbose #32016 > │ let rec method1 (v0 : bool) : bool = │
00:13:00 verbose #32017 > │ v0 │
00:13:00 verbose #32018 > │ and method0 () : unit = │
00:13:00 verbose #32019 > │ let v0 : (float -> float) = round │
00:13:00 verbose #32020 > │ let v1 : float = v0 0.5 │
00:13:00 verbose #32021 > │ let v2 : bool = v1 = 0.0 │
00:13:00 verbose #32022 > │ let v4 : bool = │
00:13:00 verbose #32023 > │ if v2 then │
00:13:00 verbose #32024 > │ true │
00:13:00 verbose #32025 > │ else │
00:13:00 verbose #32026 > │ method1(v2) │
00:13:00 verbose #32027 > │ let v5 : string = "assert_eq" │
00:13:00 verbose #32028 > │ let v6 : string = $"{v5} / actual: %A{v1} / expected: %A{0.0}" │
00:13:00 verbose #32029 > │ System.Console.WriteLine v6 │
00:13:00 verbose #32030 > │ let v7 : bool = v4 = false │
00:13:00 verbose #32031 > │ if v7 then │
00:13:00 verbose #32032 > │ failwith<unit> v6 │
00:13:00 verbose #32033 > │ let v8 : (float -> float) = round │
00:13:00 verbose #32034 > │ let v9 : float = v8 1.5 │
00:13:00 verbose #32035 > │ let v10 : bool = v9 = 2.0 │
00:13:00 verbose #32036 > │ let v12 : bool = │
00:13:00 verbose #32037 > │ if v10 then │
00:13:00 verbose #32038 > │ true │
00:13:00 verbose #32039 > │ else │
00:13:00 verbose #32040 > │ method1(v10) │
00:13:00 verbose #32041 > │ let v13 : string = $"{v5} / actual: %A{v9} / expected: %A{2.0}" │
00:13:00 verbose #32042 > │ System.Console.WriteLine v13 │
00:13:00 verbose #32043 > │ let v14 : bool = v12 = false │
00:13:00 verbose #32044 > │ if v14 then │
00:13:00 verbose #32045 > │ failwith<unit> v13 │
00:13:00 verbose #32046 > │ let v15 : (float -> float) = round │
00:13:00 verbose #32047 > │ let v16 : float = v15 2.5 │
00:13:00 verbose #32048 > │ let v17 : bool = v16 = 2.0 │
00:13:00 verbose #32049 > │ let v19 : bool = │
00:13:00 verbose #32050 > │ if v17 then │
00:13:00 verbose #32051 > │ true │
00:13:00 verbose #32052 > │ else │
00:13:00 verbose #32053 > │ method1(v17) │
00:13:00 verbose #32054 > │ let v20 : string = $"{v5} / actual: %A{v16} / expected: %A{2.0}" │
00:13:00 verbose #32055 > │ System.Console.WriteLine v20 │
00:13:00 verbose #32056 > │ let v21 : bool = v19 = false │
00:13:00 verbose #32057 > │ if v21 then │
00:13:00 verbose #32058 > │ failwith<unit> v20 │
00:13:00 verbose #32059 > │ let v22 : (float -> float) = round │
00:13:00 verbose #32060 > │ let v23 : float = v22 3.5 │
00:13:00 verbose #32061 > │ let v24 : bool = v23 = 4.0 │
00:13:00 verbose #32062 > │ let v26 : bool = │
00:13:00 verbose #32063 > │ if v24 then │
00:13:00 verbose #32064 > │ true │
00:13:00 verbose #32065 > │ else │
00:13:00 verbose #32066 > │ method1(v24) │
00:13:00 verbose #32067 > │ let v27 : string = $"{v5} / actual: %A{v23} / expected: %A{4.0}" │
00:13:00 verbose #32068 > │ System.Console.WriteLine v27 │
00:13:00 verbose #32069 > │ let v28 : bool = v26 = false │
00:13:00 verbose #32070 > │ if v28 then │
00:13:00 verbose #32071 > │ failwith<unit> v27 │
00:13:00 verbose #32072 > │ method0() │
00:13:00 verbose #32073 > │ │
00:13:00 verbose #32074 > │ assert_eq / actual: 0.0 / expected: 0.0 │
00:13:00 verbose #32075 > │ assert_eq / actual: 2.0 / expected: 2.0 │
00:13:00 verbose #32076 > │ assert_eq / actual: 2.0 / expected: 2.0 │
00:13:00 verbose #32077 > │ assert_eq / actual: 4.0 / expected: 4.0 │
00:13:00 verbose #32078 > │ │
00:13:00 verbose #32079 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:00 verbose #32080 >
00:13:00 verbose #32081 > ── markdown ────────────────────────────────────────────────────────────────────
00:13:00 verbose #32082 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:00 verbose #32083 > │ ## log_base │
00:13:00 verbose #32084 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:00 verbose #32085 >
00:13:00 verbose #32086 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:00 verbose #32087 > inl log_base (new_base : f64) (a : f64) =
00:13:00 verbose #32088 > $"System.Math.Log (!a, !new_base)" : f64
00:13:01 verbose #32089 > 00:13:00 debug #562 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fe1ccdd63aea64d1432869f32423750283a1b6e989071d995f4bbc71eb1739dc/main.spi
00:13:01 verbose #32090 >
00:13:01 verbose #32091 > ╭─[ 611.80ms - stdout ]────────────────────────────────────────────────────────╮
00:13:01 verbose #32092 > │ () │
00:13:01 verbose #32093 > │ │
00:13:01 verbose #32094 > │ │
00:13:01 verbose #32095 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:01 verbose #32096 >
00:13:01 verbose #32097 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:01 verbose #32098 > //// test
00:13:01 verbose #32099 >
00:13:01 verbose #32100 > 100 |> log_base 10
00:13:01 verbose #32101 > |> _assert_eq 2
00:13:01 verbose #32102 > 00:13:00 debug #563 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4cbd516b4dd34f3c14e79adf99f3554a5c04e0a69f2f8b4d9062fa6408d1c662/main.spi
00:13:02 verbose #32103 >
00:13:02 verbose #32104 > ╭─[ 637.36ms - stdout ]────────────────────────────────────────────────────────╮
00:13:02 verbose #32105 > │ let rec method1 (v0 : bool) : bool = │
00:13:02 verbose #32106 > │ v0 │
00:13:02 verbose #32107 > │ and method0 () : unit = │
00:13:02 verbose #32108 > │ let v0 : float = System.Math.Log (100.0, 10.0) │
00:13:02 verbose #32109 > │ let v1 : bool = v0 = 2.0 │
00:13:02 verbose #32110 > │ let v3 : bool = │
00:13:02 verbose #32111 > │ if v1 then │
00:13:02 verbose #32112 > │ true │
00:13:02 verbose #32113 > │ else │
00:13:02 verbose #32114 > │ method1(v1) │
00:13:02 verbose #32115 > │ let v4 : string = "assert_eq" │
00:13:02 verbose #32116 > │ let v5 : string = $"{v4} / actual: %A{v0} / expected: %A{2.0}" │
00:13:02 verbose #32117 > │ System.Console.WriteLine v5 │
00:13:02 verbose #32118 > │ let v6 : bool = v3 = false │
00:13:02 verbose #32119 > │ if v6 then │
00:13:02 verbose #32120 > │ failwith<unit> v5 │
00:13:02 verbose #32121 > │ method0() │
00:13:02 verbose #32122 > │ │
00:13:02 verbose #32123 > │ assert_eq / actual: 2.0 / expected: 2.0 │
00:13:02 verbose #32124 > │ │
00:13:02 verbose #32125 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:02 verbose #32126 >
00:13:02 verbose #32127 > ── markdown ────────────────────────────────────────────────────────────────────
00:13:02 verbose #32128 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:02 verbose #32129 > │ ## round │
00:13:02 verbose #32130 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:02 verbose #32131 >
00:13:02 verbose #32132 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:02 verbose #32133 > inl round forall t {float}. (x : t) : t =
00:13:02 verbose #32134 > $"round !x"
00:13:02 verbose #32135 > 00:13:01 debug #564 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ea03abe285ff80eb96569cc7a8e851ffdcb07aa8697f574edb1d83a6e8d0423b/main.spi
00:13:02 verbose #32136 >
00:13:02 verbose #32137 > ╭─[ 619.42ms - stdout ]────────────────────────────────────────────────────────╮
00:13:02 verbose #32138 > │ () │
00:13:02 verbose #32139 > │ │
00:13:02 verbose #32140 > │ │
00:13:02 verbose #32141 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:02 verbose #32142 >
00:13:02 verbose #32143 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:02 verbose #32144 > //// test
00:13:02 verbose #32145 >
00:13:02 verbose #32146 > 0.5 |> round
00:13:02 verbose #32147 > |> _assert_eq 0f64
00:13:03 verbose #32148 > 00:13:02 debug #565 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a22f6a69701c39fc60108ac676053e61bd2fdc7de21a04f67c490d0b112929a5/main.spi
00:13:03 verbose #32149 >
00:13:03 verbose #32150 > ╭─[ 634.20ms - stdout ]────────────────────────────────────────────────────────╮
00:13:03 verbose #32151 > │ let rec method1 (v0 : bool) : bool = │
00:13:03 verbose #32152 > │ v0 │
00:13:03 verbose #32153 > │ and method0 () : unit = │
00:13:03 verbose #32154 > │ let v0 : float = round 0.5 │
00:13:03 verbose #32155 > │ let v1 : bool = v0 = 0.0 │
00:13:03 verbose #32156 > │ let v3 : bool = │
00:13:03 verbose #32157 > │ if v1 then │
00:13:03 verbose #32158 > │ true │
00:13:03 verbose #32159 > │ else │
00:13:03 verbose #32160 > │ method1(v1) │
00:13:03 verbose #32161 > │ let v4 : string = "assert_eq" │
00:13:03 verbose #32162 > │ let v5 : string = $"{v4} / actual: %A{v0} / expected: %A{0.0}" │
00:13:03 verbose #32163 > │ System.Console.WriteLine v5 │
00:13:03 verbose #32164 > │ let v6 : bool = v3 = false │
00:13:03 verbose #32165 > │ if v6 then │
00:13:03 verbose #32166 > │ failwith<unit> v5 │
00:13:03 verbose #32167 > │ method0() │
00:13:03 verbose #32168 > │ │
00:13:03 verbose #32169 > │ assert_eq / actual: 0.0 / expected: 0.0 │
00:13:03 verbose #32170 > │ │
00:13:03 verbose #32171 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:03 verbose #32172 >
00:13:03 verbose #32173 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:03 verbose #32174 > //// test
00:13:03 verbose #32175 >
00:13:03 verbose #32176 > 0.6 |> round
00:13:03 verbose #32177 > |> _assert_eq 1f64
00:13:03 verbose #32178 > 00:13:02 debug #566 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/74044858f29459e741694fcef7286863af97ba2f1861608aa6273e0e33d5777c/main.spi
00:13:04 verbose #32179 >
00:13:04 verbose #32180 > ╭─[ 672.31ms - stdout ]────────────────────────────────────────────────────────╮
00:13:04 verbose #32181 > │ let rec method1 (v0 : bool) : bool = │
00:13:04 verbose #32182 > │ v0 │
00:13:04 verbose #32183 > │ and method0 () : unit = │
00:13:04 verbose #32184 > │ let v0 : float = round 0.6 │
00:13:04 verbose #32185 > │ let v1 : bool = v0 = 1.0 │
00:13:04 verbose #32186 > │ let v3 : bool = │
00:13:04 verbose #32187 > │ if v1 then │
00:13:04 verbose #32188 > │ true │
00:13:04 verbose #32189 > │ else │
00:13:04 verbose #32190 > │ method1(v1) │
00:13:04 verbose #32191 > │ let v4 : string = "assert_eq" │
00:13:04 verbose #32192 > │ let v5 : string = $"{v4} / actual: %A{v0} / expected: %A{1.0}" │
00:13:04 verbose #32193 > │ System.Console.WriteLine v5 │
00:13:04 verbose #32194 > │ let v6 : bool = v3 = false │
00:13:04 verbose #32195 > │ if v6 then │
00:13:04 verbose #32196 > │ failwith<unit> v5 │
00:13:04 verbose #32197 > │ method0() │
00:13:04 verbose #32198 > │ │
00:13:04 verbose #32199 > │ assert_eq / actual: 1.0 / expected: 1.0 │
00:13:04 verbose #32200 > │ │
00:13:04 verbose #32201 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:04 verbose #32202 >
00:13:04 verbose #32203 > ── markdown ────────────────────────────────────────────────────────────────────
00:13:04 verbose #32204 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:04 verbose #32205 > │ ## square │
00:13:04 verbose #32206 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:04 verbose #32207 >
00:13:04 verbose #32208 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:04 verbose #32209 > inl square x =
00:13:04 verbose #32210 > x ** 2
00:13:04 verbose #32211 > 00:13:03 debug #567 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2c9263637b506ad956889ae7dc41a7c1cc8bdfa5ade424803b3faff68cadecd8/main.spi
00:13:04 verbose #32212 >
00:13:04 verbose #32213 > ╭─[ 625.03ms - stdout ]────────────────────────────────────────────────────────╮
00:13:04 verbose #32214 > │ () │
00:13:04 verbose #32215 > │ │
00:13:04 verbose #32216 > │ │
00:13:04 verbose #32217 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:04 verbose #32218 >
00:13:04 verbose #32219 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:04 verbose #32220 > //// test
00:13:04 verbose #32221 >
00:13:04 verbose #32222 > 5f64
00:13:04 verbose #32223 > |> sqrt
00:13:04 verbose #32224 > |> square
00:13:04 verbose #32225 > |> _assert_approx_eq None 5
00:13:05 verbose #32226 > 00:13:04 debug #568 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4e7292fc7d34c9a99c0703ea91ce963f633618e2919b1955a8b44b74777790c6/main.spi
00:13:05 verbose #32227 >
00:13:05 verbose #32228 > ╭─[ 626.49ms - stdout ]────────────────────────────────────────────────────────╮
00:13:05 verbose #32229 > │ let rec method0 () : unit = │
00:13:05 verbose #32230 > │ let v0 : string = "assert_approx_eq" │
00:13:05 verbose #32231 > │ let v1 : string = $"{v0} / actual: %A{5.000000000000001} / expected: │
00:13:05 verbose #32232 > │ %A{5.0}" │
00:13:05 verbose #32233 > │ System.Console.WriteLine v1 │
00:13:05 verbose #32234 > │ () │
00:13:05 verbose #32235 > │ method0() │
00:13:05 verbose #32236 > │ │
00:13:05 verbose #32237 > │ assert_approx_eq / actual: 5.0 / expected: 5.0 │
00:13:05 verbose #32238 > │ │
00:13:05 verbose #32239 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:05 verbose #32240 >
00:13:05 verbose #32241 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:05 verbose #32242 > //// test
00:13:05 verbose #32243 >
00:13:05 verbose #32244 > e () |> square
00:13:05 verbose #32245 > |> _assert_approx_eq None 7.3890560989306495
00:13:05 verbose #32246 > 00:13:04 debug #569 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b9e73bd3e761005c3edfda2cbdb0f246708e23cc64545293cad0b84402d14d93/main.spi
00:13:05 verbose #32247 >
00:13:05 verbose #32248 > ╭─[ 617.68ms - stdout ]────────────────────────────────────────────────────────╮
00:13:05 verbose #32249 > │ let rec method0 () : unit = │
00:13:05 verbose #32250 > │ let v0 : string = "assert_approx_eq" │
00:13:05 verbose #32251 > │ let v1 : string = $"{v0} / actual: %A{7.3890560989306495} / expected: │
00:13:05 verbose #32252 > │ %A{7.3890560989306495}" │
00:13:05 verbose #32253 > │ System.Console.WriteLine v1 │
00:13:05 verbose #32254 > │ () │
00:13:05 verbose #32255 > │ method0() │
00:13:05 verbose #32256 > │ │
00:13:05 verbose #32257 > │ assert_approx_eq / actual: 7.389056099 / expected: 7.389056099 │
00:13:05 verbose #32258 > │ │
00:13:05 verbose #32259 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:08 verbose #32260 > [NbConvertApp] Converting notebook math.dib.ipynb to html
00:13:08 verbose #32261 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:13:08 verbose #32262 > validate(nb)
00:13:10 verbose #32263 > [NbConvertApp] Writing 313413 bytes to math.dib.html
00:13:11 debug #32264 execute_with_options_async / exit_code: 0 / output.Length: 35992
00:13:11 debug #16 main / executeCommand / exitCode: 0
00:13:11 debug #32265 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 \"optionm'.dib\" -Retries 3"",
[||], None, None, None)
00:13:13 verbose #32266 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: optionm'.dib / _args: [
00:13:13 verbose #32267 > "-Retries",
00:13:13 verbose #32268 > 3
00:13:13 verbose #32269 > ]
00:13:22 verbose #32270 >
00:13:22 verbose #32271 > ── markdown ────────────────────────────────────────────────────────────────────
00:13:22 verbose #32272 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:22 verbose #32273 > │ # optionm │
00:13:22 verbose #32274 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:23 verbose #32275 >
00:13:23 verbose #32276 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:23 verbose #32277 > //// test
00:13:23 verbose #32278 >
00:13:23 verbose #32279 > open testing
00:13:23 verbose #32280 >
00:13:23 verbose #32281 > ── spiral - import ─────────────────────────────────────────────────────────────
00:13:23 verbose #32282 > #r
00:13:23 verbose #32283 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:13:23 verbose #32284 > otNet.Interactive.Spiral.dll"
00:13:23 verbose #32285 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:13:23 verbose #32286 > #r
00:13:23 verbose #32287 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:13:23 verbose #32288 > otNet.Interactive.dll"
00:13:23 verbose #32289 > open type Microsoft.DotNet.Interactive.Kernel
00:13:46 verbose #32290 > 00:13:45 debug #570 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:13:48 verbose #32291 >
00:13:48 verbose #32292 > ╭─[ 25.89s - stdout ]──────────────────────────────────────────────────────────╮
00:13:49 verbose #32293 > │ () │
00:13:49 verbose #32294 > │ │
00:13:49 verbose #32295 > │ │
00:13:49 verbose #32296 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:49 verbose #32297 >
00:13:49 verbose #32298 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:49 verbose #32299 > open rust_operators
00:13:50 verbose #32300 > 00:13:49 debug #571 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9a6e9c279d2afa68c45190010644e01d975f289b3d25e7276d477d0fcedda643/main.spi
00:13:51 verbose #32301 >
00:13:51 verbose #32302 > ╭─[ 2.20s - stdout ]───────────────────────────────────────────────────────────╮
00:13:51 verbose #32303 > │ () │
00:13:51 verbose #32304 > │ │
00:13:51 verbose #32305 > │ │
00:13:51 verbose #32306 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:51 verbose #32307 >
00:13:51 verbose #32308 > ── markdown ────────────────────────────────────────────────────────────────────
00:13:51 verbose #32309 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:13:51 verbose #32310 > │ ## default_value │
00:13:51 verbose #32311 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:51 verbose #32312 >
00:13:52 verbose #32313 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:52 verbose #32314 > inl default_value d =
00:13:52 verbose #32315 > optionm.defaultWith d
00:13:54 verbose #32316 > 00:13:53 debug #572 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8fcc5f5ae0b01bdead2af4e9c273565bd45048a529623b91b6d69ffcdc46b410/main.spi
00:13:55 verbose #32317 >
00:13:56 verbose #32318 > ╭─[ 4.14s - stdout ]───────────────────────────────────────────────────────────╮
00:13:56 verbose #32319 > │ () │
00:13:56 verbose #32320 > │ │
00:13:56 verbose #32321 > │ │
00:13:56 verbose #32322 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:13:58 verbose #32323 >
00:13:58 verbose #32324 > ── spiral ──────────────────────────────────────────────────────────────────────
00:13:59 verbose #32325 > //// test
00:13:59 verbose #32326 >
00:13:59 verbose #32327 > None
00:13:59 verbose #32328 > |> default_value 3i32
00:13:59 verbose #32329 > |> _assert_eq 3i32
00:14:03 verbose #32330 > 00:14:02 debug #573 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3279db906780203629f900f7daedd6c1857fc100744a0cb0d94a15875b7f85f5/main.spi
00:14:09 verbose #32331 >
00:14:09 verbose #32332 > ╭─[ 12.45s - stdout ]──────────────────────────────────────────────────────────╮
00:14:09 verbose #32333 > │ let rec method0 () : unit = │
00:14:09 verbose #32334 > │ let v0 : string = "assert_eq" │
00:14:09 verbose #32335 > │ let v1 : string = $"{v0} / actual: %A{3} / expected: %A{3}" │
00:14:09 verbose #32336 > │ System.Console.WriteLine v1 │
00:14:09 verbose #32337 > │ () │
00:14:09 verbose #32338 > │ method0() │
00:14:09 verbose #32339 > │ │
00:14:09 verbose #32340 > │ assert_eq / actual: 3 / expected: 3 │
00:14:09 verbose #32341 > │ │
00:14:09 verbose #32342 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:09 verbose #32343 >
00:14:09 verbose #32344 > ── markdown ────────────────────────────────────────────────────────────────────
00:14:09 verbose #32345 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:09 verbose #32346 > │ ## (/??) │
00:14:09 verbose #32347 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:09 verbose #32348 >
00:14:10 verbose #32349 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:10 verbose #32350 > inl (/??) a b =
00:14:11 verbose #32351 > a |> default_value b
00:14:13 verbose #32352 > 00:14:12 debug #574 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/50c4174fa169965e708dc23796f42fefbd13fe4ba1516feb6a1fe8eedbbad579/main.spi
00:14:15 verbose #32353 >
00:14:15 verbose #32354 > ╭─[ 6.12s - stdout ]───────────────────────────────────────────────────────────╮
00:14:15 verbose #32355 > │ () │
00:14:15 verbose #32356 > │ │
00:14:15 verbose #32357 > │ │
00:14:15 verbose #32358 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:16 verbose #32359 >
00:14:17 verbose #32360 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:17 verbose #32361 > //// test
00:14:17 verbose #32362 >
00:14:17 verbose #32363 > None /?? 3i32
00:14:17 verbose #32364 > |> _assert_eq 3i32
00:14:21 verbose #32365 > 00:14:20 debug #575 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0d00c1b930d35403836b7988aaef1e569dfc88fb29a3c9ee9de7f342d420864f/main.spi
00:14:24 verbose #32366 >
00:14:24 verbose #32367 > ╭─[ 8.66s - stdout ]───────────────────────────────────────────────────────────╮
00:14:24 verbose #32368 > │ let rec method0 () : unit = │
00:14:24 verbose #32369 > │ let v0 : string = "assert_eq" │
00:14:24 verbose #32370 > │ let v1 : string = $"{v0} / actual: %A{3} / expected: %A{3}" │
00:14:24 verbose #32371 > │ System.Console.WriteLine v1 │
00:14:24 verbose #32372 > │ () │
00:14:24 verbose #32373 > │ method0() │
00:14:24 verbose #32374 > │ │
00:14:24 verbose #32375 > │ assert_eq / actual: 3 / expected: 3 │
00:14:24 verbose #32376 > │ │
00:14:24 verbose #32377 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:24 verbose #32378 >
00:14:24 verbose #32379 > ── markdown ────────────────────────────────────────────────────────────────────
00:14:24 verbose #32380 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:24 verbose #32381 > │ ## default_with │
00:14:24 verbose #32382 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:24 verbose #32383 >
00:14:24 verbose #32384 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:24 verbose #32385 > inl default_with fn = function
00:14:24 verbose #32386 > | Some x => x
00:14:24 verbose #32387 > | None => fn ()
00:14:28 verbose #32388 > 00:14:27 debug #576 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e413f2063ec953ce87fd1e37f803740883565775b56a1f5dbbe63ead1b826556/main.spi
00:14:29 verbose #32389 >
00:14:29 verbose #32390 > ╭─[ 4.57s - stdout ]───────────────────────────────────────────────────────────╮
00:14:29 verbose #32391 > │ () │
00:14:29 verbose #32392 > │ │
00:14:29 verbose #32393 > │ │
00:14:29 verbose #32394 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:29 verbose #32395 >
00:14:29 verbose #32396 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:29 verbose #32397 > //// test
00:14:29 verbose #32398 >
00:14:29 verbose #32399 > None
00:14:29 verbose #32400 > |> default_with fun () => 3i32
00:14:29 verbose #32401 > |> _assert_eq 3i32
00:14:32 verbose #32402 > 00:14:31 debug #577 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ebf4292c9083146aa118b1f0280c8b6a855c52cff60e752ec53b692b41714e66/main.spi
00:14:33 verbose #32403 >
00:14:33 verbose #32404 > ╭─[ 3.89s - stdout ]───────────────────────────────────────────────────────────╮
00:14:33 verbose #32405 > │ let rec method0 () : unit = │
00:14:33 verbose #32406 > │ let v0 : string = "assert_eq" │
00:14:33 verbose #32407 > │ let v1 : string = $"{v0} / actual: %A{3} / expected: %A{3}" │
00:14:33 verbose #32408 > │ System.Console.WriteLine v1 │
00:14:33 verbose #32409 > │ () │
00:14:33 verbose #32410 > │ method0() │
00:14:33 verbose #32411 > │ │
00:14:33 verbose #32412 > │ assert_eq / actual: 3 / expected: 3 │
00:14:33 verbose #32413 > │ │
00:14:33 verbose #32414 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:33 verbose #32415 >
00:14:33 verbose #32416 > ── markdown ────────────────────────────────────────────────────────────────────
00:14:33 verbose #32417 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:33 verbose #32418 > │ ## choose │
00:14:33 verbose #32419 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:33 verbose #32420 >
00:14:33 verbose #32421 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:33 verbose #32422 > inl choose fn a b =
00:14:33 verbose #32423 > match a, b with
00:14:33 verbose #32424 > | Some x, Some y => fn x y |> Some
00:14:33 verbose #32425 > | _ => None
00:14:43 verbose #32426 > 00:14:42 debug #578 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6d68d6cb6f83b48423801a62551067be1fb902399cadb80f03fee2a3ae115f85/main.spi
00:14:44 verbose #32427 >
00:14:44 verbose #32428 > ╭─[ 11.39s - stdout ]──────────────────────────────────────────────────────────╮
00:14:44 verbose #32429 > │ () │
00:14:44 verbose #32430 > │ │
00:14:44 verbose #32431 > │ │
00:14:44 verbose #32432 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:44 verbose #32433 >
00:14:44 verbose #32434 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:44 verbose #32435 > //// test
00:14:44 verbose #32436 >
00:14:44 verbose #32437 > (Some 2i32, Some 3)
00:14:44 verbose #32438 > ||> choose (+)
00:14:44 verbose #32439 > |> _assert_eq (Some 5)
00:14:49 verbose #32440 > 00:14:48 debug #579 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5cb2f837bdd4e4512d3a71ec92818d0147001170862e99cc4e1abc3f7f956c71/main.spi
00:14:53 verbose #32441 >
00:14:53 verbose #32442 > ╭─[ 8.56s - stdout ]───────────────────────────────────────────────────────────╮
00:14:53 verbose #32443 > │ type [<Struct>] US0 = │
00:14:53 verbose #32444 > │ | US0_0 of f0_0 : int32 │
00:14:53 verbose #32445 > │ | US0_1 │
00:14:53 verbose #32446 > │ let rec method0 () : unit = │
00:14:53 verbose #32447 > │ let v3 : string = "assert_eq" │
00:14:53 verbose #32448 > │ let v4 : US0 = US0_0(5) │
00:14:53 verbose #32449 > │ let v5 : US0 = US0_0(5) │
00:14:53 verbose #32450 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:14:53 verbose #32451 > │ System.Console.WriteLine v6 │
00:14:53 verbose #32452 > │ () │
00:14:53 verbose #32453 > │ method0() │
00:14:53 verbose #32454 > │ │
00:14:53 verbose #32455 > │ assert_eq / actual: US0_0 5 / expected: US0_0 5 │
00:14:53 verbose #32456 > │ │
00:14:53 verbose #32457 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:53 verbose #32458 >
00:14:53 verbose #32459 > ── markdown ────────────────────────────────────────────────────────────────────
00:14:53 verbose #32460 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:14:53 verbose #32461 > │ ## iter │
00:14:53 verbose #32462 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:53 verbose #32463 >
00:14:54 verbose #32464 > ── spiral ──────────────────────────────────────────────────────────────────────
00:14:54 verbose #32465 > inl iter fn = function
00:14:54 verbose #32466 > | Some x => fn x
00:14:55 verbose #32467 > | None => ()
00:14:57 verbose #32468 > 00:14:56 debug #580 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0017930852518520ab256e1bd940ffb564ceed8b11fa4d875357fc8d641a71c0/main.spi
00:14:58 verbose #32469 >
00:14:58 verbose #32470 > ╭─[ 5.07s - stdout ]───────────────────────────────────────────────────────────╮
00:14:58 verbose #32471 > │ () │
00:14:59 verbose #32472 > │ │
00:14:59 verbose #32473 > │ │
00:14:59 verbose #32474 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:14:59 verbose #32475 >
00:15:00 verbose #32476 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:00 verbose #32477 > //// test
00:15:00 verbose #32478 >
00:15:00 verbose #32479 > inl n = mut 1i32
00:15:00 verbose #32480 > inl fn =
00:15:00 verbose #32481 > fun n' =>
00:15:00 verbose #32482 > n <- *n + n'
00:15:00 verbose #32483 > Some 1i32 |> iter fn
00:15:00 verbose #32484 > None |> iter fn
00:15:00 verbose #32485 > *n
00:15:00 verbose #32486 > |> _assert_eq 2i32
00:15:01 verbose #32487 > 00:15:00 debug #581 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fce369923db8e0196809d4c1060a8fdab7a9fad340eb14760f2daff68c49e47b/main.spi
00:15:03 verbose #32488 >
00:15:03 verbose #32489 > ╭─[ 4.13s - stdout ]───────────────────────────────────────────────────────────╮
00:15:03 verbose #32490 > │ type Mut0 = {mutable l0 : int32} │
00:15:03 verbose #32491 > │ let rec method1 (v0 : bool) : bool = │
00:15:04 verbose #32492 > │ v0 │
00:15:04 verbose #32493 > │ and method0 () : unit = │
00:15:04 verbose #32494 > │ let v0 : Mut0 = {l0 = 1} : Mut0 │
00:15:04 verbose #32495 > │ let v1 : int32 = v0.l0 │
00:15:04 verbose #32496 > │ let v2 : int32 = v1 + 1 │
00:15:04 verbose #32497 > │ v0.l0 <- v2 │
00:15:04 verbose #32498 > │ let v3 : int32 = v0.l0 │
00:15:04 verbose #32499 > │ let v4 : bool = v3 = 2 │
00:15:04 verbose #32500 > │ let v6 : bool = │
00:15:04 verbose #32501 > │ if v4 then │
00:15:04 verbose #32502 > │ true │
00:15:04 verbose #32503 > │ else │
00:15:04 verbose #32504 > │ method1(v4) │
00:15:04 verbose #32505 > │ let v7 : string = "assert_eq" │
00:15:04 verbose #32506 > │ let v8 : string = $"{v7} / actual: %A{v3} / expected: %A{2}" │
00:15:04 verbose #32507 > │ System.Console.WriteLine v8 │
00:15:04 verbose #32508 > │ let v9 : bool = v6 = false │
00:15:04 verbose #32509 > │ if v9 then │
00:15:04 verbose #32510 > │ failwith<unit> v8 │
00:15:04 verbose #32511 > │ method0() │
00:15:04 verbose #32512 > │ │
00:15:04 verbose #32513 > │ assert_eq / actual: 2 / expected: 2 │
00:15:04 verbose #32514 > │ │
00:15:04 verbose #32515 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:04 verbose #32516 >
00:15:04 verbose #32517 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:04 verbose #32518 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:04 verbose #32519 > │ ## option' │
00:15:04 verbose #32520 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:04 verbose #32521 >
00:15:04 verbose #32522 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:04 verbose #32523 > nominal option' t = $"`t option"
00:15:05 verbose #32524 > 00:15:04 debug #582 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f0a2dda8d3d9b1d95d990c830b9339e065fa182c9c44716bb6c4fde61679f98f/main.spi
00:15:06 verbose #32525 >
00:15:06 verbose #32526 > ╭─[ 2.08s - stdout ]───────────────────────────────────────────────────────────╮
00:15:06 verbose #32527 > │ () │
00:15:06 verbose #32528 > │ │
00:15:06 verbose #32529 > │ │
00:15:06 verbose #32530 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:06 verbose #32531 >
00:15:06 verbose #32532 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:06 verbose #32533 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:06 verbose #32534 > │ ## none' │
00:15:06 verbose #32535 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:06 verbose #32536 >
00:15:06 verbose #32537 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:07 verbose #32538 > inl none' forall t. () : option' t =
00:15:07 verbose #32539 > $'None'
00:15:08 verbose #32540 > 00:15:07 debug #583 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e7bcdc378c498a90e5f363e613f903604ec15b1466f4b9813f172f700caaf69c/main.spi
00:15:09 verbose #32541 >
00:15:09 verbose #32542 > ╭─[ 2.67s - stdout ]───────────────────────────────────────────────────────────╮
00:15:09 verbose #32543 > │ () │
00:15:09 verbose #32544 > │ │
00:15:10 verbose #32545 > │ │
00:15:10 verbose #32546 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:10 verbose #32547 >
00:15:10 verbose #32548 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:10 verbose #32549 > inl some' forall t. (x : t) : option' t =
00:15:10 verbose #32550 > $'Some !x '
00:15:11 verbose #32551 > 00:15:10 debug #584 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c59812215a4bc09bbcb4b7e60aaee568d6cf462d1e4ba0b754dcf140e84b58fe/main.spi
00:15:12 verbose #32552 >
00:15:12 verbose #32553 > ╭─[ 2.31s - stdout ]───────────────────────────────────────────────────────────╮
00:15:12 verbose #32554 > │ () │
00:15:13 verbose #32555 > │ │
00:15:13 verbose #32556 > │ │
00:15:13 verbose #32557 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:13 verbose #32558 >
00:15:13 verbose #32559 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:13 verbose #32560 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:13 verbose #32561 > │ ## map │
00:15:13 verbose #32562 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:13 verbose #32563 >
00:15:13 verbose #32564 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:13 verbose #32565 > inl map forall t u. (fn : t -> u) (x : option' t) : option' u =
00:15:13 verbose #32566 > $'!x |> Option.map !fn '
00:15:15 verbose #32567 > 00:15:14 debug #585 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/54edd1d187d6a36b0d67ab21c787378a579ff75c645c41280306ec79517fb102/main.spi
00:15:15 verbose #32568 >
00:15:15 verbose #32569 > ╭─[ 2.23s - stdout ]───────────────────────────────────────────────────────────╮
00:15:15 verbose #32570 > │ () │
00:15:15 verbose #32571 > │ │
00:15:15 verbose #32572 > │ │
00:15:15 verbose #32573 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:15 verbose #32574 >
00:15:15 verbose #32575 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:15 verbose #32576 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:15 verbose #32577 > │ ## default_value' │
00:15:15 verbose #32578 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:16 verbose #32579 >
00:15:16 verbose #32580 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:16 verbose #32581 > inl default_value' forall t. (value : t) (x : option' t) : t =
00:15:17 verbose #32582 > $'!x |> Option.defaultValue !value '
00:15:20 verbose #32583 > 00:15:19 debug #586 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/617ec64bf68de9211495a9617a48a2cd1a437f961ecbc158b8cc33dcd3d05466/main.spi
00:15:21 verbose #32584 >
00:15:21 verbose #32585 > ╭─[ 5.46s - stdout ]───────────────────────────────────────────────────────────╮
00:15:21 verbose #32586 > │ () │
00:15:22 verbose #32587 > │ │
00:15:22 verbose #32588 > │ │
00:15:22 verbose #32589 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:22 verbose #32590 >
00:15:22 verbose #32591 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:22 verbose #32592 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:22 verbose #32593 > │ ## unbox │
00:15:22 verbose #32594 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:22 verbose #32595 >
00:15:23 verbose #32596 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:23 verbose #32597 > inl unbox forall t. (x : option' t) : option t =
00:15:23 verbose #32598 > // x
00:15:23 verbose #32599 > // |> map Some
00:15:23 verbose #32600 > // |> default_value' None
00:15:23 verbose #32601 > inl some x : option t = Some x
00:15:23 verbose #32602 > inl some = join some
00:15:23 verbose #32603 > inl none : option t = None
00:15:23 verbose #32604 > $'!x |> Option.map !some |> Option.defaultValue !none '
00:15:26 verbose #32605 > 00:15:25 debug #587 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0270bdb88c8ef1a4b237cd738e78a332302fd72f0d4f1531e4061c798d739e9a/main.spi
00:15:27 verbose #32606 >
00:15:27 verbose #32607 > ╭─[ 5.37s - stdout ]───────────────────────────────────────────────────────────╮
00:15:28 verbose #32608 > │ () │
00:15:28 verbose #32609 > │ │
00:15:28 verbose #32610 > │ │
00:15:28 verbose #32611 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:28 verbose #32612 >
00:15:29 verbose #32613 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:29 verbose #32614 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:29 verbose #32615 > │ ## box │
00:15:29 verbose #32616 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:29 verbose #32617 >
00:15:29 verbose #32618 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:30 verbose #32619 > inl box forall t. (x : option t) : option' t =
00:15:30 verbose #32620 > // x
00:15:30 verbose #32621 > // |> optionm.map some'
00:15:30 verbose #32622 > // |> default_with none'
00:15:30 verbose #32623 > match x with
00:15:30 verbose #32624 > | Some x => some' x
00:15:30 verbose #32625 > | None => none' ()
00:15:31 verbose #32626 > 00:15:30 debug #588 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c1968e1c763c3c4f443f2acc7e7ee5d37d4732a1c0a11a82c39b5eac0dd8b4ba/main.spi
00:15:33 verbose #32627 >
00:15:33 verbose #32628 > ╭─[ 3.38s - stdout ]───────────────────────────────────────────────────────────╮
00:15:34 verbose #32629 > │ () │
00:15:35 verbose #32630 > │ │
00:15:35 verbose #32631 > │ │
00:15:35 verbose #32632 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:35 verbose #32633 >
00:15:36 verbose #32634 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:36 verbose #32635 > //// test
00:15:36 verbose #32636 >
00:15:36 verbose #32637 > inl x = Some 3i32
00:15:36 verbose #32638 > inl y : option i32 = None
00:15:36 verbose #32639 > inl x' = x |> box |> unbox
00:15:36 verbose #32640 > inl y' = y |> box |> unbox
00:15:36 verbose #32641 > (x', y') |> _assert_eq (x, y)
00:15:39 verbose #32642 > 00:15:38 debug #589 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c318eadf8ef1256bf71917d09967027c2a68a0e51721b95dbbc12d9e87b11f9a/main.spi
00:15:41 verbose #32643 >
00:15:41 verbose #32644 > ╭─[ 6.02s - stdout ]───────────────────────────────────────────────────────────╮
00:15:41 verbose #32645 > │ type [<Struct>] US0 = │
00:15:41 verbose #32646 > │ | US0_0 of f0_0 : int32 │
00:15:41 verbose #32647 > │ | US0_1 │
00:15:41 verbose #32648 > │ let rec closure0 () (v0 : int32) : US0 = │
00:15:41 verbose #32649 > │ US0_0(v0) │
00:15:41 verbose #32650 > │ and method1 () : (int32 -> US0) = │
00:15:41 verbose #32651 > │ closure0() │
00:15:41 verbose #32652 > │ and method2 (v0 : bool) : bool = │
00:15:41 verbose #32653 > │ v0 │
00:15:41 verbose #32654 > │ and method0 () : unit = │
00:15:41 verbose #32655 > │ let v0 : int32 option = Some 3 │
00:15:42 verbose #32656 > │ let v1 : (int32 -> US0) = method1() │
00:15:42 verbose #32657 > │ let v2 : US0 = US0_1 │
00:15:42 verbose #32658 > │ let v3 : US0 = v0 |> Option.map v1 |> Option.defaultValue v2 │
00:15:42 verbose #32659 > │ let v4 : int32 option = None │
00:15:42 verbose #32660 > │ let v5 : (int32 -> US0) = method1() │
00:15:42 verbose #32661 > │ let v6 : US0 = US0_1 │
00:15:42 verbose #32662 > │ let v7 : US0 = v4 |> Option.map v5 |> Option.defaultValue v6 │
00:15:42 verbose #32663 > │ let v12 : bool = │
00:15:42 verbose #32664 > │ match v3 with │
00:15:42 verbose #32665 > │ | US0_0(v10) -> (* Some *) │
00:15:42 verbose #32666 > │ let v11 : bool = v10 = 3 │
00:15:42 verbose #32667 > │ v11 │
00:15:42 verbose #32668 > │ | _ -> │
00:15:42 verbose #32669 > │ false │
00:15:42 verbose #32670 > │ let v14 : bool = │
00:15:42 verbose #32671 > │ if v12 then │
00:15:42 verbose #32672 > │ match v7 with │
00:15:42 verbose #32673 > │ | US0_1 -> (* None *) │
00:15:42 verbose #32674 > │ true │
00:15:42 verbose #32675 > │ | _ -> │
00:15:42 verbose #32676 > │ false │
00:15:42 verbose #32677 > │ else │
00:15:42 verbose #32678 > │ false │
00:15:42 verbose #32679 > │ let v16 : bool = │
00:15:42 verbose #32680 > │ if v14 then │
00:15:42 verbose #32681 > │ true │
00:15:42 verbose #32682 > │ else │
00:15:42 verbose #32683 > │ method2(v14) │
00:15:42 verbose #32684 > │ let v17 : string = "assert_eq" │
00:15:42 verbose #32685 > │ let v18 : US0 = US0_0(3) │
00:15:42 verbose #32686 > │ let v19 : US0 = US0_1 │
00:15:42 verbose #32687 > │ let v20 : string = $"{v17} / actual: %A{struct (v3, v7)} / expected: │
00:15:42 verbose #32688 > │ %A{struct (v18, v19)}" │
00:15:42 verbose #32689 > │ System.Console.WriteLine v20 │
00:15:42 verbose #32690 > │ let v21 : bool = v16 = false │
00:15:42 verbose #32691 > │ if v21 then │
00:15:42 verbose #32692 > │ failwith<unit> v20 │
00:15:42 verbose #32693 > │ method0() │
00:15:42 verbose #32694 > │ │
00:15:42 verbose #32695 > │ assert_eq / actual: struct (US0_0 3, US0_1) / expected: struct (US0_0 3, │
00:15:42 verbose #32696 > │ US0_1) │
00:15:42 verbose #32697 > │ │
00:15:42 verbose #32698 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:42 verbose #32699 >
00:15:42 verbose #32700 > ── markdown ────────────────────────────────────────────────────────────────────
00:15:42 verbose #32701 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:15:42 verbose #32702 > │ ## of_obj │
00:15:42 verbose #32703 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:42 verbose #32704 >
00:15:42 verbose #32705 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:42 verbose #32706 > inl of_obj forall t. (x : t) : option' t =
00:15:42 verbose #32707 > ($"true in let mutable _!x = None" : bool) |> ignore
00:15:42 verbose #32708 > $"#if \!FABLE_COMPILER && \!WASM && \!CONTRACT"
00:15:42 verbose #32709 > ((x |> $'Option.ofObj') : option' t)
00:15:42 verbose #32710 > |> fun x => $'!x '
00:15:42 verbose #32711 > $"#else"
00:15:42 verbose #32712 > $'Some !x '
00:15:42 verbose #32713 > $"#endif"
00:15:42 verbose #32714 > $"|> fun x -> _!x <- Some x"
00:15:42 verbose #32715 > $'_!x.Value'
00:15:43 verbose #32716 > 00:15:42 debug #590 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e522365c58e7eb80810dda8697cbd0276b0ef7647ebe59965e509c75c0f59b70/main.spi
00:15:43 verbose #32717 >
00:15:43 verbose #32718 > ╭─[ 1.05s - stdout ]───────────────────────────────────────────────────────────╮
00:15:43 verbose #32719 > │ () │
00:15:43 verbose #32720 > │ │
00:15:43 verbose #32721 > │ │
00:15:43 verbose #32722 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:43 verbose #32723 >
00:15:43 verbose #32724 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:43 verbose #32725 > //// test
00:15:43 verbose #32726 >
00:15:43 verbose #32727 > null ()
00:15:43 verbose #32728 > |> of_obj
00:15:43 verbose #32729 > |> unbox
00:15:43 verbose #32730 > |> _assert_eq (None : option string)
00:15:45 verbose #32731 > 00:15:44 debug #591 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f077149b3a59bce92d700f3b5f87cdf8aec86a05327a76a017c927efe2769b55/main.spi
00:15:48 verbose #32732 >
00:15:49 verbose #32733 > ╭─[ 4.52s - stdout ]───────────────────────────────────────────────────────────╮
00:15:49 verbose #32734 > │ type [<Struct>] US0 = │
00:15:50 verbose #32735 > │ | US0_0 of f0_0 : string │
00:15:50 verbose #32736 > │ | US0_1 │
00:15:50 verbose #32737 > │ let rec closure0 () (v0 : string) : US0 = │
00:15:50 verbose #32738 > │ US0_0(v0) │
00:15:50 verbose #32739 > │ and method1 () : (string -> US0) = │
00:15:50 verbose #32740 > │ closure0() │
00:15:50 verbose #32741 > │ and method2 (v0 : bool) : bool = │
00:15:50 verbose #32742 > │ v0 │
00:15:50 verbose #32743 > │ and method0 () : unit = │
00:15:50 verbose #32744 > │ let v0 : string = null |> unbox<string> │
00:15:50 verbose #32745 > │ let v1 : bool = true in let mutable _v0 = None │
00:15:50 verbose #32746 > │ #if !FABLE_COMPILER && !WASM && !CONTRACT │
00:15:50 verbose #32747 > │ let v2 : (string -> string option) = Option.ofObj │
00:15:50 verbose #32748 > │ let v3 : string option = v2 v0 │
00:15:50 verbose #32749 > │ v3 │
00:15:50 verbose #32750 > │ #else │
00:15:50 verbose #32751 > │ Some v0 │
00:15:50 verbose #32752 > │ #endif │
00:15:50 verbose #32753 > │ |> fun x -> _v0 <- Some x │
00:15:50 verbose #32754 > │ let v4 : string option = _v0.Value │
00:15:50 verbose #32755 > │ let v5 : (string -> US0) = method1() │
00:15:50 verbose #32756 > │ let v6 : US0 = US0_1 │
00:15:51 verbose #32757 > │ let v7 : US0 = v4 |> Option.map v5 |> Option.defaultValue v6 │
00:15:51 verbose #32758 > │ let v9 : bool = │
00:15:51 verbose #32759 > │ match v7 with │
00:15:51 verbose #32760 > │ | US0_1 -> (* None *) │
00:15:51 verbose #32761 > │ true │
00:15:51 verbose #32762 > │ | _ -> │
00:15:51 verbose #32763 > │ false │
00:15:51 verbose #32764 > │ let v11 : bool = │
00:15:51 verbose #32765 > │ if v9 then │
00:15:51 verbose #32766 > │ true │
00:15:51 verbose #32767 > │ else │
00:15:51 verbose #32768 > │ method2(v9) │
00:15:51 verbose #32769 > │ let v12 : string = "assert_eq" │
00:15:51 verbose #32770 > │ let v13 : US0 = US0_1 │
00:15:51 verbose #32771 > │ let v14 : string = $"{v12} / actual: %A{v7} / expected: %A{v13}" │
00:15:51 verbose #32772 > │ System.Console.WriteLine v14 │
00:15:51 verbose #32773 > │ let v15 : bool = v11 = false │
00:15:51 verbose #32774 > │ if v15 then │
00:15:51 verbose #32775 > │ failwith<unit> v14 │
00:15:51 verbose #32776 > │ method0() │
00:15:51 verbose #32777 > │ │
00:15:51 verbose #32778 > │ assert_eq / actual: US0_1 / expected: US0_1 │
00:15:51 verbose #32779 > │ │
00:15:51 verbose #32780 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:15:51 verbose #32781 >
00:15:51 verbose #32782 > ── spiral ──────────────────────────────────────────────────────────────────────
00:15:51 verbose #32783 > //// test
00:15:51 verbose #32784 > ///! rust
00:15:51 verbose #32785 >
00:15:51 verbose #32786 > ""
00:15:51 verbose #32787 > |> of_obj
00:15:51 verbose #32788 > |> unbox
00:15:51 verbose #32789 > |> _assert_eq' (Some "")
00:15:53 verbose #32790 > 00:15:52 debug #592 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4d365d342af10996405c2fa2bc2b2acad469681ba1371b73d0617217065d30be/main.spi
00:16:44 verbose #32791 >
00:16:44 verbose #32792 > ╭─[ 52.52s - return value ]────────────────────────────────────────────────────╮
00:16:44 verbose #32793 > │ output: │
00:16:44 verbose #32794 > │ assert_eq' / actual: US0_0("") / expected: US0_0("") │
00:16:44 verbose #32795 > │ │
00:16:44 verbose #32796 > │ │
00:16:44 verbose #32797 > │ │
00:16:44 verbose #32798 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:44 verbose #32799 >
00:16:44 verbose #32800 > ╭─[ 53.07s - stdout ]──────────────────────────────────────────────────────────╮
00:16:44 verbose #32801 > │ .fsx: │
00:16:44 verbose #32802 > │ type [<Struct>] US0 = │
00:16:44 verbose #32803 > │ | US0_0 of f0_0 : string │
00:16:44 verbose #32804 > │ | US0_1 │
00:16:44 verbose #32805 > │ let rec closure0 () (v0 : string) : US0 = │
00:16:45 verbose #32806 > │ US0_0(v0) │
00:16:45 verbose #32807 > │ and method1 () : (string -> US0) = │
00:16:45 verbose #32808 > │ closure0() │
00:16:45 verbose #32809 > │ and method2 (v0 : bool) : bool = │
00:16:45 verbose #32810 > │ v0 │
00:16:45 verbose #32811 > │ and method0 () : unit = │
00:16:45 verbose #32812 > │ let v0 : string = "" │
00:16:45 verbose #32813 > │ let v1 : bool = true in let mutable _v0 = None │
00:16:45 verbose #32814 > │ #if !FABLE_COMPILER && !WASM && !CONTRACT │
00:16:45 verbose #32815 > │ let v2 : (string -> string option) = Option.ofObj │
00:16:45 verbose #32816 > │ let v3 : string option = v2 v0 │
00:16:45 verbose #32817 > │ v3 │
00:16:45 verbose #32818 > │ #else │
00:16:45 verbose #32819 > │ Some v0 │
00:16:45 verbose #32820 > │ #endif │
00:16:45 verbose #32821 > │ |> fun x -> _v0 <- Some x │
00:16:45 verbose #32822 > │ let v4 : string option = _v0.Value │
00:16:45 verbose #32823 > │ let v5 : (string -> US0) = method1() │
00:16:45 verbose #32824 > │ let v6 : US0 = US0_1 │
00:16:45 verbose #32825 > │ let v7 : US0 = v4 |> Option.map v5 |> Option.defaultValue v6 │
00:16:45 verbose #32826 > │ let v8 : US0 = US0_0(v0) │
00:16:45 verbose #32827 > │ let v9 : bool = v7 = v8 │
00:16:45 verbose #32828 > │ let v11 : bool = │
00:16:45 verbose #32829 > │ if v9 then │
00:16:45 verbose #32830 > │ true │
00:16:45 verbose #32831 > │ else │
00:16:45 verbose #32832 > │ method2(v9) │
00:16:45 verbose #32833 > │ let v12 : string = "assert_eq'" │
00:16:45 verbose #32834 > │ let v13 : US0 = US0_0(v0) │
00:16:45 verbose #32835 > │ let v14 : string = $"{v12} / actual: %A{v7} / expected: %A{v13}" │
00:16:45 verbose #32836 > │ System.Console.WriteLine v14 │
00:16:45 verbose #32837 > │ let v15 : bool = v11 = false │
00:16:45 verbose #32838 > │ if v15 then │
00:16:45 verbose #32839 > │ failwith<unit> v14 │
00:16:45 verbose #32840 > │ method0() │
00:16:45 verbose #32841 > │ │
00:16:45 verbose #32842 > │ │
00:16:45 verbose #32843 > │ │
00:16:45 verbose #32844 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:45 verbose #32845 >
00:16:45 verbose #32846 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:45 verbose #32847 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:45 verbose #32848 > │ ## try' │
00:16:45 verbose #32849 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:45 verbose #32850 >
00:16:45 verbose #32851 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:45 verbose #32852 > inl try' forall t. (x : option' t) : t =
00:16:45 verbose #32853 > !\\(x, $'"$0?"')
00:16:46 verbose #32854 > 00:16:45 debug #593 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/db9137a0a74e7c4d06662f3304fdff059225c78c7c9b0b323ce885ec5b859686/main.spi
00:16:46 verbose #32855 >
00:16:46 verbose #32856 > ╭─[ 1.25s - stdout ]───────────────────────────────────────────────────────────╮
00:16:46 verbose #32857 > │ () │
00:16:46 verbose #32858 > │ │
00:16:46 verbose #32859 > │ │
00:16:46 verbose #32860 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:46 verbose #32861 >
00:16:46 verbose #32862 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:46 verbose #32863 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:46 verbose #32864 > │ ## flatten │
00:16:46 verbose #32865 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:46 verbose #32866 >
00:16:46 verbose #32867 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:47 verbose #32868 > inl flatten x =
00:16:47 verbose #32869 > match x with
00:16:47 verbose #32870 > | Some (Some x) => Some x
00:16:47 verbose #32871 > | _ => None
00:16:47 verbose #32872 > 00:16:46 debug #594 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1513e921e4e591c82b5cc4d6c3582928065cac19b87b7b73db3aeb47ee0dfe0c/main.spi
00:16:48 verbose #32873 >
00:16:48 verbose #32874 > ╭─[ 1.41s - stdout ]───────────────────────────────────────────────────────────╮
00:16:48 verbose #32875 > │ () │
00:16:48 verbose #32876 > │ │
00:16:48 verbose #32877 > │ │
00:16:48 verbose #32878 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:48 verbose #32879 >
00:16:48 verbose #32880 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:48 verbose #32881 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:48 verbose #32882 > │ ## unwrap │
00:16:48 verbose #32883 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:48 verbose #32884 >
00:16:48 verbose #32885 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:48 verbose #32886 > inl unwrap forall t. (x : option' t) : t =
00:16:48 verbose #32887 > !\\(x, $'"$0.unwrap()"')
00:16:48 verbose #32888 > 00:16:47 debug #595 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5fe9ffdab285f891dd11f7f44a7cd5a855825e79bcbc0248d3639136e1af7c06/main.spi
00:16:48 verbose #32889 >
00:16:49 verbose #32890 > ╭─[ 821.72ms - stdout ]────────────────────────────────────────────────────────╮
00:16:49 verbose #32891 > │ () │
00:16:49 verbose #32892 > │ │
00:16:49 verbose #32893 > │ │
00:16:49 verbose #32894 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #32895 >
00:16:49 verbose #32896 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:49 verbose #32897 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:49 verbose #32898 > │ ## unwrap_or │
00:16:49 verbose #32899 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #32900 >
00:16:49 verbose #32901 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:49 verbose #32902 > inl unwrap_or forall t. (def : t) (x : option' t) : t =
00:16:49 verbose #32903 > !\($'"!x.unwrap_or(!def)"')
00:16:49 verbose #32904 > 00:16:48 debug #596 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/af793b516a9b2245544effe56c797449852219a5e3d4f29da1434bd3dab09155/main.spi
00:16:49 verbose #32905 >
00:16:49 verbose #32906 > ╭─[ 799.32ms - stdout ]────────────────────────────────────────────────────────╮
00:16:49 verbose #32907 > │ () │
00:16:49 verbose #32908 > │ │
00:16:49 verbose #32909 > │ │
00:16:49 verbose #32910 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #32911 >
00:16:49 verbose #32912 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:49 verbose #32913 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:49 verbose #32914 > │ ## map' │
00:16:49 verbose #32915 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:49 verbose #32916 >
00:16:49 verbose #32917 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:49 verbose #32918 > inl map' forall t u. (fn : t -> u) (x : option' t) : option' u =
00:16:49 verbose #32919 > !\\((x, fn), $'"$0.map(|x| $1(x))"')
00:16:50 verbose #32920 > 00:16:49 debug #597 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a986ca974cebe9861b44cc3e17e8da3bb3d8f9a9b6de0c9b4c0fc8821be3c8d4/main.spi
00:16:50 verbose #32921 >
00:16:50 verbose #32922 > ╭─[ 859.46ms - stdout ]────────────────────────────────────────────────────────╮
00:16:50 verbose #32923 > │ () │
00:16:50 verbose #32924 > │ │
00:16:50 verbose #32925 > │ │
00:16:50 verbose #32926 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:50 verbose #32927 >
00:16:50 verbose #32928 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:50 verbose #32929 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:50 verbose #32930 > │ ## rc_upgrade │
00:16:50 verbose #32931 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:50 verbose #32932 >
00:16:50 verbose #32933 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:50 verbose #32934 > inl rc_upgrade forall t. (x : rust.weak_rc t) : option' (rust.rc t) =
00:16:50 verbose #32935 > inl x = join x
00:16:50 verbose #32936 > !\($'"std::rc::Weak::upgrade(&!x)"')
00:16:51 verbose #32937 > 00:16:50 debug #598 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3e521d7b769d19ae5c6f24694fbaa2085f08cfa51989a4a45664d7ff9f87caca/main.spi
00:16:51 verbose #32938 >
00:16:51 verbose #32939 > ╭─[ 808.92ms - stdout ]────────────────────────────────────────────────────────╮
00:16:51 verbose #32940 > │ () │
00:16:51 verbose #32941 > │ │
00:16:51 verbose #32942 > │ │
00:16:51 verbose #32943 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:51 verbose #32944 >
00:16:51 verbose #32945 > ── markdown ────────────────────────────────────────────────────────────────────
00:16:51 verbose #32946 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:16:51 verbose #32947 > │ ## rc_into_inner │
00:16:51 verbose #32948 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:51 verbose #32949 >
00:16:51 verbose #32950 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:51 verbose #32951 > inl rc_into_inner forall t. (x : rust.rc t) : option' t =
00:16:51 verbose #32952 > !\\(x, $'"std::rc::Rc::into_inner($0)"')
00:16:52 verbose #32953 > 00:16:51 debug #599 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3cc27b723f0f2f47bec393450fe7dd5bbe17dedd310c86dfbf6a78be9c06e89f/main.spi
00:16:52 verbose #32954 >
00:16:52 verbose #32955 > ╭─[ 1.12s - stdout ]───────────────────────────────────────────────────────────╮
00:16:52 verbose #32956 > │ () │
00:16:53 verbose #32957 > │ │
00:16:53 verbose #32958 > │ │
00:16:53 verbose #32959 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:16:53 verbose #32960 >
00:16:53 verbose #32961 > ── spiral ──────────────────────────────────────────────────────────────────────
00:16:53 verbose #32962 > //// test
00:16:53 verbose #32963 > //// print_code=false
00:16:53 verbose #32964 > ///! rust
00:16:53 verbose #32965 >
00:16:53 verbose #32966 > types ()
00:16:53 verbose #32967 > rust.new_rc 0i32
00:16:53 verbose #32968 > |> rc_into_inner
00:16:53 verbose #32969 > |> unbox
00:16:53 verbose #32970 > |> _assert_eq' (Some 0i32)
00:16:53 verbose #32971 > 00:16:52 debug #600 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7bd3a8e17ceed6bceab6cd573b01c9a1f2a3dfc0fd401c551acc1fff9e3c7dad/main.spi
00:17:48 verbose #32972 >
00:17:48 verbose #32973 > ╭─[ 55.10s - return value ]────────────────────────────────────────────────────╮
00:17:48 verbose #32974 > │ assert_eq' / actual: US0_0(0) / expected: US0_0(0) │
00:17:48 verbose #32975 > │ │
00:17:48 verbose #32976 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:17:58 verbose #32977 > [NbConvertApp] Converting notebook optionm'.dib.ipynb to html
00:17:58 verbose #32978 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:17:58 verbose #32979 > validate(nb)
00:18:10 verbose #32980 > [NbConvertApp] Writing 330414 bytes to optionm'.dib.html
00:18:13 debug #32981 execute_with_options_async / exit_code: 0 / output.Length: 40948
00:18:13 debug #17 main / executeCommand / exitCode: 0
00:18:13 debug #32982 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 \"listm'.dib\" -Retries 3"", [||],
None, None, None)
00:18:15 verbose #32983 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: listm'.dib / _args: [
00:18:15 verbose #32984 > "-Retries",
00:18:15 verbose #32985 > 3
00:18:15 verbose #32986 > ]
00:18:21 verbose #32987 >
00:18:21 verbose #32988 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:21 verbose #32989 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:21 verbose #32990 > │ # listm │
00:18:21 verbose #32991 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:21 verbose #32992 >
00:18:21 verbose #32993 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:21 verbose #32994 > //// test
00:18:21 verbose #32995 >
00:18:21 verbose #32996 > open testing
00:18:21 verbose #32997 >
00:18:21 verbose #32998 > ── spiral - import ─────────────────────────────────────────────────────────────
00:18:21 verbose #32999 > #r
00:18:21 verbose #33000 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:18:21 verbose #33001 > otNet.Interactive.Spiral.dll"
00:18:21 verbose #33002 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:18:21 verbose #33003 > #r
00:18:21 verbose #33004 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:18:21 verbose #33005 > otNet.Interactive.dll"
00:18:21 verbose #33006 > open type Microsoft.DotNet.Interactive.Kernel
00:18:34 verbose #33007 > 00:18:33 debug #601 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:18:36 verbose #33008 >
00:18:36 verbose #33009 > ╭─[ 14.40s - stdout ]──────────────────────────────────────────────────────────╮
00:18:36 verbose #33010 > │ () │
00:18:36 verbose #33011 > │ │
00:18:36 verbose #33012 > │ │
00:18:36 verbose #33013 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:36 verbose #33014 >
00:18:36 verbose #33015 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:36 verbose #33016 > //// test
00:18:36 verbose #33017 >
00:18:36 verbose #33018 > prototype append t : t -> t -> t
00:18:37 verbose #33019 > 00:18:36 debug #602 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/95e7ea4d91e523f8d9dba797e4b180f80e343451a9520234f588a737ee3a85d4/main.spi
00:18:38 verbose #33020 >
00:18:38 verbose #33021 > ╭─[ 1.48s - stdout ]───────────────────────────────────────────────────────────╮
00:18:38 verbose #33022 > │ () │
00:18:38 verbose #33023 > │ │
00:18:38 verbose #33024 > │ │
00:18:38 verbose #33025 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:38 verbose #33026 >
00:18:38 verbose #33027 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:38 verbose #33028 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:38 verbose #33029 > │ ## list' │
00:18:38 verbose #33030 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:38 verbose #33031 >
00:18:38 verbose #33032 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:38 verbose #33033 > nominal list' t = $'`t list'
00:18:39 verbose #33034 > 00:18:38 debug #603 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/84cb3308bd3f43e5a7e359c19a3862bb37965194c0e58f6277e497ffec0ca1db/main.spi
00:18:40 verbose #33035 >
00:18:40 verbose #33036 > ╭─[ 1.26s - stdout ]───────────────────────────────────────────────────────────╮
00:18:40 verbose #33037 > │ () │
00:18:40 verbose #33038 > │ │
00:18:40 verbose #33039 > │ │
00:18:40 verbose #33040 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:40 verbose #33041 >
00:18:40 verbose #33042 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:40 verbose #33043 > inl empty' forall t. () : list' t =
00:18:40 verbose #33044 > $'[[]]'
00:18:40 verbose #33045 > 00:18:39 debug #604 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/213f73e1ac39448764f8f23f882177138eda792d6509319227c66f38ca76452e/main.spi
00:18:41 verbose #33046 >
00:18:41 verbose #33047 > ╭─[ 1.42s - stdout ]───────────────────────────────────────────────────────────╮
00:18:41 verbose #33048 > │ () │
00:18:41 verbose #33049 > │ │
00:18:41 verbose #33050 > │ │
00:18:41 verbose #33051 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:41 verbose #33052 >
00:18:41 verbose #33053 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:41 verbose #33054 > inl cons' forall t. (head : t) (tail : list' t) : list' t =
00:18:41 verbose #33055 > $'!head :: !tail '
00:18:42 verbose #33056 > 00:18:41 debug #605 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fa6e31372ae2572be2f631d809c19889fffc36662a9c6420b6a11edf98490a69/main.spi
00:18:42 verbose #33057 >
00:18:42 verbose #33058 > ╭─[ 1.27s - stdout ]───────────────────────────────────────────────────────────╮
00:18:42 verbose #33059 > │ () │
00:18:42 verbose #33060 > │ │
00:18:42 verbose #33061 > │ │
00:18:42 verbose #33062 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:42 verbose #33063 >
00:18:42 verbose #33064 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:42 verbose #33065 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:43 verbose #33066 > │ ## box │
00:18:43 verbose #33067 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:43 verbose #33068 >
00:18:43 verbose #33069 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:43 verbose #33070 > inl box forall t. (list : list t) : list' t =
00:18:43 verbose #33071 > (list, empty' ())
00:18:43 verbose #33072 > ||> listm.foldBack fun x acc =>
00:18:43 verbose #33073 > acc |> cons' x
00:18:44 verbose #33074 > 00:18:43 debug #606 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7f796e40cb6994c758a49f1283ac60c02322cd2860e91eb1f9ec9bbc4d4ca1a5/main.spi
00:18:44 verbose #33075 >
00:18:44 verbose #33076 > ╭─[ 1.41s - stdout ]───────────────────────────────────────────────────────────╮
00:18:44 verbose #33077 > │ () │
00:18:44 verbose #33078 > │ │
00:18:44 verbose #33079 > │ │
00:18:45 verbose #33080 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:45 verbose #33081 >
00:18:45 verbose #33082 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:45 verbose #33083 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:45 verbose #33084 > │ ## fold' │
00:18:45 verbose #33085 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:45 verbose #33086 >
00:18:45 verbose #33087 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:45 verbose #33088 > inl fold' forall t u. (fn : t -> u) (init : list u) (list : list' t) : list u =
00:18:45 verbose #33089 > (init, list)
00:18:45 verbose #33090 > ||> $'List.fold' join fun acc x => Cons (fn x, acc)
00:18:45 verbose #33091 > 00:18:44 debug #607 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9056d7f77c3af3d0c94e91cfe1ea3502276c7b3c0343fdf89ef6eede3ea260cb/main.spi
00:18:46 verbose #33092 >
00:18:46 verbose #33093 > ╭─[ 1.23s - stdout ]───────────────────────────────────────────────────────────╮
00:18:46 verbose #33094 > │ () │
00:18:46 verbose #33095 > │ │
00:18:46 verbose #33096 > │ │
00:18:46 verbose #33097 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:46 verbose #33098 >
00:18:46 verbose #33099 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:46 verbose #33100 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:46 verbose #33101 > │ ## fold_back' │
00:18:46 verbose #33102 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:46 verbose #33103 >
00:18:46 verbose #33104 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:46 verbose #33105 > inl fold_back' forall t u. (fn : t -> u) (list : list' t) (init : list u) : list
00:18:46 verbose #33106 > u =
00:18:46 verbose #33107 > (list, init)
00:18:46 verbose #33108 > ||> $'List.foldBack' join fun x acc => Cons (fn x, acc)
00:18:47 verbose #33109 > 00:18:46 debug #608 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09eaf7f4416face9b64f0585760882baf7eba52797c3cc6efe4de567f7e1d041/main.spi
00:18:47 verbose #33110 >
00:18:47 verbose #33111 > ╭─[ 1.38s - stdout ]───────────────────────────────────────────────────────────╮
00:18:47 verbose #33112 > │ () │
00:18:48 verbose #33113 > │ │
00:18:48 verbose #33114 > │ │
00:18:48 verbose #33115 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:48 verbose #33116 >
00:18:48 verbose #33117 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:48 verbose #33118 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:48 verbose #33119 > │ ## filter' │
00:18:48 verbose #33120 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:48 verbose #33121 >
00:18:48 verbose #33122 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:48 verbose #33123 > inl filter' forall t. (fn : t -> bool) (list : list' t) : list' t =
00:18:48 verbose #33124 > list |> $'"List.filter !fn"'
00:18:49 verbose #33125 > 00:18:48 debug #609 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/309003ad3ecd432db305f18c79271206a76088c6fc6420d8878a5e4d8af0ad2c/main.spi
00:18:49 verbose #33126 >
00:18:49 verbose #33127 > ╭─[ 1.03s - stdout ]───────────────────────────────────────────────────────────╮
00:18:49 verbose #33128 > │ () │
00:18:49 verbose #33129 > │ │
00:18:49 verbose #33130 > │ │
00:18:49 verbose #33131 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:49 verbose #33132 >
00:18:49 verbose #33133 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:49 verbose #33134 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:49 verbose #33135 > │ ## filter │
00:18:49 verbose #33136 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:49 verbose #33137 >
00:18:49 verbose #33138 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:49 verbose #33139 > inl filter forall t. (fn : t -> bool) (list : list t) : list t =
00:18:49 verbose #33140 > (list, Nil)
00:18:49 verbose #33141 > ||> listm.foldBack fun x acc =>
00:18:49 verbose #33142 > if fn x then x :: acc else acc
00:18:50 verbose #33143 > 00:18:49 debug #610 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31fb239e1be06dd4256445bc9c1da5930b00d36140b0b082c0f7c8b0c965a1f6/main.spi
00:18:51 verbose #33144 >
00:18:51 verbose #33145 > ╭─[ 1.45s - stdout ]───────────────────────────────────────────────────────────╮
00:18:51 verbose #33146 > │ () │
00:18:51 verbose #33147 > │ │
00:18:51 verbose #33148 > │ │
00:18:51 verbose #33149 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:51 verbose #33150 >
00:18:51 verbose #33151 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:51 verbose #33152 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:51 verbose #33153 > │ ## unbox │
00:18:51 verbose #33154 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:51 verbose #33155 >
00:18:51 verbose #33156 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:51 verbose #33157 > inl unbox forall t. (list : list' t) : list t =
00:18:51 verbose #33158 > (list, Nil)
00:18:51 verbose #33159 > ||> fold_back' id
00:18:52 verbose #33160 > 00:18:51 debug #611 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d1259020028e046c8765311a5de56e4144c81da7afd3572b988a3f3880c7e020/main.spi
00:18:52 verbose #33161 >
00:18:52 verbose #33162 > ╭─[ 1.09s - stdout ]───────────────────────────────────────────────────────────╮
00:18:52 verbose #33163 > │ () │
00:18:52 verbose #33164 > │ │
00:18:52 verbose #33165 > │ │
00:18:52 verbose #33166 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:52 verbose #33167 >
00:18:52 verbose #33168 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:52 verbose #33169 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:52 verbose #33170 > │ ## distinct' │
00:18:52 verbose #33171 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:53 verbose #33172 >
00:18:53 verbose #33173 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:53 verbose #33174 > inl distinct' forall t. (list : list' t) : list' t =
00:18:53 verbose #33175 > list |> $'List.distinct'
00:18:53 verbose #33176 > 00:18:52 debug #612 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/047e5ed80d60316fac3b3b58451f2b71b5bbe3408f426d188beaa9443ec0a495/main.spi
00:18:53 verbose #33177 >
00:18:53 verbose #33178 > ╭─[ 1.02s - stdout ]───────────────────────────────────────────────────────────╮
00:18:53 verbose #33179 > │ () │
00:18:53 verbose #33180 > │ │
00:18:53 verbose #33181 > │ │
00:18:53 verbose #33182 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:53 verbose #33183 >
00:18:53 verbose #33184 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:53 verbose #33185 > //// test
00:18:53 verbose #33186 >
00:18:53 verbose #33187 > [[ "1"; "2"; "2"; "3" ]]
00:18:53 verbose #33188 > |> box
00:18:53 verbose #33189 > |> distinct'
00:18:53 verbose #33190 > |> unbox
00:18:53 verbose #33191 > |> _assert_eq [[ "1"; "2"; "3" ]]
00:18:54 verbose #33192 > 00:18:53 debug #613 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/da9af36be0e3a01b4c7be85ddef0e3b0ac573d260454d5841e683c03aa638a93/main.spi
00:18:56 verbose #33193 >
00:18:56 verbose #33194 > ╭─[ 2.77s - stdout ]───────────────────────────────────────────────────────────╮
00:18:56 verbose #33195 > │ type UH0 = │
00:18:56 verbose #33196 > │ | UH0_0 │
00:18:56 verbose #33197 > │ | UH0_1 of string * UH0 │
00:18:56 verbose #33198 > │ let rec closure1 (v0 : string) (v1 : UH0) : UH0 = │
00:18:56 verbose #33199 > │ UH0_1(v0, v1) │
00:18:56 verbose #33200 > │ and closure0 () (v0 : string) : (UH0 -> UH0) = │
00:18:56 verbose #33201 > │ closure1(v0) │
00:18:56 verbose #33202 > │ and method1 () : (string -> (UH0 -> UH0)) = │
00:18:56 verbose #33203 > │ closure0() │
00:18:56 verbose #33204 > │ and method2 (v0 : bool) : bool = │
00:18:56 verbose #33205 > │ v0 │
00:18:56 verbose #33206 > │ and method0 () : unit = │
00:18:56 verbose #33207 > │ let v0 : string list = [] │
00:18:56 verbose #33208 > │ let v1 : string = "3" │
00:18:56 verbose #33209 > │ let v2 : string list = v1 :: v0 │
00:18:56 verbose #33210 > │ let v3 : string = "2" │
00:18:56 verbose #33211 > │ let v4 : string list = v3 :: v2 │
00:18:56 verbose #33212 > │ let v5 : string list = v3 :: v4 │
00:18:56 verbose #33213 > │ let v6 : string = "1" │
00:18:56 verbose #33214 > │ let v7 : string list = v6 :: v5 │
00:18:56 verbose #33215 > │ let v8 : (string list -> string list) = List.distinct │
00:18:56 verbose #33216 > │ let v9 : string list = v8 v7 │
00:18:56 verbose #33217 > │ let v10 : ((string -> (UH0 -> UH0)) -> (string list -> (UH0 -> UH0))) = │
00:18:56 verbose #33218 > │ List.foldBack │
00:18:56 verbose #33219 > │ let v11 : (string -> (UH0 -> UH0)) = method1() │
00:18:56 verbose #33220 > │ let v12 : (string list -> (UH0 -> UH0)) = v10 v11 │
00:18:56 verbose #33221 > │ let v13 : (UH0 -> UH0) = v12 v9 │
00:18:56 verbose #33222 > │ let v14 : UH0 = UH0_0 │
00:18:56 verbose #33223 > │ let v15 : UH0 = v13 v14 │
00:18:56 verbose #33224 > │ let v35 : bool = │
00:18:56 verbose #33225 > │ match v15 with │
00:18:56 verbose #33226 > │ | UH0_1(v20, v21) -> (* Cons *) │
00:18:56 verbose #33227 > │ let v22 : bool = v20 = "1" │
00:18:56 verbose #33228 > │ if v22 then │
00:18:56 verbose #33229 > │ match v21 with │
00:18:56 verbose #33230 > │ | UH0_1(v23, v24) -> (* Cons *) │
00:18:56 verbose #33231 > │ let v25 : bool = v23 = "2" │
00:18:56 verbose #33232 > │ if v25 then │
00:18:56 verbose #33233 > │ match v24 with │
00:18:56 verbose #33234 > │ | UH0_1(v26, v27) -> (* Cons *) │
00:18:56 verbose #33235 > │ let v28 : bool = v26 = "3" │
00:18:56 verbose #33236 > │ if v28 then │
00:18:56 verbose #33237 > │ match v27 with │
00:18:56 verbose #33238 > │ | UH0_0 -> (* Nil *) │
00:18:56 verbose #33239 > │ true │
00:18:56 verbose #33240 > │ | _ -> │
00:18:56 verbose #33241 > │ false │
00:18:56 verbose #33242 > │ else │
00:18:56 verbose #33243 > │ false │
00:18:56 verbose #33244 > │ | _ -> │
00:18:56 verbose #33245 > │ false │
00:18:56 verbose #33246 > │ else │
00:18:56 verbose #33247 > │ false │
00:18:56 verbose #33248 > │ | _ -> │
00:18:56 verbose #33249 > │ false │
00:18:56 verbose #33250 > │ else │
00:18:56 verbose #33251 > │ false │
00:18:56 verbose #33252 > │ | _ -> │
00:18:56 verbose #33253 > │ false │
00:18:56 verbose #33254 > │ let v37 : bool = │
00:18:56 verbose #33255 > │ if v35 then │
00:18:56 verbose #33256 > │ true │
00:18:56 verbose #33257 > │ else │
00:18:56 verbose #33258 > │ method2(v35) │
00:18:56 verbose #33259 > │ let v38 : string = "assert_eq" │
00:18:56 verbose #33260 > │ let v39 : UH0 = UH0_0 │
00:18:56 verbose #33261 > │ let v40 : UH0 = UH0_1(v1, v39) │
00:18:56 verbose #33262 > │ let v41 : UH0 = UH0_1(v3, v40) │
00:18:56 verbose #33263 > │ let v42 : UH0 = UH0_1(v6, v41) │
00:18:56 verbose #33264 > │ let v43 : string = $"{v38} / actual: %A{v15} / expected: %A{v42}" │
00:18:56 verbose #33265 > │ System.Console.WriteLine v43 │
00:18:56 verbose #33266 > │ let v44 : bool = v37 = false │
00:18:56 verbose #33267 > │ if v44 then │
00:18:56 verbose #33268 > │ failwith<unit> v43 │
00:18:56 verbose #33269 > │ method0() │
00:18:56 verbose #33270 > │ │
00:18:56 verbose #33271 > │ assert_eq / actual: UH0_1 ("1", UH0_1 ("2", UH0_1 ("3", UH0_0))) / expected: │
00:18:56 verbose #33272 > │ UH0_1 ("1", UH0_1 ("2", UH0_1 ("3", UH0_0))) │
00:18:56 verbose #33273 > │ │
00:18:56 verbose #33274 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:56 verbose #33275 >
00:18:56 verbose #33276 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:56 verbose #33277 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:56 verbose #33278 > │ ## to_array' │
00:18:56 verbose #33279 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:56 verbose #33280 >
00:18:56 verbose #33281 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:56 verbose #33282 > inl to_array' forall dim t. (items : list' t) : a dim t =
00:18:56 verbose #33283 > items |> $'List.toArray'
00:18:57 verbose #33284 > 00:18:56 debug #614 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/de296bfb0428e74a52e6da7a718a4d51dde9293fa9a18731e81c6989620bfbd0/main.spi
00:18:57 verbose #33285 >
00:18:57 verbose #33286 > ╭─[ 701.77ms - stdout ]────────────────────────────────────────────────────────╮
00:18:57 verbose #33287 > │ () │
00:18:57 verbose #33288 > │ │
00:18:57 verbose #33289 > │ │
00:18:57 verbose #33290 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:57 verbose #33291 >
00:18:57 verbose #33292 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:57 verbose #33293 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:57 verbose #33294 > │ ## append │
00:18:57 verbose #33295 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:57 verbose #33296 >
00:18:57 verbose #33297 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:57 verbose #33298 > instance append list t =
00:18:57 verbose #33299 > listm.append
00:18:58 verbose #33300 > 00:18:57 debug #615 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1ad9ef389a67a04e2703875efcad45dd175185e6418a9f5b92c1ab43df8dc2c7/main.spi
00:18:58 verbose #33301 >
00:18:58 verbose #33302 > ╭─[ 902.79ms - stdout ]────────────────────────────────────────────────────────╮
00:18:58 verbose #33303 > │ () │
00:18:58 verbose #33304 > │ │
00:18:58 verbose #33305 > │ │
00:18:58 verbose #33306 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:58 verbose #33307 >
00:18:58 verbose #33308 > ── markdown ────────────────────────────────────────────────────────────────────
00:18:58 verbose #33309 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:18:58 verbose #33310 > │ ## /@ │
00:18:58 verbose #33311 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:58 verbose #33312 >
00:18:58 verbose #33313 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:58 verbose #33314 > inl (/@) a b =
00:18:58 verbose #33315 > b |> append a
00:18:59 verbose #33316 > 00:18:58 debug #616 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/146b96ea348f619bb5d4f0e3fd5365b95da23418bd28359ac4b64497311e2c15/main.spi
00:18:59 verbose #33317 >
00:18:59 verbose #33318 > ╭─[ 892.55ms - stdout ]────────────────────────────────────────────────────────╮
00:18:59 verbose #33319 > │ () │
00:18:59 verbose #33320 > │ │
00:18:59 verbose #33321 > │ │
00:18:59 verbose #33322 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:18:59 verbose #33323 >
00:18:59 verbose #33324 > ── spiral ──────────────────────────────────────────────────────────────────────
00:18:59 verbose #33325 > //// test
00:18:59 verbose #33326 >
00:18:59 verbose #33327 > [[ "a"; "b" ]] /@ [[ "c"; "d" ]]
00:18:59 verbose #33328 > |> _assert_eq [[ "a"; "b"; "c"; "d" ]]
00:18:59 verbose #33329 > 00:18:58 debug #617 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6b2800d525a4661dccb70d111ffcd0d7e8c63591f100803eb4a4767ccfc4c54c/main.spi
00:19:00 verbose #33330 >
00:19:00 verbose #33331 > ╭─[ 1.01s - stdout ]───────────────────────────────────────────────────────────╮
00:19:00 verbose #33332 > │ type UH0 = │
00:19:00 verbose #33333 > │ | UH0_0 │
00:19:00 verbose #33334 > │ | UH0_1 of string * UH0 │
00:19:00 verbose #33335 > │ let rec method0 () : unit = │
00:19:00 verbose #33336 > │ let v43 : string = "assert_eq" │
00:19:00 verbose #33337 > │ let v44 : string = "a" │
00:19:00 verbose #33338 > │ let v45 : string = "b" │
00:19:00 verbose #33339 > │ let v46 : string = "c" │
00:19:00 verbose #33340 > │ let v47 : string = "d" │
00:19:00 verbose #33341 > │ let v48 : UH0 = UH0_0 │
00:19:00 verbose #33342 > │ let v49 : UH0 = UH0_1(v47, v48) │
00:19:00 verbose #33343 > │ let v50 : UH0 = UH0_1(v46, v49) │
00:19:00 verbose #33344 > │ let v51 : UH0 = UH0_1(v45, v50) │
00:19:00 verbose #33345 > │ let v52 : UH0 = UH0_1(v44, v51) │
00:19:00 verbose #33346 > │ let v53 : UH0 = UH0_0 │
00:19:00 verbose #33347 > │ let v54 : UH0 = UH0_1(v47, v53) │
00:19:00 verbose #33348 > │ let v55 : UH0 = UH0_1(v46, v54) │
00:19:00 verbose #33349 > │ let v56 : UH0 = UH0_1(v45, v55) │
00:19:00 verbose #33350 > │ let v57 : UH0 = UH0_1(v44, v56) │
00:19:00 verbose #33351 > │ let v58 : string = $"{v43} / actual: %A{v52} / expected: %A{v57}" │
00:19:00 verbose #33352 > │ System.Console.WriteLine v58 │
00:19:00 verbose #33353 > │ () │
00:19:00 verbose #33354 > │ method0() │
00:19:00 verbose #33355 > │ │
00:19:00 verbose #33356 > │ assert_eq / actual: UH0_1 ("a", UH0_1 ("b", UH0_1 ("c", UH0_1 ("d", │
00:19:00 verbose #33357 > │ UH0_0)))) / expected: UH0_1 ("a", UH0_1 ("b", UH0_1 ("c", UH0_1 ("d", │
00:19:00 verbose #33358 > │ UH0_0)))) │
00:19:00 verbose #33359 > │ │
00:19:00 verbose #33360 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:00 verbose #33361 >
00:19:00 verbose #33362 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:00 verbose #33363 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:00 verbose #33364 > │ ## collect │
00:19:00 verbose #33365 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:00 verbose #33366 >
00:19:00 verbose #33367 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:00 verbose #33368 > inl collect forall t r. (fn : t -> list r) (items : list t) : list r =
00:19:00 verbose #33369 > items
00:19:00 verbose #33370 > |> listm.map fn
00:19:00 verbose #33371 > |> listm.fold (/@) [[]]
00:19:00 verbose #33372 > 00:18:59 debug #618 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/63b6c23fc776ee1228fd5ce805313c652873c88723361495595347e6b45ce000/main.spi
00:19:01 verbose #33373 >
00:19:01 verbose #33374 > ╭─[ 729.37ms - stdout ]────────────────────────────────────────────────────────╮
00:19:01 verbose #33375 > │ () │
00:19:01 verbose #33376 > │ │
00:19:01 verbose #33377 > │ │
00:19:01 verbose #33378 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:01 verbose #33379 >
00:19:01 verbose #33380 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:01 verbose #33381 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:01 verbose #33382 > │ ## init_series │
00:19:01 verbose #33383 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:01 verbose #33384 >
00:19:01 verbose #33385 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:01 verbose #33386 > inl init_series start end inc =
00:19:01 verbose #33387 > inl total : f64 = conv ((end - start) / inc) + 1
00:19:01 verbose #33388 > listm.init total (conv >> (*) inc >> (+) start)
00:19:01 verbose #33389 > 00:19:00 debug #619 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ee8b4813f0f26fc0dbdfcc4ca654816c1ff66f3588917ce9858debc26ded0a24/main.spi
00:19:01 verbose #33390 >
00:19:01 verbose #33391 > ╭─[ 673.21ms - stdout ]────────────────────────────────────────────────────────╮
00:19:01 verbose #33392 > │ () │
00:19:01 verbose #33393 > │ │
00:19:01 verbose #33394 > │ │
00:19:01 verbose #33395 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:01 verbose #33396 >
00:19:01 verbose #33397 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:01 verbose #33398 > //// test
00:19:01 verbose #33399 >
00:19:01 verbose #33400 > init_series 0 1 0.5
00:19:01 verbose #33401 > |> _assert_eq [[ 0f64; 0.5; 1 ]]
00:19:02 verbose #33402 > 00:19:01 debug #620 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7df17070226709f65c34ac5bb2b2c92a0c2ef3911c3de0f338104846a03e2efd/main.spi
00:19:02 verbose #33403 >
00:19:02 verbose #33404 > ╭─[ 826.60ms - stdout ]────────────────────────────────────────────────────────╮
00:19:02 verbose #33405 > │ type UH0 = │
00:19:02 verbose #33406 > │ | UH0_0 │
00:19:02 verbose #33407 > │ | UH0_1 of float * UH0 │
00:19:02 verbose #33408 > │ let rec method0 () : unit = │
00:19:02 verbose #33409 > │ let v18 : string = "assert_eq" │
00:19:02 verbose #33410 > │ let v19 : UH0 = UH0_0 │
00:19:02 verbose #33411 > │ let v20 : UH0 = UH0_1(1.0, v19) │
00:19:02 verbose #33412 > │ let v21 : UH0 = UH0_1(0.5, v20) │
00:19:02 verbose #33413 > │ let v22 : UH0 = UH0_1(0.0, v21) │
00:19:02 verbose #33414 > │ let v23 : UH0 = UH0_0 │
00:19:02 verbose #33415 > │ let v24 : UH0 = UH0_1(1.0, v23) │
00:19:02 verbose #33416 > │ let v25 : UH0 = UH0_1(0.5, v24) │
00:19:02 verbose #33417 > │ let v26 : UH0 = UH0_1(0.0, v25) │
00:19:02 verbose #33418 > │ let v27 : string = $"{v18} / actual: %A{v22} / expected: %A{v26}" │
00:19:02 verbose #33419 > │ System.Console.WriteLine v27 │
00:19:02 verbose #33420 > │ () │
00:19:02 verbose #33421 > │ method0() │
00:19:02 verbose #33422 > │ │
00:19:02 verbose #33423 > │ assert_eq / actual: UH0_1 (0.0, UH0_1 (0.5, UH0_1 (1.0, UH0_0))) / expected: │
00:19:02 verbose #33424 > │ UH0_1 (0.0, UH0_1 (0.5, UH0_1 (1.0, UH0_0))) │
00:19:02 verbose #33425 > │ │
00:19:02 verbose #33426 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:02 verbose #33427 >
00:19:02 verbose #33428 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:02 verbose #33429 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:02 verbose #33430 > │ ## try_item │
00:19:02 verbose #33431 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:02 verbose #33432 >
00:19:02 verbose #33433 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:02 verbose #33434 > inl rec try_item i = function
00:19:02 verbose #33435 > | Cons (x, _) when i = 0 => Some x
00:19:02 verbose #33436 > | Cons (_, xs) => try_item (i - 1) xs
00:19:02 verbose #33437 > | Nil => None
00:19:03 verbose #33438 > 00:19:02 debug #621 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/717df235eaff9f31da52b521d9612f70f5bb7d3d2955344560d7c5b35c14cde9/main.spi
00:19:03 verbose #33439 >
00:19:03 verbose #33440 > ╭─[ 767.64ms - stdout ]────────────────────────────────────────────────────────╮
00:19:03 verbose #33441 > │ () │
00:19:03 verbose #33442 > │ │
00:19:03 verbose #33443 > │ │
00:19:03 verbose #33444 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:03 verbose #33445 >
00:19:03 verbose #33446 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:03 verbose #33447 > //// test
00:19:03 verbose #33448 >
00:19:03 verbose #33449 > listm.init 10i32 id
00:19:03 verbose #33450 > |> try_item 9i32
00:19:03 verbose #33451 > |> _assert_eq (Some 9)
00:19:03 verbose #33452 > 00:19:02 debug #622 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ab9c4675293461ccb25f5306650a90757e6150add1afd4af55302e63ff297e8c/main.spi
00:19:04 verbose #33453 >
00:19:04 verbose #33454 > ╭─[ 841.60ms - stdout ]────────────────────────────────────────────────────────╮
00:19:04 verbose #33455 > │ type [<Struct>] US0 = │
00:19:04 verbose #33456 > │ | US0_0 of f0_0 : int32 │
00:19:04 verbose #33457 > │ | US0_1 │
00:19:04 verbose #33458 > │ let rec method0 () : unit = │
00:19:04 verbose #33459 > │ let v3 : string = "assert_eq" │
00:19:04 verbose #33460 > │ let v4 : US0 = US0_0(9) │
00:19:04 verbose #33461 > │ let v5 : US0 = US0_0(9) │
00:19:04 verbose #33462 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:19:04 verbose #33463 > │ System.Console.WriteLine v6 │
00:19:04 verbose #33464 > │ () │
00:19:04 verbose #33465 > │ method0() │
00:19:04 verbose #33466 > │ │
00:19:04 verbose #33467 > │ assert_eq / actual: US0_0 9 / expected: US0_0 9 │
00:19:04 verbose #33468 > │ │
00:19:04 verbose #33469 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:04 verbose #33470 >
00:19:04 verbose #33471 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:04 verbose #33472 > //// test
00:19:04 verbose #33473 >
00:19:04 verbose #33474 > listm.init 10i32 id
00:19:04 verbose #33475 > |> try_item 10i32
00:19:04 verbose #33476 > |> _assert_eq None
00:19:04 verbose #33477 > 00:19:03 debug #623 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ad6d7f294bcee45f94a5dcf191f02c4dc597fdb5a8bc7ef5e25b356486a09dda/main.spi
00:19:04 verbose #33478 >
00:19:04 verbose #33479 > ╭─[ 725.19ms - stdout ]────────────────────────────────────────────────────────╮
00:19:04 verbose #33480 > │ type [<Struct>] US0 = │
00:19:04 verbose #33481 > │ | US0_0 of f0_0 : int32 │
00:19:04 verbose #33482 > │ | US0_1 │
00:19:04 verbose #33483 > │ let rec method0 () : unit = │
00:19:04 verbose #33484 > │ let v3 : string = "assert_eq" │
00:19:04 verbose #33485 > │ let v4 : US0 = US0_1 │
00:19:04 verbose #33486 > │ let v5 : US0 = US0_1 │
00:19:04 verbose #33487 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:19:04 verbose #33488 > │ System.Console.WriteLine v6 │
00:19:04 verbose #33489 > │ () │
00:19:04 verbose #33490 > │ method0() │
00:19:04 verbose #33491 > │ │
00:19:04 verbose #33492 > │ assert_eq / actual: US0_1 / expected: US0_1 │
00:19:04 verbose #33493 > │ │
00:19:04 verbose #33494 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:04 verbose #33495 >
00:19:04 verbose #33496 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:04 verbose #33497 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:04 verbose #33498 > │ ## list_item │
00:19:04 verbose #33499 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:04 verbose #33500 >
00:19:04 verbose #33501 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:04 verbose #33502 > inl item i =
00:19:04 verbose #33503 > try_item i >> optionm.value
00:19:05 verbose #33504 > 00:19:04 debug #624 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d2f7df95f702b4baf1708afc96c4a330821f35b61a40464994bd2b1c82095680/main.spi
00:19:05 verbose #33505 >
00:19:05 verbose #33506 > ╭─[ 659.68ms - stdout ]────────────────────────────────────────────────────────╮
00:19:05 verbose #33507 > │ () │
00:19:05 verbose #33508 > │ │
00:19:05 verbose #33509 > │ │
00:19:05 verbose #33510 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:05 verbose #33511 >
00:19:05 verbose #33512 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:05 verbose #33513 > //// test
00:19:05 verbose #33514 >
00:19:05 verbose #33515 > listm.init 10i32 id
00:19:05 verbose #33516 > |> item 9i32
00:19:05 verbose #33517 > |> _assert_eq 9
00:19:06 verbose #33518 > 00:19:05 debug #625 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5824b97c85377d141cb24b7c1385d8ecba1945e0ad2bf4dfa77d2352ea6dc34f/main.spi
00:19:06 verbose #33519 >
00:19:06 verbose #33520 > ╭─[ 678.53ms - stdout ]────────────────────────────────────────────────────────╮
00:19:06 verbose #33521 > │ let rec method0 () : unit = │
00:19:06 verbose #33522 > │ let v0 : string = "assert_eq" │
00:19:06 verbose #33523 > │ let v1 : string = $"{v0} / actual: %A{9} / expected: %A{9}" │
00:19:06 verbose #33524 > │ System.Console.WriteLine v1 │
00:19:06 verbose #33525 > │ () │
00:19:06 verbose #33526 > │ method0() │
00:19:06 verbose #33527 > │ │
00:19:06 verbose #33528 > │ assert_eq / actual: 9 / expected: 9 │
00:19:06 verbose #33529 > │ │
00:19:06 verbose #33530 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:06 verbose #33531 >
00:19:06 verbose #33532 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:06 verbose #33533 > //// test
00:19:06 verbose #33534 >
00:19:06 verbose #33535 > fun () =>
00:19:06 verbose #33536 > listm.init 10i32 id
00:19:06 verbose #33537 > |> item 10i32
00:19:06 verbose #33538 > |> ignore
00:19:06 verbose #33539 > |> _throws
00:19:06 verbose #33540 > |> optionm.map sm'.format_exception
00:19:06 verbose #33541 > |> _assert_eq (Some "System.Exception: Option does not have a value.")
00:19:06 verbose #33542 > 00:19:05 debug #626 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7d4f0ef073cad89a8331c8018a032c41dd355ae3f6b5ca6d70b5b7ceb16a2c85/main.spi
00:19:07 verbose #33543 >
00:19:07 verbose #33544 > ╭─[ 734.89ms - stdout ]────────────────────────────────────────────────────────╮
00:19:07 verbose #33545 > │ type [<Struct>] US0 = │
00:19:07 verbose #33546 > │ | US0_0 of f0_0 : exn │
00:19:07 verbose #33547 > │ | US0_1 │
00:19:07 verbose #33548 > │ and [<Struct>] US1 = │
00:19:07 verbose #33549 > │ | US1_0 of f0_0 : string │
00:19:07 verbose #33550 > │ | US1_1 │
00:19:07 verbose #33551 > │ let rec closure0 () () : unit = │
00:19:07 verbose #33552 > │ let v0 : int32 = failwith<int32> "Option does not have a value." │
00:19:07 verbose #33553 > │ () │
00:19:07 verbose #33554 > │ and closure1 () (v0 : exn) : US0 = │
00:19:07 verbose #33555 > │ US0_0(v0) │
00:19:07 verbose #33556 > │ and method1 (v0 : bool) : bool = │
00:19:07 verbose #33557 > │ v0 │
00:19:07 verbose #33558 > │ and method0 () : unit = │
00:19:07 verbose #33559 > │ let v0 : (unit -> unit) = closure0() │
00:19:07 verbose #33560 > │ let v1 : US0 = US0_1 │
00:19:07 verbose #33561 > │ let v2 : (exn -> US0) = closure1() │
00:19:07 verbose #33562 > │ let v3 : US0 = try v0 (); v1 with ex -> ex |> v2 │
00:19:07 verbose #33563 > │ let v17 : US1 = │
00:19:07 verbose #33564 > │ match v3 with │
00:19:07 verbose #33565 > │ | US0_1 -> (* None *) │
00:19:07 verbose #33566 > │ US1_1 │
00:19:07 verbose #33567 > │ | US0_0(v4) -> (* Some *) │
00:19:07 verbose #33568 > │ let v5 : string option = None │
00:19:07 verbose #33569 > │ let v6 : bool = true in let mutable _v5 = v5 │
00:19:07 verbose #33570 > │ │
00:19:07 verbose #33571 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:19:07 verbose #33572 > │ │
00:19:07 verbose #33573 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:19:07 verbose #33574 > │ let v7 : string = $"%A{v4}" │
00:19:07 verbose #33575 > │ v7 │
00:19:07 verbose #33576 > │ #endif │
00:19:07 verbose #33577 > │ │
00:19:07 verbose #33578 > │ #if FABLE_COMPILER_RUST && WASM │
00:19:07 verbose #33579 > │ let v8 : string = $"%A{v4}" │
00:19:07 verbose #33580 > │ v8 │
00:19:07 verbose #33581 > │ #endif │
00:19:07 verbose #33582 > │ │
00:19:07 verbose #33583 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:19:07 verbose #33584 > │ let v9 : string = $"%A{v4}" │
00:19:07 verbose #33585 > │ v9 │
00:19:07 verbose #33586 > │ #endif │
00:19:07 verbose #33587 > │ │
00:19:07 verbose #33588 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:19:07 verbose #33589 > │ let v10 : string = $"%A{v4}" │
00:19:07 verbose #33590 > │ v10 │
00:19:07 verbose #33591 > │ #endif │
00:19:07 verbose #33592 > │ │
00:19:07 verbose #33593 > │ #if FABLE_COMPILER_PYTHON │
00:19:07 verbose #33594 > │ let v11 : string = $"%A{v4}" │
00:19:07 verbose #33595 > │ v11 │
00:19:07 verbose #33596 > │ #endif │
00:19:07 verbose #33597 > │ │
00:19:07 verbose #33598 > │ #else │
00:19:07 verbose #33599 > │ let v12 : string = $"{v4.GetType ()}: {v4.Message}" │
00:19:07 verbose #33600 > │ v12 │
00:19:07 verbose #33601 > │ #endif │
00:19:07 verbose #33602 > │ |> fun x -> _v5 <- Some x │
00:19:07 verbose #33603 > │ let v13 : string = _v5.Value │
00:19:07 verbose #33604 > │ US1_0(v13) │
00:19:07 verbose #33605 > │ let v22 : bool = │
00:19:07 verbose #33606 > │ match v17 with │
00:19:07 verbose #33607 > │ | US1_0(v20) -> (* Some *) │
00:19:07 verbose #33608 > │ let v21 : bool = v20 = "System.Exception: Option does not have a │
00:19:07 verbose #33609 > │ value." │
00:19:07 verbose #33610 > │ v21 │
00:19:07 verbose #33611 > │ | _ -> │
00:19:07 verbose #33612 > │ false │
00:19:07 verbose #33613 > │ let v24 : bool = │
00:19:07 verbose #33614 > │ if v22 then │
00:19:07 verbose #33615 > │ true │
00:19:07 verbose #33616 > │ else │
00:19:07 verbose #33617 > │ method1(v22) │
00:19:07 verbose #33618 > │ let v25 : string = "assert_eq" │
00:19:07 verbose #33619 > │ let v26 : string = "System.Exception: Option does not have a value." │
00:19:07 verbose #33620 > │ let v27 : US1 = US1_0(v26) │
00:19:07 verbose #33621 > │ let v28 : string = $"{v25} / actual: %A{v17} / expected: %A{v27}" │
00:19:07 verbose #33622 > │ System.Console.WriteLine v28 │
00:19:07 verbose #33623 > │ let v29 : bool = v24 = false │
00:19:07 verbose #33624 > │ if v29 then │
00:19:07 verbose #33625 > │ failwith<unit> v28 │
00:19:07 verbose #33626 > │ method0() │
00:19:07 verbose #33627 > │ │
00:19:07 verbose #33628 > │ assert_eq / actual: US1_0 "System.Exception: Option does not have a value." │
00:19:07 verbose #33629 > │ / expected: US1_0 "System.Exception: Option does not have a value." │
00:19:07 verbose #33630 > │ │
00:19:07 verbose #33631 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:07 verbose #33632 >
00:19:07 verbose #33633 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:07 verbose #33634 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:07 verbose #33635 > │ ## try_item_ │
00:19:07 verbose #33636 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:07 verbose #33637 >
00:19:07 verbose #33638 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:07 verbose #33639 > let rec try_item_ i = function
00:19:07 verbose #33640 > | Cons (x, _) when i = 0 => Some x
00:19:07 verbose #33641 > | Cons (_, xs) => try_item_ (i - 1) xs
00:19:07 verbose #33642 > | Nil => None
00:19:07 verbose #33643 > 00:19:06 debug #627 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/76b1748a5c8b5c9c829a08aeca9b2e50ba5c531e3d14b746d1764aa902cd33b1/main.spi
00:19:07 verbose #33644 >
00:19:07 verbose #33645 > ╭─[ 694.31ms - stdout ]────────────────────────────────────────────────────────╮
00:19:07 verbose #33646 > │ () │
00:19:07 verbose #33647 > │ │
00:19:07 verbose #33648 > │ │
00:19:07 verbose #33649 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:07 verbose #33650 >
00:19:07 verbose #33651 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:07 verbose #33652 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:07 verbose #33653 > │ ## item_ │
00:19:07 verbose #33654 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:07 verbose #33655 >
00:19:07 verbose #33656 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:07 verbose #33657 > inl item_ i =
00:19:07 verbose #33658 > try_item_ i >> optionm.value
00:19:08 verbose #33659 > 00:19:07 debug #628 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/938da390f1aa3682302342feba4f95a89a774112a041d5b8002d45511cec7ea2/main.spi
00:19:08 verbose #33660 >
00:19:08 verbose #33661 > ╭─[ 646.73ms - stdout ]────────────────────────────────────────────────────────╮
00:19:08 verbose #33662 > │ () │
00:19:08 verbose #33663 > │ │
00:19:08 verbose #33664 > │ │
00:19:08 verbose #33665 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:08 verbose #33666 >
00:19:08 verbose #33667 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:08 verbose #33668 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:08 verbose #33669 > │ ## sum │
00:19:08 verbose #33670 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:08 verbose #33671 >
00:19:08 verbose #33672 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:08 verbose #33673 > inl sum list =
00:19:08 verbose #33674 > list |> listm.fold (+) 0
00:19:09 verbose #33675 > 00:19:08 debug #629 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/55420aa41ad025f6dd1314272f4af258f7fbedb91b141b5476febc71c0eae7d3/main.spi
00:19:09 verbose #33676 >
00:19:09 verbose #33677 > ╭─[ 706.43ms - stdout ]────────────────────────────────────────────────────────╮
00:19:09 verbose #33678 > │ () │
00:19:09 verbose #33679 > │ │
00:19:09 verbose #33680 > │ │
00:19:09 verbose #33681 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:09 verbose #33682 >
00:19:09 verbose #33683 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:09 verbose #33684 > //// test
00:19:09 verbose #33685 >
00:19:09 verbose #33686 > listm.init 10i32 id
00:19:09 verbose #33687 > |> sum
00:19:09 verbose #33688 > |> _assert_eq 45
00:19:09 verbose #33689 > 00:19:08 debug #630 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5fea29bc86674e221a50ff2ef9d98bd94a169968a42d9a9b95d84e996a2d78c9/main.spi
00:19:09 verbose #33690 >
00:19:09 verbose #33691 > ╭─[ 647.53ms - stdout ]────────────────────────────────────────────────────────╮
00:19:09 verbose #33692 > │ let rec method0 () : unit = │
00:19:09 verbose #33693 > │ let v0 : string = "assert_eq" │
00:19:09 verbose #33694 > │ let v1 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:19:09 verbose #33695 > │ System.Console.WriteLine v1 │
00:19:09 verbose #33696 > │ () │
00:19:09 verbose #33697 > │ method0() │
00:19:09 verbose #33698 > │ │
00:19:09 verbose #33699 > │ assert_eq / actual: 45 / expected: 45 │
00:19:09 verbose #33700 > │ │
00:19:09 verbose #33701 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:09 verbose #33702 >
00:19:09 verbose #33703 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:09 verbose #33704 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:09 verbose #33705 > │ ## unzip │
00:19:09 verbose #33706 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:09 verbose #33707 >
00:19:09 verbose #33708 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:09 verbose #33709 > inl unzip list =
00:19:09 verbose #33710 > (([[]], [[]]), list)
00:19:09 verbose #33711 > ||> listm.fold fun (acc_x, acc_y) (x, y) =>
00:19:09 verbose #33712 > x :: acc_x, y :: acc_y
00:19:09 verbose #33713 > |> fun x, y =>
00:19:09 verbose #33714 > x |> listm.rev, y |> listm.rev
00:19:10 verbose #33715 > 00:19:09 debug #631 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/459eb5a7bd1de4371c928be093113919eebc59f34441230f5f1723ab003e1fa3/main.spi
00:19:10 verbose #33716 >
00:19:10 verbose #33717 > ╭─[ 641.13ms - stdout ]────────────────────────────────────────────────────────╮
00:19:10 verbose #33718 > │ () │
00:19:10 verbose #33719 > │ │
00:19:10 verbose #33720 > │ │
00:19:10 verbose #33721 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:10 verbose #33722 >
00:19:10 verbose #33723 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:10 verbose #33724 > //// test
00:19:10 verbose #33725 >
00:19:10 verbose #33726 > listm.init 10i32 id
00:19:10 verbose #33727 > |> listm.map (fun x => x, x)
00:19:10 verbose #33728 > |> unzip
00:19:10 verbose #33729 > |> fun x, y =>
00:19:10 verbose #33730 > x |> sum
00:19:10 verbose #33731 > |> _assert_eq 45
00:19:10 verbose #33732 >
00:19:10 verbose #33733 > y |> sum
00:19:10 verbose #33734 > |> _assert_eq 45
00:19:10 verbose #33735 > 00:19:09 debug #632 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/540235dae15255e5d2258c790c2a21a54229ae58e1b670c72009412179981d8e/main.spi
00:19:11 verbose #33736 >
00:19:11 verbose #33737 > ╭─[ 633.68ms - stdout ]────────────────────────────────────────────────────────╮
00:19:11 verbose #33738 > │ let rec method0 () : unit = │
00:19:11 verbose #33739 > │ let v0 : string = "assert_eq" │
00:19:11 verbose #33740 > │ let v1 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:19:11 verbose #33741 > │ System.Console.WriteLine v1 │
00:19:11 verbose #33742 > │ let v2 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:19:11 verbose #33743 > │ System.Console.WriteLine v2 │
00:19:11 verbose #33744 > │ () │
00:19:11 verbose #33745 > │ method0() │
00:19:11 verbose #33746 > │ │
00:19:11 verbose #33747 > │ assert_eq / actual: 45 / expected: 45 │
00:19:11 verbose #33748 > │ assert_eq / actual: 45 / expected: 45 │
00:19:11 verbose #33749 > │ │
00:19:11 verbose #33750 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:11 verbose #33751 >
00:19:11 verbose #33752 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:11 verbose #33753 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:11 verbose #33754 > │ ## try_index_of │
00:19:11 verbose #33755 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:11 verbose #33756 >
00:19:11 verbose #33757 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:11 verbose #33758 > inl try_index_of item list =
00:19:11 verbose #33759 > inl rec loop i = function
00:19:11 verbose #33760 > | [[]] => None
00:19:11 verbose #33761 > | x :: xs =>
00:19:11 verbose #33762 > if x = item
00:19:11 verbose #33763 > then Some i
00:19:11 verbose #33764 > else loop (i + 1) xs
00:19:11 verbose #33765 > loop 0 list
00:19:11 verbose #33766 >
00:19:11 verbose #33767 > inl index_of item =
00:19:11 verbose #33768 > try_index_of item >> optionm.value
00:19:11 verbose #33769 >
00:19:11 verbose #33770 > inl try_index_of_ item list =
00:19:11 verbose #33771 > let rec loop i = function
00:19:11 verbose #33772 > | [[]] => None
00:19:11 verbose #33773 > | x :: xs =>
00:19:11 verbose #33774 > if x = item
00:19:11 verbose #33775 > then Some i
00:19:11 verbose #33776 > else loop (i + 1) xs
00:19:11 verbose #33777 > loop 0 list
00:19:11 verbose #33778 >
00:19:11 verbose #33779 > inl index_of_ item =
00:19:11 verbose #33780 > try_index_of_ item >> optionm.value
00:19:11 verbose #33781 >
00:19:11 verbose #33782 > inl try_index_of__ item list =
00:19:11 verbose #33783 > inl i = mut 0
00:19:11 verbose #33784 > inl list = mut list
00:19:11 verbose #33785 > inl result = mut None
00:19:11 verbose #33786 > let rec loop () =
00:19:11 verbose #33787 > match *list with
00:19:11 verbose #33788 > | [[]] => result <- None
00:19:11 verbose #33789 > | x :: xs =>
00:19:11 verbose #33790 > if x = item
00:19:11 verbose #33791 > then result <- Some *i
00:19:11 verbose #33792 > else
00:19:11 verbose #33793 > i <- *i + 1
00:19:11 verbose #33794 > list <- xs
00:19:11 verbose #33795 > loop ()
00:19:11 verbose #33796 > loop ()
00:19:11 verbose #33797 > *result
00:19:11 verbose #33798 >
00:19:11 verbose #33799 > inl index_of__ item =
00:19:11 verbose #33800 > try_index_of__ item >> optionm.value
00:19:11 verbose #33801 > 00:19:10 debug #633 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/124f437d4868854a93d31e6c637ba91705446c867f521ad1ceda4f40146a5527/main.spi
00:19:11 verbose #33802 >
00:19:11 verbose #33803 > ╭─[ 662.41ms - stdout ]────────────────────────────────────────────────────────╮
00:19:11 verbose #33804 > │ () │
00:19:11 verbose #33805 > │ │
00:19:11 verbose #33806 > │ │
00:19:11 verbose #33807 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:11 verbose #33808 >
00:19:11 verbose #33809 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:11 verbose #33810 > //// test
00:19:11 verbose #33811 >
00:19:11 verbose #33812 > listm.init 10i32 id
00:19:11 verbose #33813 > |> index_of 5i32
00:19:11 verbose #33814 > |> _assert_eq 5i32
00:19:12 verbose #33815 > 00:19:11 debug #634 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bb1a71eaf990a0145af7b08293928d2a9ecded55c39f64b7e8731b3462530ae0/main.spi
00:19:12 verbose #33816 >
00:19:12 verbose #33817 > ╭─[ 683.46ms - stdout ]────────────────────────────────────────────────────────╮
00:19:12 verbose #33818 > │ let rec method0 () : unit = │
00:19:12 verbose #33819 > │ let v0 : string = "assert_eq" │
00:19:12 verbose #33820 > │ let v1 : string = $"{v0} / actual: %A{5} / expected: %A{5}" │
00:19:12 verbose #33821 > │ System.Console.WriteLine v1 │
00:19:12 verbose #33822 > │ () │
00:19:12 verbose #33823 > │ method0() │
00:19:12 verbose #33824 > │ │
00:19:12 verbose #33825 > │ assert_eq / actual: 5 / expected: 5 │
00:19:12 verbose #33826 > │ │
00:19:12 verbose #33827 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:12 verbose #33828 >
00:19:12 verbose #33829 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:12 verbose #33830 > //// test
00:19:12 verbose #33831 >
00:19:12 verbose #33832 > listm.init 10i32 id
00:19:12 verbose #33833 > |> try_index_of 10i32
00:19:12 verbose #33834 > |> _assert_eq (None : option i32)
00:19:12 verbose #33835 > 00:19:11 debug #635 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/feee0334d864127b2dfa44e66946cf8b8d3ea8811d8f6f6b6d1da5c8802fd8fd/main.spi
00:19:13 verbose #33836 >
00:19:13 verbose #33837 > ╭─[ 666.54ms - stdout ]────────────────────────────────────────────────────────╮
00:19:13 verbose #33838 > │ type [<Struct>] US0 = │
00:19:13 verbose #33839 > │ | US0_0 of f0_0 : int32 │
00:19:13 verbose #33840 > │ | US0_1 │
00:19:13 verbose #33841 > │ let rec method0 () : unit = │
00:19:13 verbose #33842 > │ let v3 : string = "assert_eq" │
00:19:13 verbose #33843 > │ let v4 : US0 = US0_1 │
00:19:13 verbose #33844 > │ let v5 : US0 = US0_1 │
00:19:13 verbose #33845 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:19:13 verbose #33846 > │ System.Console.WriteLine v6 │
00:19:13 verbose #33847 > │ () │
00:19:13 verbose #33848 > │ method0() │
00:19:13 verbose #33849 > │ │
00:19:13 verbose #33850 > │ assert_eq / actual: US0_1 / expected: US0_1 │
00:19:13 verbose #33851 > │ │
00:19:13 verbose #33852 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #33853 >
00:19:13 verbose #33854 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:13 verbose #33855 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:13 verbose #33856 > │ ## try_find │
00:19:13 verbose #33857 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #33858 >
00:19:13 verbose #33859 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:13 verbose #33860 > inl try_find fn list =
00:19:13 verbose #33861 > inl rec loop = function
00:19:13 verbose #33862 > | [[]] => None
00:19:13 verbose #33863 > | x :: xs =>
00:19:13 verbose #33864 > if fn x
00:19:13 verbose #33865 > then Some x
00:19:13 verbose #33866 > else loop xs
00:19:13 verbose #33867 > loop list
00:19:13 verbose #33868 >
00:19:13 verbose #33869 > inl try_find_ fn list =
00:19:13 verbose #33870 > let rec loop = function
00:19:13 verbose #33871 > | [[]] => None
00:19:13 verbose #33872 > | x :: xs =>
00:19:13 verbose #33873 > if fn x
00:19:13 verbose #33874 > then Some x
00:19:13 verbose #33875 > else loop xs
00:19:13 verbose #33876 > loop list
00:19:13 verbose #33877 > 00:19:12 debug #636 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3264206ac48938657b98936b03163ef9e3fa0acfc1762d369b1e1cb3135fd034/main.spi
00:19:13 verbose #33878 >
00:19:13 verbose #33879 > ╭─[ 628.50ms - stdout ]────────────────────────────────────────────────────────╮
00:19:13 verbose #33880 > │ () │
00:19:13 verbose #33881 > │ │
00:19:13 verbose #33882 > │ │
00:19:13 verbose #33883 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:13 verbose #33884 >
00:19:13 verbose #33885 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:13 verbose #33886 > //// test
00:19:13 verbose #33887 >
00:19:13 verbose #33888 > listm.init 10i32 id
00:19:13 verbose #33889 > |> try_find ((=) 5i32)
00:19:13 verbose #33890 > |> _assert_eq (Some 5i32)
00:19:14 verbose #33891 > 00:19:13 debug #637 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6a834678838f2b1d0889f99413e726da407aeaff16580eab811e13f0180e2cb0/main.spi
00:19:14 verbose #33892 >
00:19:14 verbose #33893 > ╭─[ 656.30ms - stdout ]────────────────────────────────────────────────────────╮
00:19:14 verbose #33894 > │ type [<Struct>] US0 = │
00:19:14 verbose #33895 > │ | US0_0 of f0_0 : int32 │
00:19:14 verbose #33896 > │ | US0_1 │
00:19:14 verbose #33897 > │ let rec method0 () : unit = │
00:19:14 verbose #33898 > │ let v3 : string = "assert_eq" │
00:19:14 verbose #33899 > │ let v4 : US0 = US0_0(5) │
00:19:14 verbose #33900 > │ let v5 : US0 = US0_0(5) │
00:19:14 verbose #33901 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:19:14 verbose #33902 > │ System.Console.WriteLine v6 │
00:19:14 verbose #33903 > │ () │
00:19:14 verbose #33904 > │ method0() │
00:19:14 verbose #33905 > │ │
00:19:14 verbose #33906 > │ assert_eq / actual: US0_0 5 / expected: US0_0 5 │
00:19:14 verbose #33907 > │ │
00:19:14 verbose #33908 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:14 verbose #33909 >
00:19:14 verbose #33910 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:14 verbose #33911 > inl find x =
00:19:14 verbose #33912 > try_find x >> optionm.value
00:19:14 verbose #33913 >
00:19:14 verbose #33914 > inl find_ x =
00:19:14 verbose #33915 > try_find_ x >> optionm.value
00:19:14 verbose #33916 > 00:19:13 debug #638 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/516af5706b1041f11ddce34d37a069aac41aa8f52ae3bcf0a35359c6d664cc65/main.spi
00:19:15 verbose #33917 >
00:19:15 verbose #33918 > ╭─[ 652.38ms - stdout ]────────────────────────────────────────────────────────╮
00:19:15 verbose #33919 > │ () │
00:19:15 verbose #33920 > │ │
00:19:15 verbose #33921 > │ │
00:19:15 verbose #33922 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:15 verbose #33923 >
00:19:15 verbose #33924 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:15 verbose #33925 > //// test
00:19:15 verbose #33926 >
00:19:15 verbose #33927 > listm.init 10i32 id
00:19:15 verbose #33928 > |> find ((=) 5i32)
00:19:15 verbose #33929 > |> _assert_eq 5i32
00:19:15 verbose #33930 > 00:19:14 debug #639 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1e81c5ed1af07e82bf245c06b9acee51d586bd32e393627de0bd44ef9756c908/main.spi
00:19:15 verbose #33931 >
00:19:15 verbose #33932 > ╭─[ 657.46ms - stdout ]────────────────────────────────────────────────────────╮
00:19:15 verbose #33933 > │ let rec method0 () : unit = │
00:19:15 verbose #33934 > │ let v0 : string = "assert_eq" │
00:19:15 verbose #33935 > │ let v1 : string = $"{v0} / actual: %A{5} / expected: %A{5}" │
00:19:15 verbose #33936 > │ System.Console.WriteLine v1 │
00:19:15 verbose #33937 > │ () │
00:19:15 verbose #33938 > │ method0() │
00:19:15 verbose #33939 > │ │
00:19:15 verbose #33940 > │ assert_eq / actual: 5 / expected: 5 │
00:19:15 verbose #33941 > │ │
00:19:15 verbose #33942 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:15 verbose #33943 >
00:19:15 verbose #33944 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:15 verbose #33945 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:15 verbose #33946 > │ ## choose │
00:19:15 verbose #33947 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:15 verbose #33948 >
00:19:15 verbose #33949 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:15 verbose #33950 > inl choose f l =
00:19:15 verbose #33951 > (l, [[]])
00:19:15 verbose #33952 > ||> listm.foldBack fun x acc =>
00:19:15 verbose #33953 > match f x with
00:19:15 verbose #33954 > | Some y => y :: acc
00:19:15 verbose #33955 > | None => acc
00:19:16 verbose #33956 > 00:19:15 debug #640 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1ee697f62619ba43d1103259ca3bb1fd364d6f9bd0e68e0353bec0bc0845b30f/main.spi
00:19:16 verbose #33957 >
00:19:16 verbose #33958 > ╭─[ 685.17ms - stdout ]────────────────────────────────────────────────────────╮
00:19:16 verbose #33959 > │ () │
00:19:16 verbose #33960 > │ │
00:19:16 verbose #33961 > │ │
00:19:16 verbose #33962 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:16 verbose #33963 >
00:19:16 verbose #33964 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:16 verbose #33965 > //// test
00:19:16 verbose #33966 >
00:19:16 verbose #33967 > listm.init 10i32 id
00:19:16 verbose #33968 > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:19:16 verbose #33969 > |> _assert_eq [[ 0; 2; 4; 6; 8 ]]
00:19:16 verbose #33970 > 00:19:15 debug #641 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6d6fa03225acfe56cc1e9d808980865d168b562538197a5e83f58e2cd13c19f3/main.spi
00:19:17 verbose #33971 >
00:19:17 verbose #33972 > ╭─[ 663.77ms - stdout ]────────────────────────────────────────────────────────╮
00:19:17 verbose #33973 > │ type UH0 = │
00:19:17 verbose #33974 > │ | UH0_0 │
00:19:17 verbose #33975 > │ | UH0_1 of int32 * UH0 │
00:19:17 verbose #33976 > │ let rec method0 () : unit = │
00:19:17 verbose #33977 > │ let v33 : string = "assert_eq" │
00:19:17 verbose #33978 > │ let v34 : UH0 = UH0_0 │
00:19:17 verbose #33979 > │ let v35 : UH0 = UH0_1(8, v34) │
00:19:17 verbose #33980 > │ let v36 : UH0 = UH0_1(6, v35) │
00:19:17 verbose #33981 > │ let v37 : UH0 = UH0_1(4, v36) │
00:19:17 verbose #33982 > │ let v38 : UH0 = UH0_1(2, v37) │
00:19:17 verbose #33983 > │ let v39 : UH0 = UH0_1(0, v38) │
00:19:17 verbose #33984 > │ let v40 : UH0 = UH0_0 │
00:19:17 verbose #33985 > │ let v41 : UH0 = UH0_1(8, v40) │
00:19:17 verbose #33986 > │ let v42 : UH0 = UH0_1(6, v41) │
00:19:17 verbose #33987 > │ let v43 : UH0 = UH0_1(4, v42) │
00:19:17 verbose #33988 > │ let v44 : UH0 = UH0_1(2, v43) │
00:19:17 verbose #33989 > │ let v45 : UH0 = UH0_1(0, v44) │
00:19:17 verbose #33990 > │ let v46 : string = $"{v33} / actual: %A{v39} / expected: %A{v45}" │
00:19:17 verbose #33991 > │ System.Console.WriteLine v46 │
00:19:17 verbose #33992 > │ () │
00:19:17 verbose #33993 > │ method0() │
00:19:17 verbose #33994 > │ │
00:19:17 verbose #33995 > │ assert_eq / actual: UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8, │
00:19:17 verbose #33996 > │ UH0_0))))) / expected: UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8, │
00:19:17 verbose #33997 > │ UH0_0))))) │
00:19:17 verbose #33998 > │ │
00:19:17 verbose #33999 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:17 verbose #34000 >
00:19:17 verbose #34001 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:17 verbose #34002 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:17 verbose #34003 > │ ## zip_with │
00:19:17 verbose #34004 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:17 verbose #34005 >
00:19:17 verbose #34006 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:17 verbose #34007 > inl zip_with fn xs ys =
00:19:17 verbose #34008 > inl rec loop acc xs ys =
00:19:17 verbose #34009 > match xs, ys with
00:19:17 verbose #34010 > | Cons (x, xs), Cons (y, ys) =>
00:19:17 verbose #34011 > loop (fn x y :: acc) xs ys
00:19:17 verbose #34012 > | _ => listm.rev acc
00:19:17 verbose #34013 > loop [[]] xs ys
00:19:17 verbose #34014 >
00:19:17 verbose #34015 > inl zip_with_ fn xs ys =
00:19:17 verbose #34016 > let rec loop acc xs ys =
00:19:17 verbose #34017 > match xs, ys with
00:19:17 verbose #34018 > | Cons (x, xs), Cons (y, ys) =>
00:19:17 verbose #34019 > loop (fn x y :: acc) xs ys
00:19:17 verbose #34020 > | _ => listm.rev acc
00:19:17 verbose #34021 > loop [[]] xs ys
00:19:17 verbose #34022 > 00:19:16 debug #642 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f08bc4487db290c88a9fcc629102311729d41e17797f7b5d8f0c86f8a9bff8ad/main.spi
00:19:17 verbose #34023 >
00:19:17 verbose #34024 > ╭─[ 679.50ms - stdout ]────────────────────────────────────────────────────────╮
00:19:17 verbose #34025 > │ () │
00:19:17 verbose #34026 > │ │
00:19:17 verbose #34027 > │ │
00:19:17 verbose #34028 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:17 verbose #34029 >
00:19:17 verbose #34030 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:17 verbose #34031 > //// test
00:19:17 verbose #34032 >
00:19:17 verbose #34033 > ([[ 1i32; 2; 3 ]], [[ 4; 5; 6 ]])
00:19:17 verbose #34034 > ||> zip_with (+)
00:19:17 verbose #34035 > |> _assert_eq [[ 5; 7; 9 ]]
00:19:18 verbose #34036 > 00:19:17 debug #643 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/678bb0579771362f9eacc40ad330fc2bc2cd5d4f2b6dafbe4a61a0df4df09c85/main.spi
00:19:18 verbose #34037 >
00:19:18 verbose #34038 > ╭─[ 649.37ms - stdout ]────────────────────────────────────────────────────────╮
00:19:18 verbose #34039 > │ type UH0 = │
00:19:18 verbose #34040 > │ | UH0_0 │
00:19:18 verbose #34041 > │ | UH0_1 of int32 * UH0 │
00:19:18 verbose #34042 > │ let rec method0 () : unit = │
00:19:18 verbose #34043 > │ let v18 : string = "assert_eq" │
00:19:18 verbose #34044 > │ let v19 : UH0 = UH0_0 │
00:19:18 verbose #34045 > │ let v20 : UH0 = UH0_1(9, v19) │
00:19:18 verbose #34046 > │ let v21 : UH0 = UH0_1(7, v20) │
00:19:18 verbose #34047 > │ let v22 : UH0 = UH0_1(5, v21) │
00:19:18 verbose #34048 > │ let v23 : UH0 = UH0_0 │
00:19:18 verbose #34049 > │ let v24 : UH0 = UH0_1(9, v23) │
00:19:18 verbose #34050 > │ let v25 : UH0 = UH0_1(7, v24) │
00:19:18 verbose #34051 > │ let v26 : UH0 = UH0_1(5, v25) │
00:19:18 verbose #34052 > │ let v27 : string = $"{v18} / actual: %A{v22} / expected: %A{v26}" │
00:19:18 verbose #34053 > │ System.Console.WriteLine v27 │
00:19:18 verbose #34054 > │ () │
00:19:18 verbose #34055 > │ method0() │
00:19:18 verbose #34056 > │ │
00:19:18 verbose #34057 > │ assert_eq / actual: UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0))) / expected: UH0_1 │
00:19:18 verbose #34058 > │ (5, UH0_1 (7, UH0_1 (9, UH0_0))) │
00:19:18 verbose #34059 > │ │
00:19:18 verbose #34060 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:18 verbose #34061 >
00:19:18 verbose #34062 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:18 verbose #34063 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:18 verbose #34064 > │ ## zip │
00:19:18 verbose #34065 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:18 verbose #34066 >
00:19:18 verbose #34067 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:18 verbose #34068 > inl zip xs ys =
00:19:18 verbose #34069 > zip_with pair xs ys
00:19:18 verbose #34070 >
00:19:18 verbose #34071 > inl zip_ xs ys =
00:19:18 verbose #34072 > zip_with_ pair xs ys
00:19:18 verbose #34073 > 00:19:17 debug #644 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/49268d717933bb7421b0c9403c98c06b8c3337939554fa47e19ab874194bec10/main.spi
00:19:19 verbose #34074 >
00:19:19 verbose #34075 > ╭─[ 650.67ms - stdout ]────────────────────────────────────────────────────────╮
00:19:19 verbose #34076 > │ () │
00:19:19 verbose #34077 > │ │
00:19:19 verbose #34078 > │ │
00:19:19 verbose #34079 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:19 verbose #34080 >
00:19:19 verbose #34081 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:19 verbose #34082 > //// test
00:19:19 verbose #34083 >
00:19:19 verbose #34084 > ([[ 1i32; 2; 3 ]], [[ 4i32; 5; 6 ]])
00:19:19 verbose #34085 > ||> zip
00:19:19 verbose #34086 > |> _assert_eq [[ 1, 4; 2, 5; 3, 6 ]]
00:19:19 verbose #34087 > 00:19:18 debug #645 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4dd315e484fa1aadcb1c78d34366ab4e26f8a145f5145e2a08d8d9ac6f16effe/main.spi
00:19:19 verbose #34088 >
00:19:19 verbose #34089 > ╭─[ 691.25ms - stdout ]────────────────────────────────────────────────────────╮
00:19:19 verbose #34090 > │ type UH0 = │
00:19:19 verbose #34091 > │ | UH0_0 │
00:19:19 verbose #34092 > │ | UH0_1 of int32 * int32 * UH0 │
00:19:19 verbose #34093 > │ let rec method0 () : unit = │
00:19:19 verbose #34094 > │ let v18 : string = "assert_eq" │
00:19:19 verbose #34095 > │ let v19 : UH0 = UH0_0 │
00:19:19 verbose #34096 > │ let v20 : UH0 = UH0_1(3, 6, v19) │
00:19:19 verbose #34097 > │ let v21 : UH0 = UH0_1(2, 5, v20) │
00:19:19 verbose #34098 > │ let v22 : UH0 = UH0_1(1, 4, v21) │
00:19:19 verbose #34099 > │ let v23 : UH0 = UH0_0 │
00:19:19 verbose #34100 > │ let v24 : UH0 = UH0_1(3, 6, v23) │
00:19:19 verbose #34101 > │ let v25 : UH0 = UH0_1(2, 5, v24) │
00:19:19 verbose #34102 > │ let v26 : UH0 = UH0_1(1, 4, v25) │
00:19:19 verbose #34103 > │ let v27 : string = $"{v18} / actual: %A{v22} / expected: %A{v26}" │
00:19:19 verbose #34104 > │ System.Console.WriteLine v27 │
00:19:19 verbose #34105 > │ () │
00:19:19 verbose #34106 > │ method0() │
00:19:19 verbose #34107 > │ │
00:19:19 verbose #34108 > │ assert_eq / actual: UH0_1 (1, 4, UH0_1 (2, 5, UH0_1 (3, 6, UH0_0))) / │
00:19:19 verbose #34109 > │ expected: UH0_1 (1, 4, UH0_1 (2, 5, UH0_1 (3, 6, UH0_0))) │
00:19:19 verbose #34110 > │ │
00:19:19 verbose #34111 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:19 verbose #34112 >
00:19:19 verbose #34113 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:19 verbose #34114 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:19 verbose #34115 > │ ## indexed │
00:19:19 verbose #34116 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:19 verbose #34117 >
00:19:19 verbose #34118 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:19 verbose #34119 > inl indexed list =
00:19:19 verbose #34120 > (([[]], 0), list)
00:19:19 verbose #34121 > ||> listm.fold fun (acc, i) x =>
00:19:19 verbose #34122 > (i, x) :: acc, i + 1
00:19:19 verbose #34123 > |> fst
00:19:19 verbose #34124 > |> listm.rev
00:19:20 verbose #34125 > 00:19:19 debug #646 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7afab5e25103c149f4e1dc4f39b2be7aac8d7b9fdffc57538f5efc471f409f71/main.spi
00:19:20 verbose #34126 >
00:19:20 verbose #34127 > ╭─[ 742.97ms - stdout ]────────────────────────────────────────────────────────╮
00:19:20 verbose #34128 > │ () │
00:19:20 verbose #34129 > │ │
00:19:20 verbose #34130 > │ │
00:19:20 verbose #34131 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:20 verbose #34132 >
00:19:20 verbose #34133 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:20 verbose #34134 > //// test
00:19:20 verbose #34135 >
00:19:20 verbose #34136 > listm.init 5i32 ((*) 2)
00:19:20 verbose #34137 > |> indexed
00:19:20 verbose #34138 > |> _assert_eq [[ 0i32, 0; 1, 2; 2, 4; 3, 6; 4, 8 ]]
00:19:21 verbose #34139 > 00:19:20 debug #647 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/89df4212acec525b6734fd895cf2d70e74c4b2b25261e16bba4b940c86c2c09f/main.spi
00:19:21 verbose #34140 >
00:19:21 verbose #34141 > ╭─[ 682.38ms - stdout ]────────────────────────────────────────────────────────╮
00:19:21 verbose #34142 > │ type UH0 = │
00:19:21 verbose #34143 > │ | UH0_0 │
00:19:21 verbose #34144 > │ | UH0_1 of int32 * int32 * UH0 │
00:19:21 verbose #34145 > │ let rec method0 () : unit = │
00:19:21 verbose #34146 > │ let v33 : string = "assert_eq" │
00:19:21 verbose #34147 > │ let v34 : UH0 = UH0_0 │
00:19:21 verbose #34148 > │ let v35 : UH0 = UH0_1(4, 8, v34) │
00:19:21 verbose #34149 > │ let v36 : UH0 = UH0_1(3, 6, v35) │
00:19:21 verbose #34150 > │ let v37 : UH0 = UH0_1(2, 4, v36) │
00:19:21 verbose #34151 > │ let v38 : UH0 = UH0_1(1, 2, v37) │
00:19:21 verbose #34152 > │ let v39 : UH0 = UH0_1(0, 0, v38) │
00:19:21 verbose #34153 > │ let v40 : UH0 = UH0_0 │
00:19:21 verbose #34154 > │ let v41 : UH0 = UH0_1(4, 8, v40) │
00:19:21 verbose #34155 > │ let v42 : UH0 = UH0_1(3, 6, v41) │
00:19:21 verbose #34156 > │ let v43 : UH0 = UH0_1(2, 4, v42) │
00:19:21 verbose #34157 > │ let v44 : UH0 = UH0_1(1, 2, v43) │
00:19:21 verbose #34158 > │ let v45 : UH0 = UH0_1(0, 0, v44) │
00:19:21 verbose #34159 > │ let v46 : string = $"{v33} / actual: %A{v39} / expected: %A{v45}" │
00:19:21 verbose #34160 > │ System.Console.WriteLine v46 │
00:19:21 verbose #34161 > │ () │
00:19:21 verbose #34162 > │ method0() │
00:19:21 verbose #34163 > │ │
00:19:21 verbose #34164 > │ assert_eq / actual: UH0_1 (0, 0, UH0_1 (1, 2, UH0_1 (2, 4, UH0_1 (3, 6, │
00:19:21 verbose #34165 > │ UH0_1 (4, 8, UH0_0))))) / expected: UH0_1 (0, 0, UH0_1 (1, 2, UH0_1 (2, 4, │
00:19:21 verbose #34166 > │ UH0_1 (3, 6, UH0_1 (4, 8, UH0_0))))) │
00:19:21 verbose #34167 > │ │
00:19:21 verbose #34168 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:21 verbose #34169 >
00:19:21 verbose #34170 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:21 verbose #34171 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:21 verbose #34172 > │ ## group_by │
00:19:21 verbose #34173 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:21 verbose #34174 >
00:19:21 verbose #34175 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:21 verbose #34176 > inl group_by fn list =
00:19:21 verbose #34177 > (list, [[]])
00:19:21 verbose #34178 > ||> listm.foldBack fun x acc =>
00:19:21 verbose #34179 > inl xk = fn x
00:19:21 verbose #34180 > inl found, new_acc =
00:19:21 verbose #34181 > ((false, [[]]), acc)
00:19:21 verbose #34182 > ||> listm.fold fun (found, acc') (k, xs) =>
00:19:21 verbose #34183 > if k = xk
00:19:21 verbose #34184 > then true, (k, x :: xs) :: acc'
00:19:21 verbose #34185 > else found, (k, xs) :: acc'
00:19:21 verbose #34186 > if found
00:19:21 verbose #34187 > then new_acc
00:19:21 verbose #34188 > else (xk, [[ x ]]) :: new_acc
00:19:21 verbose #34189 > 00:19:20 debug #648 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/93761988017c9a41affc93bba44d250e472addcc7ffbf325cb9275cff339092b/main.spi
00:19:21 verbose #34190 >
00:19:21 verbose #34191 > ╭─[ 704.65ms - stdout ]────────────────────────────────────────────────────────╮
00:19:21 verbose #34192 > │ () │
00:19:21 verbose #34193 > │ │
00:19:21 verbose #34194 > │ │
00:19:21 verbose #34195 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:21 verbose #34196 >
00:19:21 verbose #34197 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:21 verbose #34198 > //// test
00:19:21 verbose #34199 >
00:19:21 verbose #34200 > listm.init 10i32 id
00:19:21 verbose #34201 > |> group_by (fun x => x % 2 = 0)
00:19:21 verbose #34202 > |> _assert_eq [[ true, [[ 0; 2; 4; 6; 8 ]]; false, [[ 1; 3; 5; 7; 9 ]] ]]
00:19:22 verbose #34203 > 00:19:21 debug #649 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4781f590d17406698b6fd248923ca15bc7b3350a845ac49109911c824018c339/main.spi
00:19:22 verbose #34204 >
00:19:22 verbose #34205 > ╭─[ 829.87ms - stdout ]────────────────────────────────────────────────────────╮
00:19:22 verbose #34206 > │ type UH0 = │
00:19:22 verbose #34207 > │ | UH0_0 │
00:19:22 verbose #34208 > │ | UH0_1 of int32 * UH0 │
00:19:22 verbose #34209 > │ and UH1 = │
00:19:22 verbose #34210 > │ | UH1_0 │
00:19:22 verbose #34211 > │ | UH1_1 of bool * UH0 * UH1 │
00:19:22 verbose #34212 > │ let rec method0 () : unit = │
00:19:22 verbose #34213 > │ let v96 : string = "assert_eq" │
00:19:22 verbose #34214 > │ let v97 : UH0 = UH0_0 │
00:19:22 verbose #34215 > │ let v98 : UH0 = UH0_1(8, v97) │
00:19:22 verbose #34216 > │ let v99 : UH0 = UH0_1(6, v98) │
00:19:22 verbose #34217 > │ let v100 : UH0 = UH0_1(4, v99) │
00:19:22 verbose #34218 > │ let v101 : UH0 = UH0_1(2, v100) │
00:19:22 verbose #34219 > │ let v102 : UH0 = UH0_1(0, v101) │
00:19:22 verbose #34220 > │ let v103 : UH0 = UH0_0 │
00:19:22 verbose #34221 > │ let v104 : UH0 = UH0_1(9, v103) │
00:19:22 verbose #34222 > │ let v105 : UH0 = UH0_1(7, v104) │
00:19:22 verbose #34223 > │ let v106 : UH0 = UH0_1(5, v105) │
00:19:22 verbose #34224 > │ let v107 : UH0 = UH0_1(3, v106) │
00:19:22 verbose #34225 > │ let v108 : UH0 = UH0_1(1, v107) │
00:19:22 verbose #34226 > │ let v109 : UH1 = UH1_0 │
00:19:22 verbose #34227 > │ let v110 : UH1 = UH1_1(false, v108, v109) │
00:19:22 verbose #34228 > │ let v111 : UH1 = UH1_1(true, v102, v110) │
00:19:22 verbose #34229 > │ let v112 : UH0 = UH0_0 │
00:19:22 verbose #34230 > │ let v113 : UH0 = UH0_1(8, v112) │
00:19:22 verbose #34231 > │ let v114 : UH0 = UH0_1(6, v113) │
00:19:22 verbose #34232 > │ let v115 : UH0 = UH0_1(4, v114) │
00:19:22 verbose #34233 > │ let v116 : UH0 = UH0_1(2, v115) │
00:19:22 verbose #34234 > │ let v117 : UH0 = UH0_1(0, v116) │
00:19:22 verbose #34235 > │ let v118 : UH0 = UH0_0 │
00:19:22 verbose #34236 > │ let v119 : UH0 = UH0_1(9, v118) │
00:19:22 verbose #34237 > │ let v120 : UH0 = UH0_1(7, v119) │
00:19:22 verbose #34238 > │ let v121 : UH0 = UH0_1(5, v120) │
00:19:22 verbose #34239 > │ let v122 : UH0 = UH0_1(3, v121) │
00:19:22 verbose #34240 > │ let v123 : UH0 = UH0_1(1, v122) │
00:19:22 verbose #34241 > │ let v124 : UH1 = UH1_0 │
00:19:22 verbose #34242 > │ let v125 : UH1 = UH1_1(false, v123, v124) │
00:19:22 verbose #34243 > │ let v126 : UH1 = UH1_1(true, v117, v125) │
00:19:22 verbose #34244 > │ let v127 : string = $"{v96} / actual: %A{v111} / expected: %A{v126}" │
00:19:22 verbose #34245 > │ System.Console.WriteLine v127 │
00:19:22 verbose #34246 > │ () │
00:19:22 verbose #34247 > │ method0() │
00:19:22 verbose #34248 > │ │
00:19:22 verbose #34249 > │ assert_eq / actual: UH1_1 │
00:19:22 verbose #34250 > │ (true, UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8, UH0_0))))), │
00:19:22 verbose #34251 > │ UH1_1 │
00:19:22 verbose #34252 > │ (false, UH0_1 (1, UH0_1 (3, UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0))))), │
00:19:22 verbose #34253 > │ UH1_0)) / expected: UH1_1 │
00:19:22 verbose #34254 > │ (true, UH0_1 (0, UH0_1 (2, UH0_1 (4, UH0_1 (6, UH0_1 (8, UH0_0))))), │
00:19:22 verbose #34255 > │ UH1_1 │
00:19:22 verbose #34256 > │ (false, UH0_1 (1, UH0_1 (3, UH0_1 (5, UH0_1 (7, UH0_1 (9, UH0_0))))), │
00:19:22 verbose #34257 > │ UH1_0)) │
00:19:22 verbose #34258 > │ │
00:19:22 verbose #34259 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:22 verbose #34260 >
00:19:22 verbose #34261 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:22 verbose #34262 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:22 verbose #34263 > │ ## forall' │
00:19:22 verbose #34264 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:22 verbose #34265 >
00:19:22 verbose #34266 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:22 verbose #34267 > inl forall' fn (head :: tail) =
00:19:22 verbose #34268 > (true, tail)
00:19:22 verbose #34269 > ||> listm.fold fun acc x =>
00:19:22 verbose #34270 > acc && x = head
00:19:23 verbose #34271 > 00:19:22 debug #650 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f86018547dde58e9e2e392fac3808f586774c54335466ca87cdc1d1f8dcdd153/main.spi
00:19:23 verbose #34272 >
00:19:23 verbose #34273 > ╭─[ 829.08ms - stdout ]────────────────────────────────────────────────────────╮
00:19:23 verbose #34274 > │ () │
00:19:23 verbose #34275 > │ │
00:19:23 verbose #34276 > │ │
00:19:23 verbose #34277 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:23 verbose #34278 >
00:19:23 verbose #34279 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:23 verbose #34280 > //// test
00:19:23 verbose #34281 >
00:19:23 verbose #34282 > [[ 1i32; 1; 1; 1; 1 ]]
00:19:23 verbose #34283 > |> forall' ((=) 1i32)
00:19:23 verbose #34284 > |> _assert_eq true
00:19:24 verbose #34285 > 00:19:23 debug #651 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/522e737eede2d0191b524b76e3e3095aa66705e2ff9d14d041cb407f9aae2c4a/main.spi
00:19:24 verbose #34286 >
00:19:24 verbose #34287 > ╭─[ 671.26ms - stdout ]────────────────────────────────────────────────────────╮
00:19:24 verbose #34288 > │ let rec method0 () : unit = │
00:19:24 verbose #34289 > │ let v0 : string = "assert_eq" │
00:19:24 verbose #34290 > │ let v1 : string = $"{v0} / actual: %A{true} / expected: %A{true}" │
00:19:24 verbose #34291 > │ System.Console.WriteLine v1 │
00:19:24 verbose #34292 > │ () │
00:19:24 verbose #34293 > │ method0() │
00:19:24 verbose #34294 > │ │
00:19:24 verbose #34295 > │ assert_eq / actual: true / expected: true │
00:19:24 verbose #34296 > │ │
00:19:24 verbose #34297 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:24 verbose #34298 >
00:19:24 verbose #34299 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:24 verbose #34300 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:24 verbose #34301 > │ ## last │
00:19:24 verbose #34302 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:24 verbose #34303 >
00:19:24 verbose #34304 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:24 verbose #34305 > inl last list =
00:19:24 verbose #34306 > list
00:19:24 verbose #34307 > |> listm.rev
00:19:24 verbose #34308 > |> item 0i32
00:19:24 verbose #34309 > 00:19:23 debug #652 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/99a37032f0e897f0514d61c3f6429f0e343b42e34c89ff6e3535707dc68aef6b/main.spi
00:19:24 verbose #34310 >
00:19:24 verbose #34311 > ╭─[ 696.30ms - stdout ]────────────────────────────────────────────────────────╮
00:19:24 verbose #34312 > │ () │
00:19:24 verbose #34313 > │ │
00:19:24 verbose #34314 > │ │
00:19:24 verbose #34315 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:24 verbose #34316 >
00:19:24 verbose #34317 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:24 verbose #34318 > //// test
00:19:24 verbose #34319 >
00:19:24 verbose #34320 > listm.init 10i32 id
00:19:24 verbose #34321 > |> last
00:19:24 verbose #34322 > |> _assert_eq 9
00:19:25 verbose #34323 > 00:19:24 debug #653 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8db47c3a86eadeacfb125c31c06d4d64db584c88cd7065f867cac9465fb89b54/main.spi
00:19:25 verbose #34324 >
00:19:25 verbose #34325 > ╭─[ 657.78ms - stdout ]────────────────────────────────────────────────────────╮
00:19:25 verbose #34326 > │ let rec method0 () : unit = │
00:19:25 verbose #34327 > │ let v0 : string = "assert_eq" │
00:19:25 verbose #34328 > │ let v1 : string = $"{v0} / actual: %A{9} / expected: %A{9}" │
00:19:25 verbose #34329 > │ System.Console.WriteLine v1 │
00:19:25 verbose #34330 > │ () │
00:19:25 verbose #34331 > │ method0() │
00:19:25 verbose #34332 > │ │
00:19:25 verbose #34333 > │ assert_eq / actual: 9 / expected: 9 │
00:19:25 verbose #34334 > │ │
00:19:25 verbose #34335 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:25 verbose #34336 >
00:19:25 verbose #34337 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:25 verbose #34338 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:25 verbose #34339 > │ ## try_pick │
00:19:25 verbose #34340 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:25 verbose #34341 >
00:19:25 verbose #34342 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:25 verbose #34343 > inl try_pick fn list =
00:19:25 verbose #34344 > inl rec body fn = function
00:19:25 verbose #34345 > | [[]] => None
00:19:25 verbose #34346 > | x :: xs =>
00:19:25 verbose #34347 > match fn x with
00:19:25 verbose #34348 > | Some y => Some y
00:19:25 verbose #34349 > | None => loop xs
00:19:25 verbose #34350 > and inl loop list =
00:19:25 verbose #34351 > if var_is list |> not
00:19:25 verbose #34352 > then body fn list
00:19:25 verbose #34353 > else
00:19:25 verbose #34354 > inl fn = join fn
00:19:25 verbose #34355 > inl list = dyn list
00:19:25 verbose #34356 > join body fn list
00:19:25 verbose #34357 > loop list
00:19:26 verbose #34358 > 00:19:25 debug #654 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5e9863d8764465e2981b0b67850c6e07c886aed2aabaaf0d7140bc9fb75483d6/main.spi
00:19:26 verbose #34359 >
00:19:26 verbose #34360 > ╭─[ 663.81ms - stdout ]────────────────────────────────────────────────────────╮
00:19:26 verbose #34361 > │ () │
00:19:26 verbose #34362 > │ │
00:19:26 verbose #34363 > │ │
00:19:26 verbose #34364 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:26 verbose #34365 >
00:19:26 verbose #34366 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:26 verbose #34367 > //// test
00:19:26 verbose #34368 >
00:19:26 verbose #34369 > listm.init 10i32 id
00:19:26 verbose #34370 > |> try_pick (fun x => if x = 5i32 then Some x else None)
00:19:26 verbose #34371 > |> _assert_eq (Some 5i32)
00:19:26 verbose #34372 > 00:19:25 debug #655 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1c5fa5a82ad0a401cd648f63e69667907b702e2b319015026ede6cadfbf24c8f/main.spi
00:19:26 verbose #34373 >
00:19:26 verbose #34374 > ╭─[ 649.11ms - stdout ]────────────────────────────────────────────────────────╮
00:19:26 verbose #34375 > │ type [<Struct>] US0 = │
00:19:26 verbose #34376 > │ | US0_0 of f0_0 : int32 │
00:19:26 verbose #34377 > │ | US0_1 │
00:19:26 verbose #34378 > │ let rec method0 () : unit = │
00:19:26 verbose #34379 > │ let v3 : string = "assert_eq" │
00:19:26 verbose #34380 > │ let v4 : US0 = US0_0(5) │
00:19:26 verbose #34381 > │ let v5 : US0 = US0_0(5) │
00:19:26 verbose #34382 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:19:26 verbose #34383 > │ System.Console.WriteLine v6 │
00:19:26 verbose #34384 > │ () │
00:19:26 verbose #34385 > │ method0() │
00:19:26 verbose #34386 > │ │
00:19:26 verbose #34387 > │ assert_eq / actual: US0_0 5 / expected: US0_0 5 │
00:19:26 verbose #34388 > │ │
00:19:26 verbose #34389 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:29 verbose #34390 > [NbConvertApp] Converting notebook listm'.dib.ipynb to html
00:19:29 verbose #34391 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:19:29 verbose #34392 > validate(nb)
00:19:31 verbose #34393 > [NbConvertApp] Writing 395465 bytes to listm'.dib.html
00:19:31 debug #34394 execute_with_options_async / exit_code: 0 / output.Length: 80003
00:19:31 debug #18 main / executeCommand / exitCode: 0
00:19:31 debug #34395 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 util.dib" -Retries 3", [||], None,
None, None)
00:19:32 verbose #34396 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: util.dib / _args: [
00:19:32 verbose #34397 > "-Retries",
00:19:32 verbose #34398 > 3
00:19:32 verbose #34399 > ]
00:19:34 verbose #34400 >
00:19:34 verbose #34401 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:34 verbose #34402 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:34 verbose #34403 > │ # util │
00:19:34 verbose #34404 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:34 verbose #34405 >
00:19:34 verbose #34406 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:34 verbose #34407 > //// test
00:19:34 verbose #34408 >
00:19:34 verbose #34409 > open testing
00:19:34 verbose #34410 >
00:19:34 verbose #34411 > ── spiral - import ─────────────────────────────────────────────────────────────
00:19:34 verbose #34412 > #r
00:19:34 verbose #34413 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:19:34 verbose #34414 > otNet.Interactive.Spiral.dll"
00:19:34 verbose #34415 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:19:34 verbose #34416 > #r
00:19:34 verbose #34417 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:19:34 verbose #34418 > otNet.Interactive.dll"
00:19:34 verbose #34419 > open type Microsoft.DotNet.Interactive.Kernel
00:19:43 verbose #34420 > 00:19:42 debug #656 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:19:44 verbose #34421 >
00:19:44 verbose #34422 > ╭─[ 10.08s - stdout ]──────────────────────────────────────────────────────────╮
00:19:44 verbose #34423 > │ () │
00:19:44 verbose #34424 > │ │
00:19:44 verbose #34425 > │ │
00:19:44 verbose #34426 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:44 verbose #34427 >
00:19:44 verbose #34428 > ── markdown ────────────────────────────────────────────────────────────────────
00:19:44 verbose #34429 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:19:44 verbose #34430 > │ ## ski │
00:19:44 verbose #34431 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:44 verbose #34432 >
00:19:44 verbose #34433 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:44 verbose #34434 > union rec ski =
00:19:44 verbose #34435 > | I
00:19:44 verbose #34436 > | K
00:19:44 verbose #34437 > | S
00:19:44 verbose #34438 > | App : ski * ski
00:19:44 verbose #34439 >
00:19:44 verbose #34440 > inl rec eval ski =
00:19:44 verbose #34441 > match ski with
00:19:44 verbose #34442 > | App (App (K, x), y) => eval x
00:19:44 verbose #34443 > | App (App (App (S, x), y), z) => eval (App (App (x, z), App (y, z)))
00:19:44 verbose #34444 > | App (I, x) => eval x
00:19:44 verbose #34445 > | App (K, x) => App (K, eval x)
00:19:44 verbose #34446 > | App (f, x) => eval (App (eval f, x))
00:19:44 verbose #34447 > | _ => ski
00:19:45 verbose #34448 > 00:19:44 debug #657 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/17d6430404553333c19e1564e7cac0e6c2780689697fdbe81dda5f79544f2871/main.spi
00:19:45 verbose #34449 >
00:19:45 verbose #34450 > ╭─[ 782.88ms - stdout ]────────────────────────────────────────────────────────╮
00:19:45 verbose #34451 > │ () │
00:19:45 verbose #34452 > │ │
00:19:45 verbose #34453 > │ │
00:19:45 verbose #34454 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:45 verbose #34455 >
00:19:45 verbose #34456 > ── spiral ──────────────────────────────────────────────────────────────────────
00:19:45 verbose #34457 > //// test
00:19:45 verbose #34458 >
00:19:45 verbose #34459 > eval I
00:19:45 verbose #34460 > |> _assert_eq I
00:19:45 verbose #34461 >
00:19:45 verbose #34462 > eval (App (I, I))
00:19:45 verbose #34463 > |> _assert_eq I
00:19:45 verbose #34464 >
00:19:45 verbose #34465 > eval (App (I, App (I, I)))
00:19:45 verbose #34466 > |> _assert_eq I
00:19:45 verbose #34467 >
00:19:45 verbose #34468 > eval (App (App (I, I), I))
00:19:45 verbose #34469 > |> _assert_eq I
00:19:45 verbose #34470 >
00:19:45 verbose #34471 > eval (App (App (App (I, I), I), I))
00:19:45 verbose #34472 > |> _assert_eq I
00:19:45 verbose #34473 >
00:19:45 verbose #34474 > eval K
00:19:45 verbose #34475 > |> _assert_eq K
00:19:45 verbose #34476 >
00:19:45 verbose #34477 > eval (App (K, I))
00:19:45 verbose #34478 > |> _assert_eq (App (K, I))
00:19:45 verbose #34479 >
00:19:45 verbose #34480 > eval (App (K, K))
00:19:45 verbose #34481 > |> _assert_eq (App (K, K))
00:19:45 verbose #34482 >
00:19:45 verbose #34483 > eval (App (App (K, I), K))
00:19:45 verbose #34484 > |> _assert_eq I
00:19:45 verbose #34485 >
00:19:45 verbose #34486 > eval (App (App (K, K), I))
00:19:45 verbose #34487 > |> _assert_eq K
00:19:45 verbose #34488 >
00:19:45 verbose #34489 > eval (App (App (App (App (K, K), I), S), K))
00:19:45 verbose #34490 > |> _assert_eq S
00:19:45 verbose #34491 >
00:19:45 verbose #34492 > eval S
00:19:45 verbose #34493 > |> _assert_eq S
00:19:45 verbose #34494 >
00:19:45 verbose #34495 > eval (App (App (App (S, I), I), I))
00:19:45 verbose #34496 > |> _assert_eq I
00:19:45 verbose #34497 >
00:19:45 verbose #34498 > eval (App (App (App (S, K), K), I))
00:19:45 verbose #34499 > |> _assert_eq I
00:19:45 verbose #34500 >
00:19:45 verbose #34501 > eval (App (App (App (S, K), I), (App (App (K, I), S))))
00:19:45 verbose #34502 > |> _assert_eq I
00:19:45 verbose #34503 >
00:19:45 verbose #34504 > eval (App (App (K, S), App (I, App (App (App (S, K), S), I))))
00:19:45 verbose #34505 > |> _assert_eq S
00:19:45 verbose #34506 >
00:19:45 verbose #34507 > eval (App (App (App (S, K), I), K))
00:19:45 verbose #34508 > |> _assert_eq K
00:19:46 verbose #34509 > 00:19:45 debug #658 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/27af311d9dd7364143a3c168fdc161558ffb7d65cba5984f4851a286e13dc0b8/main.spi
00:19:49 verbose #34510 >
00:19:49 verbose #34511 > ╭─[ 3.77s - stdout ]───────────────────────────────────────────────────────────╮
00:19:49 verbose #34512 > │ type UH0 = │
00:19:49 verbose #34513 > │ | UH0_0 │
00:19:49 verbose #34514 > │ | UH0_1 │
00:19:49 verbose #34515 > │ | UH0_2 │
00:19:49 verbose #34516 > │ | UH0_3 of UH0 * UH0 │
00:19:49 verbose #34517 > │ let rec method0 () : unit = │
00:19:49 verbose #34518 > │ let v3 : string = "assert_eq" │
00:19:49 verbose #34519 > │ let v4 : UH0 = UH0_0 │
00:19:49 verbose #34520 > │ let v5 : UH0 = UH0_0 │
00:19:49 verbose #34521 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:19:49 verbose #34522 > │ System.Console.WriteLine v6 │
00:19:49 verbose #34523 > │ let v10 : UH0 = UH0_0 │
00:19:49 verbose #34524 > │ let v11 : UH0 = UH0_0 │
00:19:49 verbose #34525 > │ let v12 : string = $"{v3} / actual: %A{v10} / expected: %A{v11}" │
00:19:49 verbose #34526 > │ System.Console.WriteLine v12 │
00:19:49 verbose #34527 > │ let v16 : UH0 = UH0_0 │
00:19:49 verbose #34528 > │ let v17 : UH0 = UH0_0 │
00:19:49 verbose #34529 > │ let v18 : string = $"{v3} / actual: %A{v16} / expected: %A{v17}" │
00:19:49 verbose #34530 > │ System.Console.WriteLine v18 │
00:19:49 verbose #34531 > │ let v22 : UH0 = UH0_0 │
00:19:49 verbose #34532 > │ let v23 : UH0 = UH0_0 │
00:19:49 verbose #34533 > │ let v24 : string = $"{v3} / actual: %A{v22} / expected: %A{v23}" │
00:19:49 verbose #34534 > │ System.Console.WriteLine v24 │
00:19:49 verbose #34535 > │ let v28 : UH0 = UH0_0 │
00:19:49 verbose #34536 > │ let v29 : UH0 = UH0_0 │
00:19:49 verbose #34537 > │ let v30 : string = $"{v3} / actual: %A{v28} / expected: %A{v29}" │
00:19:49 verbose #34538 > │ System.Console.WriteLine v30 │
00:19:49 verbose #34539 > │ let v34 : UH0 = UH0_1 │
00:19:49 verbose #34540 > │ let v35 : UH0 = UH0_1 │
00:19:49 verbose #34541 > │ let v36 : string = $"{v3} / actual: %A{v34} / expected: %A{v35}" │
00:19:49 verbose #34542 > │ System.Console.WriteLine v36 │
00:19:49 verbose #34543 > │ let v48 : UH0 = UH0_1 │
00:19:49 verbose #34544 > │ let v49 : UH0 = UH0_0 │
00:19:49 verbose #34545 > │ let v50 : UH0 = UH0_3(v48, v49) │
00:19:49 verbose #34546 > │ let v51 : UH0 = UH0_1 │
00:19:49 verbose #34547 > │ let v52 : UH0 = UH0_0 │
00:19:49 verbose #34548 > │ let v53 : UH0 = UH0_3(v51, v52) │
00:19:49 verbose #34549 > │ let v54 : string = $"{v3} / actual: %A{v50} / expected: %A{v53}" │
00:19:49 verbose #34550 > │ System.Console.WriteLine v54 │
00:19:49 verbose #34551 > │ let v66 : UH0 = UH0_1 │
00:19:49 verbose #34552 > │ let v67 : UH0 = UH0_1 │
00:19:49 verbose #34553 > │ let v68 : UH0 = UH0_3(v66, v67) │
00:19:49 verbose #34554 > │ let v69 : UH0 = UH0_1 │
00:19:49 verbose #34555 > │ let v70 : UH0 = UH0_1 │
00:19:49 verbose #34556 > │ let v71 : UH0 = UH0_3(v69, v70) │
00:19:49 verbose #34557 > │ let v72 : string = $"{v3} / actual: %A{v68} / expected: %A{v71}" │
00:19:49 verbose #34558 > │ System.Console.WriteLine v72 │
00:19:49 verbose #34559 > │ let v76 : UH0 = UH0_0 │
00:19:49 verbose #34560 > │ let v77 : UH0 = UH0_0 │
00:19:49 verbose #34561 > │ let v78 : string = $"{v3} / actual: %A{v76} / expected: %A{v77}" │
00:19:49 verbose #34562 > │ System.Console.WriteLine v78 │
00:19:49 verbose #34563 > │ let v82 : UH0 = UH0_1 │
00:19:49 verbose #34564 > │ let v83 : UH0 = UH0_1 │
00:19:49 verbose #34565 > │ let v84 : string = $"{v3} / actual: %A{v82} / expected: %A{v83}" │
00:19:49 verbose #34566 > │ System.Console.WriteLine v84 │
00:19:49 verbose #34567 > │ let v88 : UH0 = UH0_2 │
00:19:49 verbose #34568 > │ let v89 : UH0 = UH0_2 │
00:19:49 verbose #34569 > │ let v90 : string = $"{v3} / actual: %A{v88} / expected: %A{v89}" │
00:19:49 verbose #34570 > │ System.Console.WriteLine v90 │
00:19:49 verbose #34571 > │ let v94 : UH0 = UH0_2 │
00:19:49 verbose #34572 > │ let v95 : UH0 = UH0_2 │
00:19:49 verbose #34573 > │ let v96 : string = $"{v3} / actual: %A{v94} / expected: %A{v95}" │
00:19:49 verbose #34574 > │ System.Console.WriteLine v96 │
00:19:49 verbose #34575 > │ let v100 : UH0 = UH0_0 │
00:19:49 verbose #34576 > │ let v101 : UH0 = UH0_0 │
00:19:49 verbose #34577 > │ let v102 : string = $"{v3} / actual: %A{v100} / expected: %A{v101}" │
00:19:49 verbose #34578 > │ System.Console.WriteLine v102 │
00:19:49 verbose #34579 > │ let v106 : UH0 = UH0_0 │
00:19:49 verbose #34580 > │ let v107 : UH0 = UH0_0 │
00:19:49 verbose #34581 > │ let v108 : string = $"{v3} / actual: %A{v106} / expected: %A{v107}" │
00:19:49 verbose #34582 > │ System.Console.WriteLine v108 │
00:19:49 verbose #34583 > │ let v112 : UH0 = UH0_0 │
00:19:49 verbose #34584 > │ let v113 : UH0 = UH0_0 │
00:19:49 verbose #34585 > │ let v114 : string = $"{v3} / actual: %A{v112} / expected: %A{v113}" │
00:19:49 verbose #34586 > │ System.Console.WriteLine v114 │
00:19:49 verbose #34587 > │ let v118 : UH0 = UH0_2 │
00:19:49 verbose #34588 > │ let v119 : UH0 = UH0_2 │
00:19:49 verbose #34589 > │ let v120 : string = $"{v3} / actual: %A{v118} / expected: %A{v119}" │
00:19:49 verbose #34590 > │ System.Console.WriteLine v120 │
00:19:49 verbose #34591 > │ let v124 : UH0 = UH0_1 │
00:19:49 verbose #34592 > │ let v125 : UH0 = UH0_1 │
00:19:49 verbose #34593 > │ let v126 : string = $"{v3} / actual: %A{v124} / expected: %A{v125}" │
00:19:49 verbose #34594 > │ System.Console.WriteLine v126 │
00:19:49 verbose #34595 > │ () │
00:19:49 verbose #34596 > │ method0() │
00:19:49 verbose #34597 > │ │
00:19:49 verbose #34598 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34599 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34600 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34601 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34602 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34603 > │ assert_eq / actual: UH0_1 / expected: UH0_1 │
00:19:49 verbose #34604 > │ assert_eq / actual: UH0_3 (UH0_1, UH0_0) / expected: UH0_3 (UH0_1, UH0_0) │
00:19:49 verbose #34605 > │ assert_eq / actual: UH0_3 (UH0_1, UH0_1) / expected: UH0_3 (UH0_1, UH0_1) │
00:19:49 verbose #34606 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34607 > │ assert_eq / actual: UH0_1 / expected: UH0_1 │
00:19:49 verbose #34608 > │ assert_eq / actual: UH0_2 / expected: UH0_2 │
00:19:49 verbose #34609 > │ assert_eq / actual: UH0_2 / expected: UH0_2 │
00:19:49 verbose #34610 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34611 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34612 > │ assert_eq / actual: UH0_0 / expected: UH0_0 │
00:19:49 verbose #34613 > │ assert_eq / actual: UH0_2 / expected: UH0_2 │
00:19:49 verbose #34614 > │ assert_eq / actual: UH0_1 / expected: UH0_1 │
00:19:49 verbose #34615 > │ │
00:19:49 verbose #34616 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:19:56 verbose #34617 > [NbConvertApp] Converting notebook util.dib.ipynb to html
00:19:56 verbose #34618 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:19:56 verbose #34619 > validate(nb)
00:20:00 verbose #34620 > [NbConvertApp] Writing 287976 bytes to util.dib.html
00:20:02 debug #34621 execute_with_options_async / exit_code: 0 / output.Length: 12530
00:20:02 debug #19 main / executeCommand / exitCode: 0
00:20:02 debug #34622 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 stream.dib" -Retries 3", [||],
None, None, None)
00:20:03 verbose #34623 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: stream.dib / _args: [
00:20:03 verbose #34624 > "-Retries",
00:20:03 verbose #34625 > 3
00:20:03 verbose #34626 > ]
00:20:07 verbose #34627 >
00:20:07 verbose #34628 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:07 verbose #34629 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:07 verbose #34630 > │ # stream │
00:20:07 verbose #34631 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:07 verbose #34632 >
00:20:07 verbose #34633 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:07 verbose #34634 > open rust_operators
00:20:07 verbose #34635 >
00:20:07 verbose #34636 > ── spiral - import ─────────────────────────────────────────────────────────────
00:20:07 verbose #34637 > #r
00:20:07 verbose #34638 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:20:07 verbose #34639 > otNet.Interactive.Spiral.dll"
00:20:07 verbose #34640 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:20:07 verbose #34641 > #r
00:20:07 verbose #34642 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:20:07 verbose #34643 > otNet.Interactive.dll"
00:20:07 verbose #34644 > open type Microsoft.DotNet.Interactive.Kernel
00:20:13 verbose #34645 > 00:20:12 debug #659 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/509422cf3bb8a8cfc4cbb3c916e280922525b9b9428a427906e968efadb5b7b1/main.spi
00:20:14 verbose #34646 >
00:20:14 verbose #34647 > ╭─[ 7.13s - stdout ]───────────────────────────────────────────────────────────╮
00:20:14 verbose #34648 > │ () │
00:20:14 verbose #34649 > │ │
00:20:14 verbose #34650 > │ │
00:20:14 verbose #34651 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:14 verbose #34652 >
00:20:14 verbose #34653 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:14 verbose #34654 > //// test
00:20:14 verbose #34655 >
00:20:14 verbose #34656 > open testing
00:20:14 verbose #34657 > 00:20:13 debug #660 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d67524a3bcd7038c5c43eb4daee40517b284f6b43c6c9788496346ad0e56646c/main.spi
00:20:15 verbose #34658 >
00:20:15 verbose #34659 > ╭─[ 694.87ms - stdout ]────────────────────────────────────────────────────────╮
00:20:15 verbose #34660 > │ () │
00:20:15 verbose #34661 > │ │
00:20:15 verbose #34662 > │ │
00:20:15 verbose #34663 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:15 verbose #34664 >
00:20:15 verbose #34665 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:15 verbose #34666 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:15 verbose #34667 > │ ## types │
00:20:15 verbose #34668 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:15 verbose #34669 >
00:20:15 verbose #34670 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:15 verbose #34671 > inl types () =
00:20:15 verbose #34672 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:20:15 verbose #34673 > Fable.Core.Emit(\"async_std::io::BufReader<$0>\")>]]\n#endif\ntype
00:20:15 verbose #34674 > async_std_io_BufReader<'T> = class end"
00:20:15 verbose #34675 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:20:15 verbose #34676 > Fable.Core.Emit(\"std::io::BufReader<$0>\")>]]\n#endif\ntype
00:20:15 verbose #34677 > std_io_BufReader<'T> = class end"
00:20:15 verbose #34678 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:20:15 verbose #34679 > Fable.Core.Emit(\"std::io::Error\")>]]\n#endif\ntype std_io_Error = class end"
00:20:15 verbose #34680 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:20:15 verbose #34681 > Fable.Core.Emit(\"std::io::Lines<$0>\")>]]\n#endif\ntype std_io_Lines<'T> =
00:20:15 verbose #34682 > class end"
00:20:15 verbose #34683 > 00:20:14 debug #661 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c96d8ac443f49aef3815a4a1de25c2fc303ac3525f21fa21062e09a746d7afe5/main.spi
00:20:15 verbose #34684 >
00:20:15 verbose #34685 > ╭─[ 847.74ms - stdout ]────────────────────────────────────────────────────────╮
00:20:15 verbose #34686 > │ () │
00:20:15 verbose #34687 > │ │
00:20:15 verbose #34688 > │ │
00:20:15 verbose #34689 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:15 verbose #34690 >
00:20:15 verbose #34691 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:15 verbose #34692 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:15 verbose #34693 > │ ## io_error │
00:20:15 verbose #34694 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:15 verbose #34695 >
00:20:15 verbose #34696 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:15 verbose #34697 > nominal io_error = $"std_io_Error"
00:20:16 verbose #34698 > 00:20:15 debug #662 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/85d8fc47bb747f4708019991009f85a8e9ed48e25df650b6e543358f7f6bd6cb/main.spi
00:20:16 verbose #34699 >
00:20:16 verbose #34700 > ╭─[ 692.00ms - stdout ]────────────────────────────────────────────────────────╮
00:20:16 verbose #34701 > │ () │
00:20:16 verbose #34702 > │ │
00:20:16 verbose #34703 > │ │
00:20:16 verbose #34704 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:16 verbose #34705 >
00:20:16 verbose #34706 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:16 verbose #34707 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:16 verbose #34708 > │ ## buf_reader │
00:20:16 verbose #34709 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:16 verbose #34710 >
00:20:16 verbose #34711 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:16 verbose #34712 > nominal buf_reader t = $'std_io_BufReader<`t>'
00:20:17 verbose #34713 > 00:20:16 debug #663 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/88ba00bec0c1454376d7b4f03aa56842eb8adbc2c9da6e0b2cfb65fd8ea53580/main.spi
00:20:17 verbose #34714 >
00:20:17 verbose #34715 > ╭─[ 685.53ms - stdout ]────────────────────────────────────────────────────────╮
00:20:17 verbose #34716 > │ () │
00:20:17 verbose #34717 > │ │
00:20:17 verbose #34718 > │ │
00:20:17 verbose #34719 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:17 verbose #34720 >
00:20:17 verbose #34721 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:17 verbose #34722 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:17 verbose #34723 > │ ## async_buf_reader │
00:20:17 verbose #34724 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:17 verbose #34725 >
00:20:17 verbose #34726 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:17 verbose #34727 > nominal async_buf_reader t = $'async_std_io_BufReader<`t>'
00:20:17 verbose #34728 > 00:20:16 debug #664 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b98a4934e65614ef117d6a3f86a736248fc16e68c069331a9bd835c2414b43ad/main.spi
00:20:18 verbose #34729 >
00:20:18 verbose #34730 > ╭─[ 703.88ms - stdout ]────────────────────────────────────────────────────────╮
00:20:18 verbose #34731 > │ () │
00:20:18 verbose #34732 > │ │
00:20:18 verbose #34733 > │ │
00:20:18 verbose #34734 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:18 verbose #34735 >
00:20:18 verbose #34736 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:18 verbose #34737 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:18 verbose #34738 > │ ## new_buf_reader │
00:20:18 verbose #34739 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:18 verbose #34740 >
00:20:18 verbose #34741 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:18 verbose #34742 > inl new_buf_reader forall t. (x : t) : buf_reader t =
00:20:18 verbose #34743 > !\($'"std::io::BufReader::new(!x)"')
00:20:18 verbose #34744 > 00:20:17 debug #665 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ae597070570487c23cebd97ba6d73330535ef1e4d236f32d1b1cc441c6442efd/main.spi
00:20:18 verbose #34745 >
00:20:18 verbose #34746 > ╭─[ 655.49ms - stdout ]────────────────────────────────────────────────────────╮
00:20:18 verbose #34747 > │ () │
00:20:18 verbose #34748 > │ │
00:20:18 verbose #34749 > │ │
00:20:18 verbose #34750 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:18 verbose #34751 >
00:20:18 verbose #34752 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:18 verbose #34753 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:18 verbose #34754 > │ ## lines │
00:20:18 verbose #34755 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:18 verbose #34756 >
00:20:18 verbose #34757 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:18 verbose #34758 > nominal lines t = $'std_io_Lines<`t>'
00:20:19 verbose #34759 > 00:20:18 debug #666 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e08edb37ac3d1c36c44ae8c55307463e6ded72d4bb3d856fc5f9de6afaf82e99/main.spi
00:20:19 verbose #34760 >
00:20:19 verbose #34761 > ╭─[ 680.35ms - stdout ]────────────────────────────────────────────────────────╮
00:20:19 verbose #34762 > │ () │
00:20:19 verbose #34763 > │ │
00:20:19 verbose #34764 > │ │
00:20:19 verbose #34765 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:19 verbose #34766 >
00:20:19 verbose #34767 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:19 verbose #34768 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:19 verbose #34769 > │ ## buf_read_lines │
00:20:19 verbose #34770 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:19 verbose #34771 >
00:20:19 verbose #34772 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:19 verbose #34773 > inl buf_read_lines forall t. (buf_reader : buf_reader t) : lines (buf_reader t)
00:20:19 verbose #34774 > =
00:20:19 verbose #34775 > !\($'"std::io::BufRead::lines(!buf_reader)"')
00:20:19 verbose #34776 > 00:20:18 debug #667 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7e220f40823e87181e95034957ad18a6a92f45b816692d5953d63d4366d56470/main.spi
00:20:20 verbose #34777 >
00:20:20 verbose #34778 > ╭─[ 738.55ms - stdout ]────────────────────────────────────────────────────────╮
00:20:20 verbose #34779 > │ () │
00:20:20 verbose #34780 > │ │
00:20:20 verbose #34781 > │ │
00:20:20 verbose #34782 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:20 verbose #34783 >
00:20:20 verbose #34784 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:20 verbose #34785 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:20 verbose #34786 > │ ## buf_reader_read │
00:20:20 verbose #34787 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:20 verbose #34788 >
00:20:20 verbose #34789 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:20 verbose #34790 > inl buf_reader_read forall t dim. (slice : am'.slice' dim dim) (buf_reader :
00:20:20 verbose #34791 > buf_reader t) : resultm.result' dim io_error =
00:20:20 verbose #34792 > !\($'"std::io::Read::read(!buf_reader, !slice)"')
00:20:20 verbose #34793 > 00:20:19 debug #668 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dafa71753c1df1217cb8fe7bcb261573f5c8ffa71de7c4f295422fe9b7ae2e30/main.spi
00:20:20 verbose #34794 >
00:20:20 verbose #34795 > ╭─[ 736.61ms - stdout ]────────────────────────────────────────────────────────╮
00:20:20 verbose #34796 > │ () │
00:20:20 verbose #34797 > │ │
00:20:20 verbose #34798 > │ │
00:20:20 verbose #34799 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:20 verbose #34800 >
00:20:20 verbose #34801 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:20 verbose #34802 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:20 verbose #34803 > │ ## stream │
00:20:20 verbose #34804 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:20 verbose #34805 >
00:20:20 verbose #34806 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:20 verbose #34807 > union rec stream t =
00:20:20 verbose #34808 > | StreamCons : t * (() -> stream t)
00:20:20 verbose #34809 > | StreamNil
00:20:21 verbose #34810 > 00:20:20 debug #669 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/93e5d486e8404be73491887c2b685ef2c0a083fc8c8fed8485853724033603b3/main.spi
00:20:21 verbose #34811 >
00:20:21 verbose #34812 > ╭─[ 917.93ms - stdout ]────────────────────────────────────────────────────────╮
00:20:21 verbose #34813 > │ () │
00:20:21 verbose #34814 > │ │
00:20:21 verbose #34815 > │ │
00:20:21 verbose #34816 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:21 verbose #34817 >
00:20:21 verbose #34818 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:21 verbose #34819 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:21 verbose #34820 > │ ## fold │
00:20:21 verbose #34821 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:21 verbose #34822 >
00:20:21 verbose #34823 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:21 verbose #34824 > inl fold fn init s =
00:20:21 verbose #34825 > inl rec body acc = function
00:20:21 verbose #34826 > | StreamCons (st, fn') => loop (fn acc st) (fn' ())
00:20:21 verbose #34827 > | StreamNil => acc
00:20:21 verbose #34828 > and inl loop acc = join_body body acc
00:20:21 verbose #34829 > loop init s
00:20:22 verbose #34830 > 00:20:21 debug #670 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7b0293dc0577f0d7426fee171218427469cb4cbc27a1741e9f2643ecd131b172/main.spi
00:20:22 verbose #34831 >
00:20:22 verbose #34832 > ╭─[ 737.25ms - stdout ]────────────────────────────────────────────────────────╮
00:20:22 verbose #34833 > │ () │
00:20:22 verbose #34834 > │ │
00:20:22 verbose #34835 > │ │
00:20:22 verbose #34836 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:22 verbose #34837 >
00:20:22 verbose #34838 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:22 verbose #34839 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:22 verbose #34840 > │ ## fold_back │
00:20:22 verbose #34841 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:22 verbose #34842 >
00:20:22 verbose #34843 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:22 verbose #34844 > inl fold_back fn s init =
00:20:22 verbose #34845 > inl rec body acc = function
00:20:22 verbose #34846 > | StreamCons (st, fn') => fn st (loop acc (fn' ()))
00:20:22 verbose #34847 > | StreamNil => acc
00:20:22 verbose #34848 > and inl loop acc = join_body body acc
00:20:22 verbose #34849 > loop init s
00:20:23 verbose #34850 > 00:20:22 debug #671 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09a6cde43d75029e94e3d7a5ee786ee5b444c1941c87510a327175297bd23c92/main.spi
00:20:23 verbose #34851 >
00:20:23 verbose #34852 > ╭─[ 686.95ms - stdout ]────────────────────────────────────────────────────────╮
00:20:23 verbose #34853 > │ () │
00:20:23 verbose #34854 > │ │
00:20:23 verbose #34855 > │ │
00:20:23 verbose #34856 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:23 verbose #34857 >
00:20:23 verbose #34858 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:23 verbose #34859 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:23 verbose #34860 > │ ## to_list │
00:20:23 verbose #34861 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:23 verbose #34862 >
00:20:23 verbose #34863 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:23 verbose #34864 > inl to_list s =
00:20:23 verbose #34865 > (s, [[]])
00:20:23 verbose #34866 > ||> fold_back fun x acc =>
00:20:23 verbose #34867 > x :: acc
00:20:23 verbose #34868 > 00:20:22 debug #672 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1a3eddb3f3539e1ce75b11911706178a87b4e7f3bf98409086994c9b569858e6/main.spi
00:20:23 verbose #34869 >
00:20:23 verbose #34870 > ╭─[ 690.32ms - stdout ]────────────────────────────────────────────────────────╮
00:20:23 verbose #34871 > │ () │
00:20:23 verbose #34872 > │ │
00:20:23 verbose #34873 > │ │
00:20:23 verbose #34874 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:23 verbose #34875 >
00:20:23 verbose #34876 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:23 verbose #34877 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:23 verbose #34878 > │ ## rev │
00:20:23 verbose #34879 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:23 verbose #34880 >
00:20:23 verbose #34881 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:23 verbose #34882 > inl rev s =
00:20:23 verbose #34883 > (StreamNil, s)
00:20:23 verbose #34884 > ||> fold fun s x =>
00:20:23 verbose #34885 > StreamCons (x, fun () => s)
00:20:24 verbose #34886 > 00:20:23 debug #673 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cf40687691eb896baa761f1704d5bed26163b7f72e14ab6fd955d3e771fa84f1/main.spi
00:20:24 verbose #34887 >
00:20:24 verbose #34888 > ╭─[ 698.90ms - stdout ]────────────────────────────────────────────────────────╮
00:20:24 verbose #34889 > │ () │
00:20:24 verbose #34890 > │ │
00:20:24 verbose #34891 > │ │
00:20:24 verbose #34892 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:24 verbose #34893 >
00:20:24 verbose #34894 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:24 verbose #34895 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:24 verbose #34896 > │ ## from_list │
00:20:24 verbose #34897 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:24 verbose #34898 >
00:20:24 verbose #34899 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:24 verbose #34900 > inl from_list list =
00:20:24 verbose #34901 > (list, StreamNil)
00:20:24 verbose #34902 > ||> listm.foldBack fun x acc =>
00:20:24 verbose #34903 > StreamCons (x, fun () => acc)
00:20:25 verbose #34904 > 00:20:24 debug #674 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/848752d10b0ce6de0dd72b32016350b1980f600ecc2b0b8154665980f2751847/main.spi
00:20:25 verbose #34905 >
00:20:25 verbose #34906 > ╭─[ 692.12ms - stdout ]────────────────────────────────────────────────────────╮
00:20:25 verbose #34907 > │ () │
00:20:25 verbose #34908 > │ │
00:20:25 verbose #34909 > │ │
00:20:25 verbose #34910 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:25 verbose #34911 >
00:20:25 verbose #34912 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:25 verbose #34913 > //// test
00:20:25 verbose #34914 >
00:20:25 verbose #34915 > listm.init 3i32 id
00:20:25 verbose #34916 > |> from_list
00:20:25 verbose #34917 > |> rev
00:20:25 verbose #34918 > |> to_list
00:20:25 verbose #34919 > |> _assert_eq [[ 2; 1; 0 ]]
00:20:25 verbose #34920 > 00:20:24 debug #675 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31056c4749d84cd078b0cea76ab6eddf44918ef758d0e2c772db60ccd69058a6/main.spi
00:20:27 verbose #34921 >
00:20:27 verbose #34922 > ╭─[ 2.52s - stdout ]───────────────────────────────────────────────────────────╮
00:20:27 verbose #34923 > │ type UH0 = │
00:20:27 verbose #34924 > │ | UH0_0 │
00:20:27 verbose #34925 > │ | UH0_1 of int32 * UH0 │
00:20:27 verbose #34926 > │ let rec method0 () : unit = │
00:20:27 verbose #34927 > │ let v18 : string = "assert_eq" │
00:20:27 verbose #34928 > │ let v19 : UH0 = UH0_0 │
00:20:27 verbose #34929 > │ let v20 : UH0 = UH0_1(0, v19) │
00:20:27 verbose #34930 > │ let v21 : UH0 = UH0_1(1, v20) │
00:20:27 verbose #34931 > │ let v22 : UH0 = UH0_1(2, v21) │
00:20:27 verbose #34932 > │ let v23 : UH0 = UH0_0 │
00:20:27 verbose #34933 > │ let v24 : UH0 = UH0_1(0, v23) │
00:20:27 verbose #34934 > │ let v25 : UH0 = UH0_1(1, v24) │
00:20:27 verbose #34935 > │ let v26 : UH0 = UH0_1(2, v25) │
00:20:27 verbose #34936 > │ let v27 : string = $"{v18} / actual: %A{v22} / expected: %A{v26}" │
00:20:27 verbose #34937 > │ System.Console.WriteLine v27 │
00:20:27 verbose #34938 > │ () │
00:20:27 verbose #34939 > │ method0() │
00:20:27 verbose #34940 > │ │
00:20:27 verbose #34941 > │ assert_eq / actual: UH0_1 (2, UH0_1 (1, UH0_1 (0, UH0_0))) / expected: UH0_1 │
00:20:27 verbose #34942 > │ (2, UH0_1 (1, UH0_1 (0, UH0_0))) │
00:20:27 verbose #34943 > │ │
00:20:27 verbose #34944 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:27 verbose #34945 >
00:20:27 verbose #34946 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:27 verbose #34947 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:27 verbose #34948 > │ ## try_item │
00:20:27 verbose #34949 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:27 verbose #34950 >
00:20:27 verbose #34951 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:27 verbose #34952 > inl try_item i s =
00:20:27 verbose #34953 > inl rec body i = function
00:20:27 verbose #34954 > | StreamCons (x, _) when i <= 0 => Some x
00:20:27 verbose #34955 > | StreamCons (_, fn) => loop (i - 1) (fn ())
00:20:27 verbose #34956 > | StreamNil => None
00:20:27 verbose #34957 > and inl loop acc s' =
00:20:27 verbose #34958 > match var_is acc, var_is s' with
00:20:27 verbose #34959 > | false, false => body acc s'
00:20:27 verbose #34960 > | _ =>
00:20:27 verbose #34961 > inl acc = dyn acc
00:20:27 verbose #34962 > inl s' = dyn s'
00:20:27 verbose #34963 > join body acc s'
00:20:27 verbose #34964 > loop i s
00:20:27 verbose #34965 >
00:20:27 verbose #34966 > inl item i =
00:20:27 verbose #34967 > try_item i >> optionm.value
00:20:28 verbose #34968 > 00:20:27 debug #676 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/118757d27a72b81210508ee0a26ec170479521582de419be2118f5ec09e0a76a/main.spi
00:20:28 verbose #34969 >
00:20:28 verbose #34970 > ╭─[ 710.30ms - stdout ]────────────────────────────────────────────────────────╮
00:20:28 verbose #34971 > │ () │
00:20:28 verbose #34972 > │ │
00:20:28 verbose #34973 > │ │
00:20:28 verbose #34974 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:28 verbose #34975 >
00:20:28 verbose #34976 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:28 verbose #34977 > //// test
00:20:28 verbose #34978 >
00:20:28 verbose #34979 > listm.init 10i32 id
00:20:28 verbose #34980 > |> from_list
00:20:28 verbose #34981 > |> item 9i32
00:20:28 verbose #34982 > |> _assert_eq 9
00:20:29 verbose #34983 > 00:20:28 debug #677 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f109a090f6ccfea0b1a0db468e9777a5fd59a3742dfbe34f38d75a3b2cd46b37/main.spi
00:20:29 verbose #34984 >
00:20:29 verbose #34985 > ╭─[ 797.17ms - stdout ]────────────────────────────────────────────────────────╮
00:20:29 verbose #34986 > │ let rec method0 () : unit = │
00:20:29 verbose #34987 > │ let v0 : string = "assert_eq" │
00:20:29 verbose #34988 > │ let v1 : string = $"{v0} / actual: %A{9} / expected: %A{9}" │
00:20:29 verbose #34989 > │ System.Console.WriteLine v1 │
00:20:29 verbose #34990 > │ () │
00:20:29 verbose #34991 > │ method0() │
00:20:29 verbose #34992 > │ │
00:20:29 verbose #34993 > │ assert_eq / actual: 9 / expected: 9 │
00:20:29 verbose #34994 > │ │
00:20:29 verbose #34995 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:29 verbose #34996 >
00:20:29 verbose #34997 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:29 verbose #34998 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:29 verbose #34999 > │ ## new_infinite_stream │
00:20:29 verbose #35000 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:29 verbose #35001 >
00:20:29 verbose #35002 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:29 verbose #35003 > inl new_infinite_stream fn =
00:20:29 verbose #35004 > inl rec loop n =
00:20:29 verbose #35005 > StreamCons (fn n, fun () => loop (n + 1))
00:20:29 verbose #35006 > loop 0
00:20:29 verbose #35007 >
00:20:29 verbose #35008 > inl new_infinite_stream_ fn =
00:20:29 verbose #35009 > let rec loop n =
00:20:29 verbose #35010 > StreamCons (fn n, fun () => loop (n + 1))
00:20:29 verbose #35011 > loop 0
00:20:30 verbose #35012 > 00:20:29 debug #678 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7b2cf6b49fd8701b02472823b294565c3318c3d90be74d12370c2bcec945b096/main.spi
00:20:30 verbose #35013 >
00:20:30 verbose #35014 > ╭─[ 905.59ms - stdout ]────────────────────────────────────────────────────────╮
00:20:30 verbose #35015 > │ () │
00:20:30 verbose #35016 > │ │
00:20:30 verbose #35017 > │ │
00:20:30 verbose #35018 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:30 verbose #35019 >
00:20:30 verbose #35020 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:30 verbose #35021 > //// test
00:20:30 verbose #35022 >
00:20:30 verbose #35023 > new_infinite_stream print_and_return
00:20:30 verbose #35024 > |> item 4i32
00:20:30 verbose #35025 > |> _assert_eq 4i32
00:20:31 verbose #35026 > 00:20:30 debug #679 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4b4f650ec2a96e70502b697228bdae563eecfea146f211820cf312ddbf81bb67/main.spi
00:20:31 verbose #35027 >
00:20:31 verbose #35028 > ╭─[ 1.18s - stdout ]───────────────────────────────────────────────────────────╮
00:20:31 verbose #35029 > │ let rec method0 () : unit = │
00:20:31 verbose #35030 > │ printfn $"print_and_return / x: {0}" │
00:20:31 verbose #35031 > │ printfn $"print_and_return / x: {1}" │
00:20:31 verbose #35032 > │ printfn $"print_and_return / x: {2}" │
00:20:31 verbose #35033 > │ printfn $"print_and_return / x: {3}" │
00:20:31 verbose #35034 > │ printfn $"print_and_return / x: {4}" │
00:20:31 verbose #35035 > │ let v0 : string = "assert_eq" │
00:20:31 verbose #35036 > │ let v1 : string = $"{v0} / actual: %A{4} / expected: %A{4}" │
00:20:31 verbose #35037 > │ System.Console.WriteLine v1 │
00:20:31 verbose #35038 > │ () │
00:20:31 verbose #35039 > │ method0() │
00:20:31 verbose #35040 > │ │
00:20:31 verbose #35041 > │ print_and_return / x: 0 │
00:20:31 verbose #35042 > │ print_and_return / x: 1 │
00:20:31 verbose #35043 > │ print_and_return / x: 2 │
00:20:31 verbose #35044 > │ print_and_return / x: 3 │
00:20:31 verbose #35045 > │ print_and_return / x: 4 │
00:20:31 verbose #35046 > │ assert_eq / actual: 4 / expected: 4 │
00:20:31 verbose #35047 > │ │
00:20:31 verbose #35048 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:31 verbose #35049 >
00:20:31 verbose #35050 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:31 verbose #35051 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:31 verbose #35052 > │ ## new_finite_stream │
00:20:31 verbose #35053 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:31 verbose #35054 >
00:20:31 verbose #35055 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:31 verbose #35056 > inl new_finite_stream fn max =
00:20:31 verbose #35057 > inl rec loop n =
00:20:31 verbose #35058 > if n >= max
00:20:31 verbose #35059 > then StreamNil
00:20:31 verbose #35060 > else StreamCons (fn n, fun () => loop (n + 1))
00:20:31 verbose #35061 > loop 0
00:20:32 verbose #35062 > 00:20:31 debug #680 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/848f306f2f3631896b5291b319604b8999633c88ced0cd2b04b9552dcb636e9d/main.spi
00:20:32 verbose #35063 >
00:20:32 verbose #35064 > ╭─[ 767.00ms - stdout ]────────────────────────────────────────────────────────╮
00:20:32 verbose #35065 > │ () │
00:20:32 verbose #35066 > │ │
00:20:32 verbose #35067 > │ │
00:20:32 verbose #35068 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:32 verbose #35069 >
00:20:32 verbose #35070 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:32 verbose #35071 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:32 verbose #35072 > │ ## memoize │
00:20:32 verbose #35073 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:32 verbose #35074 >
00:20:32 verbose #35075 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:32 verbose #35076 > union memoized_stream t =
00:20:32 verbose #35077 > | NotComputed : () -> stream t
00:20:32 verbose #35078 > | Computed : stream t
00:20:32 verbose #35079 >
00:20:32 verbose #35080 > inl memoize s =
00:20:32 verbose #35081 > inl rec body s =
00:20:32 verbose #35082 > inl state = mut (NotComputed s)
00:20:32 verbose #35083 > fun () =>
00:20:32 verbose #35084 > match *state with
00:20:32 verbose #35085 > | Computed x => x
00:20:32 verbose #35086 > | NotComputed fn =>
00:20:32 verbose #35087 > inl new_state =
00:20:32 verbose #35088 > match fn () with
00:20:32 verbose #35089 > | StreamNil => StreamNil
00:20:32 verbose #35090 > | StreamCons (x, fn) => StreamCons (x, loop fn)
00:20:32 verbose #35091 > state <- Computed new_state
00:20:32 verbose #35092 > new_state
00:20:32 verbose #35093 > and inl loop s' = join_body_unit body s s'
00:20:32 verbose #35094 > loop (fun () => s)
00:20:32 verbose #35095 > 00:20:31 debug #681 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4d067cf0819a430900785e4c514478228aaaf18b539bc2acd96ff104b8b7cdea/main.spi
00:20:33 verbose #35096 >
00:20:33 verbose #35097 > ╭─[ 973.60ms - stdout ]────────────────────────────────────────────────────────╮
00:20:33 verbose #35098 > │ () │
00:20:33 verbose #35099 > │ │
00:20:33 verbose #35100 > │ │
00:20:33 verbose #35101 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:33 verbose #35102 >
00:20:33 verbose #35103 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:33 verbose #35104 > //// test
00:20:33 verbose #35105 >
00:20:33 verbose #35106 > inl memo_stream = new_finite_stream print_and_return 10 |> memoize
00:20:33 verbose #35107 >
00:20:33 verbose #35108 > memo_stream ()
00:20:33 verbose #35109 > |> item 3i32
00:20:33 verbose #35110 > |> _assert_eq 3i32
00:20:33 verbose #35111 >
00:20:33 verbose #35112 > memo_stream ()
00:20:33 verbose #35113 > |> item 5i32
00:20:33 verbose #35114 > |> _assert_eq 5i32
00:20:34 verbose #35115 > 00:20:33 debug #682 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/695bc01c4e824c28643b1d14571c3718f1ed356b9ea7923cdd8f08d4a0aeb7ef/main.spi
00:20:35 verbose #35116 >
00:20:35 verbose #35117 > ╭─[ 1.88s - stdout ]───────────────────────────────────────────────────────────╮
00:20:35 verbose #35118 > │ type UH0 = │
00:20:35 verbose #35119 > │ | UH0_0 of int32 * (unit -> UH0) │
00:20:35 verbose #35120 > │ | UH0_1 │
00:20:35 verbose #35121 > │ and [<Struct>] US0 = │
00:20:35 verbose #35122 > │ | US0_0 of f0_0 : (unit -> UH0) │
00:20:35 verbose #35123 > │ | US0_1 of f1_0 : UH0 │
00:20:35 verbose #35124 > │ and Mut0 = {mutable l0 : US0} │
00:20:35 verbose #35125 > │ and [<Struct>] US1 = │
00:20:35 verbose #35126 > │ | US1_0 of f0_0 : int32 │
00:20:35 verbose #35127 > │ | US1_1 │
00:20:35 verbose #35128 > │ let rec closure10 () () : UH0 = │
00:20:35 verbose #35129 > │ UH0_1 │
00:20:35 verbose #35130 > │ and closure9 () () : UH0 = │
00:20:35 verbose #35131 > │ printfn $"print_and_return / x: {9}" │
00:20:35 verbose #35132 > │ let v0 : (unit -> UH0) = closure10() │
00:20:35 verbose #35133 > │ UH0_0(9, v0) │
00:20:35 verbose #35134 > │ and closure8 () () : UH0 = │
00:20:35 verbose #35135 > │ printfn $"print_and_return / x: {8}" │
00:20:35 verbose #35136 > │ let v0 : (unit -> UH0) = closure9() │
00:20:35 verbose #35137 > │ UH0_0(8, v0) │
00:20:35 verbose #35138 > │ and closure7 () () : UH0 = │
00:20:35 verbose #35139 > │ printfn $"print_and_return / x: {7}" │
00:20:35 verbose #35140 > │ let v0 : (unit -> UH0) = closure8() │
00:20:35 verbose #35141 > │ UH0_0(7, v0) │
00:20:35 verbose #35142 > │ and closure6 () () : UH0 = │
00:20:35 verbose #35143 > │ printfn $"print_and_return / x: {6}" │
00:20:35 verbose #35144 > │ let v0 : (unit -> UH0) = closure7() │
00:20:35 verbose #35145 > │ UH0_0(6, v0) │
00:20:35 verbose #35146 > │ and closure5 () () : UH0 = │
00:20:35 verbose #35147 > │ printfn $"print_and_return / x: {5}" │
00:20:35 verbose #35148 > │ let v0 : (unit -> UH0) = closure6() │
00:20:35 verbose #35149 > │ UH0_0(5, v0) │
00:20:35 verbose #35150 > │ and closure4 () () : UH0 = │
00:20:35 verbose #35151 > │ printfn $"print_and_return / x: {4}" │
00:20:35 verbose #35152 > │ let v0 : (unit -> UH0) = closure5() │
00:20:35 verbose #35153 > │ UH0_0(4, v0) │
00:20:35 verbose #35154 > │ and closure3 () () : UH0 = │
00:20:35 verbose #35155 > │ printfn $"print_and_return / x: {3}" │
00:20:35 verbose #35156 > │ let v0 : (unit -> UH0) = closure4() │
00:20:35 verbose #35157 > │ UH0_0(3, v0) │
00:20:35 verbose #35158 > │ and closure2 () () : UH0 = │
00:20:35 verbose #35159 > │ printfn $"print_and_return / x: {2}" │
00:20:35 verbose #35160 > │ let v0 : (unit -> UH0) = closure3() │
00:20:35 verbose #35161 > │ UH0_0(2, v0) │
00:20:35 verbose #35162 > │ and closure1 () () : UH0 = │
00:20:35 verbose #35163 > │ printfn $"print_and_return / x: {1}" │
00:20:35 verbose #35164 > │ let v0 : (unit -> UH0) = closure2() │
00:20:35 verbose #35165 > │ UH0_0(1, v0) │
00:20:35 verbose #35166 > │ and closure0 () () : UH0 = │
00:20:35 verbose #35167 > │ let v0 : (unit -> UH0) = closure1() │
00:20:35 verbose #35168 > │ UH0_0(0, v0) │
00:20:35 verbose #35169 > │ and closure11 (v0 : Mut0) () : UH0 = │
00:20:35 verbose #35170 > │ let v1 : US0 = v0.l0 │
00:20:35 verbose #35171 > │ match v1 with │
00:20:35 verbose #35172 > │ | US0_1(v2) -> (* Computed *) │
00:20:35 verbose #35173 > │ v2 │
00:20:35 verbose #35174 > │ | US0_0(v3) -> (* NotComputed *) │
00:20:35 verbose #35175 > │ let v4 : UH0 = v3 () │
00:20:35 verbose #35176 > │ let v13 : UH0 = │
00:20:35 verbose #35177 > │ match v4 with │
00:20:35 verbose #35178 > │ | UH0_0(v6, v7) -> (* StreamCons *) │
00:20:35 verbose #35179 > │ let v8 : US0 = US0_0(v7) │
00:20:35 verbose #35180 > │ let v9 : Mut0 = {l0 = v8} : Mut0 │
00:20:35 verbose #35181 > │ let v10 : (unit -> UH0) = closure11(v9) │
00:20:35 verbose #35182 > │ UH0_0(v6, v10) │
00:20:35 verbose #35183 > │ | UH0_1 -> (* StreamNil *) │
00:20:35 verbose #35184 > │ UH0_1 │
00:20:35 verbose #35185 > │ let v14 : US0 = US0_1(v13) │
00:20:35 verbose #35186 > │ v0.l0 <- v14 │
00:20:35 verbose #35187 > │ v13 │
00:20:35 verbose #35188 > │ and method1 (v0 : int32, v1 : UH0) : US1 = │
00:20:35 verbose #35189 > │ match v1 with │
00:20:35 verbose #35190 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:20:35 verbose #35191 > │ let v4 : bool = v0 <= 0 │
00:20:35 verbose #35192 > │ if v4 then │
00:20:35 verbose #35193 > │ US1_0(v2) │
00:20:35 verbose #35194 > │ else │
00:20:35 verbose #35195 > │ let v6 : int32 = v0 - 1 │
00:20:35 verbose #35196 > │ let v7 : UH0 = v3 () │
00:20:35 verbose #35197 > │ method1(v6, v7) │
00:20:35 verbose #35198 > │ | UH0_1 -> (* StreamNil *) │
00:20:35 verbose #35199 > │ US1_1 │
00:20:35 verbose #35200 > │ and method2 (v0 : bool) : bool = │
00:20:35 verbose #35201 > │ v0 │
00:20:35 verbose #35202 > │ and method0 () : unit = │
00:20:35 verbose #35203 > │ printfn $"print_and_return / x: {0}" │
00:20:35 verbose #35204 > │ let v0 : (unit -> UH0) = closure0() │
00:20:35 verbose #35205 > │ let v1 : US0 = US0_0(v0) │
00:20:35 verbose #35206 > │ let v2 : Mut0 = {l0 = v1} : Mut0 │
00:20:35 verbose #35207 > │ let v3 : US0 = v2.l0 │
00:20:35 verbose #35208 > │ let v18 : UH0 = │
00:20:35 verbose #35209 > │ match v3 with │
00:20:35 verbose #35210 > │ | US0_1(v4) -> (* Computed *) │
00:20:35 verbose #35211 > │ v4 │
00:20:35 verbose #35212 > │ | US0_0(v5) -> (* NotComputed *) │
00:20:35 verbose #35213 > │ let v6 : UH0 = v5 () │
00:20:35 verbose #35214 > │ let v15 : UH0 = │
00:20:35 verbose #35215 > │ match v6 with │
00:20:35 verbose #35216 > │ | UH0_0(v8, v9) -> (* StreamCons *) │
00:20:35 verbose #35217 > │ let v10 : US0 = US0_0(v9) │
00:20:35 verbose #35218 > │ let v11 : Mut0 = {l0 = v10} : Mut0 │
00:20:35 verbose #35219 > │ let v12 : (unit -> UH0) = closure11(v11) │
00:20:35 verbose #35220 > │ UH0_0(v8, v12) │
00:20:35 verbose #35221 > │ | UH0_1 -> (* StreamNil *) │
00:20:35 verbose #35222 > │ UH0_1 │
00:20:35 verbose #35223 > │ let v16 : US0 = US0_1(v15) │
00:20:35 verbose #35224 > │ v2.l0 <- v16 │
00:20:35 verbose #35225 > │ v15 │
00:20:35 verbose #35226 > │ let v19 : int32 = 3 │
00:20:35 verbose #35227 > │ let v20 : US1 = method1(v19, v18) │
00:20:35 verbose #35228 > │ let v24 : int32 = │
00:20:35 verbose #35229 > │ match v20 with │
00:20:35 verbose #35230 > │ | US1_1 -> (* None *) │
00:20:35 verbose #35231 > │ failwith<int32> "Option does not have a value." │
00:20:35 verbose #35232 > │ | US1_0(v21) -> (* Some *) │
00:20:35 verbose #35233 > │ v21 │
00:20:35 verbose #35234 > │ let v25 : bool = v24 = 3 │
00:20:35 verbose #35235 > │ let v27 : bool = │
00:20:35 verbose #35236 > │ if v25 then │
00:20:35 verbose #35237 > │ true │
00:20:35 verbose #35238 > │ else │
00:20:35 verbose #35239 > │ method2(v25) │
00:20:35 verbose #35240 > │ let v28 : string = "assert_eq" │
00:20:35 verbose #35241 > │ let v29 : string = $"{v28} / actual: %A{v24} / expected: %A{3}" │
00:20:35 verbose #35242 > │ System.Console.WriteLine v29 │
00:20:35 verbose #35243 > │ let v30 : bool = v27 = false │
00:20:35 verbose #35244 > │ if v30 then │
00:20:35 verbose #35245 > │ failwith<unit> v29 │
00:20:35 verbose #35246 > │ let v31 : US0 = v2.l0 │
00:20:35 verbose #35247 > │ let v46 : UH0 = │
00:20:35 verbose #35248 > │ match v31 with │
00:20:35 verbose #35249 > │ | US0_1(v32) -> (* Computed *) │
00:20:35 verbose #35250 > │ v32 │
00:20:35 verbose #35251 > │ | US0_0(v33) -> (* NotComputed *) │
00:20:35 verbose #35252 > │ let v34 : UH0 = v33 () │
00:20:35 verbose #35253 > │ let v43 : UH0 = │
00:20:35 verbose #35254 > │ match v34 with │
00:20:35 verbose #35255 > │ | UH0_0(v36, v37) -> (* StreamCons *) │
00:20:35 verbose #35256 > │ let v38 : US0 = US0_0(v37) │
00:20:35 verbose #35257 > │ let v39 : Mut0 = {l0 = v38} : Mut0 │
00:20:35 verbose #35258 > │ let v40 : (unit -> UH0) = closure11(v39) │
00:20:35 verbose #35259 > │ UH0_0(v36, v40) │
00:20:35 verbose #35260 > │ | UH0_1 -> (* StreamNil *) │
00:20:35 verbose #35261 > │ UH0_1 │
00:20:35 verbose #35262 > │ let v44 : US0 = US0_1(v43) │
00:20:35 verbose #35263 > │ v2.l0 <- v44 │
00:20:35 verbose #35264 > │ v43 │
00:20:35 verbose #35265 > │ let v47 : int32 = 5 │
00:20:35 verbose #35266 > │ let v48 : US1 = method1(v47, v46) │
00:20:35 verbose #35267 > │ let v52 : int32 = │
00:20:35 verbose #35268 > │ match v48 with │
00:20:35 verbose #35269 > │ | US1_1 -> (* None *) │
00:20:35 verbose #35270 > │ failwith<int32> "Option does not have a value." │
00:20:35 verbose #35271 > │ | US1_0(v49) -> (* Some *) │
00:20:35 verbose #35272 > │ v49 │
00:20:35 verbose #35273 > │ let v53 : bool = v52 = 5 │
00:20:35 verbose #35274 > │ let v55 : bool = │
00:20:35 verbose #35275 > │ if v53 then │
00:20:35 verbose #35276 > │ true │
00:20:35 verbose #35277 > │ else │
00:20:35 verbose #35278 > │ method2(v53) │
00:20:35 verbose #35279 > │ let v56 : string = $"{v28} / actual: %A{v52} / expected: %A{5}" │
00:20:35 verbose #35280 > │ System.Console.WriteLine v56 │
00:20:35 verbose #35281 > │ let v57 : bool = v55 = false │
00:20:35 verbose #35282 > │ if v57 then │
00:20:35 verbose #35283 > │ failwith<unit> v56 │
00:20:35 verbose #35284 > │ method0() │
00:20:35 verbose #35285 > │ │
00:20:35 verbose #35286 > │ print_and_return / x: 0 │
00:20:35 verbose #35287 > │ print_and_return / x: 1 │
00:20:35 verbose #35288 > │ print_and_return / x: 2 │
00:20:35 verbose #35289 > │ print_and_return / x: 3 │
00:20:35 verbose #35290 > │ assert_eq / actual: 3 / expected: 3 │
00:20:35 verbose #35291 > │ print_and_return / x: 4 │
00:20:35 verbose #35292 > │ print_and_return / x: 5 │
00:20:35 verbose #35293 > │ assert_eq / actual: 5 / expected: 5 │
00:20:35 verbose #35294 > │ │
00:20:35 verbose #35295 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:35 verbose #35296 >
00:20:35 verbose #35297 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:35 verbose #35298 > //// test
00:20:35 verbose #35299 >
00:20:35 verbose #35300 > inl memo_stream = new_infinite_stream_ print_and_return |> memoize
00:20:35 verbose #35301 >
00:20:35 verbose #35302 > memo_stream ()
00:20:35 verbose #35303 > |> item 3i32
00:20:35 verbose #35304 > |> _assert_eq 3i32
00:20:35 verbose #35305 >
00:20:35 verbose #35306 > memo_stream ()
00:20:35 verbose #35307 > |> item 5i32
00:20:35 verbose #35308 > |> _assert_eq 5i32
00:20:35 verbose #35309 > 00:20:34 debug #683 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/58ededbf182073a00737e23a255c72c8c59f4009aa17dc70731652459d900a20/main.spi
00:20:36 verbose #35310 >
00:20:36 verbose #35311 > ╭─[ 1.01s - stdout ]───────────────────────────────────────────────────────────╮
00:20:36 verbose #35312 > │ type UH0 = │
00:20:36 verbose #35313 > │ | UH0_0 of int32 * (unit -> UH0) │
00:20:36 verbose #35314 > │ | UH0_1 │
00:20:36 verbose #35315 > │ and [<Struct>] US0 = │
00:20:36 verbose #35316 > │ | US0_0 of f0_0 : (unit -> UH0) │
00:20:36 verbose #35317 > │ | US0_1 of f1_0 : UH0 │
00:20:36 verbose #35318 > │ and Mut0 = {mutable l0 : US0} │
00:20:36 verbose #35319 > │ and [<Struct>] US1 = │
00:20:36 verbose #35320 > │ | US1_0 of f0_0 : int32 │
00:20:36 verbose #35321 > │ | US1_1 │
00:20:36 verbose #35322 > │ let rec closure0 (v0 : int32) () : UH0 = │
00:20:36 verbose #35323 > │ let v1 : int32 = v0 + 1 │
00:20:36 verbose #35324 > │ method1(v1) │
00:20:36 verbose #35325 > │ and method1 (v0 : int32) : UH0 = │
00:20:36 verbose #35326 > │ printfn $"print_and_return / x: {v0}" │
00:20:36 verbose #35327 > │ let v1 : (unit -> UH0) = closure0(v0) │
00:20:36 verbose #35328 > │ UH0_0(v0, v1) │
00:20:36 verbose #35329 > │ and closure1 (v0 : UH0) () : UH0 = │
00:20:36 verbose #35330 > │ v0 │
00:20:36 verbose #35331 > │ and closure2 (v0 : UH0, v1 : Mut0) () : UH0 = │
00:20:36 verbose #35332 > │ let v2 : US0 = v1.l0 │
00:20:36 verbose #35333 > │ match v2 with │
00:20:36 verbose #35334 > │ | US0_1(v3) -> (* Computed *) │
00:20:36 verbose #35335 > │ v3 │
00:20:36 verbose #35336 > │ | US0_0(v4) -> (* NotComputed *) │
00:20:36 verbose #35337 > │ let v5 : UH0 = v4 () │
00:20:36 verbose #35338 > │ let v12 : UH0 = │
00:20:36 verbose #35339 > │ match v5 with │
00:20:36 verbose #35340 > │ | UH0_0(v7, v8) -> (* StreamCons *) │
00:20:36 verbose #35341 > │ let v9 : (unit -> UH0) = method2(v0, v8) │
00:20:36 verbose #35342 > │ UH0_0(v7, v9) │
00:20:36 verbose #35343 > │ | UH0_1 -> (* StreamNil *) │
00:20:36 verbose #35344 > │ UH0_1 │
00:20:36 verbose #35345 > │ let v13 : US0 = US0_1(v12) │
00:20:36 verbose #35346 > │ v1.l0 <- v13 │
00:20:36 verbose #35347 > │ v12 │
00:20:36 verbose #35348 > │ and method2 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) = │
00:20:36 verbose #35349 > │ let v2 : US0 = US0_0(v1) │
00:20:36 verbose #35350 > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:20:36 verbose #35351 > │ closure2(v0, v3) │
00:20:36 verbose #35352 > │ and method3 (v0 : int32, v1 : UH0) : US1 = │
00:20:36 verbose #35353 > │ match v1 with │
00:20:36 verbose #35354 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:20:36 verbose #35355 > │ let v4 : bool = v0 <= 0 │
00:20:36 verbose #35356 > │ if v4 then │
00:20:36 verbose #35357 > │ US1_0(v2) │
00:20:36 verbose #35358 > │ else │
00:20:36 verbose #35359 > │ let v6 : int32 = v0 - 1 │
00:20:36 verbose #35360 > │ let v7 : UH0 = v3 () │
00:20:36 verbose #35361 > │ method3(v6, v7) │
00:20:36 verbose #35362 > │ | UH0_1 -> (* StreamNil *) │
00:20:36 verbose #35363 > │ US1_1 │
00:20:36 verbose #35364 > │ and method4 (v0 : bool) : bool = │
00:20:36 verbose #35365 > │ v0 │
00:20:36 verbose #35366 > │ and method0 () : unit = │
00:20:36 verbose #35367 > │ let v0 : int32 = 0 │
00:20:36 verbose #35368 > │ let v1 : UH0 = method1(v0) │
00:20:36 verbose #35369 > │ let v2 : (unit -> UH0) = closure1(v1) │
00:20:36 verbose #35370 > │ let v3 : (unit -> UH0) = method2(v1, v2) │
00:20:36 verbose #35371 > │ let v4 : UH0 = v3 () │
00:20:36 verbose #35372 > │ let v5 : int32 = 3 │
00:20:36 verbose #35373 > │ let v6 : US1 = method3(v5, v4) │
00:20:36 verbose #35374 > │ let v10 : int32 = │
00:20:36 verbose #35375 > │ match v6 with │
00:20:36 verbose #35376 > │ | US1_1 -> (* None *) │
00:20:36 verbose #35377 > │ failwith<int32> "Option does not have a value." │
00:20:36 verbose #35378 > │ | US1_0(v7) -> (* Some *) │
00:20:36 verbose #35379 > │ v7 │
00:20:36 verbose #35380 > │ let v11 : bool = v10 = 3 │
00:20:36 verbose #35381 > │ let v13 : bool = │
00:20:36 verbose #35382 > │ if v11 then │
00:20:36 verbose #35383 > │ true │
00:20:36 verbose #35384 > │ else │
00:20:36 verbose #35385 > │ method4(v11) │
00:20:36 verbose #35386 > │ let v14 : string = "assert_eq" │
00:20:36 verbose #35387 > │ let v15 : string = $"{v14} / actual: %A{v10} / expected: %A{3}" │
00:20:36 verbose #35388 > │ System.Console.WriteLine v15 │
00:20:36 verbose #35389 > │ let v16 : bool = v13 = false │
00:20:36 verbose #35390 > │ if v16 then │
00:20:36 verbose #35391 > │ failwith<unit> v15 │
00:20:36 verbose #35392 > │ let v17 : UH0 = v3 () │
00:20:36 verbose #35393 > │ let v18 : int32 = 5 │
00:20:36 verbose #35394 > │ let v19 : US1 = method3(v18, v17) │
00:20:36 verbose #35395 > │ let v23 : int32 = │
00:20:36 verbose #35396 > │ match v19 with │
00:20:36 verbose #35397 > │ | US1_1 -> (* None *) │
00:20:36 verbose #35398 > │ failwith<int32> "Option does not have a value." │
00:20:36 verbose #35399 > │ | US1_0(v20) -> (* Some *) │
00:20:36 verbose #35400 > │ v20 │
00:20:36 verbose #35401 > │ let v24 : bool = v23 = 5 │
00:20:36 verbose #35402 > │ let v26 : bool = │
00:20:36 verbose #35403 > │ if v24 then │
00:20:36 verbose #35404 > │ true │
00:20:36 verbose #35405 > │ else │
00:20:36 verbose #35406 > │ method4(v24) │
00:20:36 verbose #35407 > │ let v27 : string = $"{v14} / actual: %A{v23} / expected: %A{5}" │
00:20:36 verbose #35408 > │ System.Console.WriteLine v27 │
00:20:36 verbose #35409 > │ let v28 : bool = v26 = false │
00:20:36 verbose #35410 > │ if v28 then │
00:20:36 verbose #35411 > │ failwith<unit> v27 │
00:20:36 verbose #35412 > │ method0() │
00:20:36 verbose #35413 > │ │
00:20:36 verbose #35414 > │ print_and_return / x: 0 │
00:20:36 verbose #35415 > │ print_and_return / x: 1 │
00:20:36 verbose #35416 > │ print_and_return / x: 2 │
00:20:36 verbose #35417 > │ print_and_return / x: 3 │
00:20:36 verbose #35418 > │ assert_eq / actual: 3 / expected: 3 │
00:20:36 verbose #35419 > │ print_and_return / x: 4 │
00:20:36 verbose #35420 > │ print_and_return / x: 5 │
00:20:36 verbose #35421 > │ assert_eq / actual: 5 / expected: 5 │
00:20:36 verbose #35422 > │ │
00:20:36 verbose #35423 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:36 verbose #35424 >
00:20:36 verbose #35425 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:36 verbose #35426 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:36 verbose #35427 > │ ## unfold │
00:20:36 verbose #35428 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:36 verbose #35429 >
00:20:36 verbose #35430 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:36 verbose #35431 > inl unfold f x0 =
00:20:36 verbose #35432 > inl rec body x =
00:20:36 verbose #35433 > match f x with
00:20:36 verbose #35434 > | Some (x', y) => StreamCons (x', fun () => loop y)
00:20:36 verbose #35435 > | None => StreamNil
00:20:36 verbose #35436 > and inl loop x = join_body_unit body x0 x
00:20:36 verbose #35437 > loop x0
00:20:36 verbose #35438 > 00:20:35 debug #684 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9c7def6288f5f1f5c4191ee5e4717deda61c5b99417210f7a0db58e50326039c/main.spi
00:20:37 verbose #35439 >
00:20:37 verbose #35440 > ╭─[ 735.53ms - stdout ]────────────────────────────────────────────────────────╮
00:20:37 verbose #35441 > │ () │
00:20:37 verbose #35442 > │ │
00:20:37 verbose #35443 > │ │
00:20:37 verbose #35444 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:37 verbose #35445 >
00:20:37 verbose #35446 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:37 verbose #35447 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:37 verbose #35448 > │ ## iterate │
00:20:37 verbose #35449 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:37 verbose #35450 >
00:20:37 verbose #35451 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:37 verbose #35452 > inl iterate f =
00:20:37 verbose #35453 > unfold (fun x => Some (x, f x))
00:20:37 verbose #35454 > 00:20:36 debug #685 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0ff3417af7b89faf54ca9312cd26a6d05a7995fe2499570be5903b32e280af7a/main.spi
00:20:37 verbose #35455 >
00:20:37 verbose #35456 > ╭─[ 683.63ms - stdout ]────────────────────────────────────────────────────────╮
00:20:37 verbose #35457 > │ () │
00:20:37 verbose #35458 > │ │
00:20:37 verbose #35459 > │ │
00:20:37 verbose #35460 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:37 verbose #35461 >
00:20:37 verbose #35462 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:37 verbose #35463 > //// test
00:20:37 verbose #35464 >
00:20:37 verbose #35465 > iterate ((*) 2) 1i32
00:20:37 verbose #35466 > |> item 10i32
00:20:37 verbose #35467 > |> _assert_eq 1024
00:20:38 verbose #35468 > 00:20:37 debug #686 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3b0528bcd30eff4d2633f3f866a04e16034cac9b041dfef7202634dbb529d511/main.spi
00:20:38 verbose #35469 >
00:20:38 verbose #35470 > ╭─[ 697.98ms - stdout ]────────────────────────────────────────────────────────╮
00:20:38 verbose #35471 > │ let rec method0 () : unit = │
00:20:38 verbose #35472 > │ let v0 : string = "assert_eq" │
00:20:38 verbose #35473 > │ let v1 : string = $"{v0} / actual: %A{1024} / expected: %A{1024}" │
00:20:38 verbose #35474 > │ System.Console.WriteLine v1 │
00:20:38 verbose #35475 > │ () │
00:20:38 verbose #35476 > │ method0() │
00:20:38 verbose #35477 > │ │
00:20:38 verbose #35478 > │ assert_eq / actual: 1024 / expected: 1024 │
00:20:38 verbose #35479 > │ │
00:20:38 verbose #35480 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:38 verbose #35481 >
00:20:38 verbose #35482 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:38 verbose #35483 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:38 verbose #35484 > │ ## take_while │
00:20:38 verbose #35485 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:38 verbose #35486 >
00:20:38 verbose #35487 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:38 verbose #35488 > inl take_while cond s =
00:20:38 verbose #35489 > inl rec body i = function
00:20:38 verbose #35490 > | StreamCons (st, fn) when cond st i => StreamCons (st, fun () => loop
00:20:38 verbose #35491 > (i + 1) (fn ()))
00:20:38 verbose #35492 > | _ => StreamNil
00:20:38 verbose #35493 > and inl loop i = join_body body i
00:20:38 verbose #35494 > loop 0 s
00:20:39 verbose #35495 > 00:20:38 debug #687 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ea8ea5cc4afddb005491503a3b5486abb6c00a254b476d1fc7069b2040052534/main.spi
00:20:39 verbose #35496 >
00:20:39 verbose #35497 > ╭─[ 633.70ms - stdout ]────────────────────────────────────────────────────────╮
00:20:39 verbose #35498 > │ () │
00:20:39 verbose #35499 > │ │
00:20:39 verbose #35500 > │ │
00:20:39 verbose #35501 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:39 verbose #35502 >
00:20:39 verbose #35503 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:39 verbose #35504 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:39 verbose #35505 > │ ## sum │
00:20:39 verbose #35506 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:39 verbose #35507 >
00:20:39 verbose #35508 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:39 verbose #35509 > inl sum seq =
00:20:39 verbose #35510 > seq |> fold (+) 0
00:20:39 verbose #35511 > 00:20:38 debug #688 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/30f382d452f8db6262618e3ce2241b3b069c7b19cd36b7a9fa4c20344d2439b8/main.spi
00:20:39 verbose #35512 >
00:20:39 verbose #35513 > ╭─[ 706.96ms - stdout ]────────────────────────────────────────────────────────╮
00:20:39 verbose #35514 > │ () │
00:20:39 verbose #35515 > │ │
00:20:39 verbose #35516 > │ │
00:20:39 verbose #35517 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:39 verbose #35518 >
00:20:39 verbose #35519 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:39 verbose #35520 > //// test
00:20:39 verbose #35521 >
00:20:39 verbose #35522 > listm.init 10i32 id
00:20:39 verbose #35523 > |> from_list
00:20:39 verbose #35524 > |> sum
00:20:39 verbose #35525 > |> _assert_eq 45
00:20:40 verbose #35526 > 00:20:39 debug #689 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0e4fa887c7645c34606e33806a593136f6608e36fe52ad3beadd5103de185501/main.spi
00:20:40 verbose #35527 >
00:20:40 verbose #35528 > ╭─[ 706.42ms - stdout ]────────────────────────────────────────────────────────╮
00:20:40 verbose #35529 > │ let rec method0 () : unit = │
00:20:40 verbose #35530 > │ let v0 : string = "assert_eq" │
00:20:40 verbose #35531 > │ let v1 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:20:40 verbose #35532 > │ System.Console.WriteLine v1 │
00:20:40 verbose #35533 > │ () │
00:20:40 verbose #35534 > │ method0() │
00:20:40 verbose #35535 > │ │
00:20:40 verbose #35536 > │ assert_eq / actual: 45 / expected: 45 │
00:20:40 verbose #35537 > │ │
00:20:40 verbose #35538 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:40 verbose #35539 >
00:20:40 verbose #35540 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:40 verbose #35541 > //// test
00:20:40 verbose #35542 >
00:20:40 verbose #35543 > new_finite_stream print_and_return 10i32
00:20:40 verbose #35544 > |> take_while (fun n (_ : i32) => n < 5)
00:20:40 verbose #35545 > |> sum
00:20:40 verbose #35546 > |> _assert_eq 10
00:20:41 verbose #35547 > 00:20:40 debug #690 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d7783cf7dc219cabd50f993704bb7919f798145de9e904bf93dcebf9678c6455/main.spi
00:20:41 verbose #35548 >
00:20:41 verbose #35549 > ╭─[ 686.13ms - stdout ]────────────────────────────────────────────────────────╮
00:20:41 verbose #35550 > │ let rec method0 () : unit = │
00:20:41 verbose #35551 > │ printfn $"print_and_return / x: {0}" │
00:20:41 verbose #35552 > │ printfn $"print_and_return / x: {1}" │
00:20:41 verbose #35553 > │ printfn $"print_and_return / x: {2}" │
00:20:41 verbose #35554 > │ printfn $"print_and_return / x: {3}" │
00:20:41 verbose #35555 > │ printfn $"print_and_return / x: {4}" │
00:20:41 verbose #35556 > │ printfn $"print_and_return / x: {5}" │
00:20:41 verbose #35557 > │ let v0 : string = "assert_eq" │
00:20:41 verbose #35558 > │ let v1 : string = $"{v0} / actual: %A{10} / expected: %A{10}" │
00:20:41 verbose #35559 > │ System.Console.WriteLine v1 │
00:20:41 verbose #35560 > │ () │
00:20:41 verbose #35561 > │ method0() │
00:20:41 verbose #35562 > │ │
00:20:41 verbose #35563 > │ print_and_return / x: 0 │
00:20:41 verbose #35564 > │ print_and_return / x: 1 │
00:20:41 verbose #35565 > │ print_and_return / x: 2 │
00:20:41 verbose #35566 > │ print_and_return / x: 3 │
00:20:41 verbose #35567 > │ print_and_return / x: 4 │
00:20:41 verbose #35568 > │ print_and_return / x: 5 │
00:20:41 verbose #35569 > │ assert_eq / actual: 10 / expected: 10 │
00:20:41 verbose #35570 > │ │
00:20:41 verbose #35571 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:41 verbose #35572 >
00:20:41 verbose #35573 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:41 verbose #35574 > //// test
00:20:41 verbose #35575 >
00:20:41 verbose #35576 > new_infinite_stream print_and_return
00:20:41 verbose #35577 > |> take_while (fun n (_ : i32) => n < 5i32)
00:20:41 verbose #35578 > |> sum
00:20:41 verbose #35579 > |> _assert_eq 10
00:20:41 verbose #35580 > 00:20:40 debug #691 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f9288f84858d0b64787dfd954ba2b868902036d29268cb5f08ff47f8c647119b/main.spi
00:20:42 verbose #35581 >
00:20:42 verbose #35582 > ╭─[ 766.63ms - stdout ]────────────────────────────────────────────────────────╮
00:20:42 verbose #35583 > │ let rec method0 () : unit = │
00:20:42 verbose #35584 > │ printfn $"print_and_return / x: {0}" │
00:20:42 verbose #35585 > │ printfn $"print_and_return / x: {1}" │
00:20:42 verbose #35586 > │ printfn $"print_and_return / x: {2}" │
00:20:42 verbose #35587 > │ printfn $"print_and_return / x: {3}" │
00:20:42 verbose #35588 > │ printfn $"print_and_return / x: {4}" │
00:20:42 verbose #35589 > │ printfn $"print_and_return / x: {5}" │
00:20:42 verbose #35590 > │ let v0 : string = "assert_eq" │
00:20:42 verbose #35591 > │ let v1 : string = $"{v0} / actual: %A{10} / expected: %A{10}" │
00:20:42 verbose #35592 > │ System.Console.WriteLine v1 │
00:20:42 verbose #35593 > │ () │
00:20:42 verbose #35594 > │ method0() │
00:20:42 verbose #35595 > │ │
00:20:42 verbose #35596 > │ print_and_return / x: 0 │
00:20:42 verbose #35597 > │ print_and_return / x: 1 │
00:20:42 verbose #35598 > │ print_and_return / x: 2 │
00:20:42 verbose #35599 > │ print_and_return / x: 3 │
00:20:42 verbose #35600 > │ print_and_return / x: 4 │
00:20:42 verbose #35601 > │ print_and_return / x: 5 │
00:20:42 verbose #35602 > │ assert_eq / actual: 10 / expected: 10 │
00:20:42 verbose #35603 > │ │
00:20:42 verbose #35604 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:42 verbose #35605 >
00:20:42 verbose #35606 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:42 verbose #35607 > //// test
00:20:42 verbose #35608 >
00:20:42 verbose #35609 > iterate ((*) 6) 1i32
00:20:42 verbose #35610 > |> take_while (fun _ i => i <= 7i32)
00:20:42 verbose #35611 > |> to_list
00:20:42 verbose #35612 > |> _assert_eq [[ 1i32; 6; 36; 216; 1296; 7776; 46656; 279936 ]]
00:20:42 verbose #35613 > 00:20:41 debug #692 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2816660cafb4e95988b8776ae900f83134d21f43e61a3609e5f9ae9a767e120b/main.spi
00:20:43 verbose #35614 >
00:20:43 verbose #35615 > ╭─[ 972.84ms - stdout ]────────────────────────────────────────────────────────╮
00:20:43 verbose #35616 > │ type UH0 = │
00:20:43 verbose #35617 > │ | UH0_0 │
00:20:43 verbose #35618 > │ | UH0_1 of int32 * UH0 │
00:20:43 verbose #35619 > │ let rec method0 () : unit = │
00:20:43 verbose #35620 > │ let v63 : string = "assert_eq" │
00:20:43 verbose #35621 > │ let v64 : UH0 = UH0_0 │
00:20:43 verbose #35622 > │ let v65 : UH0 = UH0_1(279936, v64) │
00:20:43 verbose #35623 > │ let v66 : UH0 = UH0_1(46656, v65) │
00:20:43 verbose #35624 > │ let v67 : UH0 = UH0_1(7776, v66) │
00:20:43 verbose #35625 > │ let v68 : UH0 = UH0_1(1296, v67) │
00:20:43 verbose #35626 > │ let v69 : UH0 = UH0_1(216, v68) │
00:20:43 verbose #35627 > │ let v70 : UH0 = UH0_1(36, v69) │
00:20:43 verbose #35628 > │ let v71 : UH0 = UH0_1(6, v70) │
00:20:43 verbose #35629 > │ let v72 : UH0 = UH0_1(1, v71) │
00:20:43 verbose #35630 > │ let v73 : UH0 = UH0_0 │
00:20:43 verbose #35631 > │ let v74 : UH0 = UH0_1(279936, v73) │
00:20:43 verbose #35632 > │ let v75 : UH0 = UH0_1(46656, v74) │
00:20:43 verbose #35633 > │ let v76 : UH0 = UH0_1(7776, v75) │
00:20:43 verbose #35634 > │ let v77 : UH0 = UH0_1(1296, v76) │
00:20:43 verbose #35635 > │ let v78 : UH0 = UH0_1(216, v77) │
00:20:43 verbose #35636 > │ let v79 : UH0 = UH0_1(36, v78) │
00:20:43 verbose #35637 > │ let v80 : UH0 = UH0_1(6, v79) │
00:20:43 verbose #35638 > │ let v81 : UH0 = UH0_1(1, v80) │
00:20:43 verbose #35639 > │ let v82 : string = $"{v63} / actual: %A{v72} / expected: %A{v81}" │
00:20:43 verbose #35640 > │ System.Console.WriteLine v82 │
00:20:43 verbose #35641 > │ () │
00:20:43 verbose #35642 > │ method0() │
00:20:43 verbose #35643 > │ │
00:20:43 verbose #35644 > │ assert_eq / actual: UH0_1 │
00:20:43 verbose #35645 > │ (1, │
00:20:43 verbose #35646 > │ UH0_1 │
00:20:43 verbose #35647 > │ (6, │
00:20:43 verbose #35648 > │ UH0_1 │
00:20:43 verbose #35649 > │ (36, │
00:20:43 verbose #35650 > │ UH0_1 │
00:20:43 verbose #35651 > │ (216, │
00:20:43 verbose #35652 > │ UH0_1 (1296, UH0_1 (7776, UH0_1 (46656, UH0_1 (279936, │
00:20:43 verbose #35653 > │ UH0_0)))))))) / expected: UH0_1 │
00:20:43 verbose #35654 > │ (1, │
00:20:43 verbose #35655 > │ UH0_1 │
00:20:43 verbose #35656 > │ (6, │
00:20:43 verbose #35657 > │ UH0_1 │
00:20:43 verbose #35658 > │ (36, │
00:20:43 verbose #35659 > │ UH0_1 │
00:20:43 verbose #35660 > │ (216, │
00:20:43 verbose #35661 > │ UH0_1 (1296, UH0_1 (7776, UH0_1 (46656, UH0_1 (279936, │
00:20:43 verbose #35662 > │ UH0_0)))))))) │
00:20:43 verbose #35663 > │ │
00:20:43 verbose #35664 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:43 verbose #35665 >
00:20:43 verbose #35666 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:43 verbose #35667 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:43 verbose #35668 > │ ## indexed │
00:20:43 verbose #35669 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:43 verbose #35670 >
00:20:43 verbose #35671 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:43 verbose #35672 > inl indexed s =
00:20:43 verbose #35673 > ((StreamNil, 0), s)
00:20:43 verbose #35674 > ||> fold fun (acc, i) x =>
00:20:43 verbose #35675 > StreamCons ((i, x), fun () => acc), i + 1
00:20:43 verbose #35676 > |> fst
00:20:43 verbose #35677 > |> rev
00:20:43 verbose #35678 > 00:20:42 debug #693 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b25a23c4dbf52e0cf9e97e8bce20e4b160f8b026c7299dea96505dba874e0d99/main.spi
00:20:43 verbose #35679 >
00:20:43 verbose #35680 > ╭─[ 735.30ms - stdout ]────────────────────────────────────────────────────────╮
00:20:43 verbose #35681 > │ () │
00:20:43 verbose #35682 > │ │
00:20:43 verbose #35683 > │ │
00:20:43 verbose #35684 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:43 verbose #35685 >
00:20:43 verbose #35686 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:43 verbose #35687 > //// test
00:20:43 verbose #35688 >
00:20:43 verbose #35689 > listm.init 10i32 ((*) 2)
00:20:43 verbose #35690 > |> from_list
00:20:43 verbose #35691 > |> indexed
00:20:43 verbose #35692 > |> item 5i32
00:20:43 verbose #35693 > |> _assert_eq (5i32, 10i32)
00:20:44 verbose #35694 > 00:20:43 debug #694 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e579edbfc6b3393d2c61b618f74c8c5878090b27c1fa07f290f6c323084a0196/main.spi
00:20:44 verbose #35695 >
00:20:44 verbose #35696 > ╭─[ 705.67ms - stdout ]────────────────────────────────────────────────────────╮
00:20:44 verbose #35697 > │ let rec method0 () : unit = │
00:20:44 verbose #35698 > │ let v0 : string = "assert_eq" │
00:20:44 verbose #35699 > │ let v1 : string = $"{v0} / actual: %A{struct (5, 10)} / expected: │
00:20:44 verbose #35700 > │ %A{struct (5, 10)}" │
00:20:44 verbose #35701 > │ System.Console.WriteLine v1 │
00:20:44 verbose #35702 > │ () │
00:20:44 verbose #35703 > │ method0() │
00:20:44 verbose #35704 > │ │
00:20:44 verbose #35705 > │ assert_eq / actual: struct (5, 10) / expected: struct (5, 10) │
00:20:44 verbose #35706 > │ │
00:20:44 verbose #35707 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:44 verbose #35708 >
00:20:44 verbose #35709 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:44 verbose #35710 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:44 verbose #35711 > │ ## map │
00:20:44 verbose #35712 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:44 verbose #35713 >
00:20:44 verbose #35714 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:44 verbose #35715 > inl map fn s =
00:20:44 verbose #35716 > (s, StreamNil)
00:20:44 verbose #35717 > ||> fold_back fun x acc =>
00:20:44 verbose #35718 > StreamCons (fn x, fun () => acc)
00:20:45 verbose #35719 > 00:20:44 debug #695 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/84aec0c37d085ca472c9e6b18d6e20138eafa68a4bf1bdb4a2e1a1c7051232ee/main.spi
00:20:45 verbose #35720 >
00:20:45 verbose #35721 > ╭─[ 785.04ms - stdout ]────────────────────────────────────────────────────────╮
00:20:45 verbose #35722 > │ () │
00:20:45 verbose #35723 > │ │
00:20:45 verbose #35724 > │ │
00:20:45 verbose #35725 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:45 verbose #35726 >
00:20:45 verbose #35727 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:45 verbose #35728 > //// test
00:20:45 verbose #35729 >
00:20:45 verbose #35730 > listm.init 10i32 id
00:20:45 verbose #35731 > |> from_list
00:20:45 verbose #35732 > |> map ((*) 2)
00:20:45 verbose #35733 > |> item 5i32
00:20:45 verbose #35734 > |> _assert_eq 10i32
00:20:45 verbose #35735 > 00:20:44 debug #696 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/eb917fcce9f96e72f0c83d4a2e76a13dd70f78302395ebd53cf2e02677821de7/main.spi
00:20:46 verbose #35736 >
00:20:46 verbose #35737 > ╭─[ 830.16ms - stdout ]────────────────────────────────────────────────────────╮
00:20:46 verbose #35738 > │ let rec method0 () : unit = │
00:20:46 verbose #35739 > │ let v0 : string = "assert_eq" │
00:20:46 verbose #35740 > │ let v1 : string = $"{v0} / actual: %A{10} / expected: %A{10}" │
00:20:46 verbose #35741 > │ System.Console.WriteLine v1 │
00:20:46 verbose #35742 > │ () │
00:20:46 verbose #35743 > │ method0() │
00:20:46 verbose #35744 > │ │
00:20:46 verbose #35745 > │ assert_eq / actual: 10 / expected: 10 │
00:20:46 verbose #35746 > │ │
00:20:46 verbose #35747 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:46 verbose #35748 >
00:20:46 verbose #35749 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:46 verbose #35750 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:46 verbose #35751 > │ ## zip_with │
00:20:46 verbose #35752 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:46 verbose #35753 >
00:20:46 verbose #35754 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:46 verbose #35755 > inl zip_with fn s1 s2 =
00:20:46 verbose #35756 > inl rec loop s1 s2 =
00:20:46 verbose #35757 > match s1, s2 with
00:20:46 verbose #35758 > | StreamCons (st1, fn1), StreamCons (st2, fn2) =>
00:20:46 verbose #35759 > StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))
00:20:46 verbose #35760 > | StreamNil, _ | _, StreamNil => StreamNil
00:20:46 verbose #35761 > loop s1 s2
00:20:46 verbose #35762 >
00:20:46 verbose #35763 > inl zip_with_ fn s1 s2 =
00:20:46 verbose #35764 > let rec loop s1 s2 =
00:20:46 verbose #35765 > match s1, s2 with
00:20:46 verbose #35766 > | StreamCons (st1, fn1), StreamCons (st2, fn2) =>
00:20:46 verbose #35767 > StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))
00:20:46 verbose #35768 > | StreamNil, _ | _, StreamNil => StreamNil
00:20:46 verbose #35769 > loop s1 s2
00:20:46 verbose #35770 > 00:20:45 debug #697 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b8168f688382529ad10d0641793d11598bf7009e67333cf7fcb368238f7d0143/main.spi
00:20:46 verbose #35771 >
00:20:46 verbose #35772 > ╭─[ 692.65ms - stdout ]────────────────────────────────────────────────────────╮
00:20:46 verbose #35773 > │ () │
00:20:46 verbose #35774 > │ │
00:20:46 verbose #35775 > │ │
00:20:46 verbose #35776 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:46 verbose #35777 >
00:20:46 verbose #35778 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:46 verbose #35779 > //// test
00:20:46 verbose #35780 >
00:20:46 verbose #35781 > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:20:46 verbose #35782 > ||> zip_with (+)
00:20:46 verbose #35783 > |> item 2i32
00:20:46 verbose #35784 > |> _assert_eq 6
00:20:47 verbose #35785 > 00:20:46 debug #698 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7df8ca3b5cd73ddfdf93d51c5f5eeb6ad0b254f93ce723b00b1b5dd23ff4ab57/main.spi
00:20:47 verbose #35786 >
00:20:47 verbose #35787 > ╭─[ 623.49ms - stdout ]────────────────────────────────────────────────────────╮
00:20:47 verbose #35788 > │ let rec method0 () : unit = │
00:20:47 verbose #35789 > │ let v0 : string = "assert_eq" │
00:20:47 verbose #35790 > │ let v1 : string = $"{v0} / actual: %A{6} / expected: %A{6}" │
00:20:47 verbose #35791 > │ System.Console.WriteLine v1 │
00:20:47 verbose #35792 > │ () │
00:20:47 verbose #35793 > │ method0() │
00:20:47 verbose #35794 > │ │
00:20:47 verbose #35795 > │ assert_eq / actual: 6 / expected: 6 │
00:20:47 verbose #35796 > │ │
00:20:47 verbose #35797 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:47 verbose #35798 >
00:20:47 verbose #35799 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:47 verbose #35800 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:47 verbose #35801 > │ ## zip │
00:20:47 verbose #35802 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:47 verbose #35803 >
00:20:47 verbose #35804 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:47 verbose #35805 > inl zip s1 s2 =
00:20:47 verbose #35806 > zip_with pair s1 s2
00:20:47 verbose #35807 >
00:20:47 verbose #35808 > inl zip_ s1 s2 =
00:20:47 verbose #35809 > zip_with_ pair s1 s2
00:20:47 verbose #35810 > 00:20:46 debug #699 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/32770fa2f374790dae73a1d8694520d688474bc03a4631a1d0812f8027f21989/main.spi
00:20:48 verbose #35811 >
00:20:48 verbose #35812 > ╭─[ 658.34ms - stdout ]────────────────────────────────────────────────────────╮
00:20:48 verbose #35813 > │ () │
00:20:48 verbose #35814 > │ │
00:20:48 verbose #35815 > │ │
00:20:48 verbose #35816 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:48 verbose #35817 >
00:20:48 verbose #35818 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:48 verbose #35819 > //// test
00:20:48 verbose #35820 >
00:20:48 verbose #35821 > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:20:48 verbose #35822 > ||> zip
00:20:48 verbose #35823 > |> item 5i32
00:20:48 verbose #35824 > |> _assert_eq (5, 10)
00:20:48 verbose #35825 > 00:20:47 debug #700 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f69e11d16e3a05b522cc1709d25e39e506ea4f32f15a0661553d8e65b89fa853/main.spi
00:20:48 verbose #35826 >
00:20:48 verbose #35827 > ╭─[ 748.74ms - stdout ]────────────────────────────────────────────────────────╮
00:20:48 verbose #35828 > │ let rec method0 () : unit = │
00:20:48 verbose #35829 > │ let v0 : string = "assert_eq" │
00:20:48 verbose #35830 > │ let v1 : string = $"{v0} / actual: %A{struct (5, 10)} / expected: │
00:20:48 verbose #35831 > │ %A{struct (5, 10)}" │
00:20:48 verbose #35832 > │ System.Console.WriteLine v1 │
00:20:48 verbose #35833 > │ () │
00:20:48 verbose #35834 > │ method0() │
00:20:48 verbose #35835 > │ │
00:20:48 verbose #35836 > │ assert_eq / actual: struct (5, 10) / expected: struct (5, 10) │
00:20:48 verbose #35837 > │ │
00:20:48 verbose #35838 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:48 verbose #35839 >
00:20:48 verbose #35840 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:48 verbose #35841 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:48 verbose #35842 > │ ## unzip │
00:20:48 verbose #35843 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:48 verbose #35844 >
00:20:48 verbose #35845 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:48 verbose #35846 > inl unzip s =
00:20:48 verbose #35847 > inl rec body s =
00:20:48 verbose #35848 > match s with
00:20:48 verbose #35849 > | StreamCons ((x, y), fn) =>
00:20:48 verbose #35850 > inl xs, ys = loop (fn ())
00:20:48 verbose #35851 > StreamCons (x, fun () => xs), StreamCons (y, fun () => ys)
00:20:48 verbose #35852 > | StreamNil => pair StreamNil StreamNil
00:20:48 verbose #35853 > and inl loop x =
00:20:48 verbose #35854 > if var_is x |> not
00:20:48 verbose #35855 > then body x
00:20:48 verbose #35856 > else
00:20:48 verbose #35857 > inl x = dyn x
00:20:48 verbose #35858 > join body x
00:20:48 verbose #35859 > loop s
00:20:49 verbose #35860 > 00:20:48 debug #701 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1df525627e38e12762d8d5fe9adf72f88077b1a14ddf00d062d683c9af3afa28/main.spi
00:20:49 verbose #35861 >
00:20:49 verbose #35862 > ╭─[ 711.07ms - stdout ]────────────────────────────────────────────────────────╮
00:20:49 verbose #35863 > │ () │
00:20:49 verbose #35864 > │ │
00:20:49 verbose #35865 > │ │
00:20:49 verbose #35866 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:49 verbose #35867 >
00:20:49 verbose #35868 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:49 verbose #35869 > //// test
00:20:49 verbose #35870 >
00:20:49 verbose #35871 > listm.init 10i32 id
00:20:49 verbose #35872 > |> listm.map (fun x => x, x)
00:20:49 verbose #35873 > |> from_list
00:20:49 verbose #35874 > |> unzip
00:20:49 verbose #35875 > |> fun x, y =>
00:20:49 verbose #35876 > x |> sum
00:20:49 verbose #35877 > |> _assert_eq 45
00:20:49 verbose #35878 >
00:20:49 verbose #35879 > y |> sum
00:20:49 verbose #35880 > |> _assert_eq 45
00:20:50 verbose #35881 > 00:20:49 debug #702 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b1afd7cabd6bdfe9eb71d9f4ca8462a4cc6ca583373065fdc812c1d26ed6b832/main.spi
00:20:50 verbose #35882 >
00:20:50 verbose #35883 > ╭─[ 807.47ms - stdout ]────────────────────────────────────────────────────────╮
00:20:50 verbose #35884 > │ let rec method0 () : unit = │
00:20:50 verbose #35885 > │ let v0 : string = "assert_eq" │
00:20:50 verbose #35886 > │ let v1 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:20:50 verbose #35887 > │ System.Console.WriteLine v1 │
00:20:50 verbose #35888 > │ let v2 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:20:50 verbose #35889 > │ System.Console.WriteLine v2 │
00:20:50 verbose #35890 > │ () │
00:20:50 verbose #35891 > │ method0() │
00:20:50 verbose #35892 > │ │
00:20:50 verbose #35893 > │ assert_eq / actual: 45 / expected: 45 │
00:20:50 verbose #35894 > │ assert_eq / actual: 45 / expected: 45 │
00:20:50 verbose #35895 > │ │
00:20:50 verbose #35896 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:50 verbose #35897 >
00:20:50 verbose #35898 > ── markdown ────────────────────────────────────────────────────────────────────
00:20:50 verbose #35899 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:20:50 verbose #35900 > │ ## enumerate │
00:20:50 verbose #35901 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:50 verbose #35902 >
00:20:50 verbose #35903 > ── spiral ──────────────────────────────────────────────────────────────────────
00:20:50 verbose #35904 > inl enumerate forall dim {int; number} t. (ar : a dim t) : a dim (unativeint *
00:20:50 verbose #35905 > t) =
00:20:50 verbose #35906 > open rust_operators
00:20:50 verbose #35907 > inl (a ar) = ar
00:20:50 verbose #35908 > inl ar = ar |> am'.to_vec
00:20:50 verbose #35909 > !\($'"!ar.into_iter().enumerate().map(std::rc::Rc::new).collect()"')
00:20:50 verbose #35910 > |> am'.vec_map from_pair
00:20:50 verbose #35911 > |> am'.from_vec
00:20:51 verbose #35912 > 00:20:50 debug #703 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2e0ebcab490cd555d5d38e03dab51bd2d872f104c15ca1694df50315f62a0457/main.spi
00:20:51 verbose #35913 >
00:20:51 verbose #35914 > ╭─[ 941.66ms - stdout ]────────────────────────────────────────────────────────╮
00:20:51 verbose #35915 > │ () │
00:20:51 verbose #35916 > │ │
00:20:51 verbose #35917 > │ │
00:20:51 verbose #35918 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:20:55 verbose #35919 > [NbConvertApp] Converting notebook stream.dib.ipynb to html
00:20:55 verbose #35920 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:20:55 verbose #35921 > validate(nb)
00:20:57 verbose #35922 > [NbConvertApp] Writing 380951 bytes to stream.dib.html
00:20:58 debug #35923 execute_with_options_async / exit_code: 0 / output.Length: 76126
00:20:58 debug #20 main / executeCommand / exitCode: 0
00:20:58 debug #35924 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 seq.dib" -Retries 3", [||], None,
None, None)
00:20:58 verbose #35925 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: seq.dib / _args: [
00:20:58 verbose #35926 > "-Retries",
00:20:58 verbose #35927 > 3
00:20:58 verbose #35928 > ]
00:21:00 verbose #35929 >
00:21:00 verbose #35930 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:00 verbose #35931 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:00 verbose #35932 > │ # seq │
00:21:00 verbose #35933 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:00 verbose #35934 >
00:21:00 verbose #35935 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:00 verbose #35936 > //// test
00:21:00 verbose #35937 >
00:21:00 verbose #35938 > open testing
00:21:00 verbose #35939 >
00:21:00 verbose #35940 > ── spiral - import ─────────────────────────────────────────────────────────────
00:21:00 verbose #35941 > #r
00:21:00 verbose #35942 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:21:00 verbose #35943 > otNet.Interactive.Spiral.dll"
00:21:00 verbose #35944 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:21:00 verbose #35945 > #r
00:21:00 verbose #35946 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:21:00 verbose #35947 > otNet.Interactive.dll"
00:21:00 verbose #35948 > open type Microsoft.DotNet.Interactive.Kernel
00:21:06 verbose #35949 > 00:21:05 debug #704 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:21:07 verbose #35950 >
00:21:07 verbose #35951 > ╭─[ 6.50s - stdout ]───────────────────────────────────────────────────────────╮
00:21:07 verbose #35952 > │ () │
00:21:07 verbose #35953 > │ │
00:21:07 verbose #35954 > │ │
00:21:07 verbose #35955 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:07 verbose #35956 >
00:21:07 verbose #35957 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:07 verbose #35958 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:07 verbose #35959 > │ ## types │
00:21:07 verbose #35960 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:07 verbose #35961 >
00:21:07 verbose #35962 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:07 verbose #35963 > inl types () =
00:21:07 verbose #35964 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:21:07 verbose #35965 > Fable.Core.Emit(\"core::iter::Fuse<$0>\")>]]\n#endif\ntype core_iter_Fuse<'T> =
00:21:07 verbose #35966 > class end"
00:21:07 verbose #35967 > 00:21:06 debug #705 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/85ddbe8b4ac4cea01eb9194507a4a3de669f7b0d93ab6420744642d4e9977c92/main.spi
00:21:08 verbose #35968 >
00:21:08 verbose #35969 > ╭─[ 635.46ms - stdout ]────────────────────────────────────────────────────────╮
00:21:08 verbose #35970 > │ () │
00:21:08 verbose #35971 > │ │
00:21:08 verbose #35972 > │ │
00:21:08 verbose #35973 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:08 verbose #35974 >
00:21:08 verbose #35975 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:08 verbose #35976 > nominal fuse t = $'core_iter_Fuse<`t>'
00:21:08 verbose #35977 > 00:21:07 debug #706 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4ee0a97d2334f1ccacfa16515fb55596144c8785fe732cb2c40e278e192305bb/main.spi
00:21:08 verbose #35978 >
00:21:08 verbose #35979 > ╭─[ 678.67ms - stdout ]────────────────────────────────────────────────────────╮
00:21:08 verbose #35980 > │ () │
00:21:08 verbose #35981 > │ │
00:21:08 verbose #35982 > │ │
00:21:08 verbose #35983 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:08 verbose #35984 >
00:21:08 verbose #35985 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:08 verbose #35986 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:08 verbose #35987 > │ ## seq' │
00:21:08 verbose #35988 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:08 verbose #35989 >
00:21:08 verbose #35990 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:08 verbose #35991 > nominal seq' t = $"`t seq"
00:21:09 verbose #35992 > 00:21:08 debug #707 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/26edcb24878ae3daa879e5b9090029690b1592cf1edc563315841c2899d1c9b9/main.spi
00:21:09 verbose #35993 >
00:21:09 verbose #35994 > ╭─[ 618.78ms - stdout ]────────────────────────────────────────────────────────╮
00:21:09 verbose #35995 > │ () │
00:21:09 verbose #35996 > │ │
00:21:09 verbose #35997 > │ │
00:21:09 verbose #35998 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:09 verbose #35999 >
00:21:09 verbose #36000 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:09 verbose #36001 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:09 verbose #36002 > │ ## of_array' │
00:21:09 verbose #36003 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:09 verbose #36004 >
00:21:09 verbose #36005 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:09 verbose #36006 > inl of_array' forall dim t. (items : a dim t) : seq' t =
00:21:09 verbose #36007 > $'seq { for i = 0 to !items.Length - 1 do yield !items.[[i]] }'
00:21:09 verbose #36008 > 00:21:08 debug #708 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a4a77ff225a6e66205969647c35653dc961f72491276ab81af6b8aaee8a6d7b9/main.spi
00:21:09 verbose #36009 >
00:21:09 verbose #36010 > ╭─[ 612.98ms - stdout ]────────────────────────────────────────────────────────╮
00:21:09 verbose #36011 > │ () │
00:21:09 verbose #36012 > │ │
00:21:09 verbose #36013 > │ │
00:21:09 verbose #36014 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:09 verbose #36015 >
00:21:09 verbose #36016 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:09 verbose #36017 > //// test
00:21:09 verbose #36018 >
00:21:09 verbose #36019 > (a ;[[ "a"; "b" ]] : _ i32 _)
00:21:09 verbose #36020 > |> of_array'
00:21:10 verbose #36021 > 00:21:09 debug #709 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9b54bebfb9ae91066fdd085a91c1f45677428369469333b9eb5125b7049acf9d/main.spi
00:21:11 verbose #36022 >
00:21:11 verbose #36023 > ╭─[ 1.60s - return value ]─────────────────────────────────────────────────────╮
00:21:11 verbose #36024 > │ <details open="open" class="dni-treeview"><summary><span │
00:21:11 verbose #36025 > │ class="dni-code-hint"><code>[ a, b │
00:21:11 verbose #36026 > │ ]</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
00:21:11 verbose #36027 > │ CheckClose</td><td><div │
00:21:11 verbose #36028 > │ class="dni-plaintext"><pre>False</pre></div></td></tr><tr><td>LastGenerated< │
00:21:11 verbose #36029 > │ /td><td><div │
00:21:11 verbose #36030 > │ class="dni-plaintext"><pre><null></pre></div></td></tr><tr><td>v2</td> │
00:21:11 verbose #36031 > │ <td><div class="dni-plaintext"><pre>[ a, b │
00:21:11 verbose #36032 > │ ]</pre></div></td></tr><tr><td>enum</td><td><div │
00:21:11 verbose #36033 > │ class="dni-plaintext"><pre><null></pre></div></td></tr><tr><td>pc</td> │
00:21:11 verbose #36034 > │ <td><div │
00:21:11 verbose #36035 > │ class="dni-plaintext"><pre>0</pre></div></td></tr><tr><td>current</td><td><d │
00:21:11 verbose #36036 > │ iv │
00:21:11 verbose #36037 > │ class="dni-plaintext"><pre><null></pre></div></td></tr><tr><td><i>(val │
00:21:11 verbose #36038 > │ ues)</i></td><td><div class="dni-plaintext"><pre>[ a, b ]</pr... │
00:21:11 verbose #36039 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:11 verbose #36040 >
00:21:11 verbose #36041 > ╭─[ 1.61s - stdout ]───────────────────────────────────────────────────────────╮
00:21:11 verbose #36042 > │ let rec method0 () : string seq = │
00:21:11 verbose #36043 > │ let v0 : string = "a" │
00:21:11 verbose #36044 > │ let v1 : string = "b" │
00:21:11 verbose #36045 > │ let v2 : (string []) = [|v0; v1|] │
00:21:11 verbose #36046 > │ let v3 : string seq = seq { for i = 0 to v2.Length - 1 do yield v2.[i] } │
00:21:11 verbose #36047 > │ v3 │
00:21:11 verbose #36048 > │ method0() │
00:21:11 verbose #36049 > │ │
00:21:11 verbose #36050 > │ │
00:21:11 verbose #36051 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:11 verbose #36052 >
00:21:11 verbose #36053 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:11 verbose #36054 > inl of_array forall dim t. (items : a dim t) : seq' t =
00:21:11 verbose #36055 > items |> $'Seq.ofArray'
00:21:12 verbose #36056 > 00:21:11 debug #710 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9322ce2db83c7cf55ed3ede5a3ebe80201e12732fb3ac28c066d73cf029ccbac/main.spi
00:21:12 verbose #36057 >
00:21:12 verbose #36058 > ╭─[ 693.86ms - stdout ]────────────────────────────────────────────────────────╮
00:21:12 verbose #36059 > │ () │
00:21:12 verbose #36060 > │ │
00:21:12 verbose #36061 > │ │
00:21:12 verbose #36062 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:12 verbose #36063 >
00:21:12 verbose #36064 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:12 verbose #36065 > //// test
00:21:12 verbose #36066 >
00:21:12 verbose #36067 > (a ;[[ "a"; "b" ]] : _ i32 _)
00:21:12 verbose #36068 > |> of_array
00:21:12 verbose #36069 > 00:21:11 debug #711 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/623475c8ae4c6013fbc2cdfc5ca888e228f9b19159984e8fbb1daa2d566fb6cc/main.spi
00:21:12 verbose #36070 >
00:21:12 verbose #36071 > ╭─[ 729.46ms - return value ]──────────────────────────────────────────────────╮
00:21:12 verbose #36072 > │ <details open="open" class="dni-treeview"><summary><span │
00:21:12 verbose #36073 > │ class="dni-code-hint"><code>[ a, b │
00:21:12 verbose #36074 > │ ]</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td> │
00:21:12 verbose #36075 > │ f</td><td><details class="dni-treeview"><summary><span │
00:21:12 verbose #36076 > │ class="dni-code-hint"><code>Microsoft.FSharp.Collections.SeqModule+OfArray@1 │
00:21:12 verbose #36077 > │ 010[ │
00:21:12 verbose #36078 > │ System.String]</code></span></summary><div><table><thead><tr></tr></thead><t │
00:21:12 verbose #36079 > │ body><tr><td>source</td><td><div class="dni-plaintext"><pre>[ a, b │
00:21:12 verbose #36080 > │ ]</pre></div></td></tr></tbody></table></div></details></td></tr><tr><td><i> │
00:21:12 verbose #36081 > │ (values)</i></td><td><div class="dni-plaintext"><pre>[ a, b │
00:21:12 verbose #36082 > │ ]</pre></div></td></tr></tbody></table></div></details><style> │
00:21:12 verbose #36083 > │ .dni-code-hint { │
00:21:12 verbose #36084 > │ font-style: italic; │
00:21:12 verbose #36085 > │ overflow: hidden; │
00:21:12 verbose #36086 > │ white-space: nowrap; │
00:21:12 verbose #36087 > │ } │
00:21:12 verbose #36088 > │ .dni-tree... │
00:21:12 verbose #36089 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:12 verbose #36090 >
00:21:12 verbose #36091 > ╭─[ 740.27ms - stdout ]────────────────────────────────────────────────────────╮
00:21:12 verbose #36092 > │ let rec method0 () : string seq = │
00:21:12 verbose #36093 > │ let v0 : string = "a" │
00:21:12 verbose #36094 > │ let v1 : string = "b" │
00:21:12 verbose #36095 > │ let v2 : (string []) = [|v0; v1|] │
00:21:12 verbose #36096 > │ let v3 : ((string []) -> string seq) = Seq.ofArray │
00:21:12 verbose #36097 > │ v3 v2 │
00:21:12 verbose #36098 > │ method0() │
00:21:12 verbose #36099 > │ │
00:21:12 verbose #36100 > │ │
00:21:12 verbose #36101 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:12 verbose #36102 >
00:21:12 verbose #36103 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:12 verbose #36104 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:12 verbose #36105 > │ ## to_array' │
00:21:12 verbose #36106 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:12 verbose #36107 >
00:21:12 verbose #36108 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:12 verbose #36109 > inl to_array' forall dim t. (items : seq' t) : a dim t =
00:21:12 verbose #36110 > items |> $'Seq.toArray'
00:21:13 verbose #36111 > 00:21:12 debug #712 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a86323a4087e52aab60c51354bb7b47dd5fb2813b04bbc9641e971a597d9f89b/main.spi
00:21:13 verbose #36112 >
00:21:13 verbose #36113 > ╭─[ 652.04ms - stdout ]────────────────────────────────────────────────────────╮
00:21:13 verbose #36114 > │ () │
00:21:13 verbose #36115 > │ │
00:21:13 verbose #36116 > │ │
00:21:13 verbose #36117 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:13 verbose #36118 >
00:21:13 verbose #36119 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:13 verbose #36120 > //// test
00:21:13 verbose #36121 >
00:21:13 verbose #36122 > (a ;[[ "a"; "b" ]] : _ i32 _)
00:21:13 verbose #36123 > |> of_array'
00:21:13 verbose #36124 > |> to_array'
00:21:13 verbose #36125 > |> _assert_eq (a ;[[ "a"; "b" ]] : _ i32 _)
00:21:14 verbose #36126 > 00:21:13 debug #713 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fe321309947240b6008346738386e8ef30c1d03565a1a5192eb94df2a4f5b4ec/main.spi
00:21:14 verbose #36127 >
00:21:14 verbose #36128 > ╭─[ 892.31ms - stdout ]────────────────────────────────────────────────────────╮
00:21:14 verbose #36129 > │ let rec method1 (v0 : (string []), v1 : (string []), v2 : int32) : bool = │
00:21:14 verbose #36130 > │ let v3 : int32 = v0.Length │
00:21:14 verbose #36131 > │ let v4 : bool = v2 < v3 │
00:21:14 verbose #36132 > │ if v4 then │
00:21:14 verbose #36133 > │ let v5 : string = v0.[int v2] │
00:21:14 verbose #36134 > │ let v6 : string = v1.[int v2] │
00:21:14 verbose #36135 > │ let v7 : bool = v5 = v6 │
00:21:14 verbose #36136 > │ if v7 then │
00:21:14 verbose #36137 > │ let v8 : int32 = v2 + 1 │
00:21:14 verbose #36138 > │ method1(v0, v1, v8) │
00:21:14 verbose #36139 > │ else │
00:21:14 verbose #36140 > │ false │
00:21:14 verbose #36141 > │ else │
00:21:14 verbose #36142 > │ true │
00:21:14 verbose #36143 > │ and method2 (v0 : bool) : bool = │
00:21:14 verbose #36144 > │ v0 │
00:21:14 verbose #36145 > │ and method0 () : unit = │
00:21:14 verbose #36146 > │ let v0 : string = "a" │
00:21:14 verbose #36147 > │ let v1 : string = "b" │
00:21:14 verbose #36148 > │ let v2 : (string []) = [|v0; v1|] │
00:21:14 verbose #36149 > │ let v3 : string seq = seq { for i = 0 to v2.Length - 1 do yield v2.[i] } │
00:21:14 verbose #36150 > │ let v4 : (string seq -> (string [])) = Seq.toArray │
00:21:14 verbose #36151 > │ let v5 : (string []) = v4 v3 │
00:21:14 verbose #36152 > │ let v6 : (string []) = [|v0; v1|] │
00:21:14 verbose #36153 > │ let v7 : int32 = v5.Length │
00:21:14 verbose #36154 > │ let v8 : int32 = v6.Length │
00:21:14 verbose #36155 > │ let v9 : bool = v7 = v8 │
00:21:14 verbose #36156 > │ let v10 : bool = v9 <> true │
00:21:14 verbose #36157 > │ let v13 : bool = │
00:21:14 verbose #36158 > │ if v10 then │
00:21:14 verbose #36159 > │ false │
00:21:14 verbose #36160 > │ else │
00:21:14 verbose #36161 > │ let v11 : int32 = 0 │
00:21:14 verbose #36162 > │ method1(v5, v6, v11) │
00:21:14 verbose #36163 > │ let v15 : bool = │
00:21:14 verbose #36164 > │ if v13 then │
00:21:14 verbose #36165 > │ true │
00:21:14 verbose #36166 > │ else │
00:21:14 verbose #36167 > │ method2(v13) │
00:21:14 verbose #36168 > │ let v16 : string = "assert_eq" │
00:21:14 verbose #36169 > │ let v17 : string = $"{v16} / actual: %A{v5} / expected: %A{v6}" │
00:21:14 verbose #36170 > │ System.Console.WriteLine v17 │
00:21:14 verbose #36171 > │ let v18 : bool = v15 = false │
00:21:14 verbose #36172 > │ if v18 then │
00:21:14 verbose #36173 > │ failwith<unit> v17 │
00:21:14 verbose #36174 > │ method0() │
00:21:14 verbose #36175 > │ │
00:21:14 verbose #36176 > │ assert_eq / actual: [|"a"; "b"|] / expected: [|"a"; "b"|] │
00:21:14 verbose #36177 > │ │
00:21:14 verbose #36178 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:14 verbose #36179 >
00:21:14 verbose #36180 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:14 verbose #36181 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:14 verbose #36182 > │ ## to_list' │
00:21:14 verbose #36183 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:14 verbose #36184 >
00:21:14 verbose #36185 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:14 verbose #36186 > inl to_list' forall t. (items : seq' t) : listm'.list' t =
00:21:14 verbose #36187 > items |> $'Seq.toList'
00:21:15 verbose #36188 > 00:21:14 debug #714 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/87001488b4ec44306cbf4b5a32900a059187d02b79d90217e34e7dbd70bedad2/main.spi
00:21:15 verbose #36189 >
00:21:15 verbose #36190 > ╭─[ 669.03ms - stdout ]────────────────────────────────────────────────────────╮
00:21:15 verbose #36191 > │ () │
00:21:15 verbose #36192 > │ │
00:21:15 verbose #36193 > │ │
00:21:15 verbose #36194 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:15 verbose #36195 >
00:21:15 verbose #36196 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:15 verbose #36197 > //// test
00:21:15 verbose #36198 >
00:21:15 verbose #36199 > (a ;[[ "a"; "b" ]] : _ i32 _)
00:21:15 verbose #36200 > |> of_array
00:21:15 verbose #36201 > |> to_list'
00:21:15 verbose #36202 > |> listm'.unbox
00:21:15 verbose #36203 > |> _assert_eq ([[ "a"; "b" ]])
00:21:15 verbose #36204 > 00:21:14 debug #715 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9a1a978227dbf08fd7c3de08a2cd857e1c159fc6db69558c23c306daabc403d5/main.spi
00:21:16 verbose #36205 >
00:21:16 verbose #36206 > ╭─[ 1.13s - stdout ]───────────────────────────────────────────────────────────╮
00:21:16 verbose #36207 > │ type UH0 = │
00:21:16 verbose #36208 > │ | UH0_0 │
00:21:16 verbose #36209 > │ | UH0_1 of string * UH0 │
00:21:16 verbose #36210 > │ let rec closure1 (v0 : string) (v1 : UH0) : UH0 = │
00:21:16 verbose #36211 > │ UH0_1(v0, v1) │
00:21:16 verbose #36212 > │ and closure0 () (v0 : string) : (UH0 -> UH0) = │
00:21:16 verbose #36213 > │ closure1(v0) │
00:21:16 verbose #36214 > │ and method1 () : (string -> (UH0 -> UH0)) = │
00:21:16 verbose #36215 > │ closure0() │
00:21:16 verbose #36216 > │ and method2 (v0 : bool) : bool = │
00:21:16 verbose #36217 > │ v0 │
00:21:16 verbose #36218 > │ and method0 () : unit = │
00:21:16 verbose #36219 > │ let v0 : string = "a" │
00:21:16 verbose #36220 > │ let v1 : string = "b" │
00:21:16 verbose #36221 > │ let v2 : (string []) = [|v0; v1|] │
00:21:16 verbose #36222 > │ let v3 : ((string []) -> string seq) = Seq.ofArray │
00:21:16 verbose #36223 > │ let v4 : string seq = v3 v2 │
00:21:16 verbose #36224 > │ let v5 : (string seq -> string list) = Seq.toList │
00:21:16 verbose #36225 > │ let v6 : string list = v5 v4 │
00:21:16 verbose #36226 > │ let v7 : ((string -> (UH0 -> UH0)) -> (string list -> (UH0 -> UH0))) = │
00:21:16 verbose #36227 > │ List.foldBack │
00:21:16 verbose #36228 > │ let v8 : (string -> (UH0 -> UH0)) = method1() │
00:21:16 verbose #36229 > │ let v9 : (string list -> (UH0 -> UH0)) = v7 v8 │
00:21:16 verbose #36230 > │ let v10 : (UH0 -> UH0) = v9 v6 │
00:21:16 verbose #36231 > │ let v11 : UH0 = UH0_0 │
00:21:16 verbose #36232 > │ let v12 : UH0 = v10 v11 │
00:21:16 verbose #36233 > │ let v26 : bool = │
00:21:16 verbose #36234 > │ match v12 with │
00:21:16 verbose #36235 > │ | UH0_1(v16, v17) -> (* Cons *) │
00:21:16 verbose #36236 > │ let v18 : bool = v16 = "a" │
00:21:16 verbose #36237 > │ if v18 then │
00:21:16 verbose #36238 > │ match v17 with │
00:21:16 verbose #36239 > │ | UH0_1(v19, v20) -> (* Cons *) │
00:21:16 verbose #36240 > │ let v21 : bool = v19 = "b" │
00:21:16 verbose #36241 > │ if v21 then │
00:21:16 verbose #36242 > │ match v20 with │
00:21:16 verbose #36243 > │ | UH0_0 -> (* Nil *) │
00:21:16 verbose #36244 > │ true │
00:21:16 verbose #36245 > │ | _ -> │
00:21:16 verbose #36246 > │ false │
00:21:16 verbose #36247 > │ else │
00:21:16 verbose #36248 > │ false │
00:21:16 verbose #36249 > │ | _ -> │
00:21:16 verbose #36250 > │ false │
00:21:16 verbose #36251 > │ else │
00:21:16 verbose #36252 > │ false │
00:21:16 verbose #36253 > │ | _ -> │
00:21:16 verbose #36254 > │ false │
00:21:16 verbose #36255 > │ let v28 : bool = │
00:21:16 verbose #36256 > │ if v26 then │
00:21:16 verbose #36257 > │ true │
00:21:16 verbose #36258 > │ else │
00:21:16 verbose #36259 > │ method2(v26) │
00:21:16 verbose #36260 > │ let v29 : string = "assert_eq" │
00:21:16 verbose #36261 > │ let v30 : UH0 = UH0_0 │
00:21:16 verbose #36262 > │ let v31 : UH0 = UH0_1(v1, v30) │
00:21:16 verbose #36263 > │ let v32 : UH0 = UH0_1(v0, v31) │
00:21:16 verbose #36264 > │ let v33 : string = $"{v29} / actual: %A{v12} / expected: %A{v32}" │
00:21:16 verbose #36265 > │ System.Console.WriteLine v33 │
00:21:16 verbose #36266 > │ let v34 : bool = v28 = false │
00:21:16 verbose #36267 > │ if v34 then │
00:21:16 verbose #36268 > │ failwith<unit> v33 │
00:21:16 verbose #36269 > │ method0() │
00:21:16 verbose #36270 > │ │
00:21:16 verbose #36271 > │ assert_eq / actual: UH0_1 ("a", UH0_1 ("b", UH0_0)) / expected: UH0_1 ("a", │
00:21:16 verbose #36272 > │ UH0_1 ("b", UH0_0)) │
00:21:16 verbose #36273 > │ │
00:21:16 verbose #36274 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:16 verbose #36275 >
00:21:16 verbose #36276 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:16 verbose #36277 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:16 verbose #36278 > │ ## rev' │
00:21:16 verbose #36279 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:16 verbose #36280 >
00:21:16 verbose #36281 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:16 verbose #36282 > inl rev'' forall t u. (items : t) : seq' u =
00:21:16 verbose #36283 > items |> $'Seq.rev'
00:21:16 verbose #36284 > 00:21:15 debug #716 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e984d5db7ff4237063ff5c4ba5444cfe4fe94ed3b413dd0d65c474d448abe991/main.spi
00:21:17 verbose #36285 >
00:21:17 verbose #36286 > ╭─[ 682.70ms - stdout ]────────────────────────────────────────────────────────╮
00:21:17 verbose #36287 > │ () │
00:21:17 verbose #36288 > │ │
00:21:17 verbose #36289 > │ │
00:21:17 verbose #36290 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:17 verbose #36291 >
00:21:17 verbose #36292 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:17 verbose #36293 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:17 verbose #36294 > │ ## seq │
00:21:17 verbose #36295 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:17 verbose #36296 >
00:21:17 verbose #36297 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:17 verbose #36298 > type seq dim el = dim -> option el
00:21:17 verbose #36299 > 00:21:16 debug #717 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/55e4fbea659f416c90a6e6dfd6536bec3f704555694f8f3c0a9edb535a1854ed/main.spi
00:21:17 verbose #36300 >
00:21:17 verbose #36301 > ╭─[ 664.52ms - stdout ]────────────────────────────────────────────────────────╮
00:21:17 verbose #36302 > │ () │
00:21:17 verbose #36303 > │ │
00:21:17 verbose #36304 > │ │
00:21:17 verbose #36305 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:17 verbose #36306 >
00:21:17 verbose #36307 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:17 verbose #36308 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:17 verbose #36309 > │ ## try_item │
00:21:17 verbose #36310 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:17 verbose #36311 >
00:21:17 verbose #36312 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:17 verbose #36313 > inl try_item n s =
00:21:17 verbose #36314 > n |> s
00:21:18 verbose #36315 > 00:21:17 debug #718 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/161a7650d0599cb436f0acbde3e0b58030ea4fb7d9d8ebd52d58db78faae56d2/main.spi
00:21:18 verbose #36316 >
00:21:18 verbose #36317 > ╭─[ 663.77ms - stdout ]────────────────────────────────────────────────────────╮
00:21:18 verbose #36318 > │ () │
00:21:18 verbose #36319 > │ │
00:21:18 verbose #36320 > │ │
00:21:18 verbose #36321 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:18 verbose #36322 >
00:21:18 verbose #36323 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:18 verbose #36324 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:18 verbose #36325 > │ ## from_list │
00:21:18 verbose #36326 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:18 verbose #36327 >
00:21:18 verbose #36328 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:18 verbose #36329 > inl from_list list =
00:21:18 verbose #36330 > fun n =>
00:21:18 verbose #36331 > list
00:21:18 verbose #36332 > |> listm'.try_item n
00:21:18 verbose #36333 > 00:21:17 debug #719 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3a009fc0ff446b2ead0c1e7f4992f9e850296aae0f985e17d5ccd951fb83a393/main.spi
00:21:19 verbose #36334 >
00:21:19 verbose #36335 > ╭─[ 634.09ms - stdout ]────────────────────────────────────────────────────────╮
00:21:19 verbose #36336 > │ () │
00:21:19 verbose #36337 > │ │
00:21:19 verbose #36338 > │ │
00:21:19 verbose #36339 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:19 verbose #36340 >
00:21:19 verbose #36341 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:19 verbose #36342 > //// test
00:21:19 verbose #36343 >
00:21:19 verbose #36344 > listm.init 10i32 print_and_return
00:21:19 verbose #36345 > |> from_list
00:21:19 verbose #36346 > |> try_item 5i32
00:21:19 verbose #36347 > |> _assert_eq (Some 5i32)
00:21:19 verbose #36348 > 00:21:18 debug #720 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/de750d96fad3951ca8c2b1e179936ae27f8fbf92893d1d1d422316d62e3bc817/main.spi
00:21:19 verbose #36349 >
00:21:19 verbose #36350 > ╭─[ 778.31ms - stdout ]────────────────────────────────────────────────────────╮
00:21:19 verbose #36351 > │ type [<Struct>] US0 = │
00:21:19 verbose #36352 > │ | US0_0 of f0_0 : int32 │
00:21:19 verbose #36353 > │ | US0_1 │
00:21:19 verbose #36354 > │ let rec method0 () : unit = │
00:21:19 verbose #36355 > │ printfn $"print_and_return / x: {0}" │
00:21:19 verbose #36356 > │ printfn $"print_and_return / x: {1}" │
00:21:19 verbose #36357 > │ printfn $"print_and_return / x: {2}" │
00:21:19 verbose #36358 > │ printfn $"print_and_return / x: {3}" │
00:21:19 verbose #36359 > │ printfn $"print_and_return / x: {4}" │
00:21:19 verbose #36360 > │ printfn $"print_and_return / x: {5}" │
00:21:19 verbose #36361 > │ printfn $"print_and_return / x: {6}" │
00:21:19 verbose #36362 > │ printfn $"print_and_return / x: {7}" │
00:21:19 verbose #36363 > │ printfn $"print_and_return / x: {8}" │
00:21:19 verbose #36364 > │ printfn $"print_and_return / x: {9}" │
00:21:19 verbose #36365 > │ let v3 : string = "assert_eq" │
00:21:19 verbose #36366 > │ let v4 : US0 = US0_0(5) │
00:21:19 verbose #36367 > │ let v5 : US0 = US0_0(5) │
00:21:19 verbose #36368 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:21:19 verbose #36369 > │ System.Console.WriteLine v6 │
00:21:19 verbose #36370 > │ () │
00:21:19 verbose #36371 > │ method0() │
00:21:19 verbose #36372 > │ │
00:21:19 verbose #36373 > │ print_and_return / x: 0 │
00:21:19 verbose #36374 > │ print_and_return / x: 1 │
00:21:19 verbose #36375 > │ print_and_return / x: 2 │
00:21:19 verbose #36376 > │ print_and_return / x: 3 │
00:21:19 verbose #36377 > │ print_and_return / x: 4 │
00:21:19 verbose #36378 > │ print_and_return / x: 5 │
00:21:19 verbose #36379 > │ print_and_return / x: 6 │
00:21:19 verbose #36380 > │ print_and_return / x: 7 │
00:21:19 verbose #36381 > │ print_and_return / x: 8 │
00:21:19 verbose #36382 > │ print_and_return / x: 9 │
00:21:19 verbose #36383 > │ assert_eq / actual: US0_0 5 / expected: US0_0 5 │
00:21:19 verbose #36384 > │ │
00:21:19 verbose #36385 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:19 verbose #36386 >
00:21:19 verbose #36387 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:19 verbose #36388 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:19 verbose #36389 > │ ## map │
00:21:19 verbose #36390 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:19 verbose #36391 >
00:21:19 verbose #36392 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:19 verbose #36393 > inl map fn s =
00:21:19 verbose #36394 > fun n =>
00:21:19 verbose #36395 > n
00:21:19 verbose #36396 > |> s
00:21:19 verbose #36397 > |> optionm.map fn
00:21:20 verbose #36398 > 00:21:19 debug #721 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b6fc5c23326d27bdf31f6a0f875b25b1351d5a34d4fbb8eb0cf259bc34b52807/main.spi
00:21:20 verbose #36399 >
00:21:20 verbose #36400 > ╭─[ 918.49ms - stdout ]────────────────────────────────────────────────────────╮
00:21:20 verbose #36401 > │ () │
00:21:20 verbose #36402 > │ │
00:21:20 verbose #36403 > │ │
00:21:20 verbose #36404 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:20 verbose #36405 >
00:21:20 verbose #36406 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:20 verbose #36407 > //// test
00:21:20 verbose #36408 >
00:21:20 verbose #36409 > listm.init 10i32 id
00:21:20 verbose #36410 > |> from_list
00:21:20 verbose #36411 > |> map ((*) 2)
00:21:20 verbose #36412 > |> try_item 5i32
00:21:20 verbose #36413 > |> _assert_eq (Some 10i32)
00:21:21 verbose #36414 > 00:21:20 debug #722 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/42c15b71ef6abef2294c07c5b32e2fa46de442682a99865703d294535c858d60/main.spi
00:21:21 verbose #36415 >
00:21:21 verbose #36416 > ╭─[ 741.80ms - stdout ]────────────────────────────────────────────────────────╮
00:21:21 verbose #36417 > │ type [<Struct>] US0 = │
00:21:21 verbose #36418 > │ | US0_0 of f0_0 : int32 │
00:21:21 verbose #36419 > │ | US0_1 │
00:21:21 verbose #36420 > │ let rec method0 () : unit = │
00:21:21 verbose #36421 > │ let v3 : string = "assert_eq" │
00:21:21 verbose #36422 > │ let v4 : US0 = US0_0(10) │
00:21:21 verbose #36423 > │ let v5 : US0 = US0_0(10) │
00:21:21 verbose #36424 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:21:21 verbose #36425 > │ System.Console.WriteLine v6 │
00:21:21 verbose #36426 > │ () │
00:21:21 verbose #36427 > │ method0() │
00:21:21 verbose #36428 > │ │
00:21:21 verbose #36429 > │ assert_eq / actual: US0_0 10 / expected: US0_0 10 │
00:21:21 verbose #36430 > │ │
00:21:21 verbose #36431 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:21 verbose #36432 >
00:21:21 verbose #36433 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:21 verbose #36434 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:21 verbose #36435 > │ ## mapi │
00:21:21 verbose #36436 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:21 verbose #36437 >
00:21:21 verbose #36438 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:21 verbose #36439 > inl mapi fn s =
00:21:21 verbose #36440 > fun n =>
00:21:21 verbose #36441 > n
00:21:21 verbose #36442 > |> s
00:21:21 verbose #36443 > |> optionm.map (fn n)
00:21:22 verbose #36444 > 00:21:21 debug #723 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/696b19c2b50cea991fb2b9459086c025ce33ef4e5ecf4012dd820a49e78d8edd/main.spi
00:21:22 verbose #36445 >
00:21:22 verbose #36446 > ╭─[ 672.70ms - stdout ]────────────────────────────────────────────────────────╮
00:21:22 verbose #36447 > │ () │
00:21:22 verbose #36448 > │ │
00:21:22 verbose #36449 > │ │
00:21:22 verbose #36450 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:22 verbose #36451 >
00:21:22 verbose #36452 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:22 verbose #36453 > //// test
00:21:22 verbose #36454 >
00:21:22 verbose #36455 > listm.init 10i32 print_and_return
00:21:22 verbose #36456 > |> from_list
00:21:22 verbose #36457 > |> mapi fun i x => i + x
00:21:22 verbose #36458 > |> try_item 5i32
00:21:22 verbose #36459 > |> _assert_eq (Some 10i32)
00:21:22 verbose #36460 > 00:21:21 debug #724 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/59fb2ea05646eae6cf2357e72bd431cb5196fd2a1eaa4e254fdd9dfd5e4c6068/main.spi
00:21:22 verbose #36461 >
00:21:22 verbose #36462 > ╭─[ 701.19ms - stdout ]────────────────────────────────────────────────────────╮
00:21:22 verbose #36463 > │ type [<Struct>] US0 = │
00:21:22 verbose #36464 > │ | US0_0 of f0_0 : int32 │
00:21:22 verbose #36465 > │ | US0_1 │
00:21:22 verbose #36466 > │ let rec method0 () : unit = │
00:21:22 verbose #36467 > │ printfn $"print_and_return / x: {0}" │
00:21:22 verbose #36468 > │ printfn $"print_and_return / x: {1}" │
00:21:22 verbose #36469 > │ printfn $"print_and_return / x: {2}" │
00:21:22 verbose #36470 > │ printfn $"print_and_return / x: {3}" │
00:21:22 verbose #36471 > │ printfn $"print_and_return / x: {4}" │
00:21:22 verbose #36472 > │ printfn $"print_and_return / x: {5}" │
00:21:22 verbose #36473 > │ printfn $"print_and_return / x: {6}" │
00:21:22 verbose #36474 > │ printfn $"print_and_return / x: {7}" │
00:21:22 verbose #36475 > │ printfn $"print_and_return / x: {8}" │
00:21:22 verbose #36476 > │ printfn $"print_and_return / x: {9}" │
00:21:22 verbose #36477 > │ let v3 : string = "assert_eq" │
00:21:22 verbose #36478 > │ let v4 : US0 = US0_0(10) │
00:21:22 verbose #36479 > │ let v5 : US0 = US0_0(10) │
00:21:22 verbose #36480 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:21:22 verbose #36481 > │ System.Console.WriteLine v6 │
00:21:22 verbose #36482 > │ () │
00:21:22 verbose #36483 > │ method0() │
00:21:22 verbose #36484 > │ │
00:21:22 verbose #36485 > │ print_and_return / x: 0 │
00:21:22 verbose #36486 > │ print_and_return / x: 1 │
00:21:22 verbose #36487 > │ print_and_return / x: 2 │
00:21:22 verbose #36488 > │ print_and_return / x: 3 │
00:21:22 verbose #36489 > │ print_and_return / x: 4 │
00:21:22 verbose #36490 > │ print_and_return / x: 5 │
00:21:22 verbose #36491 > │ print_and_return / x: 6 │
00:21:22 verbose #36492 > │ print_and_return / x: 7 │
00:21:22 verbose #36493 > │ print_and_return / x: 8 │
00:21:22 verbose #36494 > │ print_and_return / x: 9 │
00:21:22 verbose #36495 > │ assert_eq / actual: US0_0 10 / expected: US0_0 10 │
00:21:22 verbose #36496 > │ │
00:21:22 verbose #36497 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:22 verbose #36498 >
00:21:22 verbose #36499 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:22 verbose #36500 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:22 verbose #36501 > │ ## choose │
00:21:22 verbose #36502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:22 verbose #36503 >
00:21:22 verbose #36504 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:22 verbose #36505 > inl choose forall dim {number} t u. (fn : t -> option u) (s : seq dim t) : seq
00:21:22 verbose #36506 > dim u =
00:21:22 verbose #36507 > fun n =>
00:21:22 verbose #36508 > inl rec body fn s i i' =
00:21:22 verbose #36509 > match i |> s with
00:21:22 verbose #36510 > | None => None
00:21:22 verbose #36511 > | Some x =>
00:21:22 verbose #36512 > match x |> fn with
00:21:22 verbose #36513 > | Some x when n = i' => Some x
00:21:22 verbose #36514 > | Some _ => loop (i + 1) (i' + 1)
00:21:22 verbose #36515 > | _ => loop (i + 1) i'
00:21:22 verbose #36516 > and inl loop i i' =
00:21:22 verbose #36517 > if n |> var_is |> not
00:21:22 verbose #36518 > then body fn s i i'
00:21:22 verbose #36519 > else
00:21:22 verbose #36520 > inl fn = join fn
00:21:22 verbose #36521 > inl s = join s
00:21:22 verbose #36522 > join body fn s i i'
00:21:22 verbose #36523 > loop 0 0
00:21:23 verbose #36524 > 00:21:22 debug #725 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4db367a7b6a394bdd4f9c1489bbc7e26dab8df35d2e2a878fa9ff19ef51760d7/main.spi
00:21:23 verbose #36525 >
00:21:23 verbose #36526 > ╭─[ 646.08ms - stdout ]────────────────────────────────────────────────────────╮
00:21:23 verbose #36527 > │ () │
00:21:23 verbose #36528 > │ │
00:21:23 verbose #36529 > │ │
00:21:23 verbose #36530 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:23 verbose #36531 >
00:21:23 verbose #36532 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:23 verbose #36533 > //// test
00:21:23 verbose #36534 >
00:21:23 verbose #36535 > listm.init 10i32 print_and_return
00:21:23 verbose #36536 > |> from_list
00:21:23 verbose #36537 > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:21:23 verbose #36538 > |> try_item 1i32
00:21:23 verbose #36539 > |> _assert_eq (Some 2i32)
00:21:24 verbose #36540 > 00:21:23 debug #726 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8834bed8a378e0593e4f730f730b64aa7996c1ee0b446d4606a6eaa99d81b745/main.spi
00:21:24 verbose #36541 >
00:21:24 verbose #36542 > ╭─[ 670.41ms - stdout ]────────────────────────────────────────────────────────╮
00:21:24 verbose #36543 > │ type [<Struct>] US0 = │
00:21:24 verbose #36544 > │ | US0_0 of f0_0 : int32 │
00:21:24 verbose #36545 > │ | US0_1 │
00:21:24 verbose #36546 > │ let rec method0 () : unit = │
00:21:24 verbose #36547 > │ printfn $"print_and_return / x: {0}" │
00:21:24 verbose #36548 > │ printfn $"print_and_return / x: {1}" │
00:21:24 verbose #36549 > │ printfn $"print_and_return / x: {2}" │
00:21:24 verbose #36550 > │ printfn $"print_and_return / x: {3}" │
00:21:24 verbose #36551 > │ printfn $"print_and_return / x: {4}" │
00:21:24 verbose #36552 > │ printfn $"print_and_return / x: {5}" │
00:21:24 verbose #36553 > │ printfn $"print_and_return / x: {6}" │
00:21:24 verbose #36554 > │ printfn $"print_and_return / x: {7}" │
00:21:24 verbose #36555 > │ printfn $"print_and_return / x: {8}" │
00:21:24 verbose #36556 > │ printfn $"print_and_return / x: {9}" │
00:21:24 verbose #36557 > │ let v3 : string = "assert_eq" │
00:21:24 verbose #36558 > │ let v4 : US0 = US0_0(2) │
00:21:24 verbose #36559 > │ let v5 : US0 = US0_0(2) │
00:21:24 verbose #36560 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:21:24 verbose #36561 > │ System.Console.WriteLine v6 │
00:21:24 verbose #36562 > │ () │
00:21:24 verbose #36563 > │ method0() │
00:21:24 verbose #36564 > │ │
00:21:24 verbose #36565 > │ print_and_return / x: 0 │
00:21:24 verbose #36566 > │ print_and_return / x: 1 │
00:21:24 verbose #36567 > │ print_and_return / x: 2 │
00:21:24 verbose #36568 > │ print_and_return / x: 3 │
00:21:24 verbose #36569 > │ print_and_return / x: 4 │
00:21:24 verbose #36570 > │ print_and_return / x: 5 │
00:21:24 verbose #36571 > │ print_and_return / x: 6 │
00:21:24 verbose #36572 > │ print_and_return / x: 7 │
00:21:24 verbose #36573 > │ print_and_return / x: 8 │
00:21:24 verbose #36574 > │ print_and_return / x: 9 │
00:21:24 verbose #36575 > │ assert_eq / actual: US0_0 2 / expected: US0_0 2 │
00:21:24 verbose #36576 > │ │
00:21:24 verbose #36577 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:24 verbose #36578 >
00:21:24 verbose #36579 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:24 verbose #36580 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:24 verbose #36581 > │ ## indexed │
00:21:24 verbose #36582 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:24 verbose #36583 >
00:21:24 verbose #36584 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:24 verbose #36585 > inl indexed s =
00:21:24 verbose #36586 > s
00:21:24 verbose #36587 > |> mapi fun i x =>
00:21:24 verbose #36588 > i, x
00:21:24 verbose #36589 > 00:21:23 debug #727 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/221c64923cb687d07c854287bb45813cff8a04e2ba51fcb98837386123a81abb/main.spi
00:21:24 verbose #36590 >
00:21:24 verbose #36591 > ╭─[ 649.72ms - stdout ]────────────────────────────────────────────────────────╮
00:21:24 verbose #36592 > │ () │
00:21:24 verbose #36593 > │ │
00:21:24 verbose #36594 > │ │
00:21:24 verbose #36595 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:24 verbose #36596 >
00:21:24 verbose #36597 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:24 verbose #36598 > //// test
00:21:24 verbose #36599 >
00:21:24 verbose #36600 > listm.init 10i32 ((*) 2)
00:21:24 verbose #36601 > |> from_list
00:21:24 verbose #36602 > |> indexed
00:21:24 verbose #36603 > |> try_item 5i32
00:21:24 verbose #36604 > |> _assert_eq (Some (5i32, 10i32))
00:21:25 verbose #36605 > 00:21:24 debug #728 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3ceb732df93e03fc779b8be17ffbe1196f611c9302452dde51abf451b5a315b2/main.spi
00:21:25 verbose #36606 >
00:21:25 verbose #36607 > ╭─[ 674.84ms - stdout ]────────────────────────────────────────────────────────╮
00:21:25 verbose #36608 > │ type [<Struct>] US0 = │
00:21:25 verbose #36609 > │ | US0_0 of f0_0 : int32 * f0_1 : int32 │
00:21:25 verbose #36610 > │ | US0_1 │
00:21:25 verbose #36611 > │ let rec method0 () : unit = │
00:21:25 verbose #36612 > │ let v3 : string = "assert_eq" │
00:21:25 verbose #36613 > │ let v4 : US0 = US0_0(5, 10) │
00:21:25 verbose #36614 > │ let v5 : US0 = US0_0(5, 10) │
00:21:25 verbose #36615 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:21:25 verbose #36616 > │ System.Console.WriteLine v6 │
00:21:25 verbose #36617 > │ () │
00:21:25 verbose #36618 > │ method0() │
00:21:25 verbose #36619 > │ │
00:21:25 verbose #36620 > │ assert_eq / actual: US0_0 (5, 10) / expected: US0_0 (5, 10) │
00:21:25 verbose #36621 > │ │
00:21:25 verbose #36622 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:25 verbose #36623 >
00:21:25 verbose #36624 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:25 verbose #36625 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:25 verbose #36626 > │ ## zip │
00:21:25 verbose #36627 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:25 verbose #36628 >
00:21:25 verbose #36629 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:25 verbose #36630 > inl zip n seq1 seq2 =
00:21:25 verbose #36631 > seq1 n, seq2 n
00:21:26 verbose #36632 > 00:21:25 debug #729 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/27c31b242d875d5058efe0daa23a7830afc4cef7744cff354de9c52a3fe4d5fe/main.spi
00:21:26 verbose #36633 >
00:21:26 verbose #36634 > ╭─[ 665.80ms - stdout ]────────────────────────────────────────────────────────╮
00:21:26 verbose #36635 > │ () │
00:21:26 verbose #36636 > │ │
00:21:26 verbose #36637 > │ │
00:21:26 verbose #36638 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:26 verbose #36639 >
00:21:26 verbose #36640 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:26 verbose #36641 > //// test
00:21:26 verbose #36642 >
00:21:26 verbose #36643 > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:21:26 verbose #36644 > ||> zip 5i32
00:21:26 verbose #36645 > |> _assert_eq (Some 5, Some 10)
00:21:26 verbose #36646 > 00:21:25 debug #730 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/95ac38da2f5087ae3a29e9598088573a8eabfff04afb0ca8b0ac0082ba61f737/main.spi
00:21:26 verbose #36647 >
00:21:26 verbose #36648 > ╭─[ 640.27ms - stdout ]────────────────────────────────────────────────────────╮
00:21:26 verbose #36649 > │ type [<Struct>] US0 = │
00:21:26 verbose #36650 > │ | US0_0 of f0_0 : int32 │
00:21:26 verbose #36651 > │ | US0_1 │
00:21:26 verbose #36652 > │ let rec method0 () : unit = │
00:21:26 verbose #36653 > │ let v6 : string = "assert_eq" │
00:21:26 verbose #36654 > │ let v7 : US0 = US0_0(5) │
00:21:26 verbose #36655 > │ let v8 : US0 = US0_0(10) │
00:21:26 verbose #36656 > │ let v9 : US0 = US0_0(5) │
00:21:26 verbose #36657 > │ let v10 : US0 = US0_0(10) │
00:21:26 verbose #36658 > │ let v11 : string = $"{v6} / actual: %A{struct (v7, v8)} / expected: │
00:21:26 verbose #36659 > │ %A{struct (v9, v10)}" │
00:21:26 verbose #36660 > │ System.Console.WriteLine v11 │
00:21:26 verbose #36661 > │ () │
00:21:26 verbose #36662 > │ method0() │
00:21:26 verbose #36663 > │ │
00:21:26 verbose #36664 > │ assert_eq / actual: struct (US0_0 5, US0_0 10) / expected: struct (US0_0 5, │
00:21:26 verbose #36665 > │ US0_0 10) │
00:21:26 verbose #36666 > │ │
00:21:26 verbose #36667 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:26 verbose #36668 >
00:21:26 verbose #36669 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:26 verbose #36670 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:26 verbose #36671 > │ ## zip_with │
00:21:26 verbose #36672 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:26 verbose #36673 >
00:21:26 verbose #36674 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:26 verbose #36675 > inl zip_with fn seq1 seq2 =
00:21:26 verbose #36676 > fun n =>
00:21:26 verbose #36677 > fn (seq1 n) (seq2 n)
00:21:27 verbose #36678 > 00:21:26 debug #731 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/06914b42bdc25384bc70cb630cec707cc42cbfbcbaae4f53f7fd71075dc6d159/main.spi
00:21:27 verbose #36679 >
00:21:27 verbose #36680 > ╭─[ 724.04ms - stdout ]────────────────────────────────────────────────────────╮
00:21:27 verbose #36681 > │ () │
00:21:27 verbose #36682 > │ │
00:21:27 verbose #36683 > │ │
00:21:27 verbose #36684 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:27 verbose #36685 >
00:21:27 verbose #36686 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:27 verbose #36687 > //// test
00:21:27 verbose #36688 >
00:21:27 verbose #36689 > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:21:27 verbose #36690 > ||> zip_with (optionm'.choose (+))
00:21:27 verbose #36691 > |> try_item 2i32
00:21:27 verbose #36692 > |> _assert_eq (Some 6)
00:21:28 verbose #36693 > 00:21:27 debug #732 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/310b0a42253363284d74c00b5af93babd5c1d8635e8940bcd72c6efe6d4ec28f/main.spi
00:21:28 verbose #36694 >
00:21:28 verbose #36695 > ╭─[ 731.37ms - stdout ]────────────────────────────────────────────────────────╮
00:21:28 verbose #36696 > │ type [<Struct>] US0 = │
00:21:28 verbose #36697 > │ | US0_0 of f0_0 : int32 │
00:21:28 verbose #36698 > │ | US0_1 │
00:21:28 verbose #36699 > │ let rec method0 () : unit = │
00:21:28 verbose #36700 > │ let v3 : string = "assert_eq" │
00:21:28 verbose #36701 > │ let v4 : US0 = US0_0(6) │
00:21:28 verbose #36702 > │ let v5 : US0 = US0_0(6) │
00:21:28 verbose #36703 > │ let v6 : string = $"{v3} / actual: %A{v4} / expected: %A{v5}" │
00:21:28 verbose #36704 > │ System.Console.WriteLine v6 │
00:21:28 verbose #36705 > │ () │
00:21:28 verbose #36706 > │ method0() │
00:21:28 verbose #36707 > │ │
00:21:28 verbose #36708 > │ assert_eq / actual: US0_0 6 / expected: US0_0 6 │
00:21:28 verbose #36709 > │ │
00:21:28 verbose #36710 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:28 verbose #36711 >
00:21:28 verbose #36712 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:28 verbose #36713 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:28 verbose #36714 > │ ## fold │
00:21:28 verbose #36715 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:28 verbose #36716 >
00:21:28 verbose #36717 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:28 verbose #36718 > inl fold fn init seq =
00:21:28 verbose #36719 > inl rec loop acc n =
00:21:28 verbose #36720 > match seq n with
00:21:28 verbose #36721 > | Some x => loop (fn acc x) (n + 1)
00:21:28 verbose #36722 > | None => acc
00:21:28 verbose #36723 > loop init 0
00:21:28 verbose #36724 >
00:21:28 verbose #36725 > inl fold_ fn init seq =
00:21:28 verbose #36726 > let rec loop acc n =
00:21:28 verbose #36727 > match seq n with
00:21:28 verbose #36728 > | Some x => loop (fn acc x) (n + 1)
00:21:28 verbose #36729 > | None => acc
00:21:28 verbose #36730 > loop init 0
00:21:28 verbose #36731 > 00:21:27 debug #733 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/02a3cb607a73864baccf867a14a6ea77d35aead1217c194913f5432fccb80b73/main.spi
00:21:29 verbose #36732 >
00:21:29 verbose #36733 > ╭─[ 630.67ms - stdout ]────────────────────────────────────────────────────────╮
00:21:29 verbose #36734 > │ () │
00:21:29 verbose #36735 > │ │
00:21:29 verbose #36736 > │ │
00:21:29 verbose #36737 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:29 verbose #36738 >
00:21:29 verbose #36739 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:29 verbose #36740 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:29 verbose #36741 > │ ## sum │
00:21:29 verbose #36742 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:29 verbose #36743 >
00:21:29 verbose #36744 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:29 verbose #36745 > inl sum seq =
00:21:29 verbose #36746 > seq |> fold (+) 0
00:21:29 verbose #36747 >
00:21:29 verbose #36748 > inl sum_ seq =
00:21:29 verbose #36749 > seq |> fold_ (+) 0
00:21:29 verbose #36750 > 00:21:28 debug #734 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2228080dc83bf36146aebced0bfe66ae47d9676eb35a5016772181ae64804b68/main.spi
00:21:29 verbose #36751 >
00:21:29 verbose #36752 > ╭─[ 739.25ms - stdout ]────────────────────────────────────────────────────────╮
00:21:29 verbose #36753 > │ () │
00:21:29 verbose #36754 > │ │
00:21:29 verbose #36755 > │ │
00:21:29 verbose #36756 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:29 verbose #36757 >
00:21:29 verbose #36758 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:29 verbose #36759 > //// test
00:21:29 verbose #36760 >
00:21:29 verbose #36761 > listm.init 10i32 id
00:21:29 verbose #36762 > |> from_list
00:21:29 verbose #36763 > |> fun f (n : i32) => f n
00:21:29 verbose #36764 > |> sum
00:21:29 verbose #36765 > |> _assert_eq 45
00:21:30 verbose #36766 > 00:21:29 debug #735 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d156c8f8c28656f7373366e3d96234dedb978d5a7e73df4337a0a2faad947d9d/main.spi
00:21:30 verbose #36767 >
00:21:30 verbose #36768 > ╭─[ 632.55ms - stdout ]────────────────────────────────────────────────────────╮
00:21:30 verbose #36769 > │ let rec method0 () : unit = │
00:21:30 verbose #36770 > │ let v0 : string = "assert_eq" │
00:21:30 verbose #36771 > │ let v1 : string = $"{v0} / actual: %A{45} / expected: %A{45}" │
00:21:30 verbose #36772 > │ System.Console.WriteLine v1 │
00:21:30 verbose #36773 > │ () │
00:21:30 verbose #36774 > │ method0() │
00:21:30 verbose #36775 > │ │
00:21:30 verbose #36776 > │ assert_eq / actual: 45 / expected: 45 │
00:21:30 verbose #36777 > │ │
00:21:30 verbose #36778 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:30 verbose #36779 >
00:21:30 verbose #36780 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:30 verbose #36781 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:30 verbose #36782 > │ ## to_list │
00:21:30 verbose #36783 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:30 verbose #36784 >
00:21:30 verbose #36785 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:30 verbose #36786 > inl to_list seq =
00:21:30 verbose #36787 > seq
00:21:30 verbose #36788 > |> fold (fun acc x => x :: acc) [[]]
00:21:30 verbose #36789 > |> listm.rev
00:21:30 verbose #36790 >
00:21:30 verbose #36791 > inl to_list_ seq =
00:21:30 verbose #36792 > seq
00:21:30 verbose #36793 > |> fold_ (fun acc x => x :: acc) [[]]
00:21:30 verbose #36794 > |> listm.rev
00:21:30 verbose #36795 > 00:21:29 debug #736 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/83384296994c3f4a65d31400f30c6ecbe1daa703745eed7fb0531f87d68edee2/main.spi
00:21:31 verbose #36796 >
00:21:31 verbose #36797 > ╭─[ 685.02ms - stdout ]────────────────────────────────────────────────────────╮
00:21:31 verbose #36798 > │ () │
00:21:31 verbose #36799 > │ │
00:21:31 verbose #36800 > │ │
00:21:31 verbose #36801 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:31 verbose #36802 >
00:21:31 verbose #36803 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:31 verbose #36804 > //// test
00:21:31 verbose #36805 >
00:21:31 verbose #36806 > listm.init 10i32 id
00:21:31 verbose #36807 > |> from_list
00:21:31 verbose #36808 > |> fun f (n : i32) => f n
00:21:31 verbose #36809 > |> to_list
00:21:31 verbose #36810 > |> _assert_eq (listm.init 10i32 id)
00:21:31 verbose #36811 > 00:21:30 debug #737 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/552f0125c4f45740919617bd293c515ff4cb3f56f51367c232fe1ef8b1639073/main.spi
00:21:31 verbose #36812 >
00:21:31 verbose #36813 > ╭─[ 667.64ms - stdout ]────────────────────────────────────────────────────────╮
00:21:31 verbose #36814 > │ type UH0 = │
00:21:31 verbose #36815 > │ | UH0_0 │
00:21:31 verbose #36816 > │ | UH0_1 of int32 * UH0 │
00:21:31 verbose #36817 > │ let rec method0 () : unit = │
00:21:31 verbose #36818 > │ let v88 : string = "assert_eq" │
00:21:31 verbose #36819 > │ let v89 : UH0 = UH0_0 │
00:21:31 verbose #36820 > │ let v90 : UH0 = UH0_1(9, v89) │
00:21:31 verbose #36821 > │ let v91 : UH0 = UH0_1(8, v90) │
00:21:31 verbose #36822 > │ let v92 : UH0 = UH0_1(7, v91) │
00:21:31 verbose #36823 > │ let v93 : UH0 = UH0_1(6, v92) │
00:21:31 verbose #36824 > │ let v94 : UH0 = UH0_1(5, v93) │
00:21:31 verbose #36825 > │ let v95 : UH0 = UH0_1(4, v94) │
00:21:31 verbose #36826 > │ let v96 : UH0 = UH0_1(3, v95) │
00:21:31 verbose #36827 > │ let v97 : UH0 = UH0_1(2, v96) │
00:21:31 verbose #36828 > │ let v98 : UH0 = UH0_1(1, v97) │
00:21:31 verbose #36829 > │ let v99 : UH0 = UH0_1(0, v98) │
00:21:31 verbose #36830 > │ let v100 : UH0 = UH0_0 │
00:21:31 verbose #36831 > │ let v101 : UH0 = UH0_1(9, v100) │
00:21:31 verbose #36832 > │ let v102 : UH0 = UH0_1(8, v101) │
00:21:31 verbose #36833 > │ let v103 : UH0 = UH0_1(7, v102) │
00:21:31 verbose #36834 > │ let v104 : UH0 = UH0_1(6, v103) │
00:21:31 verbose #36835 > │ let v105 : UH0 = UH0_1(5, v104) │
00:21:31 verbose #36836 > │ let v106 : UH0 = UH0_1(4, v105) │
00:21:31 verbose #36837 > │ let v107 : UH0 = UH0_1(3, v106) │
00:21:31 verbose #36838 > │ let v108 : UH0 = UH0_1(2, v107) │
00:21:31 verbose #36839 > │ let v109 : UH0 = UH0_1(1, v108) │
00:21:31 verbose #36840 > │ let v110 : UH0 = UH0_1(0, v109) │
00:21:31 verbose #36841 > │ let v111 : string = $"{v88} / actual: %A{v99} / expected: %A{v110}" │
00:21:31 verbose #36842 > │ System.Console.WriteLine v111 │
00:21:31 verbose #36843 > │ () │
00:21:31 verbose #36844 > │ method0() │
00:21:31 verbose #36845 > │ │
00:21:31 verbose #36846 > │ assert_eq / actual: UH0_1 │
00:21:31 verbose #36847 > │ (0, │
00:21:31 verbose #36848 > │ UH0_1 │
00:21:31 verbose #36849 > │ (1, │
00:21:31 verbose #36850 > │ UH0_1 │
00:21:31 verbose #36851 > │ (2, │
00:21:31 verbose #36852 > │ UH0_1 │
00:21:31 verbose #36853 > │ (3, │
00:21:31 verbose #36854 > │ UH0_1 │
00:21:31 verbose #36855 > │ (4, UH0_1 (5, UH0_1 (6, UH0_1 (7, UH0_1 (8, UH0_1 (9, │
00:21:31 verbose #36856 > │ UH0_0)))))))))) / expected: UH0_1 │
00:21:31 verbose #36857 > │ (0, │
00:21:31 verbose #36858 > │ UH0_1 │
00:21:31 verbose #36859 > │ (1, │
00:21:31 verbose #36860 > │ UH0_1 │
00:21:31 verbose #36861 > │ (2, │
00:21:31 verbose #36862 > │ UH0_1 │
00:21:31 verbose #36863 > │ (3, │
00:21:31 verbose #36864 > │ UH0_1 │
00:21:31 verbose #36865 > │ (4, UH0_1 (5, UH0_1 (6, UH0_1 (7, UH0_1 (8, UH0_1 (9, │
00:21:31 verbose #36866 > │ UH0_0)))))))))) │
00:21:31 verbose #36867 > │ │
00:21:31 verbose #36868 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:31 verbose #36869 >
00:21:31 verbose #36870 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:31 verbose #36871 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:31 verbose #36872 > │ ## from_array │
00:21:31 verbose #36873 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:31 verbose #36874 >
00:21:31 verbose #36875 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:31 verbose #36876 > inl from_array forall dim {number; int} el. (array : a dim el) : seq dim el =
00:21:31 verbose #36877 > fun n =>
00:21:31 verbose #36878 > if n >= length array
00:21:31 verbose #36879 > then None
00:21:31 verbose #36880 > else index array n |> Some
00:21:32 verbose #36881 > 00:21:31 debug #738 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/99695034c326976ccb26bc2ef680d7b92355ac4018e74a3ed15375cbede5198e/main.spi
00:21:32 verbose #36882 >
00:21:32 verbose #36883 > ╭─[ 679.85ms - stdout ]────────────────────────────────────────────────────────╮
00:21:32 verbose #36884 > │ () │
00:21:32 verbose #36885 > │ │
00:21:32 verbose #36886 > │ │
00:21:32 verbose #36887 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:32 verbose #36888 >
00:21:32 verbose #36889 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:32 verbose #36890 > //// test
00:21:32 verbose #36891 >
00:21:32 verbose #36892 > a ;[[ 1; 2; 3 ]]
00:21:32 verbose #36893 > |> from_array
00:21:32 verbose #36894 > |> try_item 1i32
00:21:32 verbose #36895 > |> _assert_eq (Some 2i32)
00:21:33 verbose #36896 > 00:21:31 debug #739 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2c3244539f6c0c498683c8b9fef0a02a297bc35177a407d6431f022b51390cf4/main.spi
00:21:33 verbose #36897 >
00:21:33 verbose #36898 > ╭─[ 718.52ms - stdout ]────────────────────────────────────────────────────────╮
00:21:33 verbose #36899 > │ type [<Struct>] US0 = │
00:21:33 verbose #36900 > │ | US0_0 of f0_0 : int32 │
00:21:33 verbose #36901 > │ | US0_1 │
00:21:33 verbose #36902 > │ let rec method1 (v0 : bool) : bool = │
00:21:33 verbose #36903 > │ v0 │
00:21:33 verbose #36904 > │ and method0 () : unit = │
00:21:33 verbose #36905 > │ let v0 : (int32 []) = [|1; 2; 3|] │
00:21:33 verbose #36906 > │ let v1 : int32 = v0.Length │
00:21:33 verbose #36907 > │ let v2 : bool = 1 >= v1 │
00:21:33 verbose #36908 > │ let v6 : US0 = │
00:21:33 verbose #36909 > │ if v2 then │
00:21:33 verbose #36910 > │ US0_1 │
00:21:33 verbose #36911 > │ else │
00:21:33 verbose #36912 > │ let v4 : int32 = v0.[int 1] │
00:21:33 verbose #36913 > │ US0_0(v4) │
00:21:33 verbose #36914 > │ let v10 : bool = │
00:21:33 verbose #36915 > │ match v6 with │
00:21:33 verbose #36916 > │ | US0_0(v8) -> (* Some *) │
00:21:33 verbose #36917 > │ let v9 : bool = v8 = 2 │
00:21:33 verbose #36918 > │ v9 │
00:21:33 verbose #36919 > │ | _ -> │
00:21:33 verbose #36920 > │ false │
00:21:33 verbose #36921 > │ let v12 : bool = │
00:21:33 verbose #36922 > │ if v10 then │
00:21:33 verbose #36923 > │ true │
00:21:33 verbose #36924 > │ else │
00:21:33 verbose #36925 > │ method1(v10) │
00:21:33 verbose #36926 > │ let v13 : string = "assert_eq" │
00:21:33 verbose #36927 > │ let v14 : US0 = US0_0(2) │
00:21:33 verbose #36928 > │ let v15 : string = $"{v13} / actual: %A{v6} / expected: %A{v14}" │
00:21:33 verbose #36929 > │ System.Console.WriteLine v15 │
00:21:33 verbose #36930 > │ let v16 : bool = v12 = false │
00:21:33 verbose #36931 > │ if v16 then │
00:21:33 verbose #36932 > │ failwith<unit> v15 │
00:21:33 verbose #36933 > │ method0() │
00:21:33 verbose #36934 > │ │
00:21:33 verbose #36935 > │ assert_eq / actual: US0_0 2 / expected: US0_0 2 │
00:21:33 verbose #36936 > │ │
00:21:33 verbose #36937 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:33 verbose #36938 >
00:21:33 verbose #36939 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:33 verbose #36940 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:33 verbose #36941 > │ ## to_array │
00:21:33 verbose #36942 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:33 verbose #36943 >
00:21:33 verbose #36944 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:33 verbose #36945 > inl to_array seq =
00:21:33 verbose #36946 > inl ar = a ;[[]] |> mut
00:21:33 verbose #36947 > ((), seq)
00:21:33 verbose #36948 > ||> fold fun _ x =>
00:21:33 verbose #36949 > ar <- *ar /@ a ;[[x]]
00:21:33 verbose #36950 > *ar
00:21:33 verbose #36951 >
00:21:33 verbose #36952 > inl to_array_ seq =
00:21:33 verbose #36953 > inl ar = a ;[[]] |> mut
00:21:33 verbose #36954 > ((), seq)
00:21:33 verbose #36955 > ||> fold_ fun _ x =>
00:21:33 verbose #36956 > ar <- *ar /@ a ;[[x]]
00:21:33 verbose #36957 > *ar
00:21:33 verbose #36958 > 00:21:32 debug #740 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/563519eb562ffa8c4f9a9feed15fbfd6473ed3712f24b040348ecea45aeee435/main.spi
00:21:33 verbose #36959 >
00:21:33 verbose #36960 > ╭─[ 658.80ms - stdout ]────────────────────────────────────────────────────────╮
00:21:33 verbose #36961 > │ () │
00:21:33 verbose #36962 > │ │
00:21:33 verbose #36963 > │ │
00:21:33 verbose #36964 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:33 verbose #36965 >
00:21:33 verbose #36966 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:33 verbose #36967 > //// test
00:21:33 verbose #36968 >
00:21:33 verbose #36969 > listm.init 10i32 id
00:21:33 verbose #36970 > |> from_list
00:21:33 verbose #36971 > |> fun (x : i32 -> _) => x
00:21:33 verbose #36972 > |> to_array
00:21:33 verbose #36973 > |> _assert_eq (a ;[[ 0; 1; 2; 3; 4; 5; 6; 7; 8; 9 ]] : _ i32 _)
00:21:34 verbose #36974 > 00:21:33 debug #741 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7d6410d86842815529490ea789a06a805d9adf4cf3f8bf058dd12160e7b1aadd/main.spi
00:21:34 verbose #36975 >
00:21:34 verbose #36976 > ╭─[ 972.09ms - stdout ]────────────────────────────────────────────────────────╮
00:21:34 verbose #36977 > │ type Mut0 = {mutable l0 : (int32 [])} │
00:21:34 verbose #36978 > │ and Mut1 = {mutable l0 : int32} │
00:21:34 verbose #36979 > │ let rec method1 (v0 : int32, v1 : Mut1) : bool = │
00:21:34 verbose #36980 > │ let v2 : int32 = v1.l0 │
00:21:34 verbose #36981 > │ let v3 : bool = v2 < v0 │
00:21:34 verbose #36982 > │ v3 │
00:21:34 verbose #36983 > │ and method2 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool = │
00:21:34 verbose #36984 > │ let v3 : int32 = v0.Length │
00:21:34 verbose #36985 > │ let v4 : bool = v2 < v3 │
00:21:34 verbose #36986 > │ if v4 then │
00:21:34 verbose #36987 > │ let v5 : int32 = v0.[int v2] │
00:21:34 verbose #36988 > │ let v6 : int32 = v1.[int v2] │
00:21:34 verbose #36989 > │ let v7 : bool = v5 = v6 │
00:21:34 verbose #36990 > │ if v7 then │
00:21:34 verbose #36991 > │ let v8 : int32 = v2 + 1 │
00:21:34 verbose #36992 > │ method2(v0, v1, v8) │
00:21:34 verbose #36993 > │ else │
00:21:34 verbose #36994 > │ false │
00:21:34 verbose #36995 > │ else │
00:21:34 verbose #36996 > │ true │
00:21:34 verbose #36997 > │ and method3 (v0 : bool) : bool = │
00:21:34 verbose #36998 > │ v0 │
00:21:34 verbose #36999 > │ and method0 () : unit = │
00:21:34 verbose #37000 > │ let v0 : (int32 []) = [||] │
00:21:34 verbose #37001 > │ let v1 : Mut0 = {l0 = v0} : Mut0 │
00:21:34 verbose #37002 > │ let v2 : (int32 []) = v1.l0 │
00:21:34 verbose #37003 > │ let v3 : (int32 []) = [|0|] │
00:21:34 verbose #37004 > │ let v4 : int32 = v2.Length │
00:21:34 verbose #37005 > │ let v5 : int32 = v3.Length │
00:21:34 verbose #37006 > │ let v6 : int32 = v4 + v5 │
00:21:34 verbose #37007 > │ let v7 : (int32 []) = Array.zeroCreate<int32> (v6) │
00:21:34 verbose #37008 > │ let v8 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37009 > │ while method1(v6, v8) do │
00:21:34 verbose #37010 > │ let v10 : int32 = v8.l0 │
00:21:34 verbose #37011 > │ let v11 : bool = v10 < v4 │
00:21:34 verbose #37012 > │ let v15 : int32 = │
00:21:34 verbose #37013 > │ if v11 then │
00:21:34 verbose #37014 > │ let v12 : int32 = v2.[int v10] │
00:21:34 verbose #37015 > │ v12 │
00:21:34 verbose #37016 > │ else │
00:21:34 verbose #37017 > │ let v13 : int32 = v10 - v4 │
00:21:34 verbose #37018 > │ let v14 : int32 = v3.[int v13] │
00:21:34 verbose #37019 > │ v14 │
00:21:34 verbose #37020 > │ v7.[int v10] <- v15 │
00:21:34 verbose #37021 > │ let v16 : int32 = v10 + 1 │
00:21:34 verbose #37022 > │ v8.l0 <- v16 │
00:21:34 verbose #37023 > │ () │
00:21:34 verbose #37024 > │ v1.l0 <- v7 │
00:21:34 verbose #37025 > │ let v17 : (int32 []) = v1.l0 │
00:21:34 verbose #37026 > │ let v18 : (int32 []) = [|1|] │
00:21:34 verbose #37027 > │ let v19 : int32 = v17.Length │
00:21:34 verbose #37028 > │ let v20 : int32 = v18.Length │
00:21:34 verbose #37029 > │ let v21 : int32 = v19 + v20 │
00:21:34 verbose #37030 > │ let v22 : (int32 []) = Array.zeroCreate<int32> (v21) │
00:21:34 verbose #37031 > │ let v23 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37032 > │ while method1(v21, v23) do │
00:21:34 verbose #37033 > │ let v25 : int32 = v23.l0 │
00:21:34 verbose #37034 > │ let v26 : bool = v25 < v19 │
00:21:34 verbose #37035 > │ let v30 : int32 = │
00:21:34 verbose #37036 > │ if v26 then │
00:21:34 verbose #37037 > │ let v27 : int32 = v17.[int v25] │
00:21:34 verbose #37038 > │ v27 │
00:21:34 verbose #37039 > │ else │
00:21:34 verbose #37040 > │ let v28 : int32 = v25 - v19 │
00:21:34 verbose #37041 > │ let v29 : int32 = v18.[int v28] │
00:21:34 verbose #37042 > │ v29 │
00:21:34 verbose #37043 > │ v22.[int v25] <- v30 │
00:21:34 verbose #37044 > │ let v31 : int32 = v25 + 1 │
00:21:34 verbose #37045 > │ v23.l0 <- v31 │
00:21:34 verbose #37046 > │ () │
00:21:34 verbose #37047 > │ v1.l0 <- v22 │
00:21:34 verbose #37048 > │ let v32 : (int32 []) = v1.l0 │
00:21:34 verbose #37049 > │ let v33 : (int32 []) = [|2|] │
00:21:34 verbose #37050 > │ let v34 : int32 = v32.Length │
00:21:34 verbose #37051 > │ let v35 : int32 = v33.Length │
00:21:34 verbose #37052 > │ let v36 : int32 = v34 + v35 │
00:21:34 verbose #37053 > │ let v37 : (int32 []) = Array.zeroCreate<int32> (v36) │
00:21:34 verbose #37054 > │ let v38 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37055 > │ while method1(v36, v38) do │
00:21:34 verbose #37056 > │ let v40 : int32 = v38.l0 │
00:21:34 verbose #37057 > │ let v41 : bool = v40 < v34 │
00:21:34 verbose #37058 > │ let v45 : int32 = │
00:21:34 verbose #37059 > │ if v41 then │
00:21:34 verbose #37060 > │ let v42 : int32 = v32.[int v40] │
00:21:34 verbose #37061 > │ v42 │
00:21:34 verbose #37062 > │ else │
00:21:34 verbose #37063 > │ let v43 : int32 = v40 - v34 │
00:21:34 verbose #37064 > │ let v44 : int32 = v33.[int v43] │
00:21:34 verbose #37065 > │ v44 │
00:21:34 verbose #37066 > │ v37.[int v40] <- v45 │
00:21:34 verbose #37067 > │ let v46 : int32 = v40 + 1 │
00:21:34 verbose #37068 > │ v38.l0 <- v46 │
00:21:34 verbose #37069 > │ () │
00:21:34 verbose #37070 > │ v1.l0 <- v37 │
00:21:34 verbose #37071 > │ let v47 : (int32 []) = v1.l0 │
00:21:34 verbose #37072 > │ let v48 : (int32 []) = [|3|] │
00:21:34 verbose #37073 > │ let v49 : int32 = v47.Length │
00:21:34 verbose #37074 > │ let v50 : int32 = v48.Length │
00:21:34 verbose #37075 > │ let v51 : int32 = v49 + v50 │
00:21:34 verbose #37076 > │ let v52 : (int32 []) = Array.zeroCreate<int32> (v51) │
00:21:34 verbose #37077 > │ let v53 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37078 > │ while method1(v51, v53) do │
00:21:34 verbose #37079 > │ let v55 : int32 = v53.l0 │
00:21:34 verbose #37080 > │ let v56 : bool = v55 < v49 │
00:21:34 verbose #37081 > │ let v60 : int32 = │
00:21:34 verbose #37082 > │ if v56 then │
00:21:34 verbose #37083 > │ let v57 : int32 = v47.[int v55] │
00:21:34 verbose #37084 > │ v57 │
00:21:34 verbose #37085 > │ else │
00:21:34 verbose #37086 > │ let v58 : int32 = v55 - v49 │
00:21:34 verbose #37087 > │ let v59 : int32 = v48.[int v58] │
00:21:34 verbose #37088 > │ v59 │
00:21:34 verbose #37089 > │ v52.[int v55] <- v60 │
00:21:34 verbose #37090 > │ let v61 : int32 = v55 + 1 │
00:21:34 verbose #37091 > │ v53.l0 <- v61 │
00:21:34 verbose #37092 > │ () │
00:21:34 verbose #37093 > │ v1.l0 <- v52 │
00:21:34 verbose #37094 > │ let v62 : (int32 []) = v1.l0 │
00:21:34 verbose #37095 > │ let v63 : (int32 []) = [|4|] │
00:21:34 verbose #37096 > │ let v64 : int32 = v62.Length │
00:21:34 verbose #37097 > │ let v65 : int32 = v63.Length │
00:21:34 verbose #37098 > │ let v66 : int32 = v64 + v65 │
00:21:34 verbose #37099 > │ let v67 : (int32 []) = Array.zeroCreate<int32> (v66) │
00:21:34 verbose #37100 > │ let v68 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37101 > │ while method1(v66, v68) do │
00:21:34 verbose #37102 > │ let v70 : int32 = v68.l0 │
00:21:34 verbose #37103 > │ let v71 : bool = v70 < v64 │
00:21:34 verbose #37104 > │ let v75 : int32 = │
00:21:34 verbose #37105 > │ if v71 then │
00:21:34 verbose #37106 > │ let v72 : int32 = v62.[int v70] │
00:21:34 verbose #37107 > │ v72 │
00:21:34 verbose #37108 > │ else │
00:21:34 verbose #37109 > │ let v73 : int32 = v70 - v64 │
00:21:34 verbose #37110 > │ let v74 : int32 = v63.[int v73] │
00:21:34 verbose #37111 > │ v74 │
00:21:34 verbose #37112 > │ v67.[int v70] <- v75 │
00:21:34 verbose #37113 > │ let v76 : int32 = v70 + 1 │
00:21:34 verbose #37114 > │ v68.l0 <- v76 │
00:21:34 verbose #37115 > │ () │
00:21:34 verbose #37116 > │ v1.l0 <- v67 │
00:21:34 verbose #37117 > │ let v77 : (int32 []) = v1.l0 │
00:21:34 verbose #37118 > │ let v78 : (int32 []) = [|5|] │
00:21:34 verbose #37119 > │ let v79 : int32 = v77.Length │
00:21:34 verbose #37120 > │ let v80 : int32 = v78.Length │
00:21:34 verbose #37121 > │ let v81 : int32 = v79 + v80 │
00:21:34 verbose #37122 > │ let v82 : (int32 []) = Array.zeroCreate<int32> (v81) │
00:21:34 verbose #37123 > │ let v83 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37124 > │ while method1(v81, v83) do │
00:21:34 verbose #37125 > │ let v85 : int32 = v83.l0 │
00:21:34 verbose #37126 > │ let v86 : bool = v85 < v79 │
00:21:34 verbose #37127 > │ let v90 : int32 = │
00:21:34 verbose #37128 > │ if v86 then │
00:21:34 verbose #37129 > │ let v87 : int32 = v77.[int v85] │
00:21:34 verbose #37130 > │ v87 │
00:21:34 verbose #37131 > │ else │
00:21:34 verbose #37132 > │ let v88 : int32 = v85 - v79 │
00:21:34 verbose #37133 > │ let v89 : int32 = v78.[int v88] │
00:21:34 verbose #37134 > │ v89 │
00:21:34 verbose #37135 > │ v82.[int v85] <- v90 │
00:21:34 verbose #37136 > │ let v91 : int32 = v85 + 1 │
00:21:34 verbose #37137 > │ v83.l0 <- v91 │
00:21:34 verbose #37138 > │ () │
00:21:34 verbose #37139 > │ v1.l0 <- v82 │
00:21:34 verbose #37140 > │ let v92 : (int32 []) = v1.l0 │
00:21:34 verbose #37141 > │ let v93 : (int32 []) = [|6|] │
00:21:34 verbose #37142 > │ let v94 : int32 = v92.Length │
00:21:34 verbose #37143 > │ let v95 : int32 = v93.Length │
00:21:34 verbose #37144 > │ let v96 : int32 = v94 + v95 │
00:21:34 verbose #37145 > │ let v97 : (int32 []) = Array.zeroCreate<int32> (v96) │
00:21:34 verbose #37146 > │ let v98 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37147 > │ while method1(v96, v98) do │
00:21:34 verbose #37148 > │ let v100 : int32 = v98.l0 │
00:21:34 verbose #37149 > │ let v101 : bool = v100 < v94 │
00:21:34 verbose #37150 > │ let v105 : int32 = │
00:21:34 verbose #37151 > │ if v101 then │
00:21:34 verbose #37152 > │ let v102 : int32 = v92.[int v100] │
00:21:34 verbose #37153 > │ v102 │
00:21:34 verbose #37154 > │ else │
00:21:34 verbose #37155 > │ let v103 : int32 = v100 - v94 │
00:21:34 verbose #37156 > │ let v104 : int32 = v93.[int v103] │
00:21:34 verbose #37157 > │ v104 │
00:21:34 verbose #37158 > │ v97.[int v100] <- v105 │
00:21:34 verbose #37159 > │ let v106 : int32 = v100 + 1 │
00:21:34 verbose #37160 > │ v98.l0 <- v106 │
00:21:34 verbose #37161 > │ () │
00:21:34 verbose #37162 > │ v1.l0 <- v97 │
00:21:34 verbose #37163 > │ let v107 : (int32 []) = v1.l0 │
00:21:34 verbose #37164 > │ let v108 : (int32 []) = [|7|] │
00:21:34 verbose #37165 > │ let v109 : int32 = v107.Length │
00:21:34 verbose #37166 > │ let v110 : int32 = v108.Length │
00:21:34 verbose #37167 > │ let v111 : int32 = v109 + v110 │
00:21:34 verbose #37168 > │ let v112 : (int32 []) = Array.zeroCreate<int32> (v111) │
00:21:34 verbose #37169 > │ let v113 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37170 > │ while method1(v111, v113) do │
00:21:34 verbose #37171 > │ let v115 : int32 = v113.l0 │
00:21:34 verbose #37172 > │ let v116 : bool = v115 < v109 │
00:21:34 verbose #37173 > │ let v120 : int32 = │
00:21:34 verbose #37174 > │ if v116 then │
00:21:34 verbose #37175 > │ let v117 : int32 = v107.[int v115] │
00:21:34 verbose #37176 > │ v117 │
00:21:34 verbose #37177 > │ else │
00:21:34 verbose #37178 > │ let v118 : int32 = v115 - v109 │
00:21:34 verbose #37179 > │ let v119 : int32 = v108.[int v118] │
00:21:34 verbose #37180 > │ v119 │
00:21:34 verbose #37181 > │ v112.[int v115] <- v120 │
00:21:34 verbose #37182 > │ let v121 : int32 = v115 + 1 │
00:21:34 verbose #37183 > │ v113.l0 <- v121 │
00:21:34 verbose #37184 > │ () │
00:21:34 verbose #37185 > │ v1.l0 <- v112 │
00:21:34 verbose #37186 > │ let v122 : (int32 []) = v1.l0 │
00:21:34 verbose #37187 > │ let v123 : (int32 []) = [|8|] │
00:21:34 verbose #37188 > │ let v124 : int32 = v122.Length │
00:21:34 verbose #37189 > │ let v125 : int32 = v123.Length │
00:21:34 verbose #37190 > │ let v126 : int32 = v124 + v125 │
00:21:34 verbose #37191 > │ let v127 : (int32 []) = Array.zeroCreate<int32> (v126) │
00:21:34 verbose #37192 > │ let v128 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37193 > │ while method1(v126, v128) do │
00:21:34 verbose #37194 > │ let v130 : int32 = v128.l0 │
00:21:34 verbose #37195 > │ let v131 : bool = v130 < v124 │
00:21:34 verbose #37196 > │ let v135 : int32 = │
00:21:34 verbose #37197 > │ if v131 then │
00:21:34 verbose #37198 > │ let v132 : int32 = v122.[int v130] │
00:21:34 verbose #37199 > │ v132 │
00:21:34 verbose #37200 > │ else │
00:21:34 verbose #37201 > │ let v133 : int32 = v130 - v124 │
00:21:34 verbose #37202 > │ let v134 : int32 = v123.[int v133] │
00:21:34 verbose #37203 > │ v134 │
00:21:34 verbose #37204 > │ v127.[int v130] <- v135 │
00:21:34 verbose #37205 > │ let v136 : int32 = v130 + 1 │
00:21:34 verbose #37206 > │ v128.l0 <- v136 │
00:21:34 verbose #37207 > │ () │
00:21:34 verbose #37208 > │ v1.l0 <- v127 │
00:21:34 verbose #37209 > │ let v137 : (int32 []) = v1.l0 │
00:21:34 verbose #37210 > │ let v138 : (int32 []) = [|9|] │
00:21:34 verbose #37211 > │ let v139 : int32 = v137.Length │
00:21:34 verbose #37212 > │ let v140 : int32 = v138.Length │
00:21:34 verbose #37213 > │ let v141 : int32 = v139 + v140 │
00:21:34 verbose #37214 > │ let v142 : (int32 []) = Array.zeroCreate<int32> (v141) │
00:21:34 verbose #37215 > │ let v143 : Mut1 = {l0 = 0} : Mut1 │
00:21:34 verbose #37216 > │ while method1(v141, v143) do │
00:21:34 verbose #37217 > │ let v145 : int32 = v143.l0 │
00:21:34 verbose #37218 > │ let v146 : bool = v145 < v139 │
00:21:34 verbose #37219 > │ let v150 : int32 = │
00:21:34 verbose #37220 > │ if v146 then │
00:21:34 verbose #37221 > │ let v147 : int32 = v137.[int v145] │
00:21:34 verbose #37222 > │ v147 │
00:21:34 verbose #37223 > │ else │
00:21:34 verbose #37224 > │ let v148 : int32 = v145 - v139 │
00:21:34 verbose #37225 > │ let v149 : int32 = v138.[int v148] │
00:21:34 verbose #37226 > │ v149 │
00:21:34 verbose #37227 > │ v142.[int v145] <- v150 │
00:21:34 verbose #37228 > │ let v151 : int32 = v145 + 1 │
00:21:34 verbose #37229 > │ v143.l0 <- v151 │
00:21:34 verbose #37230 > │ () │
00:21:34 verbose #37231 > │ v1.l0 <- v142 │
00:21:34 verbose #37232 > │ let v152 : (int32 []) = v1.l0 │
00:21:34 verbose #37233 > │ let v153 : (int32 []) = [|0; 1; 2; 3; 4; 5; 6; 7; 8; 9|] │
00:21:34 verbose #37234 > │ let v154 : int32 = v152.Length │
00:21:34 verbose #37235 > │ let v155 : int32 = v153.Length │
00:21:34 verbose #37236 > │ let v156 : bool = v154 = v155 │
00:21:34 verbose #37237 > │ let v157 : bool = v156 <> true │
00:21:34 verbose #37238 > │ let v160 : bool = │
00:21:34 verbose #37239 > │ if v157 then │
00:21:34 verbose #37240 > │ false │
00:21:34 verbose #37241 > │ else │
00:21:34 verbose #37242 > │ let v158 : int32 = 0 │
00:21:34 verbose #37243 > │ method2(v152, v153, v158) │
00:21:34 verbose #37244 > │ let v162 : bool = │
00:21:34 verbose #37245 > │ if v160 then │
00:21:34 verbose #37246 > │ true │
00:21:34 verbose #37247 > │ else │
00:21:34 verbose #37248 > │ method3(v160) │
00:21:34 verbose #37249 > │ let v163 : string = "assert_eq" │
00:21:34 verbose #37250 > │ let v164 : string = $"{v163} / actual: %A{v152} / expected: %A{v153}" │
00:21:34 verbose #37251 > │ System.Console.WriteLine v164 │
00:21:34 verbose #37252 > │ let v165 : bool = v162 = false │
00:21:34 verbose #37253 > │ if v165 then │
00:21:34 verbose #37254 > │ failwith<unit> v164 │
00:21:34 verbose #37255 > │ method0() │
00:21:34 verbose #37256 > │ │
00:21:34 verbose #37257 > │ assert_eq / actual: [|0; 1; 2; 3; 4; 5; 6; 7; 8; 9|] / expected: [|0; 1; 2; │
00:21:34 verbose #37258 > │ 3; 4; 5; 6; 7; 8; 9|] │
00:21:34 verbose #37259 > │ │
00:21:34 verbose #37260 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:34 verbose #37261 >
00:21:34 verbose #37262 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:34 verbose #37263 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:34 verbose #37264 > │ ## take_while │
00:21:34 verbose #37265 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:34 verbose #37266 >
00:21:34 verbose #37267 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:34 verbose #37268 > inl take_while cond seq =
00:21:34 verbose #37269 > inl rec loop acc i =
00:21:34 verbose #37270 > match seq i with
00:21:34 verbose #37271 > | Some st when cond st i => loop (st :: acc) (i + 1)
00:21:34 verbose #37272 > | _ => acc |> listm.rev
00:21:34 verbose #37273 > loop [[]] 0
00:21:35 verbose #37274 > 00:21:34 debug #742 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/335ad8e9d4e98e9fbef430a9cae5bac3744392ec785722ccff0f161e757b189f/main.spi
00:21:35 verbose #37275 >
00:21:35 verbose #37276 > ╭─[ 676.38ms - stdout ]────────────────────────────────────────────────────────╮
00:21:35 verbose #37277 > │ () │
00:21:35 verbose #37278 > │ │
00:21:35 verbose #37279 > │ │
00:21:35 verbose #37280 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:35 verbose #37281 >
00:21:35 verbose #37282 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:35 verbose #37283 > //// test
00:21:35 verbose #37284 >
00:21:35 verbose #37285 > listm.init 10i32 id
00:21:35 verbose #37286 > |> from_list
00:21:35 verbose #37287 > |> take_while (fun n (_ : i32) => n < 5)
00:21:35 verbose #37288 > |> listm'.sum
00:21:35 verbose #37289 > |> _assert_eq 10
00:21:36 verbose #37290 > 00:21:35 debug #743 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7e97a70ccd18f8dec413760d7c6395431dd811a7d26f9599f423656472d03701/main.spi
00:21:36 verbose #37291 >
00:21:36 verbose #37292 > ╭─[ 687.53ms - stdout ]────────────────────────────────────────────────────────╮
00:21:36 verbose #37293 > │ let rec method0 () : unit = │
00:21:36 verbose #37294 > │ let v0 : string = "assert_eq" │
00:21:36 verbose #37295 > │ let v1 : string = $"{v0} / actual: %A{10} / expected: %A{10}" │
00:21:36 verbose #37296 > │ System.Console.WriteLine v1 │
00:21:36 verbose #37297 > │ () │
00:21:36 verbose #37298 > │ method0() │
00:21:36 verbose #37299 > │ │
00:21:36 verbose #37300 > │ assert_eq / actual: 10 / expected: 10 │
00:21:36 verbose #37301 > │ │
00:21:36 verbose #37302 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:36 verbose #37303 >
00:21:36 verbose #37304 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:36 verbose #37305 > //// test
00:21:36 verbose #37306 >
00:21:36 verbose #37307 > stream.new_finite_stream print_and_return 10i32
00:21:36 verbose #37308 > |> flip stream.try_item
00:21:36 verbose #37309 > |> take_while (fun n (_ : i32) => n < 5)
00:21:36 verbose #37310 > |> listm'.sum
00:21:36 verbose #37311 > |> _assert_eq 10
00:21:36 verbose #37312 > 00:21:35 debug #744 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/998a7ecf6860a839fc3da0b4102503fedd9179c2dc29dbb3d346e046436a8b8a/main.spi
00:21:36 verbose #37313 >
00:21:36 verbose #37314 > ╭─[ 635.68ms - stdout ]────────────────────────────────────────────────────────╮
00:21:36 verbose #37315 > │ let rec method0 () : unit = │
00:21:36 verbose #37316 > │ printfn $"print_and_return / x: {0}" │
00:21:36 verbose #37317 > │ printfn $"print_and_return / x: {1}" │
00:21:36 verbose #37318 > │ printfn $"print_and_return / x: {1}" │
00:21:36 verbose #37319 > │ printfn $"print_and_return / x: {2}" │
00:21:36 verbose #37320 > │ printfn $"print_and_return / x: {1}" │
00:21:36 verbose #37321 > │ printfn $"print_and_return / x: {2}" │
00:21:36 verbose #37322 > │ printfn $"print_and_return / x: {3}" │
00:21:36 verbose #37323 > │ printfn $"print_and_return / x: {1}" │
00:21:36 verbose #37324 > │ printfn $"print_and_return / x: {2}" │
00:21:36 verbose #37325 > │ printfn $"print_and_return / x: {3}" │
00:21:36 verbose #37326 > │ printfn $"print_and_return / x: {4}" │
00:21:36 verbose #37327 > │ printfn $"print_and_return / x: {1}" │
00:21:36 verbose #37328 > │ printfn $"print_and_return / x: {2}" │
00:21:36 verbose #37329 > │ printfn $"print_and_return / x: {3}" │
00:21:36 verbose #37330 > │ printfn $"print_and_return / x: {4}" │
00:21:36 verbose #37331 > │ printfn $"print_and_return / x: {5}" │
00:21:36 verbose #37332 > │ let v0 : string = "assert_eq" │
00:21:36 verbose #37333 > │ let v1 : string = $"{v0} / actual: %A{10} / expected: %A{10}" │
00:21:36 verbose #37334 > │ System.Console.WriteLine v1 │
00:21:36 verbose #37335 > │ () │
00:21:36 verbose #37336 > │ method0() │
00:21:36 verbose #37337 > │ │
00:21:36 verbose #37338 > │ print_and_return / x: 0 │
00:21:36 verbose #37339 > │ print_and_return / x: 1 │
00:21:36 verbose #37340 > │ print_and_return / x: 1 │
00:21:36 verbose #37341 > │ print_and_return / x: 2 │
00:21:36 verbose #37342 > │ print_and_return / x: 1 │
00:21:36 verbose #37343 > │ print_and_return / x: 2 │
00:21:36 verbose #37344 > │ print_and_return / x: 3 │
00:21:36 verbose #37345 > │ print_and_return / x: 1 │
00:21:36 verbose #37346 > │ print_and_return / x: 2 │
00:21:36 verbose #37347 > │ print_and_return / x: 3 │
00:21:36 verbose #37348 > │ print_and_return / x: 4 │
00:21:36 verbose #37349 > │ print_and_return / x: 1 │
00:21:36 verbose #37350 > │ print_and_return / x: 2 │
00:21:36 verbose #37351 > │ print_and_return / x: 3 │
00:21:36 verbose #37352 > │ print_and_return / x: 4 │
00:21:36 verbose #37353 > │ print_and_return / x: 5 │
00:21:36 verbose #37354 > │ assert_eq / actual: 10 / expected: 10 │
00:21:36 verbose #37355 > │ │
00:21:36 verbose #37356 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:36 verbose #37357 >
00:21:36 verbose #37358 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:36 verbose #37359 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:36 verbose #37360 > │ ## take_while_ │
00:21:36 verbose #37361 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:36 verbose #37362 >
00:21:36 verbose #37363 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:36 verbose #37364 > inl take_while_ cond seq =
00:21:36 verbose #37365 > let rec loop acc i =
00:21:36 verbose #37366 > match seq i with
00:21:36 verbose #37367 > | Some st when cond st i => loop (st :: acc) (i + 1)
00:21:36 verbose #37368 > | _ => acc |> listm.rev
00:21:36 verbose #37369 > loop [[]] 0
00:21:37 verbose #37370 > 00:21:36 debug #745 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a63408dbf6183ca8c2749866c416f25a847eeebf4bfe14cf02260abd3a741a92/main.spi
00:21:37 verbose #37371 >
00:21:37 verbose #37372 > ╭─[ 648.71ms - stdout ]────────────────────────────────────────────────────────╮
00:21:37 verbose #37373 > │ () │
00:21:37 verbose #37374 > │ │
00:21:37 verbose #37375 > │ │
00:21:37 verbose #37376 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:37 verbose #37377 >
00:21:37 verbose #37378 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:37 verbose #37379 > //// test
00:21:37 verbose #37380 >
00:21:37 verbose #37381 > stream.new_infinite_stream_ print_and_return
00:21:37 verbose #37382 > |> flip stream.try_item
00:21:37 verbose #37383 > |> take_while_ (fun n (_ : i32) => n < 5i32)
00:21:37 verbose #37384 > |> listm'.sum
00:21:37 verbose #37385 > |> _assert_eq 10
00:21:38 verbose #37386 > 00:21:37 debug #746 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4e082c88d9d500b574c729c620ff666f18aa4c18bba533d58b270e2a82299961/main.spi
00:21:38 verbose #37387 >
00:21:38 verbose #37388 > ╭─[ 749.07ms - stdout ]────────────────────────────────────────────────────────╮
00:21:38 verbose #37389 > │ type UH0 = │
00:21:38 verbose #37390 > │ | UH0_0 of int32 * (unit -> UH0) │
00:21:38 verbose #37391 > │ | UH0_1 │
00:21:38 verbose #37392 > │ and UH1 = │
00:21:38 verbose #37393 > │ | UH1_0 │
00:21:38 verbose #37394 > │ | UH1_1 of int32 * UH1 │
00:21:38 verbose #37395 > │ and [<Struct>] US0 = │
00:21:38 verbose #37396 > │ | US0_0 of f0_0 : int32 │
00:21:38 verbose #37397 > │ | US0_1 │
00:21:38 verbose #37398 > │ let rec closure0 (v0 : int32) () : UH0 = │
00:21:38 verbose #37399 > │ let v1 : int32 = v0 + 1 │
00:21:38 verbose #37400 > │ method1(v1) │
00:21:38 verbose #37401 > │ and method1 (v0 : int32) : UH0 = │
00:21:38 verbose #37402 > │ printfn $"print_and_return / x: {v0}" │
00:21:38 verbose #37403 > │ let v1 : (unit -> UH0) = closure0(v0) │
00:21:38 verbose #37404 > │ UH0_0(v0, v1) │
00:21:38 verbose #37405 > │ and method3 (v0 : int32, v1 : UH0) : US0 = │
00:21:38 verbose #37406 > │ match v1 with │
00:21:38 verbose #37407 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:21:38 verbose #37408 > │ let v4 : bool = v0 <= 0 │
00:21:38 verbose #37409 > │ if v4 then │
00:21:38 verbose #37410 > │ US0_0(v2) │
00:21:38 verbose #37411 > │ else │
00:21:38 verbose #37412 > │ let v6 : int32 = v0 - 1 │
00:21:38 verbose #37413 > │ let v7 : UH0 = v3 () │
00:21:38 verbose #37414 > │ method3(v6, v7) │
00:21:38 verbose #37415 > │ | UH0_1 -> (* StreamNil *) │
00:21:38 verbose #37416 > │ US0_1 │
00:21:38 verbose #37417 > │ and method4 (v0 : UH1, v1 : UH1) : UH1 = │
00:21:38 verbose #37418 > │ match v0 with │
00:21:38 verbose #37419 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:38 verbose #37420 > │ let v4 : UH1 = UH1_1(v2, v1) │
00:21:38 verbose #37421 > │ method4(v3, v4) │
00:21:38 verbose #37422 > │ | UH1_0 -> (* Nil *) │
00:21:38 verbose #37423 > │ v1 │
00:21:38 verbose #37424 > │ and method2 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 = │
00:21:38 verbose #37425 > │ let v3 : US0 = method3(v2, v0) │
00:21:38 verbose #37426 > │ match v3 with │
00:21:38 verbose #37427 > │ | US0_0(v4) -> (* Some *) │
00:21:38 verbose #37428 > │ let v5 : bool = v4 < 5 │
00:21:38 verbose #37429 > │ if v5 then │
00:21:38 verbose #37430 > │ let v6 : UH1 = UH1_1(v4, v1) │
00:21:38 verbose #37431 > │ let v7 : int32 = v2 + 1 │
00:21:38 verbose #37432 > │ method2(v0, v6, v7) │
00:21:38 verbose #37433 > │ else │
00:21:38 verbose #37434 > │ let v9 : UH1 = UH1_0 │
00:21:38 verbose #37435 > │ method4(v1, v9) │
00:21:38 verbose #37436 > │ | _ -> │
00:21:38 verbose #37437 > │ let v12 : UH1 = UH1_0 │
00:21:38 verbose #37438 > │ method4(v1, v12) │
00:21:38 verbose #37439 > │ and method5 (v0 : UH1, v1 : int32) : int32 = │
00:21:38 verbose #37440 > │ match v0 with │
00:21:38 verbose #37441 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:38 verbose #37442 > │ let v4 : int32 = v1 + v2 │
00:21:38 verbose #37443 > │ method5(v3, v4) │
00:21:38 verbose #37444 > │ | UH1_0 -> (* Nil *) │
00:21:38 verbose #37445 > │ v1 │
00:21:38 verbose #37446 > │ and method6 (v0 : bool) : bool = │
00:21:38 verbose #37447 > │ v0 │
00:21:38 verbose #37448 > │ and method0 () : unit = │
00:21:38 verbose #37449 > │ let v0 : int32 = 0 │
00:21:38 verbose #37450 > │ let v1 : UH0 = method1(v0) │
00:21:38 verbose #37451 > │ let v2 : UH1 = UH1_0 │
00:21:38 verbose #37452 > │ let v3 : int32 = 0 │
00:21:38 verbose #37453 > │ let v4 : UH1 = method2(v1, v2, v3) │
00:21:38 verbose #37454 > │ let v5 : int32 = 0 │
00:21:38 verbose #37455 > │ let v6 : int32 = method5(v4, v5) │
00:21:38 verbose #37456 > │ let v7 : bool = v6 = 10 │
00:21:38 verbose #37457 > │ let v9 : bool = │
00:21:38 verbose #37458 > │ if v7 then │
00:21:38 verbose #37459 > │ true │
00:21:38 verbose #37460 > │ else │
00:21:38 verbose #37461 > │ method6(v7) │
00:21:38 verbose #37462 > │ let v10 : string = "assert_eq" │
00:21:38 verbose #37463 > │ let v11 : string = $"{v10} / actual: %A{v6} / expected: %A{10}" │
00:21:38 verbose #37464 > │ System.Console.WriteLine v11 │
00:21:38 verbose #37465 > │ let v12 : bool = v9 = false │
00:21:38 verbose #37466 > │ if v12 then │
00:21:38 verbose #37467 > │ failwith<unit> v11 │
00:21:38 verbose #37468 > │ method0() │
00:21:38 verbose #37469 > │ │
00:21:38 verbose #37470 > │ print_and_return / x: 0 │
00:21:38 verbose #37471 > │ print_and_return / x: 1 │
00:21:38 verbose #37472 > │ print_and_return / x: 1 │
00:21:38 verbose #37473 > │ print_and_return / x: 2 │
00:21:38 verbose #37474 > │ print_and_return / x: 1 │
00:21:38 verbose #37475 > │ print_and_return / x: 2 │
00:21:38 verbose #37476 > │ print_and_return / x: 3 │
00:21:38 verbose #37477 > │ print_and_return / x: 1 │
00:21:38 verbose #37478 > │ print_and_return / x: 2 │
00:21:38 verbose #37479 > │ print_and_return / x: 3 │
00:21:38 verbose #37480 > │ print_and_return / x: 4 │
00:21:38 verbose #37481 > │ print_and_return / x: 1 │
00:21:38 verbose #37482 > │ print_and_return / x: 2 │
00:21:38 verbose #37483 > │ print_and_return / x: 3 │
00:21:38 verbose #37484 > │ print_and_return / x: 4 │
00:21:38 verbose #37485 > │ print_and_return / x: 5 │
00:21:38 verbose #37486 > │ assert_eq / actual: 10 / expected: 10 │
00:21:38 verbose #37487 > │ │
00:21:38 verbose #37488 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:38 verbose #37489 >
00:21:38 verbose #37490 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:38 verbose #37491 > //// test
00:21:38 verbose #37492 >
00:21:38 verbose #37493 > stream.new_infinite_stream_ print_and_return
00:21:38 verbose #37494 > |> stream.memoize
00:21:38 verbose #37495 > |> fun list =>
00:21:38 verbose #37496 > inl list = list ()
00:21:38 verbose #37497 > fun n =>
00:21:38 verbose #37498 > list |> stream.try_item n
00:21:38 verbose #37499 > |> take_while_ (fun n (_ : i32) => n < 5i32)
00:21:38 verbose #37500 > |> listm'.sum
00:21:38 verbose #37501 > |> _assert_eq 10
00:21:38 verbose #37502 > 00:21:37 debug #747 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c6738b6334d238e2e5c4c8a8a08a69e55f711fa3e9d8a000843d0bb21761065a/main.spi
00:21:39 verbose #37503 >
00:21:39 verbose #37504 > ╭─[ 772.26ms - stdout ]────────────────────────────────────────────────────────╮
00:21:39 verbose #37505 > │ type UH0 = │
00:21:39 verbose #37506 > │ | UH0_0 of int32 * (unit -> UH0) │
00:21:39 verbose #37507 > │ | UH0_1 │
00:21:39 verbose #37508 > │ and [<Struct>] US0 = │
00:21:39 verbose #37509 > │ | US0_0 of f0_0 : (unit -> UH0) │
00:21:39 verbose #37510 > │ | US0_1 of f1_0 : UH0 │
00:21:39 verbose #37511 > │ and Mut0 = {mutable l0 : US0} │
00:21:39 verbose #37512 > │ and UH1 = │
00:21:39 verbose #37513 > │ | UH1_0 │
00:21:39 verbose #37514 > │ | UH1_1 of int32 * UH1 │
00:21:39 verbose #37515 > │ and [<Struct>] US1 = │
00:21:39 verbose #37516 > │ | US1_0 of f0_0 : int32 │
00:21:39 verbose #37517 > │ | US1_1 │
00:21:39 verbose #37518 > │ let rec closure0 (v0 : int32) () : UH0 = │
00:21:39 verbose #37519 > │ let v1 : int32 = v0 + 1 │
00:21:39 verbose #37520 > │ method1(v1) │
00:21:39 verbose #37521 > │ and method1 (v0 : int32) : UH0 = │
00:21:39 verbose #37522 > │ printfn $"print_and_return / x: {v0}" │
00:21:39 verbose #37523 > │ let v1 : (unit -> UH0) = closure0(v0) │
00:21:39 verbose #37524 > │ UH0_0(v0, v1) │
00:21:39 verbose #37525 > │ and closure1 (v0 : UH0) () : UH0 = │
00:21:39 verbose #37526 > │ v0 │
00:21:39 verbose #37527 > │ and closure2 (v0 : UH0, v1 : Mut0) () : UH0 = │
00:21:39 verbose #37528 > │ let v2 : US0 = v1.l0 │
00:21:39 verbose #37529 > │ match v2 with │
00:21:39 verbose #37530 > │ | US0_1(v3) -> (* Computed *) │
00:21:39 verbose #37531 > │ v3 │
00:21:39 verbose #37532 > │ | US0_0(v4) -> (* NotComputed *) │
00:21:39 verbose #37533 > │ let v5 : UH0 = v4 () │
00:21:39 verbose #37534 > │ let v12 : UH0 = │
00:21:39 verbose #37535 > │ match v5 with │
00:21:39 verbose #37536 > │ | UH0_0(v7, v8) -> (* StreamCons *) │
00:21:39 verbose #37537 > │ let v9 : (unit -> UH0) = method2(v0, v8) │
00:21:39 verbose #37538 > │ UH0_0(v7, v9) │
00:21:39 verbose #37539 > │ | UH0_1 -> (* StreamNil *) │
00:21:39 verbose #37540 > │ UH0_1 │
00:21:39 verbose #37541 > │ let v13 : US0 = US0_1(v12) │
00:21:39 verbose #37542 > │ v1.l0 <- v13 │
00:21:39 verbose #37543 > │ v12 │
00:21:39 verbose #37544 > │ and method2 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) = │
00:21:39 verbose #37545 > │ let v2 : US0 = US0_0(v1) │
00:21:39 verbose #37546 > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:21:39 verbose #37547 > │ closure2(v0, v3) │
00:21:39 verbose #37548 > │ and method4 (v0 : int32, v1 : UH0) : US1 = │
00:21:39 verbose #37549 > │ match v1 with │
00:21:39 verbose #37550 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:21:39 verbose #37551 > │ let v4 : bool = v0 <= 0 │
00:21:39 verbose #37552 > │ if v4 then │
00:21:39 verbose #37553 > │ US1_0(v2) │
00:21:39 verbose #37554 > │ else │
00:21:39 verbose #37555 > │ let v6 : int32 = v0 - 1 │
00:21:39 verbose #37556 > │ let v7 : UH0 = v3 () │
00:21:39 verbose #37557 > │ method4(v6, v7) │
00:21:39 verbose #37558 > │ | UH0_1 -> (* StreamNil *) │
00:21:39 verbose #37559 > │ US1_1 │
00:21:39 verbose #37560 > │ and method5 (v0 : UH1, v1 : UH1) : UH1 = │
00:21:39 verbose #37561 > │ match v0 with │
00:21:39 verbose #37562 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:39 verbose #37563 > │ let v4 : UH1 = UH1_1(v2, v1) │
00:21:39 verbose #37564 > │ method5(v3, v4) │
00:21:39 verbose #37565 > │ | UH1_0 -> (* Nil *) │
00:21:39 verbose #37566 > │ v1 │
00:21:39 verbose #37567 > │ and method3 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 = │
00:21:39 verbose #37568 > │ let v3 : US1 = method4(v2, v0) │
00:21:39 verbose #37569 > │ match v3 with │
00:21:39 verbose #37570 > │ | US1_0(v4) -> (* Some *) │
00:21:39 verbose #37571 > │ let v5 : bool = v4 < 5 │
00:21:39 verbose #37572 > │ if v5 then │
00:21:39 verbose #37573 > │ let v6 : UH1 = UH1_1(v4, v1) │
00:21:39 verbose #37574 > │ let v7 : int32 = v2 + 1 │
00:21:39 verbose #37575 > │ method3(v0, v6, v7) │
00:21:39 verbose #37576 > │ else │
00:21:39 verbose #37577 > │ let v9 : UH1 = UH1_0 │
00:21:39 verbose #37578 > │ method5(v1, v9) │
00:21:39 verbose #37579 > │ | _ -> │
00:21:39 verbose #37580 > │ let v12 : UH1 = UH1_0 │
00:21:39 verbose #37581 > │ method5(v1, v12) │
00:21:39 verbose #37582 > │ and method6 (v0 : UH1, v1 : int32) : int32 = │
00:21:39 verbose #37583 > │ match v0 with │
00:21:39 verbose #37584 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:39 verbose #37585 > │ let v4 : int32 = v1 + v2 │
00:21:39 verbose #37586 > │ method6(v3, v4) │
00:21:39 verbose #37587 > │ | UH1_0 -> (* Nil *) │
00:21:39 verbose #37588 > │ v1 │
00:21:39 verbose #37589 > │ and method7 (v0 : bool) : bool = │
00:21:39 verbose #37590 > │ v0 │
00:21:39 verbose #37591 > │ and method0 () : unit = │
00:21:39 verbose #37592 > │ let v0 : int32 = 0 │
00:21:39 verbose #37593 > │ let v1 : UH0 = method1(v0) │
00:21:39 verbose #37594 > │ let v2 : (unit -> UH0) = closure1(v1) │
00:21:39 verbose #37595 > │ let v3 : (unit -> UH0) = method2(v1, v2) │
00:21:39 verbose #37596 > │ let v4 : UH0 = v3 () │
00:21:39 verbose #37597 > │ let v5 : UH1 = UH1_0 │
00:21:39 verbose #37598 > │ let v6 : int32 = 0 │
00:21:39 verbose #37599 > │ let v7 : UH1 = method3(v4, v5, v6) │
00:21:39 verbose #37600 > │ let v8 : int32 = 0 │
00:21:39 verbose #37601 > │ let v9 : int32 = method6(v7, v8) │
00:21:39 verbose #37602 > │ let v10 : bool = v9 = 10 │
00:21:39 verbose #37603 > │ let v12 : bool = │
00:21:39 verbose #37604 > │ if v10 then │
00:21:39 verbose #37605 > │ true │
00:21:39 verbose #37606 > │ else │
00:21:39 verbose #37607 > │ method7(v10) │
00:21:39 verbose #37608 > │ let v13 : string = "assert_eq" │
00:21:39 verbose #37609 > │ let v14 : string = $"{v13} / actual: %A{v9} / expected: %A{10}" │
00:21:39 verbose #37610 > │ System.Console.WriteLine v14 │
00:21:39 verbose #37611 > │ let v15 : bool = v12 = false │
00:21:39 verbose #37612 > │ if v15 then │
00:21:39 verbose #37613 > │ failwith<unit> v14 │
00:21:39 verbose #37614 > │ method0() │
00:21:39 verbose #37615 > │ │
00:21:39 verbose #37616 > │ print_and_return / x: 0 │
00:21:39 verbose #37617 > │ print_and_return / x: 1 │
00:21:39 verbose #37618 > │ print_and_return / x: 2 │
00:21:39 verbose #37619 > │ print_and_return / x: 3 │
00:21:39 verbose #37620 > │ print_and_return / x: 4 │
00:21:39 verbose #37621 > │ print_and_return / x: 5 │
00:21:39 verbose #37622 > │ assert_eq / actual: 10 / expected: 10 │
00:21:39 verbose #37623 > │ │
00:21:39 verbose #37624 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:39 verbose #37625 >
00:21:39 verbose #37626 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:39 verbose #37627 > //// test
00:21:39 verbose #37628 >
00:21:39 verbose #37629 > stream.new_finite_stream print_and_return 10i32
00:21:39 verbose #37630 > |> stream.memoize
00:21:39 verbose #37631 > |> fun list =>
00:21:39 verbose #37632 > inl list = list ()
00:21:39 verbose #37633 > fun n =>
00:21:39 verbose #37634 > list |> stream.try_item n
00:21:39 verbose #37635 > |> take_while_ (fun n (_ : i32) => n < 5)
00:21:39 verbose #37636 > |> listm'.sum
00:21:39 verbose #37637 > |> _assert_eq 10
00:21:39 verbose #37638 > 00:21:38 debug #748 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1e52592aa2b5a517cf7c8478d06c823981eaed5b7491d2c2c19632a2ded8e829/main.spi
00:21:39 verbose #37639 >
00:21:40 verbose #37640 > ╭─[ 754.57ms - stdout ]────────────────────────────────────────────────────────╮
00:21:40 verbose #37641 > │ type UH0 = │
00:21:40 verbose #37642 > │ | UH0_0 of int32 * (unit -> UH0) │
00:21:40 verbose #37643 > │ | UH0_1 │
00:21:40 verbose #37644 > │ and [<Struct>] US0 = │
00:21:40 verbose #37645 > │ | US0_0 of f0_0 : (unit -> UH0) │
00:21:40 verbose #37646 > │ | US0_1 of f1_0 : UH0 │
00:21:40 verbose #37647 > │ and Mut0 = {mutable l0 : US0} │
00:21:40 verbose #37648 > │ and UH1 = │
00:21:40 verbose #37649 > │ | UH1_0 │
00:21:40 verbose #37650 > │ | UH1_1 of int32 * UH1 │
00:21:40 verbose #37651 > │ and [<Struct>] US1 = │
00:21:40 verbose #37652 > │ | US1_0 of f0_0 : int32 │
00:21:40 verbose #37653 > │ | US1_1 │
00:21:40 verbose #37654 > │ let rec closure10 () () : UH0 = │
00:21:40 verbose #37655 > │ UH0_1 │
00:21:40 verbose #37656 > │ and closure9 () () : UH0 = │
00:21:40 verbose #37657 > │ printfn $"print_and_return / x: {9}" │
00:21:40 verbose #37658 > │ let v0 : (unit -> UH0) = closure10() │
00:21:40 verbose #37659 > │ UH0_0(9, v0) │
00:21:40 verbose #37660 > │ and closure8 () () : UH0 = │
00:21:40 verbose #37661 > │ printfn $"print_and_return / x: {8}" │
00:21:40 verbose #37662 > │ let v0 : (unit -> UH0) = closure9() │
00:21:40 verbose #37663 > │ UH0_0(8, v0) │
00:21:40 verbose #37664 > │ and closure7 () () : UH0 = │
00:21:40 verbose #37665 > │ printfn $"print_and_return / x: {7}" │
00:21:40 verbose #37666 > │ let v0 : (unit -> UH0) = closure8() │
00:21:40 verbose #37667 > │ UH0_0(7, v0) │
00:21:40 verbose #37668 > │ and closure6 () () : UH0 = │
00:21:40 verbose #37669 > │ printfn $"print_and_return / x: {6}" │
00:21:40 verbose #37670 > │ let v0 : (unit -> UH0) = closure7() │
00:21:40 verbose #37671 > │ UH0_0(6, v0) │
00:21:40 verbose #37672 > │ and closure5 () () : UH0 = │
00:21:40 verbose #37673 > │ printfn $"print_and_return / x: {5}" │
00:21:40 verbose #37674 > │ let v0 : (unit -> UH0) = closure6() │
00:21:40 verbose #37675 > │ UH0_0(5, v0) │
00:21:40 verbose #37676 > │ and closure4 () () : UH0 = │
00:21:40 verbose #37677 > │ printfn $"print_and_return / x: {4}" │
00:21:40 verbose #37678 > │ let v0 : (unit -> UH0) = closure5() │
00:21:40 verbose #37679 > │ UH0_0(4, v0) │
00:21:40 verbose #37680 > │ and closure3 () () : UH0 = │
00:21:40 verbose #37681 > │ printfn $"print_and_return / x: {3}" │
00:21:40 verbose #37682 > │ let v0 : (unit -> UH0) = closure4() │
00:21:40 verbose #37683 > │ UH0_0(3, v0) │
00:21:40 verbose #37684 > │ and closure2 () () : UH0 = │
00:21:40 verbose #37685 > │ printfn $"print_and_return / x: {2}" │
00:21:40 verbose #37686 > │ let v0 : (unit -> UH0) = closure3() │
00:21:40 verbose #37687 > │ UH0_0(2, v0) │
00:21:40 verbose #37688 > │ and closure1 () () : UH0 = │
00:21:40 verbose #37689 > │ printfn $"print_and_return / x: {1}" │
00:21:40 verbose #37690 > │ let v0 : (unit -> UH0) = closure2() │
00:21:40 verbose #37691 > │ UH0_0(1, v0) │
00:21:40 verbose #37692 > │ and closure0 () () : UH0 = │
00:21:40 verbose #37693 > │ let v0 : (unit -> UH0) = closure1() │
00:21:40 verbose #37694 > │ UH0_0(0, v0) │
00:21:40 verbose #37695 > │ and closure11 (v0 : Mut0) () : UH0 = │
00:21:40 verbose #37696 > │ let v1 : US0 = v0.l0 │
00:21:40 verbose #37697 > │ match v1 with │
00:21:40 verbose #37698 > │ | US0_1(v2) -> (* Computed *) │
00:21:40 verbose #37699 > │ v2 │
00:21:40 verbose #37700 > │ | US0_0(v3) -> (* NotComputed *) │
00:21:40 verbose #37701 > │ let v4 : UH0 = v3 () │
00:21:40 verbose #37702 > │ let v13 : UH0 = │
00:21:40 verbose #37703 > │ match v4 with │
00:21:40 verbose #37704 > │ | UH0_0(v6, v7) -> (* StreamCons *) │
00:21:40 verbose #37705 > │ let v8 : US0 = US0_0(v7) │
00:21:40 verbose #37706 > │ let v9 : Mut0 = {l0 = v8} : Mut0 │
00:21:40 verbose #37707 > │ let v10 : (unit -> UH0) = closure11(v9) │
00:21:40 verbose #37708 > │ UH0_0(v6, v10) │
00:21:40 verbose #37709 > │ | UH0_1 -> (* StreamNil *) │
00:21:40 verbose #37710 > │ UH0_1 │
00:21:40 verbose #37711 > │ let v14 : US0 = US0_1(v13) │
00:21:40 verbose #37712 > │ v0.l0 <- v14 │
00:21:40 verbose #37713 > │ v13 │
00:21:40 verbose #37714 > │ and method2 (v0 : int32, v1 : UH0) : US1 = │
00:21:40 verbose #37715 > │ match v1 with │
00:21:40 verbose #37716 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:21:40 verbose #37717 > │ let v4 : bool = v0 <= 0 │
00:21:40 verbose #37718 > │ if v4 then │
00:21:40 verbose #37719 > │ US1_0(v2) │
00:21:40 verbose #37720 > │ else │
00:21:40 verbose #37721 > │ let v6 : int32 = v0 - 1 │
00:21:40 verbose #37722 > │ let v7 : UH0 = v3 () │
00:21:40 verbose #37723 > │ method2(v6, v7) │
00:21:40 verbose #37724 > │ | UH0_1 -> (* StreamNil *) │
00:21:40 verbose #37725 > │ US1_1 │
00:21:40 verbose #37726 > │ and method3 (v0 : UH1, v1 : UH1) : UH1 = │
00:21:40 verbose #37727 > │ match v0 with │
00:21:40 verbose #37728 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:40 verbose #37729 > │ let v4 : UH1 = UH1_1(v2, v1) │
00:21:40 verbose #37730 > │ method3(v3, v4) │
00:21:40 verbose #37731 > │ | UH1_0 -> (* Nil *) │
00:21:40 verbose #37732 > │ v1 │
00:21:40 verbose #37733 > │ and method1 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 = │
00:21:40 verbose #37734 > │ let v3 : US1 = method2(v2, v0) │
00:21:40 verbose #37735 > │ match v3 with │
00:21:40 verbose #37736 > │ | US1_0(v4) -> (* Some *) │
00:21:40 verbose #37737 > │ let v5 : bool = v4 < 5 │
00:21:40 verbose #37738 > │ if v5 then │
00:21:40 verbose #37739 > │ let v6 : UH1 = UH1_1(v4, v1) │
00:21:40 verbose #37740 > │ let v7 : int32 = v2 + 1 │
00:21:40 verbose #37741 > │ method1(v0, v6, v7) │
00:21:40 verbose #37742 > │ else │
00:21:40 verbose #37743 > │ let v9 : UH1 = UH1_0 │
00:21:40 verbose #37744 > │ method3(v1, v9) │
00:21:40 verbose #37745 > │ | _ -> │
00:21:40 verbose #37746 > │ let v12 : UH1 = UH1_0 │
00:21:40 verbose #37747 > │ method3(v1, v12) │
00:21:40 verbose #37748 > │ and method4 (v0 : UH1, v1 : int32) : int32 = │
00:21:40 verbose #37749 > │ match v0 with │
00:21:40 verbose #37750 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:40 verbose #37751 > │ let v4 : int32 = v1 + v2 │
00:21:40 verbose #37752 > │ method4(v3, v4) │
00:21:40 verbose #37753 > │ | UH1_0 -> (* Nil *) │
00:21:40 verbose #37754 > │ v1 │
00:21:40 verbose #37755 > │ and method5 (v0 : bool) : bool = │
00:21:40 verbose #37756 > │ v0 │
00:21:40 verbose #37757 > │ and method0 () : unit = │
00:21:40 verbose #37758 > │ printfn $"print_and_return / x: {0}" │
00:21:40 verbose #37759 > │ let v0 : (unit -> UH0) = closure0() │
00:21:40 verbose #37760 > │ let v1 : US0 = US0_0(v0) │
00:21:40 verbose #37761 > │ let v2 : Mut0 = {l0 = v1} : Mut0 │
00:21:40 verbose #37762 > │ let v3 : US0 = v2.l0 │
00:21:40 verbose #37763 > │ let v18 : UH0 = │
00:21:40 verbose #37764 > │ match v3 with │
00:21:40 verbose #37765 > │ | US0_1(v4) -> (* Computed *) │
00:21:40 verbose #37766 > │ v4 │
00:21:40 verbose #37767 > │ | US0_0(v5) -> (* NotComputed *) │
00:21:40 verbose #37768 > │ let v6 : UH0 = v5 () │
00:21:40 verbose #37769 > │ let v15 : UH0 = │
00:21:40 verbose #37770 > │ match v6 with │
00:21:40 verbose #37771 > │ | UH0_0(v8, v9) -> (* StreamCons *) │
00:21:40 verbose #37772 > │ let v10 : US0 = US0_0(v9) │
00:21:40 verbose #37773 > │ let v11 : Mut0 = {l0 = v10} : Mut0 │
00:21:40 verbose #37774 > │ let v12 : (unit -> UH0) = closure11(v11) │
00:21:40 verbose #37775 > │ UH0_0(v8, v12) │
00:21:40 verbose #37776 > │ | UH0_1 -> (* StreamNil *) │
00:21:40 verbose #37777 > │ UH0_1 │
00:21:40 verbose #37778 > │ let v16 : US0 = US0_1(v15) │
00:21:40 verbose #37779 > │ v2.l0 <- v16 │
00:21:40 verbose #37780 > │ v15 │
00:21:40 verbose #37781 > │ let v19 : UH1 = UH1_0 │
00:21:40 verbose #37782 > │ let v20 : int32 = 0 │
00:21:40 verbose #37783 > │ let v21 : UH1 = method1(v18, v19, v20) │
00:21:40 verbose #37784 > │ let v22 : int32 = 0 │
00:21:40 verbose #37785 > │ let v23 : int32 = method4(v21, v22) │
00:21:40 verbose #37786 > │ let v24 : bool = v23 = 10 │
00:21:40 verbose #37787 > │ let v26 : bool = │
00:21:40 verbose #37788 > │ if v24 then │
00:21:40 verbose #37789 > │ true │
00:21:40 verbose #37790 > │ else │
00:21:40 verbose #37791 > │ method5(v24) │
00:21:40 verbose #37792 > │ let v27 : string = "assert_eq" │
00:21:40 verbose #37793 > │ let v28 : string = $"{v27} / actual: %A{v23} / expected: %A{10}" │
00:21:40 verbose #37794 > │ System.Console.WriteLine v28 │
00:21:40 verbose #37795 > │ let v29 : bool = v26 = false │
00:21:40 verbose #37796 > │ if v29 then │
00:21:40 verbose #37797 > │ failwith<unit> v28 │
00:21:40 verbose #37798 > │ method0() │
00:21:40 verbose #37799 > │ │
00:21:40 verbose #37800 > │ print_and_return / x: 0 │
00:21:40 verbose #37801 > │ print_and_return / x: 1 │
00:21:40 verbose #37802 > │ print_and_return / x: 2 │
00:21:40 verbose #37803 > │ print_and_return / x: 3 │
00:21:40 verbose #37804 > │ print_and_return / x: 4 │
00:21:40 verbose #37805 > │ print_and_return / x: 5 │
00:21:40 verbose #37806 > │ assert_eq / actual: 10 / expected: 10 │
00:21:40 verbose #37807 > │ │
00:21:40 verbose #37808 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:40 verbose #37809 >
00:21:40 verbose #37810 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:40 verbose #37811 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:40 verbose #37812 > │ ## memoize │
00:21:40 verbose #37813 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:40 verbose #37814 >
00:21:40 verbose #37815 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:40 verbose #37816 > inl memoize seq =
00:21:40 verbose #37817 > inl state = mut [[]]
00:21:40 verbose #37818 > fun n =>
00:21:40 verbose #37819 > match *state |> listm'.try_find (fun (n', _) => n' = n) with
00:21:40 verbose #37820 > | Some (_, v) => v
00:21:40 verbose #37821 > | None =>
00:21:40 verbose #37822 > inl new_state = seq n
00:21:40 verbose #37823 > state <- (n, new_state) :: *state
00:21:40 verbose #37824 > new_state
00:21:40 verbose #37825 >
00:21:40 verbose #37826 > inl memoize_ seq =
00:21:40 verbose #37827 > inl state = mut [[]]
00:21:40 verbose #37828 > fun n =>
00:21:40 verbose #37829 > match *state |> listm'.try_find_ (fun (n', _) => n' = n) with
00:21:40 verbose #37830 > | Some (_, v) => v
00:21:40 verbose #37831 > | None =>
00:21:40 verbose #37832 > inl new_state = seq n
00:21:40 verbose #37833 > state <- (n, new_state) :: *state
00:21:40 verbose #37834 > new_state
00:21:40 verbose #37835 > 00:21:39 debug #749 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07ea70a6eb0dea15e4a8df1418366bbc1855afb85e232cf52c895cd191dd2ce7/main.spi
00:21:40 verbose #37836 >
00:21:40 verbose #37837 > ╭─[ 664.80ms - stdout ]────────────────────────────────────────────────────────╮
00:21:40 verbose #37838 > │ () │
00:21:40 verbose #37839 > │ │
00:21:40 verbose #37840 > │ │
00:21:40 verbose #37841 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:40 verbose #37842 >
00:21:40 verbose #37843 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:40 verbose #37844 > //// test
00:21:40 verbose #37845 >
00:21:40 verbose #37846 > inl seq =
00:21:40 verbose #37847 > fun n =>
00:21:40 verbose #37848 > n |> print_and_return |> Some
00:21:40 verbose #37849 > |> memoize_
00:21:40 verbose #37850 >
00:21:40 verbose #37851 > seq
00:21:40 verbose #37852 > |> take_while_ (fun n (_ : i32) => n < 5)
00:21:40 verbose #37853 > |> listm'.sum
00:21:40 verbose #37854 > |> _assert_eq 10
00:21:40 verbose #37855 >
00:21:40 verbose #37856 > seq
00:21:40 verbose #37857 > |> take_while_ (fun n _ => n < 5)
00:21:40 verbose #37858 > |> listm'.sum
00:21:40 verbose #37859 > |> _assert_eq 10
00:21:41 verbose #37860 > 00:21:40 debug #750 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1c8cee03434b49d223dd6a8dd92aafb40c74b674a551b07b4108a577e1632ea0/main.spi
00:21:41 verbose #37861 >
00:21:41 verbose #37862 > ╭─[ 747.89ms - stdout ]────────────────────────────────────────────────────────╮
00:21:41 verbose #37863 > │ type [<Struct>] US0 = │
00:21:41 verbose #37864 > │ | US0_0 of f0_0 : int32 │
00:21:41 verbose #37865 > │ | US0_1 │
00:21:41 verbose #37866 > │ and UH0 = │
00:21:41 verbose #37867 > │ | UH0_0 │
00:21:41 verbose #37868 > │ | UH0_1 of int32 * US0 * UH0 │
00:21:41 verbose #37869 > │ and Mut0 = {mutable l0 : UH0} │
00:21:41 verbose #37870 > │ and UH1 = │
00:21:41 verbose #37871 > │ | UH1_0 │
00:21:41 verbose #37872 > │ | UH1_1 of int32 * UH1 │
00:21:41 verbose #37873 > │ and [<Struct>] US1 = │
00:21:41 verbose #37874 > │ | US1_0 of f0_0 : int32 * f0_1 : US0 │
00:21:41 verbose #37875 > │ | US1_1 │
00:21:41 verbose #37876 > │ let rec method2 (v0 : int32, v1 : UH0) : US1 = │
00:21:41 verbose #37877 > │ match v1 with │
00:21:41 verbose #37878 > │ | UH0_1(v3, v4, v5) -> (* Cons *) │
00:21:41 verbose #37879 > │ let v6 : bool = v3 = v0 │
00:21:41 verbose #37880 > │ if v6 then │
00:21:41 verbose #37881 > │ US1_0(v3, v4) │
00:21:41 verbose #37882 > │ else │
00:21:41 verbose #37883 > │ method2(v0, v5) │
00:21:41 verbose #37884 > │ | UH0_0 -> (* Nil *) │
00:21:41 verbose #37885 > │ US1_1 │
00:21:41 verbose #37886 > │ and method3 (v0 : UH1, v1 : UH1) : UH1 = │
00:21:41 verbose #37887 > │ match v0 with │
00:21:41 verbose #37888 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:41 verbose #37889 > │ let v4 : UH1 = UH1_1(v2, v1) │
00:21:41 verbose #37890 > │ method3(v3, v4) │
00:21:41 verbose #37891 > │ | UH1_0 -> (* Nil *) │
00:21:41 verbose #37892 > │ v1 │
00:21:41 verbose #37893 > │ and method1 (v0 : Mut0, v1 : UH1, v2 : int32) : UH1 = │
00:21:41 verbose #37894 > │ let v3 : UH0 = v0.l0 │
00:21:41 verbose #37895 > │ let v4 : US1 = method2(v2, v3) │
00:21:41 verbose #37896 > │ let v12 : US0 = │
00:21:41 verbose #37897 > │ match v4 with │
00:21:41 verbose #37898 > │ | US1_1 -> (* None *) │
00:21:41 verbose #37899 > │ printfn $"print_and_return / x: {v2}" │
00:21:41 verbose #37900 > │ let v7 : UH0 = v0.l0 │
00:21:41 verbose #37901 > │ let v8 : US0 = US0_0(v2) │
00:21:41 verbose #37902 > │ let v9 : UH0 = UH0_1(v2, v8, v7) │
00:21:41 verbose #37903 > │ v0.l0 <- v9 │
00:21:41 verbose #37904 > │ US0_0(v2) │
00:21:41 verbose #37905 > │ | US1_0(v5, v6) -> (* Some *) │
00:21:41 verbose #37906 > │ v6 │
00:21:41 verbose #37907 > │ match v12 with │
00:21:41 verbose #37908 > │ | US0_0(v13) -> (* Some *) │
00:21:41 verbose #37909 > │ let v14 : bool = v13 < 5 │
00:21:41 verbose #37910 > │ if v14 then │
00:21:41 verbose #37911 > │ let v15 : UH1 = UH1_1(v13, v1) │
00:21:41 verbose #37912 > │ let v16 : int32 = v2 + 1 │
00:21:41 verbose #37913 > │ method1(v0, v15, v16) │
00:21:41 verbose #37914 > │ else │
00:21:41 verbose #37915 > │ let v18 : UH1 = UH1_0 │
00:21:41 verbose #37916 > │ method3(v1, v18) │
00:21:41 verbose #37917 > │ | _ -> │
00:21:41 verbose #37918 > │ let v21 : UH1 = UH1_0 │
00:21:41 verbose #37919 > │ method3(v1, v21) │
00:21:41 verbose #37920 > │ and method4 (v0 : UH1, v1 : int32) : int32 = │
00:21:41 verbose #37921 > │ match v0 with │
00:21:41 verbose #37922 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:21:41 verbose #37923 > │ let v4 : int32 = v1 + v2 │
00:21:41 verbose #37924 > │ method4(v3, v4) │
00:21:41 verbose #37925 > │ | UH1_0 -> (* Nil *) │
00:21:41 verbose #37926 > │ v1 │
00:21:41 verbose #37927 > │ and method5 (v0 : bool) : bool = │
00:21:41 verbose #37928 > │ v0 │
00:21:41 verbose #37929 > │ and method6 (v0 : Mut0, v1 : UH1, v2 : int32) : UH1 = │
00:21:41 verbose #37930 > │ let v3 : UH0 = v0.l0 │
00:21:41 verbose #37931 > │ let v4 : US1 = method2(v2, v3) │
00:21:41 verbose #37932 > │ let v12 : US0 = │
00:21:41 verbose #37933 > │ match v4 with │
00:21:41 verbose #37934 > │ | US1_1 -> (* None *) │
00:21:41 verbose #37935 > │ printfn $"print_and_return / x: {v2}" │
00:21:41 verbose #37936 > │ let v7 : UH0 = v0.l0 │
00:21:41 verbose #37937 > │ let v8 : US0 = US0_0(v2) │
00:21:41 verbose #37938 > │ let v9 : UH0 = UH0_1(v2, v8, v7) │
00:21:41 verbose #37939 > │ v0.l0 <- v9 │
00:21:41 verbose #37940 > │ US0_0(v2) │
00:21:41 verbose #37941 > │ | US1_0(v5, v6) -> (* Some *) │
00:21:41 verbose #37942 > │ v6 │
00:21:41 verbose #37943 > │ match v12 with │
00:21:41 verbose #37944 > │ | US0_0(v13) -> (* Some *) │
00:21:41 verbose #37945 > │ let v14 : bool = v13 < 5 │
00:21:41 verbose #37946 > │ if v14 then │
00:21:41 verbose #37947 > │ let v15 : UH1 = UH1_1(v13, v1) │
00:21:41 verbose #37948 > │ let v16 : int32 = v2 + 1 │
00:21:41 verbose #37949 > │ method6(v0, v15, v16) │
00:21:41 verbose #37950 > │ else │
00:21:41 verbose #37951 > │ let v18 : UH1 = UH1_0 │
00:21:41 verbose #37952 > │ method3(v1, v18) │
00:21:41 verbose #37953 > │ | _ -> │
00:21:41 verbose #37954 > │ let v21 : UH1 = UH1_0 │
00:21:41 verbose #37955 > │ method3(v1, v21) │
00:21:41 verbose #37956 > │ and method0 () : unit = │
00:21:41 verbose #37957 > │ let v0 : UH0 = UH0_0 │
00:21:41 verbose #37958 > │ let v1 : Mut0 = {l0 = v0} : Mut0 │
00:21:41 verbose #37959 > │ let v2 : UH1 = UH1_0 │
00:21:41 verbose #37960 > │ let v3 : int32 = 0 │
00:21:41 verbose #37961 > │ let v4 : UH1 = method1(v1, v2, v3) │
00:21:41 verbose #37962 > │ let v5 : int32 = 0 │
00:21:41 verbose #37963 > │ let v6 : int32 = method4(v4, v5) │
00:21:41 verbose #37964 > │ let v7 : bool = v6 = 10 │
00:21:41 verbose #37965 > │ let v9 : bool = │
00:21:41 verbose #37966 > │ if v7 then │
00:21:41 verbose #37967 > │ true │
00:21:41 verbose #37968 > │ else │
00:21:41 verbose #37969 > │ method5(v7) │
00:21:41 verbose #37970 > │ let v10 : string = "assert_eq" │
00:21:41 verbose #37971 > │ let v11 : string = $"{v10} / actual: %A{v6} / expected: %A{10}" │
00:21:41 verbose #37972 > │ System.Console.WriteLine v11 │
00:21:41 verbose #37973 > │ let v12 : bool = v9 = false │
00:21:41 verbose #37974 > │ if v12 then │
00:21:41 verbose #37975 > │ failwith<unit> v11 │
00:21:41 verbose #37976 > │ let v13 : UH1 = UH1_0 │
00:21:41 verbose #37977 > │ let v14 : int32 = 0 │
00:21:41 verbose #37978 > │ let v15 : UH1 = method6(v1, v13, v14) │
00:21:41 verbose #37979 > │ let v16 : int32 = 0 │
00:21:41 verbose #37980 > │ let v17 : int32 = method4(v15, v16) │
00:21:41 verbose #37981 > │ let v18 : bool = v17 = 10 │
00:21:41 verbose #37982 > │ let v20 : bool = │
00:21:41 verbose #37983 > │ if v18 then │
00:21:41 verbose #37984 > │ true │
00:21:41 verbose #37985 > │ else │
00:21:41 verbose #37986 > │ method5(v18) │
00:21:41 verbose #37987 > │ let v21 : string = $"{v10} / actual: %A{v17} / expected: %A{10}" │
00:21:41 verbose #37988 > │ System.Console.WriteLine v21 │
00:21:41 verbose #37989 > │ let v22 : bool = v20 = false │
00:21:41 verbose #37990 > │ if v22 then │
00:21:41 verbose #37991 > │ failwith<unit> v21 │
00:21:41 verbose #37992 > │ method0() │
00:21:41 verbose #37993 > │ │
00:21:41 verbose #37994 > │ print_and_return / x: 0 │
00:21:41 verbose #37995 > │ print_and_return / x: 1 │
00:21:41 verbose #37996 > │ print_and_return / x: 2 │
00:21:41 verbose #37997 > │ print_and_return / x: 3 │
00:21:41 verbose #37998 > │ print_and_return / x: 4 │
00:21:41 verbose #37999 > │ print_and_return / x: 5 │
00:21:41 verbose #38000 > │ assert_eq / actual: 10 / expected: 10 │
00:21:41 verbose #38001 > │ assert_eq / actual: 10 / expected: 10 │
00:21:41 verbose #38002 > │ │
00:21:41 verbose #38003 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:41 verbose #38004 >
00:21:41 verbose #38005 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:41 verbose #38006 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:41 verbose #38007 > │ ## iterate │
00:21:41 verbose #38008 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:41 verbose #38009 >
00:21:41 verbose #38010 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:41 verbose #38011 > inl iterate f x0 num_steps =
00:21:41 verbose #38012 > inl rec loop x n =
00:21:41 verbose #38013 > if n <= 0
00:21:41 verbose #38014 > then x
00:21:41 verbose #38015 > else loop (f x) (n - 1)
00:21:41 verbose #38016 > loop x0 num_steps
00:21:42 verbose #38017 > 00:21:41 debug #751 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e28d3df078bcf68f366a73d71ad207b2f364fa6189972fb18160fa8e44bf521d/main.spi
00:21:42 verbose #38018 >
00:21:42 verbose #38019 > ╭─[ 673.03ms - stdout ]────────────────────────────────────────────────────────╮
00:21:42 verbose #38020 > │ () │
00:21:42 verbose #38021 > │ │
00:21:42 verbose #38022 > │ │
00:21:42 verbose #38023 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:42 verbose #38024 >
00:21:42 verbose #38025 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:42 verbose #38026 > //// test
00:21:42 verbose #38027 >
00:21:42 verbose #38028 > 10i32 |> iterate ((*) 2) 1i32
00:21:42 verbose #38029 > |> _assert_eq 1024
00:21:42 verbose #38030 > 00:21:41 debug #752 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/46fdb1c414dc67466607cf17163a3497369012d70d1e5edfa4404fc6338084d4/main.spi
00:21:42 verbose #38031 >
00:21:42 verbose #38032 > ╭─[ 635.49ms - stdout ]────────────────────────────────────────────────────────╮
00:21:42 verbose #38033 > │ let rec method0 () : unit = │
00:21:42 verbose #38034 > │ let v0 : string = "assert_eq" │
00:21:42 verbose #38035 > │ let v1 : string = $"{v0} / actual: %A{1024} / expected: %A{1024}" │
00:21:42 verbose #38036 > │ System.Console.WriteLine v1 │
00:21:42 verbose #38037 > │ () │
00:21:42 verbose #38038 > │ method0() │
00:21:42 verbose #38039 > │ │
00:21:42 verbose #38040 > │ assert_eq / actual: 1024 / expected: 1024 │
00:21:42 verbose #38041 > │ │
00:21:42 verbose #38042 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:42 verbose #38043 >
00:21:42 verbose #38044 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:42 verbose #38045 > inl iterate_ f x0 num_steps =
00:21:42 verbose #38046 > let rec loop x n =
00:21:42 verbose #38047 > if n <= 0
00:21:42 verbose #38048 > then x
00:21:42 verbose #38049 > else loop (f x) (n - 1)
00:21:42 verbose #38050 > loop x0 num_steps
00:21:43 verbose #38051 > 00:21:42 debug #753 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bf28123109e1c3d26fd5787cf741173d09b6a6a30d878fbebeb7caaf80f7cdb8/main.spi
00:21:43 verbose #38052 >
00:21:43 verbose #38053 > ╭─[ 680.41ms - stdout ]────────────────────────────────────────────────────────╮
00:21:43 verbose #38054 > │ () │
00:21:43 verbose #38055 > │ │
00:21:43 verbose #38056 > │ │
00:21:43 verbose #38057 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:43 verbose #38058 >
00:21:43 verbose #38059 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:43 verbose #38060 > //// test
00:21:43 verbose #38061 >
00:21:43 verbose #38062 > 10i32 |> iterate_ ((*) 2) 1i32
00:21:43 verbose #38063 > |> _assert_eq 1024
00:21:44 verbose #38064 > 00:21:43 debug #754 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f5cc0fd1dea81ea8aaea66b7518ec410a608210a0c56058dbd4793b1ffcd2a47/main.spi
00:21:44 verbose #38065 >
00:21:44 verbose #38066 > ╭─[ 701.10ms - stdout ]────────────────────────────────────────────────────────╮
00:21:44 verbose #38067 > │ let rec method1 (v0 : int32, v1 : int32) : int32 = │
00:21:44 verbose #38068 > │ let v2 : bool = v1 <= 0 │
00:21:44 verbose #38069 > │ if v2 then │
00:21:44 verbose #38070 > │ v0 │
00:21:44 verbose #38071 > │ else │
00:21:44 verbose #38072 > │ let v3 : int32 = 2 * v0 │
00:21:44 verbose #38073 > │ let v4 : int32 = v1 - 1 │
00:21:44 verbose #38074 > │ method1(v3, v4) │
00:21:44 verbose #38075 > │ and method2 (v0 : bool) : bool = │
00:21:44 verbose #38076 > │ v0 │
00:21:44 verbose #38077 > │ and method0 () : unit = │
00:21:44 verbose #38078 > │ let v0 : int32 = 1 │
00:21:44 verbose #38079 > │ let v1 : int32 = 10 │
00:21:44 verbose #38080 > │ let v2 : int32 = method1(v0, v1) │
00:21:44 verbose #38081 > │ let v3 : bool = v2 = 1024 │
00:21:44 verbose #38082 > │ let v5 : bool = │
00:21:44 verbose #38083 > │ if v3 then │
00:21:44 verbose #38084 > │ true │
00:21:44 verbose #38085 > │ else │
00:21:44 verbose #38086 > │ method2(v3) │
00:21:44 verbose #38087 > │ let v6 : string = "assert_eq" │
00:21:44 verbose #38088 > │ let v7 : string = $"{v6} / actual: %A{v2} / expected: %A{1024}" │
00:21:44 verbose #38089 > │ System.Console.WriteLine v7 │
00:21:44 verbose #38090 > │ let v8 : bool = v5 = false │
00:21:44 verbose #38091 > │ if v8 then │
00:21:44 verbose #38092 > │ failwith<unit> v7 │
00:21:44 verbose #38093 > │ method0() │
00:21:44 verbose #38094 > │ │
00:21:44 verbose #38095 > │ assert_eq / actual: 1024 / expected: 1024 │
00:21:44 verbose #38096 > │ │
00:21:44 verbose #38097 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:44 verbose #38098 >
00:21:44 verbose #38099 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:44 verbose #38100 > inl iterate' f x0 num_steps =
00:21:44 verbose #38101 > listm.init num_steps id
00:21:44 verbose #38102 > |> listm.fold (fun x _ => f x) x0
00:21:44 verbose #38103 > 00:21:43 debug #755 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/118b322e089398aa79a8a924af1068628db4520a4a6ac107bf1cb6d2a8ea248e/main.spi
00:21:44 verbose #38104 >
00:21:44 verbose #38105 > ╭─[ 672.38ms - stdout ]────────────────────────────────────────────────────────╮
00:21:44 verbose #38106 > │ () │
00:21:44 verbose #38107 > │ │
00:21:44 verbose #38108 > │ │
00:21:44 verbose #38109 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:44 verbose #38110 >
00:21:44 verbose #38111 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:44 verbose #38112 > //// test
00:21:44 verbose #38113 >
00:21:44 verbose #38114 > 10i32 |> iterate' ((*) 2) 1i32
00:21:44 verbose #38115 > |> _assert_eq 1024
00:21:45 verbose #38116 > 00:21:44 debug #756 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2036b84df059df55c31f76e61808fe7d56668a75ea720f481310055db86e2e5d/main.spi
00:21:45 verbose #38117 >
00:21:45 verbose #38118 > ╭─[ 692.03ms - stdout ]────────────────────────────────────────────────────────╮
00:21:45 verbose #38119 > │ let rec method0 () : unit = │
00:21:45 verbose #38120 > │ let v0 : string = "assert_eq" │
00:21:45 verbose #38121 > │ let v1 : string = $"{v0} / actual: %A{1024} / expected: %A{1024}" │
00:21:45 verbose #38122 > │ System.Console.WriteLine v1 │
00:21:45 verbose #38123 > │ () │
00:21:45 verbose #38124 > │ method0() │
00:21:45 verbose #38125 > │ │
00:21:45 verbose #38126 > │ assert_eq / actual: 1024 / expected: 1024 │
00:21:45 verbose #38127 > │ │
00:21:45 verbose #38128 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:45 verbose #38129 >
00:21:45 verbose #38130 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:45 verbose #38131 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:45 verbose #38132 > │ ## find_last │
00:21:45 verbose #38133 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:45 verbose #38134 >
00:21:45 verbose #38135 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:45 verbose #38136 > inl find_last forall item result. fold_fn fn target : option result =
00:21:45 verbose #38137 > fold_fn (fun (item : item) (result : option result) =>
00:21:45 verbose #38138 > match result with
00:21:45 verbose #38139 > | None => fn item
00:21:45 verbose #38140 > | result => result
00:21:45 verbose #38141 > ) target (None : option result)
00:21:45 verbose #38142 >
00:21:45 verbose #38143 > inl array_find_last forall item result. (fn : item -> option result) (target : a
00:21:45 verbose #38144 > i32 item) : option result =
00:21:45 verbose #38145 > find_last am.foldBack fn target
00:21:45 verbose #38146 >
00:21:45 verbose #38147 > inl list_find_last forall item result. (fn : item -> option result) (target :
00:21:45 verbose #38148 > list item) : option result =
00:21:45 verbose #38149 > find_last listm.foldBack fn target
00:21:46 verbose #38150 > 00:21:45 debug #757 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e3eb50c4d060192f5434e47397fe47d4eaac493e9e09a3896aa72aa3355af213/main.spi
00:21:46 verbose #38151 >
00:21:46 verbose #38152 > ╭─[ 642.99ms - stdout ]────────────────────────────────────────────────────────╮
00:21:46 verbose #38153 > │ () │
00:21:46 verbose #38154 > │ │
00:21:46 verbose #38155 > │ │
00:21:46 verbose #38156 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:48 verbose #38157 > [NbConvertApp] Converting notebook seq.dib.ipynb to html
00:21:48 verbose #38158 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:21:48 verbose #38159 > validate(nb)
00:21:50 verbose #38160 > [NbConvertApp] Writing 420694 bytes to seq.dib.html
00:21:51 debug #38161 execute_with_options_async / exit_code: 0 / output.Length: 146075
00:21:51 debug #21 main / executeCommand / exitCode: 0
00:21:51 debug #38162 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 threading.dib -Retries 3"", [||],
None, None, None)
00:21:51 verbose #38163 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: threading.dib / _args: [
00:21:51 verbose #38164 > "-Retries",
00:21:51 verbose #38165 > 3
00:21:51 verbose #38166 > ]
00:21:54 verbose #38167 >
00:21:54 verbose #38168 > ── markdown ────────────────────────────────────────────────────────────────────
00:21:54 verbose #38169 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:21:54 verbose #38170 > │ # threading │
00:21:54 verbose #38171 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:54 verbose #38172 >
00:21:54 verbose #38173 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:54 verbose #38174 > open rust_operators
00:21:54 verbose #38175 >
00:21:54 verbose #38176 > ── spiral - import ─────────────────────────────────────────────────────────────
00:21:54 verbose #38177 > #r
00:21:54 verbose #38178 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:21:54 verbose #38179 > otNet.Interactive.Spiral.dll"
00:21:54 verbose #38180 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:21:54 verbose #38181 > #r
00:21:54 verbose #38182 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:21:54 verbose #38183 > otNet.Interactive.dll"
00:21:54 verbose #38184 > open type Microsoft.DotNet.Interactive.Kernel
00:21:59 verbose #38185 > 00:21:58 debug #758 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/509422cf3bb8a8cfc4cbb3c916e280922525b9b9428a427906e968efadb5b7b1/main.spi
00:21:59 verbose #38186 >
00:21:59 verbose #38187 > ╭─[ 5.16s - stdout ]───────────────────────────────────────────────────────────╮
00:21:59 verbose #38188 > │ () │
00:21:59 verbose #38189 > │ │
00:21:59 verbose #38190 > │ │
00:21:59 verbose #38191 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:21:59 verbose #38192 >
00:21:59 verbose #38193 > ── spiral ──────────────────────────────────────────────────────────────────────
00:21:59 verbose #38194 > //// test
00:21:59 verbose #38195 >
00:21:59 verbose #38196 > open testing
00:22:00 verbose #38197 > 00:21:59 debug #759 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d67524a3bcd7038c5c43eb4daee40517b284f6b43c6c9788496346ad0e56646c/main.spi
00:22:00 verbose #38198 >
00:22:00 verbose #38199 > ╭─[ 660.17ms - stdout ]────────────────────────────────────────────────────────╮
00:22:00 verbose #38200 > │ () │
00:22:00 verbose #38201 > │ │
00:22:00 verbose #38202 > │ │
00:22:00 verbose #38203 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:00 verbose #38204 >
00:22:00 verbose #38205 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:00 verbose #38206 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:00 verbose #38207 > │ ## types │
00:22:00 verbose #38208 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:00 verbose #38209 >
00:22:00 verbose #38210 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:00 verbose #38211 > inl types () =
00:22:00 verbose #38212 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:22:00 verbose #38213 > Fable.Core.Emit(\"std::thread::JoinHandle<$0>\")>]]\n#endif\ntype
00:22:00 verbose #38214 > std_thread_JoinHandle<'T> = class end"
00:22:00 verbose #38215 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:22:00 verbose #38216 > Fable.Core.Emit(\"std::sync::Arc<$0>\")>]]\n#endif\ntype std_sync_Arc<'T> =
00:22:00 verbose #38217 > class end"
00:22:00 verbose #38218 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:22:00 verbose #38219 > Fable.Core.Emit(\"std::sync::Mutex<$0>\")>]]\n#endif\ntype std_sync_Mutex<'T> =
00:22:00 verbose #38220 > class end"
00:22:00 verbose #38221 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:22:00 verbose #38222 > Fable.Core.Emit(\"std::sync::MutexGuard<$0>\")>]]\n#endif\ntype
00:22:00 verbose #38223 > std_sync_MutexGuard<'T> = class end"
00:22:00 verbose #38224 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:22:00 verbose #38225 > Fable.Core.Emit(\"std::sync::PoisonError<$0>\")>]]\n#endif\ntype
00:22:00 verbose #38226 > std_sync_PoisonError<'T> = class end"
00:22:00 verbose #38227 > 00:21:59 debug #760 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5823985938afecc299376f75dae9c9b22a8b47ce263bd9d114fff07bec83ffd5/main.spi
00:22:00 verbose #38228 >
00:22:00 verbose #38229 > ╭─[ 625.12ms - stdout ]────────────────────────────────────────────────────────╮
00:22:00 verbose #38230 > │ () │
00:22:00 verbose #38231 > │ │
00:22:00 verbose #38232 > │ │
00:22:00 verbose #38233 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:00 verbose #38234 >
00:22:00 verbose #38235 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:00 verbose #38236 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:00 verbose #38237 > │ ## join_handle │
00:22:00 verbose #38238 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:00 verbose #38239 >
00:22:00 verbose #38240 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:00 verbose #38241 > nominal join_handle t = $'std_thread_JoinHandle<`t>'
00:22:01 verbose #38242 > 00:22:00 debug #761 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/944de6085495a5e491739c33760f9b11581ad89203a4f09bbbcdb9359a3f2253/main.spi
00:22:01 verbose #38243 >
00:22:01 verbose #38244 > ╭─[ 651.61ms - stdout ]────────────────────────────────────────────────────────╮
00:22:01 verbose #38245 > │ () │
00:22:01 verbose #38246 > │ │
00:22:01 verbose #38247 > │ │
00:22:01 verbose #38248 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:01 verbose #38249 >
00:22:01 verbose #38250 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:01 verbose #38251 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:01 verbose #38252 > │ ## cancellation_token │
00:22:01 verbose #38253 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:01 verbose #38254 >
00:22:01 verbose #38255 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:01 verbose #38256 > nominal cancellation_token = $'System.Threading.CancellationToken'
00:22:02 verbose #38257 > 00:22:01 debug #762 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2a6cd6358fcb2fb0428c02af5bce3f3ed3a07cd68df22b3a9fa26bb366b284dd/main.spi
00:22:02 verbose #38258 >
00:22:02 verbose #38259 > ╭─[ 646.82ms - stdout ]────────────────────────────────────────────────────────╮
00:22:02 verbose #38260 > │ () │
00:22:02 verbose #38261 > │ │
00:22:02 verbose #38262 > │ │
00:22:02 verbose #38263 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:02 verbose #38264 >
00:22:02 verbose #38265 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:02 verbose #38266 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:02 verbose #38267 > │ ## cancellation_token_source │
00:22:02 verbose #38268 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:02 verbose #38269 >
00:22:02 verbose #38270 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:02 verbose #38271 > nominal cancellation_token_source = $'System.Threading.CancellationTokenSource'
00:22:02 verbose #38272 > 00:22:01 debug #763 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b32d0578b06656a5e831e6d01b5e77f23a08c7f67c25b08f3ed9ce6c7ac42688/main.spi
00:22:02 verbose #38273 >
00:22:02 verbose #38274 > ╭─[ 621.73ms - stdout ]────────────────────────────────────────────────────────╮
00:22:02 verbose #38275 > │ () │
00:22:02 verbose #38276 > │ │
00:22:02 verbose #38277 > │ │
00:22:02 verbose #38278 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:02 verbose #38279 >
00:22:02 verbose #38280 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:02 verbose #38281 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:02 verbose #38282 > │ ## cancellation_token_registration │
00:22:02 verbose #38283 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:02 verbose #38284 >
00:22:02 verbose #38285 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:02 verbose #38286 > nominal cancellation_token_registration =
00:22:02 verbose #38287 > $'System.Threading.CancellationTokenRegistration'
00:22:03 verbose #38288 > 00:22:02 debug #764 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e4e8adf5056646bfd083e41f43634346c2e5ec5b887d64b3f0b2e84bf7561ee5/main.spi
00:22:03 verbose #38289 >
00:22:03 verbose #38290 > ╭─[ 631.28ms - stdout ]────────────────────────────────────────────────────────╮
00:22:03 verbose #38291 > │ () │
00:22:03 verbose #38292 > │ │
00:22:03 verbose #38293 > │ │
00:22:03 verbose #38294 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:03 verbose #38295 >
00:22:03 verbose #38296 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:03 verbose #38297 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:03 verbose #38298 > │ ## cancellation_source_token │
00:22:03 verbose #38299 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:03 verbose #38300 >
00:22:03 verbose #38301 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:03 verbose #38302 > inl cancellation_source_token (x : cancellation_token_source) :
00:22:03 verbose #38303 > cancellation_token =
00:22:03 verbose #38304 > $'!x.Token'
00:22:03 verbose #38305 > 00:22:02 debug #765 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3e1dd83887f006e6242649bc1fa6fb6fba46d5e0a810b9eb353e632a7114b4d4/main.spi
00:22:04 verbose #38306 >
00:22:04 verbose #38307 > ╭─[ 624.00ms - stdout ]────────────────────────────────────────────────────────╮
00:22:04 verbose #38308 > │ () │
00:22:04 verbose #38309 > │ │
00:22:04 verbose #38310 > │ │
00:22:04 verbose #38311 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:04 verbose #38312 >
00:22:04 verbose #38313 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:04 verbose #38314 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:04 verbose #38315 > │ ## cancellation_source_cancel │
00:22:04 verbose #38316 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:04 verbose #38317 >
00:22:04 verbose #38318 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:04 verbose #38319 > inl cancellation_source_cancel (x : cancellation_token_source) : () =
00:22:04 verbose #38320 > run_target function
00:22:04 verbose #38321 > | Fsharp (Native) => fun () =>
00:22:04 verbose #38322 > $'!x.Cancel' ()
00:22:04 verbose #38323 > | _ => fun () => null ()
00:22:04 verbose #38324 > 00:22:03 debug #766 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cee006ce19c990af14b5cbff75e634301ac12ff1f68a3e7cdd0d868e663a94b8/main.spi
00:22:04 verbose #38325 >
00:22:04 verbose #38326 > ╭─[ 615.54ms - stdout ]────────────────────────────────────────────────────────╮
00:22:04 verbose #38327 > │ () │
00:22:04 verbose #38328 > │ │
00:22:04 verbose #38329 > │ │
00:22:04 verbose #38330 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:04 verbose #38331 >
00:22:04 verbose #38332 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:04 verbose #38333 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:04 verbose #38334 > │ ## create_linked_token_source │
00:22:04 verbose #38335 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:04 verbose #38336 >
00:22:04 verbose #38337 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:04 verbose #38338 > inl create_linked_token_source (x : array_base cancellation_token) :
00:22:04 verbose #38339 > cancellation_token_source =
00:22:04 verbose #38340 > x |> $'System.Threading.CancellationTokenSource.CreateLinkedTokenSource'
00:22:05 verbose #38341 > 00:22:04 debug #767 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4a2726e0a906c0ec4cfdcfaf486139a232d86e3cd193a2858b692af4a64fff48/main.spi
00:22:05 verbose #38342 >
00:22:05 verbose #38343 > ╭─[ 626.70ms - stdout ]────────────────────────────────────────────────────────╮
00:22:05 verbose #38344 > │ () │
00:22:05 verbose #38345 > │ │
00:22:05 verbose #38346 > │ │
00:22:05 verbose #38347 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:05 verbose #38348 >
00:22:05 verbose #38349 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:05 verbose #38350 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:05 verbose #38351 > │ ## sleep │
00:22:05 verbose #38352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:05 verbose #38353 >
00:22:05 verbose #38354 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:05 verbose #38355 > inl sleep (duration : date_time.duration) : () =
00:22:05 verbose #38356 > inl duration = join duration
00:22:05 verbose #38357 > !\($'"std::thread::sleep(!duration)"')
00:22:05 verbose #38358 > 00:22:04 debug #768 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4fe2f2bc195013dcca43bd6362ab8c6e9c0130b0025491136ac99cf40b620f5b/main.spi
00:22:05 verbose #38359 >
00:22:05 verbose #38360 > ╭─[ 607.82ms - stdout ]────────────────────────────────────────────────────────╮
00:22:05 verbose #38361 > │ () │
00:22:05 verbose #38362 > │ │
00:22:05 verbose #38363 > │ │
00:22:05 verbose #38364 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:05 verbose #38365 >
00:22:05 verbose #38366 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:05 verbose #38367 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:05 verbose #38368 > │ ## concurrent_stack │
00:22:05 verbose #38369 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:05 verbose #38370 >
00:22:05 verbose #38371 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:05 verbose #38372 > nominal concurrent_stack t =
00:22:05 verbose #38373 > $'System.Collections.Concurrent.ConcurrentStack<`t>'
00:22:06 verbose #38374 > 00:22:05 debug #769 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a17ae931efd1852c2250cb459af2e1c11bc6b8f84563cbb1bf585c57b221f30c/main.spi
00:22:06 verbose #38375 >
00:22:06 verbose #38376 > ╭─[ 637.10ms - stdout ]────────────────────────────────────────────────────────╮
00:22:06 verbose #38377 > │ () │
00:22:06 verbose #38378 > │ │
00:22:06 verbose #38379 > │ │
00:22:06 verbose #38380 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:06 verbose #38381 >
00:22:06 verbose #38382 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:06 verbose #38383 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:06 verbose #38384 > │ ## concurrent_stack_push │
00:22:06 verbose #38385 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:06 verbose #38386 >
00:22:06 verbose #38387 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:06 verbose #38388 > inl concurrent_stack_push forall t. (item : t) (stack : concurrent_stack t) : ()
00:22:06 verbose #38389 > =
00:22:06 verbose #38390 > $'!stack.Push' item
00:22:07 verbose #38391 > 00:22:06 debug #770 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/15b0605a21b286154aa872eb42f877abf99a3464502c3322510905e1834e74d7/main.spi
00:22:07 verbose #38392 >
00:22:07 verbose #38393 > ╭─[ 623.70ms - stdout ]────────────────────────────────────────────────────────╮
00:22:07 verbose #38394 > │ () │
00:22:07 verbose #38395 > │ │
00:22:07 verbose #38396 > │ │
00:22:07 verbose #38397 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:07 verbose #38398 >
00:22:07 verbose #38399 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:07 verbose #38400 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:07 verbose #38401 > │ ## token_none │
00:22:07 verbose #38402 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:07 verbose #38403 >
00:22:07 verbose #38404 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:07 verbose #38405 > inl token_none () : cancellation_token =
00:22:07 verbose #38406 > $'`cancellation_token.None'
00:22:07 verbose #38407 > 00:22:06 debug #771 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e89ca6a4676172cdfd273eae9a92c1d3965de006418212497858b515ff5aad1e/main.spi
00:22:07 verbose #38408 >
00:22:07 verbose #38409 > ╭─[ 648.52ms - stdout ]────────────────────────────────────────────────────────╮
00:22:07 verbose #38410 > │ () │
00:22:07 verbose #38411 > │ │
00:22:07 verbose #38412 > │ │
00:22:07 verbose #38413 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:07 verbose #38414 >
00:22:07 verbose #38415 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:07 verbose #38416 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:07 verbose #38417 > │ ## new_concurrent_stack │
00:22:07 verbose #38418 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:07 verbose #38419 >
00:22:07 verbose #38420 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:07 verbose #38421 > inl new_concurrent_stack forall t. () : concurrent_stack t =
00:22:07 verbose #38422 > $'System.Collections.Concurrent.ConcurrentStack<`t>' ()
00:22:08 verbose #38423 > 00:22:07 debug #772 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5a4821412e367df4cb09120468a67e6a63f22d8351ad447204bb00a172648f9c/main.spi
00:22:08 verbose #38424 >
00:22:08 verbose #38425 > ╭─[ 651.88ms - stdout ]────────────────────────────────────────────────────────╮
00:22:08 verbose #38426 > │ () │
00:22:08 verbose #38427 > │ │
00:22:08 verbose #38428 > │ │
00:22:08 verbose #38429 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:08 verbose #38430 >
00:22:08 verbose #38431 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:08 verbose #38432 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:08 verbose #38433 > │ ## token_register │
00:22:08 verbose #38434 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:08 verbose #38435 >
00:22:08 verbose #38436 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:08 verbose #38437 > inl token_register (fn : () -> ()) (ct : cancellation_token) :
00:22:08 verbose #38438 > cancellation_token_registration =
00:22:08 verbose #38439 > fn |> $'!ct.Register'
00:22:09 verbose #38440 > 00:22:08 debug #773 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/37b7ffc6e1ea378bbcac1ff1f4128a9fc34628bb8c58da5ea8345a387b09e61a/main.spi
00:22:09 verbose #38441 >
00:22:09 verbose #38442 > ╭─[ 662.28ms - stdout ]────────────────────────────────────────────────────────╮
00:22:09 verbose #38443 > │ () │
00:22:09 verbose #38444 > │ │
00:22:09 verbose #38445 > │ │
00:22:09 verbose #38446 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:09 verbose #38447 >
00:22:09 verbose #38448 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:09 verbose #38449 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:09 verbose #38450 > │ ## new_cancellation_token_source │
00:22:09 verbose #38451 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:09 verbose #38452 >
00:22:09 verbose #38453 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:09 verbose #38454 > inl new_cancellation_token_source () : cancellation_token_source =
00:22:09 verbose #38455 > $'new `cancellation_token_source ()'
00:22:09 verbose #38456 > 00:22:08 debug #774 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/525ab13b6d3c53918a5174959eb6569884ac5fb35f814e546885816f94442d06/main.spi
00:22:09 verbose #38457 >
00:22:09 verbose #38458 > ╭─[ 682.26ms - stdout ]────────────────────────────────────────────────────────╮
00:22:09 verbose #38459 > │ () │
00:22:09 verbose #38460 > │ │
00:22:09 verbose #38461 > │ │
00:22:09 verbose #38462 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:09 verbose #38463 >
00:22:09 verbose #38464 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:09 verbose #38465 > inl token_cancellation_requested (ct : cancellation_token) : bool =
00:22:09 verbose #38466 > $'!ct.IsCancellationRequested'
00:22:10 verbose #38467 > 00:22:09 debug #775 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f4156ba71c65b236f3814a812f0ae3f92be8ec1e853d86ba729d63e06c96ee1e/main.spi
00:22:10 verbose #38468 >
00:22:10 verbose #38469 > ╭─[ 634.97ms - stdout ]────────────────────────────────────────────────────────╮
00:22:10 verbose #38470 > │ () │
00:22:10 verbose #38471 > │ │
00:22:10 verbose #38472 > │ │
00:22:10 verbose #38473 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:10 verbose #38474 >
00:22:10 verbose #38475 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:10 verbose #38476 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:10 verbose #38477 > │ ## new_disposable_token │
00:22:10 verbose #38478 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:10 verbose #38479 >
00:22:10 verbose #38480 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:10 verbose #38481 > inl new_disposable_token (merge_token : optionm'.option' cancellation_token) =
00:22:10 verbose #38482 > run_target function
00:22:10 verbose #38483 > | Fsharp (Native) => fun () =>
00:22:10 verbose #38484 > inl cts = new_cancellation_token_source ()
00:22:10 verbose #38485 > inl cts =
00:22:10 verbose #38486 > match merge_token |> optionm'.unbox with
00:22:10 verbose #38487 > | None => cts
00:22:10 verbose #38488 > | Some merge_token =>
00:22:10 verbose #38489 > create_linked_token_source ;[[ cts |>
00:22:10 verbose #38490 > cancellation_source_token; merge_token ]]
00:22:10 verbose #38491 > inl disposable : _ () = new_disposable fun () =>
00:22:10 verbose #38492 > cts |> cancellation_source_cancel
00:22:10 verbose #38493 > cts |> cancellation_source_token, disposable
00:22:10 verbose #38494 > | _ => fun () => null ()
00:22:10 verbose #38495 > 00:22:09 debug #776 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2e4a5fdf3f71545adfafc7f5e8d345c7c9bbec0ad40526535625847eae29e398/main.spi
00:22:11 verbose #38496 >
00:22:11 verbose #38497 > ╭─[ 633.32ms - stdout ]────────────────────────────────────────────────────────╮
00:22:11 verbose #38498 > │ () │
00:22:11 verbose #38499 > │ │
00:22:11 verbose #38500 > │ │
00:22:11 verbose #38501 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:11 verbose #38502 >
00:22:11 verbose #38503 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:11 verbose #38504 > //// test
00:22:11 verbose #38505 >
00:22:11 verbose #38506 > inl run fn =
00:22:11 verbose #38507 > inl token, disposable = new_disposable_token (None |> optionm'.box)
00:22:11 verbose #38508 > disposable |> use |> ignore
00:22:11 verbose #38509 > fn token
00:22:11 verbose #38510 > fun () =>
00:22:11 verbose #38511 > fn token
00:22:11 verbose #38512 > |> async.new_async
00:22:11 verbose #38513 > |> async.start
00:22:11 verbose #38514 >
00:22:11 verbose #38515 > fun () =>
00:22:11 verbose #38516 > inl counter = mut 0i32
00:22:11 verbose #38517 >
00:22:11 verbose #38518 > inl fn (token : cancellation_token) =
00:22:11 verbose #38519 > counter <- *counter + (if token |> token_cancellation_requested then 10
00:22:11 verbose #38520 > else 1)
00:22:11 verbose #38521 >
00:22:11 verbose #38522 > join run fn
00:22:11 verbose #38523 > async.sleep 10 |> async.do
00:22:11 verbose #38524 > return *counter
00:22:11 verbose #38525 > |> async.new_async_unit
00:22:11 verbose #38526 > |> async.run_synchronously
00:22:11 verbose #38527 > |> _assert_eq 11i32
00:22:11 verbose #38528 > 00:22:10 debug #777 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/426de21d4047ed19a4d77f7ee13abac38bdd5d9391bab1a37c8c1f196132fcc5/main.spi
00:22:13 verbose #38529 >
00:22:13 verbose #38530 > ╭─[ 2.20s - stdout ]───────────────────────────────────────────────────────────╮
00:22:13 verbose #38531 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:22:13 verbose #38532 > │ member _.Dispose () = f () │
00:22:13 verbose #38533 > │ type Mut0 = {mutable l0 : int32} │
00:22:13 verbose #38534 > │ and [<Struct>] US0 = │
00:22:13 verbose #38535 > │ | US0_0 of f0_0 : System.Threading.CancellationToken │
00:22:13 verbose #38536 > │ | US0_1 │
00:22:13 verbose #38537 > │ let rec closure0 () (v0 : System.Threading.CancellationToken) : US0 = │
00:22:13 verbose #38538 > │ US0_0(v0) │
00:22:13 verbose #38539 > │ and method2 () : (System.Threading.CancellationToken -> US0) = │
00:22:13 verbose #38540 > │ closure0() │
00:22:13 verbose #38541 > │ and closure1 (v0 : System.Threading.CancellationTokenSource) () : unit = │
00:22:13 verbose #38542 > │ let v1 : unit option = None │
00:22:13 verbose #38543 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:22:13 verbose #38544 > │ │
00:22:13 verbose #38545 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38546 > │ │
00:22:13 verbose #38547 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38548 > │ null |> unbox<unit> │
00:22:13 verbose #38549 > │ () │
00:22:13 verbose #38550 > │ #endif │
00:22:13 verbose #38551 > │ │
00:22:13 verbose #38552 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38553 > │ null |> unbox<unit> │
00:22:13 verbose #38554 > │ () │
00:22:13 verbose #38555 > │ #endif │
00:22:13 verbose #38556 > │ │
00:22:13 verbose #38557 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38558 > │ null |> unbox<unit> │
00:22:13 verbose #38559 > │ () │
00:22:13 verbose #38560 > │ #endif │
00:22:13 verbose #38561 > │ │
00:22:13 verbose #38562 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38563 > │ null |> unbox<unit> │
00:22:13 verbose #38564 > │ () │
00:22:13 verbose #38565 > │ #endif │
00:22:13 verbose #38566 > │ │
00:22:13 verbose #38567 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38568 > │ null |> unbox<unit> │
00:22:13 verbose #38569 > │ () │
00:22:13 verbose #38570 > │ #endif │
00:22:13 verbose #38571 > │ │
00:22:13 verbose #38572 > │ #else │
00:22:13 verbose #38573 > │ let v3 : (unit -> unit) = v0.Cancel │
00:22:13 verbose #38574 > │ v3 () │
00:22:13 verbose #38575 > │ () │
00:22:13 verbose #38576 > │ #endif │
00:22:13 verbose #38577 > │ |> fun x -> _v1 <- Some x │
00:22:13 verbose #38578 > │ _v1.Value │
00:22:13 verbose #38579 > │ () │
00:22:13 verbose #38580 > │ and method3 (v0 : System.Threading.CancellationTokenSource) : (unit -> unit) │
00:22:13 verbose #38581 > │ = │
00:22:13 verbose #38582 > │ closure1(v0) │
00:22:13 verbose #38583 > │ and method1 (v0 : Mut0) : unit = │
00:22:13 verbose #38584 > │ let v1 : System.Threading.CancellationToken option = None │
00:22:13 verbose #38585 > │ let v2 : struct (System.Threading.CancellationToken * │
00:22:13 verbose #38586 > │ System.IDisposable) option = None │
00:22:13 verbose #38587 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:22:13 verbose #38588 > │ │
00:22:13 verbose #38589 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38590 > │ │
00:22:13 verbose #38591 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38592 > │ let struct (v4 : System.Threading.CancellationToken, v5 : │
00:22:13 verbose #38593 > │ System.IDisposable) = null |> unbox<struct │
00:22:13 verbose #38594 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:13 verbose #38595 > │ struct (v4, v5) │
00:22:13 verbose #38596 > │ #endif │
00:22:13 verbose #38597 > │ │
00:22:13 verbose #38598 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38599 > │ let struct (v6 : System.Threading.CancellationToken, v7 : │
00:22:13 verbose #38600 > │ System.IDisposable) = null |> unbox<struct │
00:22:13 verbose #38601 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:13 verbose #38602 > │ struct (v6, v7) │
00:22:13 verbose #38603 > │ #endif │
00:22:13 verbose #38604 > │ │
00:22:13 verbose #38605 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38606 > │ let struct (v8 : System.Threading.CancellationToken, v9 : │
00:22:13 verbose #38607 > │ System.IDisposable) = null |> unbox<struct │
00:22:13 verbose #38608 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:13 verbose #38609 > │ struct (v8, v9) │
00:22:13 verbose #38610 > │ #endif │
00:22:13 verbose #38611 > │ │
00:22:13 verbose #38612 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38613 > │ let struct (v10 : System.Threading.CancellationToken, v11 : │
00:22:13 verbose #38614 > │ System.IDisposable) = null |> unbox<struct │
00:22:13 verbose #38615 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:13 verbose #38616 > │ struct (v10, v11) │
00:22:13 verbose #38617 > │ #endif │
00:22:13 verbose #38618 > │ │
00:22:13 verbose #38619 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38620 > │ let struct (v12 : System.Threading.CancellationToken, v13 : │
00:22:13 verbose #38621 > │ System.IDisposable) = null |> unbox<struct │
00:22:13 verbose #38622 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:13 verbose #38623 > │ struct (v12, v13) │
00:22:13 verbose #38624 > │ #endif │
00:22:13 verbose #38625 > │ │
00:22:13 verbose #38626 > │ #else │
00:22:13 verbose #38627 > │ let v14 : System.Threading.CancellationTokenSource = new │
00:22:13 verbose #38628 > │ System.Threading.CancellationTokenSource () │
00:22:13 verbose #38629 > │ let v15 : (System.Threading.CancellationToken -> US0) = method2() │
00:22:13 verbose #38630 > │ let v16 : US0 = US0_1 │
00:22:13 verbose #38631 > │ let v17 : US0 = v1 |> Option.map v15 |> Option.defaultValue v16 │
00:22:13 verbose #38632 > │ let v24 : System.Threading.CancellationTokenSource = │
00:22:13 verbose #38633 > │ match v17 with │
00:22:13 verbose #38634 > │ | US0_1 -> (* None *) │
00:22:13 verbose #38635 > │ v14 │
00:22:13 verbose #38636 > │ | US0_0(v18) -> (* Some *) │
00:22:13 verbose #38637 > │ let v19 : System.Threading.CancellationToken = v14.Token │
00:22:13 verbose #38638 > │ let v20 : (System.Threading.CancellationToken []) = [|v19; v18|] │
00:22:13 verbose #38639 > │ let v21 : ((System.Threading.CancellationToken []) -> │
00:22:13 verbose #38640 > │ System.Threading.CancellationTokenSource) = │
00:22:13 verbose #38641 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:22:13 verbose #38642 > │ v21 v20 │
00:22:13 verbose #38643 > │ let v25 : System.IDisposable option = None │
00:22:13 verbose #38644 > │ let v26 : bool = true in let mutable _v25 = v25 │
00:22:13 verbose #38645 > │ │
00:22:13 verbose #38646 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38647 > │ │
00:22:13 verbose #38648 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38649 > │ let v27 : (unit -> unit) = closure1(v24) │
00:22:13 verbose #38650 > │ let v28 : System.IDisposable = new Disposable (fun () -> │
00:22:13 verbose #38651 > │ Fable.Core.RustInterop.emitRustExpr v27 "$0()" ) │
00:22:13 verbose #38652 > │ v28 │
00:22:13 verbose #38653 > │ #endif │
00:22:13 verbose #38654 > │ │
00:22:13 verbose #38655 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38656 > │ let v29 : System.IDisposable = new Disposable (fun () -> │
00:22:13 verbose #38657 > │ Fable.Core.RustInterop.emitRustExpr v27 "$0()" ) │
00:22:13 verbose #38658 > │ v29 │
00:22:13 verbose #38659 > │ #endif │
00:22:13 verbose #38660 > │ │
00:22:13 verbose #38661 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38662 > │ let v30 : System.IDisposable = new Disposable (fun () -> │
00:22:13 verbose #38663 > │ Fable.Core.RustInterop.emitRustExpr v27 "$0()" ) │
00:22:13 verbose #38664 > │ v30 │
00:22:13 verbose #38665 > │ #endif │
00:22:13 verbose #38666 > │ │
00:22:13 verbose #38667 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38668 > │ let v31 : System.IDisposable = null |> unbox<System.IDisposable> │
00:22:13 verbose #38669 > │ v31 │
00:22:13 verbose #38670 > │ #endif │
00:22:13 verbose #38671 > │ │
00:22:13 verbose #38672 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38673 > │ let v32 : System.IDisposable = null |> unbox<System.IDisposable> │
00:22:13 verbose #38674 > │ v32 │
00:22:13 verbose #38675 > │ #endif │
00:22:13 verbose #38676 > │ │
00:22:13 verbose #38677 > │ #else │
00:22:13 verbose #38678 > │ let v33 : (unit -> unit) = method3(v24) │
00:22:13 verbose #38679 > │ let v34 : System.IDisposable = { new System.IDisposable with member │
00:22:13 verbose #38680 > │ _.Dispose () = v33 () } │
00:22:13 verbose #38681 > │ v34 │
00:22:13 verbose #38682 > │ #endif │
00:22:13 verbose #38683 > │ |> fun x -> _v25 <- Some x │
00:22:13 verbose #38684 > │ let v35 : System.IDisposable = _v25.Value │
00:22:13 verbose #38685 > │ let v36 : System.Threading.CancellationToken = v24.Token │
00:22:13 verbose #38686 > │ struct (v36, v35) │
00:22:13 verbose #38687 > │ #endif │
00:22:13 verbose #38688 > │ |> fun x -> _v2 <- Some x │
00:22:13 verbose #38689 > │ let struct (v37 : System.Threading.CancellationToken, v38 : │
00:22:13 verbose #38690 > │ System.IDisposable) = _v2.Value │
00:22:13 verbose #38691 > │ use v38 = v38 │
00:22:13 verbose #38692 > │ let v39 : System.IDisposable = v38 │
00:22:13 verbose #38693 > │ let v40 : int32 = v0.l0 │
00:22:13 verbose #38694 > │ let v41 : bool = v37.IsCancellationRequested │
00:22:13 verbose #38695 > │ let v42 : int32 = │
00:22:13 verbose #38696 > │ if v41 then │
00:22:13 verbose #38697 > │ 10 │
00:22:13 verbose #38698 > │ else │
00:22:13 verbose #38699 > │ 1 │
00:22:13 verbose #38700 > │ let v43 : int32 = v40 + v42 │
00:22:13 verbose #38701 > │ v0.l0 <- v43 │
00:22:13 verbose #38702 > │ let v44 : Async<unit> option = None │
00:22:13 verbose #38703 > │ let v45 : bool = true in let mutable _v44 = v44 │
00:22:13 verbose #38704 > │ │
00:22:13 verbose #38705 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38706 > │ │
00:22:13 verbose #38707 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38708 > │ let v46 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38709 > │ v46 │
00:22:13 verbose #38710 > │ #endif │
00:22:13 verbose #38711 > │ │
00:22:13 verbose #38712 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38713 > │ let v47 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38714 > │ v47 │
00:22:13 verbose #38715 > │ #endif │
00:22:13 verbose #38716 > │ │
00:22:13 verbose #38717 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38718 > │ let v48 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38719 > │ v48 │
00:22:13 verbose #38720 > │ #endif │
00:22:13 verbose #38721 > │ │
00:22:13 verbose #38722 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38723 > │ let v49 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38724 > │ v49 │
00:22:13 verbose #38725 > │ #endif │
00:22:13 verbose #38726 > │ │
00:22:13 verbose #38727 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38728 > │ let v50 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38729 > │ v50 │
00:22:13 verbose #38730 > │ #endif │
00:22:13 verbose #38731 > │ │
00:22:13 verbose #38732 > │ #else │
00:22:13 verbose #38733 > │ let v51 : Async<unit> option = None │
00:22:13 verbose #38734 > │ let mutable _v51 = v51 │
00:22:13 verbose #38735 > │ async { │
00:22:13 verbose #38736 > │ let v52 : int32 = v0.l0 │
00:22:13 verbose #38737 > │ let v53 : bool = v37.IsCancellationRequested │
00:22:13 verbose #38738 > │ let v54 : int32 = │
00:22:13 verbose #38739 > │ if v53 then │
00:22:13 verbose #38740 > │ 10 │
00:22:13 verbose #38741 > │ else │
00:22:13 verbose #38742 > │ 1 │
00:22:13 verbose #38743 > │ let v55 : int32 = v52 + v54 │
00:22:13 verbose #38744 > │ v0.l0 <- v55 │
00:22:13 verbose #38745 > │ } │
00:22:13 verbose #38746 > │ |> fun x -> _v51 <- Some x │
00:22:13 verbose #38747 > │ let v56 : Async<unit> = _v51 |> Option.get │
00:22:13 verbose #38748 > │ v56 │
00:22:13 verbose #38749 > │ #endif │
00:22:13 verbose #38750 > │ |> fun x -> _v44 <- Some x │
00:22:13 verbose #38751 > │ let v57 : Async<unit> = _v44.Value │
00:22:13 verbose #38752 > │ let v58 : unit option = None │
00:22:13 verbose #38753 > │ let v59 : bool = true in let mutable _v58 = v58 │
00:22:13 verbose #38754 > │ │
00:22:13 verbose #38755 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38756 > │ │
00:22:13 verbose #38757 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38758 > │ null |> unbox<unit> │
00:22:13 verbose #38759 > │ () │
00:22:13 verbose #38760 > │ #endif │
00:22:13 verbose #38761 > │ │
00:22:13 verbose #38762 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38763 > │ null |> unbox<unit> │
00:22:13 verbose #38764 > │ () │
00:22:13 verbose #38765 > │ #endif │
00:22:13 verbose #38766 > │ │
00:22:13 verbose #38767 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38768 > │ null |> unbox<unit> │
00:22:13 verbose #38769 > │ () │
00:22:13 verbose #38770 > │ #endif │
00:22:13 verbose #38771 > │ │
00:22:13 verbose #38772 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38773 > │ null |> unbox<unit> │
00:22:13 verbose #38774 > │ () │
00:22:13 verbose #38775 > │ #endif │
00:22:13 verbose #38776 > │ │
00:22:13 verbose #38777 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38778 > │ null |> unbox<unit> │
00:22:13 verbose #38779 > │ () │
00:22:13 verbose #38780 > │ #endif │
00:22:13 verbose #38781 > │ │
00:22:13 verbose #38782 > │ #else │
00:22:13 verbose #38783 > │ let v60 : (Async<unit> -> unit) = Async.Start │
00:22:13 verbose #38784 > │ v60 v57 │
00:22:13 verbose #38785 > │ () │
00:22:13 verbose #38786 > │ #endif │
00:22:13 verbose #38787 > │ |> fun x -> _v58 <- Some x │
00:22:13 verbose #38788 > │ _v58.Value │
00:22:13 verbose #38789 > │ () │
00:22:13 verbose #38790 > │ and method4 (v0 : bool) : bool = │
00:22:13 verbose #38791 > │ v0 │
00:22:13 verbose #38792 > │ and method0 () : unit = │
00:22:13 verbose #38793 > │ let v0 : Async<int32> option = None │
00:22:13 verbose #38794 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:22:13 verbose #38795 > │ │
00:22:13 verbose #38796 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38797 > │ │
00:22:13 verbose #38798 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38799 > │ let v2 : Async<int32> = null |> unbox<Async<int32>> │
00:22:13 verbose #38800 > │ v2 │
00:22:13 verbose #38801 > │ #endif │
00:22:13 verbose #38802 > │ │
00:22:13 verbose #38803 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38804 > │ let v3 : Async<int32> = null |> unbox<Async<int32>> │
00:22:13 verbose #38805 > │ v3 │
00:22:13 verbose #38806 > │ #endif │
00:22:13 verbose #38807 > │ │
00:22:13 verbose #38808 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38809 > │ let v4 : Async<int32> = null |> unbox<Async<int32>> │
00:22:13 verbose #38810 > │ v4 │
00:22:13 verbose #38811 > │ #endif │
00:22:13 verbose #38812 > │ │
00:22:13 verbose #38813 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38814 > │ let v5 : Async<int32> = null |> unbox<Async<int32>> │
00:22:13 verbose #38815 > │ v5 │
00:22:13 verbose #38816 > │ #endif │
00:22:13 verbose #38817 > │ │
00:22:13 verbose #38818 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38819 > │ let v6 : Async<int32> = null |> unbox<Async<int32>> │
00:22:13 verbose #38820 > │ v6 │
00:22:13 verbose #38821 > │ #endif │
00:22:13 verbose #38822 > │ │
00:22:13 verbose #38823 > │ #else │
00:22:13 verbose #38824 > │ let v7 : Async<int32> option = None │
00:22:13 verbose #38825 > │ let mutable _v7 = v7 │
00:22:13 verbose #38826 > │ async { │
00:22:13 verbose #38827 > │ let v8 : Mut0 = {l0 = 0} : Mut0 │
00:22:13 verbose #38828 > │ method1(v8) │
00:22:13 verbose #38829 > │ let v9 : Async<unit> option = None │
00:22:13 verbose #38830 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:22:13 verbose #38831 > │ │
00:22:13 verbose #38832 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38833 > │ │
00:22:13 verbose #38834 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38835 > │ let v11 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38836 > │ v11 │
00:22:13 verbose #38837 > │ #endif │
00:22:13 verbose #38838 > │ │
00:22:13 verbose #38839 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38840 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38841 > │ v12 │
00:22:13 verbose #38842 > │ #endif │
00:22:13 verbose #38843 > │ │
00:22:13 verbose #38844 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38845 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38846 > │ v13 │
00:22:13 verbose #38847 > │ #endif │
00:22:13 verbose #38848 > │ │
00:22:13 verbose #38849 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38850 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38851 > │ v14 │
00:22:13 verbose #38852 > │ #endif │
00:22:13 verbose #38853 > │ │
00:22:13 verbose #38854 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38855 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:22:13 verbose #38856 > │ v15 │
00:22:13 verbose #38857 > │ #endif │
00:22:13 verbose #38858 > │ │
00:22:13 verbose #38859 > │ #else │
00:22:13 verbose #38860 > │ let v16 : (int32 -> Async<unit>) = Async.Sleep │
00:22:13 verbose #38861 > │ let v17 : Async<unit> = v16 10 │
00:22:13 verbose #38862 > │ v17 │
00:22:13 verbose #38863 > │ #endif │
00:22:13 verbose #38864 > │ |> fun x -> _v9 <- Some x │
00:22:13 verbose #38865 > │ let v18 : Async<unit> = _v9.Value │
00:22:13 verbose #38866 > │ do! v18 │
00:22:13 verbose #38867 > │ let v19 : int32 = v8.l0 │
00:22:13 verbose #38868 > │ return v19 │
00:22:13 verbose #38869 > │ } │
00:22:13 verbose #38870 > │ |> fun x -> _v7 <- Some x │
00:22:13 verbose #38871 > │ let v20 : Async<int32> = _v7 |> Option.get │
00:22:13 verbose #38872 > │ v20 │
00:22:13 verbose #38873 > │ #endif │
00:22:13 verbose #38874 > │ |> fun x -> _v0 <- Some x │
00:22:13 verbose #38875 > │ let v21 : Async<int32> = _v0.Value │
00:22:13 verbose #38876 > │ let v22 : int32 option = None │
00:22:13 verbose #38877 > │ let v23 : bool = true in let mutable _v22 = v22 │
00:22:13 verbose #38878 > │ │
00:22:13 verbose #38879 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:13 verbose #38880 > │ │
00:22:13 verbose #38881 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:13 verbose #38882 > │ let v24 : int32 = null |> unbox<int32> │
00:22:13 verbose #38883 > │ v24 │
00:22:13 verbose #38884 > │ #endif │
00:22:13 verbose #38885 > │ │
00:22:13 verbose #38886 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:13 verbose #38887 > │ let v25 : int32 = null |> unbox<int32> │
00:22:13 verbose #38888 > │ v25 │
00:22:13 verbose #38889 > │ #endif │
00:22:13 verbose #38890 > │ │
00:22:13 verbose #38891 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:13 verbose #38892 > │ let v26 : int32 = null |> unbox<int32> │
00:22:13 verbose #38893 > │ v26 │
00:22:13 verbose #38894 > │ #endif │
00:22:13 verbose #38895 > │ │
00:22:13 verbose #38896 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:13 verbose #38897 > │ let v27 : int32 = null |> unbox<int32> │
00:22:13 verbose #38898 > │ v27 │
00:22:13 verbose #38899 > │ #endif │
00:22:13 verbose #38900 > │ │
00:22:13 verbose #38901 > │ #if FABLE_COMPILER_PYTHON │
00:22:13 verbose #38902 > │ let v28 : int32 = null |> unbox<int32> │
00:22:13 verbose #38903 > │ v28 │
00:22:13 verbose #38904 > │ #endif │
00:22:13 verbose #38905 > │ │
00:22:13 verbose #38906 > │ #else │
00:22:13 verbose #38907 > │ let v29 : (Async<int32> -> int32) = Async.RunSynchronously │
00:22:13 verbose #38908 > │ let v30 : int32 = v29 v21 │
00:22:13 verbose #38909 > │ v30 │
00:22:13 verbose #38910 > │ #endif │
00:22:13 verbose #38911 > │ |> fun x -> _v22 <- Some x │
00:22:13 verbose #38912 > │ let v31 : int32 = _v22.Value │
00:22:13 verbose #38913 > │ let v32 : bool = v31 = 11 │
00:22:13 verbose #38914 > │ let v34 : bool = │
00:22:13 verbose #38915 > │ if v32 then │
00:22:13 verbose #38916 > │ true │
00:22:13 verbose #38917 > │ else │
00:22:13 verbose #38918 > │ method4(v32) │
00:22:13 verbose #38919 > │ let v35 : string = "assert_eq" │
00:22:13 verbose #38920 > │ let v36 : string = $"{v35} / actual: %A{v31} / expected: %A{11}" │
00:22:13 verbose #38921 > │ System.Console.WriteLine v36 │
00:22:13 verbose #38922 > │ let v37 : bool = v34 = false │
00:22:13 verbose #38923 > │ if v37 then │
00:22:13 verbose #38924 > │ failwith<unit> v36 │
00:22:13 verbose #38925 > │ method0() │
00:22:13 verbose #38926 > │ │
00:22:13 verbose #38927 > │ assert_eq / actual: 11 / expected: 11 │
00:22:13 verbose #38928 > │ │
00:22:13 verbose #38929 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:13 verbose #38930 >
00:22:13 verbose #38931 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:13 verbose #38932 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:13 verbose #38933 > │ ## arc │
00:22:13 verbose #38934 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:13 verbose #38935 >
00:22:13 verbose #38936 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:13 verbose #38937 > nominal arc t = $"std_sync_Arc<`t>"
00:22:13 verbose #38938 > 00:22:12 debug #778 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9b120f04d75f2dd8c87fb93bfca3016dfa5ee774abe17b509f3b5a0a740c930a/main.spi
00:22:14 verbose #38939 >
00:22:14 verbose #38940 > ╭─[ 609.23ms - stdout ]────────────────────────────────────────────────────────╮
00:22:14 verbose #38941 > │ () │
00:22:14 verbose #38942 > │ │
00:22:14 verbose #38943 > │ │
00:22:14 verbose #38944 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:14 verbose #38945 >
00:22:14 verbose #38946 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:14 verbose #38947 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:14 verbose #38948 > │ ## new_arc │
00:22:14 verbose #38949 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:14 verbose #38950 >
00:22:14 verbose #38951 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:14 verbose #38952 > inl new_arc forall t. (x : t) : arc t =
00:22:14 verbose #38953 > inl x = join x
00:22:14 verbose #38954 > !\($'"std::sync::Arc::new(!x)"')
00:22:14 verbose #38955 > 00:22:13 debug #779 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d93fd7582fc6e1de7af48e6e883be219ffaf8b21166a382d0f0bffd344e7ef96/main.spi
00:22:14 verbose #38956 >
00:22:14 verbose #38957 > ╭─[ 671.83ms - stdout ]────────────────────────────────────────────────────────╮
00:22:14 verbose #38958 > │ () │
00:22:14 verbose #38959 > │ │
00:22:14 verbose #38960 > │ │
00:22:14 verbose #38961 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:14 verbose #38962 >
00:22:14 verbose #38963 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:14 verbose #38964 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:14 verbose #38965 > │ ## mutex │
00:22:14 verbose #38966 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:14 verbose #38967 >
00:22:14 verbose #38968 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:14 verbose #38969 > nominal mutex t = $"std_sync_Mutex<`t>"
00:22:15 verbose #38970 > 00:22:14 debug #780 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2d66b63741d13363b878a20b9c28ad728c8e093df67748cbe741613c8e8bcc25/main.spi
00:22:15 verbose #38971 >
00:22:15 verbose #38972 > ╭─[ 606.54ms - stdout ]────────────────────────────────────────────────────────╮
00:22:15 verbose #38973 > │ () │
00:22:15 verbose #38974 > │ │
00:22:15 verbose #38975 > │ │
00:22:15 verbose #38976 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:15 verbose #38977 >
00:22:15 verbose #38978 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:15 verbose #38979 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:15 verbose #38980 > │ ## new_mutex │
00:22:15 verbose #38981 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:15 verbose #38982 >
00:22:15 verbose #38983 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:15 verbose #38984 > inl new_mutex forall t. (x : t) : mutex t =
00:22:15 verbose #38985 > // inl x = join x
00:22:15 verbose #38986 > !\\(x, $'"std::sync::Mutex::new($0)"')
00:22:15 verbose #38987 > 00:22:14 debug #781 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5eb490d7129ea2ed3decf98aa4c5b373f9cffb28a3f7bc7af77aba823c973a57/main.spi
00:22:15 verbose #38988 >
00:22:15 verbose #38989 > ╭─[ 625.90ms - stdout ]────────────────────────────────────────────────────────╮
00:22:15 verbose #38990 > │ () │
00:22:15 verbose #38991 > │ │
00:22:15 verbose #38992 > │ │
00:22:15 verbose #38993 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:15 verbose #38994 >
00:22:15 verbose #38995 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:15 verbose #38996 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:15 verbose #38997 > │ ## new_arc_mutex │
00:22:15 verbose #38998 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:15 verbose #38999 >
00:22:15 verbose #39000 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:15 verbose #39001 > inl new_arc_mutex forall t. (x : t) : arc (mutex t) =
00:22:15 verbose #39002 > x |> new_mutex |> new_arc
00:22:16 verbose #39003 > 00:22:15 debug #782 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f5db1f8f955afacdbb93a8f879c8f2bcfb38a27f1b4ca1df0cd9bf44aa0474e8/main.spi
00:22:16 verbose #39004 >
00:22:16 verbose #39005 > ╭─[ 688.07ms - stdout ]────────────────────────────────────────────────────────╮
00:22:16 verbose #39006 > │ () │
00:22:16 verbose #39007 > │ │
00:22:16 verbose #39008 > │ │
00:22:16 verbose #39009 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:16 verbose #39010 >
00:22:16 verbose #39011 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:16 verbose #39012 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:16 verbose #39013 > │ ## arc_clone │
00:22:16 verbose #39014 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:16 verbose #39015 >
00:22:16 verbose #39016 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:16 verbose #39017 > inl arc_clone forall t. (x : arc t) : arc t =
00:22:16 verbose #39018 > inl x = join x
00:22:16 verbose #39019 > !\($'"std::sync::Arc::clone(&!x)"')
00:22:17 verbose #39020 > 00:22:16 debug #783 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/846a536ad3ca3422d29440754c7f8bac5f719992ec405899b22d5e4d6565a59d/main.spi
00:22:17 verbose #39021 >
00:22:17 verbose #39022 > ╭─[ 614.34ms - stdout ]────────────────────────────────────────────────────────╮
00:22:17 verbose #39023 > │ () │
00:22:17 verbose #39024 > │ │
00:22:17 verbose #39025 > │ │
00:22:17 verbose #39026 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:17 verbose #39027 >
00:22:17 verbose #39028 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:17 verbose #39029 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:17 verbose #39030 > │ ## mutex_guard │
00:22:17 verbose #39031 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:17 verbose #39032 >
00:22:17 verbose #39033 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:17 verbose #39034 > nominal mutex_guard t = $"std_sync_MutexGuard<`t>"
00:22:17 verbose #39035 > 00:22:16 debug #784 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1ffc53ec46cb588beab8ad2b3633b4e593711edfe788ec06a61022bcd315c715/main.spi
00:22:17 verbose #39036 >
00:22:17 verbose #39037 > ╭─[ 666.41ms - stdout ]────────────────────────────────────────────────────────╮
00:22:17 verbose #39038 > │ () │
00:22:17 verbose #39039 > │ │
00:22:17 verbose #39040 > │ │
00:22:17 verbose #39041 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:17 verbose #39042 >
00:22:17 verbose #39043 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:17 verbose #39044 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:17 verbose #39045 > │ ## poison_error │
00:22:17 verbose #39046 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:17 verbose #39047 >
00:22:17 verbose #39048 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:17 verbose #39049 > nominal poison_error t = $"std_sync_PoisonError<`t>"
00:22:18 verbose #39050 > 00:22:17 debug #785 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/52a75ed4e08cf9a71dd8c450229d4badbb2c164d237a5ff47c771955516af655/main.spi
00:22:18 verbose #39051 >
00:22:18 verbose #39052 > ╭─[ 640.63ms - stdout ]────────────────────────────────────────────────────────╮
00:22:18 verbose #39053 > │ () │
00:22:18 verbose #39054 > │ │
00:22:18 verbose #39055 > │ │
00:22:18 verbose #39056 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:18 verbose #39057 >
00:22:18 verbose #39058 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:18 verbose #39059 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:18 verbose #39060 > │ ## mutex_lock │
00:22:18 verbose #39061 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:18 verbose #39062 >
00:22:18 verbose #39063 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:18 verbose #39064 > inl arc_mutex_lock forall t. (x : arc (mutex t)) : resultm.result' (mutex_guard
00:22:18 verbose #39065 > t) (poison_error (mutex_guard t)) =
00:22:18 verbose #39066 > !\\(x, $'"$0.lock()"')
00:22:19 verbose #39067 > 00:22:18 debug #786 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b7d421296a07ca6393b27313eb24098f6ebf070dd75b45fc7b280dfc86fa6303/main.spi
00:22:19 verbose #39068 >
00:22:19 verbose #39069 > ╭─[ 651.53ms - stdout ]────────────────────────────────────────────────────────╮
00:22:19 verbose #39070 > │ () │
00:22:19 verbose #39071 > │ │
00:22:19 verbose #39072 > │ │
00:22:19 verbose #39073 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:19 verbose #39074 >
00:22:19 verbose #39075 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:19 verbose #39076 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:19 verbose #39077 > │ ## main │
00:22:19 verbose #39078 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:19 verbose #39079 >
00:22:19 verbose #39080 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:19 verbose #39081 > inl main () =
00:22:19 verbose #39082 > types ()
00:22:19 verbose #39083 > $"let new_disposable_token x = !new_disposable_token x" : ()
00:22:19 verbose #39084 > 00:22:18 debug #787 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/13104397f5ea17b3cf1311abf7832c161df414366b0000f2ae4ce31f35ac7919/main.spi
00:22:19 verbose #39085 >
00:22:19 verbose #39086 > ╭─[ 735.69ms - stdout ]────────────────────────────────────────────────────────╮
00:22:19 verbose #39087 > │ #if FABLE_COMPILER │
00:22:19 verbose #39088 > │ [<Fable.Core.Erase; Fable.Core.Emit("std:🧵:JoinHandle<$0>")>] │
00:22:19 verbose #39089 > │ #endif │
00:22:19 verbose #39090 > │ type std_thread_JoinHandle<'T> = class end │
00:22:19 verbose #39091 > │ #if FABLE_COMPILER │
00:22:19 verbose #39092 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>] │
00:22:19 verbose #39093 > │ #endif │
00:22:19 verbose #39094 > │ type std_sync_Arc<'T> = class end │
00:22:19 verbose #39095 > │ #if FABLE_COMPILER │
00:22:19 verbose #39096 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>] │
00:22:19 verbose #39097 > │ #endif │
00:22:19 verbose #39098 > │ type std_sync_Mutex<'T> = class end │
00:22:19 verbose #39099 > │ #if FABLE_COMPILER │
00:22:19 verbose #39100 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>] │
00:22:19 verbose #39101 > │ #endif │
00:22:19 verbose #39102 > │ type std_sync_MutexGuard<'T> = class end │
00:22:19 verbose #39103 > │ #if FABLE_COMPILER │
00:22:19 verbose #39104 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>] │
00:22:19 verbose #39105 > │ #endif │
00:22:19 verbose #39106 > │ type std_sync_PoisonError<'T> = class end │
00:22:19 verbose #39107 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:22:19 verbose #39108 > │ member _.Dispose () = f () │
00:22:19 verbose #39109 > │ type [<Struct>] US0 = │
00:22:19 verbose #39110 > │ | US0_0 of f0_0 : System.Threading.CancellationToken │
00:22:19 verbose #39111 > │ | US0_1 │
00:22:19 verbose #39112 > │ let rec closure1 () (v0 : System.Threading.CancellationToken) : US0 = │
00:22:19 verbose #39113 > │ US0_0(v0) │
00:22:19 verbose #39114 > │ and method0 () : (System.Threading.CancellationToken -> US0) = │
00:22:19 verbose #39115 > │ closure1() │
00:22:19 verbose #39116 > │ and closure2 (v0 : System.Threading.CancellationTokenSource) () : unit = │
00:22:19 verbose #39117 > │ let v1 : unit option = None │
00:22:19 verbose #39118 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:22:19 verbose #39119 > │ │
00:22:19 verbose #39120 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:19 verbose #39121 > │ │
00:22:19 verbose #39122 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:19 verbose #39123 > │ null |> unbox<unit> │
00:22:19 verbose #39124 > │ () │
00:22:19 verbose #39125 > │ #endif │
00:22:19 verbose #39126 > │ │
00:22:19 verbose #39127 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:19 verbose #39128 > │ null |> unbox<unit> │
00:22:19 verbose #39129 > │ () │
00:22:19 verbose #39130 > │ #endif │
00:22:19 verbose #39131 > │ │
00:22:19 verbose #39132 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:19 verbose #39133 > │ null |> unbox<unit> │
00:22:19 verbose #39134 > │ () │
00:22:20 verbose #39135 > │ #endif │
00:22:20 verbose #39136 > │ │
00:22:20 verbose #39137 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:20 verbose #39138 > │ null |> unbox<unit> │
00:22:20 verbose #39139 > │ () │
00:22:20 verbose #39140 > │ #endif │
00:22:20 verbose #39141 > │ │
00:22:20 verbose #39142 > │ #if FABLE_COMPILER_PYTHON │
00:22:20 verbose #39143 > │ null |> unbox<unit> │
00:22:20 verbose #39144 > │ () │
00:22:20 verbose #39145 > │ #endif │
00:22:20 verbose #39146 > │ │
00:22:20 verbose #39147 > │ #else │
00:22:20 verbose #39148 > │ let v3 : (unit -> unit) = v0.Cancel │
00:22:20 verbose #39149 > │ v3 () │
00:22:20 verbose #39150 > │ () │
00:22:20 verbose #39151 > │ #endif │
00:22:20 verbose #39152 > │ |> fun x -> _v1 <- Some x │
00:22:20 verbose #39153 > │ _v1.Value │
00:22:20 verbose #39154 > │ () │
00:22:20 verbose #39155 > │ and method1 (v0 : System.Threading.CancellationTokenSource) : (unit -> unit) │
00:22:20 verbose #39156 > │ = │
00:22:20 verbose #39157 > │ closure2(v0) │
00:22:20 verbose #39158 > │ and closure0 () (v0 : System.Threading.CancellationToken option) : struct │
00:22:20 verbose #39159 > │ (System.Threading.CancellationToken * System.IDisposable) = │
00:22:20 verbose #39160 > │ let v1 : struct (System.Threading.CancellationToken * │
00:22:20 verbose #39161 > │ System.IDisposable) option = None │
00:22:20 verbose #39162 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:22:20 verbose #39163 > │ │
00:22:20 verbose #39164 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:20 verbose #39165 > │ │
00:22:20 verbose #39166 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:20 verbose #39167 > │ let struct (v3 : System.Threading.CancellationToken, v4 : │
00:22:20 verbose #39168 > │ System.IDisposable) = null |> unbox<struct │
00:22:20 verbose #39169 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:20 verbose #39170 > │ struct (v3, v4) │
00:22:20 verbose #39171 > │ #endif │
00:22:20 verbose #39172 > │ │
00:22:20 verbose #39173 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:20 verbose #39174 > │ let struct (v5 : System.Threading.CancellationToken, v6 : │
00:22:20 verbose #39175 > │ System.IDisposable) = null |> unbox<struct │
00:22:20 verbose #39176 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:20 verbose #39177 > │ struct (v5, v6) │
00:22:20 verbose #39178 > │ #endif │
00:22:20 verbose #39179 > │ │
00:22:20 verbose #39180 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:20 verbose #39181 > │ let struct (v7 : System.Threading.CancellationToken, v8 : │
00:22:20 verbose #39182 > │ System.IDisposable) = null |> unbox<struct │
00:22:20 verbose #39183 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:20 verbose #39184 > │ struct (v7, v8) │
00:22:20 verbose #39185 > │ #endif │
00:22:20 verbose #39186 > │ │
00:22:20 verbose #39187 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:20 verbose #39188 > │ let struct (v9 : System.Threading.CancellationToken, v10 : │
00:22:20 verbose #39189 > │ System.IDisposable) = null |> unbox<struct │
00:22:20 verbose #39190 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:20 verbose #39191 > │ struct (v9, v10) │
00:22:20 verbose #39192 > │ #endif │
00:22:20 verbose #39193 > │ │
00:22:20 verbose #39194 > │ #if FABLE_COMPILER_PYTHON │
00:22:20 verbose #39195 > │ let struct (v11 : System.Threading.CancellationToken, v12 : │
00:22:20 verbose #39196 > │ System.IDisposable) = null |> unbox<struct │
00:22:20 verbose #39197 > │ (System.Threading.CancellationToken * System.IDisposable)> │
00:22:20 verbose #39198 > │ struct (v11, v12) │
00:22:20 verbose #39199 > │ #endif │
00:22:20 verbose #39200 > │ │
00:22:20 verbose #39201 > │ #else │
00:22:20 verbose #39202 > │ let v13 : System.Threading.CancellationTokenSource = new │
00:22:20 verbose #39203 > │ System.Threading.CancellationTokenSource () │
00:22:20 verbose #39204 > │ let v14 : (System.Threading.CancellationToken -> US0) = method0() │
00:22:20 verbose #39205 > │ let v15 : US0 = US0_1 │
00:22:20 verbose #39206 > │ let v16 : US0 = v0 |> Option.map v14 |> Option.defaultValue v15 │
00:22:20 verbose #39207 > │ let v23 : System.Threading.CancellationTokenSource = │
00:22:20 verbose #39208 > │ match v16 with │
00:22:20 verbose #39209 > │ | US0_1 -> (* None *) │
00:22:20 verbose #39210 > │ v13 │
00:22:20 verbose #39211 > │ | US0_0(v17) -> (* Some *) │
00:22:20 verbose #39212 > │ let v18 : System.Threading.CancellationToken = v13.Token │
00:22:20 verbose #39213 > │ let v19 : (System.Threading.CancellationToken []) = [|v18; v17|] │
00:22:20 verbose #39214 > │ let v20 : ((System.Threading.CancellationToken []) -> │
00:22:20 verbose #39215 > │ System.Threading.CancellationTokenSource) = │
00:22:20 verbose #39216 > │ System.Threading.CancellationTokenSource.CreateLinkedTokenSource │
00:22:20 verbose #39217 > │ v20 v19 │
00:22:20 verbose #39218 > │ let v24 : System.IDisposable option = None │
00:22:20 verbose #39219 > │ let v25 : bool = true in let mutable _v24 = v24 │
00:22:20 verbose #39220 > │ │
00:22:20 verbose #39221 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:22:20 verbose #39222 > │ │
00:22:20 verbose #39223 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:22:20 verbose #39224 > │ let v26 : (unit -> unit) = closure2(v23) │
00:22:20 verbose #39225 > │ let v27 : System.IDisposable = new Disposable (fun () -> │
00:22:20 verbose #39226 > │ Fable.Core.RustInterop.emitRustExpr v26 "$0()" ) │
00:22:20 verbose #39227 > │ v27 │
00:22:20 verbose #39228 > │ #endif │
00:22:20 verbose #39229 > │ │
00:22:20 verbose #39230 > │ #if FABLE_COMPILER_RUST && WASM │
00:22:20 verbose #39231 > │ let v28 : System.IDisposable = new Disposable (fun () -> │
00:22:20 verbose #39232 > │ Fable.Core.RustInterop.emitRustExpr v26 "$0()" ) │
00:22:20 verbose #39233 > │ v28 │
00:22:20 verbose #39234 > │ #endif │
00:22:20 verbose #39235 > │ │
00:22:20 verbose #39236 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:22:20 verbose #39237 > │ let v29 : System.IDisposable = new Disposable (fun () -> │
00:22:20 verbose #39238 > │ Fable.Core.RustInterop.emitRustExpr v26 "$0()" ) │
00:22:20 verbose #39239 > │ v29 │
00:22:20 verbose #39240 > │ #endif │
00:22:20 verbose #39241 > │ │
00:22:20 verbose #39242 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:22:20 verbose #39243 > │ let v30 : System.IDisposable = null |> unbox<System.IDisposable> │
00:22:20 verbose #39244 > │ v30 │
00:22:20 verbose #39245 > │ #endif │
00:22:20 verbose #39246 > │ │
00:22:20 verbose #39247 > │ #if FABLE_COMPILER_PYTHON │
00:22:20 verbose #39248 > │ let v31 : System.IDisposable = null |> unbox<System.IDisposable> │
00:22:20 verbose #39249 > │ v31 │
00:22:20 verbose #39250 > │ #endif │
00:22:20 verbose #39251 > │ │
00:22:20 verbose #39252 > │ #else │
00:22:20 verbose #39253 > │ let v32 : (unit -> unit) = method1(v23) │
00:22:20 verbose #39254 > │ let v33 : System.IDisposable = { new System.IDisposable with member │
00:22:20 verbose #39255 > │ _.Dispose () = v32 () } │
00:22:20 verbose #39256 > │ v33 │
00:22:20 verbose #39257 > │ #endif │
00:22:20 verbose #39258 > │ |> fun x -> _v24 <- Some x │
00:22:20 verbose #39259 > │ let v34 : System.IDisposable = _v24.Value │
00:22:20 verbose #39260 > │ let v35 : System.Threading.CancellationToken = v23.Token │
00:22:20 verbose #39261 > │ struct (v35, v34) │
00:22:20 verbose #39262 > │ #endif │
00:22:20 verbose #39263 > │ |> fun x -> _v1 <- Some x │
00:22:20 verbose #39264 > │ let struct (v36 : System.Threading.CancellationToken, v37 : │
00:22:20 verbose #39265 > │ System.IDisposable) = _v1.Value │
00:22:20 verbose #39266 > │ struct (v36, v37) │
00:22:20 verbose #39267 > │ let v0 : (System.Threading.CancellationToken option -> struct │
00:22:20 verbose #39268 > │ (System.Threading.CancellationToken * System.IDisposable)) = closure0() │
00:22:20 verbose #39269 > │ let new_disposable_token x = v0 x │
00:22:20 verbose #39270 > │ () │
00:22:20 verbose #39271 > │ │
00:22:20 verbose #39272 > │ │
00:22:20 verbose #39273 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:22 verbose #39274 > [NbConvertApp] Converting notebook threading.dib.ipynb to html
00:22:22 verbose #39275 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:22:22 verbose #39276 > validate(nb)
00:22:24 verbose #39277 > [NbConvertApp] Writing 346771 bytes to threading.dib.html
00:22:24 debug #39278 execute_with_options_async / exit_code: 0 / output.Length: 75723
00:22:24 debug #22 main / executeCommand / exitCode: 0
00:22:24 debug #39279 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 physics.dib" -Retries 3", [||],
None, None, None)
00:22:25 verbose #39280 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: physics.dib / _args: [
00:22:25 verbose #39281 > "-Retries",
00:22:25 verbose #39282 > 3
00:22:25 verbose #39283 > ]
00:22:27 verbose #39284 >
00:22:27 verbose #39285 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:27 verbose #39286 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:27 verbose #39287 > │ # physics │
00:22:27 verbose #39288 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:27 verbose #39289 >
00:22:27 verbose #39290 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:22:27 verbose #39291 > #!import ../../lib/fsharp/Plotting.dib
00:22:27 verbose #39292 >
00:22:27 verbose #39293 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:27 verbose #39294 > #r
00:22:27 verbose #39295 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:22:27 verbose #39296 > spNetCore.Html.Abstractions.dll"
00:22:27 verbose #39297 > #r
00:22:27 verbose #39298 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:27 verbose #39299 > otNet.Interactive.dll"
00:22:27 verbose #39300 > #r
00:22:27 verbose #39301 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:27 verbose #39302 > otNet.Interactive.FSharp.dll"
00:22:27 verbose #39303 > #r
00:22:27 verbose #39304 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:27 verbose #39305 > otNet.Interactive.Formatting.dll"
00:22:27 verbose #39306 > open System
00:22:27 verbose #39307 > open System.IO
00:22:27 verbose #39308 > open System.Text
00:22:27 verbose #39309 > open Microsoft.DotNet.Interactive.Formatting
00:22:30 verbose #39310 >
00:22:30 verbose #39311 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:30 verbose #39312 > #r
00:22:30 verbose #39313 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:30 verbose #39314 > otNet.Interactive.FSharp.dll"
00:22:30 verbose #39315 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:22:30 verbose #39316 > #r
00:22:30 verbose #39317 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:30 verbose #39318 > otNet.Interactive.dll"
00:22:30 verbose #39319 > open type Microsoft.DotNet.Interactive.Kernel
00:22:31 verbose #39320 >
00:22:31 verbose #39321 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:31 verbose #39322 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:22:31 verbose #39323 >
00:22:31 verbose #39324 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:31 verbose #39325 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:22:31 verbose #39326 > TextWriter)->fprintfn writer "%120A" x)
00:22:31 verbose #39327 >
00:22:31 verbose #39328 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:31 verbose #39329 > #r
00:22:31 verbose #39330 > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:22:31 verbose #39331 > dard2.1/FSharp.Control.AsyncSeq.dll"
00:22:31 verbose #39332 > #r
00:22:31 verbose #39333 > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:22:31 verbose #39334 > 0/System.Reactive.dll"
00:22:31 verbose #39335 > #r
00:22:31 verbose #39336 > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:22:31 verbose #39337 > netstandard2.0/System.Reactive.Linq.dll"
00:22:31 verbose #39338 > #r
00:22:31 verbose #39339 > @"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
00:22:31 verbose #39340 > #r
00:22:31 verbose #39341 > @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
00:22:31 verbose #39342 > rp.Json.dll"
00:22:31 verbose #39343 >
00:22:31 verbose #39344 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:31 verbose #39345 > //// test
00:22:31 verbose #39346 >
00:22:31 verbose #39347 > Formatter.ListExpansionLimit <- 100
00:22:31 verbose #39348 >
00:22:31 verbose #39349 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:31 verbose #39350 > #if FABLE_COMPILER
00:22:31 verbose #39351 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:22:31 verbose #39352 > #endif
00:22:31 verbose #39353 > type Func0<'T> = class end
00:22:31 verbose #39354 > #if FABLE_COMPILER
00:22:31 verbose #39355 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:22:31 verbose #39356 > #endif
00:22:31 verbose #39357 > type Func0<'T, 'U> = class end
00:22:31 verbose #39358 > #if FABLE_COMPILER
00:22:31 verbose #39359 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:22:31 verbose #39360 > #endif
00:22:31 verbose #39361 > type Box<'T> = class end
00:22:31 verbose #39362 > #if FABLE_COMPILER
00:22:31 verbose #39363 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:22:31 verbose #39364 > #endif
00:22:31 verbose #39365 > type Dyn<'T> = class end
00:22:31 verbose #39366 > #if FABLE_COMPILER
00:22:31 verbose #39367 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:22:31 verbose #39368 > #endif
00:22:31 verbose #39369 > type Send<'T> = class end
00:22:31 verbose #39370 > #if FABLE_COMPILER
00:22:31 verbose #39371 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:22:31 verbose #39372 > #endif
00:22:31 verbose #39373 > type Fn<'T> = class end
00:22:31 verbose #39374 > #if FABLE_COMPILER
00:22:31 verbose #39375 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:22:31 verbose #39376 > #endif
00:22:31 verbose #39377 > type FnUnit = class end
00:22:31 verbose #39378 > #if FABLE_COMPILER
00:22:31 verbose #39379 > [[<Fable.Core.Er...
00:22:34 verbose #39380 >
00:22:34 verbose #39381 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:34 verbose #39382 > #if FABLE_COMPILER
00:22:34 verbose #39383 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:22:34 verbose #39384 > #endif
00:22:34 verbose #39385 > type std_future_Future<'T> = class end
00:22:34 verbose #39386 > #if FABLE_COMPILER
00:22:34 verbose #39387 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:22:34 verbose #39388 > #endif
00:22:34 verbose #39389 > type futures_future_TryJoinAll<'T> = class end
00:22:34 verbose #39390 > #if FABLE_COMPILER
00:22:34 verbose #39391 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:22:34 verbose #39392 > #endif
00:22:34 verbose #39393 > type rayon_vec_IntoIter<'T> = class end
00:22:34 verbose #39394 > #if FABLE_COMPILER
00:22:34 verbose #39395 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:22:34 verbose #39396 > #endif
00:22:34 verbose #39397 > type rayon_iter_Map<'T> = class end
00:22:34 verbose #39398 > #if FABLE_COMPILER
00:22:34 verbose #39399 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:22:34 verbose #39400 > #endif
00:22:34 verbose #39401 > type futures_lite_stream_StreamExt = class end
00:22:34 verbose #39402 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:22:34 verbose #39403 >
00:22:34 verbose #39404 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:34 verbose #39405 > #if FABLE_COMPILER
00:22:34 verbose #39406 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:22:34 verbose #39407 > #endif
00:22:34 verbose #39408 > type std_thread_JoinHandle<'T> = class end
00:22:34 verbose #39409 > #if FABLE_COMPILER
00:22:34 verbose #39410 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:22:34 verbose #39411 > #endif
00:22:34 verbose #39412 > type std_sync_Arc<'T> = class end
00:22:34 verbose #39413 > #if FABLE_COMPILER
00:22:34 verbose #39414 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:22:34 verbose #39415 > #endif
00:22:34 verbose #39416 > type std_sync_Mutex<'T> = class end
00:22:34 verbose #39417 > #if FABLE_COMPILER
00:22:34 verbose #39418 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:22:34 verbose #39419 > #endif
00:22:34 verbose #39420 > type std_sync_MutexGuard<'T> = class end
00:22:34 verbose #39421 > #if FABLE_COMPILER
00:22:34 verbose #39422 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:22:34 verbose #39423 > #endif
00:22:34 verbose #39424 > type std_sync_PoisonError<'T> = class end
00:22:34 verbose #39425 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:22:34 verbose #39426 > _.Dispose () = f ()
00:22:34 verbose #39427 > ...
00:22:41 verbose #39428 >
00:22:41 verbose #39429 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:41 verbose #39430 > module SpiralTrace =
00:22:41 verbose #39431 > let trace x =
00:22:41 verbose #39432 > #if !INTERACTIVE
00:22:41 verbose #39433 > Trace.trace x
00:22:41 verbose #39434 > #else
00:22:41 verbose #39435 > trace x
00:22:41 verbose #39436 > #endif
00:22:41 verbose #39437 >
00:22:41 verbose #39438 > type TraceLevel =
00:22:41 verbose #39439 > #if !INTERACTIVE
00:22:41 verbose #39440 > Trace.US0
00:22:41 verbose #39441 > #else
00:22:41 verbose #39442 > US0
00:22:41 verbose #39443 > #endif
00:22:41 verbose #39444 >
00:22:41 verbose #39445 > module SpiralCrypto =
00:22:41 verbose #39446 > let hash_text x =
00:22:41 verbose #39447 > #if !INTERACTIVE
00:22:41 verbose #39448 > Crypto.hash_text x
00:22:41 verbose #39449 > #else
00:22:41 verbose #39450 > hash_text x
00:22:41 verbose #39451 > #endif
00:22:41 verbose #39452 >
00:22:41 verbose #39453 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:22:41 verbose #39454 >
00:22:41 verbose #39455 > module SpiralAsync =
00:22:41 verbose #39456 > let merge_cancellation_token_with_default_async x =
00:22:41 verbose #39457 > #if !INTERACTIVE
00:22:41 verbose #39458 > Async_.merge_cancellation_token_with_default_async x
00:22:41 verbose #39459 > #else
00:22:41 verbose #39460 > merge_cancellation_token_with_default_async x
00:22:41 verbose #39461 > #endif
00:22:41 verbose #39462 >
00:22:41 verbose #39463 > module SpiralThreading =
00:22:41 verbose #39464 > let new_disposable_token x =
00:22:41 verbose #39465 > #if !INTERACTIVE
00:22:41 verbose #39466 > Threading.new_disposable_token x
00:22:41 verbose #39467 > #else
00:22:41 verbose #39468 > new_disposable_token x
00:22:41 verbose #39469 > #endif
00:22:41 verbose #39470 >
00:22:41 verbose #39471 > module Spi...
00:22:41 verbose #39472 >
00:22:41 verbose #39473 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:41 verbose #39474 > #if !INTERACTIVE
00:22:41 verbose #39475 > namespace Polyglot
00:22:41 verbose #39476 > #endif
00:22:41 verbose #39477 >
00:22:41 verbose #39478 > module Common =
00:22:41 verbose #39479 >
00:22:41 verbose #39480 > #if !INTERACTIVE
00:22:41 verbose #39481 > open Lib
00:22:41 verbose #39482 > #endif
00:22:41 verbose #39483 >
00:22:41 verbose #39484 > let nl = System.Environment.NewLine
00:22:41 verbose #39485 > let q = @""""
00:22:41 verbose #39486 >
00:22:41 verbose #39487 > let inline cons head tail = head :: tail
00:22:41 verbose #39488 >
00:22:41 verbose #39489 > /// ## memoize
00:22:41 verbose #39490 > let inline memoize fn =
00:22:41 verbose #39491 > let result = lazy fn ()
00:22:41 verbose #39492 > fun () -> result.Value
00:22:41 verbose #39493 >
00:22:41 verbose #39494 > /// ## TraceLevel
00:22:41 verbose #39495 > type TraceLevel =
00:22:41 verbose #39496 > | Verbose
00:22:41 verbose #39497 > | Debug
00:22:41 verbose #39498 > | Info
00:22:41 verbose #39499 > | Warning
00:22:41 verbose #39500 > | Critical
00:22:41 verbose #39501 >
00:22:41 verbose #39502 > let inline _locals () = ""
00:22:41 verbose #39503 >
00:22:41 verbose #39504 > /// ## trace
00:22:41 verbose #39505 > let to_trace_level = function
00:22:41 verbose #39506 > | Verbose -> SpiralTrace.TraceLevel.US0_0
00:22:41 verbose #39507 > | Debug -> SpiralTrace.TraceLevel.US0_1
00:22:41 verbose #39508 > | Info -> SpiralTrace.TraceLevel.US0_2
00:22:41 verbose #39509 > | Warning -> SpiralTrace.TraceLevel.US0_3
00:22:41 verbose #39510 > | Critical -> Spir...
00:22:41 verbose #39511 >
00:22:41 verbose #39512 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:41 verbose #39513 > #if !INTERACTIVE
00:22:41 verbose #39514 > namespace Polyglot
00:22:41 verbose #39515 > #endif
00:22:41 verbose #39516 >
00:22:41 verbose #39517 > module CommonFSharp =
00:22:41 verbose #39518 >
00:22:41 verbose #39519 > open Common
00:22:41 verbose #39520 >
00:22:41 verbose #39521 > /// ## getUnionCaseName
00:22:41 verbose #39522 > let inline getUnionCaseName<'T> (x: 'T) =
00:22:41 verbose #39523 > match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:22:41 verbose #39524 > | case, _ -> case.Name
00:22:41 verbose #39525 >
00:22:41 verbose #39526 >
00:22:41 verbose #39527 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:41 verbose #39528 > #if !INTERACTIVE
00:22:41 verbose #39529 > namespace Polyglot
00:22:41 verbose #39530 > #endif
00:22:41 verbose #39531 >
00:22:41 verbose #39532 > module Async =
00:22:41 verbose #39533 >
00:22:41 verbose #39534 > #if !INTERACTIVE
00:22:41 verbose #39535 > open Lib
00:22:41 verbose #39536 > #endif
00:22:41 verbose #39537 >
00:22:41 verbose #39538 > open Common
00:22:41 verbose #39539 >
00:22:41 verbose #39540 > /// ## choice
00:22:41 verbose #39541 > let inline choice asyncs = async {
00:22:41 verbose #39542 > let e = Event<_> ()
00:22:41 verbose #39543 > use cts = new System.Threading.CancellationTokenSource ()
00:22:41 verbose #39544 > let fn =
00:22:41 verbose #39545 > asyncs
00:22:41 verbose #39546 > |> Seq.map (fun a -> async {
00:22:41 verbose #39547 > let! x = a
00:22:41 verbose #39548 > e.Trigger x
00:22:41 verbose #39549 > })
00:22:41 verbose #39550 > |> Async.Parallel
00:22:41 verbose #39551 > |> Async.Ignore
00:22:41 verbose #39552 > Async.Start (fn, cts.Token)
00:22:41 verbose #39553 > let! result = Async.AwaitEvent e.Publish
00:22:41 verbose #39554 > cts.Cancel ()
00:22:41 verbose #39555 > return result
00:22:41 verbose #39556 > }
00:22:41 verbose #39557 >
00:22:41 verbose #39558 > /// ## map
00:22:41 verbose #39559 > let inline map fn a = async {
00:22:41 verbose #39560 > let! x = a
00:22:41 verbose #39561 > return fn x
00:22:41 verbose #39562 > }
00:22:41 verbose #39563 >
00:22:41 verbose #39564 > /// ## catch
00:22:41 verbose #39565 > let inline catch a =
00:22:41 verbose #39566 > ...
00:22:42 verbose #39567 >
00:22:42 verbose #39568 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:42 verbose #39569 > #if !INTERACTIVE
00:22:42 verbose #39570 > namespace Polyglot
00:22:42 verbose #39571 > #endif
00:22:42 verbose #39572 >
00:22:42 verbose #39573 > module AsyncSeq =
00:22:42 verbose #39574 >
00:22:42 verbose #39575 > #if !INTERACTIVE
00:22:42 verbose #39576 > open Lib
00:22:42 verbose #39577 > #endif
00:22:42 verbose #39578 >
00:22:42 verbose #39579 > open Common
00:22:42 verbose #39580 >
00:22:42 verbose #39581 > /// ## subscribeEvent
00:22:42 verbose #39582 > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:22:42 verbose #39583 > let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:22:42 verbose #39584 > 'A>(event.AddHandler, event.RemoveHandler)
00:22:42 verbose #39585 > System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:22:42 verbose #39586 > event.EventArgs)
00:22:42 verbose #39587 > |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:22:42 verbose #39588 >
00:22:42 verbose #39589 > /// ## subscribeToken
00:22:42 verbose #39590 > let subscribeToken (token : System.Threading.CancellationToken) =
00:22:42 verbose #39591 > let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:22:42 verbose #39592 > System.Action tcs.SetResult |> token.Register |> ignore
00:22:42 verbose #39593 > let start = System.DateTime.Now.Ticks...
00:22:42 verbose #39594 >
00:22:42 verbose #39595 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:42 verbose #39596 > #if !INTERACTIVE
00:22:42 verbose #39597 > namespace Polyglot
00:22:42 verbose #39598 > #endif
00:22:42 verbose #39599 >
00:22:42 verbose #39600 > module Runtime =
00:22:42 verbose #39601 >
00:22:42 verbose #39602 > #if !INTERACTIVE
00:22:42 verbose #39603 > open Lib
00:22:42 verbose #39604 > #endif
00:22:42 verbose #39605 >
00:22:42 verbose #39606 > open Common
00:22:42 verbose #39607 >
00:22:42 verbose #39608 > /// ## parseArgs
00:22:42 verbose #39609 > let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
00:22:42 verbose #39610 > let assemblyName =
00:22:42 verbose #39611 > System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:22:42 verbose #39612 > let errorHandler : Argu.IExiter =
00:22:42 verbose #39613 > if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
00:22:42 verbose #39614 > List.contains assemblyName
00:22:42 verbose #39615 > then Argu.ExceptionExiter ()
00:22:42 verbose #39616 > else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
00:22:42 verbose #39617 > _ -> Some System.ConsoleColor.Red)
00:22:42 verbose #39618 >
00:22:42 verbose #39619 > let parser =
00:22:42 verbose #39620 > Argu.ArgumentParser.Create<'T> (
00:22:42 verbose #39621 > programName =
00:22:42 verbose #39622 > $"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
00:22:42 verbose #39623 > ...
00:22:42 verbose #39624 >
00:22:42 verbose #39625 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:42 verbose #39626 > #if !INTERACTIVE
00:22:42 verbose #39627 > namespace Polyglot
00:22:42 verbose #39628 > #endif
00:22:42 verbose #39629 >
00:22:42 verbose #39630 > module FileSystem =
00:22:42 verbose #39631 >
00:22:42 verbose #39632 > #if !INTERACTIVE
00:22:42 verbose #39633 > open Lib
00:22:42 verbose #39634 > #endif
00:22:42 verbose #39635 >
00:22:42 verbose #39636 > open Common
00:22:42 verbose #39637 > open SpiralFileSystem.Operators
00:22:42 verbose #39638 >
00:22:42 verbose #39639 > /// ## watchDirectory
00:22:42 verbose #39640 > [[<RequireQualifiedAccess>]]
00:22:42 verbose #39641 > type FileSystemChangeType =
00:22:42 verbose #39642 > | Failure
00:22:42 verbose #39643 > | Changed
00:22:42 verbose #39644 > | Created
00:22:42 verbose #39645 > | Deleted
00:22:42 verbose #39646 > | Renamed
00:22:42 verbose #39647 >
00:22:42 verbose #39648 > [[<RequireQualifiedAccess>]]
00:22:42 verbose #39649 > type FileSystemChange =
00:22:42 verbose #39650 > | Failure of exn: exn
00:22:42 verbose #39651 > | Changed of path: string * content: string option
00:22:42 verbose #39652 > | Created of path: string * content: string option
00:22:42 verbose #39653 > | Deleted of path: string
00:22:42 verbose #39654 > | Renamed of oldPath: string * (string * string option)
00:22:42 verbose #39655 >
00:22:42 verbose #39656 >
00:22:42 verbose #39657 > let inline watchDirectoryWithFilter filter shouldReadContent path =
00:22:42 verbose #39658 > let fullPath = path |> Syst...
00:22:43 verbose #39659 >
00:22:43 verbose #39660 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:43 verbose #39661 > #if !INTERACTIVE
00:22:43 verbose #39662 > open Lib
00:22:43 verbose #39663 > #endif
00:22:43 verbose #39664 >
00:22:43 verbose #39665 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:43 verbose #39666 > open Common
00:22:43 verbose #39667 > open SpiralFileSystem.Operators
00:22:43 verbose #39668 >
00:22:43 verbose #39669 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:22:43 verbose #39670 > let repositoryRoot = SpiralFileSystem.get_repository_root ()
00:22:43 verbose #39671 > let tmpSpiralPath = repositoryRoot </> "target/polyglot/plotting"
00:22:43 verbose #39672 > let linePlotsDataPath = tmpSpiralPath </> "line_data"
00:22:43 verbose #39673 > let linePlotsSvgPath = tmpSpiralPath </> "line_svg"
00:22:43 verbose #39674 >
00:22:43 verbose #39675 > [[ tmpSpiralPath; linePlotsDataPath; linePlotsSvgPath ]]
00:22:43 verbose #39676 > |> List.iter (fun dir -> if Directory.Exists dir |> not then
00:22:43 verbose #39677 > Directory.CreateDirectory dir |> ignore)
00:22:43 verbose #39678 >
00:22:43 verbose #39679 > Formatter.Register<struct (string * string * string * struct (string * float
00:22:43 verbose #39680 > array * float array) array)> (
00:22:43 verbose #39681 > (fun struct (caption, x_desc, y_desc, ys) ->
00:22:43 verbose #39682 > let json = (caption, x_desc, y_desc, ys) |> FSharp.Json.Json.serialize
00:22:43 verbose #39683 > async {
00:22:43 verbose #39684 > let hashHex = json |> SpiralCrypto.hash_text
00:22:43 verbose #39685 > let svgPath = linePlotsSvgPath </> $"...
00:22:43 verbose #39686 >
00:22:43 verbose #39687 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:43 verbose #39688 > //// test
00:22:43 verbose #39689 >
00:22:43 verbose #39690 > open testing
00:22:43 verbose #39691 >
00:22:43 verbose #39692 > ── spiral - import ─────────────────────────────────────────────────────────────
00:22:43 verbose #39693 > #r
00:22:43 verbose #39694 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:43 verbose #39695 > otNet.Interactive.Spiral.dll"
00:22:43 verbose #39696 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:22:43 verbose #39697 > #r
00:22:43 verbose #39698 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:22:43 verbose #39699 > otNet.Interactive.dll"
00:22:43 verbose #39700 > open type Microsoft.DotNet.Interactive.Kernel
00:22:46 verbose #39701 > 00:22:45 debug #788 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:22:46 verbose #39702 >
00:22:46 verbose #39703 > ╭─[ 2.83s - stdout ]───────────────────────────────────────────────────────────╮
00:22:46 verbose #39704 > │ () │
00:22:46 verbose #39705 > │ │
00:22:46 verbose #39706 > │ │
00:22:46 verbose #39707 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:46 verbose #39708 >
00:22:46 verbose #39709 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:46 verbose #39710 > open listm'_operators
00:22:46 verbose #39711 > 00:22:45 debug #789 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e64bf2a90a345d89cdd6ddd595b9ba0300ca622361be11fe4860be895c5193a0/main.spi
00:22:47 verbose #39712 >
00:22:47 verbose #39713 > ╭─[ 641.68ms - stdout ]────────────────────────────────────────────────────────╮
00:22:47 verbose #39714 > │ () │
00:22:47 verbose #39715 > │ │
00:22:47 verbose #39716 > │ │
00:22:47 verbose #39717 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:47 verbose #39718 >
00:22:47 verbose #39719 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:47 verbose #39720 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:47 verbose #39721 > │ ## init_series │
00:22:47 verbose #39722 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:47 verbose #39723 >
00:22:47 verbose #39724 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:47 verbose #39725 > //// test
00:22:47 verbose #39726 >
00:22:47 verbose #39727 > inl x : a _ f64 = am'.init_series -3 3 0.01
00:22:47 verbose #39728 > inl y = x |> am.map math.square
00:22:47 verbose #39729 > "square", "x", "y", ;[[ "square", x, y ]]
00:22:47 verbose #39730 > 00:22:46 debug #790 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1d6348e0350ef71d618760922540f9af2cec06733766cfc42553e04b62961323/main.spi
00:22:47 verbose #39731 >
00:22:47 verbose #39732 > ╭─[ 708.04ms - return value ]──────────────────────────────────────────────────╮
00:22:47 verbose #39733 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:22:47 verbose #39734 > │ xmlns="http://www.w3.org/2000/svg"> │
00:22:47 verbose #39735 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:22:47 verbose #39736 > │ stroke="none"/> │
00:22:47 verbose #39737 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:22:47 verbose #39738 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:22:47 verbose #39739 > │ fill="#FFFFFF"> │
00:22:47 verbose #39740 > │ square │
00:22:47 verbose #39741 > │ </text> │
00:22:47 verbose #39742 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:22:47 verbose #39743 > │ y2="75"/> │
00:22:47 verbose #39744 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:22:47 verbose #39745 > │ y2="75"/> │
00:22:47 verbose #39746 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:22:47 verbose #39747 > │ y2="75"/> │
00:22:47 verbose #39748 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:22:47 verbose #39749 > │ y2="75"/> │
00:22:47 verbose #39750 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:22:47 verbose #39751 > │ ... │
00:22:47 verbose #39752 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:47 verbose #39753 >
00:22:47 verbose #39754 > ╭─[ 718.53ms - stdout ]────────────────────────────────────────────────────────╮
00:22:47 verbose #39755 > │ type Mut0 = {mutable l0 : int32} │
00:22:47 verbose #39756 > │ let rec method1 (v0 : Mut0) : bool = │
00:22:47 verbose #39757 > │ let v1 : int32 = v0.l0 │
00:22:47 verbose #39758 > │ let v2 : bool = v1 < 601 │
00:22:47 verbose #39759 > │ v2 │
00:22:47 verbose #39760 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:22:47 verbose #39761 > │ let v2 : int32 = v1.l0 │
00:22:47 verbose #39762 > │ let v3 : bool = v2 < v0 │
00:22:47 verbose #39763 > │ v3 │
00:22:47 verbose #39764 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:22:47 verbose #39765 > │ []) * (float [])) [])) = │
00:22:47 verbose #39766 > │ let v0 : (float []) = Array.zeroCreate<float> (601) │
00:22:47 verbose #39767 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:22:47 verbose #39768 > │ while method1(v1) do │
00:22:47 verbose #39769 > │ let v3 : int32 = v1.l0 │
00:22:47 verbose #39770 > │ let v4 : float = float v3 │
00:22:47 verbose #39771 > │ let v5 : float = 0.01 * v4 │
00:22:47 verbose #39772 > │ let v6 : float = -3.0 + v5 │
00:22:47 verbose #39773 > │ v0.[int v3] <- v6 │
00:22:47 verbose #39774 > │ let v7 : int32 = v3 + 1 │
00:22:47 verbose #39775 > │ v1.l0 <- v7 │
00:22:47 verbose #39776 > │ () │
00:22:47 verbose #39777 > │ let v8 : int32 = v0.Length │
00:22:47 verbose #39778 > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:22:47 verbose #39779 > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:22:47 verbose #39780 > │ while method2(v8, v10) do │
00:22:47 verbose #39781 > │ let v12 : int32 = v10.l0 │
00:22:47 verbose #39782 > │ let v13 : float = v0.[int v12] │
00:22:47 verbose #39783 > │ let v14 : float = v13 ** 2.0 │
00:22:47 verbose #39784 > │ v9.[int v12] <- v14 │
00:22:47 verbose #39785 > │ let v15 : int32 = v12 + 1 │
00:22:47 verbose #39786 > │ v10.l0 <- v15 │
00:22:47 verbose #39787 > │ () │
00:22:47 verbose #39788 > │ let v16 : string = "square" │
00:22:47 verbose #39789 > │ let v17 : (struct (string * (float []) * (float [])) []) = [|struct │
00:22:47 verbose #39790 > │ (v16, v0, v9)|] │
00:22:47 verbose #39791 > │ let v18 : string = "x" │
00:22:47 verbose #39792 > │ let v19 : string = "y" │
00:22:47 verbose #39793 > │ struct (v16, v18, v19, v17) │
00:22:47 verbose #39794 > │ method0() │
00:22:47 verbose #39795 > │ │
00:22:47 verbose #39796 > │ │
00:22:47 verbose #39797 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:47 verbose #39798 >
00:22:47 verbose #39799 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:47 verbose #39800 > //// test
00:22:47 verbose #39801 >
00:22:47 verbose #39802 > inl x : a _ f64 = am'.init_series -10 10 0.1
00:22:47 verbose #39803 > inl y_sin = x |> am.map sin
00:22:47 verbose #39804 > inl y_cos = x |> am.map cos
00:22:47 verbose #39805 > "sin cos", "x", "y", ;[[ "sin", x, y_sin; "cos", x, y_cos ]]
00:22:48 verbose #39806 > 00:22:47 debug #791 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b143b2418a9c0335230a140d0b8be5348b3edd96b992e1c2df4b674b4a5b9456/main.spi
00:22:48 verbose #39807 >
00:22:48 verbose #39808 > ╭─[ 710.10ms - return value ]──────────────────────────────────────────────────╮
00:22:48 verbose #39809 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:22:48 verbose #39810 > │ xmlns="http://www.w3.org/2000/svg"> │
00:22:48 verbose #39811 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:22:48 verbose #39812 > │ stroke="none"/> │
00:22:48 verbose #39813 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:22:48 verbose #39814 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:22:48 verbose #39815 > │ fill="#FFFFFF"> │
00:22:48 verbose #39816 > │ sin cos │
00:22:48 verbose #39817 > │ </text> │
00:22:48 verbose #39818 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:22:48 verbose #39819 > │ y2="75"/> │
00:22:48 verbose #39820 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:22:48 verbose #39821 > │ y2="75"/> │
00:22:48 verbose #39822 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:22:48 verbose #39823 > │ y2="75"/> │
00:22:48 verbose #39824 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:22:48 verbose #39825 > │ y2="75"/> │
00:22:48 verbose #39826 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424" │
00:22:48 verbose #39827 > │ x2="10... │
00:22:48 verbose #39828 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:48 verbose #39829 >
00:22:48 verbose #39830 > ╭─[ 725.97ms - stdout ]────────────────────────────────────────────────────────╮
00:22:48 verbose #39831 > │ type Mut0 = {mutable l0 : int32} │
00:22:48 verbose #39832 > │ let rec method1 (v0 : Mut0) : bool = │
00:22:48 verbose #39833 > │ let v1 : int32 = v0.l0 │
00:22:48 verbose #39834 > │ let v2 : bool = v1 < 201 │
00:22:48 verbose #39835 > │ v2 │
00:22:48 verbose #39836 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:22:48 verbose #39837 > │ let v2 : int32 = v1.l0 │
00:22:48 verbose #39838 > │ let v3 : bool = v2 < v0 │
00:22:48 verbose #39839 > │ v3 │
00:22:48 verbose #39840 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:22:48 verbose #39841 > │ []) * (float [])) [])) = │
00:22:48 verbose #39842 > │ let v0 : (float []) = Array.zeroCreate<float> (201) │
00:22:48 verbose #39843 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:22:48 verbose #39844 > │ while method1(v1) do │
00:22:48 verbose #39845 > │ let v3 : int32 = v1.l0 │
00:22:48 verbose #39846 > │ let v4 : float = float v3 │
00:22:48 verbose #39847 > │ let v5 : float = 0.1 * v4 │
00:22:48 verbose #39848 > │ let v6 : float = -10.0 + v5 │
00:22:48 verbose #39849 > │ v0.[int v3] <- v6 │
00:22:48 verbose #39850 > │ let v7 : int32 = v3 + 1 │
00:22:48 verbose #39851 > │ v1.l0 <- v7 │
00:22:48 verbose #39852 > │ () │
00:22:48 verbose #39853 > │ let v8 : int32 = v0.Length │
00:22:48 verbose #39854 > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:22:48 verbose #39855 > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:22:48 verbose #39856 > │ while method2(v8, v10) do │
00:22:48 verbose #39857 > │ let v12 : int32 = v10.l0 │
00:22:48 verbose #39858 > │ let v13 : float = v0.[int v12] │
00:22:48 verbose #39859 > │ let v14 : float = sin v13 │
00:22:48 verbose #39860 > │ v9.[int v12] <- v14 │
00:22:48 verbose #39861 > │ let v15 : int32 = v12 + 1 │
00:22:48 verbose #39862 > │ v10.l0 <- v15 │
00:22:48 verbose #39863 > │ () │
00:22:48 verbose #39864 > │ let v16 : (float []) = Array.zeroCreate<float> (v8) │
00:22:48 verbose #39865 > │ let v17 : Mut0 = {l0 = 0} : Mut0 │
00:22:48 verbose #39866 > │ while method2(v8, v17) do │
00:22:48 verbose #39867 > │ let v19 : int32 = v17.l0 │
00:22:48 verbose #39868 > │ let v20 : float = v0.[int v19] │
00:22:48 verbose #39869 > │ let v21 : float = cos v20 │
00:22:48 verbose #39870 > │ v16.[int v19] <- v21 │
00:22:48 verbose #39871 > │ let v22 : int32 = v19 + 1 │
00:22:48 verbose #39872 > │ v17.l0 <- v22 │
00:22:48 verbose #39873 > │ () │
00:22:48 verbose #39874 > │ let v23 : string = "sin" │
00:22:48 verbose #39875 > │ let v24 : string = "cos" │
00:22:48 verbose #39876 > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:22:48 verbose #39877 > │ (v23, v0, v9); struct (v24, v0, v16)|] │
00:22:48 verbose #39878 > │ let v26 : string = "sin cos" │
00:22:48 verbose #39879 > │ let v27 : string = "x" │
00:22:48 verbose #39880 > │ let v28 : string = "y" │
00:22:48 verbose #39881 > │ struct (v26, v27, v28, v25) │
00:22:48 verbose #39882 > │ method0() │
00:22:48 verbose #39883 > │ │
00:22:48 verbose #39884 > │ │
00:22:48 verbose #39885 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:48 verbose #39886 >
00:22:48 verbose #39887 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:48 verbose #39888 > //// test
00:22:48 verbose #39889 >
00:22:48 verbose #39890 > inl y_pos y0 vy0 ay t =
00:22:48 verbose #39891 > y0 + vy0 * t + ay * (t |> math.square) / 2
00:22:48 verbose #39892 >
00:22:48 verbose #39893 > inl x : a _ f64 = am'.init_series 0 5 0.01
00:22:48 verbose #39894 > inl y = x |> am.map (y_pos 0 20 -9.8)
00:22:48 verbose #39895 > "projectile motion", "time (s)", "", ;[[ "height of projectile (m)", x, y ]]
00:22:49 verbose #39896 > 00:22:48 debug #792 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b1d2b71d74d79753bbff7e5bd2106f7fce22535b438c21b7868ad2c7369ca58e/main.spi
00:22:49 verbose #39897 >
00:22:49 verbose #39898 > ╭─[ 700.32ms - return value ]──────────────────────────────────────────────────╮
00:22:49 verbose #39899 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:22:49 verbose #39900 > │ xmlns="http://www.w3.org/2000/svg"> │
00:22:49 verbose #39901 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:22:49 verbose #39902 > │ stroke="none"/> │
00:22:49 verbose #39903 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:22:49 verbose #39904 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:22:49 verbose #39905 > │ fill="#FFFFFF"> │
00:22:49 verbose #39906 > │ projectile motion │
00:22:49 verbose #39907 > │ </text> │
00:22:49 verbose #39908 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:22:49 verbose #39909 > │ y2="75"/> │
00:22:49 verbose #39910 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:22:49 verbose #39911 > │ y2="75"/> │
00:22:49 verbose #39912 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:22:49 verbose #39913 > │ y2="75"/> │
00:22:49 verbose #39914 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:22:49 verbose #39915 > │ y2="75"/> │
00:22:49 verbose #39916 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="42... │
00:22:49 verbose #39917 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:49 verbose #39918 >
00:22:49 verbose #39919 > ╭─[ 710.31ms - stdout ]────────────────────────────────────────────────────────╮
00:22:49 verbose #39920 > │ type Mut0 = {mutable l0 : int32} │
00:22:49 verbose #39921 > │ let rec method1 (v0 : Mut0) : bool = │
00:22:49 verbose #39922 > │ let v1 : int32 = v0.l0 │
00:22:49 verbose #39923 > │ let v2 : bool = v1 < 501 │
00:22:49 verbose #39924 > │ v2 │
00:22:49 verbose #39925 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:22:49 verbose #39926 > │ let v2 : int32 = v1.l0 │
00:22:49 verbose #39927 > │ let v3 : bool = v2 < v0 │
00:22:49 verbose #39928 > │ v3 │
00:22:49 verbose #39929 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:22:49 verbose #39930 > │ []) * (float [])) [])) = │
00:22:49 verbose #39931 > │ let v0 : (float []) = Array.zeroCreate<float> (501) │
00:22:49 verbose #39932 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:22:49 verbose #39933 > │ while method1(v1) do │
00:22:49 verbose #39934 > │ let v3 : int32 = v1.l0 │
00:22:49 verbose #39935 > │ let v4 : float = float v3 │
00:22:49 verbose #39936 > │ let v5 : float = 0.01 * v4 │
00:22:49 verbose #39937 > │ v0.[int v3] <- v5 │
00:22:49 verbose #39938 > │ let v6 : int32 = v3 + 1 │
00:22:49 verbose #39939 > │ v1.l0 <- v6 │
00:22:49 verbose #39940 > │ () │
00:22:49 verbose #39941 > │ let v7 : int32 = v0.Length │
00:22:49 verbose #39942 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:22:49 verbose #39943 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:22:49 verbose #39944 > │ while method2(v7, v9) do │
00:22:49 verbose #39945 > │ let v11 : int32 = v9.l0 │
00:22:49 verbose #39946 > │ let v12 : float = v0.[int v11] │
00:22:49 verbose #39947 > │ let v13 : float = 20.0 * v12 │
00:22:49 verbose #39948 > │ let v14 : float = v12 ** 2.0 │
00:22:49 verbose #39949 > │ let v15 : float = -9.8 * v14 │
00:22:49 verbose #39950 > │ let v16 : float = v15 / 2.0 │
00:22:49 verbose #39951 > │ let v17 : float = v13 + v16 │
00:22:49 verbose #39952 > │ v8.[int v11] <- v17 │
00:22:49 verbose #39953 > │ let v18 : int32 = v11 + 1 │
00:22:49 verbose #39954 > │ v9.l0 <- v18 │
00:22:49 verbose #39955 > │ () │
00:22:49 verbose #39956 > │ let v19 : string = "height of projectile (m)" │
00:22:49 verbose #39957 > │ let v20 : (struct (string * (float []) * (float [])) []) = [|struct │
00:22:49 verbose #39958 > │ (v19, v0, v8)|] │
00:22:49 verbose #39959 > │ let v21 : string = "projectile motion" │
00:22:49 verbose #39960 > │ let v22 : string = "time (s)" │
00:22:49 verbose #39961 > │ let v23 : string = "" │
00:22:49 verbose #39962 > │ struct (v21, v22, v23, v20) │
00:22:49 verbose #39963 > │ method0() │
00:22:49 verbose #39964 > │ │
00:22:49 verbose #39965 > │ │
00:22:49 verbose #39966 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:49 verbose #39967 >
00:22:49 verbose #39968 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:49 verbose #39969 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:49 verbose #39970 > │ ## velocity_cf │
00:22:49 verbose #39971 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:49 verbose #39972 >
00:22:49 verbose #39973 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:49 verbose #39974 > type mass = f64
00:22:49 verbose #39975 > type time = f64
00:22:49 verbose #39976 > type position = f64
00:22:49 verbose #39977 > type velocity = f64
00:22:49 verbose #39978 > type force = f64
00:22:49 verbose #39979 >
00:22:49 verbose #39980 > type velocity_cf = mass -> velocity -> list force -> (time -> velocity)
00:22:49 verbose #39981 >
00:22:49 verbose #39982 > inl velocity_cf m v0 fs =
00:22:49 verbose #39983 > inl f_net = fs |> listm'.sum
00:22:49 verbose #39984 > inl a0 = f_net / m
00:22:49 verbose #39985 > inl v t = v0 + a0 * t
00:22:49 verbose #39986 > v
00:22:49 verbose #39987 > 00:22:48 debug #793 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3de7f56887e0e36334e43cebe450e8439f99e14e2fc2c04db429f773565c3996/main.spi
00:22:49 verbose #39988 >
00:22:49 verbose #39989 > ╭─[ 621.50ms - stdout ]────────────────────────────────────────────────────────╮
00:22:49 verbose #39990 > │ () │
00:22:49 verbose #39991 > │ │
00:22:49 verbose #39992 > │ │
00:22:49 verbose #39993 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:49 verbose #39994 >
00:22:49 verbose #39995 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:49 verbose #39996 > //// test
00:22:49 verbose #39997 >
00:22:49 verbose #39998 > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 0
00:22:49 verbose #39999 > |> _assert_eq 0.6
00:22:49 verbose #40000 >
00:22:49 verbose #40001 > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 1
00:22:49 verbose #40002 > |> _assert_eq 0.2
00:22:50 verbose #40003 > 00:22:49 debug #794 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/aa7edfda41eb2dea8027035877f2a8370bce1b6ae621bb212b1d2b434613ddf9/main.spi
00:22:50 verbose #40004 >
00:22:50 verbose #40005 > ╭─[ 686.89ms - stdout ]────────────────────────────────────────────────────────╮
00:22:50 verbose #40006 > │ let rec method0 () : unit = │
00:22:50 verbose #40007 > │ let v0 : string = "assert_eq" │
00:22:50 verbose #40008 > │ let v1 : string = $"{v0} / actual: %A{0.6} / expected: %A{0.6}" │
00:22:50 verbose #40009 > │ System.Console.WriteLine v1 │
00:22:50 verbose #40010 > │ let v2 : string = $"{v0} / actual: %A{0.2} / expected: %A{0.2}" │
00:22:50 verbose #40011 > │ System.Console.WriteLine v2 │
00:22:50 verbose #40012 > │ () │
00:22:50 verbose #40013 > │ method0() │
00:22:50 verbose #40014 > │ │
00:22:50 verbose #40015 > │ assert_eq / actual: 0.6 / expected: 0.6 │
00:22:50 verbose #40016 > │ assert_eq / actual: 0.2 / expected: 0.2 │
00:22:50 verbose #40017 > │ │
00:22:50 verbose #40018 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:50 verbose #40019 >
00:22:50 verbose #40020 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:50 verbose #40021 > //// test
00:22:50 verbose #40022 >
00:22:50 verbose #40023 > inl x = am'.init_series 0 4 0.1
00:22:50 verbose #40024 > inl y = x |> am.map (velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]])
00:22:50 verbose #40025 > "car on an air track", "time (s)", "", ;[[ "velocity of car (m/s)", x, y ]]
00:22:51 verbose #40026 > 00:22:50 debug #795 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/149c2bbd1b5ac9497f2a5c579eb5e10bca386ebf2048befafebfca4b2061ce84/main.spi
00:22:51 verbose #40027 >
00:22:51 verbose #40028 > ╭─[ 796.19ms - return value ]──────────────────────────────────────────────────╮
00:22:51 verbose #40029 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:22:51 verbose #40030 > │ xmlns="http://www.w3.org/2000/svg"> │
00:22:51 verbose #40031 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:22:51 verbose #40032 > │ stroke="none"/> │
00:22:51 verbose #40033 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:22:51 verbose #40034 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:22:51 verbose #40035 > │ fill="#FFFFFF"> │
00:22:51 verbose #40036 > │ car on an air track │
00:22:51 verbose #40037 > │ </text> │
00:22:51 verbose #40038 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:22:51 verbose #40039 > │ y2="75"/> │
00:22:51 verbose #40040 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:22:51 verbose #40041 > │ y2="75"/> │
00:22:51 verbose #40042 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:22:51 verbose #40043 > │ y2="75"/> │
00:22:51 verbose #40044 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:22:51 verbose #40045 > │ y2="75"/> │
00:22:51 verbose #40046 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1=... │
00:22:51 verbose #40047 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:51 verbose #40048 >
00:22:51 verbose #40049 > ╭─[ 803.52ms - stdout ]────────────────────────────────────────────────────────╮
00:22:51 verbose #40050 > │ type Mut0 = {mutable l0 : int32} │
00:22:51 verbose #40051 > │ let rec method1 (v0 : Mut0) : bool = │
00:22:51 verbose #40052 > │ let v1 : int32 = v0.l0 │
00:22:51 verbose #40053 > │ let v2 : bool = v1 < 41 │
00:22:51 verbose #40054 > │ v2 │
00:22:51 verbose #40055 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:22:51 verbose #40056 > │ let v2 : int32 = v1.l0 │
00:22:51 verbose #40057 > │ let v3 : bool = v2 < v0 │
00:22:51 verbose #40058 > │ v3 │
00:22:51 verbose #40059 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:22:51 verbose #40060 > │ []) * (float [])) [])) = │
00:22:51 verbose #40061 > │ let v0 : (float []) = Array.zeroCreate<float> (41) │
00:22:51 verbose #40062 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:22:51 verbose #40063 > │ while method1(v1) do │
00:22:51 verbose #40064 > │ let v3 : int32 = v1.l0 │
00:22:51 verbose #40065 > │ let v4 : float = float v3 │
00:22:51 verbose #40066 > │ let v5 : float = 0.1 * v4 │
00:22:51 verbose #40067 > │ v0.[int v3] <- v5 │
00:22:51 verbose #40068 > │ let v6 : int32 = v3 + 1 │
00:22:51 verbose #40069 > │ v1.l0 <- v6 │
00:22:51 verbose #40070 > │ () │
00:22:51 verbose #40071 > │ let v7 : int32 = v0.Length │
00:22:51 verbose #40072 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:22:51 verbose #40073 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:22:51 verbose #40074 > │ while method2(v7, v9) do │
00:22:51 verbose #40075 > │ let v11 : int32 = v9.l0 │
00:22:51 verbose #40076 > │ let v12 : float = v0.[int v11] │
00:22:51 verbose #40077 > │ let v13 : float = -0.39999999999999997 * v12 │
00:22:51 verbose #40078 > │ let v14 : float = 0.6 + v13 │
00:22:51 verbose #40079 > │ v8.[int v11] <- v14 │
00:22:51 verbose #40080 > │ let v15 : int32 = v11 + 1 │
00:22:51 verbose #40081 > │ v9.l0 <- v15 │
00:22:51 verbose #40082 > │ () │
00:22:51 verbose #40083 > │ let v16 : string = "velocity of car (m/s)" │
00:22:51 verbose #40084 > │ let v17 : (struct (string * (float []) * (float [])) []) = [|struct │
00:22:51 verbose #40085 > │ (v16, v0, v8)|] │
00:22:51 verbose #40086 > │ let v18 : string = "car on an air track" │
00:22:51 verbose #40087 > │ let v19 : string = "time (s)" │
00:22:51 verbose #40088 > │ let v20 : string = "" │
00:22:51 verbose #40089 > │ struct (v18, v19, v20, v17) │
00:22:51 verbose #40090 > │ method0() │
00:22:51 verbose #40091 > │ │
00:22:51 verbose #40092 > │ │
00:22:51 verbose #40093 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:51 verbose #40094 >
00:22:51 verbose #40095 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:51 verbose #40096 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:51 verbose #40097 > │ ## derivative │
00:22:51 verbose #40098 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:51 verbose #40099 >
00:22:51 verbose #40100 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:51 verbose #40101 > type derivative = (f64 -> f64) -> f64 -> f64
00:22:51 verbose #40102 >
00:22:51 verbose #40103 > inl derivative dt : derivative =
00:22:51 verbose #40104 > fun x t =>
00:22:51 verbose #40105 > (x (t + dt / 2) - x (t - dt / 2)) / dt
00:22:51 verbose #40106 > 00:22:50 debug #796 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/23629a08d87ba5a5dd4d77c8cdf34cd603efc799a06fec52f53753369662d9c2/main.spi
00:22:52 verbose #40107 >
00:22:52 verbose #40108 > ╭─[ 630.69ms - stdout ]────────────────────────────────────────────────────────╮
00:22:52 verbose #40109 > │ () │
00:22:52 verbose #40110 > │ │
00:22:52 verbose #40111 > │ │
00:22:52 verbose #40112 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:52 verbose #40113 >
00:22:52 verbose #40114 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:52 verbose #40115 > //// test
00:22:52 verbose #40116 >
00:22:52 verbose #40117 > derivative 1 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40118 > |> _assert_approx_eq None 0.25
00:22:52 verbose #40119 >
00:22:52 verbose #40120 > derivative 0.001 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40121 > |> _assert_approx_eq None 0.0000002499998827953931
00:22:52 verbose #40122 >
00:22:52 verbose #40123 > derivative 0.000001 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40124 > |> _assert_approx_eq None 0.000000000001000088900582341
00:22:52 verbose #40125 >
00:22:52 verbose #40126 > derivative 0.000000001 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40127 > |> _assert_approx_eq None 0.00000008274037099909037
00:22:52 verbose #40128 >
00:22:52 verbose #40129 > derivative 0.000000000001 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40130 > |> _assert_approx_eq None 0.00008890058234101161
00:22:52 verbose #40131 >
00:22:52 verbose #40132 > derivative 0.000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40133 > |> _assert_approx_eq None -0.0007992778373592246
00:22:52 verbose #40134 >
00:22:52 verbose #40135 > derivative 0.000000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:22:52 verbose #40136 > |> _assert_approx_eq None -1
00:22:52 verbose #40137 > 00:22:51 debug #797 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cf167531bab4cc8d3c0b9ae26106c08d0ddef57b9f4b11136a626ef864b24355/main.spi
00:22:52 verbose #40138 >
00:22:52 verbose #40139 > ╭─[ 703.76ms - stdout ]────────────────────────────────────────────────────────╮
00:22:52 verbose #40140 > │ let rec method0 () : unit = │
00:22:52 verbose #40141 > │ let v0 : string = "assert_approx_eq" │
00:22:52 verbose #40142 > │ let v1 : string = $"{v0} / actual: %A{0.25} / expected: %A{0.25}" │
00:22:52 verbose #40143 > │ System.Console.WriteLine v1 │
00:22:52 verbose #40144 > │ let v2 : string = $"{v0} / actual: %A{2.499998827953931E-07} / expected: │
00:22:52 verbose #40145 > │ %A{2.499998827953931E-07}" │
00:22:52 verbose #40146 > │ System.Console.WriteLine v2 │
00:22:52 verbose #40147 > │ let v3 : string = $"{v0} / actual: %A{1.000088900582341E-12} / expected: │
00:22:52 verbose #40148 > │ %A{1.000088900582341E-12}" │
00:22:52 verbose #40149 > │ System.Console.WriteLine v3 │
00:22:52 verbose #40150 > │ let v4 : string = $"{v0} / actual: %A{8.274037099909037E-08} / expected: │
00:22:52 verbose #40151 > │ %A{8.274037099909037E-08}" │
00:22:52 verbose #40152 > │ System.Console.WriteLine v4 │
00:22:52 verbose #40153 > │ let v5 : string = $"{v0} / actual: %A{8.890058234101161E-05} / expected: │
00:22:52 verbose #40154 > │ %A{8.890058234101161E-05}" │
00:22:52 verbose #40155 > │ System.Console.WriteLine v5 │
00:22:52 verbose #40156 > │ let v6 : string = $"{v0} / actual: %A{-0.0007992778373592246} / │
00:22:52 verbose #40157 > │ expected: %A{-0.0007992778373592246}" │
00:22:52 verbose #40158 > │ System.Console.WriteLine v6 │
00:22:52 verbose #40159 > │ let v7 : string = $"{v0} / actual: %A{-1.0} / expected: %A{-1.0}" │
00:22:52 verbose #40160 > │ System.Console.WriteLine v7 │
00:22:52 verbose #40161 > │ () │
00:22:52 verbose #40162 > │ method0() │
00:22:52 verbose #40163 > │ │
00:22:52 verbose #40164 > │ assert_approx_eq / actual: 0.25 / expected: 0.25 │
00:22:52 verbose #40165 > │ assert_approx_eq / actual: 2.499998828e-07 / expected: 2.499998828e-07 │
00:22:52 verbose #40166 > │ assert_approx_eq / actual: 1.000088901e-12 / expected: 1.000088901e-12 │
00:22:52 verbose #40167 > │ assert_approx_eq / actual: 8.2740371e-08 / expected: 8.2740371e-08 │
00:22:52 verbose #40168 > │ assert_approx_eq / actual: 8.890058234e-05 / expected: 8.890058234e-05 │
00:22:52 verbose #40169 > │ assert_approx_eq / actual: -0.0007992778374 / expected: -0.0007992778374 │
00:22:52 verbose #40170 > │ assert_approx_eq / actual: -1.0 / expected: -1.0 │
00:22:52 verbose #40171 > │ │
00:22:52 verbose #40172 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:52 verbose #40173 >
00:22:52 verbose #40174 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:52 verbose #40175 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:52 verbose #40176 > │ ## integration │
00:22:52 verbose #40177 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:52 verbose #40178 >
00:22:52 verbose #40179 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:52 verbose #40180 > type integration = (f64 -> f64) -> f64 -> f64 -> f64
00:22:52 verbose #40181 >
00:22:52 verbose #40182 > inl integral dt : integration =
00:22:52 verbose #40183 > fun f a b =>
00:22:52 verbose #40184 > inl rec loop t y =
00:22:52 verbose #40185 > if t < b
00:22:52 verbose #40186 > then loop (t + dt) (y + f t * dt)
00:22:52 verbose #40187 > else t, y
00:22:52 verbose #40188 > loop (a + dt / 2) 0
00:22:52 verbose #40189 > |> snd
00:22:53 verbose #40190 > 00:22:52 debug #798 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7d01742a1a1889441318235ac20e7e9ce841a93ad13c4679f5977084269530a3/main.spi
00:22:53 verbose #40191 >
00:22:53 verbose #40192 > ╭─[ 629.54ms - stdout ]────────────────────────────────────────────────────────╮
00:22:53 verbose #40193 > │ () │
00:22:53 verbose #40194 > │ │
00:22:53 verbose #40195 > │ │
00:22:53 verbose #40196 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:53 verbose #40197 >
00:22:53 verbose #40198 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:53 verbose #40199 > //// test
00:22:53 verbose #40200 >
00:22:53 verbose #40201 > integral 0.01 math.square 0 1
00:22:53 verbose #40202 > |> _assert_approx_eq None 0.33332500000000004
00:22:53 verbose #40203 > 00:22:52 debug #799 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d43e5c0523f4662633388957a1f6bd2308489a7c64c92fecf54d985a8d4c5eed/main.spi
00:22:54 verbose #40204 >
00:22:54 verbose #40205 > ╭─[ 750.63ms - stdout ]────────────────────────────────────────────────────────╮
00:22:54 verbose #40206 > │ let rec method0 () : unit = │
00:22:54 verbose #40207 > │ let v0 : string = "assert_approx_eq" │
00:22:54 verbose #40208 > │ let v1 : string = $"{v0} / actual: %A{0.3333250000000004} / expected: │
00:22:54 verbose #40209 > │ %A{0.33332500000000004}" │
00:22:54 verbose #40210 > │ System.Console.WriteLine v1 │
00:22:54 verbose #40211 > │ () │
00:22:54 verbose #40212 > │ method0() │
00:22:54 verbose #40213 > │ │
00:22:54 verbose #40214 > │ assert_approx_eq / actual: 0.333325 / expected: 0.333325 │
00:22:54 verbose #40215 > │ │
00:22:54 verbose #40216 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:54 verbose #40217 >
00:22:54 verbose #40218 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:54 verbose #40219 > inl integral' dt : integration =
00:22:54 verbose #40220 > fun f a b =>
00:22:54 verbose #40221 > listm'.init_series (a + dt / 2) (b - dt / 2) dt
00:22:54 verbose #40222 > |> listm.map (f >> (*) dt)
00:22:54 verbose #40223 > |> listm'.sum
00:22:54 verbose #40224 > 00:22:53 debug #800 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0b3ade1357c3ee3fc2702d522074e8d32da0874506af5cc97d2f8eaef051f567/main.spi
00:22:54 verbose #40225 >
00:22:54 verbose #40226 > ╭─[ 633.99ms - stdout ]────────────────────────────────────────────────────────╮
00:22:54 verbose #40227 > │ () │
00:22:54 verbose #40228 > │ │
00:22:54 verbose #40229 > │ │
00:22:54 verbose #40230 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:54 verbose #40231 >
00:22:54 verbose #40232 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:54 verbose #40233 > //// test
00:22:54 verbose #40234 >
00:22:54 verbose #40235 > integral' 0.1 math.square 0 1
00:22:54 verbose #40236 > |> _assert_approx_eq None (integral 0.1 math.square 0 1)
00:22:55 verbose #40237 > 00:22:54 debug #801 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/be8acd51d63f796397041ce47a572c6864506e08992ae9d30cbc391722ddaefe/main.spi
00:22:55 verbose #40238 >
00:22:55 verbose #40239 > ╭─[ 679.73ms - stdout ]────────────────────────────────────────────────────────╮
00:22:55 verbose #40240 > │ let rec method0 () : unit = │
00:22:55 verbose #40241 > │ let v0 : string = "assert_approx_eq" │
00:22:55 verbose #40242 > │ let v1 : string = $"{v0} / actual: %A{0.3325000000000001} / expected: │
00:22:55 verbose #40243 > │ %A{0.33249999999999996}" │
00:22:55 verbose #40244 > │ System.Console.WriteLine v1 │
00:22:55 verbose #40245 > │ () │
00:22:55 verbose #40246 > │ method0() │
00:22:55 verbose #40247 > │ │
00:22:55 verbose #40248 > │ assert_approx_eq / actual: 0.3325 / expected: 0.3325 │
00:22:55 verbose #40249 > │ │
00:22:55 verbose #40250 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:55 verbose #40251 >
00:22:55 verbose #40252 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:55 verbose #40253 > inl integral'' dt : integration =
00:22:55 verbose #40254 > fun f a b =>
00:22:55 verbose #40255 > am'.init_series (a + dt / 2) (b - dt / 2) dt
00:22:55 verbose #40256 > |> am.map (f >> (*) dt)
00:22:55 verbose #40257 > |> am'.sum
00:22:56 verbose #40258 > 00:22:54 debug #802 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3fe318720294917a5d18b2886c02619290ad2de8ee3352db2afe894833aabb88/main.spi
00:22:56 verbose #40259 >
00:22:56 verbose #40260 > ╭─[ 624.89ms - stdout ]────────────────────────────────────────────────────────╮
00:22:56 verbose #40261 > │ () │
00:22:56 verbose #40262 > │ │
00:22:56 verbose #40263 > │ │
00:22:56 verbose #40264 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:56 verbose #40265 >
00:22:56 verbose #40266 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:56 verbose #40267 > //// test
00:22:56 verbose #40268 >
00:22:56 verbose #40269 > integral'' 0.01 math.square 0 1
00:22:56 verbose #40270 > |> _assert_approx_eq None (integral 0.01 math.square 0 1)
00:22:56 verbose #40271 > 00:22:55 debug #803 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dc21560c8d4e660ae12c4762de9ec388a7758f39de0cf988efa8acfeac1a9813/main.spi
00:22:56 verbose #40272 >
00:22:56 verbose #40273 > ╭─[ 666.07ms - stdout ]────────────────────────────────────────────────────────╮
00:22:56 verbose #40274 > │ type Mut0 = {mutable l0 : int32} │
00:22:56 verbose #40275 > │ and Mut1 = {mutable l0 : int32; mutable l1 : float} │
00:22:56 verbose #40276 > │ let rec method1 (v0 : Mut0) : bool = │
00:22:56 verbose #40277 > │ let v1 : int32 = v0.l0 │
00:22:56 verbose #40278 > │ let v2 : bool = v1 < 100 │
00:22:56 verbose #40279 > │ v2 │
00:22:56 verbose #40280 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:22:56 verbose #40281 > │ let v2 : int32 = v1.l0 │
00:22:56 verbose #40282 > │ let v3 : bool = v2 < v0 │
00:22:56 verbose #40283 > │ v3 │
00:22:56 verbose #40284 > │ and method3 (v0 : int32, v1 : Mut1) : bool = │
00:22:56 verbose #40285 > │ let v2 : int32 = v1.l0 │
00:22:56 verbose #40286 > │ let v3 : bool = v2 < v0 │
00:22:56 verbose #40287 > │ v3 │
00:22:56 verbose #40288 > │ and method4 (v0 : bool) : bool = │
00:22:56 verbose #40289 > │ v0 │
00:22:56 verbose #40290 > │ and method0 () : unit = │
00:22:56 verbose #40291 > │ let v0 : (float []) = Array.zeroCreate<float> (100) │
00:22:56 verbose #40292 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:22:56 verbose #40293 > │ while method1(v1) do │
00:22:56 verbose #40294 > │ let v3 : int32 = v1.l0 │
00:22:56 verbose #40295 > │ let v4 : float = float v3 │
00:22:56 verbose #40296 > │ let v5 : float = 0.01 * v4 │
00:22:56 verbose #40297 > │ let v6 : float = 0.005 + v5 │
00:22:56 verbose #40298 > │ v0.[int v3] <- v6 │
00:22:56 verbose #40299 > │ let v7 : int32 = v3 + 1 │
00:22:56 verbose #40300 > │ v1.l0 <- v7 │
00:22:56 verbose #40301 > │ () │
00:22:56 verbose #40302 > │ let v8 : int32 = v0.Length │
00:22:56 verbose #40303 > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:22:56 verbose #40304 > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:22:56 verbose #40305 > │ while method2(v8, v10) do │
00:22:56 verbose #40306 > │ let v12 : int32 = v10.l0 │
00:22:56 verbose #40307 > │ let v13 : float = v0.[int v12] │
00:22:56 verbose #40308 > │ let v14 : float = v13 ** 2.0 │
00:22:56 verbose #40309 > │ let v15 : float = 0.01 * v14 │
00:22:56 verbose #40310 > │ v9.[int v12] <- v15 │
00:22:56 verbose #40311 > │ let v16 : int32 = v12 + 1 │
00:22:56 verbose #40312 > │ v10.l0 <- v16 │
00:22:56 verbose #40313 > │ () │
00:22:56 verbose #40314 > │ let v17 : int32 = v9.Length │
00:22:56 verbose #40315 > │ let v18 : Mut1 = {l0 = 0; l1 = 0.0} : Mut1 │
00:22:56 verbose #40316 > │ while method3(v17, v18) do │
00:22:56 verbose #40317 > │ let v20 : int32 = v18.l0 │
00:22:56 verbose #40318 > │ let v21 : float = v18.l1 │
00:22:56 verbose #40319 > │ let v22 : float = v9.[int v20] │
00:22:56 verbose #40320 > │ let v23 : float = v21 + v22 │
00:22:56 verbose #40321 > │ let v24 : int32 = v20 + 1 │
00:22:56 verbose #40322 > │ v18.l0 <- v24 │
00:22:56 verbose #40323 > │ v18.l1 <- v23 │
00:22:56 verbose #40324 > │ () │
00:22:56 verbose #40325 > │ let v25 : float = v18.l1 │
00:22:56 verbose #40326 > │ let v26 : float = 0.3333250000000004 - v25 │
00:22:56 verbose #40327 > │ let v27 : float = -v26 │
00:22:56 verbose #40328 > │ let v28 : bool = v26 >= v27 │
00:22:56 verbose #40329 > │ let v29 : float = │
00:22:56 verbose #40330 > │ if v28 then │
00:22:56 verbose #40331 > │ v26 │
00:22:56 verbose #40332 > │ else │
00:22:56 verbose #40333 > │ v27 │
00:22:56 verbose #40334 > │ let v30 : bool = v29 < 1E-08 │
00:22:56 verbose #40335 > │ let v32 : bool = │
00:22:56 verbose #40336 > │ if v30 then │
00:22:56 verbose #40337 > │ true │
00:22:56 verbose #40338 > │ else │
00:22:56 verbose #40339 > │ method4(v30) │
00:22:56 verbose #40340 > │ let v33 : string = "assert_approx_eq" │
00:22:56 verbose #40341 > │ let v34 : string = $"{v33} / actual: %A{v25} / expected: │
00:22:56 verbose #40342 > │ %A{0.3333250000000004}" │
00:22:56 verbose #40343 > │ System.Console.WriteLine v34 │
00:22:56 verbose #40344 > │ let v35 : bool = v32 = false │
00:22:56 verbose #40345 > │ if v35 then │
00:22:56 verbose #40346 > │ failwith<unit> v34 │
00:22:56 verbose #40347 > │ method0() │
00:22:56 verbose #40348 > │ │
00:22:56 verbose #40349 > │ assert_approx_eq / actual: 0.333325 / expected: 0.333325 │
00:22:56 verbose #40350 > │ │
00:22:56 verbose #40351 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:56 verbose #40352 >
00:22:56 verbose #40353 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:56 verbose #40354 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:56 verbose #40355 > │ ## anti_derivative │
00:22:56 verbose #40356 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:56 verbose #40357 >
00:22:56 verbose #40358 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:56 verbose #40359 > inl anti_derivative dt v0 a t =
00:22:56 verbose #40360 > v0 + integral' dt a 0 t
00:22:57 verbose #40361 > 00:22:56 debug #804 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2629e2e9301f3676125c57201f270beeb8380a9ea363b97baf0afcd6bd6ce464/main.spi
00:22:57 verbose #40362 >
00:22:57 verbose #40363 > ╭─[ 677.54ms - stdout ]────────────────────────────────────────────────────────╮
00:22:57 verbose #40364 > │ () │
00:22:57 verbose #40365 > │ │
00:22:57 verbose #40366 > │ │
00:22:57 verbose #40367 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:57 verbose #40368 >
00:22:57 verbose #40369 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:57 verbose #40370 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:57 verbose #40371 > │ ## velocity_ft │
00:22:57 verbose #40372 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:57 verbose #40373 >
00:22:57 verbose #40374 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:57 verbose #40375 > type velocity_ft = mass -> velocity -> list (time -> force) -> (time ->
00:22:57 verbose #40376 > velocity)
00:22:57 verbose #40377 >
00:22:57 verbose #40378 > inl velocity_ft dt : velocity_ft =
00:22:57 verbose #40379 > fun m v0 fs =>
00:22:57 verbose #40380 > inl f_net t = fs |> listm.map (fun f => f t) |> listm'.sum
00:22:57 verbose #40381 > inl a t = f_net t / m
00:22:57 verbose #40382 > anti_derivative dt v0 a
00:22:58 verbose #40383 > 00:22:57 debug #805 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b25938597bb90d248768a1408347461fcd7e6a33c9e91cb771c7a26a8e5b6a1f/main.spi
00:22:58 verbose #40384 >
00:22:58 verbose #40385 > ╭─[ 747.53ms - stdout ]────────────────────────────────────────────────────────╮
00:22:58 verbose #40386 > │ () │
00:22:58 verbose #40387 > │ │
00:22:58 verbose #40388 > │ │
00:22:58 verbose #40389 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:58 verbose #40390 >
00:22:58 verbose #40391 > ── markdown ────────────────────────────────────────────────────────────────────
00:22:58 verbose #40392 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:22:58 verbose #40393 > │ ## position_ft │
00:22:58 verbose #40394 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:58 verbose #40395 >
00:22:58 verbose #40396 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:58 verbose #40397 > type position_ft = mass -> position -> velocity -> list (time -> force) -> (time
00:22:58 verbose #40398 > -> position)
00:22:58 verbose #40399 >
00:22:58 verbose #40400 > inl position_ft dt : position_ft =
00:22:58 verbose #40401 > fun m x0 v0 fs =>
00:22:58 verbose #40402 > velocity_ft dt m v0 fs
00:22:58 verbose #40403 > |> anti_derivative dt x0
00:22:58 verbose #40404 > 00:22:57 debug #806 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bf6b5eb323f8d8126802593b6b2eecb3958f91639ce85317c280b511c4ec1ad7/main.spi
00:22:58 verbose #40405 >
00:22:58 verbose #40406 > ╭─[ 650.91ms - stdout ]────────────────────────────────────────────────────────╮
00:22:58 verbose #40407 > │ () │
00:22:58 verbose #40408 > │ │
00:22:58 verbose #40409 > │ │
00:22:58 verbose #40410 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:58 verbose #40411 >
00:22:58 verbose #40412 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:58 verbose #40413 > //// test
00:22:58 verbose #40414 >
00:22:58 verbose #40415 > inl pedal_coast (t : time) : force =
00:22:58 verbose #40416 > inl t_cycle = 20
00:22:58 verbose #40417 > inl n_complete : i32 = t / t_cycle |> conv
00:22:58 verbose #40418 > inl remainder = t - conv n_complete * t_cycle
00:22:58 verbose #40419 > if remainder > 0 && remainder < 10
00:22:58 verbose #40420 > then 10
00:22:58 verbose #40421 > else 0
00:22:58 verbose #40422 >
00:22:58 verbose #40423 > inl x = am'.init_series -5 45 0.1
00:22:58 verbose #40424 > inl y = x |> am.map pedal_coast
00:22:58 verbose #40425 > "child pedaling then coasting", "time (s)", "", ;[[ "force on bike (N)", x, y ]]
00:22:59 verbose #40426 > 00:22:58 debug #807 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3ae6d3fdb647c514be241131cab23cc93e0465390c34c8f29ef6e94ff944d15f/main.spi
00:22:59 verbose #40427 >
00:22:59 verbose #40428 > ╭─[ 672.77ms - return value ]──────────────────────────────────────────────────╮
00:22:59 verbose #40429 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:22:59 verbose #40430 > │ xmlns="http://www.w3.org/2000/svg"> │
00:22:59 verbose #40431 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:22:59 verbose #40432 > │ stroke="none"/> │
00:22:59 verbose #40433 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:22:59 verbose #40434 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:22:59 verbose #40435 > │ fill="#FFFFFF"> │
00:22:59 verbose #40436 > │ child pedaling then coasting │
00:22:59 verbose #40437 > │ </text> │
00:22:59 verbose #40438 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:22:59 verbose #40439 > │ y2="75"/> │
00:22:59 verbose #40440 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:22:59 verbose #40441 > │ y2="75"/> │
00:22:59 verbose #40442 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:22:59 verbose #40443 > │ y2="75"/> │
00:22:59 verbose #40444 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:22:59 verbose #40445 > │ y2="75"/> │
00:22:59 verbose #40446 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:22:59 verbose #40447 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:59 verbose #40448 >
00:22:59 verbose #40449 > ╭─[ 680.55ms - stdout ]────────────────────────────────────────────────────────╮
00:22:59 verbose #40450 > │ type Mut0 = {mutable l0 : int32} │
00:22:59 verbose #40451 > │ let rec method1 (v0 : Mut0) : bool = │
00:22:59 verbose #40452 > │ let v1 : int32 = v0.l0 │
00:22:59 verbose #40453 > │ let v2 : bool = v1 < 501 │
00:22:59 verbose #40454 > │ v2 │
00:22:59 verbose #40455 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:22:59 verbose #40456 > │ let v2 : int32 = v1.l0 │
00:22:59 verbose #40457 > │ let v3 : bool = v2 < v0 │
00:22:59 verbose #40458 > │ v3 │
00:22:59 verbose #40459 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:22:59 verbose #40460 > │ []) * (float [])) [])) = │
00:22:59 verbose #40461 > │ let v0 : (float []) = Array.zeroCreate<float> (501) │
00:22:59 verbose #40462 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:22:59 verbose #40463 > │ while method1(v1) do │
00:22:59 verbose #40464 > │ let v3 : int32 = v1.l0 │
00:22:59 verbose #40465 > │ let v4 : float = float v3 │
00:22:59 verbose #40466 > │ let v5 : float = 0.1 * v4 │
00:22:59 verbose #40467 > │ let v6 : float = -5.0 + v5 │
00:22:59 verbose #40468 > │ v0.[int v3] <- v6 │
00:22:59 verbose #40469 > │ let v7 : int32 = v3 + 1 │
00:22:59 verbose #40470 > │ v1.l0 <- v7 │
00:22:59 verbose #40471 > │ () │
00:22:59 verbose #40472 > │ let v8 : int32 = v0.Length │
00:22:59 verbose #40473 > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:22:59 verbose #40474 > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:22:59 verbose #40475 > │ while method2(v8, v10) do │
00:22:59 verbose #40476 > │ let v12 : int32 = v10.l0 │
00:22:59 verbose #40477 > │ let v13 : float = v0.[int v12] │
00:22:59 verbose #40478 > │ let v14 : float = v13 / 20.0 │
00:22:59 verbose #40479 > │ let v15 : int32 = int32 v14 │
00:22:59 verbose #40480 > │ let v16 : float = float v15 │
00:22:59 verbose #40481 > │ let v17 : float = v16 * 20.0 │
00:22:59 verbose #40482 > │ let v18 : float = v13 - v17 │
00:22:59 verbose #40483 > │ let v19 : bool = v18 > 0.0 │
00:22:59 verbose #40484 > │ let v21 : bool = │
00:22:59 verbose #40485 > │ if v19 then │
00:22:59 verbose #40486 > │ let v20 : bool = v18 < 10.0 │
00:22:59 verbose #40487 > │ v20 │
00:22:59 verbose #40488 > │ else │
00:22:59 verbose #40489 > │ false │
00:22:59 verbose #40490 > │ let v22 : float = │
00:22:59 verbose #40491 > │ if v21 then │
00:22:59 verbose #40492 > │ 10.0 │
00:22:59 verbose #40493 > │ else │
00:22:59 verbose #40494 > │ 0.0 │
00:22:59 verbose #40495 > │ v9.[int v12] <- v22 │
00:22:59 verbose #40496 > │ let v23 : int32 = v12 + 1 │
00:22:59 verbose #40497 > │ v10.l0 <- v23 │
00:22:59 verbose #40498 > │ () │
00:22:59 verbose #40499 > │ let v24 : string = "force on bike (N)" │
00:22:59 verbose #40500 > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:22:59 verbose #40501 > │ (v24, v0, v9)|] │
00:22:59 verbose #40502 > │ let v26 : string = "child pedaling then coasting" │
00:22:59 verbose #40503 > │ let v27 : string = "time (s)" │
00:22:59 verbose #40504 > │ let v28 : string = "" │
00:22:59 verbose #40505 > │ struct (v26, v27, v28, v25) │
00:22:59 verbose #40506 > │ method0() │
00:22:59 verbose #40507 > │ │
00:22:59 verbose #40508 > │ │
00:22:59 verbose #40509 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:22:59 verbose #40510 >
00:22:59 verbose #40511 > ── spiral ──────────────────────────────────────────────────────────────────────
00:22:59 verbose #40512 > //// test
00:22:59 verbose #40513 >
00:22:59 verbose #40514 > inl x = am'.init_series -5 45 1
00:22:59 verbose #40515 > inl y = x |> am.map (position_ft 0.1f64 20 0 0 [[ pedal_coast ]])
00:22:59 verbose #40516 > "child pedaling then coasting", "time (s)", "", ;[[ "position of bike (m)", x, y
00:22:59 verbose #40517 > ]]
00:23:00 verbose #40518 > 00:22:59 debug #808 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c235b02d9bc48f5ce9e9c7feda6a248c96bdd0810906ecebf988326fbe25e92f/main.spi
00:23:00 verbose #40519 >
00:23:00 verbose #40520 > ╭─[ 1.13s - return value ]─────────────────────────────────────────────────────╮
00:23:00 verbose #40521 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:00 verbose #40522 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:00 verbose #40523 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:00 verbose #40524 > │ stroke="none"/> │
00:23:00 verbose #40525 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:00 verbose #40526 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:00 verbose #40527 > │ fill="#FFFFFF"> │
00:23:00 verbose #40528 > │ child pedaling then coasting │
00:23:00 verbose #40529 > │ </text> │
00:23:00 verbose #40530 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:23:00 verbose #40531 > │ y2="75"/> │
00:23:00 verbose #40532 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:00 verbose #40533 > │ y2="75"/> │
00:23:00 verbose #40534 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:23:00 verbose #40535 > │ y2="75"/> │
00:23:00 verbose #40536 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:23:00 verbose #40537 > │ y2="75"/> │
00:23:00 verbose #40538 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:23:00 verbose #40539 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:00 verbose #40540 >
00:23:00 verbose #40541 > ╭─[ 1.14s - stdout ]───────────────────────────────────────────────────────────╮
00:23:00 verbose #40542 > │ type Mut0 = {mutable l0 : int32} │
00:23:00 verbose #40543 > │ and UH0 = │
00:23:00 verbose #40544 > │ | UH0_0 │
00:23:00 verbose #40545 > │ | UH0_1 of float * UH0 │
00:23:00 verbose #40546 > │ let rec method1 (v0 : Mut0) : bool = │
00:23:00 verbose #40547 > │ let v1 : int32 = v0.l0 │
00:23:00 verbose #40548 > │ let v2 : bool = v1 < 51 │
00:23:00 verbose #40549 > │ v2 │
00:23:00 verbose #40550 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:23:00 verbose #40551 > │ let v2 : int32 = v1.l0 │
00:23:00 verbose #40552 > │ let v3 : bool = v2 < v0 │
00:23:00 verbose #40553 > │ v3 │
00:23:00 verbose #40554 > │ and method3 (v0 : float, v1 : float) : UH0 = │
00:23:00 verbose #40555 > │ let v2 : bool = v1 < v0 │
00:23:00 verbose #40556 > │ if v2 then │
00:23:00 verbose #40557 > │ let v3 : float = 0.1 * v1 │
00:23:00 verbose #40558 > │ let v4 : float = 0.05 + v3 │
00:23:00 verbose #40559 > │ let v5 : float = v1 + 1.0 │
00:23:00 verbose #40560 > │ let v6 : UH0 = method3(v0, v5) │
00:23:00 verbose #40561 > │ UH0_1(v4, v6) │
00:23:00 verbose #40562 > │ else │
00:23:00 verbose #40563 > │ UH0_0 │
00:23:00 verbose #40564 > │ and method5 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:00 verbose #40565 > │ match v0 with │
00:23:00 verbose #40566 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:23:00 verbose #40567 > │ let v4 : UH0 = method5(v3, v1) │
00:23:00 verbose #40568 > │ let v5 : float = v2 / 20.0 │
00:23:00 verbose #40569 > │ let v6 : int32 = int32 v5 │
00:23:00 verbose #40570 > │ let v7 : float = float v6 │
00:23:00 verbose #40571 > │ let v8 : float = v7 * 20.0 │
00:23:00 verbose #40572 > │ let v9 : float = v2 - v8 │
00:23:00 verbose #40573 > │ let v10 : bool = v9 > 0.0 │
00:23:00 verbose #40574 > │ let v12 : bool = │
00:23:00 verbose #40575 > │ if v10 then │
00:23:00 verbose #40576 > │ let v11 : bool = v9 < 10.0 │
00:23:00 verbose #40577 > │ v11 │
00:23:00 verbose #40578 > │ else │
00:23:00 verbose #40579 > │ false │
00:23:00 verbose #40580 > │ let v13 : float = │
00:23:00 verbose #40581 > │ if v12 then │
00:23:00 verbose #40582 > │ 10.0 │
00:23:00 verbose #40583 > │ else │
00:23:00 verbose #40584 > │ 0.0 │
00:23:00 verbose #40585 > │ let v14 : float = v13 / 20.0 │
00:23:00 verbose #40586 > │ let v15 : float = 0.1 * v14 │
00:23:00 verbose #40587 > │ UH0_1(v15, v4) │
00:23:00 verbose #40588 > │ | UH0_0 -> (* Nil *) │
00:23:00 verbose #40589 > │ v1 │
00:23:00 verbose #40590 > │ and method6 (v0 : UH0, v1 : float) : float = │
00:23:00 verbose #40591 > │ match v0 with │
00:23:00 verbose #40592 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:23:00 verbose #40593 > │ let v4 : float = v1 + v2 │
00:23:00 verbose #40594 > │ method6(v3, v4) │
00:23:00 verbose #40595 > │ | UH0_0 -> (* Nil *) │
00:23:00 verbose #40596 > │ v1 │
00:23:00 verbose #40597 > │ and method4 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:00 verbose #40598 > │ match v0 with │
00:23:00 verbose #40599 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:23:00 verbose #40600 > │ let v4 : UH0 = method4(v3, v1) │
00:23:00 verbose #40601 > │ let v5 : float = v2 - 0.05 │
00:23:00 verbose #40602 > │ let v6 : float = v5 - 0.05 │
00:23:00 verbose #40603 > │ let v7 : float = v6 / 0.1 │
00:23:00 verbose #40604 > │ let v8 : float = v7 + 1.0 │
00:23:00 verbose #40605 > │ let v9 : float = 0.0 │
00:23:00 verbose #40606 > │ let v10 : UH0 = method3(v8, v9) │
00:23:00 verbose #40607 > │ let v11 : UH0 = UH0_0 │
00:23:00 verbose #40608 > │ let v12 : UH0 = method5(v10, v11) │
00:23:00 verbose #40609 > │ let v13 : float = 0.0 │
00:23:00 verbose #40610 > │ let v14 : float = method6(v12, v13) │
00:23:00 verbose #40611 > │ let v15 : float = 0.1 * v14 │
00:23:00 verbose #40612 > │ UH0_1(v15, v4) │
00:23:00 verbose #40613 > │ | UH0_0 -> (* Nil *) │
00:23:00 verbose #40614 > │ v1 │
00:23:00 verbose #40615 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:00 verbose #40616 > │ []) * (float [])) [])) = │
00:23:00 verbose #40617 > │ let v0 : (float []) = Array.zeroCreate<float> (51) │
00:23:00 verbose #40618 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:23:00 verbose #40619 > │ while method1(v1) do │
00:23:00 verbose #40620 > │ let v3 : int32 = v1.l0 │
00:23:00 verbose #40621 > │ let v4 : float = float v3 │
00:23:00 verbose #40622 > │ let v5 : float = -5.0 + v4 │
00:23:00 verbose #40623 > │ v0.[int v3] <- v5 │
00:23:00 verbose #40624 > │ let v6 : int32 = v3 + 1 │
00:23:00 verbose #40625 > │ v1.l0 <- v6 │
00:23:00 verbose #40626 > │ () │
00:23:00 verbose #40627 > │ let v7 : int32 = v0.Length │
00:23:00 verbose #40628 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:23:00 verbose #40629 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:23:00 verbose #40630 > │ while method2(v7, v9) do │
00:23:00 verbose #40631 > │ let v11 : int32 = v9.l0 │
00:23:00 verbose #40632 > │ let v12 : float = v0.[int v11] │
00:23:00 verbose #40633 > │ let v13 : float = v12 - 0.05 │
00:23:00 verbose #40634 > │ let v14 : float = v13 - 0.05 │
00:23:00 verbose #40635 > │ let v15 : float = v14 / 0.1 │
00:23:00 verbose #40636 > │ let v16 : float = v15 + 1.0 │
00:23:00 verbose #40637 > │ let v17 : float = 0.0 │
00:23:00 verbose #40638 > │ let v18 : UH0 = method3(v16, v17) │
00:23:00 verbose #40639 > │ let v19 : UH0 = UH0_0 │
00:23:00 verbose #40640 > │ let v20 : UH0 = method4(v18, v19) │
00:23:00 verbose #40641 > │ let v21 : float = 0.0 │
00:23:00 verbose #40642 > │ let v22 : float = method6(v20, v21) │
00:23:00 verbose #40643 > │ v8.[int v11] <- v22 │
00:23:00 verbose #40644 > │ let v23 : int32 = v11 + 1 │
00:23:00 verbose #40645 > │ v9.l0 <- v23 │
00:23:00 verbose #40646 > │ () │
00:23:00 verbose #40647 > │ let v24 : string = "position of bike (m)" │
00:23:00 verbose #40648 > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:00 verbose #40649 > │ (v24, v0, v8)|] │
00:23:00 verbose #40650 > │ let v26 : string = "child pedaling then coasting" │
00:23:00 verbose #40651 > │ let v27 : string = "time (s)" │
00:23:00 verbose #40652 > │ let v28 : string = "" │
00:23:00 verbose #40653 > │ struct (v26, v27, v28, v25) │
00:23:00 verbose #40654 > │ method0() │
00:23:00 verbose #40655 > │ │
00:23:00 verbose #40656 > │ │
00:23:00 verbose #40657 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:00 verbose #40658 >
00:23:00 verbose #40659 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:00 verbose #40660 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:00 verbose #40661 > │ ## velocity_fv │
00:23:00 verbose #40662 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:00 verbose #40663 >
00:23:00 verbose #40664 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:00 verbose #40665 > inl newton_second_v m fs v0 =
00:23:00 verbose #40666 > fs |> listm.map (fun f => f v0) |> listm'.sum |> fun x => x / m
00:23:00 verbose #40667 >
00:23:00 verbose #40668 > inl update_velocity dt m fs v0 =
00:23:00 verbose #40669 > v0 + newton_second_v m fs v0 * dt
00:23:00 verbose #40670 >
00:23:00 verbose #40671 > inl velocity_fv dt m v0 fs t =
00:23:00 verbose #40672 > stream.iterate (update_velocity dt m fs) v0
00:23:00 verbose #40673 > |> stream.try_item (t / dt |> math.round |> abs)
00:23:00 verbose #40674 > |> optionm'.default_value 0
00:23:01 verbose #40675 > 00:23:00 debug #809 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0d24c2e56d6a3d56cc5055c8de77d318ab1bf8950e1da17ec268d9b345eb39bb/main.spi
00:23:01 verbose #40676 >
00:23:01 verbose #40677 > ╭─[ 708.13ms - stdout ]────────────────────────────────────────────────────────╮
00:23:01 verbose #40678 > │ () │
00:23:01 verbose #40679 > │ │
00:23:01 verbose #40680 > │ │
00:23:01 verbose #40681 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:01 verbose #40682 >
00:23:01 verbose #40683 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:01 verbose #40684 > inl f_air drag rho area v =
00:23:01 verbose #40685 > -drag * rho * area * abs v * v / 2
00:23:02 verbose #40686 > 00:23:01 debug #810 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6eccbd985e8d4c96985f830d4b23da5de126ef7b0667a2a1c4c534d247ba917b/main.spi
00:23:02 verbose #40687 >
00:23:02 verbose #40688 > ╭─[ 644.02ms - stdout ]────────────────────────────────────────────────────────╮
00:23:02 verbose #40689 > │ () │
00:23:02 verbose #40690 > │ │
00:23:02 verbose #40691 > │ │
00:23:02 verbose #40692 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:02 verbose #40693 >
00:23:02 verbose #40694 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:02 verbose #40695 > //// test
00:23:02 verbose #40696 >
00:23:02 verbose #40697 > inl x = am'.init_series 0 60 0.5
00:23:02 verbose #40698 > inl y = x |> am.map (velocity_fv 1 70 0f64 [[ fun _ => 100; f_air 2 1.225 0.6
00:23:02 verbose #40699 > ]])
00:23:02 verbose #40700 > "bike velocity", "time (s)", "", ;[[ "velocity of bike (m/s)", x, y ]]
00:23:02 verbose #40701 > 00:23:01 debug #811 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/17000d2883760733c9cc632d8c92738c65c9b5feccf0d9e819b12d59df84ca5b/main.spi
00:23:03 verbose #40702 >
00:23:03 verbose #40703 > ╭─[ 878.73ms - return value ]──────────────────────────────────────────────────╮
00:23:03 verbose #40704 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:03 verbose #40705 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:03 verbose #40706 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:03 verbose #40707 > │ stroke="none"/> │
00:23:03 verbose #40708 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:03 verbose #40709 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:03 verbose #40710 > │ fill="#FFFFFF"> │
00:23:03 verbose #40711 > │ bike velocity │
00:23:03 verbose #40712 > │ </text> │
00:23:03 verbose #40713 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:23:03 verbose #40714 > │ y2="75"/> │
00:23:03 verbose #40715 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:03 verbose #40716 > │ y2="75"/> │
00:23:03 verbose #40717 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:23:03 verbose #40718 > │ y2="75"/> │
00:23:03 verbose #40719 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:23:03 verbose #40720 > │ y2="75"/> │
00:23:03 verbose #40721 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x... │
00:23:03 verbose #40722 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:03 verbose #40723 >
00:23:03 verbose #40724 > ╭─[ 887.88ms - stdout ]────────────────────────────────────────────────────────╮
00:23:03 verbose #40725 > │ type Mut0 = {mutable l0 : int32} │
00:23:03 verbose #40726 > │ and UH0 = │
00:23:03 verbose #40727 > │ | UH0_0 of float * (unit -> UH0) │
00:23:03 verbose #40728 > │ | UH0_1 │
00:23:03 verbose #40729 > │ and [<Struct>] US0 = │
00:23:03 verbose #40730 > │ | US0_0 of f0_0 : float │
00:23:03 verbose #40731 > │ | US0_1 │
00:23:03 verbose #40732 > │ let rec method1 (v0 : Mut0) : bool = │
00:23:03 verbose #40733 > │ let v1 : int32 = v0.l0 │
00:23:03 verbose #40734 > │ let v2 : bool = v1 < 121 │
00:23:03 verbose #40735 > │ v2 │
00:23:03 verbose #40736 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:23:03 verbose #40737 > │ let v2 : int32 = v1.l0 │
00:23:03 verbose #40738 > │ let v3 : bool = v2 < v0 │
00:23:03 verbose #40739 > │ v3 │
00:23:03 verbose #40740 > │ and closure129 () () : UH0 = │
00:23:03 verbose #40741 > │ let v0 : (unit -> UH0) = closure129() │
00:23:03 verbose #40742 > │ UH0_0(11.664236870396083, v0) │
00:23:03 verbose #40743 > │ and closure128 () () : UH0 = │
00:23:03 verbose #40744 > │ let v0 : (unit -> UH0) = closure129() │
00:23:03 verbose #40745 > │ UH0_0(11.664236870396081, v0) │
00:23:03 verbose #40746 > │ and closure127 () () : UH0 = │
00:23:03 verbose #40747 > │ let v0 : (unit -> UH0) = closure128() │
00:23:03 verbose #40748 > │ UH0_0(11.66423687039608, v0) │
00:23:03 verbose #40749 > │ and closure126 () () : UH0 = │
00:23:03 verbose #40750 > │ let v0 : (unit -> UH0) = closure127() │
00:23:03 verbose #40751 > │ UH0_0(11.664236870396078, v0) │
00:23:03 verbose #40752 > │ and closure125 () () : UH0 = │
00:23:03 verbose #40753 > │ let v0 : (unit -> UH0) = closure126() │
00:23:03 verbose #40754 > │ UH0_0(11.664236870396074, v0) │
00:23:03 verbose #40755 > │ and closure124 () () : UH0 = │
00:23:03 verbose #40756 > │ let v0 : (unit -> UH0) = closure125() │
00:23:03 verbose #40757 > │ UH0_0(11.66423687039607, v0) │
00:23:03 verbose #40758 > │ and closure123 () () : UH0 = │
00:23:03 verbose #40759 > │ let v0 : (unit -> UH0) = closure124() │
00:23:03 verbose #40760 > │ UH0_0(11.664236870396065, v0) │
00:23:03 verbose #40761 > │ and closure122 () () : UH0 = │
00:23:03 verbose #40762 > │ let v0 : (unit -> UH0) = closure123() │
00:23:03 verbose #40763 > │ UH0_0(11.664236870396058, v0) │
00:23:03 verbose #40764 > │ and closure121 () () : UH0 = │
00:23:03 verbose #40765 > │ let v0 : (unit -> UH0) = closure122() │
00:23:03 verbose #40766 > │ UH0_0(11.66423687039605, v0) │
00:23:03 verbose #40767 > │ and closure120 () () : UH0 = │
00:23:03 verbose #40768 > │ let v0 : (unit -> UH0) = closure121() │
00:23:03 verbose #40769 > │ UH0_0(11.664236870396037, v0) │
00:23:03 verbose #40770 > │ and closure119 () () : UH0 = │
00:23:03 verbose #40771 > │ let v0 : (unit -> UH0) = closure120() │
00:23:03 verbose #40772 > │ UH0_0(11.66423687039602, v0) │
00:23:03 verbose #40773 > │ and closure118 () () : UH0 = │
00:23:03 verbose #40774 > │ let v0 : (unit -> UH0) = closure119() │
00:23:03 verbose #40775 > │ UH0_0(11.664236870396, v0) │
00:23:03 verbose #40776 > │ and closure117 () () : UH0 = │
00:23:03 verbose #40777 > │ let v0 : (unit -> UH0) = closure118() │
00:23:03 verbose #40778 > │ UH0_0(11.664236870395971, v0) │
00:23:03 verbose #40779 > │ and closure116 () () : UH0 = │
00:23:03 verbose #40780 > │ let v0 : (unit -> UH0) = closure117() │
00:23:03 verbose #40781 > │ UH0_0(11.664236870395934, v0) │
00:23:03 verbose #40782 > │ and closure115 () () : UH0 = │
00:23:03 verbose #40783 > │ let v0 : (unit -> UH0) = closure116() │
00:23:03 verbose #40784 > │ UH0_0(11.664236870395884, v0) │
00:23:03 verbose #40785 > │ and closure114 () () : UH0 = │
00:23:03 verbose #40786 > │ let v0 : (unit -> UH0) = closure115() │
00:23:03 verbose #40787 > │ UH0_0(11.664236870395818, v0) │
00:23:03 verbose #40788 > │ and closure113 () () : UH0 = │
00:23:03 verbose #40789 > │ let v0 : (unit -> UH0) = closure114() │
00:23:03 verbose #40790 > │ UH0_0(11.664236870395731, v0) │
00:23:03 verbose #40791 > │ and closure112 () () : UH0 = │
00:23:03 verbose #40792 > │ let v0 : (unit -> UH0) = closure113() │
00:23:03 verbose #40793 > │ UH0_0(11.664236870395616, v0) │
00:23:03 verbose #40794 > │ and closure111 () () : UH0 = │
00:23:03 verbose #40795 > │ let v0 : (unit -> UH0) = closure112() │
00:23:03 verbose #40796 > │ UH0_0(11.664236870395463, v0) │
00:23:03 verbose #40797 > │ and closure110 () () : UH0 = │
00:23:03 verbose #40798 > │ let v0 : (unit -> UH0) = closure111() │
00:23:03 verbose #40799 > │ UH0_0(11.66423687039526, v0) │
00:23:03 verbose #40800 > │ and closure109 () () : UH0 = │
00:23:03 verbose #40801 > │ let v0 : (unit -> UH0) = closure110() │
00:23:03 verbose #40802 > │ UH0_0(11.664236870394992, v0) │
00:23:03 verbose #40803 > │ and closure108 () () : UH0 = │
00:23:03 verbose #40804 > │ let v0 : (unit -> UH0) = closure109() │
00:23:03 verbose #40805 > │ UH0_0(11.664236870394637, v0) │
00:23:03 verbose #40806 > │ and closure107 () () : UH0 = │
00:23:03 verbose #40807 > │ let v0 : (unit -> UH0) = closure108() │
00:23:03 verbose #40808 > │ UH0_0(11.664236870394168, v0) │
00:23:03 verbose #40809 > │ and closure106 () () : UH0 = │
00:23:03 verbose #40810 > │ let v0 : (unit -> UH0) = closure107() │
00:23:03 verbose #40811 > │ UH0_0(11.664236870393546, v0) │
00:23:03 verbose #40812 > │ and closure105 () () : UH0 = │
00:23:03 verbose #40813 > │ let v0 : (unit -> UH0) = closure106() │
00:23:03 verbose #40814 > │ UH0_0(11.664236870392722, v0) │
00:23:03 verbose #40815 > │ and closure104 () () : UH0 = │
00:23:03 verbose #40816 > │ let v0 : (unit -> UH0) = closure105() │
00:23:03 verbose #40817 > │ UH0_0(11.664236870391631, v0) │
00:23:03 verbose #40818 > │ and closure103 () () : UH0 = │
00:23:03 verbose #40819 > │ let v0 : (unit -> UH0) = closure104() │
00:23:03 verbose #40820 > │ UH0_0(11.664236870390187, v0) │
00:23:03 verbose #40821 > │ and closure102 () () : UH0 = │
00:23:03 verbose #40822 > │ let v0 : (unit -> UH0) = closure103() │
00:23:03 verbose #40823 > │ UH0_0(11.664236870388274, v0) │
00:23:03 verbose #40824 > │ and closure101 () () : UH0 = │
00:23:03 verbose #40825 > │ let v0 : (unit -> UH0) = closure102() │
00:23:03 verbose #40826 > │ UH0_0(11.66423687038574, v0) │
00:23:03 verbose #40827 > │ and closure100 () () : UH0 = │
00:23:03 verbose #40828 > │ let v0 : (unit -> UH0) = closure101() │
00:23:03 verbose #40829 > │ UH0_0(11.664236870382384, v0) │
00:23:03 verbose #40830 > │ and closure99 () () : UH0 = │
00:23:03 verbose #40831 > │ let v0 : (unit -> UH0) = closure100() │
00:23:03 verbose #40832 > │ UH0_0(11.664236870377938, v0) │
00:23:03 verbose #40833 > │ and closure98 () () : UH0 = │
00:23:03 verbose #40834 > │ let v0 : (unit -> UH0) = closure99() │
00:23:03 verbose #40835 > │ UH0_0(11.66423687037205, v0) │
00:23:03 verbose #40836 > │ and closure97 () () : UH0 = │
00:23:03 verbose #40837 > │ let v0 : (unit -> UH0) = closure98() │
00:23:03 verbose #40838 > │ UH0_0(11.664236870364254, v0) │
00:23:03 verbose #40839 > │ and closure96 () () : UH0 = │
00:23:03 verbose #40840 > │ let v0 : (unit -> UH0) = closure97() │
00:23:03 verbose #40841 > │ UH0_0(11.664236870353927, v0) │
00:23:03 verbose #40842 > │ and closure95 () () : UH0 = │
00:23:03 verbose #40843 > │ let v0 : (unit -> UH0) = closure96() │
00:23:03 verbose #40844 > │ UH0_0(11.664236870340249, v0) │
00:23:03 verbose #40845 > │ and closure94 () () : UH0 = │
00:23:03 verbose #40846 > │ let v0 : (unit -> UH0) = closure95() │
00:23:03 verbose #40847 > │ UH0_0(11.664236870322135, v0) │
00:23:03 verbose #40848 > │ and closure93 () () : UH0 = │
00:23:03 verbose #40849 > │ let v0 : (unit -> UH0) = closure94() │
00:23:03 verbose #40850 > │ UH0_0(11.664236870298145, v0) │
00:23:03 verbose #40851 > │ and closure92 () () : UH0 = │
00:23:03 verbose #40852 > │ let v0 : (unit -> UH0) = closure93() │
00:23:03 verbose #40853 > │ UH0_0(11.664236870266372, v0) │
00:23:03 verbose #40854 > │ and closure91 () () : UH0 = │
00:23:03 verbose #40855 > │ let v0 : (unit -> UH0) = closure92() │
00:23:03 verbose #40856 > │ UH0_0(11.664236870224292, v0) │
00:23:03 verbose #40857 > │ and closure90 () () : UH0 = │
00:23:03 verbose #40858 > │ let v0 : (unit -> UH0) = closure91() │
00:23:03 verbose #40859 > │ UH0_0(11.66423687016856, v0) │
00:23:03 verbose #40860 > │ and closure89 () () : UH0 = │
00:23:03 verbose #40861 > │ let v0 : (unit -> UH0) = closure90() │
00:23:03 verbose #40862 > │ UH0_0(11.664236870094747, v0) │
00:23:03 verbose #40863 > │ and closure88 () () : UH0 = │
00:23:03 verbose #40864 > │ let v0 : (unit -> UH0) = closure89() │
00:23:03 verbose #40865 > │ UH0_0(11.664236869996989, v0) │
00:23:03 verbose #40866 > │ and closure87 () () : UH0 = │
00:23:03 verbose #40867 > │ let v0 : (unit -> UH0) = closure88() │
00:23:03 verbose #40868 > │ UH0_0(11.664236869867516, v0) │
00:23:03 verbose #40869 > │ and closure86 () () : UH0 = │
00:23:03 verbose #40870 > │ let v0 : (unit -> UH0) = closure87() │
00:23:03 verbose #40871 > │ UH0_0(11.66423686969604, v0) │
00:23:03 verbose #40872 > │ and closure85 () () : UH0 = │
00:23:03 verbose #40873 > │ let v0 : (unit -> UH0) = closure86() │
00:23:03 verbose #40874 > │ UH0_0(11.664236869468937, v0) │
00:23:03 verbose #40875 > │ and closure84 () () : UH0 = │
00:23:03 verbose #40876 > │ let v0 : (unit -> UH0) = closure85() │
00:23:03 verbose #40877 > │ UH0_0(11.664236869168157, v0) │
00:23:03 verbose #40878 > │ and closure83 () () : UH0 = │
00:23:03 verbose #40879 > │ let v0 : (unit -> UH0) = closure84() │
00:23:03 verbose #40880 > │ UH0_0(11.6642368687698, v0) │
00:23:03 verbose #40881 > │ and closure82 () () : UH0 = │
00:23:03 verbose #40882 > │ let v0 : (unit -> UH0) = closure83() │
00:23:03 verbose #40883 > │ UH0_0(11.664236868242211, v0) │
00:23:03 verbose #40884 > │ and closure81 () () : UH0 = │
00:23:03 verbose #40885 > │ let v0 : (unit -> UH0) = closure82() │
00:23:03 verbose #40886 > │ UH0_0(11.664236867543465, v0) │
00:23:03 verbose #40887 > │ and closure80 () () : UH0 = │
00:23:03 verbose #40888 > │ let v0 : (unit -> UH0) = closure81() │
00:23:03 verbose #40889 > │ UH0_0(11.664236866618037, v0) │
00:23:03 verbose #40890 > │ and closure79 () () : UH0 = │
00:23:03 verbose #40891 > │ let v0 : (unit -> UH0) = closure80() │
00:23:03 verbose #40892 > │ UH0_0(11.664236865392386, v0) │
00:23:03 verbose #40893 > │ and closure78 () () : UH0 = │
00:23:03 verbose #40894 > │ let v0 : (unit -> UH0) = closure79() │
00:23:03 verbose #40895 > │ UH0_0(11.664236863769117, v0) │
00:23:03 verbose #40896 > │ and closure77 () () : UH0 = │
00:23:03 verbose #40897 > │ let v0 : (unit -> UH0) = closure78() │
00:23:03 verbose #40898 > │ UH0_0(11.664236861619237, v0) │
00:23:03 verbose #40899 > │ and closure76 () () : UH0 = │
00:23:03 verbose #40900 > │ let v0 : (unit -> UH0) = closure77() │
00:23:03 verbose #40901 > │ UH0_0(11.664236858771906, v0) │
00:23:03 verbose #40902 > │ and closure75 () () : UH0 = │
00:23:03 verbose #40903 > │ let v0 : (unit -> UH0) = closure76() │
00:23:03 verbose #40904 > │ UH0_0(11.66423685500086, v0) │
00:23:03 verbose #40905 > │ and closure74 () () : UH0 = │
00:23:03 verbose #40906 > │ let v0 : (unit -> UH0) = closure75() │
00:23:03 verbose #40907 > │ UH0_0(11.664236850006436, v0) │
00:23:03 verbose #40908 > │ and closure73 () () : UH0 = │
00:23:03 verbose #40909 > │ let v0 : (unit -> UH0) = closure74() │
00:23:03 verbose #40910 > │ UH0_0(11.664236843391752, v0) │
00:23:03 verbose #40911 > │ and closure72 () () : UH0 = │
00:23:03 verbose #40912 > │ let v0 : (unit -> UH0) = closure73() │
00:23:03 verbose #40913 > │ UH0_0(11.664236834631172, v0) │
00:23:03 verbose #40914 > │ and closure71 () () : UH0 = │
00:23:03 verbose #40915 > │ let v0 : (unit -> UH0) = closure72() │
00:23:03 verbose #40916 > │ UH0_0(11.66423682302854, v0) │
00:23:03 verbose #40917 > │ and closure70 () () : UH0 = │
00:23:03 verbose #40918 > │ let v0 : (unit -> UH0) = closure71() │
00:23:03 verbose #40919 > │ UH0_0(11.664236807661855, v0) │
00:23:03 verbose #40920 > │ and closure69 () () : UH0 = │
00:23:03 verbose #40921 > │ let v0 : (unit -> UH0) = closure70() │
00:23:03 verbose #40922 > │ UH0_0(11.664236787310005, v0) │
00:23:03 verbose #40923 > │ and closure68 () () : UH0 = │
00:23:03 verbose #40924 > │ let v0 : (unit -> UH0) = closure69() │
00:23:03 verbose #40925 > │ UH0_0(11.664236760355733, v0) │
00:23:03 verbose #40926 > │ and closure67 () () : UH0 = │
00:23:03 verbose #40927 > │ let v0 : (unit -> UH0) = closure68() │
00:23:03 verbose #40928 > │ UH0_0(11.664236724657123, v0) │
00:23:03 verbose #40929 > │ and closure66 () () : UH0 = │
00:23:03 verbose #40930 > │ let v0 : (unit -> UH0) = closure67() │
00:23:03 verbose #40931 > │ UH0_0(11.66423667737739, v0) │
00:23:03 verbose #40932 > │ and closure65 () () : UH0 = │
00:23:03 verbose #40933 > │ let v0 : (unit -> UH0) = closure66() │
00:23:03 verbose #40934 > │ UH0_0(11.664236614759462, v0) │
00:23:03 verbose #40935 > │ and closure64 () () : UH0 = │
00:23:03 verbose #40936 > │ let v0 : (unit -> UH0) = closure65() │
00:23:03 verbose #40937 > │ UH0_0(11.664236531827415, v0) │
00:23:03 verbose #40938 > │ and closure63 () () : UH0 = │
00:23:03 verbose #40939 > │ let v0 : (unit -> UH0) = closure64() │
00:23:03 verbose #40940 > │ UH0_0(11.664236421991067, v0) │
00:23:03 verbose #40941 > │ and closure62 () () : UH0 = │
00:23:03 verbose #40942 > │ let v0 : (unit -> UH0) = closure63() │
00:23:03 verbose #40943 > │ UH0_0(11.664236276522294, v0) │
00:23:03 verbose #40944 > │ and closure61 () () : UH0 = │
00:23:03 verbose #40945 > │ let v0 : (unit -> UH0) = closure62() │
00:23:03 verbose #40946 > │ UH0_0(11.664236083861448, v0) │
00:23:03 verbose #40947 > │ and closure60 () () : UH0 = │
00:23:03 verbose #40948 > │ let v0 : (unit -> UH0) = closure61() │
00:23:03 verbose #40949 > │ UH0_0(11.664235828698772, v0) │
00:23:03 verbose #40950 > │ and closure59 () () : UH0 = │
00:23:03 verbose #40951 > │ let v0 : (unit -> UH0) = closure60() │
00:23:03 verbose #40952 > │ UH0_0(11.664235490757811, v0) │
00:23:03 verbose #40953 > │ and closure58 () () : UH0 = │
00:23:03 verbose #40954 > │ let v0 : (unit -> UH0) = closure59() │
00:23:03 verbose #40955 > │ UH0_0(11.664235043184158, v0) │
00:23:03 verbose #40956 > │ and closure57 () () : UH0 = │
00:23:03 verbose #40957 > │ let v0 : (unit -> UH0) = closure58() │
00:23:03 verbose #40958 > │ UH0_0(11.66423445041147, v0) │
00:23:03 verbose #40959 > │ and closure56 () () : UH0 = │
00:23:03 verbose #40960 > │ let v0 : (unit -> UH0) = closure57() │
00:23:03 verbose #40961 > │ UH0_0(11.664233665335203, v0) │
00:23:03 verbose #40962 > │ and closure55 () () : UH0 = │
00:23:03 verbose #40963 > │ let v0 : (unit -> UH0) = closure56() │
00:23:03 verbose #40964 > │ UH0_0(11.664232625569467, v0) │
00:23:03 verbose #40965 > │ and closure54 () () : UH0 = │
00:23:03 verbose #40966 > │ let v0 : (unit -> UH0) = closure55() │
00:23:03 verbose #40967 > │ UH0_0(11.664231248489562, v0) │
00:23:03 verbose #40968 > │ and closure53 () () : UH0 = │
00:23:03 verbose #40969 > │ let v0 : (unit -> UH0) = closure54() │
00:23:03 verbose #40970 > │ UH0_0(11.664229424666262, v0) │
00:23:03 verbose #40971 > │ and closure52 () () : UH0 = │
00:23:03 verbose #40972 > │ let v0 : (unit -> UH0) = closure53() │
00:23:03 verbose #40973 > │ UH0_0(11.66422700917009, v0) │
00:23:03 verbose #40974 > │ and closure51 () () : UH0 = │
00:23:03 verbose #40975 > │ let v0 : (unit -> UH0) = closure52() │
00:23:03 verbose #40976 > │ UH0_0(11.664223810054642, v0) │
00:23:03 verbose #40977 > │ and closure50 () () : UH0 = │
00:23:03 verbose #40978 > │ let v0 : (unit -> UH0) = closure51() │
00:23:03 verbose #40979 > │ UH0_0(11.664219573103773, v0) │
00:23:03 verbose #40980 > │ and closure49 () () : UH0 = │
00:23:03 verbose #40981 > │ let v0 : (unit -> UH0) = closure50() │
00:23:03 verbose #40982 > │ UH0_0(11.6642139616307, v0) │
00:23:03 verbose #40983 > │ and closure48 () () : UH0 = │
00:23:03 verbose #40984 > │ let v0 : (unit -> UH0) = closure49() │
00:23:03 verbose #40985 > │ UH0_0(11.664206529723813, v0) │
00:23:03 verbose #40986 > │ and closure47 () () : UH0 = │
00:23:03 verbose #40987 > │ let v0 : (unit -> UH0) = closure48() │
00:23:03 verbose #40988 > │ UH0_0(11.664196686813408, v0) │
00:23:03 verbose #40989 > │ and closure46 () () : UH0 = │
00:23:03 verbose #40990 > │ let v0 : (unit -> UH0) = closure47() │
00:23:03 verbose #40991 > │ UH0_0(11.664183650743945, v0) │
00:23:03 verbose #40992 > │ and closure45 () () : UH0 = │
00:23:03 verbose #40993 > │ let v0 : (unit -> UH0) = closure46() │
00:23:03 verbose #40994 > │ UH0_0(11.664166385623318, v0) │
00:23:03 verbose #40995 > │ and closure44 () () : UH0 = │
00:23:03 verbose #40996 > │ let v0 : (unit -> UH0) = closure45() │
00:23:03 verbose #40997 > │ UH0_0(11.664143519511356, v0) │
00:23:03 verbose #40998 > │ and closure43 () () : UH0 = │
00:23:03 verbose #40999 > │ let v0 : (unit -> UH0) = closure44() │
00:23:03 verbose #41000 > │ UH0_0(11.664113235408447, v0) │
00:23:03 verbose #41001 > │ and closure42 () () : UH0 = │
00:23:03 verbose #41002 > │ let v0 : (unit -> UH0) = closure43() │
00:23:03 verbose #41003 > │ UH0_0(11.66407312688485, v0) │
00:23:03 verbose #41004 > │ and closure41 () () : UH0 = │
00:23:03 verbose #41005 > │ let v0 : (unit -> UH0) = closure42() │
00:23:03 verbose #41006 > │ UH0_0(11.664020006883758, v0) │
00:23:03 verbose #41007 > │ and closure40 () () : UH0 = │
00:23:03 verbose #41008 > │ let v0 : (unit -> UH0) = closure41() │
00:23:03 verbose #41009 > │ UH0_0(11.663949654514292, v0) │
00:23:03 verbose #41010 > │ and closure39 () () : UH0 = │
00:23:03 verbose #41011 > │ let v0 : (unit -> UH0) = closure40() │
00:23:03 verbose #41012 > │ UH0_0(11.663856479730171, v0) │
00:23:03 verbose #41013 > │ and closure38 () () : UH0 = │
00:23:03 verbose #41014 > │ let v0 : (unit -> UH0) = closure39() │
00:23:03 verbose #41015 > │ UH0_0(11.663733079277343, v0) │
00:23:03 verbose #41016 > │ and closure37 () () : UH0 = │
00:23:03 verbose #41017 > │ let v0 : (unit -> UH0) = closure38() │
00:23:03 verbose #41018 > │ UH0_0(11.663569648675777, v0) │
00:23:03 verbose #41019 > │ and closure36 () () : UH0 = │
00:23:03 verbose #41020 > │ let v0 : (unit -> UH0) = closure37() │
00:23:03 verbose #41021 > │ UH0_0(11.663353203599439, v0) │
00:23:03 verbose #41022 > │ and closure35 () () : UH0 = │
00:23:03 verbose #41023 > │ let v0 : (unit -> UH0) = closure36() │
00:23:03 verbose #41024 > │ UH0_0(11.663066548940721, v0) │
00:23:03 verbose #41025 > │ and closure34 () () : UH0 = │
00:23:03 verbose #41026 > │ let v0 : (unit -> UH0) = closure35() │
00:23:03 verbose #41027 > │ UH0_0(11.662686913915445, v0) │
00:23:03 verbose #41028 > │ and closure33 () () : UH0 = │
00:23:03 verbose #41029 > │ let v0 : (unit -> UH0) = closure34() │
00:23:03 verbose #41030 > │ UH0_0(11.662184145236864, v0) │
00:23:03 verbose #41031 > │ and closure32 () () : UH0 = │
00:23:03 verbose #41032 > │ let v0 : (unit -> UH0) = closure33() │
00:23:03 verbose #41033 > │ UH0_0(11.661518315638029, v0) │
00:23:03 verbose #41034 > │ and closure31 () () : UH0 = │
00:23:03 verbose #41035 > │ let v0 : (unit -> UH0) = closure32() │
00:23:03 verbose #41036 > │ UH0_0(11.66063655920926, v0) │
00:23:03 verbose #41037 > │ and closure30 () () : UH0 = │
00:23:03 verbose #41038 > │ let v0 : (unit -> UH0) = closure31() │
00:23:03 verbose #41039 > │ UH0_0(11.659468884709733, v0) │
00:23:03 verbose #41040 > │ and closure29 () () : UH0 = │
00:23:03 verbose #41041 > │ let v0 : (unit -> UH0) = closure30() │
00:23:03 verbose #41042 > │ UH0_0(11.657922638782631, v0) │
00:23:03 verbose #41043 > │ and closure28 () () : UH0 = │
00:23:03 verbose #41044 > │ let v0 : (unit -> UH0) = closure29() │
00:23:03 verbose #41045 > │ UH0_0(11.655875187195818, v0) │
00:23:03 verbose #41046 > │ and closure27 () () : UH0 = │
00:23:03 verbose #41047 > │ let v0 : (unit -> UH0) = closure28() │
00:23:03 verbose #41048 > │ UH0_0(11.653164246713697, v0) │
00:23:03 verbose #41049 > │ and closure26 () () : UH0 = │
00:23:03 verbose #41050 > │ let v0 : (unit -> UH0) = closure27() │
00:23:03 verbose #41051 > │ UH0_0(11.64957512416459, v0) │
00:23:03 verbose #41052 > │ and closure25 () () : UH0 = │
00:23:03 verbose #41053 > │ let v0 : (unit -> UH0) = closure26() │
00:23:03 verbose #41054 > │ UH0_0(11.644823892116417, v0) │
00:23:03 verbose #41055 > │ and closure24 () () : UH0 = │
00:23:03 verbose #41056 > │ let v0 : (unit -> UH0) = closure25() │
00:23:03 verbose #41057 > │ UH0_0(11.63853524018339, v0) │
00:23:03 verbose #41058 > │ and closure23 () () : UH0 = │
00:23:03 verbose #41059 > │ let v0 : (unit -> UH0) = closure24() │
00:23:03 verbose #41060 > │ UH0_0(11.630213374558416, v0) │
00:23:03 verbose #41061 > │ and closure22 () () : UH0 = │
00:23:03 verbose #41062 > │ let v0 : (unit -> UH0) = closure23() │
00:23:03 verbose #41063 > │ UH0_0(11.619203884549703, v0) │
00:23:03 verbose #41064 > │ and closure21 () () : UH0 = │
00:23:03 verbose #41065 > │ let v0 : (unit -> UH0) = closure22() │
00:23:03 verbose #41066 > │ UH0_0(11.604643948207235, v0) │
00:23:03 verbose #41067 > │ and closure20 () () : UH0 = │
00:23:03 verbose #41068 > │ let v0 : (unit -> UH0) = closure21() │
00:23:03 verbose #41069 > │ UH0_0(11.585397618384544, v0) │
00:23:03 verbose #41070 > │ and closure19 () () : UH0 = │
00:23:03 verbose #41071 > │ let v0 : (unit -> UH0) = closure20() │
00:23:03 verbose #41072 > │ UH0_0(11.559972254267073, v0) │
00:23:03 verbose #41073 > │ and closure18 () () : UH0 = │
00:23:03 verbose #41074 > │ let v0 : (unit -> UH0) = closure19() │
00:23:03 verbose #41075 > │ UH0_0(11.526411536153837, v0) │
00:23:03 verbose #41076 > │ and closure17 () () : UH0 = │
00:23:03 verbose #41077 > │ let v0 : (unit -> UH0) = closure18() │
00:23:03 verbose #41078 > │ UH0_0(11.48216011776808, v0) │
00:23:03 verbose #41079 > │ and closure16 () () : UH0 = │
00:23:03 verbose #41080 > │ let v0 : (unit -> UH0) = closure17() │
00:23:03 verbose #41081 > │ UH0_0(11.42389519391233, v0) │
00:23:03 verbose #41082 > │ and closure15 () () : UH0 = │
00:23:03 verbose #41083 > │ let v0 : (unit -> UH0) = closure16() │
00:23:03 verbose #41084 > │ UH0_0(11.347321723441393, v0) │
00:23:03 verbose #41085 > │ and closure14 () () : UH0 = │
00:23:03 verbose #41086 > │ let v0 : (unit -> UH0) = closure15() │
00:23:03 verbose #41087 > │ UH0_0(11.246931775734161, v0) │
00:23:03 verbose #41088 > │ and closure13 () () : UH0 = │
00:23:03 verbose #41089 > │ let v0 : (unit -> UH0) = closure14() │
00:23:03 verbose #41090 > │ UH0_0(11.115736011467376, v0) │
00:23:03 verbose #41091 > │ and closure12 () () : UH0 = │
00:23:03 verbose #41092 > │ let v0 : (unit -> UH0) = closure13() │
00:23:03 verbose #41093 > │ UH0_0(10.94498876251829, v0) │
00:23:03 verbose #41094 > │ and closure11 () () : UH0 = │
00:23:03 verbose #41095 > │ let v0 : (unit -> UH0) = closure12() │
00:23:03 verbose #41096 > │ UH0_0(10.72394989903564, v0) │
00:23:03 verbose #41097 > │ and closure10 () () : UH0 = │
00:23:03 verbose #41098 > │ let v0 : (unit -> UH0) = closure11() │
00:23:03 verbose #41099 > │ UH0_0(10.439758275369812, v0) │
00:23:03 verbose #41100 > │ and closure9 () () : UH0 = │
00:23:03 verbose #41101 > │ let v0 : (unit -> UH0) = closure10() │
00:23:03 verbose #41102 > │ UH0_0(10.077531599826058, v0) │
00:23:03 verbose #41103 > │ and closure8 () () : UH0 = │
00:23:03 verbose #41104 > │ let v0 : (unit -> UH0) = closure9() │
00:23:03 verbose #41105 > │ UH0_0(9.62084761372258, v0) │
00:23:03 verbose #41106 > │ and closure7 () () : UH0 = │
00:23:03 verbose #41107 > │ let v0 : (unit -> UH0) = closure8() │
00:23:03 verbose #41108 > │ UH0_0(9.052781056066443, v0) │
00:23:03 verbose #41109 > │ and closure6 () () : UH0 = │
00:23:03 verbose #41110 > │ let v0 : (unit -> UH0) = closure7() │
00:23:03 verbose #41111 > │ UH0_0(8.357635347880503, v0) │
00:23:03 verbose #41112 > │ and closure5 () () : UH0 = │
00:23:03 verbose #41113 > │ let v0 : (unit -> UH0) = closure6() │
00:23:03 verbose #41114 > │ UH0_0(7.523376447621674, v0) │
00:23:03 verbose #41115 > │ and closure4 () () : UH0 = │
00:23:03 verbose #41116 > │ let v0 : (unit -> UH0) = closure5() │
00:23:03 verbose #41117 > │ UH0_0(6.544529054818572, v0) │
00:23:03 verbose #41118 > │ and closure3 () () : UH0 = │
00:23:03 verbose #41119 > │ let v0 : (unit -> UH0) = closure4() │
00:23:03 verbose #41120 > │ UH0_0(5.424976512996006, v0) │
00:23:03 verbose #41121 > │ and closure2 () () : UH0 = │
00:23:03 verbose #41122 > │ let v0 : (unit -> UH0) = closure3() │
00:23:03 verbose #41123 > │ UH0_0(4.179852321428571, v0) │
00:23:03 verbose #41124 > │ and closure1 () () : UH0 = │
00:23:03 verbose #41125 > │ let v0 : (unit -> UH0) = closure2() │
00:23:03 verbose #41126 > │ UH0_0(2.835714285714286, v0) │
00:23:03 verbose #41127 > │ and closure0 () () : UH0 = │
00:23:03 verbose #41128 > │ let v0 : (unit -> UH0) = closure1() │
00:23:03 verbose #41129 > │ UH0_0(1.4285714285714286, v0) │
00:23:03 verbose #41130 > │ and method3 (v0 : float, v1 : UH0) : US0 = │
00:23:03 verbose #41131 > │ match v1 with │
00:23:03 verbose #41132 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:23:03 verbose #41133 > │ let v4 : bool = v0 <= 0.0 │
00:23:03 verbose #41134 > │ if v4 then │
00:23:03 verbose #41135 > │ US0_0(v2) │
00:23:03 verbose #41136 > │ else │
00:23:03 verbose #41137 > │ let v6 : float = v0 - 1.0 │
00:23:03 verbose #41138 > │ let v7 : UH0 = v3 () │
00:23:03 verbose #41139 > │ method3(v6, v7) │
00:23:03 verbose #41140 > │ | UH0_1 -> (* StreamNil *) │
00:23:03 verbose #41141 > │ US0_1 │
00:23:03 verbose #41142 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:03 verbose #41143 > │ []) * (float [])) [])) = │
00:23:03 verbose #41144 > │ let v0 : (float []) = Array.zeroCreate<float> (121) │
00:23:03 verbose #41145 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:23:03 verbose #41146 > │ while method1(v1) do │
00:23:03 verbose #41147 > │ let v3 : int32 = v1.l0 │
00:23:03 verbose #41148 > │ let v4 : float = float v3 │
00:23:03 verbose #41149 > │ let v5 : float = 0.5 * v4 │
00:23:03 verbose #41150 > │ v0.[int v3] <- v5 │
00:23:03 verbose #41151 > │ let v6 : int32 = v3 + 1 │
00:23:03 verbose #41152 > │ v1.l0 <- v6 │
00:23:03 verbose #41153 > │ () │
00:23:03 verbose #41154 > │ let v7 : int32 = v0.Length │
00:23:03 verbose #41155 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:23:03 verbose #41156 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:23:03 verbose #41157 > │ while method2(v7, v9) do │
00:23:03 verbose #41158 > │ let v11 : int32 = v9.l0 │
00:23:03 verbose #41159 > │ let v12 : float = v0.[int v11] │
00:23:03 verbose #41160 > │ let v13 : float = round v12 │
00:23:03 verbose #41161 > │ let v14 : float = -v13 │
00:23:03 verbose #41162 > │ let v15 : bool = v13 >= v14 │
00:23:03 verbose #41163 > │ let v16 : float = │
00:23:03 verbose #41164 > │ if v15 then │
00:23:03 verbose #41165 > │ v13 │
00:23:03 verbose #41166 > │ else │
00:23:03 verbose #41167 > │ v14 │
00:23:03 verbose #41168 > │ let v17 : float = 0.0 │
00:23:03 verbose #41169 > │ let v18 : (unit -> UH0) = closure0() │
00:23:03 verbose #41170 > │ let v19 : UH0 = UH0_0(v17, v18) │
00:23:03 verbose #41171 > │ let v20 : US0 = method3(v16, v19) │
00:23:03 verbose #41172 > │ let v23 : float = │
00:23:03 verbose #41173 > │ match v20 with │
00:23:03 verbose #41174 > │ | US0_1 -> (* None *) │
00:23:03 verbose #41175 > │ 0.0 │
00:23:03 verbose #41176 > │ | US0_0(v21) -> (* Some *) │
00:23:03 verbose #41177 > │ v21 │
00:23:03 verbose #41178 > │ v8.[int v11] <- v23 │
00:23:03 verbose #41179 > │ let v24 : int32 = v11 + 1 │
00:23:03 verbose #41180 > │ v9.l0 <- v24 │
00:23:03 verbose #41181 > │ () │
00:23:03 verbose #41182 > │ let v25 : string = "velocity of bike (m/s)" │
00:23:03 verbose #41183 > │ let v26 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:03 verbose #41184 > │ (v25, v0, v8)|] │
00:23:03 verbose #41185 > │ let v27 : string = "bike velocity" │
00:23:03 verbose #41186 > │ let v28 : string = "time (s)" │
00:23:03 verbose #41187 > │ let v29 : string = "" │
00:23:03 verbose #41188 > │ struct (v27, v28, v29, v26) │
00:23:03 verbose #41189 > │ method0() │
00:23:03 verbose #41190 > │ │
00:23:03 verbose #41191 > │ │
00:23:03 verbose #41192 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:03 verbose #41193 >
00:23:03 verbose #41194 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:03 verbose #41195 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:03 verbose #41196 > │ ## velocity_ftv │
00:23:03 verbose #41197 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:03 verbose #41198 >
00:23:03 verbose #41199 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:03 verbose #41200 > inl newton_second_tv m fs (t, v0) =
00:23:03 verbose #41201 > inl f_net = fs |> listm.map (fun f => f (t, v0)) |> listm'.sum
00:23:03 verbose #41202 > inl acc = f_net / m
00:23:03 verbose #41203 > 1, acc
00:23:03 verbose #41204 >
00:23:03 verbose #41205 > inl update_tv dt m fs (t, v0) =
00:23:03 verbose #41206 > inl dtdt, dvdt = newton_second_tv m fs (t, v0)
00:23:03 verbose #41207 > t + dtdt * dt, v0 + dvdt * dt
00:23:03 verbose #41208 >
00:23:03 verbose #41209 > inl velocity_ftv dt m tv0 fs t =
00:23:03 verbose #41210 > stream.iterate (join update_tv dt m fs) tv0
00:23:03 verbose #41211 > |> stream.try_item (t / dt |> math.round |> abs)
00:23:03 verbose #41212 > |> optionm.map snd
00:23:03 verbose #41213 > |> optionm'.default_value 0
00:23:03 verbose #41214 > 00:23:02 debug #812 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/282f45ac2a3c8100034e4595f0d8e4bfeef1698d7e35922d72ef00fe8540772d/main.spi
00:23:03 verbose #41215 >
00:23:03 verbose #41216 > ╭─[ 657.53ms - stdout ]────────────────────────────────────────────────────────╮
00:23:03 verbose #41217 > │ () │
00:23:03 verbose #41218 > │ │
00:23:03 verbose #41219 > │ │
00:23:03 verbose #41220 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:03 verbose #41221 >
00:23:03 verbose #41222 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:03 verbose #41223 > //// test
00:23:03 verbose #41224 >
00:23:03 verbose #41225 > inl x = am'.init_series 0 100 0.1
00:23:03 verbose #41226 > inl y =
00:23:03 verbose #41227 > x
00:23:03 verbose #41228 > |> am.map (
00:23:03 verbose #41229 > velocity_ftv 0.1 20 (dyn (0, 0)) [[ fun (t, _) => pedal_coast t; fun (_,
00:23:03 verbose #41230 > v) => f_air 2 1.225 0.5 v ]]
00:23:03 verbose #41231 > )
00:23:03 verbose #41232 > "pedaling and coasting with air", "time (s)", "", ;[[ "velocity of bike (m/s)",
00:23:03 verbose #41233 > x, y ]]
00:23:04 verbose #41234 > 00:23:03 debug #813 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/54b745f5e77f771f9f6792f525ad650f391a920c09dd351cb5c7bc9c045ba622/main.spi
00:23:04 verbose #41235 >
00:23:04 verbose #41236 > ╭─[ 885.19ms - return value ]──────────────────────────────────────────────────╮
00:23:04 verbose #41237 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:04 verbose #41238 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:04 verbose #41239 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:04 verbose #41240 > │ stroke="none"/> │
00:23:04 verbose #41241 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:04 verbose #41242 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:04 verbose #41243 > │ fill="#FFFFFF"> │
00:23:04 verbose #41244 > │ pedaling and coasting with air │
00:23:04 verbose #41245 > │ </text> │
00:23:04 verbose #41246 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:23:04 verbose #41247 > │ y2="75"/> │
00:23:04 verbose #41248 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:04 verbose #41249 > │ y2="75"/> │
00:23:04 verbose #41250 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:23:04 verbose #41251 > │ y2="75"/> │
00:23:04 verbose #41252 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:23:04 verbose #41253 > │ y2="75"/> │
00:23:04 verbose #41254 > │ <line opacity="1" stroke="#323232" stroke-width="1" x... │
00:23:04 verbose #41255 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:04 verbose #41256 >
00:23:04 verbose #41257 > ╭─[ 892.87ms - stdout ]────────────────────────────────────────────────────────╮
00:23:04 verbose #41258 > │ type Mut0 = {mutable l0 : int32} │
00:23:04 verbose #41259 > │ and UH0 = │
00:23:04 verbose #41260 > │ | UH0_0 of float * float * (unit -> UH0) │
00:23:04 verbose #41261 > │ | UH0_1 │
00:23:04 verbose #41262 > │ and [<Struct>] US0 = │
00:23:04 verbose #41263 > │ | US0_0 of f0_0 : float * f0_1 : float │
00:23:04 verbose #41264 > │ | US0_1 │
00:23:04 verbose #41265 > │ and [<Struct>] US1 = │
00:23:04 verbose #41266 > │ | US1_0 of f0_0 : float │
00:23:04 verbose #41267 > │ | US1_1 │
00:23:04 verbose #41268 > │ let rec method1 (v0 : Mut0) : bool = │
00:23:04 verbose #41269 > │ let v1 : int32 = v0.l0 │
00:23:04 verbose #41270 > │ let v2 : bool = v1 < 1001 │
00:23:04 verbose #41271 > │ v2 │
00:23:04 verbose #41272 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:23:04 verbose #41273 > │ let v2 : int32 = v1.l0 │
00:23:04 verbose #41274 > │ let v3 : bool = v2 < v0 │
00:23:04 verbose #41275 > │ v3 │
00:23:04 verbose #41276 > │ and closure0 () struct (v0 : float, v1 : float) : struct (float * float) = │
00:23:04 verbose #41277 > │ let v2 : float = -v1 │
00:23:04 verbose #41278 > │ let v3 : bool = v1 >= v2 │
00:23:04 verbose #41279 > │ let v4 : float = │
00:23:04 verbose #41280 > │ if v3 then │
00:23:04 verbose #41281 > │ v1 │
00:23:04 verbose #41282 > │ else │
00:23:04 verbose #41283 > │ v2 │
00:23:04 verbose #41284 > │ let v5 : float = -1.225 * v4 │
00:23:04 verbose #41285 > │ let v6 : float = v5 * v1 │
00:23:04 verbose #41286 > │ let v7 : float = v6 / 2.0 │
00:23:04 verbose #41287 > │ let v8 : float = v0 / 20.0 │
00:23:04 verbose #41288 > │ let v9 : int32 = int32 v8 │
00:23:04 verbose #41289 > │ let v10 : float = float v9 │
00:23:04 verbose #41290 > │ let v11 : float = v10 * 20.0 │
00:23:04 verbose #41291 > │ let v12 : float = v0 - v11 │
00:23:04 verbose #41292 > │ let v13 : bool = v12 > 0.0 │
00:23:04 verbose #41293 > │ let v15 : bool = │
00:23:04 verbose #41294 > │ if v13 then │
00:23:04 verbose #41295 > │ let v14 : bool = v12 < 10.0 │
00:23:04 verbose #41296 > │ v14 │
00:23:04 verbose #41297 > │ else │
00:23:04 verbose #41298 > │ false │
00:23:04 verbose #41299 > │ let v16 : float = │
00:23:04 verbose #41300 > │ if v15 then │
00:23:04 verbose #41301 > │ 10.0 │
00:23:04 verbose #41302 > │ else │
00:23:04 verbose #41303 > │ 0.0 │
00:23:04 verbose #41304 > │ let v17 : float = v16 + v7 │
00:23:04 verbose #41305 > │ let v18 : float = v17 / 20.0 │
00:23:04 verbose #41306 > │ let v19 : float = v0 + 0.1 │
00:23:04 verbose #41307 > │ let v20 : float = v18 * 0.1 │
00:23:04 verbose #41308 > │ let v21 : float = v1 + v20 │
00:23:04 verbose #41309 > │ struct (v19, v21) │
00:23:04 verbose #41310 > │ and method3 () : (struct (float * float) -> struct (float * float)) = │
00:23:04 verbose #41311 > │ closure0() │
00:23:04 verbose #41312 > │ and closure1 (v0 : (struct (float * float) -> struct (float * float)), v1 : │
00:23:04 verbose #41313 > │ float, v2 : float, v3 : float, v4 : float) () : UH0 = │
00:23:04 verbose #41314 > │ let struct (v5 : float, v6 : float) = v0 struct (v3, v4) │
00:23:04 verbose #41315 > │ let v7 : (unit -> UH0) = closure1(v0, v1, v2, v5, v6) │
00:23:04 verbose #41316 > │ UH0_0(v3, v4, v7) │
00:23:04 verbose #41317 > │ and method4 (v0 : float, v1 : UH0) : US0 = │
00:23:04 verbose #41318 > │ match v1 with │
00:23:04 verbose #41319 > │ | UH0_0(v2, v3, v4) -> (* StreamCons *) │
00:23:04 verbose #41320 > │ let v5 : bool = v0 <= 0.0 │
00:23:04 verbose #41321 > │ if v5 then │
00:23:04 verbose #41322 > │ US0_0(v2, v3) │
00:23:04 verbose #41323 > │ else │
00:23:04 verbose #41324 > │ let v7 : float = v0 - 1.0 │
00:23:04 verbose #41325 > │ let v8 : UH0 = v4 () │
00:23:04 verbose #41326 > │ method4(v7, v8) │
00:23:04 verbose #41327 > │ | UH0_1 -> (* StreamNil *) │
00:23:04 verbose #41328 > │ US0_1 │
00:23:04 verbose #41329 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:04 verbose #41330 > │ []) * (float [])) [])) = │
00:23:04 verbose #41331 > │ let v0 : (float []) = Array.zeroCreate<float> (1001) │
00:23:04 verbose #41332 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:23:04 verbose #41333 > │ while method1(v1) do │
00:23:04 verbose #41334 > │ let v3 : int32 = v1.l0 │
00:23:04 verbose #41335 > │ let v4 : float = float v3 │
00:23:04 verbose #41336 > │ let v5 : float = 0.1 * v4 │
00:23:04 verbose #41337 > │ v0.[int v3] <- v5 │
00:23:04 verbose #41338 > │ let v6 : int32 = v3 + 1 │
00:23:04 verbose #41339 > │ v1.l0 <- v6 │
00:23:04 verbose #41340 > │ () │
00:23:04 verbose #41341 > │ let v7 : float = 0.0 │
00:23:04 verbose #41342 > │ let v8 : float = 0.0 │
00:23:04 verbose #41343 > │ let v9 : int32 = v0.Length │
00:23:04 verbose #41344 > │ let v10 : (float []) = Array.zeroCreate<float> (v9) │
00:23:04 verbose #41345 > │ let v11 : Mut0 = {l0 = 0} : Mut0 │
00:23:04 verbose #41346 > │ while method2(v9, v11) do │
00:23:04 verbose #41347 > │ let v13 : int32 = v11.l0 │
00:23:04 verbose #41348 > │ let v14 : float = v0.[int v13] │
00:23:04 verbose #41349 > │ let v15 : (struct (float * float) -> struct (float * float)) = │
00:23:04 verbose #41350 > │ method3() │
00:23:04 verbose #41351 > │ let struct (v16 : float, v17 : float) = v15 struct (v7, v8) │
00:23:04 verbose #41352 > │ let v18 : float = v14 / 0.1 │
00:23:04 verbose #41353 > │ let v19 : float = round v18 │
00:23:04 verbose #41354 > │ let v20 : float = -v19 │
00:23:04 verbose #41355 > │ let v21 : bool = v19 >= v20 │
00:23:04 verbose #41356 > │ let v22 : float = │
00:23:04 verbose #41357 > │ if v21 then │
00:23:04 verbose #41358 > │ v19 │
00:23:04 verbose #41359 > │ else │
00:23:04 verbose #41360 > │ v20 │
00:23:04 verbose #41361 > │ let v23 : (unit -> UH0) = closure1(v15, v7, v8, v16, v17) │
00:23:04 verbose #41362 > │ let v24 : UH0 = UH0_0(v7, v8, v23) │
00:23:04 verbose #41363 > │ let v25 : US0 = method4(v22, v24) │
00:23:04 verbose #41364 > │ let v31 : US1 = │
00:23:04 verbose #41365 > │ match v25 with │
00:23:04 verbose #41366 > │ | US0_1 -> (* None *) │
00:23:04 verbose #41367 > │ US1_1 │
00:23:04 verbose #41368 > │ | US0_0(v26, v27) -> (* Some *) │
00:23:04 verbose #41369 > │ US1_0(v27) │
00:23:04 verbose #41370 > │ let v34 : float = │
00:23:04 verbose #41371 > │ match v31 with │
00:23:04 verbose #41372 > │ | US1_1 -> (* None *) │
00:23:04 verbose #41373 > │ 0.0 │
00:23:04 verbose #41374 > │ | US1_0(v32) -> (* Some *) │
00:23:04 verbose #41375 > │ v32 │
00:23:04 verbose #41376 > │ v10.[int v13] <- v34 │
00:23:04 verbose #41377 > │ let v35 : int32 = v13 + 1 │
00:23:04 verbose #41378 > │ v11.l0 <- v35 │
00:23:04 verbose #41379 > │ () │
00:23:04 verbose #41380 > │ let v36 : string = "velocity of bike (m/s)" │
00:23:04 verbose #41381 > │ let v37 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:04 verbose #41382 > │ (v36, v0, v10)|] │
00:23:04 verbose #41383 > │ let v38 : string = "pedaling and coasting with air" │
00:23:04 verbose #41384 > │ let v39 : string = "time (s)" │
00:23:04 verbose #41385 > │ let v40 : string = "" │
00:23:04 verbose #41386 > │ struct (v38, v39, v40, v37) │
00:23:04 verbose #41387 > │ method0() │
00:23:04 verbose #41388 > │ │
00:23:04 verbose #41389 > │ │
00:23:04 verbose #41390 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:04 verbose #41391 >
00:23:04 verbose #41392 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:04 verbose #41393 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:04 verbose #41394 > │ ## velocity_ftxv │
00:23:04 verbose #41395 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:04 verbose #41396 >
00:23:04 verbose #41397 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:04 verbose #41398 > nominal state_1d = time * position * velocity
00:23:04 verbose #41399 > nominal rrr = f64 * f64 * f64
00:23:04 verbose #41400 >
00:23:04 verbose #41401 > inl newton_second_1d m fs (state_1d (t, x0, v0)) =
00:23:04 verbose #41402 > inl f_net = fs |> listm.map (fun f => f (state_1d (t, x0, v0))) |>
00:23:04 verbose #41403 > listm'.sum
00:23:04 verbose #41404 > inl acc = f_net / m
00:23:04 verbose #41405 > rrr (1f64, v0, acc)
00:23:04 verbose #41406 >
00:23:04 verbose #41407 > inl euler_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:23:04 verbose #41408 > inl (rrr (_, _, dvdt)) = deriv t
00:23:04 verbose #41409 > inl t1 = t0 + dt
00:23:04 verbose #41410 > inl x1 = x0 + v0 * dt
00:23:04 verbose #41411 > inl v1 = v0 + dvdt * dt
00:23:04 verbose #41412 > state_1d (t1, x1, v1)
00:23:04 verbose #41413 >
00:23:04 verbose #41414 > inl update_txv dt m fs =
00:23:04 verbose #41415 > newton_second_1d m fs |> euler_1d dt
00:23:04 verbose #41416 >
00:23:04 verbose #41417 > inl states_txv dt m txv0 fs =
00:23:04 verbose #41418 > seq.iterate_ (update_txv dt m fs) txv0
00:23:04 verbose #41419 >
00:23:04 verbose #41420 > inl velocity_1d sts t =
00:23:04 verbose #41421 > inl (state_1d (t0, _, _)) = sts 0
00:23:04 verbose #41422 > inl (state_1d (t1, _, _)) = sts 1
00:23:04 verbose #41423 > inl dt = t1 - t0
00:23:04 verbose #41424 > inl num_steps = t / dt |> math.round |> abs
00:23:04 verbose #41425 > inl (state_1d (_, _, v0)) = sts num_steps
00:23:04 verbose #41426 > v0
00:23:04 verbose #41427 >
00:23:04 verbose #41428 > inl velocity_ftxv dt m txv0 fs =
00:23:04 verbose #41429 > states_txv dt m txv0 fs |> velocity_1d
00:23:04 verbose #41430 >
00:23:04 verbose #41431 > inl position_1d sts t =
00:23:04 verbose #41432 > inl (state_1d (t0, _, _)) = sts 0
00:23:04 verbose #41433 > inl (state_1d (t1, _, _)) = sts 1
00:23:04 verbose #41434 > inl dt = t1 - t0
00:23:04 verbose #41435 > inl num_steps = t / dt |> math.round |> abs
00:23:04 verbose #41436 > inl (state_1d (_, x0, _)) = sts num_steps
00:23:04 verbose #41437 > x0
00:23:04 verbose #41438 >
00:23:04 verbose #41439 > inl position_ftxv dt m txv0 fs =
00:23:04 verbose #41440 > states_txv dt m txv0 fs |> position_1d
00:23:04 verbose #41441 >
00:23:04 verbose #41442 > inl spring_force k (state_1d (_, x0, _)) =
00:23:04 verbose #41443 > -k * x0
00:23:05 verbose #41444 > 00:23:04 debug #814 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/06c0a6ea773b3e57961d88c0fce781e0b98ddec3a39febb7a0fa6c1c5f67b835/main.spi
00:23:05 verbose #41445 >
00:23:05 verbose #41446 > ╭─[ 683.38ms - stdout ]────────────────────────────────────────────────────────╮
00:23:05 verbose #41447 > │ () │
00:23:05 verbose #41448 > │ │
00:23:05 verbose #41449 > │ │
00:23:05 verbose #41450 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:05 verbose #41451 >
00:23:05 verbose #41452 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:05 verbose #41453 > //// test
00:23:05 verbose #41454 >
00:23:05 verbose #41455 > inl damped_ho_forces () =
00:23:05 verbose #41456 > [[
00:23:05 verbose #41457 > spring_force 0.8
00:23:05 verbose #41458 > fun (state_1d (_, _, v0)) => f_air 2 1.225 (pi * math.square 0.02) v0
00:23:05 verbose #41459 > fun _ => -0.0027 * 9.80665
00:23:05 verbose #41460 > ]]
00:23:05 verbose #41461 >
00:23:05 verbose #41462 > inl damped_ho_states () =
00:23:05 verbose #41463 > states_txv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ())
00:23:05 verbose #41464 >
00:23:05 verbose #41465 > inl pingpong_position t =
00:23:05 verbose #41466 > position_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:23:05 verbose #41467 >
00:23:05 verbose #41468 > inl x : a _ f64 = am'.init_series 0 3 0.01
00:23:05 verbose #41469 > inl y = x |> am.map pingpong_position
00:23:05 verbose #41470 > "ping pong ball on a slinky", "time (s)", "", ;[[ "position (m)", x, y ]]
00:23:06 verbose #41471 > 00:23:05 debug #815 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f1a419ac24c05454ad866e3f090bfebd20b059ee5938052b2834dd3c5ec98fb2/main.spi
00:23:06 verbose #41472 >
00:23:06 verbose #41473 > ╭─[ 746.24ms - return value ]──────────────────────────────────────────────────╮
00:23:06 verbose #41474 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:06 verbose #41475 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:06 verbose #41476 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:06 verbose #41477 > │ stroke="none"/> │
00:23:06 verbose #41478 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:06 verbose #41479 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:06 verbose #41480 > │ fill="#FFFFFF"> │
00:23:06 verbose #41481 > │ ping pong ball on a slinky │
00:23:06 verbose #41482 > │ </text> │
00:23:06 verbose #41483 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:23:06 verbose #41484 > │ y2="75"/> │
00:23:06 verbose #41485 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:06 verbose #41486 > │ y2="75"/> │
00:23:06 verbose #41487 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:23:06 verbose #41488 > │ y2="75"/> │
00:23:06 verbose #41489 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:23:06 verbose #41490 > │ y2="75"/> │
00:23:06 verbose #41491 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9... │
00:23:06 verbose #41492 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:06 verbose #41493 >
00:23:06 verbose #41494 > ╭─[ 756.51ms - stdout ]────────────────────────────────────────────────────────╮
00:23:06 verbose #41495 > │ type Mut0 = {mutable l0 : int32} │
00:23:06 verbose #41496 > │ let rec method1 (v0 : Mut0) : bool = │
00:23:06 verbose #41497 > │ let v1 : int32 = v0.l0 │
00:23:06 verbose #41498 > │ let v2 : bool = v1 < 301 │
00:23:06 verbose #41499 > │ v2 │
00:23:06 verbose #41500 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:23:06 verbose #41501 > │ let v2 : int32 = v1.l0 │
00:23:06 verbose #41502 > │ let v3 : bool = v2 < v0 │
00:23:06 verbose #41503 > │ v3 │
00:23:06 verbose #41504 > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │
00:23:06 verbose #41505 > │ * float * float) = │
00:23:06 verbose #41506 > │ let v4 : bool = v3 <= 0.0 │
00:23:06 verbose #41507 > │ if v4 then │
00:23:06 verbose #41508 > │ struct (v0, v1, v2) │
00:23:06 verbose #41509 > │ else │
00:23:06 verbose #41510 > │ let v5 : float = -v2 │
00:23:06 verbose #41511 > │ let v6 : bool = v2 >= v5 │
00:23:06 verbose #41512 > │ let v7 : float = │
00:23:06 verbose #41513 > │ if v6 then │
00:23:06 verbose #41514 > │ v2 │
00:23:06 verbose #41515 > │ else │
00:23:06 verbose #41516 > │ v5 │
00:23:06 verbose #41517 > │ let v8 : float = -0.0030787608005179976 * v7 │
00:23:06 verbose #41518 > │ let v9 : float = v8 * v2 │
00:23:06 verbose #41519 > │ let v10 : float = v9 / 2.0 │
00:23:06 verbose #41520 > │ let v11 : float = -0.8 * v1 │
00:23:06 verbose #41521 > │ let v12 : float = v11 + v10 │
00:23:06 verbose #41522 > │ let v13 : float = v12 + -0.026477955 │
00:23:06 verbose #41523 > │ let v14 : float = v13 / 0.0027 │
00:23:06 verbose #41524 > │ let v15 : float = v0 + 0.001 │
00:23:06 verbose #41525 > │ let v16 : float = v2 * 0.001 │
00:23:06 verbose #41526 > │ let v17 : float = v1 + v16 │
00:23:06 verbose #41527 > │ let v18 : float = v14 * 0.001 │
00:23:06 verbose #41528 > │ let v19 : float = v2 + v18 │
00:23:06 verbose #41529 > │ let v20 : float = v3 - 1.0 │
00:23:06 verbose #41530 > │ method3(v15, v17, v19, v20) │
00:23:06 verbose #41531 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:06 verbose #41532 > │ []) * (float [])) [])) = │
00:23:06 verbose #41533 > │ let v0 : (float []) = Array.zeroCreate<float> (301) │
00:23:06 verbose #41534 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:23:06 verbose #41535 > │ while method1(v1) do │
00:23:06 verbose #41536 > │ let v3 : int32 = v1.l0 │
00:23:06 verbose #41537 > │ let v4 : float = float v3 │
00:23:06 verbose #41538 > │ let v5 : float = 0.01 * v4 │
00:23:06 verbose #41539 > │ v0.[int v3] <- v5 │
00:23:06 verbose #41540 > │ let v6 : int32 = v3 + 1 │
00:23:06 verbose #41541 > │ v1.l0 <- v6 │
00:23:06 verbose #41542 > │ () │
00:23:06 verbose #41543 > │ let v7 : int32 = v0.Length │
00:23:06 verbose #41544 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:23:06 verbose #41545 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:23:06 verbose #41546 > │ while method2(v7, v9) do │
00:23:06 verbose #41547 > │ let v11 : int32 = v9.l0 │
00:23:06 verbose #41548 > │ let v12 : float = v0.[int v11] │
00:23:06 verbose #41549 > │ let v13 : float = 0.0 │
00:23:06 verbose #41550 > │ let v14 : float = 0.1 │
00:23:06 verbose #41551 > │ let v15 : float = 0.0 │
00:23:06 verbose #41552 > │ let v16 : float = 0.0 │
00:23:06 verbose #41553 > │ let struct (v17 : float, v18 : float, v19 : float) = method3(v13, │
00:23:06 verbose #41554 > │ v14, v15, v16) │
00:23:06 verbose #41555 > │ let v20 : float = 0.0 │
00:23:06 verbose #41556 > │ let v21 : float = 0.1 │
00:23:06 verbose #41557 > │ let v22 : float = 0.0 │
00:23:06 verbose #41558 > │ let v23 : float = 1.0 │
00:23:06 verbose #41559 > │ let struct (v24 : float, v25 : float, v26 : float) = method3(v20, │
00:23:06 verbose #41560 > │ v21, v22, v23) │
00:23:06 verbose #41561 > │ let v27 : float = v24 - v17 │
00:23:06 verbose #41562 > │ let v28 : float = v12 / v27 │
00:23:06 verbose #41563 > │ let v29 : float = round v28 │
00:23:06 verbose #41564 > │ let v30 : float = -v29 │
00:23:06 verbose #41565 > │ let v31 : bool = v29 >= v30 │
00:23:06 verbose #41566 > │ let v32 : float = │
00:23:06 verbose #41567 > │ if v31 then │
00:23:06 verbose #41568 > │ v29 │
00:23:06 verbose #41569 > │ else │
00:23:06 verbose #41570 > │ v30 │
00:23:06 verbose #41571 > │ let v33 : float = 0.0 │
00:23:06 verbose #41572 > │ let v34 : float = 0.1 │
00:23:06 verbose #41573 > │ let v35 : float = 0.0 │
00:23:06 verbose #41574 > │ let struct (v36 : float, v37 : float, v38 : float) = method3(v33, │
00:23:06 verbose #41575 > │ v34, v35, v32) │
00:23:06 verbose #41576 > │ v8.[int v11] <- v37 │
00:23:06 verbose #41577 > │ let v39 : int32 = v11 + 1 │
00:23:06 verbose #41578 > │ v9.l0 <- v39 │
00:23:06 verbose #41579 > │ () │
00:23:06 verbose #41580 > │ let v40 : string = "position (m)" │
00:23:06 verbose #41581 > │ let v41 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:06 verbose #41582 > │ (v40, v0, v8)|] │
00:23:06 verbose #41583 > │ let v42 : string = "ping pong ball on a slinky" │
00:23:06 verbose #41584 > │ let v43 : string = "time (s)" │
00:23:06 verbose #41585 > │ let v44 : string = "" │
00:23:06 verbose #41586 > │ struct (v42, v43, v44, v41) │
00:23:06 verbose #41587 > │ method0() │
00:23:06 verbose #41588 > │ │
00:23:06 verbose #41589 > │ │
00:23:06 verbose #41590 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:06 verbose #41591 >
00:23:06 verbose #41592 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:06 verbose #41593 > //// test
00:23:06 verbose #41594 >
00:23:06 verbose #41595 > inl pingpong_velocity t =
00:23:06 verbose #41596 > velocity_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:23:06 verbose #41597 >
00:23:06 verbose #41598 > inl x = am'.init_series 0 3 0.01
00:23:06 verbose #41599 > inl y = x |> am.map pingpong_velocity
00:23:06 verbose #41600 > "ping pong ball on a slinky", "time (s)", "", ;[[ "velocity (m/s)", x, y ]]
00:23:06 verbose #41601 > 00:23:05 debug #816 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/64ee0538492f0389c90fca1e35e10b533896bc88b5f6927a7f2b1949618676aa/main.spi
00:23:06 verbose #41602 >
00:23:06 verbose #41603 > ╭─[ 684.66ms - return value ]──────────────────────────────────────────────────╮
00:23:06 verbose #41604 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:06 verbose #41605 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:06 verbose #41606 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:06 verbose #41607 > │ stroke="none"/> │
00:23:06 verbose #41608 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:06 verbose #41609 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:06 verbose #41610 > │ fill="#FFFFFF"> │
00:23:06 verbose #41611 > │ ping pong ball on a slinky │
00:23:06 verbose #41612 > │ </text> │
00:23:06 verbose #41613 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:23:06 verbose #41614 > │ y2="75"/> │
00:23:06 verbose #41615 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:06 verbose #41616 > │ y2="75"/> │
00:23:06 verbose #41617 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:23:06 verbose #41618 > │ y2="75"/> │
00:23:06 verbose #41619 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:23:06 verbose #41620 > │ y2="75"/> │
00:23:06 verbose #41621 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9... │
00:23:06 verbose #41622 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:06 verbose #41623 >
00:23:06 verbose #41624 > ╭─[ 692.71ms - stdout ]────────────────────────────────────────────────────────╮
00:23:06 verbose #41625 > │ type Mut0 = {mutable l0 : int32} │
00:23:06 verbose #41626 > │ let rec method1 (v0 : Mut0) : bool = │
00:23:06 verbose #41627 > │ let v1 : int32 = v0.l0 │
00:23:06 verbose #41628 > │ let v2 : bool = v1 < 301 │
00:23:06 verbose #41629 > │ v2 │
00:23:06 verbose #41630 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:23:06 verbose #41631 > │ let v2 : int32 = v1.l0 │
00:23:06 verbose #41632 > │ let v3 : bool = v2 < v0 │
00:23:06 verbose #41633 > │ v3 │
00:23:06 verbose #41634 > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │
00:23:06 verbose #41635 > │ * float * float) = │
00:23:06 verbose #41636 > │ let v4 : bool = v3 <= 0.0 │
00:23:06 verbose #41637 > │ if v4 then │
00:23:06 verbose #41638 > │ struct (v0, v1, v2) │
00:23:06 verbose #41639 > │ else │
00:23:06 verbose #41640 > │ let v5 : float = -v2 │
00:23:06 verbose #41641 > │ let v6 : bool = v2 >= v5 │
00:23:06 verbose #41642 > │ let v7 : float = │
00:23:06 verbose #41643 > │ if v6 then │
00:23:06 verbose #41644 > │ v2 │
00:23:06 verbose #41645 > │ else │
00:23:06 verbose #41646 > │ v5 │
00:23:06 verbose #41647 > │ let v8 : float = -0.0030787608005179976 * v7 │
00:23:06 verbose #41648 > │ let v9 : float = v8 * v2 │
00:23:06 verbose #41649 > │ let v10 : float = v9 / 2.0 │
00:23:06 verbose #41650 > │ let v11 : float = -0.8 * v1 │
00:23:06 verbose #41651 > │ let v12 : float = v11 + v10 │
00:23:06 verbose #41652 > │ let v13 : float = v12 + -0.026477955 │
00:23:06 verbose #41653 > │ let v14 : float = v13 / 0.0027 │
00:23:06 verbose #41654 > │ let v15 : float = v0 + 0.001 │
00:23:06 verbose #41655 > │ let v16 : float = v2 * 0.001 │
00:23:06 verbose #41656 > │ let v17 : float = v1 + v16 │
00:23:06 verbose #41657 > │ let v18 : float = v14 * 0.001 │
00:23:06 verbose #41658 > │ let v19 : float = v2 + v18 │
00:23:06 verbose #41659 > │ let v20 : float = v3 - 1.0 │
00:23:06 verbose #41660 > │ method3(v15, v17, v19, v20) │
00:23:06 verbose #41661 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:06 verbose #41662 > │ []) * (float [])) [])) = │
00:23:06 verbose #41663 > │ let v0 : (float []) = Array.zeroCreate<float> (301) │
00:23:06 verbose #41664 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:23:06 verbose #41665 > │ while method1(v1) do │
00:23:06 verbose #41666 > │ let v3 : int32 = v1.l0 │
00:23:06 verbose #41667 > │ let v4 : float = float v3 │
00:23:06 verbose #41668 > │ let v5 : float = 0.01 * v4 │
00:23:06 verbose #41669 > │ v0.[int v3] <- v5 │
00:23:06 verbose #41670 > │ let v6 : int32 = v3 + 1 │
00:23:06 verbose #41671 > │ v1.l0 <- v6 │
00:23:06 verbose #41672 > │ () │
00:23:06 verbose #41673 > │ let v7 : int32 = v0.Length │
00:23:06 verbose #41674 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:23:06 verbose #41675 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:23:06 verbose #41676 > │ while method2(v7, v9) do │
00:23:06 verbose #41677 > │ let v11 : int32 = v9.l0 │
00:23:06 verbose #41678 > │ let v12 : float = v0.[int v11] │
00:23:06 verbose #41679 > │ let v13 : float = 0.0 │
00:23:06 verbose #41680 > │ let v14 : float = 0.1 │
00:23:06 verbose #41681 > │ let v15 : float = 0.0 │
00:23:06 verbose #41682 > │ let v16 : float = 0.0 │
00:23:06 verbose #41683 > │ let struct (v17 : float, v18 : float, v19 : float) = method3(v13, │
00:23:06 verbose #41684 > │ v14, v15, v16) │
00:23:06 verbose #41685 > │ let v20 : float = 0.0 │
00:23:06 verbose #41686 > │ let v21 : float = 0.1 │
00:23:06 verbose #41687 > │ let v22 : float = 0.0 │
00:23:06 verbose #41688 > │ let v23 : float = 1.0 │
00:23:06 verbose #41689 > │ let struct (v24 : float, v25 : float, v26 : float) = method3(v20, │
00:23:06 verbose #41690 > │ v21, v22, v23) │
00:23:06 verbose #41691 > │ let v27 : float = v24 - v17 │
00:23:06 verbose #41692 > │ let v28 : float = v12 / v27 │
00:23:06 verbose #41693 > │ let v29 : float = round v28 │
00:23:06 verbose #41694 > │ let v30 : float = -v29 │
00:23:06 verbose #41695 > │ let v31 : bool = v29 >= v30 │
00:23:06 verbose #41696 > │ let v32 : float = │
00:23:06 verbose #41697 > │ if v31 then │
00:23:06 verbose #41698 > │ v29 │
00:23:06 verbose #41699 > │ else │
00:23:06 verbose #41700 > │ v30 │
00:23:06 verbose #41701 > │ let v33 : float = 0.0 │
00:23:06 verbose #41702 > │ let v34 : float = 0.1 │
00:23:06 verbose #41703 > │ let v35 : float = 0.0 │
00:23:06 verbose #41704 > │ let struct (v36 : float, v37 : float, v38 : float) = method3(v33, │
00:23:06 verbose #41705 > │ v34, v35, v32) │
00:23:06 verbose #41706 > │ v8.[int v11] <- v38 │
00:23:06 verbose #41707 > │ let v39 : int32 = v11 + 1 │
00:23:06 verbose #41708 > │ v9.l0 <- v39 │
00:23:06 verbose #41709 > │ () │
00:23:06 verbose #41710 > │ let v40 : string = "velocity (m/s)" │
00:23:06 verbose #41711 > │ let v41 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:06 verbose #41712 > │ (v40, v0, v8)|] │
00:23:06 verbose #41713 > │ let v42 : string = "ping pong ball on a slinky" │
00:23:06 verbose #41714 > │ let v43 : string = "time (s)" │
00:23:06 verbose #41715 > │ let v44 : string = "" │
00:23:06 verbose #41716 > │ struct (v42, v43, v44, v41) │
00:23:06 verbose #41717 > │ method0() │
00:23:06 verbose #41718 > │ │
00:23:06 verbose #41719 > │ │
00:23:06 verbose #41720 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:06 verbose #41721 >
00:23:06 verbose #41722 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:06 verbose #41723 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:06 verbose #41724 > │ ## shift │
00:23:06 verbose #41725 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:06 verbose #41726 >
00:23:06 verbose #41727 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:06 verbose #41728 > type update_function s = s -> s
00:23:06 verbose #41729 >
00:23:06 verbose #41730 > type differential_equation s ds = s -> ds
00:23:06 verbose #41731 >
00:23:06 verbose #41732 > type numerical_method s ds = differential_equation s ds -> update_function s
00:23:06 verbose #41733 >
00:23:06 verbose #41734 >
00:23:06 verbose #41735 > inl solver method =
00:23:06 verbose #41736 > method >> seq.iterate
00:23:06 verbose #41737 > inl solver' method =
00:23:06 verbose #41738 > method >> seq.iterate'
00:23:06 verbose #41739 > inl solver_ method =
00:23:06 verbose #41740 > method >> seq.iterate_
00:23:06 verbose #41741 >
00:23:06 verbose #41742 >
00:23:06 verbose #41743 > inl euler_cromer_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:23:06 verbose #41744 > inl (rrr (_, _, dvdt)) = deriv t
00:23:06 verbose #41745 > inl t1 = t0 + dt
00:23:06 verbose #41746 > inl v1 = v0 + dvdt * dt
00:23:06 verbose #41747 > inl x1 = x0 + v1 * dt
00:23:06 verbose #41748 > state_1d (t1, x1, v1)
00:23:06 verbose #41749 >
00:23:06 verbose #41750 > inl update_txv_ec dt m fs =
00:23:06 verbose #41751 > euler_cromer_1d dt (newton_second_1d m fs)
00:23:06 verbose #41752 >
00:23:06 verbose #41753 > prototype (+++) ds : ds -> ds -> ds
00:23:06 verbose #41754 > prototype scale ds : f64 -> ds -> ds
00:23:06 verbose #41755 >
00:23:06 verbose #41756 > instance (+++) rrr = fun (rrr (dtdt0, dxdt0, dvdt0)) (rrr (dtdt1, dxdt1, dvdt1))
00:23:06 verbose #41757 > =>
00:23:06 verbose #41758 > rrr (dtdt0 + dtdt1, dxdt0 + dxdt1, dvdt0 + dvdt1)
00:23:06 verbose #41759 >
00:23:06 verbose #41760 > instance scale rrr = fun w (rrr (dtdt0, dxdt0, dvdt0)) =>
00:23:06 verbose #41761 > rrr (w * dtdt0, w * dxdt0, w * dvdt0)
00:23:06 verbose #41762 >
00:23:06 verbose #41763 > prototype shift s : forall ds. f64 -> ds -> s -> s
00:23:06 verbose #41764 >
00:23:06 verbose #41765 > instance shift state_1d = fun dt ds (state_1d (t, x, v)) =>
00:23:06 verbose #41766 > inl dtdt, dxdt, dvdt =
00:23:06 verbose #41767 > real
00:23:06 verbose #41768 > match ds with
00:23:06 verbose #41769 > | rrr x => x
00:23:06 verbose #41770 > | state_1d x => x
00:23:06 verbose #41771 > state_1d (t + dtdt * dt, x + dxdt * dt, v + dvdt * dt)
00:23:06 verbose #41772 >
00:23:06 verbose #41773 > inl euler dt deriv st0 =
00:23:06 verbose #41774 > shift dt (deriv st0) st0
00:23:06 verbose #41775 >
00:23:06 verbose #41776 > inl runge_kutta_4 dt deriv st0 =
00:23:06 verbose #41777 > inl m0 = deriv st0
00:23:06 verbose #41778 > inl m1 = deriv (shift (dt / 2) m0 st0)
00:23:06 verbose #41779 > inl m2 = deriv (shift (dt / 2) m1 st0)
00:23:06 verbose #41780 > inl m3 = deriv (shift dt m2 st0)
00:23:06 verbose #41781 > shift (dt / 6) (m0 +++ m1 +++ m1 +++ m2 +++ m2 +++ m3) st0
00:23:06 verbose #41782 >
00:23:06 verbose #41783 > inl exponential (_, x0, v0) =
00:23:06 verbose #41784 > 1f64, v0, x0
00:23:06 verbose #41785 >
00:23:06 verbose #41786 > inl of_state_1d (state_1d (t, x, v)) =
00:23:06 verbose #41787 > t, x, v
00:23:07 verbose #41788 > 00:23:06 debug #817 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c1eb973d90278388acad28c76b64794b91c34db47448b13e4e69369800a6e127/main.spi
00:23:07 verbose #41789 >
00:23:07 verbose #41790 > ╭─[ 671.25ms - stdout ]────────────────────────────────────────────────────────╮
00:23:07 verbose #41791 > │ () │
00:23:07 verbose #41792 > │ │
00:23:07 verbose #41793 > │ │
00:23:07 verbose #41794 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:07 verbose #41795 >
00:23:07 verbose #41796 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:07 verbose #41797 > //// test
00:23:07 verbose #41798 >
00:23:07 verbose #41799 > solver (euler 0.01) (of_state_1d >> exponential >> state_1d) (state_1d (0, 1,
00:23:07 verbose #41800 > 1)) 800i32
00:23:07 verbose #41801 > |> _assert_eq (state_1d (7.999999999999874, 2864.8311229272326,
00:23:07 verbose #41802 > 2864.8311229272326))
00:23:07 verbose #41803 >
00:23:07 verbose #41804 > solver (euler_cromer_1d 0.1) (of_state_1d >> exponential >> rrr) (state_1d (0,
00:23:07 verbose #41805 > 1, 1)) 80i32
00:23:07 verbose #41806 > |> _assert_eq (state_1d (7.999999999999988, 3043.379244966009,
00:23:07 verbose #41807 > 2895.0121485099035))
00:23:07 verbose #41808 >
00:23:07 verbose #41809 > solver (runge_kutta_4 1) (of_state_1d >> exponential >> rrr) (state_1d (0, 1,
00:23:07 verbose #41810 > 1)) 8i32
00:23:07 verbose #41811 > |> _assert_eq (state_1d (8.0, 2894.789038540849, 2894.789038540849))
00:23:08 verbose #41812 > 00:23:07 debug #818 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4f28f46d9371d0983959e73551ec5f001729c22e01a36640e30524fa2a711ee8/main.spi
00:23:08 verbose #41813 >
00:23:08 verbose #41814 > ╭─[ 742.28ms - stdout ]────────────────────────────────────────────────────────╮
00:23:08 verbose #41815 > │ let rec method0 () : unit = │
00:23:08 verbose #41816 > │ let v0 : string = "assert_eq" │
00:23:08 verbose #41817 > │ let v1 : string = $"{v0} / actual: %A{struct (7.999999999999874, │
00:23:08 verbose #41818 > │ 2864.8311229272326, 2864.8311229272326)} / expected: %A{struct │
00:23:08 verbose #41819 > │ (7.999999999999874, 2864.8311229272326, 2864.8311229272326)}" │
00:23:08 verbose #41820 > │ System.Console.WriteLine v1 │
00:23:08 verbose #41821 > │ let v2 : string = $"{v0} / actual: %A{struct (7.999999999999988, │
00:23:08 verbose #41822 > │ 3043.379244966009, 2895.0121485099035)} / expected: %A{struct │
00:23:08 verbose #41823 > │ (7.999999999999988, 3043.379244966009, 2895.0121485099035)}" │
00:23:08 verbose #41824 > │ System.Console.WriteLine v2 │
00:23:08 verbose #41825 > │ let v3 : string = $"{v0} / actual: %A{struct (8.0, 2894.789038540849, │
00:23:08 verbose #41826 > │ 2894.789038540849)} / expected: %A{struct (8.0, 2894.789038540849, │
00:23:08 verbose #41827 > │ 2894.789038540849)}" │
00:23:08 verbose #41828 > │ System.Console.WriteLine v3 │
00:23:08 verbose #41829 > │ () │
00:23:08 verbose #41830 > │ method0() │
00:23:08 verbose #41831 > │ │
00:23:08 verbose #41832 > │ assert_eq / actual: struct (8.0, 2864.831123, 2864.831123) / expected: │
00:23:08 verbose #41833 > │ struct (8.0, 2864.831123, 2864.831123) │
00:23:08 verbose #41834 > │ assert_eq / actual: struct (8.0, 3043.379245, 2895.012149) / expected: │
00:23:08 verbose #41835 > │ struct (8.0, 3043.379245, 2895.012149) │
00:23:08 verbose #41836 > │ assert_eq / actual: struct (8.0, 2894.789039, 2894.789039) / expected: │
00:23:08 verbose #41837 > │ struct (8.0, 2894.789039, 2894.789039) │
00:23:08 verbose #41838 > │ │
00:23:08 verbose #41839 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:08 verbose #41840 >
00:23:08 verbose #41841 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:08 verbose #41842 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:08 verbose #41843 > │ ## vec │
00:23:08 verbose #41844 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:08 verbose #41845 >
00:23:08 verbose #41846 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:08 verbose #41847 > type vec =
00:23:08 verbose #41848 > {
00:23:08 verbose #41849 > x : f64
00:23:08 verbose #41850 > y : f64
00:23:08 verbose #41851 > z : f64
00:23:08 verbose #41852 > }
00:23:08 verbose #41853 >
00:23:08 verbose #41854 > inl vec x y z : vec =
00:23:08 verbose #41855 > { x y z }
00:23:08 verbose #41856 > 00:23:07 debug #819 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c84188dfa94e6f05e09dbcc48a6695ee470416585c4cbf2117b425933b610ce9/main.spi
00:23:09 verbose #41857 >
00:23:09 verbose #41858 > ╭─[ 616.02ms - stdout ]────────────────────────────────────────────────────────╮
00:23:09 verbose #41859 > │ () │
00:23:09 verbose #41860 > │ │
00:23:09 verbose #41861 > │ │
00:23:09 verbose #41862 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:09 verbose #41863 >
00:23:09 verbose #41864 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:09 verbose #41865 > //// test
00:23:09 verbose #41866 >
00:23:09 verbose #41867 > vec 1 2 3 .z
00:23:09 verbose #41868 > |> _assert_eq 3
00:23:09 verbose #41869 > 00:23:08 debug #820 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3b85a7c984c72495a1cbccd739398429fe61091c28c89b6b69e8eba1115489f1/main.spi
00:23:09 verbose #41870 >
00:23:09 verbose #41871 > ╭─[ 691.18ms - stdout ]────────────────────────────────────────────────────────╮
00:23:09 verbose #41872 > │ let rec method0 () : unit = │
00:23:09 verbose #41873 > │ let v0 : string = "assert_eq" │
00:23:09 verbose #41874 > │ let v1 : string = $"{v0} / actual: %A{3.0} / expected: %A{3.0}" │
00:23:09 verbose #41875 > │ System.Console.WriteLine v1 │
00:23:09 verbose #41876 > │ () │
00:23:09 verbose #41877 > │ method0() │
00:23:09 verbose #41878 > │ │
00:23:09 verbose #41879 > │ assert_eq / actual: 3.0 / expected: 3.0 │
00:23:09 verbose #41880 > │ │
00:23:09 verbose #41881 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:09 verbose #41882 >
00:23:09 verbose #41883 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:09 verbose #41884 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:09 verbose #41885 > │ ### consts │
00:23:09 verbose #41886 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:09 verbose #41887 >
00:23:09 verbose #41888 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:09 verbose #41889 > inl i_hat () = vec 1 0 0
00:23:09 verbose #41890 > inl j_hat () = vec 0 1 0
00:23:09 verbose #41891 > inl k_hat () = vec 0 0 1
00:23:09 verbose #41892 > inl zero_vec () = vec 0 0 0
00:23:10 verbose #41893 > 00:23:09 debug #821 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b6ba102022d1d3ab093b11f715ccc6239ac40271f7163a8906f531ce643679f6/main.spi
00:23:10 verbose #41894 >
00:23:10 verbose #41895 > ╭─[ 632.56ms - stdout ]────────────────────────────────────────────────────────╮
00:23:10 verbose #41896 > │ () │
00:23:10 verbose #41897 > │ │
00:23:10 verbose #41898 > │ │
00:23:10 verbose #41899 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:10 verbose #41900 >
00:23:10 verbose #41901 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:10 verbose #41902 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:10 verbose #41903 > │ ### ^+^ │
00:23:10 verbose #41904 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:10 verbose #41905 >
00:23:10 verbose #41906 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:10 verbose #41907 > inl (^+^) (a : vec) (b : vec) =
00:23:10 verbose #41908 > vec (a.x + b.x) (a.y + b.y) (a.z + b.z)
00:23:10 verbose #41909 > 00:23:09 debug #822 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3a89582741c292cd7a7d2afbb76e0ee28d095aa444d4458225e1034fddc689a4/main.spi
00:23:11 verbose #41910 >
00:23:11 verbose #41911 > ╭─[ 667.16ms - stdout ]────────────────────────────────────────────────────────╮
00:23:11 verbose #41912 > │ () │
00:23:11 verbose #41913 > │ │
00:23:11 verbose #41914 > │ │
00:23:11 verbose #41915 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:11 verbose #41916 >
00:23:11 verbose #41917 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:11 verbose #41918 > //// test
00:23:11 verbose #41919 >
00:23:11 verbose #41920 > vec 1 2 3 ^+^ vec 4 5 6
00:23:11 verbose #41921 > |> _assert_eq (vec 5 7 9)
00:23:11 verbose #41922 > 00:23:10 debug #823 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9e4f3db9265e9903b26e88cb9113adba655e589998807364609f646d53eca781/main.spi
00:23:11 verbose #41923 >
00:23:11 verbose #41924 > ╭─[ 662.21ms - stdout ]────────────────────────────────────────────────────────╮
00:23:11 verbose #41925 > │ let rec method0 () : unit = │
00:23:11 verbose #41926 > │ let v0 : string = "assert_eq" │
00:23:11 verbose #41927 > │ let v1 : string = $"{v0} / actual: %A{struct (5.0, 7.0, 9.0)} / │
00:23:11 verbose #41928 > │ expected: %A{struct (5.0, 7.0, 9.0)}" │
00:23:11 verbose #41929 > │ System.Console.WriteLine v1 │
00:23:11 verbose #41930 > │ () │
00:23:11 verbose #41931 > │ method0() │
00:23:11 verbose #41932 > │ │
00:23:11 verbose #41933 > │ assert_eq / actual: struct (5.0, 7.0, 9.0) / expected: struct (5.0, 7.0, │
00:23:11 verbose #41934 > │ 9.0) │
00:23:11 verbose #41935 > │ │
00:23:11 verbose #41936 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:11 verbose #41937 >
00:23:11 verbose #41938 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:11 verbose #41939 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:11 verbose #41940 > │ ### sum_vec │
00:23:11 verbose #41941 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:11 verbose #41942 >
00:23:11 verbose #41943 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:11 verbose #41944 > inl sum_vec vs =
00:23:11 verbose #41945 > vs |> listm.fold (^+^) (zero_vec ())
00:23:12 verbose #41946 > 00:23:11 debug #824 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f1511697d70fe210d1bbb984cf15e53bd796c70b6bf07618e8dc7485d4a56ee1/main.spi
00:23:12 verbose #41947 >
00:23:12 verbose #41948 > ╭─[ 1.26s - stdout ]───────────────────────────────────────────────────────────╮
00:23:13 verbose #41949 > │ () │
00:23:13 verbose #41950 > │ │
00:23:13 verbose #41951 > │ │
00:23:13 verbose #41952 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:13 verbose #41953 >
00:23:13 verbose #41954 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:13 verbose #41955 > //// test
00:23:13 verbose #41956 >
00:23:13 verbose #41957 > [[ vec 1 2 3; vec 4 5 6 ]]
00:23:13 verbose #41958 > |> sum_vec
00:23:13 verbose #41959 > |> _assert_eq (vec 5 7 9)
00:23:13 verbose #41960 > 00:23:12 debug #825 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/23fb03b8ad1b925d102e2b6875d6e7a6fc017b4c887e0035dba4ef49522bbd60/main.spi
00:23:13 verbose #41961 >
00:23:13 verbose #41962 > ╭─[ 790.84ms - stdout ]────────────────────────────────────────────────────────╮
00:23:13 verbose #41963 > │ let rec method0 () : unit = │
00:23:13 verbose #41964 > │ let v0 : string = "assert_eq" │
00:23:13 verbose #41965 > │ let v1 : string = $"{v0} / actual: %A{struct (5.0, 7.0, 9.0)} / │
00:23:13 verbose #41966 > │ expected: %A{struct (5.0, 7.0, 9.0)}" │
00:23:13 verbose #41967 > │ System.Console.WriteLine v1 │
00:23:13 verbose #41968 > │ () │
00:23:13 verbose #41969 > │ method0() │
00:23:13 verbose #41970 > │ │
00:23:13 verbose #41971 > │ assert_eq / actual: struct (5.0, 7.0, 9.0) / expected: struct (5.0, 7.0, │
00:23:13 verbose #41972 > │ 9.0) │
00:23:13 verbose #41973 > │ │
00:23:13 verbose #41974 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:13 verbose #41975 >
00:23:13 verbose #41976 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:13 verbose #41977 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:13 verbose #41978 > │ ### *^ │
00:23:13 verbose #41979 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:13 verbose #41980 >
00:23:13 verbose #41981 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:13 verbose #41982 > inl (*^) c { x y z } =
00:23:13 verbose #41983 > vec (c * x) (c * y) (c * z)
00:23:14 verbose #41984 > 00:23:13 debug #826 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bf5156e56fa0f35683c8710de82a42f37e0ca928d03f2837b7ca5328eb881699/main.spi
00:23:14 verbose #41985 >
00:23:14 verbose #41986 > ╭─[ 746.95ms - stdout ]────────────────────────────────────────────────────────╮
00:23:14 verbose #41987 > │ () │
00:23:14 verbose #41988 > │ │
00:23:14 verbose #41989 > │ │
00:23:14 verbose #41990 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:14 verbose #41991 >
00:23:14 verbose #41992 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:14 verbose #41993 > //// test
00:23:14 verbose #41994 >
00:23:14 verbose #41995 > 5 *^ vec 1 2 3
00:23:14 verbose #41996 > |> _assert_eq (vec 5 10 15)
00:23:15 verbose #41997 > 00:23:14 debug #827 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/959ffbba9f84537bfae4f7520aa03e63f42233925b33215bfeaacb57f0ee8cf9/main.spi
00:23:15 verbose #41998 >
00:23:15 verbose #41999 > ╭─[ 687.00ms - stdout ]────────────────────────────────────────────────────────╮
00:23:15 verbose #42000 > │ let rec method0 () : unit = │
00:23:15 verbose #42001 > │ let v0 : string = "assert_eq" │
00:23:15 verbose #42002 > │ let v1 : string = $"{v0} / actual: %A{struct (5.0, 10.0, 15.0)} / │
00:23:15 verbose #42003 > │ expected: %A{struct (5.0, 10.0, 15.0)}" │
00:23:15 verbose #42004 > │ System.Console.WriteLine v1 │
00:23:15 verbose #42005 > │ () │
00:23:15 verbose #42006 > │ method0() │
00:23:15 verbose #42007 > │ │
00:23:15 verbose #42008 > │ assert_eq / actual: struct (5.0, 10.0, 15.0) / expected: struct (5.0, 10.0, │
00:23:15 verbose #42009 > │ 15.0) │
00:23:15 verbose #42010 > │ │
00:23:15 verbose #42011 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:15 verbose #42012 >
00:23:15 verbose #42013 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:15 verbose #42014 > //// test
00:23:15 verbose #42015 >
00:23:15 verbose #42016 > 3 *^ i_hat () ^+^ 4 *^ k_hat ()
00:23:15 verbose #42017 > |> _assert_eq (vec 3 0 4)
00:23:15 verbose #42018 > 00:23:14 debug #828 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6cd55721c54ccf68478c9f51437498c5767467453a0bd8de4d35632e617bc173/main.spi
00:23:15 verbose #42019 >
00:23:15 verbose #42020 > ╭─[ 679.37ms - stdout ]────────────────────────────────────────────────────────╮
00:23:15 verbose #42021 > │ let rec method0 () : unit = │
00:23:15 verbose #42022 > │ let v0 : string = "assert_eq" │
00:23:15 verbose #42023 > │ let v1 : string = $"{v0} / actual: %A{struct (3.0, 0.0, 4.0)} / │
00:23:15 verbose #42024 > │ expected: %A{struct (3.0, 0.0, 4.0)}" │
00:23:15 verbose #42025 > │ System.Console.WriteLine v1 │
00:23:15 verbose #42026 > │ () │
00:23:15 verbose #42027 > │ method0() │
00:23:15 verbose #42028 > │ │
00:23:15 verbose #42029 > │ assert_eq / actual: struct (3.0, 0.0, 4.0) / expected: struct (3.0, 0.0, │
00:23:15 verbose #42030 > │ 4.0) │
00:23:15 verbose #42031 > │ │
00:23:15 verbose #42032 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:15 verbose #42033 >
00:23:15 verbose #42034 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:15 verbose #42035 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:15 verbose #42036 > │ ### ^* │
00:23:15 verbose #42037 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:15 verbose #42038 >
00:23:15 verbose #42039 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:15 verbose #42040 > inl (^*) v c =
00:23:15 verbose #42041 > (*^) c v
00:23:16 verbose #42042 > 00:23:15 debug #829 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3457682a9651f86e5f936cb4a93598b072b5d04c9c12ee9c888d9bff24e0822b/main.spi
00:23:16 verbose #42043 >
00:23:16 verbose #42044 > ╭─[ 648.57ms - stdout ]────────────────────────────────────────────────────────╮
00:23:16 verbose #42045 > │ () │
00:23:16 verbose #42046 > │ │
00:23:16 verbose #42047 > │ │
00:23:16 verbose #42048 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:16 verbose #42049 >
00:23:16 verbose #42050 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:16 verbose #42051 > //// test
00:23:16 verbose #42052 >
00:23:16 verbose #42053 > vec 1 2 3 ^* 5
00:23:16 verbose #42054 > |> _assert_eq (vec 5 10 15)
00:23:17 verbose #42055 > 00:23:16 debug #830 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d42165282ecb1167dce007d4bbc15c937fff1131da6435a793278bd24247d317/main.spi
00:23:17 verbose #42056 >
00:23:17 verbose #42057 > ╭─[ 701.05ms - stdout ]────────────────────────────────────────────────────────╮
00:23:17 verbose #42058 > │ let rec method0 () : unit = │
00:23:17 verbose #42059 > │ let v0 : string = "assert_eq" │
00:23:17 verbose #42060 > │ let v1 : string = $"{v0} / actual: %A{struct (5.0, 10.0, 15.0)} / │
00:23:17 verbose #42061 > │ expected: %A{struct (5.0, 10.0, 15.0)}" │
00:23:17 verbose #42062 > │ System.Console.WriteLine v1 │
00:23:17 verbose #42063 > │ () │
00:23:17 verbose #42064 > │ method0() │
00:23:17 verbose #42065 > │ │
00:23:17 verbose #42066 > │ assert_eq / actual: struct (5.0, 10.0, 15.0) / expected: struct (5.0, 10.0, │
00:23:17 verbose #42067 > │ 15.0) │
00:23:17 verbose #42068 > │ │
00:23:17 verbose #42069 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:17 verbose #42070 >
00:23:17 verbose #42071 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:17 verbose #42072 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:17 verbose #42073 > │ ### ^/ │
00:23:17 verbose #42074 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:17 verbose #42075 >
00:23:17 verbose #42076 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:17 verbose #42077 > inl (^/) { x y z } c =
00:23:17 verbose #42078 > vec (x / c) (y / c) (z / c)
00:23:17 verbose #42079 > 00:23:16 debug #831 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b8fee92852cd2e41d4aa4dbf5fe8f3aa8d677287cac9ebc5e000e054bcf88d75/main.spi
00:23:18 verbose #42080 >
00:23:18 verbose #42081 > ╭─[ 700.74ms - stdout ]────────────────────────────────────────────────────────╮
00:23:18 verbose #42082 > │ () │
00:23:18 verbose #42083 > │ │
00:23:18 verbose #42084 > │ │
00:23:18 verbose #42085 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:18 verbose #42086 >
00:23:18 verbose #42087 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:18 verbose #42088 > //// test
00:23:18 verbose #42089 >
00:23:18 verbose #42090 > vec 1 2 3 ^/ 5
00:23:18 verbose #42091 > |> _assert_eq (vec 0.2 0.4 0.6)
00:23:18 verbose #42092 > 00:23:17 debug #832 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f8a342686583ba476890624f9a677fc5f7a9fab73b35ed711c82cf47a661c9ad/main.spi
00:23:18 verbose #42093 >
00:23:18 verbose #42094 > ╭─[ 710.99ms - stdout ]────────────────────────────────────────────────────────╮
00:23:18 verbose #42095 > │ let rec method0 () : unit = │
00:23:18 verbose #42096 > │ let v0 : string = "assert_eq" │
00:23:18 verbose #42097 > │ let v1 : string = $"{v0} / actual: %A{struct (0.2, 0.4, 0.6)} / │
00:23:18 verbose #42098 > │ expected: %A{struct (0.2, 0.4, 0.6)}" │
00:23:18 verbose #42099 > │ System.Console.WriteLine v1 │
00:23:18 verbose #42100 > │ () │
00:23:18 verbose #42101 > │ method0() │
00:23:18 verbose #42102 > │ │
00:23:18 verbose #42103 > │ assert_eq / actual: struct (0.2, 0.4, 0.6) / expected: struct (0.2, 0.4, │
00:23:18 verbose #42104 > │ 0.6) │
00:23:18 verbose #42105 > │ │
00:23:18 verbose #42106 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:18 verbose #42107 >
00:23:18 verbose #42108 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:18 verbose #42109 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:18 verbose #42110 > │ ### negate_vec │
00:23:18 verbose #42111 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:18 verbose #42112 >
00:23:18 verbose #42113 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:18 verbose #42114 > inl negate_vec v =
00:23:18 verbose #42115 > v ^* -1
00:23:19 verbose #42116 > 00:23:18 debug #833 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f524881fd989bb070397f270e5653c3caa77f31b0c4666c29d00b7a36abf3192/main.spi
00:23:19 verbose #42117 >
00:23:19 verbose #42118 > ╭─[ 708.09ms - stdout ]────────────────────────────────────────────────────────╮
00:23:19 verbose #42119 > │ () │
00:23:19 verbose #42120 > │ │
00:23:19 verbose #42121 > │ │
00:23:19 verbose #42122 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:19 verbose #42123 >
00:23:19 verbose #42124 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:19 verbose #42125 > //// test
00:23:19 verbose #42126 >
00:23:19 verbose #42127 > vec 1 2 3
00:23:19 verbose #42128 > |> negate_vec
00:23:19 verbose #42129 > |> _assert_eq (vec -1 -2 -3)
00:23:19 verbose #42130 > 00:23:18 debug #834 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1f24805e110a685158df164bbfc1112b08f4fb803d348c23f5b150c36c494099/main.spi
00:23:20 verbose #42131 >
00:23:20 verbose #42132 > ╭─[ 643.01ms - stdout ]────────────────────────────────────────────────────────╮
00:23:20 verbose #42133 > │ let rec method0 () : unit = │
00:23:20 verbose #42134 > │ let v0 : string = "assert_eq" │
00:23:20 verbose #42135 > │ let v1 : string = $"{v0} / actual: %A{struct (-1.0, -2.0, -3.0)} / │
00:23:20 verbose #42136 > │ expected: %A{struct (-1.0, -2.0, -3.0)}" │
00:23:20 verbose #42137 > │ System.Console.WriteLine v1 │
00:23:20 verbose #42138 > │ () │
00:23:20 verbose #42139 > │ method0() │
00:23:20 verbose #42140 > │ │
00:23:20 verbose #42141 > │ assert_eq / actual: struct (-1.0, -2.0, -3.0) / expected: struct (-1.0, │
00:23:20 verbose #42142 > │ -2.0, -3.0) │
00:23:20 verbose #42143 > │ │
00:23:20 verbose #42144 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:20 verbose #42145 >
00:23:20 verbose #42146 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:20 verbose #42147 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:20 verbose #42148 > │ ### ^-^ │
00:23:20 verbose #42149 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:20 verbose #42150 >
00:23:20 verbose #42151 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:20 verbose #42152 > inl (^-^) a b =
00:23:20 verbose #42153 > a ^+^ (negate_vec b)
00:23:20 verbose #42154 > 00:23:19 debug #835 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e41df20d97b97d02309bdfbc9b543346572abf24addeedd647c04a17bdbe1855/main.spi
00:23:20 verbose #42155 >
00:23:20 verbose #42156 > ╭─[ 672.03ms - stdout ]────────────────────────────────────────────────────────╮
00:23:20 verbose #42157 > │ () │
00:23:20 verbose #42158 > │ │
00:23:20 verbose #42159 > │ │
00:23:20 verbose #42160 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:20 verbose #42161 >
00:23:20 verbose #42162 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:20 verbose #42163 > //// test
00:23:20 verbose #42164 >
00:23:20 verbose #42165 > vec 1 2 3 ^-^ vec 4 5 6
00:23:20 verbose #42166 > |> _assert_eq (vec -3 -3 -3)
00:23:21 verbose #42167 > 00:23:20 debug #836 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07f9c8dc50fcd35aba2f0edaa03e68630200f6d18fb9256229a20619a959b64d/main.spi
00:23:21 verbose #42168 >
00:23:21 verbose #42169 > ╭─[ 757.11ms - stdout ]────────────────────────────────────────────────────────╮
00:23:21 verbose #42170 > │ let rec method0 () : unit = │
00:23:21 verbose #42171 > │ let v0 : string = "assert_eq" │
00:23:21 verbose #42172 > │ let v1 : string = $"{v0} / actual: %A{struct (-3.0, -3.0, -3.0)} / │
00:23:21 verbose #42173 > │ expected: %A{struct (-3.0, -3.0, -3.0)}" │
00:23:21 verbose #42174 > │ System.Console.WriteLine v1 │
00:23:21 verbose #42175 > │ () │
00:23:21 verbose #42176 > │ method0() │
00:23:21 verbose #42177 > │ │
00:23:21 verbose #42178 > │ assert_eq / actual: struct (-3.0, -3.0, -3.0) / expected: struct (-3.0, │
00:23:21 verbose #42179 > │ -3.0, -3.0) │
00:23:21 verbose #42180 > │ │
00:23:21 verbose #42181 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:21 verbose #42182 >
00:23:21 verbose #42183 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:21 verbose #42184 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:21 verbose #42185 > │ ### <.> │
00:23:21 verbose #42186 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:21 verbose #42187 >
00:23:21 verbose #42188 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:21 verbose #42189 > inl (<.>) { x = ax y = ay z = az } { x = bx y = by z = bz } =
00:23:21 verbose #42190 > ax * bx + ay * by + az * bz
00:23:22 verbose #42191 > 00:23:21 debug #837 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fadb4bc852ab9050f85b4497b3b13cb4dea147700b05be5ab219f4a0b88f0994/main.spi
00:23:22 verbose #42192 >
00:23:22 verbose #42193 > ╭─[ 727.00ms - stdout ]────────────────────────────────────────────────────────╮
00:23:22 verbose #42194 > │ () │
00:23:22 verbose #42195 > │ │
00:23:22 verbose #42196 > │ │
00:23:22 verbose #42197 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:22 verbose #42198 >
00:23:22 verbose #42199 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:22 verbose #42200 > //// test
00:23:22 verbose #42201 >
00:23:22 verbose #42202 > vec 1 2 3 <.> vec 4 5 6
00:23:22 verbose #42203 > |> _assert_eq 32
00:23:22 verbose #42204 > 00:23:21 debug #838 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fd6bc71d54fd28988462f86a6e48ac32f511fd83bb37a2bdddfbdfbb9fe32632/main.spi
00:23:22 verbose #42205 >
00:23:22 verbose #42206 > ╭─[ 711.21ms - stdout ]────────────────────────────────────────────────────────╮
00:23:22 verbose #42207 > │ let rec method0 () : unit = │
00:23:22 verbose #42208 > │ let v0 : string = "assert_eq" │
00:23:22 verbose #42209 > │ let v1 : string = $"{v0} / actual: %A{32.0} / expected: %A{32.0}" │
00:23:22 verbose #42210 > │ System.Console.WriteLine v1 │
00:23:22 verbose #42211 > │ () │
00:23:22 verbose #42212 > │ method0() │
00:23:22 verbose #42213 > │ │
00:23:22 verbose #42214 > │ assert_eq / actual: 32.0 / expected: 32.0 │
00:23:22 verbose #42215 > │ │
00:23:22 verbose #42216 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:22 verbose #42217 >
00:23:22 verbose #42218 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:22 verbose #42219 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:22 verbose #42220 > │ ### \>\< │
00:23:22 verbose #42221 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:22 verbose #42222 >
00:23:22 verbose #42223 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:22 verbose #42224 > inl (><) (a : vec) (b : vec) =
00:23:22 verbose #42225 > vec
00:23:22 verbose #42226 > (a.y * b.z - a.z * b.y)
00:23:22 verbose #42227 > (a.z * b.x - a.x * b.z)
00:23:22 verbose #42228 > (a.x * b.y - a.y * b.x)
00:23:23 verbose #42229 > 00:23:22 debug #839 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/77b03e0a4c490610bf82302592e4088ad46fc320b21534e14af108662a5e1337/main.spi
00:23:23 verbose #42230 >
00:23:23 verbose #42231 > ╭─[ 676.05ms - stdout ]────────────────────────────────────────────────────────╮
00:23:23 verbose #42232 > │ () │
00:23:23 verbose #42233 > │ │
00:23:23 verbose #42234 > │ │
00:23:23 verbose #42235 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:23 verbose #42236 >
00:23:23 verbose #42237 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:23 verbose #42238 > //// test
00:23:23 verbose #42239 >
00:23:23 verbose #42240 > vec 1 2 3 >< vec 4 5 6
00:23:23 verbose #42241 > |> _assert_eq (vec -3 6 -3)
00:23:24 verbose #42242 > 00:23:23 debug #840 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a9af230869935a9870ff6b6c34ce40fb7fe1c0a9c609f6ac36c872f1436bea61/main.spi
00:23:24 verbose #42243 >
00:23:24 verbose #42244 > ╭─[ 728.63ms - stdout ]────────────────────────────────────────────────────────╮
00:23:24 verbose #42245 > │ let rec method0 () : unit = │
00:23:24 verbose #42246 > │ let v0 : string = "assert_eq" │
00:23:24 verbose #42247 > │ let v1 : string = $"{v0} / actual: %A{struct (-3.0, 6.0, -3.0)} / │
00:23:24 verbose #42248 > │ expected: %A{struct (-3.0, 6.0, -3.0)}" │
00:23:24 verbose #42249 > │ System.Console.WriteLine v1 │
00:23:24 verbose #42250 > │ () │
00:23:24 verbose #42251 > │ method0() │
00:23:24 verbose #42252 > │ │
00:23:24 verbose #42253 > │ assert_eq / actual: struct (-3.0, 6.0, -3.0) / expected: struct (-3.0, 6.0, │
00:23:24 verbose #42254 > │ -3.0) │
00:23:24 verbose #42255 > │ │
00:23:24 verbose #42256 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:24 verbose #42257 >
00:23:24 verbose #42258 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:24 verbose #42259 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:24 verbose #42260 > │ ### magnitude │
00:23:24 verbose #42261 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:24 verbose #42262 >
00:23:24 verbose #42263 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:24 verbose #42264 > inl magnitude v =
00:23:24 verbose #42265 > v <.> v |> sqrt
00:23:24 verbose #42266 > 00:23:23 debug #841 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/54afb0990b2fee9f6e08e20a62155a62908159483f4a50bc3b867069e42902a6/main.spi
00:23:25 verbose #42267 >
00:23:25 verbose #42268 > ╭─[ 669.34ms - stdout ]────────────────────────────────────────────────────────╮
00:23:25 verbose #42269 > │ () │
00:23:25 verbose #42270 > │ │
00:23:25 verbose #42271 > │ │
00:23:25 verbose #42272 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:25 verbose #42273 >
00:23:25 verbose #42274 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:25 verbose #42275 > //// test
00:23:25 verbose #42276 >
00:23:25 verbose #42277 > vec 1 2 3
00:23:25 verbose #42278 > |> magnitude
00:23:25 verbose #42279 > |> _assert_approx_eq None 3.7416573867739413
00:23:25 verbose #42280 > 00:23:24 debug #842 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d32e304bf713742f3f47b7493a6eed6fe27d3f4a1dff4e6cf5bfad02cc901510/main.spi
00:23:25 verbose #42281 >
00:23:25 verbose #42282 > ╭─[ 642.20ms - stdout ]────────────────────────────────────────────────────────╮
00:23:25 verbose #42283 > │ let rec method0 () : unit = │
00:23:25 verbose #42284 > │ let v0 : string = "assert_approx_eq" │
00:23:25 verbose #42285 > │ let v1 : string = $"{v0} / actual: %A{3.7416573867739413} / expected: │
00:23:25 verbose #42286 > │ %A{3.7416573867739413}" │
00:23:25 verbose #42287 > │ System.Console.WriteLine v1 │
00:23:25 verbose #42288 > │ () │
00:23:25 verbose #42289 > │ method0() │
00:23:25 verbose #42290 > │ │
00:23:25 verbose #42291 > │ assert_approx_eq / actual: 3.741657387 / expected: 3.741657387 │
00:23:25 verbose #42292 > │ │
00:23:25 verbose #42293 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:25 verbose #42294 >
00:23:25 verbose #42295 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:25 verbose #42296 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:25 verbose #42297 > │ ### v1 │
00:23:25 verbose #42298 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:25 verbose #42299 >
00:23:25 verbose #42300 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:25 verbose #42301 > inl v1 t =
00:23:25 verbose #42302 > 2 *^ (t ** 2 *^ i_hat () ^+^ 3 *^ (t ** 3 *^ j_hat () ^+^ t ** 4 *^ k_hat
00:23:25 verbose #42303 > ()))
00:23:26 verbose #42304 > 00:23:25 debug #843 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ada74c14d39500abefb39ac1b762110e1723affd0405c4a519ae0fcc1922e926/main.spi
00:23:26 verbose #42305 >
00:23:26 verbose #42306 > ╭─[ 664.56ms - stdout ]────────────────────────────────────────────────────────╮
00:23:26 verbose #42307 > │ () │
00:23:26 verbose #42308 > │ │
00:23:26 verbose #42309 > │ │
00:23:26 verbose #42310 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:26 verbose #42311 >
00:23:26 verbose #42312 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:26 verbose #42313 > //// test
00:23:26 verbose #42314 >
00:23:26 verbose #42315 > v1 1
00:23:26 verbose #42316 > |> _assert_eq (vec 2 6 6)
00:23:26 verbose #42317 > 00:23:25 debug #844 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4c59ed0d4978cbf1351af1790629daf5427c584dfd2ab3006edf2e81bf55ada3/main.spi
00:23:27 verbose #42318 >
00:23:27 verbose #42319 > ╭─[ 735.66ms - stdout ]────────────────────────────────────────────────────────╮
00:23:27 verbose #42320 > │ let rec method0 () : unit = │
00:23:27 verbose #42321 > │ let v0 : string = "assert_eq" │
00:23:27 verbose #42322 > │ let v1 : string = $"{v0} / actual: %A{struct (2.0, 6.0, 6.0)} / │
00:23:27 verbose #42323 > │ expected: %A{struct (2.0, 6.0, 6.0)}" │
00:23:27 verbose #42324 > │ System.Console.WriteLine v1 │
00:23:27 verbose #42325 > │ () │
00:23:27 verbose #42326 > │ method0() │
00:23:27 verbose #42327 > │ │
00:23:27 verbose #42328 > │ assert_eq / actual: struct (2.0, 6.0, 6.0) / expected: struct (2.0, 6.0, │
00:23:27 verbose #42329 > │ 6.0) │
00:23:27 verbose #42330 > │ │
00:23:27 verbose #42331 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:27 verbose #42332 >
00:23:27 verbose #42333 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:27 verbose #42334 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:27 verbose #42335 > │ ### vec_derivative │
00:23:27 verbose #42336 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:27 verbose #42337 >
00:23:27 verbose #42338 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:27 verbose #42339 > type vec_derivative = (f64 -> vec) -> f64 -> vec
00:23:27 verbose #42340 >
00:23:27 verbose #42341 > inl vec_derivative dt : vec_derivative =
00:23:27 verbose #42342 > fun v t =>
00:23:27 verbose #42343 > (v (t + dt / 2) ^-^ v (t - dt / 2)) ^/ dt
00:23:27 verbose #42344 > 00:23:26 debug #845 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e8785337eca06a5a371f54149f4d4d047a9547fe6e05e0e298ce8df772016b42/main.spi
00:23:27 verbose #42345 >
00:23:27 verbose #42346 > ╭─[ 653.46ms - stdout ]────────────────────────────────────────────────────────╮
00:23:27 verbose #42347 > │ () │
00:23:27 verbose #42348 > │ │
00:23:27 verbose #42349 > │ │
00:23:27 verbose #42350 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:27 verbose #42351 >
00:23:27 verbose #42352 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:27 verbose #42353 > //// test
00:23:27 verbose #42354 >
00:23:27 verbose #42355 > vec_derivative 0.01 v1 3 .x
00:23:27 verbose #42356 > |> _assert_approx_eq None (derivative 0.01 (v1 >> fun v => v.x) 3)
00:23:28 verbose #42357 > 00:23:27 debug #846 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/01e1e3eec76d5e84883b9b8ced3e880a03b3b4f0ff3eef70d1305973f23be529/main.spi
00:23:28 verbose #42358 >
00:23:28 verbose #42359 > ╭─[ 712.09ms - stdout ]────────────────────────────────────────────────────────╮
00:23:28 verbose #42360 > │ let rec method0 () : unit = │
00:23:28 verbose #42361 > │ let v0 : string = "assert_approx_eq" │
00:23:28 verbose #42362 > │ let v1 : string = $"{v0} / actual: %A{11.999999999999744} / expected: │
00:23:28 verbose #42363 > │ %A{11.999999999999744}" │
00:23:28 verbose #42364 > │ System.Console.WriteLine v1 │
00:23:28 verbose #42365 > │ () │
00:23:28 verbose #42366 > │ method0() │
00:23:28 verbose #42367 > │ │
00:23:28 verbose #42368 > │ assert_approx_eq / actual: 12.0 / expected: 12.0 │
00:23:28 verbose #42369 > │ │
00:23:28 verbose #42370 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:28 verbose #42371 >
00:23:28 verbose #42372 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:28 verbose #42373 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:28 verbose #42374 > │ ## states_ps │
00:23:28 verbose #42375 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:28 verbose #42376 >
00:23:28 verbose #42377 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:28 verbose #42378 > nominal particle_state =
00:23:28 verbose #42379 > {
00:23:28 verbose #42380 > mass : f64
00:23:28 verbose #42381 > charge : f64
00:23:28 verbose #42382 > time : f64
00:23:28 verbose #42383 > pos_vec : vec
00:23:28 verbose #42384 > velocity : vec
00:23:28 verbose #42385 > }
00:23:28 verbose #42386 >
00:23:28 verbose #42387 > inl default_particle_state () : particle_state =
00:23:28 verbose #42388 > particle_state {
00:23:28 verbose #42389 > mass = 1
00:23:28 verbose #42390 > charge = 0
00:23:28 verbose #42391 > time = 0
00:23:28 verbose #42392 > pos_vec = zero_vec ()
00:23:28 verbose #42393 > velocity = zero_vec ()
00:23:28 verbose #42394 > }
00:23:28 verbose #42395 >
00:23:28 verbose #42396 > type one_body_force = particle_state -> vec
00:23:28 verbose #42397 >
00:23:28 verbose #42398 > nominal d_particle_state =
00:23:28 verbose #42399 > {
00:23:28 verbose #42400 > dmdt : f64
00:23:28 verbose #42401 > dqdt : f64
00:23:28 verbose #42402 > dtdt : f64
00:23:28 verbose #42403 > drdt : vec
00:23:28 verbose #42404 > dvdt : vec
00:23:28 verbose #42405 > }
00:23:28 verbose #42406 >
00:23:28 verbose #42407 > inl newton_second_ps (fs : list one_body_force) (st : particle_state) :
00:23:28 verbose #42408 > d_particle_state =
00:23:28 verbose #42409 > inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:23:28 verbose #42410 > d_particle_state {
00:23:28 verbose #42411 > dmdt = 0
00:23:28 verbose #42412 > dqdt = 0
00:23:28 verbose #42413 > dtdt = 1
00:23:28 verbose #42414 > drdt = st.velocity
00:23:28 verbose #42415 > dvdt = f_net ^/ st.mass
00:23:28 verbose #42416 > }
00:23:28 verbose #42417 >
00:23:28 verbose #42418 > inl earth_surface_gravity (st : particle_state) =
00:23:28 verbose #42419 > inl g = 9.80665
00:23:28 verbose #42420 > -st.mass * g *^ k_hat ()
00:23:28 verbose #42421 >
00:23:28 verbose #42422 > inl air_resistance drag rho area (st : particle_state) =
00:23:28 verbose #42423 > -0.5 * drag * rho * area * magnitude st.velocity *^ st.velocity
00:23:28 verbose #42424 >
00:23:28 verbose #42425 > inl euler_cromer_ps dt (deriv : particle_state -> d_particle_state)
00:23:28 verbose #42426 > (particle_state st) =
00:23:28 verbose #42427 > inl dst : d_particle_state = deriv (particle_state st)
00:23:28 verbose #42428 > inl v' = st.velocity ^+^ dst.dvdt ^* dt
00:23:28 verbose #42429 > particle_state { st with
00:23:28 verbose #42430 > time = st.time + dt
00:23:28 verbose #42431 > pos_vec = st.pos_vec ^+^ v' ^* dt
00:23:28 verbose #42432 > velocity = st.velocity ^+^ dst.dvdt ^* dt
00:23:28 verbose #42433 > }
00:23:28 verbose #42434 >
00:23:28 verbose #42435 > instance (+++) d_particle_state = fun (dps : d_particle_state) (dps' :
00:23:28 verbose #42436 > d_particle_state) =>
00:23:28 verbose #42437 > d_particle_state {
00:23:28 verbose #42438 > dmdt = dps.dmdt + dps'.dmdt
00:23:28 verbose #42439 > dqdt = dps.dqdt + dps'.dqdt
00:23:28 verbose #42440 > dtdt = dps.dtdt + dps'.dtdt
00:23:28 verbose #42441 > drdt = dps.drdt ^+^ dps'.drdt
00:23:28 verbose #42442 > dvdt = dps.dvdt ^+^ dps'.dvdt
00:23:28 verbose #42443 > }
00:23:28 verbose #42444 >
00:23:28 verbose #42445 > instance scale d_particle_state = fun w (dps : d_particle_state) =>
00:23:28 verbose #42446 > d_particle_state {
00:23:28 verbose #42447 > dmdt = w * dps.dmdt
00:23:28 verbose #42448 > dqdt = w * dps.dqdt
00:23:28 verbose #42449 > dtdt = w * dps.dtdt
00:23:28 verbose #42450 > drdt = w *^ dps.drdt
00:23:28 verbose #42451 > dvdt = w *^ dps.dvdt
00:23:28 verbose #42452 > }
00:23:28 verbose #42453 >
00:23:28 verbose #42454 > instance shift particle_state = fun dt dps (particle_state st) =>
00:23:28 verbose #42455 > inl (d_particle_state dps) =
00:23:28 verbose #42456 > real
00:23:28 verbose #42457 > match dps with
00:23:28 verbose #42458 > | d_particle_state _ => dps
00:23:28 verbose #42459 > particle_state { st with
00:23:28 verbose #42460 > time = st.time + dps.dtdt * dt
00:23:28 verbose #42461 > pos_vec = st.pos_vec ^+^ dps.drdt ^* dt
00:23:28 verbose #42462 > velocity = st.velocity ^+^ dps.dvdt ^* dt
00:23:28 verbose #42463 > }
00:23:28 verbose #42464 >
00:23:28 verbose #42465 > inl states_ps (method : numerical_method particle_state d_particle_state) : _ ->
00:23:28 verbose #42466 > _ -> i32 -> particle_state =
00:23:28 verbose #42467 > newton_second_ps >> method >> seq.iterate_
00:23:28 verbose #42468 >
00:23:28 verbose #42469 > inl z_ge0 sts =
00:23:28 verbose #42470 > sts
00:23:28 verbose #42471 > |> seq.take_while_ (fun (particle_state st) _ => st.pos_vec.z >= 0)
00:23:28 verbose #42472 >
00:23:28 verbose #42473 > inl trajectory sts =
00:23:28 verbose #42474 > sts |> listm.map (fun (particle_state st) => st.pos_vec.y, st.pos_vec.z)
00:23:29 verbose #42475 > 00:23:28 debug #847 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/247e017e600754e6fe6eb1128004b0730fbda527e276ad33bec5cd2c39a5e562/main.spi
00:23:29 verbose #42476 >
00:23:29 verbose #42477 > ╭─[ 656.06ms - stdout ]────────────────────────────────────────────────────────╮
00:23:29 verbose #42478 > │ () │
00:23:29 verbose #42479 > │ │
00:23:29 verbose #42480 > │ │
00:23:29 verbose #42481 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:29 verbose #42482 >
00:23:29 verbose #42483 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:29 verbose #42484 > //// test
00:23:29 verbose #42485 >
00:23:29 verbose #42486 > inl update_ps (method : numerical_method particle_state d_particle_state) =
00:23:29 verbose #42487 > newton_second_ps >> method
00:23:29 verbose #42488 >
00:23:29 verbose #42489 > inl position_ps (method : numerical_method particle_state d_particle_state) fs
00:23:29 verbose #42490 > st t =
00:23:29 verbose #42491 > inl states : i32 -> particle_state = states_ps method fs st
00:23:29 verbose #42492 > inl dt = (states 1).time - (states 0).time
00:23:29 verbose #42493 > inl num_steps = t / dt |> math.round |> abs
00:23:29 verbose #42494 > inl st1 = solver' method (newton_second_ps fs) st num_steps
00:23:29 verbose #42495 > st1.pos_vec
00:23:29 verbose #42496 >
00:23:29 verbose #42497 > inl sun_gravity (st : particle_state) : vec =
00:23:29 verbose #42498 > inl big_g = 0.0000000000667408
00:23:29 verbose #42499 > inl sun_mass = 1988480000000000000000000000000
00:23:29 verbose #42500 > -big_g * sun_mass * st.mass *^ st.pos_vec ^/ magnitude st.pos_vec ** 3
00:23:29 verbose #42501 >
00:23:29 verbose #42502 > inl wind_force v_wind drag rho area (st : particle_state) =
00:23:29 verbose #42503 > inl v_rel = st.velocity ^-^ v_wind
00:23:29 verbose #42504 > -0.5 * drag * rho * area * magnitude v_rel *^ v_rel
00:23:29 verbose #42505 >
00:23:29 verbose #42506 > inl rock_state () =
00:23:29 verbose #42507 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:29 verbose #42508 > particle_state { default_particle_state' with
00:23:29 verbose #42509 > mass = 2
00:23:29 verbose #42510 > velocity = vec 3 0 4
00:23:29 verbose #42511 > }
00:23:29 verbose #42512 >
00:23:29 verbose #42513 > inl halley_update dt =
00:23:29 verbose #42514 > update_ps (euler_cromer_ps dt) [[ sun_gravity ]]
00:23:29 verbose #42515 >
00:23:29 verbose #42516 > inl halley_initial () =
00:23:29 verbose #42517 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:29 verbose #42518 > particle_state { default_particle_state' with
00:23:29 verbose #42519 > mass = 220000000000000
00:23:29 verbose #42520 > pos_vec = 87660000000 *^ i_hat ()
00:23:29 verbose #42521 > velocity = 54569 *^ j_hat ()
00:23:29 verbose #42522 > }
00:23:29 verbose #42523 > 00:23:28 debug #848 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e0e06b60534824e3d7f3155a0f30e353df10f9a3ff53fc79075f53ca82f533d9/main.spi
00:23:29 verbose #42524 >
00:23:29 verbose #42525 > ╭─[ 750.66ms - stdout ]────────────────────────────────────────────────────────╮
00:23:29 verbose #42526 > │ () │
00:23:29 verbose #42527 > │ │
00:23:29 verbose #42528 > │ │
00:23:29 verbose #42529 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:29 verbose #42530 >
00:23:29 verbose #42531 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:29 verbose #42532 > //// test
00:23:29 verbose #42533 >
00:23:29 verbose #42534 > inl baseball_forces () =
00:23:29 verbose #42535 > inl area = pi * (0.074 / 2) ** 2
00:23:29 verbose #42536 > [[
00:23:29 verbose #42537 > earth_surface_gravity
00:23:29 verbose #42538 > air_resistance 0.3 1.225 area
00:23:29 verbose #42539 > ]]
00:23:29 verbose #42540 >
00:23:29 verbose #42541 > inl baseball_trajectory dt v0 theta_deg =
00:23:29 verbose #42542 > inl theta_rad = theta_deg * pi / 180
00:23:29 verbose #42543 > inl vy0 = v0 * cos theta_rad
00:23:29 verbose #42544 > inl vz0 = v0 * sin theta_rad
00:23:29 verbose #42545 > inl initial_state =
00:23:29 verbose #42546 > particle_state {
00:23:29 verbose #42547 > mass = 0.145
00:23:29 verbose #42548 > charge = 0
00:23:29 verbose #42549 > time = 0
00:23:29 verbose #42550 > pos_vec = zero_vec ()
00:23:29 verbose #42551 > velocity = vec 0 vy0 vz0
00:23:29 verbose #42552 > }
00:23:29 verbose #42553 > states_ps (euler_cromer_ps dt) (baseball_forces ()) initial_state
00:23:29 verbose #42554 > >> Some
00:23:29 verbose #42555 > |> z_ge0
00:23:29 verbose #42556 > |> trajectory
00:23:29 verbose #42557 >
00:23:29 verbose #42558 > inl baseball_range dt v0 theta_deg =
00:23:29 verbose #42559 > baseball_trajectory dt v0 theta_deg
00:23:29 verbose #42560 > |> listm.fold (fun _ (y, _) => y) 0
00:23:29 verbose #42561 >
00:23:29 verbose #42562 > inl x : a _ f64 = am'.init_series 10 80 1
00:23:29 verbose #42563 > inl y = x |> am.map (baseball_range 0.01 45)
00:23:29 verbose #42564 > "range for a baseball hit at 45 m/s",
00:23:29 verbose #42565 > "angle above horizontal (degrees)",
00:23:29 verbose #42566 > "",
00:23:29 verbose #42567 > ;[[ "horizontal range (m)", x, y ]]
00:23:30 verbose #42568 > 00:23:29 debug #849 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/72838a21813b85c5ea1b1c14f18c0b2efdc37e3ac61211fb52af2c9efca5c5e9/main.spi
00:23:31 verbose #42569 >
00:23:31 verbose #42570 > ╭─[ 1.29s - return value ]─────────────────────────────────────────────────────╮
00:23:31 verbose #42571 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:31 verbose #42572 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:31 verbose #42573 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:31 verbose #42574 > │ stroke="none"/> │
00:23:31 verbose #42575 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:31 verbose #42576 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:31 verbose #42577 > │ fill="#FFFFFF"> │
00:23:31 verbose #42578 > │ range for a baseball hit at 45 m/s │
00:23:31 verbose #42579 > │ </text> │
00:23:31 verbose #42580 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="55" y1="424" x2="55" │
00:23:31 verbose #42581 > │ y2="75"/> │
00:23:31 verbose #42582 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:23:31 verbose #42583 > │ y2="75"/> │
00:23:31 verbose #42584 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:31 verbose #42585 > │ y2="75"/> │
00:23:31 verbose #42586 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:23:31 verbose #42587 > │ y2="75"/> │
00:23:31 verbose #42588 > │ <line opacity="1" stroke="#323232" stroke-width="... │
00:23:31 verbose #42589 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:31 verbose #42590 >
00:23:31 verbose #42591 > ╭─[ 1.30s - stdout ]───────────────────────────────────────────────────────────╮
00:23:31 verbose #42592 > │ type Mut0 = {mutable l0 : int32} │
00:23:31 verbose #42593 > │ and UH0 = │
00:23:31 verbose #42594 > │ | UH0_0 │
00:23:31 verbose #42595 > │ | UH0_1 of float * float * float * float * float * float * float * float │
00:23:31 verbose #42596 > │ * float * UH0 │
00:23:31 verbose #42597 > │ and UH1 = │
00:23:31 verbose #42598 > │ | UH1_0 │
00:23:31 verbose #42599 > │ | UH1_1 of float * float * UH1 │
00:23:31 verbose #42600 > │ let rec method1 (v0 : Mut0) : bool = │
00:23:31 verbose #42601 > │ let v1 : int32 = v0.l0 │
00:23:31 verbose #42602 > │ let v2 : bool = v1 < 71 │
00:23:31 verbose #42603 > │ v2 │
00:23:31 verbose #42604 > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:23:31 verbose #42605 > │ let v2 : int32 = v1.l0 │
00:23:31 verbose #42606 > │ let v3 : bool = v2 < v0 │
00:23:31 verbose #42607 > │ v3 │
00:23:31 verbose #42608 > │ and method4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:23:31 verbose #42609 > │ : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float * │
00:23:31 verbose #42610 > │ float * float * float * float * float * float * float * float) = │
00:23:31 verbose #42611 > │ let v10 : bool = v9 <= 0 │
00:23:31 verbose #42612 > │ if v10 then │
00:23:31 verbose #42613 > │ struct (v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:23:31 verbose #42614 > │ else │
00:23:31 verbose #42615 > │ let v11 : float = v6 * v6 │
00:23:31 verbose #42616 > │ let v12 : float = v7 * v7 │
00:23:31 verbose #42617 > │ let v13 : float = v11 + v12 │
00:23:31 verbose #42618 > │ let v14 : float = v8 * v8 │
00:23:31 verbose #42619 > │ let v15 : float = v13 + v14 │
00:23:31 verbose #42620 > │ let v16 : float = sqrt v15 │
00:23:31 verbose #42621 > │ let v17 : float = -0.0007902794129829633 * v16 │
00:23:31 verbose #42622 > │ let v18 : float = v17 * v6 │
00:23:31 verbose #42623 > │ let v19 : float = v17 * v7 │
00:23:31 verbose #42624 > │ let v20 : float = v17 * v8 │
00:23:31 verbose #42625 > │ let v21 : float = -v1 │
00:23:31 verbose #42626 > │ let v22 : float = v21 * 9.80665 │
00:23:31 verbose #42627 > │ let v23 : float = v22 * 0.0 │
00:23:31 verbose #42628 > │ let v24 : float = v23 + v18 │
00:23:31 verbose #42629 > │ let v25 : float = v23 + v19 │
00:23:31 verbose #42630 > │ let v26 : float = v22 + v20 │
00:23:31 verbose #42631 > │ let v27 : float = v24 / v1 │
00:23:31 verbose #42632 > │ let v28 : float = v25 / v1 │
00:23:31 verbose #42633 > │ let v29 : float = v26 / v1 │
00:23:31 verbose #42634 > │ let v30 : float = 0.01 * v27 │
00:23:31 verbose #42635 > │ let v31 : float = 0.01 * v28 │
00:23:31 verbose #42636 > │ let v32 : float = 0.01 * v29 │
00:23:31 verbose #42637 > │ let v33 : float = v6 + v30 │
00:23:31 verbose #42638 > │ let v34 : float = v7 + v31 │
00:23:31 verbose #42639 > │ let v35 : float = v8 + v32 │
00:23:31 verbose #42640 > │ let v36 : float = v5 + 0.01 │
00:23:31 verbose #42641 > │ let v37 : float = 0.01 * v33 │
00:23:31 verbose #42642 > │ let v38 : float = 0.01 * v34 │
00:23:31 verbose #42643 > │ let v39 : float = 0.01 * v35 │
00:23:31 verbose #42644 > │ let v40 : float = v2 + v37 │
00:23:31 verbose #42645 > │ let v41 : float = v3 + v38 │
00:23:31 verbose #42646 > │ let v42 : float = v4 + v39 │
00:23:31 verbose #42647 > │ let v43 : int32 = v9 - 1 │
00:23:31 verbose #42648 > │ method4(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43) │
00:23:31 verbose #42649 > │ and method5 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:31 verbose #42650 > │ match v0 with │
00:23:31 verbose #42651 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:31 verbose #42652 > │ let v12 : UH0 = UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:23:31 verbose #42653 > │ method5(v11, v12) │
00:23:31 verbose #42654 > │ | UH0_0 -> (* Nil *) │
00:23:31 verbose #42655 > │ v1 │
00:23:31 verbose #42656 > │ and method3 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 = │
00:23:31 verbose #42657 > │ let v4 : float = 0.0 │
00:23:31 verbose #42658 > │ let v5 : float = 0.145 │
00:23:31 verbose #42659 > │ let v6 : float = 0.0 │
00:23:31 verbose #42660 > │ let v7 : float = 0.0 │
00:23:31 verbose #42661 > │ let v8 : float = 0.0 │
00:23:31 verbose #42662 > │ let v9 : float = 0.0 │
00:23:31 verbose #42663 > │ let v10 : float = 0.0 │
00:23:31 verbose #42664 > │ let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 : │
00:23:31 verbose #42665 > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method4(v4, v5, │
00:23:31 verbose #42666 > │ v6, v7, v8, v9, v10, v0, v1, v3) │
00:23:31 verbose #42667 > │ let v20 : bool = v15 >= 0.0 │
00:23:31 verbose #42668 > │ if v20 then │
00:23:31 verbose #42669 > │ let v21 : UH0 = UH0_1(v11, v12, v13, v14, v15, v16, v17, v18, v19, │
00:23:31 verbose #42670 > │ v2) │
00:23:31 verbose #42671 > │ let v22 : int32 = v3 + 1 │
00:23:31 verbose #42672 > │ method3(v0, v1, v21, v22) │
00:23:31 verbose #42673 > │ else │
00:23:31 verbose #42674 > │ let v24 : UH0 = UH0_0 │
00:23:31 verbose #42675 > │ method5(v2, v24) │
00:23:31 verbose #42676 > │ and method6 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:31 verbose #42677 > │ match v0 with │
00:23:31 verbose #42678 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:31 verbose #42679 > │ let v12 : UH1 = method6(v11, v1) │
00:23:31 verbose #42680 > │ UH1_1(v5, v6, v12) │
00:23:31 verbose #42681 > │ | UH0_0 -> (* Nil *) │
00:23:31 verbose #42682 > │ v1 │
00:23:31 verbose #42683 > │ and method7 (v0 : UH1, v1 : float) : float = │
00:23:31 verbose #42684 > │ match v0 with │
00:23:31 verbose #42685 > │ | UH1_1(v2, v3, v4) -> (* Cons *) │
00:23:31 verbose #42686 > │ method7(v4, v2) │
00:23:31 verbose #42687 > │ | UH1_0 -> (* Nil *) │
00:23:31 verbose #42688 > │ v1 │
00:23:31 verbose #42689 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:31 verbose #42690 > │ []) * (float [])) [])) = │
00:23:31 verbose #42691 > │ let v0 : (float []) = Array.zeroCreate<float> (71) │
00:23:31 verbose #42692 > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:23:31 verbose #42693 > │ while method1(v1) do │
00:23:31 verbose #42694 > │ let v3 : int32 = v1.l0 │
00:23:31 verbose #42695 > │ let v4 : float = float v3 │
00:23:31 verbose #42696 > │ let v5 : float = 10.0 + v4 │
00:23:31 verbose #42697 > │ v0.[int v3] <- v5 │
00:23:31 verbose #42698 > │ let v6 : int32 = v3 + 1 │
00:23:31 verbose #42699 > │ v1.l0 <- v6 │
00:23:31 verbose #42700 > │ () │
00:23:31 verbose #42701 > │ let v7 : int32 = v0.Length │
00:23:31 verbose #42702 > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:23:31 verbose #42703 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:23:31 verbose #42704 > │ while method2(v7, v9) do │
00:23:31 verbose #42705 > │ let v11 : int32 = v9.l0 │
00:23:31 verbose #42706 > │ let v12 : float = v0.[int v11] │
00:23:31 verbose #42707 > │ let v13 : float = v12 * 3.141592653589793 │
00:23:31 verbose #42708 > │ let v14 : float = v13 / 180.0 │
00:23:31 verbose #42709 > │ let v15 : float = cos v14 │
00:23:31 verbose #42710 > │ let v16 : float = 45.0 * v15 │
00:23:31 verbose #42711 > │ let v17 : float = sin v14 │
00:23:31 verbose #42712 > │ let v18 : float = 45.0 * v17 │
00:23:31 verbose #42713 > │ let v19 : UH0 = UH0_0 │
00:23:31 verbose #42714 > │ let v20 : int32 = 0 │
00:23:31 verbose #42715 > │ let v21 : UH0 = method3(v16, v18, v19, v20) │
00:23:31 verbose #42716 > │ let v22 : UH1 = UH1_0 │
00:23:31 verbose #42717 > │ let v23 : UH1 = method6(v21, v22) │
00:23:31 verbose #42718 > │ let v24 : float = 0.0 │
00:23:31 verbose #42719 > │ let v25 : float = method7(v23, v24) │
00:23:31 verbose #42720 > │ v8.[int v11] <- v25 │
00:23:31 verbose #42721 > │ let v26 : int32 = v11 + 1 │
00:23:31 verbose #42722 > │ v9.l0 <- v26 │
00:23:31 verbose #42723 > │ () │
00:23:31 verbose #42724 > │ let v27 : string = "horizontal range (m)" │
00:23:31 verbose #42725 > │ let v28 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:31 verbose #42726 > │ (v27, v0, v8)|] │
00:23:31 verbose #42727 > │ let v29 : string = "range for a baseball hit at 45 m/s" │
00:23:31 verbose #42728 > │ let v30 : string = "angle above horizontal (degrees)" │
00:23:31 verbose #42729 > │ let v31 : string = "" │
00:23:31 verbose #42730 > │ struct (v29, v30, v31, v28) │
00:23:31 verbose #42731 > │ method0() │
00:23:31 verbose #42732 > │ │
00:23:31 verbose #42733 > │ │
00:23:31 verbose #42734 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:31 verbose #42735 >
00:23:31 verbose #42736 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:31 verbose #42737 > //// test
00:23:31 verbose #42738 >
00:23:31 verbose #42739 > inl best_angle (min, max) =
00:23:31 verbose #42740 > let rec loop theta_deg (best_range, best_theta_deg) =
00:23:31 verbose #42741 > if theta_deg > max
00:23:31 verbose #42742 > then best_range, best_theta_deg
00:23:31 verbose #42743 > else
00:23:31 verbose #42744 > inl range = baseball_range 0.01 45 theta_deg
00:23:31 verbose #42745 > loop
00:23:31 verbose #42746 > (theta_deg + 1)
00:23:31 verbose #42747 > (if range > best_range
00:23:31 verbose #42748 > then range, theta_deg
00:23:31 verbose #42749 > else best_range, best_theta_deg)
00:23:31 verbose #42750 > loop min (0f64, min)
00:23:31 verbose #42751 >
00:23:31 verbose #42752 > best_angle (30f64, 60f64)
00:23:31 verbose #42753 > |> _assert_eq (116.77499158246208, 41)
00:23:31 verbose #42754 > 00:23:30 debug #850 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/79d6b6c658bce214c6cbe0c154cf6b61b5b4ca7c2d3b9fb9fdcb96d1f3ddf58c/main.spi
00:23:32 verbose #42755 >
00:23:32 verbose #42756 > ╭─[ 1.17s - stdout ]───────────────────────────────────────────────────────────╮
00:23:32 verbose #42757 > │ type UH0 = │
00:23:32 verbose #42758 > │ | UH0_0 │
00:23:32 verbose #42759 > │ | UH0_1 of float * float * float * float * float * float * float * float │
00:23:32 verbose #42760 > │ * float * UH0 │
00:23:32 verbose #42761 > │ and UH1 = │
00:23:32 verbose #42762 > │ | UH1_0 │
00:23:32 verbose #42763 > │ | UH1_1 of float * float * UH1 │
00:23:32 verbose #42764 > │ let rec method3 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:23:32 verbose #42765 > │ v5 : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float │
00:23:32 verbose #42766 > │ * float * float * float * float * float * float * float * float) = │
00:23:32 verbose #42767 > │ let v10 : bool = v9 <= 0 │
00:23:32 verbose #42768 > │ if v10 then │
00:23:32 verbose #42769 > │ struct (v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:23:32 verbose #42770 > │ else │
00:23:32 verbose #42771 > │ let v11 : float = v6 * v6 │
00:23:32 verbose #42772 > │ let v12 : float = v7 * v7 │
00:23:32 verbose #42773 > │ let v13 : float = v11 + v12 │
00:23:32 verbose #42774 > │ let v14 : float = v8 * v8 │
00:23:32 verbose #42775 > │ let v15 : float = v13 + v14 │
00:23:32 verbose #42776 > │ let v16 : float = sqrt v15 │
00:23:32 verbose #42777 > │ let v17 : float = -0.0007902794129829633 * v16 │
00:23:32 verbose #42778 > │ let v18 : float = v17 * v6 │
00:23:32 verbose #42779 > │ let v19 : float = v17 * v7 │
00:23:32 verbose #42780 > │ let v20 : float = v17 * v8 │
00:23:32 verbose #42781 > │ let v21 : float = -v1 │
00:23:32 verbose #42782 > │ let v22 : float = v21 * 9.80665 │
00:23:32 verbose #42783 > │ let v23 : float = v22 * 0.0 │
00:23:32 verbose #42784 > │ let v24 : float = v23 + v18 │
00:23:32 verbose #42785 > │ let v25 : float = v23 + v19 │
00:23:32 verbose #42786 > │ let v26 : float = v22 + v20 │
00:23:32 verbose #42787 > │ let v27 : float = v24 / v1 │
00:23:32 verbose #42788 > │ let v28 : float = v25 / v1 │
00:23:32 verbose #42789 > │ let v29 : float = v26 / v1 │
00:23:32 verbose #42790 > │ let v30 : float = 0.01 * v27 │
00:23:32 verbose #42791 > │ let v31 : float = 0.01 * v28 │
00:23:32 verbose #42792 > │ let v32 : float = 0.01 * v29 │
00:23:32 verbose #42793 > │ let v33 : float = v6 + v30 │
00:23:32 verbose #42794 > │ let v34 : float = v7 + v31 │
00:23:32 verbose #42795 > │ let v35 : float = v8 + v32 │
00:23:32 verbose #42796 > │ let v36 : float = v5 + 0.01 │
00:23:32 verbose #42797 > │ let v37 : float = 0.01 * v33 │
00:23:32 verbose #42798 > │ let v38 : float = 0.01 * v34 │
00:23:32 verbose #42799 > │ let v39 : float = 0.01 * v35 │
00:23:32 verbose #42800 > │ let v40 : float = v2 + v37 │
00:23:32 verbose #42801 > │ let v41 : float = v3 + v38 │
00:23:32 verbose #42802 > │ let v42 : float = v4 + v39 │
00:23:32 verbose #42803 > │ let v43 : int32 = v9 - 1 │
00:23:32 verbose #42804 > │ method3(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43) │
00:23:32 verbose #42805 > │ and method4 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:32 verbose #42806 > │ match v0 with │
00:23:32 verbose #42807 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:32 verbose #42808 > │ let v12 : UH0 = UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:23:32 verbose #42809 > │ method4(v11, v12) │
00:23:32 verbose #42810 > │ | UH0_0 -> (* Nil *) │
00:23:32 verbose #42811 > │ v1 │
00:23:32 verbose #42812 > │ and method2 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 = │
00:23:32 verbose #42813 > │ let v4 : float = 0.0 │
00:23:32 verbose #42814 > │ let v5 : float = 0.145 │
00:23:32 verbose #42815 > │ let v6 : float = 0.0 │
00:23:32 verbose #42816 > │ let v7 : float = 0.0 │
00:23:32 verbose #42817 > │ let v8 : float = 0.0 │
00:23:32 verbose #42818 > │ let v9 : float = 0.0 │
00:23:32 verbose #42819 > │ let v10 : float = 0.0 │
00:23:32 verbose #42820 > │ let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 : │
00:23:32 verbose #42821 > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method3(v4, v5, │
00:23:32 verbose #42822 > │ v6, v7, v8, v9, v10, v0, v1, v3) │
00:23:32 verbose #42823 > │ let v20 : bool = v15 >= 0.0 │
00:23:32 verbose #42824 > │ if v20 then │
00:23:32 verbose #42825 > │ let v21 : UH0 = UH0_1(v11, v12, v13, v14, v15, v16, v17, v18, v19, │
00:23:32 verbose #42826 > │ v2) │
00:23:32 verbose #42827 > │ let v22 : int32 = v3 + 1 │
00:23:32 verbose #42828 > │ method2(v0, v1, v21, v22) │
00:23:32 verbose #42829 > │ else │
00:23:32 verbose #42830 > │ let v24 : UH0 = UH0_0 │
00:23:32 verbose #42831 > │ method4(v2, v24) │
00:23:32 verbose #42832 > │ and method5 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:32 verbose #42833 > │ match v0 with │
00:23:32 verbose #42834 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:32 verbose #42835 > │ let v12 : UH1 = method5(v11, v1) │
00:23:32 verbose #42836 > │ UH1_1(v5, v6, v12) │
00:23:32 verbose #42837 > │ | UH0_0 -> (* Nil *) │
00:23:32 verbose #42838 > │ v1 │
00:23:32 verbose #42839 > │ and method6 (v0 : UH1, v1 : float) : float = │
00:23:32 verbose #42840 > │ match v0 with │
00:23:32 verbose #42841 > │ | UH1_1(v2, v3, v4) -> (* Cons *) │
00:23:32 verbose #42842 > │ method6(v4, v2) │
00:23:32 verbose #42843 > │ | UH1_0 -> (* Nil *) │
00:23:32 verbose #42844 > │ v1 │
00:23:32 verbose #42845 > │ and method1 (v0 : float, v1 : float, v2 : float) : struct (float * float) = │
00:23:32 verbose #42846 > │ let v3 : bool = v0 > 60.0 │
00:23:32 verbose #42847 > │ if v3 then │
00:23:32 verbose #42848 > │ struct (v2, v1) │
00:23:32 verbose #42849 > │ else │
00:23:32 verbose #42850 > │ let v4 : float = v0 * 3.141592653589793 │
00:23:32 verbose #42851 > │ let v5 : float = v4 / 180.0 │
00:23:32 verbose #42852 > │ let v6 : float = cos v5 │
00:23:32 verbose #42853 > │ let v7 : float = 45.0 * v6 │
00:23:32 verbose #42854 > │ let v8 : float = sin v5 │
00:23:32 verbose #42855 > │ let v9 : float = 45.0 * v8 │
00:23:32 verbose #42856 > │ let v10 : UH0 = UH0_0 │
00:23:32 verbose #42857 > │ let v11 : int32 = 0 │
00:23:32 verbose #42858 > │ let v12 : UH0 = method2(v7, v9, v10, v11) │
00:23:32 verbose #42859 > │ let v13 : UH1 = UH1_0 │
00:23:32 verbose #42860 > │ let v14 : UH1 = method5(v12, v13) │
00:23:32 verbose #42861 > │ let v15 : float = 0.0 │
00:23:32 verbose #42862 > │ let v16 : float = method6(v14, v15) │
00:23:32 verbose #42863 > │ let v17 : float = v0 + 1.0 │
00:23:32 verbose #42864 > │ let v18 : bool = v16 > v2 │
00:23:32 verbose #42865 > │ let struct (v19 : float, v20 : float) = │
00:23:32 verbose #42866 > │ if v18 then │
00:23:32 verbose #42867 > │ struct (v16, v0) │
00:23:32 verbose #42868 > │ else │
00:23:32 verbose #42869 > │ struct (v2, v1) │
00:23:32 verbose #42870 > │ method1(v17, v20, v19) │
00:23:32 verbose #42871 > │ and method7 (v0 : bool) : bool = │
00:23:32 verbose #42872 > │ v0 │
00:23:32 verbose #42873 > │ and method0 () : unit = │
00:23:32 verbose #42874 > │ let v0 : float = 30.0 │
00:23:32 verbose #42875 > │ let v1 : float = 0.0 │
00:23:32 verbose #42876 > │ let v2 : float = 30.0 │
00:23:32 verbose #42877 > │ let struct (v3 : float, v4 : float) = method1(v0, v2, v1) │
00:23:32 verbose #42878 > │ let v5 : bool = v3 = 116.77499158246208 │
00:23:32 verbose #42879 > │ let v7 : bool = │
00:23:32 verbose #42880 > │ if v5 then │
00:23:32 verbose #42881 > │ let v6 : bool = v4 = 41.0 │
00:23:32 verbose #42882 > │ v6 │
00:23:32 verbose #42883 > │ else │
00:23:32 verbose #42884 > │ false │
00:23:32 verbose #42885 > │ let v9 : bool = │
00:23:32 verbose #42886 > │ if v7 then │
00:23:32 verbose #42887 > │ true │
00:23:32 verbose #42888 > │ else │
00:23:32 verbose #42889 > │ method7(v7) │
00:23:32 verbose #42890 > │ let v10 : string = "assert_eq" │
00:23:32 verbose #42891 > │ let v11 : string = $"{v10} / actual: %A{struct (v3, v4)} / expected: │
00:23:32 verbose #42892 > │ %A{struct (116.77499158246208, 41.0)}" │
00:23:32 verbose #42893 > │ System.Console.WriteLine v11 │
00:23:32 verbose #42894 > │ let v12 : bool = v9 = false │
00:23:32 verbose #42895 > │ if v12 then │
00:23:32 verbose #42896 > │ failwith<unit> v11 │
00:23:32 verbose #42897 > │ method0() │
00:23:32 verbose #42898 > │ │
00:23:32 verbose #42899 > │ assert_eq / actual: struct (116.7749916, 41.0) / expected: struct │
00:23:32 verbose #42900 > │ (116.7749916, 41.0) │
00:23:32 verbose #42901 > │ │
00:23:32 verbose #42902 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:32 verbose #42903 >
00:23:32 verbose #42904 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:32 verbose #42905 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:32 verbose #42906 > │ ## relativity_ps │
00:23:32 verbose #42907 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:32 verbose #42908 >
00:23:32 verbose #42909 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:32 verbose #42910 > inl relativity_ps fs (st : particle_state) =
00:23:32 verbose #42911 > inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:23:32 verbose #42912 > inl c = 299792458
00:23:32 verbose #42913 > inl u = st.velocity ^/ c
00:23:32 verbose #42914 > inl acc = sqrt (1 - (u <.> u)) *^ (f_net ^-^ (f_net <.> u) *^ u) ^/ st.mass
00:23:32 verbose #42915 > d_particle_state {
00:23:32 verbose #42916 > dmdt = 0
00:23:32 verbose #42917 > dqdt = 0
00:23:32 verbose #42918 > dtdt = 1
00:23:32 verbose #42919 > drdt = st.velocity
00:23:32 verbose #42920 > dvdt = acc
00:23:32 verbose #42921 > }
00:23:33 verbose #42922 > 00:23:32 debug #851 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5463ef92ff9d93fbb12ec6fbc199870f884b85dd65ebf59d685cb06c6d5dceab/main.spi
00:23:33 verbose #42923 >
00:23:33 verbose #42924 > ╭─[ 671.28ms - stdout ]────────────────────────────────────────────────────────╮
00:23:33 verbose #42925 > │ () │
00:23:33 verbose #42926 > │ │
00:23:33 verbose #42927 > │ │
00:23:33 verbose #42928 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:33 verbose #42929 >
00:23:33 verbose #42930 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:33 verbose #42931 > //// test
00:23:33 verbose #42932 >
00:23:33 verbose #42933 > inl year = 365.25 * 24 * 60 * 60
00:23:33 verbose #42934 > inl c = 299792458
00:23:33 verbose #42935 > inl ~method = runge_kutta_4 100000
00:23:33 verbose #42936 > inl forces = [[ fun _ => 10 *^ i_hat () ]]
00:23:33 verbose #42937 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:33 verbose #42938 > inl initial_state =
00:23:33 verbose #42939 > particle_state { default_particle_state' with
00:23:33 verbose #42940 > mass = 1
00:23:33 verbose #42941 > }
00:23:33 verbose #42942 >
00:23:33 verbose #42943 > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:23:33 verbose #42944 > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:23:33 verbose #42945 >
00:23:33 verbose #42946 > inl newton_x, newton_y =
00:23:33 verbose #42947 > newton_states
00:23:33 verbose #42948 > >> Some
00:23:33 verbose #42949 > |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:23:33 verbose #42950 > |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:23:33 verbose #42951 > |> listm'.unzip
00:23:33 verbose #42952 >
00:23:33 verbose #42953 > inl _, relativity_y =
00:23:33 verbose #42954 > relativity_states
00:23:33 verbose #42955 > >> Some
00:23:33 verbose #42956 > |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:23:33 verbose #42957 > |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:23:33 verbose #42958 > |> listm'.unzip
00:23:33 verbose #42959 >
00:23:33 verbose #42960 > inl newton_x : a i32 _ = newton_x |> listm.toArray
00:23:33 verbose #42961 > inl newton_y : a i32 _ = newton_y |> listm.toArray
00:23:33 verbose #42962 > inl relativity_y : a i32 _ = relativity_y |> listm.toArray
00:23:33 verbose #42963 >
00:23:33 verbose #42964 > "response to a constant force",
00:23:33 verbose #42965 > "time (years)",
00:23:33 verbose #42966 > "velocity (multiples of c)",
00:23:33 verbose #42967 > ;[[
00:23:33 verbose #42968 > "newtonian", newton_x, newton_y
00:23:33 verbose #42969 > "relativistic", newton_x, relativity_y
00:23:33 verbose #42970 > ]]
00:23:33 verbose #42971 > 00:23:32 debug #852 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/792c731b5edeaa17233b06fa53d52e445351ac1bd0838f877f43a08ca6a344db/main.spi
00:23:34 verbose #42972 > 00:23:33 critical #853 Eval.startTokenRangeWatcher / iterAsyncParallel / ex: System.AggregateException: One or more errors occurred. (The process cannot access the file 'C:\home\git\polyglot\target\polyglot\spiral_eval\tokens\cf315b94a5a6c3b4586c2881d311189902314b14392830b78b69912208a521fd\tokens.json' because it is being used by another process.)
00:23:34 verbose #42973 >
00:23:34 verbose #42974 > ╭─[ 1.49s - return value ]─────────────────────────────────────────────────────╮
00:23:34 verbose #42975 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:34 verbose #42976 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:34 verbose #42977 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:34 verbose #42978 > │ stroke="none"/> │
00:23:34 verbose #42979 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:34 verbose #42980 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:34 verbose #42981 > │ fill="#FFFFFF"> │
00:23:34 verbose #42982 > │ response to a constant force │
00:23:34 verbose #42983 > │ </text> │
00:23:34 verbose #42984 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:23:34 verbose #42985 > │ y2="75"/> │
00:23:34 verbose #42986 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:34 verbose #42987 > │ y2="75"/> │
00:23:34 verbose #42988 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:23:34 verbose #42989 > │ y2="75"/> │
00:23:34 verbose #42990 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:23:34 verbose #42991 > │ y2="75"/> │
00:23:34 verbose #42992 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:23:34 verbose #42993 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:34 verbose #42994 >
00:23:34 verbose #42995 > ╭─[ 1.50s - stdout ]───────────────────────────────────────────────────────────╮
00:23:34 verbose #42996 > │ type UH0 = │
00:23:34 verbose #42997 > │ | UH0_0 │
00:23:34 verbose #42998 > │ | UH0_1 of float * float * float * float * float * float * float * float │
00:23:34 verbose #42999 > │ * float * UH0 │
00:23:34 verbose #43000 > │ and UH1 = │
00:23:34 verbose #43001 > │ | UH1_0 │
00:23:34 verbose #43002 > │ | UH1_1 of float * float * UH1 │
00:23:34 verbose #43003 > │ and UH2 = │
00:23:34 verbose #43004 > │ | UH2_0 │
00:23:34 verbose #43005 > │ | UH2_1 of float * UH2 │
00:23:34 verbose #43006 > │ let rec closure1 (v0 : (struct (float * float * float * float * float * │
00:23:34 verbose #43007 > │ float * float * float * float) -> struct (float * float * float * float * │
00:23:34 verbose #43008 > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3 │
00:23:34 verbose #43009 > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : │
00:23:34 verbose #43010 > │ float) : struct (float * float * float * float * float * float * float * │
00:23:34 verbose #43011 > │ float * float) = │
00:23:34 verbose #43012 > │ let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 : │
00:23:34 verbose #43013 > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1, │
00:23:34 verbose #43014 > │ v2, v3, v4, v5, v6, v7, v8, v9) │
00:23:34 verbose #43015 > │ let v19 : float = v15 * 50000.0 │
00:23:34 verbose #43016 > │ let v20 : float = v6 + v19 │
00:23:34 verbose #43017 > │ let v21 : float = 50000.0 * v12 │
00:23:34 verbose #43018 > │ let v22 : float = 50000.0 * v13 │
00:23:34 verbose #43019 > │ let v23 : float = 50000.0 * v14 │
00:23:34 verbose #43020 > │ let v24 : float = v3 + v21 │
00:23:34 verbose #43021 > │ let v25 : float = v4 + v22 │
00:23:34 verbose #43022 > │ let v26 : float = v5 + v23 │
00:23:34 verbose #43023 > │ let v27 : float = 50000.0 * v16 │
00:23:34 verbose #43024 > │ let v28 : float = 50000.0 * v17 │
00:23:34 verbose #43025 > │ let v29 : float = 50000.0 * v18 │
00:23:34 verbose #43026 > │ let v30 : float = v7 + v27 │
00:23:34 verbose #43027 > │ let v31 : float = v8 + v28 │
00:23:34 verbose #43028 > │ let v32 : float = v9 + v29 │
00:23:34 verbose #43029 > │ let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 : │
00:23:34 verbose #43030 > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1, │
00:23:34 verbose #43031 > │ v2, v24, v25, v26, v20, v30, v31, v32) │
00:23:34 verbose #43032 > │ let v42 : float = v38 * 50000.0 │
00:23:34 verbose #43033 > │ let v43 : float = v6 + v42 │
00:23:34 verbose #43034 > │ let v44 : float = 50000.0 * v35 │
00:23:34 verbose #43035 > │ let v45 : float = 50000.0 * v36 │
00:23:34 verbose #43036 > │ let v46 : float = 50000.0 * v37 │
00:23:34 verbose #43037 > │ let v47 : float = v3 + v44 │
00:23:34 verbose #43038 > │ let v48 : float = v4 + v45 │
00:23:34 verbose #43039 > │ let v49 : float = v5 + v46 │
00:23:34 verbose #43040 > │ let v50 : float = 50000.0 * v39 │
00:23:34 verbose #43041 > │ let v51 : float = 50000.0 * v40 │
00:23:34 verbose #43042 > │ let v52 : float = 50000.0 * v41 │
00:23:34 verbose #43043 > │ let v53 : float = v7 + v50 │
00:23:34 verbose #43044 > │ let v54 : float = v8 + v51 │
00:23:34 verbose #43045 > │ let v55 : float = v9 + v52 │
00:23:34 verbose #43046 > │ let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 : │
00:23:34 verbose #43047 > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1, │
00:23:34 verbose #43048 > │ v2, v47, v48, v49, v43, v53, v54, v55) │
00:23:34 verbose #43049 > │ let v65 : float = v61 * 100000.0 │
00:23:34 verbose #43050 > │ let v66 : float = v6 + v65 │
00:23:34 verbose #43051 > │ let v67 : float = 100000.0 * v58 │
00:23:34 verbose #43052 > │ let v68 : float = 100000.0 * v59 │
00:23:34 verbose #43053 > │ let v69 : float = 100000.0 * v60 │
00:23:34 verbose #43054 > │ let v70 : float = v3 + v67 │
00:23:34 verbose #43055 > │ let v71 : float = v4 + v68 │
00:23:34 verbose #43056 > │ let v72 : float = v5 + v69 │
00:23:34 verbose #43057 > │ let v73 : float = 100000.0 * v62 │
00:23:34 verbose #43058 > │ let v74 : float = 100000.0 * v63 │
00:23:34 verbose #43059 > │ let v75 : float = 100000.0 * v64 │
00:23:34 verbose #43060 > │ let v76 : float = v7 + v73 │
00:23:34 verbose #43061 > │ let v77 : float = v8 + v74 │
00:23:34 verbose #43062 > │ let v78 : float = v9 + v75 │
00:23:34 verbose #43063 > │ let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 : │
00:23:34 verbose #43064 > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1, │
00:23:34 verbose #43065 > │ v2, v70, v71, v72, v66, v76, v77, v78) │
00:23:34 verbose #43066 > │ let v88 : float = v10 + v33 │
00:23:34 verbose #43067 > │ let v89 : float = v11 + v34 │
00:23:34 verbose #43068 > │ let v90 : float = v15 + v38 │
00:23:34 verbose #43069 > │ let v91 : float = v12 + v35 │
00:23:34 verbose #43070 > │ let v92 : float = v13 + v36 │
00:23:34 verbose #43071 > │ let v93 : float = v14 + v37 │
00:23:34 verbose #43072 > │ let v94 : float = v16 + v39 │
00:23:34 verbose #43073 > │ let v95 : float = v17 + v40 │
00:23:34 verbose #43074 > │ let v96 : float = v18 + v41 │
00:23:34 verbose #43075 > │ let v97 : float = v88 + v33 │
00:23:34 verbose #43076 > │ let v98 : float = v89 + v34 │
00:23:34 verbose #43077 > │ let v99 : float = v90 + v38 │
00:23:34 verbose #43078 > │ let v100 : float = v91 + v35 │
00:23:34 verbose #43079 > │ let v101 : float = v92 + v36 │
00:23:34 verbose #43080 > │ let v102 : float = v93 + v37 │
00:23:34 verbose #43081 > │ let v103 : float = v94 + v39 │
00:23:34 verbose #43082 > │ let v104 : float = v95 + v40 │
00:23:34 verbose #43083 > │ let v105 : float = v96 + v41 │
00:23:34 verbose #43084 > │ let v106 : float = v97 + v56 │
00:23:34 verbose #43085 > │ let v107 : float = v98 + v57 │
00:23:34 verbose #43086 > │ let v108 : float = v99 + v61 │
00:23:34 verbose #43087 > │ let v109 : float = v100 + v58 │
00:23:34 verbose #43088 > │ let v110 : float = v101 + v59 │
00:23:34 verbose #43089 > │ let v111 : float = v102 + v60 │
00:23:34 verbose #43090 > │ let v112 : float = v103 + v62 │
00:23:34 verbose #43091 > │ let v113 : float = v104 + v63 │
00:23:34 verbose #43092 > │ let v114 : float = v105 + v64 │
00:23:34 verbose #43093 > │ let v115 : float = v106 + v56 │
00:23:34 verbose #43094 > │ let v116 : float = v107 + v57 │
00:23:34 verbose #43095 > │ let v117 : float = v108 + v61 │
00:23:34 verbose #43096 > │ let v118 : float = v109 + v58 │
00:23:34 verbose #43097 > │ let v119 : float = v110 + v59 │
00:23:34 verbose #43098 > │ let v120 : float = v111 + v60 │
00:23:34 verbose #43099 > │ let v121 : float = v112 + v62 │
00:23:34 verbose #43100 > │ let v122 : float = v113 + v63 │
00:23:34 verbose #43101 > │ let v123 : float = v114 + v64 │
00:23:34 verbose #43102 > │ let v124 : float = v115 + v79 │
00:23:34 verbose #43103 > │ let v125 : float = v116 + v80 │
00:23:34 verbose #43104 > │ let v126 : float = v117 + v84 │
00:23:34 verbose #43105 > │ let v127 : float = v118 + v81 │
00:23:34 verbose #43106 > │ let v128 : float = v119 + v82 │
00:23:34 verbose #43107 > │ let v129 : float = v120 + v83 │
00:23:34 verbose #43108 > │ let v130 : float = v121 + v85 │
00:23:34 verbose #43109 > │ let v131 : float = v122 + v86 │
00:23:34 verbose #43110 > │ let v132 : float = v123 + v87 │
00:23:34 verbose #43111 > │ let v133 : float = v126 * 16666.666666666668 │
00:23:34 verbose #43112 > │ let v134 : float = v6 + v133 │
00:23:34 verbose #43113 > │ let v135 : float = 16666.666666666668 * v127 │
00:23:34 verbose #43114 > │ let v136 : float = 16666.666666666668 * v128 │
00:23:34 verbose #43115 > │ let v137 : float = 16666.666666666668 * v129 │
00:23:34 verbose #43116 > │ let v138 : float = v3 + v135 │
00:23:34 verbose #43117 > │ let v139 : float = v4 + v136 │
00:23:34 verbose #43118 > │ let v140 : float = v5 + v137 │
00:23:34 verbose #43119 > │ let v141 : float = 16666.666666666668 * v130 │
00:23:34 verbose #43120 > │ let v142 : float = 16666.666666666668 * v131 │
00:23:34 verbose #43121 > │ let v143 : float = 16666.666666666668 * v132 │
00:23:34 verbose #43122 > │ let v144 : float = v7 + v141 │
00:23:34 verbose #43123 > │ let v145 : float = v8 + v142 │
00:23:34 verbose #43124 > │ let v146 : float = v9 + v143 │
00:23:34 verbose #43125 > │ struct (v1, v2, v138, v139, v140, v134, v144, v145, v146) │
00:23:34 verbose #43126 > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │
00:23:34 verbose #43127 > │ * float * float * float) -> struct (float * float * float * float * float * │
00:23:34 verbose #43128 > │ float * float * float * float))) : (struct (float * float * float * float * │
00:23:34 verbose #43129 > │ float * float * float * float * float) -> struct (float * float * float * │
00:23:34 verbose #43130 > │ float * float * float * float * float * float)) = │
00:23:34 verbose #43131 > │ closure1(v0) │
00:23:34 verbose #43132 > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:23:34 verbose #43133 > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:34 verbose #43134 > │ float * float * float * float * float * float * float * float) = │
00:23:34 verbose #43135 > │ let v9 : float = 10.0 / v1 │
00:23:34 verbose #43136 > │ let v10 : float = 0.0 / v1 │
00:23:34 verbose #43137 > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v9, v10, v10) │
00:23:34 verbose #43138 > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:23:34 verbose #43139 > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:34 verbose #43140 > │ float * float * float * float * float * float * float * float) = │
00:23:34 verbose #43141 > │ let v9 : float = v6 / 299792458.0 │
00:23:34 verbose #43142 > │ let v10 : float = v7 / 299792458.0 │
00:23:34 verbose #43143 > │ let v11 : float = v8 / 299792458.0 │
00:23:34 verbose #43144 > │ let v12 : float = v9 * v9 │
00:23:34 verbose #43145 > │ let v13 : float = v10 * v10 │
00:23:34 verbose #43146 > │ let v14 : float = v12 + v13 │
00:23:34 verbose #43147 > │ let v15 : float = v11 * v11 │
00:23:34 verbose #43148 > │ let v16 : float = v14 + v15 │
00:23:34 verbose #43149 > │ let v17 : float = 1.0 - v16 │
00:23:34 verbose #43150 > │ let v18 : float = sqrt v17 │
00:23:34 verbose #43151 > │ let v19 : float = 10.0 * v9 │
00:23:34 verbose #43152 > │ let v20 : float = 0.0 * v10 │
00:23:34 verbose #43153 > │ let v21 : float = v19 + v20 │
00:23:34 verbose #43154 > │ let v22 : float = 0.0 * v11 │
00:23:34 verbose #43155 > │ let v23 : float = v21 + v22 │
00:23:34 verbose #43156 > │ let v24 : float = v23 * v9 │
00:23:34 verbose #43157 > │ let v25 : float = v23 * v10 │
00:23:34 verbose #43158 > │ let v26 : float = v23 * v11 │
00:23:34 verbose #43159 > │ let v27 : float = -1.0 * v24 │
00:23:34 verbose #43160 > │ let v28 : float = -1.0 * v25 │
00:23:34 verbose #43161 > │ let v29 : float = -1.0 * v26 │
00:23:34 verbose #43162 > │ let v30 : float = 10.0 + v27 │
00:23:34 verbose #43163 > │ let v31 : float = v18 * v30 │
00:23:34 verbose #43164 > │ let v32 : float = v18 * v28 │
00:23:34 verbose #43165 > │ let v33 : float = v18 * v29 │
00:23:34 verbose #43166 > │ let v34 : float = v31 / v1 │
00:23:34 verbose #43167 > │ let v35 : float = v32 / v1 │
00:23:34 verbose #43168 > │ let v36 : float = v33 / v1 │
00:23:34 verbose #43169 > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v34, v35, v36) │
00:23:34 verbose #43170 > │ and method2 (v0 : (struct (float * float * float * float * float * float * │
00:23:34 verbose #43171 > │ float * float * float) -> struct (float * float * float * float * float * │
00:23:34 verbose #43172 > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 : │
00:23:34 verbose #43173 > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 : │
00:23:34 verbose #43174 > │ int32) : struct (float * float * float * float * float * float * float * │
00:23:34 verbose #43175 > │ float * float) = │
00:23:34 verbose #43176 > │ let v11 : bool = v10 <= 0 │
00:23:34 verbose #43177 > │ if v11 then │
00:23:34 verbose #43178 > │ struct (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:23:34 verbose #43179 > │ else │
00:23:34 verbose #43180 > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:23:34 verbose #43181 > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct │
00:23:34 verbose #43182 > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:23:34 verbose #43183 > │ let v21 : int32 = v10 - 1 │
00:23:34 verbose #43184 > │ method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) │
00:23:34 verbose #43185 > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:34 verbose #43186 > │ match v0 with │
00:23:34 verbose #43187 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:34 verbose #43188 > │ let v12 : UH0 = UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:23:34 verbose #43189 > │ method3(v11, v12) │
00:23:34 verbose #43190 > │ | UH0_0 -> (* Nil *) │
00:23:34 verbose #43191 > │ v1 │
00:23:34 verbose #43192 > │ and method1 (v0 : (struct (float * float * float * float * float * float * │
00:23:34 verbose #43193 > │ float * float * float) -> struct (float * float * float * float * float * │
00:23:34 verbose #43194 > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:23:34 verbose #43195 > │ let v3 : float = 0.0 │
00:23:34 verbose #43196 > │ let v4 : float = 1.0 │
00:23:34 verbose #43197 > │ let v5 : float = 0.0 │
00:23:34 verbose #43198 > │ let v6 : float = 0.0 │
00:23:34 verbose #43199 > │ let v7 : float = 0.0 │
00:23:34 verbose #43200 > │ let v8 : float = 0.0 │
00:23:34 verbose #43201 > │ let v9 : float = 0.0 │
00:23:34 verbose #43202 > │ let v10 : float = 0.0 │
00:23:34 verbose #43203 > │ let v11 : float = 0.0 │
00:23:34 verbose #43204 > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:23:34 verbose #43205 > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:23:34 verbose #43206 > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:23:34 verbose #43207 > │ let v21 : bool = v17 <= 31557600.0 │
00:23:34 verbose #43208 > │ if v21 then │
00:23:34 verbose #43209 > │ let v22 : UH0 = UH0_1(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:23:34 verbose #43210 > │ v1) │
00:23:34 verbose #43211 > │ let v23 : int32 = v2 + 1 │
00:23:34 verbose #43212 > │ method1(v0, v22, v23) │
00:23:34 verbose #43213 > │ else │
00:23:34 verbose #43214 > │ let v25 : UH0 = UH0_0 │
00:23:34 verbose #43215 > │ method3(v1, v25) │
00:23:34 verbose #43216 > │ and method4 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:34 verbose #43217 > │ match v0 with │
00:23:34 verbose #43218 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:34 verbose #43219 > │ let v12 : UH1 = method4(v11, v1) │
00:23:34 verbose #43220 > │ let v13 : float = v7 / 31557600.0 │
00:23:34 verbose #43221 > │ let v14 : float = v8 / 299792458.0 │
00:23:34 verbose #43222 > │ UH1_1(v13, v14, v12) │
00:23:34 verbose #43223 > │ | UH0_0 -> (* Nil *) │
00:23:34 verbose #43224 > │ v1 │
00:23:34 verbose #43225 > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) = │
00:23:34 verbose #43226 > │ match v0 with │
00:23:34 verbose #43227 > │ | UH1_1(v3, v4, v5) -> (* Cons *) │
00:23:34 verbose #43228 > │ let v6 : UH2 = UH2_1(v3, v1) │
00:23:34 verbose #43229 > │ let v7 : UH2 = UH2_1(v4, v2) │
00:23:34 verbose #43230 > │ method5(v5, v6, v7) │
00:23:34 verbose #43231 > │ | UH1_0 -> (* Nil *) │
00:23:34 verbose #43232 > │ struct (v1, v2) │
00:23:34 verbose #43233 > │ and method6 (v0 : UH2, v1 : UH2) : UH2 = │
00:23:34 verbose #43234 > │ match v0 with │
00:23:34 verbose #43235 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:23:34 verbose #43236 > │ let v4 : UH2 = UH2_1(v2, v1) │
00:23:34 verbose #43237 > │ method6(v3, v4) │
00:23:34 verbose #43238 > │ | UH2_0 -> (* Nil *) │
00:23:34 verbose #43239 > │ v1 │
00:23:34 verbose #43240 > │ and method7 (v0 : (struct (float * float * float * float * float * float * │
00:23:34 verbose #43241 > │ float * float * float) -> struct (float * float * float * float * float * │
00:23:34 verbose #43242 > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:23:34 verbose #43243 > │ let v3 : float = 0.0 │
00:23:34 verbose #43244 > │ let v4 : float = 1.0 │
00:23:34 verbose #43245 > │ let v5 : float = 0.0 │
00:23:34 verbose #43246 > │ let v6 : float = 0.0 │
00:23:34 verbose #43247 > │ let v7 : float = 0.0 │
00:23:34 verbose #43248 > │ let v8 : float = 0.0 │
00:23:34 verbose #43249 > │ let v9 : float = 0.0 │
00:23:34 verbose #43250 > │ let v10 : float = 0.0 │
00:23:34 verbose #43251 > │ let v11 : float = 0.0 │
00:23:34 verbose #43252 > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:23:34 verbose #43253 > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:23:34 verbose #43254 > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:23:34 verbose #43255 > │ let v21 : bool = v17 <= 31557600.0 │
00:23:34 verbose #43256 > │ if v21 then │
00:23:34 verbose #43257 > │ let v22 : UH0 = UH0_1(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:23:34 verbose #43258 > │ v1) │
00:23:34 verbose #43259 > │ let v23 : int32 = v2 + 1 │
00:23:34 verbose #43260 > │ method7(v0, v22, v23) │
00:23:34 verbose #43261 > │ else │
00:23:34 verbose #43262 > │ let v25 : UH0 = UH0_0 │
00:23:34 verbose #43263 > │ method3(v1, v25) │
00:23:34 verbose #43264 > │ and method8 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:34 verbose #43265 > │ match v0 with │
00:23:34 verbose #43266 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:34 verbose #43267 > │ let v12 : UH1 = method8(v11, v1) │
00:23:34 verbose #43268 > │ let v13 : float = v7 / 31557600.0 │
00:23:34 verbose #43269 > │ let v14 : float = v8 / 299792458.0 │
00:23:34 verbose #43270 > │ UH1_1(v13, v14, v12) │
00:23:34 verbose #43271 > │ | UH0_0 -> (* Nil *) │
00:23:34 verbose #43272 > │ v1 │
00:23:34 verbose #43273 > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:23:34 verbose #43274 > │ match v0 with │
00:23:34 verbose #43275 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:23:34 verbose #43276 > │ let v4 : int32 = v1 + 1 │
00:23:34 verbose #43277 > │ method10(v3, v4) │
00:23:34 verbose #43278 > │ | UH2_0 -> (* Nil *) │
00:23:34 verbose #43279 > │ v1 │
00:23:34 verbose #43280 > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 = │
00:23:34 verbose #43281 > │ match v1 with │
00:23:34 verbose #43282 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:23:34 verbose #43283 > │ v0.[int v2] <- v3 │
00:23:34 verbose #43284 > │ let v5 : int32 = v2 + 1 │
00:23:34 verbose #43285 > │ method11(v0, v4, v5) │
00:23:34 verbose #43286 > │ | UH2_0 -> (* Nil *) │
00:23:34 verbose #43287 > │ v2 │
00:23:34 verbose #43288 > │ and method9 (v0 : UH2) : (float []) = │
00:23:34 verbose #43289 > │ let v1 : int32 = 0 │
00:23:34 verbose #43290 > │ let v2 : int32 = method10(v0, v1) │
00:23:34 verbose #43291 > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:23:34 verbose #43292 > │ let v4 : int32 = 0 │
00:23:34 verbose #43293 > │ let v5 : int32 = method11(v3, v0, v4) │
00:23:34 verbose #43294 > │ v3 │
00:23:34 verbose #43295 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:34 verbose #43296 > │ []) * (float [])) [])) = │
00:23:34 verbose #43297 > │ let v0 : ((struct (float * float * float * float * float * float * float │
00:23:34 verbose #43298 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:34 verbose #43299 > │ float * float * float)) -> (struct (float * float * float * float * float * │
00:23:34 verbose #43300 > │ float * float * float * float) -> struct (float * float * float * float * │
00:23:34 verbose #43301 > │ float * float * float * float * float))) = closure0() │
00:23:34 verbose #43302 > │ let v1 : (struct (float * float * float * float * float * float * float │
00:23:34 verbose #43303 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:34 verbose #43304 > │ float * float * float)) = closure2() │
00:23:34 verbose #43305 > │ let v2 : (struct (float * float * float * float * float * float * float │
00:23:34 verbose #43306 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:34 verbose #43307 > │ float * float * float)) = v0 v1 │
00:23:34 verbose #43308 > │ let v3 : (struct (float * float * float * float * float * float * float │
00:23:34 verbose #43309 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:34 verbose #43310 > │ float * float * float)) = closure3() │
00:23:34 verbose #43311 > │ let v4 : (struct (float * float * float * float * float * float * float │
00:23:34 verbose #43312 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:34 verbose #43313 > │ float * float * float)) = v0 v3 │
00:23:34 verbose #43314 > │ let v5 : UH0 = UH0_0 │
00:23:34 verbose #43315 > │ let v6 : int32 = 0 │
00:23:34 verbose #43316 > │ let v7 : UH0 = method1(v2, v5, v6) │
00:23:34 verbose #43317 > │ let v8 : UH1 = UH1_0 │
00:23:34 verbose #43318 > │ let v9 : UH1 = method4(v7, v8) │
00:23:34 verbose #43319 > │ let v10 : UH2 = UH2_0 │
00:23:34 verbose #43320 > │ let v11 : UH2 = UH2_0 │
00:23:34 verbose #43321 > │ let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11) │
00:23:34 verbose #43322 > │ let v14 : UH2 = UH2_0 │
00:23:34 verbose #43323 > │ let v15 : UH2 = method6(v12, v14) │
00:23:34 verbose #43324 > │ let v16 : UH2 = UH2_0 │
00:23:34 verbose #43325 > │ let v17 : UH2 = method6(v13, v16) │
00:23:34 verbose #43326 > │ let v18 : UH0 = UH0_0 │
00:23:34 verbose #43327 > │ let v19 : int32 = 0 │
00:23:34 verbose #43328 > │ let v20 : UH0 = method7(v4, v18, v19) │
00:23:34 verbose #43329 > │ let v21 : UH1 = UH1_0 │
00:23:34 verbose #43330 > │ let v22 : UH1 = method8(v20, v21) │
00:23:34 verbose #43331 > │ let v23 : UH2 = UH2_0 │
00:23:34 verbose #43332 > │ let v24 : UH2 = UH2_0 │
00:23:34 verbose #43333 > │ let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24) │
00:23:34 verbose #43334 > │ let v27 : UH2 = UH2_0 │
00:23:34 verbose #43335 > │ let v28 : UH2 = method6(v25, v27) │
00:23:34 verbose #43336 > │ let v29 : UH2 = UH2_0 │
00:23:34 verbose #43337 > │ let v30 : UH2 = method6(v26, v29) │
00:23:34 verbose #43338 > │ let v31 : (float []) = method9(v15) │
00:23:34 verbose #43339 > │ let v32 : (float []) = method9(v17) │
00:23:34 verbose #43340 > │ let v33 : (float []) = method9(v30) │
00:23:34 verbose #43341 > │ let v34 : string = "newtonian" │
00:23:34 verbose #43342 > │ let v35 : string = "relativistic" │
00:23:34 verbose #43343 > │ let v36 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:34 verbose #43344 > │ (v34, v31, v32); struct (v35, v31, v33)|] │
00:23:34 verbose #43345 > │ let v37 : string = "response to a constant force" │
00:23:34 verbose #43346 > │ let v38 : string = "time (years)" │
00:23:34 verbose #43347 > │ let v39 : string = "velocity (multiples of c)" │
00:23:34 verbose #43348 > │ struct (v37, v38, v39, v36) │
00:23:34 verbose #43349 > │ method0() │
00:23:34 verbose #43350 > │ │
00:23:34 verbose #43351 > │ │
00:23:34 verbose #43352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:34 verbose #43353 >
00:23:34 verbose #43354 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:34 verbose #43355 > inl uniform_lorentz_force v_e v_b (st : particle_state) =
00:23:34 verbose #43356 > st.charge *^ (v_e ^+^ st.velocity >< v_b)
00:23:35 verbose #43357 > 00:23:34 debug #854 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/115bc012450ddbd6ea22683ebe8466cad933f146b1b8222299768f97aa93bc88/main.spi
00:23:35 verbose #43358 >
00:23:35 verbose #43359 > ╭─[ 778.51ms - stdout ]────────────────────────────────────────────────────────╮
00:23:35 verbose #43360 > │ () │
00:23:35 verbose #43361 > │ │
00:23:35 verbose #43362 > │ │
00:23:35 verbose #43363 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:35 verbose #43364 >
00:23:35 verbose #43365 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:35 verbose #43366 > //// test
00:23:35 verbose #43367 >
00:23:35 verbose #43368 > inl c : f64 = 299792458
00:23:35 verbose #43369 > inl ~method = runge_kutta_4 0.000000001
00:23:35 verbose #43370 > inl forces = [[ uniform_lorentz_force (zero_vec ()) (k_hat ()) ]]
00:23:35 verbose #43371 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:35 verbose #43372 > inl initial_state =
00:23:35 verbose #43373 > particle_state { default_particle_state' with
00:23:35 verbose #43374 > mass = 0.000000000000000000000000001672621898
00:23:35 verbose #43375 > charge = 0.0000000000000000001602176621
00:23:35 verbose #43376 > velocity = 0.8 *^ (c *^ j_hat ())
00:23:35 verbose #43377 > }
00:23:35 verbose #43378 >
00:23:35 verbose #43379 > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:23:35 verbose #43380 > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:23:35 verbose #43381 >
00:23:35 verbose #43382 > inl newton_x, newton_y =
00:23:35 verbose #43383 > newton_states
00:23:35 verbose #43384 > >> Some
00:23:35 verbose #43385 > |> seq.take_while_ (fun (particle_state st) i => i < 100i32)
00:23:35 verbose #43386 > |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:23:35 verbose #43387 > |> listm'.unzip
00:23:35 verbose #43388 >
00:23:35 verbose #43389 > inl relativity_x, relativity_y =
00:23:35 verbose #43390 > relativity_states
00:23:35 verbose #43391 > >> Some
00:23:35 verbose #43392 > |> seq.take_while_ (fun (particle_state st) i => i < 165i32)
00:23:35 verbose #43393 > |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:23:35 verbose #43394 > |> listm'.unzip
00:23:35 verbose #43395 >
00:23:35 verbose #43396 > inl newton_x : a i32 _ = newton_x |> listm.toArray
00:23:35 verbose #43397 > inl newton_y : a i32 _ = newton_y |> listm.toArray
00:23:35 verbose #43398 >
00:23:35 verbose #43399 > inl relativity_x : a i32 _ = relativity_x |> listm.toArray
00:23:35 verbose #43400 > inl relativity_y : a i32 _ = relativity_y |> listm.toArray
00:23:35 verbose #43401 >
00:23:35 verbose #43402 > "proton in a 1-t magnetic field",
00:23:35 verbose #43403 > "x (m)",
00:23:35 verbose #43404 > "y (m)",
00:23:35 verbose #43405 > ;[[
00:23:35 verbose #43406 > "newtonian", newton_x, newton_y
00:23:35 verbose #43407 > "relativistic", relativity_x, relativity_y
00:23:35 verbose #43408 > ]]
00:23:36 verbose #43409 > 00:23:35 debug #855 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5321bfee04b2ac87317a254c6507696b890c7bd07925f031311a23b8563b2815/main.spi
00:23:36 verbose #43410 >
00:23:36 verbose #43411 > ╭─[ 1.17s - return value ]─────────────────────────────────────────────────────╮
00:23:36 verbose #43412 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:36 verbose #43413 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:36 verbose #43414 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:36 verbose #43415 > │ stroke="none"/> │
00:23:36 verbose #43416 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:36 verbose #43417 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:36 verbose #43418 > │ fill="#FFFFFF"> │
00:23:36 verbose #43419 > │ proton in a 1-t magnetic field │
00:23:36 verbose #43420 > │ </text> │
00:23:36 verbose #43421 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="58" y1="424" x2="58" │
00:23:36 verbose #43422 > │ y2="75"/> │
00:23:36 verbose #43423 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:36 verbose #43424 > │ y2="75"/> │
00:23:36 verbose #43425 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="81" y1="424" x2="81" │
00:23:36 verbose #43426 > │ y2="75"/> │
00:23:36 verbose #43427 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:23:36 verbose #43428 > │ y2="75"/> │
00:23:36 verbose #43429 > │ <line opacity="1" stroke="#323232" stroke-width="1" x... │
00:23:36 verbose #43430 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:36 verbose #43431 >
00:23:36 verbose #43432 > ╭─[ 1.18s - stdout ]───────────────────────────────────────────────────────────╮
00:23:36 verbose #43433 > │ type UH0 = │
00:23:36 verbose #43434 > │ | UH0_0 │
00:23:36 verbose #43435 > │ | UH0_1 of float * float * float * float * float * float * float * float │
00:23:36 verbose #43436 > │ * float * UH0 │
00:23:36 verbose #43437 > │ and UH1 = │
00:23:36 verbose #43438 > │ | UH1_0 │
00:23:36 verbose #43439 > │ | UH1_1 of float * float * UH1 │
00:23:36 verbose #43440 > │ and UH2 = │
00:23:36 verbose #43441 > │ | UH2_0 │
00:23:36 verbose #43442 > │ | UH2_1 of float * UH2 │
00:23:36 verbose #43443 > │ let rec closure1 (v0 : (struct (float * float * float * float * float * │
00:23:36 verbose #43444 > │ float * float * float * float) -> struct (float * float * float * float * │
00:23:36 verbose #43445 > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3 │
00:23:36 verbose #43446 > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : │
00:23:36 verbose #43447 > │ float) : struct (float * float * float * float * float * float * float * │
00:23:36 verbose #43448 > │ float * float) = │
00:23:36 verbose #43449 > │ let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 : │
00:23:36 verbose #43450 > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1, │
00:23:36 verbose #43451 > │ v2, v3, v4, v5, v6, v7, v8, v9) │
00:23:36 verbose #43452 > │ let v19 : float = v15 * 5E-10 │
00:23:36 verbose #43453 > │ let v20 : float = v6 + v19 │
00:23:36 verbose #43454 > │ let v21 : float = 5E-10 * v12 │
00:23:36 verbose #43455 > │ let v22 : float = 5E-10 * v13 │
00:23:36 verbose #43456 > │ let v23 : float = 5E-10 * v14 │
00:23:36 verbose #43457 > │ let v24 : float = v3 + v21 │
00:23:36 verbose #43458 > │ let v25 : float = v4 + v22 │
00:23:36 verbose #43459 > │ let v26 : float = v5 + v23 │
00:23:36 verbose #43460 > │ let v27 : float = 5E-10 * v16 │
00:23:36 verbose #43461 > │ let v28 : float = 5E-10 * v17 │
00:23:36 verbose #43462 > │ let v29 : float = 5E-10 * v18 │
00:23:36 verbose #43463 > │ let v30 : float = v7 + v27 │
00:23:36 verbose #43464 > │ let v31 : float = v8 + v28 │
00:23:36 verbose #43465 > │ let v32 : float = v9 + v29 │
00:23:36 verbose #43466 > │ let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 : │
00:23:36 verbose #43467 > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1, │
00:23:36 verbose #43468 > │ v2, v24, v25, v26, v20, v30, v31, v32) │
00:23:36 verbose #43469 > │ let v42 : float = v38 * 5E-10 │
00:23:36 verbose #43470 > │ let v43 : float = v6 + v42 │
00:23:36 verbose #43471 > │ let v44 : float = 5E-10 * v35 │
00:23:36 verbose #43472 > │ let v45 : float = 5E-10 * v36 │
00:23:36 verbose #43473 > │ let v46 : float = 5E-10 * v37 │
00:23:36 verbose #43474 > │ let v47 : float = v3 + v44 │
00:23:36 verbose #43475 > │ let v48 : float = v4 + v45 │
00:23:36 verbose #43476 > │ let v49 : float = v5 + v46 │
00:23:36 verbose #43477 > │ let v50 : float = 5E-10 * v39 │
00:23:36 verbose #43478 > │ let v51 : float = 5E-10 * v40 │
00:23:36 verbose #43479 > │ let v52 : float = 5E-10 * v41 │
00:23:36 verbose #43480 > │ let v53 : float = v7 + v50 │
00:23:36 verbose #43481 > │ let v54 : float = v8 + v51 │
00:23:36 verbose #43482 > │ let v55 : float = v9 + v52 │
00:23:36 verbose #43483 > │ let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 : │
00:23:36 verbose #43484 > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1, │
00:23:36 verbose #43485 > │ v2, v47, v48, v49, v43, v53, v54, v55) │
00:23:36 verbose #43486 > │ let v65 : float = v61 * 1E-09 │
00:23:36 verbose #43487 > │ let v66 : float = v6 + v65 │
00:23:36 verbose #43488 > │ let v67 : float = 1E-09 * v58 │
00:23:36 verbose #43489 > │ let v68 : float = 1E-09 * v59 │
00:23:36 verbose #43490 > │ let v69 : float = 1E-09 * v60 │
00:23:36 verbose #43491 > │ let v70 : float = v3 + v67 │
00:23:36 verbose #43492 > │ let v71 : float = v4 + v68 │
00:23:36 verbose #43493 > │ let v72 : float = v5 + v69 │
00:23:36 verbose #43494 > │ let v73 : float = 1E-09 * v62 │
00:23:36 verbose #43495 > │ let v74 : float = 1E-09 * v63 │
00:23:36 verbose #43496 > │ let v75 : float = 1E-09 * v64 │
00:23:36 verbose #43497 > │ let v76 : float = v7 + v73 │
00:23:36 verbose #43498 > │ let v77 : float = v8 + v74 │
00:23:36 verbose #43499 > │ let v78 : float = v9 + v75 │
00:23:36 verbose #43500 > │ let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 : │
00:23:36 verbose #43501 > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1, │
00:23:36 verbose #43502 > │ v2, v70, v71, v72, v66, v76, v77, v78) │
00:23:36 verbose #43503 > │ let v88 : float = v10 + v33 │
00:23:36 verbose #43504 > │ let v89 : float = v11 + v34 │
00:23:36 verbose #43505 > │ let v90 : float = v15 + v38 │
00:23:36 verbose #43506 > │ let v91 : float = v12 + v35 │
00:23:36 verbose #43507 > │ let v92 : float = v13 + v36 │
00:23:36 verbose #43508 > │ let v93 : float = v14 + v37 │
00:23:36 verbose #43509 > │ let v94 : float = v16 + v39 │
00:23:36 verbose #43510 > │ let v95 : float = v17 + v40 │
00:23:36 verbose #43511 > │ let v96 : float = v18 + v41 │
00:23:36 verbose #43512 > │ let v97 : float = v88 + v33 │
00:23:36 verbose #43513 > │ let v98 : float = v89 + v34 │
00:23:36 verbose #43514 > │ let v99 : float = v90 + v38 │
00:23:36 verbose #43515 > │ let v100 : float = v91 + v35 │
00:23:36 verbose #43516 > │ let v101 : float = v92 + v36 │
00:23:36 verbose #43517 > │ let v102 : float = v93 + v37 │
00:23:36 verbose #43518 > │ let v103 : float = v94 + v39 │
00:23:36 verbose #43519 > │ let v104 : float = v95 + v40 │
00:23:36 verbose #43520 > │ let v105 : float = v96 + v41 │
00:23:36 verbose #43521 > │ let v106 : float = v97 + v56 │
00:23:36 verbose #43522 > │ let v107 : float = v98 + v57 │
00:23:36 verbose #43523 > │ let v108 : float = v99 + v61 │
00:23:36 verbose #43524 > │ let v109 : float = v100 + v58 │
00:23:36 verbose #43525 > │ let v110 : float = v101 + v59 │
00:23:36 verbose #43526 > │ let v111 : float = v102 + v60 │
00:23:36 verbose #43527 > │ let v112 : float = v103 + v62 │
00:23:36 verbose #43528 > │ let v113 : float = v104 + v63 │
00:23:36 verbose #43529 > │ let v114 : float = v105 + v64 │
00:23:36 verbose #43530 > │ let v115 : float = v106 + v56 │
00:23:36 verbose #43531 > │ let v116 : float = v107 + v57 │
00:23:36 verbose #43532 > │ let v117 : float = v108 + v61 │
00:23:36 verbose #43533 > │ let v118 : float = v109 + v58 │
00:23:36 verbose #43534 > │ let v119 : float = v110 + v59 │
00:23:36 verbose #43535 > │ let v120 : float = v111 + v60 │
00:23:36 verbose #43536 > │ let v121 : float = v112 + v62 │
00:23:36 verbose #43537 > │ let v122 : float = v113 + v63 │
00:23:36 verbose #43538 > │ let v123 : float = v114 + v64 │
00:23:36 verbose #43539 > │ let v124 : float = v115 + v79 │
00:23:36 verbose #43540 > │ let v125 : float = v116 + v80 │
00:23:36 verbose #43541 > │ let v126 : float = v117 + v84 │
00:23:36 verbose #43542 > │ let v127 : float = v118 + v81 │
00:23:36 verbose #43543 > │ let v128 : float = v119 + v82 │
00:23:36 verbose #43544 > │ let v129 : float = v120 + v83 │
00:23:36 verbose #43545 > │ let v130 : float = v121 + v85 │
00:23:36 verbose #43546 > │ let v131 : float = v122 + v86 │
00:23:36 verbose #43547 > │ let v132 : float = v123 + v87 │
00:23:36 verbose #43548 > │ let v133 : float = v126 * 1.6666666666666669E-10 │
00:23:36 verbose #43549 > │ let v134 : float = v6 + v133 │
00:23:36 verbose #43550 > │ let v135 : float = 1.6666666666666669E-10 * v127 │
00:23:36 verbose #43551 > │ let v136 : float = 1.6666666666666669E-10 * v128 │
00:23:36 verbose #43552 > │ let v137 : float = 1.6666666666666669E-10 * v129 │
00:23:36 verbose #43553 > │ let v138 : float = v3 + v135 │
00:23:36 verbose #43554 > │ let v139 : float = v4 + v136 │
00:23:36 verbose #43555 > │ let v140 : float = v5 + v137 │
00:23:36 verbose #43556 > │ let v141 : float = 1.6666666666666669E-10 * v130 │
00:23:36 verbose #43557 > │ let v142 : float = 1.6666666666666669E-10 * v131 │
00:23:36 verbose #43558 > │ let v143 : float = 1.6666666666666669E-10 * v132 │
00:23:36 verbose #43559 > │ let v144 : float = v7 + v141 │
00:23:36 verbose #43560 > │ let v145 : float = v8 + v142 │
00:23:36 verbose #43561 > │ let v146 : float = v9 + v143 │
00:23:36 verbose #43562 > │ struct (v1, v2, v138, v139, v140, v134, v144, v145, v146) │
00:23:36 verbose #43563 > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │
00:23:36 verbose #43564 > │ * float * float * float) -> struct (float * float * float * float * float * │
00:23:36 verbose #43565 > │ float * float * float * float))) : (struct (float * float * float * float * │
00:23:36 verbose #43566 > │ float * float * float * float * float) -> struct (float * float * float * │
00:23:36 verbose #43567 > │ float * float * float * float * float * float)) = │
00:23:36 verbose #43568 > │ closure1(v0) │
00:23:36 verbose #43569 > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:23:36 verbose #43570 > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:36 verbose #43571 > │ float * float * float * float * float * float * float * float) = │
00:23:36 verbose #43572 > │ let v9 : float = v8 * 0.0 │
00:23:36 verbose #43573 > │ let v10 : float = v7 - v9 │
00:23:36 verbose #43574 > │ let v11 : float = v9 - v6 │
00:23:36 verbose #43575 > │ let v12 : float = v6 * 0.0 │
00:23:36 verbose #43576 > │ let v13 : float = v7 * 0.0 │
00:23:36 verbose #43577 > │ let v14 : float = v12 - v13 │
00:23:36 verbose #43578 > │ let v15 : float = v0 * v10 │
00:23:36 verbose #43579 > │ let v16 : float = v0 * v11 │
00:23:36 verbose #43580 > │ let v17 : float = v0 * v14 │
00:23:36 verbose #43581 > │ let v18 : float = v15 / v1 │
00:23:36 verbose #43582 > │ let v19 : float = v16 / v1 │
00:23:36 verbose #43583 > │ let v20 : float = v17 / v1 │
00:23:36 verbose #43584 > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v18, v19, v20) │
00:23:36 verbose #43585 > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:23:36 verbose #43586 > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:36 verbose #43587 > │ float * float * float * float * float * float * float * float) = │
00:23:36 verbose #43588 > │ let v9 : float = v8 * 0.0 │
00:23:36 verbose #43589 > │ let v10 : float = v7 - v9 │
00:23:36 verbose #43590 > │ let v11 : float = v9 - v6 │
00:23:36 verbose #43591 > │ let v12 : float = v6 * 0.0 │
00:23:36 verbose #43592 > │ let v13 : float = v7 * 0.0 │
00:23:36 verbose #43593 > │ let v14 : float = v12 - v13 │
00:23:36 verbose #43594 > │ let v15 : float = v0 * v10 │
00:23:36 verbose #43595 > │ let v16 : float = v0 * v11 │
00:23:36 verbose #43596 > │ let v17 : float = v0 * v14 │
00:23:36 verbose #43597 > │ let v18 : float = v6 / 299792458.0 │
00:23:36 verbose #43598 > │ let v19 : float = v7 / 299792458.0 │
00:23:36 verbose #43599 > │ let v20 : float = v8 / 299792458.0 │
00:23:36 verbose #43600 > │ let v21 : float = v18 * v18 │
00:23:36 verbose #43601 > │ let v22 : float = v19 * v19 │
00:23:36 verbose #43602 > │ let v23 : float = v21 + v22 │
00:23:36 verbose #43603 > │ let v24 : float = v20 * v20 │
00:23:36 verbose #43604 > │ let v25 : float = v23 + v24 │
00:23:36 verbose #43605 > │ let v26 : float = 1.0 - v25 │
00:23:36 verbose #43606 > │ let v27 : float = sqrt v26 │
00:23:36 verbose #43607 > │ let v28 : float = v15 * v18 │
00:23:36 verbose #43608 > │ let v29 : float = v16 * v19 │
00:23:36 verbose #43609 > │ let v30 : float = v28 + v29 │
00:23:36 verbose #43610 > │ let v31 : float = v17 * v20 │
00:23:36 verbose #43611 > │ let v32 : float = v30 + v31 │
00:23:36 verbose #43612 > │ let v33 : float = v32 * v18 │
00:23:36 verbose #43613 > │ let v34 : float = v32 * v19 │
00:23:36 verbose #43614 > │ let v35 : float = v32 * v20 │
00:23:36 verbose #43615 > │ let v36 : float = -1.0 * v33 │
00:23:36 verbose #43616 > │ let v37 : float = -1.0 * v34 │
00:23:36 verbose #43617 > │ let v38 : float = -1.0 * v35 │
00:23:36 verbose #43618 > │ let v39 : float = v15 + v36 │
00:23:36 verbose #43619 > │ let v40 : float = v16 + v37 │
00:23:36 verbose #43620 > │ let v41 : float = v17 + v38 │
00:23:36 verbose #43621 > │ let v42 : float = v27 * v39 │
00:23:36 verbose #43622 > │ let v43 : float = v27 * v40 │
00:23:36 verbose #43623 > │ let v44 : float = v27 * v41 │
00:23:36 verbose #43624 > │ let v45 : float = v42 / v1 │
00:23:36 verbose #43625 > │ let v46 : float = v43 / v1 │
00:23:36 verbose #43626 > │ let v47 : float = v44 / v1 │
00:23:36 verbose #43627 > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v45, v46, v47) │
00:23:36 verbose #43628 > │ and method2 (v0 : (struct (float * float * float * float * float * float * │
00:23:36 verbose #43629 > │ float * float * float) -> struct (float * float * float * float * float * │
00:23:36 verbose #43630 > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 : │
00:23:36 verbose #43631 > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 : │
00:23:36 verbose #43632 > │ int32) : struct (float * float * float * float * float * float * float * │
00:23:36 verbose #43633 > │ float * float) = │
00:23:36 verbose #43634 > │ let v11 : bool = v10 <= 0 │
00:23:36 verbose #43635 > │ if v11 then │
00:23:36 verbose #43636 > │ struct (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:23:36 verbose #43637 > │ else │
00:23:36 verbose #43638 > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:23:36 verbose #43639 > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct │
00:23:36 verbose #43640 > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:23:36 verbose #43641 > │ let v21 : int32 = v10 - 1 │
00:23:36 verbose #43642 > │ method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) │
00:23:36 verbose #43643 > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:36 verbose #43644 > │ match v0 with │
00:23:36 verbose #43645 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:36 verbose #43646 > │ let v12 : UH0 = UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:23:36 verbose #43647 > │ method3(v11, v12) │
00:23:36 verbose #43648 > │ | UH0_0 -> (* Nil *) │
00:23:36 verbose #43649 > │ v1 │
00:23:36 verbose #43650 > │ and method1 (v0 : (struct (float * float * float * float * float * float * │
00:23:36 verbose #43651 > │ float * float * float) -> struct (float * float * float * float * float * │
00:23:36 verbose #43652 > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:23:36 verbose #43653 > │ let v3 : float = 1.602176621E-19 │
00:23:36 verbose #43654 > │ let v4 : float = 1.672621898E-27 │
00:23:36 verbose #43655 > │ let v5 : float = 0.0 │
00:23:36 verbose #43656 > │ let v6 : float = 0.0 │
00:23:36 verbose #43657 > │ let v7 : float = 0.0 │
00:23:36 verbose #43658 > │ let v8 : float = 0.0 │
00:23:36 verbose #43659 > │ let v9 : float = 0.0 │
00:23:36 verbose #43660 > │ let v10 : float = 239833966.4 │
00:23:36 verbose #43661 > │ let v11 : float = 0.0 │
00:23:36 verbose #43662 > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:23:36 verbose #43663 > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:23:36 verbose #43664 > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:23:36 verbose #43665 > │ let v21 : bool = v2 < 100 │
00:23:36 verbose #43666 > │ if v21 then │
00:23:36 verbose #43667 > │ let v22 : UH0 = UH0_1(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:23:36 verbose #43668 > │ v1) │
00:23:36 verbose #43669 > │ let v23 : int32 = v2 + 1 │
00:23:36 verbose #43670 > │ method1(v0, v22, v23) │
00:23:36 verbose #43671 > │ else │
00:23:36 verbose #43672 > │ let v25 : UH0 = UH0_0 │
00:23:36 verbose #43673 > │ method3(v1, v25) │
00:23:36 verbose #43674 > │ and method4 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:36 verbose #43675 > │ match v0 with │
00:23:36 verbose #43676 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:36 verbose #43677 > │ let v12 : UH1 = method4(v11, v1) │
00:23:36 verbose #43678 > │ UH1_1(v4, v5, v12) │
00:23:36 verbose #43679 > │ | UH0_0 -> (* Nil *) │
00:23:36 verbose #43680 > │ v1 │
00:23:36 verbose #43681 > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) = │
00:23:36 verbose #43682 > │ match v0 with │
00:23:36 verbose #43683 > │ | UH1_1(v3, v4, v5) -> (* Cons *) │
00:23:36 verbose #43684 > │ let v6 : UH2 = UH2_1(v3, v1) │
00:23:36 verbose #43685 > │ let v7 : UH2 = UH2_1(v4, v2) │
00:23:36 verbose #43686 > │ method5(v5, v6, v7) │
00:23:36 verbose #43687 > │ | UH1_0 -> (* Nil *) │
00:23:36 verbose #43688 > │ struct (v1, v2) │
00:23:36 verbose #43689 > │ and method6 (v0 : UH2, v1 : UH2) : UH2 = │
00:23:36 verbose #43690 > │ match v0 with │
00:23:36 verbose #43691 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:23:36 verbose #43692 > │ let v4 : UH2 = UH2_1(v2, v1) │
00:23:36 verbose #43693 > │ method6(v3, v4) │
00:23:36 verbose #43694 > │ | UH2_0 -> (* Nil *) │
00:23:36 verbose #43695 > │ v1 │
00:23:36 verbose #43696 > │ and method7 (v0 : (struct (float * float * float * float * float * float * │
00:23:36 verbose #43697 > │ float * float * float) -> struct (float * float * float * float * float * │
00:23:36 verbose #43698 > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:23:36 verbose #43699 > │ let v3 : float = 1.602176621E-19 │
00:23:36 verbose #43700 > │ let v4 : float = 1.672621898E-27 │
00:23:36 verbose #43701 > │ let v5 : float = 0.0 │
00:23:36 verbose #43702 > │ let v6 : float = 0.0 │
00:23:36 verbose #43703 > │ let v7 : float = 0.0 │
00:23:36 verbose #43704 > │ let v8 : float = 0.0 │
00:23:36 verbose #43705 > │ let v9 : float = 0.0 │
00:23:36 verbose #43706 > │ let v10 : float = 239833966.4 │
00:23:36 verbose #43707 > │ let v11 : float = 0.0 │
00:23:36 verbose #43708 > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:23:36 verbose #43709 > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:23:36 verbose #43710 > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:23:36 verbose #43711 > │ let v21 : bool = v2 < 165 │
00:23:36 verbose #43712 > │ if v21 then │
00:23:36 verbose #43713 > │ let v22 : UH0 = UH0_1(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:23:36 verbose #43714 > │ v1) │
00:23:36 verbose #43715 > │ let v23 : int32 = v2 + 1 │
00:23:36 verbose #43716 > │ method7(v0, v22, v23) │
00:23:36 verbose #43717 > │ else │
00:23:36 verbose #43718 > │ let v25 : UH0 = UH0_0 │
00:23:36 verbose #43719 > │ method3(v1, v25) │
00:23:36 verbose #43720 > │ and method8 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:36 verbose #43721 > │ match v0 with │
00:23:36 verbose #43722 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:36 verbose #43723 > │ let v12 : UH1 = method8(v11, v1) │
00:23:36 verbose #43724 > │ UH1_1(v4, v5, v12) │
00:23:36 verbose #43725 > │ | UH0_0 -> (* Nil *) │
00:23:36 verbose #43726 > │ v1 │
00:23:36 verbose #43727 > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:23:36 verbose #43728 > │ match v0 with │
00:23:36 verbose #43729 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:23:36 verbose #43730 > │ let v4 : int32 = v1 + 1 │
00:23:36 verbose #43731 > │ method10(v3, v4) │
00:23:36 verbose #43732 > │ | UH2_0 -> (* Nil *) │
00:23:36 verbose #43733 > │ v1 │
00:23:36 verbose #43734 > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 = │
00:23:36 verbose #43735 > │ match v1 with │
00:23:36 verbose #43736 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:23:36 verbose #43737 > │ v0.[int v2] <- v3 │
00:23:36 verbose #43738 > │ let v5 : int32 = v2 + 1 │
00:23:36 verbose #43739 > │ method11(v0, v4, v5) │
00:23:36 verbose #43740 > │ | UH2_0 -> (* Nil *) │
00:23:36 verbose #43741 > │ v2 │
00:23:36 verbose #43742 > │ and method9 (v0 : UH2) : (float []) = │
00:23:36 verbose #43743 > │ let v1 : int32 = 0 │
00:23:36 verbose #43744 > │ let v2 : int32 = method10(v0, v1) │
00:23:36 verbose #43745 > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:23:36 verbose #43746 > │ let v4 : int32 = 0 │
00:23:36 verbose #43747 > │ let v5 : int32 = method11(v3, v0, v4) │
00:23:36 verbose #43748 > │ v3 │
00:23:36 verbose #43749 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:36 verbose #43750 > │ []) * (float [])) [])) = │
00:23:36 verbose #43751 > │ let v0 : ((struct (float * float * float * float * float * float * float │
00:23:36 verbose #43752 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:36 verbose #43753 > │ float * float * float)) -> (struct (float * float * float * float * float * │
00:23:36 verbose #43754 > │ float * float * float * float) -> struct (float * float * float * float * │
00:23:36 verbose #43755 > │ float * float * float * float * float))) = closure0() │
00:23:36 verbose #43756 > │ let v1 : (struct (float * float * float * float * float * float * float │
00:23:36 verbose #43757 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:36 verbose #43758 > │ float * float * float)) = closure2() │
00:23:36 verbose #43759 > │ let v2 : (struct (float * float * float * float * float * float * float │
00:23:36 verbose #43760 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:36 verbose #43761 > │ float * float * float)) = v0 v1 │
00:23:36 verbose #43762 > │ let v3 : (struct (float * float * float * float * float * float * float │
00:23:36 verbose #43763 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:36 verbose #43764 > │ float * float * float)) = closure3() │
00:23:36 verbose #43765 > │ let v4 : (struct (float * float * float * float * float * float * float │
00:23:36 verbose #43766 > │ * float * float) -> struct (float * float * float * float * float * float * │
00:23:36 verbose #43767 > │ float * float * float)) = v0 v3 │
00:23:36 verbose #43768 > │ let v5 : UH0 = UH0_0 │
00:23:36 verbose #43769 > │ let v6 : int32 = 0 │
00:23:36 verbose #43770 > │ let v7 : UH0 = method1(v2, v5, v6) │
00:23:36 verbose #43771 > │ let v8 : UH1 = UH1_0 │
00:23:36 verbose #43772 > │ let v9 : UH1 = method4(v7, v8) │
00:23:36 verbose #43773 > │ let v10 : UH2 = UH2_0 │
00:23:36 verbose #43774 > │ let v11 : UH2 = UH2_0 │
00:23:36 verbose #43775 > │ let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11) │
00:23:36 verbose #43776 > │ let v14 : UH2 = UH2_0 │
00:23:36 verbose #43777 > │ let v15 : UH2 = method6(v12, v14) │
00:23:36 verbose #43778 > │ let v16 : UH2 = UH2_0 │
00:23:36 verbose #43779 > │ let v17 : UH2 = method6(v13, v16) │
00:23:36 verbose #43780 > │ let v18 : UH0 = UH0_0 │
00:23:36 verbose #43781 > │ let v19 : int32 = 0 │
00:23:36 verbose #43782 > │ let v20 : UH0 = method7(v4, v18, v19) │
00:23:36 verbose #43783 > │ let v21 : UH1 = UH1_0 │
00:23:36 verbose #43784 > │ let v22 : UH1 = method8(v20, v21) │
00:23:36 verbose #43785 > │ let v23 : UH2 = UH2_0 │
00:23:36 verbose #43786 > │ let v24 : UH2 = UH2_0 │
00:23:36 verbose #43787 > │ let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24) │
00:23:36 verbose #43788 > │ let v27 : UH2 = UH2_0 │
00:23:36 verbose #43789 > │ let v28 : UH2 = method6(v25, v27) │
00:23:36 verbose #43790 > │ let v29 : UH2 = UH2_0 │
00:23:36 verbose #43791 > │ let v30 : UH2 = method6(v26, v29) │
00:23:36 verbose #43792 > │ let v31 : (float []) = method9(v15) │
00:23:36 verbose #43793 > │ let v32 : (float []) = method9(v17) │
00:23:36 verbose #43794 > │ let v33 : (float []) = method9(v28) │
00:23:36 verbose #43795 > │ let v34 : (float []) = method9(v30) │
00:23:36 verbose #43796 > │ let v35 : string = "newtonian" │
00:23:36 verbose #43797 > │ let v36 : string = "relativistic" │
00:23:36 verbose #43798 > │ let v37 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:36 verbose #43799 > │ (v35, v31, v32); struct (v36, v33, v34)|] │
00:23:36 verbose #43800 > │ let v38 : string = "proton in a 1-t magnetic field" │
00:23:36 verbose #43801 > │ let v39 : string = "x (m)" │
00:23:36 verbose #43802 > │ let v40 : string = "y (m)" │
00:23:36 verbose #43803 > │ struct (v38, v39, v40, v37) │
00:23:36 verbose #43804 > │ method0() │
00:23:36 verbose #43805 > │ │
00:23:36 verbose #43806 > │ │
00:23:36 verbose #43807 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:36 verbose #43808 >
00:23:36 verbose #43809 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:36 verbose #43810 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:36 verbose #43811 > │ ### system kinetic energy versus time 1 │
00:23:36 verbose #43812 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:36 verbose #43813 >
00:23:36 verbose #43814 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:36 verbose #43815 > //// test
00:23:36 verbose #43816 >
00:23:36 verbose #43817 > inl central_force f (particle_state st1) (particle_state st2) =
00:23:36 verbose #43818 > inl r1 = st1.pos_vec
00:23:36 verbose #43819 > inl r2 = st2.pos_vec
00:23:36 verbose #43820 > inl r21 = r2 ^-^ r1
00:23:36 verbose #43821 > inl r21mag = magnitude r21
00:23:36 verbose #43822 > f r21mag *^ r21 ^/ r21mag
00:23:36 verbose #43823 >
00:23:36 verbose #43824 > inl billiard_force k re =
00:23:36 verbose #43825 > inl f r =
00:23:36 verbose #43826 > if r >= re
00:23:36 verbose #43827 > then 0
00:23:36 verbose #43828 > else -k * (r - re)
00:23:36 verbose #43829 > central_force f
00:23:36 verbose #43830 >
00:23:36 verbose #43831 > type force_vector = vec
00:23:36 verbose #43832 > type two_body_force = particle_state -> particle_state -> force_vector
00:23:36 verbose #43833 >
00:23:36 verbose #43834 > union force =
00:23:36 verbose #43835 > | ExternalForce : i32 * one_body_force
00:23:36 verbose #43836 > | InternalForce : i32 * i32 * two_body_force
00:23:36 verbose #43837 >
00:23:36 verbose #43838 > nominal multi_particle_state = list particle_state
00:23:36 verbose #43839 >
00:23:36 verbose #43840 > nominal d_multi_particle_state = list d_particle_state
00:23:36 verbose #43841 >
00:23:36 verbose #43842 > inl force_on n sts force =
00:23:36 verbose #43843 > match force with
00:23:36 verbose #43844 > | ExternalForce (n0, f_one_body) =>
00:23:36 verbose #43845 > if n = n0
00:23:36 verbose #43846 > then f_one_body
00:23:36 verbose #43847 > else fun _ => zero_vec ()
00:23:36 verbose #43848 > | InternalForce (n0, n1, f_two_body) =>
00:23:36 verbose #43849 > if n = n0
00:23:36 verbose #43850 > then f_two_body (sts |> listm'.item n1)
00:23:36 verbose #43851 > elif n = n1
00:23:36 verbose #43852 > then f_two_body (sts |> listm'.item n0)
00:23:36 verbose #43853 > else fun _ => zero_vec ()
00:23:36 verbose #43854 >
00:23:36 verbose #43855 > inl forces_on n (multi_particle_state sts) fs =
00:23:36 verbose #43856 > fs |> listm.map (force_on n sts)
00:23:36 verbose #43857 >
00:23:36 verbose #43858 > inl newton_second_mps fs (multi_particle_state sts) : d_multi_particle_state =
00:23:36 verbose #43859 > inl deriv (n, st) =
00:23:36 verbose #43860 > newton_second_ps (forces_on n (multi_particle_state sts) fs) st
00:23:36 verbose #43861 > sts |> listm'.indexed |> listm.map deriv |> d_multi_particle_state
00:23:36 verbose #43862 >
00:23:36 verbose #43863 > instance (+++) d_multi_particle_state = fun (d_multi_particle_state dsts1)
00:23:36 verbose #43864 > (d_multi_particle_state dsts2) =>
00:23:36 verbose #43865 > d_multi_particle_state (listm'.zip_with_ (+++) dsts1 dsts2)
00:23:36 verbose #43866 >
00:23:36 verbose #43867 > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:23:36 verbose #43868 > d_multi_particle_state (dsts |> listm.map (scale w))
00:23:36 verbose #43869 >
00:23:36 verbose #43870 > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:23:36 verbose #43871 > inl (d_multi_particle_state dsts) =
00:23:36 verbose #43872 > real
00:23:36 verbose #43873 > match dsts with
00:23:36 verbose #43874 > | d_multi_particle_state _ => dsts
00:23:36 verbose #43875 > listm'.zip_with_ (shift dt) dsts sts |> multi_particle_state
00:23:36 verbose #43876 >
00:23:36 verbose #43877 > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:23:36 verbose #43878 > d_multi_particle_state =
00:23:36 verbose #43879 > fun deriv mpst0 =>
00:23:36 verbose #43880 > inl mpst1 = euler dt deriv mpst0
00:23:36 verbose #43881 > inl (multi_particle_state sts0) = mpst0
00:23:36 verbose #43882 > inl (multi_particle_state sts1) = mpst1
00:23:36 verbose #43883 > sts1
00:23:36 verbose #43884 > |> listm'.zip_ sts0
00:23:36 verbose #43885 > |> listm.map (fun ((particle_state st0), (particle_state st1)) =>
00:23:36 verbose #43886 > particle_state {
00:23:36 verbose #43887 > st1 with
00:23:36 verbose #43888 > pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:23:36 verbose #43889 > }
00:23:36 verbose #43890 > )
00:23:36 verbose #43891 > |> multi_particle_state
00:23:36 verbose #43892 >
00:23:36 verbose #43893 > inl update_mps (method : numerical_method multi_particle_state
00:23:36 verbose #43894 > d_multi_particle_state) =
00:23:36 verbose #43895 > newton_second_mps >> method
00:23:36 verbose #43896 >
00:23:36 verbose #43897 > inl states_mps (method : numerical_method multi_particle_state
00:23:36 verbose #43898 > d_multi_particle_state) =
00:23:36 verbose #43899 > newton_second_mps >> method >> seq.iterate_
00:23:36 verbose #43900 >
00:23:36 verbose #43901 >
00:23:36 verbose #43902 > inl kinetic_energy (particle_state st) =
00:23:36 verbose #43903 > inl m = st.mass
00:23:36 verbose #43904 > inl v = magnitude st.velocity
00:23:36 verbose #43905 > 0.5 * m * v ** 2
00:23:36 verbose #43906 >
00:23:36 verbose #43907 > inl system_ke (multi_particle_state sts) =
00:23:36 verbose #43908 > sts |> listm.map kinetic_energy |> listm'.sum
00:23:36 verbose #43909 >
00:23:36 verbose #43910 > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:23:36 verbose #43911 > inl r1 = st1.pos_vec
00:23:36 verbose #43912 > inl r2 = st2.pos_vec
00:23:36 verbose #43913 > inl r21 = r2 ^-^ r1
00:23:36 verbose #43914 > inl r21mag = magnitude r21
00:23:36 verbose #43915 > k * (r21mag - re) ** 2 / 2
00:23:36 verbose #43916 >
00:23:36 verbose #43917 > inl earth_surface_gravity_pe (particle_state st) =
00:23:36 verbose #43918 > inl g = 9.80665
00:23:36 verbose #43919 > inl m = st.mass
00:23:36 verbose #43920 > inl z = st.pos_vec.z
00:23:36 verbose #43921 > m * g * z
00:23:36 verbose #43922 >
00:23:36 verbose #43923 > inl two_springs_pe (multi_particle_state sts) =
00:23:36 verbose #43924 > inl st0 = sts |> listm'.item 0i32
00:23:36 verbose #43925 > inl st1 = sts |> listm'.item 1i32
00:23:36 verbose #43926 > linear_spring_pe 100 0.5 (default_particle_state ()) st0
00:23:36 verbose #43927 > + linear_spring_pe 100 0.5 st0 st1
00:23:36 verbose #43928 > + earth_surface_gravity_pe st0
00:23:36 verbose #43929 > + earth_surface_gravity_pe st1
00:23:36 verbose #43930 >
00:23:36 verbose #43931 > inl two_springs_me mpst =
00:23:36 verbose #43932 > system_ke mpst + two_springs_pe mpst
00:23:36 verbose #43933 >
00:23:36 verbose #43934 > inl ball_radius () = 0.03
00:23:36 verbose #43935 >
00:23:36 verbose #43936 > inl billiard_forces k =
00:23:36 verbose #43937 > [[ InternalForce (0, 1, billiard_force k (2 * ball_radius ())) ]]
00:23:36 verbose #43938 >
00:23:36 verbose #43939 > inl billiard_update n_method k dt =
00:23:36 verbose #43940 > update_mps (n_method dt) (billiard_forces k)
00:23:36 verbose #43941 >
00:23:36 verbose #43942 > inl billiard_initial () =
00:23:36 verbose #43943 > inl ball_mass = 0.160
00:23:36 verbose #43944 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:36 verbose #43945 > multi_particle_state [[
00:23:36 verbose #43946 > particle_state {
00:23:36 verbose #43947 > default_particle_state' with
00:23:36 verbose #43948 > mass = ball_mass
00:23:36 verbose #43949 > pos_vec = zero_vec ()
00:23:36 verbose #43950 > velocity = 0.2 *^ i_hat ()
00:23:36 verbose #43951 > }
00:23:36 verbose #43952 > particle_state {
00:23:36 verbose #43953 > default_particle_state' with
00:23:36 verbose #43954 > mass = ball_mass
00:23:36 verbose #43955 > pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:23:36 verbose #43956 > velocity = zero_vec ()
00:23:36 verbose #43957 > }
00:23:36 verbose #43958 > ]]
00:23:36 verbose #43959 >
00:23:36 verbose #43960 > inl billiard_states ~n_method k dt =
00:23:36 verbose #43961 > states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:23:36 verbose #43962 >
00:23:36 verbose #43963 > inl billiard_states_finite n_method k dt =
00:23:36 verbose #43964 > billiard_states n_method k dt
00:23:36 verbose #43965 > >> Some
00:23:36 verbose #43966 > |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:23:36 verbose #43967 > (mpst |> listm'.item 0i32).time <= 10
00:23:36 verbose #43968 > )
00:23:36 verbose #43969 >
00:23:36 verbose #43970 > inl momentum (particle_state st) =
00:23:36 verbose #43971 > inl m = st.mass
00:23:36 verbose #43972 > inl v = st.velocity
00:23:36 verbose #43973 > m *^ v
00:23:36 verbose #43974 >
00:23:36 verbose #43975 > inl system_p (multi_particle_state sts) =
00:23:36 verbose #43976 > sts |> listm.map momentum |> sum_vec
00:23:36 verbose #43977 >
00:23:36 verbose #43978 >
00:23:36 verbose #43979 > inl time_ke_ec_x, time_ke_ec_y =
00:23:36 verbose #43980 > billiard_states_finite euler_cromer_mps 30 0.03
00:23:36 verbose #43981 > |> listm.map (fun (multi_particle_state mpst) =>
00:23:36 verbose #43982 > (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:23:36 verbose #43983 > )
00:23:36 verbose #43984 > |> listm'.unzip
00:23:36 verbose #43985 >
00:23:36 verbose #43986 > inl time_ke_rk4_x, time_ke_rk4_y =
00:23:36 verbose #43987 > billiard_states_finite runge_kutta_4 30 0.03
00:23:36 verbose #43988 > |> listm.map (fun (multi_particle_state mpst) =>
00:23:36 verbose #43989 > (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:23:36 verbose #43990 > )
00:23:36 verbose #43991 > |> listm'.unzip
00:23:36 verbose #43992 >
00:23:36 verbose #43993 > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray
00:23:36 verbose #43994 > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray
00:23:36 verbose #43995 >
00:23:36 verbose #43996 > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray
00:23:36 verbose #43997 > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray
00:23:36 verbose #43998 >
00:23:36 verbose #43999 > "system kinetic energy versus time",
00:23:36 verbose #44000 > "time (s)",
00:23:36 verbose #44001 > "system kinetic energy (j)",
00:23:36 verbose #44002 > ;[[
00:23:36 verbose #44003 > "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:23:36 verbose #44004 > "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:23:36 verbose #44005 > ]]
00:23:37 verbose #44006 > 00:23:36 debug #856 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c44f87a2b8bce39bbd64f71ef2871b0ff2cd9f320ee177fc4ccb512322553d34/main.spi
00:23:38 verbose #44007 >
00:23:38 verbose #44008 > ╭─[ 1.94s - return value ]─────────────────────────────────────────────────────╮
00:23:38 verbose #44009 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:38 verbose #44010 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:38 verbose #44011 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:38 verbose #44012 > │ stroke="none"/> │
00:23:38 verbose #44013 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:38 verbose #44014 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:38 verbose #44015 > │ fill="#FFFFFF"> │
00:23:38 verbose #44016 > │ system kinetic energy versus time │
00:23:38 verbose #44017 > │ </text> │
00:23:38 verbose #44018 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:23:38 verbose #44019 > │ y2="75"/> │
00:23:38 verbose #44020 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:38 verbose #44021 > │ y2="75"/> │
00:23:38 verbose #44022 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:23:38 verbose #44023 > │ y2="75"/> │
00:23:38 verbose #44024 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:23:38 verbose #44025 > │ y2="75"/> │
00:23:38 verbose #44026 > │ <line opacity="1" stroke="#323232" stroke-width="1... │
00:23:38 verbose #44027 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:38 verbose #44028 >
00:23:38 verbose #44029 > ╭─[ 1.95s - stdout ]───────────────────────────────────────────────────────────╮
00:23:38 verbose #44030 > │ type UH0 = │
00:23:38 verbose #44031 > │ | UH0_0 │
00:23:38 verbose #44032 > │ | UH0_1 of float * float * float * float * float * float * float * float │
00:23:38 verbose #44033 > │ * float * UH0 │
00:23:38 verbose #44034 > │ and UH1 = │
00:23:38 verbose #44035 > │ | UH1_0 │
00:23:38 verbose #44036 > │ | UH1_1 of float * float * float * float * float * float * float * float │
00:23:38 verbose #44037 > │ * float * UH1 │
00:23:38 verbose #44038 > │ and UH2 = │
00:23:38 verbose #44039 > │ | UH2_0 │
00:23:38 verbose #44040 > │ | UH2_1 of float * float * float * float * float * float * float * float │
00:23:38 verbose #44041 > │ * float * float * float * float * float * float * float * float * float * │
00:23:38 verbose #44042 > │ float * UH2 │
00:23:38 verbose #44043 > │ and UH3 = │
00:23:38 verbose #44044 > │ | UH3_0 │
00:23:38 verbose #44045 > │ | UH3_1 of int32 * float * float * float * float * float * float * float │
00:23:38 verbose #44046 > │ * float * float * UH3 │
00:23:38 verbose #44047 > │ and [<Struct>] US0 = │
00:23:38 verbose #44048 > │ | US0_0 of f0_0 : float * f0_1 : float * f0_2 : float * f0_3 : float * │
00:23:38 verbose #44049 > │ f0_4 : float * f0_5 : float * f0_6 : float * f0_7 : float * f0_8 : float │
00:23:38 verbose #44050 > │ | US0_1 │
00:23:38 verbose #44051 > │ and UH4 = │
00:23:38 verbose #44052 > │ | UH4_0 │
00:23:38 verbose #44053 > │ | UH4_1 of UH0 * UH4 │
00:23:38 verbose #44054 > │ and UH5 = │
00:23:38 verbose #44055 > │ | UH5_0 │
00:23:38 verbose #44056 > │ | UH5_1 of float * float * UH5 │
00:23:38 verbose #44057 > │ and UH6 = │
00:23:38 verbose #44058 > │ | UH6_0 │
00:23:38 verbose #44059 > │ | UH6_1 of float * UH6 │
00:23:38 verbose #44060 > │ let rec method2 (v0 : UH0, v1 : UH0) : UH0 = │
00:23:38 verbose #44061 > │ match v0 with │
00:23:38 verbose #44062 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:38 verbose #44063 > │ let v12 : UH0 = UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:23:38 verbose #44064 > │ method2(v11, v12) │
00:23:38 verbose #44065 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44066 > │ v1 │
00:23:38 verbose #44067 > │ and method1 (v0 : float, v1 : UH0, v2 : UH1, v3 : UH0) : UH0 = │
00:23:38 verbose #44068 > │ match v2 with │
00:23:38 verbose #44069 > │ | UH1_1(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *) │
00:23:38 verbose #44070 > │ match v3 with │
00:23:38 verbose #44071 > │ | UH0_1(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* Cons │
00:23:38 verbose #44072 > │ *) │
00:23:38 verbose #44073 > │ let v24 : float = v9 * v0 │
00:23:38 verbose #44074 > │ let v25 : float = v19 + v24 │
00:23:38 verbose #44075 > │ let v26 : float = v0 * v6 │
00:23:38 verbose #44076 > │ let v27 : float = v0 * v7 │
00:23:38 verbose #44077 > │ let v28 : float = v0 * v8 │
00:23:38 verbose #44078 > │ let v29 : float = v16 + v26 │
00:23:38 verbose #44079 > │ let v30 : float = v17 + v27 │
00:23:38 verbose #44080 > │ let v31 : float = v18 + v28 │
00:23:38 verbose #44081 > │ let v32 : float = v0 * v10 │
00:23:38 verbose #44082 > │ let v33 : float = v0 * v11 │
00:23:38 verbose #44083 > │ let v34 : float = v0 * v12 │
00:23:38 verbose #44084 > │ let v35 : float = v20 + v32 │
00:23:38 verbose #44085 > │ let v36 : float = v21 + v33 │
00:23:38 verbose #44086 > │ let v37 : float = v22 + v34 │
00:23:38 verbose #44087 > │ let v38 : UH0 = UH0_1(v14, v15, v29, v30, v31, v25, v35, v36, │
00:23:38 verbose #44088 > │ v37, v1) │
00:23:38 verbose #44089 > │ method1(v0, v38, v13, v23) │
00:23:38 verbose #44090 > │ | _ -> │
00:23:38 verbose #44091 > │ let v40 : UH0 = UH0_0 │
00:23:38 verbose #44092 > │ method2(v1, v40) │
00:23:38 verbose #44093 > │ | _ -> │
00:23:38 verbose #44094 > │ let v43 : UH0 = UH0_0 │
00:23:38 verbose #44095 > │ method2(v1, v43) │
00:23:38 verbose #44096 > │ and method4 (v0 : UH2, v1 : UH2) : UH2 = │
00:23:38 verbose #44097 > │ match v0 with │
00:23:38 verbose #44098 > │ | UH2_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, │
00:23:38 verbose #44099 > │ v16, v17, v18, v19, v20) -> (* Cons *) │
00:23:38 verbose #44100 > │ let v21 : UH2 = UH2_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, │
00:23:38 verbose #44101 > │ v13, v14, v15, v16, v17, v18, v19, v1) │
00:23:38 verbose #44102 > │ method4(v20, v21) │
00:23:38 verbose #44103 > │ | UH2_0 -> (* Nil *) │
00:23:38 verbose #44104 > │ v1 │
00:23:38 verbose #44105 > │ and method3 (v0 : UH2, v1 : UH0, v2 : UH0) : UH2 = │
00:23:38 verbose #44106 > │ match v1 with │
00:23:38 verbose #44107 > │ | UH0_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:23:38 verbose #44108 > │ match v2 with │
00:23:38 verbose #44109 > │ | UH0_1(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │
00:23:38 verbose #44110 > │ *) │
00:23:38 verbose #44111 > │ let v23 : UH2 = UH2_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v13, │
00:23:38 verbose #44112 > │ v14, v15, v16, v17, v18, v19, v20, v21, v0) │
00:23:38 verbose #44113 > │ method3(v23, v12, v22) │
00:23:38 verbose #44114 > │ | _ -> │
00:23:38 verbose #44115 > │ let v25 : UH2 = UH2_0 │
00:23:38 verbose #44116 > │ method4(v0, v25) │
00:23:38 verbose #44117 > │ | _ -> │
00:23:38 verbose #44118 > │ let v28 : UH2 = UH2_0 │
00:23:38 verbose #44119 > │ method4(v0, v28) │
00:23:38 verbose #44120 > │ and method5 (v0 : float, v1 : UH2, v2 : UH0) : UH0 = │
00:23:38 verbose #44121 > │ match v1 with │
00:23:38 verbose #44122 > │ | UH2_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, │
00:23:38 verbose #44123 > │ v17, v18, v19, v20, v21) -> (* Cons *) │
00:23:38 verbose #44124 > │ let v22 : UH0 = method5(v0, v21, v2) │
00:23:38 verbose #44125 > │ let v23 : float = v0 * v18 │
00:23:38 verbose #44126 > │ let v24 : float = v0 * v19 │
00:23:38 verbose #44127 > │ let v25 : float = v0 * v20 │
00:23:38 verbose #44128 > │ let v26 : float = v5 + v23 │
00:23:38 verbose #44129 > │ let v27 : float = v6 + v24 │
00:23:38 verbose #44130 > │ let v28 : float = v7 + v25 │
00:23:38 verbose #44131 > │ UH0_1(v12, v13, v26, v27, v28, v17, v18, v19, v20, v22) │
00:23:38 verbose #44132 > │ | UH2_0 -> (* Nil *) │
00:23:38 verbose #44133 > │ v2 │
00:23:38 verbose #44134 > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:23:38 verbose #44135 > │ let v3 : UH1 = v1 v2 │
00:23:38 verbose #44136 > │ let v4 : UH0 = UH0_0 │
00:23:38 verbose #44137 > │ let v5 : UH0 = method1(v0, v4, v3, v2) │
00:23:38 verbose #44138 > │ let v6 : UH2 = UH2_0 │
00:23:38 verbose #44139 > │ let v7 : UH2 = method3(v6, v2, v5) │
00:23:38 verbose #44140 > │ let v8 : UH0 = UH0_0 │
00:23:38 verbose #44141 > │ let v9 : UH0 = method5(v0, v7, v8) │
00:23:38 verbose #44142 > │ v9 │
00:23:38 verbose #44143 > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:23:38 verbose #44144 > │ closure2(v0, v1) │
00:23:38 verbose #44145 > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:23:38 verbose #44146 > │ closure1(v0) │
00:23:38 verbose #44147 > │ and method6 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) = │
00:23:38 verbose #44148 > │ match v0 with │
00:23:38 verbose #44149 > │ | UH0_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:23:38 verbose #44150 > │ let v13 : int32 = v2 + 1 │
00:23:38 verbose #44151 > │ let v14 : UH3 = UH3_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1) │
00:23:38 verbose #44152 > │ method6(v12, v14, v13) │
00:23:38 verbose #44153 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44154 > │ struct (v1, v2) │
00:23:38 verbose #44155 > │ and method7 (v0 : UH3, v1 : UH3) : UH3 = │
00:23:38 verbose #44156 > │ match v0 with │
00:23:38 verbose #44157 > │ | UH3_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:23:38 verbose #44158 > │ let v13 : UH3 = UH3_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1) │
00:23:38 verbose #44159 > │ method7(v12, v13) │
00:23:38 verbose #44160 > │ | UH3_0 -> (* Nil *) │
00:23:38 verbose #44161 > │ v1 │
00:23:38 verbose #44162 > │ and closure4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:23:38 verbose #44163 > │ : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:23:38 verbose #44164 > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:23:38 verbose #44165 > │ : float, v17 : float) : struct (float * float * float) = │
00:23:38 verbose #44166 > │ let v18 : float = -1.0 * v2 │
00:23:38 verbose #44167 > │ let v19 : float = -1.0 * v3 │
00:23:38 verbose #44168 > │ let v20 : float = -1.0 * v4 │
00:23:38 verbose #44169 > │ let v21 : float = v11 + v18 │
00:23:38 verbose #44170 > │ let v22 : float = v12 + v19 │
00:23:38 verbose #44171 > │ let v23 : float = v13 + v20 │
00:23:38 verbose #44172 > │ let v24 : float = v21 * v21 │
00:23:38 verbose #44173 > │ let v25 : float = v22 * v22 │
00:23:38 verbose #44174 > │ let v26 : float = v24 + v25 │
00:23:38 verbose #44175 > │ let v27 : float = v23 * v23 │
00:23:38 verbose #44176 > │ let v28 : float = v26 + v27 │
00:23:38 verbose #44177 > │ let v29 : float = sqrt v28 │
00:23:38 verbose #44178 > │ let v30 : bool = v29 >= 0.06 │
00:23:38 verbose #44179 > │ let v33 : float = │
00:23:38 verbose #44180 > │ if v30 then │
00:23:38 verbose #44181 > │ 0.0 │
00:23:38 verbose #44182 > │ else │
00:23:38 verbose #44183 > │ let v31 : float = v29 - 0.06 │
00:23:38 verbose #44184 > │ let v32 : float = -30.0 * v31 │
00:23:38 verbose #44185 > │ v32 │
00:23:38 verbose #44186 > │ let v34 : float = v33 * v21 │
00:23:38 verbose #44187 > │ let v35 : float = v33 * v22 │
00:23:38 verbose #44188 > │ let v36 : float = v33 * v23 │
00:23:38 verbose #44189 > │ let v37 : float = v34 / v29 │
00:23:38 verbose #44190 > │ let v38 : float = v35 / v29 │
00:23:38 verbose #44191 > │ let v39 : float = v36 / v29 │
00:23:38 verbose #44192 > │ struct (v37, v38, v39) │
00:23:38 verbose #44193 > │ and closure5 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:23:38 verbose #44194 > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:38 verbose #44195 > │ float * float) = │
00:23:38 verbose #44196 > │ struct (0.0, 0.0, 0.0) │
00:23:38 verbose #44197 > │ and method8 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 = │
00:23:38 verbose #44198 > │ match v1 with │
00:23:38 verbose #44199 > │ | UH3_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *) │
00:23:38 verbose #44200 > │ let v14 : UH1 = method8(v0, v13, v2) │
00:23:38 verbose #44201 > │ let v15 : bool = v3 = 0 │
00:23:38 verbose #44202 > │ let v134 : (struct (float * float * float * float * float * float * │
00:23:38 verbose #44203 > │ float * float * float) -> struct (float * float * float)) = │
00:23:38 verbose #44204 > │ if v15 then │
00:23:38 verbose #44205 > │ let v42 : US0 = │
00:23:38 verbose #44206 > │ match v0 with │
00:23:38 verbose #44207 > │ | UH0_1(v16, v17, v18, v19, v20, v21, v22, v23, v24, │
00:23:38 verbose #44208 > │ v25) -> (* Cons *) │
00:23:38 verbose #44209 > │ match v25 with │
00:23:38 verbose #44210 > │ | UH0_1(v26, v27, v28, v29, v30, v31, v32, v33, v34, │
00:23:38 verbose #44211 > │ v35) -> (* Cons *) │
00:23:38 verbose #44212 > │ US0_0(v26, v27, v28, v29, v30, v31, v32, v33, │
00:23:38 verbose #44213 > │ v34) │
00:23:38 verbose #44214 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44215 > │ US0_1 │
00:23:38 verbose #44216 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44217 > │ US0_1 │
00:23:38 verbose #44218 > │ let struct (v70 : float, v71 : float, v72 : float, v73 : │
00:23:38 verbose #44219 > │ float, v74 : float, v75 : float, v76 : float, v77 : float, v78 : float) = │
00:23:38 verbose #44220 > │ match v42 with │
00:23:38 verbose #44221 > │ | US0_1 -> (* None *) │
00:23:38 verbose #44222 > │ failwith<struct (float * float * float * float * │
00:23:38 verbose #44223 > │ float * float * float * float * float)> "Option does not have a value." │
00:23:38 verbose #44224 > │ | US0_0(v43, v44, v45, v46, v47, v48, v49, v50, v51) -> │
00:23:38 verbose #44225 > │ (* Some *) │
00:23:38 verbose #44226 > │ struct (v43, v44, v45, v46, v47, v48, v49, v50, v51) │
00:23:38 verbose #44227 > │ closure4(v70, v71, v72, v73, v74, v75, v76, v77, v78) │
00:23:38 verbose #44228 > │ else │
00:23:38 verbose #44229 > │ let v80 : bool = v3 = 1 │
00:23:38 verbose #44230 > │ if v80 then │
00:23:38 verbose #44231 > │ let v94 : US0 = │
00:23:38 verbose #44232 > │ match v0 with │
00:23:38 verbose #44233 > │ | UH0_1(v81, v82, v83, v84, v85, v86, v87, v88, v89, │
00:23:38 verbose #44234 > │ v90) -> (* Cons *) │
00:23:38 verbose #44235 > │ US0_0(v81, v82, v83, v84, v85, v86, v87, v88, │
00:23:38 verbose #44236 > │ v89) │
00:23:38 verbose #44237 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44238 > │ US0_1 │
00:23:38 verbose #44239 > │ let struct (v122 : float, v123 : float, v124 : float, │
00:23:38 verbose #44240 > │ v125 : float, v126 : float, v127 : float, v128 : float, v129 : float, v130 : │
00:23:38 verbose #44241 > │ float) = │
00:23:38 verbose #44242 > │ match v94 with │
00:23:38 verbose #44243 > │ | US0_1 -> (* None *) │
00:23:38 verbose #44244 > │ failwith<struct (float * float * float * float * │
00:23:38 verbose #44245 > │ float * float * float * float * float)> "Option does not have a value." │
00:23:38 verbose #44246 > │ | US0_0(v95, v96, v97, v98, v99, v100, v101, v102, │
00:23:38 verbose #44247 > │ v103) -> (* Some *) │
00:23:38 verbose #44248 > │ struct (v95, v96, v97, v98, v99, v100, v101, │
00:23:38 verbose #44249 > │ v102, v103) │
00:23:38 verbose #44250 > │ closure4(v122, v123, v124, v125, v126, v127, v128, v129, │
00:23:38 verbose #44251 > │ v130) │
00:23:38 verbose #44252 > │ else │
00:23:38 verbose #44253 > │ closure5() │
00:23:38 verbose #44254 > │ let struct (v135 : float, v136 : float, v137 : float) = v134 struct │
00:23:38 verbose #44255 > │ (v4, v5, v6, v7, v8, v9, v10, v11, v12) │
00:23:38 verbose #44256 > │ let v138 : float = v135 / v5 │
00:23:38 verbose #44257 > │ let v139 : float = v136 / v5 │
00:23:38 verbose #44258 > │ let v140 : float = v137 / v5 │
00:23:38 verbose #44259 > │ UH1_1(0.0, 0.0, v10, v11, v12, 1.0, v138, v139, v140, v14) │
00:23:38 verbose #44260 > │ | UH3_0 -> (* Nil *) │
00:23:38 verbose #44261 > │ v2 │
00:23:38 verbose #44262 > │ and closure3 () (v0 : UH0) : UH1 = │
00:23:38 verbose #44263 > │ let v1 : UH3 = UH3_0 │
00:23:38 verbose #44264 > │ let v2 : int32 = 0 │
00:23:38 verbose #44265 > │ let struct (v3 : UH3, v4 : int32) = method6(v0, v1, v2) │
00:23:38 verbose #44266 > │ let v5 : UH3 = UH3_0 │
00:23:38 verbose #44267 > │ let v6 : UH3 = method7(v3, v5) │
00:23:38 verbose #44268 > │ let v7 : UH1 = UH1_0 │
00:23:38 verbose #44269 > │ let v8 : UH1 = method8(v0, v6, v7) │
00:23:38 verbose #44270 > │ v8 │
00:23:38 verbose #44271 > │ and method10 (v0 : (UH0 -> UH0), v1 : UH0, v2 : int32) : UH0 = │
00:23:38 verbose #44272 > │ let v3 : bool = v2 <= 0 │
00:23:38 verbose #44273 > │ if v3 then │
00:23:38 verbose #44274 > │ v1 │
00:23:38 verbose #44275 > │ else │
00:23:38 verbose #44276 > │ let v4 : UH0 = v0 v1 │
00:23:38 verbose #44277 > │ let v5 : int32 = v2 - 1 │
00:23:38 verbose #44278 > │ method10(v0, v4, v5) │
00:23:38 verbose #44279 > │ and method11 (v0 : UH4, v1 : UH4) : UH4 = │
00:23:38 verbose #44280 > │ match v0 with │
00:23:38 verbose #44281 > │ | UH4_1(v2, v3) -> (* Cons *) │
00:23:38 verbose #44282 > │ let v4 : UH4 = UH4_1(v2, v1) │
00:23:38 verbose #44283 > │ method11(v3, v4) │
00:23:38 verbose #44284 > │ | UH4_0 -> (* Nil *) │
00:23:38 verbose #44285 > │ v1 │
00:23:38 verbose #44286 > │ and method9 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 = │
00:23:38 verbose #44287 > │ let v3 : float = 0.0 │
00:23:38 verbose #44288 > │ let v4 : float = 0.16 │
00:23:38 verbose #44289 > │ let v5 : float = 0.0 │
00:23:38 verbose #44290 > │ let v6 : float = 0.0 │
00:23:38 verbose #44291 > │ let v7 : float = 0.0 │
00:23:38 verbose #44292 > │ let v8 : float = 0.0 │
00:23:38 verbose #44293 > │ let v9 : float = 0.2 │
00:23:38 verbose #44294 > │ let v10 : float = 0.0 │
00:23:38 verbose #44295 > │ let v11 : float = 0.0 │
00:23:38 verbose #44296 > │ let v12 : float = 1.0 │
00:23:38 verbose #44297 > │ let v13 : float = 0.02 │
00:23:38 verbose #44298 > │ let v14 : float = 0.0 │
00:23:38 verbose #44299 > │ let v15 : float = 0.0 │
00:23:38 verbose #44300 > │ let v16 : float = 0.0 │
00:23:38 verbose #44301 > │ let v17 : float = 0.0 │
00:23:38 verbose #44302 > │ let v18 : UH0 = UH0_0 │
00:23:38 verbose #44303 > │ let v19 : UH0 = UH0_1(v3, v4, v12, v13, v14, v8, v15, v16, v17, v18) │
00:23:38 verbose #44304 > │ let v20 : UH0 = UH0_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v19) │
00:23:38 verbose #44305 > │ let v21 : UH0 = method10(v0, v20, v2) │
00:23:38 verbose #44306 > │ let v35 : US0 = │
00:23:38 verbose #44307 > │ match v21 with │
00:23:38 verbose #44308 > │ | UH0_1(v22, v23, v24, v25, v26, v27, v28, v29, v30, v31) -> (* Cons │
00:23:38 verbose #44309 > │ *) │
00:23:38 verbose #44310 > │ US0_0(v22, v23, v24, v25, v26, v27, v28, v29, v30) │
00:23:38 verbose #44311 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44312 > │ US0_1 │
00:23:38 verbose #44313 > │ let struct (v63 : float, v64 : float, v65 : float, v66 : float, v67 : │
00:23:38 verbose #44314 > │ float, v68 : float, v69 : float, v70 : float, v71 : float) = │
00:23:38 verbose #44315 > │ match v35 with │
00:23:38 verbose #44316 > │ | US0_1 -> (* None *) │
00:23:38 verbose #44317 > │ failwith<struct (float * float * float * float * float * float * │
00:23:38 verbose #44318 > │ float * float * float)> "Option does not have a value." │
00:23:38 verbose #44319 > │ | US0_0(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> (* Some *) │
00:23:38 verbose #44320 > │ struct (v36, v37, v38, v39, v40, v41, v42, v43, v44) │
00:23:38 verbose #44321 > │ let v72 : bool = v68 <= 10.0 │
00:23:38 verbose #44322 > │ if v72 then │
00:23:38 verbose #44323 > │ let v73 : UH4 = UH4_1(v21, v1) │
00:23:38 verbose #44324 > │ let v74 : int32 = v2 + 1 │
00:23:38 verbose #44325 > │ method9(v0, v73, v74) │
00:23:38 verbose #44326 > │ else │
00:23:38 verbose #44327 > │ let v76 : UH4 = UH4_0 │
00:23:38 verbose #44328 > │ method11(v1, v76) │
00:23:38 verbose #44329 > │ and method13 (v0 : UH0, v1 : UH6) : UH6 = │
00:23:38 verbose #44330 > │ match v0 with │
00:23:38 verbose #44331 > │ | UH0_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:38 verbose #44332 > │ let v12 : UH6 = method13(v11, v1) │
00:23:38 verbose #44333 > │ let v13 : float = v8 * v8 │
00:23:38 verbose #44334 > │ let v14 : float = v9 * v9 │
00:23:38 verbose #44335 > │ let v15 : float = v13 + v14 │
00:23:38 verbose #44336 > │ let v16 : float = v10 * v10 │
00:23:38 verbose #44337 > │ let v17 : float = v15 + v16 │
00:23:38 verbose #44338 > │ let v18 : float = sqrt v17 │
00:23:38 verbose #44339 > │ let v19 : float = 0.5 * v3 │
00:23:38 verbose #44340 > │ let v20 : float = v18 ** 2.0 │
00:23:38 verbose #44341 > │ let v21 : float = v19 * v20 │
00:23:38 verbose #44342 > │ UH6_1(v21, v12) │
00:23:38 verbose #44343 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44344 > │ v1 │
00:23:38 verbose #44345 > │ and method14 (v0 : UH6, v1 : float) : float = │
00:23:38 verbose #44346 > │ match v0 with │
00:23:38 verbose #44347 > │ | UH6_1(v2, v3) -> (* Cons *) │
00:23:38 verbose #44348 > │ let v4 : float = v1 + v2 │
00:23:38 verbose #44349 > │ method14(v3, v4) │
00:23:38 verbose #44350 > │ | UH6_0 -> (* Nil *) │
00:23:38 verbose #44351 > │ v1 │
00:23:38 verbose #44352 > │ and method12 (v0 : UH4, v1 : UH5) : UH5 = │
00:23:38 verbose #44353 > │ match v0 with │
00:23:38 verbose #44354 > │ | UH4_1(v2, v3) -> (* Cons *) │
00:23:38 verbose #44355 > │ let v4 : UH5 = method12(v3, v1) │
00:23:38 verbose #44356 > │ let v18 : US0 = │
00:23:38 verbose #44357 > │ match v2 with │
00:23:38 verbose #44358 > │ | UH0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons │
00:23:38 verbose #44359 > │ *) │
00:23:38 verbose #44360 > │ US0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13) │
00:23:38 verbose #44361 > │ | UH0_0 -> (* Nil *) │
00:23:38 verbose #44362 > │ US0_1 │
00:23:38 verbose #44363 > │ let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50 │
00:23:38 verbose #44364 > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) = │
00:23:38 verbose #44365 > │ match v18 with │
00:23:38 verbose #44366 > │ | US0_1 -> (* None *) │
00:23:38 verbose #44367 > │ failwith<struct (float * float * float * float * float * │
00:23:38 verbose #44368 > │ float * float * float * float)> "Option does not have a value." │
00:23:38 verbose #44369 > │ | US0_0(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some │
00:23:38 verbose #44370 > │ *) │
00:23:38 verbose #44371 > │ struct (v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:23:38 verbose #44372 > │ let v55 : UH6 = UH6_0 │
00:23:38 verbose #44373 > │ let v56 : UH6 = method13(v2, v55) │
00:23:38 verbose #44374 > │ let v57 : float = 0.0 │
00:23:38 verbose #44375 > │ let v58 : float = method14(v56, v57) │
00:23:38 verbose #44376 > │ UH5_1(v51, v58, v4) │
00:23:38 verbose #44377 > │ | UH4_0 -> (* Nil *) │
00:23:38 verbose #44378 > │ v1 │
00:23:38 verbose #44379 > │ and method15 (v0 : UH5, v1 : UH6, v2 : UH6) : struct (UH6 * UH6) = │
00:23:38 verbose #44380 > │ match v0 with │
00:23:38 verbose #44381 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:23:38 verbose #44382 > │ let v6 : UH6 = UH6_1(v3, v1) │
00:23:39 verbose #44383 > │ let v7 : UH6 = UH6_1(v4, v2) │
00:23:39 verbose #44384 > │ method15(v5, v6, v7) │
00:23:39 verbose #44385 > │ | UH5_0 -> (* Nil *) │
00:23:39 verbose #44386 > │ struct (v1, v2) │
00:23:39 verbose #44387 > │ and method16 (v0 : UH6, v1 : UH6) : UH6 = │
00:23:39 verbose #44388 > │ match v0 with │
00:23:39 verbose #44389 > │ | UH6_1(v2, v3) -> (* Cons *) │
00:23:39 verbose #44390 > │ let v4 : UH6 = UH6_1(v2, v1) │
00:23:39 verbose #44391 > │ method16(v3, v4) │
00:23:39 verbose #44392 > │ | UH6_0 -> (* Nil *) │
00:23:39 verbose #44393 > │ v1 │
00:23:39 verbose #44394 > │ and method18 (v0 : UH1, v1 : UH1) : UH1 = │
00:23:39 verbose #44395 > │ match v0 with │
00:23:39 verbose #44396 > │ | UH1_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:23:39 verbose #44397 > │ let v12 : UH1 = UH1_1(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:23:39 verbose #44398 > │ method18(v11, v12) │
00:23:39 verbose #44399 > │ | UH1_0 -> (* Nil *) │
00:23:39 verbose #44400 > │ v1 │
00:23:39 verbose #44401 > │ and method17 (v0 : UH1, v1 : UH1, v2 : UH1) : UH1 = │
00:23:39 verbose #44402 > │ match v1 with │
00:23:39 verbose #44403 > │ | UH1_1(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:23:39 verbose #44404 > │ match v2 with │
00:23:39 verbose #44405 > │ | UH1_1(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │
00:23:39 verbose #44406 > │ *) │
00:23:39 verbose #44407 > │ let v23 : float = v3 + v13 │
00:23:39 verbose #44408 > │ let v24 : float = v4 + v14 │
00:23:39 verbose #44409 > │ let v25 : float = v8 + v18 │
00:23:39 verbose #44410 > │ let v26 : float = v5 + v15 │
00:23:39 verbose #44411 > │ let v27 : float = v6 + v16 │
00:23:39 verbose #44412 > │ let v28 : float = v7 + v17 │
00:23:39 verbose #44413 > │ let v29 : float = v9 + v19 │
00:23:39 verbose #44414 > │ let v30 : float = v10 + v20 │
00:23:39 verbose #44415 > │ let v31 : float = v11 + v21 │
00:23:39 verbose #44416 > │ let v32 : UH1 = UH1_1(v23, v24, v26, v27, v28, v25, v29, v30, │
00:23:39 verbose #44417 > │ v31, v0) │
00:23:39 verbose #44418 > │ method17(v32, v12, v22) │
00:23:39 verbose #44419 > │ | _ -> │
00:23:39 verbose #44420 > │ let v34 : UH1 = UH1_0 │
00:23:39 verbose #44421 > │ method18(v0, v34) │
00:23:39 verbose #44422 > │ | _ -> │
00:23:39 verbose #44423 > │ let v37 : UH1 = UH1_0 │
00:23:39 verbose #44424 > │ method18(v0, v37) │
00:23:39 verbose #44425 > │ and closure8 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:23:39 verbose #44426 > │ let v3 : UH1 = v1 v2 │
00:23:39 verbose #44427 > │ let v4 : float = v0 / 2.0 │
00:23:39 verbose #44428 > │ let v5 : UH0 = UH0_0 │
00:23:39 verbose #44429 > │ let v6 : UH0 = method1(v4, v5, v3, v2) │
00:23:39 verbose #44430 > │ let v7 : UH1 = v1 v6 │
00:23:39 verbose #44431 > │ let v8 : UH0 = UH0_0 │
00:23:39 verbose #44432 > │ let v9 : UH0 = method1(v4, v8, v7, v2) │
00:23:39 verbose #44433 > │ let v10 : UH1 = v1 v9 │
00:23:39 verbose #44434 > │ let v11 : UH0 = UH0_0 │
00:23:39 verbose #44435 > │ let v12 : UH0 = method1(v0, v11, v10, v2) │
00:23:39 verbose #44436 > │ let v13 : UH1 = v1 v12 │
00:23:39 verbose #44437 > │ let v14 : float = v0 / 6.0 │
00:23:39 verbose #44438 > │ let v15 : UH1 = UH1_0 │
00:23:39 verbose #44439 > │ let v16 : UH1 = method17(v15, v3, v7) │
00:23:39 verbose #44440 > │ let v17 : UH1 = UH1_0 │
00:23:39 verbose #44441 > │ let v18 : UH1 = method17(v17, v16, v7) │
00:23:39 verbose #44442 > │ let v19 : UH1 = UH1_0 │
00:23:39 verbose #44443 > │ let v20 : UH1 = method17(v19, v18, v10) │
00:23:39 verbose #44444 > │ let v21 : UH1 = UH1_0 │
00:23:39 verbose #44445 > │ let v22 : UH1 = method17(v21, v20, v10) │
00:23:39 verbose #44446 > │ let v23 : UH1 = UH1_0 │
00:23:39 verbose #44447 > │ let v24 : UH1 = method17(v23, v22, v13) │
00:23:39 verbose #44448 > │ let v25 : UH0 = UH0_0 │
00:23:39 verbose #44449 > │ let v26 : UH0 = method1(v14, v25, v24, v2) │
00:23:39 verbose #44450 > │ v26 │
00:23:39 verbose #44451 > │ and closure7 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:23:39 verbose #44452 > │ closure8(v0, v1) │
00:23:39 verbose #44453 > │ and closure6 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:23:39 verbose #44454 > │ closure7(v0) │
00:23:39 verbose #44455 > │ and method19 (v0 : UH4, v1 : UH5) : UH5 = │
00:23:39 verbose #44456 > │ match v0 with │
00:23:39 verbose #44457 > │ | UH4_1(v2, v3) -> (* Cons *) │
00:23:39 verbose #44458 > │ let v4 : UH5 = method19(v3, v1) │
00:23:39 verbose #44459 > │ let v18 : US0 = │
00:23:39 verbose #44460 > │ match v2 with │
00:23:39 verbose #44461 > │ | UH0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons │
00:23:39 verbose #44462 > │ *) │
00:23:39 verbose #44463 > │ US0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13) │
00:23:39 verbose #44464 > │ | UH0_0 -> (* Nil *) │
00:23:39 verbose #44465 > │ US0_1 │
00:23:39 verbose #44466 > │ let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50 │
00:23:39 verbose #44467 > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) = │
00:23:39 verbose #44468 > │ match v18 with │
00:23:39 verbose #44469 > │ | US0_1 -> (* None *) │
00:23:39 verbose #44470 > │ failwith<struct (float * float * float * float * float * │
00:23:39 verbose #44471 > │ float * float * float * float)> "Option does not have a value." │
00:23:39 verbose #44472 > │ | US0_0(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some │
00:23:39 verbose #44473 > │ *) │
00:23:39 verbose #44474 > │ struct (v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:23:39 verbose #44475 > │ let v55 : UH6 = UH6_0 │
00:23:39 verbose #44476 > │ let v56 : UH6 = method13(v2, v55) │
00:23:39 verbose #44477 > │ let v57 : float = 0.0 │
00:23:39 verbose #44478 > │ let v58 : float = method14(v56, v57) │
00:23:39 verbose #44479 > │ UH5_1(v51, v58, v4) │
00:23:39 verbose #44480 > │ | UH4_0 -> (* Nil *) │
00:23:39 verbose #44481 > │ v1 │
00:23:39 verbose #44482 > │ and method21 (v0 : UH6, v1 : int32) : int32 = │
00:23:39 verbose #44483 > │ match v0 with │
00:23:39 verbose #44484 > │ | UH6_1(v2, v3) -> (* Cons *) │
00:23:39 verbose #44485 > │ let v4 : int32 = v1 + 1 │
00:23:39 verbose #44486 > │ method21(v3, v4) │
00:23:39 verbose #44487 > │ | UH6_0 -> (* Nil *) │
00:23:39 verbose #44488 > │ v1 │
00:23:39 verbose #44489 > │ and method22 (v0 : (float []), v1 : UH6, v2 : int32) : int32 = │
00:23:39 verbose #44490 > │ match v1 with │
00:23:39 verbose #44491 > │ | UH6_1(v3, v4) -> (* Cons *) │
00:23:39 verbose #44492 > │ v0.[int v2] <- v3 │
00:23:39 verbose #44493 > │ let v5 : int32 = v2 + 1 │
00:23:39 verbose #44494 > │ method22(v0, v4, v5) │
00:23:39 verbose #44495 > │ | UH6_0 -> (* Nil *) │
00:23:39 verbose #44496 > │ v2 │
00:23:39 verbose #44497 > │ and method20 (v0 : UH6) : (float []) = │
00:23:39 verbose #44498 > │ let v1 : int32 = 0 │
00:23:39 verbose #44499 > │ let v2 : int32 = method21(v0, v1) │
00:23:39 verbose #44500 > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:23:39 verbose #44501 > │ let v4 : int32 = 0 │
00:23:39 verbose #44502 > │ let v5 : int32 = method22(v3, v0, v4) │
00:23:39 verbose #44503 > │ v3 │
00:23:39 verbose #44504 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:39 verbose #44505 > │ []) * (float [])) [])) = │
00:23:39 verbose #44506 > │ let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0() │
00:23:39 verbose #44507 > │ let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03 │
00:23:39 verbose #44508 > │ let v2 : (UH0 -> UH1) = closure3() │
00:23:39 verbose #44509 > │ let v3 : (UH0 -> UH0) = v1 v2 │
00:23:39 verbose #44510 > │ let v4 : UH4 = UH4_0 │
00:23:39 verbose #44511 > │ let v5 : int32 = 0 │
00:23:39 verbose #44512 > │ let v6 : UH4 = method9(v3, v4, v5) │
00:23:39 verbose #44513 > │ let v7 : UH5 = UH5_0 │
00:23:39 verbose #44514 > │ let v8 : UH5 = method12(v6, v7) │
00:23:39 verbose #44515 > │ let v9 : UH6 = UH6_0 │
00:23:39 verbose #44516 > │ let v10 : UH6 = UH6_0 │
00:23:39 verbose #44517 > │ let struct (v11 : UH6, v12 : UH6) = method15(v8, v9, v10) │
00:23:39 verbose #44518 > │ let v13 : UH6 = UH6_0 │
00:23:39 verbose #44519 > │ let v14 : UH6 = method16(v11, v13) │
00:23:39 verbose #44520 > │ let v15 : UH6 = UH6_0 │
00:23:39 verbose #44521 > │ let v16 : UH6 = method16(v12, v15) │
00:23:39 verbose #44522 > │ let v17 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure6() │
00:23:39 verbose #44523 > │ let v18 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v17 0.03 │
00:23:39 verbose #44524 > │ let v19 : (UH0 -> UH0) = v18 v2 │
00:23:39 verbose #44525 > │ let v20 : UH4 = UH4_0 │
00:23:39 verbose #44526 > │ let v21 : int32 = 0 │
00:23:39 verbose #44527 > │ let v22 : UH4 = method9(v19, v20, v21) │
00:23:39 verbose #44528 > │ let v23 : UH5 = UH5_0 │
00:23:39 verbose #44529 > │ let v24 : UH5 = method19(v22, v23) │
00:23:39 verbose #44530 > │ let v25 : UH6 = UH6_0 │
00:23:39 verbose #44531 > │ let v26 : UH6 = UH6_0 │
00:23:39 verbose #44532 > │ let struct (v27 : UH6, v28 : UH6) = method15(v24, v25, v26) │
00:23:39 verbose #44533 > │ let v29 : UH6 = UH6_0 │
00:23:39 verbose #44534 > │ let v30 : UH6 = method16(v27, v29) │
00:23:39 verbose #44535 > │ let v31 : UH6 = UH6_0 │
00:23:39 verbose #44536 > │ let v32 : UH6 = method16(v28, v31) │
00:23:39 verbose #44537 > │ let v33 : (float []) = method20(v14) │
00:23:39 verbose #44538 > │ let v34 : (float []) = method20(v16) │
00:23:39 verbose #44539 > │ let v35 : (float []) = method20(v30) │
00:23:39 verbose #44540 > │ let v36 : (float []) = method20(v32) │
00:23:39 verbose #44541 > │ let v37 : string = "euler-cromer" │
00:23:39 verbose #44542 > │ let v38 : string = "runge-kutta 4" │
00:23:39 verbose #44543 > │ let v39 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:39 verbose #44544 > │ (v37, v33, v34); struct (v38, v35, v36)|] │
00:23:39 verbose #44545 > │ let v40 : string = "system kinetic energy versus time" │
00:23:39 verbose #44546 > │ let v41 : string = "time (s)" │
00:23:39 verbose #44547 > │ let v42 : string = "system kinetic energy (j)" │
00:23:39 verbose #44548 > │ struct (v40, v41, v42, v39) │
00:23:39 verbose #44549 > │ method0() │
00:23:39 verbose #44550 > │ │
00:23:39 verbose #44551 > │ │
00:23:39 verbose #44552 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:39 verbose #44553 >
00:23:39 verbose #44554 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:39 verbose #44555 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:39 verbose #44556 > │ ### wave 1 │
00:23:39 verbose #44557 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:39 verbose #44558 >
00:23:39 verbose #44559 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:39 verbose #44560 > //// test
00:23:39 verbose #44561 >
00:23:39 verbose #44562 > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:23:39 verbose #44563 > inl r1 = st1.pos_vec
00:23:39 verbose #44564 > inl r2 = st2.pos_vec
00:23:39 verbose #44565 > inl r21 = r2 ^-^ r1
00:23:39 verbose #44566 > inl r21mag = magnitude r21
00:23:39 verbose #44567 > -k * (r21mag - re) *^ r21 ^/ r21mag
00:23:39 verbose #44568 >
00:23:39 verbose #44569 > inl fixed_linear_spring k re r1 =
00:23:39 verbose #44570 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:39 verbose #44571 > linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:23:39 verbose #44572 > r1 })
00:23:39 verbose #44573 >
00:23:39 verbose #44574 > inl forces_string () =
00:23:39 verbose #44575 > [[
00:23:39 verbose #44576 > ExternalForce (0, fixed_linear_spring 5384 0 (zero_vec ()))
00:23:39 verbose #44577 > ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:23:39 verbose #44578 > ]] /@ (
00:23:39 verbose #44579 > listm'.init_series 0 59 1
00:23:39 verbose #44580 > |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:23:39 verbose #44581 > )
00:23:39 verbose #44582 >
00:23:39 verbose #44583 > inl string_update dt =
00:23:39 verbose #44584 > update_mps (runge_kutta_4 dt) (forces_string ())
00:23:39 verbose #44585 >
00:23:39 verbose #44586 > inl string_initial_overtone n =
00:23:39 verbose #44587 > inl ball_mass = 0.0008293 * 0.65 / 64
00:23:39 verbose #44588 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:39 verbose #44589 > listm'.init_series 0.01 0.64 0.01
00:23:39 verbose #44590 > |> listm.map (fun x =>
00:23:39 verbose #44591 > inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:23:39 verbose #44592 > particle_state {
00:23:39 verbose #44593 > default_particle_state' with
00:23:39 verbose #44594 > mass = ball_mass
00:23:39 verbose #44595 > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:23:39 verbose #44596 > velocity = zero_vec ()
00:23:39 verbose #44597 > }
00:23:39 verbose #44598 > )
00:23:39 verbose #44599 > |> multi_particle_state
00:23:39 verbose #44600 >
00:23:39 verbose #44601 > inl string_initial_pluck () =
00:23:39 verbose #44602 > inl ball_mass = 0.0008293 * 0.65 / 64
00:23:39 verbose #44603 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:39 verbose #44604 > listm'.init_series 0.01 0.64 0.01
00:23:39 verbose #44605 > |> listm.map (fun x =>
00:23:39 verbose #44606 > inl y =
00:23:39 verbose #44607 > inl n = if x <= 0.51 then 0 else 0.65
00:23:39 verbose #44608 > 0.005 / (0.51 - n) * (x - n)
00:23:39 verbose #44609 > particle_state {
00:23:39 verbose #44610 > default_particle_state' with
00:23:39 verbose #44611 > mass = ball_mass
00:23:39 verbose #44612 > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:23:39 verbose #44613 > velocity = zero_vec ()
00:23:39 verbose #44614 > }
00:23:39 verbose #44615 > )
00:23:39 verbose #44616 > |> multi_particle_state
00:23:39 verbose #44617 >
00:23:39 verbose #44618 > let main () =
00:23:39 verbose #44619 > inl ~frames = listm'.init_series 0 9 1f64
00:23:39 verbose #44620 > inl initial_state = string_initial_overtone 3i32
00:23:39 verbose #44621 > inl frames =
00:23:39 verbose #44622 > frames
00:23:39 verbose #44623 > |> listm.map (fun n =>
00:23:39 verbose #44624 > inl (multi_particle_state sts) =
00:23:39 verbose #44625 > seq.iterate' (string_update 0.000025) initial_state |> fun f =>
00:23:39 verbose #44626 > f 0f64
00:23:39 verbose #44627 > inl rs =
00:23:39 verbose #44628 > [[ zero_vec () ]]
00:23:39 verbose #44629 > /@ (sts |> listm.map (fun (particle_state st) => st.pos_vec))
00:23:39 verbose #44630 > /@ [[ 0.65 *^ i_hat () ]]
00:23:39 verbose #44631 > inl x, y =
00:23:39 verbose #44632 > rs
00:23:39 verbose #44633 > |> listm.map (fun r => r.x, r.y)
00:23:39 verbose #44634 > |> listm'.unzip
00:23:39 verbose #44635 > inl x : a i32 _ = x |> listm.toArray
00:23:39 verbose #44636 > inl y : a i32 _ = y |> listm.toArray
00:23:39 verbose #44637 > x, y
00:23:39 verbose #44638 > )
00:23:39 verbose #44639 > |> listm.toArray : a i32 _
00:23:39 verbose #44640 >
00:23:39 verbose #44641 > inl n = 0i32
00:23:39 verbose #44642 >
00:23:39 verbose #44643 > inl x, y = index frames n
00:23:39 verbose #44644 >
00:23:39 verbose #44645 > "wave",
00:23:39 verbose #44646 > "position (m)",
00:23:39 verbose #44647 > "displacement (m)",
00:23:39 verbose #44648 > ;[[
00:23:39 verbose #44649 > ($"$\"{!n}\"" : string), x, y
00:23:39 verbose #44650 > ]]
00:23:39 verbose #44651 > 00:23:38 debug #857 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6de08ddffddb0856e68445979380fe69f8c625602d2bbb055eecfa8dbde10142/main.spi
00:23:40 verbose #44652 >
00:23:40 verbose #44653 > ╭─[ 955.41ms - return value ]──────────────────────────────────────────────────╮
00:23:40 verbose #44654 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:40 verbose #44655 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:40 verbose #44656 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:40 verbose #44657 > │ stroke="none"/> │
00:23:40 verbose #44658 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:40 verbose #44659 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:40 verbose #44660 > │ fill="#FFFFFF"> │
00:23:40 verbose #44661 > │ wave │
00:23:40 verbose #44662 > │ </text> │
00:23:40 verbose #44663 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:23:40 verbose #44664 > │ y2="75"/> │
00:23:40 verbose #44665 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:40 verbose #44666 > │ y2="75"/> │
00:23:40 verbose #44667 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:23:40 verbose #44668 > │ y2="75"/> │
00:23:40 verbose #44669 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" x2="85" │
00:23:40 verbose #44670 > │ y2="75"/> │
00:23:40 verbose #44671 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:23:40 verbose #44672 > │ y2... │
00:23:40 verbose #44673 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:40 verbose #44674 >
00:23:40 verbose #44675 > ╭─[ 969.15ms - stdout ]────────────────────────────────────────────────────────╮
00:23:40 verbose #44676 > │ type UH0 = │
00:23:40 verbose #44677 > │ | UH0_0 │
00:23:40 verbose #44678 > │ | UH0_1 of float * UH0 │
00:23:40 verbose #44679 > │ and UH1 = │
00:23:40 verbose #44680 > │ | UH1_0 │
00:23:40 verbose #44681 > │ | UH1_1 of (float []) * (float []) * UH1 │
00:23:40 verbose #44682 > │ let rec method3 (v0 : UH0, v1 : int32) : int32 = │
00:23:40 verbose #44683 > │ match v0 with │
00:23:40 verbose #44684 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:23:40 verbose #44685 > │ let v4 : int32 = v1 + 1 │
00:23:40 verbose #44686 > │ method3(v3, v4) │
00:23:40 verbose #44687 > │ | UH0_0 -> (* Nil *) │
00:23:40 verbose #44688 > │ v1 │
00:23:40 verbose #44689 > │ and method4 (v0 : (float []), v1 : UH0, v2 : int32) : int32 = │
00:23:40 verbose #44690 > │ match v1 with │
00:23:40 verbose #44691 > │ | UH0_1(v3, v4) -> (* Cons *) │
00:23:40 verbose #44692 > │ v0.[int v2] <- v3 │
00:23:40 verbose #44693 > │ let v5 : int32 = v2 + 1 │
00:23:40 verbose #44694 > │ method4(v0, v4, v5) │
00:23:40 verbose #44695 > │ | UH0_0 -> (* Nil *) │
00:23:40 verbose #44696 > │ v2 │
00:23:40 verbose #44697 > │ and method2 (v0 : UH0) : (float []) = │
00:23:40 verbose #44698 > │ let v1 : int32 = 0 │
00:23:40 verbose #44699 > │ let v2 : int32 = method3(v0, v1) │
00:23:40 verbose #44700 > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:23:40 verbose #44701 > │ let v4 : int32 = 0 │
00:23:40 verbose #44702 > │ let v5 : int32 = method4(v3, v0, v4) │
00:23:40 verbose #44703 > │ v3 │
00:23:40 verbose #44704 > │ and method1 (v0 : UH0, v1 : UH1) : UH1 = │
00:23:40 verbose #44705 > │ match v0 with │
00:23:40 verbose #44706 > │ | UH0_1(v2, v3) -> (* Cons *) │
00:23:40 verbose #44707 > │ let v4 : UH1 = method1(v3, v1) │
00:23:40 verbose #44708 > │ let v5 : float = 0.0 │
00:23:40 verbose #44709 > │ let v6 : float = 0.01 │
00:23:40 verbose #44710 > │ let v7 : float = 0.02 │
00:23:40 verbose #44711 > │ let v8 : float = 0.03 │
00:23:40 verbose #44712 > │ let v9 : float = 0.04 │
00:23:40 verbose #44713 > │ let v10 : float = 0.05 │
00:23:40 verbose #44714 > │ let v11 : float = 0.060000000000000005 │
00:23:40 verbose #44715 > │ let v12 : float = 0.06999999999999999 │
00:23:40 verbose #44716 > │ let v13 : float = 0.08 │
00:23:40 verbose #44717 > │ let v14 : float = 0.09 │
00:23:40 verbose #44718 > │ let v15 : float = 0.09999999999999999 │
00:23:40 verbose #44719 > │ let v16 : float = 0.11 │
00:23:40 verbose #44720 > │ let v17 : float = 0.12 │
00:23:40 verbose #44721 > │ let v18 : float = 0.13 │
00:23:40 verbose #44722 > │ let v19 : float = 0.14 │
00:23:40 verbose #44723 > │ let v20 : float = 0.15000000000000002 │
00:23:40 verbose #44724 > │ let v21 : float = 0.16 │
00:23:40 verbose #44725 > │ let v22 : float = 0.17 │
00:23:40 verbose #44726 > │ let v23 : float = 0.18000000000000002 │
00:23:40 verbose #44727 > │ let v24 : float = 0.19 │
00:23:40 verbose #44728 > │ let v25 : float = 0.2 │
00:23:40 verbose #44729 > │ let v26 : float = 0.21000000000000002 │
00:23:40 verbose #44730 > │ let v27 : float = 0.22 │
00:23:40 verbose #44731 > │ let v28 : float = 0.23 │
00:23:40 verbose #44732 > │ let v29 : float = 0.24000000000000002 │
00:23:40 verbose #44733 > │ let v30 : float = 0.25 │
00:23:40 verbose #44734 > │ let v31 : float = 0.26 │
00:23:40 verbose #44735 > │ let v32 : float = 0.27 │
00:23:40 verbose #44736 > │ let v33 : float = 0.28 │
00:23:40 verbose #44737 > │ let v34 : float = 0.29000000000000004 │
00:23:40 verbose #44738 > │ let v35 : float = 0.3 │
00:23:40 verbose #44739 > │ let v36 : float = 0.31 │
00:23:40 verbose #44740 > │ let v37 : float = 0.32 │
00:23:40 verbose #44741 > │ let v38 : float = 0.33 │
00:23:40 verbose #44742 > │ let v39 : float = 0.34 │
00:23:40 verbose #44743 > │ let v40 : float = 0.35000000000000003 │
00:23:40 verbose #44744 > │ let v41 : float = 0.36000000000000004 │
00:23:40 verbose #44745 > │ let v42 : float = 0.37 │
00:23:40 verbose #44746 > │ let v43 : float = 0.38 │
00:23:40 verbose #44747 > │ let v44 : float = 0.39 │
00:23:40 verbose #44748 > │ let v45 : float = 0.4 │
00:23:40 verbose #44749 > │ let v46 : float = 0.41000000000000003 │
00:23:40 verbose #44750 > │ let v47 : float = 0.42000000000000004 │
00:23:40 verbose #44751 > │ let v48 : float = 0.43 │
00:23:40 verbose #44752 > │ let v49 : float = 0.44 │
00:23:40 verbose #44753 > │ let v50 : float = 0.45 │
00:23:40 verbose #44754 > │ let v51 : float = 0.46 │
00:23:40 verbose #44755 > │ let v52 : float = 0.47000000000000003 │
00:23:40 verbose #44756 > │ let v53 : float = 0.48000000000000004 │
00:23:40 verbose #44757 > │ let v54 : float = 0.49 │
00:23:40 verbose #44758 > │ let v55 : float = 0.5 │
00:23:40 verbose #44759 > │ let v56 : float = 0.51 │
00:23:40 verbose #44760 > │ let v57 : float = 0.52 │
00:23:40 verbose #44761 > │ let v58 : float = 0.53 │
00:23:40 verbose #44762 > │ let v59 : float = 0.54 │
00:23:40 verbose #44763 > │ let v60 : float = 0.55 │
00:23:40 verbose #44764 > │ let v61 : float = 0.56 │
00:23:40 verbose #44765 > │ let v62 : float = 0.5700000000000001 │
00:23:40 verbose #44766 > │ let v63 : float = 0.5800000000000001 │
00:23:40 verbose #44767 > │ let v64 : float = 0.59 │
00:23:40 verbose #44768 > │ let v65 : float = 0.6 │
00:23:40 verbose #44769 > │ let v66 : float = 0.61 │
00:23:40 verbose #44770 > │ let v67 : float = 0.62 │
00:23:40 verbose #44771 > │ let v68 : float = 0.63 │
00:23:40 verbose #44772 > │ let v69 : float = 0.64 │
00:23:40 verbose #44773 > │ let v70 : float = 0.65 │
00:23:40 verbose #44774 > │ let v71 : UH0 = UH0_0 │
00:23:40 verbose #44775 > │ let v72 : UH0 = UH0_1(v70, v71) │
00:23:40 verbose #44776 > │ let v73 : UH0 = UH0_1(v69, v72) │
00:23:40 verbose #44777 > │ let v74 : UH0 = UH0_1(v68, v73) │
00:23:40 verbose #44778 > │ let v75 : UH0 = UH0_1(v67, v74) │
00:23:40 verbose #44779 > │ let v76 : UH0 = UH0_1(v66, v75) │
00:23:40 verbose #44780 > │ let v77 : UH0 = UH0_1(v65, v76) │
00:23:40 verbose #44781 > │ let v78 : UH0 = UH0_1(v64, v77) │
00:23:40 verbose #44782 > │ let v79 : UH0 = UH0_1(v63, v78) │
00:23:40 verbose #44783 > │ let v80 : UH0 = UH0_1(v62, v79) │
00:23:40 verbose #44784 > │ let v81 : UH0 = UH0_1(v61, v80) │
00:23:40 verbose #44785 > │ let v82 : UH0 = UH0_1(v60, v81) │
00:23:40 verbose #44786 > │ let v83 : UH0 = UH0_1(v59, v82) │
00:23:40 verbose #44787 > │ let v84 : UH0 = UH0_1(v58, v83) │
00:23:40 verbose #44788 > │ let v85 : UH0 = UH0_1(v57, v84) │
00:23:40 verbose #44789 > │ let v86 : UH0 = UH0_1(v56, v85) │
00:23:40 verbose #44790 > │ let v87 : UH0 = UH0_1(v55, v86) │
00:23:40 verbose #44791 > │ let v88 : UH0 = UH0_1(v54, v87) │
00:23:40 verbose #44792 > │ let v89 : UH0 = UH0_1(v53, v88) │
00:23:40 verbose #44793 > │ let v90 : UH0 = UH0_1(v52, v89) │
00:23:40 verbose #44794 > │ let v91 : UH0 = UH0_1(v51, v90) │
00:23:40 verbose #44795 > │ let v92 : UH0 = UH0_1(v50, v91) │
00:23:40 verbose #44796 > │ let v93 : UH0 = UH0_1(v49, v92) │
00:23:40 verbose #44797 > │ let v94 : UH0 = UH0_1(v48, v93) │
00:23:40 verbose #44798 > │ let v95 : UH0 = UH0_1(v47, v94) │
00:23:40 verbose #44799 > │ let v96 : UH0 = UH0_1(v46, v95) │
00:23:40 verbose #44800 > │ let v97 : UH0 = UH0_1(v45, v96) │
00:23:40 verbose #44801 > │ let v98 : UH0 = UH0_1(v44, v97) │
00:23:40 verbose #44802 > │ let v99 : UH0 = UH0_1(v43, v98) │
00:23:40 verbose #44803 > │ let v100 : UH0 = UH0_1(v42, v99) │
00:23:40 verbose #44804 > │ let v101 : UH0 = UH0_1(v41, v100) │
00:23:40 verbose #44805 > │ let v102 : UH0 = UH0_1(v40, v101) │
00:23:40 verbose #44806 > │ let v103 : UH0 = UH0_1(v39, v102) │
00:23:40 verbose #44807 > │ let v104 : UH0 = UH0_1(v38, v103) │
00:23:40 verbose #44808 > │ let v105 : UH0 = UH0_1(v37, v104) │
00:23:40 verbose #44809 > │ let v106 : UH0 = UH0_1(v36, v105) │
00:23:40 verbose #44810 > │ let v107 : UH0 = UH0_1(v35, v106) │
00:23:40 verbose #44811 > │ let v108 : UH0 = UH0_1(v34, v107) │
00:23:40 verbose #44812 > │ let v109 : UH0 = UH0_1(v33, v108) │
00:23:40 verbose #44813 > │ let v110 : UH0 = UH0_1(v32, v109) │
00:23:40 verbose #44814 > │ let v111 : UH0 = UH0_1(v31, v110) │
00:23:40 verbose #44815 > │ let v112 : UH0 = UH0_1(v30, v111) │
00:23:40 verbose #44816 > │ let v113 : UH0 = UH0_1(v29, v112) │
00:23:40 verbose #44817 > │ let v114 : UH0 = UH0_1(v28, v113) │
00:23:40 verbose #44818 > │ let v115 : UH0 = UH0_1(v27, v114) │
00:23:40 verbose #44819 > │ let v116 : UH0 = UH0_1(v26, v115) │
00:23:40 verbose #44820 > │ let v117 : UH0 = UH0_1(v25, v116) │
00:23:40 verbose #44821 > │ let v118 : UH0 = UH0_1(v24, v117) │
00:23:40 verbose #44822 > │ let v119 : UH0 = UH0_1(v23, v118) │
00:23:40 verbose #44823 > │ let v120 : UH0 = UH0_1(v22, v119) │
00:23:40 verbose #44824 > │ let v121 : UH0 = UH0_1(v21, v120) │
00:23:40 verbose #44825 > │ let v122 : UH0 = UH0_1(v20, v121) │
00:23:40 verbose #44826 > │ let v123 : UH0 = UH0_1(v19, v122) │
00:23:40 verbose #44827 > │ let v124 : UH0 = UH0_1(v18, v123) │
00:23:40 verbose #44828 > │ let v125 : UH0 = UH0_1(v17, v124) │
00:23:40 verbose #44829 > │ let v126 : UH0 = UH0_1(v16, v125) │
00:23:40 verbose #44830 > │ let v127 : UH0 = UH0_1(v15, v126) │
00:23:40 verbose #44831 > │ let v128 : UH0 = UH0_1(v14, v127) │
00:23:40 verbose #44832 > │ let v129 : UH0 = UH0_1(v13, v128) │
00:23:40 verbose #44833 > │ let v130 : UH0 = UH0_1(v12, v129) │
00:23:40 verbose #44834 > │ let v131 : UH0 = UH0_1(v11, v130) │
00:23:40 verbose #44835 > │ let v132 : UH0 = UH0_1(v10, v131) │
00:23:40 verbose #44836 > │ let v133 : UH0 = UH0_1(v9, v132) │
00:23:40 verbose #44837 > │ let v134 : UH0 = UH0_1(v8, v133) │
00:23:40 verbose #44838 > │ let v135 : UH0 = UH0_1(v7, v134) │
00:23:40 verbose #44839 > │ let v136 : UH0 = UH0_1(v6, v135) │
00:23:40 verbose #44840 > │ let v137 : UH0 = UH0_1(v5, v136) │
00:23:40 verbose #44841 > │ let v138 : (float []) = method2(v137) │
00:23:40 verbose #44842 > │ let v139 : float = 0.0 │
00:23:40 verbose #44843 > │ let v140 : float = 0.0007224452478461068 │
00:23:40 verbose #44844 > │ let v141 : float = 0.0014297283919934465 │
00:23:40 verbose #44845 > │ let v142 : float = 0.0021070055388626454 │
00:23:40 verbose #44846 > │ let v143 : float = 0.00274006253677335 │
00:23:40 verbose #44847 > │ let v144 : float = 0.0033156132912039757 │
00:23:40 verbose #44848 > │ let v145 : float = 0.0038215786027292415 │
00:23:40 verbose #44849 > │ let v146 : float = 0.004247339675607605 │
00:23:40 verbose #44850 > │ let v147 : float = 0.004583960976582912 │
00:23:40 verbose #44851 > │ let v148 : float = 0.004824377766717757 │
00:23:40 verbose #44852 > │ let v149 : float = 0.00496354437049027 │
00:23:40 verbose #44853 > │ let v150 : float = 0.004998540070400965 │
00:23:40 verbose #44854 > │ let v151 : float = 0.004928630404658255 │
00:23:40 verbose #44855 > │ let v152 : float = 0.004755282581475768 │
00:23:40 verbose #44856 > │ let v153 : float = 0.004482134686478519 │
00:23:40 verbose #44857 > │ let v154 : float = 0.0041149193294682815 │
00:23:40 verbose #44858 > │ let v155 : float = 0.0036613433329888666 │
00:23:40 verbose #44859 > │ let v156 : float = 0.0031309259876915697 │
00:23:40 verbose #44860 > │ let v157 : float = 0.002534799269067951 │
00:23:40 verbose #44861 > │ let v158 : float = 0.0018854742084416015 │
00:23:40 verbose #44862 > │ let v159 : float = 0.0011965783214377905 │
00:23:40 verbose #44863 > │ let v160 : float = 0.00048256960457257535 │
00:23:40 verbose #44864 > │ let v161 : float = -0.00024156689762753317 │
00:23:40 verbose #44865 > │ let v162 : float = -0.0009606335867685418 │
00:23:40 verbose #44866 > │ let v163 : float = -0.001659539265642642 │
00:23:40 verbose #44867 > │ let v164 : float = -0.002323615860218842 │
00:23:40 verbose #44868 > │ let v165 : float = -0.0029389262614623636 │
00:23:40 verbose #44869 > │ let v166 : float = -0.003492556826244686 │
00:23:40 verbose #44870 > │ let v167 : float = -0.003972888398568771 │
00:23:40 verbose #44871 > │ let v168 : float = -0.00436984016313259 │
00:23:40 verbose #44872 > │ let v169 : float = -0.004675081213427074 │
00:23:40 verbose #44873 > │ let v170 : float = -0.004882205394146359 │
00:23:40 verbose #44874 > │ let v171 : float = -0.004986865748457456 │
00:23:40 verbose #44875 > │ let v172 : float = -0.004986865748457456 │
00:23:40 verbose #44876 > │ let v173 : float = -0.004882205394146361 │
00:23:40 verbose #44877 > │ let v174 : float = -0.004675081213427074 │
00:23:40 verbose #44878 > │ let v175 : float = -0.004369840163132589 │
00:23:40 verbose #44879 > │ let v176 : float = -0.003972888398568774 │
00:23:40 verbose #44880 > │ let v177 : float = -0.0034925568262446837 │
00:23:40 verbose #44881 > │ let v178 : float = -0.002938926261462367 │
00:23:40 verbose #44882 > │ let v179 : float = -0.002323615860218846 │
00:23:40 verbose #44883 > │ let v180 : float = -0.0016595392656426435 │
00:23:40 verbose #44884 > │ let v181 : float = -0.0009606335867685414 │
00:23:40 verbose #44885 > │ let v182 : float = -0.00024156689762753724 │
00:23:40 verbose #44886 > │ let v183 : float = 0.0004825696045725713 │
00:23:40 verbose #44887 > │ let v184 : float = 0.0011965783214377866 │
00:23:40 verbose #44888 > │ let v185 : float = 0.0018854742084416021 │
00:23:40 verbose #44889 > │ let v186 : float = 0.002534799269067953 │
00:23:40 verbose #44890 > │ let v187 : float = 0.003130925987691568 │
00:23:40 verbose #44891 > │ let v188 : float = 0.0036613433329888622 │
00:23:40 verbose #44892 > │ let v189 : float = 0.0041149193294682815 │
00:23:40 verbose #44893 > │ let v190 : float = 0.0044821346864785195 │
00:23:40 verbose #44894 > │ let v191 : float = 0.004755282581475766 │
00:23:40 verbose #44895 > │ let v192 : float = 0.004928630404658255 │
00:23:40 verbose #44896 > │ let v193 : float = 0.004998540070400965 │
00:23:40 verbose #44897 > │ let v194 : float = 0.004963544370490271 │
00:23:40 verbose #44898 > │ let v195 : float = 0.004824377766717758 │
00:23:40 verbose #44899 > │ let v196 : float = 0.004583960976582912 │
00:23:40 verbose #44900 > │ let v197 : float = 0.004247339675607605 │
00:23:40 verbose #44901 > │ let v198 : float = 0.003821578602729245 │
00:23:40 verbose #44902 > │ let v199 : float = 0.0033156132912039783 │
00:23:40 verbose #44903 > │ let v200 : float = 0.0027400625367733585 │
00:23:40 verbose #44904 > │ let v201 : float = 0.0021070055388626528 │
00:23:40 verbose #44905 > │ let v202 : float = 0.001429728391993452 │
00:23:40 verbose #44906 > │ let v203 : float = 0.0007224452478461016 │
00:23:40 verbose #44907 > │ let v204 : float = 0.0 │
00:23:40 verbose #44908 > │ let v205 : UH0 = UH0_0 │
00:23:40 verbose #44909 > │ let v206 : UH0 = UH0_1(v204, v205) │
00:23:40 verbose #44910 > │ let v207 : UH0 = UH0_1(v203, v206) │
00:23:40 verbose #44911 > │ let v208 : UH0 = UH0_1(v202, v207) │
00:23:40 verbose #44912 > │ let v209 : UH0 = UH0_1(v201, v208) │
00:23:40 verbose #44913 > │ let v210 : UH0 = UH0_1(v200, v209) │
00:23:40 verbose #44914 > │ let v211 : UH0 = UH0_1(v199, v210) │
00:23:40 verbose #44915 > │ let v212 : UH0 = UH0_1(v198, v211) │
00:23:40 verbose #44916 > │ let v213 : UH0 = UH0_1(v197, v212) │
00:23:40 verbose #44917 > │ let v214 : UH0 = UH0_1(v196, v213) │
00:23:40 verbose #44918 > │ let v215 : UH0 = UH0_1(v195, v214) │
00:23:40 verbose #44919 > │ let v216 : UH0 = UH0_1(v194, v215) │
00:23:40 verbose #44920 > │ let v217 : UH0 = UH0_1(v193, v216) │
00:23:40 verbose #44921 > │ let v218 : UH0 = UH0_1(v192, v217) │
00:23:40 verbose #44922 > │ let v219 : UH0 = UH0_1(v191, v218) │
00:23:40 verbose #44923 > │ let v220 : UH0 = UH0_1(v190, v219) │
00:23:40 verbose #44924 > │ let v221 : UH0 = UH0_1(v189, v220) │
00:23:40 verbose #44925 > │ let v222 : UH0 = UH0_1(v188, v221) │
00:23:40 verbose #44926 > │ let v223 : UH0 = UH0_1(v187, v222) │
00:23:40 verbose #44927 > │ let v224 : UH0 = UH0_1(v186, v223) │
00:23:40 verbose #44928 > │ let v225 : UH0 = UH0_1(v185, v224) │
00:23:40 verbose #44929 > │ let v226 : UH0 = UH0_1(v184, v225) │
00:23:40 verbose #44930 > │ let v227 : UH0 = UH0_1(v183, v226) │
00:23:40 verbose #44931 > │ let v228 : UH0 = UH0_1(v182, v227) │
00:23:40 verbose #44932 > │ let v229 : UH0 = UH0_1(v181, v228) │
00:23:40 verbose #44933 > │ let v230 : UH0 = UH0_1(v180, v229) │
00:23:40 verbose #44934 > │ let v231 : UH0 = UH0_1(v179, v230) │
00:23:40 verbose #44935 > │ let v232 : UH0 = UH0_1(v178, v231) │
00:23:40 verbose #44936 > │ let v233 : UH0 = UH0_1(v177, v232) │
00:23:40 verbose #44937 > │ let v234 : UH0 = UH0_1(v176, v233) │
00:23:40 verbose #44938 > │ let v235 : UH0 = UH0_1(v175, v234) │
00:23:40 verbose #44939 > │ let v236 : UH0 = UH0_1(v174, v235) │
00:23:40 verbose #44940 > │ let v237 : UH0 = UH0_1(v173, v236) │
00:23:40 verbose #44941 > │ let v238 : UH0 = UH0_1(v172, v237) │
00:23:40 verbose #44942 > │ let v239 : UH0 = UH0_1(v171, v238) │
00:23:40 verbose #44943 > │ let v240 : UH0 = UH0_1(v170, v239) │
00:23:40 verbose #44944 > │ let v241 : UH0 = UH0_1(v169, v240) │
00:23:40 verbose #44945 > │ let v242 : UH0 = UH0_1(v168, v241) │
00:23:40 verbose #44946 > │ let v243 : UH0 = UH0_1(v167, v242) │
00:23:40 verbose #44947 > │ let v244 : UH0 = UH0_1(v166, v243) │
00:23:40 verbose #44948 > │ let v245 : UH0 = UH0_1(v165, v244) │
00:23:40 verbose #44949 > │ let v246 : UH0 = UH0_1(v164, v245) │
00:23:40 verbose #44950 > │ let v247 : UH0 = UH0_1(v163, v246) │
00:23:40 verbose #44951 > │ let v248 : UH0 = UH0_1(v162, v247) │
00:23:40 verbose #44952 > │ let v249 : UH0 = UH0_1(v161, v248) │
00:23:40 verbose #44953 > │ let v250 : UH0 = UH0_1(v160, v249) │
00:23:40 verbose #44954 > │ let v251 : UH0 = UH0_1(v159, v250) │
00:23:40 verbose #44955 > │ let v252 : UH0 = UH0_1(v158, v251) │
00:23:40 verbose #44956 > │ let v253 : UH0 = UH0_1(v157, v252) │
00:23:40 verbose #44957 > │ let v254 : UH0 = UH0_1(v156, v253) │
00:23:40 verbose #44958 > │ let v255 : UH0 = UH0_1(v155, v254) │
00:23:40 verbose #44959 > │ let v256 : UH0 = UH0_1(v154, v255) │
00:23:40 verbose #44960 > │ let v257 : UH0 = UH0_1(v153, v256) │
00:23:40 verbose #44961 > │ let v258 : UH0 = UH0_1(v152, v257) │
00:23:40 verbose #44962 > │ let v259 : UH0 = UH0_1(v151, v258) │
00:23:40 verbose #44963 > │ let v260 : UH0 = UH0_1(v150, v259) │
00:23:40 verbose #44964 > │ let v261 : UH0 = UH0_1(v149, v260) │
00:23:40 verbose #44965 > │ let v262 : UH0 = UH0_1(v148, v261) │
00:23:40 verbose #44966 > │ let v263 : UH0 = UH0_1(v147, v262) │
00:23:40 verbose #44967 > │ let v264 : UH0 = UH0_1(v146, v263) │
00:23:40 verbose #44968 > │ let v265 : UH0 = UH0_1(v145, v264) │
00:23:40 verbose #44969 > │ let v266 : UH0 = UH0_1(v144, v265) │
00:23:40 verbose #44970 > │ let v267 : UH0 = UH0_1(v143, v266) │
00:23:40 verbose #44971 > │ let v268 : UH0 = UH0_1(v142, v267) │
00:23:40 verbose #44972 > │ let v269 : UH0 = UH0_1(v141, v268) │
00:23:40 verbose #44973 > │ let v270 : UH0 = UH0_1(v140, v269) │
00:23:40 verbose #44974 > │ let v271 : UH0 = UH0_1(v139, v270) │
00:23:40 verbose #44975 > │ let v272 : (float []) = method2(v271) │
00:23:40 verbose #44976 > │ UH1_1(v138, v272, v4) │
00:23:40 verbose #44977 > │ | UH0_0 -> (* Nil *) │
00:23:40 verbose #44978 > │ v1 │
00:23:40 verbose #44979 > │ and method6 (v0 : UH1, v1 : int32) : int32 = │
00:23:40 verbose #44980 > │ match v0 with │
00:23:40 verbose #44981 > │ | UH1_1(v2, v3, v4) -> (* Cons *) │
00:23:40 verbose #44982 > │ let v5 : int32 = v1 + 1 │
00:23:40 verbose #44983 > │ method6(v4, v5) │
00:23:40 verbose #44984 > │ | UH1_0 -> (* Nil *) │
00:23:40 verbose #44985 > │ v1 │
00:23:40 verbose #44986 > │ and method7 (v0 : (struct ((float []) * (float [])) []), v1 : UH1, v2 : │
00:23:40 verbose #44987 > │ int32) : int32 = │
00:23:40 verbose #44988 > │ match v1 with │
00:23:40 verbose #44989 > │ | UH1_1(v3, v4, v5) -> (* Cons *) │
00:23:40 verbose #44990 > │ v0.[int v2] <- struct (v3, v4) │
00:23:40 verbose #44991 > │ let v6 : int32 = v2 + 1 │
00:23:40 verbose #44992 > │ method7(v0, v5, v6) │
00:23:40 verbose #44993 > │ | UH1_0 -> (* Nil *) │
00:23:40 verbose #44994 > │ v2 │
00:23:40 verbose #44995 > │ and method5 (v0 : UH1) : (struct ((float []) * (float [])) []) = │
00:23:40 verbose #44996 > │ let v1 : int32 = 0 │
00:23:40 verbose #44997 > │ let v2 : int32 = method6(v0, v1) │
00:23:40 verbose #44998 > │ let v3 : (struct ((float []) * (float [])) []) = Array.zeroCreate<struct │
00:23:40 verbose #44999 > │ ((float []) * (float []))> (v2) │
00:23:40 verbose #45000 > │ let v4 : int32 = 0 │
00:23:40 verbose #45001 > │ let v5 : int32 = method7(v3, v0, v4) │
00:23:40 verbose #45002 > │ v3 │
00:23:40 verbose #45003 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:40 verbose #45004 > │ []) * (float [])) [])) = │
00:23:40 verbose #45005 > │ let v0 : float = 0.0 │
00:23:40 verbose #45006 > │ let v1 : float = 1.0 │
00:23:40 verbose #45007 > │ let v2 : float = 2.0 │
00:23:40 verbose #45008 > │ let v3 : float = 3.0 │
00:23:40 verbose #45009 > │ let v4 : float = 4.0 │
00:23:40 verbose #45010 > │ let v5 : float = 5.0 │
00:23:40 verbose #45011 > │ let v6 : float = 6.0 │
00:23:40 verbose #45012 > │ let v7 : float = 7.0 │
00:23:40 verbose #45013 > │ let v8 : float = 8.0 │
00:23:40 verbose #45014 > │ let v9 : float = 9.0 │
00:23:40 verbose #45015 > │ let v10 : UH0 = UH0_0 │
00:23:40 verbose #45016 > │ let v11 : UH0 = UH0_1(v9, v10) │
00:23:40 verbose #45017 > │ let v12 : UH0 = UH0_1(v8, v11) │
00:23:40 verbose #45018 > │ let v13 : UH0 = UH0_1(v7, v12) │
00:23:40 verbose #45019 > │ let v14 : UH0 = UH0_1(v6, v13) │
00:23:40 verbose #45020 > │ let v15 : UH0 = UH0_1(v5, v14) │
00:23:40 verbose #45021 > │ let v16 : UH0 = UH0_1(v4, v15) │
00:23:40 verbose #45022 > │ let v17 : UH0 = UH0_1(v3, v16) │
00:23:40 verbose #45023 > │ let v18 : UH0 = UH0_1(v2, v17) │
00:23:40 verbose #45024 > │ let v19 : UH0 = UH0_1(v1, v18) │
00:23:40 verbose #45025 > │ let v20 : UH0 = UH0_1(v0, v19) │
00:23:40 verbose #45026 > │ let v21 : UH1 = UH1_0 │
00:23:40 verbose #45027 > │ let v22 : UH1 = method1(v20, v21) │
00:23:40 verbose #45028 > │ let v23 : (struct ((float []) * (float [])) []) = method5(v22) │
00:23:40 verbose #45029 > │ let struct (v24 : (float []), v25 : (float [])) = v23.[int 0] │
00:23:40 verbose #45030 > │ let v26 : string = $"{0}" │
00:23:40 verbose #45031 > │ let v27 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:40 verbose #45032 > │ (v26, v24, v25)|] │
00:23:40 verbose #45033 > │ let v28 : string = "wave" │
00:23:40 verbose #45034 > │ let v29 : string = "position (m)" │
00:23:40 verbose #45035 > │ let v30 : string = "displacement (m)" │
00:23:40 verbose #45036 > │ struct (v28, v29, v30, v27) │
00:23:40 verbose #45037 > │ method0() │
00:23:40 verbose #45038 > │ │
00:23:40 verbose #45039 > │ │
00:23:40 verbose #45040 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:40 verbose #45041 >
00:23:40 verbose #45042 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:40 verbose #45043 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:40 verbose #45044 > │ ### system kinetic energy versus time 2 │
00:23:40 verbose #45045 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:40 verbose #45046 >
00:23:40 verbose #45047 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:40 verbose #45048 > //// test
00:23:40 verbose #45049 >
00:23:40 verbose #45050 > inl central_force f (particle_state st1) (particle_state st2) =
00:23:40 verbose #45051 > inl r1 = st1.pos_vec
00:23:40 verbose #45052 > inl r2 = st2.pos_vec
00:23:40 verbose #45053 > inl r21 = r2 ^-^ r1
00:23:40 verbose #45054 > inl r21mag = magnitude r21
00:23:40 verbose #45055 > f r21mag *^ r21 ^/ r21mag
00:23:40 verbose #45056 >
00:23:40 verbose #45057 > inl billiard_force k re =
00:23:40 verbose #45058 > inl f r =
00:23:40 verbose #45059 > if r >= re
00:23:40 verbose #45060 > then 0
00:23:40 verbose #45061 > else -k * (r - re)
00:23:40 verbose #45062 > central_force f
00:23:40 verbose #45063 >
00:23:40 verbose #45064 > type force_vector = vec
00:23:40 verbose #45065 > type two_body_force = particle_state -> particle_state -> force_vector
00:23:40 verbose #45066 >
00:23:40 verbose #45067 > union force t =
00:23:40 verbose #45068 > | ExternalForce : t * one_body_force
00:23:40 verbose #45069 > | InternalForce : t * t * two_body_force
00:23:40 verbose #45070 >
00:23:40 verbose #45071 > nominal multi_particle_state = stream.stream particle_state
00:23:40 verbose #45072 >
00:23:40 verbose #45073 > nominal d_multi_particle_state = stream.stream d_particle_state
00:23:40 verbose #45074 >
00:23:40 verbose #45075 > inl force_on n s force =
00:23:40 verbose #45076 > match force with
00:23:40 verbose #45077 > | ExternalForce (n0, f_one_body) =>
00:23:40 verbose #45078 > if n = n0
00:23:40 verbose #45079 > then f_one_body
00:23:40 verbose #45080 > else fun _ => zero_vec ()
00:23:40 verbose #45081 > | InternalForce (n0, n1, f_two_body) =>
00:23:40 verbose #45082 > if n = n0
00:23:40 verbose #45083 > then s |> stream.try_item n1 |> optionm.map f_two_body
00:23:40 verbose #45084 > elif n = n1
00:23:40 verbose #45085 > then s |> stream.try_item n0 |> optionm.map f_two_body
00:23:40 verbose #45086 > else None
00:23:40 verbose #45087 > |> optionm'.default_value (fun _ => zero_vec ())
00:23:40 verbose #45088 >
00:23:40 verbose #45089 > inl forces_on n (multi_particle_state sts) fs =
00:23:40 verbose #45090 > fs
00:23:40 verbose #45091 > |> listm.map (force_on n sts)
00:23:40 verbose #45092 >
00:23:40 verbose #45093 > inl newton_second_mps fs ((multi_particle_state sts) as mpst) =
00:23:40 verbose #45094 > inl deriv (n, st) =
00:23:40 verbose #45095 > newton_second_ps (forces_on n mpst fs) st
00:23:40 verbose #45096 > sts |> stream.indexed |> stream.map deriv |> d_multi_particle_state
00:23:40 verbose #45097 >
00:23:40 verbose #45098 > instance (+++) d_multi_particle_state =
00:23:40 verbose #45099 > fun (d_multi_particle_state dsts1) (d_multi_particle_state dsts2) =>
00:23:40 verbose #45100 > (dsts1, dsts2)
00:23:40 verbose #45101 > ||> stream.zip_with (+++)
00:23:40 verbose #45102 > |> d_multi_particle_state
00:23:40 verbose #45103 >
00:23:40 verbose #45104 > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:23:40 verbose #45105 > dsts
00:23:40 verbose #45106 > |> stream.map (scale w)
00:23:40 verbose #45107 > |> d_multi_particle_state
00:23:40 verbose #45108 >
00:23:40 verbose #45109 > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:23:40 verbose #45110 > inl (d_multi_particle_state dsts) =
00:23:40 verbose #45111 > real
00:23:40 verbose #45112 > match dsts with
00:23:40 verbose #45113 > | d_multi_particle_state _ => dsts
00:23:40 verbose #45114 > (dsts, sts)
00:23:40 verbose #45115 > ||> stream.zip_with (shift dt)
00:23:40 verbose #45116 > |> stream.memoize
00:23:40 verbose #45117 > |> fun x => x ()
00:23:40 verbose #45118 > |> multi_particle_state
00:23:40 verbose #45119 >
00:23:40 verbose #45120 > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:23:40 verbose #45121 > d_multi_particle_state =
00:23:40 verbose #45122 > fun deriv ((multi_particle_state sts0) as mpst0) =>
00:23:40 verbose #45123 > inl (multi_particle_state sts1) = euler dt deriv mpst0
00:23:40 verbose #45124 > (sts0, sts1)
00:23:40 verbose #45125 > ||> stream.zip
00:23:40 verbose #45126 > |> stream.map (fun ((particle_state st0), (particle_state st1)) =>
00:23:40 verbose #45127 > particle_state {
00:23:40 verbose #45128 > st1 with
00:23:40 verbose #45129 > pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:23:40 verbose #45130 > }
00:23:40 verbose #45131 > )
00:23:40 verbose #45132 > |> multi_particle_state
00:23:40 verbose #45133 >
00:23:40 verbose #45134 > inl update_mps (method : numerical_method multi_particle_state
00:23:40 verbose #45135 > d_multi_particle_state) =
00:23:40 verbose #45136 > newton_second_mps >> method
00:23:40 verbose #45137 >
00:23:40 verbose #45138 > inl states_mps (method : numerical_method multi_particle_state
00:23:40 verbose #45139 > d_multi_particle_state) =
00:23:40 verbose #45140 > newton_second_mps
00:23:40 verbose #45141 > >> method
00:23:40 verbose #45142 > >> (fun x (multi_particle_state y) =>
00:23:40 verbose #45143 > y
00:23:40 verbose #45144 > |> stream.memoize
00:23:40 verbose #45145 > |> (fun x => x ())
00:23:40 verbose #45146 > |> multi_particle_state |> x
00:23:40 verbose #45147 > )
00:23:40 verbose #45148 > // >> stream.iterate
00:23:40 verbose #45149 > >> seq.iterate'
00:23:40 verbose #45150 >
00:23:40 verbose #45151 > inl kinetic_energy (particle_state st) =
00:23:40 verbose #45152 > inl m = st.mass
00:23:40 verbose #45153 > inl v = magnitude st.velocity
00:23:40 verbose #45154 > 0.5 * m * v ** 2
00:23:40 verbose #45155 >
00:23:40 verbose #45156 > inl system_ke (multi_particle_state sts) =
00:23:40 verbose #45157 > sts
00:23:40 verbose #45158 > |> stream.map kinetic_energy
00:23:40 verbose #45159 > |> stream.sum
00:23:40 verbose #45160 >
00:23:40 verbose #45161 > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:23:40 verbose #45162 > inl r1 = st1.pos_vec
00:23:40 verbose #45163 > inl r2 = st2.pos_vec
00:23:40 verbose #45164 > inl r21 = r2 ^-^ r1
00:23:40 verbose #45165 > inl r21mag = magnitude r21
00:23:40 verbose #45166 > k * (r21mag - re) ** 2 / 2
00:23:40 verbose #45167 >
00:23:40 verbose #45168 > inl earth_surface_gravity_pe (particle_state st) =
00:23:40 verbose #45169 > inl g = 9.80665
00:23:40 verbose #45170 > inl m = st.mass
00:23:40 verbose #45171 > inl z = st.pos_vec.z
00:23:40 verbose #45172 > m * g * z
00:23:40 verbose #45173 >
00:23:40 verbose #45174 > inl ball_radius () = 0.03
00:23:40 verbose #45175 >
00:23:40 verbose #45176 > inl billiard_forces k =
00:23:40 verbose #45177 > [[ InternalForce (0i32, 1, billiard_force k (2 * ball_radius ())) ]]
00:23:40 verbose #45178 >
00:23:40 verbose #45179 > inl billiard_initial () =
00:23:40 verbose #45180 > inl ball_mass = 0.160
00:23:40 verbose #45181 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:40 verbose #45182 > [[
00:23:40 verbose #45183 > particle_state {
00:23:40 verbose #45184 > default_particle_state' with
00:23:40 verbose #45185 > mass = ball_mass
00:23:40 verbose #45186 > pos_vec = zero_vec ()
00:23:40 verbose #45187 > velocity = 0.2 *^ i_hat ()
00:23:40 verbose #45188 > }
00:23:40 verbose #45189 > particle_state {
00:23:40 verbose #45190 > default_particle_state' with
00:23:40 verbose #45191 > mass = ball_mass
00:23:40 verbose #45192 > pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:23:40 verbose #45193 > velocity = zero_vec ()
00:23:40 verbose #45194 > }
00:23:40 verbose #45195 > ]]
00:23:40 verbose #45196 > |> stream.from_list
00:23:40 verbose #45197 > |> multi_particle_state
00:23:40 verbose #45198 >
00:23:40 verbose #45199 > inl billiard_states ~n_method k dt =
00:23:40 verbose #45200 > states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:23:40 verbose #45201 >
00:23:40 verbose #45202 > inl billiard_states_finite n_method k dt =
00:23:40 verbose #45203 > billiard_states n_method k dt
00:23:40 verbose #45204 > >> Some
00:23:40 verbose #45205 > |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:23:40 verbose #45206 > match mpst |> stream.try_item 0i32 with
00:23:40 verbose #45207 > | Some st =>
00:23:40 verbose #45208 > st.time <= 10
00:23:40 verbose #45209 > | None => false
00:23:40 verbose #45210 > )
00:23:40 verbose #45211 >
00:23:40 verbose #45212 > inl momentum (particle_state st) =
00:23:40 verbose #45213 > inl m = st.mass
00:23:40 verbose #45214 > inl v = st.velocity
00:23:40 verbose #45215 > m *^ v
00:23:40 verbose #45216 >
00:23:40 verbose #45217 > inl system_p (multi_particle_state sts) =
00:23:40 verbose #45218 > sts
00:23:40 verbose #45219 > |> stream.map momentum
00:23:40 verbose #45220 > |> stream.fold (^+^) (zero_vec ())
00:23:40 verbose #45221 >
00:23:40 verbose #45222 > inl time_ke_ec_x, time_ke_ec_y =
00:23:40 verbose #45223 > billiard_states_finite euler_cromer_mps 30 0.03
00:23:40 verbose #45224 > |> listm.map (fun (multi_particle_state mpst) =>
00:23:40 verbose #45225 > mpst |> stream.try_item 0i32
00:23:40 verbose #45226 > |> optionm.map (fun st =>
00:23:40 verbose #45227 > st.time, system_ke (multi_particle_state mpst)
00:23:40 verbose #45228 > )
00:23:40 verbose #45229 > )
00:23:40 verbose #45230 > // |> stream.to_list
00:23:40 verbose #45231 > |> listm'.choose id
00:23:40 verbose #45232 > |> listm'.unzip
00:23:40 verbose #45233 >
00:23:40 verbose #45234 > inl time_ke_rk4_x, time_ke_rk4_y =
00:23:40 verbose #45235 > billiard_states_finite runge_kutta_4 30 0.03
00:23:40 verbose #45236 > |> listm.map (fun (multi_particle_state mpst) =>
00:23:40 verbose #45237 > mpst |> stream.try_item 0i32
00:23:40 verbose #45238 > |> optionm.map (fun st =>
00:23:40 verbose #45239 > st.time, system_ke (multi_particle_state mpst)
00:23:40 verbose #45240 > )
00:23:40 verbose #45241 > )
00:23:40 verbose #45242 > // |> stream.to_list
00:23:40 verbose #45243 > |> listm'.choose id
00:23:40 verbose #45244 > |> listm'.unzip
00:23:40 verbose #45245 >
00:23:40 verbose #45246 > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray
00:23:40 verbose #45247 > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray
00:23:40 verbose #45248 >
00:23:40 verbose #45249 > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray
00:23:40 verbose #45250 > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray
00:23:40 verbose #45251 >
00:23:40 verbose #45252 > "system kinetic energy versus time",
00:23:40 verbose #45253 > "time (s)",
00:23:40 verbose #45254 > "system kinetic energy (j)",
00:23:40 verbose #45255 > ;[[
00:23:40 verbose #45256 > "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:23:40 verbose #45257 > "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:23:40 verbose #45258 > ]]
00:23:40 verbose #45259 > 00:23:39 debug #858 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e3d2065eea238fe9855f283367bd283fc528c7df86506b6de6ee477838bc2cf7/main.spi
00:23:43 verbose #45260 >
00:23:43 verbose #45261 > ╭─[ 3.80s - return value ]─────────────────────────────────────────────────────╮
00:23:43 verbose #45262 > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:23:43 verbose #45263 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:43 verbose #45264 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:43 verbose #45265 > │ stroke="none"/> │
00:23:43 verbose #45266 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:43 verbose #45267 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:43 verbose #45268 > │ fill="#FFFFFF"> │
00:23:43 verbose #45269 > │ system kinetic energy versus time │
00:23:43 verbose #45270 > │ </text> │
00:23:43 verbose #45271 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:23:43 verbose #45272 > │ y2="75"/> │
00:23:43 verbose #45273 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:43 verbose #45274 > │ y2="75"/> │
00:23:43 verbose #45275 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:23:43 verbose #45276 > │ y2="75"/> │
00:23:43 verbose #45277 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:23:43 verbose #45278 > │ y2="75"/> │
00:23:44 verbose #45279 > │ <line opacity="1" stroke="#323232" stroke-width="1... │
00:23:44 verbose #45280 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:44 verbose #45281 >
00:23:44 verbose #45282 > ╭─[ 3.82s - stdout ]───────────────────────────────────────────────────────────╮
00:23:44 verbose #45283 > │ type UH0 = │
00:23:44 verbose #45284 > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:23:44 verbose #45285 > │ * float * (unit -> UH0) │
00:23:44 verbose #45286 > │ | UH0_1 │
00:23:44 verbose #45287 > │ and UH1 = │
00:23:44 verbose #45288 > │ | UH1_0 of float * float * float * float * float * float * float * float │
00:23:44 verbose #45289 > │ * float * (unit -> UH1) │
00:23:44 verbose #45290 > │ | UH1_1 │
00:23:44 verbose #45291 > │ and [<Struct>] US0 = │
00:23:44 verbose #45292 > │ | US0_0 of f0_0 : (unit -> UH0) │
00:23:44 verbose #45293 > │ | US0_1 of f1_0 : UH0 │
00:23:44 verbose #45294 > │ and Mut0 = {mutable l0 : US0} │
00:23:44 verbose #45295 > │ and UH2 = │
00:23:44 verbose #45296 > │ | UH2_0 of float * float * float * float * float * float * float * float │
00:23:44 verbose #45297 > │ * float * float * float * float * float * float * float * float * float * │
00:23:44 verbose #45298 > │ float * (unit -> UH2) │
00:23:44 verbose #45299 > │ | UH2_1 │
00:23:44 verbose #45300 > │ and UH3 = │
00:23:44 verbose #45301 > │ | UH3_0 of int32 * float * float * float * float * float * float * float │
00:23:44 verbose #45302 > │ * float * float * (unit -> UH3) │
00:23:44 verbose #45303 > │ | UH3_1 │
00:23:44 verbose #45304 > │ and [<Struct>] US1 = │
00:23:44 verbose #45305 > │ | US1_0 of f0_0 : (struct (float * float * float * float * float * float │
00:23:44 verbose #45306 > │ * float * float * float) -> struct (float * float * float)) │
00:23:44 verbose #45307 > │ | US1_1 │
00:23:44 verbose #45308 > │ and [<Struct>] US2 = │
00:23:44 verbose #45309 > │ | US2_0 of f0_0 : float * f0_1 : float * f0_2 : float * f0_3 : float * │
00:23:44 verbose #45310 > │ f0_4 : float * f0_5 : float * f0_6 : float * f0_7 : float * f0_8 : float │
00:23:44 verbose #45311 > │ | US2_1 │
00:23:44 verbose #45312 > │ and UH4 = │
00:23:44 verbose #45313 > │ | UH4_0 │
00:23:44 verbose #45314 > │ | UH4_1 of UH0 * UH4 │
00:23:44 verbose #45315 > │ and UH5 = │
00:23:44 verbose #45316 > │ | UH5_0 │
00:23:44 verbose #45317 > │ | UH5_1 of int32 * UH5 │
00:23:44 verbose #45318 > │ and [<Struct>] US3 = │
00:23:44 verbose #45319 > │ | US3_0 of f0_0 : float * f0_1 : float │
00:23:44 verbose #45320 > │ | US3_1 │
00:23:44 verbose #45321 > │ and UH6 = │
00:23:44 verbose #45322 > │ | UH6_0 │
00:23:44 verbose #45323 > │ | UH6_1 of US3 * UH6 │
00:23:44 verbose #45324 > │ and UH7 = │
00:23:44 verbose #45325 > │ | UH7_0 of float * (unit -> UH7) │
00:23:44 verbose #45326 > │ | UH7_1 │
00:23:44 verbose #45327 > │ and UH8 = │
00:23:44 verbose #45328 > │ | UH8_0 │
00:23:44 verbose #45329 > │ | UH8_1 of float * float * UH8 │
00:23:44 verbose #45330 > │ and UH9 = │
00:23:44 verbose #45331 > │ | UH9_0 │
00:23:44 verbose #45332 > │ | UH9_1 of float * UH9 │
00:23:44 verbose #45333 > │ let rec closure3 (v0 : float, v1 : (unit -> UH0), v2 : (unit -> UH1)) () : │
00:23:44 verbose #45334 > │ UH0 = │
00:23:44 verbose #45335 > │ let v3 : UH1 = v2 () │
00:23:44 verbose #45336 > │ let v4 : UH0 = v1 () │
00:23:44 verbose #45337 > │ match v3 with │
00:23:44 verbose #45338 > │ | UH1_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* StreamCons *) │
00:23:44 verbose #45339 > │ match v4 with │
00:23:44 verbose #45340 > │ | UH0_0(v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) -> (* │
00:23:44 verbose #45341 > │ StreamCons *) │
00:23:44 verbose #45342 > │ let v25 : float = v10 * v0 │
00:23:44 verbose #45343 > │ let v26 : float = v20 + v25 │
00:23:44 verbose #45344 > │ let v27 : float = v0 * v7 │
00:23:44 verbose #45345 > │ let v28 : float = v0 * v8 │
00:23:44 verbose #45346 > │ let v29 : float = v0 * v9 │
00:23:44 verbose #45347 > │ let v30 : float = v17 + v27 │
00:23:44 verbose #45348 > │ let v31 : float = v18 + v28 │
00:23:44 verbose #45349 > │ let v32 : float = v19 + v29 │
00:23:44 verbose #45350 > │ let v33 : float = v0 * v11 │
00:23:44 verbose #45351 > │ let v34 : float = v0 * v12 │
00:23:44 verbose #45352 > │ let v35 : float = v0 * v13 │
00:23:44 verbose #45353 > │ let v36 : float = v21 + v33 │
00:23:44 verbose #45354 > │ let v37 : float = v22 + v34 │
00:23:44 verbose #45355 > │ let v38 : float = v23 + v35 │
00:23:44 verbose #45356 > │ let v39 : (unit -> UH0) = closure3(v0, v24, v14) │
00:23:44 verbose #45357 > │ UH0_0(v15, v16, v30, v31, v32, v26, v36, v37, v38, v39) │
00:23:44 verbose #45358 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45359 > │ UH0_1 │
00:23:44 verbose #45360 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45361 > │ UH0_1 │
00:23:44 verbose #45362 > │ and closure4 (v0 : UH0) () : UH0 = │
00:23:44 verbose #45363 > │ v0 │
00:23:44 verbose #45364 > │ and closure5 (v0 : UH0, v1 : Mut0) () : UH0 = │
00:23:44 verbose #45365 > │ let v2 : US0 = v1.l0 │
00:23:44 verbose #45366 > │ match v2 with │
00:23:44 verbose #45367 > │ | US0_1(v3) -> (* Computed *) │
00:23:44 verbose #45368 > │ v3 │
00:23:44 verbose #45369 > │ | US0_0(v4) -> (* NotComputed *) │
00:23:44 verbose #45370 > │ let v5 : UH0 = v4 () │
00:23:44 verbose #45371 > │ let v20 : UH0 = │
00:23:44 verbose #45372 > │ match v5 with │
00:23:44 verbose #45373 > │ | UH0_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> (* │
00:23:44 verbose #45374 > │ StreamCons *) │
00:23:44 verbose #45375 > │ let v17 : (unit -> UH0) = method1(v0, v16) │
00:23:44 verbose #45376 > │ UH0_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v17) │
00:23:44 verbose #45377 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45378 > │ UH0_1 │
00:23:44 verbose #45379 > │ let v21 : US0 = US0_1(v20) │
00:23:44 verbose #45380 > │ v1.l0 <- v21 │
00:23:44 verbose #45381 > │ v20 │
00:23:44 verbose #45382 > │ and method1 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) = │
00:23:44 verbose #45383 > │ let v2 : US0 = US0_0(v1) │
00:23:44 verbose #45384 > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:23:44 verbose #45385 > │ closure5(v0, v3) │
00:23:44 verbose #45386 > │ and closure6 (v0 : (unit -> UH0), v1 : (unit -> UH0)) () : UH2 = │
00:23:44 verbose #45387 > │ let v2 : UH0 = v1 () │
00:23:44 verbose #45388 > │ let v3 : UH0 = v0 () │
00:23:44 verbose #45389 > │ match v2 with │
00:23:44 verbose #45390 > │ | UH0_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:23:44 verbose #45391 > │ match v3 with │
00:23:44 verbose #45392 > │ | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:44 verbose #45393 > │ StreamCons *) │
00:23:44 verbose #45394 > │ let v24 : (unit -> UH2) = closure6(v23, v13) │
00:23:44 verbose #45395 > │ UH2_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v14, v15, v16, v17, │
00:23:44 verbose #45396 > │ v18, v19, v20, v21, v22, v24) │
00:23:44 verbose #45397 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45398 > │ UH2_1 │
00:23:44 verbose #45399 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45400 > │ UH2_1 │
00:23:44 verbose #45401 > │ and closure7 (v0 : UH0) () : UH0 = │
00:23:44 verbose #45402 > │ v0 │
00:23:44 verbose #45403 > │ and method2 (v0 : float, v1 : UH2, v2 : UH0) : UH0 = │
00:23:44 verbose #45404 > │ match v1 with │
00:23:44 verbose #45405 > │ | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, │
00:23:44 verbose #45406 > │ v17, v18, v19, v20, v21) -> (* StreamCons *) │
00:23:44 verbose #45407 > │ let v22 : UH2 = v21 () │
00:23:44 verbose #45408 > │ let v23 : UH0 = method2(v0, v22, v2) │
00:23:44 verbose #45409 > │ let v24 : float = v0 * v18 │
00:23:44 verbose #45410 > │ let v25 : float = v0 * v19 │
00:23:44 verbose #45411 > │ let v26 : float = v0 * v20 │
00:23:44 verbose #45412 > │ let v27 : float = v5 + v24 │
00:23:44 verbose #45413 > │ let v28 : float = v6 + v25 │
00:23:44 verbose #45414 > │ let v29 : float = v7 + v26 │
00:23:44 verbose #45415 > │ let v30 : (unit -> UH0) = closure7(v23) │
00:23:44 verbose #45416 > │ UH0_0(v12, v13, v27, v28, v29, v17, v18, v19, v20, v30) │
00:23:44 verbose #45417 > │ | UH2_1 -> (* StreamNil *) │
00:23:44 verbose #45418 > │ v2 │
00:23:44 verbose #45419 > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:23:44 verbose #45420 > │ let v3 : UH1 = v1 v2 │
00:23:44 verbose #45421 > │ let v45 : UH0 = │
00:23:44 verbose #45422 > │ match v3 with │
00:23:44 verbose #45423 > │ | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons │
00:23:44 verbose #45424 > │ *) │
00:23:44 verbose #45425 > │ match v2 with │
00:23:44 verbose #45426 > │ | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:44 verbose #45427 > │ StreamCons *) │
00:23:44 verbose #45428 > │ let v24 : float = v9 * v0 │
00:23:44 verbose #45429 > │ let v25 : float = v19 + v24 │
00:23:44 verbose #45430 > │ let v26 : float = v0 * v6 │
00:23:44 verbose #45431 > │ let v27 : float = v0 * v7 │
00:23:44 verbose #45432 > │ let v28 : float = v0 * v8 │
00:23:44 verbose #45433 > │ let v29 : float = v16 + v26 │
00:23:44 verbose #45434 > │ let v30 : float = v17 + v27 │
00:23:44 verbose #45435 > │ let v31 : float = v18 + v28 │
00:23:44 verbose #45436 > │ let v32 : float = v0 * v10 │
00:23:44 verbose #45437 > │ let v33 : float = v0 * v11 │
00:23:44 verbose #45438 > │ let v34 : float = v0 * v12 │
00:23:44 verbose #45439 > │ let v35 : float = v20 + v32 │
00:23:44 verbose #45440 > │ let v36 : float = v21 + v33 │
00:23:44 verbose #45441 > │ let v37 : float = v22 + v34 │
00:23:44 verbose #45442 > │ let v38 : (unit -> UH0) = closure3(v0, v23, v13) │
00:23:44 verbose #45443 > │ UH0_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:23:44 verbose #45444 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45445 > │ UH0_1 │
00:23:44 verbose #45446 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45447 > │ UH0_1 │
00:23:44 verbose #45448 > │ let v46 : (unit -> UH0) = closure4(v45) │
00:23:44 verbose #45449 > │ let v47 : (unit -> UH0) = method1(v45, v46) │
00:23:44 verbose #45450 > │ let v48 : UH0 = v47 () │
00:23:44 verbose #45451 > │ let v76 : UH2 = │
00:23:44 verbose #45452 > │ match v2 with │
00:23:44 verbose #45453 > │ | UH0_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) -> (* │
00:23:44 verbose #45454 > │ StreamCons *) │
00:23:44 verbose #45455 > │ match v48 with │
00:23:44 verbose #45456 > │ | UH0_0(v59, v60, v61, v62, v63, v64, v65, v66, v67, v68) -> (* │
00:23:44 verbose #45457 > │ StreamCons *) │
00:23:44 verbose #45458 > │ let v69 : (unit -> UH2) = closure6(v68, v58) │
00:23:44 verbose #45459 > │ UH2_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v59, v60, │
00:23:44 verbose #45460 > │ v61, v62, v63, v64, v65, v66, v67, v69) │
00:23:44 verbose #45461 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45462 > │ UH2_1 │
00:23:44 verbose #45463 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45464 > │ UH2_1 │
00:23:44 verbose #45465 > │ let v77 : UH0 = UH0_1 │
00:23:44 verbose #45466 > │ let v78 : UH0 = method2(v0, v76, v77) │
00:23:44 verbose #45467 > │ v78 │
00:23:44 verbose #45468 > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:23:44 verbose #45469 > │ closure2(v0, v1) │
00:23:44 verbose #45470 > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:23:44 verbose #45471 > │ closure1(v0) │
00:23:44 verbose #45472 > │ and closure9 (v0 : UH3) () : UH3 = │
00:23:44 verbose #45473 > │ v0 │
00:23:44 verbose #45474 > │ and method3 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) = │
00:23:44 verbose #45475 > │ match v0 with │
00:23:44 verbose #45476 > │ | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons *) │
00:23:44 verbose #45477 > │ let v13 : int32 = v2 + 1 │
00:23:44 verbose #45478 > │ let v14 : UH0 = v12 () │
00:23:44 verbose #45479 > │ let v15 : (unit -> UH3) = closure9(v1) │
00:23:44 verbose #45480 > │ let v16 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v15) │
00:23:44 verbose #45481 > │ method3(v14, v16, v13) │
00:23:44 verbose #45482 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45483 > │ struct (v1, v2) │
00:23:44 verbose #45484 > │ and closure10 (v0 : UH3) () : UH3 = │
00:23:44 verbose #45485 > │ v0 │
00:23:44 verbose #45486 > │ and method4 (v0 : UH3, v1 : UH3) : UH3 = │
00:23:44 verbose #45487 > │ match v0 with │
00:23:44 verbose #45488 > │ | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons │
00:23:44 verbose #45489 > │ *) │
00:23:44 verbose #45490 > │ let v13 : UH3 = v12 () │
00:23:44 verbose #45491 > │ let v14 : (unit -> UH3) = closure10(v1) │
00:23:44 verbose #45492 > │ let v15 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v14) │
00:23:44 verbose #45493 > │ method4(v13, v15) │
00:23:44 verbose #45494 > │ | UH3_1 -> (* StreamNil *) │
00:23:44 verbose #45495 > │ v1 │
00:23:44 verbose #45496 > │ and method6 (v0 : int32, v1 : UH0) : US2 = │
00:23:44 verbose #45497 > │ match v1 with │
00:23:44 verbose #45498 > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:23:44 verbose #45499 > │ let v12 : bool = v0 <= 0 │
00:23:44 verbose #45500 > │ if v12 then │
00:23:44 verbose #45501 > │ US2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10) │
00:23:44 verbose #45502 > │ else │
00:23:44 verbose #45503 > │ let v14 : int32 = v0 - 1 │
00:23:44 verbose #45504 > │ let v15 : UH0 = v11 () │
00:23:44 verbose #45505 > │ method6(v14, v15) │
00:23:44 verbose #45506 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45507 > │ US2_1 │
00:23:44 verbose #45508 > │ and closure11 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:23:44 verbose #45509 > │ v5 : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:23:44 verbose #45510 > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:23:44 verbose #45511 > │ : float, v17 : float) : struct (float * float * float) = │
00:23:44 verbose #45512 > │ let v18 : float = -1.0 * v2 │
00:23:44 verbose #45513 > │ let v19 : float = -1.0 * v3 │
00:23:44 verbose #45514 > │ let v20 : float = -1.0 * v4 │
00:23:44 verbose #45515 > │ let v21 : float = v11 + v18 │
00:23:44 verbose #45516 > │ let v22 : float = v12 + v19 │
00:23:44 verbose #45517 > │ let v23 : float = v13 + v20 │
00:23:44 verbose #45518 > │ let v24 : float = v21 * v21 │
00:23:44 verbose #45519 > │ let v25 : float = v22 * v22 │
00:23:44 verbose #45520 > │ let v26 : float = v24 + v25 │
00:23:44 verbose #45521 > │ let v27 : float = v23 * v23 │
00:23:44 verbose #45522 > │ let v28 : float = v26 + v27 │
00:23:44 verbose #45523 > │ let v29 : float = sqrt v28 │
00:23:44 verbose #45524 > │ let v30 : bool = v29 >= 0.06 │
00:23:44 verbose #45525 > │ let v33 : float = │
00:23:44 verbose #45526 > │ if v30 then │
00:23:44 verbose #45527 > │ 0.0 │
00:23:44 verbose #45528 > │ else │
00:23:44 verbose #45529 > │ let v31 : float = v29 - 0.06 │
00:23:44 verbose #45530 > │ let v32 : float = -30.0 * v31 │
00:23:44 verbose #45531 > │ v32 │
00:23:44 verbose #45532 > │ let v34 : float = v33 * v21 │
00:23:44 verbose #45533 > │ let v35 : float = v33 * v22 │
00:23:44 verbose #45534 > │ let v36 : float = v33 * v23 │
00:23:44 verbose #45535 > │ let v37 : float = v34 / v29 │
00:23:44 verbose #45536 > │ let v38 : float = v35 / v29 │
00:23:44 verbose #45537 > │ let v39 : float = v36 / v29 │
00:23:44 verbose #45538 > │ struct (v37, v38, v39) │
00:23:44 verbose #45539 > │ and closure12 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:23:44 verbose #45540 > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:44 verbose #45541 > │ float * float) = │
00:23:44 verbose #45542 > │ struct (0.0, 0.0, 0.0) │
00:23:44 verbose #45543 > │ and closure13 (v0 : UH1) () : UH1 = │
00:23:44 verbose #45544 > │ v0 │
00:23:44 verbose #45545 > │ and method5 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 = │
00:23:44 verbose #45546 > │ match v1 with │
00:23:44 verbose #45547 > │ | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons │
00:23:44 verbose #45548 > │ *) │
00:23:44 verbose #45549 > │ let v14 : UH3 = v13 () │
00:23:44 verbose #45550 > │ let v15 : UH1 = method5(v0, v14, v2) │
00:23:44 verbose #45551 > │ let v16 : bool = v3 = 0 │
00:23:44 verbose #45552 > │ let v52 : US1 = │
00:23:44 verbose #45553 > │ if v16 then │
00:23:44 verbose #45554 > │ let v17 : int32 = 1 │
00:23:44 verbose #45555 > │ let v18 : US2 = method6(v17, v0) │
00:23:44 verbose #45556 > │ match v18 with │
00:23:44 verbose #45557 > │ | US2_1 -> (* None *) │
00:23:44 verbose #45558 > │ US1_1 │
00:23:44 verbose #45559 > │ | US2_0(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* │
00:23:44 verbose #45560 > │ Some *) │
00:23:44 verbose #45561 > │ let v28 : (struct (float * float * float * float * float │
00:23:44 verbose #45562 > │ * float * float * float * float) -> struct (float * float * float)) = │
00:23:44 verbose #45563 > │ closure11(v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:23:44 verbose #45564 > │ US1_0(v28) │
00:23:44 verbose #45565 > │ else │
00:23:44 verbose #45566 > │ let v33 : bool = v3 = 1 │
00:23:44 verbose #45567 > │ if v33 then │
00:23:44 verbose #45568 > │ let v34 : int32 = 0 │
00:23:44 verbose #45569 > │ let v35 : US2 = method6(v34, v0) │
00:23:44 verbose #45570 > │ match v35 with │
00:23:44 verbose #45571 > │ | US2_1 -> (* None *) │
00:23:44 verbose #45572 > │ US1_1 │
00:23:44 verbose #45573 > │ | US2_0(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> │
00:23:44 verbose #45574 > │ (* Some *) │
00:23:44 verbose #45575 > │ let v45 : (struct (float * float * float * float * │
00:23:44 verbose #45576 > │ float * float * float * float * float) -> struct (float * float * float)) = │
00:23:44 verbose #45577 > │ closure11(v36, v37, v38, v39, v40, v41, v42, v43, v44) │
00:23:44 verbose #45578 > │ US1_0(v45) │
00:23:44 verbose #45579 > │ else │
00:23:44 verbose #45580 > │ US1_1 │
00:23:44 verbose #45581 > │ let v56 : (struct (float * float * float * float * float * float * │
00:23:44 verbose #45582 > │ float * float * float) -> struct (float * float * float)) = │
00:23:44 verbose #45583 > │ match v52 with │
00:23:44 verbose #45584 > │ | US1_1 -> (* None *) │
00:23:44 verbose #45585 > │ closure12() │
00:23:44 verbose #45586 > │ | US1_0(v53) -> (* Some *) │
00:23:44 verbose #45587 > │ v53 │
00:23:44 verbose #45588 > │ let struct (v57 : float, v58 : float, v59 : float) = v56 struct (v4, │
00:23:44 verbose #45589 > │ v5, v6, v7, v8, v9, v10, v11, v12) │
00:23:44 verbose #45590 > │ let v60 : float = v57 / v5 │
00:23:44 verbose #45591 > │ let v61 : float = v58 / v5 │
00:23:44 verbose #45592 > │ let v62 : float = v59 / v5 │
00:23:44 verbose #45593 > │ let v63 : (unit -> UH1) = closure13(v15) │
00:23:44 verbose #45594 > │ UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v60, v61, v62, v63) │
00:23:44 verbose #45595 > │ | UH3_1 -> (* StreamNil *) │
00:23:44 verbose #45596 > │ v2 │
00:23:44 verbose #45597 > │ and closure8 () (v0 : UH0) : UH1 = │
00:23:44 verbose #45598 > │ let v1 : UH3 = UH3_1 │
00:23:44 verbose #45599 > │ let v2 : int32 = 0 │
00:23:44 verbose #45600 > │ let struct (v3 : UH3, v4 : int32) = method3(v0, v1, v2) │
00:23:44 verbose #45601 > │ let v5 : UH3 = UH3_1 │
00:23:44 verbose #45602 > │ let v6 : UH3 = method4(v3, v5) │
00:23:44 verbose #45603 > │ let v7 : UH1 = UH1_1 │
00:23:44 verbose #45604 > │ let v8 : UH1 = method5(v0, v6, v7) │
00:23:44 verbose #45605 > │ v8 │
00:23:44 verbose #45606 > │ and method8 (v0 : int32, v1 : int32) : UH5 = │
00:23:44 verbose #45607 > │ let v2 : bool = v1 < v0 │
00:23:44 verbose #45608 > │ if v2 then │
00:23:44 verbose #45609 > │ let v3 : int32 = v1 + 1 │
00:23:44 verbose #45610 > │ let v4 : UH5 = method8(v0, v3) │
00:23:44 verbose #45611 > │ UH5_1(v1, v4) │
00:23:44 verbose #45612 > │ else │
00:23:44 verbose #45613 > │ UH5_0 │
00:23:44 verbose #45614 > │ and closure15 () () : UH0 = │
00:23:44 verbose #45615 > │ UH0_1 │
00:23:44 verbose #45616 > │ and closure14 () () : UH0 = │
00:23:44 verbose #45617 > │ let v0 : (unit -> UH0) = closure15() │
00:23:44 verbose #45618 > │ UH0_0(0.0, 0.16, 1.0, 0.02, 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:44 verbose #45619 > │ and method9 (v0 : (UH0 -> UH0), v1 : UH5, v2 : UH0) : UH0 = │
00:23:44 verbose #45620 > │ match v1 with │
00:23:44 verbose #45621 > │ | UH5_1(v3, v4) -> (* Cons *) │
00:23:44 verbose #45622 > │ let v5 : (unit -> UH0) = closure4(v2) │
00:23:44 verbose #45623 > │ let v6 : (unit -> UH0) = method1(v2, v5) │
00:23:44 verbose #45624 > │ let v7 : UH0 = v6 () │
00:23:44 verbose #45625 > │ let v8 : UH0 = v0 v7 │
00:23:44 verbose #45626 > │ method9(v0, v4, v8) │
00:23:44 verbose #45627 > │ | UH5_0 -> (* Nil *) │
00:23:44 verbose #45628 > │ v2 │
00:23:44 verbose #45629 > │ and method10 (v0 : UH4, v1 : UH4) : UH4 = │
00:23:44 verbose #45630 > │ match v0 with │
00:23:44 verbose #45631 > │ | UH4_1(v2, v3) -> (* Cons *) │
00:23:44 verbose #45632 > │ let v4 : UH4 = UH4_1(v2, v1) │
00:23:44 verbose #45633 > │ method10(v3, v4) │
00:23:44 verbose #45634 > │ | UH4_0 -> (* Nil *) │
00:23:44 verbose #45635 > │ v1 │
00:23:44 verbose #45636 > │ and method7 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 = │
00:23:44 verbose #45637 > │ let v3 : int32 = 0 │
00:23:44 verbose #45638 > │ let v4 : UH5 = method8(v2, v3) │
00:23:44 verbose #45639 > │ let v5 : float = 0.0 │
00:23:44 verbose #45640 > │ let v6 : float = 0.16 │
00:23:44 verbose #45641 > │ let v7 : float = 0.0 │
00:23:44 verbose #45642 > │ let v8 : float = 0.0 │
00:23:44 verbose #45643 > │ let v9 : float = 0.0 │
00:23:44 verbose #45644 > │ let v10 : float = 0.0 │
00:23:44 verbose #45645 > │ let v11 : float = 0.2 │
00:23:44 verbose #45646 > │ let v12 : float = 0.0 │
00:23:44 verbose #45647 > │ let v13 : float = 0.0 │
00:23:44 verbose #45648 > │ let v14 : (unit -> UH0) = closure14() │
00:23:44 verbose #45649 > │ let v15 : UH0 = UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) │
00:23:44 verbose #45650 > │ let v16 : UH0 = method9(v0, v4, v15) │
00:23:44 verbose #45651 > │ let v17 : int32 = 0 │
00:23:44 verbose #45652 > │ let v18 : US2 = method6(v17, v16) │
00:23:44 verbose #45653 > │ let v30 : bool = │
00:23:44 verbose #45654 > │ match v18 with │
00:23:44 verbose #45655 > │ | US2_1 -> (* None *) │
00:23:44 verbose #45656 > │ false │
00:23:44 verbose #45657 > │ | US2_0(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some *) │
00:23:44 verbose #45658 > │ let v28 : bool = v24 <= 10.0 │
00:23:44 verbose #45659 > │ v28 │
00:23:44 verbose #45660 > │ if v30 then │
00:23:44 verbose #45661 > │ let v31 : UH4 = UH4_1(v16, v1) │
00:23:44 verbose #45662 > │ let v32 : int32 = v2 + 1 │
00:23:44 verbose #45663 > │ method7(v0, v31, v32) │
00:23:44 verbose #45664 > │ else │
00:23:44 verbose #45665 > │ let v34 : UH4 = UH4_0 │
00:23:44 verbose #45666 > │ method10(v1, v34) │
00:23:44 verbose #45667 > │ and closure16 (v0 : UH7) () : UH7 = │
00:23:44 verbose #45668 > │ v0 │
00:23:44 verbose #45669 > │ and method12 (v0 : UH0, v1 : UH7) : UH7 = │
00:23:44 verbose #45670 > │ match v0 with │
00:23:44 verbose #45671 > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:23:44 verbose #45672 > │ let v12 : UH0 = v11 () │
00:23:44 verbose #45673 > │ let v13 : UH7 = method12(v12, v1) │
00:23:44 verbose #45674 > │ let v14 : float = v8 * v8 │
00:23:44 verbose #45675 > │ let v15 : float = v9 * v9 │
00:23:44 verbose #45676 > │ let v16 : float = v14 + v15 │
00:23:44 verbose #45677 > │ let v17 : float = v10 * v10 │
00:23:44 verbose #45678 > │ let v18 : float = v16 + v17 │
00:23:44 verbose #45679 > │ let v19 : float = sqrt v18 │
00:23:44 verbose #45680 > │ let v20 : float = 0.5 * v3 │
00:23:44 verbose #45681 > │ let v21 : float = v19 ** 2.0 │
00:23:44 verbose #45682 > │ let v22 : float = v20 * v21 │
00:23:44 verbose #45683 > │ let v23 : (unit -> UH7) = closure16(v13) │
00:23:44 verbose #45684 > │ UH7_0(v22, v23) │
00:23:44 verbose #45685 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45686 > │ v1 │
00:23:44 verbose #45687 > │ and method13 (v0 : UH7, v1 : float) : float = │
00:23:44 verbose #45688 > │ match v0 with │
00:23:44 verbose #45689 > │ | UH7_0(v2, v3) -> (* StreamCons *) │
00:23:44 verbose #45690 > │ let v4 : float = v1 + v2 │
00:23:44 verbose #45691 > │ let v5 : UH7 = v3 () │
00:23:44 verbose #45692 > │ method13(v5, v4) │
00:23:44 verbose #45693 > │ | UH7_1 -> (* StreamNil *) │
00:23:44 verbose #45694 > │ v1 │
00:23:44 verbose #45695 > │ and method11 (v0 : UH4, v1 : UH6) : UH6 = │
00:23:44 verbose #45696 > │ match v0 with │
00:23:44 verbose #45697 > │ | UH4_1(v2, v3) -> (* Cons *) │
00:23:44 verbose #45698 > │ let v4 : UH6 = method11(v3, v1) │
00:23:44 verbose #45699 > │ let v5 : int32 = 0 │
00:23:44 verbose #45700 > │ let v6 : US2 = method6(v5, v2) │
00:23:44 verbose #45701 > │ let v23 : US3 = │
00:23:44 verbose #45702 > │ match v6 with │
00:23:44 verbose #45703 > │ | US2_1 -> (* None *) │
00:23:44 verbose #45704 > │ US3_1 │
00:23:44 verbose #45705 > │ | US2_0(v7, v8, v9, v10, v11, v12, v13, v14, v15) -> (* Some *) │
00:23:44 verbose #45706 > │ let v16 : UH7 = UH7_1 │
00:23:44 verbose #45707 > │ let v17 : UH7 = method12(v2, v16) │
00:23:44 verbose #45708 > │ let v18 : float = 0.0 │
00:23:44 verbose #45709 > │ let v19 : float = method13(v17, v18) │
00:23:44 verbose #45710 > │ US3_0(v12, v19) │
00:23:44 verbose #45711 > │ UH6_1(v23, v4) │
00:23:44 verbose #45712 > │ | UH4_0 -> (* Nil *) │
00:23:44 verbose #45713 > │ v1 │
00:23:44 verbose #45714 > │ and method14 (v0 : UH6, v1 : UH8) : UH8 = │
00:23:44 verbose #45715 > │ match v0 with │
00:23:44 verbose #45716 > │ | UH6_1(v2, v3) -> (* Cons *) │
00:23:44 verbose #45717 > │ let v4 : UH8 = method14(v3, v1) │
00:23:44 verbose #45718 > │ match v2 with │
00:23:44 verbose #45719 > │ | US3_1 -> (* None *) │
00:23:44 verbose #45720 > │ v4 │
00:23:44 verbose #45721 > │ | US3_0(v5, v6) -> (* Some *) │
00:23:44 verbose #45722 > │ UH8_1(v5, v6, v4) │
00:23:44 verbose #45723 > │ | UH6_0 -> (* Nil *) │
00:23:44 verbose #45724 > │ v1 │
00:23:44 verbose #45725 > │ and method15 (v0 : UH8, v1 : UH9, v2 : UH9) : struct (UH9 * UH9) = │
00:23:44 verbose #45726 > │ match v0 with │
00:23:44 verbose #45727 > │ | UH8_1(v3, v4, v5) -> (* Cons *) │
00:23:44 verbose #45728 > │ let v6 : UH9 = UH9_1(v3, v1) │
00:23:44 verbose #45729 > │ let v7 : UH9 = UH9_1(v4, v2) │
00:23:44 verbose #45730 > │ method15(v5, v6, v7) │
00:23:44 verbose #45731 > │ | UH8_0 -> (* Nil *) │
00:23:44 verbose #45732 > │ struct (v1, v2) │
00:23:44 verbose #45733 > │ and method16 (v0 : UH9, v1 : UH9) : UH9 = │
00:23:44 verbose #45734 > │ match v0 with │
00:23:44 verbose #45735 > │ | UH9_1(v2, v3) -> (* Cons *) │
00:23:44 verbose #45736 > │ let v4 : UH9 = UH9_1(v2, v1) │
00:23:44 verbose #45737 > │ method16(v3, v4) │
00:23:44 verbose #45738 > │ | UH9_0 -> (* Nil *) │
00:23:44 verbose #45739 > │ v1 │
00:23:44 verbose #45740 > │ and closure20 (v0 : (unit -> UH1), v1 : (unit -> UH1)) () : UH1 = │
00:23:44 verbose #45741 > │ let v2 : UH1 = v1 () │
00:23:44 verbose #45742 > │ let v3 : UH1 = v0 () │
00:23:44 verbose #45743 > │ match v2 with │
00:23:44 verbose #45744 > │ | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:23:44 verbose #45745 > │ match v3 with │
00:23:44 verbose #45746 > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:44 verbose #45747 > │ StreamCons *) │
00:23:44 verbose #45748 > │ let v24 : float = v4 + v14 │
00:23:44 verbose #45749 > │ let v25 : float = v5 + v15 │
00:23:44 verbose #45750 > │ let v26 : float = v9 + v19 │
00:23:44 verbose #45751 > │ let v27 : float = v6 + v16 │
00:23:44 verbose #45752 > │ let v28 : float = v7 + v17 │
00:23:44 verbose #45753 > │ let v29 : float = v8 + v18 │
00:23:44 verbose #45754 > │ let v30 : float = v10 + v20 │
00:23:44 verbose #45755 > │ let v31 : float = v11 + v21 │
00:23:44 verbose #45756 > │ let v32 : float = v12 + v22 │
00:23:44 verbose #45757 > │ let v33 : (unit -> UH1) = closure20(v23, v13) │
00:23:44 verbose #45758 > │ UH1_0(v24, v25, v27, v28, v29, v26, v30, v31, v32, v33) │
00:23:44 verbose #45759 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45760 > │ UH1_1 │
00:23:44 verbose #45761 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45762 > │ UH1_1 │
00:23:44 verbose #45763 > │ and closure19 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:23:44 verbose #45764 > │ let v3 : UH1 = v1 v2 │
00:23:44 verbose #45765 > │ let v4 : float = v0 / 2.0 │
00:23:44 verbose #45766 > │ let v46 : UH0 = │
00:23:44 verbose #45767 > │ match v3 with │
00:23:44 verbose #45768 > │ | UH1_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* │
00:23:44 verbose #45769 > │ StreamCons *) │
00:23:44 verbose #45770 > │ match v2 with │
00:23:44 verbose #45771 > │ | UH0_0(v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) -> (* │
00:23:44 verbose #45772 > │ StreamCons *) │
00:23:44 verbose #45773 > │ let v25 : float = v10 * v4 │
00:23:44 verbose #45774 > │ let v26 : float = v20 + v25 │
00:23:44 verbose #45775 > │ let v27 : float = v4 * v7 │
00:23:44 verbose #45776 > │ let v28 : float = v4 * v8 │
00:23:44 verbose #45777 > │ let v29 : float = v4 * v9 │
00:23:44 verbose #45778 > │ let v30 : float = v17 + v27 │
00:23:44 verbose #45779 > │ let v31 : float = v18 + v28 │
00:23:44 verbose #45780 > │ let v32 : float = v19 + v29 │
00:23:44 verbose #45781 > │ let v33 : float = v4 * v11 │
00:23:44 verbose #45782 > │ let v34 : float = v4 * v12 │
00:23:44 verbose #45783 > │ let v35 : float = v4 * v13 │
00:23:44 verbose #45784 > │ let v36 : float = v21 + v33 │
00:23:44 verbose #45785 > │ let v37 : float = v22 + v34 │
00:23:44 verbose #45786 > │ let v38 : float = v23 + v35 │
00:23:44 verbose #45787 > │ let v39 : (unit -> UH0) = closure3(v4, v24, v14) │
00:23:44 verbose #45788 > │ UH0_0(v15, v16, v30, v31, v32, v26, v36, v37, v38, v39) │
00:23:44 verbose #45789 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45790 > │ UH0_1 │
00:23:44 verbose #45791 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45792 > │ UH0_1 │
00:23:44 verbose #45793 > │ let v47 : (unit -> UH0) = closure4(v46) │
00:23:44 verbose #45794 > │ let v48 : (unit -> UH0) = method1(v46, v47) │
00:23:44 verbose #45795 > │ let v49 : UH0 = v48 () │
00:23:44 verbose #45796 > │ let v50 : UH1 = v1 v49 │
00:23:44 verbose #45797 > │ let v92 : UH0 = │
00:23:44 verbose #45798 > │ match v50 with │
00:23:44 verbose #45799 > │ | UH1_0(v51, v52, v53, v54, v55, v56, v57, v58, v59, v60) -> (* │
00:23:44 verbose #45800 > │ StreamCons *) │
00:23:44 verbose #45801 > │ match v2 with │
00:23:44 verbose #45802 > │ | UH0_0(v61, v62, v63, v64, v65, v66, v67, v68, v69, v70) -> (* │
00:23:44 verbose #45803 > │ StreamCons *) │
00:23:44 verbose #45804 > │ let v71 : float = v56 * v4 │
00:23:44 verbose #45805 > │ let v72 : float = v66 + v71 │
00:23:44 verbose #45806 > │ let v73 : float = v4 * v53 │
00:23:44 verbose #45807 > │ let v74 : float = v4 * v54 │
00:23:44 verbose #45808 > │ let v75 : float = v4 * v55 │
00:23:44 verbose #45809 > │ let v76 : float = v63 + v73 │
00:23:44 verbose #45810 > │ let v77 : float = v64 + v74 │
00:23:44 verbose #45811 > │ let v78 : float = v65 + v75 │
00:23:44 verbose #45812 > │ let v79 : float = v4 * v57 │
00:23:44 verbose #45813 > │ let v80 : float = v4 * v58 │
00:23:44 verbose #45814 > │ let v81 : float = v4 * v59 │
00:23:44 verbose #45815 > │ let v82 : float = v67 + v79 │
00:23:44 verbose #45816 > │ let v83 : float = v68 + v80 │
00:23:44 verbose #45817 > │ let v84 : float = v69 + v81 │
00:23:44 verbose #45818 > │ let v85 : (unit -> UH0) = closure3(v4, v70, v60) │
00:23:44 verbose #45819 > │ UH0_0(v61, v62, v76, v77, v78, v72, v82, v83, v84, v85) │
00:23:44 verbose #45820 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45821 > │ UH0_1 │
00:23:44 verbose #45822 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45823 > │ UH0_1 │
00:23:44 verbose #45824 > │ let v93 : (unit -> UH0) = closure4(v92) │
00:23:44 verbose #45825 > │ let v94 : (unit -> UH0) = method1(v92, v93) │
00:23:44 verbose #45826 > │ let v95 : UH0 = v94 () │
00:23:44 verbose #45827 > │ let v96 : UH1 = v1 v95 │
00:23:44 verbose #45828 > │ let v138 : UH0 = │
00:23:44 verbose #45829 > │ match v96 with │
00:23:44 verbose #45830 > │ | UH1_0(v97, v98, v99, v100, v101, v102, v103, v104, v105, v106) -> │
00:23:44 verbose #45831 > │ (* StreamCons *) │
00:23:44 verbose #45832 > │ match v2 with │
00:23:44 verbose #45833 > │ | UH0_0(v107, v108, v109, v110, v111, v112, v113, v114, v115, │
00:23:44 verbose #45834 > │ v116) -> (* StreamCons *) │
00:23:44 verbose #45835 > │ let v117 : float = v102 * v0 │
00:23:44 verbose #45836 > │ let v118 : float = v112 + v117 │
00:23:44 verbose #45837 > │ let v119 : float = v0 * v99 │
00:23:44 verbose #45838 > │ let v120 : float = v0 * v100 │
00:23:44 verbose #45839 > │ let v121 : float = v0 * v101 │
00:23:44 verbose #45840 > │ let v122 : float = v109 + v119 │
00:23:44 verbose #45841 > │ let v123 : float = v110 + v120 │
00:23:44 verbose #45842 > │ let v124 : float = v111 + v121 │
00:23:44 verbose #45843 > │ let v125 : float = v0 * v103 │
00:23:44 verbose #45844 > │ let v126 : float = v0 * v104 │
00:23:44 verbose #45845 > │ let v127 : float = v0 * v105 │
00:23:44 verbose #45846 > │ let v128 : float = v113 + v125 │
00:23:44 verbose #45847 > │ let v129 : float = v114 + v126 │
00:23:44 verbose #45848 > │ let v130 : float = v115 + v127 │
00:23:44 verbose #45849 > │ let v131 : (unit -> UH0) = closure3(v0, v116, v106) │
00:23:44 verbose #45850 > │ UH0_0(v107, v108, v122, v123, v124, v118, v128, v129, v130, │
00:23:44 verbose #45851 > │ v131) │
00:23:44 verbose #45852 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #45853 > │ UH0_1 │
00:23:44 verbose #45854 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45855 > │ UH0_1 │
00:23:44 verbose #45856 > │ let v139 : (unit -> UH0) = closure4(v138) │
00:23:44 verbose #45857 > │ let v140 : (unit -> UH0) = method1(v138, v139) │
00:23:44 verbose #45858 > │ let v141 : UH0 = v140 () │
00:23:44 verbose #45859 > │ let v142 : UH1 = v1 v141 │
00:23:44 verbose #45860 > │ let v143 : float = v0 / 6.0 │
00:23:44 verbose #45861 > │ let v180 : UH1 = │
00:23:44 verbose #45862 > │ match v3 with │
00:23:44 verbose #45863 > │ | UH1_0(v144, v145, v146, v147, v148, v149, v150, v151, v152, v153) │
00:23:44 verbose #45864 > │ -> (* StreamCons *) │
00:23:44 verbose #45865 > │ match v50 with │
00:23:44 verbose #45866 > │ | UH1_0(v154, v155, v156, v157, v158, v159, v160, v161, v162, │
00:23:44 verbose #45867 > │ v163) -> (* StreamCons *) │
00:23:44 verbose #45868 > │ let v164 : float = v144 + v154 │
00:23:44 verbose #45869 > │ let v165 : float = v145 + v155 │
00:23:44 verbose #45870 > │ let v166 : float = v149 + v159 │
00:23:44 verbose #45871 > │ let v167 : float = v146 + v156 │
00:23:44 verbose #45872 > │ let v168 : float = v147 + v157 │
00:23:44 verbose #45873 > │ let v169 : float = v148 + v158 │
00:23:44 verbose #45874 > │ let v170 : float = v150 + v160 │
00:23:44 verbose #45875 > │ let v171 : float = v151 + v161 │
00:23:44 verbose #45876 > │ let v172 : float = v152 + v162 │
00:23:44 verbose #45877 > │ let v173 : (unit -> UH1) = closure20(v163, v153) │
00:23:44 verbose #45878 > │ UH1_0(v164, v165, v167, v168, v169, v166, v170, v171, v172, │
00:23:44 verbose #45879 > │ v173) │
00:23:44 verbose #45880 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45881 > │ UH1_1 │
00:23:44 verbose #45882 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45883 > │ UH1_1 │
00:23:44 verbose #45884 > │ let v217 : UH1 = │
00:23:44 verbose #45885 > │ match v180 with │
00:23:44 verbose #45886 > │ | UH1_0(v181, v182, v183, v184, v185, v186, v187, v188, v189, v190) │
00:23:44 verbose #45887 > │ -> (* StreamCons *) │
00:23:44 verbose #45888 > │ match v50 with │
00:23:44 verbose #45889 > │ | UH1_0(v191, v192, v193, v194, v195, v196, v197, v198, v199, │
00:23:44 verbose #45890 > │ v200) -> (* StreamCons *) │
00:23:44 verbose #45891 > │ let v201 : float = v181 + v191 │
00:23:44 verbose #45892 > │ let v202 : float = v182 + v192 │
00:23:44 verbose #45893 > │ let v203 : float = v186 + v196 │
00:23:44 verbose #45894 > │ let v204 : float = v183 + v193 │
00:23:44 verbose #45895 > │ let v205 : float = v184 + v194 │
00:23:44 verbose #45896 > │ let v206 : float = v185 + v195 │
00:23:44 verbose #45897 > │ let v207 : float = v187 + v197 │
00:23:44 verbose #45898 > │ let v208 : float = v188 + v198 │
00:23:44 verbose #45899 > │ let v209 : float = v189 + v199 │
00:23:44 verbose #45900 > │ let v210 : (unit -> UH1) = closure20(v200, v190) │
00:23:44 verbose #45901 > │ UH1_0(v201, v202, v204, v205, v206, v203, v207, v208, v209, │
00:23:44 verbose #45902 > │ v210) │
00:23:44 verbose #45903 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45904 > │ UH1_1 │
00:23:44 verbose #45905 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45906 > │ UH1_1 │
00:23:44 verbose #45907 > │ let v254 : UH1 = │
00:23:44 verbose #45908 > │ match v217 with │
00:23:44 verbose #45909 > │ | UH1_0(v218, v219, v220, v221, v222, v223, v224, v225, v226, v227) │
00:23:44 verbose #45910 > │ -> (* StreamCons *) │
00:23:44 verbose #45911 > │ match v96 with │
00:23:44 verbose #45912 > │ | UH1_0(v228, v229, v230, v231, v232, v233, v234, v235, v236, │
00:23:44 verbose #45913 > │ v237) -> (* StreamCons *) │
00:23:44 verbose #45914 > │ let v238 : float = v218 + v228 │
00:23:44 verbose #45915 > │ let v239 : float = v219 + v229 │
00:23:44 verbose #45916 > │ let v240 : float = v223 + v233 │
00:23:44 verbose #45917 > │ let v241 : float = v220 + v230 │
00:23:44 verbose #45918 > │ let v242 : float = v221 + v231 │
00:23:44 verbose #45919 > │ let v243 : float = v222 + v232 │
00:23:44 verbose #45920 > │ let v244 : float = v224 + v234 │
00:23:44 verbose #45921 > │ let v245 : float = v225 + v235 │
00:23:44 verbose #45922 > │ let v246 : float = v226 + v236 │
00:23:44 verbose #45923 > │ let v247 : (unit -> UH1) = closure20(v237, v227) │
00:23:44 verbose #45924 > │ UH1_0(v238, v239, v241, v242, v243, v240, v244, v245, v246, │
00:23:44 verbose #45925 > │ v247) │
00:23:44 verbose #45926 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45927 > │ UH1_1 │
00:23:44 verbose #45928 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45929 > │ UH1_1 │
00:23:44 verbose #45930 > │ let v291 : UH1 = │
00:23:44 verbose #45931 > │ match v254 with │
00:23:44 verbose #45932 > │ | UH1_0(v255, v256, v257, v258, v259, v260, v261, v262, v263, v264) │
00:23:44 verbose #45933 > │ -> (* StreamCons *) │
00:23:44 verbose #45934 > │ match v96 with │
00:23:44 verbose #45935 > │ | UH1_0(v265, v266, v267, v268, v269, v270, v271, v272, v273, │
00:23:44 verbose #45936 > │ v274) -> (* StreamCons *) │
00:23:44 verbose #45937 > │ let v275 : float = v255 + v265 │
00:23:44 verbose #45938 > │ let v276 : float = v256 + v266 │
00:23:44 verbose #45939 > │ let v277 : float = v260 + v270 │
00:23:44 verbose #45940 > │ let v278 : float = v257 + v267 │
00:23:44 verbose #45941 > │ let v279 : float = v258 + v268 │
00:23:44 verbose #45942 > │ let v280 : float = v259 + v269 │
00:23:44 verbose #45943 > │ let v281 : float = v261 + v271 │
00:23:44 verbose #45944 > │ let v282 : float = v262 + v272 │
00:23:44 verbose #45945 > │ let v283 : float = v263 + v273 │
00:23:44 verbose #45946 > │ let v284 : (unit -> UH1) = closure20(v274, v264) │
00:23:44 verbose #45947 > │ UH1_0(v275, v276, v278, v279, v280, v277, v281, v282, v283, │
00:23:44 verbose #45948 > │ v284) │
00:23:44 verbose #45949 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45950 > │ UH1_1 │
00:23:44 verbose #45951 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45952 > │ UH1_1 │
00:23:44 verbose #45953 > │ let v328 : UH1 = │
00:23:44 verbose #45954 > │ match v291 with │
00:23:44 verbose #45955 > │ | UH1_0(v292, v293, v294, v295, v296, v297, v298, v299, v300, v301) │
00:23:44 verbose #45956 > │ -> (* StreamCons *) │
00:23:44 verbose #45957 > │ match v142 with │
00:23:44 verbose #45958 > │ | UH1_0(v302, v303, v304, v305, v306, v307, v308, v309, v310, │
00:23:44 verbose #45959 > │ v311) -> (* StreamCons *) │
00:23:44 verbose #45960 > │ let v312 : float = v292 + v302 │
00:23:44 verbose #45961 > │ let v313 : float = v293 + v303 │
00:23:44 verbose #45962 > │ let v314 : float = v297 + v307 │
00:23:44 verbose #45963 > │ let v315 : float = v294 + v304 │
00:23:44 verbose #45964 > │ let v316 : float = v295 + v305 │
00:23:44 verbose #45965 > │ let v317 : float = v296 + v306 │
00:23:44 verbose #45966 > │ let v318 : float = v298 + v308 │
00:23:44 verbose #45967 > │ let v319 : float = v299 + v309 │
00:23:44 verbose #45968 > │ let v320 : float = v300 + v310 │
00:23:44 verbose #45969 > │ let v321 : (unit -> UH1) = closure20(v311, v301) │
00:23:44 verbose #45970 > │ UH1_0(v312, v313, v315, v316, v317, v314, v318, v319, v320, │
00:23:44 verbose #45971 > │ v321) │
00:23:44 verbose #45972 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45973 > │ UH1_1 │
00:23:44 verbose #45974 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #45975 > │ UH1_1 │
00:23:44 verbose #45976 > │ let v370 : UH0 = │
00:23:44 verbose #45977 > │ match v328 with │
00:23:44 verbose #45978 > │ | UH1_0(v329, v330, v331, v332, v333, v334, v335, v336, v337, v338) │
00:23:44 verbose #45979 > │ -> (* StreamCons *) │
00:23:44 verbose #45980 > │ match v2 with │
00:23:44 verbose #45981 > │ | UH0_0(v339, v340, v341, v342, v343, v344, v345, v346, v347, │
00:23:44 verbose #45982 > │ v348) -> (* StreamCons *) │
00:23:44 verbose #45983 > │ let v349 : float = v334 * v143 │
00:23:44 verbose #45984 > │ let v350 : float = v344 + v349 │
00:23:44 verbose #45985 > │ let v351 : float = v143 * v331 │
00:23:44 verbose #45986 > │ let v352 : float = v143 * v332 │
00:23:44 verbose #45987 > │ let v353 : float = v143 * v333 │
00:23:44 verbose #45988 > │ let v354 : float = v341 + v351 │
00:23:44 verbose #45989 > │ let v355 : float = v342 + v352 │
00:23:44 verbose #45990 > │ let v356 : float = v343 + v353 │
00:23:44 verbose #45991 > │ let v357 : float = v143 * v335 │
00:23:44 verbose #45992 > │ let v358 : float = v143 * v336 │
00:23:44 verbose #45993 > │ let v359 : float = v143 * v337 │
00:23:44 verbose #45994 > │ let v360 : float = v345 + v357 │
00:23:44 verbose #45995 > │ let v361 : float = v346 + v358 │
00:23:44 verbose #45996 > │ let v362 : float = v347 + v359 │
00:23:44 verbose #45997 > │ let v363 : (unit -> UH0) = closure3(v143, v348, v338) │
00:23:44 verbose #45998 > │ UH0_0(v339, v340, v354, v355, v356, v350, v360, v361, v362, │
00:23:44 verbose #45999 > │ v363) │
00:23:44 verbose #46000 > │ | UH0_1 -> (* StreamNil *) │
00:23:44 verbose #46001 > │ UH0_1 │
00:23:44 verbose #46002 > │ | UH1_1 -> (* StreamNil *) │
00:23:44 verbose #46003 > │ UH0_1 │
00:23:44 verbose #46004 > │ let v371 : (unit -> UH0) = closure4(v370) │
00:23:44 verbose #46005 > │ let v372 : (unit -> UH0) = method1(v370, v371) │
00:23:44 verbose #46006 > │ let v373 : UH0 = v372 () │
00:23:44 verbose #46007 > │ v373 │
00:23:44 verbose #46008 > │ and closure18 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:23:44 verbose #46009 > │ closure19(v0, v1) │
00:23:44 verbose #46010 > │ and closure17 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:23:44 verbose #46011 > │ closure18(v0) │
00:23:44 verbose #46012 > │ and method17 (v0 : UH4, v1 : UH6) : UH6 = │
00:23:44 verbose #46013 > │ match v0 with │
00:23:44 verbose #46014 > │ | UH4_1(v2, v3) -> (* Cons *) │
00:23:44 verbose #46015 > │ let v4 : UH6 = method17(v3, v1) │
00:23:44 verbose #46016 > │ let v5 : int32 = 0 │
00:23:44 verbose #46017 > │ let v6 : US2 = method6(v5, v2) │
00:23:44 verbose #46018 > │ let v23 : US3 = │
00:23:44 verbose #46019 > │ match v6 with │
00:23:44 verbose #46020 > │ | US2_1 -> (* None *) │
00:23:44 verbose #46021 > │ US3_1 │
00:23:44 verbose #46022 > │ | US2_0(v7, v8, v9, v10, v11, v12, v13, v14, v15) -> (* Some *) │
00:23:44 verbose #46023 > │ let v16 : UH7 = UH7_1 │
00:23:44 verbose #46024 > │ let v17 : UH7 = method12(v2, v16) │
00:23:44 verbose #46025 > │ let v18 : float = 0.0 │
00:23:44 verbose #46026 > │ let v19 : float = method13(v17, v18) │
00:23:44 verbose #46027 > │ US3_0(v12, v19) │
00:23:44 verbose #46028 > │ UH6_1(v23, v4) │
00:23:44 verbose #46029 > │ | UH4_0 -> (* Nil *) │
00:23:44 verbose #46030 > │ v1 │
00:23:44 verbose #46031 > │ and method19 (v0 : UH9, v1 : int32) : int32 = │
00:23:44 verbose #46032 > │ match v0 with │
00:23:44 verbose #46033 > │ | UH9_1(v2, v3) -> (* Cons *) │
00:23:44 verbose #46034 > │ let v4 : int32 = v1 + 1 │
00:23:44 verbose #46035 > │ method19(v3, v4) │
00:23:44 verbose #46036 > │ | UH9_0 -> (* Nil *) │
00:23:44 verbose #46037 > │ v1 │
00:23:44 verbose #46038 > │ and method20 (v0 : (float []), v1 : UH9, v2 : int32) : int32 = │
00:23:44 verbose #46039 > │ match v1 with │
00:23:44 verbose #46040 > │ | UH9_1(v3, v4) -> (* Cons *) │
00:23:44 verbose #46041 > │ v0.[int v2] <- v3 │
00:23:44 verbose #46042 > │ let v5 : int32 = v2 + 1 │
00:23:44 verbose #46043 > │ method20(v0, v4, v5) │
00:23:44 verbose #46044 > │ | UH9_0 -> (* Nil *) │
00:23:44 verbose #46045 > │ v2 │
00:23:44 verbose #46046 > │ and method18 (v0 : UH9) : (float []) = │
00:23:44 verbose #46047 > │ let v1 : int32 = 0 │
00:23:44 verbose #46048 > │ let v2 : int32 = method19(v0, v1) │
00:23:44 verbose #46049 > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:23:44 verbose #46050 > │ let v4 : int32 = 0 │
00:23:44 verbose #46051 > │ let v5 : int32 = method20(v3, v0, v4) │
00:23:44 verbose #46052 > │ v3 │
00:23:44 verbose #46053 > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:23:44 verbose #46054 > │ []) * (float [])) [])) = │
00:23:44 verbose #46055 > │ let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0() │
00:23:44 verbose #46056 > │ let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03 │
00:23:44 verbose #46057 > │ let v2 : (UH0 -> UH1) = closure8() │
00:23:44 verbose #46058 > │ let v3 : (UH0 -> UH0) = v1 v2 │
00:23:44 verbose #46059 > │ let v4 : UH4 = UH4_0 │
00:23:44 verbose #46060 > │ let v5 : int32 = 0 │
00:23:44 verbose #46061 > │ let v6 : UH4 = method7(v3, v4, v5) │
00:23:44 verbose #46062 > │ let v7 : UH6 = UH6_0 │
00:23:44 verbose #46063 > │ let v8 : UH6 = method11(v6, v7) │
00:23:44 verbose #46064 > │ let v9 : UH8 = UH8_0 │
00:23:44 verbose #46065 > │ let v10 : UH8 = method14(v8, v9) │
00:23:44 verbose #46066 > │ let v11 : UH9 = UH9_0 │
00:23:44 verbose #46067 > │ let v12 : UH9 = UH9_0 │
00:23:44 verbose #46068 > │ let struct (v13 : UH9, v14 : UH9) = method15(v10, v11, v12) │
00:23:44 verbose #46069 > │ let v15 : UH9 = UH9_0 │
00:23:44 verbose #46070 > │ let v16 : UH9 = method16(v13, v15) │
00:23:44 verbose #46071 > │ let v17 : UH9 = UH9_0 │
00:23:44 verbose #46072 > │ let v18 : UH9 = method16(v14, v17) │
00:23:44 verbose #46073 > │ let v19 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure17() │
00:23:44 verbose #46074 > │ let v20 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v19 0.03 │
00:23:44 verbose #46075 > │ let v21 : (UH0 -> UH0) = v20 v2 │
00:23:44 verbose #46076 > │ let v22 : UH4 = UH4_0 │
00:23:44 verbose #46077 > │ let v23 : int32 = 0 │
00:23:44 verbose #46078 > │ let v24 : UH4 = method7(v21, v22, v23) │
00:23:44 verbose #46079 > │ let v25 : UH6 = UH6_0 │
00:23:44 verbose #46080 > │ let v26 : UH6 = method17(v24, v25) │
00:23:44 verbose #46081 > │ let v27 : UH8 = UH8_0 │
00:23:44 verbose #46082 > │ let v28 : UH8 = method14(v26, v27) │
00:23:44 verbose #46083 > │ let v29 : UH9 = UH9_0 │
00:23:44 verbose #46084 > │ let v30 : UH9 = UH9_0 │
00:23:44 verbose #46085 > │ let struct (v31 : UH9, v32 : UH9) = method15(v28, v29, v30) │
00:23:44 verbose #46086 > │ let v33 : UH9 = UH9_0 │
00:23:44 verbose #46087 > │ let v34 : UH9 = method16(v31, v33) │
00:23:44 verbose #46088 > │ let v35 : UH9 = UH9_0 │
00:23:44 verbose #46089 > │ let v36 : UH9 = method16(v32, v35) │
00:23:44 verbose #46090 > │ let v37 : (float []) = method18(v16) │
00:23:44 verbose #46091 > │ let v38 : (float []) = method18(v18) │
00:23:44 verbose #46092 > │ let v39 : (float []) = method18(v34) │
00:23:44 verbose #46093 > │ let v40 : (float []) = method18(v36) │
00:23:44 verbose #46094 > │ let v41 : string = "euler-cromer" │
00:23:44 verbose #46095 > │ let v42 : string = "runge-kutta 4" │
00:23:44 verbose #46096 > │ let v43 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:44 verbose #46097 > │ (v41, v37, v38); struct (v42, v39, v40)|] │
00:23:44 verbose #46098 > │ let v44 : string = "system kinetic energy versus time" │
00:23:44 verbose #46099 > │ let v45 : string = "time (s)" │
00:23:44 verbose #46100 > │ let v46 : string = "system kinetic energy (j)" │
00:23:44 verbose #46101 > │ struct (v44, v45, v46, v43) │
00:23:44 verbose #46102 > │ method0() │
00:23:44 verbose #46103 > │ │
00:23:44 verbose #46104 > │ │
00:23:44 verbose #46105 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:44 verbose #46106 >
00:23:44 verbose #46107 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:44 verbose #46108 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:44 verbose #46109 > │ ### wave 2 │
00:23:44 verbose #46110 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:44 verbose #46111 >
00:23:44 verbose #46112 > ── spiral ──────────────────────────────────────────────────────────────────────
00:23:44 verbose #46113 > //// test
00:23:44 verbose #46114 >
00:23:44 verbose #46115 > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:23:44 verbose #46116 > inl r1 = st1.pos_vec
00:23:44 verbose #46117 > inl r2 = st2.pos_vec
00:23:44 verbose #46118 > inl r21 = r2 ^-^ r1
00:23:44 verbose #46119 > inl r21mag = magnitude r21
00:23:44 verbose #46120 > -k * (r21mag - re) *^ r21 ^/ r21mag
00:23:44 verbose #46121 >
00:23:44 verbose #46122 > inl fixed_linear_spring k re r1 =
00:23:44 verbose #46123 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:44 verbose #46124 > linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:23:44 verbose #46125 > r1 })
00:23:44 verbose #46126 >
00:23:44 verbose #46127 > inl forces_string () =
00:23:44 verbose #46128 > [[
00:23:44 verbose #46129 > ExternalForce (0i32, fixed_linear_spring 5384 0 (zero_vec ()))
00:23:44 verbose #46130 > ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:23:44 verbose #46131 > ]] /@ (
00:23:44 verbose #46132 > listm'.init_series 0 59 1
00:23:44 verbose #46133 > |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:23:44 verbose #46134 > )
00:23:44 verbose #46135 >
00:23:44 verbose #46136 > inl string_update dt =
00:23:44 verbose #46137 > update_mps (join runge_kutta_4 dt) (join forces_string ())
00:23:44 verbose #46138 >
00:23:44 verbose #46139 > inl string_initial_overtone n =
00:23:44 verbose #46140 > inl ball_mass = 0.0008293 * 0.65 / 64
00:23:44 verbose #46141 > inl (particle_state default_particle_state') = default_particle_state ()
00:23:44 verbose #46142 > listm'.init_series 0.01 0.64 0.01
00:23:44 verbose #46143 > |> listm.map (fun x =>
00:23:44 verbose #46144 > inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:23:44 verbose #46145 > particle_state {
00:23:44 verbose #46146 > default_particle_state' with
00:23:44 verbose #46147 > mass = ball_mass
00:23:44 verbose #46148 > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:23:44 verbose #46149 > velocity = zero_vec ()
00:23:44 verbose #46150 > }
00:23:44 verbose #46151 > )
00:23:44 verbose #46152 > |> stream.from_list
00:23:44 verbose #46153 > |> multi_particle_state
00:23:44 verbose #46154 >
00:23:44 verbose #46155 > let main () =
00:23:44 verbose #46156 > inl ~frames = listm'.init_series 0 65 1f64 |> stream.from_list
00:23:44 verbose #46157 > inl ~initial_state = string_initial_overtone 3i32
00:23:44 verbose #46158 > inl frames =
00:23:44 verbose #46159 > frames
00:23:44 verbose #46160 > |> stream.map (fun n =>
00:23:44 verbose #46161 > inl (multi_particle_state sts) =
00:23:44 verbose #46162 > stream.iterate (string_update 0.000025) initial_state |>
00:23:44 verbose #46163 > stream.item n
00:23:44 verbose #46164 > inl x, y =
00:23:44 verbose #46165 > [[ zero_vec () ]]
00:23:44 verbose #46166 > /@ (sts |> stream.map (fun (particle_state st) => st.pos_vec) |>
00:23:44 verbose #46167 > stream.to_list)
00:23:44 verbose #46168 > /@ [[ 0.65 *^ i_hat () ]]
00:23:44 verbose #46169 > |> listm.map (fun r => r.x, r.y)
00:23:44 verbose #46170 > |> stream.from_list
00:23:44 verbose #46171 > |> stream.unzip
00:23:44 verbose #46172 > inl x : a i32 _ = x |> stream.to_list |> listm.toArray
00:23:44 verbose #46173 > inl y : a i32 _ = y |> stream.to_list |> listm.toArray
00:23:44 verbose #46174 > x, y
00:23:44 verbose #46175 > )
00:23:44 verbose #46176 >
00:23:44 verbose #46177 > inl plots =
00:23:44 verbose #46178 > frames
00:23:44 verbose #46179 > |> stream.indexed
00:23:44 verbose #46180 > |> stream.map (fun ((n : i32), (x, y)) =>
00:23:44 verbose #46181 > "wave",
00:23:44 verbose #46182 > "position (m)",
00:23:44 verbose #46183 > "displacement (m)",
00:23:44 verbose #46184 > ;[[
00:23:44 verbose #46185 > ($"$\"{!n}\"" : string), x, y
00:23:44 verbose #46186 > ]]
00:23:44 verbose #46187 > )
00:23:44 verbose #46188 >
00:23:44 verbose #46189 > plots |> stream.to_list |> listm.toArray : a i32 _
00:23:44 verbose #46190 > 00:23:43 debug #859 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/265e9d8ec828b4839cd3a4ddbfc14a52e9ea33179216599934a4bd21fa6bf9f8/main.spi
00:23:53 verbose #46191 >
00:23:53 verbose #46192 > ╭─[ 9.58s - return value ]─────────────────────────────────────────────────────╮
00:23:53 verbose #46193 > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │
00:23:53 verbose #46194 > │ ><td>0</td><td><svg width="640" height="480" viewBox="0 0 640 480" │
00:23:53 verbose #46195 > │ xmlns="http://www.w3.org/2000/svg"> │
00:23:53 verbose #46196 > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:23:53 verbose #46197 > │ stroke="none"/> │
00:23:53 verbose #46198 > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:23:53 verbose #46199 > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:23:53 verbose #46200 > │ fill="#FFFFFF"> │
00:23:53 verbose #46201 > │ wave │
00:23:53 verbose #46202 > │ </text> │
00:23:53 verbose #46203 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:23:53 verbose #46204 > │ y2="75"/> │
00:23:53 verbose #46205 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:23:53 verbose #46206 > │ y2="75"/> │
00:23:53 verbose #46207 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:23:53 verbose #46208 > │ y2="75"/> │
00:23:53 verbose #46209 > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" │
00:23:53 verbose #46210 > │ x2="85... │
00:23:53 verbose #46211 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:53 verbose #46212 >
00:23:54 verbose #46213 > ╭─[ 9.59s - stdout ]───────────────────────────────────────────────────────────╮
00:23:54 verbose #46214 > │ type UH0 = │
00:23:54 verbose #46215 > │ | UH0_0 of float * (unit -> UH0) │
00:23:54 verbose #46216 > │ | UH0_1 │
00:23:54 verbose #46217 > │ and UH1 = │
00:23:54 verbose #46218 > │ | UH1_0 of float * float * float * float * float * float * float * float │
00:23:54 verbose #46219 > │ * float * (unit -> UH1) │
00:23:54 verbose #46220 > │ | UH1_1 │
00:23:54 verbose #46221 > │ and UH2 = │
00:23:54 verbose #46222 > │ | UH2_0 of (float []) * (float []) * (unit -> UH2) │
00:23:54 verbose #46223 > │ | UH2_1 │
00:23:54 verbose #46224 > │ and UH3 = │
00:23:54 verbose #46225 > │ | UH3_0 of float * float * float * float * float * float * float * float │
00:23:54 verbose #46226 > │ * float * (unit -> UH3) │
00:23:54 verbose #46227 > │ | UH3_1 │
00:23:54 verbose #46228 > │ and [<Struct>] US0 = │
00:23:54 verbose #46229 > │ | US0_0 of f0_0 : (unit -> UH1) │
00:23:54 verbose #46230 > │ | US0_1 of f1_0 : UH1 │
00:23:54 verbose #46231 > │ and Mut0 = {mutable l0 : US0} │
00:23:54 verbose #46232 > │ and [<Struct>] US1 = │
00:23:54 verbose #46233 > │ | US1_0 of f0_0 : int32 * f0_1 : (struct (float * float * float * float │
00:23:54 verbose #46234 > │ * float * float * float * float * float) -> struct (float * float * float)) │
00:23:54 verbose #46235 > │ | US1_1 of f1_0 : int32 * f1_1 : int32 * f1_2 : (struct (float * float * │
00:23:54 verbose #46236 > │ float * float * float * float * float * float * float) -> (struct (float * │
00:23:54 verbose #46237 > │ float * float * float * float * float * float * float * float) -> struct │
00:23:54 verbose #46238 > │ (float * float * float))) │
00:23:54 verbose #46239 > │ and UH4 = │
00:23:54 verbose #46240 > │ | UH4_0 │
00:23:54 verbose #46241 > │ | UH4_1 of US1 * UH4 │
00:23:54 verbose #46242 > │ and UH5 = │
00:23:54 verbose #46243 > │ | UH5_0 of int32 * float * float * float * float * float * float * float │
00:23:54 verbose #46244 > │ * float * float * (unit -> UH5) │
00:23:54 verbose #46245 > │ | UH5_1 │
00:23:54 verbose #46246 > │ and UH6 = │
00:23:54 verbose #46247 > │ | UH6_0 │
00:23:54 verbose #46248 > │ | UH6_1 of (struct (float * float * float * float * float * float * │
00:23:54 verbose #46249 > │ float * float * float) -> struct (float * float * float)) * UH6 │
00:23:54 verbose #46250 > │ and [<Struct>] US2 = │
00:23:54 verbose #46251 > │ | US2_0 of f0_0 : (struct (float * float * float * float * float * float │
00:23:54 verbose #46252 > │ * float * float * float) -> struct (float * float * float)) │
00:23:54 verbose #46253 > │ | US2_1 │
00:23:54 verbose #46254 > │ and [<Struct>] US3 = │
00:23:54 verbose #46255 > │ | US3_0 of f0_0 : float * f0_1 : float * f0_2 : float * f0_3 : float * │
00:23:54 verbose #46256 > │ f0_4 : float * f0_5 : float * f0_6 : float * f0_7 : float * f0_8 : float │
00:23:54 verbose #46257 > │ | US3_1 │
00:23:54 verbose #46258 > │ and UH7 = │
00:23:54 verbose #46259 > │ | UH7_0 │
00:23:54 verbose #46260 > │ | UH7_1 of float * float * float * UH7 │
00:23:54 verbose #46261 > │ and UH8 = │
00:23:54 verbose #46262 > │ | UH8_0 of UH1 * (unit -> UH8) │
00:23:54 verbose #46263 > │ | UH8_1 │
00:23:54 verbose #46264 > │ and [<Struct>] US4 = │
00:23:54 verbose #46265 > │ | US4_0 of f0_0 : UH1 │
00:23:54 verbose #46266 > │ | US4_1 │
00:23:54 verbose #46267 > │ and UH9 = │
00:23:54 verbose #46268 > │ | UH9_0 of float * float * float * (unit -> UH9) │
00:23:54 verbose #46269 > │ | UH9_1 │
00:23:54 verbose #46270 > │ and UH10 = │
00:23:54 verbose #46271 > │ | UH10_0 │
00:23:54 verbose #46272 > │ | UH10_1 of float * float * UH10 │
00:23:54 verbose #46273 > │ and UH11 = │
00:23:54 verbose #46274 > │ | UH11_0 of float * float * (unit -> UH11) │
00:23:54 verbose #46275 > │ | UH11_1 │
00:23:54 verbose #46276 > │ and UH12 = │
00:23:54 verbose #46277 > │ | UH12_0 │
00:23:54 verbose #46278 > │ | UH12_1 of float * UH12 │
00:23:54 verbose #46279 > │ and UH13 = │
00:23:54 verbose #46280 > │ | UH13_0 of int32 * (float []) * (float []) * (unit -> UH13) │
00:23:54 verbose #46281 > │ | UH13_1 │
00:23:54 verbose #46282 > │ and UH14 = │
00:23:54 verbose #46283 > │ | UH14_0 of string * string * string * (struct (string * (float []) * │
00:23:54 verbose #46284 > │ (float [])) []) * (unit -> UH14) │
00:23:54 verbose #46285 > │ | UH14_1 │
00:23:54 verbose #46286 > │ and UH15 = │
00:23:54 verbose #46287 > │ | UH15_0 │
00:23:54 verbose #46288 > │ | UH15_1 of string * string * string * (struct (string * (float []) * │
00:23:54 verbose #46289 > │ (float [])) []) * UH15 │
00:23:54 verbose #46290 > │ let rec closure65 () () : UH0 = │
00:23:54 verbose #46291 > │ UH0_1 │
00:23:54 verbose #46292 > │ and closure64 () () : UH0 = │
00:23:54 verbose #46293 > │ let v0 : (unit -> UH0) = closure65() │
00:23:54 verbose #46294 > │ UH0_0(65.0, v0) │
00:23:54 verbose #46295 > │ and closure63 () () : UH0 = │
00:23:54 verbose #46296 > │ let v0 : (unit -> UH0) = closure64() │
00:23:54 verbose #46297 > │ UH0_0(64.0, v0) │
00:23:54 verbose #46298 > │ and closure62 () () : UH0 = │
00:23:54 verbose #46299 > │ let v0 : (unit -> UH0) = closure63() │
00:23:54 verbose #46300 > │ UH0_0(63.0, v0) │
00:23:54 verbose #46301 > │ and closure61 () () : UH0 = │
00:23:54 verbose #46302 > │ let v0 : (unit -> UH0) = closure62() │
00:23:54 verbose #46303 > │ UH0_0(62.0, v0) │
00:23:54 verbose #46304 > │ and closure60 () () : UH0 = │
00:23:54 verbose #46305 > │ let v0 : (unit -> UH0) = closure61() │
00:23:54 verbose #46306 > │ UH0_0(61.0, v0) │
00:23:54 verbose #46307 > │ and closure59 () () : UH0 = │
00:23:54 verbose #46308 > │ let v0 : (unit -> UH0) = closure60() │
00:23:54 verbose #46309 > │ UH0_0(60.0, v0) │
00:23:54 verbose #46310 > │ and closure58 () () : UH0 = │
00:23:54 verbose #46311 > │ let v0 : (unit -> UH0) = closure59() │
00:23:54 verbose #46312 > │ UH0_0(59.0, v0) │
00:23:54 verbose #46313 > │ and closure57 () () : UH0 = │
00:23:54 verbose #46314 > │ let v0 : (unit -> UH0) = closure58() │
00:23:54 verbose #46315 > │ UH0_0(58.0, v0) │
00:23:54 verbose #46316 > │ and closure56 () () : UH0 = │
00:23:54 verbose #46317 > │ let v0 : (unit -> UH0) = closure57() │
00:23:54 verbose #46318 > │ UH0_0(57.0, v0) │
00:23:54 verbose #46319 > │ and closure55 () () : UH0 = │
00:23:54 verbose #46320 > │ let v0 : (unit -> UH0) = closure56() │
00:23:54 verbose #46321 > │ UH0_0(56.0, v0) │
00:23:54 verbose #46322 > │ and closure54 () () : UH0 = │
00:23:54 verbose #46323 > │ let v0 : (unit -> UH0) = closure55() │
00:23:54 verbose #46324 > │ UH0_0(55.0, v0) │
00:23:54 verbose #46325 > │ and closure53 () () : UH0 = │
00:23:54 verbose #46326 > │ let v0 : (unit -> UH0) = closure54() │
00:23:54 verbose #46327 > │ UH0_0(54.0, v0) │
00:23:54 verbose #46328 > │ and closure52 () () : UH0 = │
00:23:54 verbose #46329 > │ let v0 : (unit -> UH0) = closure53() │
00:23:54 verbose #46330 > │ UH0_0(53.0, v0) │
00:23:54 verbose #46331 > │ and closure51 () () : UH0 = │
00:23:54 verbose #46332 > │ let v0 : (unit -> UH0) = closure52() │
00:23:54 verbose #46333 > │ UH0_0(52.0, v0) │
00:23:54 verbose #46334 > │ and closure50 () () : UH0 = │
00:23:54 verbose #46335 > │ let v0 : (unit -> UH0) = closure51() │
00:23:54 verbose #46336 > │ UH0_0(51.0, v0) │
00:23:54 verbose #46337 > │ and closure49 () () : UH0 = │
00:23:54 verbose #46338 > │ let v0 : (unit -> UH0) = closure50() │
00:23:54 verbose #46339 > │ UH0_0(50.0, v0) │
00:23:54 verbose #46340 > │ and closure48 () () : UH0 = │
00:23:54 verbose #46341 > │ let v0 : (unit -> UH0) = closure49() │
00:23:54 verbose #46342 > │ UH0_0(49.0, v0) │
00:23:54 verbose #46343 > │ and closure47 () () : UH0 = │
00:23:54 verbose #46344 > │ let v0 : (unit -> UH0) = closure48() │
00:23:54 verbose #46345 > │ UH0_0(48.0, v0) │
00:23:54 verbose #46346 > │ and closure46 () () : UH0 = │
00:23:54 verbose #46347 > │ let v0 : (unit -> UH0) = closure47() │
00:23:54 verbose #46348 > │ UH0_0(47.0, v0) │
00:23:54 verbose #46349 > │ and closure45 () () : UH0 = │
00:23:54 verbose #46350 > │ let v0 : (unit -> UH0) = closure46() │
00:23:54 verbose #46351 > │ UH0_0(46.0, v0) │
00:23:54 verbose #46352 > │ and closure44 () () : UH0 = │
00:23:54 verbose #46353 > │ let v0 : (unit -> UH0) = closure45() │
00:23:54 verbose #46354 > │ UH0_0(45.0, v0) │
00:23:54 verbose #46355 > │ and closure43 () () : UH0 = │
00:23:54 verbose #46356 > │ let v0 : (unit -> UH0) = closure44() │
00:23:54 verbose #46357 > │ UH0_0(44.0, v0) │
00:23:54 verbose #46358 > │ and closure42 () () : UH0 = │
00:23:54 verbose #46359 > │ let v0 : (unit -> UH0) = closure43() │
00:23:54 verbose #46360 > │ UH0_0(43.0, v0) │
00:23:54 verbose #46361 > │ and closure41 () () : UH0 = │
00:23:54 verbose #46362 > │ let v0 : (unit -> UH0) = closure42() │
00:23:54 verbose #46363 > │ UH0_0(42.0, v0) │
00:23:54 verbose #46364 > │ and closure40 () () : UH0 = │
00:23:54 verbose #46365 > │ let v0 : (unit -> UH0) = closure41() │
00:23:54 verbose #46366 > │ UH0_0(41.0, v0) │
00:23:54 verbose #46367 > │ and closure39 () () : UH0 = │
00:23:54 verbose #46368 > │ let v0 : (unit -> UH0) = closure40() │
00:23:54 verbose #46369 > │ UH0_0(40.0, v0) │
00:23:54 verbose #46370 > │ and closure38 () () : UH0 = │
00:23:54 verbose #46371 > │ let v0 : (unit -> UH0) = closure39() │
00:23:54 verbose #46372 > │ UH0_0(39.0, v0) │
00:23:54 verbose #46373 > │ and closure37 () () : UH0 = │
00:23:54 verbose #46374 > │ let v0 : (unit -> UH0) = closure38() │
00:23:54 verbose #46375 > │ UH0_0(38.0, v0) │
00:23:54 verbose #46376 > │ and closure36 () () : UH0 = │
00:23:54 verbose #46377 > │ let v0 : (unit -> UH0) = closure37() │
00:23:54 verbose #46378 > │ UH0_0(37.0, v0) │
00:23:54 verbose #46379 > │ and closure35 () () : UH0 = │
00:23:54 verbose #46380 > │ let v0 : (unit -> UH0) = closure36() │
00:23:54 verbose #46381 > │ UH0_0(36.0, v0) │
00:23:54 verbose #46382 > │ and closure34 () () : UH0 = │
00:23:54 verbose #46383 > │ let v0 : (unit -> UH0) = closure35() │
00:23:54 verbose #46384 > │ UH0_0(35.0, v0) │
00:23:54 verbose #46385 > │ and closure33 () () : UH0 = │
00:23:54 verbose #46386 > │ let v0 : (unit -> UH0) = closure34() │
00:23:54 verbose #46387 > │ UH0_0(34.0, v0) │
00:23:54 verbose #46388 > │ and closure32 () () : UH0 = │
00:23:54 verbose #46389 > │ let v0 : (unit -> UH0) = closure33() │
00:23:54 verbose #46390 > │ UH0_0(33.0, v0) │
00:23:54 verbose #46391 > │ and closure31 () () : UH0 = │
00:23:54 verbose #46392 > │ let v0 : (unit -> UH0) = closure32() │
00:23:54 verbose #46393 > │ UH0_0(32.0, v0) │
00:23:54 verbose #46394 > │ and closure30 () () : UH0 = │
00:23:54 verbose #46395 > │ let v0 : (unit -> UH0) = closure31() │
00:23:54 verbose #46396 > │ UH0_0(31.0, v0) │
00:23:54 verbose #46397 > │ and closure29 () () : UH0 = │
00:23:54 verbose #46398 > │ let v0 : (unit -> UH0) = closure30() │
00:23:54 verbose #46399 > │ UH0_0(30.0, v0) │
00:23:54 verbose #46400 > │ and closure28 () () : UH0 = │
00:23:54 verbose #46401 > │ let v0 : (unit -> UH0) = closure29() │
00:23:54 verbose #46402 > │ UH0_0(29.0, v0) │
00:23:54 verbose #46403 > │ and closure27 () () : UH0 = │
00:23:54 verbose #46404 > │ let v0 : (unit -> UH0) = closure28() │
00:23:54 verbose #46405 > │ UH0_0(28.0, v0) │
00:23:54 verbose #46406 > │ and closure26 () () : UH0 = │
00:23:54 verbose #46407 > │ let v0 : (unit -> UH0) = closure27() │
00:23:54 verbose #46408 > │ UH0_0(27.0, v0) │
00:23:54 verbose #46409 > │ and closure25 () () : UH0 = │
00:23:54 verbose #46410 > │ let v0 : (unit -> UH0) = closure26() │
00:23:54 verbose #46411 > │ UH0_0(26.0, v0) │
00:23:54 verbose #46412 > │ and closure24 () () : UH0 = │
00:23:54 verbose #46413 > │ let v0 : (unit -> UH0) = closure25() │
00:23:54 verbose #46414 > │ UH0_0(25.0, v0) │
00:23:54 verbose #46415 > │ and closure23 () () : UH0 = │
00:23:54 verbose #46416 > │ let v0 : (unit -> UH0) = closure24() │
00:23:54 verbose #46417 > │ UH0_0(24.0, v0) │
00:23:54 verbose #46418 > │ and closure22 () () : UH0 = │
00:23:54 verbose #46419 > │ let v0 : (unit -> UH0) = closure23() │
00:23:54 verbose #46420 > │ UH0_0(23.0, v0) │
00:23:54 verbose #46421 > │ and closure21 () () : UH0 = │
00:23:54 verbose #46422 > │ let v0 : (unit -> UH0) = closure22() │
00:23:54 verbose #46423 > │ UH0_0(22.0, v0) │
00:23:54 verbose #46424 > │ and closure20 () () : UH0 = │
00:23:54 verbose #46425 > │ let v0 : (unit -> UH0) = closure21() │
00:23:54 verbose #46426 > │ UH0_0(21.0, v0) │
00:23:54 verbose #46427 > │ and closure19 () () : UH0 = │
00:23:54 verbose #46428 > │ let v0 : (unit -> UH0) = closure20() │
00:23:54 verbose #46429 > │ UH0_0(20.0, v0) │
00:23:54 verbose #46430 > │ and closure18 () () : UH0 = │
00:23:54 verbose #46431 > │ let v0 : (unit -> UH0) = closure19() │
00:23:54 verbose #46432 > │ UH0_0(19.0, v0) │
00:23:54 verbose #46433 > │ and closure17 () () : UH0 = │
00:23:54 verbose #46434 > │ let v0 : (unit -> UH0) = closure18() │
00:23:54 verbose #46435 > │ UH0_0(18.0, v0) │
00:23:54 verbose #46436 > │ and closure16 () () : UH0 = │
00:23:54 verbose #46437 > │ let v0 : (unit -> UH0) = closure17() │
00:23:54 verbose #46438 > │ UH0_0(17.0, v0) │
00:23:54 verbose #46439 > │ and closure15 () () : UH0 = │
00:23:54 verbose #46440 > │ let v0 : (unit -> UH0) = closure16() │
00:23:54 verbose #46441 > │ UH0_0(16.0, v0) │
00:23:54 verbose #46442 > │ and closure14 () () : UH0 = │
00:23:54 verbose #46443 > │ let v0 : (unit -> UH0) = closure15() │
00:23:54 verbose #46444 > │ UH0_0(15.0, v0) │
00:23:54 verbose #46445 > │ and closure13 () () : UH0 = │
00:23:54 verbose #46446 > │ let v0 : (unit -> UH0) = closure14() │
00:23:54 verbose #46447 > │ UH0_0(14.0, v0) │
00:23:54 verbose #46448 > │ and closure12 () () : UH0 = │
00:23:54 verbose #46449 > │ let v0 : (unit -> UH0) = closure13() │
00:23:54 verbose #46450 > │ UH0_0(13.0, v0) │
00:23:54 verbose #46451 > │ and closure11 () () : UH0 = │
00:23:54 verbose #46452 > │ let v0 : (unit -> UH0) = closure12() │
00:23:54 verbose #46453 > │ UH0_0(12.0, v0) │
00:23:54 verbose #46454 > │ and closure10 () () : UH0 = │
00:23:54 verbose #46455 > │ let v0 : (unit -> UH0) = closure11() │
00:23:54 verbose #46456 > │ UH0_0(11.0, v0) │
00:23:54 verbose #46457 > │ and closure9 () () : UH0 = │
00:23:54 verbose #46458 > │ let v0 : (unit -> UH0) = closure10() │
00:23:54 verbose #46459 > │ UH0_0(10.0, v0) │
00:23:54 verbose #46460 > │ and closure8 () () : UH0 = │
00:23:54 verbose #46461 > │ let v0 : (unit -> UH0) = closure9() │
00:23:54 verbose #46462 > │ UH0_0(9.0, v0) │
00:23:54 verbose #46463 > │ and closure7 () () : UH0 = │
00:23:54 verbose #46464 > │ let v0 : (unit -> UH0) = closure8() │
00:23:54 verbose #46465 > │ UH0_0(8.0, v0) │
00:23:54 verbose #46466 > │ and closure6 () () : UH0 = │
00:23:54 verbose #46467 > │ let v0 : (unit -> UH0) = closure7() │
00:23:54 verbose #46468 > │ UH0_0(7.0, v0) │
00:23:54 verbose #46469 > │ and closure5 () () : UH0 = │
00:23:54 verbose #46470 > │ let v0 : (unit -> UH0) = closure6() │
00:23:54 verbose #46471 > │ UH0_0(6.0, v0) │
00:23:54 verbose #46472 > │ and closure4 () () : UH0 = │
00:23:54 verbose #46473 > │ let v0 : (unit -> UH0) = closure5() │
00:23:54 verbose #46474 > │ UH0_0(5.0, v0) │
00:23:54 verbose #46475 > │ and closure3 () () : UH0 = │
00:23:54 verbose #46476 > │ let v0 : (unit -> UH0) = closure4() │
00:23:54 verbose #46477 > │ UH0_0(4.0, v0) │
00:23:54 verbose #46478 > │ and closure2 () () : UH0 = │
00:23:54 verbose #46479 > │ let v0 : (unit -> UH0) = closure3() │
00:23:54 verbose #46480 > │ UH0_0(3.0, v0) │
00:23:54 verbose #46481 > │ and closure1 () () : UH0 = │
00:23:54 verbose #46482 > │ let v0 : (unit -> UH0) = closure2() │
00:23:54 verbose #46483 > │ UH0_0(2.0, v0) │
00:23:54 verbose #46484 > │ and closure0 () () : UH0 = │
00:23:54 verbose #46485 > │ let v0 : (unit -> UH0) = closure1() │
00:23:54 verbose #46486 > │ UH0_0(1.0, v0) │
00:23:54 verbose #46487 > │ and closure129 () () : UH1 = │
00:23:54 verbose #46488 > │ UH1_1 │
00:23:54 verbose #46489 > │ and closure128 () () : UH1 = │
00:23:54 verbose #46490 > │ let v0 : (unit -> UH1) = closure129() │
00:23:54 verbose #46491 > │ UH1_0(0.0, 8.422578125E-06, 0.64, 0.0007224452478461016, 0.0, 0.0, 0.0, │
00:23:54 verbose #46492 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46493 > │ and closure127 () () : UH1 = │
00:23:54 verbose #46494 > │ let v0 : (unit -> UH1) = closure128() │
00:23:54 verbose #46495 > │ UH1_0(0.0, 8.422578125E-06, 0.63, 0.001429728391993452, 0.0, 0.0, 0.0, │
00:23:54 verbose #46496 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46497 > │ and closure126 () () : UH1 = │
00:23:54 verbose #46498 > │ let v0 : (unit -> UH1) = closure127() │
00:23:54 verbose #46499 > │ UH1_0(0.0, 8.422578125E-06, 0.62, 0.0021070055388626528, 0.0, 0.0, 0.0, │
00:23:54 verbose #46500 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46501 > │ and closure125 () () : UH1 = │
00:23:54 verbose #46502 > │ let v0 : (unit -> UH1) = closure126() │
00:23:54 verbose #46503 > │ UH1_0(0.0, 8.422578125E-06, 0.61, 0.0027400625367733585, 0.0, 0.0, 0.0, │
00:23:54 verbose #46504 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46505 > │ and closure124 () () : UH1 = │
00:23:54 verbose #46506 > │ let v0 : (unit -> UH1) = closure125() │
00:23:54 verbose #46507 > │ UH1_0(0.0, 8.422578125E-06, 0.6, 0.0033156132912039783, 0.0, 0.0, 0.0, │
00:23:54 verbose #46508 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46509 > │ and closure123 () () : UH1 = │
00:23:54 verbose #46510 > │ let v0 : (unit -> UH1) = closure124() │
00:23:54 verbose #46511 > │ UH1_0(0.0, 8.422578125E-06, 0.59, 0.003821578602729245, 0.0, 0.0, 0.0, │
00:23:54 verbose #46512 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46513 > │ and closure122 () () : UH1 = │
00:23:54 verbose #46514 > │ let v0 : (unit -> UH1) = closure123() │
00:23:54 verbose #46515 > │ UH1_0(0.0, 8.422578125E-06, 0.5800000000000001, 0.004247339675607605, │
00:23:54 verbose #46516 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46517 > │ and closure121 () () : UH1 = │
00:23:54 verbose #46518 > │ let v0 : (unit -> UH1) = closure122() │
00:23:54 verbose #46519 > │ UH1_0(0.0, 8.422578125E-06, 0.5700000000000001, 0.004583960976582912, │
00:23:54 verbose #46520 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46521 > │ and closure120 () () : UH1 = │
00:23:54 verbose #46522 > │ let v0 : (unit -> UH1) = closure121() │
00:23:54 verbose #46523 > │ UH1_0(0.0, 8.422578125E-06, 0.56, 0.004824377766717758, 0.0, 0.0, 0.0, │
00:23:54 verbose #46524 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46525 > │ and closure119 () () : UH1 = │
00:23:54 verbose #46526 > │ let v0 : (unit -> UH1) = closure120() │
00:23:54 verbose #46527 > │ UH1_0(0.0, 8.422578125E-06, 0.55, 0.004963544370490271, 0.0, 0.0, 0.0, │
00:23:54 verbose #46528 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46529 > │ and closure118 () () : UH1 = │
00:23:54 verbose #46530 > │ let v0 : (unit -> UH1) = closure119() │
00:23:54 verbose #46531 > │ UH1_0(0.0, 8.422578125E-06, 0.54, 0.004998540070400965, 0.0, 0.0, 0.0, │
00:23:54 verbose #46532 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46533 > │ and closure117 () () : UH1 = │
00:23:54 verbose #46534 > │ let v0 : (unit -> UH1) = closure118() │
00:23:54 verbose #46535 > │ UH1_0(0.0, 8.422578125E-06, 0.53, 0.004928630404658255, 0.0, 0.0, 0.0, │
00:23:54 verbose #46536 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46537 > │ and closure116 () () : UH1 = │
00:23:54 verbose #46538 > │ let v0 : (unit -> UH1) = closure117() │
00:23:54 verbose #46539 > │ UH1_0(0.0, 8.422578125E-06, 0.52, 0.004755282581475766, 0.0, 0.0, 0.0, │
00:23:54 verbose #46540 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46541 > │ and closure115 () () : UH1 = │
00:23:54 verbose #46542 > │ let v0 : (unit -> UH1) = closure116() │
00:23:54 verbose #46543 > │ UH1_0(0.0, 8.422578125E-06, 0.51, 0.0044821346864785195, 0.0, 0.0, 0.0, │
00:23:54 verbose #46544 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46545 > │ and closure114 () () : UH1 = │
00:23:54 verbose #46546 > │ let v0 : (unit -> UH1) = closure115() │
00:23:54 verbose #46547 > │ UH1_0(0.0, 8.422578125E-06, 0.5, 0.0041149193294682815, 0.0, 0.0, 0.0, │
00:23:54 verbose #46548 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46549 > │ and closure113 () () : UH1 = │
00:23:54 verbose #46550 > │ let v0 : (unit -> UH1) = closure114() │
00:23:54 verbose #46551 > │ UH1_0(0.0, 8.422578125E-06, 0.49, 0.0036613433329888622, 0.0, 0.0, 0.0, │
00:23:54 verbose #46552 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46553 > │ and closure112 () () : UH1 = │
00:23:54 verbose #46554 > │ let v0 : (unit -> UH1) = closure113() │
00:23:54 verbose #46555 > │ UH1_0(0.0, 8.422578125E-06, 0.48000000000000004, 0.003130925987691568, │
00:23:54 verbose #46556 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46557 > │ and closure111 () () : UH1 = │
00:23:54 verbose #46558 > │ let v0 : (unit -> UH1) = closure112() │
00:23:54 verbose #46559 > │ UH1_0(0.0, 8.422578125E-06, 0.47000000000000003, 0.002534799269067953, │
00:23:54 verbose #46560 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46561 > │ and closure110 () () : UH1 = │
00:23:54 verbose #46562 > │ let v0 : (unit -> UH1) = closure111() │
00:23:54 verbose #46563 > │ UH1_0(0.0, 8.422578125E-06, 0.46, 0.0018854742084416021, 0.0, 0.0, 0.0, │
00:23:54 verbose #46564 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46565 > │ and closure109 () () : UH1 = │
00:23:54 verbose #46566 > │ let v0 : (unit -> UH1) = closure110() │
00:23:54 verbose #46567 > │ UH1_0(0.0, 8.422578125E-06, 0.45, 0.0011965783214377866, 0.0, 0.0, 0.0, │
00:23:54 verbose #46568 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46569 > │ and closure108 () () : UH1 = │
00:23:54 verbose #46570 > │ let v0 : (unit -> UH1) = closure109() │
00:23:54 verbose #46571 > │ UH1_0(0.0, 8.422578125E-06, 0.44, 0.0004825696045725713, 0.0, 0.0, 0.0, │
00:23:54 verbose #46572 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46573 > │ and closure107 () () : UH1 = │
00:23:54 verbose #46574 > │ let v0 : (unit -> UH1) = closure108() │
00:23:54 verbose #46575 > │ UH1_0(0.0, 8.422578125E-06, 0.43, -0.00024156689762753724, 0.0, 0.0, │
00:23:54 verbose #46576 > │ 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46577 > │ and closure106 () () : UH1 = │
00:23:54 verbose #46578 > │ let v0 : (unit -> UH1) = closure107() │
00:23:54 verbose #46579 > │ UH1_0(0.0, 8.422578125E-06, 0.42000000000000004, -0.0009606335867685414, │
00:23:54 verbose #46580 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46581 > │ and closure105 () () : UH1 = │
00:23:54 verbose #46582 > │ let v0 : (unit -> UH1) = closure106() │
00:23:54 verbose #46583 > │ UH1_0(0.0, 8.422578125E-06, 0.41000000000000003, -0.0016595392656426435, │
00:23:54 verbose #46584 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46585 > │ and closure104 () () : UH1 = │
00:23:54 verbose #46586 > │ let v0 : (unit -> UH1) = closure105() │
00:23:54 verbose #46587 > │ UH1_0(0.0, 8.422578125E-06, 0.4, -0.002323615860218846, 0.0, 0.0, 0.0, │
00:23:54 verbose #46588 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46589 > │ and closure103 () () : UH1 = │
00:23:54 verbose #46590 > │ let v0 : (unit -> UH1) = closure104() │
00:23:54 verbose #46591 > │ UH1_0(0.0, 8.422578125E-06, 0.39, -0.002938926261462367, 0.0, 0.0, 0.0, │
00:23:54 verbose #46592 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46593 > │ and closure102 () () : UH1 = │
00:23:54 verbose #46594 > │ let v0 : (unit -> UH1) = closure103() │
00:23:54 verbose #46595 > │ UH1_0(0.0, 8.422578125E-06, 0.38, -0.0034925568262446837, 0.0, 0.0, 0.0, │
00:23:54 verbose #46596 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46597 > │ and closure101 () () : UH1 = │
00:23:54 verbose #46598 > │ let v0 : (unit -> UH1) = closure102() │
00:23:54 verbose #46599 > │ UH1_0(0.0, 8.422578125E-06, 0.37, -0.003972888398568774, 0.0, 0.0, 0.0, │
00:23:54 verbose #46600 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46601 > │ and closure100 () () : UH1 = │
00:23:54 verbose #46602 > │ let v0 : (unit -> UH1) = closure101() │
00:23:54 verbose #46603 > │ UH1_0(0.0, 8.422578125E-06, 0.36000000000000004, -0.004369840163132589, │
00:23:54 verbose #46604 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46605 > │ and closure99 () () : UH1 = │
00:23:54 verbose #46606 > │ let v0 : (unit -> UH1) = closure100() │
00:23:54 verbose #46607 > │ UH1_0(0.0, 8.422578125E-06, 0.35000000000000003, -0.004675081213427074, │
00:23:54 verbose #46608 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46609 > │ and closure98 () () : UH1 = │
00:23:54 verbose #46610 > │ let v0 : (unit -> UH1) = closure99() │
00:23:54 verbose #46611 > │ UH1_0(0.0, 8.422578125E-06, 0.34, -0.004882205394146361, 0.0, 0.0, 0.0, │
00:23:54 verbose #46612 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46613 > │ and closure97 () () : UH1 = │
00:23:54 verbose #46614 > │ let v0 : (unit -> UH1) = closure98() │
00:23:54 verbose #46615 > │ UH1_0(0.0, 8.422578125E-06, 0.33, -0.004986865748457456, 0.0, 0.0, 0.0, │
00:23:54 verbose #46616 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46617 > │ and closure96 () () : UH1 = │
00:23:54 verbose #46618 > │ let v0 : (unit -> UH1) = closure97() │
00:23:54 verbose #46619 > │ UH1_0(0.0, 8.422578125E-06, 0.32, -0.004986865748457456, 0.0, 0.0, 0.0, │
00:23:54 verbose #46620 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46621 > │ and closure95 () () : UH1 = │
00:23:54 verbose #46622 > │ let v0 : (unit -> UH1) = closure96() │
00:23:54 verbose #46623 > │ UH1_0(0.0, 8.422578125E-06, 0.31, -0.004882205394146359, 0.0, 0.0, 0.0, │
00:23:54 verbose #46624 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46625 > │ and closure94 () () : UH1 = │
00:23:54 verbose #46626 > │ let v0 : (unit -> UH1) = closure95() │
00:23:54 verbose #46627 > │ UH1_0(0.0, 8.422578125E-06, 0.3, -0.004675081213427074, 0.0, 0.0, 0.0, │
00:23:54 verbose #46628 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46629 > │ and closure93 () () : UH1 = │
00:23:54 verbose #46630 > │ let v0 : (unit -> UH1) = closure94() │
00:23:54 verbose #46631 > │ UH1_0(0.0, 8.422578125E-06, 0.29000000000000004, -0.00436984016313259, │
00:23:54 verbose #46632 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46633 > │ and closure92 () () : UH1 = │
00:23:54 verbose #46634 > │ let v0 : (unit -> UH1) = closure93() │
00:23:54 verbose #46635 > │ UH1_0(0.0, 8.422578125E-06, 0.28, -0.003972888398568771, 0.0, 0.0, 0.0, │
00:23:54 verbose #46636 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46637 > │ and closure91 () () : UH1 = │
00:23:54 verbose #46638 > │ let v0 : (unit -> UH1) = closure92() │
00:23:54 verbose #46639 > │ UH1_0(0.0, 8.422578125E-06, 0.27, -0.003492556826244686, 0.0, 0.0, 0.0, │
00:23:54 verbose #46640 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46641 > │ and closure90 () () : UH1 = │
00:23:54 verbose #46642 > │ let v0 : (unit -> UH1) = closure91() │
00:23:54 verbose #46643 > │ UH1_0(0.0, 8.422578125E-06, 0.26, -0.0029389262614623636, 0.0, 0.0, 0.0, │
00:23:54 verbose #46644 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46645 > │ and closure89 () () : UH1 = │
00:23:54 verbose #46646 > │ let v0 : (unit -> UH1) = closure90() │
00:23:54 verbose #46647 > │ UH1_0(0.0, 8.422578125E-06, 0.25, -0.002323615860218842, 0.0, 0.0, 0.0, │
00:23:54 verbose #46648 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46649 > │ and closure88 () () : UH1 = │
00:23:54 verbose #46650 > │ let v0 : (unit -> UH1) = closure89() │
00:23:54 verbose #46651 > │ UH1_0(0.0, 8.422578125E-06, 0.24000000000000002, -0.001659539265642642, │
00:23:54 verbose #46652 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46653 > │ and closure87 () () : UH1 = │
00:23:54 verbose #46654 > │ let v0 : (unit -> UH1) = closure88() │
00:23:54 verbose #46655 > │ UH1_0(0.0, 8.422578125E-06, 0.23, -0.0009606335867685418, 0.0, 0.0, 0.0, │
00:23:54 verbose #46656 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46657 > │ and closure86 () () : UH1 = │
00:23:54 verbose #46658 > │ let v0 : (unit -> UH1) = closure87() │
00:23:54 verbose #46659 > │ UH1_0(0.0, 8.422578125E-06, 0.22, -0.00024156689762753317, 0.0, 0.0, │
00:23:54 verbose #46660 > │ 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46661 > │ and closure85 () () : UH1 = │
00:23:54 verbose #46662 > │ let v0 : (unit -> UH1) = closure86() │
00:23:54 verbose #46663 > │ UH1_0(0.0, 8.422578125E-06, 0.21000000000000002, 0.00048256960457257535, │
00:23:54 verbose #46664 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46665 > │ and closure84 () () : UH1 = │
00:23:54 verbose #46666 > │ let v0 : (unit -> UH1) = closure85() │
00:23:54 verbose #46667 > │ UH1_0(0.0, 8.422578125E-06, 0.2, 0.0011965783214377905, 0.0, 0.0, 0.0, │
00:23:54 verbose #46668 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46669 > │ and closure83 () () : UH1 = │
00:23:54 verbose #46670 > │ let v0 : (unit -> UH1) = closure84() │
00:23:54 verbose #46671 > │ UH1_0(0.0, 8.422578125E-06, 0.19, 0.0018854742084416015, 0.0, 0.0, 0.0, │
00:23:54 verbose #46672 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46673 > │ and closure82 () () : UH1 = │
00:23:54 verbose #46674 > │ let v0 : (unit -> UH1) = closure83() │
00:23:54 verbose #46675 > │ UH1_0(0.0, 8.422578125E-06, 0.18000000000000002, 0.002534799269067951, │
00:23:54 verbose #46676 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46677 > │ and closure81 () () : UH1 = │
00:23:54 verbose #46678 > │ let v0 : (unit -> UH1) = closure82() │
00:23:54 verbose #46679 > │ UH1_0(0.0, 8.422578125E-06, 0.17, 0.0031309259876915697, 0.0, 0.0, 0.0, │
00:23:54 verbose #46680 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46681 > │ and closure80 () () : UH1 = │
00:23:54 verbose #46682 > │ let v0 : (unit -> UH1) = closure81() │
00:23:54 verbose #46683 > │ UH1_0(0.0, 8.422578125E-06, 0.16, 0.0036613433329888666, 0.0, 0.0, 0.0, │
00:23:54 verbose #46684 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46685 > │ and closure79 () () : UH1 = │
00:23:54 verbose #46686 > │ let v0 : (unit -> UH1) = closure80() │
00:23:54 verbose #46687 > │ UH1_0(0.0, 8.422578125E-06, 0.15000000000000002, 0.0041149193294682815, │
00:23:54 verbose #46688 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46689 > │ and closure78 () () : UH1 = │
00:23:54 verbose #46690 > │ let v0 : (unit -> UH1) = closure79() │
00:23:54 verbose #46691 > │ UH1_0(0.0, 8.422578125E-06, 0.14, 0.004482134686478519, 0.0, 0.0, 0.0, │
00:23:54 verbose #46692 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46693 > │ and closure77 () () : UH1 = │
00:23:54 verbose #46694 > │ let v0 : (unit -> UH1) = closure78() │
00:23:54 verbose #46695 > │ UH1_0(0.0, 8.422578125E-06, 0.13, 0.004755282581475768, 0.0, 0.0, 0.0, │
00:23:54 verbose #46696 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46697 > │ and closure76 () () : UH1 = │
00:23:54 verbose #46698 > │ let v0 : (unit -> UH1) = closure77() │
00:23:54 verbose #46699 > │ UH1_0(0.0, 8.422578125E-06, 0.12, 0.004928630404658255, 0.0, 0.0, 0.0, │
00:23:54 verbose #46700 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46701 > │ and closure75 () () : UH1 = │
00:23:54 verbose #46702 > │ let v0 : (unit -> UH1) = closure76() │
00:23:54 verbose #46703 > │ UH1_0(0.0, 8.422578125E-06, 0.11, 0.004998540070400965, 0.0, 0.0, 0.0, │
00:23:54 verbose #46704 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46705 > │ and closure74 () () : UH1 = │
00:23:54 verbose #46706 > │ let v0 : (unit -> UH1) = closure75() │
00:23:54 verbose #46707 > │ UH1_0(0.0, 8.422578125E-06, 0.09999999999999999, 0.00496354437049027, │
00:23:54 verbose #46708 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46709 > │ and closure73 () () : UH1 = │
00:23:54 verbose #46710 > │ let v0 : (unit -> UH1) = closure74() │
00:23:54 verbose #46711 > │ UH1_0(0.0, 8.422578125E-06, 0.09, 0.004824377766717757, 0.0, 0.0, 0.0, │
00:23:54 verbose #46712 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46713 > │ and closure72 () () : UH1 = │
00:23:54 verbose #46714 > │ let v0 : (unit -> UH1) = closure73() │
00:23:54 verbose #46715 > │ UH1_0(0.0, 8.422578125E-06, 0.08, 0.004583960976582912, 0.0, 0.0, 0.0, │
00:23:54 verbose #46716 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46717 > │ and closure71 () () : UH1 = │
00:23:54 verbose #46718 > │ let v0 : (unit -> UH1) = closure72() │
00:23:54 verbose #46719 > │ UH1_0(0.0, 8.422578125E-06, 0.06999999999999999, 0.004247339675607605, │
00:23:54 verbose #46720 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46721 > │ and closure70 () () : UH1 = │
00:23:54 verbose #46722 > │ let v0 : (unit -> UH1) = closure71() │
00:23:54 verbose #46723 > │ UH1_0(0.0, 8.422578125E-06, 0.060000000000000005, 0.0038215786027292415, │
00:23:54 verbose #46724 > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:23:54 verbose #46725 > │ and closure69 () () : UH1 = │
00:23:54 verbose #46726 > │ let v0 : (unit -> UH1) = closure70() │
00:23:54 verbose #46727 > │ UH1_0(0.0, 8.422578125E-06, 0.05, 0.0033156132912039757, 0.0, 0.0, 0.0, │
00:23:54 verbose #46728 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46729 > │ and closure68 () () : UH1 = │
00:23:54 verbose #46730 > │ let v0 : (unit -> UH1) = closure69() │
00:23:54 verbose #46731 > │ UH1_0(0.0, 8.422578125E-06, 0.04, 0.00274006253677335, 0.0, 0.0, 0.0, │
00:23:54 verbose #46732 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46733 > │ and closure67 () () : UH1 = │
00:23:54 verbose #46734 > │ let v0 : (unit -> UH1) = closure68() │
00:23:54 verbose #46735 > │ UH1_0(0.0, 8.422578125E-06, 0.03, 0.0021070055388626454, 0.0, 0.0, 0.0, │
00:23:54 verbose #46736 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46737 > │ and closure66 () () : UH1 = │
00:23:54 verbose #46738 > │ let v0 : (unit -> UH1) = closure67() │
00:23:54 verbose #46739 > │ UH1_0(0.0, 8.422578125E-06, 0.02, 0.0014297283919934465, 0.0, 0.0, 0.0, │
00:23:54 verbose #46740 > │ 0.0, 0.0, v0) │
00:23:54 verbose #46741 > │ and closure132 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 = │
00:23:54 verbose #46742 > │ let v2 : UH3 = v1 () │
00:23:54 verbose #46743 > │ let v3 : UH1 = v0 () │
00:23:54 verbose #46744 > │ match v2 with │
00:23:54 verbose #46745 > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:23:54 verbose #46746 > │ match v3 with │
00:23:54 verbose #46747 > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:54 verbose #46748 > │ StreamCons *) │
00:23:54 verbose #46749 > │ let v24 : float = v9 * 1.25E-05 │
00:23:54 verbose #46750 > │ let v25 : float = v19 + v24 │
00:23:54 verbose #46751 > │ let v26 : float = 1.25E-05 * v6 │
00:23:54 verbose #46752 > │ let v27 : float = 1.25E-05 * v7 │
00:23:54 verbose #46753 > │ let v28 : float = 1.25E-05 * v8 │
00:23:54 verbose #46754 > │ let v29 : float = v16 + v26 │
00:23:54 verbose #46755 > │ let v30 : float = v17 + v27 │
00:23:54 verbose #46756 > │ let v31 : float = v18 + v28 │
00:23:54 verbose #46757 > │ let v32 : float = 1.25E-05 * v10 │
00:23:54 verbose #46758 > │ let v33 : float = 1.25E-05 * v11 │
00:23:54 verbose #46759 > │ let v34 : float = 1.25E-05 * v12 │
00:23:54 verbose #46760 > │ let v35 : float = v20 + v32 │
00:23:54 verbose #46761 > │ let v36 : float = v21 + v33 │
00:23:54 verbose #46762 > │ let v37 : float = v22 + v34 │
00:23:54 verbose #46763 > │ let v38 : (unit -> UH1) = closure132(v23, v13) │
00:23:54 verbose #46764 > │ UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:23:54 verbose #46765 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46766 > │ UH1_1 │
00:23:54 verbose #46767 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46768 > │ UH1_1 │
00:23:54 verbose #46769 > │ and closure133 (v0 : UH1) () : UH1 = │
00:23:54 verbose #46770 > │ v0 │
00:23:54 verbose #46771 > │ and closure134 (v0 : UH1, v1 : Mut0) () : UH1 = │
00:23:54 verbose #46772 > │ let v2 : US0 = v1.l0 │
00:23:54 verbose #46773 > │ match v2 with │
00:23:54 verbose #46774 > │ | US0_1(v3) -> (* Computed *) │
00:23:54 verbose #46775 > │ v3 │
00:23:54 verbose #46776 > │ | US0_0(v4) -> (* NotComputed *) │
00:23:54 verbose #46777 > │ let v5 : UH1 = v4 () │
00:23:54 verbose #46778 > │ let v20 : UH1 = │
00:23:54 verbose #46779 > │ match v5 with │
00:23:54 verbose #46780 > │ | UH1_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> (* │
00:23:54 verbose #46781 > │ StreamCons *) │
00:23:54 verbose #46782 > │ let v17 : (unit -> UH1) = method3(v0, v16) │
00:23:54 verbose #46783 > │ UH1_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v17) │
00:23:54 verbose #46784 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46785 > │ UH1_1 │
00:23:54 verbose #46786 > │ let v21 : US0 = US0_1(v20) │
00:23:54 verbose #46787 > │ v1.l0 <- v21 │
00:23:54 verbose #46788 > │ v20 │
00:23:54 verbose #46789 > │ and method3 (v0 : UH1, v1 : (unit -> UH1)) : (unit -> UH1) = │
00:23:54 verbose #46790 > │ let v2 : US0 = US0_0(v1) │
00:23:54 verbose #46791 > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:23:54 verbose #46792 > │ closure134(v0, v3) │
00:23:54 verbose #46793 > │ and closure135 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 = │
00:23:54 verbose #46794 > │ let v2 : UH3 = v1 () │
00:23:54 verbose #46795 > │ let v3 : UH1 = v0 () │
00:23:54 verbose #46796 > │ match v2 with │
00:23:54 verbose #46797 > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:23:54 verbose #46798 > │ match v3 with │
00:23:54 verbose #46799 > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:54 verbose #46800 > │ StreamCons *) │
00:23:54 verbose #46801 > │ let v24 : float = v9 * 2.5E-05 │
00:23:54 verbose #46802 > │ let v25 : float = v19 + v24 │
00:23:54 verbose #46803 > │ let v26 : float = 2.5E-05 * v6 │
00:23:54 verbose #46804 > │ let v27 : float = 2.5E-05 * v7 │
00:23:54 verbose #46805 > │ let v28 : float = 2.5E-05 * v8 │
00:23:54 verbose #46806 > │ let v29 : float = v16 + v26 │
00:23:54 verbose #46807 > │ let v30 : float = v17 + v27 │
00:23:54 verbose #46808 > │ let v31 : float = v18 + v28 │
00:23:54 verbose #46809 > │ let v32 : float = 2.5E-05 * v10 │
00:23:54 verbose #46810 > │ let v33 : float = 2.5E-05 * v11 │
00:23:54 verbose #46811 > │ let v34 : float = 2.5E-05 * v12 │
00:23:54 verbose #46812 > │ let v35 : float = v20 + v32 │
00:23:54 verbose #46813 > │ let v36 : float = v21 + v33 │
00:23:54 verbose #46814 > │ let v37 : float = v22 + v34 │
00:23:54 verbose #46815 > │ let v38 : (unit -> UH1) = closure135(v23, v13) │
00:23:54 verbose #46816 > │ UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:23:54 verbose #46817 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46818 > │ UH1_1 │
00:23:54 verbose #46819 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46820 > │ UH1_1 │
00:23:54 verbose #46821 > │ and closure136 (v0 : (unit -> UH3), v1 : (unit -> UH3)) () : UH3 = │
00:23:54 verbose #46822 > │ let v2 : UH3 = v1 () │
00:23:54 verbose #46823 > │ let v3 : UH3 = v0 () │
00:23:54 verbose #46824 > │ match v2 with │
00:23:54 verbose #46825 > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:23:54 verbose #46826 > │ match v3 with │
00:23:54 verbose #46827 > │ | UH3_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:54 verbose #46828 > │ StreamCons *) │
00:23:54 verbose #46829 > │ let v24 : float = v4 + v14 │
00:23:54 verbose #46830 > │ let v25 : float = v5 + v15 │
00:23:54 verbose #46831 > │ let v26 : float = v9 + v19 │
00:23:54 verbose #46832 > │ let v27 : float = v6 + v16 │
00:23:54 verbose #46833 > │ let v28 : float = v7 + v17 │
00:23:54 verbose #46834 > │ let v29 : float = v8 + v18 │
00:23:54 verbose #46835 > │ let v30 : float = v10 + v20 │
00:23:54 verbose #46836 > │ let v31 : float = v11 + v21 │
00:23:54 verbose #46837 > │ let v32 : float = v12 + v22 │
00:23:54 verbose #46838 > │ let v33 : (unit -> UH3) = closure136(v23, v13) │
00:23:54 verbose #46839 > │ UH3_0(v24, v25, v27, v28, v29, v26, v30, v31, v32, v33) │
00:23:54 verbose #46840 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46841 > │ UH3_1 │
00:23:54 verbose #46842 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46843 > │ UH3_1 │
00:23:54 verbose #46844 > │ and closure137 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 = │
00:23:54 verbose #46845 > │ let v2 : UH3 = v1 () │
00:23:54 verbose #46846 > │ let v3 : UH1 = v0 () │
00:23:54 verbose #46847 > │ match v2 with │
00:23:54 verbose #46848 > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:23:54 verbose #46849 > │ match v3 with │
00:23:54 verbose #46850 > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:23:54 verbose #46851 > │ StreamCons *) │
00:23:54 verbose #46852 > │ let v24 : float = v9 * 4.166666666666667E-06 │
00:23:54 verbose #46853 > │ let v25 : float = v19 + v24 │
00:23:54 verbose #46854 > │ let v26 : float = 4.166666666666667E-06 * v6 │
00:23:54 verbose #46855 > │ let v27 : float = 4.166666666666667E-06 * v7 │
00:23:54 verbose #46856 > │ let v28 : float = 4.166666666666667E-06 * v8 │
00:23:54 verbose #46857 > │ let v29 : float = v16 + v26 │
00:23:54 verbose #46858 > │ let v30 : float = v17 + v27 │
00:23:54 verbose #46859 > │ let v31 : float = v18 + v28 │
00:23:54 verbose #46860 > │ let v32 : float = 4.166666666666667E-06 * v10 │
00:23:54 verbose #46861 > │ let v33 : float = 4.166666666666667E-06 * v11 │
00:23:54 verbose #46862 > │ let v34 : float = 4.166666666666667E-06 * v12 │
00:23:54 verbose #46863 > │ let v35 : float = v20 + v32 │
00:23:54 verbose #46864 > │ let v36 : float = v21 + v33 │
00:23:54 verbose #46865 > │ let v37 : float = v22 + v34 │
00:23:54 verbose #46866 > │ let v38 : (unit -> UH1) = closure137(v23, v13) │
00:23:54 verbose #46867 > │ UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:23:54 verbose #46868 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46869 > │ UH1_1 │
00:23:54 verbose #46870 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46871 > │ UH1_1 │
00:23:54 verbose #46872 > │ and closure131 (v0 : (UH1 -> UH3)) (v1 : UH1) : UH1 = │
00:23:54 verbose #46873 > │ let v2 : UH3 = v0 v1 │
00:23:54 verbose #46874 > │ let v44 : UH1 = │
00:23:54 verbose #46875 > │ match v2 with │
00:23:54 verbose #46876 > │ | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons │
00:23:54 verbose #46877 > │ *) │
00:23:54 verbose #46878 > │ match v1 with │
00:23:54 verbose #46879 > │ | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* │
00:23:54 verbose #46880 > │ StreamCons *) │
00:23:54 verbose #46881 > │ let v23 : float = v8 * 1.25E-05 │
00:23:54 verbose #46882 > │ let v24 : float = v18 + v23 │
00:23:54 verbose #46883 > │ let v25 : float = 1.25E-05 * v5 │
00:23:54 verbose #46884 > │ let v26 : float = 1.25E-05 * v6 │
00:23:54 verbose #46885 > │ let v27 : float = 1.25E-05 * v7 │
00:23:54 verbose #46886 > │ let v28 : float = v15 + v25 │
00:23:54 verbose #46887 > │ let v29 : float = v16 + v26 │
00:23:54 verbose #46888 > │ let v30 : float = v17 + v27 │
00:23:54 verbose #46889 > │ let v31 : float = 1.25E-05 * v9 │
00:23:54 verbose #46890 > │ let v32 : float = 1.25E-05 * v10 │
00:23:54 verbose #46891 > │ let v33 : float = 1.25E-05 * v11 │
00:23:54 verbose #46892 > │ let v34 : float = v19 + v31 │
00:23:54 verbose #46893 > │ let v35 : float = v20 + v32 │
00:23:54 verbose #46894 > │ let v36 : float = v21 + v33 │
00:23:54 verbose #46895 > │ let v37 : (unit -> UH1) = closure132(v22, v12) │
00:23:54 verbose #46896 > │ UH1_0(v13, v14, v28, v29, v30, v24, v34, v35, v36, v37) │
00:23:54 verbose #46897 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46898 > │ UH1_1 │
00:23:54 verbose #46899 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46900 > │ UH1_1 │
00:23:54 verbose #46901 > │ let v45 : (unit -> UH1) = closure133(v44) │
00:23:54 verbose #46902 > │ let v46 : (unit -> UH1) = method3(v44, v45) │
00:23:54 verbose #46903 > │ let v47 : UH1 = v46 () │
00:23:54 verbose #46904 > │ let v48 : UH3 = v0 v47 │
00:23:54 verbose #46905 > │ let v90 : UH1 = │
00:23:54 verbose #46906 > │ match v48 with │
00:23:54 verbose #46907 > │ | UH3_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) -> (* │
00:23:54 verbose #46908 > │ StreamCons *) │
00:23:54 verbose #46909 > │ match v1 with │
00:23:54 verbose #46910 > │ | UH1_0(v59, v60, v61, v62, v63, v64, v65, v66, v67, v68) -> (* │
00:23:54 verbose #46911 > │ StreamCons *) │
00:23:54 verbose #46912 > │ let v69 : float = v54 * 1.25E-05 │
00:23:54 verbose #46913 > │ let v70 : float = v64 + v69 │
00:23:54 verbose #46914 > │ let v71 : float = 1.25E-05 * v51 │
00:23:54 verbose #46915 > │ let v72 : float = 1.25E-05 * v52 │
00:23:54 verbose #46916 > │ let v73 : float = 1.25E-05 * v53 │
00:23:54 verbose #46917 > │ let v74 : float = v61 + v71 │
00:23:54 verbose #46918 > │ let v75 : float = v62 + v72 │
00:23:54 verbose #46919 > │ let v76 : float = v63 + v73 │
00:23:54 verbose #46920 > │ let v77 : float = 1.25E-05 * v55 │
00:23:54 verbose #46921 > │ let v78 : float = 1.25E-05 * v56 │
00:23:54 verbose #46922 > │ let v79 : float = 1.25E-05 * v57 │
00:23:54 verbose #46923 > │ let v80 : float = v65 + v77 │
00:23:54 verbose #46924 > │ let v81 : float = v66 + v78 │
00:23:54 verbose #46925 > │ let v82 : float = v67 + v79 │
00:23:54 verbose #46926 > │ let v83 : (unit -> UH1) = closure132(v68, v58) │
00:23:54 verbose #46927 > │ UH1_0(v59, v60, v74, v75, v76, v70, v80, v81, v82, v83) │
00:23:54 verbose #46928 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46929 > │ UH1_1 │
00:23:54 verbose #46930 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46931 > │ UH1_1 │
00:23:54 verbose #46932 > │ let v91 : (unit -> UH1) = closure133(v90) │
00:23:54 verbose #46933 > │ let v92 : (unit -> UH1) = method3(v90, v91) │
00:23:54 verbose #46934 > │ let v93 : UH1 = v92 () │
00:23:54 verbose #46935 > │ let v94 : UH3 = v0 v93 │
00:23:54 verbose #46936 > │ let v136 : UH1 = │
00:23:54 verbose #46937 > │ match v94 with │
00:23:54 verbose #46938 > │ | UH3_0(v95, v96, v97, v98, v99, v100, v101, v102, v103, v104) -> (* │
00:23:54 verbose #46939 > │ StreamCons *) │
00:23:54 verbose #46940 > │ match v1 with │
00:23:54 verbose #46941 > │ | UH1_0(v105, v106, v107, v108, v109, v110, v111, v112, v113, │
00:23:54 verbose #46942 > │ v114) -> (* StreamCons *) │
00:23:54 verbose #46943 > │ let v115 : float = v100 * 2.5E-05 │
00:23:54 verbose #46944 > │ let v116 : float = v110 + v115 │
00:23:54 verbose #46945 > │ let v117 : float = 2.5E-05 * v97 │
00:23:54 verbose #46946 > │ let v118 : float = 2.5E-05 * v98 │
00:23:54 verbose #46947 > │ let v119 : float = 2.5E-05 * v99 │
00:23:54 verbose #46948 > │ let v120 : float = v107 + v117 │
00:23:54 verbose #46949 > │ let v121 : float = v108 + v118 │
00:23:54 verbose #46950 > │ let v122 : float = v109 + v119 │
00:23:54 verbose #46951 > │ let v123 : float = 2.5E-05 * v101 │
00:23:54 verbose #46952 > │ let v124 : float = 2.5E-05 * v102 │
00:23:54 verbose #46953 > │ let v125 : float = 2.5E-05 * v103 │
00:23:54 verbose #46954 > │ let v126 : float = v111 + v123 │
00:23:54 verbose #46955 > │ let v127 : float = v112 + v124 │
00:23:54 verbose #46956 > │ let v128 : float = v113 + v125 │
00:23:54 verbose #46957 > │ let v129 : (unit -> UH1) = closure135(v114, v104) │
00:23:54 verbose #46958 > │ UH1_0(v105, v106, v120, v121, v122, v116, v126, v127, v128, │
00:23:54 verbose #46959 > │ v129) │
00:23:54 verbose #46960 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #46961 > │ UH1_1 │
00:23:54 verbose #46962 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46963 > │ UH1_1 │
00:23:54 verbose #46964 > │ let v137 : (unit -> UH1) = closure133(v136) │
00:23:54 verbose #46965 > │ let v138 : (unit -> UH1) = method3(v136, v137) │
00:23:54 verbose #46966 > │ let v139 : UH1 = v138 () │
00:23:54 verbose #46967 > │ let v140 : UH3 = v0 v139 │
00:23:54 verbose #46968 > │ let v177 : UH3 = │
00:23:54 verbose #46969 > │ match v2 with │
00:23:54 verbose #46970 > │ | UH3_0(v141, v142, v143, v144, v145, v146, v147, v148, v149, v150) │
00:23:54 verbose #46971 > │ -> (* StreamCons *) │
00:23:54 verbose #46972 > │ match v48 with │
00:23:54 verbose #46973 > │ | UH3_0(v151, v152, v153, v154, v155, v156, v157, v158, v159, │
00:23:54 verbose #46974 > │ v160) -> (* StreamCons *) │
00:23:54 verbose #46975 > │ let v161 : float = v141 + v151 │
00:23:54 verbose #46976 > │ let v162 : float = v142 + v152 │
00:23:54 verbose #46977 > │ let v163 : float = v146 + v156 │
00:23:54 verbose #46978 > │ let v164 : float = v143 + v153 │
00:23:54 verbose #46979 > │ let v165 : float = v144 + v154 │
00:23:54 verbose #46980 > │ let v166 : float = v145 + v155 │
00:23:54 verbose #46981 > │ let v167 : float = v147 + v157 │
00:23:54 verbose #46982 > │ let v168 : float = v148 + v158 │
00:23:54 verbose #46983 > │ let v169 : float = v149 + v159 │
00:23:54 verbose #46984 > │ let v170 : (unit -> UH3) = closure136(v160, v150) │
00:23:54 verbose #46985 > │ UH3_0(v161, v162, v164, v165, v166, v163, v167, v168, v169, │
00:23:54 verbose #46986 > │ v170) │
00:23:54 verbose #46987 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46988 > │ UH3_1 │
00:23:54 verbose #46989 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #46990 > │ UH3_1 │
00:23:54 verbose #46991 > │ let v214 : UH3 = │
00:23:54 verbose #46992 > │ match v177 with │
00:23:54 verbose #46993 > │ | UH3_0(v178, v179, v180, v181, v182, v183, v184, v185, v186, v187) │
00:23:54 verbose #46994 > │ -> (* StreamCons *) │
00:23:54 verbose #46995 > │ match v48 with │
00:23:54 verbose #46996 > │ | UH3_0(v188, v189, v190, v191, v192, v193, v194, v195, v196, │
00:23:54 verbose #46997 > │ v197) -> (* StreamCons *) │
00:23:54 verbose #46998 > │ let v198 : float = v178 + v188 │
00:23:54 verbose #46999 > │ let v199 : float = v179 + v189 │
00:23:54 verbose #47000 > │ let v200 : float = v183 + v193 │
00:23:54 verbose #47001 > │ let v201 : float = v180 + v190 │
00:23:54 verbose #47002 > │ let v202 : float = v181 + v191 │
00:23:54 verbose #47003 > │ let v203 : float = v182 + v192 │
00:23:54 verbose #47004 > │ let v204 : float = v184 + v194 │
00:23:54 verbose #47005 > │ let v205 : float = v185 + v195 │
00:23:54 verbose #47006 > │ let v206 : float = v186 + v196 │
00:23:54 verbose #47007 > │ let v207 : (unit -> UH3) = closure136(v197, v187) │
00:23:54 verbose #47008 > │ UH3_0(v198, v199, v201, v202, v203, v200, v204, v205, v206, │
00:23:54 verbose #47009 > │ v207) │
00:23:54 verbose #47010 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47011 > │ UH3_1 │
00:23:54 verbose #47012 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47013 > │ UH3_1 │
00:23:54 verbose #47014 > │ let v251 : UH3 = │
00:23:54 verbose #47015 > │ match v214 with │
00:23:54 verbose #47016 > │ | UH3_0(v215, v216, v217, v218, v219, v220, v221, v222, v223, v224) │
00:23:54 verbose #47017 > │ -> (* StreamCons *) │
00:23:54 verbose #47018 > │ match v94 with │
00:23:54 verbose #47019 > │ | UH3_0(v225, v226, v227, v228, v229, v230, v231, v232, v233, │
00:23:54 verbose #47020 > │ v234) -> (* StreamCons *) │
00:23:54 verbose #47021 > │ let v235 : float = v215 + v225 │
00:23:54 verbose #47022 > │ let v236 : float = v216 + v226 │
00:23:54 verbose #47023 > │ let v237 : float = v220 + v230 │
00:23:54 verbose #47024 > │ let v238 : float = v217 + v227 │
00:23:54 verbose #47025 > │ let v239 : float = v218 + v228 │
00:23:54 verbose #47026 > │ let v240 : float = v219 + v229 │
00:23:54 verbose #47027 > │ let v241 : float = v221 + v231 │
00:23:54 verbose #47028 > │ let v242 : float = v222 + v232 │
00:23:54 verbose #47029 > │ let v243 : float = v223 + v233 │
00:23:54 verbose #47030 > │ let v244 : (unit -> UH3) = closure136(v234, v224) │
00:23:54 verbose #47031 > │ UH3_0(v235, v236, v238, v239, v240, v237, v241, v242, v243, │
00:23:54 verbose #47032 > │ v244) │
00:23:54 verbose #47033 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47034 > │ UH3_1 │
00:23:54 verbose #47035 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47036 > │ UH3_1 │
00:23:54 verbose #47037 > │ let v288 : UH3 = │
00:23:54 verbose #47038 > │ match v251 with │
00:23:54 verbose #47039 > │ | UH3_0(v252, v253, v254, v255, v256, v257, v258, v259, v260, v261) │
00:23:54 verbose #47040 > │ -> (* StreamCons *) │
00:23:54 verbose #47041 > │ match v94 with │
00:23:54 verbose #47042 > │ | UH3_0(v262, v263, v264, v265, v266, v267, v268, v269, v270, │
00:23:54 verbose #47043 > │ v271) -> (* StreamCons *) │
00:23:54 verbose #47044 > │ let v272 : float = v252 + v262 │
00:23:54 verbose #47045 > │ let v273 : float = v253 + v263 │
00:23:54 verbose #47046 > │ let v274 : float = v257 + v267 │
00:23:54 verbose #47047 > │ let v275 : float = v254 + v264 │
00:23:54 verbose #47048 > │ let v276 : float = v255 + v265 │
00:23:54 verbose #47049 > │ let v277 : float = v256 + v266 │
00:23:54 verbose #47050 > │ let v278 : float = v258 + v268 │
00:23:54 verbose #47051 > │ let v279 : float = v259 + v269 │
00:23:54 verbose #47052 > │ let v280 : float = v260 + v270 │
00:23:54 verbose #47053 > │ let v281 : (unit -> UH3) = closure136(v271, v261) │
00:23:54 verbose #47054 > │ UH3_0(v272, v273, v275, v276, v277, v274, v278, v279, v280, │
00:23:54 verbose #47055 > │ v281) │
00:23:54 verbose #47056 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47057 > │ UH3_1 │
00:23:54 verbose #47058 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47059 > │ UH3_1 │
00:23:54 verbose #47060 > │ let v325 : UH3 = │
00:23:54 verbose #47061 > │ match v288 with │
00:23:54 verbose #47062 > │ | UH3_0(v289, v290, v291, v292, v293, v294, v295, v296, v297, v298) │
00:23:54 verbose #47063 > │ -> (* StreamCons *) │
00:23:54 verbose #47064 > │ match v140 with │
00:23:54 verbose #47065 > │ | UH3_0(v299, v300, v301, v302, v303, v304, v305, v306, v307, │
00:23:54 verbose #47066 > │ v308) -> (* StreamCons *) │
00:23:54 verbose #47067 > │ let v309 : float = v289 + v299 │
00:23:54 verbose #47068 > │ let v310 : float = v290 + v300 │
00:23:54 verbose #47069 > │ let v311 : float = v294 + v304 │
00:23:54 verbose #47070 > │ let v312 : float = v291 + v301 │
00:23:54 verbose #47071 > │ let v313 : float = v292 + v302 │
00:23:54 verbose #47072 > │ let v314 : float = v293 + v303 │
00:23:54 verbose #47073 > │ let v315 : float = v295 + v305 │
00:23:54 verbose #47074 > │ let v316 : float = v296 + v306 │
00:23:54 verbose #47075 > │ let v317 : float = v297 + v307 │
00:23:54 verbose #47076 > │ let v318 : (unit -> UH3) = closure136(v308, v298) │
00:23:54 verbose #47077 > │ UH3_0(v309, v310, v312, v313, v314, v311, v315, v316, v317, │
00:23:54 verbose #47078 > │ v318) │
00:23:54 verbose #47079 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47080 > │ UH3_1 │
00:23:54 verbose #47081 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47082 > │ UH3_1 │
00:23:54 verbose #47083 > │ let v367 : UH1 = │
00:23:54 verbose #47084 > │ match v325 with │
00:23:54 verbose #47085 > │ | UH3_0(v326, v327, v328, v329, v330, v331, v332, v333, v334, v335) │
00:23:54 verbose #47086 > │ -> (* StreamCons *) │
00:23:54 verbose #47087 > │ match v1 with │
00:23:54 verbose #47088 > │ | UH1_0(v336, v337, v338, v339, v340, v341, v342, v343, v344, │
00:23:54 verbose #47089 > │ v345) -> (* StreamCons *) │
00:23:54 verbose #47090 > │ let v346 : float = v331 * 4.166666666666667E-06 │
00:23:54 verbose #47091 > │ let v347 : float = v341 + v346 │
00:23:54 verbose #47092 > │ let v348 : float = 4.166666666666667E-06 * v328 │
00:23:54 verbose #47093 > │ let v349 : float = 4.166666666666667E-06 * v329 │
00:23:54 verbose #47094 > │ let v350 : float = 4.166666666666667E-06 * v330 │
00:23:54 verbose #47095 > │ let v351 : float = v338 + v348 │
00:23:54 verbose #47096 > │ let v352 : float = v339 + v349 │
00:23:54 verbose #47097 > │ let v353 : float = v340 + v350 │
00:23:54 verbose #47098 > │ let v354 : float = 4.166666666666667E-06 * v332 │
00:23:54 verbose #47099 > │ let v355 : float = 4.166666666666667E-06 * v333 │
00:23:54 verbose #47100 > │ let v356 : float = 4.166666666666667E-06 * v334 │
00:23:54 verbose #47101 > │ let v357 : float = v342 + v354 │
00:23:54 verbose #47102 > │ let v358 : float = v343 + v355 │
00:23:54 verbose #47103 > │ let v359 : float = v344 + v356 │
00:23:54 verbose #47104 > │ let v360 : (unit -> UH1) = closure137(v345, v335) │
00:23:54 verbose #47105 > │ UH1_0(v336, v337, v351, v352, v353, v347, v357, v358, v359, │
00:23:54 verbose #47106 > │ v360) │
00:23:54 verbose #47107 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #47108 > │ UH1_1 │
00:23:54 verbose #47109 > │ | UH3_1 -> (* StreamNil *) │
00:23:54 verbose #47110 > │ UH1_1 │
00:23:54 verbose #47111 > │ let v368 : (unit -> UH1) = closure133(v367) │
00:23:54 verbose #47112 > │ let v369 : (unit -> UH1) = method3(v367, v368) │
00:23:54 verbose #47113 > │ let v370 : UH1 = v369 () │
00:23:54 verbose #47114 > │ v370 │
00:23:54 verbose #47115 > │ and closure130 () (v0 : (UH1 -> UH3)) : (UH1 -> UH1) = │
00:23:54 verbose #47116 > │ closure131(v0) │
00:23:54 verbose #47117 > │ and method2 () : ((UH1 -> UH3) -> (UH1 -> UH1)) = │
00:23:54 verbose #47118 > │ closure130() │
00:23:54 verbose #47119 > │ and closure138 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:23:54 verbose #47120 > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:54 verbose #47121 > │ float * float) = │
00:23:54 verbose #47122 > │ let v9 : float = v2 * v2 │
00:23:54 verbose #47123 > │ let v10 : float = v3 * v3 │
00:23:54 verbose #47124 > │ let v11 : float = v9 + v10 │
00:23:54 verbose #47125 > │ let v12 : float = v4 * v4 │
00:23:54 verbose #47126 > │ let v13 : float = v11 + v12 │
00:23:54 verbose #47127 > │ let v14 : float = sqrt v13 │
00:23:54 verbose #47128 > │ let v15 : float = -5384.0 * v14 │
00:23:54 verbose #47129 > │ let v16 : float = v15 * v2 │
00:23:54 verbose #47130 > │ let v17 : float = v15 * v3 │
00:23:54 verbose #47131 > │ let v18 : float = v15 * v4 │
00:23:54 verbose #47132 > │ let v19 : float = v16 / v14 │
00:23:54 verbose #47133 > │ let v20 : float = v17 / v14 │
00:23:54 verbose #47134 > │ let v21 : float = v18 / v14 │
00:23:54 verbose #47135 > │ struct (v19, v20, v21) │
00:23:54 verbose #47136 > │ and closure139 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:23:54 verbose #47137 > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:54 verbose #47138 > │ float * float) = │
00:23:54 verbose #47139 > │ let v9 : float = v2 + -0.65 │
00:23:54 verbose #47140 > │ let v10 : float = v9 * v9 │
00:23:54 verbose #47141 > │ let v11 : float = v3 * v3 │
00:23:54 verbose #47142 > │ let v12 : float = v10 + v11 │
00:23:54 verbose #47143 > │ let v13 : float = v4 * v4 │
00:23:54 verbose #47144 > │ let v14 : float = v12 + v13 │
00:23:54 verbose #47145 > │ let v15 : float = sqrt v14 │
00:23:54 verbose #47146 > │ let v16 : float = -5384.0 * v15 │
00:23:54 verbose #47147 > │ let v17 : float = v16 * v9 │
00:23:54 verbose #47148 > │ let v18 : float = v16 * v3 │
00:23:54 verbose #47149 > │ let v19 : float = v16 * v4 │
00:23:54 verbose #47150 > │ let v20 : float = v17 / v15 │
00:23:54 verbose #47151 > │ let v21 : float = v18 / v15 │
00:23:54 verbose #47152 > │ let v22 : float = v19 / v15 │
00:23:54 verbose #47153 > │ struct (v20, v21, v22) │
00:23:54 verbose #47154 > │ and closure141 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:23:54 verbose #47155 > │ v5 : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:23:54 verbose #47156 > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:23:54 verbose #47157 > │ : float, v17 : float) : struct (float * float * float) = │
00:23:54 verbose #47158 > │ let v18 : float = -1.0 * v2 │
00:23:54 verbose #47159 > │ let v19 : float = -1.0 * v3 │
00:23:54 verbose #47160 > │ let v20 : float = -1.0 * v4 │
00:23:54 verbose #47161 > │ let v21 : float = v11 + v18 │
00:23:54 verbose #47162 > │ let v22 : float = v12 + v19 │
00:23:54 verbose #47163 > │ let v23 : float = v13 + v20 │
00:23:54 verbose #47164 > │ let v24 : float = v21 * v21 │
00:23:54 verbose #47165 > │ let v25 : float = v22 * v22 │
00:23:54 verbose #47166 > │ let v26 : float = v24 + v25 │
00:23:54 verbose #47167 > │ let v27 : float = v23 * v23 │
00:23:54 verbose #47168 > │ let v28 : float = v26 + v27 │
00:23:54 verbose #47169 > │ let v29 : float = sqrt v28 │
00:23:54 verbose #47170 > │ let v30 : float = -5384.0 * v29 │
00:23:54 verbose #47171 > │ let v31 : float = v30 * v21 │
00:23:54 verbose #47172 > │ let v32 : float = v30 * v22 │
00:23:54 verbose #47173 > │ let v33 : float = v30 * v23 │
00:23:54 verbose #47174 > │ let v34 : float = v31 / v29 │
00:23:54 verbose #47175 > │ let v35 : float = v32 / v29 │
00:23:54 verbose #47176 > │ let v36 : float = v33 / v29 │
00:23:54 verbose #47177 > │ struct (v34, v35, v36) │
00:23:54 verbose #47178 > │ and closure140 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:23:54 verbose #47179 > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : (struct (float * │
00:23:54 verbose #47180 > │ float * float * float * float * float * float * float * float) -> struct │
00:23:54 verbose #47181 > │ (float * float * float)) = │
00:23:54 verbose #47182 > │ closure141(v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:23:54 verbose #47183 > │ and method4 () : UH4 = │
00:23:54 verbose #47184 > │ let v0 : (struct (float * float * float * float * float * float * float │
00:23:54 verbose #47185 > │ * float * float) -> struct (float * float * float)) = closure138() │
00:23:54 verbose #47186 > │ let v1 : US1 = US1_0(0, v0) │
00:23:54 verbose #47187 > │ let v2 : (struct (float * float * float * float * float * float * float │
00:23:54 verbose #47188 > │ * float * float) -> struct (float * float * float)) = closure139() │
00:23:54 verbose #47189 > │ let v3 : US1 = US1_0(63, v2) │
00:23:54 verbose #47190 > │ let v4 : (struct (float * float * float * float * float * float * float │
00:23:54 verbose #47191 > │ * float * float) -> (struct (float * float * float * float * float * float * │
00:23:54 verbose #47192 > │ float * float * float) -> struct (float * float * float))) = closure140() │
00:23:54 verbose #47193 > │ let v5 : US1 = US1_1(0, 1, v4) │
00:23:54 verbose #47194 > │ let v6 : US1 = US1_1(1, 2, v4) │
00:23:54 verbose #47195 > │ let v7 : US1 = US1_1(2, 3, v4) │
00:23:54 verbose #47196 > │ let v8 : US1 = US1_1(3, 4, v4) │
00:23:54 verbose #47197 > │ let v9 : US1 = US1_1(4, 5, v4) │
00:23:54 verbose #47198 > │ let v10 : US1 = US1_1(5, 6, v4) │
00:23:54 verbose #47199 > │ let v11 : US1 = US1_1(6, 7, v4) │
00:23:54 verbose #47200 > │ let v12 : US1 = US1_1(7, 8, v4) │
00:23:54 verbose #47201 > │ let v13 : US1 = US1_1(8, 9, v4) │
00:23:54 verbose #47202 > │ let v14 : US1 = US1_1(9, 10, v4) │
00:23:54 verbose #47203 > │ let v15 : US1 = US1_1(10, 11, v4) │
00:23:54 verbose #47204 > │ let v16 : US1 = US1_1(11, 12, v4) │
00:23:54 verbose #47205 > │ let v17 : US1 = US1_1(12, 13, v4) │
00:23:54 verbose #47206 > │ let v18 : US1 = US1_1(13, 14, v4) │
00:23:54 verbose #47207 > │ let v19 : US1 = US1_1(14, 15, v4) │
00:23:54 verbose #47208 > │ let v20 : US1 = US1_1(15, 16, v4) │
00:23:54 verbose #47209 > │ let v21 : US1 = US1_1(16, 17, v4) │
00:23:54 verbose #47210 > │ let v22 : US1 = US1_1(17, 18, v4) │
00:23:54 verbose #47211 > │ let v23 : US1 = US1_1(18, 19, v4) │
00:23:54 verbose #47212 > │ let v24 : US1 = US1_1(19, 20, v4) │
00:23:54 verbose #47213 > │ let v25 : US1 = US1_1(20, 21, v4) │
00:23:54 verbose #47214 > │ let v26 : US1 = US1_1(21, 22, v4) │
00:23:54 verbose #47215 > │ let v27 : US1 = US1_1(22, 23, v4) │
00:23:54 verbose #47216 > │ let v28 : US1 = US1_1(23, 24, v4) │
00:23:54 verbose #47217 > │ let v29 : US1 = US1_1(24, 25, v4) │
00:23:54 verbose #47218 > │ let v30 : US1 = US1_1(25, 26, v4) │
00:23:54 verbose #47219 > │ let v31 : US1 = US1_1(26, 27, v4) │
00:23:54 verbose #47220 > │ let v32 : US1 = US1_1(27, 28, v4) │
00:23:54 verbose #47221 > │ let v33 : US1 = US1_1(28, 29, v4) │
00:23:54 verbose #47222 > │ let v34 : US1 = US1_1(29, 30, v4) │
00:23:54 verbose #47223 > │ let v35 : US1 = US1_1(30, 31, v4) │
00:23:54 verbose #47224 > │ let v36 : US1 = US1_1(31, 32, v4) │
00:23:54 verbose #47225 > │ let v37 : US1 = US1_1(32, 33, v4) │
00:23:54 verbose #47226 > │ let v38 : US1 = US1_1(33, 34, v4) │
00:23:54 verbose #47227 > │ let v39 : US1 = US1_1(34, 35, v4) │
00:23:54 verbose #47228 > │ let v40 : US1 = US1_1(35, 36, v4) │
00:23:54 verbose #47229 > │ let v41 : US1 = US1_1(36, 37, v4) │
00:23:54 verbose #47230 > │ let v42 : US1 = US1_1(37, 38, v4) │
00:23:54 verbose #47231 > │ let v43 : US1 = US1_1(38, 39, v4) │
00:23:54 verbose #47232 > │ let v44 : US1 = US1_1(39, 40, v4) │
00:23:54 verbose #47233 > │ let v45 : US1 = US1_1(40, 41, v4) │
00:23:54 verbose #47234 > │ let v46 : US1 = US1_1(41, 42, v4) │
00:23:54 verbose #47235 > │ let v47 : US1 = US1_1(42, 43, v4) │
00:23:54 verbose #47236 > │ let v48 : US1 = US1_1(43, 44, v4) │
00:23:54 verbose #47237 > │ let v49 : US1 = US1_1(44, 45, v4) │
00:23:54 verbose #47238 > │ let v50 : US1 = US1_1(45, 46, v4) │
00:23:54 verbose #47239 > │ let v51 : US1 = US1_1(46, 47, v4) │
00:23:54 verbose #47240 > │ let v52 : US1 = US1_1(47, 48, v4) │
00:23:54 verbose #47241 > │ let v53 : US1 = US1_1(48, 49, v4) │
00:23:54 verbose #47242 > │ let v54 : US1 = US1_1(49, 50, v4) │
00:23:54 verbose #47243 > │ let v55 : US1 = US1_1(50, 51, v4) │
00:23:54 verbose #47244 > │ let v56 : US1 = US1_1(51, 52, v4) │
00:23:54 verbose #47245 > │ let v57 : US1 = US1_1(52, 53, v4) │
00:23:54 verbose #47246 > │ let v58 : US1 = US1_1(53, 54, v4) │
00:23:54 verbose #47247 > │ let v59 : US1 = US1_1(54, 55, v4) │
00:23:54 verbose #47248 > │ let v60 : US1 = US1_1(55, 56, v4) │
00:23:54 verbose #47249 > │ let v61 : US1 = US1_1(56, 57, v4) │
00:23:54 verbose #47250 > │ let v62 : US1 = US1_1(57, 58, v4) │
00:23:54 verbose #47251 > │ let v63 : US1 = US1_1(58, 59, v4) │
00:23:54 verbose #47252 > │ let v64 : US1 = US1_1(59, 60, v4) │
00:23:54 verbose #47253 > │ let v65 : UH4 = UH4_0 │
00:23:54 verbose #47254 > │ let v66 : UH4 = UH4_1(v64, v65) │
00:23:54 verbose #47255 > │ let v67 : UH4 = UH4_1(v63, v66) │
00:23:54 verbose #47256 > │ let v68 : UH4 = UH4_1(v62, v67) │
00:23:54 verbose #47257 > │ let v69 : UH4 = UH4_1(v61, v68) │
00:23:54 verbose #47258 > │ let v70 : UH4 = UH4_1(v60, v69) │
00:23:54 verbose #47259 > │ let v71 : UH4 = UH4_1(v59, v70) │
00:23:54 verbose #47260 > │ let v72 : UH4 = UH4_1(v58, v71) │
00:23:54 verbose #47261 > │ let v73 : UH4 = UH4_1(v57, v72) │
00:23:54 verbose #47262 > │ let v74 : UH4 = UH4_1(v56, v73) │
00:23:54 verbose #47263 > │ let v75 : UH4 = UH4_1(v55, v74) │
00:23:54 verbose #47264 > │ let v76 : UH4 = UH4_1(v54, v75) │
00:23:54 verbose #47265 > │ let v77 : UH4 = UH4_1(v53, v76) │
00:23:54 verbose #47266 > │ let v78 : UH4 = UH4_1(v52, v77) │
00:23:54 verbose #47267 > │ let v79 : UH4 = UH4_1(v51, v78) │
00:23:54 verbose #47268 > │ let v80 : UH4 = UH4_1(v50, v79) │
00:23:54 verbose #47269 > │ let v81 : UH4 = UH4_1(v49, v80) │
00:23:54 verbose #47270 > │ let v82 : UH4 = UH4_1(v48, v81) │
00:23:54 verbose #47271 > │ let v83 : UH4 = UH4_1(v47, v82) │
00:23:54 verbose #47272 > │ let v84 : UH4 = UH4_1(v46, v83) │
00:23:54 verbose #47273 > │ let v85 : UH4 = UH4_1(v45, v84) │
00:23:54 verbose #47274 > │ let v86 : UH4 = UH4_1(v44, v85) │
00:23:54 verbose #47275 > │ let v87 : UH4 = UH4_1(v43, v86) │
00:23:54 verbose #47276 > │ let v88 : UH4 = UH4_1(v42, v87) │
00:23:54 verbose #47277 > │ let v89 : UH4 = UH4_1(v41, v88) │
00:23:54 verbose #47278 > │ let v90 : UH4 = UH4_1(v40, v89) │
00:23:54 verbose #47279 > │ let v91 : UH4 = UH4_1(v39, v90) │
00:23:54 verbose #47280 > │ let v92 : UH4 = UH4_1(v38, v91) │
00:23:54 verbose #47281 > │ let v93 : UH4 = UH4_1(v37, v92) │
00:23:54 verbose #47282 > │ let v94 : UH4 = UH4_1(v36, v93) │
00:23:54 verbose #47283 > │ let v95 : UH4 = UH4_1(v35, v94) │
00:23:54 verbose #47284 > │ let v96 : UH4 = UH4_1(v34, v95) │
00:23:54 verbose #47285 > │ let v97 : UH4 = UH4_1(v33, v96) │
00:23:54 verbose #47286 > │ let v98 : UH4 = UH4_1(v32, v97) │
00:23:54 verbose #47287 > │ let v99 : UH4 = UH4_1(v31, v98) │
00:23:54 verbose #47288 > │ let v100 : UH4 = UH4_1(v30, v99) │
00:23:54 verbose #47289 > │ let v101 : UH4 = UH4_1(v29, v100) │
00:23:54 verbose #47290 > │ let v102 : UH4 = UH4_1(v28, v101) │
00:23:54 verbose #47291 > │ let v103 : UH4 = UH4_1(v27, v102) │
00:23:54 verbose #47292 > │ let v104 : UH4 = UH4_1(v26, v103) │
00:23:54 verbose #47293 > │ let v105 : UH4 = UH4_1(v25, v104) │
00:23:54 verbose #47294 > │ let v106 : UH4 = UH4_1(v24, v105) │
00:23:54 verbose #47295 > │ let v107 : UH4 = UH4_1(v23, v106) │
00:23:54 verbose #47296 > │ let v108 : UH4 = UH4_1(v22, v107) │
00:23:54 verbose #47297 > │ let v109 : UH4 = UH4_1(v21, v108) │
00:23:54 verbose #47298 > │ let v110 : UH4 = UH4_1(v20, v109) │
00:23:54 verbose #47299 > │ let v111 : UH4 = UH4_1(v19, v110) │
00:23:54 verbose #47300 > │ let v112 : UH4 = UH4_1(v18, v111) │
00:23:54 verbose #47301 > │ let v113 : UH4 = UH4_1(v17, v112) │
00:23:54 verbose #47302 > │ let v114 : UH4 = UH4_1(v16, v113) │
00:23:54 verbose #47303 > │ let v115 : UH4 = UH4_1(v15, v114) │
00:23:54 verbose #47304 > │ let v116 : UH4 = UH4_1(v14, v115) │
00:23:54 verbose #47305 > │ let v117 : UH4 = UH4_1(v13, v116) │
00:23:54 verbose #47306 > │ let v118 : UH4 = UH4_1(v12, v117) │
00:23:54 verbose #47307 > │ let v119 : UH4 = UH4_1(v11, v118) │
00:23:54 verbose #47308 > │ let v120 : UH4 = UH4_1(v10, v119) │
00:23:54 verbose #47309 > │ let v121 : UH4 = UH4_1(v9, v120) │
00:23:54 verbose #47310 > │ let v122 : UH4 = UH4_1(v8, v121) │
00:23:54 verbose #47311 > │ let v123 : UH4 = UH4_1(v7, v122) │
00:23:54 verbose #47312 > │ let v124 : UH4 = UH4_1(v6, v123) │
00:23:54 verbose #47313 > │ let v125 : UH4 = UH4_1(v5, v124) │
00:23:54 verbose #47314 > │ let v126 : UH4 = UH4_1(v3, v125) │
00:23:54 verbose #47315 > │ UH4_1(v1, v126) │
00:23:54 verbose #47316 > │ and closure143 (v0 : UH5) () : UH5 = │
00:23:54 verbose #47317 > │ v0 │
00:23:54 verbose #47318 > │ and method5 (v0 : UH1, v1 : UH5, v2 : int32) : struct (UH5 * int32) = │
00:23:54 verbose #47319 > │ match v0 with │
00:23:54 verbose #47320 > │ | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons *) │
00:23:54 verbose #47321 > │ let v13 : int32 = v2 + 1 │
00:23:54 verbose #47322 > │ let v14 : UH1 = v12 () │
00:23:54 verbose #47323 > │ let v15 : (unit -> UH5) = closure143(v1) │
00:23:54 verbose #47324 > │ let v16 : UH5 = UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v15) │
00:23:54 verbose #47325 > │ method5(v14, v16, v13) │
00:23:54 verbose #47326 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #47327 > │ struct (v1, v2) │
00:23:54 verbose #47328 > │ and closure144 (v0 : UH5) () : UH5 = │
00:23:54 verbose #47329 > │ v0 │
00:23:54 verbose #47330 > │ and method6 (v0 : UH5, v1 : UH5) : UH5 = │
00:23:54 verbose #47331 > │ match v0 with │
00:23:54 verbose #47332 > │ | UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons │
00:23:54 verbose #47333 > │ *) │
00:23:54 verbose #47334 > │ let v13 : UH5 = v12 () │
00:23:54 verbose #47335 > │ let v14 : (unit -> UH5) = closure144(v1) │
00:23:54 verbose #47336 > │ let v15 : UH5 = UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v14) │
00:23:54 verbose #47337 > │ method6(v13, v15) │
00:23:54 verbose #47338 > │ | UH5_1 -> (* StreamNil *) │
00:23:54 verbose #47339 > │ v1 │
00:23:54 verbose #47340 > │ and closure145 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:23:54 verbose #47341 > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:54 verbose #47342 > │ float * float) = │
00:23:54 verbose #47343 > │ struct (0.0, 0.0, 0.0) │
00:23:54 verbose #47344 > │ and method9 (v0 : int32, v1 : UH1) : US3 = │
00:23:54 verbose #47345 > │ match v1 with │
00:23:54 verbose #47346 > │ | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:23:54 verbose #47347 > │ let v12 : bool = v0 <= 0 │
00:23:54 verbose #47348 > │ if v12 then │
00:23:54 verbose #47349 > │ US3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10) │
00:23:54 verbose #47350 > │ else │
00:23:54 verbose #47351 > │ let v14 : int32 = v0 - 1 │
00:23:54 verbose #47352 > │ let v15 : UH1 = v11 () │
00:23:54 verbose #47353 > │ method9(v14, v15) │
00:23:54 verbose #47354 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #47355 > │ US3_1 │
00:23:54 verbose #47356 > │ and closure146 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:23:54 verbose #47357 > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:23:54 verbose #47358 > │ float * float) = │
00:23:54 verbose #47359 > │ struct (0.0, 0.0, 0.0) │
00:23:54 verbose #47360 > │ and method8 (v0 : int32, v1 : UH1, v2 : UH4, v3 : UH6) : UH6 = │
00:23:54 verbose #47361 > │ match v2 with │
00:23:54 verbose #47362 > │ | UH4_1(v4, v5) -> (* Cons *) │
00:23:54 verbose #47363 > │ let v6 : UH6 = method8(v0, v1, v5, v3) │
00:23:54 verbose #47364 > │ let v55 : (struct (float * float * float * float * float * float * │
00:23:54 verbose #47365 > │ float * float * float) -> struct (float * float * float)) = │
00:23:54 verbose #47366 > │ match v4 with │
00:23:54 verbose #47367 > │ | US1_0(v7, v8) -> (* ExternalForce *) │
00:23:54 verbose #47368 > │ let v9 : bool = v0 = v7 │
00:23:54 verbose #47369 > │ if v9 then │
00:23:54 verbose #47370 > │ v8 │
00:23:54 verbose #47371 > │ else │
00:23:54 verbose #47372 > │ closure145() │
00:23:54 verbose #47373 > │ | US1_1(v12, v13, v14) -> (* InternalForce *) │
00:23:54 verbose #47374 > │ let v15 : bool = v0 = v12 │
00:23:54 verbose #47375 > │ let v49 : US2 = │
00:23:54 verbose #47376 > │ if v15 then │
00:23:54 verbose #47377 > │ let v16 : US3 = method9(v13, v1) │
00:23:54 verbose #47378 > │ match v16 with │
00:23:54 verbose #47379 > │ | US3_1 -> (* None *) │
00:23:54 verbose #47380 > │ US2_1 │
00:23:54 verbose #47381 > │ | US3_0(v17, v18, v19, v20, v21, v22, v23, v24, v25) │
00:23:54 verbose #47382 > │ -> (* Some *) │
00:23:54 verbose #47383 > │ let v26 : (struct (float * float * float * float │
00:23:54 verbose #47384 > │ * float * float * float * float * float) -> struct (float * float * float)) │
00:23:54 verbose #47385 > │ = v14 struct (v17, v18, v19, v20, v21, v22, v23, v24, v25) │
00:23:54 verbose #47386 > │ US2_0(v26) │
00:23:54 verbose #47387 > │ else │
00:23:54 verbose #47388 > │ let v31 : bool = v0 = v13 │
00:23:54 verbose #47389 > │ if v31 then │
00:23:54 verbose #47390 > │ let v32 : US3 = method9(v12, v1) │
00:23:54 verbose #47391 > │ match v32 with │
00:23:54 verbose #47392 > │ | US3_1 -> (* None *) │
00:23:54 verbose #47393 > │ US2_1 │
00:23:54 verbose #47394 > │ | US3_0(v33, v34, v35, v36, v37, v38, v39, v40, │
00:23:54 verbose #47395 > │ v41) -> (* Some *) │
00:23:54 verbose #47396 > │ let v42 : (struct (float * float * float * │
00:23:54 verbose #47397 > │ float * float * float * float * float * float) -> struct (float * float * │
00:23:54 verbose #47398 > │ float)) = v14 struct (v33, v34, v35, v36, v37, v38, v39, v40, v41) │
00:23:54 verbose #47399 > │ US2_0(v42) │
00:23:54 verbose #47400 > │ else │
00:23:54 verbose #47401 > │ US2_1 │
00:23:54 verbose #47402 > │ match v49 with │
00:23:54 verbose #47403 > │ | US2_1 -> (* None *) │
00:23:54 verbose #47404 > │ closure146() │
00:23:54 verbose #47405 > │ | US2_0(v50) -> (* Some *) │
00:23:54 verbose #47406 > │ v50 │
00:23:54 verbose #47407 > │ UH6_1(v55, v6) │
00:23:54 verbose #47408 > │ | UH4_0 -> (* Nil *) │
00:23:54 verbose #47409 > │ v3 │
00:23:54 verbose #47410 > │ and method10 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:23:54 verbose #47411 > │ : float, v6 : float, v7 : float, v8 : float, v9 : UH6, v10 : UH7) : UH7 = │
00:23:54 verbose #47412 > │ match v9 with │
00:23:54 verbose #47413 > │ | UH6_1(v11, v12) -> (* Cons *) │
00:23:54 verbose #47414 > │ let v13 : UH7 = method10(v0, v1, v2, v3, v4, v5, v6, v7, v8, v12, │
00:23:54 verbose #47415 > │ v10) │
00:23:54 verbose #47416 > │ let struct (v14 : float, v15 : float, v16 : float) = v11 struct (v0, │
00:23:54 verbose #47417 > │ v1, v2, v3, v4, v5, v6, v7, v8) │
00:23:54 verbose #47418 > │ UH7_1(v14, v15, v16, v13) │
00:23:54 verbose #47419 > │ | UH6_0 -> (* Nil *) │
00:23:54 verbose #47420 > │ v10 │
00:23:54 verbose #47421 > │ and method11 (v0 : UH7, v1 : float, v2 : float, v3 : float) : struct (float │
00:23:54 verbose #47422 > │ * float * float) = │
00:23:54 verbose #47423 > │ match v0 with │
00:23:54 verbose #47424 > │ | UH7_1(v4, v5, v6, v7) -> (* Cons *) │
00:23:54 verbose #47425 > │ let v8 : float = v1 + v4 │
00:23:54 verbose #47426 > │ let v9 : float = v2 + v5 │
00:23:54 verbose #47427 > │ let v10 : float = v3 + v6 │
00:23:54 verbose #47428 > │ method11(v7, v8, v9, v10) │
00:23:54 verbose #47429 > │ | UH7_0 -> (* Nil *) │
00:23:54 verbose #47430 > │ struct (v1, v2, v3) │
00:23:54 verbose #47431 > │ and closure147 (v0 : UH3) () : UH3 = │
00:23:54 verbose #47432 > │ v0 │
00:23:54 verbose #47433 > │ and method7 (v0 : UH4, v1 : UH1, v2 : UH5, v3 : UH3) : UH3 = │
00:23:54 verbose #47434 > │ match v2 with │
00:23:54 verbose #47435 > │ | UH5_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* │
00:23:54 verbose #47436 > │ StreamCons *) │
00:23:54 verbose #47437 > │ let v15 : UH5 = v14 () │
00:23:54 verbose #47438 > │ let v16 : UH3 = method7(v0, v1, v15, v3) │
00:23:54 verbose #47439 > │ let v17 : UH6 = UH6_0 │
00:23:54 verbose #47440 > │ let v18 : UH6 = method8(v4, v1, v0, v17) │
00:23:54 verbose #47441 > │ let v19 : UH7 = UH7_0 │
00:23:54 verbose #47442 > │ let v20 : UH7 = method10(v5, v6, v7, v8, v9, v10, v11, v12, v13, │
00:23:54 verbose #47443 > │ v18, v19) │
00:23:54 verbose #47444 > │ let v21 : float = 0.0 │
00:23:54 verbose #47445 > │ let v22 : float = 0.0 │
00:23:54 verbose #47446 > │ let v23 : float = 0.0 │
00:23:54 verbose #47447 > │ let struct (v24 : float, v25 : float, v26 : float) = method11(v20, │
00:23:54 verbose #47448 > │ v21, v22, v23) │
00:23:54 verbose #47449 > │ let v27 : float = v24 / v6 │
00:23:54 verbose #47450 > │ let v28 : float = v25 / v6 │
00:23:54 verbose #47451 > │ let v29 : float = v26 / v6 │
00:23:54 verbose #47452 > │ let v30 : (unit -> UH3) = closure147(v16) │
00:23:54 verbose #47453 > │ UH3_0(0.0, 0.0, v11, v12, v13, 1.0, v27, v28, v29, v30) │
00:23:54 verbose #47454 > │ | UH5_1 -> (* StreamNil *) │
00:23:54 verbose #47455 > │ v3 │
00:23:54 verbose #47456 > │ and closure142 (v0 : UH4) (v1 : UH1) : UH3 = │
00:23:54 verbose #47457 > │ let v2 : UH5 = UH5_1 │
00:23:54 verbose #47458 > │ let v3 : int32 = 0 │
00:23:54 verbose #47459 > │ let struct (v4 : UH5, v5 : int32) = method5(v1, v2, v3) │
00:23:54 verbose #47460 > │ let v6 : UH5 = UH5_1 │
00:23:54 verbose #47461 > │ let v7 : UH5 = method6(v4, v6) │
00:23:54 verbose #47462 > │ let v8 : UH3 = UH3_1 │
00:23:54 verbose #47463 > │ let v9 : UH3 = method7(v0, v1, v7, v8) │
00:23:54 verbose #47464 > │ v9 │
00:23:54 verbose #47465 > │ and closure148 (v0 : (UH1 -> UH1), v1 : UH1, v2 : UH1) () : UH8 = │
00:23:54 verbose #47466 > │ let v3 : UH1 = v0 v2 │
00:23:54 verbose #47467 > │ let v4 : (unit -> UH8) = closure148(v0, v1, v3) │
00:23:54 verbose #47468 > │ UH8_0(v2, v4) │
00:23:54 verbose #47469 > │ and method12 (v0 : float, v1 : UH8) : US4 = │
00:23:54 verbose #47470 > │ match v1 with │
00:23:54 verbose #47471 > │ | UH8_0(v2, v3) -> (* StreamCons *) │
00:23:54 verbose #47472 > │ let v4 : bool = v0 <= 0.0 │
00:23:54 verbose #47473 > │ if v4 then │
00:23:54 verbose #47474 > │ US4_0(v2) │
00:23:54 verbose #47475 > │ else │
00:23:54 verbose #47476 > │ let v6 : float = v0 - 1.0 │
00:23:54 verbose #47477 > │ let v7 : UH8 = v3 () │
00:23:54 verbose #47478 > │ method12(v6, v7) │
00:23:54 verbose #47479 > │ | UH8_1 -> (* StreamNil *) │
00:23:54 verbose #47480 > │ US4_1 │
00:23:54 verbose #47481 > │ and closure149 (v0 : UH9) () : UH9 = │
00:23:54 verbose #47482 > │ v0 │
00:23:54 verbose #47483 > │ and method13 (v0 : UH1, v1 : UH9) : UH9 = │
00:23:54 verbose #47484 > │ match v0 with │
00:23:54 verbose #47485 > │ | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:23:54 verbose #47486 > │ let v12 : UH1 = v11 () │
00:23:54 verbose #47487 > │ let v13 : UH9 = method13(v12, v1) │
00:23:54 verbose #47488 > │ let v14 : (unit -> UH9) = closure149(v13) │
00:23:54 verbose #47489 > │ UH9_0(v4, v5, v6, v14) │
00:23:54 verbose #47490 > │ | UH1_1 -> (* StreamNil *) │
00:23:54 verbose #47491 > │ v1 │
00:23:54 verbose #47492 > │ and method14 (v0 : UH9, v1 : UH7) : UH7 = │
00:23:54 verbose #47493 > │ match v0 with │
00:23:54 verbose #47494 > │ | UH9_0(v2, v3, v4, v5) -> (* StreamCons *) │
00:23:54 verbose #47495 > │ let v6 : UH9 = v5 () │
00:23:54 verbose #47496 > │ let v7 : UH7 = method14(v6, v1) │
00:23:54 verbose #47497 > │ UH7_1(v2, v3, v4, v7) │
00:23:54 verbose #47498 > │ | UH9_1 -> (* StreamNil *) │
00:23:54 verbose #47499 > │ v1 │
00:23:54 verbose #47500 > │ and method15 (v0 : UH7, v1 : UH7) : UH7 = │
00:23:54 verbose #47501 > │ match v0 with │
00:23:54 verbose #47502 > │ | UH7_1(v2, v3, v4, v5) -> (* Cons *) │
00:23:54 verbose #47503 > │ let v6 : UH7 = method15(v5, v1) │
00:23:54 verbose #47504 > │ UH7_1(v2, v3, v4, v6) │
00:23:54 verbose #47505 > │ | UH7_0 -> (* Nil *) │
00:23:54 verbose #47506 > │ v1 │
00:23:54 verbose #47507 > │ and method16 (v0 : UH7, v1 : UH10) : UH10 = │
00:23:54 verbose #47508 > │ match v0 with │
00:23:54 verbose #47509 > │ | UH7_1(v2, v3, v4, v5) -> (* Cons *) │
00:23:54 verbose #47510 > │ let v6 : UH10 = method16(v5, v1) │
00:23:54 verbose #47511 > │ UH10_1(v2, v3, v6) │
00:23:54 verbose #47512 > │ | UH7_0 -> (* Nil *) │
00:23:54 verbose #47513 > │ v1 │
00:23:54 verbose #47514 > │ and closure150 (v0 : UH11) () : UH11 = │
00:23:54 verbose #47515 > │ v0 │
00:23:54 verbose #47516 > │ and method17 (v0 : UH10, v1 : UH11) : UH11 = │
00:23:54 verbose #47517 > │ match v0 with │
00:23:54 verbose #47518 > │ | UH10_1(v2, v3, v4) -> (* Cons *) │
00:23:54 verbose #47519 > │ let v5 : UH11 = method17(v4, v1) │
00:23:54 verbose #47520 > │ let v6 : (unit -> UH11) = closure150(v5) │
00:23:54 verbose #47521 > │ UH11_0(v2, v3, v6) │
00:23:54 verbose #47522 > │ | UH10_0 -> (* Nil *) │
00:23:54 verbose #47523 > │ v1 │
00:23:54 verbose #47524 > │ and closure151 (v0 : UH0) () : UH0 = │
00:23:54 verbose #47525 > │ v0 │
00:23:54 verbose #47526 > │ and closure152 (v0 : UH0) () : UH0 = │
00:23:54 verbose #47527 > │ v0 │
00:23:54 verbose #47528 > │ and method18 (v0 : UH11) : struct (UH0 * UH0) = │
00:23:54 verbose #47529 > │ match v0 with │
00:23:54 verbose #47530 > │ | UH11_0(v1, v2, v3) -> (* StreamCons *) │
00:23:54 verbose #47531 > │ let v4 : UH11 = v3 () │
00:23:54 verbose #47532 > │ let struct (v5 : UH0, v6 : UH0) = method18(v4) │
00:23:54 verbose #47533 > │ let v7 : (unit -> UH0) = closure151(v5) │
00:23:54 verbose #47534 > │ let v8 : UH0 = UH0_0(v1, v7) │
00:23:54 verbose #47535 > │ let v9 : (unit -> UH0) = closure152(v6) │
00:23:54 verbose #47536 > │ let v10 : UH0 = UH0_0(v2, v9) │
00:23:54 verbose #47537 > │ struct (v8, v10) │
00:23:54 verbose #47538 > │ | UH11_1 -> (* StreamNil *) │
00:23:54 verbose #47539 > │ let v11 : UH0 = UH0_1 │
00:23:54 verbose #47540 > │ let v12 : UH0 = UH0_1 │
00:23:54 verbose #47541 > │ struct (v11, v12) │
00:23:54 verbose #47542 > │ and method19 (v0 : UH0, v1 : UH12) : UH12 = │
00:23:54 verbose #47543 > │ match v0 with │
00:23:54 verbose #47544 > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:23:54 verbose #47545 > │ let v4 : UH0 = v3 () │
00:23:54 verbose #47546 > │ let v5 : UH12 = method19(v4, v1) │
00:23:54 verbose #47547 > │ UH12_1(v2, v5) │
00:23:54 verbose #47548 > │ | UH0_1 -> (* StreamNil *) │
00:23:54 verbose #47549 > │ v1 │
00:23:54 verbose #47550 > │ and method21 (v0 : UH12, v1 : int32) : int32 = │
00:23:54 verbose #47551 > │ match v0 with │
00:23:54 verbose #47552 > │ | UH12_1(v2, v3) -> (* Cons *) │
00:23:54 verbose #47553 > │ let v4 : int32 = v1 + 1 │
00:23:54 verbose #47554 > │ method21(v3, v4) │
00:23:54 verbose #47555 > │ | UH12_0 -> (* Nil *) │
00:23:54 verbose #47556 > │ v1 │
00:23:54 verbose #47557 > │ and method22 (v0 : (float []), v1 : UH12, v2 : int32) : int32 = │
00:23:54 verbose #47558 > │ match v1 with │
00:23:54 verbose #47559 > │ | UH12_1(v3, v4) -> (* Cons *) │
00:23:54 verbose #47560 > │ v0.[int v2] <- v3 │
00:23:54 verbose #47561 > │ let v5 : int32 = v2 + 1 │
00:23:54 verbose #47562 > │ method22(v0, v4, v5) │
00:23:54 verbose #47563 > │ | UH12_0 -> (* Nil *) │
00:23:54 verbose #47564 > │ v2 │
00:23:54 verbose #47565 > │ and method20 (v0 : UH12) : (float []) = │
00:23:54 verbose #47566 > │ let v1 : int32 = 0 │
00:23:54 verbose #47567 > │ let v2 : int32 = method21(v0, v1) │
00:23:54 verbose #47568 > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:23:54 verbose #47569 > │ let v4 : int32 = 0 │
00:23:54 verbose #47570 > │ let v5 : int32 = method22(v3, v0, v4) │
00:23:54 verbose #47571 > │ v3 │
00:23:54 verbose #47572 > │ and closure153 (v0 : UH2) () : UH2 = │
00:23:54 verbose #47573 > │ v0 │
00:23:54 verbose #47574 > │ and method1 (v0 : UH1, v1 : UH0, v2 : UH2) : UH2 = │
00:23:54 verbose #47575 > │ match v1 with │
00:23:54 verbose #47576 > │ | UH0_0(v3, v4) -> (* StreamCons *) │
00:23:54 verbose #47577 > │ let v5 : UH0 = v4 () │
00:23:54 verbose #47578 > │ let v6 : UH2 = method1(v0, v5, v2) │
00:23:54 verbose #47579 > │ let v7 : ((UH1 -> UH3) -> (UH1 -> UH1)) = method2() │
00:23:54 verbose #47580 > │ let v8 : UH4 = method4() │
00:23:54 verbose #47581 > │ let v9 : (UH1 -> UH3) = closure142(v8) │
00:23:54 verbose #47582 > │ let v10 : (UH1 -> UH1) = v7 v9 │
00:23:54 verbose #47583 > │ let v11 : UH1 = v10 v0 │
00:23:54 verbose #47584 > │ let v12 : (unit -> UH8) = closure148(v10, v0, v11) │
00:23:54 verbose #47585 > │ let v13 : UH8 = UH8_0(v0, v12) │
00:23:54 verbose #47586 > │ let v14 : US4 = method12(v3, v13) │
00:23:54 verbose #47587 > │ let v18 : UH1 = │
00:23:54 verbose #47588 > │ match v14 with │
00:23:54 verbose #47589 > │ | US4_1 -> (* None *) │
00:23:54 verbose #47590 > │ failwith<UH1> "Option does not have a value." │
00:23:54 verbose #47591 > │ | US4_0(v15) -> (* Some *) │
00:23:54 verbose #47592 > │ v15 │
00:23:54 verbose #47593 > │ let v19 : UH9 = UH9_1 │
00:23:54 verbose #47594 > │ let v20 : UH9 = method13(v18, v19) │
00:23:54 verbose #47595 > │ let v21 : UH7 = UH7_0 │
00:23:54 verbose #47596 > │ let v22 : UH7 = method14(v20, v21) │
00:23:54 verbose #47597 > │ let v23 : float = 0.65 │
00:23:54 verbose #47598 > │ let v24 : float = 0.0 │
00:23:54 verbose #47599 > │ let v25 : float = 0.0 │
00:23:54 verbose #47600 > │ let v26 : UH7 = UH7_0 │
00:23:54 verbose #47601 > │ let v27 : UH7 = UH7_1(v23, v24, v25, v26) │
00:23:54 verbose #47602 > │ let v28 : UH7 = method15(v22, v27) │
00:23:54 verbose #47603 > │ let v29 : UH10 = UH10_0 │
00:23:54 verbose #47604 > │ let v30 : UH10 = method16(v28, v29) │
00:23:54 verbose #47605 > │ let v31 : UH11 = UH11_1 │
00:23:54 verbose #47606 > │ let v32 : UH11 = method17(v30, v31) │
00:23:54 verbose #47607 > │ let struct (v33 : UH0, v34 : UH0) = method18(v32) │
00:23:54 verbose #47608 > │ let v35 : UH12 = UH12_0 │
00:23:54 verbose #47609 > │ let v36 : UH12 = method19(v33, v35) │
00:23:54 verbose #47610 > │ let v37 : float = 0.0 │
00:23:54 verbose #47611 > │ let v38 : UH12 = UH12_1(v37, v36) │
00:23:54 verbose #47612 > │ let v39 : (float []) = method20(v38) │
00:23:54 verbose #47613 > │ let v40 : UH12 = UH12_0 │
00:23:54 verbose #47614 > │ let v41 : UH12 = method19(v34, v40) │
00:23:54 verbose #47615 > │ let v42 : float = 0.0 │
00:23:54 verbose #47616 > │ let v43 : UH12 = UH12_1(v42, v41) │
00:23:54 verbose #47617 > │ let v44 : (float []) = method20(v43) │
00:23:54 verbose #47618 > │ let v45 : (unit -> UH2) = closure153(v6) │
00:23:54 verbose #47619 > │ UH2_0(v39, v44, v45) │
00:23:54 verbose #47620 > │ | UH0_1 -> (* StreamNil *) │
00:23:54 verbose #47621 > │ v2 │
00:23:54 verbose #47622 > │ and closure154 (v0 : UH13) () : UH13 = │
00:23:54 verbose #47623 > │ v0 │
00:23:54 verbose #47624 > │ and method23 (v0 : UH2, v1 : UH13, v2 : int32) : struct (UH13 * int32) = │
00:23:54 verbose #47625 > │ match v0 with │
00:23:54 verbose #47626 > │ | UH2_0(v3, v4, v5) -> (* StreamCons *) │
00:23:54 verbose #47627 > │ let v6 : int32 = v2 + 1 │
00:23:54 verbose #47628 > │ let v7 : UH2 = v5 () │
00:23:54 verbose #47629 > │ let v8 : (unit -> UH13) = closure154(v1) │
00:23:54 verbose #47630 > │ let v9 : UH13 = UH13_0(v2, v3, v4, v8) │
00:23:54 verbose #47631 > │ method23(v7, v9, v6) │
00:23:54 verbose #47632 > │ | UH2_1 -> (* StreamNil *) │
00:23:54 verbose #47633 > │ struct (v1, v2) │
00:23:54 verbose #47634 > │ and closure155 (v0 : UH13) () : UH13 = │
00:23:54 verbose #47635 > │ v0 │
00:23:54 verbose #47636 > │ and method24 (v0 : UH13, v1 : UH13) : UH13 = │
00:23:54 verbose #47637 > │ match v0 with │
00:23:54 verbose #47638 > │ | UH13_0(v2, v3, v4, v5) -> (* StreamCons *) │
00:23:54 verbose #47639 > │ let v6 : UH13 = v5 () │
00:23:54 verbose #47640 > │ let v7 : (unit -> UH13) = closure155(v1) │
00:23:54 verbose #47641 > │ let v8 : UH13 = UH13_0(v2, v3, v4, v7) │
00:23:54 verbose #47642 > │ method24(v6, v8) │
00:23:54 verbose #47643 > │ | UH13_1 -> (* StreamNil *) │
00:23:54 verbose #47644 > │ v1 │
00:23:54 verbose #47645 > │ and closure156 (v0 : UH14) () : UH14 = │
00:23:54 verbose #47646 > │ v0 │
00:23:54 verbose #47647 > │ and method25 (v0 : UH13, v1 : UH14) : UH14 = │
00:23:54 verbose #47648 > │ match v0 with │
00:23:54 verbose #47649 > │ | UH13_0(v2, v3, v4, v5) -> (* StreamCons *) │
00:23:54 verbose #47650 > │ let v6 : UH13 = v5 () │
00:23:54 verbose #47651 > │ let v7 : UH14 = method25(v6, v1) │
00:23:54 verbose #47652 > │ let v8 : string = $"{v2}" │
00:23:54 verbose #47653 > │ let v9 : (struct (string * (float []) * (float [])) []) = [|struct │
00:23:54 verbose #47654 > │ (v8, v3, v4)|] │
00:23:54 verbose #47655 > │ let v10 : string = "wave" │
00:23:54 verbose #47656 > │ let v11 : string = "position (m)" │
00:23:54 verbose #47657 > │ let v12 : string = "displacement (m)" │
00:23:54 verbose #47658 > │ let v13 : (unit -> UH14) = closure156(v7) │
00:23:54 verbose #47659 > │ UH14_0(v10, v11, v12, v9, v13) │
00:23:54 verbose #47660 > │ | UH13_1 -> (* StreamNil *) │
00:23:54 verbose #47661 > │ v1 │
00:23:54 verbose #47662 > │ and method26 (v0 : UH14, v1 : UH15) : UH15 = │
00:23:54 verbose #47663 > │ match v0 with │
00:23:54 verbose #47664 > │ | UH14_0(v2, v3, v4, v5, v6) -> (* StreamCons *) │
00:23:54 verbose #47665 > │ let v7 : UH14 = v6 () │
00:23:54 verbose #47666 > │ let v8 : UH15 = method26(v7, v1) │
00:23:54 verbose #47667 > │ UH15_1(v2, v3, v4, v5, v8) │
00:23:54 verbose #47668 > │ | UH14_1 -> (* StreamNil *) │
00:23:54 verbose #47669 > │ v1 │
00:23:54 verbose #47670 > │ and method28 (v0 : UH15, v1 : int32) : int32 = │
00:23:54 verbose #47671 > │ match v0 with │
00:23:54 verbose #47672 > │ | UH15_1(v2, v3, v4, v5, v6) -> (* Cons *) │
00:23:54 verbose #47673 > │ let v7 : int32 = v1 + 1 │
00:23:54 verbose #47674 > │ method28(v6, v7) │
00:23:54 verbose #47675 > │ | UH15_0 -> (* Nil *) │
00:23:54 verbose #47676 > │ v1 │
00:23:54 verbose #47677 > │ and method29 (v0 : (struct (string * string * string * (struct (string * │
00:23:54 verbose #47678 > │ (float []) * (float [])) [])) []), v1 : UH15, v2 : int32) : int32 = │
00:23:54 verbose #47679 > │ match v1 with │
00:23:54 verbose #47680 > │ | UH15_1(v3, v4, v5, v6, v7) -> (* Cons *) │
00:23:54 verbose #47681 > │ v0.[int v2] <- struct (v3, v4, v5, v6) │
00:23:54 verbose #47682 > │ let v8 : int32 = v2 + 1 │
00:23:54 verbose #47683 > │ method29(v0, v7, v8) │
00:23:54 verbose #47684 > │ | UH15_0 -> (* Nil *) │
00:23:54 verbose #47685 > │ v2 │
00:23:54 verbose #47686 > │ and method27 (v0 : UH15) : (struct (string * string * string * (struct │
00:23:54 verbose #47687 > │ (string * (float []) * (float [])) [])) []) = │
00:23:54 verbose #47688 > │ let v1 : int32 = 0 │
00:23:54 verbose #47689 > │ let v2 : int32 = method28(v0, v1) │
00:23:54 verbose #47690 > │ let v3 : (struct (string * string * string * (struct (string * (float [ │
00:23:54 verbose #47691 > │ ]) * (float [])) [])) []) = Array.zeroCreate<struct (string * string * │
00:23:54 verbose #47692 > │ string * (struct (string * (float []) * (float [])) []))> (v2) │
00:23:54 verbose #47693 > │ let v4 : int32 = 0 │
00:23:54 verbose #47694 > │ let v5 : int32 = method29(v3, v0, v4) │
00:23:54 verbose #47695 > │ v3 │
00:23:54 verbose #47696 > │ and method0 () : (struct (string * string * string * (struct (string * │
00:23:54 verbose #47697 > │ (float []) * (float [])) [])) []) = │
00:23:54 verbose #47698 > │ let v0 : float = 0.0 │
00:23:54 verbose #47699 > │ let v1 : (unit -> UH0) = closure0() │
00:23:54 verbose #47700 > │ let v2 : UH0 = UH0_0(v0, v1) │
00:23:54 verbose #47701 > │ let v3 : float = 0.0 │
00:23:54 verbose #47702 > │ let v4 : float = 8.422578125E-06 │
00:23:54 verbose #47703 > │ let v5 : float = 0.01 │
00:23:54 verbose #47704 > │ let v6 : float = 0.0007224452478461068 │
00:23:54 verbose #47705 > │ let v7 : float = 0.0 │
00:23:54 verbose #47706 > │ let v8 : float = 0.0 │
00:23:54 verbose #47707 > │ let v9 : float = 0.0 │
00:23:54 verbose #47708 > │ let v10 : float = 0.0 │
00:23:54 verbose #47709 > │ let v11 : float = 0.0 │
00:23:54 verbose #47710 > │ let v12 : (unit -> UH1) = closure66() │
00:23:54 verbose #47711 > │ let v13 : UH1 = UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) │
00:23:54 verbose #47712 > │ let v14 : UH2 = UH2_1 │
00:23:54 verbose #47713 > │ let v15 : UH2 = method1(v13, v2, v14) │
00:23:54 verbose #47714 > │ let v16 : UH13 = UH13_1 │
00:23:54 verbose #47715 > │ let v17 : int32 = 0 │
00:23:54 verbose #47716 > │ let struct (v18 : UH13, v19 : int32) = method23(v15, v16, v17) │
00:23:54 verbose #47717 > │ let v20 : UH13 = UH13_1 │
00:23:54 verbose #47718 > │ let v21 : UH13 = method24(v18, v20) │
00:23:54 verbose #47719 > │ let v22 : UH14 = UH14_1 │
00:23:54 verbose #47720 > │ let v23 : UH14 = method25(v21, v22) │
00:23:54 verbose #47721 > │ let v24 : UH15 = UH15_0 │
00:23:54 verbose #47722 > │ let v25 : UH15 = method26(v23, v24) │
00:23:54 verbose #47723 > │ method27(v25) │
00:23:54 verbose #47724 > │ method0() │
00:23:54 verbose #47725 > │ │
00:23:54 verbose #47726 > │ │
00:23:54 verbose #47727 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:54 verbose #47728 >
00:23:54 verbose #47729 > ── markdown ────────────────────────────────────────────────────────────────────
00:23:54 verbose #47730 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:23:54 verbose #47731 > │ ## end │
00:23:54 verbose #47732 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:23:58 verbose #47733 > [NbConvertApp] Converting notebook physics.dib.ipynb to html
00:23:58 verbose #47734 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:23:58 verbose #47735 > validate(nb)
00:24:03 verbose #47736 > [NbConvertApp] Writing 2732141 bytes to physics.dib.html
00:24:04 debug #47737 execute_with_options_async / exit_code: 0 / output.Length: 575027
00:24:04 debug #23 main / executeCommand / exitCode: 0
00:24:04 debug #47738 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 benchmark.dib" -Retries 3", [||],
None, None, None)
00:24:04 verbose #47739 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: benchmark.dib / _args: [
00:24:04 verbose #47740 > "-Retries",
00:24:04 verbose #47741 > 3
00:24:04 verbose #47742 > ]
00:24:07 verbose #47743 >
00:24:07 verbose #47744 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:07 verbose #47745 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:07 verbose #47746 > │ ## benchmark (Polyglot) │
00:24:07 verbose #47747 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:07 verbose #47748 >
00:24:07 verbose #47749 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:07 verbose #47750 > //// test
00:24:07 verbose #47751 >
00:24:07 verbose #47752 > open testing
00:24:07 verbose #47753 >
00:24:07 verbose #47754 > ── spiral - import ─────────────────────────────────────────────────────────────
00:24:07 verbose #47755 > #r
00:24:07 verbose #47756 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:24:07 verbose #47757 > otNet.Interactive.Spiral.dll"
00:24:07 verbose #47758 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:24:07 verbose #47759 > #r
00:24:07 verbose #47760 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:24:07 verbose #47761 > otNet.Interactive.dll"
00:24:07 verbose #47762 > open type Microsoft.DotNet.Interactive.Kernel
00:24:12 verbose #47763 > 00:24:11 debug #860 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:24:13 verbose #47764 >
00:24:13 verbose #47765 > ╭─[ 5.58s - stdout ]───────────────────────────────────────────────────────────╮
00:24:13 verbose #47766 > │ () │
00:24:13 verbose #47767 > │ │
00:24:13 verbose #47768 > │ │
00:24:13 verbose #47769 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:13 verbose #47770 >
00:24:13 verbose #47771 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:13 verbose #47772 > inl (/@) x = listm'.(/@) x
00:24:13 verbose #47773 > 00:24:12 debug #861 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0b895d8e1d9c488525dde22258ff836e8e8b5337d440c1e71d7b6c9158446d9a/main.spi
00:24:14 verbose #47774 >
00:24:14 verbose #47775 > ╭─[ 728.18ms - stdout ]────────────────────────────────────────────────────────╮
00:24:14 verbose #47776 > │ () │
00:24:14 verbose #47777 > │ │
00:24:14 verbose #47778 > │ │
00:24:14 verbose #47779 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:14 verbose #47780 >
00:24:14 verbose #47781 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:14 verbose #47782 > inl gc_collect () =
00:24:14 verbose #47783 > run_target function
00:24:14 verbose #47784 > | Fsharp _ => fun () => $"System.GC.Collect ()"
00:24:14 verbose #47785 > | _ => fun () => ()
00:24:14 verbose #47786 >
00:24:14 verbose #47787 > inl printfn x =
00:24:14 verbose #47788 > console.write_line x
00:24:14 verbose #47789 >
00:24:14 verbose #47790 > nominal stopwatch = $"System.Diagnostics.Stopwatch"
00:24:14 verbose #47791 >
00:24:14 verbose #47792 > inl stopwatch () : stopwatch =
00:24:14 verbose #47793 > $"`stopwatch" ()
00:24:14 verbose #47794 >
00:24:14 verbose #47795 > inl stopwatch_elapsed_milliseconds (stopwatch : stopwatch) : i64 =
00:24:14 verbose #47796 > $"!stopwatch.ElapsedMilliseconds"
00:24:14 verbose #47797 >
00:24:14 verbose #47798 > inl stopwatch_start (stopwatch : stopwatch) : () =
00:24:14 verbose #47799 > $"!stopwatch.Start ()"
00:24:14 verbose #47800 > 00:24:13 debug #862 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/17d637cc35146212b2355facfd98fede867ef5c549f69fde524f6192f66d882f/main.spi
00:24:14 verbose #47801 >
00:24:14 verbose #47802 > ╭─[ 648.55ms - stdout ]────────────────────────────────────────────────────────╮
00:24:14 verbose #47803 > │ () │
00:24:14 verbose #47804 > │ │
00:24:14 verbose #47805 > │ │
00:24:14 verbose #47806 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:14 verbose #47807 >
00:24:14 verbose #47808 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:14 verbose #47809 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:14 verbose #47810 > │ ## test_case_result │
00:24:14 verbose #47811 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:14 verbose #47812 >
00:24:14 verbose #47813 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:14 verbose #47814 > type test_case_result =
00:24:14 verbose #47815 > {
00:24:14 verbose #47816 > Input : string
00:24:14 verbose #47817 > Expected : string
00:24:14 verbose #47818 > Result : string
00:24:14 verbose #47819 > TimeList : a u64 i64
00:24:14 verbose #47820 > }
00:24:15 verbose #47821 > 00:24:14 debug #863 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/46007487a395c0b289571750a28a9a33c4d7b4fefb34a93db94aa3d095f59250/main.spi
00:24:15 verbose #47822 >
00:24:15 verbose #47823 > ╭─[ 614.36ms - stdout ]────────────────────────────────────────────────────────╮
00:24:15 verbose #47824 > │ () │
00:24:15 verbose #47825 > │ │
00:24:15 verbose #47826 > │ │
00:24:15 verbose #47827 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:15 verbose #47828 >
00:24:15 verbose #47829 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:15 verbose #47830 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:15 verbose #47831 > │ ## run │
00:24:15 verbose #47832 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:15 verbose #47833 >
00:24:15 verbose #47834 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:15 verbose #47835 > inl run forall input expected.
00:24:15 verbose #47836 > count
00:24:15 verbose #47837 > (solutions : list (string * (input -> expected)))
00:24:15 verbose #47838 > ((input, expected) : (input * expected))
00:24:15 verbose #47839 > : test_case_result
00:24:15 verbose #47840 > =
00:24:15 verbose #47841 > inl input_str = input |> sm'.format_debug
00:24:15 verbose #47842 >
00:24:15 verbose #47843 > printfn ""
00:24:15 verbose #47844 > printfn ($"$\"Solution: {!input_str} \"" : string)
00:24:15 verbose #47845 >
00:24:15 verbose #47846 > inl performance_invoke (fn : () -> expected) =
00:24:15 verbose #47847 > gc_collect ()
00:24:15 verbose #47848 > inl stopwatch = stopwatch ()
00:24:15 verbose #47849 > stopwatch |> stopwatch_start
00:24:15 verbose #47850 > inl time1 = stopwatch |> stopwatch_elapsed_milliseconds
00:24:15 verbose #47851 > inl result : expected =
00:24:15 verbose #47852 > am'.init_series 0 count 1i32
00:24:15 verbose #47853 > |> am'.parallel_map fun _n => fn ()
00:24:15 verbose #47854 > |> am'.last
00:24:15 verbose #47855 > inl time2 = (stopwatch |> stopwatch_elapsed_milliseconds) - time1
00:24:15 verbose #47856 > result, time2
00:24:15 verbose #47857 >
00:24:15 verbose #47858 > inl results_with_time : a u64 _ =
00:24:15 verbose #47859 > solutions
00:24:15 verbose #47860 > |> listm'.indexed
00:24:15 verbose #47861 > |> listm.toArray
00:24:15 verbose #47862 > |> am.map fun ((i : i32), (test_name, solution)) =>
00:24:15 verbose #47863 > inl result, time = performance_invoke fun () => solution input
00:24:15 verbose #47864 > printfn ($"$\"Test case {!i + 1}. {!test_name}. Time: {!time} \"" :
00:24:15 verbose #47865 > string)
00:24:15 verbose #47866 > result, time
00:24:15 verbose #47867 >
00:24:15 verbose #47868 > match results_with_time |> am.map fst with
00:24:15 verbose #47869 > | array when length array <= 1 => ()
00:24:15 verbose #47870 > | array when array |> am.forall' ((=) (index array 0)) => ()
00:24:15 verbose #47871 > | results => failwith ($"$\"Challenge error: {!results}\"" : string)
00:24:15 verbose #47872 >
00:24:15 verbose #47873 > {
00:24:15 verbose #47874 > Input = input_str
00:24:15 verbose #47875 > Expected = expected |> sm'.format_debug
00:24:15 verbose #47876 > Result = results_with_time |> am.map fst |> fun array => index array 0
00:24:15 verbose #47877 > |> sm'.format_debug
00:24:15 verbose #47878 > TimeList = results_with_time |> am.map snd
00:24:15 verbose #47879 > }
00:24:15 verbose #47880 > 00:24:14 debug #864 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9b2ec2a2dff493af3fb94e58eecd351f7d357df662b3903a092a45c2d0002416/main.spi
00:24:16 verbose #47881 >
00:24:16 verbose #47882 > ╭─[ 651.93ms - stdout ]────────────────────────────────────────────────────────╮
00:24:16 verbose #47883 > │ () │
00:24:16 verbose #47884 > │ │
00:24:16 verbose #47885 > │ │
00:24:16 verbose #47886 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:16 verbose #47887 >
00:24:16 verbose #47888 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:16 verbose #47889 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:16 verbose #47890 > │ ## run_all │
00:24:16 verbose #47891 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:16 verbose #47892 >
00:24:16 verbose #47893 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:16 verbose #47894 > inl run_all forall input expected.
00:24:16 verbose #47895 > test_name
00:24:16 verbose #47896 > count
00:24:16 verbose #47897 > (solutions : list (string * (input -> expected)))
00:24:16 verbose #47898 > test_cases
00:24:16 verbose #47899 > =
00:24:16 verbose #47900 > printfn ""
00:24:16 verbose #47901 > printfn ""
00:24:16 verbose #47902 > printfn ($"$\"Test: {!test_name}\"" : string)
00:24:16 verbose #47903 > test_cases
00:24:16 verbose #47904 > |> listm.toArray
00:24:16 verbose #47905 > |> am.map (run count solutions)
00:24:16 verbose #47906 > 00:24:15 debug #865 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09b1ff758089fae01baac7b9c203ca5d0248d8798293f8335f09c03fdd8d0be0/main.spi
00:24:16 verbose #47907 >
00:24:16 verbose #47908 > ╭─[ 690.13ms - stdout ]────────────────────────────────────────────────────────╮
00:24:16 verbose #47909 > │ () │
00:24:16 verbose #47910 > │ │
00:24:16 verbose #47911 > │ │
00:24:16 verbose #47912 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:16 verbose #47913 >
00:24:16 verbose #47914 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:16 verbose #47915 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:16 verbose #47916 > │ ## sort_result_list │
00:24:16 verbose #47917 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:16 verbose #47918 >
00:24:16 verbose #47919 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:16 verbose #47920 > inl sort_result_list results =
00:24:16 verbose #47921 > inl table =
00:24:16 verbose #47922 > inl rows =
00:24:16 verbose #47923 > results
00:24:16 verbose #47924 > |> am.map fun (result : test_case_result) =>
00:24:16 verbose #47925 > inl best =
00:24:16 verbose #47926 > result.TimeList
00:24:16 verbose #47927 > |> am'.indexed
00:24:16 verbose #47928 > |> am.map fun (i, time) =>
00:24:16 verbose #47929 > i + 1i64, time
00:24:16 verbose #47930 > |> am'.sort_by snd
00:24:16 verbose #47931 > |> fun array => index array 0i32
00:24:16 verbose #47932 > |> sm'.format_debug
00:24:16 verbose #47933 > inl row =
00:24:16 verbose #47934 > [[
00:24:16 verbose #47935 > result.Input
00:24:16 verbose #47936 > result.Expected
00:24:16 verbose #47937 > result.Result
00:24:16 verbose #47938 > best
00:24:16 verbose #47939 > ]]
00:24:16 verbose #47940 > inl color : option console.console_color =
00:24:16 verbose #47941 > open console
00:24:16 verbose #47942 > match result.Expected = result.Result with
00:24:16 verbose #47943 > | true => Some $"`console_color.DarkGreen"
00:24:16 verbose #47944 > | false => Some $"`console_color.DarkRed"
00:24:16 verbose #47945 > row, color
00:24:16 verbose #47946 >
00:24:16 verbose #47947 > inl header =
00:24:16 verbose #47948 > [[
00:24:16 verbose #47949 > [[
00:24:16 verbose #47950 > "Input"
00:24:16 verbose #47951 > "Expected"
00:24:16 verbose #47952 > "Result"
00:24:16 verbose #47953 > "Best"
00:24:16 verbose #47954 > ]]
00:24:16 verbose #47955 > [[
00:24:16 verbose #47956 > "---"
00:24:16 verbose #47957 > "---"
00:24:16 verbose #47958 > "---"
00:24:16 verbose #47959 > "---"
00:24:16 verbose #47960 > ]]
00:24:16 verbose #47961 > ]]
00:24:16 verbose #47962 > |> listm.map fun row => row, None
00:24:16 verbose #47963 > |> listm.toArray
00:24:16 verbose #47964 > rows |> am.append header
00:24:16 verbose #47965 >
00:24:16 verbose #47966 > inl formattedTable =
00:24:16 verbose #47967 > inl lengthMap : mapm.map i32 i64 =
00:24:16 verbose #47968 > table
00:24:16 verbose #47969 > |> am.map (fst >> listm.toArray)
00:24:16 verbose #47970 > |> am'.transpose
00:24:16 verbose #47971 > |> am.map fun column =>
00:24:16 verbose #47972 > column
00:24:16 verbose #47973 > |> am.map sm.length
00:24:16 verbose #47974 > |> am'.sort_descending
00:24:16 verbose #47975 > |> am'.try_item 0i32
00:24:16 verbose #47976 > |> optionm'.default_value 0i64
00:24:16 verbose #47977 > |> am'.indexed
00:24:16 verbose #47978 > |> fun (x : a i32 _) => x
00:24:16 verbose #47979 > |> mapm.of_array
00:24:16 verbose #47980 > table
00:24:16 verbose #47981 > |> am.map fun (row, color) =>
00:24:16 verbose #47982 > inl newRow =
00:24:16 verbose #47983 > row
00:24:16 verbose #47984 > |> listm'.indexed
00:24:16 verbose #47985 > |> listm.map fun (i, cell) =>
00:24:16 verbose #47986 > cell |> sm'.pad_right (lengthMap |> mapm.item i |> conv) ' '
00:24:16 verbose #47987 > |> listm.toArray
00:24:16 verbose #47988 > newRow, color
00:24:16 verbose #47989 >
00:24:16 verbose #47990 > printfn ""
00:24:16 verbose #47991 > formattedTable
00:24:16 verbose #47992 > |> am.iter fun ((row : a i32 string), color) =>
00:24:16 verbose #47993 > match color with
00:24:16 verbose #47994 > | Some color => color |> console.set_foreground_color
00:24:16 verbose #47995 > | None => console.reset_color ()
00:24:16 verbose #47996 >
00:24:16 verbose #47997 > printfn (row |> sm'.join' "\t| ")
00:24:16 verbose #47998 >
00:24:16 verbose #47999 > console.reset_color ()
00:24:16 verbose #48000 >
00:24:16 verbose #48001 > inl averages : a u64 _ =
00:24:16 verbose #48002 > results
00:24:16 verbose #48003 > |> am.map fun result =>
00:24:16 verbose #48004 > result.TimeList
00:24:16 verbose #48005 > |> am.map ($"float" : i64 -> f64)
00:24:16 verbose #48006 > |> am'.transpose
00:24:16 verbose #48007 > |> am.map am'.average
00:24:16 verbose #48008 > |> am.map ($"int64" : f64 -> i64)
00:24:16 verbose #48009 > |> am'.indexed
00:24:16 verbose #48010 >
00:24:16 verbose #48011 > printfn ""
00:24:16 verbose #48012 > printfn "Average Ranking "
00:24:16 verbose #48013 > averages
00:24:16 verbose #48014 > |> am'.sort_by snd
00:24:16 verbose #48015 > |> am.iter fun ((i : i32), avg) =>
00:24:16 verbose #48016 > printfn ($"$\"Test case %d{!i + 1}. Average Time: %A{!avg} \"" :
00:24:16 verbose #48017 > string)
00:24:17 verbose #48018 > 00:24:16 debug #866 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/58bdd9c07d96f28e22e14b1f5227efd7133949990a9b1def928fa3e7d26ce361/main.spi
00:24:17 verbose #48019 >
00:24:17 verbose #48020 > ╭─[ 668.85ms - stdout ]────────────────────────────────────────────────────────╮
00:24:17 verbose #48021 > │ () │
00:24:17 verbose #48022 > │ │
00:24:17 verbose #48023 > │ │
00:24:17 verbose #48024 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:17 verbose #48025 >
00:24:17 verbose #48026 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:17 verbose #48027 > //// test
00:24:17 verbose #48028 >
00:24:17 verbose #48029 > inl is_fast () =
00:24:17 verbose #48030 > false
00:24:17 verbose #48031 > 00:24:16 debug #867 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d6e772f3b27db25d3ec34e33c5ee5ec3f976cf69b6752be9d933f86fc8a41d8d/main.spi
00:24:18 verbose #48032 >
00:24:18 verbose #48033 > ╭─[ 661.59ms - stdout ]────────────────────────────────────────────────────────╮
00:24:18 verbose #48034 > │ () │
00:24:18 verbose #48035 > │ │
00:24:18 verbose #48036 > │ │
00:24:18 verbose #48037 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:18 verbose #48038 >
00:24:18 verbose #48039 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:18 verbose #48040 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:18 verbose #48041 > │ ## empty2Tests │
00:24:18 verbose #48042 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:18 verbose #48043 >
00:24:18 verbose #48044 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:18 verbose #48045 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:18 verbose #48046 > │ Test: Empty2 │
00:24:18 verbose #48047 > │ │
00:24:18 verbose #48048 > │ Solution: (a, a) │
00:24:18 verbose #48049 > │ Test case 1. A. Time: 59L │
00:24:18 verbose #48050 > │ │
00:24:18 verbose #48051 > │ Solution: (a, a) │
00:24:18 verbose #48052 > │ Test case 1. A. Time: 53L │
00:24:18 verbose #48053 > │ │
00:24:18 verbose #48054 > │ Input | Expected | Result | Best │
00:24:18 verbose #48055 > │ --- | --- | --- | --- │
00:24:18 verbose #48056 > │ (a, a) | a | a | (1, 59) │
00:24:18 verbose #48057 > │ (a, a) | a | a | (1, 53) │
00:24:18 verbose #48058 > │ │
00:24:18 verbose #48059 > │ Averages │
00:24:18 verbose #48060 > │ Test case 1. Average Time: 56L │
00:24:18 verbose #48061 > │ │
00:24:18 verbose #48062 > │ Ranking │
00:24:18 verbose #48063 > │ Test case 1. Average Time: 56L │
00:24:18 verbose #48064 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:18 verbose #48065 >
00:24:18 verbose #48066 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:18 verbose #48067 > //// test
00:24:18 verbose #48068 >
00:24:18 verbose #48069 > inl get_solutions () =
00:24:18 verbose #48070 > [[
00:24:18 verbose #48071 > "A",
00:24:18 verbose #48072 > fun (a, _b) =>
00:24:18 verbose #48073 > a
00:24:18 verbose #48074 >
00:24:18 verbose #48075 > "B",
00:24:18 verbose #48076 > fun (_a, b) =>
00:24:18 verbose #48077 > b
00:24:18 verbose #48078 > ]]
00:24:18 verbose #48079 >
00:24:18 verbose #48080 > inl rec empty_2_tests () =
00:24:18 verbose #48081 > inl test_cases = [[
00:24:18 verbose #48082 > ("a", "a"), "a"
00:24:18 verbose #48083 > ("b", "b"), "b"
00:24:18 verbose #48084 > ]]
00:24:18 verbose #48085 >
00:24:18 verbose #48086 > inl solutions = get_solutions ()
00:24:18 verbose #48087 >
00:24:18 verbose #48088 > // inl is_fast () = true
00:24:18 verbose #48089 >
00:24:18 verbose #48090 > inl count =
00:24:18 verbose #48091 > if is_fast ()
00:24:18 verbose #48092 > then 1000i32
00:24:18 verbose #48093 > else 2000000i32
00:24:18 verbose #48094 >
00:24:18 verbose #48095 > run_all (nameof empty_2_tests) count solutions test_cases
00:24:18 verbose #48096 > |> sort_result_list
00:24:18 verbose #48097 >
00:24:18 verbose #48098 > empty_2_tests ()
00:24:18 verbose #48099 > 00:24:17 debug #868 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4df8ecce756c8144cfe9193fd37e8d36606b4668d3482aab9fc387dc40da8ff8/main.spi
00:24:27 verbose #48100 >
00:24:27 verbose #48101 > ╭─[ 9.56s - stdout ]───────────────────────────────────────────────────────────╮
00:24:27 verbose #48102 > │ type UH0 = │
00:24:27 verbose #48103 > │ | UH0_0 │
00:24:27 verbose #48104 > │ | UH0_1 of string * string * string * UH0 │
00:24:27 verbose #48105 > │ and Mut0 = {mutable l0 : uint64} │
00:24:27 verbose #48106 > │ and UH1 = │
00:24:27 verbose #48107 > │ | UH1_0 │
00:24:27 verbose #48108 > │ | UH1_1 of int32 * string * (struct (string * string) -> string) * UH1 │
00:24:27 verbose #48109 > │ and Mut1 = {mutable l0 : int32} │
00:24:27 verbose #48110 > │ and UH2 = │
00:24:27 verbose #48111 > │ | UH2_0 │
00:24:27 verbose #48112 > │ | UH2_1 of string * UH2 │
00:24:27 verbose #48113 > │ and [<Struct>] US0 = │
00:24:27 verbose #48114 > │ | US0_0 of f0_0 : System.ConsoleColor │
00:24:27 verbose #48115 > │ | US0_1 │
00:24:27 verbose #48116 > │ and UH3 = │
00:24:27 verbose #48117 > │ | UH3_0 │
00:24:27 verbose #48118 > │ | UH3_1 of int64 * int64 * UH3 │
00:24:27 verbose #48119 > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64} │
00:24:27 verbose #48120 > │ and UH4 = │
00:24:27 verbose #48121 > │ | UH4_0 │
00:24:27 verbose #48122 > │ | UH4_1 of UH2 * US0 * UH4 │
00:24:27 verbose #48123 > │ and [<Struct>] US1 = │
00:24:27 verbose #48124 > │ | US1_0 of f0_0 : int64 │
00:24:27 verbose #48125 > │ | US1_1 │
00:24:27 verbose #48126 > │ and UH5 = │
00:24:27 verbose #48127 > │ | UH5_0 │
00:24:27 verbose #48128 > │ | UH5_1 of int32 * int64 * UH5 │
00:24:27 verbose #48129 > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32} │
00:24:27 verbose #48130 > │ and UH6 = │
00:24:27 verbose #48131 > │ | UH6_0 │
00:24:27 verbose #48132 > │ | UH6_1 of int32 * string * UH6 │
00:24:27 verbose #48133 > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 = │
00:24:27 verbose #48134 > │ match v0 with │
00:24:27 verbose #48135 > │ | UH0_1(v2, v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48136 > │ let v6 : uint64 = v1 + 1UL │
00:24:27 verbose #48137 > │ method2(v5, v6) │
00:24:27 verbose #48138 > │ | UH0_0 -> (* Nil *) │
00:24:27 verbose #48139 > │ v1 │
00:24:27 verbose #48140 > │ and method3 (v0 : (struct (string * string * string) []), v1 : UH0, v2 : │
00:24:27 verbose #48141 > │ uint64) : uint64 = │
00:24:27 verbose #48142 > │ match v1 with │
00:24:27 verbose #48143 > │ | UH0_1(v3, v4, v5, v6) -> (* Cons *) │
00:24:27 verbose #48144 > │ v0.[int v2] <- struct (v3, v4, v5) │
00:24:27 verbose #48145 > │ let v7 : uint64 = v2 + 1UL │
00:24:27 verbose #48146 > │ method3(v0, v6, v7) │
00:24:27 verbose #48147 > │ | UH0_0 -> (* Nil *) │
00:24:27 verbose #48148 > │ v2 │
00:24:27 verbose #48149 > │ and method1 (v0 : UH0) : (struct (string * string * string) []) = │
00:24:27 verbose #48150 > │ let v1 : uint64 = 0UL │
00:24:27 verbose #48151 > │ let v2 : uint64 = method2(v0, v1) │
00:24:27 verbose #48152 > │ let v3 : (struct (string * string * string) []) = │
00:24:27 verbose #48153 > │ Array.zeroCreate<struct (string * string * string)> │
00:24:27 verbose #48154 > │ (System.Convert.ToInt32(v2)) │
00:24:27 verbose #48155 > │ let v4 : uint64 = 0UL │
00:24:27 verbose #48156 > │ let v5 : uint64 = method3(v3, v0, v4) │
00:24:27 verbose #48157 > │ v3 │
00:24:27 verbose #48158 > │ and method4 (v0 : uint64, v1 : Mut0) : bool = │
00:24:27 verbose #48159 > │ let v2 : uint64 = v1.l0 │
00:24:27 verbose #48160 > │ let v3 : bool = v2 < v0 │
00:24:27 verbose #48161 > │ v3 │
00:24:27 verbose #48162 > │ and closure1 () struct (v0 : string, v1 : string) : string = │
00:24:27 verbose #48163 > │ v0 │
00:24:27 verbose #48164 > │ and closure2 () struct (v0 : string, v1 : string) : string = │
00:24:27 verbose #48165 > │ v1 │
00:24:27 verbose #48166 > │ and method6 (v0 : UH1, v1 : uint64) : uint64 = │
00:24:27 verbose #48167 > │ match v0 with │
00:24:27 verbose #48168 > │ | UH1_1(v2, v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48169 > │ let v6 : uint64 = v1 + 1UL │
00:24:27 verbose #48170 > │ method6(v5, v6) │
00:24:27 verbose #48171 > │ | UH1_0 -> (* Nil *) │
00:24:27 verbose #48172 > │ v1 │
00:24:27 verbose #48173 > │ and method7 (v0 : (struct (int32 * string * (struct (string * string) -> │
00:24:27 verbose #48174 > │ string)) []), v1 : UH1, v2 : uint64) : uint64 = │
00:24:27 verbose #48175 > │ match v1 with │
00:24:27 verbose #48176 > │ | UH1_1(v3, v4, v5, v6) -> (* Cons *) │
00:24:27 verbose #48177 > │ v0.[int v2] <- struct (v3, v4, v5) │
00:24:27 verbose #48178 > │ let v7 : uint64 = v2 + 1UL │
00:24:27 verbose #48179 > │ method7(v0, v6, v7) │
00:24:27 verbose #48180 > │ | UH1_0 -> (* Nil *) │
00:24:27 verbose #48181 > │ v2 │
00:24:27 verbose #48182 > │ and method5 (v0 : UH1) : (struct (int32 * string * (struct (string * string) │
00:24:27 verbose #48183 > │ -> string)) []) = │
00:24:27 verbose #48184 > │ let v1 : uint64 = 0UL │
00:24:27 verbose #48185 > │ let v2 : uint64 = method6(v0, v1) │
00:24:27 verbose #48186 > │ let v3 : (struct (int32 * string * (struct (string * string) -> string)) │
00:24:27 verbose #48187 > │ []) = Array.zeroCreate<struct (int32 * string * (struct (string * string) -> │
00:24:27 verbose #48188 > │ string))> (System.Convert.ToInt32(v2)) │
00:24:27 verbose #48189 > │ let v4 : uint64 = 0UL │
00:24:27 verbose #48190 > │ let v5 : uint64 = method7(v3, v0, v4) │
00:24:27 verbose #48191 > │ v3 │
00:24:27 verbose #48192 > │ and method8 (v0 : Mut1) : bool = │
00:24:27 verbose #48193 > │ let v1 : int32 = v0.l0 │
00:24:27 verbose #48194 > │ let v2 : bool = v1 < 2000001 │
00:24:27 verbose #48195 > │ v2 │
00:24:27 verbose #48196 > │ and closure3 (v0 : string, v1 : string, v2 : (struct (string * string) -> │
00:24:27 verbose #48197 > │ string)) (v3 : int32) : string = │
00:24:27 verbose #48198 > │ v2 struct (v0, v1) │
00:24:27 verbose #48199 > │ and method9 (v0 : string, v1 : (string []), v2 : uint64) : bool = │
00:24:27 verbose #48200 > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:24:27 verbose #48201 > │ let v4 : bool = v2 < v3 │
00:24:27 verbose #48202 > │ if v4 then │
00:24:27 verbose #48203 > │ let v5 : string = v1.[int v2] │
00:24:27 verbose #48204 > │ let v6 : bool = v0 = v5 │
00:24:27 verbose #48205 > │ if v6 then │
00:24:27 verbose #48206 > │ let v7 : uint64 = v2 + 1UL │
00:24:27 verbose #48207 > │ method9(v0, v1, v7) │
00:24:27 verbose #48208 > │ else │
00:24:27 verbose #48209 > │ false │
00:24:27 verbose #48210 > │ else │
00:24:27 verbose #48211 > │ true │
00:24:27 verbose #48212 > │ and method10 (v0 : uint64, v1 : Mut2) : bool = │
00:24:27 verbose #48213 > │ let v2 : uint64 = v1.l0 │
00:24:27 verbose #48214 > │ let v3 : bool = v2 < v0 │
00:24:27 verbose #48215 > │ v3 │
00:24:27 verbose #48216 > │ and method11 (v0 : UH3, v1 : UH3) : UH3 = │
00:24:27 verbose #48217 > │ match v0 with │
00:24:27 verbose #48218 > │ | UH3_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48219 > │ let v5 : UH3 = UH3_1(v2, v3, v1) │
00:24:27 verbose #48220 > │ method11(v4, v5) │
00:24:27 verbose #48221 > │ | UH3_0 -> (* Nil *) │
00:24:27 verbose #48222 > │ v1 │
00:24:27 verbose #48223 > │ and method13 (v0 : UH3, v1 : int32) : int32 = │
00:24:27 verbose #48224 > │ match v0 with │
00:24:27 verbose #48225 > │ | UH3_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48226 > │ let v5 : int32 = v1 + 1 │
00:24:27 verbose #48227 > │ method13(v4, v5) │
00:24:27 verbose #48228 > │ | UH3_0 -> (* Nil *) │
00:24:27 verbose #48229 > │ v1 │
00:24:27 verbose #48230 > │ and method14 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) : │
00:24:27 verbose #48231 > │ int32 = │
00:24:27 verbose #48232 > │ match v1 with │
00:24:27 verbose #48233 > │ | UH3_1(v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48234 > │ v0.[int v2] <- struct (v3, v4) │
00:24:27 verbose #48235 > │ let v6 : int32 = v2 + 1 │
00:24:27 verbose #48236 > │ method14(v0, v5, v6) │
00:24:27 verbose #48237 > │ | UH3_0 -> (* Nil *) │
00:24:27 verbose #48238 > │ v2 │
00:24:27 verbose #48239 > │ and method12 (v0 : UH3) : (struct (int64 * int64) []) = │
00:24:27 verbose #48240 > │ let v1 : int32 = 0 │
00:24:27 verbose #48241 > │ let v2 : int32 = method13(v0, v1) │
00:24:27 verbose #48242 > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:24:27 verbose #48243 > │ int64)> (v2) │
00:24:27 verbose #48244 > │ let v4 : int32 = 0 │
00:24:27 verbose #48245 > │ let v5 : int32 = method14(v3, v0, v4) │
00:24:27 verbose #48246 > │ v3 │
00:24:27 verbose #48247 > │ and method15 (v0 : int32, v1 : Mut1) : bool = │
00:24:27 verbose #48248 > │ let v2 : int32 = v1.l0 │
00:24:27 verbose #48249 > │ let v3 : bool = v2 < v0 │
00:24:27 verbose #48250 > │ v3 │
00:24:27 verbose #48251 > │ and closure4 () struct (v0 : int64, v1 : int64) : int64 = │
00:24:27 verbose #48252 > │ v1 │
00:24:27 verbose #48253 > │ and method17 (v0 : UH4, v1 : uint64) : uint64 = │
00:24:27 verbose #48254 > │ match v0 with │
00:24:27 verbose #48255 > │ | UH4_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48256 > │ let v5 : uint64 = v1 + 1UL │
00:24:27 verbose #48257 > │ method17(v4, v5) │
00:24:27 verbose #48258 > │ | UH4_0 -> (* Nil *) │
00:24:27 verbose #48259 > │ v1 │
00:24:27 verbose #48260 > │ and method18 (v0 : (struct (UH2 * US0) []), v1 : UH4, v2 : uint64) : uint64 │
00:24:27 verbose #48261 > │ = │
00:24:27 verbose #48262 > │ match v1 with │
00:24:27 verbose #48263 > │ | UH4_1(v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48264 > │ v0.[int v2] <- struct (v3, v4) │
00:24:27 verbose #48265 > │ let v6 : uint64 = v2 + 1UL │
00:24:27 verbose #48266 > │ method18(v0, v5, v6) │
00:24:27 verbose #48267 > │ | UH4_0 -> (* Nil *) │
00:24:27 verbose #48268 > │ v2 │
00:24:27 verbose #48269 > │ and method16 (v0 : UH4) : (struct (UH2 * US0) []) = │
00:24:27 verbose #48270 > │ let v1 : uint64 = 0UL │
00:24:27 verbose #48271 > │ let v2 : uint64 = method17(v0, v1) │
00:24:27 verbose #48272 > │ let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:24:27 verbose #48273 > │ (System.Convert.ToInt32(v2)) │
00:24:27 verbose #48274 > │ let v4 : uint64 = 0UL │
00:24:27 verbose #48275 > │ let v5 : uint64 = method18(v3, v0, v4) │
00:24:27 verbose #48276 > │ v3 │
00:24:27 verbose #48277 > │ and method20 (v0 : UH2, v1 : uint64) : uint64 = │
00:24:27 verbose #48278 > │ match v0 with │
00:24:27 verbose #48279 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:24:27 verbose #48280 > │ let v4 : uint64 = v1 + 1UL │
00:24:27 verbose #48281 > │ method20(v3, v4) │
00:24:27 verbose #48282 > │ | UH2_0 -> (* Nil *) │
00:24:27 verbose #48283 > │ v1 │
00:24:27 verbose #48284 > │ and method21 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:24:27 verbose #48285 > │ match v1 with │
00:24:27 verbose #48286 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:24:27 verbose #48287 > │ v0.[int v2] <- v3 │
00:24:27 verbose #48288 > │ let v5 : uint64 = v2 + 1UL │
00:24:27 verbose #48289 > │ method21(v0, v4, v5) │
00:24:27 verbose #48290 > │ | UH2_0 -> (* Nil *) │
00:24:27 verbose #48291 > │ v2 │
00:24:27 verbose #48292 > │ and method19 (v0 : UH2) : (string []) = │
00:24:27 verbose #48293 > │ let v1 : uint64 = 0UL │
00:24:27 verbose #48294 > │ let v2 : uint64 = method20(v0, v1) │
00:24:27 verbose #48295 > │ let v3 : (string []) = Array.zeroCreate<string> │
00:24:27 verbose #48296 > │ (System.Convert.ToInt32(v2)) │
00:24:27 verbose #48297 > │ let v4 : uint64 = 0UL │
00:24:27 verbose #48298 > │ let v5 : uint64 = method21(v3, v0, v4) │
00:24:27 verbose #48299 > │ v3 │
00:24:27 verbose #48300 > │ and closure5 () (v0 : int64) : US1 = │
00:24:27 verbose #48301 > │ US1_0(v0) │
00:24:27 verbose #48302 > │ and method22 () : (int64 -> US1) = │
00:24:27 verbose #48303 > │ closure5() │
00:24:27 verbose #48304 > │ and method23 (v0 : uint64, v1 : Mut3) : bool = │
00:24:27 verbose #48305 > │ let v2 : uint64 = v1.l0 │
00:24:27 verbose #48306 > │ let v3 : bool = v2 < v0 │
00:24:27 verbose #48307 > │ v3 │
00:24:27 verbose #48308 > │ and method24 (v0 : UH5, v1 : UH5) : UH5 = │
00:24:27 verbose #48309 > │ match v0 with │
00:24:27 verbose #48310 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48311 > │ let v5 : UH5 = UH5_1(v2, v3, v1) │
00:24:27 verbose #48312 > │ method24(v4, v5) │
00:24:27 verbose #48313 > │ | UH5_0 -> (* Nil *) │
00:24:27 verbose #48314 > │ v1 │
00:24:27 verbose #48315 > │ and method26 (v0 : UH5, v1 : int32) : int32 = │
00:24:27 verbose #48316 > │ match v0 with │
00:24:27 verbose #48317 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48318 > │ let v5 : int32 = v1 + 1 │
00:24:27 verbose #48319 > │ method26(v4, v5) │
00:24:27 verbose #48320 > │ | UH5_0 -> (* Nil *) │
00:24:27 verbose #48321 > │ v1 │
00:24:27 verbose #48322 > │ and method27 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) : │
00:24:27 verbose #48323 > │ int32 = │
00:24:27 verbose #48324 > │ match v1 with │
00:24:27 verbose #48325 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48326 > │ v0.[int v2] <- struct (v3, v4) │
00:24:27 verbose #48327 > │ let v6 : int32 = v2 + 1 │
00:24:27 verbose #48328 > │ method27(v0, v5, v6) │
00:24:27 verbose #48329 > │ | UH5_0 -> (* Nil *) │
00:24:27 verbose #48330 > │ v2 │
00:24:27 verbose #48331 > │ and method25 (v0 : UH5) : (struct (int32 * int64) []) = │
00:24:27 verbose #48332 > │ let v1 : int32 = 0 │
00:24:27 verbose #48333 > │ let v2 : int32 = method26(v0, v1) │
00:24:27 verbose #48334 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:24:27 verbose #48335 > │ int64)> (v2) │
00:24:27 verbose #48336 > │ let v4 : int32 = 0 │
00:24:27 verbose #48337 > │ let v5 : int32 = method27(v3, v0, v4) │
00:24:27 verbose #48338 > │ v3 │
00:24:27 verbose #48339 > │ and method28 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) = │
00:24:27 verbose #48340 > │ match v0 with │
00:24:27 verbose #48341 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:24:27 verbose #48342 > │ let v5 : int32 = v2 + 1 │
00:24:27 verbose #48343 > │ let v6 : UH6 = UH6_1(v2, v3, v1) │
00:24:27 verbose #48344 > │ method28(v4, v6, v5) │
00:24:27 verbose #48345 > │ | UH2_0 -> (* Nil *) │
00:24:27 verbose #48346 > │ struct (v1, v2) │
00:24:27 verbose #48347 > │ and method29 (v0 : UH6, v1 : UH6) : UH6 = │
00:24:27 verbose #48348 > │ match v0 with │
00:24:27 verbose #48349 > │ | UH6_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48350 > │ let v5 : UH6 = UH6_1(v2, v3, v1) │
00:24:27 verbose #48351 > │ method29(v4, v5) │
00:24:27 verbose #48352 > │ | UH6_0 -> (* Nil *) │
00:24:27 verbose #48353 > │ v1 │
00:24:27 verbose #48354 > │ and method30 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 = │
00:24:27 verbose #48355 > │ match v1 with │
00:24:27 verbose #48356 > │ | UH6_1(v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48357 > │ let v6 : UH2 = method30(v0, v5, v2) │
00:24:27 verbose #48358 > │ let v7 : int64 = v0.[v3] │
00:24:27 verbose #48359 > │ let v8 : int32 = int32 v7 │
00:24:27 verbose #48360 > │ let v9 : string = v4.PadRight (v8, ' ') │
00:24:27 verbose #48361 > │ UH2_1(v9, v6) │
00:24:27 verbose #48362 > │ | UH6_0 -> (* Nil *) │
00:24:27 verbose #48363 > │ v2 │
00:24:27 verbose #48364 > │ and method32 (v0 : UH2, v1 : int32) : int32 = │
00:24:27 verbose #48365 > │ match v0 with │
00:24:27 verbose #48366 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:24:27 verbose #48367 > │ let v4 : int32 = v1 + 1 │
00:24:27 verbose #48368 > │ method32(v3, v4) │
00:24:27 verbose #48369 > │ | UH2_0 -> (* Nil *) │
00:24:27 verbose #48370 > │ v1 │
00:24:27 verbose #48371 > │ and method33 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:24:27 verbose #48372 > │ match v1 with │
00:24:27 verbose #48373 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:24:27 verbose #48374 > │ v0.[int v2] <- v3 │
00:24:27 verbose #48375 > │ let v5 : int32 = v2 + 1 │
00:24:27 verbose #48376 > │ method33(v0, v4, v5) │
00:24:27 verbose #48377 > │ | UH2_0 -> (* Nil *) │
00:24:27 verbose #48378 > │ v2 │
00:24:27 verbose #48379 > │ and method31 (v0 : UH2) : (string []) = │
00:24:27 verbose #48380 > │ let v1 : int32 = 0 │
00:24:27 verbose #48381 > │ let v2 : int32 = method32(v0, v1) │
00:24:27 verbose #48382 > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:24:27 verbose #48383 > │ let v4 : int32 = 0 │
00:24:27 verbose #48384 > │ let v5 : int32 = method33(v3, v0, v4) │
00:24:27 verbose #48385 > │ v3 │
00:24:27 verbose #48386 > │ and method35 (v0 : UH5, v1 : uint64) : uint64 = │
00:24:27 verbose #48387 > │ match v0 with │
00:24:27 verbose #48388 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:24:27 verbose #48389 > │ let v5 : uint64 = v1 + 1UL │
00:24:27 verbose #48390 > │ method35(v4, v5) │
00:24:27 verbose #48391 > │ | UH5_0 -> (* Nil *) │
00:24:27 verbose #48392 > │ v1 │
00:24:27 verbose #48393 > │ and method36 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) : │
00:24:27 verbose #48394 > │ uint64 = │
00:24:27 verbose #48395 > │ match v1 with │
00:24:27 verbose #48396 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:24:27 verbose #48397 > │ v0.[int v2] <- struct (v3, v4) │
00:24:27 verbose #48398 > │ let v6 : uint64 = v2 + 1UL │
00:24:27 verbose #48399 > │ method36(v0, v5, v6) │
00:24:27 verbose #48400 > │ | UH5_0 -> (* Nil *) │
00:24:27 verbose #48401 > │ v2 │
00:24:27 verbose #48402 > │ and method34 (v0 : UH5) : (struct (int32 * int64) []) = │
00:24:27 verbose #48403 > │ let v1 : uint64 = 0UL │
00:24:27 verbose #48404 > │ let v2 : uint64 = method35(v0, v1) │
00:24:27 verbose #48405 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:24:27 verbose #48406 > │ int64)> (System.Convert.ToInt32(v2)) │
00:24:27 verbose #48407 > │ let v4 : uint64 = 0UL │
00:24:27 verbose #48408 > │ let v5 : uint64 = method36(v3, v0, v4) │
00:24:27 verbose #48409 > │ v3 │
00:24:27 verbose #48410 > │ and closure6 () struct (v0 : int32, v1 : int64) : int64 = │
00:24:27 verbose #48411 > │ v1 │
00:24:27 verbose #48412 > │ and closure0 () () : unit = │
00:24:27 verbose #48413 > │ let v0 : (unit -> unit) = closure0() │
00:24:27 verbose #48414 > │ let v1 : string = nameof v0 │
00:24:27 verbose #48415 > │ let v2 : string = "" │
00:24:27 verbose #48416 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48417 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48418 > │ let v3 : string = $"Test: {v1}" │
00:24:27 verbose #48419 > │ System.Console.WriteLine v3 │
00:24:27 verbose #48420 > │ let v4 : string = "a" │
00:24:27 verbose #48421 > │ let v5 : string = "b" │
00:24:27 verbose #48422 > │ let v6 : UH0 = UH0_0 │
00:24:27 verbose #48423 > │ let v7 : UH0 = UH0_1(v5, v5, v5, v6) │
00:24:27 verbose #48424 > │ let v8 : UH0 = UH0_1(v4, v4, v4, v7) │
00:24:27 verbose #48425 > │ let v9 : (struct (string * string * string) []) = method1(v8) │
00:24:27 verbose #48426 > │ let v10 : uint64 = System.Convert.ToUInt64 v9.Length │
00:24:27 verbose #48427 > │ let v11 : (struct (string * string * string * (int64 [])) []) = │
00:24:27 verbose #48428 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:24:27 verbose #48429 > │ (System.Convert.ToInt32(v10)) │
00:24:27 verbose #48430 > │ let v12 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48431 > │ while method4(v10, v12) do │
00:24:27 verbose #48432 > │ let v14 : uint64 = v12.l0 │
00:24:27 verbose #48433 > │ let struct (v15 : string, v16 : string, v17 : string) = v9.[int v14] │
00:24:27 verbose #48434 > │ let v18 : string = $"%A{struct (v15, v16)}" │
00:24:27 verbose #48435 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48436 > │ let v19 : string = $"Solution: {v18} " │
00:24:27 verbose #48437 > │ System.Console.WriteLine v19 │
00:24:27 verbose #48438 > │ let v20 : int32 = 0 │
00:24:27 verbose #48439 > │ let v21 : string = "A" │
00:24:27 verbose #48440 > │ let v22 : (struct (string * string) -> string) = closure1() │
00:24:27 verbose #48441 > │ let v23 : int32 = 1 │
00:24:27 verbose #48442 > │ let v24 : string = "B" │
00:24:27 verbose #48443 > │ let v25 : (struct (string * string) -> string) = closure2() │
00:24:27 verbose #48444 > │ let v26 : UH1 = UH1_0 │
00:24:27 verbose #48445 > │ let v27 : UH1 = UH1_1(v23, v24, v25, v26) │
00:24:27 verbose #48446 > │ let v28 : UH1 = UH1_1(v20, v21, v22, v27) │
00:24:27 verbose #48447 > │ let v29 : (struct (int32 * string * (struct (string * string) -> │
00:24:27 verbose #48448 > │ string)) []) = method5(v28) │
00:24:27 verbose #48449 > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:24:27 verbose #48450 > │ let v31 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:24:27 verbose #48451 > │ (string * int64)> (System.Convert.ToInt32(v30)) │
00:24:27 verbose #48452 > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48453 > │ while method4(v30, v32) do │
00:24:27 verbose #48454 > │ let v34 : uint64 = v32.l0 │
00:24:27 verbose #48455 > │ let struct (v35 : int32, v36 : string, v37 : (struct (string * │
00:24:27 verbose #48456 > │ string) -> string)) = v29.[int v34] │
00:24:27 verbose #48457 > │ let v38 : unit option = None │
00:24:27 verbose #48458 > │ let v39 : bool = true in let mutable _v38 = v38 │
00:24:27 verbose #48459 > │ │
00:24:27 verbose #48460 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:27 verbose #48461 > │ │
00:24:27 verbose #48462 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:27 verbose #48463 > │ () │
00:24:27 verbose #48464 > │ #endif │
00:24:27 verbose #48465 > │ │
00:24:27 verbose #48466 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:27 verbose #48467 > │ () │
00:24:27 verbose #48468 > │ #endif │
00:24:27 verbose #48469 > │ │
00:24:27 verbose #48470 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:27 verbose #48471 > │ () │
00:24:27 verbose #48472 > │ #endif │
00:24:27 verbose #48473 > │ │
00:24:27 verbose #48474 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:27 verbose #48475 > │ () │
00:24:27 verbose #48476 > │ #endif │
00:24:27 verbose #48477 > │ │
00:24:27 verbose #48478 > │ #if FABLE_COMPILER_PYTHON │
00:24:27 verbose #48479 > │ () │
00:24:27 verbose #48480 > │ #endif │
00:24:27 verbose #48481 > │ │
00:24:27 verbose #48482 > │ #else │
00:24:27 verbose #48483 > │ System.GC.Collect () │
00:24:27 verbose #48484 > │ () │
00:24:27 verbose #48485 > │ #endif │
00:24:27 verbose #48486 > │ |> fun x -> _v38 <- Some x │
00:24:27 verbose #48487 > │ _v38.Value │
00:24:27 verbose #48488 > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:24:27 verbose #48489 > │ System.Diagnostics.Stopwatch │
00:24:27 verbose #48490 > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:24:27 verbose #48491 > │ v41.Start () │
00:24:27 verbose #48492 > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:24:27 verbose #48493 > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:24:27 verbose #48494 > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:24:27 verbose #48495 > │ while method8(v44) do │
00:24:27 verbose #48496 > │ let v46 : int32 = v44.l0 │
00:24:27 verbose #48497 > │ v43.[int v46] <- v46 │
00:24:27 verbose #48498 > │ let v47 : int32 = v46 + 1 │
00:24:27 verbose #48499 > │ v44.l0 <- v47 │
00:24:27 verbose #48500 > │ () │
00:24:27 verbose #48501 > │ let v48 : ((int32 -> string) -> ((int32 []) -> (string []))) = │
00:24:27 verbose #48502 > │ Array.Parallel.map │
00:24:27 verbose #48503 > │ let v49 : (int32 -> string) = closure3(v15, v16, v37) │
00:24:27 verbose #48504 > │ let v50 : ((int32 []) -> (string [])) = v48 v49 │
00:24:27 verbose #48505 > │ let v51 : (string []) = v50 v43 │
00:24:27 verbose #48506 > │ let v52 : int32 = v51.Length │
00:24:27 verbose #48507 > │ let v53 : int32 = v52 - 1 │
00:24:27 verbose #48508 > │ let v54 : string = v51.[int v53] │
00:24:27 verbose #48509 > │ let v55 : int64 = v41.ElapsedMilliseconds │
00:24:27 verbose #48510 > │ let v56 : int64 = v55 - v42 │
00:24:27 verbose #48511 > │ let v57 : string = $"Test case {v35 + 1}. {v36}. Time: {v56} " │
00:24:27 verbose #48512 > │ System.Console.WriteLine v57 │
00:24:27 verbose #48513 > │ v31.[int v34] <- struct (v54, v56) │
00:24:27 verbose #48514 > │ let v58 : uint64 = v34 + 1UL │
00:24:27 verbose #48515 > │ v32.l0 <- v58 │
00:24:27 verbose #48516 > │ () │
00:24:27 verbose #48517 > │ let v59 : uint64 = System.Convert.ToUInt64 v31.Length │
00:24:27 verbose #48518 > │ let v60 : (string []) = Array.zeroCreate<string> │
00:24:27 verbose #48519 > │ (System.Convert.ToInt32(v59)) │
00:24:27 verbose #48520 > │ let v61 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48521 > │ while method4(v59, v61) do │
00:24:27 verbose #48522 > │ let v63 : uint64 = v61.l0 │
00:24:27 verbose #48523 > │ let struct (v64 : string, v65 : int64) = v31.[int v63] │
00:24:27 verbose #48524 > │ v60.[int v63] <- v64 │
00:24:27 verbose #48525 > │ let v66 : uint64 = v63 + 1UL │
00:24:27 verbose #48526 > │ v61.l0 <- v66 │
00:24:27 verbose #48527 > │ () │
00:24:27 verbose #48528 > │ let v67 : uint64 = System.Convert.ToUInt64 v60.Length │
00:24:27 verbose #48529 > │ let v68 : bool = v67 <= 1UL │
00:24:27 verbose #48530 > │ if v68 then │
00:24:27 verbose #48531 > │ () │
00:24:27 verbose #48532 > │ else │
00:24:27 verbose #48533 > │ let v69 : string = v60.[int 0UL] │
00:24:27 verbose #48534 > │ let v70 : uint64 = 0UL │
00:24:27 verbose #48535 > │ let v71 : bool = method9(v69, v60, v70) │
00:24:27 verbose #48536 > │ if v71 then │
00:24:27 verbose #48537 > │ () │
00:24:27 verbose #48538 > │ else │
00:24:27 verbose #48539 > │ let v72 : string = $"Challenge error: {v60}" │
00:24:27 verbose #48540 > │ failwith<unit> v72 │
00:24:27 verbose #48541 > │ let v73 : string = $"%A{v17}" │
00:24:27 verbose #48542 > │ let v74 : (string []) = Array.zeroCreate<string> │
00:24:27 verbose #48543 > │ (System.Convert.ToInt32(v59)) │
00:24:27 verbose #48544 > │ let v75 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48545 > │ while method4(v59, v75) do │
00:24:27 verbose #48546 > │ let v77 : uint64 = v75.l0 │
00:24:27 verbose #48547 > │ let struct (v78 : string, v79 : int64) = v31.[int v77] │
00:24:27 verbose #48548 > │ v74.[int v77] <- v78 │
00:24:27 verbose #48549 > │ let v80 : uint64 = v77 + 1UL │
00:24:27 verbose #48550 > │ v75.l0 <- v80 │
00:24:27 verbose #48551 > │ () │
00:24:27 verbose #48552 > │ let v81 : string = v74.[int 0UL] │
00:24:27 verbose #48553 > │ let v82 : string = $"%A{v81}" │
00:24:27 verbose #48554 > │ let v83 : (int64 []) = Array.zeroCreate<int64> │
00:24:27 verbose #48555 > │ (System.Convert.ToInt32(v59)) │
00:24:27 verbose #48556 > │ let v84 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48557 > │ while method4(v59, v84) do │
00:24:27 verbose #48558 > │ let v86 : uint64 = v84.l0 │
00:24:27 verbose #48559 > │ let struct (v87 : string, v88 : int64) = v31.[int v86] │
00:24:27 verbose #48560 > │ v83.[int v86] <- v88 │
00:24:27 verbose #48561 > │ let v89 : uint64 = v86 + 1UL │
00:24:27 verbose #48562 > │ v84.l0 <- v89 │
00:24:27 verbose #48563 > │ () │
00:24:27 verbose #48564 > │ v11.[int v14] <- struct (v73, v18, v82, v83) │
00:24:27 verbose #48565 > │ let v90 : uint64 = v14 + 1UL │
00:24:27 verbose #48566 > │ v12.l0 <- v90 │
00:24:27 verbose #48567 > │ () │
00:24:27 verbose #48568 > │ let v91 : uint64 = System.Convert.ToUInt64 v11.Length │
00:24:27 verbose #48569 > │ let v92 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:24:27 verbose #48570 > │ (System.Convert.ToInt32(v91)) │
00:24:27 verbose #48571 > │ let v93 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48572 > │ while method4(v91, v93) do │
00:24:27 verbose #48573 > │ let v95 : uint64 = v93.l0 │
00:24:27 verbose #48574 > │ let struct (v96 : string, v97 : string, v98 : string, v99 : (int64 [ │
00:24:27 verbose #48575 > │ ])) = v11.[int v95] │
00:24:27 verbose #48576 > │ let v100 : uint64 = System.Convert.ToUInt64 v99.Length │
00:24:27 verbose #48577 > │ let v101 : UH3 = UH3_0 │
00:24:27 verbose #48578 > │ let v102 : Mut2 = {l0 = 0UL; l1 = v101; l2 = 0L} : Mut2 │
00:24:27 verbose #48579 > │ while method10(v100, v102) do │
00:24:27 verbose #48580 > │ let v104 : uint64 = v102.l0 │
00:24:27 verbose #48581 > │ let struct (v105 : UH3, v106 : int64) = v102.l1, v102.l2 │
00:24:27 verbose #48582 > │ let v107 : int64 = v99.[int v104] │
00:24:27 verbose #48583 > │ let v108 : int64 = v106 + 1L │
00:24:27 verbose #48584 > │ let v109 : uint64 = v104 + 1UL │
00:24:27 verbose #48585 > │ let v110 : UH3 = UH3_1(v106, v107, v105) │
00:24:27 verbose #48586 > │ v102.l0 <- v109 │
00:24:27 verbose #48587 > │ v102.l1 <- v110 │
00:24:27 verbose #48588 > │ v102.l2 <- v108 │
00:24:27 verbose #48589 > │ () │
00:24:27 verbose #48590 > │ let struct (v111 : UH3, v112 : int64) = v102.l1, v102.l2 │
00:24:27 verbose #48591 > │ let v113 : UH3 = UH3_0 │
00:24:27 verbose #48592 > │ let v114 : UH3 = method11(v111, v113) │
00:24:27 verbose #48593 > │ let v115 : (struct (int64 * int64) []) = method12(v114) │
00:24:27 verbose #48594 > │ let v116 : int32 = v115.Length │
00:24:27 verbose #48595 > │ let v117 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:24:27 verbose #48596 > │ (int64 * int64)> (v116) │
00:24:27 verbose #48597 > │ let v118 : Mut1 = {l0 = 0} : Mut1 │
00:24:27 verbose #48598 > │ while method15(v116, v118) do │
00:24:27 verbose #48599 > │ let v120 : int32 = v118.l0 │
00:24:27 verbose #48600 > │ let struct (v121 : int64, v122 : int64) = v115.[int v120] │
00:24:27 verbose #48601 > │ let v123 : int64 = v121 + 1L │
00:24:27 verbose #48602 > │ v117.[int v120] <- struct (v123, v122) │
00:24:27 verbose #48603 > │ let v124 : int32 = v120 + 1 │
00:24:27 verbose #48604 > │ v118.l0 <- v124 │
00:24:27 verbose #48605 > │ () │
00:24:27 verbose #48606 > │ let v125 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:24:27 verbose #48607 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:24:27 verbose #48608 > │ let v126 : (struct (int64 * int64) -> int64) = closure4() │
00:24:27 verbose #48609 > │ let v127 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:24:27 verbose #48610 > │ ])) = v125 v126 │
00:24:27 verbose #48611 > │ let v128 : (struct (int64 * int64) []) = v127 v117 │
00:24:27 verbose #48612 > │ let struct (v129 : int64, v130 : int64) = v128.[int 0] │
00:24:27 verbose #48613 > │ let v131 : string = $"%A{struct (v129, v130)}" │
00:24:27 verbose #48614 > │ let v132 : bool = v96 = v98 │
00:24:27 verbose #48615 > │ let v137 : US0 = │
00:24:27 verbose #48616 > │ if v132 then │
00:24:27 verbose #48617 > │ let v133 : System.ConsoleColor = │
00:24:27 verbose #48618 > │ System.ConsoleColor.DarkGreen │
00:24:27 verbose #48619 > │ US0_0(v133) │
00:24:27 verbose #48620 > │ else │
00:24:27 verbose #48621 > │ let v135 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:24:27 verbose #48622 > │ US0_0(v135) │
00:24:27 verbose #48623 > │ let v138 : UH2 = UH2_0 │
00:24:27 verbose #48624 > │ let v139 : UH2 = UH2_1(v131, v138) │
00:24:27 verbose #48625 > │ let v140 : UH2 = UH2_1(v98, v139) │
00:24:27 verbose #48626 > │ let v141 : UH2 = UH2_1(v96, v140) │
00:24:27 verbose #48627 > │ let v142 : UH2 = UH2_1(v97, v141) │
00:24:27 verbose #48628 > │ v92.[int v95] <- struct (v142, v137) │
00:24:27 verbose #48629 > │ let v143 : uint64 = v95 + 1UL │
00:24:27 verbose #48630 > │ v93.l0 <- v143 │
00:24:27 verbose #48631 > │ () │
00:24:27 verbose #48632 > │ let v144 : string = "Input" │
00:24:27 verbose #48633 > │ let v145 : string = "Expected" │
00:24:27 verbose #48634 > │ let v146 : string = "Result" │
00:24:27 verbose #48635 > │ let v147 : string = "Best" │
00:24:27 verbose #48636 > │ let v148 : UH2 = UH2_0 │
00:24:27 verbose #48637 > │ let v149 : UH2 = UH2_1(v147, v148) │
00:24:27 verbose #48638 > │ let v150 : UH2 = UH2_1(v146, v149) │
00:24:27 verbose #48639 > │ let v151 : UH2 = UH2_1(v145, v150) │
00:24:27 verbose #48640 > │ let v152 : UH2 = UH2_1(v144, v151) │
00:24:27 verbose #48641 > │ let v153 : US0 = US0_1 │
00:24:27 verbose #48642 > │ let v154 : string = "---" │
00:24:27 verbose #48643 > │ let v155 : UH2 = UH2_0 │
00:24:27 verbose #48644 > │ let v156 : UH2 = UH2_1(v154, v155) │
00:24:27 verbose #48645 > │ let v157 : UH2 = UH2_1(v154, v156) │
00:24:27 verbose #48646 > │ let v158 : UH2 = UH2_1(v154, v157) │
00:24:27 verbose #48647 > │ let v159 : UH2 = UH2_1(v154, v158) │
00:24:27 verbose #48648 > │ let v160 : US0 = US0_1 │
00:24:27 verbose #48649 > │ let v161 : UH4 = UH4_0 │
00:24:27 verbose #48650 > │ let v162 : UH4 = UH4_1(v159, v160, v161) │
00:24:27 verbose #48651 > │ let v163 : UH4 = UH4_1(v152, v153, v162) │
00:24:27 verbose #48652 > │ let v164 : (struct (UH2 * US0) []) = method16(v163) │
00:24:27 verbose #48653 > │ let v165 : uint64 = System.Convert.ToUInt64 v164.Length │
00:24:27 verbose #48654 > │ let v166 : uint64 = System.Convert.ToUInt64 v92.Length │
00:24:27 verbose #48655 > │ let v167 : uint64 = v165 + v166 │
00:24:27 verbose #48656 > │ let v168 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:24:27 verbose #48657 > │ US0)> (System.Convert.ToInt32(v167)) │
00:24:27 verbose #48658 > │ let v169 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48659 > │ while method4(v167, v169) do │
00:24:27 verbose #48660 > │ let v171 : uint64 = v169.l0 │
00:24:27 verbose #48661 > │ let v172 : bool = v171 < v165 │
00:24:27 verbose #48662 > │ let struct (v178 : UH2, v179 : US0) = │
00:24:27 verbose #48663 > │ if v172 then │
00:24:27 verbose #48664 > │ let struct (v173 : UH2, v174 : US0) = v164.[int v171] │
00:24:27 verbose #48665 > │ struct (v173, v174) │
00:24:27 verbose #48666 > │ else │
00:24:27 verbose #48667 > │ let v175 : uint64 = v171 - v165 │
00:24:27 verbose #48668 > │ let struct (v176 : UH2, v177 : US0) = v92.[int v175] │
00:24:27 verbose #48669 > │ struct (v176, v177) │
00:24:27 verbose #48670 > │ v168.[int v171] <- struct (v178, v179) │
00:24:27 verbose #48671 > │ let v180 : uint64 = v171 + 1UL │
00:24:27 verbose #48672 > │ v169.l0 <- v180 │
00:24:27 verbose #48673 > │ () │
00:24:27 verbose #48674 > │ let v181 : uint64 = System.Convert.ToUInt64 v168.Length │
00:24:27 verbose #48675 > │ let v182 : ((string []) []) = Array.zeroCreate<(string [])> │
00:24:27 verbose #48676 > │ (System.Convert.ToInt32(v181)) │
00:24:27 verbose #48677 > │ let v183 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48678 > │ while method4(v181, v183) do │
00:24:27 verbose #48679 > │ let v185 : uint64 = v183.l0 │
00:24:27 verbose #48680 > │ let struct (v186 : UH2, v187 : US0) = v168.[int v185] │
00:24:27 verbose #48681 > │ let v188 : (string []) = method19(v186) │
00:24:27 verbose #48682 > │ v182.[int v185] <- v188 │
00:24:27 verbose #48683 > │ let v189 : uint64 = v185 + 1UL │
00:24:27 verbose #48684 > │ v183.l0 <- v189 │
00:24:27 verbose #48685 > │ () │
00:24:27 verbose #48686 > │ let v190 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:24:27 verbose #48687 > │ let v191 : ((string []) []) = v190 v182 │
00:24:27 verbose #48688 > │ let v192 : uint64 = System.Convert.ToUInt64 v191.Length │
00:24:27 verbose #48689 > │ let v193 : (int64 []) = Array.zeroCreate<int64> │
00:24:27 verbose #48690 > │ (System.Convert.ToInt32(v192)) │
00:24:27 verbose #48691 > │ let v194 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48692 > │ while method4(v192, v194) do │
00:24:27 verbose #48693 > │ let v196 : uint64 = v194.l0 │
00:24:27 verbose #48694 > │ let v197 : (string []) = v191.[int v196] │
00:24:27 verbose #48695 > │ let v198 : uint64 = System.Convert.ToUInt64 v197.Length │
00:24:27 verbose #48696 > │ let v199 : (int64 []) = Array.zeroCreate<int64> │
00:24:27 verbose #48697 > │ (System.Convert.ToInt32(v198)) │
00:24:27 verbose #48698 > │ let v200 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48699 > │ while method4(v198, v200) do │
00:24:27 verbose #48700 > │ let v202 : uint64 = v200.l0 │
00:24:27 verbose #48701 > │ let v203 : string = v197.[int v202] │
00:24:27 verbose #48702 > │ let v204 : int64 = System.Convert.ToInt64 v203.Length │
00:24:27 verbose #48703 > │ v199.[int v202] <- v204 │
00:24:27 verbose #48704 > │ let v205 : uint64 = v202 + 1UL │
00:24:27 verbose #48705 > │ v200.l0 <- v205 │
00:24:27 verbose #48706 > │ () │
00:24:27 verbose #48707 > │ let v206 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:24:27 verbose #48708 > │ let v207 : (int64 []) = v206 v199 │
00:24:27 verbose #48709 > │ let v208 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:24:27 verbose #48710 > │ let v209 : ((int64 []) -> int64 option) = v208 0 │
00:24:27 verbose #48711 > │ let v210 : int64 option = v209 v207 │
00:24:27 verbose #48712 > │ let v211 : (int64 -> US1) = method22() │
00:24:27 verbose #48713 > │ let v212 : US1 = US1_1 │
00:24:27 verbose #48714 > │ let v213 : US1 = v210 |> Option.map v211 |> Option.defaultValue v212 │
00:24:27 verbose #48715 > │ let v216 : int64 = │
00:24:27 verbose #48716 > │ match v213 with │
00:24:27 verbose #48717 > │ | US1_1 -> (* None *) │
00:24:27 verbose #48718 > │ 0L │
00:24:27 verbose #48719 > │ | US1_0(v214) -> (* Some *) │
00:24:27 verbose #48720 > │ v214 │
00:24:27 verbose #48721 > │ v193.[int v196] <- v216 │
00:24:27 verbose #48722 > │ let v217 : uint64 = v196 + 1UL │
00:24:27 verbose #48723 > │ v194.l0 <- v217 │
00:24:27 verbose #48724 > │ () │
00:24:27 verbose #48725 > │ let v218 : uint64 = System.Convert.ToUInt64 v193.Length │
00:24:27 verbose #48726 > │ let v219 : UH5 = UH5_0 │
00:24:27 verbose #48727 > │ let v220 : Mut3 = {l0 = 0UL; l1 = v219; l2 = 0} : Mut3 │
00:24:27 verbose #48728 > │ while method23(v218, v220) do │
00:24:27 verbose #48729 > │ let v222 : uint64 = v220.l0 │
00:24:27 verbose #48730 > │ let struct (v223 : UH5, v224 : int32) = v220.l1, v220.l2 │
00:24:27 verbose #48731 > │ let v225 : int64 = v193.[int v222] │
00:24:27 verbose #48732 > │ let v226 : int32 = v224 + 1 │
00:24:27 verbose #48733 > │ let v227 : uint64 = v222 + 1UL │
00:24:27 verbose #48734 > │ let v228 : UH5 = UH5_1(v224, v225, v223) │
00:24:27 verbose #48735 > │ v220.l0 <- v227 │
00:24:27 verbose #48736 > │ v220.l1 <- v228 │
00:24:27 verbose #48737 > │ v220.l2 <- v226 │
00:24:27 verbose #48738 > │ () │
00:24:27 verbose #48739 > │ let struct (v229 : UH5, v230 : int32) = v220.l1, v220.l2 │
00:24:27 verbose #48740 > │ let v231 : UH5 = UH5_0 │
00:24:27 verbose #48741 > │ let v232 : UH5 = method24(v229, v231) │
00:24:27 verbose #48742 > │ let v233 : (struct (int32 * int64) []) = method25(v232) │
00:24:27 verbose #48743 > │ let v234 : Map<int32, int64> = v233 |> Array.map (fun (struct (a, b)) -> │
00:24:27 verbose #48744 > │ a, b) |> Map.ofArray │
00:24:27 verbose #48745 > │ let v235 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:24:27 verbose #48746 > │ ((string []) * US0)> (System.Convert.ToInt32(v181)) │
00:24:27 verbose #48747 > │ let v236 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48748 > │ while method4(v181, v236) do │
00:24:27 verbose #48749 > │ let v238 : uint64 = v236.l0 │
00:24:27 verbose #48750 > │ let struct (v239 : UH2, v240 : US0) = v168.[int v238] │
00:24:27 verbose #48751 > │ let v241 : UH6 = UH6_0 │
00:24:27 verbose #48752 > │ let v242 : int32 = 0 │
00:24:27 verbose #48753 > │ let struct (v243 : UH6, v244 : int32) = method28(v239, v241, v242) │
00:24:27 verbose #48754 > │ let v245 : UH6 = UH6_0 │
00:24:27 verbose #48755 > │ let v246 : UH6 = method29(v243, v245) │
00:24:27 verbose #48756 > │ let v247 : UH2 = UH2_0 │
00:24:27 verbose #48757 > │ let v248 : UH2 = method30(v234, v246, v247) │
00:24:27 verbose #48758 > │ let v249 : (string []) = method31(v248) │
00:24:27 verbose #48759 > │ v235.[int v238] <- struct (v249, v240) │
00:24:27 verbose #48760 > │ let v250 : uint64 = v238 + 1UL │
00:24:27 verbose #48761 > │ v236.l0 <- v250 │
00:24:27 verbose #48762 > │ () │
00:24:27 verbose #48763 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48764 > │ let v251 : uint64 = System.Convert.ToUInt64 v235.Length │
00:24:27 verbose #48765 > │ let v252 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48766 > │ while method4(v251, v252) do │
00:24:27 verbose #48767 > │ let v254 : uint64 = v252.l0 │
00:24:27 verbose #48768 > │ let struct (v255 : (string []), v256 : US0) = v235.[int v254] │
00:24:27 verbose #48769 > │ match v256 with │
00:24:27 verbose #48770 > │ | US0_1 -> (* None *) │
00:24:27 verbose #48771 > │ let v260 : unit option = None │
00:24:27 verbose #48772 > │ let v261 : bool = true in let mutable _v260 = v260 │
00:24:27 verbose #48773 > │ │
00:24:27 verbose #48774 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:27 verbose #48775 > │ │
00:24:27 verbose #48776 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:27 verbose #48777 > │ () │
00:24:27 verbose #48778 > │ #endif │
00:24:27 verbose #48779 > │ │
00:24:27 verbose #48780 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:27 verbose #48781 > │ () │
00:24:27 verbose #48782 > │ #endif │
00:24:27 verbose #48783 > │ │
00:24:27 verbose #48784 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:27 verbose #48785 > │ () │
00:24:27 verbose #48786 > │ #endif │
00:24:27 verbose #48787 > │ │
00:24:27 verbose #48788 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:27 verbose #48789 > │ () │
00:24:27 verbose #48790 > │ #endif │
00:24:27 verbose #48791 > │ │
00:24:27 verbose #48792 > │ #if FABLE_COMPILER_PYTHON │
00:24:27 verbose #48793 > │ () │
00:24:27 verbose #48794 > │ #endif │
00:24:27 verbose #48795 > │ │
00:24:27 verbose #48796 > │ #else │
00:24:27 verbose #48797 > │ System.Console.ResetColor () │
00:24:27 verbose #48798 > │ () │
00:24:27 verbose #48799 > │ #endif │
00:24:27 verbose #48800 > │ |> fun x -> _v260 <- Some x │
00:24:27 verbose #48801 > │ _v260.Value │
00:24:27 verbose #48802 > │ () │
00:24:27 verbose #48803 > │ | US0_0(v257) -> (* Some *) │
00:24:27 verbose #48804 > │ let v258 : unit option = None │
00:24:27 verbose #48805 > │ let v259 : bool = true in let mutable _v258 = v258 │
00:24:27 verbose #48806 > │ │
00:24:27 verbose #48807 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:27 verbose #48808 > │ │
00:24:27 verbose #48809 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:27 verbose #48810 > │ () │
00:24:27 verbose #48811 > │ #endif │
00:24:27 verbose #48812 > │ │
00:24:27 verbose #48813 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:27 verbose #48814 > │ () │
00:24:27 verbose #48815 > │ #endif │
00:24:27 verbose #48816 > │ │
00:24:27 verbose #48817 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:27 verbose #48818 > │ () │
00:24:27 verbose #48819 > │ #endif │
00:24:27 verbose #48820 > │ │
00:24:27 verbose #48821 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:27 verbose #48822 > │ () │
00:24:27 verbose #48823 > │ #endif │
00:24:27 verbose #48824 > │ │
00:24:27 verbose #48825 > │ #if FABLE_COMPILER_PYTHON │
00:24:27 verbose #48826 > │ () │
00:24:27 verbose #48827 > │ #endif │
00:24:27 verbose #48828 > │ │
00:24:27 verbose #48829 > │ #else │
00:24:27 verbose #48830 > │ System.Console.ForegroundColor <- v257 │
00:24:27 verbose #48831 > │ () │
00:24:27 verbose #48832 > │ #endif │
00:24:27 verbose #48833 > │ |> fun x -> _v258 <- Some x │
00:24:27 verbose #48834 > │ _v258.Value │
00:24:27 verbose #48835 > │ () │
00:24:27 verbose #48836 > │ let v262 : string = "\t| " │
00:24:27 verbose #48837 > │ let v263 : string = System.String.Join (v262, v255) │
00:24:27 verbose #48838 > │ System.Console.WriteLine v263 │
00:24:27 verbose #48839 > │ let v264 : unit option = None │
00:24:27 verbose #48840 > │ let v265 : bool = true in let mutable _v264 = v264 │
00:24:27 verbose #48841 > │ │
00:24:27 verbose #48842 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:27 verbose #48843 > │ │
00:24:27 verbose #48844 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:27 verbose #48845 > │ () │
00:24:27 verbose #48846 > │ #endif │
00:24:27 verbose #48847 > │ │
00:24:27 verbose #48848 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:27 verbose #48849 > │ () │
00:24:27 verbose #48850 > │ #endif │
00:24:27 verbose #48851 > │ │
00:24:27 verbose #48852 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:27 verbose #48853 > │ () │
00:24:27 verbose #48854 > │ #endif │
00:24:27 verbose #48855 > │ │
00:24:27 verbose #48856 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:27 verbose #48857 > │ () │
00:24:27 verbose #48858 > │ #endif │
00:24:27 verbose #48859 > │ │
00:24:27 verbose #48860 > │ #if FABLE_COMPILER_PYTHON │
00:24:27 verbose #48861 > │ () │
00:24:27 verbose #48862 > │ #endif │
00:24:27 verbose #48863 > │ │
00:24:27 verbose #48864 > │ #else │
00:24:27 verbose #48865 > │ System.Console.ResetColor () │
00:24:27 verbose #48866 > │ () │
00:24:27 verbose #48867 > │ #endif │
00:24:27 verbose #48868 > │ |> fun x -> _v264 <- Some x │
00:24:27 verbose #48869 > │ _v264.Value │
00:24:27 verbose #48870 > │ let v266 : uint64 = v254 + 1UL │
00:24:27 verbose #48871 > │ v252.l0 <- v266 │
00:24:27 verbose #48872 > │ () │
00:24:27 verbose #48873 > │ let v267 : ((float []) []) = Array.zeroCreate<(float [])> │
00:24:27 verbose #48874 > │ (System.Convert.ToInt32(v91)) │
00:24:27 verbose #48875 > │ let v268 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48876 > │ while method4(v91, v268) do │
00:24:27 verbose #48877 > │ let v270 : uint64 = v268.l0 │
00:24:27 verbose #48878 > │ let struct (v271 : string, v272 : string, v273 : string, v274 : │
00:24:27 verbose #48879 > │ (int64 [])) = v11.[int v270] │
00:24:27 verbose #48880 > │ let v275 : (int64 -> float) = float │
00:24:27 verbose #48881 > │ let v276 : uint64 = System.Convert.ToUInt64 v274.Length │
00:24:27 verbose #48882 > │ let v277 : (float []) = Array.zeroCreate<float> │
00:24:27 verbose #48883 > │ (System.Convert.ToInt32(v276)) │
00:24:27 verbose #48884 > │ let v278 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48885 > │ while method4(v276, v278) do │
00:24:27 verbose #48886 > │ let v280 : uint64 = v278.l0 │
00:24:27 verbose #48887 > │ let v281 : int64 = v274.[int v280] │
00:24:27 verbose #48888 > │ let v282 : float = v275 v281 │
00:24:27 verbose #48889 > │ v277.[int v280] <- v282 │
00:24:27 verbose #48890 > │ let v283 : uint64 = v280 + 1UL │
00:24:27 verbose #48891 > │ v278.l0 <- v283 │
00:24:27 verbose #48892 > │ () │
00:24:27 verbose #48893 > │ v267.[int v270] <- v277 │
00:24:27 verbose #48894 > │ let v284 : uint64 = v270 + 1UL │
00:24:27 verbose #48895 > │ v268.l0 <- v284 │
00:24:27 verbose #48896 > │ () │
00:24:27 verbose #48897 > │ let v285 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:24:27 verbose #48898 > │ let v286 : ((float []) []) = v285 v267 │
00:24:27 verbose #48899 > │ let v287 : uint64 = System.Convert.ToUInt64 v286.Length │
00:24:27 verbose #48900 > │ let v288 : (float []) = Array.zeroCreate<float> │
00:24:27 verbose #48901 > │ (System.Convert.ToInt32(v287)) │
00:24:27 verbose #48902 > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48903 > │ while method4(v287, v289) do │
00:24:27 verbose #48904 > │ let v291 : uint64 = v289.l0 │
00:24:27 verbose #48905 > │ let v292 : (float []) = v286.[int v291] │
00:24:27 verbose #48906 > │ let v293 : ((float []) -> float) = Array.average │
00:24:27 verbose #48907 > │ let v294 : float = v293 v292 │
00:24:27 verbose #48908 > │ v288.[int v291] <- v294 │
00:24:27 verbose #48909 > │ let v295 : uint64 = v291 + 1UL │
00:24:27 verbose #48910 > │ v289.l0 <- v295 │
00:24:27 verbose #48911 > │ () │
00:24:27 verbose #48912 > │ let v296 : (float -> int64) = int64 │
00:24:27 verbose #48913 > │ let v297 : uint64 = System.Convert.ToUInt64 v288.Length │
00:24:27 verbose #48914 > │ let v298 : (int64 []) = Array.zeroCreate<int64> │
00:24:27 verbose #48915 > │ (System.Convert.ToInt32(v297)) │
00:24:27 verbose #48916 > │ let v299 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48917 > │ while method4(v297, v299) do │
00:24:27 verbose #48918 > │ let v301 : uint64 = v299.l0 │
00:24:27 verbose #48919 > │ let v302 : float = v288.[int v301] │
00:24:27 verbose #48920 > │ let v303 : int64 = v296 v302 │
00:24:27 verbose #48921 > │ v298.[int v301] <- v303 │
00:24:27 verbose #48922 > │ let v304 : uint64 = v301 + 1UL │
00:24:27 verbose #48923 > │ v299.l0 <- v304 │
00:24:27 verbose #48924 > │ () │
00:24:27 verbose #48925 > │ let v305 : uint64 = System.Convert.ToUInt64 v298.Length │
00:24:27 verbose #48926 > │ let v306 : UH5 = UH5_0 │
00:24:27 verbose #48927 > │ let v307 : Mut3 = {l0 = 0UL; l1 = v306; l2 = 0} : Mut3 │
00:24:27 verbose #48928 > │ while method23(v305, v307) do │
00:24:27 verbose #48929 > │ let v309 : uint64 = v307.l0 │
00:24:27 verbose #48930 > │ let struct (v310 : UH5, v311 : int32) = v307.l1, v307.l2 │
00:24:27 verbose #48931 > │ let v312 : int64 = v298.[int v309] │
00:24:27 verbose #48932 > │ let v313 : int32 = v311 + 1 │
00:24:27 verbose #48933 > │ let v314 : uint64 = v309 + 1UL │
00:24:27 verbose #48934 > │ let v315 : UH5 = UH5_1(v311, v312, v310) │
00:24:27 verbose #48935 > │ v307.l0 <- v314 │
00:24:27 verbose #48936 > │ v307.l1 <- v315 │
00:24:27 verbose #48937 > │ v307.l2 <- v313 │
00:24:27 verbose #48938 > │ () │
00:24:27 verbose #48939 > │ let struct (v316 : UH5, v317 : int32) = v307.l1, v307.l2 │
00:24:27 verbose #48940 > │ let v318 : UH5 = UH5_0 │
00:24:27 verbose #48941 > │ let v319 : UH5 = method24(v316, v318) │
00:24:27 verbose #48942 > │ let v320 : (struct (int32 * int64) []) = method34(v319) │
00:24:27 verbose #48943 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48944 > │ let v321 : string = "Average Ranking " │
00:24:27 verbose #48945 > │ System.Console.WriteLine v321 │
00:24:27 verbose #48946 > │ let v322 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:24:27 verbose #48947 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:24:27 verbose #48948 > │ let v323 : (struct (int32 * int64) -> int64) = closure6() │
00:24:27 verbose #48949 > │ let v324 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:24:27 verbose #48950 > │ = v322 v323 │
00:24:27 verbose #48951 > │ let v325 : (struct (int32 * int64) []) = v324 v320 │
00:24:27 verbose #48952 > │ let v326 : uint64 = System.Convert.ToUInt64 v325.Length │
00:24:27 verbose #48953 > │ let v327 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48954 > │ while method4(v326, v327) do │
00:24:27 verbose #48955 > │ let v329 : uint64 = v327.l0 │
00:24:27 verbose #48956 > │ let struct (v330 : int32, v331 : int64) = v325.[int v329] │
00:24:27 verbose #48957 > │ let v332 : string = $"Test case %d{v330 + 1}. Average Time: %A{v331} │
00:24:27 verbose #48958 > │ " │
00:24:27 verbose #48959 > │ System.Console.WriteLine v332 │
00:24:27 verbose #48960 > │ let v333 : uint64 = v329 + 1UL │
00:24:27 verbose #48961 > │ v327.l0 <- v333 │
00:24:27 verbose #48962 > │ () │
00:24:27 verbose #48963 > │ () │
00:24:27 verbose #48964 > │ and method0 () : unit = │
00:24:27 verbose #48965 > │ let v0 : (unit -> unit) = closure0() │
00:24:27 verbose #48966 > │ let v1 : string = nameof v0 │
00:24:27 verbose #48967 > │ let v2 : string = "" │
00:24:27 verbose #48968 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48969 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48970 > │ let v3 : string = $"Test: {v1}" │
00:24:27 verbose #48971 > │ System.Console.WriteLine v3 │
00:24:27 verbose #48972 > │ let v4 : string = "a" │
00:24:27 verbose #48973 > │ let v5 : string = "b" │
00:24:27 verbose #48974 > │ let v6 : UH0 = UH0_0 │
00:24:27 verbose #48975 > │ let v7 : UH0 = UH0_1(v5, v5, v5, v6) │
00:24:27 verbose #48976 > │ let v8 : UH0 = UH0_1(v4, v4, v4, v7) │
00:24:27 verbose #48977 > │ let v9 : (struct (string * string * string) []) = method1(v8) │
00:24:27 verbose #48978 > │ let v10 : uint64 = System.Convert.ToUInt64 v9.Length │
00:24:27 verbose #48979 > │ let v11 : (struct (string * string * string * (int64 [])) []) = │
00:24:27 verbose #48980 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:24:27 verbose #48981 > │ (System.Convert.ToInt32(v10)) │
00:24:27 verbose #48982 > │ let v12 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #48983 > │ while method4(v10, v12) do │
00:24:27 verbose #48984 > │ let v14 : uint64 = v12.l0 │
00:24:27 verbose #48985 > │ let struct (v15 : string, v16 : string, v17 : string) = v9.[int v14] │
00:24:27 verbose #48986 > │ let v18 : string = $"%A{struct (v15, v16)}" │
00:24:27 verbose #48987 > │ System.Console.WriteLine v2 │
00:24:27 verbose #48988 > │ let v19 : string = $"Solution: {v18} " │
00:24:27 verbose #48989 > │ System.Console.WriteLine v19 │
00:24:27 verbose #48990 > │ let v20 : int32 = 0 │
00:24:27 verbose #48991 > │ let v21 : string = "A" │
00:24:27 verbose #48992 > │ let v22 : (struct (string * string) -> string) = closure1() │
00:24:27 verbose #48993 > │ let v23 : int32 = 1 │
00:24:27 verbose #48994 > │ let v24 : string = "B" │
00:24:27 verbose #48995 > │ let v25 : (struct (string * string) -> string) = closure2() │
00:24:27 verbose #48996 > │ let v26 : UH1 = UH1_0 │
00:24:27 verbose #48997 > │ let v27 : UH1 = UH1_1(v23, v24, v25, v26) │
00:24:27 verbose #48998 > │ let v28 : UH1 = UH1_1(v20, v21, v22, v27) │
00:24:27 verbose #48999 > │ let v29 : (struct (int32 * string * (struct (string * string) -> │
00:24:27 verbose #49000 > │ string)) []) = method5(v28) │
00:24:27 verbose #49001 > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:24:27 verbose #49002 > │ let v31 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:24:27 verbose #49003 > │ (string * int64)> (System.Convert.ToInt32(v30)) │
00:24:27 verbose #49004 > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:27 verbose #49005 > │ while method4(v30, v32) do │
00:24:27 verbose #49006 > │ let v34 : uint64 = v32.l0 │
00:24:27 verbose #49007 > │ let struct (v35 : int32, v36 : string, v37 : (struct (string * │
00:24:27 verbose #49008 > │ string) -> string)) = v29.[int v34] │
00:24:27 verbose #49009 > │ let v38 : unit option = None │
00:24:27 verbose #49010 > │ let v39 : bool = true in let mutable _v38 = v38 │
00:24:27 verbose #49011 > │ │
00:24:27 verbose #49012 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:27 verbose #49013 > │ │
00:24:27 verbose #49014 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:27 verbose #49015 > │ () │
00:24:27 verbose #49016 > │ #endif │
00:24:27 verbose #49017 > │ │
00:24:28 verbose #49018 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:28 verbose #49019 > │ () │
00:24:28 verbose #49020 > │ #endif │
00:24:28 verbose #49021 > │ │
00:24:28 verbose #49022 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:28 verbose #49023 > │ () │
00:24:28 verbose #49024 > │ #endif │
00:24:28 verbose #49025 > │ │
00:24:28 verbose #49026 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:28 verbose #49027 > │ () │
00:24:28 verbose #49028 > │ #endif │
00:24:28 verbose #49029 > │ │
00:24:28 verbose #49030 > │ #if FABLE_COMPILER_PYTHON │
00:24:28 verbose #49031 > │ () │
00:24:28 verbose #49032 > │ #endif │
00:24:28 verbose #49033 > │ │
00:24:28 verbose #49034 > │ #else │
00:24:28 verbose #49035 > │ System.GC.Collect () │
00:24:28 verbose #49036 > │ () │
00:24:28 verbose #49037 > │ #endif │
00:24:28 verbose #49038 > │ |> fun x -> _v38 <- Some x │
00:24:28 verbose #49039 > │ _v38.Value │
00:24:28 verbose #49040 > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:24:28 verbose #49041 > │ System.Diagnostics.Stopwatch │
00:24:28 verbose #49042 > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:24:28 verbose #49043 > │ v41.Start () │
00:24:28 verbose #49044 > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:24:28 verbose #49045 > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:24:28 verbose #49046 > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:24:28 verbose #49047 > │ while method8(v44) do │
00:24:28 verbose #49048 > │ let v46 : int32 = v44.l0 │
00:24:28 verbose #49049 > │ v43.[int v46] <- v46 │
00:24:28 verbose #49050 > │ let v47 : int32 = v46 + 1 │
00:24:28 verbose #49051 > │ v44.l0 <- v47 │
00:24:28 verbose #49052 > │ () │
00:24:28 verbose #49053 > │ let v48 : ((int32 -> string) -> ((int32 []) -> (string []))) = │
00:24:28 verbose #49054 > │ Array.Parallel.map │
00:24:28 verbose #49055 > │ let v49 : (int32 -> string) = closure3(v15, v16, v37) │
00:24:28 verbose #49056 > │ let v50 : ((int32 []) -> (string [])) = v48 v49 │
00:24:28 verbose #49057 > │ let v51 : (string []) = v50 v43 │
00:24:28 verbose #49058 > │ let v52 : int32 = v51.Length │
00:24:28 verbose #49059 > │ let v53 : int32 = v52 - 1 │
00:24:28 verbose #49060 > │ let v54 : string = v51.[int v53] │
00:24:28 verbose #49061 > │ let v55 : int64 = v41.ElapsedMilliseconds │
00:24:28 verbose #49062 > │ let v56 : int64 = v55 - v42 │
00:24:28 verbose #49063 > │ let v57 : string = $"Test case {v35 + 1}. {v36}. Time: {v56} " │
00:24:28 verbose #49064 > │ System.Console.WriteLine v57 │
00:24:28 verbose #49065 > │ v31.[int v34] <- struct (v54, v56) │
00:24:28 verbose #49066 > │ let v58 : uint64 = v34 + 1UL │
00:24:28 verbose #49067 > │ v32.l0 <- v58 │
00:24:28 verbose #49068 > │ () │
00:24:28 verbose #49069 > │ let v59 : uint64 = System.Convert.ToUInt64 v31.Length │
00:24:28 verbose #49070 > │ let v60 : (string []) = Array.zeroCreate<string> │
00:24:28 verbose #49071 > │ (System.Convert.ToInt32(v59)) │
00:24:28 verbose #49072 > │ let v61 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49073 > │ while method4(v59, v61) do │
00:24:28 verbose #49074 > │ let v63 : uint64 = v61.l0 │
00:24:28 verbose #49075 > │ let struct (v64 : string, v65 : int64) = v31.[int v63] │
00:24:28 verbose #49076 > │ v60.[int v63] <- v64 │
00:24:28 verbose #49077 > │ let v66 : uint64 = v63 + 1UL │
00:24:28 verbose #49078 > │ v61.l0 <- v66 │
00:24:28 verbose #49079 > │ () │
00:24:28 verbose #49080 > │ let v67 : uint64 = System.Convert.ToUInt64 v60.Length │
00:24:28 verbose #49081 > │ let v68 : bool = v67 <= 1UL │
00:24:28 verbose #49082 > │ if v68 then │
00:24:28 verbose #49083 > │ () │
00:24:28 verbose #49084 > │ else │
00:24:28 verbose #49085 > │ let v69 : string = v60.[int 0UL] │
00:24:28 verbose #49086 > │ let v70 : uint64 = 0UL │
00:24:28 verbose #49087 > │ let v71 : bool = method9(v69, v60, v70) │
00:24:28 verbose #49088 > │ if v71 then │
00:24:28 verbose #49089 > │ () │
00:24:28 verbose #49090 > │ else │
00:24:28 verbose #49091 > │ let v72 : string = $"Challenge error: {v60}" │
00:24:28 verbose #49092 > │ failwith<unit> v72 │
00:24:28 verbose #49093 > │ let v73 : string = $"%A{v17}" │
00:24:28 verbose #49094 > │ let v74 : (string []) = Array.zeroCreate<string> │
00:24:28 verbose #49095 > │ (System.Convert.ToInt32(v59)) │
00:24:28 verbose #49096 > │ let v75 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49097 > │ while method4(v59, v75) do │
00:24:28 verbose #49098 > │ let v77 : uint64 = v75.l0 │
00:24:28 verbose #49099 > │ let struct (v78 : string, v79 : int64) = v31.[int v77] │
00:24:28 verbose #49100 > │ v74.[int v77] <- v78 │
00:24:28 verbose #49101 > │ let v80 : uint64 = v77 + 1UL │
00:24:28 verbose #49102 > │ v75.l0 <- v80 │
00:24:28 verbose #49103 > │ () │
00:24:28 verbose #49104 > │ let v81 : string = v74.[int 0UL] │
00:24:28 verbose #49105 > │ let v82 : string = $"%A{v81}" │
00:24:28 verbose #49106 > │ let v83 : (int64 []) = Array.zeroCreate<int64> │
00:24:28 verbose #49107 > │ (System.Convert.ToInt32(v59)) │
00:24:28 verbose #49108 > │ let v84 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49109 > │ while method4(v59, v84) do │
00:24:28 verbose #49110 > │ let v86 : uint64 = v84.l0 │
00:24:28 verbose #49111 > │ let struct (v87 : string, v88 : int64) = v31.[int v86] │
00:24:28 verbose #49112 > │ v83.[int v86] <- v88 │
00:24:28 verbose #49113 > │ let v89 : uint64 = v86 + 1UL │
00:24:28 verbose #49114 > │ v84.l0 <- v89 │
00:24:28 verbose #49115 > │ () │
00:24:28 verbose #49116 > │ v11.[int v14] <- struct (v73, v18, v82, v83) │
00:24:28 verbose #49117 > │ let v90 : uint64 = v14 + 1UL │
00:24:28 verbose #49118 > │ v12.l0 <- v90 │
00:24:28 verbose #49119 > │ () │
00:24:28 verbose #49120 > │ let v91 : uint64 = System.Convert.ToUInt64 v11.Length │
00:24:28 verbose #49121 > │ let v92 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:24:28 verbose #49122 > │ (System.Convert.ToInt32(v91)) │
00:24:28 verbose #49123 > │ let v93 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49124 > │ while method4(v91, v93) do │
00:24:28 verbose #49125 > │ let v95 : uint64 = v93.l0 │
00:24:28 verbose #49126 > │ let struct (v96 : string, v97 : string, v98 : string, v99 : (int64 [ │
00:24:28 verbose #49127 > │ ])) = v11.[int v95] │
00:24:28 verbose #49128 > │ let v100 : uint64 = System.Convert.ToUInt64 v99.Length │
00:24:28 verbose #49129 > │ let v101 : UH3 = UH3_0 │
00:24:28 verbose #49130 > │ let v102 : Mut2 = {l0 = 0UL; l1 = v101; l2 = 0L} : Mut2 │
00:24:28 verbose #49131 > │ while method10(v100, v102) do │
00:24:28 verbose #49132 > │ let v104 : uint64 = v102.l0 │
00:24:28 verbose #49133 > │ let struct (v105 : UH3, v106 : int64) = v102.l1, v102.l2 │
00:24:28 verbose #49134 > │ let v107 : int64 = v99.[int v104] │
00:24:28 verbose #49135 > │ let v108 : int64 = v106 + 1L │
00:24:28 verbose #49136 > │ let v109 : uint64 = v104 + 1UL │
00:24:28 verbose #49137 > │ let v110 : UH3 = UH3_1(v106, v107, v105) │
00:24:28 verbose #49138 > │ v102.l0 <- v109 │
00:24:28 verbose #49139 > │ v102.l1 <- v110 │
00:24:28 verbose #49140 > │ v102.l2 <- v108 │
00:24:28 verbose #49141 > │ () │
00:24:28 verbose #49142 > │ let struct (v111 : UH3, v112 : int64) = v102.l1, v102.l2 │
00:24:28 verbose #49143 > │ let v113 : UH3 = UH3_0 │
00:24:28 verbose #49144 > │ let v114 : UH3 = method11(v111, v113) │
00:24:28 verbose #49145 > │ let v115 : (struct (int64 * int64) []) = method12(v114) │
00:24:28 verbose #49146 > │ let v116 : int32 = v115.Length │
00:24:28 verbose #49147 > │ let v117 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:24:28 verbose #49148 > │ (int64 * int64)> (v116) │
00:24:28 verbose #49149 > │ let v118 : Mut1 = {l0 = 0} : Mut1 │
00:24:28 verbose #49150 > │ while method15(v116, v118) do │
00:24:28 verbose #49151 > │ let v120 : int32 = v118.l0 │
00:24:28 verbose #49152 > │ let struct (v121 : int64, v122 : int64) = v115.[int v120] │
00:24:28 verbose #49153 > │ let v123 : int64 = v121 + 1L │
00:24:28 verbose #49154 > │ v117.[int v120] <- struct (v123, v122) │
00:24:28 verbose #49155 > │ let v124 : int32 = v120 + 1 │
00:24:28 verbose #49156 > │ v118.l0 <- v124 │
00:24:28 verbose #49157 > │ () │
00:24:28 verbose #49158 > │ let v125 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:24:28 verbose #49159 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:24:28 verbose #49160 > │ let v126 : (struct (int64 * int64) -> int64) = closure4() │
00:24:28 verbose #49161 > │ let v127 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:24:28 verbose #49162 > │ ])) = v125 v126 │
00:24:28 verbose #49163 > │ let v128 : (struct (int64 * int64) []) = v127 v117 │
00:24:28 verbose #49164 > │ let struct (v129 : int64, v130 : int64) = v128.[int 0] │
00:24:28 verbose #49165 > │ let v131 : string = $"%A{struct (v129, v130)}" │
00:24:28 verbose #49166 > │ let v132 : bool = v96 = v98 │
00:24:28 verbose #49167 > │ let v137 : US0 = │
00:24:28 verbose #49168 > │ if v132 then │
00:24:28 verbose #49169 > │ let v133 : System.ConsoleColor = │
00:24:28 verbose #49170 > │ System.ConsoleColor.DarkGreen │
00:24:28 verbose #49171 > │ US0_0(v133) │
00:24:28 verbose #49172 > │ else │
00:24:28 verbose #49173 > │ let v135 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:24:28 verbose #49174 > │ US0_0(v135) │
00:24:28 verbose #49175 > │ let v138 : UH2 = UH2_0 │
00:24:28 verbose #49176 > │ let v139 : UH2 = UH2_1(v131, v138) │
00:24:28 verbose #49177 > │ let v140 : UH2 = UH2_1(v98, v139) │
00:24:28 verbose #49178 > │ let v141 : UH2 = UH2_1(v96, v140) │
00:24:28 verbose #49179 > │ let v142 : UH2 = UH2_1(v97, v141) │
00:24:28 verbose #49180 > │ v92.[int v95] <- struct (v142, v137) │
00:24:28 verbose #49181 > │ let v143 : uint64 = v95 + 1UL │
00:24:28 verbose #49182 > │ v93.l0 <- v143 │
00:24:28 verbose #49183 > │ () │
00:24:28 verbose #49184 > │ let v144 : string = "Input" │
00:24:28 verbose #49185 > │ let v145 : string = "Expected" │
00:24:28 verbose #49186 > │ let v146 : string = "Result" │
00:24:28 verbose #49187 > │ let v147 : string = "Best" │
00:24:28 verbose #49188 > │ let v148 : UH2 = UH2_0 │
00:24:28 verbose #49189 > │ let v149 : UH2 = UH2_1(v147, v148) │
00:24:28 verbose #49190 > │ let v150 : UH2 = UH2_1(v146, v149) │
00:24:28 verbose #49191 > │ let v151 : UH2 = UH2_1(v145, v150) │
00:24:28 verbose #49192 > │ let v152 : UH2 = UH2_1(v144, v151) │
00:24:28 verbose #49193 > │ let v153 : US0 = US0_1 │
00:24:28 verbose #49194 > │ let v154 : string = "---" │
00:24:28 verbose #49195 > │ let v155 : UH2 = UH2_0 │
00:24:28 verbose #49196 > │ let v156 : UH2 = UH2_1(v154, v155) │
00:24:28 verbose #49197 > │ let v157 : UH2 = UH2_1(v154, v156) │
00:24:28 verbose #49198 > │ let v158 : UH2 = UH2_1(v154, v157) │
00:24:28 verbose #49199 > │ let v159 : UH2 = UH2_1(v154, v158) │
00:24:28 verbose #49200 > │ let v160 : US0 = US0_1 │
00:24:28 verbose #49201 > │ let v161 : UH4 = UH4_0 │
00:24:28 verbose #49202 > │ let v162 : UH4 = UH4_1(v159, v160, v161) │
00:24:28 verbose #49203 > │ let v163 : UH4 = UH4_1(v152, v153, v162) │
00:24:28 verbose #49204 > │ let v164 : (struct (UH2 * US0) []) = method16(v163) │
00:24:28 verbose #49205 > │ let v165 : uint64 = System.Convert.ToUInt64 v164.Length │
00:24:28 verbose #49206 > │ let v166 : uint64 = System.Convert.ToUInt64 v92.Length │
00:24:28 verbose #49207 > │ let v167 : uint64 = v165 + v166 │
00:24:28 verbose #49208 > │ let v168 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:24:28 verbose #49209 > │ US0)> (System.Convert.ToInt32(v167)) │
00:24:28 verbose #49210 > │ let v169 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49211 > │ while method4(v167, v169) do │
00:24:28 verbose #49212 > │ let v171 : uint64 = v169.l0 │
00:24:28 verbose #49213 > │ let v172 : bool = v171 < v165 │
00:24:28 verbose #49214 > │ let struct (v178 : UH2, v179 : US0) = │
00:24:28 verbose #49215 > │ if v172 then │
00:24:28 verbose #49216 > │ let struct (v173 : UH2, v174 : US0) = v164.[int v171] │
00:24:28 verbose #49217 > │ struct (v173, v174) │
00:24:28 verbose #49218 > │ else │
00:24:28 verbose #49219 > │ let v175 : uint64 = v171 - v165 │
00:24:28 verbose #49220 > │ let struct (v176 : UH2, v177 : US0) = v92.[int v175] │
00:24:28 verbose #49221 > │ struct (v176, v177) │
00:24:28 verbose #49222 > │ v168.[int v171] <- struct (v178, v179) │
00:24:28 verbose #49223 > │ let v180 : uint64 = v171 + 1UL │
00:24:28 verbose #49224 > │ v169.l0 <- v180 │
00:24:28 verbose #49225 > │ () │
00:24:28 verbose #49226 > │ let v181 : uint64 = System.Convert.ToUInt64 v168.Length │
00:24:28 verbose #49227 > │ let v182 : ((string []) []) = Array.zeroCreate<(string [])> │
00:24:28 verbose #49228 > │ (System.Convert.ToInt32(v181)) │
00:24:28 verbose #49229 > │ let v183 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49230 > │ while method4(v181, v183) do │
00:24:28 verbose #49231 > │ let v185 : uint64 = v183.l0 │
00:24:28 verbose #49232 > │ let struct (v186 : UH2, v187 : US0) = v168.[int v185] │
00:24:28 verbose #49233 > │ let v188 : (string []) = method19(v186) │
00:24:28 verbose #49234 > │ v182.[int v185] <- v188 │
00:24:28 verbose #49235 > │ let v189 : uint64 = v185 + 1UL │
00:24:28 verbose #49236 > │ v183.l0 <- v189 │
00:24:28 verbose #49237 > │ () │
00:24:28 verbose #49238 > │ let v190 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:24:28 verbose #49239 > │ let v191 : ((string []) []) = v190 v182 │
00:24:28 verbose #49240 > │ let v192 : uint64 = System.Convert.ToUInt64 v191.Length │
00:24:28 verbose #49241 > │ let v193 : (int64 []) = Array.zeroCreate<int64> │
00:24:28 verbose #49242 > │ (System.Convert.ToInt32(v192)) │
00:24:28 verbose #49243 > │ let v194 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49244 > │ while method4(v192, v194) do │
00:24:28 verbose #49245 > │ let v196 : uint64 = v194.l0 │
00:24:28 verbose #49246 > │ let v197 : (string []) = v191.[int v196] │
00:24:28 verbose #49247 > │ let v198 : uint64 = System.Convert.ToUInt64 v197.Length │
00:24:28 verbose #49248 > │ let v199 : (int64 []) = Array.zeroCreate<int64> │
00:24:28 verbose #49249 > │ (System.Convert.ToInt32(v198)) │
00:24:28 verbose #49250 > │ let v200 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49251 > │ while method4(v198, v200) do │
00:24:28 verbose #49252 > │ let v202 : uint64 = v200.l0 │
00:24:28 verbose #49253 > │ let v203 : string = v197.[int v202] │
00:24:28 verbose #49254 > │ let v204 : int64 = System.Convert.ToInt64 v203.Length │
00:24:28 verbose #49255 > │ v199.[int v202] <- v204 │
00:24:28 verbose #49256 > │ let v205 : uint64 = v202 + 1UL │
00:24:28 verbose #49257 > │ v200.l0 <- v205 │
00:24:28 verbose #49258 > │ () │
00:24:28 verbose #49259 > │ let v206 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:24:28 verbose #49260 > │ let v207 : (int64 []) = v206 v199 │
00:24:28 verbose #49261 > │ let v208 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:24:28 verbose #49262 > │ let v209 : ((int64 []) -> int64 option) = v208 0 │
00:24:28 verbose #49263 > │ let v210 : int64 option = v209 v207 │
00:24:28 verbose #49264 > │ let v211 : (int64 -> US1) = method22() │
00:24:28 verbose #49265 > │ let v212 : US1 = US1_1 │
00:24:28 verbose #49266 > │ let v213 : US1 = v210 |> Option.map v211 |> Option.defaultValue v212 │
00:24:28 verbose #49267 > │ let v216 : int64 = │
00:24:28 verbose #49268 > │ match v213 with │
00:24:28 verbose #49269 > │ | US1_1 -> (* None *) │
00:24:28 verbose #49270 > │ 0L │
00:24:28 verbose #49271 > │ | US1_0(v214) -> (* Some *) │
00:24:28 verbose #49272 > │ v214 │
00:24:28 verbose #49273 > │ v193.[int v196] <- v216 │
00:24:28 verbose #49274 > │ let v217 : uint64 = v196 + 1UL │
00:24:28 verbose #49275 > │ v194.l0 <- v217 │
00:24:28 verbose #49276 > │ () │
00:24:28 verbose #49277 > │ let v218 : uint64 = System.Convert.ToUInt64 v193.Length │
00:24:28 verbose #49278 > │ let v219 : UH5 = UH5_0 │
00:24:28 verbose #49279 > │ let v220 : Mut3 = {l0 = 0UL; l1 = v219; l2 = 0} : Mut3 │
00:24:28 verbose #49280 > │ while method23(v218, v220) do │
00:24:28 verbose #49281 > │ let v222 : uint64 = v220.l0 │
00:24:28 verbose #49282 > │ let struct (v223 : UH5, v224 : int32) = v220.l1, v220.l2 │
00:24:28 verbose #49283 > │ let v225 : int64 = v193.[int v222] │
00:24:28 verbose #49284 > │ let v226 : int32 = v224 + 1 │
00:24:28 verbose #49285 > │ let v227 : uint64 = v222 + 1UL │
00:24:28 verbose #49286 > │ let v228 : UH5 = UH5_1(v224, v225, v223) │
00:24:28 verbose #49287 > │ v220.l0 <- v227 │
00:24:28 verbose #49288 > │ v220.l1 <- v228 │
00:24:28 verbose #49289 > │ v220.l2 <- v226 │
00:24:28 verbose #49290 > │ () │
00:24:28 verbose #49291 > │ let struct (v229 : UH5, v230 : int32) = v220.l1, v220.l2 │
00:24:28 verbose #49292 > │ let v231 : UH5 = UH5_0 │
00:24:28 verbose #49293 > │ let v232 : UH5 = method24(v229, v231) │
00:24:28 verbose #49294 > │ let v233 : (struct (int32 * int64) []) = method25(v232) │
00:24:28 verbose #49295 > │ let v234 : Map<int32, int64> = v233 |> Array.map (fun (struct (a, b)) -> │
00:24:28 verbose #49296 > │ a, b) |> Map.ofArray │
00:24:28 verbose #49297 > │ let v235 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:24:28 verbose #49298 > │ ((string []) * US0)> (System.Convert.ToInt32(v181)) │
00:24:28 verbose #49299 > │ let v236 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49300 > │ while method4(v181, v236) do │
00:24:28 verbose #49301 > │ let v238 : uint64 = v236.l0 │
00:24:28 verbose #49302 > │ let struct (v239 : UH2, v240 : US0) = v168.[int v238] │
00:24:28 verbose #49303 > │ let v241 : UH6 = UH6_0 │
00:24:28 verbose #49304 > │ let v242 : int32 = 0 │
00:24:28 verbose #49305 > │ let struct (v243 : UH6, v244 : int32) = method28(v239, v241, v242) │
00:24:28 verbose #49306 > │ let v245 : UH6 = UH6_0 │
00:24:28 verbose #49307 > │ let v246 : UH6 = method29(v243, v245) │
00:24:28 verbose #49308 > │ let v247 : UH2 = UH2_0 │
00:24:28 verbose #49309 > │ let v248 : UH2 = method30(v234, v246, v247) │
00:24:28 verbose #49310 > │ let v249 : (string []) = method31(v248) │
00:24:28 verbose #49311 > │ v235.[int v238] <- struct (v249, v240) │
00:24:28 verbose #49312 > │ let v250 : uint64 = v238 + 1UL │
00:24:28 verbose #49313 > │ v236.l0 <- v250 │
00:24:28 verbose #49314 > │ () │
00:24:28 verbose #49315 > │ System.Console.WriteLine v2 │
00:24:28 verbose #49316 > │ let v251 : uint64 = System.Convert.ToUInt64 v235.Length │
00:24:28 verbose #49317 > │ let v252 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49318 > │ while method4(v251, v252) do │
00:24:28 verbose #49319 > │ let v254 : uint64 = v252.l0 │
00:24:28 verbose #49320 > │ let struct (v255 : (string []), v256 : US0) = v235.[int v254] │
00:24:28 verbose #49321 > │ match v256 with │
00:24:28 verbose #49322 > │ | US0_1 -> (* None *) │
00:24:28 verbose #49323 > │ let v260 : unit option = None │
00:24:28 verbose #49324 > │ let v261 : bool = true in let mutable _v260 = v260 │
00:24:28 verbose #49325 > │ │
00:24:28 verbose #49326 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:28 verbose #49327 > │ │
00:24:28 verbose #49328 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:28 verbose #49329 > │ () │
00:24:28 verbose #49330 > │ #endif │
00:24:28 verbose #49331 > │ │
00:24:28 verbose #49332 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:28 verbose #49333 > │ () │
00:24:28 verbose #49334 > │ #endif │
00:24:28 verbose #49335 > │ │
00:24:28 verbose #49336 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:28 verbose #49337 > │ () │
00:24:28 verbose #49338 > │ #endif │
00:24:28 verbose #49339 > │ │
00:24:28 verbose #49340 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:28 verbose #49341 > │ () │
00:24:28 verbose #49342 > │ #endif │
00:24:28 verbose #49343 > │ │
00:24:28 verbose #49344 > │ #if FABLE_COMPILER_PYTHON │
00:24:28 verbose #49345 > │ () │
00:24:28 verbose #49346 > │ #endif │
00:24:28 verbose #49347 > │ │
00:24:28 verbose #49348 > │ #else │
00:24:28 verbose #49349 > │ System.Console.ResetColor () │
00:24:28 verbose #49350 > │ () │
00:24:28 verbose #49351 > │ #endif │
00:24:28 verbose #49352 > │ |> fun x -> _v260 <- Some x │
00:24:28 verbose #49353 > │ _v260.Value │
00:24:28 verbose #49354 > │ () │
00:24:28 verbose #49355 > │ | US0_0(v257) -> (* Some *) │
00:24:28 verbose #49356 > │ let v258 : unit option = None │
00:24:28 verbose #49357 > │ let v259 : bool = true in let mutable _v258 = v258 │
00:24:28 verbose #49358 > │ │
00:24:28 verbose #49359 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:28 verbose #49360 > │ │
00:24:28 verbose #49361 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:28 verbose #49362 > │ () │
00:24:28 verbose #49363 > │ #endif │
00:24:28 verbose #49364 > │ │
00:24:28 verbose #49365 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:28 verbose #49366 > │ () │
00:24:28 verbose #49367 > │ #endif │
00:24:28 verbose #49368 > │ │
00:24:28 verbose #49369 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:28 verbose #49370 > │ () │
00:24:28 verbose #49371 > │ #endif │
00:24:28 verbose #49372 > │ │
00:24:28 verbose #49373 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:28 verbose #49374 > │ () │
00:24:28 verbose #49375 > │ #endif │
00:24:28 verbose #49376 > │ │
00:24:28 verbose #49377 > │ #if FABLE_COMPILER_PYTHON │
00:24:28 verbose #49378 > │ () │
00:24:28 verbose #49379 > │ #endif │
00:24:28 verbose #49380 > │ │
00:24:28 verbose #49381 > │ #else │
00:24:28 verbose #49382 > │ System.Console.ForegroundColor <- v257 │
00:24:28 verbose #49383 > │ () │
00:24:28 verbose #49384 > │ #endif │
00:24:28 verbose #49385 > │ |> fun x -> _v258 <- Some x │
00:24:28 verbose #49386 > │ _v258.Value │
00:24:28 verbose #49387 > │ () │
00:24:28 verbose #49388 > │ let v262 : string = "\t| " │
00:24:28 verbose #49389 > │ let v263 : string = System.String.Join (v262, v255) │
00:24:28 verbose #49390 > │ System.Console.WriteLine v263 │
00:24:28 verbose #49391 > │ let v264 : unit option = None │
00:24:28 verbose #49392 > │ let v265 : bool = true in let mutable _v264 = v264 │
00:24:28 verbose #49393 > │ │
00:24:28 verbose #49394 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:28 verbose #49395 > │ │
00:24:28 verbose #49396 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:28 verbose #49397 > │ () │
00:24:28 verbose #49398 > │ #endif │
00:24:28 verbose #49399 > │ │
00:24:28 verbose #49400 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:28 verbose #49401 > │ () │
00:24:28 verbose #49402 > │ #endif │
00:24:28 verbose #49403 > │ │
00:24:28 verbose #49404 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:28 verbose #49405 > │ () │
00:24:28 verbose #49406 > │ #endif │
00:24:28 verbose #49407 > │ │
00:24:28 verbose #49408 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:28 verbose #49409 > │ () │
00:24:28 verbose #49410 > │ #endif │
00:24:28 verbose #49411 > │ │
00:24:28 verbose #49412 > │ #if FABLE_COMPILER_PYTHON │
00:24:28 verbose #49413 > │ () │
00:24:28 verbose #49414 > │ #endif │
00:24:28 verbose #49415 > │ │
00:24:28 verbose #49416 > │ #else │
00:24:28 verbose #49417 > │ System.Console.ResetColor () │
00:24:28 verbose #49418 > │ () │
00:24:28 verbose #49419 > │ #endif │
00:24:28 verbose #49420 > │ |> fun x -> _v264 <- Some x │
00:24:28 verbose #49421 > │ _v264.Value │
00:24:28 verbose #49422 > │ let v266 : uint64 = v254 + 1UL │
00:24:28 verbose #49423 > │ v252.l0 <- v266 │
00:24:28 verbose #49424 > │ () │
00:24:28 verbose #49425 > │ let v267 : ((float []) []) = Array.zeroCreate<(float [])> │
00:24:28 verbose #49426 > │ (System.Convert.ToInt32(v91)) │
00:24:28 verbose #49427 > │ let v268 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49428 > │ while method4(v91, v268) do │
00:24:28 verbose #49429 > │ let v270 : uint64 = v268.l0 │
00:24:28 verbose #49430 > │ let struct (v271 : string, v272 : string, v273 : string, v274 : │
00:24:28 verbose #49431 > │ (int64 [])) = v11.[int v270] │
00:24:28 verbose #49432 > │ let v275 : (int64 -> float) = float │
00:24:28 verbose #49433 > │ let v276 : uint64 = System.Convert.ToUInt64 v274.Length │
00:24:28 verbose #49434 > │ let v277 : (float []) = Array.zeroCreate<float> │
00:24:28 verbose #49435 > │ (System.Convert.ToInt32(v276)) │
00:24:28 verbose #49436 > │ let v278 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49437 > │ while method4(v276, v278) do │
00:24:28 verbose #49438 > │ let v280 : uint64 = v278.l0 │
00:24:28 verbose #49439 > │ let v281 : int64 = v274.[int v280] │
00:24:28 verbose #49440 > │ let v282 : float = v275 v281 │
00:24:28 verbose #49441 > │ v277.[int v280] <- v282 │
00:24:28 verbose #49442 > │ let v283 : uint64 = v280 + 1UL │
00:24:28 verbose #49443 > │ v278.l0 <- v283 │
00:24:28 verbose #49444 > │ () │
00:24:28 verbose #49445 > │ v267.[int v270] <- v277 │
00:24:28 verbose #49446 > │ let v284 : uint64 = v270 + 1UL │
00:24:28 verbose #49447 > │ v268.l0 <- v284 │
00:24:28 verbose #49448 > │ () │
00:24:28 verbose #49449 > │ let v285 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:24:28 verbose #49450 > │ let v286 : ((float []) []) = v285 v267 │
00:24:28 verbose #49451 > │ let v287 : uint64 = System.Convert.ToUInt64 v286.Length │
00:24:28 verbose #49452 > │ let v288 : (float []) = Array.zeroCreate<float> │
00:24:28 verbose #49453 > │ (System.Convert.ToInt32(v287)) │
00:24:28 verbose #49454 > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49455 > │ while method4(v287, v289) do │
00:24:28 verbose #49456 > │ let v291 : uint64 = v289.l0 │
00:24:28 verbose #49457 > │ let v292 : (float []) = v286.[int v291] │
00:24:28 verbose #49458 > │ let v293 : ((float []) -> float) = Array.average │
00:24:28 verbose #49459 > │ let v294 : float = v293 v292 │
00:24:28 verbose #49460 > │ v288.[int v291] <- v294 │
00:24:28 verbose #49461 > │ let v295 : uint64 = v291 + 1UL │
00:24:28 verbose #49462 > │ v289.l0 <- v295 │
00:24:28 verbose #49463 > │ () │
00:24:28 verbose #49464 > │ let v296 : (float -> int64) = int64 │
00:24:28 verbose #49465 > │ let v297 : uint64 = System.Convert.ToUInt64 v288.Length │
00:24:28 verbose #49466 > │ let v298 : (int64 []) = Array.zeroCreate<int64> │
00:24:28 verbose #49467 > │ (System.Convert.ToInt32(v297)) │
00:24:28 verbose #49468 > │ let v299 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49469 > │ while method4(v297, v299) do │
00:24:28 verbose #49470 > │ let v301 : uint64 = v299.l0 │
00:24:28 verbose #49471 > │ let v302 : float = v288.[int v301] │
00:24:28 verbose #49472 > │ let v303 : int64 = v296 v302 │
00:24:28 verbose #49473 > │ v298.[int v301] <- v303 │
00:24:28 verbose #49474 > │ let v304 : uint64 = v301 + 1UL │
00:24:28 verbose #49475 > │ v299.l0 <- v304 │
00:24:28 verbose #49476 > │ () │
00:24:28 verbose #49477 > │ let v305 : uint64 = System.Convert.ToUInt64 v298.Length │
00:24:28 verbose #49478 > │ let v306 : UH5 = UH5_0 │
00:24:28 verbose #49479 > │ let v307 : Mut3 = {l0 = 0UL; l1 = v306; l2 = 0} : Mut3 │
00:24:28 verbose #49480 > │ while method23(v305, v307) do │
00:24:28 verbose #49481 > │ let v309 : uint64 = v307.l0 │
00:24:28 verbose #49482 > │ let struct (v310 : UH5, v311 : int32) = v307.l1, v307.l2 │
00:24:28 verbose #49483 > │ let v312 : int64 = v298.[int v309] │
00:24:28 verbose #49484 > │ let v313 : int32 = v311 + 1 │
00:24:28 verbose #49485 > │ let v314 : uint64 = v309 + 1UL │
00:24:28 verbose #49486 > │ let v315 : UH5 = UH5_1(v311, v312, v310) │
00:24:28 verbose #49487 > │ v307.l0 <- v314 │
00:24:28 verbose #49488 > │ v307.l1 <- v315 │
00:24:28 verbose #49489 > │ v307.l2 <- v313 │
00:24:28 verbose #49490 > │ () │
00:24:28 verbose #49491 > │ let struct (v316 : UH5, v317 : int32) = v307.l1, v307.l2 │
00:24:28 verbose #49492 > │ let v318 : UH5 = UH5_0 │
00:24:28 verbose #49493 > │ let v319 : UH5 = method24(v316, v318) │
00:24:28 verbose #49494 > │ let v320 : (struct (int32 * int64) []) = method34(v319) │
00:24:28 verbose #49495 > │ System.Console.WriteLine v2 │
00:24:28 verbose #49496 > │ let v321 : string = "Average Ranking " │
00:24:28 verbose #49497 > │ System.Console.WriteLine v321 │
00:24:28 verbose #49498 > │ let v322 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:24:28 verbose #49499 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:24:28 verbose #49500 > │ let v323 : (struct (int32 * int64) -> int64) = closure6() │
00:24:28 verbose #49501 > │ let v324 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:24:28 verbose #49502 > │ = v322 v323 │
00:24:28 verbose #49503 > │ let v325 : (struct (int32 * int64) []) = v324 v320 │
00:24:28 verbose #49504 > │ let v326 : uint64 = System.Convert.ToUInt64 v325.Length │
00:24:28 verbose #49505 > │ let v327 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:28 verbose #49506 > │ while method4(v326, v327) do │
00:24:28 verbose #49507 > │ let v329 : uint64 = v327.l0 │
00:24:28 verbose #49508 > │ let struct (v330 : int32, v331 : int64) = v325.[int v329] │
00:24:28 verbose #49509 > │ let v332 : string = $"Test case %d{v330 + 1}. Average Time: %A{v331} │
00:24:28 verbose #49510 > │ " │
00:24:28 verbose #49511 > │ System.Console.WriteLine v332 │
00:24:28 verbose #49512 > │ let v333 : uint64 = v329 + 1UL │
00:24:28 verbose #49513 > │ v327.l0 <- v333 │
00:24:28 verbose #49514 > │ () │
00:24:28 verbose #49515 > │ () │
00:24:28 verbose #49516 > │ method0() │
00:24:28 verbose #49517 > │ │
00:24:28 verbose #49518 > │ │
00:24:28 verbose #49519 > │ │
00:24:28 verbose #49520 > │ Test: v0 │
00:24:28 verbose #49521 > │ │
00:24:28 verbose #49522 > │ Solution: struct ("a", "a") │
00:24:28 verbose #49523 > │ Test case 1. A. Time: 103 │
00:24:28 verbose #49524 > │ Test case 2. B. Time: 87 │
00:24:28 verbose #49525 > │ │
00:24:28 verbose #49526 > │ Solution: struct ("b", "b") │
00:24:28 verbose #49527 > │ Test case 1. A. Time: 92 │
00:24:28 verbose #49528 > │ Test case 2. B. Time: 90 │
00:24:28 verbose #49529 > │ │
00:24:28 verbose #49530 > │ Input | Expected | Result | Best │
00:24:28 verbose #49531 > │ --- | --- | --- | --- │
00:24:28 verbose #49532 > │ struct ("a", "a") | "a" | "a" | struct (2L, 87L) │
00:24:28 verbose #49533 > │ struct ("b", "b") | "b" | "b" | struct (2L, 90L) │
00:24:28 verbose #49534 > │ │
00:24:28 verbose #49535 > │ Average Ranking │
00:24:28 verbose #49536 > │ Test case 2. Average Time: 88L │
00:24:28 verbose #49537 > │ Test case 1. Average Time: 97L │
00:24:28 verbose #49538 > │ │
00:24:28 verbose #49539 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:28 verbose #49540 >
00:24:28 verbose #49541 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:28 verbose #49542 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:28 verbose #49543 > │ ## emptyTests │
00:24:28 verbose #49544 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:28 verbose #49545 >
00:24:28 verbose #49546 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:28 verbose #49547 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:28 verbose #49548 > │ Test: Empty │
00:24:28 verbose #49549 > │ │
00:24:28 verbose #49550 > │ Solution: 0 │
00:24:28 verbose #49551 > │ Test case 1. A. Time: 61L │
00:24:28 verbose #49552 > │ │
00:24:28 verbose #49553 > │ Solution: 2 │
00:24:28 verbose #49554 > │ Test case 1. A. Time: 62L │
00:24:28 verbose #49555 > │ │
00:24:28 verbose #49556 > │ Solution: 5 │
00:24:28 verbose #49557 > │ Test case 1. A. Time: 70L │
00:24:28 verbose #49558 > │ │
00:24:28 verbose #49559 > │ Input | Expected | Result | Best │
00:24:28 verbose #49560 > │ --- | --- | --- | --- │
00:24:28 verbose #49561 > │ 0 | 0 | 0 | (1, 61) │
00:24:28 verbose #49562 > │ 2 | 2 | 2 | (1, 62) │
00:24:28 verbose #49563 > │ 5 | 5 | 5 | (1, 70) │
00:24:28 verbose #49564 > │ │
00:24:28 verbose #49565 > │ Averages │
00:24:28 verbose #49566 > │ Test case 1. Average Time: 64L │
00:24:28 verbose #49567 > │ │
00:24:28 verbose #49568 > │ Ranking │
00:24:28 verbose #49569 > │ Test case 1. Average Time: 64L │
00:24:28 verbose #49570 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:28 verbose #49571 >
00:24:28 verbose #49572 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:28 verbose #49573 > //// test
00:24:28 verbose #49574 >
00:24:28 verbose #49575 > inl get_solutions () =
00:24:28 verbose #49576 > [[
00:24:28 verbose #49577 > "A",
00:24:28 verbose #49578 > fun n =>
00:24:28 verbose #49579 > n + 1f64
00:24:28 verbose #49580 > ]]
00:24:28 verbose #49581 >
00:24:28 verbose #49582 > inl rec empty_1_tests () =
00:24:28 verbose #49583 > inl test_cases = [[
00:24:28 verbose #49584 > 0, 1
00:24:28 verbose #49585 > 2, 3
00:24:28 verbose #49586 > 5, 6
00:24:28 verbose #49587 > ]]
00:24:28 verbose #49588 >
00:24:28 verbose #49589 > inl solutions = get_solutions ()
00:24:28 verbose #49590 >
00:24:28 verbose #49591 > // inl is_fast () = true
00:24:28 verbose #49592 >
00:24:28 verbose #49593 > inl count =
00:24:28 verbose #49594 > if is_fast ()
00:24:28 verbose #49595 > then 1000i32
00:24:28 verbose #49596 > else 2000000i32
00:24:28 verbose #49597 >
00:24:28 verbose #49598 > run_all (nameof empty_1_tests) count solutions test_cases
00:24:28 verbose #49599 > |> sort_result_list
00:24:28 verbose #49600 >
00:24:28 verbose #49601 > empty_1_tests ()
00:24:28 verbose #49602 > 00:24:27 debug #869 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/984a5577d7e61dce0ee157980e14d55439a7b18fda60860c10f5e74b4ff41567/main.spi
00:24:34 verbose #49603 >
00:24:34 verbose #49604 > ╭─[ 6.34s - stdout ]───────────────────────────────────────────────────────────╮
00:24:34 verbose #49605 > │ type UH0 = │
00:24:34 verbose #49606 > │ | UH0_0 │
00:24:34 verbose #49607 > │ | UH0_1 of float * float * UH0 │
00:24:34 verbose #49608 > │ and Mut0 = {mutable l0 : uint64} │
00:24:34 verbose #49609 > │ and UH1 = │
00:24:34 verbose #49610 > │ | UH1_0 │
00:24:34 verbose #49611 > │ | UH1_1 of int32 * string * (float -> float) * UH1 │
00:24:34 verbose #49612 > │ and Mut1 = {mutable l0 : int32} │
00:24:34 verbose #49613 > │ and UH2 = │
00:24:34 verbose #49614 > │ | UH2_0 │
00:24:34 verbose #49615 > │ | UH2_1 of string * UH2 │
00:24:34 verbose #49616 > │ and [<Struct>] US0 = │
00:24:34 verbose #49617 > │ | US0_0 of f0_0 : System.ConsoleColor │
00:24:34 verbose #49618 > │ | US0_1 │
00:24:34 verbose #49619 > │ and UH3 = │
00:24:34 verbose #49620 > │ | UH3_0 │
00:24:34 verbose #49621 > │ | UH3_1 of int64 * int64 * UH3 │
00:24:34 verbose #49622 > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64} │
00:24:34 verbose #49623 > │ and UH4 = │
00:24:34 verbose #49624 > │ | UH4_0 │
00:24:34 verbose #49625 > │ | UH4_1 of UH2 * US0 * UH4 │
00:24:34 verbose #49626 > │ and [<Struct>] US1 = │
00:24:34 verbose #49627 > │ | US1_0 of f0_0 : int64 │
00:24:34 verbose #49628 > │ | US1_1 │
00:24:34 verbose #49629 > │ and UH5 = │
00:24:34 verbose #49630 > │ | UH5_0 │
00:24:34 verbose #49631 > │ | UH5_1 of int32 * int64 * UH5 │
00:24:34 verbose #49632 > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32} │
00:24:34 verbose #49633 > │ and UH6 = │
00:24:34 verbose #49634 > │ | UH6_0 │
00:24:34 verbose #49635 > │ | UH6_1 of int32 * string * UH6 │
00:24:34 verbose #49636 > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 = │
00:24:34 verbose #49637 > │ match v0 with │
00:24:34 verbose #49638 > │ | UH0_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49639 > │ let v5 : uint64 = v1 + 1UL │
00:24:34 verbose #49640 > │ method2(v4, v5) │
00:24:34 verbose #49641 > │ | UH0_0 -> (* Nil *) │
00:24:34 verbose #49642 > │ v1 │
00:24:34 verbose #49643 > │ and method3 (v0 : (struct (float * float) []), v1 : UH0, v2 : uint64) : │
00:24:34 verbose #49644 > │ uint64 = │
00:24:34 verbose #49645 > │ match v1 with │
00:24:34 verbose #49646 > │ | UH0_1(v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49647 > │ v0.[int v2] <- struct (v3, v4) │
00:24:34 verbose #49648 > │ let v6 : uint64 = v2 + 1UL │
00:24:34 verbose #49649 > │ method3(v0, v5, v6) │
00:24:34 verbose #49650 > │ | UH0_0 -> (* Nil *) │
00:24:34 verbose #49651 > │ v2 │
00:24:34 verbose #49652 > │ and method1 (v0 : UH0) : (struct (float * float) []) = │
00:24:34 verbose #49653 > │ let v1 : uint64 = 0UL │
00:24:34 verbose #49654 > │ let v2 : uint64 = method2(v0, v1) │
00:24:34 verbose #49655 > │ let v3 : (struct (float * float) []) = Array.zeroCreate<struct (float * │
00:24:34 verbose #49656 > │ float)> (System.Convert.ToInt32(v2)) │
00:24:34 verbose #49657 > │ let v4 : uint64 = 0UL │
00:24:34 verbose #49658 > │ let v5 : uint64 = method3(v3, v0, v4) │
00:24:34 verbose #49659 > │ v3 │
00:24:34 verbose #49660 > │ and method4 (v0 : uint64, v1 : Mut0) : bool = │
00:24:34 verbose #49661 > │ let v2 : uint64 = v1.l0 │
00:24:34 verbose #49662 > │ let v3 : bool = v2 < v0 │
00:24:34 verbose #49663 > │ v3 │
00:24:34 verbose #49664 > │ and closure1 () (v0 : float) : float = │
00:24:34 verbose #49665 > │ let v1 : float = v0 + 1.0 │
00:24:34 verbose #49666 > │ v1 │
00:24:34 verbose #49667 > │ and method6 (v0 : UH1, v1 : uint64) : uint64 = │
00:24:34 verbose #49668 > │ match v0 with │
00:24:34 verbose #49669 > │ | UH1_1(v2, v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49670 > │ let v6 : uint64 = v1 + 1UL │
00:24:34 verbose #49671 > │ method6(v5, v6) │
00:24:34 verbose #49672 > │ | UH1_0 -> (* Nil *) │
00:24:34 verbose #49673 > │ v1 │
00:24:34 verbose #49674 > │ and method7 (v0 : (struct (int32 * string * (float -> float)) []), v1 : UH1, │
00:24:34 verbose #49675 > │ v2 : uint64) : uint64 = │
00:24:34 verbose #49676 > │ match v1 with │
00:24:34 verbose #49677 > │ | UH1_1(v3, v4, v5, v6) -> (* Cons *) │
00:24:34 verbose #49678 > │ v0.[int v2] <- struct (v3, v4, v5) │
00:24:34 verbose #49679 > │ let v7 : uint64 = v2 + 1UL │
00:24:34 verbose #49680 > │ method7(v0, v6, v7) │
00:24:34 verbose #49681 > │ | UH1_0 -> (* Nil *) │
00:24:34 verbose #49682 > │ v2 │
00:24:34 verbose #49683 > │ and method5 (v0 : UH1) : (struct (int32 * string * (float -> float)) []) = │
00:24:34 verbose #49684 > │ let v1 : uint64 = 0UL │
00:24:34 verbose #49685 > │ let v2 : uint64 = method6(v0, v1) │
00:24:34 verbose #49686 > │ let v3 : (struct (int32 * string * (float -> float)) []) = │
00:24:34 verbose #49687 > │ Array.zeroCreate<struct (int32 * string * (float -> float))> │
00:24:34 verbose #49688 > │ (System.Convert.ToInt32(v2)) │
00:24:34 verbose #49689 > │ let v4 : uint64 = 0UL │
00:24:34 verbose #49690 > │ let v5 : uint64 = method7(v3, v0, v4) │
00:24:34 verbose #49691 > │ v3 │
00:24:34 verbose #49692 > │ and method8 (v0 : Mut1) : bool = │
00:24:34 verbose #49693 > │ let v1 : int32 = v0.l0 │
00:24:34 verbose #49694 > │ let v2 : bool = v1 < 2000001 │
00:24:34 verbose #49695 > │ v2 │
00:24:34 verbose #49696 > │ and closure2 (v0 : float, v1 : (float -> float)) (v2 : int32) : float = │
00:24:34 verbose #49697 > │ v1 v0 │
00:24:34 verbose #49698 > │ and method9 (v0 : float, v1 : (float []), v2 : uint64) : bool = │
00:24:34 verbose #49699 > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:24:34 verbose #49700 > │ let v4 : bool = v2 < v3 │
00:24:34 verbose #49701 > │ if v4 then │
00:24:34 verbose #49702 > │ let v5 : float = v1.[int v2] │
00:24:34 verbose #49703 > │ let v6 : bool = v0 = v5 │
00:24:34 verbose #49704 > │ if v6 then │
00:24:34 verbose #49705 > │ let v7 : uint64 = v2 + 1UL │
00:24:34 verbose #49706 > │ method9(v0, v1, v7) │
00:24:34 verbose #49707 > │ else │
00:24:34 verbose #49708 > │ false │
00:24:34 verbose #49709 > │ else │
00:24:34 verbose #49710 > │ true │
00:24:34 verbose #49711 > │ and method10 (v0 : uint64, v1 : Mut2) : bool = │
00:24:34 verbose #49712 > │ let v2 : uint64 = v1.l0 │
00:24:34 verbose #49713 > │ let v3 : bool = v2 < v0 │
00:24:34 verbose #49714 > │ v3 │
00:24:34 verbose #49715 > │ and method11 (v0 : UH3, v1 : UH3) : UH3 = │
00:24:34 verbose #49716 > │ match v0 with │
00:24:34 verbose #49717 > │ | UH3_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49718 > │ let v5 : UH3 = UH3_1(v2, v3, v1) │
00:24:34 verbose #49719 > │ method11(v4, v5) │
00:24:34 verbose #49720 > │ | UH3_0 -> (* Nil *) │
00:24:34 verbose #49721 > │ v1 │
00:24:34 verbose #49722 > │ and method13 (v0 : UH3, v1 : int32) : int32 = │
00:24:34 verbose #49723 > │ match v0 with │
00:24:34 verbose #49724 > │ | UH3_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49725 > │ let v5 : int32 = v1 + 1 │
00:24:34 verbose #49726 > │ method13(v4, v5) │
00:24:34 verbose #49727 > │ | UH3_0 -> (* Nil *) │
00:24:34 verbose #49728 > │ v1 │
00:24:34 verbose #49729 > │ and method14 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) : │
00:24:34 verbose #49730 > │ int32 = │
00:24:34 verbose #49731 > │ match v1 with │
00:24:34 verbose #49732 > │ | UH3_1(v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49733 > │ v0.[int v2] <- struct (v3, v4) │
00:24:34 verbose #49734 > │ let v6 : int32 = v2 + 1 │
00:24:34 verbose #49735 > │ method14(v0, v5, v6) │
00:24:34 verbose #49736 > │ | UH3_0 -> (* Nil *) │
00:24:34 verbose #49737 > │ v2 │
00:24:34 verbose #49738 > │ and method12 (v0 : UH3) : (struct (int64 * int64) []) = │
00:24:34 verbose #49739 > │ let v1 : int32 = 0 │
00:24:34 verbose #49740 > │ let v2 : int32 = method13(v0, v1) │
00:24:34 verbose #49741 > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:24:34 verbose #49742 > │ int64)> (v2) │
00:24:34 verbose #49743 > │ let v4 : int32 = 0 │
00:24:34 verbose #49744 > │ let v5 : int32 = method14(v3, v0, v4) │
00:24:34 verbose #49745 > │ v3 │
00:24:34 verbose #49746 > │ and method15 (v0 : int32, v1 : Mut1) : bool = │
00:24:34 verbose #49747 > │ let v2 : int32 = v1.l0 │
00:24:34 verbose #49748 > │ let v3 : bool = v2 < v0 │
00:24:34 verbose #49749 > │ v3 │
00:24:34 verbose #49750 > │ and closure3 () struct (v0 : int64, v1 : int64) : int64 = │
00:24:34 verbose #49751 > │ v1 │
00:24:34 verbose #49752 > │ and method17 (v0 : UH4, v1 : uint64) : uint64 = │
00:24:34 verbose #49753 > │ match v0 with │
00:24:34 verbose #49754 > │ | UH4_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49755 > │ let v5 : uint64 = v1 + 1UL │
00:24:34 verbose #49756 > │ method17(v4, v5) │
00:24:34 verbose #49757 > │ | UH4_0 -> (* Nil *) │
00:24:34 verbose #49758 > │ v1 │
00:24:34 verbose #49759 > │ and method18 (v0 : (struct (UH2 * US0) []), v1 : UH4, v2 : uint64) : uint64 │
00:24:34 verbose #49760 > │ = │
00:24:34 verbose #49761 > │ match v1 with │
00:24:34 verbose #49762 > │ | UH4_1(v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49763 > │ v0.[int v2] <- struct (v3, v4) │
00:24:34 verbose #49764 > │ let v6 : uint64 = v2 + 1UL │
00:24:34 verbose #49765 > │ method18(v0, v5, v6) │
00:24:34 verbose #49766 > │ | UH4_0 -> (* Nil *) │
00:24:34 verbose #49767 > │ v2 │
00:24:34 verbose #49768 > │ and method16 (v0 : UH4) : (struct (UH2 * US0) []) = │
00:24:34 verbose #49769 > │ let v1 : uint64 = 0UL │
00:24:34 verbose #49770 > │ let v2 : uint64 = method17(v0, v1) │
00:24:34 verbose #49771 > │ let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:24:34 verbose #49772 > │ (System.Convert.ToInt32(v2)) │
00:24:34 verbose #49773 > │ let v4 : uint64 = 0UL │
00:24:34 verbose #49774 > │ let v5 : uint64 = method18(v3, v0, v4) │
00:24:34 verbose #49775 > │ v3 │
00:24:34 verbose #49776 > │ and method20 (v0 : UH2, v1 : uint64) : uint64 = │
00:24:34 verbose #49777 > │ match v0 with │
00:24:34 verbose #49778 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:24:34 verbose #49779 > │ let v4 : uint64 = v1 + 1UL │
00:24:34 verbose #49780 > │ method20(v3, v4) │
00:24:34 verbose #49781 > │ | UH2_0 -> (* Nil *) │
00:24:34 verbose #49782 > │ v1 │
00:24:34 verbose #49783 > │ and method21 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:24:34 verbose #49784 > │ match v1 with │
00:24:34 verbose #49785 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:24:34 verbose #49786 > │ v0.[int v2] <- v3 │
00:24:34 verbose #49787 > │ let v5 : uint64 = v2 + 1UL │
00:24:34 verbose #49788 > │ method21(v0, v4, v5) │
00:24:34 verbose #49789 > │ | UH2_0 -> (* Nil *) │
00:24:34 verbose #49790 > │ v2 │
00:24:34 verbose #49791 > │ and method19 (v0 : UH2) : (string []) = │
00:24:34 verbose #49792 > │ let v1 : uint64 = 0UL │
00:24:34 verbose #49793 > │ let v2 : uint64 = method20(v0, v1) │
00:24:34 verbose #49794 > │ let v3 : (string []) = Array.zeroCreate<string> │
00:24:34 verbose #49795 > │ (System.Convert.ToInt32(v2)) │
00:24:34 verbose #49796 > │ let v4 : uint64 = 0UL │
00:24:34 verbose #49797 > │ let v5 : uint64 = method21(v3, v0, v4) │
00:24:34 verbose #49798 > │ v3 │
00:24:34 verbose #49799 > │ and closure4 () (v0 : int64) : US1 = │
00:24:34 verbose #49800 > │ US1_0(v0) │
00:24:34 verbose #49801 > │ and method22 () : (int64 -> US1) = │
00:24:34 verbose #49802 > │ closure4() │
00:24:34 verbose #49803 > │ and method23 (v0 : uint64, v1 : Mut3) : bool = │
00:24:34 verbose #49804 > │ let v2 : uint64 = v1.l0 │
00:24:34 verbose #49805 > │ let v3 : bool = v2 < v0 │
00:24:34 verbose #49806 > │ v3 │
00:24:34 verbose #49807 > │ and method24 (v0 : UH5, v1 : UH5) : UH5 = │
00:24:34 verbose #49808 > │ match v0 with │
00:24:34 verbose #49809 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49810 > │ let v5 : UH5 = UH5_1(v2, v3, v1) │
00:24:34 verbose #49811 > │ method24(v4, v5) │
00:24:34 verbose #49812 > │ | UH5_0 -> (* Nil *) │
00:24:34 verbose #49813 > │ v1 │
00:24:34 verbose #49814 > │ and method26 (v0 : UH5, v1 : int32) : int32 = │
00:24:34 verbose #49815 > │ match v0 with │
00:24:34 verbose #49816 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49817 > │ let v5 : int32 = v1 + 1 │
00:24:34 verbose #49818 > │ method26(v4, v5) │
00:24:34 verbose #49819 > │ | UH5_0 -> (* Nil *) │
00:24:34 verbose #49820 > │ v1 │
00:24:34 verbose #49821 > │ and method27 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) : │
00:24:34 verbose #49822 > │ int32 = │
00:24:34 verbose #49823 > │ match v1 with │
00:24:34 verbose #49824 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49825 > │ v0.[int v2] <- struct (v3, v4) │
00:24:34 verbose #49826 > │ let v6 : int32 = v2 + 1 │
00:24:34 verbose #49827 > │ method27(v0, v5, v6) │
00:24:34 verbose #49828 > │ | UH5_0 -> (* Nil *) │
00:24:34 verbose #49829 > │ v2 │
00:24:34 verbose #49830 > │ and method25 (v0 : UH5) : (struct (int32 * int64) []) = │
00:24:34 verbose #49831 > │ let v1 : int32 = 0 │
00:24:34 verbose #49832 > │ let v2 : int32 = method26(v0, v1) │
00:24:34 verbose #49833 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:24:34 verbose #49834 > │ int64)> (v2) │
00:24:34 verbose #49835 > │ let v4 : int32 = 0 │
00:24:34 verbose #49836 > │ let v5 : int32 = method27(v3, v0, v4) │
00:24:34 verbose #49837 > │ v3 │
00:24:34 verbose #49838 > │ and method28 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) = │
00:24:34 verbose #49839 > │ match v0 with │
00:24:34 verbose #49840 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:24:34 verbose #49841 > │ let v5 : int32 = v2 + 1 │
00:24:34 verbose #49842 > │ let v6 : UH6 = UH6_1(v2, v3, v1) │
00:24:34 verbose #49843 > │ method28(v4, v6, v5) │
00:24:34 verbose #49844 > │ | UH2_0 -> (* Nil *) │
00:24:34 verbose #49845 > │ struct (v1, v2) │
00:24:34 verbose #49846 > │ and method29 (v0 : UH6, v1 : UH6) : UH6 = │
00:24:34 verbose #49847 > │ match v0 with │
00:24:34 verbose #49848 > │ | UH6_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49849 > │ let v5 : UH6 = UH6_1(v2, v3, v1) │
00:24:34 verbose #49850 > │ method29(v4, v5) │
00:24:34 verbose #49851 > │ | UH6_0 -> (* Nil *) │
00:24:34 verbose #49852 > │ v1 │
00:24:34 verbose #49853 > │ and method30 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 = │
00:24:34 verbose #49854 > │ match v1 with │
00:24:34 verbose #49855 > │ | UH6_1(v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49856 > │ let v6 : UH2 = method30(v0, v5, v2) │
00:24:34 verbose #49857 > │ let v7 : int64 = v0.[v3] │
00:24:34 verbose #49858 > │ let v8 : int32 = int32 v7 │
00:24:34 verbose #49859 > │ let v9 : string = v4.PadRight (v8, ' ') │
00:24:34 verbose #49860 > │ UH2_1(v9, v6) │
00:24:34 verbose #49861 > │ | UH6_0 -> (* Nil *) │
00:24:34 verbose #49862 > │ v2 │
00:24:34 verbose #49863 > │ and method32 (v0 : UH2, v1 : int32) : int32 = │
00:24:34 verbose #49864 > │ match v0 with │
00:24:34 verbose #49865 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:24:34 verbose #49866 > │ let v4 : int32 = v1 + 1 │
00:24:34 verbose #49867 > │ method32(v3, v4) │
00:24:34 verbose #49868 > │ | UH2_0 -> (* Nil *) │
00:24:34 verbose #49869 > │ v1 │
00:24:34 verbose #49870 > │ and method33 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:24:34 verbose #49871 > │ match v1 with │
00:24:34 verbose #49872 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:24:34 verbose #49873 > │ v0.[int v2] <- v3 │
00:24:34 verbose #49874 > │ let v5 : int32 = v2 + 1 │
00:24:34 verbose #49875 > │ method33(v0, v4, v5) │
00:24:34 verbose #49876 > │ | UH2_0 -> (* Nil *) │
00:24:34 verbose #49877 > │ v2 │
00:24:34 verbose #49878 > │ and method31 (v0 : UH2) : (string []) = │
00:24:34 verbose #49879 > │ let v1 : int32 = 0 │
00:24:34 verbose #49880 > │ let v2 : int32 = method32(v0, v1) │
00:24:34 verbose #49881 > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:24:34 verbose #49882 > │ let v4 : int32 = 0 │
00:24:34 verbose #49883 > │ let v5 : int32 = method33(v3, v0, v4) │
00:24:34 verbose #49884 > │ v3 │
00:24:34 verbose #49885 > │ and method35 (v0 : UH5, v1 : uint64) : uint64 = │
00:24:34 verbose #49886 > │ match v0 with │
00:24:34 verbose #49887 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:24:34 verbose #49888 > │ let v5 : uint64 = v1 + 1UL │
00:24:34 verbose #49889 > │ method35(v4, v5) │
00:24:34 verbose #49890 > │ | UH5_0 -> (* Nil *) │
00:24:34 verbose #49891 > │ v1 │
00:24:34 verbose #49892 > │ and method36 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) : │
00:24:34 verbose #49893 > │ uint64 = │
00:24:34 verbose #49894 > │ match v1 with │
00:24:34 verbose #49895 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:24:34 verbose #49896 > │ v0.[int v2] <- struct (v3, v4) │
00:24:34 verbose #49897 > │ let v6 : uint64 = v2 + 1UL │
00:24:34 verbose #49898 > │ method36(v0, v5, v6) │
00:24:34 verbose #49899 > │ | UH5_0 -> (* Nil *) │
00:24:34 verbose #49900 > │ v2 │
00:24:34 verbose #49901 > │ and method34 (v0 : UH5) : (struct (int32 * int64) []) = │
00:24:34 verbose #49902 > │ let v1 : uint64 = 0UL │
00:24:34 verbose #49903 > │ let v2 : uint64 = method35(v0, v1) │
00:24:34 verbose #49904 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:24:34 verbose #49905 > │ int64)> (System.Convert.ToInt32(v2)) │
00:24:34 verbose #49906 > │ let v4 : uint64 = 0UL │
00:24:34 verbose #49907 > │ let v5 : uint64 = method36(v3, v0, v4) │
00:24:34 verbose #49908 > │ v3 │
00:24:34 verbose #49909 > │ and closure5 () struct (v0 : int32, v1 : int64) : int64 = │
00:24:34 verbose #49910 > │ v1 │
00:24:34 verbose #49911 > │ and closure0 () () : unit = │
00:24:34 verbose #49912 > │ let v0 : (unit -> unit) = closure0() │
00:24:34 verbose #49913 > │ let v1 : string = nameof v0 │
00:24:34 verbose #49914 > │ let v2 : string = "" │
00:24:34 verbose #49915 > │ System.Console.WriteLine v2 │
00:24:34 verbose #49916 > │ System.Console.WriteLine v2 │
00:24:34 verbose #49917 > │ let v3 : string = $"Test: {v1}" │
00:24:34 verbose #49918 > │ System.Console.WriteLine v3 │
00:24:34 verbose #49919 > │ let v4 : float = 0.0 │
00:24:34 verbose #49920 > │ let v5 : float = 1.0 │
00:24:34 verbose #49921 > │ let v6 : float = 2.0 │
00:24:34 verbose #49922 > │ let v7 : float = 3.0 │
00:24:34 verbose #49923 > │ let v8 : float = 5.0 │
00:24:34 verbose #49924 > │ let v9 : float = 6.0 │
00:24:34 verbose #49925 > │ let v10 : UH0 = UH0_0 │
00:24:34 verbose #49926 > │ let v11 : UH0 = UH0_1(v8, v9, v10) │
00:24:34 verbose #49927 > │ let v12 : UH0 = UH0_1(v6, v7, v11) │
00:24:34 verbose #49928 > │ let v13 : UH0 = UH0_1(v4, v5, v12) │
00:24:34 verbose #49929 > │ let v14 : (struct (float * float) []) = method1(v13) │
00:24:34 verbose #49930 > │ let v15 : uint64 = System.Convert.ToUInt64 v14.Length │
00:24:34 verbose #49931 > │ let v16 : (struct (string * string * string * (int64 [])) []) = │
00:24:34 verbose #49932 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:24:34 verbose #49933 > │ (System.Convert.ToInt32(v15)) │
00:24:34 verbose #49934 > │ let v17 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #49935 > │ while method4(v15, v17) do │
00:24:34 verbose #49936 > │ let v19 : uint64 = v17.l0 │
00:24:34 verbose #49937 > │ let struct (v20 : float, v21 : float) = v14.[int v19] │
00:24:34 verbose #49938 > │ let v22 : string = $"%A{v20}" │
00:24:34 verbose #49939 > │ System.Console.WriteLine v2 │
00:24:34 verbose #49940 > │ let v23 : string = $"Solution: {v22} " │
00:24:34 verbose #49941 > │ System.Console.WriteLine v23 │
00:24:34 verbose #49942 > │ let v24 : int32 = 0 │
00:24:34 verbose #49943 > │ let v25 : string = "A" │
00:24:34 verbose #49944 > │ let v26 : (float -> float) = closure1() │
00:24:34 verbose #49945 > │ let v27 : UH1 = UH1_0 │
00:24:34 verbose #49946 > │ let v28 : UH1 = UH1_1(v24, v25, v26, v27) │
00:24:34 verbose #49947 > │ let v29 : (struct (int32 * string * (float -> float)) []) = │
00:24:34 verbose #49948 > │ method5(v28) │
00:24:34 verbose #49949 > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:24:34 verbose #49950 > │ let v31 : (struct (float * int64) []) = Array.zeroCreate<struct │
00:24:34 verbose #49951 > │ (float * int64)> (System.Convert.ToInt32(v30)) │
00:24:34 verbose #49952 > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #49953 > │ while method4(v30, v32) do │
00:24:34 verbose #49954 > │ let v34 : uint64 = v32.l0 │
00:24:34 verbose #49955 > │ let struct (v35 : int32, v36 : string, v37 : (float -> float)) = │
00:24:34 verbose #49956 > │ v29.[int v34] │
00:24:34 verbose #49957 > │ let v38 : unit option = None │
00:24:34 verbose #49958 > │ let v39 : bool = true in let mutable _v38 = v38 │
00:24:34 verbose #49959 > │ │
00:24:34 verbose #49960 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:34 verbose #49961 > │ │
00:24:34 verbose #49962 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:34 verbose #49963 > │ () │
00:24:34 verbose #49964 > │ #endif │
00:24:34 verbose #49965 > │ │
00:24:34 verbose #49966 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:34 verbose #49967 > │ () │
00:24:34 verbose #49968 > │ #endif │
00:24:34 verbose #49969 > │ │
00:24:34 verbose #49970 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:34 verbose #49971 > │ () │
00:24:34 verbose #49972 > │ #endif │
00:24:34 verbose #49973 > │ │
00:24:34 verbose #49974 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:34 verbose #49975 > │ () │
00:24:34 verbose #49976 > │ #endif │
00:24:34 verbose #49977 > │ │
00:24:34 verbose #49978 > │ #if FABLE_COMPILER_PYTHON │
00:24:34 verbose #49979 > │ () │
00:24:34 verbose #49980 > │ #endif │
00:24:34 verbose #49981 > │ │
00:24:34 verbose #49982 > │ #else │
00:24:34 verbose #49983 > │ System.GC.Collect () │
00:24:34 verbose #49984 > │ () │
00:24:34 verbose #49985 > │ #endif │
00:24:34 verbose #49986 > │ |> fun x -> _v38 <- Some x │
00:24:34 verbose #49987 > │ _v38.Value │
00:24:34 verbose #49988 > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:24:34 verbose #49989 > │ System.Diagnostics.Stopwatch │
00:24:34 verbose #49990 > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:24:34 verbose #49991 > │ v41.Start () │
00:24:34 verbose #49992 > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:24:34 verbose #49993 > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:24:34 verbose #49994 > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:24:34 verbose #49995 > │ while method8(v44) do │
00:24:34 verbose #49996 > │ let v46 : int32 = v44.l0 │
00:24:34 verbose #49997 > │ v43.[int v46] <- v46 │
00:24:34 verbose #49998 > │ let v47 : int32 = v46 + 1 │
00:24:34 verbose #49999 > │ v44.l0 <- v47 │
00:24:34 verbose #50000 > │ () │
00:24:34 verbose #50001 > │ let v48 : ((int32 -> float) -> ((int32 []) -> (float []))) = │
00:24:34 verbose #50002 > │ Array.Parallel.map │
00:24:34 verbose #50003 > │ let v49 : (int32 -> float) = closure2(v20, v37) │
00:24:34 verbose #50004 > │ let v50 : ((int32 []) -> (float [])) = v48 v49 │
00:24:34 verbose #50005 > │ let v51 : (float []) = v50 v43 │
00:24:34 verbose #50006 > │ let v52 : int32 = v51.Length │
00:24:34 verbose #50007 > │ let v53 : int32 = v52 - 1 │
00:24:34 verbose #50008 > │ let v54 : float = v51.[int v53] │
00:24:34 verbose #50009 > │ let v55 : int64 = v41.ElapsedMilliseconds │
00:24:34 verbose #50010 > │ let v56 : int64 = v55 - v42 │
00:24:34 verbose #50011 > │ let v57 : string = $"Test case {v35 + 1}. {v36}. Time: {v56} " │
00:24:34 verbose #50012 > │ System.Console.WriteLine v57 │
00:24:34 verbose #50013 > │ v31.[int v34] <- struct (v54, v56) │
00:24:34 verbose #50014 > │ let v58 : uint64 = v34 + 1UL │
00:24:34 verbose #50015 > │ v32.l0 <- v58 │
00:24:34 verbose #50016 > │ () │
00:24:34 verbose #50017 > │ let v59 : uint64 = System.Convert.ToUInt64 v31.Length │
00:24:34 verbose #50018 > │ let v60 : (float []) = Array.zeroCreate<float> │
00:24:34 verbose #50019 > │ (System.Convert.ToInt32(v59)) │
00:24:34 verbose #50020 > │ let v61 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50021 > │ while method4(v59, v61) do │
00:24:34 verbose #50022 > │ let v63 : uint64 = v61.l0 │
00:24:34 verbose #50023 > │ let struct (v64 : float, v65 : int64) = v31.[int v63] │
00:24:34 verbose #50024 > │ v60.[int v63] <- v64 │
00:24:34 verbose #50025 > │ let v66 : uint64 = v63 + 1UL │
00:24:34 verbose #50026 > │ v61.l0 <- v66 │
00:24:34 verbose #50027 > │ () │
00:24:34 verbose #50028 > │ let v67 : uint64 = System.Convert.ToUInt64 v60.Length │
00:24:34 verbose #50029 > │ let v68 : bool = v67 <= 1UL │
00:24:34 verbose #50030 > │ if v68 then │
00:24:34 verbose #50031 > │ () │
00:24:34 verbose #50032 > │ else │
00:24:34 verbose #50033 > │ let v69 : float = v60.[int 0UL] │
00:24:34 verbose #50034 > │ let v70 : uint64 = 0UL │
00:24:34 verbose #50035 > │ let v71 : bool = method9(v69, v60, v70) │
00:24:34 verbose #50036 > │ if v71 then │
00:24:34 verbose #50037 > │ () │
00:24:34 verbose #50038 > │ else │
00:24:34 verbose #50039 > │ let v72 : string = $"Challenge error: {v60}" │
00:24:34 verbose #50040 > │ failwith<unit> v72 │
00:24:34 verbose #50041 > │ let v73 : string = $"%A{v21}" │
00:24:34 verbose #50042 > │ let v74 : (float []) = Array.zeroCreate<float> │
00:24:34 verbose #50043 > │ (System.Convert.ToInt32(v59)) │
00:24:34 verbose #50044 > │ let v75 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50045 > │ while method4(v59, v75) do │
00:24:34 verbose #50046 > │ let v77 : uint64 = v75.l0 │
00:24:34 verbose #50047 > │ let struct (v78 : float, v79 : int64) = v31.[int v77] │
00:24:34 verbose #50048 > │ v74.[int v77] <- v78 │
00:24:34 verbose #50049 > │ let v80 : uint64 = v77 + 1UL │
00:24:34 verbose #50050 > │ v75.l0 <- v80 │
00:24:34 verbose #50051 > │ () │
00:24:34 verbose #50052 > │ let v81 : float = v74.[int 0UL] │
00:24:34 verbose #50053 > │ let v82 : string = $"%A{v81}" │
00:24:34 verbose #50054 > │ let v83 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50055 > │ (System.Convert.ToInt32(v59)) │
00:24:34 verbose #50056 > │ let v84 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50057 > │ while method4(v59, v84) do │
00:24:34 verbose #50058 > │ let v86 : uint64 = v84.l0 │
00:24:34 verbose #50059 > │ let struct (v87 : float, v88 : int64) = v31.[int v86] │
00:24:34 verbose #50060 > │ v83.[int v86] <- v88 │
00:24:34 verbose #50061 > │ let v89 : uint64 = v86 + 1UL │
00:24:34 verbose #50062 > │ v84.l0 <- v89 │
00:24:34 verbose #50063 > │ () │
00:24:34 verbose #50064 > │ v16.[int v19] <- struct (v73, v22, v82, v83) │
00:24:34 verbose #50065 > │ let v90 : uint64 = v19 + 1UL │
00:24:34 verbose #50066 > │ v17.l0 <- v90 │
00:24:34 verbose #50067 > │ () │
00:24:34 verbose #50068 > │ let v91 : uint64 = System.Convert.ToUInt64 v16.Length │
00:24:34 verbose #50069 > │ let v92 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:24:34 verbose #50070 > │ (System.Convert.ToInt32(v91)) │
00:24:34 verbose #50071 > │ let v93 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50072 > │ while method4(v91, v93) do │
00:24:34 verbose #50073 > │ let v95 : uint64 = v93.l0 │
00:24:34 verbose #50074 > │ let struct (v96 : string, v97 : string, v98 : string, v99 : (int64 [ │
00:24:34 verbose #50075 > │ ])) = v16.[int v95] │
00:24:34 verbose #50076 > │ let v100 : uint64 = System.Convert.ToUInt64 v99.Length │
00:24:34 verbose #50077 > │ let v101 : UH3 = UH3_0 │
00:24:34 verbose #50078 > │ let v102 : Mut2 = {l0 = 0UL; l1 = v101; l2 = 0L} : Mut2 │
00:24:34 verbose #50079 > │ while method10(v100, v102) do │
00:24:34 verbose #50080 > │ let v104 : uint64 = v102.l0 │
00:24:34 verbose #50081 > │ let struct (v105 : UH3, v106 : int64) = v102.l1, v102.l2 │
00:24:34 verbose #50082 > │ let v107 : int64 = v99.[int v104] │
00:24:34 verbose #50083 > │ let v108 : int64 = v106 + 1L │
00:24:34 verbose #50084 > │ let v109 : uint64 = v104 + 1UL │
00:24:34 verbose #50085 > │ let v110 : UH3 = UH3_1(v106, v107, v105) │
00:24:34 verbose #50086 > │ v102.l0 <- v109 │
00:24:34 verbose #50087 > │ v102.l1 <- v110 │
00:24:34 verbose #50088 > │ v102.l2 <- v108 │
00:24:34 verbose #50089 > │ () │
00:24:34 verbose #50090 > │ let struct (v111 : UH3, v112 : int64) = v102.l1, v102.l2 │
00:24:34 verbose #50091 > │ let v113 : UH3 = UH3_0 │
00:24:34 verbose #50092 > │ let v114 : UH3 = method11(v111, v113) │
00:24:34 verbose #50093 > │ let v115 : (struct (int64 * int64) []) = method12(v114) │
00:24:34 verbose #50094 > │ let v116 : int32 = v115.Length │
00:24:34 verbose #50095 > │ let v117 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:24:34 verbose #50096 > │ (int64 * int64)> (v116) │
00:24:34 verbose #50097 > │ let v118 : Mut1 = {l0 = 0} : Mut1 │
00:24:34 verbose #50098 > │ while method15(v116, v118) do │
00:24:34 verbose #50099 > │ let v120 : int32 = v118.l0 │
00:24:34 verbose #50100 > │ let struct (v121 : int64, v122 : int64) = v115.[int v120] │
00:24:34 verbose #50101 > │ let v123 : int64 = v121 + 1L │
00:24:34 verbose #50102 > │ v117.[int v120] <- struct (v123, v122) │
00:24:34 verbose #50103 > │ let v124 : int32 = v120 + 1 │
00:24:34 verbose #50104 > │ v118.l0 <- v124 │
00:24:34 verbose #50105 > │ () │
00:24:34 verbose #50106 > │ let v125 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:24:34 verbose #50107 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:24:34 verbose #50108 > │ let v126 : (struct (int64 * int64) -> int64) = closure3() │
00:24:34 verbose #50109 > │ let v127 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:24:34 verbose #50110 > │ ])) = v125 v126 │
00:24:34 verbose #50111 > │ let v128 : (struct (int64 * int64) []) = v127 v117 │
00:24:34 verbose #50112 > │ let struct (v129 : int64, v130 : int64) = v128.[int 0] │
00:24:34 verbose #50113 > │ let v131 : string = $"%A{struct (v129, v130)}" │
00:24:34 verbose #50114 > │ let v132 : bool = v96 = v98 │
00:24:34 verbose #50115 > │ let v137 : US0 = │
00:24:34 verbose #50116 > │ if v132 then │
00:24:34 verbose #50117 > │ let v133 : System.ConsoleColor = │
00:24:34 verbose #50118 > │ System.ConsoleColor.DarkGreen │
00:24:34 verbose #50119 > │ US0_0(v133) │
00:24:34 verbose #50120 > │ else │
00:24:34 verbose #50121 > │ let v135 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:24:34 verbose #50122 > │ US0_0(v135) │
00:24:34 verbose #50123 > │ let v138 : UH2 = UH2_0 │
00:24:34 verbose #50124 > │ let v139 : UH2 = UH2_1(v131, v138) │
00:24:34 verbose #50125 > │ let v140 : UH2 = UH2_1(v98, v139) │
00:24:34 verbose #50126 > │ let v141 : UH2 = UH2_1(v96, v140) │
00:24:34 verbose #50127 > │ let v142 : UH2 = UH2_1(v97, v141) │
00:24:34 verbose #50128 > │ v92.[int v95] <- struct (v142, v137) │
00:24:34 verbose #50129 > │ let v143 : uint64 = v95 + 1UL │
00:24:34 verbose #50130 > │ v93.l0 <- v143 │
00:24:34 verbose #50131 > │ () │
00:24:34 verbose #50132 > │ let v144 : string = "Input" │
00:24:34 verbose #50133 > │ let v145 : string = "Expected" │
00:24:34 verbose #50134 > │ let v146 : string = "Result" │
00:24:34 verbose #50135 > │ let v147 : string = "Best" │
00:24:34 verbose #50136 > │ let v148 : UH2 = UH2_0 │
00:24:34 verbose #50137 > │ let v149 : UH2 = UH2_1(v147, v148) │
00:24:34 verbose #50138 > │ let v150 : UH2 = UH2_1(v146, v149) │
00:24:34 verbose #50139 > │ let v151 : UH2 = UH2_1(v145, v150) │
00:24:34 verbose #50140 > │ let v152 : UH2 = UH2_1(v144, v151) │
00:24:34 verbose #50141 > │ let v153 : US0 = US0_1 │
00:24:34 verbose #50142 > │ let v154 : string = "---" │
00:24:34 verbose #50143 > │ let v155 : UH2 = UH2_0 │
00:24:34 verbose #50144 > │ let v156 : UH2 = UH2_1(v154, v155) │
00:24:34 verbose #50145 > │ let v157 : UH2 = UH2_1(v154, v156) │
00:24:34 verbose #50146 > │ let v158 : UH2 = UH2_1(v154, v157) │
00:24:34 verbose #50147 > │ let v159 : UH2 = UH2_1(v154, v158) │
00:24:34 verbose #50148 > │ let v160 : US0 = US0_1 │
00:24:34 verbose #50149 > │ let v161 : UH4 = UH4_0 │
00:24:34 verbose #50150 > │ let v162 : UH4 = UH4_1(v159, v160, v161) │
00:24:34 verbose #50151 > │ let v163 : UH4 = UH4_1(v152, v153, v162) │
00:24:34 verbose #50152 > │ let v164 : (struct (UH2 * US0) []) = method16(v163) │
00:24:34 verbose #50153 > │ let v165 : uint64 = System.Convert.ToUInt64 v164.Length │
00:24:34 verbose #50154 > │ let v166 : uint64 = System.Convert.ToUInt64 v92.Length │
00:24:34 verbose #50155 > │ let v167 : uint64 = v165 + v166 │
00:24:34 verbose #50156 > │ let v168 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:24:34 verbose #50157 > │ US0)> (System.Convert.ToInt32(v167)) │
00:24:34 verbose #50158 > │ let v169 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50159 > │ while method4(v167, v169) do │
00:24:34 verbose #50160 > │ let v171 : uint64 = v169.l0 │
00:24:34 verbose #50161 > │ let v172 : bool = v171 < v165 │
00:24:34 verbose #50162 > │ let struct (v178 : UH2, v179 : US0) = │
00:24:34 verbose #50163 > │ if v172 then │
00:24:34 verbose #50164 > │ let struct (v173 : UH2, v174 : US0) = v164.[int v171] │
00:24:34 verbose #50165 > │ struct (v173, v174) │
00:24:34 verbose #50166 > │ else │
00:24:34 verbose #50167 > │ let v175 : uint64 = v171 - v165 │
00:24:34 verbose #50168 > │ let struct (v176 : UH2, v177 : US0) = v92.[int v175] │
00:24:34 verbose #50169 > │ struct (v176, v177) │
00:24:34 verbose #50170 > │ v168.[int v171] <- struct (v178, v179) │
00:24:34 verbose #50171 > │ let v180 : uint64 = v171 + 1UL │
00:24:34 verbose #50172 > │ v169.l0 <- v180 │
00:24:34 verbose #50173 > │ () │
00:24:34 verbose #50174 > │ let v181 : uint64 = System.Convert.ToUInt64 v168.Length │
00:24:34 verbose #50175 > │ let v182 : ((string []) []) = Array.zeroCreate<(string [])> │
00:24:34 verbose #50176 > │ (System.Convert.ToInt32(v181)) │
00:24:34 verbose #50177 > │ let v183 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50178 > │ while method4(v181, v183) do │
00:24:34 verbose #50179 > │ let v185 : uint64 = v183.l0 │
00:24:34 verbose #50180 > │ let struct (v186 : UH2, v187 : US0) = v168.[int v185] │
00:24:34 verbose #50181 > │ let v188 : (string []) = method19(v186) │
00:24:34 verbose #50182 > │ v182.[int v185] <- v188 │
00:24:34 verbose #50183 > │ let v189 : uint64 = v185 + 1UL │
00:24:34 verbose #50184 > │ v183.l0 <- v189 │
00:24:34 verbose #50185 > │ () │
00:24:34 verbose #50186 > │ let v190 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:24:34 verbose #50187 > │ let v191 : ((string []) []) = v190 v182 │
00:24:34 verbose #50188 > │ let v192 : uint64 = System.Convert.ToUInt64 v191.Length │
00:24:34 verbose #50189 > │ let v193 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50190 > │ (System.Convert.ToInt32(v192)) │
00:24:34 verbose #50191 > │ let v194 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50192 > │ while method4(v192, v194) do │
00:24:34 verbose #50193 > │ let v196 : uint64 = v194.l0 │
00:24:34 verbose #50194 > │ let v197 : (string []) = v191.[int v196] │
00:24:34 verbose #50195 > │ let v198 : uint64 = System.Convert.ToUInt64 v197.Length │
00:24:34 verbose #50196 > │ let v199 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50197 > │ (System.Convert.ToInt32(v198)) │
00:24:34 verbose #50198 > │ let v200 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50199 > │ while method4(v198, v200) do │
00:24:34 verbose #50200 > │ let v202 : uint64 = v200.l0 │
00:24:34 verbose #50201 > │ let v203 : string = v197.[int v202] │
00:24:34 verbose #50202 > │ let v204 : int64 = System.Convert.ToInt64 v203.Length │
00:24:34 verbose #50203 > │ v199.[int v202] <- v204 │
00:24:34 verbose #50204 > │ let v205 : uint64 = v202 + 1UL │
00:24:34 verbose #50205 > │ v200.l0 <- v205 │
00:24:34 verbose #50206 > │ () │
00:24:34 verbose #50207 > │ let v206 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:24:34 verbose #50208 > │ let v207 : (int64 []) = v206 v199 │
00:24:34 verbose #50209 > │ let v208 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:24:34 verbose #50210 > │ let v209 : ((int64 []) -> int64 option) = v208 0 │
00:24:34 verbose #50211 > │ let v210 : int64 option = v209 v207 │
00:24:34 verbose #50212 > │ let v211 : (int64 -> US1) = method22() │
00:24:34 verbose #50213 > │ let v212 : US1 = US1_1 │
00:24:34 verbose #50214 > │ let v213 : US1 = v210 |> Option.map v211 |> Option.defaultValue v212 │
00:24:34 verbose #50215 > │ let v216 : int64 = │
00:24:34 verbose #50216 > │ match v213 with │
00:24:34 verbose #50217 > │ | US1_1 -> (* None *) │
00:24:34 verbose #50218 > │ 0L │
00:24:34 verbose #50219 > │ | US1_0(v214) -> (* Some *) │
00:24:34 verbose #50220 > │ v214 │
00:24:34 verbose #50221 > │ v193.[int v196] <- v216 │
00:24:34 verbose #50222 > │ let v217 : uint64 = v196 + 1UL │
00:24:34 verbose #50223 > │ v194.l0 <- v217 │
00:24:34 verbose #50224 > │ () │
00:24:34 verbose #50225 > │ let v218 : uint64 = System.Convert.ToUInt64 v193.Length │
00:24:34 verbose #50226 > │ let v219 : UH5 = UH5_0 │
00:24:34 verbose #50227 > │ let v220 : Mut3 = {l0 = 0UL; l1 = v219; l2 = 0} : Mut3 │
00:24:34 verbose #50228 > │ while method23(v218, v220) do │
00:24:34 verbose #50229 > │ let v222 : uint64 = v220.l0 │
00:24:34 verbose #50230 > │ let struct (v223 : UH5, v224 : int32) = v220.l1, v220.l2 │
00:24:34 verbose #50231 > │ let v225 : int64 = v193.[int v222] │
00:24:34 verbose #50232 > │ let v226 : int32 = v224 + 1 │
00:24:34 verbose #50233 > │ let v227 : uint64 = v222 + 1UL │
00:24:34 verbose #50234 > │ let v228 : UH5 = UH5_1(v224, v225, v223) │
00:24:34 verbose #50235 > │ v220.l0 <- v227 │
00:24:34 verbose #50236 > │ v220.l1 <- v228 │
00:24:34 verbose #50237 > │ v220.l2 <- v226 │
00:24:34 verbose #50238 > │ () │
00:24:34 verbose #50239 > │ let struct (v229 : UH5, v230 : int32) = v220.l1, v220.l2 │
00:24:34 verbose #50240 > │ let v231 : UH5 = UH5_0 │
00:24:34 verbose #50241 > │ let v232 : UH5 = method24(v229, v231) │
00:24:34 verbose #50242 > │ let v233 : (struct (int32 * int64) []) = method25(v232) │
00:24:34 verbose #50243 > │ let v234 : Map<int32, int64> = v233 |> Array.map (fun (struct (a, b)) -> │
00:24:34 verbose #50244 > │ a, b) |> Map.ofArray │
00:24:34 verbose #50245 > │ let v235 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:24:34 verbose #50246 > │ ((string []) * US0)> (System.Convert.ToInt32(v181)) │
00:24:34 verbose #50247 > │ let v236 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50248 > │ while method4(v181, v236) do │
00:24:34 verbose #50249 > │ let v238 : uint64 = v236.l0 │
00:24:34 verbose #50250 > │ let struct (v239 : UH2, v240 : US0) = v168.[int v238] │
00:24:34 verbose #50251 > │ let v241 : UH6 = UH6_0 │
00:24:34 verbose #50252 > │ let v242 : int32 = 0 │
00:24:34 verbose #50253 > │ let struct (v243 : UH6, v244 : int32) = method28(v239, v241, v242) │
00:24:34 verbose #50254 > │ let v245 : UH6 = UH6_0 │
00:24:34 verbose #50255 > │ let v246 : UH6 = method29(v243, v245) │
00:24:34 verbose #50256 > │ let v247 : UH2 = UH2_0 │
00:24:34 verbose #50257 > │ let v248 : UH2 = method30(v234, v246, v247) │
00:24:34 verbose #50258 > │ let v249 : (string []) = method31(v248) │
00:24:34 verbose #50259 > │ v235.[int v238] <- struct (v249, v240) │
00:24:34 verbose #50260 > │ let v250 : uint64 = v238 + 1UL │
00:24:34 verbose #50261 > │ v236.l0 <- v250 │
00:24:34 verbose #50262 > │ () │
00:24:34 verbose #50263 > │ System.Console.WriteLine v2 │
00:24:34 verbose #50264 > │ let v251 : uint64 = System.Convert.ToUInt64 v235.Length │
00:24:34 verbose #50265 > │ let v252 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50266 > │ while method4(v251, v252) do │
00:24:34 verbose #50267 > │ let v254 : uint64 = v252.l0 │
00:24:34 verbose #50268 > │ let struct (v255 : (string []), v256 : US0) = v235.[int v254] │
00:24:34 verbose #50269 > │ match v256 with │
00:24:34 verbose #50270 > │ | US0_1 -> (* None *) │
00:24:34 verbose #50271 > │ let v260 : unit option = None │
00:24:34 verbose #50272 > │ let v261 : bool = true in let mutable _v260 = v260 │
00:24:34 verbose #50273 > │ │
00:24:34 verbose #50274 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:34 verbose #50275 > │ │
00:24:34 verbose #50276 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:34 verbose #50277 > │ () │
00:24:34 verbose #50278 > │ #endif │
00:24:34 verbose #50279 > │ │
00:24:34 verbose #50280 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:34 verbose #50281 > │ () │
00:24:34 verbose #50282 > │ #endif │
00:24:34 verbose #50283 > │ │
00:24:34 verbose #50284 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:34 verbose #50285 > │ () │
00:24:34 verbose #50286 > │ #endif │
00:24:34 verbose #50287 > │ │
00:24:34 verbose #50288 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:34 verbose #50289 > │ () │
00:24:34 verbose #50290 > │ #endif │
00:24:34 verbose #50291 > │ │
00:24:34 verbose #50292 > │ #if FABLE_COMPILER_PYTHON │
00:24:34 verbose #50293 > │ () │
00:24:34 verbose #50294 > │ #endif │
00:24:34 verbose #50295 > │ │
00:24:34 verbose #50296 > │ #else │
00:24:34 verbose #50297 > │ System.Console.ResetColor () │
00:24:34 verbose #50298 > │ () │
00:24:34 verbose #50299 > │ #endif │
00:24:34 verbose #50300 > │ |> fun x -> _v260 <- Some x │
00:24:34 verbose #50301 > │ _v260.Value │
00:24:34 verbose #50302 > │ () │
00:24:34 verbose #50303 > │ | US0_0(v257) -> (* Some *) │
00:24:34 verbose #50304 > │ let v258 : unit option = None │
00:24:34 verbose #50305 > │ let v259 : bool = true in let mutable _v258 = v258 │
00:24:34 verbose #50306 > │ │
00:24:34 verbose #50307 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:34 verbose #50308 > │ │
00:24:34 verbose #50309 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:34 verbose #50310 > │ () │
00:24:34 verbose #50311 > │ #endif │
00:24:34 verbose #50312 > │ │
00:24:34 verbose #50313 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:34 verbose #50314 > │ () │
00:24:34 verbose #50315 > │ #endif │
00:24:34 verbose #50316 > │ │
00:24:34 verbose #50317 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:34 verbose #50318 > │ () │
00:24:34 verbose #50319 > │ #endif │
00:24:34 verbose #50320 > │ │
00:24:34 verbose #50321 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:34 verbose #50322 > │ () │
00:24:34 verbose #50323 > │ #endif │
00:24:34 verbose #50324 > │ │
00:24:34 verbose #50325 > │ #if FABLE_COMPILER_PYTHON │
00:24:34 verbose #50326 > │ () │
00:24:34 verbose #50327 > │ #endif │
00:24:34 verbose #50328 > │ │
00:24:34 verbose #50329 > │ #else │
00:24:34 verbose #50330 > │ System.Console.ForegroundColor <- v257 │
00:24:34 verbose #50331 > │ () │
00:24:34 verbose #50332 > │ #endif │
00:24:34 verbose #50333 > │ |> fun x -> _v258 <- Some x │
00:24:34 verbose #50334 > │ _v258.Value │
00:24:34 verbose #50335 > │ () │
00:24:34 verbose #50336 > │ let v262 : string = "\t| " │
00:24:34 verbose #50337 > │ let v263 : string = System.String.Join (v262, v255) │
00:24:34 verbose #50338 > │ System.Console.WriteLine v263 │
00:24:34 verbose #50339 > │ let v264 : unit option = None │
00:24:34 verbose #50340 > │ let v265 : bool = true in let mutable _v264 = v264 │
00:24:34 verbose #50341 > │ │
00:24:34 verbose #50342 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:34 verbose #50343 > │ │
00:24:34 verbose #50344 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:34 verbose #50345 > │ () │
00:24:34 verbose #50346 > │ #endif │
00:24:34 verbose #50347 > │ │
00:24:34 verbose #50348 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:34 verbose #50349 > │ () │
00:24:34 verbose #50350 > │ #endif │
00:24:34 verbose #50351 > │ │
00:24:34 verbose #50352 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:34 verbose #50353 > │ () │
00:24:34 verbose #50354 > │ #endif │
00:24:34 verbose #50355 > │ │
00:24:34 verbose #50356 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:34 verbose #50357 > │ () │
00:24:34 verbose #50358 > │ #endif │
00:24:34 verbose #50359 > │ │
00:24:34 verbose #50360 > │ #if FABLE_COMPILER_PYTHON │
00:24:34 verbose #50361 > │ () │
00:24:34 verbose #50362 > │ #endif │
00:24:34 verbose #50363 > │ │
00:24:34 verbose #50364 > │ #else │
00:24:34 verbose #50365 > │ System.Console.ResetColor () │
00:24:34 verbose #50366 > │ () │
00:24:34 verbose #50367 > │ #endif │
00:24:34 verbose #50368 > │ |> fun x -> _v264 <- Some x │
00:24:34 verbose #50369 > │ _v264.Value │
00:24:34 verbose #50370 > │ let v266 : uint64 = v254 + 1UL │
00:24:34 verbose #50371 > │ v252.l0 <- v266 │
00:24:34 verbose #50372 > │ () │
00:24:34 verbose #50373 > │ let v267 : ((float []) []) = Array.zeroCreate<(float [])> │
00:24:34 verbose #50374 > │ (System.Convert.ToInt32(v91)) │
00:24:34 verbose #50375 > │ let v268 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50376 > │ while method4(v91, v268) do │
00:24:34 verbose #50377 > │ let v270 : uint64 = v268.l0 │
00:24:34 verbose #50378 > │ let struct (v271 : string, v272 : string, v273 : string, v274 : │
00:24:34 verbose #50379 > │ (int64 [])) = v16.[int v270] │
00:24:34 verbose #50380 > │ let v275 : (int64 -> float) = float │
00:24:34 verbose #50381 > │ let v276 : uint64 = System.Convert.ToUInt64 v274.Length │
00:24:34 verbose #50382 > │ let v277 : (float []) = Array.zeroCreate<float> │
00:24:34 verbose #50383 > │ (System.Convert.ToInt32(v276)) │
00:24:34 verbose #50384 > │ let v278 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50385 > │ while method4(v276, v278) do │
00:24:34 verbose #50386 > │ let v280 : uint64 = v278.l0 │
00:24:34 verbose #50387 > │ let v281 : int64 = v274.[int v280] │
00:24:34 verbose #50388 > │ let v282 : float = v275 v281 │
00:24:34 verbose #50389 > │ v277.[int v280] <- v282 │
00:24:34 verbose #50390 > │ let v283 : uint64 = v280 + 1UL │
00:24:34 verbose #50391 > │ v278.l0 <- v283 │
00:24:34 verbose #50392 > │ () │
00:24:34 verbose #50393 > │ v267.[int v270] <- v277 │
00:24:34 verbose #50394 > │ let v284 : uint64 = v270 + 1UL │
00:24:34 verbose #50395 > │ v268.l0 <- v284 │
00:24:34 verbose #50396 > │ () │
00:24:34 verbose #50397 > │ let v285 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:24:34 verbose #50398 > │ let v286 : ((float []) []) = v285 v267 │
00:24:34 verbose #50399 > │ let v287 : uint64 = System.Convert.ToUInt64 v286.Length │
00:24:34 verbose #50400 > │ let v288 : (float []) = Array.zeroCreate<float> │
00:24:34 verbose #50401 > │ (System.Convert.ToInt32(v287)) │
00:24:34 verbose #50402 > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50403 > │ while method4(v287, v289) do │
00:24:34 verbose #50404 > │ let v291 : uint64 = v289.l0 │
00:24:34 verbose #50405 > │ let v292 : (float []) = v286.[int v291] │
00:24:34 verbose #50406 > │ let v293 : ((float []) -> float) = Array.average │
00:24:34 verbose #50407 > │ let v294 : float = v293 v292 │
00:24:34 verbose #50408 > │ v288.[int v291] <- v294 │
00:24:34 verbose #50409 > │ let v295 : uint64 = v291 + 1UL │
00:24:34 verbose #50410 > │ v289.l0 <- v295 │
00:24:34 verbose #50411 > │ () │
00:24:34 verbose #50412 > │ let v296 : (float -> int64) = int64 │
00:24:34 verbose #50413 > │ let v297 : uint64 = System.Convert.ToUInt64 v288.Length │
00:24:34 verbose #50414 > │ let v298 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50415 > │ (System.Convert.ToInt32(v297)) │
00:24:34 verbose #50416 > │ let v299 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50417 > │ while method4(v297, v299) do │
00:24:34 verbose #50418 > │ let v301 : uint64 = v299.l0 │
00:24:34 verbose #50419 > │ let v302 : float = v288.[int v301] │
00:24:34 verbose #50420 > │ let v303 : int64 = v296 v302 │
00:24:34 verbose #50421 > │ v298.[int v301] <- v303 │
00:24:34 verbose #50422 > │ let v304 : uint64 = v301 + 1UL │
00:24:34 verbose #50423 > │ v299.l0 <- v304 │
00:24:34 verbose #50424 > │ () │
00:24:34 verbose #50425 > │ let v305 : uint64 = System.Convert.ToUInt64 v298.Length │
00:24:34 verbose #50426 > │ let v306 : UH5 = UH5_0 │
00:24:34 verbose #50427 > │ let v307 : Mut3 = {l0 = 0UL; l1 = v306; l2 = 0} : Mut3 │
00:24:34 verbose #50428 > │ while method23(v305, v307) do │
00:24:34 verbose #50429 > │ let v309 : uint64 = v307.l0 │
00:24:34 verbose #50430 > │ let struct (v310 : UH5, v311 : int32) = v307.l1, v307.l2 │
00:24:34 verbose #50431 > │ let v312 : int64 = v298.[int v309] │
00:24:34 verbose #50432 > │ let v313 : int32 = v311 + 1 │
00:24:34 verbose #50433 > │ let v314 : uint64 = v309 + 1UL │
00:24:34 verbose #50434 > │ let v315 : UH5 = UH5_1(v311, v312, v310) │
00:24:34 verbose #50435 > │ v307.l0 <- v314 │
00:24:34 verbose #50436 > │ v307.l1 <- v315 │
00:24:34 verbose #50437 > │ v307.l2 <- v313 │
00:24:34 verbose #50438 > │ () │
00:24:34 verbose #50439 > │ let struct (v316 : UH5, v317 : int32) = v307.l1, v307.l2 │
00:24:34 verbose #50440 > │ let v318 : UH5 = UH5_0 │
00:24:34 verbose #50441 > │ let v319 : UH5 = method24(v316, v318) │
00:24:34 verbose #50442 > │ let v320 : (struct (int32 * int64) []) = method34(v319) │
00:24:34 verbose #50443 > │ System.Console.WriteLine v2 │
00:24:34 verbose #50444 > │ let v321 : string = "Average Ranking " │
00:24:34 verbose #50445 > │ System.Console.WriteLine v321 │
00:24:34 verbose #50446 > │ let v322 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:24:34 verbose #50447 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:24:34 verbose #50448 > │ let v323 : (struct (int32 * int64) -> int64) = closure5() │
00:24:34 verbose #50449 > │ let v324 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:24:34 verbose #50450 > │ = v322 v323 │
00:24:34 verbose #50451 > │ let v325 : (struct (int32 * int64) []) = v324 v320 │
00:24:34 verbose #50452 > │ let v326 : uint64 = System.Convert.ToUInt64 v325.Length │
00:24:34 verbose #50453 > │ let v327 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50454 > │ while method4(v326, v327) do │
00:24:34 verbose #50455 > │ let v329 : uint64 = v327.l0 │
00:24:34 verbose #50456 > │ let struct (v330 : int32, v331 : int64) = v325.[int v329] │
00:24:34 verbose #50457 > │ let v332 : string = $"Test case %d{v330 + 1}. Average Time: %A{v331} │
00:24:34 verbose #50458 > │ " │
00:24:34 verbose #50459 > │ System.Console.WriteLine v332 │
00:24:34 verbose #50460 > │ let v333 : uint64 = v329 + 1UL │
00:24:34 verbose #50461 > │ v327.l0 <- v333 │
00:24:34 verbose #50462 > │ () │
00:24:34 verbose #50463 > │ () │
00:24:34 verbose #50464 > │ and method0 () : unit = │
00:24:34 verbose #50465 > │ let v0 : (unit -> unit) = closure0() │
00:24:34 verbose #50466 > │ let v1 : string = nameof v0 │
00:24:34 verbose #50467 > │ let v2 : string = "" │
00:24:34 verbose #50468 > │ System.Console.WriteLine v2 │
00:24:34 verbose #50469 > │ System.Console.WriteLine v2 │
00:24:34 verbose #50470 > │ let v3 : string = $"Test: {v1}" │
00:24:34 verbose #50471 > │ System.Console.WriteLine v3 │
00:24:34 verbose #50472 > │ let v4 : float = 0.0 │
00:24:34 verbose #50473 > │ let v5 : float = 1.0 │
00:24:34 verbose #50474 > │ let v6 : float = 2.0 │
00:24:34 verbose #50475 > │ let v7 : float = 3.0 │
00:24:34 verbose #50476 > │ let v8 : float = 5.0 │
00:24:34 verbose #50477 > │ let v9 : float = 6.0 │
00:24:34 verbose #50478 > │ let v10 : UH0 = UH0_0 │
00:24:34 verbose #50479 > │ let v11 : UH0 = UH0_1(v8, v9, v10) │
00:24:34 verbose #50480 > │ let v12 : UH0 = UH0_1(v6, v7, v11) │
00:24:34 verbose #50481 > │ let v13 : UH0 = UH0_1(v4, v5, v12) │
00:24:34 verbose #50482 > │ let v14 : (struct (float * float) []) = method1(v13) │
00:24:34 verbose #50483 > │ let v15 : uint64 = System.Convert.ToUInt64 v14.Length │
00:24:34 verbose #50484 > │ let v16 : (struct (string * string * string * (int64 [])) []) = │
00:24:34 verbose #50485 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:24:34 verbose #50486 > │ (System.Convert.ToInt32(v15)) │
00:24:34 verbose #50487 > │ let v17 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50488 > │ while method4(v15, v17) do │
00:24:34 verbose #50489 > │ let v19 : uint64 = v17.l0 │
00:24:34 verbose #50490 > │ let struct (v20 : float, v21 : float) = v14.[int v19] │
00:24:34 verbose #50491 > │ let v22 : string = $"%A{v20}" │
00:24:34 verbose #50492 > │ System.Console.WriteLine v2 │
00:24:34 verbose #50493 > │ let v23 : string = $"Solution: {v22} " │
00:24:34 verbose #50494 > │ System.Console.WriteLine v23 │
00:24:34 verbose #50495 > │ let v24 : int32 = 0 │
00:24:34 verbose #50496 > │ let v25 : string = "A" │
00:24:34 verbose #50497 > │ let v26 : (float -> float) = closure1() │
00:24:34 verbose #50498 > │ let v27 : UH1 = UH1_0 │
00:24:34 verbose #50499 > │ let v28 : UH1 = UH1_1(v24, v25, v26, v27) │
00:24:34 verbose #50500 > │ let v29 : (struct (int32 * string * (float -> float)) []) = │
00:24:34 verbose #50501 > │ method5(v28) │
00:24:34 verbose #50502 > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:24:34 verbose #50503 > │ let v31 : (struct (float * int64) []) = Array.zeroCreate<struct │
00:24:34 verbose #50504 > │ (float * int64)> (System.Convert.ToInt32(v30)) │
00:24:34 verbose #50505 > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50506 > │ while method4(v30, v32) do │
00:24:34 verbose #50507 > │ let v34 : uint64 = v32.l0 │
00:24:34 verbose #50508 > │ let struct (v35 : int32, v36 : string, v37 : (float -> float)) = │
00:24:34 verbose #50509 > │ v29.[int v34] │
00:24:34 verbose #50510 > │ let v38 : unit option = None │
00:24:34 verbose #50511 > │ let v39 : bool = true in let mutable _v38 = v38 │
00:24:34 verbose #50512 > │ │
00:24:34 verbose #50513 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:34 verbose #50514 > │ │
00:24:34 verbose #50515 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:34 verbose #50516 > │ () │
00:24:34 verbose #50517 > │ #endif │
00:24:34 verbose #50518 > │ │
00:24:34 verbose #50519 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:34 verbose #50520 > │ () │
00:24:34 verbose #50521 > │ #endif │
00:24:34 verbose #50522 > │ │
00:24:34 verbose #50523 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:34 verbose #50524 > │ () │
00:24:34 verbose #50525 > │ #endif │
00:24:34 verbose #50526 > │ │
00:24:34 verbose #50527 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:34 verbose #50528 > │ () │
00:24:34 verbose #50529 > │ #endif │
00:24:34 verbose #50530 > │ │
00:24:34 verbose #50531 > │ #if FABLE_COMPILER_PYTHON │
00:24:34 verbose #50532 > │ () │
00:24:34 verbose #50533 > │ #endif │
00:24:34 verbose #50534 > │ │
00:24:34 verbose #50535 > │ #else │
00:24:34 verbose #50536 > │ System.GC.Collect () │
00:24:34 verbose #50537 > │ () │
00:24:34 verbose #50538 > │ #endif │
00:24:34 verbose #50539 > │ |> fun x -> _v38 <- Some x │
00:24:34 verbose #50540 > │ _v38.Value │
00:24:34 verbose #50541 > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:24:34 verbose #50542 > │ System.Diagnostics.Stopwatch │
00:24:34 verbose #50543 > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:24:34 verbose #50544 > │ v41.Start () │
00:24:34 verbose #50545 > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:24:34 verbose #50546 > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:24:34 verbose #50547 > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:24:34 verbose #50548 > │ while method8(v44) do │
00:24:34 verbose #50549 > │ let v46 : int32 = v44.l0 │
00:24:34 verbose #50550 > │ v43.[int v46] <- v46 │
00:24:34 verbose #50551 > │ let v47 : int32 = v46 + 1 │
00:24:34 verbose #50552 > │ v44.l0 <- v47 │
00:24:34 verbose #50553 > │ () │
00:24:34 verbose #50554 > │ let v48 : ((int32 -> float) -> ((int32 []) -> (float []))) = │
00:24:34 verbose #50555 > │ Array.Parallel.map │
00:24:34 verbose #50556 > │ let v49 : (int32 -> float) = closure2(v20, v37) │
00:24:34 verbose #50557 > │ let v50 : ((int32 []) -> (float [])) = v48 v49 │
00:24:34 verbose #50558 > │ let v51 : (float []) = v50 v43 │
00:24:34 verbose #50559 > │ let v52 : int32 = v51.Length │
00:24:34 verbose #50560 > │ let v53 : int32 = v52 - 1 │
00:24:34 verbose #50561 > │ let v54 : float = v51.[int v53] │
00:24:34 verbose #50562 > │ let v55 : int64 = v41.ElapsedMilliseconds │
00:24:34 verbose #50563 > │ let v56 : int64 = v55 - v42 │
00:24:34 verbose #50564 > │ let v57 : string = $"Test case {v35 + 1}. {v36}. Time: {v56} " │
00:24:34 verbose #50565 > │ System.Console.WriteLine v57 │
00:24:34 verbose #50566 > │ v31.[int v34] <- struct (v54, v56) │
00:24:34 verbose #50567 > │ let v58 : uint64 = v34 + 1UL │
00:24:34 verbose #50568 > │ v32.l0 <- v58 │
00:24:34 verbose #50569 > │ () │
00:24:34 verbose #50570 > │ let v59 : uint64 = System.Convert.ToUInt64 v31.Length │
00:24:34 verbose #50571 > │ let v60 : (float []) = Array.zeroCreate<float> │
00:24:34 verbose #50572 > │ (System.Convert.ToInt32(v59)) │
00:24:34 verbose #50573 > │ let v61 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50574 > │ while method4(v59, v61) do │
00:24:34 verbose #50575 > │ let v63 : uint64 = v61.l0 │
00:24:34 verbose #50576 > │ let struct (v64 : float, v65 : int64) = v31.[int v63] │
00:24:34 verbose #50577 > │ v60.[int v63] <- v64 │
00:24:34 verbose #50578 > │ let v66 : uint64 = v63 + 1UL │
00:24:34 verbose #50579 > │ v61.l0 <- v66 │
00:24:34 verbose #50580 > │ () │
00:24:34 verbose #50581 > │ let v67 : uint64 = System.Convert.ToUInt64 v60.Length │
00:24:34 verbose #50582 > │ let v68 : bool = v67 <= 1UL │
00:24:34 verbose #50583 > │ if v68 then │
00:24:34 verbose #50584 > │ () │
00:24:34 verbose #50585 > │ else │
00:24:34 verbose #50586 > │ let v69 : float = v60.[int 0UL] │
00:24:34 verbose #50587 > │ let v70 : uint64 = 0UL │
00:24:34 verbose #50588 > │ let v71 : bool = method9(v69, v60, v70) │
00:24:34 verbose #50589 > │ if v71 then │
00:24:34 verbose #50590 > │ () │
00:24:34 verbose #50591 > │ else │
00:24:34 verbose #50592 > │ let v72 : string = $"Challenge error: {v60}" │
00:24:34 verbose #50593 > │ failwith<unit> v72 │
00:24:34 verbose #50594 > │ let v73 : string = $"%A{v21}" │
00:24:34 verbose #50595 > │ let v74 : (float []) = Array.zeroCreate<float> │
00:24:34 verbose #50596 > │ (System.Convert.ToInt32(v59)) │
00:24:34 verbose #50597 > │ let v75 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50598 > │ while method4(v59, v75) do │
00:24:34 verbose #50599 > │ let v77 : uint64 = v75.l0 │
00:24:34 verbose #50600 > │ let struct (v78 : float, v79 : int64) = v31.[int v77] │
00:24:34 verbose #50601 > │ v74.[int v77] <- v78 │
00:24:34 verbose #50602 > │ let v80 : uint64 = v77 + 1UL │
00:24:34 verbose #50603 > │ v75.l0 <- v80 │
00:24:34 verbose #50604 > │ () │
00:24:34 verbose #50605 > │ let v81 : float = v74.[int 0UL] │
00:24:34 verbose #50606 > │ let v82 : string = $"%A{v81}" │
00:24:34 verbose #50607 > │ let v83 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50608 > │ (System.Convert.ToInt32(v59)) │
00:24:34 verbose #50609 > │ let v84 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50610 > │ while method4(v59, v84) do │
00:24:34 verbose #50611 > │ let v86 : uint64 = v84.l0 │
00:24:34 verbose #50612 > │ let struct (v87 : float, v88 : int64) = v31.[int v86] │
00:24:34 verbose #50613 > │ v83.[int v86] <- v88 │
00:24:34 verbose #50614 > │ let v89 : uint64 = v86 + 1UL │
00:24:34 verbose #50615 > │ v84.l0 <- v89 │
00:24:34 verbose #50616 > │ () │
00:24:34 verbose #50617 > │ v16.[int v19] <- struct (v73, v22, v82, v83) │
00:24:34 verbose #50618 > │ let v90 : uint64 = v19 + 1UL │
00:24:34 verbose #50619 > │ v17.l0 <- v90 │
00:24:34 verbose #50620 > │ () │
00:24:34 verbose #50621 > │ let v91 : uint64 = System.Convert.ToUInt64 v16.Length │
00:24:34 verbose #50622 > │ let v92 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:24:34 verbose #50623 > │ (System.Convert.ToInt32(v91)) │
00:24:34 verbose #50624 > │ let v93 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50625 > │ while method4(v91, v93) do │
00:24:34 verbose #50626 > │ let v95 : uint64 = v93.l0 │
00:24:34 verbose #50627 > │ let struct (v96 : string, v97 : string, v98 : string, v99 : (int64 [ │
00:24:34 verbose #50628 > │ ])) = v16.[int v95] │
00:24:34 verbose #50629 > │ let v100 : uint64 = System.Convert.ToUInt64 v99.Length │
00:24:34 verbose #50630 > │ let v101 : UH3 = UH3_0 │
00:24:34 verbose #50631 > │ let v102 : Mut2 = {l0 = 0UL; l1 = v101; l2 = 0L} : Mut2 │
00:24:34 verbose #50632 > │ while method10(v100, v102) do │
00:24:34 verbose #50633 > │ let v104 : uint64 = v102.l0 │
00:24:34 verbose #50634 > │ let struct (v105 : UH3, v106 : int64) = v102.l1, v102.l2 │
00:24:34 verbose #50635 > │ let v107 : int64 = v99.[int v104] │
00:24:34 verbose #50636 > │ let v108 : int64 = v106 + 1L │
00:24:34 verbose #50637 > │ let v109 : uint64 = v104 + 1UL │
00:24:34 verbose #50638 > │ let v110 : UH3 = UH3_1(v106, v107, v105) │
00:24:34 verbose #50639 > │ v102.l0 <- v109 │
00:24:34 verbose #50640 > │ v102.l1 <- v110 │
00:24:34 verbose #50641 > │ v102.l2 <- v108 │
00:24:34 verbose #50642 > │ () │
00:24:34 verbose #50643 > │ let struct (v111 : UH3, v112 : int64) = v102.l1, v102.l2 │
00:24:34 verbose #50644 > │ let v113 : UH3 = UH3_0 │
00:24:34 verbose #50645 > │ let v114 : UH3 = method11(v111, v113) │
00:24:34 verbose #50646 > │ let v115 : (struct (int64 * int64) []) = method12(v114) │
00:24:34 verbose #50647 > │ let v116 : int32 = v115.Length │
00:24:34 verbose #50648 > │ let v117 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:24:34 verbose #50649 > │ (int64 * int64)> (v116) │
00:24:34 verbose #50650 > │ let v118 : Mut1 = {l0 = 0} : Mut1 │
00:24:34 verbose #50651 > │ while method15(v116, v118) do │
00:24:34 verbose #50652 > │ let v120 : int32 = v118.l0 │
00:24:34 verbose #50653 > │ let struct (v121 : int64, v122 : int64) = v115.[int v120] │
00:24:34 verbose #50654 > │ let v123 : int64 = v121 + 1L │
00:24:34 verbose #50655 > │ v117.[int v120] <- struct (v123, v122) │
00:24:34 verbose #50656 > │ let v124 : int32 = v120 + 1 │
00:24:34 verbose #50657 > │ v118.l0 <- v124 │
00:24:34 verbose #50658 > │ () │
00:24:34 verbose #50659 > │ let v125 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:24:34 verbose #50660 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:24:34 verbose #50661 > │ let v126 : (struct (int64 * int64) -> int64) = closure3() │
00:24:34 verbose #50662 > │ let v127 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:24:34 verbose #50663 > │ ])) = v125 v126 │
00:24:34 verbose #50664 > │ let v128 : (struct (int64 * int64) []) = v127 v117 │
00:24:34 verbose #50665 > │ let struct (v129 : int64, v130 : int64) = v128.[int 0] │
00:24:34 verbose #50666 > │ let v131 : string = $"%A{struct (v129, v130)}" │
00:24:34 verbose #50667 > │ let v132 : bool = v96 = v98 │
00:24:34 verbose #50668 > │ let v137 : US0 = │
00:24:34 verbose #50669 > │ if v132 then │
00:24:34 verbose #50670 > │ let v133 : System.ConsoleColor = │
00:24:34 verbose #50671 > │ System.ConsoleColor.DarkGreen │
00:24:34 verbose #50672 > │ US0_0(v133) │
00:24:34 verbose #50673 > │ else │
00:24:34 verbose #50674 > │ let v135 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:24:34 verbose #50675 > │ US0_0(v135) │
00:24:34 verbose #50676 > │ let v138 : UH2 = UH2_0 │
00:24:34 verbose #50677 > │ let v139 : UH2 = UH2_1(v131, v138) │
00:24:34 verbose #50678 > │ let v140 : UH2 = UH2_1(v98, v139) │
00:24:34 verbose #50679 > │ let v141 : UH2 = UH2_1(v96, v140) │
00:24:34 verbose #50680 > │ let v142 : UH2 = UH2_1(v97, v141) │
00:24:34 verbose #50681 > │ v92.[int v95] <- struct (v142, v137) │
00:24:34 verbose #50682 > │ let v143 : uint64 = v95 + 1UL │
00:24:34 verbose #50683 > │ v93.l0 <- v143 │
00:24:34 verbose #50684 > │ () │
00:24:34 verbose #50685 > │ let v144 : string = "Input" │
00:24:34 verbose #50686 > │ let v145 : string = "Expected" │
00:24:34 verbose #50687 > │ let v146 : string = "Result" │
00:24:34 verbose #50688 > │ let v147 : string = "Best" │
00:24:34 verbose #50689 > │ let v148 : UH2 = UH2_0 │
00:24:34 verbose #50690 > │ let v149 : UH2 = UH2_1(v147, v148) │
00:24:34 verbose #50691 > │ let v150 : UH2 = UH2_1(v146, v149) │
00:24:34 verbose #50692 > │ let v151 : UH2 = UH2_1(v145, v150) │
00:24:34 verbose #50693 > │ let v152 : UH2 = UH2_1(v144, v151) │
00:24:34 verbose #50694 > │ let v153 : US0 = US0_1 │
00:24:34 verbose #50695 > │ let v154 : string = "---" │
00:24:34 verbose #50696 > │ let v155 : UH2 = UH2_0 │
00:24:34 verbose #50697 > │ let v156 : UH2 = UH2_1(v154, v155) │
00:24:34 verbose #50698 > │ let v157 : UH2 = UH2_1(v154, v156) │
00:24:34 verbose #50699 > │ let v158 : UH2 = UH2_1(v154, v157) │
00:24:34 verbose #50700 > │ let v159 : UH2 = UH2_1(v154, v158) │
00:24:34 verbose #50701 > │ let v160 : US0 = US0_1 │
00:24:34 verbose #50702 > │ let v161 : UH4 = UH4_0 │
00:24:34 verbose #50703 > │ let v162 : UH4 = UH4_1(v159, v160, v161) │
00:24:34 verbose #50704 > │ let v163 : UH4 = UH4_1(v152, v153, v162) │
00:24:34 verbose #50705 > │ let v164 : (struct (UH2 * US0) []) = method16(v163) │
00:24:34 verbose #50706 > │ let v165 : uint64 = System.Convert.ToUInt64 v164.Length │
00:24:34 verbose #50707 > │ let v166 : uint64 = System.Convert.ToUInt64 v92.Length │
00:24:34 verbose #50708 > │ let v167 : uint64 = v165 + v166 │
00:24:34 verbose #50709 > │ let v168 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:24:34 verbose #50710 > │ US0)> (System.Convert.ToInt32(v167)) │
00:24:34 verbose #50711 > │ let v169 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50712 > │ while method4(v167, v169) do │
00:24:34 verbose #50713 > │ let v171 : uint64 = v169.l0 │
00:24:34 verbose #50714 > │ let v172 : bool = v171 < v165 │
00:24:34 verbose #50715 > │ let struct (v178 : UH2, v179 : US0) = │
00:24:34 verbose #50716 > │ if v172 then │
00:24:34 verbose #50717 > │ let struct (v173 : UH2, v174 : US0) = v164.[int v171] │
00:24:34 verbose #50718 > │ struct (v173, v174) │
00:24:34 verbose #50719 > │ else │
00:24:34 verbose #50720 > │ let v175 : uint64 = v171 - v165 │
00:24:34 verbose #50721 > │ let struct (v176 : UH2, v177 : US0) = v92.[int v175] │
00:24:34 verbose #50722 > │ struct (v176, v177) │
00:24:34 verbose #50723 > │ v168.[int v171] <- struct (v178, v179) │
00:24:34 verbose #50724 > │ let v180 : uint64 = v171 + 1UL │
00:24:34 verbose #50725 > │ v169.l0 <- v180 │
00:24:34 verbose #50726 > │ () │
00:24:34 verbose #50727 > │ let v181 : uint64 = System.Convert.ToUInt64 v168.Length │
00:24:34 verbose #50728 > │ let v182 : ((string []) []) = Array.zeroCreate<(string [])> │
00:24:34 verbose #50729 > │ (System.Convert.ToInt32(v181)) │
00:24:34 verbose #50730 > │ let v183 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50731 > │ while method4(v181, v183) do │
00:24:34 verbose #50732 > │ let v185 : uint64 = v183.l0 │
00:24:34 verbose #50733 > │ let struct (v186 : UH2, v187 : US0) = v168.[int v185] │
00:24:34 verbose #50734 > │ let v188 : (string []) = method19(v186) │
00:24:34 verbose #50735 > │ v182.[int v185] <- v188 │
00:24:34 verbose #50736 > │ let v189 : uint64 = v185 + 1UL │
00:24:34 verbose #50737 > │ v183.l0 <- v189 │
00:24:34 verbose #50738 > │ () │
00:24:34 verbose #50739 > │ let v190 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:24:34 verbose #50740 > │ let v191 : ((string []) []) = v190 v182 │
00:24:34 verbose #50741 > │ let v192 : uint64 = System.Convert.ToUInt64 v191.Length │
00:24:34 verbose #50742 > │ let v193 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50743 > │ (System.Convert.ToInt32(v192)) │
00:24:34 verbose #50744 > │ let v194 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50745 > │ while method4(v192, v194) do │
00:24:34 verbose #50746 > │ let v196 : uint64 = v194.l0 │
00:24:34 verbose #50747 > │ let v197 : (string []) = v191.[int v196] │
00:24:34 verbose #50748 > │ let v198 : uint64 = System.Convert.ToUInt64 v197.Length │
00:24:34 verbose #50749 > │ let v199 : (int64 []) = Array.zeroCreate<int64> │
00:24:34 verbose #50750 > │ (System.Convert.ToInt32(v198)) │
00:24:34 verbose #50751 > │ let v200 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:34 verbose #50752 > │ while method4(v198, v200) do │
00:24:34 verbose #50753 > │ let v202 : uint64 = v200.l0 │
00:24:34 verbose #50754 > │ let v203 : string = v197.[int v202] │
00:24:34 verbose #50755 > │ let v204 : int64 = System.Convert.ToInt64 v203.Length │
00:24:34 verbose #50756 > │ v199.[int v202] <- v204 │
00:24:34 verbose #50757 > │ let v205 : uint64 = v202 + 1UL │
00:24:34 verbose #50758 > │ v200.l0 <- v205 │
00:24:34 verbose #50759 > │ () │
00:24:34 verbose #50760 > │ let v206 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:24:34 verbose #50761 > │ let v207 : (int64 []) = v206 v199 │
00:24:34 verbose #50762 > │ let v208 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:24:34 verbose #50763 > │ let v209 : ((int64 []) -> int64 option) = v208 0 │
00:24:34 verbose #50764 > │ let v210 : int64 option = v209 v207 │
00:24:34 verbose #50765 > │ let v211 : (int64 -> US1) = method22() │
00:24:35 verbose #50766 > │ let v212 : US1 = US1_1 │
00:24:35 verbose #50767 > │ let v213 : US1 = v210 |> Option.map v211 |> Option.defaultValue v212 │
00:24:35 verbose #50768 > │ let v216 : int64 = │
00:24:35 verbose #50769 > │ match v213 with │
00:24:35 verbose #50770 > │ | US1_1 -> (* None *) │
00:24:35 verbose #50771 > │ 0L │
00:24:35 verbose #50772 > │ | US1_0(v214) -> (* Some *) │
00:24:35 verbose #50773 > │ v214 │
00:24:35 verbose #50774 > │ v193.[int v196] <- v216 │
00:24:35 verbose #50775 > │ let v217 : uint64 = v196 + 1UL │
00:24:35 verbose #50776 > │ v194.l0 <- v217 │
00:24:35 verbose #50777 > │ () │
00:24:35 verbose #50778 > │ let v218 : uint64 = System.Convert.ToUInt64 v193.Length │
00:24:35 verbose #50779 > │ let v219 : UH5 = UH5_0 │
00:24:35 verbose #50780 > │ let v220 : Mut3 = {l0 = 0UL; l1 = v219; l2 = 0} : Mut3 │
00:24:35 verbose #50781 > │ while method23(v218, v220) do │
00:24:35 verbose #50782 > │ let v222 : uint64 = v220.l0 │
00:24:35 verbose #50783 > │ let struct (v223 : UH5, v224 : int32) = v220.l1, v220.l2 │
00:24:35 verbose #50784 > │ let v225 : int64 = v193.[int v222] │
00:24:35 verbose #50785 > │ let v226 : int32 = v224 + 1 │
00:24:35 verbose #50786 > │ let v227 : uint64 = v222 + 1UL │
00:24:35 verbose #50787 > │ let v228 : UH5 = UH5_1(v224, v225, v223) │
00:24:35 verbose #50788 > │ v220.l0 <- v227 │
00:24:35 verbose #50789 > │ v220.l1 <- v228 │
00:24:35 verbose #50790 > │ v220.l2 <- v226 │
00:24:35 verbose #50791 > │ () │
00:24:35 verbose #50792 > │ let struct (v229 : UH5, v230 : int32) = v220.l1, v220.l2 │
00:24:35 verbose #50793 > │ let v231 : UH5 = UH5_0 │
00:24:35 verbose #50794 > │ let v232 : UH5 = method24(v229, v231) │
00:24:35 verbose #50795 > │ let v233 : (struct (int32 * int64) []) = method25(v232) │
00:24:35 verbose #50796 > │ let v234 : Map<int32, int64> = v233 |> Array.map (fun (struct (a, b)) -> │
00:24:35 verbose #50797 > │ a, b) |> Map.ofArray │
00:24:35 verbose #50798 > │ let v235 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:24:35 verbose #50799 > │ ((string []) * US0)> (System.Convert.ToInt32(v181)) │
00:24:35 verbose #50800 > │ let v236 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #50801 > │ while method4(v181, v236) do │
00:24:35 verbose #50802 > │ let v238 : uint64 = v236.l0 │
00:24:35 verbose #50803 > │ let struct (v239 : UH2, v240 : US0) = v168.[int v238] │
00:24:35 verbose #50804 > │ let v241 : UH6 = UH6_0 │
00:24:35 verbose #50805 > │ let v242 : int32 = 0 │
00:24:35 verbose #50806 > │ let struct (v243 : UH6, v244 : int32) = method28(v239, v241, v242) │
00:24:35 verbose #50807 > │ let v245 : UH6 = UH6_0 │
00:24:35 verbose #50808 > │ let v246 : UH6 = method29(v243, v245) │
00:24:35 verbose #50809 > │ let v247 : UH2 = UH2_0 │
00:24:35 verbose #50810 > │ let v248 : UH2 = method30(v234, v246, v247) │
00:24:35 verbose #50811 > │ let v249 : (string []) = method31(v248) │
00:24:35 verbose #50812 > │ v235.[int v238] <- struct (v249, v240) │
00:24:35 verbose #50813 > │ let v250 : uint64 = v238 + 1UL │
00:24:35 verbose #50814 > │ v236.l0 <- v250 │
00:24:35 verbose #50815 > │ () │
00:24:35 verbose #50816 > │ System.Console.WriteLine v2 │
00:24:35 verbose #50817 > │ let v251 : uint64 = System.Convert.ToUInt64 v235.Length │
00:24:35 verbose #50818 > │ let v252 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #50819 > │ while method4(v251, v252) do │
00:24:35 verbose #50820 > │ let v254 : uint64 = v252.l0 │
00:24:35 verbose #50821 > │ let struct (v255 : (string []), v256 : US0) = v235.[int v254] │
00:24:35 verbose #50822 > │ match v256 with │
00:24:35 verbose #50823 > │ | US0_1 -> (* None *) │
00:24:35 verbose #50824 > │ let v260 : unit option = None │
00:24:35 verbose #50825 > │ let v261 : bool = true in let mutable _v260 = v260 │
00:24:35 verbose #50826 > │ │
00:24:35 verbose #50827 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:35 verbose #50828 > │ │
00:24:35 verbose #50829 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:35 verbose #50830 > │ () │
00:24:35 verbose #50831 > │ #endif │
00:24:35 verbose #50832 > │ │
00:24:35 verbose #50833 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:35 verbose #50834 > │ () │
00:24:35 verbose #50835 > │ #endif │
00:24:35 verbose #50836 > │ │
00:24:35 verbose #50837 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:35 verbose #50838 > │ () │
00:24:35 verbose #50839 > │ #endif │
00:24:35 verbose #50840 > │ │
00:24:35 verbose #50841 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:35 verbose #50842 > │ () │
00:24:35 verbose #50843 > │ #endif │
00:24:35 verbose #50844 > │ │
00:24:35 verbose #50845 > │ #if FABLE_COMPILER_PYTHON │
00:24:35 verbose #50846 > │ () │
00:24:35 verbose #50847 > │ #endif │
00:24:35 verbose #50848 > │ │
00:24:35 verbose #50849 > │ #else │
00:24:35 verbose #50850 > │ System.Console.ResetColor () │
00:24:35 verbose #50851 > │ () │
00:24:35 verbose #50852 > │ #endif │
00:24:35 verbose #50853 > │ |> fun x -> _v260 <- Some x │
00:24:35 verbose #50854 > │ _v260.Value │
00:24:35 verbose #50855 > │ () │
00:24:35 verbose #50856 > │ | US0_0(v257) -> (* Some *) │
00:24:35 verbose #50857 > │ let v258 : unit option = None │
00:24:35 verbose #50858 > │ let v259 : bool = true in let mutable _v258 = v258 │
00:24:35 verbose #50859 > │ │
00:24:35 verbose #50860 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:35 verbose #50861 > │ │
00:24:35 verbose #50862 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:35 verbose #50863 > │ () │
00:24:35 verbose #50864 > │ #endif │
00:24:35 verbose #50865 > │ │
00:24:35 verbose #50866 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:35 verbose #50867 > │ () │
00:24:35 verbose #50868 > │ #endif │
00:24:35 verbose #50869 > │ │
00:24:35 verbose #50870 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:35 verbose #50871 > │ () │
00:24:35 verbose #50872 > │ #endif │
00:24:35 verbose #50873 > │ │
00:24:35 verbose #50874 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:35 verbose #50875 > │ () │
00:24:35 verbose #50876 > │ #endif │
00:24:35 verbose #50877 > │ │
00:24:35 verbose #50878 > │ #if FABLE_COMPILER_PYTHON │
00:24:35 verbose #50879 > │ () │
00:24:35 verbose #50880 > │ #endif │
00:24:35 verbose #50881 > │ │
00:24:35 verbose #50882 > │ #else │
00:24:35 verbose #50883 > │ System.Console.ForegroundColor <- v257 │
00:24:35 verbose #50884 > │ () │
00:24:35 verbose #50885 > │ #endif │
00:24:35 verbose #50886 > │ |> fun x -> _v258 <- Some x │
00:24:35 verbose #50887 > │ _v258.Value │
00:24:35 verbose #50888 > │ () │
00:24:35 verbose #50889 > │ let v262 : string = "\t| " │
00:24:35 verbose #50890 > │ let v263 : string = System.String.Join (v262, v255) │
00:24:35 verbose #50891 > │ System.Console.WriteLine v263 │
00:24:35 verbose #50892 > │ let v264 : unit option = None │
00:24:35 verbose #50893 > │ let v265 : bool = true in let mutable _v264 = v264 │
00:24:35 verbose #50894 > │ │
00:24:35 verbose #50895 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:24:35 verbose #50896 > │ │
00:24:35 verbose #50897 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:24:35 verbose #50898 > │ () │
00:24:35 verbose #50899 > │ #endif │
00:24:35 verbose #50900 > │ │
00:24:35 verbose #50901 > │ #if FABLE_COMPILER_RUST && WASM │
00:24:35 verbose #50902 > │ () │
00:24:35 verbose #50903 > │ #endif │
00:24:35 verbose #50904 > │ │
00:24:35 verbose #50905 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:24:35 verbose #50906 > │ () │
00:24:35 verbose #50907 > │ #endif │
00:24:35 verbose #50908 > │ │
00:24:35 verbose #50909 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:24:35 verbose #50910 > │ () │
00:24:35 verbose #50911 > │ #endif │
00:24:35 verbose #50912 > │ │
00:24:35 verbose #50913 > │ #if FABLE_COMPILER_PYTHON │
00:24:35 verbose #50914 > │ () │
00:24:35 verbose #50915 > │ #endif │
00:24:35 verbose #50916 > │ │
00:24:35 verbose #50917 > │ #else │
00:24:35 verbose #50918 > │ System.Console.ResetColor () │
00:24:35 verbose #50919 > │ () │
00:24:35 verbose #50920 > │ #endif │
00:24:35 verbose #50921 > │ |> fun x -> _v264 <- Some x │
00:24:35 verbose #50922 > │ _v264.Value │
00:24:35 verbose #50923 > │ let v266 : uint64 = v254 + 1UL │
00:24:35 verbose #50924 > │ v252.l0 <- v266 │
00:24:35 verbose #50925 > │ () │
00:24:35 verbose #50926 > │ let v267 : ((float []) []) = Array.zeroCreate<(float [])> │
00:24:35 verbose #50927 > │ (System.Convert.ToInt32(v91)) │
00:24:35 verbose #50928 > │ let v268 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #50929 > │ while method4(v91, v268) do │
00:24:35 verbose #50930 > │ let v270 : uint64 = v268.l0 │
00:24:35 verbose #50931 > │ let struct (v271 : string, v272 : string, v273 : string, v274 : │
00:24:35 verbose #50932 > │ (int64 [])) = v16.[int v270] │
00:24:35 verbose #50933 > │ let v275 : (int64 -> float) = float │
00:24:35 verbose #50934 > │ let v276 : uint64 = System.Convert.ToUInt64 v274.Length │
00:24:35 verbose #50935 > │ let v277 : (float []) = Array.zeroCreate<float> │
00:24:35 verbose #50936 > │ (System.Convert.ToInt32(v276)) │
00:24:35 verbose #50937 > │ let v278 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #50938 > │ while method4(v276, v278) do │
00:24:35 verbose #50939 > │ let v280 : uint64 = v278.l0 │
00:24:35 verbose #50940 > │ let v281 : int64 = v274.[int v280] │
00:24:35 verbose #50941 > │ let v282 : float = v275 v281 │
00:24:35 verbose #50942 > │ v277.[int v280] <- v282 │
00:24:35 verbose #50943 > │ let v283 : uint64 = v280 + 1UL │
00:24:35 verbose #50944 > │ v278.l0 <- v283 │
00:24:35 verbose #50945 > │ () │
00:24:35 verbose #50946 > │ v267.[int v270] <- v277 │
00:24:35 verbose #50947 > │ let v284 : uint64 = v270 + 1UL │
00:24:35 verbose #50948 > │ v268.l0 <- v284 │
00:24:35 verbose #50949 > │ () │
00:24:35 verbose #50950 > │ let v285 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:24:35 verbose #50951 > │ let v286 : ((float []) []) = v285 v267 │
00:24:35 verbose #50952 > │ let v287 : uint64 = System.Convert.ToUInt64 v286.Length │
00:24:35 verbose #50953 > │ let v288 : (float []) = Array.zeroCreate<float> │
00:24:35 verbose #50954 > │ (System.Convert.ToInt32(v287)) │
00:24:35 verbose #50955 > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #50956 > │ while method4(v287, v289) do │
00:24:35 verbose #50957 > │ let v291 : uint64 = v289.l0 │
00:24:35 verbose #50958 > │ let v292 : (float []) = v286.[int v291] │
00:24:35 verbose #50959 > │ let v293 : ((float []) -> float) = Array.average │
00:24:35 verbose #50960 > │ let v294 : float = v293 v292 │
00:24:35 verbose #50961 > │ v288.[int v291] <- v294 │
00:24:35 verbose #50962 > │ let v295 : uint64 = v291 + 1UL │
00:24:35 verbose #50963 > │ v289.l0 <- v295 │
00:24:35 verbose #50964 > │ () │
00:24:35 verbose #50965 > │ let v296 : (float -> int64) = int64 │
00:24:35 verbose #50966 > │ let v297 : uint64 = System.Convert.ToUInt64 v288.Length │
00:24:35 verbose #50967 > │ let v298 : (int64 []) = Array.zeroCreate<int64> │
00:24:35 verbose #50968 > │ (System.Convert.ToInt32(v297)) │
00:24:35 verbose #50969 > │ let v299 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #50970 > │ while method4(v297, v299) do │
00:24:35 verbose #50971 > │ let v301 : uint64 = v299.l0 │
00:24:35 verbose #50972 > │ let v302 : float = v288.[int v301] │
00:24:35 verbose #50973 > │ let v303 : int64 = v296 v302 │
00:24:35 verbose #50974 > │ v298.[int v301] <- v303 │
00:24:35 verbose #50975 > │ let v304 : uint64 = v301 + 1UL │
00:24:35 verbose #50976 > │ v299.l0 <- v304 │
00:24:35 verbose #50977 > │ () │
00:24:35 verbose #50978 > │ let v305 : uint64 = System.Convert.ToUInt64 v298.Length │
00:24:35 verbose #50979 > │ let v306 : UH5 = UH5_0 │
00:24:35 verbose #50980 > │ let v307 : Mut3 = {l0 = 0UL; l1 = v306; l2 = 0} : Mut3 │
00:24:35 verbose #50981 > │ while method23(v305, v307) do │
00:24:35 verbose #50982 > │ let v309 : uint64 = v307.l0 │
00:24:35 verbose #50983 > │ let struct (v310 : UH5, v311 : int32) = v307.l1, v307.l2 │
00:24:35 verbose #50984 > │ let v312 : int64 = v298.[int v309] │
00:24:35 verbose #50985 > │ let v313 : int32 = v311 + 1 │
00:24:35 verbose #50986 > │ let v314 : uint64 = v309 + 1UL │
00:24:35 verbose #50987 > │ let v315 : UH5 = UH5_1(v311, v312, v310) │
00:24:35 verbose #50988 > │ v307.l0 <- v314 │
00:24:35 verbose #50989 > │ v307.l1 <- v315 │
00:24:35 verbose #50990 > │ v307.l2 <- v313 │
00:24:35 verbose #50991 > │ () │
00:24:35 verbose #50992 > │ let struct (v316 : UH5, v317 : int32) = v307.l1, v307.l2 │
00:24:35 verbose #50993 > │ let v318 : UH5 = UH5_0 │
00:24:35 verbose #50994 > │ let v319 : UH5 = method24(v316, v318) │
00:24:35 verbose #50995 > │ let v320 : (struct (int32 * int64) []) = method34(v319) │
00:24:35 verbose #50996 > │ System.Console.WriteLine v2 │
00:24:35 verbose #50997 > │ let v321 : string = "Average Ranking " │
00:24:35 verbose #50998 > │ System.Console.WriteLine v321 │
00:24:35 verbose #50999 > │ let v322 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:24:35 verbose #51000 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:24:35 verbose #51001 > │ let v323 : (struct (int32 * int64) -> int64) = closure5() │
00:24:35 verbose #51002 > │ let v324 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:24:35 verbose #51003 > │ = v322 v323 │
00:24:35 verbose #51004 > │ let v325 : (struct (int32 * int64) []) = v324 v320 │
00:24:35 verbose #51005 > │ let v326 : uint64 = System.Convert.ToUInt64 v325.Length │
00:24:35 verbose #51006 > │ let v327 : Mut0 = {l0 = 0UL} : Mut0 │
00:24:35 verbose #51007 > │ while method4(v326, v327) do │
00:24:35 verbose #51008 > │ let v329 : uint64 = v327.l0 │
00:24:35 verbose #51009 > │ let struct (v330 : int32, v331 : int64) = v325.[int v329] │
00:24:35 verbose #51010 > │ let v332 : string = $"Test case %d{v330 + 1}. Average Time: %A{v331} │
00:24:35 verbose #51011 > │ " │
00:24:35 verbose #51012 > │ System.Console.WriteLine v332 │
00:24:35 verbose #51013 > │ let v333 : uint64 = v329 + 1UL │
00:24:35 verbose #51014 > │ v327.l0 <- v333 │
00:24:35 verbose #51015 > │ () │
00:24:35 verbose #51016 > │ () │
00:24:35 verbose #51017 > │ method0() │
00:24:35 verbose #51018 > │ │
00:24:35 verbose #51019 > │ │
00:24:35 verbose #51020 > │ │
00:24:35 verbose #51021 > │ Test: v0 │
00:24:35 verbose #51022 > │ │
00:24:35 verbose #51023 > │ Solution: 0.0 │
00:24:35 verbose #51024 > │ Test case 1. A. Time: 29 │
00:24:35 verbose #51025 > │ │
00:24:35 verbose #51026 > │ Solution: 2.0 │
00:24:35 verbose #51027 > │ Test case 1. A. Time: 12 │
00:24:35 verbose #51028 > │ │
00:24:35 verbose #51029 > │ Solution: 5.0 │
00:24:35 verbose #51030 > │ Test case 1. A. Time: 10 │
00:24:35 verbose #51031 > │ │
00:24:35 verbose #51032 > │ Input | Expected | Result | Best │
00:24:35 verbose #51033 > │ --- | --- | --- | --- │
00:24:35 verbose #51034 > │ 0.0 | 1.0 | 1.0 | struct (1L, 29L) │
00:24:35 verbose #51035 > │ 2.0 | 3.0 | 3.0 | struct (1L, 12L) │
00:24:35 verbose #51036 > │ 5.0 | 6.0 | 6.0 | struct (1L, 10L) │
00:24:35 verbose #51037 > │ │
00:24:35 verbose #51038 > │ Average Ranking │
00:24:35 verbose #51039 > │ Test case 1. Average Time: 17L │
00:24:35 verbose #51040 > │ │
00:24:35 verbose #51041 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:37 verbose #51042 > [NbConvertApp] Converting notebook benchmark.dib.ipynb to html
00:24:37 verbose #51043 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:24:37 verbose #51044 > validate(nb)
00:24:38 verbose #51045 > [NbConvertApp] Writing 415414 bytes to benchmark.dib.html
00:24:39 debug #51046 execute_with_options_async / exit_code: 0 / output.Length: 250752
00:24:39 debug #24 main / executeCommand / exitCode: 0
00:24:39 debug #51047 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 networking.dib -Retries 3"", [||],
None, None, None)
00:24:40 verbose #51048 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: networking.dib / _args: [
00:24:40 verbose #51049 > "-Retries",
00:24:40 verbose #51050 > 3
00:24:40 verbose #51051 > ]
00:24:42 verbose #51052 >
00:24:42 verbose #51053 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:42 verbose #51054 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:42 verbose #51055 > │ # networking │
00:24:42 verbose #51056 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:42 verbose #51057 >
00:24:42 verbose #51058 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:42 verbose #51059 > open rust_operators
00:24:42 verbose #51060 >
00:24:42 verbose #51061 > ── spiral - import ─────────────────────────────────────────────────────────────
00:24:42 verbose #51062 > #r
00:24:42 verbose #51063 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:24:42 verbose #51064 > otNet.Interactive.Spiral.dll"
00:24:42 verbose #51065 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:24:42 verbose #51066 > #r
00:24:42 verbose #51067 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:24:42 verbose #51068 > otNet.Interactive.dll"
00:24:42 verbose #51069 > open type Microsoft.DotNet.Interactive.Kernel
00:24:48 verbose #51070 > 00:24:47 debug #870 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/509422cf3bb8a8cfc4cbb3c916e280922525b9b9428a427906e968efadb5b7b1/main.spi
00:24:48 verbose #51071 >
00:24:48 verbose #51072 > ╭─[ 6.36s - stdout ]───────────────────────────────────────────────────────────╮
00:24:48 verbose #51073 > │ () │
00:24:48 verbose #51074 > │ │
00:24:48 verbose #51075 > │ │
00:24:48 verbose #51076 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:48 verbose #51077 >
00:24:48 verbose #51078 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:48 verbose #51079 > //// test
00:24:48 verbose #51080 >
00:24:48 verbose #51081 > open testing
00:24:49 verbose #51082 > 00:24:48 debug #871 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d67524a3bcd7038c5c43eb4daee40517b284f6b43c6c9788496346ad0e56646c/main.spi
00:24:49 verbose #51083 >
00:24:49 verbose #51084 > ╭─[ 609.16ms - stdout ]────────────────────────────────────────────────────────╮
00:24:49 verbose #51085 > │ () │
00:24:49 verbose #51086 > │ │
00:24:49 verbose #51087 > │ │
00:24:49 verbose #51088 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:49 verbose #51089 >
00:24:49 verbose #51090 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:49 verbose #51091 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:49 verbose #51092 > │ ## types │
00:24:49 verbose #51093 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:49 verbose #51094 >
00:24:49 verbose #51095 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:49 verbose #51096 > inl types () =
00:24:49 verbose #51097 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:24:49 verbose #51098 > Fable.Core.Emit(\"reqwest_wasm::Error\")>]]\n#endif\ntype reqwest_Error = class
00:24:49 verbose #51099 > end"
00:24:49 verbose #51100 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:24:49 verbose #51101 > Fable.Core.Emit(\"reqwest_wasm::RequestBuilder\")>]]\n#endif\ntype
00:24:49 verbose #51102 > reqwest_RequestBuilder = class end"
00:24:49 verbose #51103 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:24:49 verbose #51104 > Fable.Core.Emit(\"reqwest_wasm::Response\")>]]\n#endif\ntype reqwest_Response =
00:24:49 verbose #51105 > class end"
00:24:49 verbose #51106 > 00:24:48 debug #872 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/866bda7eceb347f94bc860bb782503f3a9bf6d33d7a06328243e1dfe21a2748e/main.spi
00:24:50 verbose #51107 >
00:24:50 verbose #51108 > ╭─[ 761.65ms - stdout ]────────────────────────────────────────────────────────╮
00:24:50 verbose #51109 > │ () │
00:24:50 verbose #51110 > │ │
00:24:50 verbose #51111 > │ │
00:24:50 verbose #51112 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:50 verbose #51113 >
00:24:50 verbose #51114 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:50 verbose #51115 > inl types () =
00:24:50 verbose #51116 > rust.types ()
00:24:50 verbose #51117 > sm'.types ()
00:24:50 verbose #51118 > types ()
00:24:50 verbose #51119 > 00:24:49 debug #873 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1ea24b2846e5df4ebfadb05b1e08bb3d582db0b6e053fe6cba6d5b050c7ad7b8/main.spi
00:24:50 verbose #51120 >
00:24:50 verbose #51121 > ╭─[ 767.88ms - stdout ]────────────────────────────────────────────────────────╮
00:24:50 verbose #51122 > │ () │
00:24:50 verbose #51123 > │ │
00:24:50 verbose #51124 > │ │
00:24:50 verbose #51125 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:50 verbose #51126 >
00:24:50 verbose #51127 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:50 verbose #51128 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:50 verbose #51129 > │ ## reqwest_response │
00:24:50 verbose #51130 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:50 verbose #51131 >
00:24:50 verbose #51132 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:50 verbose #51133 > nominal reqwest_response = $"reqwest_Response"
00:24:51 verbose #51134 > 00:24:50 debug #874 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e43dd05af26f6ad5bb9db3b1f5e54270ac4e45a9282ce08fd9e5589343a1d797/main.spi
00:24:51 verbose #51135 >
00:24:51 verbose #51136 > ╭─[ 752.74ms - stdout ]────────────────────────────────────────────────────────╮
00:24:51 verbose #51137 > │ () │
00:24:51 verbose #51138 > │ │
00:24:51 verbose #51139 > │ │
00:24:51 verbose #51140 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:51 verbose #51141 >
00:24:51 verbose #51142 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:51 verbose #51143 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:51 verbose #51144 > │ ## reqwest_error │
00:24:51 verbose #51145 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:51 verbose #51146 >
00:24:51 verbose #51147 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:51 verbose #51148 > nominal reqwest_error = $"reqwest_Error"
00:24:52 verbose #51149 > 00:24:51 debug #875 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/718d00dda22a088b70d47dd9e388b6ccbf1a8c8530d2a1fb14e626f1efb1c18a/main.spi
00:24:52 verbose #51150 >
00:24:52 verbose #51151 > ╭─[ 714.07ms - stdout ]────────────────────────────────────────────────────────╮
00:24:52 verbose #51152 > │ () │
00:24:52 verbose #51153 > │ │
00:24:52 verbose #51154 > │ │
00:24:52 verbose #51155 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:52 verbose #51156 >
00:24:52 verbose #51157 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:52 verbose #51158 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:52 verbose #51159 > │ ## request_builder │
00:24:52 verbose #51160 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:52 verbose #51161 >
00:24:52 verbose #51162 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:52 verbose #51163 > nominal request_builder = $"reqwest_RequestBuilder"
00:24:52 verbose #51164 > 00:24:51 debug #876 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8f4b07abc426ce6a30c5f5f36e254ecb7c9e04e620fc657a051b9a2b9a2da45a/main.spi
00:24:53 verbose #51165 >
00:24:53 verbose #51166 > ╭─[ 683.70ms - stdout ]────────────────────────────────────────────────────────╮
00:24:53 verbose #51167 > │ () │
00:24:53 verbose #51168 > │ │
00:24:53 verbose #51169 > │ │
00:24:53 verbose #51170 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:53 verbose #51171 >
00:24:53 verbose #51172 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:53 verbose #51173 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:53 verbose #51174 > │ ## request_type │
00:24:53 verbose #51175 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:53 verbose #51176 >
00:24:53 verbose #51177 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:53 verbose #51178 > union request_type =
00:24:53 verbose #51179 > | Get
00:24:53 verbose #51180 > | Post
00:24:53 verbose #51181 > 00:24:52 debug #877 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ced28612b60713904a0e921c360758c34570367fc17da7ddea4d81f7f656a7d4/main.spi
00:24:53 verbose #51182 >
00:24:53 verbose #51183 > ╭─[ 617.36ms - stdout ]────────────────────────────────────────────────────────╮
00:24:53 verbose #51184 > │ () │
00:24:53 verbose #51185 > │ │
00:24:53 verbose #51186 > │ │
00:24:53 verbose #51187 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:53 verbose #51188 >
00:24:53 verbose #51189 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:53 verbose #51190 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:53 verbose #51191 > │ ## request │
00:24:53 verbose #51192 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:53 verbose #51193 >
00:24:53 verbose #51194 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:53 verbose #51195 > type request =
00:24:53 verbose #51196 > {
00:24:53 verbose #51197 > url : string
00:24:53 verbose #51198 > request_type : request_type
00:24:53 verbose #51199 > body : string
00:24:53 verbose #51200 > json : bool
00:24:53 verbose #51201 > auto_refresh : bool
00:24:53 verbose #51202 > }
00:24:54 verbose #51203 > 00:24:53 debug #878 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d74114c7490aba3dbcf5c59a58c07b0f38faa28f7383e8c79a9a8707c0ce89e1/main.spi
00:24:54 verbose #51204 >
00:24:54 verbose #51205 > ╭─[ 648.67ms - stdout ]────────────────────────────────────────────────────────╮
00:24:54 verbose #51206 > │ () │
00:24:54 verbose #51207 > │ │
00:24:54 verbose #51208 > │ │
00:24:54 verbose #51209 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:54 verbose #51210 >
00:24:54 verbose #51211 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:54 verbose #51212 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:54 verbose #51213 > │ ## new_request_get │
00:24:54 verbose #51214 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:54 verbose #51215 >
00:24:54 verbose #51216 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:54 verbose #51217 > inl new_request_get (url : string) : request_builder =
00:24:54 verbose #51218 > inl url = join url
00:24:54 verbose #51219 > inl url = url |> sm'.to_std_string
00:24:54 verbose #51220 > inl url = join url
00:24:54 verbose #51221 > !\($'"reqwest_wasm::Client::builder().build().map_err(|err|
00:24:54 verbose #51222 > err.to_string())?.get(!url)"')
00:24:54 verbose #51223 > 00:24:53 debug #879 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d0e0973096183748ddd17764cea471ce46a964e873cf069453edfd9e42d633f3/main.spi
00:24:54 verbose #51224 >
00:24:54 verbose #51225 > ╭─[ 621.24ms - stdout ]────────────────────────────────────────────────────────╮
00:24:54 verbose #51226 > │ () │
00:24:54 verbose #51227 > │ │
00:24:54 verbose #51228 > │ │
00:24:54 verbose #51229 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:54 verbose #51230 >
00:24:54 verbose #51231 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:54 verbose #51232 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:54 verbose #51233 > │ ## new_request_post │
00:24:54 verbose #51234 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:54 verbose #51235 >
00:24:54 verbose #51236 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:54 verbose #51237 > inl new_request_post (url : string) : request_builder =
00:24:54 verbose #51238 > inl url = join url
00:24:54 verbose #51239 > inl url = url |> sm'.to_std_string
00:24:54 verbose #51240 > inl url = join url
00:24:54 verbose #51241 > !\($'"reqwest_wasm::Client::builder().build().map_err(|err|
00:24:54 verbose #51242 > err.to_string())?.post(!url)"')
00:24:55 verbose #51243 > 00:24:54 debug #880 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b8f82442b4f63ce6ec8332b2436a1c98ce65849414a03d29e1cb69c3d0c84d60/main.spi
00:24:55 verbose #51244 >
00:24:55 verbose #51245 > ╭─[ 660.22ms - stdout ]────────────────────────────────────────────────────────╮
00:24:55 verbose #51246 > │ () │
00:24:55 verbose #51247 > │ │
00:24:55 verbose #51248 > │ │
00:24:55 verbose #51249 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:55 verbose #51250 >
00:24:55 verbose #51251 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:55 verbose #51252 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:55 verbose #51253 > │ ## request_send │
00:24:55 verbose #51254 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:55 verbose #51255 >
00:24:55 verbose #51256 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:55 verbose #51257 > inl request_send (request : request_builder) : async.future_pin (resultm.result'
00:24:55 verbose #51258 > reqwest_response reqwest_error) =
00:24:55 verbose #51259 > inl request = join request
00:24:55 verbose #51260 > !\($'"Box::pin(reqwest_wasm::RequestBuilder::send(!request))"')
00:24:56 verbose #51261 > 00:24:55 debug #881 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8098b3fe52b6b17656e48c363d7408a2db7a723102872b29f8d756c625fa4269/main.spi
00:24:56 verbose #51262 >
00:24:56 verbose #51263 > ╭─[ 645.95ms - stdout ]────────────────────────────────────────────────────────╮
00:24:56 verbose #51264 > │ () │
00:24:56 verbose #51265 > │ │
00:24:56 verbose #51266 > │ │
00:24:56 verbose #51267 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:56 verbose #51268 >
00:24:56 verbose #51269 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:56 verbose #51270 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:56 verbose #51271 > │ ## request_body │
00:24:56 verbose #51272 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:56 verbose #51273 >
00:24:56 verbose #51274 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:56 verbose #51275 > inl request_body (body : string) (request : request_builder) : request_builder =
00:24:56 verbose #51276 > inl body = body |> sm'.to_std_string
00:24:56 verbose #51277 > !\($'"reqwest_wasm::RequestBuilder::body(!request, !body)"')
00:24:56 verbose #51278 > 00:24:55 debug #882 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/846213189945aefc56a700d18bf230f2f4f50ccd7c32de22b459fe8afbd5b67d/main.spi
00:24:56 verbose #51279 >
00:24:56 verbose #51280 > ╭─[ 639.19ms - stdout ]────────────────────────────────────────────────────────╮
00:24:56 verbose #51281 > │ () │
00:24:56 verbose #51282 > │ │
00:24:56 verbose #51283 > │ │
00:24:56 verbose #51284 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:56 verbose #51285 >
00:24:56 verbose #51286 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:56 verbose #51287 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:56 verbose #51288 > │ ## request_header │
00:24:56 verbose #51289 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:56 verbose #51290 >
00:24:56 verbose #51291 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:56 verbose #51292 > inl request_header (key : string) (value : string) (request : request_builder) :
00:24:56 verbose #51293 > request_builder =
00:24:56 verbose #51294 > inl request = join request
00:24:56 verbose #51295 > inl key = key |> sm'.to_std_string
00:24:56 verbose #51296 > inl value = value |> sm'.to_std_string
00:24:56 verbose #51297 > !\($'"reqwest_wasm::RequestBuilder::header(!request, !key, !value)"')
00:24:57 verbose #51298 > 00:24:56 debug #883 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d4b73ce866629063c1c9ad8d89ba3084be40173aa5c4d66e2ddc9509f557f2f4/main.spi
00:24:57 verbose #51299 >
00:24:57 verbose #51300 > ╭─[ 660.39ms - stdout ]────────────────────────────────────────────────────────╮
00:24:57 verbose #51301 > │ () │
00:24:57 verbose #51302 > │ │
00:24:57 verbose #51303 > │ │
00:24:57 verbose #51304 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:57 verbose #51305 >
00:24:57 verbose #51306 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:57 verbose #51307 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:57 verbose #51308 > │ ## request_json │
00:24:57 verbose #51309 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:57 verbose #51310 >
00:24:57 verbose #51311 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:57 verbose #51312 > inl request_json forall t. (obj : t) (request : request_builder) :
00:24:57 verbose #51313 > request_builder =
00:24:57 verbose #51314 > !\($'"reqwest_wasm::RequestBuilder::json(!request, &!obj)"')
00:24:58 verbose #51315 > 00:24:57 debug #884 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e01b09002f240f9efe0cb13d7fb3454de291c324c76789a3d33917cf9707269f/main.spi
00:24:58 verbose #51316 >
00:24:58 verbose #51317 > ╭─[ 649.92ms - stdout ]────────────────────────────────────────────────────────╮
00:24:58 verbose #51318 > │ () │
00:24:58 verbose #51319 > │ │
00:24:58 verbose #51320 > │ │
00:24:58 verbose #51321 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:58 verbose #51322 >
00:24:58 verbose #51323 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:58 verbose #51324 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:58 verbose #51325 > │ ## response_text │
00:24:58 verbose #51326 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:58 verbose #51327 >
00:24:58 verbose #51328 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:58 verbose #51329 > inl response_text (response : reqwest_response) : async.future_pin
00:24:58 verbose #51330 > (resultm.result' sm'.std_string reqwest_error) =
00:24:58 verbose #51331 > !\($'"Box::pin(reqwest_wasm::Response::text(!response))"')
00:24:58 verbose #51332 > 00:24:57 debug #885 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/970884c18e662a411507ebe4efb5692f2c829d5ac30b47d9c6ac953a1b8b1dbe/main.spi
00:24:58 verbose #51333 >
00:24:58 verbose #51334 > ╭─[ 649.59ms - stdout ]────────────────────────────────────────────────────────╮
00:24:58 verbose #51335 > │ () │
00:24:58 verbose #51336 > │ │
00:24:58 verbose #51337 > │ │
00:24:58 verbose #51338 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:58 verbose #51339 >
00:24:58 verbose #51340 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:58 verbose #51341 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:58 verbose #51342 > │ ## tcp_client │
00:24:58 verbose #51343 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:58 verbose #51344 >
00:24:58 verbose #51345 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:58 verbose #51346 > nominal tcp_client = $'System.Net.Sockets.TcpClient'
00:24:59 verbose #51347 > 00:24:58 debug #886 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5ef4f09b7c4472f73962f938d47ab859a98a92bdbd9137285aab7c056483d46a/main.spi
00:24:59 verbose #51348 >
00:24:59 verbose #51349 > ╭─[ 631.53ms - stdout ]────────────────────────────────────────────────────────╮
00:24:59 verbose #51350 > │ () │
00:24:59 verbose #51351 > │ │
00:24:59 verbose #51352 > │ │
00:24:59 verbose #51353 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:59 verbose #51354 >
00:24:59 verbose #51355 > ── markdown ────────────────────────────────────────────────────────────────────
00:24:59 verbose #51356 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:24:59 verbose #51357 > │ ## new_tcp_client │
00:24:59 verbose #51358 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:24:59 verbose #51359 >
00:24:59 verbose #51360 > ── spiral ──────────────────────────────────────────────────────────────────────
00:24:59 verbose #51361 > inl new_tcp_client () : tcp_client =
00:24:59 verbose #51362 > $'new `tcp_client ()'
00:25:00 verbose #51363 > 00:24:59 debug #887 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/79398fdd44a581b415ad96c0d2ad14094be7bc65eb2998c1be10e68ae4d38613/main.spi
00:25:00 verbose #51364 >
00:25:00 verbose #51365 > ╭─[ 621.38ms - stdout ]────────────────────────────────────────────────────────╮
00:25:00 verbose #51366 > │ () │
00:25:00 verbose #51367 > │ │
00:25:00 verbose #51368 > │ │
00:25:00 verbose #51369 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:00 verbose #51370 >
00:25:00 verbose #51371 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:00 verbose #51372 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:00 verbose #51373 > │ ## ip_address │
00:25:00 verbose #51374 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:00 verbose #51375 >
00:25:00 verbose #51376 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:00 verbose #51377 > nominal ip_address = $'System.Net.IPAddress'
00:25:00 verbose #51378 > 00:24:59 debug #888 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/545ff55512b8cbb8e753a175d7ff9aaefbccdefafa9297f4f2d8beaad30972f3/main.spi
00:25:00 verbose #51379 >
00:25:00 verbose #51380 > ╭─[ 649.14ms - stdout ]────────────────────────────────────────────────────────╮
00:25:00 verbose #51381 > │ () │
00:25:00 verbose #51382 > │ │
00:25:00 verbose #51383 > │ │
00:25:00 verbose #51384 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:00 verbose #51385 >
00:25:00 verbose #51386 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:00 verbose #51387 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:00 verbose #51388 > │ ## ip_address_parse │
00:25:00 verbose #51389 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:00 verbose #51390 >
00:25:00 verbose #51391 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:00 verbose #51392 > inl ip_address_parse (s : string) : ip_address =
00:25:00 verbose #51393 > s |> $'`ip_address.Parse'
00:25:01 verbose #51394 > 00:25:00 debug #889 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8da931cab723a1725e6e6d62ad9f2df4ed19eeb29653d052df472a09c67b3655/main.spi
00:25:01 verbose #51395 >
00:25:01 verbose #51396 > ╭─[ 714.48ms - stdout ]────────────────────────────────────────────────────────╮
00:25:01 verbose #51397 > │ () │
00:25:01 verbose #51398 > │ │
00:25:01 verbose #51399 > │ │
00:25:01 verbose #51400 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:01 verbose #51401 >
00:25:01 verbose #51402 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:01 verbose #51403 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:01 verbose #51404 > │ ## tcp_listener │
00:25:01 verbose #51405 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:01 verbose #51406 >
00:25:01 verbose #51407 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:01 verbose #51408 > nominal tcp_listener = $'System.Net.Sockets.TcpListener'
00:25:02 verbose #51409 > 00:25:01 debug #890 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/58a2b30c8d17b7ff746c59e1f6375f5ea4e3af164e475f0df45d6cd373d2bd09/main.spi
00:25:02 verbose #51410 >
00:25:02 verbose #51411 > ╭─[ 639.34ms - stdout ]────────────────────────────────────────────────────────╮
00:25:02 verbose #51412 > │ () │
00:25:02 verbose #51413 > │ │
00:25:02 verbose #51414 > │ │
00:25:02 verbose #51415 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:02 verbose #51416 >
00:25:02 verbose #51417 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:02 verbose #51418 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:02 verbose #51419 > │ ## new_tcp_listener │
00:25:02 verbose #51420 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:02 verbose #51421 >
00:25:02 verbose #51422 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:02 verbose #51423 > inl new_tcp_listener (ip_address : ip_address) (port : i32) : tcp_listener =
00:25:02 verbose #51424 > $'new `tcp_listener (!ip_address, !port)'
00:25:02 verbose #51425 > 00:25:01 debug #891 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/434166727e4f64e879afe525df8e2a3bf4e6b378b3169f1ca437293ed1f966b0/main.spi
00:25:02 verbose #51426 >
00:25:02 verbose #51427 > ╭─[ 660.28ms - stdout ]────────────────────────────────────────────────────────╮
00:25:02 verbose #51428 > │ () │
00:25:02 verbose #51429 > │ │
00:25:02 verbose #51430 > │ │
00:25:02 verbose #51431 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:02 verbose #51432 >
00:25:02 verbose #51433 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:02 verbose #51434 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:02 verbose #51435 > │ ## listener_start │
00:25:02 verbose #51436 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:02 verbose #51437 >
00:25:02 verbose #51438 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:02 verbose #51439 > inl listener_start (listener : tcp_listener) : () =
00:25:02 verbose #51440 > $'!listener.Start' ()
00:25:03 verbose #51441 > 00:25:02 debug #892 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3c9c6919a1eb9b5198dd295e449274d0b9d3b4aef86462341f5c7d98de47c809/main.spi
00:25:03 verbose #51442 >
00:25:03 verbose #51443 > ╭─[ 612.76ms - stdout ]────────────────────────────────────────────────────────╮
00:25:03 verbose #51444 > │ () │
00:25:03 verbose #51445 > │ │
00:25:03 verbose #51446 > │ │
00:25:03 verbose #51447 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:03 verbose #51448 >
00:25:03 verbose #51449 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:03 verbose #51450 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:03 verbose #51451 > │ ## listener_stop │
00:25:03 verbose #51452 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:03 verbose #51453 >
00:25:03 verbose #51454 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:03 verbose #51455 > inl listener_stop (listener : tcp_listener) : () =
00:25:03 verbose #51456 > $'!listener.Stop' ()
00:25:03 verbose #51457 > 00:25:02 debug #893 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/727a6a7c9bacffb8d19e27919f6eb50e95855c2232554781df34f55a906f49f6/main.spi
00:25:04 verbose #51458 >
00:25:04 verbose #51459 > ╭─[ 657.84ms - stdout ]────────────────────────────────────────────────────────╮
00:25:04 verbose #51460 > │ () │
00:25:04 verbose #51461 > │ │
00:25:04 verbose #51462 > │ │
00:25:04 verbose #51463 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:04 verbose #51464 >
00:25:04 verbose #51465 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:04 verbose #51466 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:04 verbose #51467 > │ ## client_connect_async │
00:25:04 verbose #51468 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:04 verbose #51469 >
00:25:04 verbose #51470 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:04 verbose #51471 > inl client_connect_async
00:25:04 verbose #51472 > (host : string)
00:25:04 verbose #51473 > (port : i32)
00:25:04 verbose #51474 > (ct : threading.cancellation_token)
00:25:04 verbose #51475 > (client : tcp_client)
00:25:04 verbose #51476 > : async.value_task
00:25:04 verbose #51477 > =
00:25:04 verbose #51478 > $'!client.ConnectAsync (!host, !port, !ct)'
00:25:04 verbose #51479 > 00:25:03 debug #894 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2724470b35a06a24a3aa94e8341c8271bb7be4f4dd38e1483e93e4af150f68b1/main.spi
00:25:04 verbose #51480 >
00:25:04 verbose #51481 > ╭─[ 703.97ms - stdout ]────────────────────────────────────────────────────────╮
00:25:04 verbose #51482 > │ () │
00:25:04 verbose #51483 > │ │
00:25:04 verbose #51484 > │ │
00:25:04 verbose #51485 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:04 verbose #51486 >
00:25:04 verbose #51487 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:04 verbose #51488 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:04 verbose #51489 > │ ## test_port_open │
00:25:04 verbose #51490 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:04 verbose #51491 >
00:25:04 verbose #51492 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:04 verbose #51493 > inl test_port_open port : _ bool = async.new_async fun () =>
00:25:04 verbose #51494 > inl ct = async.cancellation_token () |> async.let'
00:25:04 verbose #51495 > inl client = new_tcp_client () |> use
00:25:04 verbose #51496 > try_unit
00:25:04 verbose #51497 > fun () =>
00:25:04 verbose #51498 > client |> client_connect_async "127.0.0.1" port ct |>
00:25:04 verbose #51499 > async.await_value_task_unit |> async.do
00:25:04 verbose #51500 > return true
00:25:04 verbose #51501 > fun ex =>
00:25:04 verbose #51502 > inl ex = ex |> sm'.format_exception
00:25:04 verbose #51503 > trace Verbose (fun () => $'$"test_port_open / ex: {!ex}"') _locals
00:25:04 verbose #51504 > return false
00:25:05 verbose #51505 > 00:25:04 debug #895 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/750f65a827649c3b1336d0d74e9f0287be27ec40130f55fb672899bfb634843f/main.spi
00:25:05 verbose #51506 >
00:25:05 verbose #51507 > ╭─[ 840.09ms - stdout ]────────────────────────────────────────────────────────╮
00:25:05 verbose #51508 > │ () │
00:25:05 verbose #51509 > │ │
00:25:05 verbose #51510 > │ │
00:25:05 verbose #51511 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:05 verbose #51512 >
00:25:05 verbose #51513 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:05 verbose #51514 > //// test
00:25:05 verbose #51515 >
00:25:05 verbose #51516 > test_port_open 65536
00:25:05 verbose #51517 > |> async.run_with_timeout 120
00:25:05 verbose #51518 > |> _assert_eq (Some false)
00:25:06 verbose #51519 > 00:25:05 debug #896 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/314beb5cf3146ed9b183a53c87be93c0aee2a44783252c62969651dc58ac0601/main.spi
00:25:08 verbose #51520 >
00:25:08 verbose #51521 > ╭─[ 2.91s - stdout ]───────────────────────────────────────────────────────────╮
00:25:08 verbose #51522 > │ module State = let mutable trace_state = None │
00:25:08 verbose #51523 > │ type [<Struct>] US0 = │
00:25:08 verbose #51524 > │ | US0_0 │
00:25:08 verbose #51525 > │ | US0_1 │
00:25:08 verbose #51526 > │ | US0_2 │
00:25:08 verbose #51527 > │ | US0_3 │
00:25:08 verbose #51528 > │ | US0_4 │
00:25:08 verbose #51529 > │ and Mut0 = {mutable l0 : int64} │
00:25:08 verbose #51530 > │ and Mut1 = {mutable l0 : bool} │
00:25:08 verbose #51531 > │ and Mut2 = {mutable l0 : US0} │
00:25:08 verbose #51532 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:08 verbose #51533 > │ and [<Struct>] US1 = │
00:25:08 verbose #51534 > │ | US1_0 of f0_0 : int64 │
00:25:08 verbose #51535 > │ | US1_1 │
00:25:08 verbose #51536 > │ and [<Struct>] US2 = │
00:25:08 verbose #51537 > │ | US2_0 of f0_0 : int64 │
00:25:08 verbose #51538 > │ | US2_1 │
00:25:08 verbose #51539 > │ and [<Struct>] US3 = │
00:25:08 verbose #51540 > │ | US3_0 of f0_0 : bool │
00:25:08 verbose #51541 > │ | US3_1 │
00:25:08 verbose #51542 > │ and [<Struct>] US4 = │
00:25:08 verbose #51543 > │ | US4_0 of f0_0 : bool │
00:25:08 verbose #51544 > │ | US4_1 of f1_0 : exn │
00:25:08 verbose #51545 > │ and [<Struct>] US5 = │
00:25:08 verbose #51546 > │ | US5_0 of f0_0 : bool │
00:25:08 verbose #51547 > │ | US5_1 of f1_0 : exn │
00:25:08 verbose #51548 > │ let rec closure0 (v0 : string) () : string = │
00:25:08 verbose #51549 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:08 verbose #51550 > │ v1 │
00:25:08 verbose #51551 > │ and closure1 () () : string = │
00:25:08 verbose #51552 > │ let v0 : string = "" │
00:25:08 verbose #51553 > │ v0 │
00:25:08 verbose #51554 > │ and closure4 () (v0 : string) : unit = │
00:25:08 verbose #51555 > │ () │
00:25:08 verbose #51556 > │ and method2 (v0 : int64 option) : int64 option = │
00:25:08 verbose #51557 > │ v0 │
00:25:08 verbose #51558 > │ and method3 (v0 : int64 option) : int64 option = │
00:25:08 verbose #51559 > │ v0 │
00:25:08 verbose #51560 > │ and closure3 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:08 verbose #51561 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:08 verbose #51562 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:08 verbose #51563 > │ let v2 : US0 = US0_0 │
00:25:08 verbose #51564 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:08 verbose #51565 > │ let v4 : (string -> unit) = closure4() │
00:25:08 verbose #51566 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:08 verbose #51567 > │ let v6 : int64 option option = None │
00:25:08 verbose #51568 > │ let mutable _v6 = v6 │
00:25:08 verbose #51569 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:08 verbose #51570 > │ let v7 : string option = None │
00:25:08 verbose #51571 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:08 verbose #51572 > │ │
00:25:08 verbose #51573 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #51574 > │ │
00:25:08 verbose #51575 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #51576 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:08 verbose #51577 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:08 verbose #51578 > │ v10 │
00:25:08 verbose #51579 > │ #endif │
00:25:08 verbose #51580 > │ │
00:25:08 verbose #51581 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #51582 > │ let v11 : string = null |> unbox<string> │
00:25:08 verbose #51583 > │ v11 │
00:25:08 verbose #51584 > │ #endif │
00:25:08 verbose #51585 > │ │
00:25:08 verbose #51586 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #51587 > │ let v12 : string = null |> unbox<string> │
00:25:08 verbose #51588 > │ v12 │
00:25:08 verbose #51589 > │ #endif │
00:25:08 verbose #51590 > │ │
00:25:08 verbose #51591 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #51592 > │ let v13 : string = null |> unbox<string> │
00:25:08 verbose #51593 > │ v13 │
00:25:08 verbose #51594 > │ #endif │
00:25:08 verbose #51595 > │ │
00:25:08 verbose #51596 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #51597 > │ let v14 : string = null |> unbox<string> │
00:25:08 verbose #51598 > │ v14 │
00:25:08 verbose #51599 > │ #endif │
00:25:08 verbose #51600 > │ │
00:25:08 verbose #51601 > │ #else │
00:25:08 verbose #51602 > │ let v15 : string = │
00:25:08 verbose #51603 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:08 verbose #51604 > │ v15 │
00:25:08 verbose #51605 > │ #endif │
00:25:08 verbose #51606 > │ |> fun x -> _v7 <- Some x │
00:25:08 verbose #51607 > │ let v16 : string = _v7.Value │
00:25:08 verbose #51608 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:08 verbose #51609 > │ let v19 : bool = v18 <> true │
00:25:08 verbose #51610 > │ let v25 : US1 = │
00:25:08 verbose #51611 > │ if v19 then │
00:25:08 verbose #51612 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:08 verbose #51613 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:08 verbose #51614 > │ let v22 : int64 = v21 v20 │
00:25:08 verbose #51615 > │ US1_0(v22) │
00:25:08 verbose #51616 > │ else │
00:25:08 verbose #51617 > │ US1_1 │
00:25:08 verbose #51618 > │ let v30 : int64 option = │
00:25:08 verbose #51619 > │ match v25 with │
00:25:08 verbose #51620 > │ | US1_1 -> (* None *) │
00:25:08 verbose #51621 > │ let v28 : int64 option = None │
00:25:08 verbose #51622 > │ v28 │
00:25:08 verbose #51623 > │ | US1_0(v26) -> (* Some *) │
00:25:08 verbose #51624 > │ let v27 : int64 option = Some v26 │
00:25:08 verbose #51625 > │ v27 │
00:25:08 verbose #51626 > │ let v31 : int64 option = method2(v30) │
00:25:08 verbose #51627 > │ v31 │
00:25:08 verbose #51628 > │ #else │
00:25:08 verbose #51629 > │ let v32 : int64 option = None │
00:25:08 verbose #51630 > │ let v33 : int64 option = method3(v32) │
00:25:08 verbose #51631 > │ v33 │
00:25:08 verbose #51632 > │ #endif │
00:25:08 verbose #51633 > │ |> fun x -> _v6 <- Some x │
00:25:08 verbose #51634 > │ let v34 : int64 option = _v6.Value │
00:25:08 verbose #51635 > │ struct (v1, v0, v3, v34, v5) │
00:25:08 verbose #51636 > │ and closure5 () (v0 : int64) : US2 = │
00:25:08 verbose #51637 > │ US2_0(v0) │
00:25:08 verbose #51638 > │ and method4 () : (int64 -> US2) = │
00:25:08 verbose #51639 > │ closure5() │
00:25:08 verbose #51640 > │ and method5 () : string = │
00:25:08 verbose #51641 > │ let v0 : string = "" │
00:25:08 verbose #51642 > │ v0 │
00:25:08 verbose #51643 > │ and closure2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:08 verbose #51644 > │ string = │
00:25:08 verbose #51645 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:08 verbose #51646 > │ closure3() │
00:25:08 verbose #51647 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:08 verbose #51648 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:08 verbose #51649 > │ Mut3) = State.trace_state.Value │
00:25:08 verbose #51650 > │ let v9 : string option = None │
00:25:08 verbose #51651 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:08 verbose #51652 > │ │
00:25:08 verbose #51653 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #51654 > │ │
00:25:08 verbose #51655 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #51656 > │ let v11 : (int64 -> US2) = method4() │
00:25:08 verbose #51657 > │ let v12 : US2 = US2_1 │
00:25:08 verbose #51658 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:08 verbose #51659 > │ let v31 : System.DateTime = │
00:25:08 verbose #51660 > │ match v13 with │
00:25:08 verbose #51661 > │ | US2_1 -> (* None *) │
00:25:08 verbose #51662 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:08 verbose #51663 > │ v29 │
00:25:08 verbose #51664 > │ | US2_0(v14) -> (* Some *) │
00:25:08 verbose #51665 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:08 verbose #51666 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:08 verbose #51667 > │ let v17 : int64 = v16 v15 │
00:25:08 verbose #51668 > │ let v18 : int64 = v17 - v14 │
00:25:08 verbose #51669 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:08 verbose #51670 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:08 verbose #51671 > │ let v21 : int32 = v20 v19 │
00:25:08 verbose #51672 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:08 verbose #51673 > │ let v23 : int32 = v22 v19 │
00:25:08 verbose #51674 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:08 verbose #51675 > │ let v25 : int32 = v24 v19 │
00:25:08 verbose #51676 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:08 verbose #51677 > │ let v27 : int32 = v26 v19 │
00:25:08 verbose #51678 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:08 verbose #51679 > │ v25, v27) │
00:25:08 verbose #51680 > │ v28 │
00:25:08 verbose #51681 > │ let v32 : string = "hh:mm:ss" │
00:25:08 verbose #51682 > │ let v33 : string = v31.ToString v32 │
00:25:08 verbose #51683 > │ v33 │
00:25:08 verbose #51684 > │ #endif │
00:25:08 verbose #51685 > │ │
00:25:08 verbose #51686 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #51687 > │ let v34 : string = method5() │
00:25:08 verbose #51688 > │ v34 │
00:25:08 verbose #51689 > │ #endif │
00:25:08 verbose #51690 > │ │
00:25:08 verbose #51691 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #51692 > │ let v35 : string = method5() │
00:25:08 verbose #51693 > │ v35 │
00:25:08 verbose #51694 > │ #endif │
00:25:08 verbose #51695 > │ │
00:25:08 verbose #51696 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #51697 > │ let v36 : string = method5() │
00:25:08 verbose #51698 > │ v36 │
00:25:08 verbose #51699 > │ #endif │
00:25:08 verbose #51700 > │ │
00:25:08 verbose #51701 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #51702 > │ let v37 : string = method5() │
00:25:08 verbose #51703 > │ v37 │
00:25:08 verbose #51704 > │ #endif │
00:25:08 verbose #51705 > │ │
00:25:08 verbose #51706 > │ #else │
00:25:08 verbose #51707 > │ let v38 : (int64 -> US2) = method4() │
00:25:08 verbose #51708 > │ let v39 : US2 = US2_1 │
00:25:08 verbose #51709 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:08 verbose #51710 > │ let v58 : System.DateTime = │
00:25:08 verbose #51711 > │ match v40 with │
00:25:08 verbose #51712 > │ | US2_1 -> (* None *) │
00:25:08 verbose #51713 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:08 verbose #51714 > │ v56 │
00:25:08 verbose #51715 > │ | US2_0(v41) -> (* Some *) │
00:25:08 verbose #51716 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:08 verbose #51717 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:08 verbose #51718 > │ let v44 : int64 = v43 v42 │
00:25:08 verbose #51719 > │ let v45 : int64 = v44 - v41 │
00:25:08 verbose #51720 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:08 verbose #51721 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:08 verbose #51722 > │ let v48 : int32 = v47 v46 │
00:25:08 verbose #51723 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:08 verbose #51724 > │ let v50 : int32 = v49 v46 │
00:25:08 verbose #51725 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:08 verbose #51726 > │ let v52 : int32 = v51 v46 │
00:25:08 verbose #51727 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:08 verbose #51728 > │ let v54 : int32 = v53 v46 │
00:25:08 verbose #51729 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:08 verbose #51730 > │ v52, v54) │
00:25:08 verbose #51731 > │ v55 │
00:25:08 verbose #51732 > │ let v59 : string = "HH:mm:ss" │
00:25:08 verbose #51733 > │ let v60 : string = v58.ToString v59 │
00:25:08 verbose #51734 > │ v60 │
00:25:08 verbose #51735 > │ #endif │
00:25:08 verbose #51736 > │ |> fun x -> _v9 <- Some x │
00:25:08 verbose #51737 > │ let v61 : string = _v9.Value │
00:25:08 verbose #51738 > │ let v62 : int64 = v4.l0 │
00:25:08 verbose #51739 > │ let v72 : string = │
00:25:08 verbose #51740 > │ match v0 with │
00:25:08 verbose #51741 > │ | US0_4 -> (* Critical *) │
00:25:08 verbose #51742 > │ let v67 : string = "Critical" │
00:25:08 verbose #51743 > │ v67 │
00:25:08 verbose #51744 > │ | US0_1 -> (* Debug *) │
00:25:08 verbose #51745 > │ let v64 : string = "Debug" │
00:25:08 verbose #51746 > │ v64 │
00:25:08 verbose #51747 > │ | US0_2 -> (* Info *) │
00:25:08 verbose #51748 > │ let v65 : string = "Info" │
00:25:08 verbose #51749 > │ v65 │
00:25:08 verbose #51750 > │ | US0_0 -> (* Verbose *) │
00:25:08 verbose #51751 > │ let v63 : string = "Verbose" │
00:25:08 verbose #51752 > │ v63 │
00:25:08 verbose #51753 > │ | US0_3 -> (* Warning *) │
00:25:08 verbose #51754 > │ let v66 : string = "Warning" │
00:25:08 verbose #51755 > │ v66 │
00:25:08 verbose #51756 > │ let v73 : string = v72.ToLower () │
00:25:08 verbose #51757 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:08 verbose #51758 > │ let v75 : string option = None │
00:25:08 verbose #51759 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:08 verbose #51760 > │ │
00:25:08 verbose #51761 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #51762 > │ │
00:25:08 verbose #51763 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #51764 > │ let v91 : Ref<Str> = │
00:25:08 verbose #51765 > │ match v0 with │
00:25:08 verbose #51766 > │ | US0_4 -> (* Critical *) │
00:25:08 verbose #51767 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:08 verbose #51768 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:08 verbose #51769 > │ v86 │
00:25:08 verbose #51770 > │ | US0_1 -> (* Debug *) │
00:25:08 verbose #51771 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:08 verbose #51772 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:08 verbose #51773 > │ v80 │
00:25:08 verbose #51774 > │ | US0_2 -> (* Info *) │
00:25:08 verbose #51775 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:08 verbose #51776 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:08 verbose #51777 > │ v82 │
00:25:08 verbose #51778 > │ | US0_0 -> (* Verbose *) │
00:25:08 verbose #51779 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:08 verbose #51780 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:08 verbose #51781 > │ v78 │
00:25:08 verbose #51782 > │ | US0_3 -> (* Warning *) │
00:25:08 verbose #51783 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:08 verbose #51784 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:08 verbose #51785 > │ v84 │
00:25:08 verbose #51786 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:08 verbose #51787 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:08 verbose #51788 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:08 verbose #51789 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:08 verbose #51790 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:08 verbose #51791 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:08 verbose #51792 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:08 verbose #51793 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:08 verbose #51794 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:08 verbose #51795 > │ v100 │
00:25:08 verbose #51796 > │ #endif │
00:25:08 verbose #51797 > │ │
00:25:08 verbose #51798 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #51799 > │ let v115 : Ref<Str> = │
00:25:08 verbose #51800 > │ match v0 with │
00:25:08 verbose #51801 > │ | US0_4 -> (* Critical *) │
00:25:08 verbose #51802 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:08 verbose #51803 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51804 > │ v109 │
00:25:08 verbose #51805 > │ v110 │
00:25:08 verbose #51806 > │ | US0_1 -> (* Debug *) │
00:25:08 verbose #51807 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:08 verbose #51808 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51809 > │ v103 │
00:25:08 verbose #51810 > │ v104 │
00:25:08 verbose #51811 > │ | US0_2 -> (* Info *) │
00:25:08 verbose #51812 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:08 verbose #51813 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51814 > │ v105 │
00:25:08 verbose #51815 > │ v106 │
00:25:08 verbose #51816 > │ | US0_0 -> (* Verbose *) │
00:25:08 verbose #51817 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:08 verbose #51818 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51819 > │ v101 │
00:25:08 verbose #51820 > │ v102 │
00:25:08 verbose #51821 > │ | US0_3 -> (* Warning *) │
00:25:08 verbose #51822 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:08 verbose #51823 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51824 > │ v107 │
00:25:08 verbose #51825 > │ v108 │
00:25:08 verbose #51826 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:08 verbose #51827 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:08 verbose #51828 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:08 verbose #51829 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:08 verbose #51830 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:08 verbose #51831 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:08 verbose #51832 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51833 > │ v121 │
00:25:08 verbose #51834 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:08 verbose #51835 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:08 verbose #51836 > │ v124 │
00:25:08 verbose #51837 > │ #endif │
00:25:08 verbose #51838 > │ │
00:25:08 verbose #51839 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #51840 > │ let v139 : Ref<Str> = │
00:25:08 verbose #51841 > │ match v0 with │
00:25:08 verbose #51842 > │ | US0_4 -> (* Critical *) │
00:25:08 verbose #51843 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:08 verbose #51844 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51845 > │ v133 │
00:25:08 verbose #51846 > │ v134 │
00:25:08 verbose #51847 > │ | US0_1 -> (* Debug *) │
00:25:08 verbose #51848 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:08 verbose #51849 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51850 > │ v127 │
00:25:08 verbose #51851 > │ v128 │
00:25:08 verbose #51852 > │ | US0_2 -> (* Info *) │
00:25:08 verbose #51853 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:08 verbose #51854 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51855 > │ v129 │
00:25:08 verbose #51856 > │ v130 │
00:25:08 verbose #51857 > │ | US0_0 -> (* Verbose *) │
00:25:08 verbose #51858 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:08 verbose #51859 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51860 > │ v125 │
00:25:08 verbose #51861 > │ v126 │
00:25:08 verbose #51862 > │ | US0_3 -> (* Warning *) │
00:25:08 verbose #51863 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:08 verbose #51864 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51865 > │ v131 │
00:25:08 verbose #51866 > │ v132 │
00:25:08 verbose #51867 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:08 verbose #51868 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:08 verbose #51869 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:08 verbose #51870 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:08 verbose #51871 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:08 verbose #51872 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:08 verbose #51873 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:08 verbose #51874 > │ v145 │
00:25:08 verbose #51875 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:08 verbose #51876 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:08 verbose #51877 > │ v148 │
00:25:08 verbose #51878 > │ #endif │
00:25:08 verbose #51879 > │ │
00:25:08 verbose #51880 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #51881 > │ v74 │
00:25:08 verbose #51882 > │ #endif │
00:25:08 verbose #51883 > │ │
00:25:08 verbose #51884 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #51885 > │ v74 │
00:25:08 verbose #51886 > │ #endif │
00:25:08 verbose #51887 > │ │
00:25:08 verbose #51888 > │ #else │
00:25:08 verbose #51889 > │ v74 │
00:25:08 verbose #51890 > │ #endif │
00:25:08 verbose #51891 > │ |> fun x -> _v75 <- Some x │
00:25:08 verbose #51892 > │ let v149 : string = _v75.Value │
00:25:08 verbose #51893 > │ let v150 : string = v1 () │
00:25:08 verbose #51894 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:08 verbose #51895 > │ let v152 : (char []) = [||] │
00:25:08 verbose #51896 > │ let v153 : string = v151.TrimStart v152 │
00:25:08 verbose #51897 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:08 verbose #51898 > │ let v155 : string = v153.TrimEnd v154 │
00:25:08 verbose #51899 > │ v155 │
00:25:08 verbose #51900 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:08 verbose #51901 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:08 verbose #51902 > │ closure3() │
00:25:08 verbose #51903 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:08 verbose #51904 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:08 verbose #51905 > │ Mut3) = State.trace_state.Value │
00:25:08 verbose #51906 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:08 verbose #51907 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:08 verbose #51908 > │ Mut3) = State.trace_state.Value │
00:25:08 verbose #51909 > │ let v13 : US0 = v10.l0 │
00:25:08 verbose #51910 > │ let v14 : bool = v9.l0 │
00:25:08 verbose #51911 > │ let v15 : bool = v14 = false │
00:25:08 verbose #51912 > │ let v19 : bool = │
00:25:08 verbose #51913 > │ if v15 then │
00:25:08 verbose #51914 > │ false │
00:25:08 verbose #51915 > │ else │
00:25:08 verbose #51916 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:08 verbose #51917 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:08 verbose #51918 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:08 verbose #51919 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:08 verbose #51920 > │ let v18 : bool = v16 >= v17 │
00:25:08 verbose #51921 > │ v18 │
00:25:08 verbose #51922 > │ if v19 then │
00:25:08 verbose #51923 > │ let v20 : int64 = v3.l0 │
00:25:08 verbose #51924 > │ let v21 : int64 = v20 + 1L │
00:25:08 verbose #51925 > │ v3.l0 <- v21 │
00:25:08 verbose #51926 > │ let v22 : string = $"%s{v1 ()}" │
00:25:08 verbose #51927 > │ let v23 : unit option = None │
00:25:08 verbose #51928 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:08 verbose #51929 > │ │
00:25:08 verbose #51930 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #51931 > │ │
00:25:08 verbose #51932 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #51933 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:08 verbose #51934 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:08 verbose #51935 > │ () │
00:25:08 verbose #51936 > │ #endif │
00:25:08 verbose #51937 > │ │
00:25:08 verbose #51938 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #51939 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:08 verbose #51940 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:08 verbose #51941 > │ () │
00:25:08 verbose #51942 > │ #endif │
00:25:08 verbose #51943 > │ │
00:25:08 verbose #51944 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #51945 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:08 verbose #51946 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:08 verbose #51947 > │ () │
00:25:08 verbose #51948 > │ #endif │
00:25:08 verbose #51949 > │ │
00:25:08 verbose #51950 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #51951 > │ System.Console.WriteLine v22 │
00:25:08 verbose #51952 > │ () │
00:25:08 verbose #51953 > │ #endif │
00:25:08 verbose #51954 > │ │
00:25:08 verbose #51955 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #51956 > │ System.Console.WriteLine v22 │
00:25:08 verbose #51957 > │ () │
00:25:08 verbose #51958 > │ #endif │
00:25:08 verbose #51959 > │ │
00:25:08 verbose #51960 > │ #else │
00:25:08 verbose #51961 > │ System.Console.WriteLine v22 │
00:25:08 verbose #51962 > │ () │
00:25:08 verbose #51963 > │ #endif │
00:25:08 verbose #51964 > │ |> fun x -> _v23 <- Some x │
00:25:08 verbose #51965 > │ _v23.Value │
00:25:08 verbose #51966 > │ let v28 : (string -> unit) = v7.l0 │
00:25:08 verbose #51967 > │ v28 v22 │
00:25:08 verbose #51968 > │ and method1 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:08 verbose #51969 > │ = │
00:25:08 verbose #51970 > │ let v3 : (unit -> string) = closure2(v0, v1, v2) │
00:25:08 verbose #51971 > │ method6(v0, v3) │
00:25:08 verbose #51972 > │ and closure6 () (v0 : bool) : US4 = │
00:25:08 verbose #51973 > │ US4_0(v0) │
00:25:08 verbose #51974 > │ and closure7 () (v0 : exn) : US4 = │
00:25:08 verbose #51975 > │ US4_1(v0) │
00:25:08 verbose #51976 > │ and closure8 () () : string = │
00:25:08 verbose #51977 > │ let v0 : string = "run_with_timeout_async" │
00:25:08 verbose #51978 > │ v0 │
00:25:08 verbose #51979 > │ and closure9 () () : string = │
00:25:08 verbose #51980 > │ let v0 : (unit -> string) = closure1() │
00:25:08 verbose #51981 > │ let v1 : string = $"timeout: {120} / {v0 ()}" │
00:25:08 verbose #51982 > │ v1 │
00:25:08 verbose #51983 > │ and closure10 (v0 : string) () : string = │
00:25:08 verbose #51984 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:08 verbose #51985 > │ v1 │
00:25:08 verbose #51986 > │ and method7 (v0 : bool) : bool = │
00:25:08 verbose #51987 > │ v0 │
00:25:08 verbose #51988 > │ and method0 () : unit = │
00:25:08 verbose #51989 > │ let v0 : Async<bool> option = None │
00:25:08 verbose #51990 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:25:08 verbose #51991 > │ │
00:25:08 verbose #51992 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #51993 > │ │
00:25:08 verbose #51994 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #51995 > │ let v2 : Async<bool> = null |> unbox<Async<bool>> │
00:25:08 verbose #51996 > │ v2 │
00:25:08 verbose #51997 > │ #endif │
00:25:08 verbose #51998 > │ │
00:25:08 verbose #51999 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52000 > │ let v3 : Async<bool> = null |> unbox<Async<bool>> │
00:25:08 verbose #52001 > │ v3 │
00:25:08 verbose #52002 > │ #endif │
00:25:08 verbose #52003 > │ │
00:25:08 verbose #52004 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52005 > │ let v4 : Async<bool> = null |> unbox<Async<bool>> │
00:25:08 verbose #52006 > │ v4 │
00:25:08 verbose #52007 > │ #endif │
00:25:08 verbose #52008 > │ │
00:25:08 verbose #52009 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52010 > │ let v5 : Async<bool> = null |> unbox<Async<bool>> │
00:25:08 verbose #52011 > │ v5 │
00:25:08 verbose #52012 > │ #endif │
00:25:08 verbose #52013 > │ │
00:25:08 verbose #52014 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52015 > │ let v6 : Async<bool> = null |> unbox<Async<bool>> │
00:25:08 verbose #52016 > │ v6 │
00:25:08 verbose #52017 > │ #endif │
00:25:08 verbose #52018 > │ │
00:25:08 verbose #52019 > │ #else │
00:25:08 verbose #52020 > │ let v7 : Async<bool> option = None │
00:25:08 verbose #52021 > │ let mutable _v7 = v7 │
00:25:08 verbose #52022 > │ async { │
00:25:08 verbose #52023 > │ let v8 : Async<System.Threading.CancellationToken> = │
00:25:08 verbose #52024 > │ Async.CancellationToken │
00:25:08 verbose #52025 > │ let! v8 = v8 │
00:25:08 verbose #52026 > │ let v9 : System.Threading.CancellationToken = v8 │
00:25:08 verbose #52027 > │ let v10 : System.Net.Sockets.TcpClient = new │
00:25:08 verbose #52028 > │ System.Net.Sockets.TcpClient () │
00:25:08 verbose #52029 > │ use v10 = v10 │
00:25:08 verbose #52030 > │ let v11 : System.Net.Sockets.TcpClient = v10 │
00:25:08 verbose #52031 > │ try │
00:25:08 verbose #52032 > │ let v12 : string = "127.0.0.1" │
00:25:08 verbose #52033 > │ let v13 : System.Threading.Tasks.ValueTask = v11.ConnectAsync (v12, │
00:25:08 verbose #52034 > │ 65536, v9) │
00:25:08 verbose #52035 > │ let v14 : (unit -> System.Threading.Tasks.Task) = v13.AsTask │
00:25:08 verbose #52036 > │ let v15 : System.Threading.Tasks.Task = v14 () │
00:25:08 verbose #52037 > │ let v16 : Async<unit> option = None │
00:25:08 verbose #52038 > │ let v17 : bool = true in let mutable _v16 = v16 │
00:25:08 verbose #52039 > │ │
00:25:08 verbose #52040 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52041 > │ │
00:25:08 verbose #52042 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52043 > │ let v18 : Async<unit> = null |> unbox<Async<unit>> │
00:25:08 verbose #52044 > │ v18 │
00:25:08 verbose #52045 > │ #endif │
00:25:08 verbose #52046 > │ │
00:25:08 verbose #52047 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52048 > │ let v19 : Async<unit> = null |> unbox<Async<unit>> │
00:25:08 verbose #52049 > │ v19 │
00:25:08 verbose #52050 > │ #endif │
00:25:08 verbose #52051 > │ │
00:25:08 verbose #52052 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52053 > │ let v20 : Async<unit> = null |> unbox<Async<unit>> │
00:25:08 verbose #52054 > │ v20 │
00:25:08 verbose #52055 > │ #endif │
00:25:08 verbose #52056 > │ │
00:25:08 verbose #52057 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52058 > │ let v21 : Async<unit> = null |> unbox<Async<unit>> │
00:25:08 verbose #52059 > │ v21 │
00:25:08 verbose #52060 > │ #endif │
00:25:08 verbose #52061 > │ │
00:25:08 verbose #52062 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52063 > │ let v22 : Async<unit> = null |> unbox<Async<unit>> │
00:25:08 verbose #52064 > │ v22 │
00:25:08 verbose #52065 > │ #endif │
00:25:08 verbose #52066 > │ │
00:25:08 verbose #52067 > │ #else │
00:25:08 verbose #52068 > │ let v23 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask │
00:25:08 verbose #52069 > │ let v24 : Async<unit> = v23 v15 │
00:25:08 verbose #52070 > │ v24 │
00:25:08 verbose #52071 > │ #endif │
00:25:08 verbose #52072 > │ |> fun x -> _v16 <- Some x │
00:25:08 verbose #52073 > │ let v25 : Async<unit> = _v16.Value │
00:25:08 verbose #52074 > │ do! v25 │
00:25:08 verbose #52075 > │ return true │
00:25:08 verbose #52076 > │ with ex -> │
00:25:08 verbose #52077 > │ let v26 : exn = ex │
00:25:08 verbose #52078 > │ let v27 : string option = None │
00:25:08 verbose #52079 > │ let v28 : bool = true in let mutable _v27 = v27 │
00:25:08 verbose #52080 > │ │
00:25:08 verbose #52081 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52082 > │ │
00:25:08 verbose #52083 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52084 > │ let v29 : string = $"%A{v26}" │
00:25:08 verbose #52085 > │ v29 │
00:25:08 verbose #52086 > │ #endif │
00:25:08 verbose #52087 > │ │
00:25:08 verbose #52088 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52089 > │ let v30 : string = $"%A{v26}" │
00:25:08 verbose #52090 > │ v30 │
00:25:08 verbose #52091 > │ #endif │
00:25:08 verbose #52092 > │ │
00:25:08 verbose #52093 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52094 > │ let v31 : string = $"%A{v26}" │
00:25:08 verbose #52095 > │ v31 │
00:25:08 verbose #52096 > │ #endif │
00:25:08 verbose #52097 > │ │
00:25:08 verbose #52098 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52099 > │ let v32 : string = $"%A{v26}" │
00:25:08 verbose #52100 > │ v32 │
00:25:08 verbose #52101 > │ #endif │
00:25:08 verbose #52102 > │ │
00:25:08 verbose #52103 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52104 > │ let v33 : string = $"%A{v26}" │
00:25:08 verbose #52105 > │ v33 │
00:25:08 verbose #52106 > │ #endif │
00:25:08 verbose #52107 > │ │
00:25:08 verbose #52108 > │ #else │
00:25:08 verbose #52109 > │ let v34 : string = $"{v26.GetType ()}: {v26.Message}" │
00:25:08 verbose #52110 > │ v34 │
00:25:08 verbose #52111 > │ #endif │
00:25:08 verbose #52112 > │ |> fun x -> _v27 <- Some x │
00:25:08 verbose #52113 > │ let v35 : string = _v27.Value │
00:25:08 verbose #52114 > │ let v36 : US0 = US0_0 │
00:25:08 verbose #52115 > │ let v37 : (unit -> string) = closure0(v35) │
00:25:08 verbose #52116 > │ let v38 : (unit -> string) = closure1() │
00:25:08 verbose #52117 > │ method1(v36, v37, v38) │
00:25:08 verbose #52118 > │ return false │
00:25:08 verbose #52119 > │ (* │
00:25:08 verbose #52120 > │ let v39 : bool = *) │
00:25:08 verbose #52121 > │ } │
00:25:08 verbose #52122 > │ |> fun x -> _v7 <- Some x │
00:25:08 verbose #52123 > │ let v40 : Async<bool> = _v7 |> Option.get │
00:25:08 verbose #52124 > │ v40 │
00:25:08 verbose #52125 > │ #endif │
00:25:08 verbose #52126 > │ |> fun x -> _v0 <- Some x │
00:25:08 verbose #52127 > │ let v41 : Async<bool> = _v0.Value │
00:25:08 verbose #52128 > │ let v42 : Async<US3> option = None │
00:25:08 verbose #52129 > │ let v43 : bool = true in let mutable _v42 = v42 │
00:25:08 verbose #52130 > │ │
00:25:08 verbose #52131 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52132 > │ │
00:25:08 verbose #52133 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52134 > │ let v44 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52135 > │ v44 │
00:25:08 verbose #52136 > │ #endif │
00:25:08 verbose #52137 > │ │
00:25:08 verbose #52138 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52139 > │ let v45 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52140 > │ v45 │
00:25:08 verbose #52141 > │ #endif │
00:25:08 verbose #52142 > │ │
00:25:08 verbose #52143 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52144 > │ let v46 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52145 > │ v46 │
00:25:08 verbose #52146 > │ #endif │
00:25:08 verbose #52147 > │ │
00:25:08 verbose #52148 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52149 > │ let v47 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52150 > │ v47 │
00:25:08 verbose #52151 > │ #endif │
00:25:08 verbose #52152 > │ │
00:25:08 verbose #52153 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52154 > │ let v48 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52155 > │ v48 │
00:25:08 verbose #52156 > │ #endif │
00:25:08 verbose #52157 > │ │
00:25:08 verbose #52158 > │ #else │
00:25:08 verbose #52159 > │ let v49 : Async<US3> option = None │
00:25:08 verbose #52160 > │ let v50 : bool = true in let mutable _v49 = v49 │
00:25:08 verbose #52161 > │ │
00:25:08 verbose #52162 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52163 > │ │
00:25:08 verbose #52164 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52165 > │ let v51 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52166 > │ v51 │
00:25:08 verbose #52167 > │ #endif │
00:25:08 verbose #52168 > │ │
00:25:08 verbose #52169 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52170 > │ let v52 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52171 > │ v52 │
00:25:08 verbose #52172 > │ #endif │
00:25:08 verbose #52173 > │ │
00:25:08 verbose #52174 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52175 > │ let v53 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52176 > │ v53 │
00:25:08 verbose #52177 > │ #endif │
00:25:08 verbose #52178 > │ │
00:25:08 verbose #52179 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52180 > │ let v54 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52181 > │ v54 │
00:25:08 verbose #52182 > │ #endif │
00:25:08 verbose #52183 > │ │
00:25:08 verbose #52184 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52185 > │ let v55 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52186 > │ v55 │
00:25:08 verbose #52187 > │ #endif │
00:25:08 verbose #52188 > │ │
00:25:08 verbose #52189 > │ #else │
00:25:08 verbose #52190 > │ let v56 : Async<US3> option = None │
00:25:08 verbose #52191 > │ let mutable _v56 = v56 │
00:25:08 verbose #52192 > │ async { │
00:25:08 verbose #52193 > │ let v57 : Async<Async<bool>> option = None │
00:25:08 verbose #52194 > │ let v58 : bool = true in let mutable _v57 = v57 │
00:25:08 verbose #52195 > │ │
00:25:08 verbose #52196 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52197 > │ │
00:25:08 verbose #52198 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52199 > │ let v59 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:08 verbose #52200 > │ v59 │
00:25:08 verbose #52201 > │ #endif │
00:25:08 verbose #52202 > │ │
00:25:08 verbose #52203 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52204 > │ let v60 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:08 verbose #52205 > │ v60 │
00:25:08 verbose #52206 > │ #endif │
00:25:08 verbose #52207 > │ │
00:25:08 verbose #52208 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52209 > │ let v61 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:08 verbose #52210 > │ v61 │
00:25:08 verbose #52211 > │ #endif │
00:25:08 verbose #52212 > │ │
00:25:08 verbose #52213 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52214 > │ let v62 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:08 verbose #52215 > │ v62 │
00:25:08 verbose #52216 > │ #endif │
00:25:08 verbose #52217 > │ │
00:25:08 verbose #52218 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52219 > │ let v63 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:08 verbose #52220 > │ v63 │
00:25:08 verbose #52221 > │ #endif │
00:25:08 verbose #52222 > │ │
00:25:08 verbose #52223 > │ #else │
00:25:08 verbose #52224 > │ let v64 : Async<Async<bool>> = Async.StartChild (v41, 120) │
00:25:08 verbose #52225 > │ v64 │
00:25:08 verbose #52226 > │ #endif │
00:25:08 verbose #52227 > │ |> fun x -> _v57 <- Some x │
00:25:08 verbose #52228 > │ let v65 : Async<Async<bool>> = _v57.Value │
00:25:08 verbose #52229 > │ let! v65 = v65 │
00:25:08 verbose #52230 > │ let v66 : Async<bool> = v65 │
00:25:08 verbose #52231 > │ let v67 : Async<Choice<bool, exn>> option = None │
00:25:08 verbose #52232 > │ let v68 : bool = true in let mutable _v67 = v67 │
00:25:08 verbose #52233 > │ │
00:25:08 verbose #52234 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52235 > │ │
00:25:08 verbose #52236 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52237 > │ let v69 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:08 verbose #52238 > │ exn>>> │
00:25:08 verbose #52239 > │ v69 │
00:25:08 verbose #52240 > │ #endif │
00:25:08 verbose #52241 > │ │
00:25:08 verbose #52242 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52243 > │ let v70 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:08 verbose #52244 > │ exn>>> │
00:25:08 verbose #52245 > │ v70 │
00:25:08 verbose #52246 > │ #endif │
00:25:08 verbose #52247 > │ │
00:25:08 verbose #52248 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52249 > │ let v71 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:08 verbose #52250 > │ exn>>> │
00:25:08 verbose #52251 > │ v71 │
00:25:08 verbose #52252 > │ #endif │
00:25:08 verbose #52253 > │ │
00:25:08 verbose #52254 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52255 > │ let v72 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:08 verbose #52256 > │ exn>>> │
00:25:08 verbose #52257 > │ v72 │
00:25:08 verbose #52258 > │ #endif │
00:25:08 verbose #52259 > │ │
00:25:08 verbose #52260 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52261 > │ let v73 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:08 verbose #52262 > │ exn>>> │
00:25:08 verbose #52263 > │ v73 │
00:25:08 verbose #52264 > │ #endif │
00:25:08 verbose #52265 > │ │
00:25:08 verbose #52266 > │ #else │
00:25:08 verbose #52267 > │ let v74 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch │
00:25:08 verbose #52268 > │ let v75 : Async<Choice<bool, exn>> = v74 v66 │
00:25:08 verbose #52269 > │ v75 │
00:25:08 verbose #52270 > │ #endif │
00:25:08 verbose #52271 > │ |> fun x -> _v67 <- Some x │
00:25:08 verbose #52272 > │ let v76 : Async<Choice<bool, exn>> = _v67.Value │
00:25:08 verbose #52273 > │ let v77 : Async<US4> option = None │
00:25:08 verbose #52274 > │ let v78 : bool = true in let mutable _v77 = v77 │
00:25:08 verbose #52275 > │ │
00:25:08 verbose #52276 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52277 > │ │
00:25:08 verbose #52278 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52279 > │ let v79 : Async<US4> = null |> unbox<Async<US4>> │
00:25:08 verbose #52280 > │ v79 │
00:25:08 verbose #52281 > │ #endif │
00:25:08 verbose #52282 > │ │
00:25:08 verbose #52283 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52284 > │ let v80 : Async<US4> = null |> unbox<Async<US4>> │
00:25:08 verbose #52285 > │ v80 │
00:25:08 verbose #52286 > │ #endif │
00:25:08 verbose #52287 > │ │
00:25:08 verbose #52288 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52289 > │ let v81 : Async<US4> = null |> unbox<Async<US4>> │
00:25:08 verbose #52290 > │ v81 │
00:25:08 verbose #52291 > │ #endif │
00:25:08 verbose #52292 > │ │
00:25:08 verbose #52293 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52294 > │ let v82 : Async<US4> = null |> unbox<Async<US4>> │
00:25:08 verbose #52295 > │ v82 │
00:25:08 verbose #52296 > │ #endif │
00:25:08 verbose #52297 > │ │
00:25:08 verbose #52298 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52299 > │ let v83 : Async<US4> = null |> unbox<Async<US4>> │
00:25:08 verbose #52300 > │ v83 │
00:25:08 verbose #52301 > │ #endif │
00:25:08 verbose #52302 > │ │
00:25:08 verbose #52303 > │ #else │
00:25:08 verbose #52304 > │ let v84 : Async<US4> option = None │
00:25:08 verbose #52305 > │ let mutable _v84 = v84 │
00:25:08 verbose #52306 > │ async { │
00:25:08 verbose #52307 > │ let! v76 = v76 │
00:25:08 verbose #52308 > │ let v85 : Choice<bool, exn> = v76 │
00:25:08 verbose #52309 > │ let v86 : US4 option = None │
00:25:08 verbose #52310 > │ let v87 : bool = true in let mutable _v86 = v86 │
00:25:08 verbose #52311 > │ │
00:25:08 verbose #52312 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52313 > │ │
00:25:08 verbose #52314 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52315 > │ let v88 : US4 = null |> unbox<US4> │
00:25:08 verbose #52316 > │ v88 │
00:25:08 verbose #52317 > │ #endif │
00:25:08 verbose #52318 > │ │
00:25:08 verbose #52319 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52320 > │ let v89 : US4 = null |> unbox<US4> │
00:25:08 verbose #52321 > │ v89 │
00:25:08 verbose #52322 > │ #endif │
00:25:08 verbose #52323 > │ │
00:25:08 verbose #52324 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52325 > │ let v90 : US4 = null |> unbox<US4> │
00:25:08 verbose #52326 > │ v90 │
00:25:08 verbose #52327 > │ #endif │
00:25:08 verbose #52328 > │ │
00:25:08 verbose #52329 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52330 > │ let v91 : US4 = null |> unbox<US4> │
00:25:08 verbose #52331 > │ v91 │
00:25:08 verbose #52332 > │ #endif │
00:25:08 verbose #52333 > │ │
00:25:08 verbose #52334 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52335 > │ let v92 : US4 = null |> unbox<US4> │
00:25:08 verbose #52336 > │ v92 │
00:25:08 verbose #52337 > │ #endif │
00:25:08 verbose #52338 > │ │
00:25:08 verbose #52339 > │ #else │
00:25:08 verbose #52340 > │ let v93 : (bool -> US4) = closure6() │
00:25:08 verbose #52341 > │ let v94 : (exn -> US4) = closure7() │
00:25:08 verbose #52342 > │ let v95 : US4 = match v85 with Choice1Of2 x -> v93 x | Choice2Of2 x -> │
00:25:08 verbose #52343 > │ v94 x │
00:25:08 verbose #52344 > │ v95 │
00:25:08 verbose #52345 > │ #endif │
00:25:08 verbose #52346 > │ |> fun x -> _v86 <- Some x │
00:25:08 verbose #52347 > │ let v96 : US4 = _v86.Value │
00:25:08 verbose #52348 > │ return v96 │
00:25:08 verbose #52349 > │ } │
00:25:08 verbose #52350 > │ |> fun x -> _v84 <- Some x │
00:25:08 verbose #52351 > │ let v97 : Async<US4> = _v84 |> Option.get │
00:25:08 verbose #52352 > │ v97 │
00:25:08 verbose #52353 > │ #endif │
00:25:08 verbose #52354 > │ |> fun x -> _v77 <- Some x │
00:25:08 verbose #52355 > │ let v98 : Async<US4> = _v77.Value │
00:25:08 verbose #52356 > │ let v99 : Async<US5> option = None │
00:25:08 verbose #52357 > │ let v100 : bool = true in let mutable _v99 = v99 │
00:25:08 verbose #52358 > │ │
00:25:08 verbose #52359 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52360 > │ │
00:25:08 verbose #52361 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52362 > │ let v101 : Async<US5> = null |> unbox<Async<US5>> │
00:25:08 verbose #52363 > │ v101 │
00:25:08 verbose #52364 > │ #endif │
00:25:08 verbose #52365 > │ │
00:25:08 verbose #52366 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52367 > │ let v102 : Async<US5> = null |> unbox<Async<US5>> │
00:25:08 verbose #52368 > │ v102 │
00:25:08 verbose #52369 > │ #endif │
00:25:08 verbose #52370 > │ │
00:25:08 verbose #52371 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52372 > │ let v103 : Async<US5> = null |> unbox<Async<US5>> │
00:25:08 verbose #52373 > │ v103 │
00:25:08 verbose #52374 > │ #endif │
00:25:08 verbose #52375 > │ │
00:25:08 verbose #52376 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52377 > │ let v104 : Async<US5> = null |> unbox<Async<US5>> │
00:25:08 verbose #52378 > │ v104 │
00:25:08 verbose #52379 > │ #endif │
00:25:08 verbose #52380 > │ │
00:25:08 verbose #52381 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52382 > │ let v105 : Async<US5> = null |> unbox<Async<US5>> │
00:25:08 verbose #52383 > │ v105 │
00:25:08 verbose #52384 > │ #endif │
00:25:08 verbose #52385 > │ │
00:25:08 verbose #52386 > │ #else │
00:25:08 verbose #52387 > │ let v106 : Async<US5> option = None │
00:25:08 verbose #52388 > │ let mutable _v106 = v106 │
00:25:08 verbose #52389 > │ async { │
00:25:08 verbose #52390 > │ let! v98 = v98 │
00:25:08 verbose #52391 > │ let v107 : US4 = v98 │
00:25:08 verbose #52392 > │ let v113 : US5 = │
00:25:08 verbose #52393 > │ match v107 with │
00:25:08 verbose #52394 > │ | US4_0(v108) -> (* Choice1Of2 *) │
00:25:08 verbose #52395 > │ US5_0(v108) │
00:25:08 verbose #52396 > │ | US4_1(v110) -> (* Choice2Of2 *) │
00:25:08 verbose #52397 > │ US5_1(v110) │
00:25:08 verbose #52398 > │ return v113 │
00:25:08 verbose #52399 > │ } │
00:25:08 verbose #52400 > │ |> fun x -> _v106 <- Some x │
00:25:08 verbose #52401 > │ let v114 : Async<US5> = _v106 |> Option.get │
00:25:08 verbose #52402 > │ v114 │
00:25:08 verbose #52403 > │ #endif │
00:25:08 verbose #52404 > │ |> fun x -> _v99 <- Some x │
00:25:08 verbose #52405 > │ let v115 : Async<US5> = _v99.Value │
00:25:08 verbose #52406 > │ let v116 : Async<US3> option = None │
00:25:08 verbose #52407 > │ let v117 : bool = true in let mutable _v116 = v116 │
00:25:08 verbose #52408 > │ │
00:25:08 verbose #52409 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52410 > │ │
00:25:08 verbose #52411 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52412 > │ let v118 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52413 > │ v118 │
00:25:08 verbose #52414 > │ #endif │
00:25:08 verbose #52415 > │ │
00:25:08 verbose #52416 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52417 > │ let v119 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52418 > │ v119 │
00:25:08 verbose #52419 > │ #endif │
00:25:08 verbose #52420 > │ │
00:25:08 verbose #52421 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52422 > │ let v120 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52423 > │ v120 │
00:25:08 verbose #52424 > │ #endif │
00:25:08 verbose #52425 > │ │
00:25:08 verbose #52426 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52427 > │ let v121 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52428 > │ v121 │
00:25:08 verbose #52429 > │ #endif │
00:25:08 verbose #52430 > │ │
00:25:08 verbose #52431 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52432 > │ let v122 : Async<US3> = null |> unbox<Async<US3>> │
00:25:08 verbose #52433 > │ v122 │
00:25:08 verbose #52434 > │ #endif │
00:25:08 verbose #52435 > │ │
00:25:08 verbose #52436 > │ #else │
00:25:08 verbose #52437 > │ let v123 : Async<US3> option = None │
00:25:08 verbose #52438 > │ let mutable _v123 = v123 │
00:25:08 verbose #52439 > │ async { │
00:25:08 verbose #52440 > │ let! v115 = v115 │
00:25:08 verbose #52441 > │ let v124 : US5 = v115 │
00:25:08 verbose #52442 > │ let v150 : US3 = │
00:25:08 verbose #52443 > │ match v124 with │
00:25:08 verbose #52444 > │ | US5_1(v127) -> (* Error *) │
00:25:08 verbose #52445 > │ let v128 : string = $"%A{v127}" │
00:25:08 verbose #52446 > │ let v129 : string = "System.TimeoutException" │
00:25:08 verbose #52447 > │ let v130 : bool = v128.Contains v129 │
00:25:08 verbose #52448 > │ if v130 then │
00:25:08 verbose #52449 > │ let v131 : US0 = US0_1 │
00:25:08 verbose #52450 > │ let v132 : (unit -> string) = closure8() │
00:25:08 verbose #52451 > │ let v133 : (unit -> string) = closure9() │
00:25:08 verbose #52452 > │ method1(v131, v132, v133) │
00:25:08 verbose #52453 > │ US3_1 │
00:25:08 verbose #52454 > │ else │
00:25:08 verbose #52455 > │ let v135 : string option = None │
00:25:08 verbose #52456 > │ let v136 : bool = true in let mutable _v135 = v135 │
00:25:08 verbose #52457 > │ │
00:25:08 verbose #52458 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52459 > │ │
00:25:08 verbose #52460 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52461 > │ let v137 : string = $"%A{v127}" │
00:25:08 verbose #52462 > │ v137 │
00:25:08 verbose #52463 > │ #endif │
00:25:08 verbose #52464 > │ │
00:25:08 verbose #52465 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52466 > │ let v138 : string = $"%A{v127}" │
00:25:08 verbose #52467 > │ v138 │
00:25:08 verbose #52468 > │ #endif │
00:25:08 verbose #52469 > │ │
00:25:08 verbose #52470 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52471 > │ let v139 : string = $"%A{v127}" │
00:25:08 verbose #52472 > │ v139 │
00:25:08 verbose #52473 > │ #endif │
00:25:08 verbose #52474 > │ │
00:25:08 verbose #52475 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52476 > │ let v140 : string = $"%A{v127}" │
00:25:08 verbose #52477 > │ v140 │
00:25:08 verbose #52478 > │ #endif │
00:25:08 verbose #52479 > │ │
00:25:08 verbose #52480 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52481 > │ let v141 : string = $"%A{v127}" │
00:25:08 verbose #52482 > │ v141 │
00:25:08 verbose #52483 > │ #endif │
00:25:08 verbose #52484 > │ │
00:25:08 verbose #52485 > │ #else │
00:25:08 verbose #52486 > │ let v142 : string = $"{v127.GetType ()}: {v127.Message}" │
00:25:08 verbose #52487 > │ v142 │
00:25:08 verbose #52488 > │ #endif │
00:25:08 verbose #52489 > │ |> fun x -> _v135 <- Some x │
00:25:08 verbose #52490 > │ let v143 : string = _v135.Value │
00:25:08 verbose #52491 > │ let v144 : US0 = US0_4 │
00:25:08 verbose #52492 > │ let v145 : (unit -> string) = closure10(v143) │
00:25:08 verbose #52493 > │ let v146 : (unit -> string) = closure9() │
00:25:08 verbose #52494 > │ method1(v144, v145, v146) │
00:25:08 verbose #52495 > │ US3_1 │
00:25:08 verbose #52496 > │ | US5_0(v125) -> (* Ok *) │
00:25:08 verbose #52497 > │ US3_0(v125) │
00:25:08 verbose #52498 > │ return v150 │
00:25:08 verbose #52499 > │ } │
00:25:08 verbose #52500 > │ |> fun x -> _v123 <- Some x │
00:25:08 verbose #52501 > │ let v151 : Async<US3> = _v123 |> Option.get │
00:25:08 verbose #52502 > │ v151 │
00:25:08 verbose #52503 > │ #endif │
00:25:08 verbose #52504 > │ |> fun x -> _v116 <- Some x │
00:25:08 verbose #52505 > │ let v152 : Async<US3> = _v116.Value │
00:25:08 verbose #52506 > │ return! v152 │
00:25:08 verbose #52507 > │ } │
00:25:08 verbose #52508 > │ |> fun x -> _v56 <- Some x │
00:25:08 verbose #52509 > │ let v153 : Async<US3> = _v56 |> Option.get │
00:25:08 verbose #52510 > │ v153 │
00:25:08 verbose #52511 > │ #endif │
00:25:08 verbose #52512 > │ |> fun x -> _v49 <- Some x │
00:25:08 verbose #52513 > │ let v154 : Async<US3> = _v49.Value │
00:25:08 verbose #52514 > │ v154 │
00:25:08 verbose #52515 > │ #endif │
00:25:08 verbose #52516 > │ |> fun x -> _v42 <- Some x │
00:25:08 verbose #52517 > │ let v155 : Async<US3> = _v42.Value │
00:25:08 verbose #52518 > │ let v156 : US3 option = None │
00:25:08 verbose #52519 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:25:08 verbose #52520 > │ │
00:25:08 verbose #52521 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:08 verbose #52522 > │ │
00:25:08 verbose #52523 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:08 verbose #52524 > │ let v158 : US3 = null |> unbox<US3> │
00:25:08 verbose #52525 > │ v158 │
00:25:08 verbose #52526 > │ #endif │
00:25:08 verbose #52527 > │ │
00:25:08 verbose #52528 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:08 verbose #52529 > │ let v159 : US3 = null |> unbox<US3> │
00:25:08 verbose #52530 > │ v159 │
00:25:08 verbose #52531 > │ #endif │
00:25:08 verbose #52532 > │ │
00:25:08 verbose #52533 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:08 verbose #52534 > │ let v160 : US3 = null |> unbox<US3> │
00:25:08 verbose #52535 > │ v160 │
00:25:08 verbose #52536 > │ #endif │
00:25:08 verbose #52537 > │ │
00:25:08 verbose #52538 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:08 verbose #52539 > │ let v161 : US3 = null |> unbox<US3> │
00:25:08 verbose #52540 > │ v161 │
00:25:08 verbose #52541 > │ #endif │
00:25:08 verbose #52542 > │ │
00:25:08 verbose #52543 > │ #if FABLE_COMPILER_PYTHON │
00:25:08 verbose #52544 > │ let v162 : US3 = null |> unbox<US3> │
00:25:08 verbose #52545 > │ v162 │
00:25:08 verbose #52546 > │ #endif │
00:25:08 verbose #52547 > │ │
00:25:08 verbose #52548 > │ #else │
00:25:08 verbose #52549 > │ let v163 : (Async<US3> -> US3) = Async.RunSynchronously │
00:25:08 verbose #52550 > │ let v164 : US3 = v163 v155 │
00:25:08 verbose #52551 > │ v164 │
00:25:08 verbose #52552 > │ #endif │
00:25:08 verbose #52553 > │ |> fun x -> _v156 <- Some x │
00:25:08 verbose #52554 > │ let v165 : US3 = _v156.Value │
00:25:08 verbose #52555 > │ let v169 : bool = │
00:25:08 verbose #52556 > │ match v165 with │
00:25:08 verbose #52557 > │ | US3_0(v167) -> (* Some *) │
00:25:08 verbose #52558 > │ let v168 : bool = v167 = false │
00:25:08 verbose #52559 > │ v168 │
00:25:08 verbose #52560 > │ | _ -> │
00:25:08 verbose #52561 > │ false │
00:25:08 verbose #52562 > │ let v171 : bool = │
00:25:08 verbose #52563 > │ if v169 then │
00:25:08 verbose #52564 > │ true │
00:25:08 verbose #52565 > │ else │
00:25:08 verbose #52566 > │ method7(v169) │
00:25:08 verbose #52567 > │ let v172 : string = "assert_eq" │
00:25:08 verbose #52568 > │ let v173 : US3 = US3_0(false) │
00:25:08 verbose #52569 > │ let v174 : string = $"{v172} / actual: %A{v165} / expected: %A{v173}" │
00:25:08 verbose #52570 > │ System.Console.WriteLine v174 │
00:25:08 verbose #52571 > │ let v175 : bool = v171 = false │
00:25:08 verbose #52572 > │ if v175 then │
00:25:08 verbose #52573 > │ failwith<unit> v174 │
00:25:08 verbose #52574 > │ method0() │
00:25:08 verbose #52575 > │ │
00:25:08 verbose #52576 > │ 00:00:00 verbose #1 test_port_open / ex: System.ArgumentOutOfRangeException: │
00:25:08 verbose #52577 > │ Specified argument was out of the range of valid values. (Parameter 'port') │
00:25:08 verbose #52578 > │ assert_eq / actual: US3_0 false / expected: US3_0 false │
00:25:08 verbose #52579 > │ │
00:25:08 verbose #52580 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:08 verbose #52581 >
00:25:08 verbose #52582 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:08 verbose #52583 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:08 verbose #52584 > │ ## test_port_open_timeout │
00:25:08 verbose #52585 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:08 verbose #52586 >
00:25:08 verbose #52587 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:08 verbose #52588 > inl test_port_open_timeout timeout port : _ bool = async.new_async_unit fun ()
00:25:08 verbose #52589 > =>
00:25:08 verbose #52590 > test_port_open port
00:25:08 verbose #52591 > |> async.run_with_timeout_async timeout
00:25:08 verbose #52592 > |> async.let'
00:25:08 verbose #52593 > |> function
00:25:08 verbose #52594 > | None => false
00:25:08 verbose #52595 > | Some result => result
00:25:08 verbose #52596 > |> return
00:25:09 verbose #52597 > 00:25:08 debug #897 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ed6d70dcf9cc63cf25052c0f7469c3abe882c279ac0db2fdde7177c8d22f8b08/main.spi
00:25:09 verbose #52598 >
00:25:09 verbose #52599 > ╭─[ 623.80ms - stdout ]────────────────────────────────────────────────────────╮
00:25:09 verbose #52600 > │ () │
00:25:09 verbose #52601 > │ │
00:25:09 verbose #52602 > │ │
00:25:09 verbose #52603 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:09 verbose #52604 >
00:25:09 verbose #52605 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:09 verbose #52606 > //// test
00:25:09 verbose #52607 >
00:25:09 verbose #52608 > test_port_open_timeout 120 65535
00:25:09 verbose #52609 > |> async.run_synchronously
00:25:09 verbose #52610 > |> _assert_eq false
00:25:10 verbose #52611 > 00:25:09 debug #898 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9afb2e4c556351e72ff34969222641cd70c5dac676bef571f78c17740029e75b/main.spi
00:25:10 verbose #52612 >
00:25:10 verbose #52613 > ╭─[ 1.24s - stdout ]───────────────────────────────────────────────────────────╮
00:25:10 verbose #52614 > │ module State = let mutable trace_state = None │
00:25:10 verbose #52615 > │ type [<Struct>] US0 = │
00:25:10 verbose #52616 > │ | US0_0 │
00:25:10 verbose #52617 > │ | US0_1 │
00:25:10 verbose #52618 > │ | US0_2 │
00:25:10 verbose #52619 > │ | US0_3 │
00:25:10 verbose #52620 > │ | US0_4 │
00:25:10 verbose #52621 > │ and Mut0 = {mutable l0 : int64} │
00:25:10 verbose #52622 > │ and Mut1 = {mutable l0 : bool} │
00:25:10 verbose #52623 > │ and Mut2 = {mutable l0 : US0} │
00:25:10 verbose #52624 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:10 verbose #52625 > │ and [<Struct>] US1 = │
00:25:10 verbose #52626 > │ | US1_0 of f0_0 : int64 │
00:25:10 verbose #52627 > │ | US1_1 │
00:25:10 verbose #52628 > │ and [<Struct>] US2 = │
00:25:10 verbose #52629 > │ | US2_0 of f0_0 : int64 │
00:25:10 verbose #52630 > │ | US2_1 │
00:25:10 verbose #52631 > │ and [<Struct>] US3 = │
00:25:10 verbose #52632 > │ | US3_0 of f0_0 : bool │
00:25:10 verbose #52633 > │ | US3_1 │
00:25:10 verbose #52634 > │ and [<Struct>] US4 = │
00:25:10 verbose #52635 > │ | US4_0 of f0_0 : bool │
00:25:10 verbose #52636 > │ | US4_1 of f1_0 : exn │
00:25:10 verbose #52637 > │ and [<Struct>] US5 = │
00:25:10 verbose #52638 > │ | US5_0 of f0_0 : bool │
00:25:10 verbose #52639 > │ | US5_1 of f1_0 : exn │
00:25:10 verbose #52640 > │ let rec closure0 (v0 : string) () : string = │
00:25:10 verbose #52641 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:10 verbose #52642 > │ v1 │
00:25:10 verbose #52643 > │ and closure1 () () : string = │
00:25:10 verbose #52644 > │ let v0 : string = "" │
00:25:10 verbose #52645 > │ v0 │
00:25:10 verbose #52646 > │ and closure4 () (v0 : string) : unit = │
00:25:10 verbose #52647 > │ () │
00:25:10 verbose #52648 > │ and method2 (v0 : int64 option) : int64 option = │
00:25:10 verbose #52649 > │ v0 │
00:25:10 verbose #52650 > │ and method3 (v0 : int64 option) : int64 option = │
00:25:10 verbose #52651 > │ v0 │
00:25:10 verbose #52652 > │ and closure3 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:10 verbose #52653 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:10 verbose #52654 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:10 verbose #52655 > │ let v2 : US0 = US0_0 │
00:25:10 verbose #52656 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:10 verbose #52657 > │ let v4 : (string -> unit) = closure4() │
00:25:10 verbose #52658 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:10 verbose #52659 > │ let v6 : int64 option option = None │
00:25:10 verbose #52660 > │ let mutable _v6 = v6 │
00:25:10 verbose #52661 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:10 verbose #52662 > │ let v7 : string option = None │
00:25:10 verbose #52663 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:10 verbose #52664 > │ │
00:25:10 verbose #52665 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #52666 > │ │
00:25:10 verbose #52667 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #52668 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:10 verbose #52669 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:10 verbose #52670 > │ v10 │
00:25:10 verbose #52671 > │ #endif │
00:25:10 verbose #52672 > │ │
00:25:10 verbose #52673 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #52674 > │ let v11 : string = null |> unbox<string> │
00:25:10 verbose #52675 > │ v11 │
00:25:10 verbose #52676 > │ #endif │
00:25:10 verbose #52677 > │ │
00:25:10 verbose #52678 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #52679 > │ let v12 : string = null |> unbox<string> │
00:25:10 verbose #52680 > │ v12 │
00:25:10 verbose #52681 > │ #endif │
00:25:10 verbose #52682 > │ │
00:25:10 verbose #52683 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:10 verbose #52684 > │ let v13 : string = null |> unbox<string> │
00:25:10 verbose #52685 > │ v13 │
00:25:10 verbose #52686 > │ #endif │
00:25:10 verbose #52687 > │ │
00:25:10 verbose #52688 > │ #if FABLE_COMPILER_PYTHON │
00:25:10 verbose #52689 > │ let v14 : string = null |> unbox<string> │
00:25:10 verbose #52690 > │ v14 │
00:25:10 verbose #52691 > │ #endif │
00:25:10 verbose #52692 > │ │
00:25:10 verbose #52693 > │ #else │
00:25:10 verbose #52694 > │ let v15 : string = │
00:25:10 verbose #52695 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:10 verbose #52696 > │ v15 │
00:25:10 verbose #52697 > │ #endif │
00:25:10 verbose #52698 > │ |> fun x -> _v7 <- Some x │
00:25:10 verbose #52699 > │ let v16 : string = _v7.Value │
00:25:10 verbose #52700 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:10 verbose #52701 > │ let v19 : bool = v18 <> true │
00:25:10 verbose #52702 > │ let v25 : US1 = │
00:25:10 verbose #52703 > │ if v19 then │
00:25:10 verbose #52704 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:10 verbose #52705 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:10 verbose #52706 > │ let v22 : int64 = v21 v20 │
00:25:10 verbose #52707 > │ US1_0(v22) │
00:25:10 verbose #52708 > │ else │
00:25:10 verbose #52709 > │ US1_1 │
00:25:10 verbose #52710 > │ let v30 : int64 option = │
00:25:10 verbose #52711 > │ match v25 with │
00:25:10 verbose #52712 > │ | US1_1 -> (* None *) │
00:25:10 verbose #52713 > │ let v28 : int64 option = None │
00:25:10 verbose #52714 > │ v28 │
00:25:10 verbose #52715 > │ | US1_0(v26) -> (* Some *) │
00:25:10 verbose #52716 > │ let v27 : int64 option = Some v26 │
00:25:10 verbose #52717 > │ v27 │
00:25:10 verbose #52718 > │ let v31 : int64 option = method2(v30) │
00:25:10 verbose #52719 > │ v31 │
00:25:10 verbose #52720 > │ #else │
00:25:10 verbose #52721 > │ let v32 : int64 option = None │
00:25:10 verbose #52722 > │ let v33 : int64 option = method3(v32) │
00:25:10 verbose #52723 > │ v33 │
00:25:10 verbose #52724 > │ #endif │
00:25:10 verbose #52725 > │ |> fun x -> _v6 <- Some x │
00:25:10 verbose #52726 > │ let v34 : int64 option = _v6.Value │
00:25:10 verbose #52727 > │ struct (v1, v0, v3, v34, v5) │
00:25:10 verbose #52728 > │ and closure5 () (v0 : int64) : US2 = │
00:25:10 verbose #52729 > │ US2_0(v0) │
00:25:10 verbose #52730 > │ and method4 () : (int64 -> US2) = │
00:25:10 verbose #52731 > │ closure5() │
00:25:10 verbose #52732 > │ and method5 () : string = │
00:25:10 verbose #52733 > │ let v0 : string = "" │
00:25:10 verbose #52734 > │ v0 │
00:25:10 verbose #52735 > │ and closure2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:10 verbose #52736 > │ string = │
00:25:10 verbose #52737 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:10 verbose #52738 > │ closure3() │
00:25:10 verbose #52739 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:10 verbose #52740 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:10 verbose #52741 > │ Mut3) = State.trace_state.Value │
00:25:10 verbose #52742 > │ let v9 : string option = None │
00:25:10 verbose #52743 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:10 verbose #52744 > │ │
00:25:10 verbose #52745 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #52746 > │ │
00:25:10 verbose #52747 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #52748 > │ let v11 : (int64 -> US2) = method4() │
00:25:10 verbose #52749 > │ let v12 : US2 = US2_1 │
00:25:10 verbose #52750 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:10 verbose #52751 > │ let v31 : System.DateTime = │
00:25:10 verbose #52752 > │ match v13 with │
00:25:10 verbose #52753 > │ | US2_1 -> (* None *) │
00:25:10 verbose #52754 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:10 verbose #52755 > │ v29 │
00:25:10 verbose #52756 > │ | US2_0(v14) -> (* Some *) │
00:25:10 verbose #52757 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:10 verbose #52758 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:10 verbose #52759 > │ let v17 : int64 = v16 v15 │
00:25:10 verbose #52760 > │ let v18 : int64 = v17 - v14 │
00:25:10 verbose #52761 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:10 verbose #52762 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:10 verbose #52763 > │ let v21 : int32 = v20 v19 │
00:25:10 verbose #52764 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:10 verbose #52765 > │ let v23 : int32 = v22 v19 │
00:25:10 verbose #52766 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:10 verbose #52767 > │ let v25 : int32 = v24 v19 │
00:25:10 verbose #52768 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:10 verbose #52769 > │ let v27 : int32 = v26 v19 │
00:25:10 verbose #52770 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:10 verbose #52771 > │ v25, v27) │
00:25:10 verbose #52772 > │ v28 │
00:25:10 verbose #52773 > │ let v32 : string = "hh:mm:ss" │
00:25:10 verbose #52774 > │ let v33 : string = v31.ToString v32 │
00:25:10 verbose #52775 > │ v33 │
00:25:10 verbose #52776 > │ #endif │
00:25:10 verbose #52777 > │ │
00:25:10 verbose #52778 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #52779 > │ let v34 : string = method5() │
00:25:10 verbose #52780 > │ v34 │
00:25:10 verbose #52781 > │ #endif │
00:25:10 verbose #52782 > │ │
00:25:10 verbose #52783 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #52784 > │ let v35 : string = method5() │
00:25:10 verbose #52785 > │ v35 │
00:25:10 verbose #52786 > │ #endif │
00:25:10 verbose #52787 > │ │
00:25:10 verbose #52788 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:10 verbose #52789 > │ let v36 : string = method5() │
00:25:10 verbose #52790 > │ v36 │
00:25:10 verbose #52791 > │ #endif │
00:25:10 verbose #52792 > │ │
00:25:10 verbose #52793 > │ #if FABLE_COMPILER_PYTHON │
00:25:10 verbose #52794 > │ let v37 : string = method5() │
00:25:10 verbose #52795 > │ v37 │
00:25:10 verbose #52796 > │ #endif │
00:25:10 verbose #52797 > │ │
00:25:10 verbose #52798 > │ #else │
00:25:10 verbose #52799 > │ let v38 : (int64 -> US2) = method4() │
00:25:10 verbose #52800 > │ let v39 : US2 = US2_1 │
00:25:10 verbose #52801 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:10 verbose #52802 > │ let v58 : System.DateTime = │
00:25:10 verbose #52803 > │ match v40 with │
00:25:10 verbose #52804 > │ | US2_1 -> (* None *) │
00:25:10 verbose #52805 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:10 verbose #52806 > │ v56 │
00:25:10 verbose #52807 > │ | US2_0(v41) -> (* Some *) │
00:25:10 verbose #52808 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:10 verbose #52809 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:10 verbose #52810 > │ let v44 : int64 = v43 v42 │
00:25:10 verbose #52811 > │ let v45 : int64 = v44 - v41 │
00:25:10 verbose #52812 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:10 verbose #52813 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:10 verbose #52814 > │ let v48 : int32 = v47 v46 │
00:25:10 verbose #52815 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:10 verbose #52816 > │ let v50 : int32 = v49 v46 │
00:25:10 verbose #52817 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:10 verbose #52818 > │ let v52 : int32 = v51 v46 │
00:25:10 verbose #52819 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:10 verbose #52820 > │ let v54 : int32 = v53 v46 │
00:25:10 verbose #52821 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:10 verbose #52822 > │ v52, v54) │
00:25:10 verbose #52823 > │ v55 │
00:25:10 verbose #52824 > │ let v59 : string = "HH:mm:ss" │
00:25:10 verbose #52825 > │ let v60 : string = v58.ToString v59 │
00:25:10 verbose #52826 > │ v60 │
00:25:10 verbose #52827 > │ #endif │
00:25:10 verbose #52828 > │ |> fun x -> _v9 <- Some x │
00:25:10 verbose #52829 > │ let v61 : string = _v9.Value │
00:25:10 verbose #52830 > │ let v62 : int64 = v4.l0 │
00:25:10 verbose #52831 > │ let v72 : string = │
00:25:10 verbose #52832 > │ match v0 with │
00:25:10 verbose #52833 > │ | US0_4 -> (* Critical *) │
00:25:10 verbose #52834 > │ let v67 : string = "Critical" │
00:25:10 verbose #52835 > │ v67 │
00:25:10 verbose #52836 > │ | US0_1 -> (* Debug *) │
00:25:10 verbose #52837 > │ let v64 : string = "Debug" │
00:25:10 verbose #52838 > │ v64 │
00:25:10 verbose #52839 > │ | US0_2 -> (* Info *) │
00:25:10 verbose #52840 > │ let v65 : string = "Info" │
00:25:10 verbose #52841 > │ v65 │
00:25:10 verbose #52842 > │ | US0_0 -> (* Verbose *) │
00:25:10 verbose #52843 > │ let v63 : string = "Verbose" │
00:25:10 verbose #52844 > │ v63 │
00:25:10 verbose #52845 > │ | US0_3 -> (* Warning *) │
00:25:10 verbose #52846 > │ let v66 : string = "Warning" │
00:25:10 verbose #52847 > │ v66 │
00:25:10 verbose #52848 > │ let v73 : string = v72.ToLower () │
00:25:10 verbose #52849 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:10 verbose #52850 > │ let v75 : string option = None │
00:25:10 verbose #52851 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:10 verbose #52852 > │ │
00:25:10 verbose #52853 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #52854 > │ │
00:25:10 verbose #52855 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #52856 > │ let v91 : Ref<Str> = │
00:25:10 verbose #52857 > │ match v0 with │
00:25:10 verbose #52858 > │ | US0_4 -> (* Critical *) │
00:25:10 verbose #52859 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:10 verbose #52860 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:10 verbose #52861 > │ v86 │
00:25:10 verbose #52862 > │ | US0_1 -> (* Debug *) │
00:25:10 verbose #52863 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:10 verbose #52864 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:10 verbose #52865 > │ v80 │
00:25:10 verbose #52866 > │ | US0_2 -> (* Info *) │
00:25:10 verbose #52867 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:10 verbose #52868 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:10 verbose #52869 > │ v82 │
00:25:10 verbose #52870 > │ | US0_0 -> (* Verbose *) │
00:25:10 verbose #52871 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:10 verbose #52872 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:10 verbose #52873 > │ v78 │
00:25:10 verbose #52874 > │ | US0_3 -> (* Warning *) │
00:25:10 verbose #52875 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:10 verbose #52876 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:10 verbose #52877 > │ v84 │
00:25:10 verbose #52878 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:10 verbose #52879 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:10 verbose #52880 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:10 verbose #52881 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:10 verbose #52882 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:10 verbose #52883 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:10 verbose #52884 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:10 verbose #52885 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:10 verbose #52886 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:10 verbose #52887 > │ v100 │
00:25:10 verbose #52888 > │ #endif │
00:25:10 verbose #52889 > │ │
00:25:10 verbose #52890 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #52891 > │ let v115 : Ref<Str> = │
00:25:10 verbose #52892 > │ match v0 with │
00:25:10 verbose #52893 > │ | US0_4 -> (* Critical *) │
00:25:10 verbose #52894 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:10 verbose #52895 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52896 > │ v109 │
00:25:10 verbose #52897 > │ v110 │
00:25:10 verbose #52898 > │ | US0_1 -> (* Debug *) │
00:25:10 verbose #52899 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:10 verbose #52900 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52901 > │ v103 │
00:25:10 verbose #52902 > │ v104 │
00:25:10 verbose #52903 > │ | US0_2 -> (* Info *) │
00:25:10 verbose #52904 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:10 verbose #52905 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52906 > │ v105 │
00:25:10 verbose #52907 > │ v106 │
00:25:10 verbose #52908 > │ | US0_0 -> (* Verbose *) │
00:25:10 verbose #52909 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:10 verbose #52910 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52911 > │ v101 │
00:25:10 verbose #52912 > │ v102 │
00:25:10 verbose #52913 > │ | US0_3 -> (* Warning *) │
00:25:10 verbose #52914 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:10 verbose #52915 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52916 > │ v107 │
00:25:10 verbose #52917 > │ v108 │
00:25:10 verbose #52918 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:10 verbose #52919 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:10 verbose #52920 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:10 verbose #52921 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:10 verbose #52922 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:10 verbose #52923 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:10 verbose #52924 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52925 > │ v121 │
00:25:10 verbose #52926 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:10 verbose #52927 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:10 verbose #52928 > │ v124 │
00:25:10 verbose #52929 > │ #endif │
00:25:10 verbose #52930 > │ │
00:25:10 verbose #52931 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #52932 > │ let v139 : Ref<Str> = │
00:25:10 verbose #52933 > │ match v0 with │
00:25:10 verbose #52934 > │ | US0_4 -> (* Critical *) │
00:25:10 verbose #52935 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:10 verbose #52936 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52937 > │ v133 │
00:25:10 verbose #52938 > │ v134 │
00:25:10 verbose #52939 > │ | US0_1 -> (* Debug *) │
00:25:10 verbose #52940 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:10 verbose #52941 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52942 > │ v127 │
00:25:10 verbose #52943 > │ v128 │
00:25:10 verbose #52944 > │ | US0_2 -> (* Info *) │
00:25:10 verbose #52945 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:10 verbose #52946 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52947 > │ v129 │
00:25:10 verbose #52948 > │ v130 │
00:25:10 verbose #52949 > │ | US0_0 -> (* Verbose *) │
00:25:10 verbose #52950 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:10 verbose #52951 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52952 > │ v125 │
00:25:10 verbose #52953 > │ v126 │
00:25:10 verbose #52954 > │ | US0_3 -> (* Warning *) │
00:25:10 verbose #52955 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:10 verbose #52956 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52957 > │ v131 │
00:25:10 verbose #52958 > │ v132 │
00:25:10 verbose #52959 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:10 verbose #52960 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:10 verbose #52961 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:10 verbose #52962 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:10 verbose #52963 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:10 verbose #52964 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:10 verbose #52965 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:10 verbose #52966 > │ v145 │
00:25:10 verbose #52967 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:10 verbose #52968 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:10 verbose #52969 > │ v148 │
00:25:10 verbose #52970 > │ #endif │
00:25:10 verbose #52971 > │ │
00:25:10 verbose #52972 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:10 verbose #52973 > │ v74 │
00:25:10 verbose #52974 > │ #endif │
00:25:10 verbose #52975 > │ │
00:25:10 verbose #52976 > │ #if FABLE_COMPILER_PYTHON │
00:25:10 verbose #52977 > │ v74 │
00:25:10 verbose #52978 > │ #endif │
00:25:10 verbose #52979 > │ │
00:25:10 verbose #52980 > │ #else │
00:25:10 verbose #52981 > │ v74 │
00:25:10 verbose #52982 > │ #endif │
00:25:10 verbose #52983 > │ |> fun x -> _v75 <- Some x │
00:25:10 verbose #52984 > │ let v149 : string = _v75.Value │
00:25:10 verbose #52985 > │ let v150 : string = v1 () │
00:25:10 verbose #52986 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:10 verbose #52987 > │ let v152 : (char []) = [||] │
00:25:10 verbose #52988 > │ let v153 : string = v151.TrimStart v152 │
00:25:10 verbose #52989 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:10 verbose #52990 > │ let v155 : string = v153.TrimEnd v154 │
00:25:10 verbose #52991 > │ v155 │
00:25:10 verbose #52992 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:10 verbose #52993 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:10 verbose #52994 > │ closure3() │
00:25:10 verbose #52995 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:10 verbose #52996 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:10 verbose #52997 > │ Mut3) = State.trace_state.Value │
00:25:10 verbose #52998 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:10 verbose #52999 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:10 verbose #53000 > │ Mut3) = State.trace_state.Value │
00:25:10 verbose #53001 > │ let v13 : US0 = v10.l0 │
00:25:10 verbose #53002 > │ let v14 : bool = v9.l0 │
00:25:10 verbose #53003 > │ let v15 : bool = v14 = false │
00:25:10 verbose #53004 > │ let v19 : bool = │
00:25:10 verbose #53005 > │ if v15 then │
00:25:10 verbose #53006 > │ false │
00:25:10 verbose #53007 > │ else │
00:25:10 verbose #53008 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:10 verbose #53009 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:10 verbose #53010 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:10 verbose #53011 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:10 verbose #53012 > │ let v18 : bool = v16 >= v17 │
00:25:10 verbose #53013 > │ v18 │
00:25:10 verbose #53014 > │ if v19 then │
00:25:10 verbose #53015 > │ let v20 : int64 = v3.l0 │
00:25:10 verbose #53016 > │ let v21 : int64 = v20 + 1L │
00:25:10 verbose #53017 > │ v3.l0 <- v21 │
00:25:10 verbose #53018 > │ let v22 : string = $"%s{v1 ()}" │
00:25:10 verbose #53019 > │ let v23 : unit option = None │
00:25:10 verbose #53020 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:10 verbose #53021 > │ │
00:25:10 verbose #53022 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #53023 > │ │
00:25:10 verbose #53024 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #53025 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:10 verbose #53026 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:10 verbose #53027 > │ () │
00:25:10 verbose #53028 > │ #endif │
00:25:10 verbose #53029 > │ │
00:25:10 verbose #53030 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #53031 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:10 verbose #53032 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:10 verbose #53033 > │ () │
00:25:10 verbose #53034 > │ #endif │
00:25:10 verbose #53035 > │ │
00:25:10 verbose #53036 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #53037 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:10 verbose #53038 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:10 verbose #53039 > │ () │
00:25:10 verbose #53040 > │ #endif │
00:25:10 verbose #53041 > │ │
00:25:10 verbose #53042 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:10 verbose #53043 > │ System.Console.WriteLine v22 │
00:25:10 verbose #53044 > │ () │
00:25:10 verbose #53045 > │ #endif │
00:25:10 verbose #53046 > │ │
00:25:10 verbose #53047 > │ #if FABLE_COMPILER_PYTHON │
00:25:10 verbose #53048 > │ System.Console.WriteLine v22 │
00:25:10 verbose #53049 > │ () │
00:25:10 verbose #53050 > │ #endif │
00:25:10 verbose #53051 > │ │
00:25:10 verbose #53052 > │ #else │
00:25:10 verbose #53053 > │ System.Console.WriteLine v22 │
00:25:10 verbose #53054 > │ () │
00:25:10 verbose #53055 > │ #endif │
00:25:10 verbose #53056 > │ |> fun x -> _v23 <- Some x │
00:25:10 verbose #53057 > │ _v23.Value │
00:25:10 verbose #53058 > │ let v28 : (string -> unit) = v7.l0 │
00:25:10 verbose #53059 > │ v28 v22 │
00:25:10 verbose #53060 > │ and method1 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:10 verbose #53061 > │ = │
00:25:10 verbose #53062 > │ let v3 : (unit -> string) = closure2(v0, v1, v2) │
00:25:10 verbose #53063 > │ method6(v0, v3) │
00:25:10 verbose #53064 > │ and closure6 () (v0 : bool) : US4 = │
00:25:10 verbose #53065 > │ US4_0(v0) │
00:25:10 verbose #53066 > │ and closure7 () (v0 : exn) : US4 = │
00:25:10 verbose #53067 > │ US4_1(v0) │
00:25:10 verbose #53068 > │ and closure8 () () : string = │
00:25:10 verbose #53069 > │ let v0 : string = "run_with_timeout_async" │
00:25:10 verbose #53070 > │ v0 │
00:25:10 verbose #53071 > │ and closure9 () () : string = │
00:25:10 verbose #53072 > │ let v0 : (unit -> string) = closure1() │
00:25:10 verbose #53073 > │ let v1 : string = $"timeout: {120} / {v0 ()}" │
00:25:10 verbose #53074 > │ v1 │
00:25:10 verbose #53075 > │ and closure10 (v0 : string) () : string = │
00:25:10 verbose #53076 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:10 verbose #53077 > │ v1 │
00:25:10 verbose #53078 > │ and method7 (v0 : bool) : bool = │
00:25:10 verbose #53079 > │ v0 │
00:25:10 verbose #53080 > │ and method0 () : unit = │
00:25:10 verbose #53081 > │ let v0 : Async<bool> option = None │
00:25:10 verbose #53082 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:25:10 verbose #53083 > │ │
00:25:10 verbose #53084 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #53085 > │ │
00:25:10 verbose #53086 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #53087 > │ let v2 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53088 > │ v2 │
00:25:10 verbose #53089 > │ #endif │
00:25:10 verbose #53090 > │ │
00:25:10 verbose #53091 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #53092 > │ let v3 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53093 > │ v3 │
00:25:10 verbose #53094 > │ #endif │
00:25:10 verbose #53095 > │ │
00:25:10 verbose #53096 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #53097 > │ let v4 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53098 > │ v4 │
00:25:10 verbose #53099 > │ #endif │
00:25:10 verbose #53100 > │ │
00:25:10 verbose #53101 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:10 verbose #53102 > │ let v5 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53103 > │ v5 │
00:25:10 verbose #53104 > │ #endif │
00:25:10 verbose #53105 > │ │
00:25:10 verbose #53106 > │ #if FABLE_COMPILER_PYTHON │
00:25:10 verbose #53107 > │ let v6 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53108 > │ v6 │
00:25:10 verbose #53109 > │ #endif │
00:25:10 verbose #53110 > │ │
00:25:10 verbose #53111 > │ #else │
00:25:10 verbose #53112 > │ let v7 : Async<bool> option = None │
00:25:10 verbose #53113 > │ let mutable _v7 = v7 │
00:25:10 verbose #53114 > │ async { │
00:25:10 verbose #53115 > │ let v8 : Async<bool> option = None │
00:25:10 verbose #53116 > │ let v9 : bool = true in let mutable _v8 = v8 │
00:25:10 verbose #53117 > │ │
00:25:10 verbose #53118 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #53119 > │ │
00:25:10 verbose #53120 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #53121 > │ let v10 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53122 > │ v10 │
00:25:10 verbose #53123 > │ #endif │
00:25:10 verbose #53124 > │ │
00:25:10 verbose #53125 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #53126 > │ let v11 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53127 > │ v11 │
00:25:10 verbose #53128 > │ #endif │
00:25:10 verbose #53129 > │ │
00:25:10 verbose #53130 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #53131 > │ let v12 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53132 > │ v12 │
00:25:10 verbose #53133 > │ #endif │
00:25:10 verbose #53134 > │ │
00:25:10 verbose #53135 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:10 verbose #53136 > │ let v13 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53137 > │ v13 │
00:25:10 verbose #53138 > │ #endif │
00:25:10 verbose #53139 > │ │
00:25:10 verbose #53140 > │ #if FABLE_COMPILER_PYTHON │
00:25:10 verbose #53141 > │ let v14 : Async<bool> = null |> unbox<Async<bool>> │
00:25:10 verbose #53142 > │ v14 │
00:25:10 verbose #53143 > │ #endif │
00:25:10 verbose #53144 > │ │
00:25:10 verbose #53145 > │ #else │
00:25:10 verbose #53146 > │ let v15 : Async<bool> option = None │
00:25:10 verbose #53147 > │ let mutable _v15 = v15 │
00:25:10 verbose #53148 > │ async { │
00:25:10 verbose #53149 > │ let v16 : Async<System.Threading.CancellationToken> = │
00:25:10 verbose #53150 > │ Async.CancellationToken │
00:25:10 verbose #53151 > │ let! v16 = v16 │
00:25:10 verbose #53152 > │ let v17 : System.Threading.CancellationToken = v16 │
00:25:10 verbose #53153 > │ let v18 : System.Net.Sockets.TcpClient = new │
00:25:10 verbose #53154 > │ System.Net.Sockets.TcpClient () │
00:25:10 verbose #53155 > │ use v18 = v18 │
00:25:10 verbose #53156 > │ let v19 : System.Net.Sockets.TcpClient = v18 │
00:25:10 verbose #53157 > │ try │
00:25:10 verbose #53158 > │ let v20 : string = "127.0.0.1" │
00:25:10 verbose #53159 > │ let v21 : System.Threading.Tasks.ValueTask = v19.ConnectAsync (v20, │
00:25:10 verbose #53160 > │ 65535, v17) │
00:25:10 verbose #53161 > │ let v22 : (unit -> System.Threading.Tasks.Task) = v21.AsTask │
00:25:10 verbose #53162 > │ let v23 : System.Threading.Tasks.Task = v22 () │
00:25:10 verbose #53163 > │ let v24 : Async<unit> option = None │
00:25:10 verbose #53164 > │ let v25 : bool = true in let mutable _v24 = v24 │
00:25:10 verbose #53165 > │ │
00:25:10 verbose #53166 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:10 verbose #53167 > │ │
00:25:10 verbose #53168 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:10 verbose #53169 > │ let v26 : Async<unit> = null |> unbox<Async<unit>> │
00:25:10 verbose #53170 > │ v26 │
00:25:10 verbose #53171 > │ #endif │
00:25:10 verbose #53172 > │ │
00:25:10 verbose #53173 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:10 verbose #53174 > │ let v27 : Async<unit> = null |> unbox<Async<unit>> │
00:25:10 verbose #53175 > │ v27 │
00:25:10 verbose #53176 > │ #endif │
00:25:10 verbose #53177 > │ │
00:25:10 verbose #53178 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:10 verbose #53179 > │ let v28 : Async<unit> = null |> unbox<Async<unit>> │
00:25:10 verbose #53180 > │ v28 │
00:25:10 verbose #53181 > │ #endif │
00:25:10 verbose #53182 > │ │
00:25:10 verbose #53183 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53184 > │ let v29 : Async<unit> = null |> unbox<Async<unit>> │
00:25:11 verbose #53185 > │ v29 │
00:25:11 verbose #53186 > │ #endif │
00:25:11 verbose #53187 > │ │
00:25:11 verbose #53188 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53189 > │ let v30 : Async<unit> = null |> unbox<Async<unit>> │
00:25:11 verbose #53190 > │ v30 │
00:25:11 verbose #53191 > │ #endif │
00:25:11 verbose #53192 > │ │
00:25:11 verbose #53193 > │ #else │
00:25:11 verbose #53194 > │ let v31 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask │
00:25:11 verbose #53195 > │ let v32 : Async<unit> = v31 v23 │
00:25:11 verbose #53196 > │ v32 │
00:25:11 verbose #53197 > │ #endif │
00:25:11 verbose #53198 > │ |> fun x -> _v24 <- Some x │
00:25:11 verbose #53199 > │ let v33 : Async<unit> = _v24.Value │
00:25:11 verbose #53200 > │ do! v33 │
00:25:11 verbose #53201 > │ return true │
00:25:11 verbose #53202 > │ with ex -> │
00:25:11 verbose #53203 > │ let v34 : exn = ex │
00:25:11 verbose #53204 > │ let v35 : string option = None │
00:25:11 verbose #53205 > │ let v36 : bool = true in let mutable _v35 = v35 │
00:25:11 verbose #53206 > │ │
00:25:11 verbose #53207 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53208 > │ │
00:25:11 verbose #53209 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53210 > │ let v37 : string = $"%A{v34}" │
00:25:11 verbose #53211 > │ v37 │
00:25:11 verbose #53212 > │ #endif │
00:25:11 verbose #53213 > │ │
00:25:11 verbose #53214 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53215 > │ let v38 : string = $"%A{v34}" │
00:25:11 verbose #53216 > │ v38 │
00:25:11 verbose #53217 > │ #endif │
00:25:11 verbose #53218 > │ │
00:25:11 verbose #53219 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53220 > │ let v39 : string = $"%A{v34}" │
00:25:11 verbose #53221 > │ v39 │
00:25:11 verbose #53222 > │ #endif │
00:25:11 verbose #53223 > │ │
00:25:11 verbose #53224 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53225 > │ let v40 : string = $"%A{v34}" │
00:25:11 verbose #53226 > │ v40 │
00:25:11 verbose #53227 > │ #endif │
00:25:11 verbose #53228 > │ │
00:25:11 verbose #53229 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53230 > │ let v41 : string = $"%A{v34}" │
00:25:11 verbose #53231 > │ v41 │
00:25:11 verbose #53232 > │ #endif │
00:25:11 verbose #53233 > │ │
00:25:11 verbose #53234 > │ #else │
00:25:11 verbose #53235 > │ let v42 : string = $"{v34.GetType ()}: {v34.Message}" │
00:25:11 verbose #53236 > │ v42 │
00:25:11 verbose #53237 > │ #endif │
00:25:11 verbose #53238 > │ |> fun x -> _v35 <- Some x │
00:25:11 verbose #53239 > │ let v43 : string = _v35.Value │
00:25:11 verbose #53240 > │ let v44 : US0 = US0_0 │
00:25:11 verbose #53241 > │ let v45 : (unit -> string) = closure0(v43) │
00:25:11 verbose #53242 > │ let v46 : (unit -> string) = closure1() │
00:25:11 verbose #53243 > │ method1(v44, v45, v46) │
00:25:11 verbose #53244 > │ return false │
00:25:11 verbose #53245 > │ (* │
00:25:11 verbose #53246 > │ let v47 : bool = *) │
00:25:11 verbose #53247 > │ } │
00:25:11 verbose #53248 > │ |> fun x -> _v15 <- Some x │
00:25:11 verbose #53249 > │ let v48 : Async<bool> = _v15 |> Option.get │
00:25:11 verbose #53250 > │ v48 │
00:25:11 verbose #53251 > │ #endif │
00:25:11 verbose #53252 > │ |> fun x -> _v8 <- Some x │
00:25:11 verbose #53253 > │ let v49 : Async<bool> = _v8.Value │
00:25:11 verbose #53254 > │ let v50 : Async<US3> option = None │
00:25:11 verbose #53255 > │ let v51 : bool = true in let mutable _v50 = v50 │
00:25:11 verbose #53256 > │ │
00:25:11 verbose #53257 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53258 > │ │
00:25:11 verbose #53259 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53260 > │ let v52 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53261 > │ v52 │
00:25:11 verbose #53262 > │ #endif │
00:25:11 verbose #53263 > │ │
00:25:11 verbose #53264 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53265 > │ let v53 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53266 > │ v53 │
00:25:11 verbose #53267 > │ #endif │
00:25:11 verbose #53268 > │ │
00:25:11 verbose #53269 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53270 > │ let v54 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53271 > │ v54 │
00:25:11 verbose #53272 > │ #endif │
00:25:11 verbose #53273 > │ │
00:25:11 verbose #53274 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53275 > │ let v55 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53276 > │ v55 │
00:25:11 verbose #53277 > │ #endif │
00:25:11 verbose #53278 > │ │
00:25:11 verbose #53279 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53280 > │ let v56 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53281 > │ v56 │
00:25:11 verbose #53282 > │ #endif │
00:25:11 verbose #53283 > │ │
00:25:11 verbose #53284 > │ #else │
00:25:11 verbose #53285 > │ let v57 : Async<US3> option = None │
00:25:11 verbose #53286 > │ let v58 : bool = true in let mutable _v57 = v57 │
00:25:11 verbose #53287 > │ │
00:25:11 verbose #53288 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53289 > │ │
00:25:11 verbose #53290 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53291 > │ let v59 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53292 > │ v59 │
00:25:11 verbose #53293 > │ #endif │
00:25:11 verbose #53294 > │ │
00:25:11 verbose #53295 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53296 > │ let v60 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53297 > │ v60 │
00:25:11 verbose #53298 > │ #endif │
00:25:11 verbose #53299 > │ │
00:25:11 verbose #53300 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53301 > │ let v61 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53302 > │ v61 │
00:25:11 verbose #53303 > │ #endif │
00:25:11 verbose #53304 > │ │
00:25:11 verbose #53305 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53306 > │ let v62 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53307 > │ v62 │
00:25:11 verbose #53308 > │ #endif │
00:25:11 verbose #53309 > │ │
00:25:11 verbose #53310 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53311 > │ let v63 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53312 > │ v63 │
00:25:11 verbose #53313 > │ #endif │
00:25:11 verbose #53314 > │ │
00:25:11 verbose #53315 > │ #else │
00:25:11 verbose #53316 > │ let v64 : Async<US3> option = None │
00:25:11 verbose #53317 > │ let mutable _v64 = v64 │
00:25:11 verbose #53318 > │ async { │
00:25:11 verbose #53319 > │ let v65 : Async<Async<bool>> option = None │
00:25:11 verbose #53320 > │ let v66 : bool = true in let mutable _v65 = v65 │
00:25:11 verbose #53321 > │ │
00:25:11 verbose #53322 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53323 > │ │
00:25:11 verbose #53324 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53325 > │ let v67 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:11 verbose #53326 > │ v67 │
00:25:11 verbose #53327 > │ #endif │
00:25:11 verbose #53328 > │ │
00:25:11 verbose #53329 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53330 > │ let v68 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:11 verbose #53331 > │ v68 │
00:25:11 verbose #53332 > │ #endif │
00:25:11 verbose #53333 > │ │
00:25:11 verbose #53334 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53335 > │ let v69 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:11 verbose #53336 > │ v69 │
00:25:11 verbose #53337 > │ #endif │
00:25:11 verbose #53338 > │ │
00:25:11 verbose #53339 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53340 > │ let v70 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:11 verbose #53341 > │ v70 │
00:25:11 verbose #53342 > │ #endif │
00:25:11 verbose #53343 > │ │
00:25:11 verbose #53344 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53345 > │ let v71 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:11 verbose #53346 > │ v71 │
00:25:11 verbose #53347 > │ #endif │
00:25:11 verbose #53348 > │ │
00:25:11 verbose #53349 > │ #else │
00:25:11 verbose #53350 > │ let v72 : Async<Async<bool>> = Async.StartChild (v49, 120) │
00:25:11 verbose #53351 > │ v72 │
00:25:11 verbose #53352 > │ #endif │
00:25:11 verbose #53353 > │ |> fun x -> _v65 <- Some x │
00:25:11 verbose #53354 > │ let v73 : Async<Async<bool>> = _v65.Value │
00:25:11 verbose #53355 > │ let! v73 = v73 │
00:25:11 verbose #53356 > │ let v74 : Async<bool> = v73 │
00:25:11 verbose #53357 > │ let v75 : Async<Choice<bool, exn>> option = None │
00:25:11 verbose #53358 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:11 verbose #53359 > │ │
00:25:11 verbose #53360 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53361 > │ │
00:25:11 verbose #53362 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53363 > │ let v77 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:11 verbose #53364 > │ exn>>> │
00:25:11 verbose #53365 > │ v77 │
00:25:11 verbose #53366 > │ #endif │
00:25:11 verbose #53367 > │ │
00:25:11 verbose #53368 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53369 > │ let v78 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:11 verbose #53370 > │ exn>>> │
00:25:11 verbose #53371 > │ v78 │
00:25:11 verbose #53372 > │ #endif │
00:25:11 verbose #53373 > │ │
00:25:11 verbose #53374 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53375 > │ let v79 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:11 verbose #53376 > │ exn>>> │
00:25:11 verbose #53377 > │ v79 │
00:25:11 verbose #53378 > │ #endif │
00:25:11 verbose #53379 > │ │
00:25:11 verbose #53380 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53381 > │ let v80 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:11 verbose #53382 > │ exn>>> │
00:25:11 verbose #53383 > │ v80 │
00:25:11 verbose #53384 > │ #endif │
00:25:11 verbose #53385 > │ │
00:25:11 verbose #53386 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53387 > │ let v81 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:11 verbose #53388 > │ exn>>> │
00:25:11 verbose #53389 > │ v81 │
00:25:11 verbose #53390 > │ #endif │
00:25:11 verbose #53391 > │ │
00:25:11 verbose #53392 > │ #else │
00:25:11 verbose #53393 > │ let v82 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch │
00:25:11 verbose #53394 > │ let v83 : Async<Choice<bool, exn>> = v82 v74 │
00:25:11 verbose #53395 > │ v83 │
00:25:11 verbose #53396 > │ #endif │
00:25:11 verbose #53397 > │ |> fun x -> _v75 <- Some x │
00:25:11 verbose #53398 > │ let v84 : Async<Choice<bool, exn>> = _v75.Value │
00:25:11 verbose #53399 > │ let v85 : Async<US4> option = None │
00:25:11 verbose #53400 > │ let v86 : bool = true in let mutable _v85 = v85 │
00:25:11 verbose #53401 > │ │
00:25:11 verbose #53402 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53403 > │ │
00:25:11 verbose #53404 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53405 > │ let v87 : Async<US4> = null |> unbox<Async<US4>> │
00:25:11 verbose #53406 > │ v87 │
00:25:11 verbose #53407 > │ #endif │
00:25:11 verbose #53408 > │ │
00:25:11 verbose #53409 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53410 > │ let v88 : Async<US4> = null |> unbox<Async<US4>> │
00:25:11 verbose #53411 > │ v88 │
00:25:11 verbose #53412 > │ #endif │
00:25:11 verbose #53413 > │ │
00:25:11 verbose #53414 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53415 > │ let v89 : Async<US4> = null |> unbox<Async<US4>> │
00:25:11 verbose #53416 > │ v89 │
00:25:11 verbose #53417 > │ #endif │
00:25:11 verbose #53418 > │ │
00:25:11 verbose #53419 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53420 > │ let v90 : Async<US4> = null |> unbox<Async<US4>> │
00:25:11 verbose #53421 > │ v90 │
00:25:11 verbose #53422 > │ #endif │
00:25:11 verbose #53423 > │ │
00:25:11 verbose #53424 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53425 > │ let v91 : Async<US4> = null |> unbox<Async<US4>> │
00:25:11 verbose #53426 > │ v91 │
00:25:11 verbose #53427 > │ #endif │
00:25:11 verbose #53428 > │ │
00:25:11 verbose #53429 > │ #else │
00:25:11 verbose #53430 > │ let v92 : Async<US4> option = None │
00:25:11 verbose #53431 > │ let mutable _v92 = v92 │
00:25:11 verbose #53432 > │ async { │
00:25:11 verbose #53433 > │ let! v84 = v84 │
00:25:11 verbose #53434 > │ let v93 : Choice<bool, exn> = v84 │
00:25:11 verbose #53435 > │ let v94 : US4 option = None │
00:25:11 verbose #53436 > │ let v95 : bool = true in let mutable _v94 = v94 │
00:25:11 verbose #53437 > │ │
00:25:11 verbose #53438 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53439 > │ │
00:25:11 verbose #53440 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53441 > │ let v96 : US4 = null |> unbox<US4> │
00:25:11 verbose #53442 > │ v96 │
00:25:11 verbose #53443 > │ #endif │
00:25:11 verbose #53444 > │ │
00:25:11 verbose #53445 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53446 > │ let v97 : US4 = null |> unbox<US4> │
00:25:11 verbose #53447 > │ v97 │
00:25:11 verbose #53448 > │ #endif │
00:25:11 verbose #53449 > │ │
00:25:11 verbose #53450 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53451 > │ let v98 : US4 = null |> unbox<US4> │
00:25:11 verbose #53452 > │ v98 │
00:25:11 verbose #53453 > │ #endif │
00:25:11 verbose #53454 > │ │
00:25:11 verbose #53455 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53456 > │ let v99 : US4 = null |> unbox<US4> │
00:25:11 verbose #53457 > │ v99 │
00:25:11 verbose #53458 > │ #endif │
00:25:11 verbose #53459 > │ │
00:25:11 verbose #53460 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53461 > │ let v100 : US4 = null |> unbox<US4> │
00:25:11 verbose #53462 > │ v100 │
00:25:11 verbose #53463 > │ #endif │
00:25:11 verbose #53464 > │ │
00:25:11 verbose #53465 > │ #else │
00:25:11 verbose #53466 > │ let v101 : (bool -> US4) = closure6() │
00:25:11 verbose #53467 > │ let v102 : (exn -> US4) = closure7() │
00:25:11 verbose #53468 > │ let v103 : US4 = match v93 with Choice1Of2 x -> v101 x | Choice2Of2 x -> │
00:25:11 verbose #53469 > │ v102 x │
00:25:11 verbose #53470 > │ v103 │
00:25:11 verbose #53471 > │ #endif │
00:25:11 verbose #53472 > │ |> fun x -> _v94 <- Some x │
00:25:11 verbose #53473 > │ let v104 : US4 = _v94.Value │
00:25:11 verbose #53474 > │ return v104 │
00:25:11 verbose #53475 > │ } │
00:25:11 verbose #53476 > │ |> fun x -> _v92 <- Some x │
00:25:11 verbose #53477 > │ let v105 : Async<US4> = _v92 |> Option.get │
00:25:11 verbose #53478 > │ v105 │
00:25:11 verbose #53479 > │ #endif │
00:25:11 verbose #53480 > │ |> fun x -> _v85 <- Some x │
00:25:11 verbose #53481 > │ let v106 : Async<US4> = _v85.Value │
00:25:11 verbose #53482 > │ let v107 : Async<US5> option = None │
00:25:11 verbose #53483 > │ let v108 : bool = true in let mutable _v107 = v107 │
00:25:11 verbose #53484 > │ │
00:25:11 verbose #53485 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53486 > │ │
00:25:11 verbose #53487 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53488 > │ let v109 : Async<US5> = null |> unbox<Async<US5>> │
00:25:11 verbose #53489 > │ v109 │
00:25:11 verbose #53490 > │ #endif │
00:25:11 verbose #53491 > │ │
00:25:11 verbose #53492 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53493 > │ let v110 : Async<US5> = null |> unbox<Async<US5>> │
00:25:11 verbose #53494 > │ v110 │
00:25:11 verbose #53495 > │ #endif │
00:25:11 verbose #53496 > │ │
00:25:11 verbose #53497 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53498 > │ let v111 : Async<US5> = null |> unbox<Async<US5>> │
00:25:11 verbose #53499 > │ v111 │
00:25:11 verbose #53500 > │ #endif │
00:25:11 verbose #53501 > │ │
00:25:11 verbose #53502 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53503 > │ let v112 : Async<US5> = null |> unbox<Async<US5>> │
00:25:11 verbose #53504 > │ v112 │
00:25:11 verbose #53505 > │ #endif │
00:25:11 verbose #53506 > │ │
00:25:11 verbose #53507 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53508 > │ let v113 : Async<US5> = null |> unbox<Async<US5>> │
00:25:11 verbose #53509 > │ v113 │
00:25:11 verbose #53510 > │ #endif │
00:25:11 verbose #53511 > │ │
00:25:11 verbose #53512 > │ #else │
00:25:11 verbose #53513 > │ let v114 : Async<US5> option = None │
00:25:11 verbose #53514 > │ let mutable _v114 = v114 │
00:25:11 verbose #53515 > │ async { │
00:25:11 verbose #53516 > │ let! v106 = v106 │
00:25:11 verbose #53517 > │ let v115 : US4 = v106 │
00:25:11 verbose #53518 > │ let v121 : US5 = │
00:25:11 verbose #53519 > │ match v115 with │
00:25:11 verbose #53520 > │ | US4_0(v116) -> (* Choice1Of2 *) │
00:25:11 verbose #53521 > │ US5_0(v116) │
00:25:11 verbose #53522 > │ | US4_1(v118) -> (* Choice2Of2 *) │
00:25:11 verbose #53523 > │ US5_1(v118) │
00:25:11 verbose #53524 > │ return v121 │
00:25:11 verbose #53525 > │ } │
00:25:11 verbose #53526 > │ |> fun x -> _v114 <- Some x │
00:25:11 verbose #53527 > │ let v122 : Async<US5> = _v114 |> Option.get │
00:25:11 verbose #53528 > │ v122 │
00:25:11 verbose #53529 > │ #endif │
00:25:11 verbose #53530 > │ |> fun x -> _v107 <- Some x │
00:25:11 verbose #53531 > │ let v123 : Async<US5> = _v107.Value │
00:25:11 verbose #53532 > │ let v124 : Async<US3> option = None │
00:25:11 verbose #53533 > │ let v125 : bool = true in let mutable _v124 = v124 │
00:25:11 verbose #53534 > │ │
00:25:11 verbose #53535 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53536 > │ │
00:25:11 verbose #53537 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53538 > │ let v126 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53539 > │ v126 │
00:25:11 verbose #53540 > │ #endif │
00:25:11 verbose #53541 > │ │
00:25:11 verbose #53542 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53543 > │ let v127 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53544 > │ v127 │
00:25:11 verbose #53545 > │ #endif │
00:25:11 verbose #53546 > │ │
00:25:11 verbose #53547 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53548 > │ let v128 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53549 > │ v128 │
00:25:11 verbose #53550 > │ #endif │
00:25:11 verbose #53551 > │ │
00:25:11 verbose #53552 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53553 > │ let v129 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53554 > │ v129 │
00:25:11 verbose #53555 > │ #endif │
00:25:11 verbose #53556 > │ │
00:25:11 verbose #53557 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53558 > │ let v130 : Async<US3> = null |> unbox<Async<US3>> │
00:25:11 verbose #53559 > │ v130 │
00:25:11 verbose #53560 > │ #endif │
00:25:11 verbose #53561 > │ │
00:25:11 verbose #53562 > │ #else │
00:25:11 verbose #53563 > │ let v131 : Async<US3> option = None │
00:25:11 verbose #53564 > │ let mutable _v131 = v131 │
00:25:11 verbose #53565 > │ async { │
00:25:11 verbose #53566 > │ let! v123 = v123 │
00:25:11 verbose #53567 > │ let v132 : US5 = v123 │
00:25:11 verbose #53568 > │ let v158 : US3 = │
00:25:11 verbose #53569 > │ match v132 with │
00:25:11 verbose #53570 > │ | US5_1(v135) -> (* Error *) │
00:25:11 verbose #53571 > │ let v136 : string = $"%A{v135}" │
00:25:11 verbose #53572 > │ let v137 : string = "System.TimeoutException" │
00:25:11 verbose #53573 > │ let v138 : bool = v136.Contains v137 │
00:25:11 verbose #53574 > │ if v138 then │
00:25:11 verbose #53575 > │ let v139 : US0 = US0_1 │
00:25:11 verbose #53576 > │ let v140 : (unit -> string) = closure8() │
00:25:11 verbose #53577 > │ let v141 : (unit -> string) = closure9() │
00:25:11 verbose #53578 > │ method1(v139, v140, v141) │
00:25:11 verbose #53579 > │ US3_1 │
00:25:11 verbose #53580 > │ else │
00:25:11 verbose #53581 > │ let v143 : string option = None │
00:25:11 verbose #53582 > │ let v144 : bool = true in let mutable _v143 = v143 │
00:25:11 verbose #53583 > │ │
00:25:11 verbose #53584 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53585 > │ │
00:25:11 verbose #53586 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53587 > │ let v145 : string = $"%A{v135}" │
00:25:11 verbose #53588 > │ v145 │
00:25:11 verbose #53589 > │ #endif │
00:25:11 verbose #53590 > │ │
00:25:11 verbose #53591 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53592 > │ let v146 : string = $"%A{v135}" │
00:25:11 verbose #53593 > │ v146 │
00:25:11 verbose #53594 > │ #endif │
00:25:11 verbose #53595 > │ │
00:25:11 verbose #53596 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53597 > │ let v147 : string = $"%A{v135}" │
00:25:11 verbose #53598 > │ v147 │
00:25:11 verbose #53599 > │ #endif │
00:25:11 verbose #53600 > │ │
00:25:11 verbose #53601 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53602 > │ let v148 : string = $"%A{v135}" │
00:25:11 verbose #53603 > │ v148 │
00:25:11 verbose #53604 > │ #endif │
00:25:11 verbose #53605 > │ │
00:25:11 verbose #53606 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53607 > │ let v149 : string = $"%A{v135}" │
00:25:11 verbose #53608 > │ v149 │
00:25:11 verbose #53609 > │ #endif │
00:25:11 verbose #53610 > │ │
00:25:11 verbose #53611 > │ #else │
00:25:11 verbose #53612 > │ let v150 : string = $"{v135.GetType ()}: {v135.Message}" │
00:25:11 verbose #53613 > │ v150 │
00:25:11 verbose #53614 > │ #endif │
00:25:11 verbose #53615 > │ |> fun x -> _v143 <- Some x │
00:25:11 verbose #53616 > │ let v151 : string = _v143.Value │
00:25:11 verbose #53617 > │ let v152 : US0 = US0_4 │
00:25:11 verbose #53618 > │ let v153 : (unit -> string) = closure10(v151) │
00:25:11 verbose #53619 > │ let v154 : (unit -> string) = closure9() │
00:25:11 verbose #53620 > │ method1(v152, v153, v154) │
00:25:11 verbose #53621 > │ US3_1 │
00:25:11 verbose #53622 > │ | US5_0(v133) -> (* Ok *) │
00:25:11 verbose #53623 > │ US3_0(v133) │
00:25:11 verbose #53624 > │ return v158 │
00:25:11 verbose #53625 > │ } │
00:25:11 verbose #53626 > │ |> fun x -> _v131 <- Some x │
00:25:11 verbose #53627 > │ let v159 : Async<US3> = _v131 |> Option.get │
00:25:11 verbose #53628 > │ v159 │
00:25:11 verbose #53629 > │ #endif │
00:25:11 verbose #53630 > │ |> fun x -> _v124 <- Some x │
00:25:11 verbose #53631 > │ let v160 : Async<US3> = _v124.Value │
00:25:11 verbose #53632 > │ return! v160 │
00:25:11 verbose #53633 > │ } │
00:25:11 verbose #53634 > │ |> fun x -> _v64 <- Some x │
00:25:11 verbose #53635 > │ let v161 : Async<US3> = _v64 |> Option.get │
00:25:11 verbose #53636 > │ v161 │
00:25:11 verbose #53637 > │ #endif │
00:25:11 verbose #53638 > │ |> fun x -> _v57 <- Some x │
00:25:11 verbose #53639 > │ let v162 : Async<US3> = _v57.Value │
00:25:11 verbose #53640 > │ v162 │
00:25:11 verbose #53641 > │ #endif │
00:25:11 verbose #53642 > │ |> fun x -> _v50 <- Some x │
00:25:11 verbose #53643 > │ let v163 : Async<US3> = _v50.Value │
00:25:11 verbose #53644 > │ let! v163 = v163 │
00:25:11 verbose #53645 > │ let v164 : US3 = v163 │
00:25:11 verbose #53646 > │ let v167 : bool = │
00:25:11 verbose #53647 > │ match v164 with │
00:25:11 verbose #53648 > │ | US3_1 -> (* None *) │
00:25:11 verbose #53649 > │ false │
00:25:11 verbose #53650 > │ | US3_0(v165) -> (* Some *) │
00:25:11 verbose #53651 > │ v165 │
00:25:11 verbose #53652 > │ return v167 │
00:25:11 verbose #53653 > │ } │
00:25:11 verbose #53654 > │ |> fun x -> _v7 <- Some x │
00:25:11 verbose #53655 > │ let v168 : Async<bool> = _v7 |> Option.get │
00:25:11 verbose #53656 > │ v168 │
00:25:11 verbose #53657 > │ #endif │
00:25:11 verbose #53658 > │ |> fun x -> _v0 <- Some x │
00:25:11 verbose #53659 > │ let v169 : Async<bool> = _v0.Value │
00:25:11 verbose #53660 > │ let v170 : bool option = None │
00:25:11 verbose #53661 > │ let v171 : bool = true in let mutable _v170 = v170 │
00:25:11 verbose #53662 > │ │
00:25:11 verbose #53663 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:11 verbose #53664 > │ │
00:25:11 verbose #53665 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:11 verbose #53666 > │ let v172 : bool = null |> unbox<bool> │
00:25:11 verbose #53667 > │ v172 │
00:25:11 verbose #53668 > │ #endif │
00:25:11 verbose #53669 > │ │
00:25:11 verbose #53670 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:11 verbose #53671 > │ let v173 : bool = null |> unbox<bool> │
00:25:11 verbose #53672 > │ v173 │
00:25:11 verbose #53673 > │ #endif │
00:25:11 verbose #53674 > │ │
00:25:11 verbose #53675 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:11 verbose #53676 > │ let v174 : bool = null |> unbox<bool> │
00:25:11 verbose #53677 > │ v174 │
00:25:11 verbose #53678 > │ #endif │
00:25:11 verbose #53679 > │ │
00:25:11 verbose #53680 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:11 verbose #53681 > │ let v175 : bool = null |> unbox<bool> │
00:25:11 verbose #53682 > │ v175 │
00:25:11 verbose #53683 > │ #endif │
00:25:11 verbose #53684 > │ │
00:25:11 verbose #53685 > │ #if FABLE_COMPILER_PYTHON │
00:25:11 verbose #53686 > │ let v176 : bool = null |> unbox<bool> │
00:25:11 verbose #53687 > │ v176 │
00:25:11 verbose #53688 > │ #endif │
00:25:11 verbose #53689 > │ │
00:25:11 verbose #53690 > │ #else │
00:25:11 verbose #53691 > │ let v177 : (Async<bool> -> bool) = Async.RunSynchronously │
00:25:11 verbose #53692 > │ let v178 : bool = v177 v169 │
00:25:11 verbose #53693 > │ v178 │
00:25:11 verbose #53694 > │ #endif │
00:25:11 verbose #53695 > │ |> fun x -> _v170 <- Some x │
00:25:11 verbose #53696 > │ let v179 : bool = _v170.Value │
00:25:11 verbose #53697 > │ let v180 : bool = v179 = false │
00:25:11 verbose #53698 > │ let v182 : bool = │
00:25:11 verbose #53699 > │ if v180 then │
00:25:11 verbose #53700 > │ true │
00:25:11 verbose #53701 > │ else │
00:25:11 verbose #53702 > │ method7(v180) │
00:25:11 verbose #53703 > │ let v183 : string = "assert_eq" │
00:25:11 verbose #53704 > │ let v184 : string = $"{v183} / actual: %A{v179} / expected: %A{false}" │
00:25:11 verbose #53705 > │ System.Console.WriteLine v184 │
00:25:11 verbose #53706 > │ let v185 : bool = v182 = false │
00:25:11 verbose #53707 > │ if v185 then │
00:25:11 verbose #53708 > │ failwith<unit> v184 │
00:25:11 verbose #53709 > │ method0() │
00:25:11 verbose #53710 > │ │
00:25:11 verbose #53711 > │ 00:00:00 debug #1 run_with_timeout_async / timeout: 120 │
00:25:11 verbose #53712 > │ assert_eq / actual: false / expected: false │
00:25:11 verbose #53713 > │ │
00:25:11 verbose #53714 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:11 verbose #53715 >
00:25:11 verbose #53716 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:11 verbose #53717 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:11 verbose #53718 > │ ## wait_for_port_access │
00:25:11 verbose #53719 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:11 verbose #53720 >
00:25:11 verbose #53721 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:11 verbose #53722 > inl wait_for_port_access timeout status port : _ i64 =
00:25:11 verbose #53723 > let rec loop retry : _ i64 = async.new_async_unit fun () =>
00:25:11 verbose #53724 > inl isPortOpen =
00:25:11 verbose #53725 > match timeout |> optionm'.unbox with
00:25:11 verbose #53726 > | None => test_port_open port
00:25:11 verbose #53727 > | Some timeout => test_port_open_timeout timeout port
00:25:11 verbose #53728 > |> async.let'
00:25:11 verbose #53729 >
00:25:11 verbose #53730 > fix_condition
00:25:11 verbose #53731 > fun () => isPortOpen = status
00:25:11 verbose #53732 > fun () => retry |> return
00:25:11 verbose #53733 > fun () =>
00:25:11 verbose #53734 > if retry % 100 = 0 then
00:25:11 verbose #53735 > inl _locals () = $'$"port: {!port} / retry: {!retry}
00:25:11 verbose #53736 > timeout: %A{!timeout} / status: {!status} / {!_locals ()}"'
00:25:11 verbose #53737 > trace Verbose (fun () => "wait_for_port_access") _locals
00:25:11 verbose #53738 > async.sleep 10 |> async.do
00:25:11 verbose #53739 > loop (retry + 1) |> async.return_await
00:25:11 verbose #53740 > loop 0i64
00:25:11 verbose #53741 > 00:25:10 debug #899 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bb0b795413cbe9fbe7cd444d3ccc118a761684c3fba7aa67f8ef37cf0a65ac78/main.spi
00:25:11 verbose #53742 >
00:25:11 verbose #53743 > ╭─[ 657.15ms - stdout ]────────────────────────────────────────────────────────╮
00:25:11 verbose #53744 > │ () │
00:25:11 verbose #53745 > │ │
00:25:11 verbose #53746 > │ │
00:25:11 verbose #53747 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:11 verbose #53748 >
00:25:11 verbose #53749 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:11 verbose #53750 > //// test
00:25:11 verbose #53751 >
00:25:11 verbose #53752 > inl lock_port port = async.new_async fun () =>
00:25:11 verbose #53753 > trace Debug (fun () => "_1") _locals
00:25:11 verbose #53754 > async.sleep 5000 |> async.do
00:25:11 verbose #53755 > inl listener = new_tcp_listener ("127.0.0.1" |> ip_address_parse) port |>
00:25:11 verbose #53756 > use
00:25:11 verbose #53757 > trace Debug (fun () => "_2") _locals
00:25:11 verbose #53758 > listener |> listener_start
00:25:11 verbose #53759 > trace Debug (fun () => "_3") _locals
00:25:11 verbose #53760 > async.sleep 2000 |> async.do
00:25:11 verbose #53761 > trace Debug (fun () => "_4") _locals
00:25:11 verbose #53762 > $'!listener.Stop' ()
00:25:11 verbose #53763 > trace Debug (fun () => "_5") _locals
00:25:11 verbose #53764 >
00:25:11 verbose #53765 > inl port = 5555i32
00:25:11 verbose #53766 >
00:25:11 verbose #53767 > fun () =>
00:25:11 verbose #53768 > trace Debug (fun () => "1") _locals
00:25:11 verbose #53769 > inl child = lock_port port |> async.start_child |> async.let'
00:25:11 verbose #53770 > trace Debug (fun () => "2") _locals
00:25:11 verbose #53771 > async.sleep 1 |> async.do
00:25:11 verbose #53772 > trace Debug (fun () => "3") _locals
00:25:11 verbose #53773 > inl retries1 = wait_for_port_access (None |> optionm'.box) true port |>
00:25:11 verbose #53774 > async.let'
00:25:11 verbose #53775 > trace Debug (fun () => "4") _locals
00:25:11 verbose #53776 > inl retries2 = wait_for_port_access (None |> optionm'.box) false port |>
00:25:11 verbose #53777 > async.let'
00:25:11 verbose #53778 > trace Debug (fun () => "5") _locals
00:25:11 verbose #53779 > child |> async.do
00:25:11 verbose #53780 > trace Debug (fun () => "6") _locals
00:25:11 verbose #53781 > (retries1, retries2) |> return
00:25:11 verbose #53782 > |> async.new_async_unit
00:25:11 verbose #53783 > |> async.run_with_timeout 20000
00:25:11 verbose #53784 > |> function
00:25:11 verbose #53785 > | Some (retries1, retries2) =>
00:25:11 verbose #53786 > retries1
00:25:11 verbose #53787 > |> _assert_between
00:25:11 verbose #53788 > if runtime.is_windows () then 2i64 else 2
00:25:11 verbose #53789 > if runtime.is_windows () then 5 else 1500
00:25:11 verbose #53790 >
00:25:11 verbose #53791 > retries2
00:25:11 verbose #53792 > |> _assert_between
00:25:11 verbose #53793 > if runtime.is_windows () then 80i64 else 80
00:25:11 verbose #53794 > if runtime.is_windows () then 150 else 600
00:25:11 verbose #53795 >
00:25:11 verbose #53796 > true
00:25:11 verbose #53797 > | _ => false
00:25:11 verbose #53798 > |> _assert_eq true
00:25:12 verbose #53799 > 00:25:11 debug #900 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/516466cbb9aafa889ca55b3a6192825024ff6dc2f752dabc03823a9684d99b36/main.spi
00:25:22 verbose #53800 >
00:25:22 verbose #53801 > ╭─[ 11.00s - stdout ]──────────────────────────────────────────────────────────╮
00:25:22 verbose #53802 > │ module State = let mutable trace_state = None │
00:25:22 verbose #53803 > │ type [<Struct>] US0 = │
00:25:22 verbose #53804 > │ | US0_0 │
00:25:22 verbose #53805 > │ | US0_1 │
00:25:22 verbose #53806 > │ | US0_2 │
00:25:22 verbose #53807 > │ | US0_3 │
00:25:22 verbose #53808 > │ | US0_4 │
00:25:22 verbose #53809 > │ and Mut0 = {mutable l0 : int64} │
00:25:22 verbose #53810 > │ and Mut1 = {mutable l0 : bool} │
00:25:22 verbose #53811 > │ and Mut2 = {mutable l0 : US0} │
00:25:22 verbose #53812 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:22 verbose #53813 > │ and [<Struct>] US1 = │
00:25:22 verbose #53814 > │ | US1_0 of f0_0 : int64 │
00:25:22 verbose #53815 > │ | US1_1 │
00:25:22 verbose #53816 > │ and [<Struct>] US2 = │
00:25:22 verbose #53817 > │ | US2_0 of f0_0 : int64 │
00:25:22 verbose #53818 > │ | US2_1 │
00:25:22 verbose #53819 > │ and [<Struct>] US3 = │
00:25:22 verbose #53820 > │ | US3_0 of f0_0 : int32 │
00:25:22 verbose #53821 > │ | US3_1 │
00:25:22 verbose #53822 > │ and [<Struct>] US4 = │
00:25:22 verbose #53823 > │ | US4_0 of f0_0 : bool │
00:25:22 verbose #53824 > │ | US4_1 │
00:25:22 verbose #53825 > │ and [<Struct>] US5 = │
00:25:22 verbose #53826 > │ | US5_0 of f0_0 : bool │
00:25:22 verbose #53827 > │ | US5_1 of f1_0 : exn │
00:25:22 verbose #53828 > │ and [<Struct>] US6 = │
00:25:22 verbose #53829 > │ | US6_0 of f0_0 : bool │
00:25:22 verbose #53830 > │ | US6_1 of f1_0 : exn │
00:25:22 verbose #53831 > │ and [<Struct>] US7 = │
00:25:22 verbose #53832 > │ | US7_0 of f0_0 : int64 * f0_1 : int64 │
00:25:22 verbose #53833 > │ | US7_1 │
00:25:22 verbose #53834 > │ and [<Struct>] US8 = │
00:25:22 verbose #53835 > │ | US8_0 of f0_0 : int64 * f0_1 : int64 │
00:25:22 verbose #53836 > │ | US8_1 of f1_0 : exn │
00:25:22 verbose #53837 > │ and [<Struct>] US9 = │
00:25:22 verbose #53838 > │ | US9_0 of f0_0 : int64 * f0_1 : int64 │
00:25:22 verbose #53839 > │ | US9_1 of f1_0 : exn │
00:25:22 verbose #53840 > │ let rec closure0 () () : string = │
00:25:22 verbose #53841 > │ let v0 : string = "1" │
00:25:22 verbose #53842 > │ v0 │
00:25:22 verbose #53843 > │ and closure1 () () : string = │
00:25:22 verbose #53844 > │ let v0 : string = "" │
00:25:22 verbose #53845 > │ v0 │
00:25:22 verbose #53846 > │ and closure4 () (v0 : string) : unit = │
00:25:22 verbose #53847 > │ () │
00:25:22 verbose #53848 > │ and method2 (v0 : int64 option) : int64 option = │
00:25:22 verbose #53849 > │ v0 │
00:25:22 verbose #53850 > │ and method3 (v0 : int64 option) : int64 option = │
00:25:22 verbose #53851 > │ v0 │
00:25:22 verbose #53852 > │ and closure3 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:22 verbose #53853 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:22 verbose #53854 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:22 verbose #53855 > │ let v2 : US0 = US0_0 │
00:25:22 verbose #53856 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:23 verbose #53857 > │ let v4 : (string -> unit) = closure4() │
00:25:23 verbose #53858 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:23 verbose #53859 > │ let v6 : int64 option option = None │
00:25:23 verbose #53860 > │ let mutable _v6 = v6 │
00:25:23 verbose #53861 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:23 verbose #53862 > │ let v7 : string option = None │
00:25:23 verbose #53863 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:23 verbose #53864 > │ │
00:25:23 verbose #53865 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #53866 > │ │
00:25:23 verbose #53867 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #53868 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:23 verbose #53869 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:23 verbose #53870 > │ v10 │
00:25:23 verbose #53871 > │ #endif │
00:25:23 verbose #53872 > │ │
00:25:23 verbose #53873 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #53874 > │ let v11 : string = null |> unbox<string> │
00:25:23 verbose #53875 > │ v11 │
00:25:23 verbose #53876 > │ #endif │
00:25:23 verbose #53877 > │ │
00:25:23 verbose #53878 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #53879 > │ let v12 : string = null |> unbox<string> │
00:25:23 verbose #53880 > │ v12 │
00:25:23 verbose #53881 > │ #endif │
00:25:23 verbose #53882 > │ │
00:25:23 verbose #53883 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #53884 > │ let v13 : string = null |> unbox<string> │
00:25:23 verbose #53885 > │ v13 │
00:25:23 verbose #53886 > │ #endif │
00:25:23 verbose #53887 > │ │
00:25:23 verbose #53888 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #53889 > │ let v14 : string = null |> unbox<string> │
00:25:23 verbose #53890 > │ v14 │
00:25:23 verbose #53891 > │ #endif │
00:25:23 verbose #53892 > │ │
00:25:23 verbose #53893 > │ #else │
00:25:23 verbose #53894 > │ let v15 : string = │
00:25:23 verbose #53895 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:23 verbose #53896 > │ v15 │
00:25:23 verbose #53897 > │ #endif │
00:25:23 verbose #53898 > │ |> fun x -> _v7 <- Some x │
00:25:23 verbose #53899 > │ let v16 : string = _v7.Value │
00:25:23 verbose #53900 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:23 verbose #53901 > │ let v19 : bool = v18 <> true │
00:25:23 verbose #53902 > │ let v25 : US1 = │
00:25:23 verbose #53903 > │ if v19 then │
00:25:23 verbose #53904 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:23 verbose #53905 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:23 verbose #53906 > │ let v22 : int64 = v21 v20 │
00:25:23 verbose #53907 > │ US1_0(v22) │
00:25:23 verbose #53908 > │ else │
00:25:23 verbose #53909 > │ US1_1 │
00:25:23 verbose #53910 > │ let v30 : int64 option = │
00:25:23 verbose #53911 > │ match v25 with │
00:25:23 verbose #53912 > │ | US1_1 -> (* None *) │
00:25:23 verbose #53913 > │ let v28 : int64 option = None │
00:25:23 verbose #53914 > │ v28 │
00:25:23 verbose #53915 > │ | US1_0(v26) -> (* Some *) │
00:25:23 verbose #53916 > │ let v27 : int64 option = Some v26 │
00:25:23 verbose #53917 > │ v27 │
00:25:23 verbose #53918 > │ let v31 : int64 option = method2(v30) │
00:25:23 verbose #53919 > │ v31 │
00:25:23 verbose #53920 > │ #else │
00:25:23 verbose #53921 > │ let v32 : int64 option = None │
00:25:23 verbose #53922 > │ let v33 : int64 option = method3(v32) │
00:25:23 verbose #53923 > │ v33 │
00:25:23 verbose #53924 > │ #endif │
00:25:23 verbose #53925 > │ |> fun x -> _v6 <- Some x │
00:25:23 verbose #53926 > │ let v34 : int64 option = _v6.Value │
00:25:23 verbose #53927 > │ struct (v1, v0, v3, v34, v5) │
00:25:23 verbose #53928 > │ and closure5 () (v0 : int64) : US2 = │
00:25:23 verbose #53929 > │ US2_0(v0) │
00:25:23 verbose #53930 > │ and method4 () : (int64 -> US2) = │
00:25:23 verbose #53931 > │ closure5() │
00:25:23 verbose #53932 > │ and method5 () : string = │
00:25:23 verbose #53933 > │ let v0 : string = "" │
00:25:23 verbose #53934 > │ v0 │
00:25:23 verbose #53935 > │ and closure2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:23 verbose #53936 > │ string = │
00:25:23 verbose #53937 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:23 verbose #53938 > │ closure3() │
00:25:23 verbose #53939 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:23 verbose #53940 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:23 verbose #53941 > │ Mut3) = State.trace_state.Value │
00:25:23 verbose #53942 > │ let v9 : string option = None │
00:25:23 verbose #53943 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:23 verbose #53944 > │ │
00:25:23 verbose #53945 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #53946 > │ │
00:25:23 verbose #53947 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #53948 > │ let v11 : (int64 -> US2) = method4() │
00:25:23 verbose #53949 > │ let v12 : US2 = US2_1 │
00:25:23 verbose #53950 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:23 verbose #53951 > │ let v31 : System.DateTime = │
00:25:23 verbose #53952 > │ match v13 with │
00:25:23 verbose #53953 > │ | US2_1 -> (* None *) │
00:25:23 verbose #53954 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:23 verbose #53955 > │ v29 │
00:25:23 verbose #53956 > │ | US2_0(v14) -> (* Some *) │
00:25:23 verbose #53957 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:23 verbose #53958 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:23 verbose #53959 > │ let v17 : int64 = v16 v15 │
00:25:23 verbose #53960 > │ let v18 : int64 = v17 - v14 │
00:25:23 verbose #53961 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:23 verbose #53962 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:23 verbose #53963 > │ let v21 : int32 = v20 v19 │
00:25:23 verbose #53964 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:23 verbose #53965 > │ let v23 : int32 = v22 v19 │
00:25:23 verbose #53966 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:23 verbose #53967 > │ let v25 : int32 = v24 v19 │
00:25:23 verbose #53968 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:23 verbose #53969 > │ let v27 : int32 = v26 v19 │
00:25:23 verbose #53970 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:23 verbose #53971 > │ v25, v27) │
00:25:23 verbose #53972 > │ v28 │
00:25:23 verbose #53973 > │ let v32 : string = "hh:mm:ss" │
00:25:23 verbose #53974 > │ let v33 : string = v31.ToString v32 │
00:25:23 verbose #53975 > │ v33 │
00:25:23 verbose #53976 > │ #endif │
00:25:23 verbose #53977 > │ │
00:25:23 verbose #53978 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #53979 > │ let v34 : string = method5() │
00:25:23 verbose #53980 > │ v34 │
00:25:23 verbose #53981 > │ #endif │
00:25:23 verbose #53982 > │ │
00:25:23 verbose #53983 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #53984 > │ let v35 : string = method5() │
00:25:23 verbose #53985 > │ v35 │
00:25:23 verbose #53986 > │ #endif │
00:25:23 verbose #53987 > │ │
00:25:23 verbose #53988 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #53989 > │ let v36 : string = method5() │
00:25:23 verbose #53990 > │ v36 │
00:25:23 verbose #53991 > │ #endif │
00:25:23 verbose #53992 > │ │
00:25:23 verbose #53993 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #53994 > │ let v37 : string = method5() │
00:25:23 verbose #53995 > │ v37 │
00:25:23 verbose #53996 > │ #endif │
00:25:23 verbose #53997 > │ │
00:25:23 verbose #53998 > │ #else │
00:25:23 verbose #53999 > │ let v38 : (int64 -> US2) = method4() │
00:25:23 verbose #54000 > │ let v39 : US2 = US2_1 │
00:25:23 verbose #54001 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:23 verbose #54002 > │ let v58 : System.DateTime = │
00:25:23 verbose #54003 > │ match v40 with │
00:25:23 verbose #54004 > │ | US2_1 -> (* None *) │
00:25:23 verbose #54005 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:23 verbose #54006 > │ v56 │
00:25:23 verbose #54007 > │ | US2_0(v41) -> (* Some *) │
00:25:23 verbose #54008 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:23 verbose #54009 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:23 verbose #54010 > │ let v44 : int64 = v43 v42 │
00:25:23 verbose #54011 > │ let v45 : int64 = v44 - v41 │
00:25:23 verbose #54012 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:23 verbose #54013 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:23 verbose #54014 > │ let v48 : int32 = v47 v46 │
00:25:23 verbose #54015 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:23 verbose #54016 > │ let v50 : int32 = v49 v46 │
00:25:23 verbose #54017 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:23 verbose #54018 > │ let v52 : int32 = v51 v46 │
00:25:23 verbose #54019 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:23 verbose #54020 > │ let v54 : int32 = v53 v46 │
00:25:23 verbose #54021 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:23 verbose #54022 > │ v52, v54) │
00:25:23 verbose #54023 > │ v55 │
00:25:23 verbose #54024 > │ let v59 : string = "HH:mm:ss" │
00:25:23 verbose #54025 > │ let v60 : string = v58.ToString v59 │
00:25:23 verbose #54026 > │ v60 │
00:25:23 verbose #54027 > │ #endif │
00:25:23 verbose #54028 > │ |> fun x -> _v9 <- Some x │
00:25:23 verbose #54029 > │ let v61 : string = _v9.Value │
00:25:23 verbose #54030 > │ let v62 : int64 = v4.l0 │
00:25:23 verbose #54031 > │ let v72 : string = │
00:25:23 verbose #54032 > │ match v0 with │
00:25:23 verbose #54033 > │ | US0_4 -> (* Critical *) │
00:25:23 verbose #54034 > │ let v67 : string = "Critical" │
00:25:23 verbose #54035 > │ v67 │
00:25:23 verbose #54036 > │ | US0_1 -> (* Debug *) │
00:25:23 verbose #54037 > │ let v64 : string = "Debug" │
00:25:23 verbose #54038 > │ v64 │
00:25:23 verbose #54039 > │ | US0_2 -> (* Info *) │
00:25:23 verbose #54040 > │ let v65 : string = "Info" │
00:25:23 verbose #54041 > │ v65 │
00:25:23 verbose #54042 > │ | US0_0 -> (* Verbose *) │
00:25:23 verbose #54043 > │ let v63 : string = "Verbose" │
00:25:23 verbose #54044 > │ v63 │
00:25:23 verbose #54045 > │ | US0_3 -> (* Warning *) │
00:25:23 verbose #54046 > │ let v66 : string = "Warning" │
00:25:23 verbose #54047 > │ v66 │
00:25:23 verbose #54048 > │ let v73 : string = v72.ToLower () │
00:25:23 verbose #54049 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:23 verbose #54050 > │ let v75 : string option = None │
00:25:23 verbose #54051 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:23 verbose #54052 > │ │
00:25:23 verbose #54053 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54054 > │ │
00:25:23 verbose #54055 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54056 > │ let v91 : Ref<Str> = │
00:25:23 verbose #54057 > │ match v0 with │
00:25:23 verbose #54058 > │ | US0_4 -> (* Critical *) │
00:25:23 verbose #54059 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:23 verbose #54060 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:23 verbose #54061 > │ v86 │
00:25:23 verbose #54062 > │ | US0_1 -> (* Debug *) │
00:25:23 verbose #54063 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:23 verbose #54064 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:23 verbose #54065 > │ v80 │
00:25:23 verbose #54066 > │ | US0_2 -> (* Info *) │
00:25:23 verbose #54067 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:23 verbose #54068 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:23 verbose #54069 > │ v82 │
00:25:23 verbose #54070 > │ | US0_0 -> (* Verbose *) │
00:25:23 verbose #54071 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:23 verbose #54072 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:23 verbose #54073 > │ v78 │
00:25:23 verbose #54074 > │ | US0_3 -> (* Warning *) │
00:25:23 verbose #54075 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:23 verbose #54076 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:23 verbose #54077 > │ v84 │
00:25:23 verbose #54078 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:23 verbose #54079 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:23 verbose #54080 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:23 verbose #54081 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:23 verbose #54082 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:23 verbose #54083 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:23 verbose #54084 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:23 verbose #54085 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:23 verbose #54086 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:23 verbose #54087 > │ v100 │
00:25:23 verbose #54088 > │ #endif │
00:25:23 verbose #54089 > │ │
00:25:23 verbose #54090 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54091 > │ let v115 : Ref<Str> = │
00:25:23 verbose #54092 > │ match v0 with │
00:25:23 verbose #54093 > │ | US0_4 -> (* Critical *) │
00:25:23 verbose #54094 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:23 verbose #54095 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54096 > │ v109 │
00:25:23 verbose #54097 > │ v110 │
00:25:23 verbose #54098 > │ | US0_1 -> (* Debug *) │
00:25:23 verbose #54099 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:23 verbose #54100 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54101 > │ v103 │
00:25:23 verbose #54102 > │ v104 │
00:25:23 verbose #54103 > │ | US0_2 -> (* Info *) │
00:25:23 verbose #54104 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:23 verbose #54105 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54106 > │ v105 │
00:25:23 verbose #54107 > │ v106 │
00:25:23 verbose #54108 > │ | US0_0 -> (* Verbose *) │
00:25:23 verbose #54109 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:23 verbose #54110 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54111 > │ v101 │
00:25:23 verbose #54112 > │ v102 │
00:25:23 verbose #54113 > │ | US0_3 -> (* Warning *) │
00:25:23 verbose #54114 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:23 verbose #54115 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54116 > │ v107 │
00:25:23 verbose #54117 > │ v108 │
00:25:23 verbose #54118 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:23 verbose #54119 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:23 verbose #54120 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:23 verbose #54121 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:23 verbose #54122 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:23 verbose #54123 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:23 verbose #54124 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54125 > │ v121 │
00:25:23 verbose #54126 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:23 verbose #54127 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:23 verbose #54128 > │ v124 │
00:25:23 verbose #54129 > │ #endif │
00:25:23 verbose #54130 > │ │
00:25:23 verbose #54131 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54132 > │ let v139 : Ref<Str> = │
00:25:23 verbose #54133 > │ match v0 with │
00:25:23 verbose #54134 > │ | US0_4 -> (* Critical *) │
00:25:23 verbose #54135 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:23 verbose #54136 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54137 > │ v133 │
00:25:23 verbose #54138 > │ v134 │
00:25:23 verbose #54139 > │ | US0_1 -> (* Debug *) │
00:25:23 verbose #54140 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:23 verbose #54141 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54142 > │ v127 │
00:25:23 verbose #54143 > │ v128 │
00:25:23 verbose #54144 > │ | US0_2 -> (* Info *) │
00:25:23 verbose #54145 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:23 verbose #54146 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54147 > │ v129 │
00:25:23 verbose #54148 > │ v130 │
00:25:23 verbose #54149 > │ | US0_0 -> (* Verbose *) │
00:25:23 verbose #54150 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:23 verbose #54151 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54152 > │ v125 │
00:25:23 verbose #54153 > │ v126 │
00:25:23 verbose #54154 > │ | US0_3 -> (* Warning *) │
00:25:23 verbose #54155 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:23 verbose #54156 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54157 > │ v131 │
00:25:23 verbose #54158 > │ v132 │
00:25:23 verbose #54159 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:23 verbose #54160 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:23 verbose #54161 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:23 verbose #54162 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:23 verbose #54163 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:23 verbose #54164 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:23 verbose #54165 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:23 verbose #54166 > │ v145 │
00:25:23 verbose #54167 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:23 verbose #54168 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:23 verbose #54169 > │ v148 │
00:25:23 verbose #54170 > │ #endif │
00:25:23 verbose #54171 > │ │
00:25:23 verbose #54172 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54173 > │ v74 │
00:25:23 verbose #54174 > │ #endif │
00:25:23 verbose #54175 > │ │
00:25:23 verbose #54176 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54177 > │ v74 │
00:25:23 verbose #54178 > │ #endif │
00:25:23 verbose #54179 > │ │
00:25:23 verbose #54180 > │ #else │
00:25:23 verbose #54181 > │ v74 │
00:25:23 verbose #54182 > │ #endif │
00:25:23 verbose #54183 > │ |> fun x -> _v75 <- Some x │
00:25:23 verbose #54184 > │ let v149 : string = _v75.Value │
00:25:23 verbose #54185 > │ let v150 : string = v1 () │
00:25:23 verbose #54186 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:23 verbose #54187 > │ let v152 : (char []) = [||] │
00:25:23 verbose #54188 > │ let v153 : string = v151.TrimStart v152 │
00:25:23 verbose #54189 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:23 verbose #54190 > │ let v155 : string = v153.TrimEnd v154 │
00:25:23 verbose #54191 > │ v155 │
00:25:23 verbose #54192 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:23 verbose #54193 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:23 verbose #54194 > │ closure3() │
00:25:23 verbose #54195 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:23 verbose #54196 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:23 verbose #54197 > │ Mut3) = State.trace_state.Value │
00:25:23 verbose #54198 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:23 verbose #54199 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:23 verbose #54200 > │ Mut3) = State.trace_state.Value │
00:25:23 verbose #54201 > │ let v13 : US0 = v10.l0 │
00:25:23 verbose #54202 > │ let v14 : bool = v9.l0 │
00:25:23 verbose #54203 > │ let v15 : bool = v14 = false │
00:25:23 verbose #54204 > │ let v19 : bool = │
00:25:23 verbose #54205 > │ if v15 then │
00:25:23 verbose #54206 > │ false │
00:25:23 verbose #54207 > │ else │
00:25:23 verbose #54208 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:23 verbose #54209 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:23 verbose #54210 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:23 verbose #54211 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:23 verbose #54212 > │ let v18 : bool = v16 >= v17 │
00:25:23 verbose #54213 > │ v18 │
00:25:23 verbose #54214 > │ if v19 then │
00:25:23 verbose #54215 > │ let v20 : int64 = v3.l0 │
00:25:23 verbose #54216 > │ let v21 : int64 = v20 + 1L │
00:25:23 verbose #54217 > │ v3.l0 <- v21 │
00:25:23 verbose #54218 > │ let v22 : string = $"%s{v1 ()}" │
00:25:23 verbose #54219 > │ let v23 : unit option = None │
00:25:23 verbose #54220 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:23 verbose #54221 > │ │
00:25:23 verbose #54222 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54223 > │ │
00:25:23 verbose #54224 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54225 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:23 verbose #54226 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:23 verbose #54227 > │ () │
00:25:23 verbose #54228 > │ #endif │
00:25:23 verbose #54229 > │ │
00:25:23 verbose #54230 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54231 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:23 verbose #54232 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:23 verbose #54233 > │ () │
00:25:23 verbose #54234 > │ #endif │
00:25:23 verbose #54235 > │ │
00:25:23 verbose #54236 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54237 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:23 verbose #54238 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:23 verbose #54239 > │ () │
00:25:23 verbose #54240 > │ #endif │
00:25:23 verbose #54241 > │ │
00:25:23 verbose #54242 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54243 > │ System.Console.WriteLine v22 │
00:25:23 verbose #54244 > │ () │
00:25:23 verbose #54245 > │ #endif │
00:25:23 verbose #54246 > │ │
00:25:23 verbose #54247 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54248 > │ System.Console.WriteLine v22 │
00:25:23 verbose #54249 > │ () │
00:25:23 verbose #54250 > │ #endif │
00:25:23 verbose #54251 > │ │
00:25:23 verbose #54252 > │ #else │
00:25:23 verbose #54253 > │ System.Console.WriteLine v22 │
00:25:23 verbose #54254 > │ () │
00:25:23 verbose #54255 > │ #endif │
00:25:23 verbose #54256 > │ |> fun x -> _v23 <- Some x │
00:25:23 verbose #54257 > │ _v23.Value │
00:25:23 verbose #54258 > │ let v28 : (string -> unit) = v7.l0 │
00:25:23 verbose #54259 > │ v28 v22 │
00:25:23 verbose #54260 > │ and method1 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:23 verbose #54261 > │ = │
00:25:23 verbose #54262 > │ let v3 : (unit -> string) = closure2(v0, v1, v2) │
00:25:23 verbose #54263 > │ method6(v0, v3) │
00:25:23 verbose #54264 > │ and closure6 () () : string = │
00:25:23 verbose #54265 > │ let v0 : string = "_1" │
00:25:23 verbose #54266 > │ v0 │
00:25:23 verbose #54267 > │ and closure7 () () : string = │
00:25:23 verbose #54268 > │ let v0 : string = "_2" │
00:25:23 verbose #54269 > │ v0 │
00:25:23 verbose #54270 > │ and closure8 () () : string = │
00:25:23 verbose #54271 > │ let v0 : string = "_3" │
00:25:23 verbose #54272 > │ v0 │
00:25:23 verbose #54273 > │ and closure9 () () : string = │
00:25:23 verbose #54274 > │ let v0 : string = "_4" │
00:25:23 verbose #54275 > │ v0 │
00:25:23 verbose #54276 > │ and closure10 () () : string = │
00:25:23 verbose #54277 > │ let v0 : string = "_5" │
00:25:23 verbose #54278 > │ v0 │
00:25:23 verbose #54279 > │ and closure11 () () : string = │
00:25:23 verbose #54280 > │ let v0 : string = "2" │
00:25:23 verbose #54281 > │ v0 │
00:25:23 verbose #54282 > │ and closure12 () () : string = │
00:25:23 verbose #54283 > │ let v0 : string = "3" │
00:25:23 verbose #54284 > │ v0 │
00:25:23 verbose #54285 > │ and closure13 () (v0 : int32) : US3 = │
00:25:23 verbose #54286 > │ US3_0(v0) │
00:25:23 verbose #54287 > │ and method8 () : (int32 -> US3) = │
00:25:23 verbose #54288 > │ closure13() │
00:25:23 verbose #54289 > │ and closure14 (v0 : string) () : string = │
00:25:23 verbose #54290 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:23 verbose #54291 > │ v1 │
00:25:23 verbose #54292 > │ and closure15 () (v0 : bool) : US5 = │
00:25:23 verbose #54293 > │ US5_0(v0) │
00:25:23 verbose #54294 > │ and closure16 () (v0 : exn) : US5 = │
00:25:23 verbose #54295 > │ US5_1(v0) │
00:25:23 verbose #54296 > │ and closure17 () () : string = │
00:25:23 verbose #54297 > │ let v0 : string = "run_with_timeout_async" │
00:25:23 verbose #54298 > │ v0 │
00:25:23 verbose #54299 > │ and closure18 (v0 : int32) () : string = │
00:25:23 verbose #54300 > │ let v1 : (unit -> string) = closure1() │
00:25:23 verbose #54301 > │ let v2 : string = $"timeout: {v0} / {v1 ()}" │
00:25:23 verbose #54302 > │ v2 │
00:25:23 verbose #54303 > │ and closure19 (v0 : string) () : string = │
00:25:23 verbose #54304 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:23 verbose #54305 > │ v1 │
00:25:23 verbose #54306 > │ and closure20 () () : string = │
00:25:23 verbose #54307 > │ let v0 : string = "wait_for_port_access" │
00:25:23 verbose #54308 > │ v0 │
00:25:23 verbose #54309 > │ and closure21 (v0 : int32 option, v1 : int64) () : string = │
00:25:23 verbose #54310 > │ let v2 : (unit -> string) = closure1() │
00:25:23 verbose #54311 > │ let v3 : string = $"port: {5555} / retry: {v1} / timeout: %A{v0} / │
00:25:23 verbose #54312 > │ status: {true} / {v2 ()}" │
00:25:23 verbose #54313 > │ v3 │
00:25:23 verbose #54314 > │ and method7 (v0 : int32 option, v1 : int64) : Async<int64> = │
00:25:23 verbose #54315 > │ let v2 : Async<int64> option = None │
00:25:23 verbose #54316 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:23 verbose #54317 > │ │
00:25:23 verbose #54318 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54319 > │ │
00:25:23 verbose #54320 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54321 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #54322 > │ v4 │
00:25:23 verbose #54323 > │ #endif │
00:25:23 verbose #54324 > │ │
00:25:23 verbose #54325 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54326 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #54327 > │ v5 │
00:25:23 verbose #54328 > │ #endif │
00:25:23 verbose #54329 > │ │
00:25:23 verbose #54330 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54331 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #54332 > │ v6 │
00:25:23 verbose #54333 > │ #endif │
00:25:23 verbose #54334 > │ │
00:25:23 verbose #54335 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54336 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #54337 > │ v7 │
00:25:23 verbose #54338 > │ #endif │
00:25:23 verbose #54339 > │ │
00:25:23 verbose #54340 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54341 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #54342 > │ v8 │
00:25:23 verbose #54343 > │ #endif │
00:25:23 verbose #54344 > │ │
00:25:23 verbose #54345 > │ #else │
00:25:23 verbose #54346 > │ let v9 : Async<int64> option = None │
00:25:23 verbose #54347 > │ let mutable _v9 = v9 │
00:25:23 verbose #54348 > │ async { │
00:25:23 verbose #54349 > │ let v10 : (int32 -> US3) = method8() │
00:25:23 verbose #54350 > │ let v11 : US3 = US3_1 │
00:25:23 verbose #54351 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:23 verbose #54352 > │ let v227 : Async<bool> = │
00:25:23 verbose #54353 > │ match v12 with │
00:25:23 verbose #54354 > │ | US3_1 -> (* None *) │
00:25:23 verbose #54355 > │ let v13 : Async<bool> option = None │
00:25:23 verbose #54356 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:23 verbose #54357 > │ │
00:25:23 verbose #54358 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54359 > │ │
00:25:23 verbose #54360 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54361 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54362 > │ v15 │
00:25:23 verbose #54363 > │ #endif │
00:25:23 verbose #54364 > │ │
00:25:23 verbose #54365 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54366 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54367 > │ v16 │
00:25:23 verbose #54368 > │ #endif │
00:25:23 verbose #54369 > │ │
00:25:23 verbose #54370 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54371 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54372 > │ v17 │
00:25:23 verbose #54373 > │ #endif │
00:25:23 verbose #54374 > │ │
00:25:23 verbose #54375 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54376 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54377 > │ v18 │
00:25:23 verbose #54378 > │ #endif │
00:25:23 verbose #54379 > │ │
00:25:23 verbose #54380 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54381 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54382 > │ v19 │
00:25:23 verbose #54383 > │ #endif │
00:25:23 verbose #54384 > │ │
00:25:23 verbose #54385 > │ #else │
00:25:23 verbose #54386 > │ let v20 : Async<bool> option = None │
00:25:23 verbose #54387 > │ let mutable _v20 = v20 │
00:25:23 verbose #54388 > │ async { │
00:25:23 verbose #54389 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:23 verbose #54390 > │ Async.CancellationToken │
00:25:23 verbose #54391 > │ let! v21 = v21 │
00:25:23 verbose #54392 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:23 verbose #54393 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:23 verbose #54394 > │ System.Net.Sockets.TcpClient () │
00:25:23 verbose #54395 > │ use v23 = v23 │
00:25:23 verbose #54396 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:23 verbose #54397 > │ try │
00:25:23 verbose #54398 > │ let v25 : string = "127.0.0.1" │
00:25:23 verbose #54399 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:23 verbose #54400 > │ (v25, 5555, v22) │
00:25:23 verbose #54401 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:23 verbose #54402 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:23 verbose #54403 > │ let v29 : Async<unit> option = None │
00:25:23 verbose #54404 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:23 verbose #54405 > │ │
00:25:23 verbose #54406 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54407 > │ │
00:25:23 verbose #54408 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54409 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54410 > │ v31 │
00:25:23 verbose #54411 > │ #endif │
00:25:23 verbose #54412 > │ │
00:25:23 verbose #54413 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54414 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54415 > │ v32 │
00:25:23 verbose #54416 > │ #endif │
00:25:23 verbose #54417 > │ │
00:25:23 verbose #54418 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54419 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54420 > │ v33 │
00:25:23 verbose #54421 > │ #endif │
00:25:23 verbose #54422 > │ │
00:25:23 verbose #54423 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54424 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54425 > │ v34 │
00:25:23 verbose #54426 > │ #endif │
00:25:23 verbose #54427 > │ │
00:25:23 verbose #54428 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54429 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54430 > │ v35 │
00:25:23 verbose #54431 > │ #endif │
00:25:23 verbose #54432 > │ │
00:25:23 verbose #54433 > │ #else │
00:25:23 verbose #54434 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:23 verbose #54435 > │ Async.AwaitTask │
00:25:23 verbose #54436 > │ let v37 : Async<unit> = v36 v28 │
00:25:23 verbose #54437 > │ v37 │
00:25:23 verbose #54438 > │ #endif │
00:25:23 verbose #54439 > │ |> fun x -> _v29 <- Some x │
00:25:23 verbose #54440 > │ let v38 : Async<unit> = _v29.Value │
00:25:23 verbose #54441 > │ do! v38 │
00:25:23 verbose #54442 > │ return true │
00:25:23 verbose #54443 > │ with ex -> │
00:25:23 verbose #54444 > │ let v39 : exn = ex │
00:25:23 verbose #54445 > │ let v40 : string option = None │
00:25:23 verbose #54446 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:23 verbose #54447 > │ │
00:25:23 verbose #54448 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54449 > │ │
00:25:23 verbose #54450 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54451 > │ let v42 : string = $"%A{v39}" │
00:25:23 verbose #54452 > │ v42 │
00:25:23 verbose #54453 > │ #endif │
00:25:23 verbose #54454 > │ │
00:25:23 verbose #54455 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54456 > │ let v43 : string = $"%A{v39}" │
00:25:23 verbose #54457 > │ v43 │
00:25:23 verbose #54458 > │ #endif │
00:25:23 verbose #54459 > │ │
00:25:23 verbose #54460 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54461 > │ let v44 : string = $"%A{v39}" │
00:25:23 verbose #54462 > │ v44 │
00:25:23 verbose #54463 > │ #endif │
00:25:23 verbose #54464 > │ │
00:25:23 verbose #54465 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54466 > │ let v45 : string = $"%A{v39}" │
00:25:23 verbose #54467 > │ v45 │
00:25:23 verbose #54468 > │ #endif │
00:25:23 verbose #54469 > │ │
00:25:23 verbose #54470 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54471 > │ let v46 : string = $"%A{v39}" │
00:25:23 verbose #54472 > │ v46 │
00:25:23 verbose #54473 > │ #endif │
00:25:23 verbose #54474 > │ │
00:25:23 verbose #54475 > │ #else │
00:25:23 verbose #54476 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:23 verbose #54477 > │ v47 │
00:25:23 verbose #54478 > │ #endif │
00:25:23 verbose #54479 > │ |> fun x -> _v40 <- Some x │
00:25:23 verbose #54480 > │ let v48 : string = _v40.Value │
00:25:23 verbose #54481 > │ let v49 : US0 = US0_0 │
00:25:23 verbose #54482 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:23 verbose #54483 > │ let v51 : (unit -> string) = closure1() │
00:25:23 verbose #54484 > │ method1(v49, v50, v51) │
00:25:23 verbose #54485 > │ return false │
00:25:23 verbose #54486 > │ (* │
00:25:23 verbose #54487 > │ let v52 : bool = *) │
00:25:23 verbose #54488 > │ } │
00:25:23 verbose #54489 > │ |> fun x -> _v20 <- Some x │
00:25:23 verbose #54490 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:23 verbose #54491 > │ v53 │
00:25:23 verbose #54492 > │ #endif │
00:25:23 verbose #54493 > │ |> fun x -> _v13 <- Some x │
00:25:23 verbose #54494 > │ let v54 : Async<bool> = _v13.Value │
00:25:23 verbose #54495 > │ v54 │
00:25:23 verbose #54496 > │ | US3_0(v55) -> (* Some *) │
00:25:23 verbose #54497 > │ let v56 : Async<bool> option = None │
00:25:23 verbose #54498 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:23 verbose #54499 > │ │
00:25:23 verbose #54500 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54501 > │ │
00:25:23 verbose #54502 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54503 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54504 > │ v58 │
00:25:23 verbose #54505 > │ #endif │
00:25:23 verbose #54506 > │ │
00:25:23 verbose #54507 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54508 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54509 > │ v59 │
00:25:23 verbose #54510 > │ #endif │
00:25:23 verbose #54511 > │ │
00:25:23 verbose #54512 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54513 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54514 > │ v60 │
00:25:23 verbose #54515 > │ #endif │
00:25:23 verbose #54516 > │ │
00:25:23 verbose #54517 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54518 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54519 > │ v61 │
00:25:23 verbose #54520 > │ #endif │
00:25:23 verbose #54521 > │ │
00:25:23 verbose #54522 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54523 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54524 > │ v62 │
00:25:23 verbose #54525 > │ #endif │
00:25:23 verbose #54526 > │ │
00:25:23 verbose #54527 > │ #else │
00:25:23 verbose #54528 > │ let v63 : Async<bool> option = None │
00:25:23 verbose #54529 > │ let mutable _v63 = v63 │
00:25:23 verbose #54530 > │ async { │
00:25:23 verbose #54531 > │ let v64 : Async<bool> option = None │
00:25:23 verbose #54532 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:23 verbose #54533 > │ │
00:25:23 verbose #54534 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54535 > │ │
00:25:23 verbose #54536 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54537 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54538 > │ v66 │
00:25:23 verbose #54539 > │ #endif │
00:25:23 verbose #54540 > │ │
00:25:23 verbose #54541 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54542 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54543 > │ v67 │
00:25:23 verbose #54544 > │ #endif │
00:25:23 verbose #54545 > │ │
00:25:23 verbose #54546 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54547 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54548 > │ v68 │
00:25:23 verbose #54549 > │ #endif │
00:25:23 verbose #54550 > │ │
00:25:23 verbose #54551 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54552 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54553 > │ v69 │
00:25:23 verbose #54554 > │ #endif │
00:25:23 verbose #54555 > │ │
00:25:23 verbose #54556 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54557 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #54558 > │ v70 │
00:25:23 verbose #54559 > │ #endif │
00:25:23 verbose #54560 > │ │
00:25:23 verbose #54561 > │ #else │
00:25:23 verbose #54562 > │ let v71 : Async<bool> option = None │
00:25:23 verbose #54563 > │ let mutable _v71 = v71 │
00:25:23 verbose #54564 > │ async { │
00:25:23 verbose #54565 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:23 verbose #54566 > │ Async.CancellationToken │
00:25:23 verbose #54567 > │ let! v72 = v72 │
00:25:23 verbose #54568 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:23 verbose #54569 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:23 verbose #54570 > │ System.Net.Sockets.TcpClient () │
00:25:23 verbose #54571 > │ use v74 = v74 │
00:25:23 verbose #54572 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:23 verbose #54573 > │ try │
00:25:23 verbose #54574 > │ let v76 : string = "127.0.0.1" │
00:25:23 verbose #54575 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:23 verbose #54576 > │ (v76, 5555, v73) │
00:25:23 verbose #54577 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:23 verbose #54578 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:23 verbose #54579 > │ let v80 : Async<unit> option = None │
00:25:23 verbose #54580 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:23 verbose #54581 > │ │
00:25:23 verbose #54582 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54583 > │ │
00:25:23 verbose #54584 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54585 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54586 > │ v82 │
00:25:23 verbose #54587 > │ #endif │
00:25:23 verbose #54588 > │ │
00:25:23 verbose #54589 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54590 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54591 > │ v83 │
00:25:23 verbose #54592 > │ #endif │
00:25:23 verbose #54593 > │ │
00:25:23 verbose #54594 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54595 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54596 > │ v84 │
00:25:23 verbose #54597 > │ #endif │
00:25:23 verbose #54598 > │ │
00:25:23 verbose #54599 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54600 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54601 > │ v85 │
00:25:23 verbose #54602 > │ #endif │
00:25:23 verbose #54603 > │ │
00:25:23 verbose #54604 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54605 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #54606 > │ v86 │
00:25:23 verbose #54607 > │ #endif │
00:25:23 verbose #54608 > │ │
00:25:23 verbose #54609 > │ #else │
00:25:23 verbose #54610 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:23 verbose #54611 > │ Async.AwaitTask │
00:25:23 verbose #54612 > │ let v88 : Async<unit> = v87 v79 │
00:25:23 verbose #54613 > │ v88 │
00:25:23 verbose #54614 > │ #endif │
00:25:23 verbose #54615 > │ |> fun x -> _v80 <- Some x │
00:25:23 verbose #54616 > │ let v89 : Async<unit> = _v80.Value │
00:25:23 verbose #54617 > │ do! v89 │
00:25:23 verbose #54618 > │ return true │
00:25:23 verbose #54619 > │ with ex -> │
00:25:23 verbose #54620 > │ let v90 : exn = ex │
00:25:23 verbose #54621 > │ let v91 : string option = None │
00:25:23 verbose #54622 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:23 verbose #54623 > │ │
00:25:23 verbose #54624 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54625 > │ │
00:25:23 verbose #54626 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54627 > │ let v93 : string = $"%A{v90}" │
00:25:23 verbose #54628 > │ v93 │
00:25:23 verbose #54629 > │ #endif │
00:25:23 verbose #54630 > │ │
00:25:23 verbose #54631 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54632 > │ let v94 : string = $"%A{v90}" │
00:25:23 verbose #54633 > │ v94 │
00:25:23 verbose #54634 > │ #endif │
00:25:23 verbose #54635 > │ │
00:25:23 verbose #54636 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54637 > │ let v95 : string = $"%A{v90}" │
00:25:23 verbose #54638 > │ v95 │
00:25:23 verbose #54639 > │ #endif │
00:25:23 verbose #54640 > │ │
00:25:23 verbose #54641 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54642 > │ let v96 : string = $"%A{v90}" │
00:25:23 verbose #54643 > │ v96 │
00:25:23 verbose #54644 > │ #endif │
00:25:23 verbose #54645 > │ │
00:25:23 verbose #54646 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54647 > │ let v97 : string = $"%A{v90}" │
00:25:23 verbose #54648 > │ v97 │
00:25:23 verbose #54649 > │ #endif │
00:25:23 verbose #54650 > │ │
00:25:23 verbose #54651 > │ #else │
00:25:23 verbose #54652 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:23 verbose #54653 > │ v98 │
00:25:23 verbose #54654 > │ #endif │
00:25:23 verbose #54655 > │ |> fun x -> _v91 <- Some x │
00:25:23 verbose #54656 > │ let v99 : string = _v91.Value │
00:25:23 verbose #54657 > │ let v100 : US0 = US0_0 │
00:25:23 verbose #54658 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:23 verbose #54659 > │ let v102 : (unit -> string) = closure1() │
00:25:23 verbose #54660 > │ method1(v100, v101, v102) │
00:25:23 verbose #54661 > │ return false │
00:25:23 verbose #54662 > │ (* │
00:25:23 verbose #54663 > │ let v103 : bool = *) │
00:25:23 verbose #54664 > │ } │
00:25:23 verbose #54665 > │ |> fun x -> _v71 <- Some x │
00:25:23 verbose #54666 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:23 verbose #54667 > │ v104 │
00:25:23 verbose #54668 > │ #endif │
00:25:23 verbose #54669 > │ |> fun x -> _v64 <- Some x │
00:25:23 verbose #54670 > │ let v105 : Async<bool> = _v64.Value │
00:25:23 verbose #54671 > │ let v106 : Async<US4> option = None │
00:25:23 verbose #54672 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:23 verbose #54673 > │ │
00:25:23 verbose #54674 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54675 > │ │
00:25:23 verbose #54676 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54677 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54678 > │ v108 │
00:25:23 verbose #54679 > │ #endif │
00:25:23 verbose #54680 > │ │
00:25:23 verbose #54681 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54682 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54683 > │ v109 │
00:25:23 verbose #54684 > │ #endif │
00:25:23 verbose #54685 > │ │
00:25:23 verbose #54686 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54687 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54688 > │ v110 │
00:25:23 verbose #54689 > │ #endif │
00:25:23 verbose #54690 > │ │
00:25:23 verbose #54691 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54692 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54693 > │ v111 │
00:25:23 verbose #54694 > │ #endif │
00:25:23 verbose #54695 > │ │
00:25:23 verbose #54696 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54697 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54698 > │ v112 │
00:25:23 verbose #54699 > │ #endif │
00:25:23 verbose #54700 > │ │
00:25:23 verbose #54701 > │ #else │
00:25:23 verbose #54702 > │ let v113 : Async<US4> option = None │
00:25:23 verbose #54703 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:23 verbose #54704 > │ │
00:25:23 verbose #54705 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54706 > │ │
00:25:23 verbose #54707 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54708 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54709 > │ v115 │
00:25:23 verbose #54710 > │ #endif │
00:25:23 verbose #54711 > │ │
00:25:23 verbose #54712 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54713 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54714 > │ v116 │
00:25:23 verbose #54715 > │ #endif │
00:25:23 verbose #54716 > │ │
00:25:23 verbose #54717 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54718 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54719 > │ v117 │
00:25:23 verbose #54720 > │ #endif │
00:25:23 verbose #54721 > │ │
00:25:23 verbose #54722 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54723 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54724 > │ v118 │
00:25:23 verbose #54725 > │ #endif │
00:25:23 verbose #54726 > │ │
00:25:23 verbose #54727 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54728 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54729 > │ v119 │
00:25:23 verbose #54730 > │ #endif │
00:25:23 verbose #54731 > │ │
00:25:23 verbose #54732 > │ #else │
00:25:23 verbose #54733 > │ let v120 : Async<US4> option = None │
00:25:23 verbose #54734 > │ let mutable _v120 = v120 │
00:25:23 verbose #54735 > │ async { │
00:25:23 verbose #54736 > │ let v121 : Async<Async<bool>> option = None │
00:25:23 verbose #54737 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:23 verbose #54738 > │ │
00:25:23 verbose #54739 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54740 > │ │
00:25:23 verbose #54741 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54742 > │ let v123 : Async<Async<bool>> = null |> │
00:25:23 verbose #54743 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #54744 > │ v123 │
00:25:23 verbose #54745 > │ #endif │
00:25:23 verbose #54746 > │ │
00:25:23 verbose #54747 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54748 > │ let v124 : Async<Async<bool>> = null |> │
00:25:23 verbose #54749 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #54750 > │ v124 │
00:25:23 verbose #54751 > │ #endif │
00:25:23 verbose #54752 > │ │
00:25:23 verbose #54753 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54754 > │ let v125 : Async<Async<bool>> = null |> │
00:25:23 verbose #54755 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #54756 > │ v125 │
00:25:23 verbose #54757 > │ #endif │
00:25:23 verbose #54758 > │ │
00:25:23 verbose #54759 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54760 > │ let v126 : Async<Async<bool>> = null |> │
00:25:23 verbose #54761 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #54762 > │ v126 │
00:25:23 verbose #54763 > │ #endif │
00:25:23 verbose #54764 > │ │
00:25:23 verbose #54765 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54766 > │ let v127 : Async<Async<bool>> = null |> │
00:25:23 verbose #54767 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #54768 > │ v127 │
00:25:23 verbose #54769 > │ #endif │
00:25:23 verbose #54770 > │ │
00:25:23 verbose #54771 > │ #else │
00:25:23 verbose #54772 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:23 verbose #54773 > │ v128 │
00:25:23 verbose #54774 > │ #endif │
00:25:23 verbose #54775 > │ |> fun x -> _v121 <- Some x │
00:25:23 verbose #54776 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:23 verbose #54777 > │ let! v129 = v129 │
00:25:23 verbose #54778 > │ let v130 : Async<bool> = v129 │
00:25:23 verbose #54779 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:23 verbose #54780 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:23 verbose #54781 > │ │
00:25:23 verbose #54782 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54783 > │ │
00:25:23 verbose #54784 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54785 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #54786 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #54787 > │ v133 │
00:25:23 verbose #54788 > │ #endif │
00:25:23 verbose #54789 > │ │
00:25:23 verbose #54790 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54791 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #54792 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #54793 > │ v134 │
00:25:23 verbose #54794 > │ #endif │
00:25:23 verbose #54795 > │ │
00:25:23 verbose #54796 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54797 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #54798 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #54799 > │ v135 │
00:25:23 verbose #54800 > │ #endif │
00:25:23 verbose #54801 > │ │
00:25:23 verbose #54802 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54803 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #54804 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #54805 > │ v136 │
00:25:23 verbose #54806 > │ #endif │
00:25:23 verbose #54807 > │ │
00:25:23 verbose #54808 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54809 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #54810 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #54811 > │ v137 │
00:25:23 verbose #54812 > │ #endif │
00:25:23 verbose #54813 > │ │
00:25:23 verbose #54814 > │ #else │
00:25:23 verbose #54815 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:23 verbose #54816 > │ Async.Catch │
00:25:23 verbose #54817 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:23 verbose #54818 > │ v139 │
00:25:23 verbose #54819 > │ #endif │
00:25:23 verbose #54820 > │ |> fun x -> _v131 <- Some x │
00:25:23 verbose #54821 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:23 verbose #54822 > │ let v141 : Async<US5> option = None │
00:25:23 verbose #54823 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:23 verbose #54824 > │ │
00:25:23 verbose #54825 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54826 > │ │
00:25:23 verbose #54827 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54828 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #54829 > │ v143 │
00:25:23 verbose #54830 > │ #endif │
00:25:23 verbose #54831 > │ │
00:25:23 verbose #54832 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54833 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #54834 > │ v144 │
00:25:23 verbose #54835 > │ #endif │
00:25:23 verbose #54836 > │ │
00:25:23 verbose #54837 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54838 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #54839 > │ v145 │
00:25:23 verbose #54840 > │ #endif │
00:25:23 verbose #54841 > │ │
00:25:23 verbose #54842 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54843 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #54844 > │ v146 │
00:25:23 verbose #54845 > │ #endif │
00:25:23 verbose #54846 > │ │
00:25:23 verbose #54847 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54848 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #54849 > │ v147 │
00:25:23 verbose #54850 > │ #endif │
00:25:23 verbose #54851 > │ │
00:25:23 verbose #54852 > │ #else │
00:25:23 verbose #54853 > │ let v148 : Async<US5> option = None │
00:25:23 verbose #54854 > │ let mutable _v148 = v148 │
00:25:23 verbose #54855 > │ async { │
00:25:23 verbose #54856 > │ let! v140 = v140 │
00:25:23 verbose #54857 > │ let v149 : Choice<bool, exn> = v140 │
00:25:23 verbose #54858 > │ let v150 : US5 option = None │
00:25:23 verbose #54859 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:23 verbose #54860 > │ │
00:25:23 verbose #54861 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54862 > │ │
00:25:23 verbose #54863 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54864 > │ let v152 : US5 = null |> unbox<US5> │
00:25:23 verbose #54865 > │ v152 │
00:25:23 verbose #54866 > │ #endif │
00:25:23 verbose #54867 > │ │
00:25:23 verbose #54868 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54869 > │ let v153 : US5 = null |> unbox<US5> │
00:25:23 verbose #54870 > │ v153 │
00:25:23 verbose #54871 > │ #endif │
00:25:23 verbose #54872 > │ │
00:25:23 verbose #54873 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54874 > │ let v154 : US5 = null |> unbox<US5> │
00:25:23 verbose #54875 > │ v154 │
00:25:23 verbose #54876 > │ #endif │
00:25:23 verbose #54877 > │ │
00:25:23 verbose #54878 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54879 > │ let v155 : US5 = null |> unbox<US5> │
00:25:23 verbose #54880 > │ v155 │
00:25:23 verbose #54881 > │ #endif │
00:25:23 verbose #54882 > │ │
00:25:23 verbose #54883 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54884 > │ let v156 : US5 = null |> unbox<US5> │
00:25:23 verbose #54885 > │ v156 │
00:25:23 verbose #54886 > │ #endif │
00:25:23 verbose #54887 > │ │
00:25:23 verbose #54888 > │ #else │
00:25:23 verbose #54889 > │ let v157 : (bool -> US5) = closure15() │
00:25:23 verbose #54890 > │ let v158 : (exn -> US5) = closure16() │
00:25:23 verbose #54891 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:23 verbose #54892 > │ Choice2Of2 x -> v158 x │
00:25:23 verbose #54893 > │ v159 │
00:25:23 verbose #54894 > │ #endif │
00:25:23 verbose #54895 > │ |> fun x -> _v150 <- Some x │
00:25:23 verbose #54896 > │ let v160 : US5 = _v150.Value │
00:25:23 verbose #54897 > │ return v160 │
00:25:23 verbose #54898 > │ } │
00:25:23 verbose #54899 > │ |> fun x -> _v148 <- Some x │
00:25:23 verbose #54900 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:23 verbose #54901 > │ v161 │
00:25:23 verbose #54902 > │ #endif │
00:25:23 verbose #54903 > │ |> fun x -> _v141 <- Some x │
00:25:23 verbose #54904 > │ let v162 : Async<US5> = _v141.Value │
00:25:23 verbose #54905 > │ let v163 : Async<US6> option = None │
00:25:23 verbose #54906 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:23 verbose #54907 > │ │
00:25:23 verbose #54908 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54909 > │ │
00:25:23 verbose #54910 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54911 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #54912 > │ v165 │
00:25:23 verbose #54913 > │ #endif │
00:25:23 verbose #54914 > │ │
00:25:23 verbose #54915 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54916 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #54917 > │ v166 │
00:25:23 verbose #54918 > │ #endif │
00:25:23 verbose #54919 > │ │
00:25:23 verbose #54920 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54921 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #54922 > │ v167 │
00:25:23 verbose #54923 > │ #endif │
00:25:23 verbose #54924 > │ │
00:25:23 verbose #54925 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54926 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #54927 > │ v168 │
00:25:23 verbose #54928 > │ #endif │
00:25:23 verbose #54929 > │ │
00:25:23 verbose #54930 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54931 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #54932 > │ v169 │
00:25:23 verbose #54933 > │ #endif │
00:25:23 verbose #54934 > │ │
00:25:23 verbose #54935 > │ #else │
00:25:23 verbose #54936 > │ let v170 : Async<US6> option = None │
00:25:23 verbose #54937 > │ let mutable _v170 = v170 │
00:25:23 verbose #54938 > │ async { │
00:25:23 verbose #54939 > │ let! v162 = v162 │
00:25:23 verbose #54940 > │ let v171 : US5 = v162 │
00:25:23 verbose #54941 > │ let v177 : US6 = │
00:25:23 verbose #54942 > │ match v171 with │
00:25:23 verbose #54943 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:23 verbose #54944 > │ US6_0(v172) │
00:25:23 verbose #54945 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:23 verbose #54946 > │ US6_1(v174) │
00:25:23 verbose #54947 > │ return v177 │
00:25:23 verbose #54948 > │ } │
00:25:23 verbose #54949 > │ |> fun x -> _v170 <- Some x │
00:25:23 verbose #54950 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:23 verbose #54951 > │ v178 │
00:25:23 verbose #54952 > │ #endif │
00:25:23 verbose #54953 > │ |> fun x -> _v163 <- Some x │
00:25:23 verbose #54954 > │ let v179 : Async<US6> = _v163.Value │
00:25:23 verbose #54955 > │ let v180 : Async<US4> option = None │
00:25:23 verbose #54956 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:23 verbose #54957 > │ │
00:25:23 verbose #54958 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #54959 > │ │
00:25:23 verbose #54960 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #54961 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54962 > │ v182 │
00:25:23 verbose #54963 > │ #endif │
00:25:23 verbose #54964 > │ │
00:25:23 verbose #54965 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #54966 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54967 > │ v183 │
00:25:23 verbose #54968 > │ #endif │
00:25:23 verbose #54969 > │ │
00:25:23 verbose #54970 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #54971 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54972 > │ v184 │
00:25:23 verbose #54973 > │ #endif │
00:25:23 verbose #54974 > │ │
00:25:23 verbose #54975 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #54976 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54977 > │ v185 │
00:25:23 verbose #54978 > │ #endif │
00:25:23 verbose #54979 > │ │
00:25:23 verbose #54980 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #54981 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #54982 > │ v186 │
00:25:23 verbose #54983 > │ #endif │
00:25:23 verbose #54984 > │ │
00:25:23 verbose #54985 > │ #else │
00:25:23 verbose #54986 > │ let v187 : Async<US4> option = None │
00:25:23 verbose #54987 > │ let mutable _v187 = v187 │
00:25:23 verbose #54988 > │ async { │
00:25:23 verbose #54989 > │ let! v179 = v179 │
00:25:23 verbose #54990 > │ let v188 : US6 = v179 │
00:25:23 verbose #54991 > │ let v214 : US4 = │
00:25:23 verbose #54992 > │ match v188 with │
00:25:23 verbose #54993 > │ | US6_1(v191) -> (* Error *) │
00:25:23 verbose #54994 > │ let v192 : string = $"%A{v191}" │
00:25:23 verbose #54995 > │ let v193 : string = "System.TimeoutException" │
00:25:23 verbose #54996 > │ let v194 : bool = v192.Contains v193 │
00:25:23 verbose #54997 > │ if v194 then │
00:25:23 verbose #54998 > │ let v195 : US0 = US0_1 │
00:25:23 verbose #54999 > │ let v196 : (unit -> string) = closure17() │
00:25:23 verbose #55000 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:23 verbose #55001 > │ method1(v195, v196, v197) │
00:25:23 verbose #55002 > │ US4_1 │
00:25:23 verbose #55003 > │ else │
00:25:23 verbose #55004 > │ let v199 : string option = None │
00:25:23 verbose #55005 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:23 verbose #55006 > │ │
00:25:23 verbose #55007 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55008 > │ │
00:25:23 verbose #55009 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55010 > │ let v201 : string = $"%A{v191}" │
00:25:23 verbose #55011 > │ v201 │
00:25:23 verbose #55012 > │ #endif │
00:25:23 verbose #55013 > │ │
00:25:23 verbose #55014 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55015 > │ let v202 : string = $"%A{v191}" │
00:25:23 verbose #55016 > │ v202 │
00:25:23 verbose #55017 > │ #endif │
00:25:23 verbose #55018 > │ │
00:25:23 verbose #55019 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55020 > │ let v203 : string = $"%A{v191}" │
00:25:23 verbose #55021 > │ v203 │
00:25:23 verbose #55022 > │ #endif │
00:25:23 verbose #55023 > │ │
00:25:23 verbose #55024 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55025 > │ let v204 : string = $"%A{v191}" │
00:25:23 verbose #55026 > │ v204 │
00:25:23 verbose #55027 > │ #endif │
00:25:23 verbose #55028 > │ │
00:25:23 verbose #55029 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55030 > │ let v205 : string = $"%A{v191}" │
00:25:23 verbose #55031 > │ v205 │
00:25:23 verbose #55032 > │ #endif │
00:25:23 verbose #55033 > │ │
00:25:23 verbose #55034 > │ #else │
00:25:23 verbose #55035 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:23 verbose #55036 > │ {v191.Message}" │
00:25:23 verbose #55037 > │ v206 │
00:25:23 verbose #55038 > │ #endif │
00:25:23 verbose #55039 > │ |> fun x -> _v199 <- Some x │
00:25:23 verbose #55040 > │ let v207 : string = _v199.Value │
00:25:23 verbose #55041 > │ let v208 : US0 = US0_4 │
00:25:23 verbose #55042 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:23 verbose #55043 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:23 verbose #55044 > │ method1(v208, v209, v210) │
00:25:23 verbose #55045 > │ US4_1 │
00:25:23 verbose #55046 > │ | US6_0(v189) -> (* Ok *) │
00:25:23 verbose #55047 > │ US4_0(v189) │
00:25:23 verbose #55048 > │ return v214 │
00:25:23 verbose #55049 > │ } │
00:25:23 verbose #55050 > │ |> fun x -> _v187 <- Some x │
00:25:23 verbose #55051 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:23 verbose #55052 > │ v215 │
00:25:23 verbose #55053 > │ #endif │
00:25:23 verbose #55054 > │ |> fun x -> _v180 <- Some x │
00:25:23 verbose #55055 > │ let v216 : Async<US4> = _v180.Value │
00:25:23 verbose #55056 > │ return! v216 │
00:25:23 verbose #55057 > │ } │
00:25:23 verbose #55058 > │ |> fun x -> _v120 <- Some x │
00:25:23 verbose #55059 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:23 verbose #55060 > │ v217 │
00:25:23 verbose #55061 > │ #endif │
00:25:23 verbose #55062 > │ |> fun x -> _v113 <- Some x │
00:25:23 verbose #55063 > │ let v218 : Async<US4> = _v113.Value │
00:25:23 verbose #55064 > │ v218 │
00:25:23 verbose #55065 > │ #endif │
00:25:23 verbose #55066 > │ |> fun x -> _v106 <- Some x │
00:25:23 verbose #55067 > │ let v219 : Async<US4> = _v106.Value │
00:25:23 verbose #55068 > │ let! v219 = v219 │
00:25:23 verbose #55069 > │ let v220 : US4 = v219 │
00:25:23 verbose #55070 > │ let v223 : bool = │
00:25:23 verbose #55071 > │ match v220 with │
00:25:23 verbose #55072 > │ | US4_1 -> (* None *) │
00:25:23 verbose #55073 > │ false │
00:25:23 verbose #55074 > │ | US4_0(v221) -> (* Some *) │
00:25:23 verbose #55075 > │ v221 │
00:25:23 verbose #55076 > │ return v223 │
00:25:23 verbose #55077 > │ } │
00:25:23 verbose #55078 > │ |> fun x -> _v63 <- Some x │
00:25:23 verbose #55079 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:23 verbose #55080 > │ v224 │
00:25:23 verbose #55081 > │ #endif │
00:25:23 verbose #55082 > │ |> fun x -> _v56 <- Some x │
00:25:23 verbose #55083 > │ let v225 : Async<bool> = _v56.Value │
00:25:23 verbose #55084 > │ v225 │
00:25:23 verbose #55085 > │ let! v227 = v227 │
00:25:23 verbose #55086 > │ let v228 : bool = v227 │
00:25:23 verbose #55087 > │ if v228 then │
00:25:23 verbose #55088 > │ return v1 │
00:25:23 verbose #55089 > │ (* │
00:25:23 verbose #55090 > │ () │
00:25:23 verbose #55091 > │ else │
00:25:23 verbose #55092 > │ *) else │
00:25:23 verbose #55093 > │ let v229 : int64 = v1 % 100L │
00:25:23 verbose #55094 > │ let v230 : bool = v229 = 0L │
00:25:23 verbose #55095 > │ if v230 then │
00:25:23 verbose #55096 > │ let v231 : US0 = US0_0 │
00:25:23 verbose #55097 > │ let v232 : (unit -> string) = closure20() │
00:25:23 verbose #55098 > │ let v233 : (unit -> string) = closure21(v0, v1) │
00:25:23 verbose #55099 > │ method1(v231, v232, v233) │
00:25:23 verbose #55100 > │ let v234 : Async<unit> option = None │
00:25:23 verbose #55101 > │ let v235 : bool = true in let mutable _v234 = v234 │
00:25:23 verbose #55102 > │ │
00:25:23 verbose #55103 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55104 > │ │
00:25:23 verbose #55105 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55106 > │ let v236 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55107 > │ v236 │
00:25:23 verbose #55108 > │ #endif │
00:25:23 verbose #55109 > │ │
00:25:23 verbose #55110 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55111 > │ let v237 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55112 > │ v237 │
00:25:23 verbose #55113 > │ #endif │
00:25:23 verbose #55114 > │ │
00:25:23 verbose #55115 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55116 > │ let v238 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55117 > │ v238 │
00:25:23 verbose #55118 > │ #endif │
00:25:23 verbose #55119 > │ │
00:25:23 verbose #55120 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55121 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55122 > │ v239 │
00:25:23 verbose #55123 > │ #endif │
00:25:23 verbose #55124 > │ │
00:25:23 verbose #55125 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55126 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55127 > │ v240 │
00:25:23 verbose #55128 > │ #endif │
00:25:23 verbose #55129 > │ │
00:25:23 verbose #55130 > │ #else │
00:25:23 verbose #55131 > │ let v241 : (int32 -> Async<unit>) = Async.Sleep │
00:25:23 verbose #55132 > │ let v242 : Async<unit> = v241 10 │
00:25:23 verbose #55133 > │ v242 │
00:25:23 verbose #55134 > │ #endif │
00:25:23 verbose #55135 > │ |> fun x -> _v234 <- Some x │
00:25:23 verbose #55136 > │ let v243 : Async<unit> = _v234.Value │
00:25:23 verbose #55137 > │ do! v243 │
00:25:23 verbose #55138 > │ let v244 : int64 = v1 + 1L │
00:25:23 verbose #55139 > │ let v245 : Async<int64> = method7(v0, v244) │
00:25:23 verbose #55140 > │ return! v245 │
00:25:23 verbose #55141 > │ (* │
00:25:23 verbose #55142 > │ () │
00:25:23 verbose #55143 > │ *) │
00:25:23 verbose #55144 > │ } │
00:25:23 verbose #55145 > │ |> fun x -> _v9 <- Some x │
00:25:23 verbose #55146 > │ let v246 : Async<int64> = _v9 |> Option.get │
00:25:23 verbose #55147 > │ v246 │
00:25:23 verbose #55148 > │ #endif │
00:25:23 verbose #55149 > │ |> fun x -> _v2 <- Some x │
00:25:23 verbose #55150 > │ let v247 : Async<int64> = _v2.Value │
00:25:23 verbose #55151 > │ v247 │
00:25:23 verbose #55152 > │ and closure22 () () : string = │
00:25:23 verbose #55153 > │ let v0 : string = "4" │
00:25:23 verbose #55154 > │ v0 │
00:25:23 verbose #55155 > │ and closure23 (v0 : int32 option, v1 : int64) () : string = │
00:25:23 verbose #55156 > │ let v2 : (unit -> string) = closure1() │
00:25:23 verbose #55157 > │ let v3 : string = $"port: {5555} / retry: {v1} / timeout: %A{v0} / │
00:25:23 verbose #55158 > │ status: {false} / {v2 ()}" │
00:25:23 verbose #55159 > │ v3 │
00:25:23 verbose #55160 > │ and method9 (v0 : int32 option, v1 : int64) : Async<int64> = │
00:25:23 verbose #55161 > │ let v2 : Async<int64> option = None │
00:25:23 verbose #55162 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:23 verbose #55163 > │ │
00:25:23 verbose #55164 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55165 > │ │
00:25:23 verbose #55166 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55167 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #55168 > │ v4 │
00:25:23 verbose #55169 > │ #endif │
00:25:23 verbose #55170 > │ │
00:25:23 verbose #55171 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55172 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #55173 > │ v5 │
00:25:23 verbose #55174 > │ #endif │
00:25:23 verbose #55175 > │ │
00:25:23 verbose #55176 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55177 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #55178 > │ v6 │
00:25:23 verbose #55179 > │ #endif │
00:25:23 verbose #55180 > │ │
00:25:23 verbose #55181 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55182 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #55183 > │ v7 │
00:25:23 verbose #55184 > │ #endif │
00:25:23 verbose #55185 > │ │
00:25:23 verbose #55186 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55187 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:23 verbose #55188 > │ v8 │
00:25:23 verbose #55189 > │ #endif │
00:25:23 verbose #55190 > │ │
00:25:23 verbose #55191 > │ #else │
00:25:23 verbose #55192 > │ let v9 : Async<int64> option = None │
00:25:23 verbose #55193 > │ let mutable _v9 = v9 │
00:25:23 verbose #55194 > │ async { │
00:25:23 verbose #55195 > │ let v10 : (int32 -> US3) = method8() │
00:25:23 verbose #55196 > │ let v11 : US3 = US3_1 │
00:25:23 verbose #55197 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:23 verbose #55198 > │ let v227 : Async<bool> = │
00:25:23 verbose #55199 > │ match v12 with │
00:25:23 verbose #55200 > │ | US3_1 -> (* None *) │
00:25:23 verbose #55201 > │ let v13 : Async<bool> option = None │
00:25:23 verbose #55202 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:23 verbose #55203 > │ │
00:25:23 verbose #55204 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55205 > │ │
00:25:23 verbose #55206 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55207 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55208 > │ v15 │
00:25:23 verbose #55209 > │ #endif │
00:25:23 verbose #55210 > │ │
00:25:23 verbose #55211 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55212 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55213 > │ v16 │
00:25:23 verbose #55214 > │ #endif │
00:25:23 verbose #55215 > │ │
00:25:23 verbose #55216 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55217 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55218 > │ v17 │
00:25:23 verbose #55219 > │ #endif │
00:25:23 verbose #55220 > │ │
00:25:23 verbose #55221 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55222 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55223 > │ v18 │
00:25:23 verbose #55224 > │ #endif │
00:25:23 verbose #55225 > │ │
00:25:23 verbose #55226 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55227 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55228 > │ v19 │
00:25:23 verbose #55229 > │ #endif │
00:25:23 verbose #55230 > │ │
00:25:23 verbose #55231 > │ #else │
00:25:23 verbose #55232 > │ let v20 : Async<bool> option = None │
00:25:23 verbose #55233 > │ let mutable _v20 = v20 │
00:25:23 verbose #55234 > │ async { │
00:25:23 verbose #55235 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:23 verbose #55236 > │ Async.CancellationToken │
00:25:23 verbose #55237 > │ let! v21 = v21 │
00:25:23 verbose #55238 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:23 verbose #55239 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:23 verbose #55240 > │ System.Net.Sockets.TcpClient () │
00:25:23 verbose #55241 > │ use v23 = v23 │
00:25:23 verbose #55242 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:23 verbose #55243 > │ try │
00:25:23 verbose #55244 > │ let v25 : string = "127.0.0.1" │
00:25:23 verbose #55245 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:23 verbose #55246 > │ (v25, 5555, v22) │
00:25:23 verbose #55247 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:23 verbose #55248 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:23 verbose #55249 > │ let v29 : Async<unit> option = None │
00:25:23 verbose #55250 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:23 verbose #55251 > │ │
00:25:23 verbose #55252 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55253 > │ │
00:25:23 verbose #55254 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55255 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55256 > │ v31 │
00:25:23 verbose #55257 > │ #endif │
00:25:23 verbose #55258 > │ │
00:25:23 verbose #55259 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55260 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55261 > │ v32 │
00:25:23 verbose #55262 > │ #endif │
00:25:23 verbose #55263 > │ │
00:25:23 verbose #55264 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55265 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55266 > │ v33 │
00:25:23 verbose #55267 > │ #endif │
00:25:23 verbose #55268 > │ │
00:25:23 verbose #55269 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55270 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55271 > │ v34 │
00:25:23 verbose #55272 > │ #endif │
00:25:23 verbose #55273 > │ │
00:25:23 verbose #55274 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55275 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55276 > │ v35 │
00:25:23 verbose #55277 > │ #endif │
00:25:23 verbose #55278 > │ │
00:25:23 verbose #55279 > │ #else │
00:25:23 verbose #55280 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:23 verbose #55281 > │ Async.AwaitTask │
00:25:23 verbose #55282 > │ let v37 : Async<unit> = v36 v28 │
00:25:23 verbose #55283 > │ v37 │
00:25:23 verbose #55284 > │ #endif │
00:25:23 verbose #55285 > │ |> fun x -> _v29 <- Some x │
00:25:23 verbose #55286 > │ let v38 : Async<unit> = _v29.Value │
00:25:23 verbose #55287 > │ do! v38 │
00:25:23 verbose #55288 > │ return true │
00:25:23 verbose #55289 > │ with ex -> │
00:25:23 verbose #55290 > │ let v39 : exn = ex │
00:25:23 verbose #55291 > │ let v40 : string option = None │
00:25:23 verbose #55292 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:23 verbose #55293 > │ │
00:25:23 verbose #55294 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55295 > │ │
00:25:23 verbose #55296 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55297 > │ let v42 : string = $"%A{v39}" │
00:25:23 verbose #55298 > │ v42 │
00:25:23 verbose #55299 > │ #endif │
00:25:23 verbose #55300 > │ │
00:25:23 verbose #55301 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55302 > │ let v43 : string = $"%A{v39}" │
00:25:23 verbose #55303 > │ v43 │
00:25:23 verbose #55304 > │ #endif │
00:25:23 verbose #55305 > │ │
00:25:23 verbose #55306 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55307 > │ let v44 : string = $"%A{v39}" │
00:25:23 verbose #55308 > │ v44 │
00:25:23 verbose #55309 > │ #endif │
00:25:23 verbose #55310 > │ │
00:25:23 verbose #55311 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55312 > │ let v45 : string = $"%A{v39}" │
00:25:23 verbose #55313 > │ v45 │
00:25:23 verbose #55314 > │ #endif │
00:25:23 verbose #55315 > │ │
00:25:23 verbose #55316 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55317 > │ let v46 : string = $"%A{v39}" │
00:25:23 verbose #55318 > │ v46 │
00:25:23 verbose #55319 > │ #endif │
00:25:23 verbose #55320 > │ │
00:25:23 verbose #55321 > │ #else │
00:25:23 verbose #55322 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:23 verbose #55323 > │ v47 │
00:25:23 verbose #55324 > │ #endif │
00:25:23 verbose #55325 > │ |> fun x -> _v40 <- Some x │
00:25:23 verbose #55326 > │ let v48 : string = _v40.Value │
00:25:23 verbose #55327 > │ let v49 : US0 = US0_0 │
00:25:23 verbose #55328 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:23 verbose #55329 > │ let v51 : (unit -> string) = closure1() │
00:25:23 verbose #55330 > │ method1(v49, v50, v51) │
00:25:23 verbose #55331 > │ return false │
00:25:23 verbose #55332 > │ (* │
00:25:23 verbose #55333 > │ let v52 : bool = *) │
00:25:23 verbose #55334 > │ } │
00:25:23 verbose #55335 > │ |> fun x -> _v20 <- Some x │
00:25:23 verbose #55336 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:23 verbose #55337 > │ v53 │
00:25:23 verbose #55338 > │ #endif │
00:25:23 verbose #55339 > │ |> fun x -> _v13 <- Some x │
00:25:23 verbose #55340 > │ let v54 : Async<bool> = _v13.Value │
00:25:23 verbose #55341 > │ v54 │
00:25:23 verbose #55342 > │ | US3_0(v55) -> (* Some *) │
00:25:23 verbose #55343 > │ let v56 : Async<bool> option = None │
00:25:23 verbose #55344 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:23 verbose #55345 > │ │
00:25:23 verbose #55346 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55347 > │ │
00:25:23 verbose #55348 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55349 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55350 > │ v58 │
00:25:23 verbose #55351 > │ #endif │
00:25:23 verbose #55352 > │ │
00:25:23 verbose #55353 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55354 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55355 > │ v59 │
00:25:23 verbose #55356 > │ #endif │
00:25:23 verbose #55357 > │ │
00:25:23 verbose #55358 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55359 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55360 > │ v60 │
00:25:23 verbose #55361 > │ #endif │
00:25:23 verbose #55362 > │ │
00:25:23 verbose #55363 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55364 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55365 > │ v61 │
00:25:23 verbose #55366 > │ #endif │
00:25:23 verbose #55367 > │ │
00:25:23 verbose #55368 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55369 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55370 > │ v62 │
00:25:23 verbose #55371 > │ #endif │
00:25:23 verbose #55372 > │ │
00:25:23 verbose #55373 > │ #else │
00:25:23 verbose #55374 > │ let v63 : Async<bool> option = None │
00:25:23 verbose #55375 > │ let mutable _v63 = v63 │
00:25:23 verbose #55376 > │ async { │
00:25:23 verbose #55377 > │ let v64 : Async<bool> option = None │
00:25:23 verbose #55378 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:23 verbose #55379 > │ │
00:25:23 verbose #55380 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55381 > │ │
00:25:23 verbose #55382 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55383 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55384 > │ v66 │
00:25:23 verbose #55385 > │ #endif │
00:25:23 verbose #55386 > │ │
00:25:23 verbose #55387 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55388 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55389 > │ v67 │
00:25:23 verbose #55390 > │ #endif │
00:25:23 verbose #55391 > │ │
00:25:23 verbose #55392 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55393 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55394 > │ v68 │
00:25:23 verbose #55395 > │ #endif │
00:25:23 verbose #55396 > │ │
00:25:23 verbose #55397 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55398 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55399 > │ v69 │
00:25:23 verbose #55400 > │ #endif │
00:25:23 verbose #55401 > │ │
00:25:23 verbose #55402 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55403 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:23 verbose #55404 > │ v70 │
00:25:23 verbose #55405 > │ #endif │
00:25:23 verbose #55406 > │ │
00:25:23 verbose #55407 > │ #else │
00:25:23 verbose #55408 > │ let v71 : Async<bool> option = None │
00:25:23 verbose #55409 > │ let mutable _v71 = v71 │
00:25:23 verbose #55410 > │ async { │
00:25:23 verbose #55411 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:23 verbose #55412 > │ Async.CancellationToken │
00:25:23 verbose #55413 > │ let! v72 = v72 │
00:25:23 verbose #55414 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:23 verbose #55415 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:23 verbose #55416 > │ System.Net.Sockets.TcpClient () │
00:25:23 verbose #55417 > │ use v74 = v74 │
00:25:23 verbose #55418 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:23 verbose #55419 > │ try │
00:25:23 verbose #55420 > │ let v76 : string = "127.0.0.1" │
00:25:23 verbose #55421 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:23 verbose #55422 > │ (v76, 5555, v73) │
00:25:23 verbose #55423 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:23 verbose #55424 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:23 verbose #55425 > │ let v80 : Async<unit> option = None │
00:25:23 verbose #55426 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:23 verbose #55427 > │ │
00:25:23 verbose #55428 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55429 > │ │
00:25:23 verbose #55430 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55431 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55432 > │ v82 │
00:25:23 verbose #55433 > │ #endif │
00:25:23 verbose #55434 > │ │
00:25:23 verbose #55435 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55436 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55437 > │ v83 │
00:25:23 verbose #55438 > │ #endif │
00:25:23 verbose #55439 > │ │
00:25:23 verbose #55440 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55441 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55442 > │ v84 │
00:25:23 verbose #55443 > │ #endif │
00:25:23 verbose #55444 > │ │
00:25:23 verbose #55445 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55446 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55447 > │ v85 │
00:25:23 verbose #55448 > │ #endif │
00:25:23 verbose #55449 > │ │
00:25:23 verbose #55450 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55451 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55452 > │ v86 │
00:25:23 verbose #55453 > │ #endif │
00:25:23 verbose #55454 > │ │
00:25:23 verbose #55455 > │ #else │
00:25:23 verbose #55456 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:23 verbose #55457 > │ Async.AwaitTask │
00:25:23 verbose #55458 > │ let v88 : Async<unit> = v87 v79 │
00:25:23 verbose #55459 > │ v88 │
00:25:23 verbose #55460 > │ #endif │
00:25:23 verbose #55461 > │ |> fun x -> _v80 <- Some x │
00:25:23 verbose #55462 > │ let v89 : Async<unit> = _v80.Value │
00:25:23 verbose #55463 > │ do! v89 │
00:25:23 verbose #55464 > │ return true │
00:25:23 verbose #55465 > │ with ex -> │
00:25:23 verbose #55466 > │ let v90 : exn = ex │
00:25:23 verbose #55467 > │ let v91 : string option = None │
00:25:23 verbose #55468 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:23 verbose #55469 > │ │
00:25:23 verbose #55470 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55471 > │ │
00:25:23 verbose #55472 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55473 > │ let v93 : string = $"%A{v90}" │
00:25:23 verbose #55474 > │ v93 │
00:25:23 verbose #55475 > │ #endif │
00:25:23 verbose #55476 > │ │
00:25:23 verbose #55477 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55478 > │ let v94 : string = $"%A{v90}" │
00:25:23 verbose #55479 > │ v94 │
00:25:23 verbose #55480 > │ #endif │
00:25:23 verbose #55481 > │ │
00:25:23 verbose #55482 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55483 > │ let v95 : string = $"%A{v90}" │
00:25:23 verbose #55484 > │ v95 │
00:25:23 verbose #55485 > │ #endif │
00:25:23 verbose #55486 > │ │
00:25:23 verbose #55487 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55488 > │ let v96 : string = $"%A{v90}" │
00:25:23 verbose #55489 > │ v96 │
00:25:23 verbose #55490 > │ #endif │
00:25:23 verbose #55491 > │ │
00:25:23 verbose #55492 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55493 > │ let v97 : string = $"%A{v90}" │
00:25:23 verbose #55494 > │ v97 │
00:25:23 verbose #55495 > │ #endif │
00:25:23 verbose #55496 > │ │
00:25:23 verbose #55497 > │ #else │
00:25:23 verbose #55498 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:23 verbose #55499 > │ v98 │
00:25:23 verbose #55500 > │ #endif │
00:25:23 verbose #55501 > │ |> fun x -> _v91 <- Some x │
00:25:23 verbose #55502 > │ let v99 : string = _v91.Value │
00:25:23 verbose #55503 > │ let v100 : US0 = US0_0 │
00:25:23 verbose #55504 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:23 verbose #55505 > │ let v102 : (unit -> string) = closure1() │
00:25:23 verbose #55506 > │ method1(v100, v101, v102) │
00:25:23 verbose #55507 > │ return false │
00:25:23 verbose #55508 > │ (* │
00:25:23 verbose #55509 > │ let v103 : bool = *) │
00:25:23 verbose #55510 > │ } │
00:25:23 verbose #55511 > │ |> fun x -> _v71 <- Some x │
00:25:23 verbose #55512 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:23 verbose #55513 > │ v104 │
00:25:23 verbose #55514 > │ #endif │
00:25:23 verbose #55515 > │ |> fun x -> _v64 <- Some x │
00:25:23 verbose #55516 > │ let v105 : Async<bool> = _v64.Value │
00:25:23 verbose #55517 > │ let v106 : Async<US4> option = None │
00:25:23 verbose #55518 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:23 verbose #55519 > │ │
00:25:23 verbose #55520 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55521 > │ │
00:25:23 verbose #55522 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55523 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55524 > │ v108 │
00:25:23 verbose #55525 > │ #endif │
00:25:23 verbose #55526 > │ │
00:25:23 verbose #55527 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55528 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55529 > │ v109 │
00:25:23 verbose #55530 > │ #endif │
00:25:23 verbose #55531 > │ │
00:25:23 verbose #55532 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55533 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55534 > │ v110 │
00:25:23 verbose #55535 > │ #endif │
00:25:23 verbose #55536 > │ │
00:25:23 verbose #55537 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55538 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55539 > │ v111 │
00:25:23 verbose #55540 > │ #endif │
00:25:23 verbose #55541 > │ │
00:25:23 verbose #55542 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55543 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55544 > │ v112 │
00:25:23 verbose #55545 > │ #endif │
00:25:23 verbose #55546 > │ │
00:25:23 verbose #55547 > │ #else │
00:25:23 verbose #55548 > │ let v113 : Async<US4> option = None │
00:25:23 verbose #55549 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:23 verbose #55550 > │ │
00:25:23 verbose #55551 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55552 > │ │
00:25:23 verbose #55553 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55554 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55555 > │ v115 │
00:25:23 verbose #55556 > │ #endif │
00:25:23 verbose #55557 > │ │
00:25:23 verbose #55558 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55559 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55560 > │ v116 │
00:25:23 verbose #55561 > │ #endif │
00:25:23 verbose #55562 > │ │
00:25:23 verbose #55563 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55564 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55565 > │ v117 │
00:25:23 verbose #55566 > │ #endif │
00:25:23 verbose #55567 > │ │
00:25:23 verbose #55568 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55569 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55570 > │ v118 │
00:25:23 verbose #55571 > │ #endif │
00:25:23 verbose #55572 > │ │
00:25:23 verbose #55573 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55574 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55575 > │ v119 │
00:25:23 verbose #55576 > │ #endif │
00:25:23 verbose #55577 > │ │
00:25:23 verbose #55578 > │ #else │
00:25:23 verbose #55579 > │ let v120 : Async<US4> option = None │
00:25:23 verbose #55580 > │ let mutable _v120 = v120 │
00:25:23 verbose #55581 > │ async { │
00:25:23 verbose #55582 > │ let v121 : Async<Async<bool>> option = None │
00:25:23 verbose #55583 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:23 verbose #55584 > │ │
00:25:23 verbose #55585 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55586 > │ │
00:25:23 verbose #55587 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55588 > │ let v123 : Async<Async<bool>> = null |> │
00:25:23 verbose #55589 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #55590 > │ v123 │
00:25:23 verbose #55591 > │ #endif │
00:25:23 verbose #55592 > │ │
00:25:23 verbose #55593 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55594 > │ let v124 : Async<Async<bool>> = null |> │
00:25:23 verbose #55595 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #55596 > │ v124 │
00:25:23 verbose #55597 > │ #endif │
00:25:23 verbose #55598 > │ │
00:25:23 verbose #55599 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55600 > │ let v125 : Async<Async<bool>> = null |> │
00:25:23 verbose #55601 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #55602 > │ v125 │
00:25:23 verbose #55603 > │ #endif │
00:25:23 verbose #55604 > │ │
00:25:23 verbose #55605 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55606 > │ let v126 : Async<Async<bool>> = null |> │
00:25:23 verbose #55607 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #55608 > │ v126 │
00:25:23 verbose #55609 > │ #endif │
00:25:23 verbose #55610 > │ │
00:25:23 verbose #55611 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55612 > │ let v127 : Async<Async<bool>> = null |> │
00:25:23 verbose #55613 > │ unbox<Async<Async<bool>>> │
00:25:23 verbose #55614 > │ v127 │
00:25:23 verbose #55615 > │ #endif │
00:25:23 verbose #55616 > │ │
00:25:23 verbose #55617 > │ #else │
00:25:23 verbose #55618 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:23 verbose #55619 > │ v128 │
00:25:23 verbose #55620 > │ #endif │
00:25:23 verbose #55621 > │ |> fun x -> _v121 <- Some x │
00:25:23 verbose #55622 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:23 verbose #55623 > │ let! v129 = v129 │
00:25:23 verbose #55624 > │ let v130 : Async<bool> = v129 │
00:25:23 verbose #55625 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:23 verbose #55626 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:23 verbose #55627 > │ │
00:25:23 verbose #55628 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55629 > │ │
00:25:23 verbose #55630 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55631 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #55632 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #55633 > │ v133 │
00:25:23 verbose #55634 > │ #endif │
00:25:23 verbose #55635 > │ │
00:25:23 verbose #55636 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55637 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #55638 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #55639 > │ v134 │
00:25:23 verbose #55640 > │ #endif │
00:25:23 verbose #55641 > │ │
00:25:23 verbose #55642 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55643 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #55644 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #55645 > │ v135 │
00:25:23 verbose #55646 > │ #endif │
00:25:23 verbose #55647 > │ │
00:25:23 verbose #55648 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55649 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #55650 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #55651 > │ v136 │
00:25:23 verbose #55652 > │ #endif │
00:25:23 verbose #55653 > │ │
00:25:23 verbose #55654 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55655 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:23 verbose #55656 > │ unbox<Async<Choice<bool, exn>>> │
00:25:23 verbose #55657 > │ v137 │
00:25:23 verbose #55658 > │ #endif │
00:25:23 verbose #55659 > │ │
00:25:23 verbose #55660 > │ #else │
00:25:23 verbose #55661 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:23 verbose #55662 > │ Async.Catch │
00:25:23 verbose #55663 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:23 verbose #55664 > │ v139 │
00:25:23 verbose #55665 > │ #endif │
00:25:23 verbose #55666 > │ |> fun x -> _v131 <- Some x │
00:25:23 verbose #55667 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:23 verbose #55668 > │ let v141 : Async<US5> option = None │
00:25:23 verbose #55669 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:23 verbose #55670 > │ │
00:25:23 verbose #55671 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55672 > │ │
00:25:23 verbose #55673 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55674 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #55675 > │ v143 │
00:25:23 verbose #55676 > │ #endif │
00:25:23 verbose #55677 > │ │
00:25:23 verbose #55678 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55679 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #55680 > │ v144 │
00:25:23 verbose #55681 > │ #endif │
00:25:23 verbose #55682 > │ │
00:25:23 verbose #55683 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55684 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #55685 > │ v145 │
00:25:23 verbose #55686 > │ #endif │
00:25:23 verbose #55687 > │ │
00:25:23 verbose #55688 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55689 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #55690 > │ v146 │
00:25:23 verbose #55691 > │ #endif │
00:25:23 verbose #55692 > │ │
00:25:23 verbose #55693 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55694 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:23 verbose #55695 > │ v147 │
00:25:23 verbose #55696 > │ #endif │
00:25:23 verbose #55697 > │ │
00:25:23 verbose #55698 > │ #else │
00:25:23 verbose #55699 > │ let v148 : Async<US5> option = None │
00:25:23 verbose #55700 > │ let mutable _v148 = v148 │
00:25:23 verbose #55701 > │ async { │
00:25:23 verbose #55702 > │ let! v140 = v140 │
00:25:23 verbose #55703 > │ let v149 : Choice<bool, exn> = v140 │
00:25:23 verbose #55704 > │ let v150 : US5 option = None │
00:25:23 verbose #55705 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:23 verbose #55706 > │ │
00:25:23 verbose #55707 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55708 > │ │
00:25:23 verbose #55709 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55710 > │ let v152 : US5 = null |> unbox<US5> │
00:25:23 verbose #55711 > │ v152 │
00:25:23 verbose #55712 > │ #endif │
00:25:23 verbose #55713 > │ │
00:25:23 verbose #55714 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55715 > │ let v153 : US5 = null |> unbox<US5> │
00:25:23 verbose #55716 > │ v153 │
00:25:23 verbose #55717 > │ #endif │
00:25:23 verbose #55718 > │ │
00:25:23 verbose #55719 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55720 > │ let v154 : US5 = null |> unbox<US5> │
00:25:23 verbose #55721 > │ v154 │
00:25:23 verbose #55722 > │ #endif │
00:25:23 verbose #55723 > │ │
00:25:23 verbose #55724 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55725 > │ let v155 : US5 = null |> unbox<US5> │
00:25:23 verbose #55726 > │ v155 │
00:25:23 verbose #55727 > │ #endif │
00:25:23 verbose #55728 > │ │
00:25:23 verbose #55729 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55730 > │ let v156 : US5 = null |> unbox<US5> │
00:25:23 verbose #55731 > │ v156 │
00:25:23 verbose #55732 > │ #endif │
00:25:23 verbose #55733 > │ │
00:25:23 verbose #55734 > │ #else │
00:25:23 verbose #55735 > │ let v157 : (bool -> US5) = closure15() │
00:25:23 verbose #55736 > │ let v158 : (exn -> US5) = closure16() │
00:25:23 verbose #55737 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:23 verbose #55738 > │ Choice2Of2 x -> v158 x │
00:25:23 verbose #55739 > │ v159 │
00:25:23 verbose #55740 > │ #endif │
00:25:23 verbose #55741 > │ |> fun x -> _v150 <- Some x │
00:25:23 verbose #55742 > │ let v160 : US5 = _v150.Value │
00:25:23 verbose #55743 > │ return v160 │
00:25:23 verbose #55744 > │ } │
00:25:23 verbose #55745 > │ |> fun x -> _v148 <- Some x │
00:25:23 verbose #55746 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:23 verbose #55747 > │ v161 │
00:25:23 verbose #55748 > │ #endif │
00:25:23 verbose #55749 > │ |> fun x -> _v141 <- Some x │
00:25:23 verbose #55750 > │ let v162 : Async<US5> = _v141.Value │
00:25:23 verbose #55751 > │ let v163 : Async<US6> option = None │
00:25:23 verbose #55752 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:23 verbose #55753 > │ │
00:25:23 verbose #55754 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55755 > │ │
00:25:23 verbose #55756 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55757 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #55758 > │ v165 │
00:25:23 verbose #55759 > │ #endif │
00:25:23 verbose #55760 > │ │
00:25:23 verbose #55761 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55762 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #55763 > │ v166 │
00:25:23 verbose #55764 > │ #endif │
00:25:23 verbose #55765 > │ │
00:25:23 verbose #55766 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55767 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #55768 > │ v167 │
00:25:23 verbose #55769 > │ #endif │
00:25:23 verbose #55770 > │ │
00:25:23 verbose #55771 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55772 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #55773 > │ v168 │
00:25:23 verbose #55774 > │ #endif │
00:25:23 verbose #55775 > │ │
00:25:23 verbose #55776 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55777 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:23 verbose #55778 > │ v169 │
00:25:23 verbose #55779 > │ #endif │
00:25:23 verbose #55780 > │ │
00:25:23 verbose #55781 > │ #else │
00:25:23 verbose #55782 > │ let v170 : Async<US6> option = None │
00:25:23 verbose #55783 > │ let mutable _v170 = v170 │
00:25:23 verbose #55784 > │ async { │
00:25:23 verbose #55785 > │ let! v162 = v162 │
00:25:23 verbose #55786 > │ let v171 : US5 = v162 │
00:25:23 verbose #55787 > │ let v177 : US6 = │
00:25:23 verbose #55788 > │ match v171 with │
00:25:23 verbose #55789 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:23 verbose #55790 > │ US6_0(v172) │
00:25:23 verbose #55791 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:23 verbose #55792 > │ US6_1(v174) │
00:25:23 verbose #55793 > │ return v177 │
00:25:23 verbose #55794 > │ } │
00:25:23 verbose #55795 > │ |> fun x -> _v170 <- Some x │
00:25:23 verbose #55796 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:23 verbose #55797 > │ v178 │
00:25:23 verbose #55798 > │ #endif │
00:25:23 verbose #55799 > │ |> fun x -> _v163 <- Some x │
00:25:23 verbose #55800 > │ let v179 : Async<US6> = _v163.Value │
00:25:23 verbose #55801 > │ let v180 : Async<US4> option = None │
00:25:23 verbose #55802 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:23 verbose #55803 > │ │
00:25:23 verbose #55804 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55805 > │ │
00:25:23 verbose #55806 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55807 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55808 > │ v182 │
00:25:23 verbose #55809 > │ #endif │
00:25:23 verbose #55810 > │ │
00:25:23 verbose #55811 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55812 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55813 > │ v183 │
00:25:23 verbose #55814 > │ #endif │
00:25:23 verbose #55815 > │ │
00:25:23 verbose #55816 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55817 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55818 > │ v184 │
00:25:23 verbose #55819 > │ #endif │
00:25:23 verbose #55820 > │ │
00:25:23 verbose #55821 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55822 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55823 > │ v185 │
00:25:23 verbose #55824 > │ #endif │
00:25:23 verbose #55825 > │ │
00:25:23 verbose #55826 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55827 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:23 verbose #55828 > │ v186 │
00:25:23 verbose #55829 > │ #endif │
00:25:23 verbose #55830 > │ │
00:25:23 verbose #55831 > │ #else │
00:25:23 verbose #55832 > │ let v187 : Async<US4> option = None │
00:25:23 verbose #55833 > │ let mutable _v187 = v187 │
00:25:23 verbose #55834 > │ async { │
00:25:23 verbose #55835 > │ let! v179 = v179 │
00:25:23 verbose #55836 > │ let v188 : US6 = v179 │
00:25:23 verbose #55837 > │ let v214 : US4 = │
00:25:23 verbose #55838 > │ match v188 with │
00:25:23 verbose #55839 > │ | US6_1(v191) -> (* Error *) │
00:25:23 verbose #55840 > │ let v192 : string = $"%A{v191}" │
00:25:23 verbose #55841 > │ let v193 : string = "System.TimeoutException" │
00:25:23 verbose #55842 > │ let v194 : bool = v192.Contains v193 │
00:25:23 verbose #55843 > │ if v194 then │
00:25:23 verbose #55844 > │ let v195 : US0 = US0_1 │
00:25:23 verbose #55845 > │ let v196 : (unit -> string) = closure17() │
00:25:23 verbose #55846 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:23 verbose #55847 > │ method1(v195, v196, v197) │
00:25:23 verbose #55848 > │ US4_1 │
00:25:23 verbose #55849 > │ else │
00:25:23 verbose #55850 > │ let v199 : string option = None │
00:25:23 verbose #55851 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:23 verbose #55852 > │ │
00:25:23 verbose #55853 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55854 > │ │
00:25:23 verbose #55855 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55856 > │ let v201 : string = $"%A{v191}" │
00:25:23 verbose #55857 > │ v201 │
00:25:23 verbose #55858 > │ #endif │
00:25:23 verbose #55859 > │ │
00:25:23 verbose #55860 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55861 > │ let v202 : string = $"%A{v191}" │
00:25:23 verbose #55862 > │ v202 │
00:25:23 verbose #55863 > │ #endif │
00:25:23 verbose #55864 > │ │
00:25:23 verbose #55865 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55866 > │ let v203 : string = $"%A{v191}" │
00:25:23 verbose #55867 > │ v203 │
00:25:23 verbose #55868 > │ #endif │
00:25:23 verbose #55869 > │ │
00:25:23 verbose #55870 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55871 > │ let v204 : string = $"%A{v191}" │
00:25:23 verbose #55872 > │ v204 │
00:25:23 verbose #55873 > │ #endif │
00:25:23 verbose #55874 > │ │
00:25:23 verbose #55875 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55876 > │ let v205 : string = $"%A{v191}" │
00:25:23 verbose #55877 > │ v205 │
00:25:23 verbose #55878 > │ #endif │
00:25:23 verbose #55879 > │ │
00:25:23 verbose #55880 > │ #else │
00:25:23 verbose #55881 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:23 verbose #55882 > │ {v191.Message}" │
00:25:23 verbose #55883 > │ v206 │
00:25:23 verbose #55884 > │ #endif │
00:25:23 verbose #55885 > │ |> fun x -> _v199 <- Some x │
00:25:23 verbose #55886 > │ let v207 : string = _v199.Value │
00:25:23 verbose #55887 > │ let v208 : US0 = US0_4 │
00:25:23 verbose #55888 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:23 verbose #55889 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:23 verbose #55890 > │ method1(v208, v209, v210) │
00:25:23 verbose #55891 > │ US4_1 │
00:25:23 verbose #55892 > │ | US6_0(v189) -> (* Ok *) │
00:25:23 verbose #55893 > │ US4_0(v189) │
00:25:23 verbose #55894 > │ return v214 │
00:25:23 verbose #55895 > │ } │
00:25:23 verbose #55896 > │ |> fun x -> _v187 <- Some x │
00:25:23 verbose #55897 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:23 verbose #55898 > │ v215 │
00:25:23 verbose #55899 > │ #endif │
00:25:23 verbose #55900 > │ |> fun x -> _v180 <- Some x │
00:25:23 verbose #55901 > │ let v216 : Async<US4> = _v180.Value │
00:25:23 verbose #55902 > │ return! v216 │
00:25:23 verbose #55903 > │ } │
00:25:23 verbose #55904 > │ |> fun x -> _v120 <- Some x │
00:25:23 verbose #55905 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:23 verbose #55906 > │ v217 │
00:25:23 verbose #55907 > │ #endif │
00:25:23 verbose #55908 > │ |> fun x -> _v113 <- Some x │
00:25:23 verbose #55909 > │ let v218 : Async<US4> = _v113.Value │
00:25:23 verbose #55910 > │ v218 │
00:25:23 verbose #55911 > │ #endif │
00:25:23 verbose #55912 > │ |> fun x -> _v106 <- Some x │
00:25:23 verbose #55913 > │ let v219 : Async<US4> = _v106.Value │
00:25:23 verbose #55914 > │ let! v219 = v219 │
00:25:23 verbose #55915 > │ let v220 : US4 = v219 │
00:25:23 verbose #55916 > │ let v223 : bool = │
00:25:23 verbose #55917 > │ match v220 with │
00:25:23 verbose #55918 > │ | US4_1 -> (* None *) │
00:25:23 verbose #55919 > │ false │
00:25:23 verbose #55920 > │ | US4_0(v221) -> (* Some *) │
00:25:23 verbose #55921 > │ v221 │
00:25:23 verbose #55922 > │ return v223 │
00:25:23 verbose #55923 > │ } │
00:25:23 verbose #55924 > │ |> fun x -> _v63 <- Some x │
00:25:23 verbose #55925 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:23 verbose #55926 > │ v224 │
00:25:23 verbose #55927 > │ #endif │
00:25:23 verbose #55928 > │ |> fun x -> _v56 <- Some x │
00:25:23 verbose #55929 > │ let v225 : Async<bool> = _v56.Value │
00:25:23 verbose #55930 > │ v225 │
00:25:23 verbose #55931 > │ let! v227 = v227 │
00:25:23 verbose #55932 > │ let v228 : bool = v227 │
00:25:23 verbose #55933 > │ let v229 : bool = v228 = false │
00:25:23 verbose #55934 > │ if v229 then │
00:25:23 verbose #55935 > │ return v1 │
00:25:23 verbose #55936 > │ (* │
00:25:23 verbose #55937 > │ () │
00:25:23 verbose #55938 > │ else │
00:25:23 verbose #55939 > │ *) else │
00:25:23 verbose #55940 > │ let v230 : int64 = v1 % 100L │
00:25:23 verbose #55941 > │ let v231 : bool = v230 = 0L │
00:25:23 verbose #55942 > │ if v231 then │
00:25:23 verbose #55943 > │ let v232 : US0 = US0_0 │
00:25:23 verbose #55944 > │ let v233 : (unit -> string) = closure20() │
00:25:23 verbose #55945 > │ let v234 : (unit -> string) = closure23(v0, v1) │
00:25:23 verbose #55946 > │ method1(v232, v233, v234) │
00:25:23 verbose #55947 > │ let v235 : Async<unit> option = None │
00:25:23 verbose #55948 > │ let v236 : bool = true in let mutable _v235 = v235 │
00:25:23 verbose #55949 > │ │
00:25:23 verbose #55950 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #55951 > │ │
00:25:23 verbose #55952 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #55953 > │ let v237 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55954 > │ v237 │
00:25:23 verbose #55955 > │ #endif │
00:25:23 verbose #55956 > │ │
00:25:23 verbose #55957 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #55958 > │ let v238 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55959 > │ v238 │
00:25:23 verbose #55960 > │ #endif │
00:25:23 verbose #55961 > │ │
00:25:23 verbose #55962 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #55963 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55964 > │ v239 │
00:25:23 verbose #55965 > │ #endif │
00:25:23 verbose #55966 > │ │
00:25:23 verbose #55967 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #55968 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55969 > │ v240 │
00:25:23 verbose #55970 > │ #endif │
00:25:23 verbose #55971 > │ │
00:25:23 verbose #55972 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #55973 > │ let v241 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #55974 > │ v241 │
00:25:23 verbose #55975 > │ #endif │
00:25:23 verbose #55976 > │ │
00:25:23 verbose #55977 > │ #else │
00:25:23 verbose #55978 > │ let v242 : (int32 -> Async<unit>) = Async.Sleep │
00:25:23 verbose #55979 > │ let v243 : Async<unit> = v242 10 │
00:25:23 verbose #55980 > │ v243 │
00:25:23 verbose #55981 > │ #endif │
00:25:23 verbose #55982 > │ |> fun x -> _v235 <- Some x │
00:25:23 verbose #55983 > │ let v244 : Async<unit> = _v235.Value │
00:25:23 verbose #55984 > │ do! v244 │
00:25:23 verbose #55985 > │ let v245 : int64 = v1 + 1L │
00:25:23 verbose #55986 > │ let v246 : Async<int64> = method9(v0, v245) │
00:25:23 verbose #55987 > │ return! v246 │
00:25:23 verbose #55988 > │ (* │
00:25:23 verbose #55989 > │ () │
00:25:23 verbose #55990 > │ *) │
00:25:23 verbose #55991 > │ } │
00:25:23 verbose #55992 > │ |> fun x -> _v9 <- Some x │
00:25:23 verbose #55993 > │ let v247 : Async<int64> = _v9 |> Option.get │
00:25:23 verbose #55994 > │ v247 │
00:25:23 verbose #55995 > │ #endif │
00:25:23 verbose #55996 > │ |> fun x -> _v2 <- Some x │
00:25:23 verbose #55997 > │ let v248 : Async<int64> = _v2.Value │
00:25:23 verbose #55998 > │ v248 │
00:25:23 verbose #55999 > │ and closure24 () () : string = │
00:25:23 verbose #56000 > │ let v0 : string = "5" │
00:25:23 verbose #56001 > │ v0 │
00:25:23 verbose #56002 > │ and closure25 () () : string = │
00:25:23 verbose #56003 > │ let v0 : string = "6" │
00:25:23 verbose #56004 > │ v0 │
00:25:23 verbose #56005 > │ and closure26 () struct (v0 : int64, v1 : int64) : US8 = │
00:25:23 verbose #56006 > │ US8_0(v0, v1) │
00:25:23 verbose #56007 > │ and closure27 () (v0 : exn) : US8 = │
00:25:23 verbose #56008 > │ US8_1(v0) │
00:25:23 verbose #56009 > │ and closure28 () () : string = │
00:25:23 verbose #56010 > │ let v0 : (unit -> string) = closure1() │
00:25:23 verbose #56011 > │ let v1 : string = $"timeout: {20000} / {v0 ()}" │
00:25:23 verbose #56012 > │ v1 │
00:25:23 verbose #56013 > │ and method10 (v0 : bool) : bool = │
00:25:23 verbose #56014 > │ v0 │
00:25:23 verbose #56015 > │ and method0 () : unit = │
00:25:23 verbose #56016 > │ let v0 : Async<struct (int64 * int64)> option = None │
00:25:23 verbose #56017 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:25:23 verbose #56018 > │ │
00:25:23 verbose #56019 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56020 > │ │
00:25:23 verbose #56021 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56022 > │ let v2 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:23 verbose #56023 > │ (int64 * int64)>> │
00:25:23 verbose #56024 > │ v2 │
00:25:23 verbose #56025 > │ #endif │
00:25:23 verbose #56026 > │ │
00:25:23 verbose #56027 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56028 > │ let v3 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:23 verbose #56029 > │ (int64 * int64)>> │
00:25:23 verbose #56030 > │ v3 │
00:25:23 verbose #56031 > │ #endif │
00:25:23 verbose #56032 > │ │
00:25:23 verbose #56033 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56034 > │ let v4 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:23 verbose #56035 > │ (int64 * int64)>> │
00:25:23 verbose #56036 > │ v4 │
00:25:23 verbose #56037 > │ #endif │
00:25:23 verbose #56038 > │ │
00:25:23 verbose #56039 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56040 > │ let v5 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:23 verbose #56041 > │ (int64 * int64)>> │
00:25:23 verbose #56042 > │ v5 │
00:25:23 verbose #56043 > │ #endif │
00:25:23 verbose #56044 > │ │
00:25:23 verbose #56045 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56046 > │ let v6 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:23 verbose #56047 > │ (int64 * int64)>> │
00:25:23 verbose #56048 > │ v6 │
00:25:23 verbose #56049 > │ #endif │
00:25:23 verbose #56050 > │ │
00:25:23 verbose #56051 > │ #else │
00:25:23 verbose #56052 > │ let v7 : Async<struct (int64 * int64)> option = None │
00:25:23 verbose #56053 > │ let mutable _v7 = v7 │
00:25:23 verbose #56054 > │ async { │
00:25:23 verbose #56055 > │ let v8 : US0 = US0_1 │
00:25:23 verbose #56056 > │ let v9 : (unit -> string) = closure0() │
00:25:23 verbose #56057 > │ let v10 : (unit -> string) = closure1() │
00:25:23 verbose #56058 > │ method1(v8, v9, v10) │
00:25:23 verbose #56059 > │ let v11 : Async<unit> option = None │
00:25:23 verbose #56060 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:25:23 verbose #56061 > │ │
00:25:23 verbose #56062 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56063 > │ │
00:25:23 verbose #56064 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56065 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56066 > │ v13 │
00:25:23 verbose #56067 > │ #endif │
00:25:23 verbose #56068 > │ │
00:25:23 verbose #56069 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56070 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56071 > │ v14 │
00:25:23 verbose #56072 > │ #endif │
00:25:23 verbose #56073 > │ │
00:25:23 verbose #56074 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56075 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56076 > │ v15 │
00:25:23 verbose #56077 > │ #endif │
00:25:23 verbose #56078 > │ │
00:25:23 verbose #56079 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56080 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56081 > │ v16 │
00:25:23 verbose #56082 > │ #endif │
00:25:23 verbose #56083 > │ │
00:25:23 verbose #56084 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56085 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56086 > │ v17 │
00:25:23 verbose #56087 > │ #endif │
00:25:23 verbose #56088 > │ │
00:25:23 verbose #56089 > │ #else │
00:25:23 verbose #56090 > │ let v18 : Async<unit> option = None │
00:25:23 verbose #56091 > │ let mutable _v18 = v18 │
00:25:23 verbose #56092 > │ async { │
00:25:23 verbose #56093 > │ let v19 : US0 = US0_1 │
00:25:23 verbose #56094 > │ let v20 : (unit -> string) = closure6() │
00:25:23 verbose #56095 > │ method1(v19, v20, v10) │
00:25:23 verbose #56096 > │ let v21 : Async<unit> option = None │
00:25:23 verbose #56097 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:25:23 verbose #56098 > │ │
00:25:23 verbose #56099 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56100 > │ │
00:25:23 verbose #56101 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56102 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56103 > │ v23 │
00:25:23 verbose #56104 > │ #endif │
00:25:23 verbose #56105 > │ │
00:25:23 verbose #56106 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56107 > │ let v24 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56108 > │ v24 │
00:25:23 verbose #56109 > │ #endif │
00:25:23 verbose #56110 > │ │
00:25:23 verbose #56111 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56112 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56113 > │ v25 │
00:25:23 verbose #56114 > │ #endif │
00:25:23 verbose #56115 > │ │
00:25:23 verbose #56116 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56117 > │ let v26 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56118 > │ v26 │
00:25:23 verbose #56119 > │ #endif │
00:25:23 verbose #56120 > │ │
00:25:23 verbose #56121 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56122 > │ let v27 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56123 > │ v27 │
00:25:23 verbose #56124 > │ #endif │
00:25:23 verbose #56125 > │ │
00:25:23 verbose #56126 > │ #else │
00:25:23 verbose #56127 > │ let v28 : (int32 -> Async<unit>) = Async.Sleep │
00:25:23 verbose #56128 > │ let v29 : Async<unit> = v28 5000 │
00:25:23 verbose #56129 > │ v29 │
00:25:23 verbose #56130 > │ #endif │
00:25:23 verbose #56131 > │ |> fun x -> _v21 <- Some x │
00:25:23 verbose #56132 > │ let v30 : Async<unit> = _v21.Value │
00:25:23 verbose #56133 > │ do! v30 │
00:25:23 verbose #56134 > │ let v31 : (string -> System.Net.IPAddress) = System.Net.IPAddress.Parse │
00:25:23 verbose #56135 > │ let v32 : string = "127.0.0.1" │
00:25:23 verbose #56136 > │ let v33 : System.Net.IPAddress = v31 v32 │
00:25:23 verbose #56137 > │ let v34 : System.Net.Sockets.TcpListener = new │
00:25:23 verbose #56138 > │ System.Net.Sockets.TcpListener (v33, 5555) │
00:25:23 verbose #56139 > │ use v34 = v34 │
00:25:23 verbose #56140 > │ let v35 : System.Net.Sockets.TcpListener = v34 │
00:25:23 verbose #56141 > │ let v36 : US0 = US0_1 │
00:25:23 verbose #56142 > │ let v37 : (unit -> string) = closure7() │
00:25:23 verbose #56143 > │ method1(v36, v37, v10) │
00:25:23 verbose #56144 > │ let v38 : (unit -> unit) = v35.Start │
00:25:23 verbose #56145 > │ v38 () │
00:25:23 verbose #56146 > │ let v39 : US0 = US0_1 │
00:25:23 verbose #56147 > │ let v40 : (unit -> string) = closure8() │
00:25:23 verbose #56148 > │ method1(v39, v40, v10) │
00:25:23 verbose #56149 > │ let v41 : Async<unit> option = None │
00:25:23 verbose #56150 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:25:23 verbose #56151 > │ │
00:25:23 verbose #56152 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56153 > │ │
00:25:23 verbose #56154 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56155 > │ let v43 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56156 > │ v43 │
00:25:23 verbose #56157 > │ #endif │
00:25:23 verbose #56158 > │ │
00:25:23 verbose #56159 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56160 > │ let v44 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56161 > │ v44 │
00:25:23 verbose #56162 > │ #endif │
00:25:23 verbose #56163 > │ │
00:25:23 verbose #56164 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56165 > │ let v45 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56166 > │ v45 │
00:25:23 verbose #56167 > │ #endif │
00:25:23 verbose #56168 > │ │
00:25:23 verbose #56169 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56170 > │ let v46 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56171 > │ v46 │
00:25:23 verbose #56172 > │ #endif │
00:25:23 verbose #56173 > │ │
00:25:23 verbose #56174 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56175 > │ let v47 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56176 > │ v47 │
00:25:23 verbose #56177 > │ #endif │
00:25:23 verbose #56178 > │ │
00:25:23 verbose #56179 > │ #else │
00:25:23 verbose #56180 > │ let v48 : (int32 -> Async<unit>) = Async.Sleep │
00:25:23 verbose #56181 > │ let v49 : Async<unit> = v48 2000 │
00:25:23 verbose #56182 > │ v49 │
00:25:23 verbose #56183 > │ #endif │
00:25:23 verbose #56184 > │ |> fun x -> _v41 <- Some x │
00:25:23 verbose #56185 > │ let v50 : Async<unit> = _v41.Value │
00:25:23 verbose #56186 > │ do! v50 │
00:25:23 verbose #56187 > │ let v51 : US0 = US0_1 │
00:25:23 verbose #56188 > │ let v52 : (unit -> string) = closure9() │
00:25:23 verbose #56189 > │ method1(v51, v52, v10) │
00:25:23 verbose #56190 > │ let v53 : (unit -> unit) = v35.Stop │
00:25:23 verbose #56191 > │ v53 () │
00:25:23 verbose #56192 > │ let v54 : US0 = US0_1 │
00:25:23 verbose #56193 > │ let v55 : (unit -> string) = closure10() │
00:25:23 verbose #56194 > │ method1(v54, v55, v10) │
00:25:23 verbose #56195 > │ } │
00:25:23 verbose #56196 > │ |> fun x -> _v18 <- Some x │
00:25:23 verbose #56197 > │ let v56 : Async<unit> = _v18 |> Option.get │
00:25:23 verbose #56198 > │ v56 │
00:25:23 verbose #56199 > │ #endif │
00:25:23 verbose #56200 > │ |> fun x -> _v11 <- Some x │
00:25:23 verbose #56201 > │ let v57 : Async<unit> = _v11.Value │
00:25:23 verbose #56202 > │ let v58 : Async<Async<unit>> option = None │
00:25:23 verbose #56203 > │ let v59 : bool = true in let mutable _v58 = v58 │
00:25:23 verbose #56204 > │ │
00:25:23 verbose #56205 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56206 > │ │
00:25:23 verbose #56207 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56208 > │ let v60 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:23 verbose #56209 > │ v60 │
00:25:23 verbose #56210 > │ #endif │
00:25:23 verbose #56211 > │ │
00:25:23 verbose #56212 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56213 > │ let v61 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:23 verbose #56214 > │ v61 │
00:25:23 verbose #56215 > │ #endif │
00:25:23 verbose #56216 > │ │
00:25:23 verbose #56217 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56218 > │ let v62 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:23 verbose #56219 > │ v62 │
00:25:23 verbose #56220 > │ #endif │
00:25:23 verbose #56221 > │ │
00:25:23 verbose #56222 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56223 > │ let v63 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:23 verbose #56224 > │ v63 │
00:25:23 verbose #56225 > │ #endif │
00:25:23 verbose #56226 > │ │
00:25:23 verbose #56227 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56228 > │ let v64 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:23 verbose #56229 > │ v64 │
00:25:23 verbose #56230 > │ #endif │
00:25:23 verbose #56231 > │ │
00:25:23 verbose #56232 > │ #else │
00:25:23 verbose #56233 > │ let v65 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:25:23 verbose #56234 > │ let v66 : Async<Async<unit>> = v65 v57 │
00:25:23 verbose #56235 > │ v66 │
00:25:23 verbose #56236 > │ #endif │
00:25:23 verbose #56237 > │ |> fun x -> _v58 <- Some x │
00:25:23 verbose #56238 > │ let v67 : Async<Async<unit>> = _v58.Value │
00:25:23 verbose #56239 > │ let! v67 = v67 │
00:25:23 verbose #56240 > │ let v68 : Async<unit> = v67 │
00:25:23 verbose #56241 > │ let v69 : US0 = US0_1 │
00:25:23 verbose #56242 > │ let v70 : (unit -> string) = closure11() │
00:25:23 verbose #56243 > │ method1(v69, v70, v10) │
00:25:23 verbose #56244 > │ let v71 : Async<unit> option = None │
00:25:23 verbose #56245 > │ let v72 : bool = true in let mutable _v71 = v71 │
00:25:23 verbose #56246 > │ │
00:25:23 verbose #56247 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56248 > │ │
00:25:23 verbose #56249 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56250 > │ let v73 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56251 > │ v73 │
00:25:23 verbose #56252 > │ #endif │
00:25:23 verbose #56253 > │ │
00:25:23 verbose #56254 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56255 > │ let v74 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56256 > │ v74 │
00:25:23 verbose #56257 > │ #endif │
00:25:23 verbose #56258 > │ │
00:25:23 verbose #56259 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56260 > │ let v75 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56261 > │ v75 │
00:25:23 verbose #56262 > │ #endif │
00:25:23 verbose #56263 > │ │
00:25:23 verbose #56264 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56265 > │ let v76 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56266 > │ v76 │
00:25:23 verbose #56267 > │ #endif │
00:25:23 verbose #56268 > │ │
00:25:23 verbose #56269 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56270 > │ let v77 : Async<unit> = null |> unbox<Async<unit>> │
00:25:23 verbose #56271 > │ v77 │
00:25:23 verbose #56272 > │ #endif │
00:25:23 verbose #56273 > │ │
00:25:23 verbose #56274 > │ #else │
00:25:23 verbose #56275 > │ let v78 : (int32 -> Async<unit>) = Async.Sleep │
00:25:23 verbose #56276 > │ let v79 : Async<unit> = v78 1 │
00:25:23 verbose #56277 > │ v79 │
00:25:23 verbose #56278 > │ #endif │
00:25:23 verbose #56279 > │ |> fun x -> _v71 <- Some x │
00:25:23 verbose #56280 > │ let v80 : Async<unit> = _v71.Value │
00:25:23 verbose #56281 > │ do! v80 │
00:25:23 verbose #56282 > │ let v81 : US0 = US0_1 │
00:25:23 verbose #56283 > │ let v82 : (unit -> string) = closure12() │
00:25:23 verbose #56284 > │ method1(v81, v82, v10) │
00:25:23 verbose #56285 > │ let v83 : int32 option = None │
00:25:23 verbose #56286 > │ let v84 : int64 = 0L │
00:25:23 verbose #56287 > │ let v85 : Async<int64> = method7(v83, v84) │
00:25:23 verbose #56288 > │ let! v85 = v85 │
00:25:23 verbose #56289 > │ let v86 : int64 = v85 │
00:25:23 verbose #56290 > │ let v87 : US0 = US0_1 │
00:25:23 verbose #56291 > │ let v88 : (unit -> string) = closure22() │
00:25:23 verbose #56292 > │ method1(v87, v88, v10) │
00:25:23 verbose #56293 > │ let v89 : int32 option = None │
00:25:23 verbose #56294 > │ let v90 : int64 = 0L │
00:25:23 verbose #56295 > │ let v91 : Async<int64> = method9(v89, v90) │
00:25:23 verbose #56296 > │ let! v91 = v91 │
00:25:23 verbose #56297 > │ let v92 : int64 = v91 │
00:25:23 verbose #56298 > │ let v93 : US0 = US0_1 │
00:25:23 verbose #56299 > │ let v94 : (unit -> string) = closure24() │
00:25:23 verbose #56300 > │ method1(v93, v94, v10) │
00:25:23 verbose #56301 > │ do! v68 │
00:25:23 verbose #56302 > │ let v95 : US0 = US0_1 │
00:25:23 verbose #56303 > │ let v96 : (unit -> string) = closure25() │
00:25:23 verbose #56304 > │ method1(v95, v96, v10) │
00:25:23 verbose #56305 > │ return struct (v86, v92) │
00:25:23 verbose #56306 > │ } │
00:25:23 verbose #56307 > │ |> fun x -> _v7 <- Some x │
00:25:23 verbose #56308 > │ let v97 : Async<struct (int64 * int64)> = _v7 |> Option.get │
00:25:23 verbose #56309 > │ v97 │
00:25:23 verbose #56310 > │ #endif │
00:25:23 verbose #56311 > │ |> fun x -> _v0 <- Some x │
00:25:23 verbose #56312 > │ let v98 : Async<struct (int64 * int64)> = _v0.Value │
00:25:23 verbose #56313 > │ let v99 : Async<US7> option = None │
00:25:23 verbose #56314 > │ let v100 : bool = true in let mutable _v99 = v99 │
00:25:23 verbose #56315 > │ │
00:25:23 verbose #56316 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56317 > │ │
00:25:23 verbose #56318 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56319 > │ let v101 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56320 > │ v101 │
00:25:23 verbose #56321 > │ #endif │
00:25:23 verbose #56322 > │ │
00:25:23 verbose #56323 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56324 > │ let v102 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56325 > │ v102 │
00:25:23 verbose #56326 > │ #endif │
00:25:23 verbose #56327 > │ │
00:25:23 verbose #56328 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56329 > │ let v103 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56330 > │ v103 │
00:25:23 verbose #56331 > │ #endif │
00:25:23 verbose #56332 > │ │
00:25:23 verbose #56333 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56334 > │ let v104 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56335 > │ v104 │
00:25:23 verbose #56336 > │ #endif │
00:25:23 verbose #56337 > │ │
00:25:23 verbose #56338 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56339 > │ let v105 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56340 > │ v105 │
00:25:23 verbose #56341 > │ #endif │
00:25:23 verbose #56342 > │ │
00:25:23 verbose #56343 > │ #else │
00:25:23 verbose #56344 > │ let v106 : Async<US7> option = None │
00:25:23 verbose #56345 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:23 verbose #56346 > │ │
00:25:23 verbose #56347 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56348 > │ │
00:25:23 verbose #56349 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56350 > │ let v108 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56351 > │ v108 │
00:25:23 verbose #56352 > │ #endif │
00:25:23 verbose #56353 > │ │
00:25:23 verbose #56354 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56355 > │ let v109 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56356 > │ v109 │
00:25:23 verbose #56357 > │ #endif │
00:25:23 verbose #56358 > │ │
00:25:23 verbose #56359 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56360 > │ let v110 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56361 > │ v110 │
00:25:23 verbose #56362 > │ #endif │
00:25:23 verbose #56363 > │ │
00:25:23 verbose #56364 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56365 > │ let v111 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56366 > │ v111 │
00:25:23 verbose #56367 > │ #endif │
00:25:23 verbose #56368 > │ │
00:25:23 verbose #56369 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56370 > │ let v112 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56371 > │ v112 │
00:25:23 verbose #56372 > │ #endif │
00:25:23 verbose #56373 > │ │
00:25:23 verbose #56374 > │ #else │
00:25:23 verbose #56375 > │ let v113 : Async<US7> option = None │
00:25:23 verbose #56376 > │ let mutable _v113 = v113 │
00:25:23 verbose #56377 > │ async { │
00:25:23 verbose #56378 > │ let v114 : Async<Async<struct (int64 * int64)>> option = None │
00:25:23 verbose #56379 > │ let v115 : bool = true in let mutable _v114 = v114 │
00:25:23 verbose #56380 > │ │
00:25:23 verbose #56381 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56382 > │ │
00:25:23 verbose #56383 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56384 > │ let v116 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:23 verbose #56385 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:23 verbose #56386 > │ v116 │
00:25:23 verbose #56387 > │ #endif │
00:25:23 verbose #56388 > │ │
00:25:23 verbose #56389 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56390 > │ let v117 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:23 verbose #56391 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:23 verbose #56392 > │ v117 │
00:25:23 verbose #56393 > │ #endif │
00:25:23 verbose #56394 > │ │
00:25:23 verbose #56395 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56396 > │ let v118 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:23 verbose #56397 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:23 verbose #56398 > │ v118 │
00:25:23 verbose #56399 > │ #endif │
00:25:23 verbose #56400 > │ │
00:25:23 verbose #56401 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56402 > │ let v119 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:23 verbose #56403 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:23 verbose #56404 > │ v119 │
00:25:23 verbose #56405 > │ #endif │
00:25:23 verbose #56406 > │ │
00:25:23 verbose #56407 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56408 > │ let v120 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:23 verbose #56409 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:23 verbose #56410 > │ v120 │
00:25:23 verbose #56411 > │ #endif │
00:25:23 verbose #56412 > │ │
00:25:23 verbose #56413 > │ #else │
00:25:23 verbose #56414 > │ let v121 : Async<Async<struct (int64 * int64)>> = Async.StartChild (v98, │
00:25:23 verbose #56415 > │ 20000) │
00:25:23 verbose #56416 > │ v121 │
00:25:23 verbose #56417 > │ #endif │
00:25:23 verbose #56418 > │ |> fun x -> _v114 <- Some x │
00:25:23 verbose #56419 > │ let v122 : Async<Async<struct (int64 * int64)>> = _v114.Value │
00:25:23 verbose #56420 > │ let! v122 = v122 │
00:25:23 verbose #56421 > │ let v123 : Async<struct (int64 * int64)> = v122 │
00:25:23 verbose #56422 > │ let v124 : Async<Choice<struct (int64 * int64), exn>> option = None │
00:25:23 verbose #56423 > │ let v125 : bool = true in let mutable _v124 = v124 │
00:25:23 verbose #56424 > │ │
00:25:23 verbose #56425 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56426 > │ │
00:25:23 verbose #56427 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56428 > │ let v126 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:23 verbose #56429 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:23 verbose #56430 > │ v126 │
00:25:23 verbose #56431 > │ #endif │
00:25:23 verbose #56432 > │ │
00:25:23 verbose #56433 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56434 > │ let v127 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:23 verbose #56435 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:23 verbose #56436 > │ v127 │
00:25:23 verbose #56437 > │ #endif │
00:25:23 verbose #56438 > │ │
00:25:23 verbose #56439 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56440 > │ let v128 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:23 verbose #56441 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:23 verbose #56442 > │ v128 │
00:25:23 verbose #56443 > │ #endif │
00:25:23 verbose #56444 > │ │
00:25:23 verbose #56445 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56446 > │ let v129 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:23 verbose #56447 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:23 verbose #56448 > │ v129 │
00:25:23 verbose #56449 > │ #endif │
00:25:23 verbose #56450 > │ │
00:25:23 verbose #56451 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56452 > │ let v130 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:23 verbose #56453 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:23 verbose #56454 > │ v130 │
00:25:23 verbose #56455 > │ #endif │
00:25:23 verbose #56456 > │ │
00:25:23 verbose #56457 > │ #else │
00:25:23 verbose #56458 > │ let v131 : (Async<struct (int64 * int64)> -> Async<Choice<struct (int64 │
00:25:23 verbose #56459 > │ * int64), exn>>) = Async.Catch │
00:25:23 verbose #56460 > │ let v132 : Async<Choice<struct (int64 * int64), exn>> = v131 v123 │
00:25:23 verbose #56461 > │ v132 │
00:25:23 verbose #56462 > │ #endif │
00:25:23 verbose #56463 > │ |> fun x -> _v124 <- Some x │
00:25:23 verbose #56464 > │ let v133 : Async<Choice<struct (int64 * int64), exn>> = _v124.Value │
00:25:23 verbose #56465 > │ let v134 : Async<US8> option = None │
00:25:23 verbose #56466 > │ let v135 : bool = true in let mutable _v134 = v134 │
00:25:23 verbose #56467 > │ │
00:25:23 verbose #56468 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56469 > │ │
00:25:23 verbose #56470 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56471 > │ let v136 : Async<US8> = null |> unbox<Async<US8>> │
00:25:23 verbose #56472 > │ v136 │
00:25:23 verbose #56473 > │ #endif │
00:25:23 verbose #56474 > │ │
00:25:23 verbose #56475 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56476 > │ let v137 : Async<US8> = null |> unbox<Async<US8>> │
00:25:23 verbose #56477 > │ v137 │
00:25:23 verbose #56478 > │ #endif │
00:25:23 verbose #56479 > │ │
00:25:23 verbose #56480 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56481 > │ let v138 : Async<US8> = null |> unbox<Async<US8>> │
00:25:23 verbose #56482 > │ v138 │
00:25:23 verbose #56483 > │ #endif │
00:25:23 verbose #56484 > │ │
00:25:23 verbose #56485 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56486 > │ let v139 : Async<US8> = null |> unbox<Async<US8>> │
00:25:23 verbose #56487 > │ v139 │
00:25:23 verbose #56488 > │ #endif │
00:25:23 verbose #56489 > │ │
00:25:23 verbose #56490 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56491 > │ let v140 : Async<US8> = null |> unbox<Async<US8>> │
00:25:23 verbose #56492 > │ v140 │
00:25:23 verbose #56493 > │ #endif │
00:25:23 verbose #56494 > │ │
00:25:23 verbose #56495 > │ #else │
00:25:23 verbose #56496 > │ let v141 : Async<US8> option = None │
00:25:23 verbose #56497 > │ let mutable _v141 = v141 │
00:25:23 verbose #56498 > │ async { │
00:25:23 verbose #56499 > │ let! v133 = v133 │
00:25:23 verbose #56500 > │ let v142 : Choice<struct (int64 * int64), exn> = v133 │
00:25:23 verbose #56501 > │ let v143 : US8 option = None │
00:25:23 verbose #56502 > │ let v144 : bool = true in let mutable _v143 = v143 │
00:25:23 verbose #56503 > │ │
00:25:23 verbose #56504 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56505 > │ │
00:25:23 verbose #56506 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56507 > │ let v145 : US8 = null |> unbox<US8> │
00:25:23 verbose #56508 > │ v145 │
00:25:23 verbose #56509 > │ #endif │
00:25:23 verbose #56510 > │ │
00:25:23 verbose #56511 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56512 > │ let v146 : US8 = null |> unbox<US8> │
00:25:23 verbose #56513 > │ v146 │
00:25:23 verbose #56514 > │ #endif │
00:25:23 verbose #56515 > │ │
00:25:23 verbose #56516 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56517 > │ let v147 : US8 = null |> unbox<US8> │
00:25:23 verbose #56518 > │ v147 │
00:25:23 verbose #56519 > │ #endif │
00:25:23 verbose #56520 > │ │
00:25:23 verbose #56521 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56522 > │ let v148 : US8 = null |> unbox<US8> │
00:25:23 verbose #56523 > │ v148 │
00:25:23 verbose #56524 > │ #endif │
00:25:23 verbose #56525 > │ │
00:25:23 verbose #56526 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56527 > │ let v149 : US8 = null |> unbox<US8> │
00:25:23 verbose #56528 > │ v149 │
00:25:23 verbose #56529 > │ #endif │
00:25:23 verbose #56530 > │ │
00:25:23 verbose #56531 > │ #else │
00:25:23 verbose #56532 > │ let v150 : (struct (int64 * int64) -> US8) = closure26() │
00:25:23 verbose #56533 > │ let v151 : (exn -> US8) = closure27() │
00:25:23 verbose #56534 > │ let v152 : US8 = match v142 with Choice1Of2 x -> v150 x | Choice2Of2 x │
00:25:23 verbose #56535 > │ -> v151 x │
00:25:23 verbose #56536 > │ v152 │
00:25:23 verbose #56537 > │ #endif │
00:25:23 verbose #56538 > │ |> fun x -> _v143 <- Some x │
00:25:23 verbose #56539 > │ let v153 : US8 = _v143.Value │
00:25:23 verbose #56540 > │ return v153 │
00:25:23 verbose #56541 > │ } │
00:25:23 verbose #56542 > │ |> fun x -> _v141 <- Some x │
00:25:23 verbose #56543 > │ let v154 : Async<US8> = _v141 |> Option.get │
00:25:23 verbose #56544 > │ v154 │
00:25:23 verbose #56545 > │ #endif │
00:25:23 verbose #56546 > │ |> fun x -> _v134 <- Some x │
00:25:23 verbose #56547 > │ let v155 : Async<US8> = _v134.Value │
00:25:23 verbose #56548 > │ let v156 : Async<US9> option = None │
00:25:23 verbose #56549 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:25:23 verbose #56550 > │ │
00:25:23 verbose #56551 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56552 > │ │
00:25:23 verbose #56553 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56554 > │ let v158 : Async<US9> = null |> unbox<Async<US9>> │
00:25:23 verbose #56555 > │ v158 │
00:25:23 verbose #56556 > │ #endif │
00:25:23 verbose #56557 > │ │
00:25:23 verbose #56558 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56559 > │ let v159 : Async<US9> = null |> unbox<Async<US9>> │
00:25:23 verbose #56560 > │ v159 │
00:25:23 verbose #56561 > │ #endif │
00:25:23 verbose #56562 > │ │
00:25:23 verbose #56563 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56564 > │ let v160 : Async<US9> = null |> unbox<Async<US9>> │
00:25:23 verbose #56565 > │ v160 │
00:25:23 verbose #56566 > │ #endif │
00:25:23 verbose #56567 > │ │
00:25:23 verbose #56568 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56569 > │ let v161 : Async<US9> = null |> unbox<Async<US9>> │
00:25:23 verbose #56570 > │ v161 │
00:25:23 verbose #56571 > │ #endif │
00:25:23 verbose #56572 > │ │
00:25:23 verbose #56573 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56574 > │ let v162 : Async<US9> = null |> unbox<Async<US9>> │
00:25:23 verbose #56575 > │ v162 │
00:25:23 verbose #56576 > │ #endif │
00:25:23 verbose #56577 > │ │
00:25:23 verbose #56578 > │ #else │
00:25:23 verbose #56579 > │ let v163 : Async<US9> option = None │
00:25:23 verbose #56580 > │ let mutable _v163 = v163 │
00:25:23 verbose #56581 > │ async { │
00:25:23 verbose #56582 > │ let! v155 = v155 │
00:25:23 verbose #56583 > │ let v164 : US8 = v155 │
00:25:23 verbose #56584 > │ let v171 : US9 = │
00:25:23 verbose #56585 > │ match v164 with │
00:25:23 verbose #56586 > │ | US8_0(v165, v166) -> (* Choice1Of2 *) │
00:25:23 verbose #56587 > │ US9_0(v165, v166) │
00:25:23 verbose #56588 > │ | US8_1(v168) -> (* Choice2Of2 *) │
00:25:23 verbose #56589 > │ US9_1(v168) │
00:25:23 verbose #56590 > │ return v171 │
00:25:23 verbose #56591 > │ } │
00:25:23 verbose #56592 > │ |> fun x -> _v163 <- Some x │
00:25:23 verbose #56593 > │ let v172 : Async<US9> = _v163 |> Option.get │
00:25:23 verbose #56594 > │ v172 │
00:25:23 verbose #56595 > │ #endif │
00:25:23 verbose #56596 > │ |> fun x -> _v156 <- Some x │
00:25:23 verbose #56597 > │ let v173 : Async<US9> = _v156.Value │
00:25:23 verbose #56598 > │ let v174 : Async<US7> option = None │
00:25:23 verbose #56599 > │ let v175 : bool = true in let mutable _v174 = v174 │
00:25:23 verbose #56600 > │ │
00:25:23 verbose #56601 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56602 > │ │
00:25:23 verbose #56603 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56604 > │ let v176 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56605 > │ v176 │
00:25:23 verbose #56606 > │ #endif │
00:25:23 verbose #56607 > │ │
00:25:23 verbose #56608 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56609 > │ let v177 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56610 > │ v177 │
00:25:23 verbose #56611 > │ #endif │
00:25:23 verbose #56612 > │ │
00:25:23 verbose #56613 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56614 > │ let v178 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56615 > │ v178 │
00:25:23 verbose #56616 > │ #endif │
00:25:23 verbose #56617 > │ │
00:25:23 verbose #56618 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56619 > │ let v179 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56620 > │ v179 │
00:25:23 verbose #56621 > │ #endif │
00:25:23 verbose #56622 > │ │
00:25:23 verbose #56623 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56624 > │ let v180 : Async<US7> = null |> unbox<Async<US7>> │
00:25:23 verbose #56625 > │ v180 │
00:25:23 verbose #56626 > │ #endif │
00:25:23 verbose #56627 > │ │
00:25:23 verbose #56628 > │ #else │
00:25:23 verbose #56629 > │ let v181 : Async<US7> option = None │
00:25:23 verbose #56630 > │ let mutable _v181 = v181 │
00:25:23 verbose #56631 > │ async { │
00:25:23 verbose #56632 > │ let! v173 = v173 │
00:25:23 verbose #56633 > │ let v182 : US9 = v173 │
00:25:23 verbose #56634 > │ let v209 : US7 = │
00:25:23 verbose #56635 > │ match v182 with │
00:25:23 verbose #56636 > │ | US9_1(v186) -> (* Error *) │
00:25:23 verbose #56637 > │ let v187 : string = $"%A{v186}" │
00:25:23 verbose #56638 > │ let v188 : string = "System.TimeoutException" │
00:25:23 verbose #56639 > │ let v189 : bool = v187.Contains v188 │
00:25:23 verbose #56640 > │ if v189 then │
00:25:23 verbose #56641 > │ let v190 : US0 = US0_1 │
00:25:23 verbose #56642 > │ let v191 : (unit -> string) = closure17() │
00:25:23 verbose #56643 > │ let v192 : (unit -> string) = closure28() │
00:25:23 verbose #56644 > │ method1(v190, v191, v192) │
00:25:23 verbose #56645 > │ US7_1 │
00:25:23 verbose #56646 > │ else │
00:25:23 verbose #56647 > │ let v194 : string option = None │
00:25:23 verbose #56648 > │ let v195 : bool = true in let mutable _v194 = v194 │
00:25:23 verbose #56649 > │ │
00:25:23 verbose #56650 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56651 > │ │
00:25:23 verbose #56652 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56653 > │ let v196 : string = $"%A{v186}" │
00:25:23 verbose #56654 > │ v196 │
00:25:23 verbose #56655 > │ #endif │
00:25:23 verbose #56656 > │ │
00:25:23 verbose #56657 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56658 > │ let v197 : string = $"%A{v186}" │
00:25:23 verbose #56659 > │ v197 │
00:25:23 verbose #56660 > │ #endif │
00:25:23 verbose #56661 > │ │
00:25:23 verbose #56662 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56663 > │ let v198 : string = $"%A{v186}" │
00:25:23 verbose #56664 > │ v198 │
00:25:23 verbose #56665 > │ #endif │
00:25:23 verbose #56666 > │ │
00:25:23 verbose #56667 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56668 > │ let v199 : string = $"%A{v186}" │
00:25:23 verbose #56669 > │ v199 │
00:25:23 verbose #56670 > │ #endif │
00:25:23 verbose #56671 > │ │
00:25:23 verbose #56672 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56673 > │ let v200 : string = $"%A{v186}" │
00:25:23 verbose #56674 > │ v200 │
00:25:23 verbose #56675 > │ #endif │
00:25:23 verbose #56676 > │ │
00:25:23 verbose #56677 > │ #else │
00:25:23 verbose #56678 > │ let v201 : string = $"{v186.GetType ()}: {v186.Message}" │
00:25:23 verbose #56679 > │ v201 │
00:25:23 verbose #56680 > │ #endif │
00:25:23 verbose #56681 > │ |> fun x -> _v194 <- Some x │
00:25:23 verbose #56682 > │ let v202 : string = _v194.Value │
00:25:23 verbose #56683 > │ let v203 : US0 = US0_4 │
00:25:23 verbose #56684 > │ let v204 : (unit -> string) = closure19(v202) │
00:25:23 verbose #56685 > │ let v205 : (unit -> string) = closure28() │
00:25:23 verbose #56686 > │ method1(v203, v204, v205) │
00:25:23 verbose #56687 > │ US7_1 │
00:25:23 verbose #56688 > │ | US9_0(v183, v184) -> (* Ok *) │
00:25:23 verbose #56689 > │ US7_0(v183, v184) │
00:25:23 verbose #56690 > │ return v209 │
00:25:23 verbose #56691 > │ } │
00:25:23 verbose #56692 > │ |> fun x -> _v181 <- Some x │
00:25:23 verbose #56693 > │ let v210 : Async<US7> = _v181 |> Option.get │
00:25:23 verbose #56694 > │ v210 │
00:25:23 verbose #56695 > │ #endif │
00:25:23 verbose #56696 > │ |> fun x -> _v174 <- Some x │
00:25:23 verbose #56697 > │ let v211 : Async<US7> = _v174.Value │
00:25:23 verbose #56698 > │ return! v211 │
00:25:23 verbose #56699 > │ } │
00:25:23 verbose #56700 > │ |> fun x -> _v113 <- Some x │
00:25:23 verbose #56701 > │ let v212 : Async<US7> = _v113 |> Option.get │
00:25:23 verbose #56702 > │ v212 │
00:25:23 verbose #56703 > │ #endif │
00:25:23 verbose #56704 > │ |> fun x -> _v106 <- Some x │
00:25:23 verbose #56705 > │ let v213 : Async<US7> = _v106.Value │
00:25:23 verbose #56706 > │ v213 │
00:25:23 verbose #56707 > │ #endif │
00:25:23 verbose #56708 > │ |> fun x -> _v99 <- Some x │
00:25:23 verbose #56709 > │ let v214 : Async<US7> = _v99.Value │
00:25:23 verbose #56710 > │ let v215 : US7 option = None │
00:25:23 verbose #56711 > │ let v216 : bool = true in let mutable _v215 = v215 │
00:25:23 verbose #56712 > │ │
00:25:23 verbose #56713 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56714 > │ │
00:25:23 verbose #56715 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56716 > │ let v217 : US7 = null |> unbox<US7> │
00:25:23 verbose #56717 > │ v217 │
00:25:23 verbose #56718 > │ #endif │
00:25:23 verbose #56719 > │ │
00:25:23 verbose #56720 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56721 > │ let v218 : US7 = null |> unbox<US7> │
00:25:23 verbose #56722 > │ v218 │
00:25:23 verbose #56723 > │ #endif │
00:25:23 verbose #56724 > │ │
00:25:23 verbose #56725 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56726 > │ let v219 : US7 = null |> unbox<US7> │
00:25:23 verbose #56727 > │ v219 │
00:25:23 verbose #56728 > │ #endif │
00:25:23 verbose #56729 > │ │
00:25:23 verbose #56730 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56731 > │ let v220 : US7 = null |> unbox<US7> │
00:25:23 verbose #56732 > │ v220 │
00:25:23 verbose #56733 > │ #endif │
00:25:23 verbose #56734 > │ │
00:25:23 verbose #56735 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56736 > │ let v221 : US7 = null |> unbox<US7> │
00:25:23 verbose #56737 > │ v221 │
00:25:23 verbose #56738 > │ #endif │
00:25:23 verbose #56739 > │ │
00:25:23 verbose #56740 > │ #else │
00:25:23 verbose #56741 > │ let v222 : (Async<US7> -> US7) = Async.RunSynchronously │
00:25:23 verbose #56742 > │ let v223 : US7 = v222 v214 │
00:25:23 verbose #56743 > │ v223 │
00:25:23 verbose #56744 > │ #endif │
00:25:23 verbose #56745 > │ |> fun x -> _v215 <- Some x │
00:25:23 verbose #56746 > │ let v224 : US7 = _v215.Value │
00:25:23 verbose #56747 > │ let v296 : bool = │
00:25:23 verbose #56748 > │ match v224 with │
00:25:23 verbose #56749 > │ | US7_0(v225, v226) -> (* Some *) │
00:25:23 verbose #56750 > │ let v227 : bool option = None │
00:25:23 verbose #56751 > │ let v228 : bool = true in let mutable _v227 = v227 │
00:25:23 verbose #56752 > │ │
00:25:23 verbose #56753 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56754 > │ │
00:25:23 verbose #56755 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56756 > │ let v229 : string = "cfg!(windows)" │
00:25:23 verbose #56757 > │ let v230 : bool = Fable.Core.RustInterop.emitRustExpr () v229 │
00:25:23 verbose #56758 > │ v230 │
00:25:23 verbose #56759 > │ #endif │
00:25:23 verbose #56760 > │ │
00:25:23 verbose #56761 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56762 > │ let v231 : bool = null |> unbox<bool> │
00:25:23 verbose #56763 > │ v231 │
00:25:23 verbose #56764 > │ #endif │
00:25:23 verbose #56765 > │ │
00:25:23 verbose #56766 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56767 > │ let v232 : bool = null |> unbox<bool> │
00:25:23 verbose #56768 > │ v232 │
00:25:23 verbose #56769 > │ #endif │
00:25:23 verbose #56770 > │ │
00:25:23 verbose #56771 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56772 > │ let v233 : bool = null |> unbox<bool> │
00:25:23 verbose #56773 > │ v233 │
00:25:23 verbose #56774 > │ #endif │
00:25:23 verbose #56775 > │ │
00:25:23 verbose #56776 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56777 > │ let v234 : bool = null |> unbox<bool> │
00:25:23 verbose #56778 > │ v234 │
00:25:23 verbose #56779 > │ #endif │
00:25:23 verbose #56780 > │ │
00:25:23 verbose #56781 > │ #else │
00:25:23 verbose #56782 > │ let v235 : System.Runtime.InteropServices.OSPlatform = │
00:25:23 verbose #56783 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:23 verbose #56784 > │ let v236 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:23 verbose #56785 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:23 verbose #56786 > │ let v237 : bool = v236 v235 │
00:25:23 verbose #56787 > │ v237 │
00:25:23 verbose #56788 > │ #endif │
00:25:23 verbose #56789 > │ |> fun x -> _v227 <- Some x │
00:25:23 verbose #56790 > │ let v238 : bool = _v227.Value │
00:25:23 verbose #56791 > │ let v239 : bool option = None │
00:25:23 verbose #56792 > │ let v240 : bool = true in let mutable _v239 = v239 │
00:25:23 verbose #56793 > │ │
00:25:23 verbose #56794 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56795 > │ │
00:25:23 verbose #56796 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56797 > │ let v241 : string = "cfg!(windows)" │
00:25:23 verbose #56798 > │ let v242 : bool = Fable.Core.RustInterop.emitRustExpr () v241 │
00:25:23 verbose #56799 > │ v242 │
00:25:23 verbose #56800 > │ #endif │
00:25:23 verbose #56801 > │ │
00:25:23 verbose #56802 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56803 > │ let v243 : bool = null |> unbox<bool> │
00:25:23 verbose #56804 > │ v243 │
00:25:23 verbose #56805 > │ #endif │
00:25:23 verbose #56806 > │ │
00:25:23 verbose #56807 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56808 > │ let v244 : bool = null |> unbox<bool> │
00:25:23 verbose #56809 > │ v244 │
00:25:23 verbose #56810 > │ #endif │
00:25:23 verbose #56811 > │ │
00:25:23 verbose #56812 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56813 > │ let v245 : bool = null |> unbox<bool> │
00:25:23 verbose #56814 > │ v245 │
00:25:23 verbose #56815 > │ #endif │
00:25:23 verbose #56816 > │ │
00:25:23 verbose #56817 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56818 > │ let v246 : bool = null |> unbox<bool> │
00:25:23 verbose #56819 > │ v246 │
00:25:23 verbose #56820 > │ #endif │
00:25:23 verbose #56821 > │ │
00:25:23 verbose #56822 > │ #else │
00:25:23 verbose #56823 > │ let v247 : System.Runtime.InteropServices.OSPlatform = │
00:25:23 verbose #56824 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:23 verbose #56825 > │ let v248 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:23 verbose #56826 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:23 verbose #56827 > │ let v249 : bool = v248 v247 │
00:25:23 verbose #56828 > │ v249 │
00:25:23 verbose #56829 > │ #endif │
00:25:23 verbose #56830 > │ |> fun x -> _v239 <- Some x │
00:25:23 verbose #56831 > │ let v250 : bool = _v239.Value │
00:25:23 verbose #56832 > │ let v251 : int64 = │
00:25:23 verbose #56833 > │ if v250 then │
00:25:23 verbose #56834 > │ 5L │
00:25:23 verbose #56835 > │ else │
00:25:23 verbose #56836 > │ 1500L │
00:25:23 verbose #56837 > │ let v252 : bool = v225 >= 2L │
00:25:23 verbose #56838 > │ let v254 : bool = │
00:25:23 verbose #56839 > │ if v252 then │
00:25:23 verbose #56840 > │ true │
00:25:23 verbose #56841 > │ else │
00:25:23 verbose #56842 > │ method10(v252) │
00:25:23 verbose #56843 > │ let v255 : bool = v254 = false │
00:25:23 verbose #56844 > │ if v255 then │
00:25:23 verbose #56845 > │ failwith<unit> "__expect" │
00:25:23 verbose #56846 > │ let v256 : bool = v225 <= v251 │
00:25:23 verbose #56847 > │ let v258 : bool = │
00:25:23 verbose #56848 > │ if v256 then │
00:25:23 verbose #56849 > │ true │
00:25:23 verbose #56850 > │ else │
00:25:23 verbose #56851 > │ method10(v256) │
00:25:23 verbose #56852 > │ let v259 : bool = v258 = false │
00:25:23 verbose #56853 > │ if v259 then │
00:25:23 verbose #56854 > │ failwith<unit> "__expect" │
00:25:23 verbose #56855 > │ let v260 : string = "assert_between" │
00:25:23 verbose #56856 > │ let v261 : string = $"{v260} / actual: %A{v225} / expected: │
00:25:23 verbose #56857 > │ %A{struct (2L, v251)}" │
00:25:23 verbose #56858 > │ System.Console.WriteLine v261 │
00:25:23 verbose #56859 > │ let v262 : bool option = None │
00:25:23 verbose #56860 > │ let v263 : bool = true in let mutable _v262 = v262 │
00:25:23 verbose #56861 > │ │
00:25:23 verbose #56862 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56863 > │ │
00:25:23 verbose #56864 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56865 > │ let v264 : string = "cfg!(windows)" │
00:25:23 verbose #56866 > │ let v265 : bool = Fable.Core.RustInterop.emitRustExpr () v264 │
00:25:23 verbose #56867 > │ v265 │
00:25:23 verbose #56868 > │ #endif │
00:25:23 verbose #56869 > │ │
00:25:23 verbose #56870 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56871 > │ let v266 : bool = null |> unbox<bool> │
00:25:23 verbose #56872 > │ v266 │
00:25:23 verbose #56873 > │ #endif │
00:25:23 verbose #56874 > │ │
00:25:23 verbose #56875 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56876 > │ let v267 : bool = null |> unbox<bool> │
00:25:23 verbose #56877 > │ v267 │
00:25:23 verbose #56878 > │ #endif │
00:25:23 verbose #56879 > │ │
00:25:23 verbose #56880 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56881 > │ let v268 : bool = null |> unbox<bool> │
00:25:23 verbose #56882 > │ v268 │
00:25:23 verbose #56883 > │ #endif │
00:25:23 verbose #56884 > │ │
00:25:23 verbose #56885 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56886 > │ let v269 : bool = null |> unbox<bool> │
00:25:23 verbose #56887 > │ v269 │
00:25:23 verbose #56888 > │ #endif │
00:25:23 verbose #56889 > │ │
00:25:23 verbose #56890 > │ #else │
00:25:23 verbose #56891 > │ let v270 : System.Runtime.InteropServices.OSPlatform = │
00:25:23 verbose #56892 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:23 verbose #56893 > │ let v271 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:23 verbose #56894 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:23 verbose #56895 > │ let v272 : bool = v271 v270 │
00:25:23 verbose #56896 > │ v272 │
00:25:23 verbose #56897 > │ #endif │
00:25:23 verbose #56898 > │ |> fun x -> _v262 <- Some x │
00:25:23 verbose #56899 > │ let v273 : bool = _v262.Value │
00:25:23 verbose #56900 > │ let v274 : bool option = None │
00:25:23 verbose #56901 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:25:23 verbose #56902 > │ │
00:25:23 verbose #56903 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:23 verbose #56904 > │ │
00:25:23 verbose #56905 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:23 verbose #56906 > │ let v276 : string = "cfg!(windows)" │
00:25:23 verbose #56907 > │ let v277 : bool = Fable.Core.RustInterop.emitRustExpr () v276 │
00:25:23 verbose #56908 > │ v277 │
00:25:23 verbose #56909 > │ #endif │
00:25:23 verbose #56910 > │ │
00:25:23 verbose #56911 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:23 verbose #56912 > │ let v278 : bool = null |> unbox<bool> │
00:25:23 verbose #56913 > │ v278 │
00:25:23 verbose #56914 > │ #endif │
00:25:23 verbose #56915 > │ │
00:25:23 verbose #56916 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:23 verbose #56917 > │ let v279 : bool = null |> unbox<bool> │
00:25:23 verbose #56918 > │ v279 │
00:25:23 verbose #56919 > │ #endif │
00:25:23 verbose #56920 > │ │
00:25:23 verbose #56921 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:23 verbose #56922 > │ let v280 : bool = null |> unbox<bool> │
00:25:23 verbose #56923 > │ v280 │
00:25:23 verbose #56924 > │ #endif │
00:25:23 verbose #56925 > │ │
00:25:23 verbose #56926 > │ #if FABLE_COMPILER_PYTHON │
00:25:23 verbose #56927 > │ let v281 : bool = null |> unbox<bool> │
00:25:23 verbose #56928 > │ v281 │
00:25:23 verbose #56929 > │ #endif │
00:25:23 verbose #56930 > │ │
00:25:23 verbose #56931 > │ #else │
00:25:23 verbose #56932 > │ let v282 : System.Runtime.InteropServices.OSPlatform = │
00:25:23 verbose #56933 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:23 verbose #56934 > │ let v283 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:23 verbose #56935 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:23 verbose #56936 > │ let v284 : bool = v283 v282 │
00:25:23 verbose #56937 > │ v284 │
00:25:23 verbose #56938 > │ #endif │
00:25:23 verbose #56939 > │ |> fun x -> _v274 <- Some x │
00:25:23 verbose #56940 > │ let v285 : bool = _v274.Value │
00:25:23 verbose #56941 > │ let v286 : int64 = │
00:25:23 verbose #56942 > │ if v285 then │
00:25:23 verbose #56943 > │ 150L │
00:25:23 verbose #56944 > │ else │
00:25:23 verbose #56945 > │ 600L │
00:25:23 verbose #56946 > │ let v287 : bool = v226 >= 80L │
00:25:23 verbose #56947 > │ let v289 : bool = │
00:25:23 verbose #56948 > │ if v287 then │
00:25:23 verbose #56949 > │ true │
00:25:23 verbose #56950 > │ else │
00:25:23 verbose #56951 > │ method10(v287) │
00:25:23 verbose #56952 > │ let v290 : bool = v289 = false │
00:25:23 verbose #56953 > │ if v290 then │
00:25:23 verbose #56954 > │ failwith<unit> "__expect" │
00:25:23 verbose #56955 > │ let v291 : bool = v226 <= v286 │
00:25:23 verbose #56956 > │ let v293 : bool = │
00:25:23 verbose #56957 > │ if v291 then │
00:25:23 verbose #56958 > │ true │
00:25:23 verbose #56959 > │ else │
00:25:23 verbose #56960 > │ method10(v291) │
00:25:23 verbose #56961 > │ let v294 : bool = v293 = false │
00:25:23 verbose #56962 > │ if v294 then │
00:25:23 verbose #56963 > │ failwith<unit> "__expect" │
00:25:23 verbose #56964 > │ let v295 : string = $"{v260} / actual: %A{v226} / expected: │
00:25:23 verbose #56965 > │ %A{struct (80L, v286)}" │
00:25:23 verbose #56966 > │ System.Console.WriteLine v295 │
00:25:23 verbose #56967 > │ true │
00:25:23 verbose #56968 > │ | _ -> │
00:25:23 verbose #56969 > │ false │
00:25:23 verbose #56970 > │ let v298 : bool = │
00:25:23 verbose #56971 > │ if v296 then │
00:25:23 verbose #56972 > │ true │
00:25:23 verbose #56973 > │ else │
00:25:23 verbose #56974 > │ method10(v296) │
00:25:23 verbose #56975 > │ let v299 : string = "assert_eq" │
00:25:23 verbose #56976 > │ let v300 : string = $"{v299} / actual: %A{v296} / expected: %A{true}" │
00:25:23 verbose #56977 > │ System.Console.WriteLine v300 │
00:25:23 verbose #56978 > │ let v301 : bool = v298 = false │
00:25:23 verbose #56979 > │ if v301 then │
00:25:23 verbose #56980 > │ failwith<unit> v300 │
00:25:23 verbose #56981 > │ method0() │
00:25:23 verbose #56982 > │ │
00:25:23 verbose #56983 > │ 00:00:00 debug #1 1 │
00:25:23 verbose #56984 > │ 00:00:00 debug #2 _1 │
00:25:23 verbose #56985 > │ 00:00:00 debug #3 2 │
00:25:23 verbose #56986 > │ 00:00:00 debug #4 3 │
00:25:23 verbose #56987 > │ 00:00:02 verbose #5 test_port_open / ex: System.AggregateException: One or │
00:25:23 verbose #56988 > │ more errors occurred. (No connection could be made because the target │
00:25:23 verbose #56989 > │ machine actively refused it.) │
00:25:23 verbose #56990 > │ 00:00:02 verbose #6 wait_for_port_access / port: 5555 / retry: 0 / timeout: │
00:25:23 verbose #56991 > │ None / status: True │
00:25:23 verbose #56992 > │ 00:00:04 verbose #7 test_port_open / ex: System.AggregateException: One or │
00:25:23 verbose #56993 > │ more errors occurred. (No connection could be made because the target │
00:25:23 verbose #56994 > │ machine actively refused it.) │
00:25:23 verbose #56995 > │ 00:00:05 debug #8 _2 │
00:25:23 verbose #56996 > │ 00:00:05 debug #9 _3 │
00:25:23 verbose #56997 > │ 00:00:05 debug #10 4 │
00:25:23 verbose #56998 > │ 00:00:05 verbose #11 wait_for_port_access / port: 5555 / retry: 0 / timeout: │
00:25:23 verbose #56999 > │ None / status: False │
00:25:23 verbose #57000 > │ 00:00:06 verbose #12 wait_for_port_access / port: 5555 / retry: 100 / │
00:25:23 verbose #57001 > │ timeout: None / status: False │
00:25:23 verbose #57002 > │ 00:00:07 debug #13 _4 │
00:25:23 verbose #57003 > │ 00:00:07 debug #14 _5 │
00:25:23 verbose #57004 > │ 00:00:09 verbose #15 test_port_open / ex: System.AggregateException: One or │
00:25:23 verbose #57005 > │ more errors occurred. (No connection could be made because the target │
00:25:23 verbose #57006 > │ machine actively refused it.) │
00:25:23 verbose #57007 > │ 00:00:09 debug #16 5 │
00:25:23 verbose #57008 > │ 00:00:09 debug #17 6 │
00:25:23 verbose #57009 > │ assert_between / actual: 2L / expected: struct (2L, 5L) │
00:25:23 verbose #57010 > │ assert_between / actual: 114L / expected: struct (80L, 150L) │
00:25:23 verbose #57011 > │ assert_eq / actual: true / expected: true │
00:25:23 verbose #57012 > │ │
00:25:23 verbose #57013 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:23 verbose #57014 >
00:25:23 verbose #57015 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:23 verbose #57016 > //// test
00:25:23 verbose #57017 >
00:25:23 verbose #57018 > inl lock_port port = async.new_async_unit fun () =>
00:25:23 verbose #57019 > trace Debug (fun () => "_1") _locals
00:25:23 verbose #57020 > async.sleep 500 |> async.do
00:25:23 verbose #57021 > inl listener = new_tcp_listener (ip_address_parse "127.0.0.1") port |> use
00:25:23 verbose #57022 > trace Debug (fun () => "_2") _locals
00:25:23 verbose #57023 > listener |> listener_start
00:25:23 verbose #57024 > trace Debug (fun () => "_3") _locals
00:25:23 verbose #57025 > async.sleep 200 |> async.do
00:25:23 verbose #57026 > trace Debug (fun () => "_4") _locals
00:25:23 verbose #57027 > listener |> listener_stop
00:25:23 verbose #57028 > trace Debug (fun () => "_5") _locals
00:25:23 verbose #57029 >
00:25:23 verbose #57030 > inl port = 5555
00:25:23 verbose #57031 >
00:25:23 verbose #57032 > fun () =>
00:25:23 verbose #57033 > trace Debug (fun () => "1") _locals
00:25:23 verbose #57034 > inl child = lock_port port |> async.start_child |> async.let'
00:25:23 verbose #57035 > trace Debug (fun () => "2") _locals
00:25:23 verbose #57036 > async.sleep 1 |> async.do
00:25:23 verbose #57037 > trace Debug (fun () => "3") _locals
00:25:23 verbose #57038 > inl retries1 = wait_for_port_access (Some 60 |> optionm'.box) true port |>
00:25:23 verbose #57039 > async.let'
00:25:23 verbose #57040 > trace Debug (fun () => "4") _locals
00:25:23 verbose #57041 > inl retries2 = wait_for_port_access (Some 60 |> optionm'.box) false port |>
00:25:23 verbose #57042 > async.let'
00:25:23 verbose #57043 > trace Debug (fun () => "5") _locals
00:25:23 verbose #57044 > child |> async.do
00:25:23 verbose #57045 > trace Debug (fun () => "6") _locals
00:25:23 verbose #57046 > (retries1, retries2) |> return
00:25:23 verbose #57047 > |> async.new_async_unit
00:25:23 verbose #57048 > |> async.run_with_timeout 2000
00:25:23 verbose #57049 > |> function
00:25:23 verbose #57050 > | Some (retries1, retries2) =>
00:25:23 verbose #57051 > retries1
00:25:23 verbose #57052 > |> _assert_between
00:25:23 verbose #57053 > if runtime.is_windows () then 4i64 else 2
00:25:23 verbose #57054 > if runtime.is_windows () then 15 else 150
00:25:23 verbose #57055 >
00:25:23 verbose #57056 > retries2
00:25:23 verbose #57057 > |> _assert_between
00:25:23 verbose #57058 > if runtime.is_windows () then 5i64 else 0
00:25:23 verbose #57059 > if runtime.is_windows () then 20 else 60
00:25:23 verbose #57060 >
00:25:23 verbose #57061 > true
00:25:23 verbose #57062 > | _ => false
00:25:23 verbose #57063 > |> _assert_eq true
00:25:24 verbose #57064 > 00:25:23 debug #901 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/23913e86c253e6fbd0f908d60edb2fa9f05dd4ab6133306acb716beb30b90b4c/main.spi
00:25:26 verbose #57065 >
00:25:26 verbose #57066 > ╭─[ 2.60s - stdout ]───────────────────────────────────────────────────────────╮
00:25:26 verbose #57067 > │ module State = let mutable trace_state = None │
00:25:26 verbose #57068 > │ type [<Struct>] US0 = │
00:25:26 verbose #57069 > │ | US0_0 │
00:25:26 verbose #57070 > │ | US0_1 │
00:25:26 verbose #57071 > │ | US0_2 │
00:25:26 verbose #57072 > │ | US0_3 │
00:25:26 verbose #57073 > │ | US0_4 │
00:25:26 verbose #57074 > │ and Mut0 = {mutable l0 : int64} │
00:25:26 verbose #57075 > │ and Mut1 = {mutable l0 : bool} │
00:25:26 verbose #57076 > │ and Mut2 = {mutable l0 : US0} │
00:25:26 verbose #57077 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:26 verbose #57078 > │ and [<Struct>] US1 = │
00:25:26 verbose #57079 > │ | US1_0 of f0_0 : int64 │
00:25:26 verbose #57080 > │ | US1_1 │
00:25:26 verbose #57081 > │ and [<Struct>] US2 = │
00:25:26 verbose #57082 > │ | US2_0 of f0_0 : int64 │
00:25:26 verbose #57083 > │ | US2_1 │
00:25:26 verbose #57084 > │ and [<Struct>] US3 = │
00:25:26 verbose #57085 > │ | US3_0 of f0_0 : int32 │
00:25:26 verbose #57086 > │ | US3_1 │
00:25:26 verbose #57087 > │ and [<Struct>] US4 = │
00:25:26 verbose #57088 > │ | US4_0 of f0_0 : bool │
00:25:26 verbose #57089 > │ | US4_1 │
00:25:26 verbose #57090 > │ and [<Struct>] US5 = │
00:25:26 verbose #57091 > │ | US5_0 of f0_0 : bool │
00:25:26 verbose #57092 > │ | US5_1 of f1_0 : exn │
00:25:26 verbose #57093 > │ and [<Struct>] US6 = │
00:25:26 verbose #57094 > │ | US6_0 of f0_0 : bool │
00:25:26 verbose #57095 > │ | US6_1 of f1_0 : exn │
00:25:26 verbose #57096 > │ and [<Struct>] US7 = │
00:25:26 verbose #57097 > │ | US7_0 of f0_0 : int64 * f0_1 : int64 │
00:25:26 verbose #57098 > │ | US7_1 │
00:25:26 verbose #57099 > │ and [<Struct>] US8 = │
00:25:26 verbose #57100 > │ | US8_0 of f0_0 : int64 * f0_1 : int64 │
00:25:26 verbose #57101 > │ | US8_1 of f1_0 : exn │
00:25:26 verbose #57102 > │ and [<Struct>] US9 = │
00:25:26 verbose #57103 > │ | US9_0 of f0_0 : int64 * f0_1 : int64 │
00:25:26 verbose #57104 > │ | US9_1 of f1_0 : exn │
00:25:26 verbose #57105 > │ let rec closure0 () () : string = │
00:25:26 verbose #57106 > │ let v0 : string = "1" │
00:25:26 verbose #57107 > │ v0 │
00:25:26 verbose #57108 > │ and closure1 () () : string = │
00:25:26 verbose #57109 > │ let v0 : string = "" │
00:25:26 verbose #57110 > │ v0 │
00:25:26 verbose #57111 > │ and closure4 () (v0 : string) : unit = │
00:25:26 verbose #57112 > │ () │
00:25:26 verbose #57113 > │ and method2 (v0 : int64 option) : int64 option = │
00:25:26 verbose #57114 > │ v0 │
00:25:26 verbose #57115 > │ and method3 (v0 : int64 option) : int64 option = │
00:25:26 verbose #57116 > │ v0 │
00:25:26 verbose #57117 > │ and closure3 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:26 verbose #57118 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:26 verbose #57119 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:26 verbose #57120 > │ let v2 : US0 = US0_0 │
00:25:26 verbose #57121 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:26 verbose #57122 > │ let v4 : (string -> unit) = closure4() │
00:25:26 verbose #57123 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:26 verbose #57124 > │ let v6 : int64 option option = None │
00:25:26 verbose #57125 > │ let mutable _v6 = v6 │
00:25:26 verbose #57126 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:26 verbose #57127 > │ let v7 : string option = None │
00:25:26 verbose #57128 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:26 verbose #57129 > │ │
00:25:26 verbose #57130 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57131 > │ │
00:25:26 verbose #57132 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57133 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:26 verbose #57134 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:26 verbose #57135 > │ v10 │
00:25:26 verbose #57136 > │ #endif │
00:25:26 verbose #57137 > │ │
00:25:26 verbose #57138 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57139 > │ let v11 : string = null |> unbox<string> │
00:25:26 verbose #57140 > │ v11 │
00:25:26 verbose #57141 > │ #endif │
00:25:26 verbose #57142 > │ │
00:25:26 verbose #57143 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57144 > │ let v12 : string = null |> unbox<string> │
00:25:26 verbose #57145 > │ v12 │
00:25:26 verbose #57146 > │ #endif │
00:25:26 verbose #57147 > │ │
00:25:26 verbose #57148 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57149 > │ let v13 : string = null |> unbox<string> │
00:25:26 verbose #57150 > │ v13 │
00:25:26 verbose #57151 > │ #endif │
00:25:26 verbose #57152 > │ │
00:25:26 verbose #57153 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57154 > │ let v14 : string = null |> unbox<string> │
00:25:26 verbose #57155 > │ v14 │
00:25:26 verbose #57156 > │ #endif │
00:25:26 verbose #57157 > │ │
00:25:26 verbose #57158 > │ #else │
00:25:26 verbose #57159 > │ let v15 : string = │
00:25:26 verbose #57160 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:26 verbose #57161 > │ v15 │
00:25:26 verbose #57162 > │ #endif │
00:25:26 verbose #57163 > │ |> fun x -> _v7 <- Some x │
00:25:26 verbose #57164 > │ let v16 : string = _v7.Value │
00:25:26 verbose #57165 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:26 verbose #57166 > │ let v19 : bool = v18 <> true │
00:25:26 verbose #57167 > │ let v25 : US1 = │
00:25:26 verbose #57168 > │ if v19 then │
00:25:26 verbose #57169 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:26 verbose #57170 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:26 verbose #57171 > │ let v22 : int64 = v21 v20 │
00:25:26 verbose #57172 > │ US1_0(v22) │
00:25:26 verbose #57173 > │ else │
00:25:26 verbose #57174 > │ US1_1 │
00:25:26 verbose #57175 > │ let v30 : int64 option = │
00:25:26 verbose #57176 > │ match v25 with │
00:25:26 verbose #57177 > │ | US1_1 -> (* None *) │
00:25:26 verbose #57178 > │ let v28 : int64 option = None │
00:25:26 verbose #57179 > │ v28 │
00:25:26 verbose #57180 > │ | US1_0(v26) -> (* Some *) │
00:25:26 verbose #57181 > │ let v27 : int64 option = Some v26 │
00:25:26 verbose #57182 > │ v27 │
00:25:26 verbose #57183 > │ let v31 : int64 option = method2(v30) │
00:25:26 verbose #57184 > │ v31 │
00:25:26 verbose #57185 > │ #else │
00:25:26 verbose #57186 > │ let v32 : int64 option = None │
00:25:26 verbose #57187 > │ let v33 : int64 option = method3(v32) │
00:25:26 verbose #57188 > │ v33 │
00:25:26 verbose #57189 > │ #endif │
00:25:26 verbose #57190 > │ |> fun x -> _v6 <- Some x │
00:25:26 verbose #57191 > │ let v34 : int64 option = _v6.Value │
00:25:26 verbose #57192 > │ struct (v1, v0, v3, v34, v5) │
00:25:26 verbose #57193 > │ and closure5 () (v0 : int64) : US2 = │
00:25:26 verbose #57194 > │ US2_0(v0) │
00:25:26 verbose #57195 > │ and method4 () : (int64 -> US2) = │
00:25:26 verbose #57196 > │ closure5() │
00:25:26 verbose #57197 > │ and method5 () : string = │
00:25:26 verbose #57198 > │ let v0 : string = "" │
00:25:26 verbose #57199 > │ v0 │
00:25:26 verbose #57200 > │ and closure2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:26 verbose #57201 > │ string = │
00:25:26 verbose #57202 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:26 verbose #57203 > │ closure3() │
00:25:26 verbose #57204 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:26 verbose #57205 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:26 verbose #57206 > │ Mut3) = State.trace_state.Value │
00:25:26 verbose #57207 > │ let v9 : string option = None │
00:25:26 verbose #57208 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:26 verbose #57209 > │ │
00:25:26 verbose #57210 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57211 > │ │
00:25:26 verbose #57212 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57213 > │ let v11 : (int64 -> US2) = method4() │
00:25:26 verbose #57214 > │ let v12 : US2 = US2_1 │
00:25:26 verbose #57215 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:26 verbose #57216 > │ let v31 : System.DateTime = │
00:25:26 verbose #57217 > │ match v13 with │
00:25:26 verbose #57218 > │ | US2_1 -> (* None *) │
00:25:26 verbose #57219 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:26 verbose #57220 > │ v29 │
00:25:26 verbose #57221 > │ | US2_0(v14) -> (* Some *) │
00:25:26 verbose #57222 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:26 verbose #57223 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:26 verbose #57224 > │ let v17 : int64 = v16 v15 │
00:25:26 verbose #57225 > │ let v18 : int64 = v17 - v14 │
00:25:26 verbose #57226 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:26 verbose #57227 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:26 verbose #57228 > │ let v21 : int32 = v20 v19 │
00:25:26 verbose #57229 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:26 verbose #57230 > │ let v23 : int32 = v22 v19 │
00:25:26 verbose #57231 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:26 verbose #57232 > │ let v25 : int32 = v24 v19 │
00:25:26 verbose #57233 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:26 verbose #57234 > │ let v27 : int32 = v26 v19 │
00:25:26 verbose #57235 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:26 verbose #57236 > │ v25, v27) │
00:25:26 verbose #57237 > │ v28 │
00:25:26 verbose #57238 > │ let v32 : string = "hh:mm:ss" │
00:25:26 verbose #57239 > │ let v33 : string = v31.ToString v32 │
00:25:26 verbose #57240 > │ v33 │
00:25:26 verbose #57241 > │ #endif │
00:25:26 verbose #57242 > │ │
00:25:26 verbose #57243 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57244 > │ let v34 : string = method5() │
00:25:26 verbose #57245 > │ v34 │
00:25:26 verbose #57246 > │ #endif │
00:25:26 verbose #57247 > │ │
00:25:26 verbose #57248 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57249 > │ let v35 : string = method5() │
00:25:26 verbose #57250 > │ v35 │
00:25:26 verbose #57251 > │ #endif │
00:25:26 verbose #57252 > │ │
00:25:26 verbose #57253 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57254 > │ let v36 : string = method5() │
00:25:26 verbose #57255 > │ v36 │
00:25:26 verbose #57256 > │ #endif │
00:25:26 verbose #57257 > │ │
00:25:26 verbose #57258 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57259 > │ let v37 : string = method5() │
00:25:26 verbose #57260 > │ v37 │
00:25:26 verbose #57261 > │ #endif │
00:25:26 verbose #57262 > │ │
00:25:26 verbose #57263 > │ #else │
00:25:26 verbose #57264 > │ let v38 : (int64 -> US2) = method4() │
00:25:26 verbose #57265 > │ let v39 : US2 = US2_1 │
00:25:26 verbose #57266 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:26 verbose #57267 > │ let v58 : System.DateTime = │
00:25:26 verbose #57268 > │ match v40 with │
00:25:26 verbose #57269 > │ | US2_1 -> (* None *) │
00:25:26 verbose #57270 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:26 verbose #57271 > │ v56 │
00:25:26 verbose #57272 > │ | US2_0(v41) -> (* Some *) │
00:25:26 verbose #57273 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:26 verbose #57274 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:26 verbose #57275 > │ let v44 : int64 = v43 v42 │
00:25:26 verbose #57276 > │ let v45 : int64 = v44 - v41 │
00:25:26 verbose #57277 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:26 verbose #57278 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:26 verbose #57279 > │ let v48 : int32 = v47 v46 │
00:25:26 verbose #57280 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:26 verbose #57281 > │ let v50 : int32 = v49 v46 │
00:25:26 verbose #57282 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:26 verbose #57283 > │ let v52 : int32 = v51 v46 │
00:25:26 verbose #57284 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:26 verbose #57285 > │ let v54 : int32 = v53 v46 │
00:25:26 verbose #57286 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:26 verbose #57287 > │ v52, v54) │
00:25:26 verbose #57288 > │ v55 │
00:25:26 verbose #57289 > │ let v59 : string = "HH:mm:ss" │
00:25:26 verbose #57290 > │ let v60 : string = v58.ToString v59 │
00:25:26 verbose #57291 > │ v60 │
00:25:26 verbose #57292 > │ #endif │
00:25:26 verbose #57293 > │ |> fun x -> _v9 <- Some x │
00:25:26 verbose #57294 > │ let v61 : string = _v9.Value │
00:25:26 verbose #57295 > │ let v62 : int64 = v4.l0 │
00:25:26 verbose #57296 > │ let v72 : string = │
00:25:26 verbose #57297 > │ match v0 with │
00:25:26 verbose #57298 > │ | US0_4 -> (* Critical *) │
00:25:26 verbose #57299 > │ let v67 : string = "Critical" │
00:25:26 verbose #57300 > │ v67 │
00:25:26 verbose #57301 > │ | US0_1 -> (* Debug *) │
00:25:26 verbose #57302 > │ let v64 : string = "Debug" │
00:25:26 verbose #57303 > │ v64 │
00:25:26 verbose #57304 > │ | US0_2 -> (* Info *) │
00:25:26 verbose #57305 > │ let v65 : string = "Info" │
00:25:26 verbose #57306 > │ v65 │
00:25:26 verbose #57307 > │ | US0_0 -> (* Verbose *) │
00:25:26 verbose #57308 > │ let v63 : string = "Verbose" │
00:25:26 verbose #57309 > │ v63 │
00:25:26 verbose #57310 > │ | US0_3 -> (* Warning *) │
00:25:26 verbose #57311 > │ let v66 : string = "Warning" │
00:25:26 verbose #57312 > │ v66 │
00:25:26 verbose #57313 > │ let v73 : string = v72.ToLower () │
00:25:26 verbose #57314 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:26 verbose #57315 > │ let v75 : string option = None │
00:25:26 verbose #57316 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:26 verbose #57317 > │ │
00:25:26 verbose #57318 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57319 > │ │
00:25:26 verbose #57320 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57321 > │ let v91 : Ref<Str> = │
00:25:26 verbose #57322 > │ match v0 with │
00:25:26 verbose #57323 > │ | US0_4 -> (* Critical *) │
00:25:26 verbose #57324 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:26 verbose #57325 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:26 verbose #57326 > │ v86 │
00:25:26 verbose #57327 > │ | US0_1 -> (* Debug *) │
00:25:26 verbose #57328 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:26 verbose #57329 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:26 verbose #57330 > │ v80 │
00:25:26 verbose #57331 > │ | US0_2 -> (* Info *) │
00:25:26 verbose #57332 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:26 verbose #57333 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:26 verbose #57334 > │ v82 │
00:25:26 verbose #57335 > │ | US0_0 -> (* Verbose *) │
00:25:26 verbose #57336 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:26 verbose #57337 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:26 verbose #57338 > │ v78 │
00:25:26 verbose #57339 > │ | US0_3 -> (* Warning *) │
00:25:26 verbose #57340 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:26 verbose #57341 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:26 verbose #57342 > │ v84 │
00:25:26 verbose #57343 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:26 verbose #57344 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:26 verbose #57345 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:26 verbose #57346 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:26 verbose #57347 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:26 verbose #57348 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:26 verbose #57349 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:26 verbose #57350 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:26 verbose #57351 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:26 verbose #57352 > │ v100 │
00:25:26 verbose #57353 > │ #endif │
00:25:26 verbose #57354 > │ │
00:25:26 verbose #57355 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57356 > │ let v115 : Ref<Str> = │
00:25:26 verbose #57357 > │ match v0 with │
00:25:26 verbose #57358 > │ | US0_4 -> (* Critical *) │
00:25:26 verbose #57359 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:26 verbose #57360 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57361 > │ v109 │
00:25:26 verbose #57362 > │ v110 │
00:25:26 verbose #57363 > │ | US0_1 -> (* Debug *) │
00:25:26 verbose #57364 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:26 verbose #57365 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57366 > │ v103 │
00:25:26 verbose #57367 > │ v104 │
00:25:26 verbose #57368 > │ | US0_2 -> (* Info *) │
00:25:26 verbose #57369 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:26 verbose #57370 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57371 > │ v105 │
00:25:26 verbose #57372 > │ v106 │
00:25:26 verbose #57373 > │ | US0_0 -> (* Verbose *) │
00:25:26 verbose #57374 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:26 verbose #57375 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57376 > │ v101 │
00:25:26 verbose #57377 > │ v102 │
00:25:26 verbose #57378 > │ | US0_3 -> (* Warning *) │
00:25:26 verbose #57379 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:26 verbose #57380 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57381 > │ v107 │
00:25:26 verbose #57382 > │ v108 │
00:25:26 verbose #57383 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:26 verbose #57384 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:26 verbose #57385 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:26 verbose #57386 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:26 verbose #57387 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:26 verbose #57388 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:26 verbose #57389 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57390 > │ v121 │
00:25:26 verbose #57391 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:26 verbose #57392 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:26 verbose #57393 > │ v124 │
00:25:26 verbose #57394 > │ #endif │
00:25:26 verbose #57395 > │ │
00:25:26 verbose #57396 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57397 > │ let v139 : Ref<Str> = │
00:25:26 verbose #57398 > │ match v0 with │
00:25:26 verbose #57399 > │ | US0_4 -> (* Critical *) │
00:25:26 verbose #57400 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:26 verbose #57401 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57402 > │ v133 │
00:25:26 verbose #57403 > │ v134 │
00:25:26 verbose #57404 > │ | US0_1 -> (* Debug *) │
00:25:26 verbose #57405 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:26 verbose #57406 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57407 > │ v127 │
00:25:26 verbose #57408 > │ v128 │
00:25:26 verbose #57409 > │ | US0_2 -> (* Info *) │
00:25:26 verbose #57410 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:26 verbose #57411 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57412 > │ v129 │
00:25:26 verbose #57413 > │ v130 │
00:25:26 verbose #57414 > │ | US0_0 -> (* Verbose *) │
00:25:26 verbose #57415 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:26 verbose #57416 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57417 > │ v125 │
00:25:26 verbose #57418 > │ v126 │
00:25:26 verbose #57419 > │ | US0_3 -> (* Warning *) │
00:25:26 verbose #57420 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:26 verbose #57421 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57422 > │ v131 │
00:25:26 verbose #57423 > │ v132 │
00:25:26 verbose #57424 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:26 verbose #57425 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:26 verbose #57426 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:26 verbose #57427 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:26 verbose #57428 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:26 verbose #57429 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:26 verbose #57430 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:26 verbose #57431 > │ v145 │
00:25:26 verbose #57432 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:26 verbose #57433 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:26 verbose #57434 > │ v148 │
00:25:26 verbose #57435 > │ #endif │
00:25:26 verbose #57436 > │ │
00:25:26 verbose #57437 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57438 > │ v74 │
00:25:26 verbose #57439 > │ #endif │
00:25:26 verbose #57440 > │ │
00:25:26 verbose #57441 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57442 > │ v74 │
00:25:26 verbose #57443 > │ #endif │
00:25:26 verbose #57444 > │ │
00:25:26 verbose #57445 > │ #else │
00:25:26 verbose #57446 > │ v74 │
00:25:26 verbose #57447 > │ #endif │
00:25:26 verbose #57448 > │ |> fun x -> _v75 <- Some x │
00:25:26 verbose #57449 > │ let v149 : string = _v75.Value │
00:25:26 verbose #57450 > │ let v150 : string = v1 () │
00:25:26 verbose #57451 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:26 verbose #57452 > │ let v152 : (char []) = [||] │
00:25:26 verbose #57453 > │ let v153 : string = v151.TrimStart v152 │
00:25:26 verbose #57454 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:26 verbose #57455 > │ let v155 : string = v153.TrimEnd v154 │
00:25:26 verbose #57456 > │ v155 │
00:25:26 verbose #57457 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:26 verbose #57458 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:26 verbose #57459 > │ closure3() │
00:25:26 verbose #57460 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:26 verbose #57461 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:26 verbose #57462 > │ Mut3) = State.trace_state.Value │
00:25:26 verbose #57463 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:26 verbose #57464 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:26 verbose #57465 > │ Mut3) = State.trace_state.Value │
00:25:26 verbose #57466 > │ let v13 : US0 = v10.l0 │
00:25:26 verbose #57467 > │ let v14 : bool = v9.l0 │
00:25:26 verbose #57468 > │ let v15 : bool = v14 = false │
00:25:26 verbose #57469 > │ let v19 : bool = │
00:25:26 verbose #57470 > │ if v15 then │
00:25:26 verbose #57471 > │ false │
00:25:26 verbose #57472 > │ else │
00:25:26 verbose #57473 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:26 verbose #57474 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:26 verbose #57475 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:26 verbose #57476 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:26 verbose #57477 > │ let v18 : bool = v16 >= v17 │
00:25:26 verbose #57478 > │ v18 │
00:25:26 verbose #57479 > │ if v19 then │
00:25:26 verbose #57480 > │ let v20 : int64 = v3.l0 │
00:25:26 verbose #57481 > │ let v21 : int64 = v20 + 1L │
00:25:26 verbose #57482 > │ v3.l0 <- v21 │
00:25:26 verbose #57483 > │ let v22 : string = $"%s{v1 ()}" │
00:25:26 verbose #57484 > │ let v23 : unit option = None │
00:25:26 verbose #57485 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:26 verbose #57486 > │ │
00:25:26 verbose #57487 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57488 > │ │
00:25:26 verbose #57489 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57490 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:26 verbose #57491 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:26 verbose #57492 > │ () │
00:25:26 verbose #57493 > │ #endif │
00:25:26 verbose #57494 > │ │
00:25:26 verbose #57495 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57496 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:26 verbose #57497 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:26 verbose #57498 > │ () │
00:25:26 verbose #57499 > │ #endif │
00:25:26 verbose #57500 > │ │
00:25:26 verbose #57501 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57502 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:26 verbose #57503 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:26 verbose #57504 > │ () │
00:25:26 verbose #57505 > │ #endif │
00:25:26 verbose #57506 > │ │
00:25:26 verbose #57507 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57508 > │ System.Console.WriteLine v22 │
00:25:26 verbose #57509 > │ () │
00:25:26 verbose #57510 > │ #endif │
00:25:26 verbose #57511 > │ │
00:25:26 verbose #57512 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57513 > │ System.Console.WriteLine v22 │
00:25:26 verbose #57514 > │ () │
00:25:26 verbose #57515 > │ #endif │
00:25:26 verbose #57516 > │ │
00:25:26 verbose #57517 > │ #else │
00:25:26 verbose #57518 > │ System.Console.WriteLine v22 │
00:25:26 verbose #57519 > │ () │
00:25:26 verbose #57520 > │ #endif │
00:25:26 verbose #57521 > │ |> fun x -> _v23 <- Some x │
00:25:26 verbose #57522 > │ _v23.Value │
00:25:26 verbose #57523 > │ let v28 : (string -> unit) = v7.l0 │
00:25:26 verbose #57524 > │ v28 v22 │
00:25:26 verbose #57525 > │ and method1 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:26 verbose #57526 > │ = │
00:25:26 verbose #57527 > │ let v3 : (unit -> string) = closure2(v0, v1, v2) │
00:25:26 verbose #57528 > │ method6(v0, v3) │
00:25:26 verbose #57529 > │ and closure6 () () : string = │
00:25:26 verbose #57530 > │ let v0 : string = "_1" │
00:25:26 verbose #57531 > │ v0 │
00:25:26 verbose #57532 > │ and closure7 () () : string = │
00:25:26 verbose #57533 > │ let v0 : string = "_2" │
00:25:26 verbose #57534 > │ v0 │
00:25:26 verbose #57535 > │ and closure8 () () : string = │
00:25:26 verbose #57536 > │ let v0 : string = "_3" │
00:25:26 verbose #57537 > │ v0 │
00:25:26 verbose #57538 > │ and closure9 () () : string = │
00:25:26 verbose #57539 > │ let v0 : string = "_4" │
00:25:26 verbose #57540 > │ v0 │
00:25:26 verbose #57541 > │ and closure10 () () : string = │
00:25:26 verbose #57542 > │ let v0 : string = "_5" │
00:25:26 verbose #57543 > │ v0 │
00:25:26 verbose #57544 > │ and closure11 () () : string = │
00:25:26 verbose #57545 > │ let v0 : string = "2" │
00:25:26 verbose #57546 > │ v0 │
00:25:26 verbose #57547 > │ and closure12 () () : string = │
00:25:26 verbose #57548 > │ let v0 : string = "3" │
00:25:26 verbose #57549 > │ v0 │
00:25:26 verbose #57550 > │ and closure13 () (v0 : int32) : US3 = │
00:25:26 verbose #57551 > │ US3_0(v0) │
00:25:26 verbose #57552 > │ and method8 () : (int32 -> US3) = │
00:25:26 verbose #57553 > │ closure13() │
00:25:26 verbose #57554 > │ and closure14 (v0 : string) () : string = │
00:25:26 verbose #57555 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:26 verbose #57556 > │ v1 │
00:25:26 verbose #57557 > │ and closure15 () (v0 : bool) : US5 = │
00:25:26 verbose #57558 > │ US5_0(v0) │
00:25:26 verbose #57559 > │ and closure16 () (v0 : exn) : US5 = │
00:25:26 verbose #57560 > │ US5_1(v0) │
00:25:26 verbose #57561 > │ and closure17 () () : string = │
00:25:26 verbose #57562 > │ let v0 : string = "run_with_timeout_async" │
00:25:26 verbose #57563 > │ v0 │
00:25:26 verbose #57564 > │ and closure18 (v0 : int32) () : string = │
00:25:26 verbose #57565 > │ let v1 : (unit -> string) = closure1() │
00:25:26 verbose #57566 > │ let v2 : string = $"timeout: {v0} / {v1 ()}" │
00:25:26 verbose #57567 > │ v2 │
00:25:26 verbose #57568 > │ and closure19 (v0 : string) () : string = │
00:25:26 verbose #57569 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:26 verbose #57570 > │ v1 │
00:25:26 verbose #57571 > │ and closure20 () () : string = │
00:25:26 verbose #57572 > │ let v0 : string = "wait_for_port_access" │
00:25:26 verbose #57573 > │ v0 │
00:25:26 verbose #57574 > │ and closure21 (v0 : int32 option, v1 : int64) () : string = │
00:25:26 verbose #57575 > │ let v2 : (unit -> string) = closure1() │
00:25:26 verbose #57576 > │ let v3 : string = $"port: {5555} / retry: {v1} / timeout: %A{v0} / │
00:25:26 verbose #57577 > │ status: {true} / {v2 ()}" │
00:25:26 verbose #57578 > │ v3 │
00:25:26 verbose #57579 > │ and method7 (v0 : int32 option, v1 : int64) : Async<int64> = │
00:25:26 verbose #57580 > │ let v2 : Async<int64> option = None │
00:25:26 verbose #57581 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:26 verbose #57582 > │ │
00:25:26 verbose #57583 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57584 > │ │
00:25:26 verbose #57585 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57586 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:25:26 verbose #57587 > │ v4 │
00:25:26 verbose #57588 > │ #endif │
00:25:26 verbose #57589 > │ │
00:25:26 verbose #57590 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57591 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:25:26 verbose #57592 > │ v5 │
00:25:26 verbose #57593 > │ #endif │
00:25:26 verbose #57594 > │ │
00:25:26 verbose #57595 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57596 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:26 verbose #57597 > │ v6 │
00:25:26 verbose #57598 > │ #endif │
00:25:26 verbose #57599 > │ │
00:25:26 verbose #57600 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57601 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:26 verbose #57602 > │ v7 │
00:25:26 verbose #57603 > │ #endif │
00:25:26 verbose #57604 > │ │
00:25:26 verbose #57605 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57606 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:26 verbose #57607 > │ v8 │
00:25:26 verbose #57608 > │ #endif │
00:25:26 verbose #57609 > │ │
00:25:26 verbose #57610 > │ #else │
00:25:26 verbose #57611 > │ let v9 : Async<int64> option = None │
00:25:26 verbose #57612 > │ let mutable _v9 = v9 │
00:25:26 verbose #57613 > │ async { │
00:25:26 verbose #57614 > │ let v10 : (int32 -> US3) = method8() │
00:25:26 verbose #57615 > │ let v11 : US3 = US3_1 │
00:25:26 verbose #57616 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:26 verbose #57617 > │ let v227 : Async<bool> = │
00:25:26 verbose #57618 > │ match v12 with │
00:25:26 verbose #57619 > │ | US3_1 -> (* None *) │
00:25:26 verbose #57620 > │ let v13 : Async<bool> option = None │
00:25:26 verbose #57621 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:26 verbose #57622 > │ │
00:25:26 verbose #57623 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57624 > │ │
00:25:26 verbose #57625 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57626 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57627 > │ v15 │
00:25:26 verbose #57628 > │ #endif │
00:25:26 verbose #57629 > │ │
00:25:26 verbose #57630 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57631 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57632 > │ v16 │
00:25:26 verbose #57633 > │ #endif │
00:25:26 verbose #57634 > │ │
00:25:26 verbose #57635 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57636 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57637 > │ v17 │
00:25:26 verbose #57638 > │ #endif │
00:25:26 verbose #57639 > │ │
00:25:26 verbose #57640 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57641 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57642 > │ v18 │
00:25:26 verbose #57643 > │ #endif │
00:25:26 verbose #57644 > │ │
00:25:26 verbose #57645 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57646 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57647 > │ v19 │
00:25:26 verbose #57648 > │ #endif │
00:25:26 verbose #57649 > │ │
00:25:26 verbose #57650 > │ #else │
00:25:26 verbose #57651 > │ let v20 : Async<bool> option = None │
00:25:26 verbose #57652 > │ let mutable _v20 = v20 │
00:25:26 verbose #57653 > │ async { │
00:25:26 verbose #57654 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:26 verbose #57655 > │ Async.CancellationToken │
00:25:26 verbose #57656 > │ let! v21 = v21 │
00:25:26 verbose #57657 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:26 verbose #57658 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:26 verbose #57659 > │ System.Net.Sockets.TcpClient () │
00:25:26 verbose #57660 > │ use v23 = v23 │
00:25:26 verbose #57661 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:26 verbose #57662 > │ try │
00:25:26 verbose #57663 > │ let v25 : string = "127.0.0.1" │
00:25:26 verbose #57664 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:26 verbose #57665 > │ (v25, 5555, v22) │
00:25:26 verbose #57666 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:26 verbose #57667 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:26 verbose #57668 > │ let v29 : Async<unit> option = None │
00:25:26 verbose #57669 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:26 verbose #57670 > │ │
00:25:26 verbose #57671 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57672 > │ │
00:25:26 verbose #57673 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57674 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57675 > │ v31 │
00:25:26 verbose #57676 > │ #endif │
00:25:26 verbose #57677 > │ │
00:25:26 verbose #57678 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57679 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57680 > │ v32 │
00:25:26 verbose #57681 > │ #endif │
00:25:26 verbose #57682 > │ │
00:25:26 verbose #57683 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57684 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57685 > │ v33 │
00:25:26 verbose #57686 > │ #endif │
00:25:26 verbose #57687 > │ │
00:25:26 verbose #57688 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57689 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57690 > │ v34 │
00:25:26 verbose #57691 > │ #endif │
00:25:26 verbose #57692 > │ │
00:25:26 verbose #57693 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57694 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57695 > │ v35 │
00:25:26 verbose #57696 > │ #endif │
00:25:26 verbose #57697 > │ │
00:25:26 verbose #57698 > │ #else │
00:25:26 verbose #57699 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:26 verbose #57700 > │ Async.AwaitTask │
00:25:26 verbose #57701 > │ let v37 : Async<unit> = v36 v28 │
00:25:26 verbose #57702 > │ v37 │
00:25:26 verbose #57703 > │ #endif │
00:25:26 verbose #57704 > │ |> fun x -> _v29 <- Some x │
00:25:26 verbose #57705 > │ let v38 : Async<unit> = _v29.Value │
00:25:26 verbose #57706 > │ do! v38 │
00:25:26 verbose #57707 > │ return true │
00:25:26 verbose #57708 > │ with ex -> │
00:25:26 verbose #57709 > │ let v39 : exn = ex │
00:25:26 verbose #57710 > │ let v40 : string option = None │
00:25:26 verbose #57711 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:26 verbose #57712 > │ │
00:25:26 verbose #57713 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57714 > │ │
00:25:26 verbose #57715 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57716 > │ let v42 : string = $"%A{v39}" │
00:25:26 verbose #57717 > │ v42 │
00:25:26 verbose #57718 > │ #endif │
00:25:26 verbose #57719 > │ │
00:25:26 verbose #57720 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57721 > │ let v43 : string = $"%A{v39}" │
00:25:26 verbose #57722 > │ v43 │
00:25:26 verbose #57723 > │ #endif │
00:25:26 verbose #57724 > │ │
00:25:26 verbose #57725 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57726 > │ let v44 : string = $"%A{v39}" │
00:25:26 verbose #57727 > │ v44 │
00:25:26 verbose #57728 > │ #endif │
00:25:26 verbose #57729 > │ │
00:25:26 verbose #57730 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57731 > │ let v45 : string = $"%A{v39}" │
00:25:26 verbose #57732 > │ v45 │
00:25:26 verbose #57733 > │ #endif │
00:25:26 verbose #57734 > │ │
00:25:26 verbose #57735 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57736 > │ let v46 : string = $"%A{v39}" │
00:25:26 verbose #57737 > │ v46 │
00:25:26 verbose #57738 > │ #endif │
00:25:26 verbose #57739 > │ │
00:25:26 verbose #57740 > │ #else │
00:25:26 verbose #57741 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:26 verbose #57742 > │ v47 │
00:25:26 verbose #57743 > │ #endif │
00:25:26 verbose #57744 > │ |> fun x -> _v40 <- Some x │
00:25:26 verbose #57745 > │ let v48 : string = _v40.Value │
00:25:26 verbose #57746 > │ let v49 : US0 = US0_0 │
00:25:26 verbose #57747 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:26 verbose #57748 > │ let v51 : (unit -> string) = closure1() │
00:25:26 verbose #57749 > │ method1(v49, v50, v51) │
00:25:26 verbose #57750 > │ return false │
00:25:26 verbose #57751 > │ (* │
00:25:26 verbose #57752 > │ let v52 : bool = *) │
00:25:26 verbose #57753 > │ } │
00:25:26 verbose #57754 > │ |> fun x -> _v20 <- Some x │
00:25:26 verbose #57755 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:26 verbose #57756 > │ v53 │
00:25:26 verbose #57757 > │ #endif │
00:25:26 verbose #57758 > │ |> fun x -> _v13 <- Some x │
00:25:26 verbose #57759 > │ let v54 : Async<bool> = _v13.Value │
00:25:26 verbose #57760 > │ v54 │
00:25:26 verbose #57761 > │ | US3_0(v55) -> (* Some *) │
00:25:26 verbose #57762 > │ let v56 : Async<bool> option = None │
00:25:26 verbose #57763 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:26 verbose #57764 > │ │
00:25:26 verbose #57765 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57766 > │ │
00:25:26 verbose #57767 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57768 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57769 > │ v58 │
00:25:26 verbose #57770 > │ #endif │
00:25:26 verbose #57771 > │ │
00:25:26 verbose #57772 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57773 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57774 > │ v59 │
00:25:26 verbose #57775 > │ #endif │
00:25:26 verbose #57776 > │ │
00:25:26 verbose #57777 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57778 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57779 > │ v60 │
00:25:26 verbose #57780 > │ #endif │
00:25:26 verbose #57781 > │ │
00:25:26 verbose #57782 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57783 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57784 > │ v61 │
00:25:26 verbose #57785 > │ #endif │
00:25:26 verbose #57786 > │ │
00:25:26 verbose #57787 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57788 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57789 > │ v62 │
00:25:26 verbose #57790 > │ #endif │
00:25:26 verbose #57791 > │ │
00:25:26 verbose #57792 > │ #else │
00:25:26 verbose #57793 > │ let v63 : Async<bool> option = None │
00:25:26 verbose #57794 > │ let mutable _v63 = v63 │
00:25:26 verbose #57795 > │ async { │
00:25:26 verbose #57796 > │ let v64 : Async<bool> option = None │
00:25:26 verbose #57797 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:26 verbose #57798 > │ │
00:25:26 verbose #57799 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57800 > │ │
00:25:26 verbose #57801 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57802 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57803 > │ v66 │
00:25:26 verbose #57804 > │ #endif │
00:25:26 verbose #57805 > │ │
00:25:26 verbose #57806 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57807 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57808 > │ v67 │
00:25:26 verbose #57809 > │ #endif │
00:25:26 verbose #57810 > │ │
00:25:26 verbose #57811 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57812 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57813 > │ v68 │
00:25:26 verbose #57814 > │ #endif │
00:25:26 verbose #57815 > │ │
00:25:26 verbose #57816 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57817 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57818 > │ v69 │
00:25:26 verbose #57819 > │ #endif │
00:25:26 verbose #57820 > │ │
00:25:26 verbose #57821 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57822 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:26 verbose #57823 > │ v70 │
00:25:26 verbose #57824 > │ #endif │
00:25:26 verbose #57825 > │ │
00:25:26 verbose #57826 > │ #else │
00:25:26 verbose #57827 > │ let v71 : Async<bool> option = None │
00:25:26 verbose #57828 > │ let mutable _v71 = v71 │
00:25:26 verbose #57829 > │ async { │
00:25:26 verbose #57830 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:26 verbose #57831 > │ Async.CancellationToken │
00:25:26 verbose #57832 > │ let! v72 = v72 │
00:25:26 verbose #57833 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:26 verbose #57834 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:26 verbose #57835 > │ System.Net.Sockets.TcpClient () │
00:25:26 verbose #57836 > │ use v74 = v74 │
00:25:26 verbose #57837 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:26 verbose #57838 > │ try │
00:25:26 verbose #57839 > │ let v76 : string = "127.0.0.1" │
00:25:26 verbose #57840 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:26 verbose #57841 > │ (v76, 5555, v73) │
00:25:26 verbose #57842 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:26 verbose #57843 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:26 verbose #57844 > │ let v80 : Async<unit> option = None │
00:25:26 verbose #57845 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:26 verbose #57846 > │ │
00:25:26 verbose #57847 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57848 > │ │
00:25:26 verbose #57849 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57850 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57851 > │ v82 │
00:25:26 verbose #57852 > │ #endif │
00:25:26 verbose #57853 > │ │
00:25:26 verbose #57854 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57855 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57856 > │ v83 │
00:25:26 verbose #57857 > │ #endif │
00:25:26 verbose #57858 > │ │
00:25:26 verbose #57859 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57860 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57861 > │ v84 │
00:25:26 verbose #57862 > │ #endif │
00:25:26 verbose #57863 > │ │
00:25:26 verbose #57864 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57865 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57866 > │ v85 │
00:25:26 verbose #57867 > │ #endif │
00:25:26 verbose #57868 > │ │
00:25:26 verbose #57869 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57870 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:26 verbose #57871 > │ v86 │
00:25:26 verbose #57872 > │ #endif │
00:25:26 verbose #57873 > │ │
00:25:26 verbose #57874 > │ #else │
00:25:26 verbose #57875 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:26 verbose #57876 > │ Async.AwaitTask │
00:25:26 verbose #57877 > │ let v88 : Async<unit> = v87 v79 │
00:25:26 verbose #57878 > │ v88 │
00:25:26 verbose #57879 > │ #endif │
00:25:26 verbose #57880 > │ |> fun x -> _v80 <- Some x │
00:25:26 verbose #57881 > │ let v89 : Async<unit> = _v80.Value │
00:25:26 verbose #57882 > │ do! v89 │
00:25:26 verbose #57883 > │ return true │
00:25:26 verbose #57884 > │ with ex -> │
00:25:26 verbose #57885 > │ let v90 : exn = ex │
00:25:26 verbose #57886 > │ let v91 : string option = None │
00:25:26 verbose #57887 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:26 verbose #57888 > │ │
00:25:26 verbose #57889 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57890 > │ │
00:25:26 verbose #57891 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57892 > │ let v93 : string = $"%A{v90}" │
00:25:26 verbose #57893 > │ v93 │
00:25:26 verbose #57894 > │ #endif │
00:25:26 verbose #57895 > │ │
00:25:26 verbose #57896 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57897 > │ let v94 : string = $"%A{v90}" │
00:25:26 verbose #57898 > │ v94 │
00:25:26 verbose #57899 > │ #endif │
00:25:26 verbose #57900 > │ │
00:25:26 verbose #57901 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57902 > │ let v95 : string = $"%A{v90}" │
00:25:26 verbose #57903 > │ v95 │
00:25:26 verbose #57904 > │ #endif │
00:25:26 verbose #57905 > │ │
00:25:26 verbose #57906 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57907 > │ let v96 : string = $"%A{v90}" │
00:25:26 verbose #57908 > │ v96 │
00:25:26 verbose #57909 > │ #endif │
00:25:26 verbose #57910 > │ │
00:25:26 verbose #57911 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57912 > │ let v97 : string = $"%A{v90}" │
00:25:26 verbose #57913 > │ v97 │
00:25:26 verbose #57914 > │ #endif │
00:25:26 verbose #57915 > │ │
00:25:26 verbose #57916 > │ #else │
00:25:26 verbose #57917 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:26 verbose #57918 > │ v98 │
00:25:26 verbose #57919 > │ #endif │
00:25:26 verbose #57920 > │ |> fun x -> _v91 <- Some x │
00:25:26 verbose #57921 > │ let v99 : string = _v91.Value │
00:25:26 verbose #57922 > │ let v100 : US0 = US0_0 │
00:25:26 verbose #57923 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:26 verbose #57924 > │ let v102 : (unit -> string) = closure1() │
00:25:26 verbose #57925 > │ method1(v100, v101, v102) │
00:25:26 verbose #57926 > │ return false │
00:25:26 verbose #57927 > │ (* │
00:25:26 verbose #57928 > │ let v103 : bool = *) │
00:25:26 verbose #57929 > │ } │
00:25:26 verbose #57930 > │ |> fun x -> _v71 <- Some x │
00:25:26 verbose #57931 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:26 verbose #57932 > │ v104 │
00:25:26 verbose #57933 > │ #endif │
00:25:26 verbose #57934 > │ |> fun x -> _v64 <- Some x │
00:25:26 verbose #57935 > │ let v105 : Async<bool> = _v64.Value │
00:25:26 verbose #57936 > │ let v106 : Async<US4> option = None │
00:25:26 verbose #57937 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:26 verbose #57938 > │ │
00:25:26 verbose #57939 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57940 > │ │
00:25:26 verbose #57941 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57942 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57943 > │ v108 │
00:25:26 verbose #57944 > │ #endif │
00:25:26 verbose #57945 > │ │
00:25:26 verbose #57946 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57947 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57948 > │ v109 │
00:25:26 verbose #57949 > │ #endif │
00:25:26 verbose #57950 > │ │
00:25:26 verbose #57951 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57952 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57953 > │ v110 │
00:25:26 verbose #57954 > │ #endif │
00:25:26 verbose #57955 > │ │
00:25:26 verbose #57956 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57957 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57958 > │ v111 │
00:25:26 verbose #57959 > │ #endif │
00:25:26 verbose #57960 > │ │
00:25:26 verbose #57961 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57962 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57963 > │ v112 │
00:25:26 verbose #57964 > │ #endif │
00:25:26 verbose #57965 > │ │
00:25:26 verbose #57966 > │ #else │
00:25:26 verbose #57967 > │ let v113 : Async<US4> option = None │
00:25:26 verbose #57968 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:26 verbose #57969 > │ │
00:25:26 verbose #57970 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #57971 > │ │
00:25:26 verbose #57972 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #57973 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57974 > │ v115 │
00:25:26 verbose #57975 > │ #endif │
00:25:26 verbose #57976 > │ │
00:25:26 verbose #57977 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #57978 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57979 > │ v116 │
00:25:26 verbose #57980 > │ #endif │
00:25:26 verbose #57981 > │ │
00:25:26 verbose #57982 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #57983 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57984 > │ v117 │
00:25:26 verbose #57985 > │ #endif │
00:25:26 verbose #57986 > │ │
00:25:26 verbose #57987 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #57988 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57989 > │ v118 │
00:25:26 verbose #57990 > │ #endif │
00:25:26 verbose #57991 > │ │
00:25:26 verbose #57992 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #57993 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:26 verbose #57994 > │ v119 │
00:25:26 verbose #57995 > │ #endif │
00:25:26 verbose #57996 > │ │
00:25:26 verbose #57997 > │ #else │
00:25:26 verbose #57998 > │ let v120 : Async<US4> option = None │
00:25:26 verbose #57999 > │ let mutable _v120 = v120 │
00:25:26 verbose #58000 > │ async { │
00:25:26 verbose #58001 > │ let v121 : Async<Async<bool>> option = None │
00:25:26 verbose #58002 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:26 verbose #58003 > │ │
00:25:26 verbose #58004 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #58005 > │ │
00:25:26 verbose #58006 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #58007 > │ let v123 : Async<Async<bool>> = null |> │
00:25:26 verbose #58008 > │ unbox<Async<Async<bool>>> │
00:25:26 verbose #58009 > │ v123 │
00:25:26 verbose #58010 > │ #endif │
00:25:26 verbose #58011 > │ │
00:25:26 verbose #58012 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #58013 > │ let v124 : Async<Async<bool>> = null |> │
00:25:26 verbose #58014 > │ unbox<Async<Async<bool>>> │
00:25:26 verbose #58015 > │ v124 │
00:25:26 verbose #58016 > │ #endif │
00:25:26 verbose #58017 > │ │
00:25:26 verbose #58018 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #58019 > │ let v125 : Async<Async<bool>> = null |> │
00:25:26 verbose #58020 > │ unbox<Async<Async<bool>>> │
00:25:26 verbose #58021 > │ v125 │
00:25:26 verbose #58022 > │ #endif │
00:25:26 verbose #58023 > │ │
00:25:26 verbose #58024 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:26 verbose #58025 > │ let v126 : Async<Async<bool>> = null |> │
00:25:26 verbose #58026 > │ unbox<Async<Async<bool>>> │
00:25:26 verbose #58027 > │ v126 │
00:25:26 verbose #58028 > │ #endif │
00:25:26 verbose #58029 > │ │
00:25:26 verbose #58030 > │ #if FABLE_COMPILER_PYTHON │
00:25:26 verbose #58031 > │ let v127 : Async<Async<bool>> = null |> │
00:25:26 verbose #58032 > │ unbox<Async<Async<bool>>> │
00:25:26 verbose #58033 > │ v127 │
00:25:26 verbose #58034 > │ #endif │
00:25:26 verbose #58035 > │ │
00:25:26 verbose #58036 > │ #else │
00:25:26 verbose #58037 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:26 verbose #58038 > │ v128 │
00:25:26 verbose #58039 > │ #endif │
00:25:26 verbose #58040 > │ |> fun x -> _v121 <- Some x │
00:25:26 verbose #58041 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:26 verbose #58042 > │ let! v129 = v129 │
00:25:26 verbose #58043 > │ let v130 : Async<bool> = v129 │
00:25:26 verbose #58044 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:26 verbose #58045 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:26 verbose #58046 > │ │
00:25:26 verbose #58047 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:26 verbose #58048 > │ │
00:25:26 verbose #58049 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:26 verbose #58050 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:26 verbose #58051 > │ unbox<Async<Choice<bool, exn>>> │
00:25:26 verbose #58052 > │ v133 │
00:25:26 verbose #58053 > │ #endif │
00:25:26 verbose #58054 > │ │
00:25:26 verbose #58055 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:26 verbose #58056 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:26 verbose #58057 > │ unbox<Async<Choice<bool, exn>>> │
00:25:26 verbose #58058 > │ v134 │
00:25:26 verbose #58059 > │ #endif │
00:25:26 verbose #58060 > │ │
00:25:26 verbose #58061 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:26 verbose #58062 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:26 verbose #58063 > │ unbox<Async<Choice<bool, exn>>> │
00:25:26 verbose #58064 > │ v135 │
00:25:26 verbose #58065 > │ #endif │
00:25:26 verbose #58066 > │ │
00:25:27 verbose #58067 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58068 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58069 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58070 > │ v136 │
00:25:27 verbose #58071 > │ #endif │
00:25:27 verbose #58072 > │ │
00:25:27 verbose #58073 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58074 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58075 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58076 > │ v137 │
00:25:27 verbose #58077 > │ #endif │
00:25:27 verbose #58078 > │ │
00:25:27 verbose #58079 > │ #else │
00:25:27 verbose #58080 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:27 verbose #58081 > │ Async.Catch │
00:25:27 verbose #58082 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:27 verbose #58083 > │ v139 │
00:25:27 verbose #58084 > │ #endif │
00:25:27 verbose #58085 > │ |> fun x -> _v131 <- Some x │
00:25:27 verbose #58086 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:27 verbose #58087 > │ let v141 : Async<US5> option = None │
00:25:27 verbose #58088 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:27 verbose #58089 > │ │
00:25:27 verbose #58090 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58091 > │ │
00:25:27 verbose #58092 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58093 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58094 > │ v143 │
00:25:27 verbose #58095 > │ #endif │
00:25:27 verbose #58096 > │ │
00:25:27 verbose #58097 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58098 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58099 > │ v144 │
00:25:27 verbose #58100 > │ #endif │
00:25:27 verbose #58101 > │ │
00:25:27 verbose #58102 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58103 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58104 > │ v145 │
00:25:27 verbose #58105 > │ #endif │
00:25:27 verbose #58106 > │ │
00:25:27 verbose #58107 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58108 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58109 > │ v146 │
00:25:27 verbose #58110 > │ #endif │
00:25:27 verbose #58111 > │ │
00:25:27 verbose #58112 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58113 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58114 > │ v147 │
00:25:27 verbose #58115 > │ #endif │
00:25:27 verbose #58116 > │ │
00:25:27 verbose #58117 > │ #else │
00:25:27 verbose #58118 > │ let v148 : Async<US5> option = None │
00:25:27 verbose #58119 > │ let mutable _v148 = v148 │
00:25:27 verbose #58120 > │ async { │
00:25:27 verbose #58121 > │ let! v140 = v140 │
00:25:27 verbose #58122 > │ let v149 : Choice<bool, exn> = v140 │
00:25:27 verbose #58123 > │ let v150 : US5 option = None │
00:25:27 verbose #58124 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:27 verbose #58125 > │ │
00:25:27 verbose #58126 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58127 > │ │
00:25:27 verbose #58128 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58129 > │ let v152 : US5 = null |> unbox<US5> │
00:25:27 verbose #58130 > │ v152 │
00:25:27 verbose #58131 > │ #endif │
00:25:27 verbose #58132 > │ │
00:25:27 verbose #58133 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58134 > │ let v153 : US5 = null |> unbox<US5> │
00:25:27 verbose #58135 > │ v153 │
00:25:27 verbose #58136 > │ #endif │
00:25:27 verbose #58137 > │ │
00:25:27 verbose #58138 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58139 > │ let v154 : US5 = null |> unbox<US5> │
00:25:27 verbose #58140 > │ v154 │
00:25:27 verbose #58141 > │ #endif │
00:25:27 verbose #58142 > │ │
00:25:27 verbose #58143 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58144 > │ let v155 : US5 = null |> unbox<US5> │
00:25:27 verbose #58145 > │ v155 │
00:25:27 verbose #58146 > │ #endif │
00:25:27 verbose #58147 > │ │
00:25:27 verbose #58148 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58149 > │ let v156 : US5 = null |> unbox<US5> │
00:25:27 verbose #58150 > │ v156 │
00:25:27 verbose #58151 > │ #endif │
00:25:27 verbose #58152 > │ │
00:25:27 verbose #58153 > │ #else │
00:25:27 verbose #58154 > │ let v157 : (bool -> US5) = closure15() │
00:25:27 verbose #58155 > │ let v158 : (exn -> US5) = closure16() │
00:25:27 verbose #58156 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:27 verbose #58157 > │ Choice2Of2 x -> v158 x │
00:25:27 verbose #58158 > │ v159 │
00:25:27 verbose #58159 > │ #endif │
00:25:27 verbose #58160 > │ |> fun x -> _v150 <- Some x │
00:25:27 verbose #58161 > │ let v160 : US5 = _v150.Value │
00:25:27 verbose #58162 > │ return v160 │
00:25:27 verbose #58163 > │ } │
00:25:27 verbose #58164 > │ |> fun x -> _v148 <- Some x │
00:25:27 verbose #58165 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:27 verbose #58166 > │ v161 │
00:25:27 verbose #58167 > │ #endif │
00:25:27 verbose #58168 > │ |> fun x -> _v141 <- Some x │
00:25:27 verbose #58169 > │ let v162 : Async<US5> = _v141.Value │
00:25:27 verbose #58170 > │ let v163 : Async<US6> option = None │
00:25:27 verbose #58171 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:27 verbose #58172 > │ │
00:25:27 verbose #58173 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58174 > │ │
00:25:27 verbose #58175 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58176 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #58177 > │ v165 │
00:25:27 verbose #58178 > │ #endif │
00:25:27 verbose #58179 > │ │
00:25:27 verbose #58180 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58181 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #58182 > │ v166 │
00:25:27 verbose #58183 > │ #endif │
00:25:27 verbose #58184 > │ │
00:25:27 verbose #58185 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58186 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #58187 > │ v167 │
00:25:27 verbose #58188 > │ #endif │
00:25:27 verbose #58189 > │ │
00:25:27 verbose #58190 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58191 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #58192 > │ v168 │
00:25:27 verbose #58193 > │ #endif │
00:25:27 verbose #58194 > │ │
00:25:27 verbose #58195 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58196 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #58197 > │ v169 │
00:25:27 verbose #58198 > │ #endif │
00:25:27 verbose #58199 > │ │
00:25:27 verbose #58200 > │ #else │
00:25:27 verbose #58201 > │ let v170 : Async<US6> option = None │
00:25:27 verbose #58202 > │ let mutable _v170 = v170 │
00:25:27 verbose #58203 > │ async { │
00:25:27 verbose #58204 > │ let! v162 = v162 │
00:25:27 verbose #58205 > │ let v171 : US5 = v162 │
00:25:27 verbose #58206 > │ let v177 : US6 = │
00:25:27 verbose #58207 > │ match v171 with │
00:25:27 verbose #58208 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:27 verbose #58209 > │ US6_0(v172) │
00:25:27 verbose #58210 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:27 verbose #58211 > │ US6_1(v174) │
00:25:27 verbose #58212 > │ return v177 │
00:25:27 verbose #58213 > │ } │
00:25:27 verbose #58214 > │ |> fun x -> _v170 <- Some x │
00:25:27 verbose #58215 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:27 verbose #58216 > │ v178 │
00:25:27 verbose #58217 > │ #endif │
00:25:27 verbose #58218 > │ |> fun x -> _v163 <- Some x │
00:25:27 verbose #58219 > │ let v179 : Async<US6> = _v163.Value │
00:25:27 verbose #58220 > │ let v180 : Async<US4> option = None │
00:25:27 verbose #58221 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:27 verbose #58222 > │ │
00:25:27 verbose #58223 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58224 > │ │
00:25:27 verbose #58225 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58226 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58227 > │ v182 │
00:25:27 verbose #58228 > │ #endif │
00:25:27 verbose #58229 > │ │
00:25:27 verbose #58230 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58231 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58232 > │ v183 │
00:25:27 verbose #58233 > │ #endif │
00:25:27 verbose #58234 > │ │
00:25:27 verbose #58235 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58236 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58237 > │ v184 │
00:25:27 verbose #58238 > │ #endif │
00:25:27 verbose #58239 > │ │
00:25:27 verbose #58240 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58241 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58242 > │ v185 │
00:25:27 verbose #58243 > │ #endif │
00:25:27 verbose #58244 > │ │
00:25:27 verbose #58245 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58246 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58247 > │ v186 │
00:25:27 verbose #58248 > │ #endif │
00:25:27 verbose #58249 > │ │
00:25:27 verbose #58250 > │ #else │
00:25:27 verbose #58251 > │ let v187 : Async<US4> option = None │
00:25:27 verbose #58252 > │ let mutable _v187 = v187 │
00:25:27 verbose #58253 > │ async { │
00:25:27 verbose #58254 > │ let! v179 = v179 │
00:25:27 verbose #58255 > │ let v188 : US6 = v179 │
00:25:27 verbose #58256 > │ let v214 : US4 = │
00:25:27 verbose #58257 > │ match v188 with │
00:25:27 verbose #58258 > │ | US6_1(v191) -> (* Error *) │
00:25:27 verbose #58259 > │ let v192 : string = $"%A{v191}" │
00:25:27 verbose #58260 > │ let v193 : string = "System.TimeoutException" │
00:25:27 verbose #58261 > │ let v194 : bool = v192.Contains v193 │
00:25:27 verbose #58262 > │ if v194 then │
00:25:27 verbose #58263 > │ let v195 : US0 = US0_1 │
00:25:27 verbose #58264 > │ let v196 : (unit -> string) = closure17() │
00:25:27 verbose #58265 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:27 verbose #58266 > │ method1(v195, v196, v197) │
00:25:27 verbose #58267 > │ US4_1 │
00:25:27 verbose #58268 > │ else │
00:25:27 verbose #58269 > │ let v199 : string option = None │
00:25:27 verbose #58270 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:27 verbose #58271 > │ │
00:25:27 verbose #58272 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58273 > │ │
00:25:27 verbose #58274 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58275 > │ let v201 : string = $"%A{v191}" │
00:25:27 verbose #58276 > │ v201 │
00:25:27 verbose #58277 > │ #endif │
00:25:27 verbose #58278 > │ │
00:25:27 verbose #58279 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58280 > │ let v202 : string = $"%A{v191}" │
00:25:27 verbose #58281 > │ v202 │
00:25:27 verbose #58282 > │ #endif │
00:25:27 verbose #58283 > │ │
00:25:27 verbose #58284 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58285 > │ let v203 : string = $"%A{v191}" │
00:25:27 verbose #58286 > │ v203 │
00:25:27 verbose #58287 > │ #endif │
00:25:27 verbose #58288 > │ │
00:25:27 verbose #58289 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58290 > │ let v204 : string = $"%A{v191}" │
00:25:27 verbose #58291 > │ v204 │
00:25:27 verbose #58292 > │ #endif │
00:25:27 verbose #58293 > │ │
00:25:27 verbose #58294 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58295 > │ let v205 : string = $"%A{v191}" │
00:25:27 verbose #58296 > │ v205 │
00:25:27 verbose #58297 > │ #endif │
00:25:27 verbose #58298 > │ │
00:25:27 verbose #58299 > │ #else │
00:25:27 verbose #58300 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:27 verbose #58301 > │ {v191.Message}" │
00:25:27 verbose #58302 > │ v206 │
00:25:27 verbose #58303 > │ #endif │
00:25:27 verbose #58304 > │ |> fun x -> _v199 <- Some x │
00:25:27 verbose #58305 > │ let v207 : string = _v199.Value │
00:25:27 verbose #58306 > │ let v208 : US0 = US0_4 │
00:25:27 verbose #58307 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:27 verbose #58308 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:27 verbose #58309 > │ method1(v208, v209, v210) │
00:25:27 verbose #58310 > │ US4_1 │
00:25:27 verbose #58311 > │ | US6_0(v189) -> (* Ok *) │
00:25:27 verbose #58312 > │ US4_0(v189) │
00:25:27 verbose #58313 > │ return v214 │
00:25:27 verbose #58314 > │ } │
00:25:27 verbose #58315 > │ |> fun x -> _v187 <- Some x │
00:25:27 verbose #58316 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:27 verbose #58317 > │ v215 │
00:25:27 verbose #58318 > │ #endif │
00:25:27 verbose #58319 > │ |> fun x -> _v180 <- Some x │
00:25:27 verbose #58320 > │ let v216 : Async<US4> = _v180.Value │
00:25:27 verbose #58321 > │ return! v216 │
00:25:27 verbose #58322 > │ } │
00:25:27 verbose #58323 > │ |> fun x -> _v120 <- Some x │
00:25:27 verbose #58324 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:27 verbose #58325 > │ v217 │
00:25:27 verbose #58326 > │ #endif │
00:25:27 verbose #58327 > │ |> fun x -> _v113 <- Some x │
00:25:27 verbose #58328 > │ let v218 : Async<US4> = _v113.Value │
00:25:27 verbose #58329 > │ v218 │
00:25:27 verbose #58330 > │ #endif │
00:25:27 verbose #58331 > │ |> fun x -> _v106 <- Some x │
00:25:27 verbose #58332 > │ let v219 : Async<US4> = _v106.Value │
00:25:27 verbose #58333 > │ let! v219 = v219 │
00:25:27 verbose #58334 > │ let v220 : US4 = v219 │
00:25:27 verbose #58335 > │ let v223 : bool = │
00:25:27 verbose #58336 > │ match v220 with │
00:25:27 verbose #58337 > │ | US4_1 -> (* None *) │
00:25:27 verbose #58338 > │ false │
00:25:27 verbose #58339 > │ | US4_0(v221) -> (* Some *) │
00:25:27 verbose #58340 > │ v221 │
00:25:27 verbose #58341 > │ return v223 │
00:25:27 verbose #58342 > │ } │
00:25:27 verbose #58343 > │ |> fun x -> _v63 <- Some x │
00:25:27 verbose #58344 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:27 verbose #58345 > │ v224 │
00:25:27 verbose #58346 > │ #endif │
00:25:27 verbose #58347 > │ |> fun x -> _v56 <- Some x │
00:25:27 verbose #58348 > │ let v225 : Async<bool> = _v56.Value │
00:25:27 verbose #58349 > │ v225 │
00:25:27 verbose #58350 > │ let! v227 = v227 │
00:25:27 verbose #58351 > │ let v228 : bool = v227 │
00:25:27 verbose #58352 > │ if v228 then │
00:25:27 verbose #58353 > │ return v1 │
00:25:27 verbose #58354 > │ (* │
00:25:27 verbose #58355 > │ () │
00:25:27 verbose #58356 > │ else │
00:25:27 verbose #58357 > │ *) else │
00:25:27 verbose #58358 > │ let v229 : int64 = v1 % 100L │
00:25:27 verbose #58359 > │ let v230 : bool = v229 = 0L │
00:25:27 verbose #58360 > │ if v230 then │
00:25:27 verbose #58361 > │ let v231 : US0 = US0_0 │
00:25:27 verbose #58362 > │ let v232 : (unit -> string) = closure20() │
00:25:27 verbose #58363 > │ let v233 : (unit -> string) = closure21(v0, v1) │
00:25:27 verbose #58364 > │ method1(v231, v232, v233) │
00:25:27 verbose #58365 > │ let v234 : Async<unit> option = None │
00:25:27 verbose #58366 > │ let v235 : bool = true in let mutable _v234 = v234 │
00:25:27 verbose #58367 > │ │
00:25:27 verbose #58368 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58369 > │ │
00:25:27 verbose #58370 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58371 > │ let v236 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58372 > │ v236 │
00:25:27 verbose #58373 > │ #endif │
00:25:27 verbose #58374 > │ │
00:25:27 verbose #58375 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58376 > │ let v237 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58377 > │ v237 │
00:25:27 verbose #58378 > │ #endif │
00:25:27 verbose #58379 > │ │
00:25:27 verbose #58380 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58381 > │ let v238 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58382 > │ v238 │
00:25:27 verbose #58383 > │ #endif │
00:25:27 verbose #58384 > │ │
00:25:27 verbose #58385 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58386 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58387 > │ v239 │
00:25:27 verbose #58388 > │ #endif │
00:25:27 verbose #58389 > │ │
00:25:27 verbose #58390 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58391 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58392 > │ v240 │
00:25:27 verbose #58393 > │ #endif │
00:25:27 verbose #58394 > │ │
00:25:27 verbose #58395 > │ #else │
00:25:27 verbose #58396 > │ let v241 : (int32 -> Async<unit>) = Async.Sleep │
00:25:27 verbose #58397 > │ let v242 : Async<unit> = v241 10 │
00:25:27 verbose #58398 > │ v242 │
00:25:27 verbose #58399 > │ #endif │
00:25:27 verbose #58400 > │ |> fun x -> _v234 <- Some x │
00:25:27 verbose #58401 > │ let v243 : Async<unit> = _v234.Value │
00:25:27 verbose #58402 > │ do! v243 │
00:25:27 verbose #58403 > │ let v244 : int64 = v1 + 1L │
00:25:27 verbose #58404 > │ let v245 : Async<int64> = method7(v0, v244) │
00:25:27 verbose #58405 > │ return! v245 │
00:25:27 verbose #58406 > │ (* │
00:25:27 verbose #58407 > │ () │
00:25:27 verbose #58408 > │ *) │
00:25:27 verbose #58409 > │ } │
00:25:27 verbose #58410 > │ |> fun x -> _v9 <- Some x │
00:25:27 verbose #58411 > │ let v246 : Async<int64> = _v9 |> Option.get │
00:25:27 verbose #58412 > │ v246 │
00:25:27 verbose #58413 > │ #endif │
00:25:27 verbose #58414 > │ |> fun x -> _v2 <- Some x │
00:25:27 verbose #58415 > │ let v247 : Async<int64> = _v2.Value │
00:25:27 verbose #58416 > │ v247 │
00:25:27 verbose #58417 > │ and closure22 () () : string = │
00:25:27 verbose #58418 > │ let v0 : string = "4" │
00:25:27 verbose #58419 > │ v0 │
00:25:27 verbose #58420 > │ and closure23 (v0 : int32 option, v1 : int64) () : string = │
00:25:27 verbose #58421 > │ let v2 : (unit -> string) = closure1() │
00:25:27 verbose #58422 > │ let v3 : string = $"port: {5555} / retry: {v1} / timeout: %A{v0} / │
00:25:27 verbose #58423 > │ status: {false} / {v2 ()}" │
00:25:27 verbose #58424 > │ v3 │
00:25:27 verbose #58425 > │ and method9 (v0 : int32 option, v1 : int64) : Async<int64> = │
00:25:27 verbose #58426 > │ let v2 : Async<int64> option = None │
00:25:27 verbose #58427 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:27 verbose #58428 > │ │
00:25:27 verbose #58429 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58430 > │ │
00:25:27 verbose #58431 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58432 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:25:27 verbose #58433 > │ v4 │
00:25:27 verbose #58434 > │ #endif │
00:25:27 verbose #58435 > │ │
00:25:27 verbose #58436 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58437 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:25:27 verbose #58438 > │ v5 │
00:25:27 verbose #58439 > │ #endif │
00:25:27 verbose #58440 > │ │
00:25:27 verbose #58441 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58442 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:27 verbose #58443 > │ v6 │
00:25:27 verbose #58444 > │ #endif │
00:25:27 verbose #58445 > │ │
00:25:27 verbose #58446 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58447 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:27 verbose #58448 > │ v7 │
00:25:27 verbose #58449 > │ #endif │
00:25:27 verbose #58450 > │ │
00:25:27 verbose #58451 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58452 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:27 verbose #58453 > │ v8 │
00:25:27 verbose #58454 > │ #endif │
00:25:27 verbose #58455 > │ │
00:25:27 verbose #58456 > │ #else │
00:25:27 verbose #58457 > │ let v9 : Async<int64> option = None │
00:25:27 verbose #58458 > │ let mutable _v9 = v9 │
00:25:27 verbose #58459 > │ async { │
00:25:27 verbose #58460 > │ let v10 : (int32 -> US3) = method8() │
00:25:27 verbose #58461 > │ let v11 : US3 = US3_1 │
00:25:27 verbose #58462 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:27 verbose #58463 > │ let v227 : Async<bool> = │
00:25:27 verbose #58464 > │ match v12 with │
00:25:27 verbose #58465 > │ | US3_1 -> (* None *) │
00:25:27 verbose #58466 > │ let v13 : Async<bool> option = None │
00:25:27 verbose #58467 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:27 verbose #58468 > │ │
00:25:27 verbose #58469 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58470 > │ │
00:25:27 verbose #58471 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58472 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58473 > │ v15 │
00:25:27 verbose #58474 > │ #endif │
00:25:27 verbose #58475 > │ │
00:25:27 verbose #58476 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58477 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58478 > │ v16 │
00:25:27 verbose #58479 > │ #endif │
00:25:27 verbose #58480 > │ │
00:25:27 verbose #58481 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58482 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58483 > │ v17 │
00:25:27 verbose #58484 > │ #endif │
00:25:27 verbose #58485 > │ │
00:25:27 verbose #58486 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58487 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58488 > │ v18 │
00:25:27 verbose #58489 > │ #endif │
00:25:27 verbose #58490 > │ │
00:25:27 verbose #58491 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58492 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58493 > │ v19 │
00:25:27 verbose #58494 > │ #endif │
00:25:27 verbose #58495 > │ │
00:25:27 verbose #58496 > │ #else │
00:25:27 verbose #58497 > │ let v20 : Async<bool> option = None │
00:25:27 verbose #58498 > │ let mutable _v20 = v20 │
00:25:27 verbose #58499 > │ async { │
00:25:27 verbose #58500 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:27 verbose #58501 > │ Async.CancellationToken │
00:25:27 verbose #58502 > │ let! v21 = v21 │
00:25:27 verbose #58503 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:27 verbose #58504 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:27 verbose #58505 > │ System.Net.Sockets.TcpClient () │
00:25:27 verbose #58506 > │ use v23 = v23 │
00:25:27 verbose #58507 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:27 verbose #58508 > │ try │
00:25:27 verbose #58509 > │ let v25 : string = "127.0.0.1" │
00:25:27 verbose #58510 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:27 verbose #58511 > │ (v25, 5555, v22) │
00:25:27 verbose #58512 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:27 verbose #58513 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:27 verbose #58514 > │ let v29 : Async<unit> option = None │
00:25:27 verbose #58515 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:27 verbose #58516 > │ │
00:25:27 verbose #58517 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58518 > │ │
00:25:27 verbose #58519 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58520 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58521 > │ v31 │
00:25:27 verbose #58522 > │ #endif │
00:25:27 verbose #58523 > │ │
00:25:27 verbose #58524 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58525 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58526 > │ v32 │
00:25:27 verbose #58527 > │ #endif │
00:25:27 verbose #58528 > │ │
00:25:27 verbose #58529 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58530 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58531 > │ v33 │
00:25:27 verbose #58532 > │ #endif │
00:25:27 verbose #58533 > │ │
00:25:27 verbose #58534 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58535 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58536 > │ v34 │
00:25:27 verbose #58537 > │ #endif │
00:25:27 verbose #58538 > │ │
00:25:27 verbose #58539 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58540 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58541 > │ v35 │
00:25:27 verbose #58542 > │ #endif │
00:25:27 verbose #58543 > │ │
00:25:27 verbose #58544 > │ #else │
00:25:27 verbose #58545 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:27 verbose #58546 > │ Async.AwaitTask │
00:25:27 verbose #58547 > │ let v37 : Async<unit> = v36 v28 │
00:25:27 verbose #58548 > │ v37 │
00:25:27 verbose #58549 > │ #endif │
00:25:27 verbose #58550 > │ |> fun x -> _v29 <- Some x │
00:25:27 verbose #58551 > │ let v38 : Async<unit> = _v29.Value │
00:25:27 verbose #58552 > │ do! v38 │
00:25:27 verbose #58553 > │ return true │
00:25:27 verbose #58554 > │ with ex -> │
00:25:27 verbose #58555 > │ let v39 : exn = ex │
00:25:27 verbose #58556 > │ let v40 : string option = None │
00:25:27 verbose #58557 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:27 verbose #58558 > │ │
00:25:27 verbose #58559 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58560 > │ │
00:25:27 verbose #58561 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58562 > │ let v42 : string = $"%A{v39}" │
00:25:27 verbose #58563 > │ v42 │
00:25:27 verbose #58564 > │ #endif │
00:25:27 verbose #58565 > │ │
00:25:27 verbose #58566 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58567 > │ let v43 : string = $"%A{v39}" │
00:25:27 verbose #58568 > │ v43 │
00:25:27 verbose #58569 > │ #endif │
00:25:27 verbose #58570 > │ │
00:25:27 verbose #58571 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58572 > │ let v44 : string = $"%A{v39}" │
00:25:27 verbose #58573 > │ v44 │
00:25:27 verbose #58574 > │ #endif │
00:25:27 verbose #58575 > │ │
00:25:27 verbose #58576 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58577 > │ let v45 : string = $"%A{v39}" │
00:25:27 verbose #58578 > │ v45 │
00:25:27 verbose #58579 > │ #endif │
00:25:27 verbose #58580 > │ │
00:25:27 verbose #58581 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58582 > │ let v46 : string = $"%A{v39}" │
00:25:27 verbose #58583 > │ v46 │
00:25:27 verbose #58584 > │ #endif │
00:25:27 verbose #58585 > │ │
00:25:27 verbose #58586 > │ #else │
00:25:27 verbose #58587 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:27 verbose #58588 > │ v47 │
00:25:27 verbose #58589 > │ #endif │
00:25:27 verbose #58590 > │ |> fun x -> _v40 <- Some x │
00:25:27 verbose #58591 > │ let v48 : string = _v40.Value │
00:25:27 verbose #58592 > │ let v49 : US0 = US0_0 │
00:25:27 verbose #58593 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:27 verbose #58594 > │ let v51 : (unit -> string) = closure1() │
00:25:27 verbose #58595 > │ method1(v49, v50, v51) │
00:25:27 verbose #58596 > │ return false │
00:25:27 verbose #58597 > │ (* │
00:25:27 verbose #58598 > │ let v52 : bool = *) │
00:25:27 verbose #58599 > │ } │
00:25:27 verbose #58600 > │ |> fun x -> _v20 <- Some x │
00:25:27 verbose #58601 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:27 verbose #58602 > │ v53 │
00:25:27 verbose #58603 > │ #endif │
00:25:27 verbose #58604 > │ |> fun x -> _v13 <- Some x │
00:25:27 verbose #58605 > │ let v54 : Async<bool> = _v13.Value │
00:25:27 verbose #58606 > │ v54 │
00:25:27 verbose #58607 > │ | US3_0(v55) -> (* Some *) │
00:25:27 verbose #58608 > │ let v56 : Async<bool> option = None │
00:25:27 verbose #58609 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:27 verbose #58610 > │ │
00:25:27 verbose #58611 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58612 > │ │
00:25:27 verbose #58613 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58614 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58615 > │ v58 │
00:25:27 verbose #58616 > │ #endif │
00:25:27 verbose #58617 > │ │
00:25:27 verbose #58618 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58619 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58620 > │ v59 │
00:25:27 verbose #58621 > │ #endif │
00:25:27 verbose #58622 > │ │
00:25:27 verbose #58623 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58624 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58625 > │ v60 │
00:25:27 verbose #58626 > │ #endif │
00:25:27 verbose #58627 > │ │
00:25:27 verbose #58628 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58629 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58630 > │ v61 │
00:25:27 verbose #58631 > │ #endif │
00:25:27 verbose #58632 > │ │
00:25:27 verbose #58633 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58634 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58635 > │ v62 │
00:25:27 verbose #58636 > │ #endif │
00:25:27 verbose #58637 > │ │
00:25:27 verbose #58638 > │ #else │
00:25:27 verbose #58639 > │ let v63 : Async<bool> option = None │
00:25:27 verbose #58640 > │ let mutable _v63 = v63 │
00:25:27 verbose #58641 > │ async { │
00:25:27 verbose #58642 > │ let v64 : Async<bool> option = None │
00:25:27 verbose #58643 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:27 verbose #58644 > │ │
00:25:27 verbose #58645 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58646 > │ │
00:25:27 verbose #58647 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58648 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58649 > │ v66 │
00:25:27 verbose #58650 > │ #endif │
00:25:27 verbose #58651 > │ │
00:25:27 verbose #58652 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58653 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58654 > │ v67 │
00:25:27 verbose #58655 > │ #endif │
00:25:27 verbose #58656 > │ │
00:25:27 verbose #58657 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58658 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58659 > │ v68 │
00:25:27 verbose #58660 > │ #endif │
00:25:27 verbose #58661 > │ │
00:25:27 verbose #58662 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58663 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58664 > │ v69 │
00:25:27 verbose #58665 > │ #endif │
00:25:27 verbose #58666 > │ │
00:25:27 verbose #58667 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58668 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:27 verbose #58669 > │ v70 │
00:25:27 verbose #58670 > │ #endif │
00:25:27 verbose #58671 > │ │
00:25:27 verbose #58672 > │ #else │
00:25:27 verbose #58673 > │ let v71 : Async<bool> option = None │
00:25:27 verbose #58674 > │ let mutable _v71 = v71 │
00:25:27 verbose #58675 > │ async { │
00:25:27 verbose #58676 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:27 verbose #58677 > │ Async.CancellationToken │
00:25:27 verbose #58678 > │ let! v72 = v72 │
00:25:27 verbose #58679 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:27 verbose #58680 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:27 verbose #58681 > │ System.Net.Sockets.TcpClient () │
00:25:27 verbose #58682 > │ use v74 = v74 │
00:25:27 verbose #58683 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:27 verbose #58684 > │ try │
00:25:27 verbose #58685 > │ let v76 : string = "127.0.0.1" │
00:25:27 verbose #58686 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:27 verbose #58687 > │ (v76, 5555, v73) │
00:25:27 verbose #58688 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:27 verbose #58689 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:27 verbose #58690 > │ let v80 : Async<unit> option = None │
00:25:27 verbose #58691 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:27 verbose #58692 > │ │
00:25:27 verbose #58693 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58694 > │ │
00:25:27 verbose #58695 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58696 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58697 > │ v82 │
00:25:27 verbose #58698 > │ #endif │
00:25:27 verbose #58699 > │ │
00:25:27 verbose #58700 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58701 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58702 > │ v83 │
00:25:27 verbose #58703 > │ #endif │
00:25:27 verbose #58704 > │ │
00:25:27 verbose #58705 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58706 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58707 > │ v84 │
00:25:27 verbose #58708 > │ #endif │
00:25:27 verbose #58709 > │ │
00:25:27 verbose #58710 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58711 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58712 > │ v85 │
00:25:27 verbose #58713 > │ #endif │
00:25:27 verbose #58714 > │ │
00:25:27 verbose #58715 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58716 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #58717 > │ v86 │
00:25:27 verbose #58718 > │ #endif │
00:25:27 verbose #58719 > │ │
00:25:27 verbose #58720 > │ #else │
00:25:27 verbose #58721 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:27 verbose #58722 > │ Async.AwaitTask │
00:25:27 verbose #58723 > │ let v88 : Async<unit> = v87 v79 │
00:25:27 verbose #58724 > │ v88 │
00:25:27 verbose #58725 > │ #endif │
00:25:27 verbose #58726 > │ |> fun x -> _v80 <- Some x │
00:25:27 verbose #58727 > │ let v89 : Async<unit> = _v80.Value │
00:25:27 verbose #58728 > │ do! v89 │
00:25:27 verbose #58729 > │ return true │
00:25:27 verbose #58730 > │ with ex -> │
00:25:27 verbose #58731 > │ let v90 : exn = ex │
00:25:27 verbose #58732 > │ let v91 : string option = None │
00:25:27 verbose #58733 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:27 verbose #58734 > │ │
00:25:27 verbose #58735 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58736 > │ │
00:25:27 verbose #58737 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58738 > │ let v93 : string = $"%A{v90}" │
00:25:27 verbose #58739 > │ v93 │
00:25:27 verbose #58740 > │ #endif │
00:25:27 verbose #58741 > │ │
00:25:27 verbose #58742 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58743 > │ let v94 : string = $"%A{v90}" │
00:25:27 verbose #58744 > │ v94 │
00:25:27 verbose #58745 > │ #endif │
00:25:27 verbose #58746 > │ │
00:25:27 verbose #58747 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58748 > │ let v95 : string = $"%A{v90}" │
00:25:27 verbose #58749 > │ v95 │
00:25:27 verbose #58750 > │ #endif │
00:25:27 verbose #58751 > │ │
00:25:27 verbose #58752 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58753 > │ let v96 : string = $"%A{v90}" │
00:25:27 verbose #58754 > │ v96 │
00:25:27 verbose #58755 > │ #endif │
00:25:27 verbose #58756 > │ │
00:25:27 verbose #58757 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58758 > │ let v97 : string = $"%A{v90}" │
00:25:27 verbose #58759 > │ v97 │
00:25:27 verbose #58760 > │ #endif │
00:25:27 verbose #58761 > │ │
00:25:27 verbose #58762 > │ #else │
00:25:27 verbose #58763 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:27 verbose #58764 > │ v98 │
00:25:27 verbose #58765 > │ #endif │
00:25:27 verbose #58766 > │ |> fun x -> _v91 <- Some x │
00:25:27 verbose #58767 > │ let v99 : string = _v91.Value │
00:25:27 verbose #58768 > │ let v100 : US0 = US0_0 │
00:25:27 verbose #58769 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:27 verbose #58770 > │ let v102 : (unit -> string) = closure1() │
00:25:27 verbose #58771 > │ method1(v100, v101, v102) │
00:25:27 verbose #58772 > │ return false │
00:25:27 verbose #58773 > │ (* │
00:25:27 verbose #58774 > │ let v103 : bool = *) │
00:25:27 verbose #58775 > │ } │
00:25:27 verbose #58776 > │ |> fun x -> _v71 <- Some x │
00:25:27 verbose #58777 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:27 verbose #58778 > │ v104 │
00:25:27 verbose #58779 > │ #endif │
00:25:27 verbose #58780 > │ |> fun x -> _v64 <- Some x │
00:25:27 verbose #58781 > │ let v105 : Async<bool> = _v64.Value │
00:25:27 verbose #58782 > │ let v106 : Async<US4> option = None │
00:25:27 verbose #58783 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:27 verbose #58784 > │ │
00:25:27 verbose #58785 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58786 > │ │
00:25:27 verbose #58787 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58788 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58789 > │ v108 │
00:25:27 verbose #58790 > │ #endif │
00:25:27 verbose #58791 > │ │
00:25:27 verbose #58792 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58793 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58794 > │ v109 │
00:25:27 verbose #58795 > │ #endif │
00:25:27 verbose #58796 > │ │
00:25:27 verbose #58797 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58798 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58799 > │ v110 │
00:25:27 verbose #58800 > │ #endif │
00:25:27 verbose #58801 > │ │
00:25:27 verbose #58802 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58803 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58804 > │ v111 │
00:25:27 verbose #58805 > │ #endif │
00:25:27 verbose #58806 > │ │
00:25:27 verbose #58807 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58808 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58809 > │ v112 │
00:25:27 verbose #58810 > │ #endif │
00:25:27 verbose #58811 > │ │
00:25:27 verbose #58812 > │ #else │
00:25:27 verbose #58813 > │ let v113 : Async<US4> option = None │
00:25:27 verbose #58814 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:27 verbose #58815 > │ │
00:25:27 verbose #58816 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58817 > │ │
00:25:27 verbose #58818 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58819 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58820 > │ v115 │
00:25:27 verbose #58821 > │ #endif │
00:25:27 verbose #58822 > │ │
00:25:27 verbose #58823 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58824 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58825 > │ v116 │
00:25:27 verbose #58826 > │ #endif │
00:25:27 verbose #58827 > │ │
00:25:27 verbose #58828 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58829 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58830 > │ v117 │
00:25:27 verbose #58831 > │ #endif │
00:25:27 verbose #58832 > │ │
00:25:27 verbose #58833 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58834 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58835 > │ v118 │
00:25:27 verbose #58836 > │ #endif │
00:25:27 verbose #58837 > │ │
00:25:27 verbose #58838 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58839 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #58840 > │ v119 │
00:25:27 verbose #58841 > │ #endif │
00:25:27 verbose #58842 > │ │
00:25:27 verbose #58843 > │ #else │
00:25:27 verbose #58844 > │ let v120 : Async<US4> option = None │
00:25:27 verbose #58845 > │ let mutable _v120 = v120 │
00:25:27 verbose #58846 > │ async { │
00:25:27 verbose #58847 > │ let v121 : Async<Async<bool>> option = None │
00:25:27 verbose #58848 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:27 verbose #58849 > │ │
00:25:27 verbose #58850 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58851 > │ │
00:25:27 verbose #58852 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58853 > │ let v123 : Async<Async<bool>> = null |> │
00:25:27 verbose #58854 > │ unbox<Async<Async<bool>>> │
00:25:27 verbose #58855 > │ v123 │
00:25:27 verbose #58856 > │ #endif │
00:25:27 verbose #58857 > │ │
00:25:27 verbose #58858 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58859 > │ let v124 : Async<Async<bool>> = null |> │
00:25:27 verbose #58860 > │ unbox<Async<Async<bool>>> │
00:25:27 verbose #58861 > │ v124 │
00:25:27 verbose #58862 > │ #endif │
00:25:27 verbose #58863 > │ │
00:25:27 verbose #58864 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58865 > │ let v125 : Async<Async<bool>> = null |> │
00:25:27 verbose #58866 > │ unbox<Async<Async<bool>>> │
00:25:27 verbose #58867 > │ v125 │
00:25:27 verbose #58868 > │ #endif │
00:25:27 verbose #58869 > │ │
00:25:27 verbose #58870 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58871 > │ let v126 : Async<Async<bool>> = null |> │
00:25:27 verbose #58872 > │ unbox<Async<Async<bool>>> │
00:25:27 verbose #58873 > │ v126 │
00:25:27 verbose #58874 > │ #endif │
00:25:27 verbose #58875 > │ │
00:25:27 verbose #58876 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58877 > │ let v127 : Async<Async<bool>> = null |> │
00:25:27 verbose #58878 > │ unbox<Async<Async<bool>>> │
00:25:27 verbose #58879 > │ v127 │
00:25:27 verbose #58880 > │ #endif │
00:25:27 verbose #58881 > │ │
00:25:27 verbose #58882 > │ #else │
00:25:27 verbose #58883 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:27 verbose #58884 > │ v128 │
00:25:27 verbose #58885 > │ #endif │
00:25:27 verbose #58886 > │ |> fun x -> _v121 <- Some x │
00:25:27 verbose #58887 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:27 verbose #58888 > │ let! v129 = v129 │
00:25:27 verbose #58889 > │ let v130 : Async<bool> = v129 │
00:25:27 verbose #58890 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:27 verbose #58891 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:27 verbose #58892 > │ │
00:25:27 verbose #58893 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58894 > │ │
00:25:27 verbose #58895 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58896 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58897 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58898 > │ v133 │
00:25:27 verbose #58899 > │ #endif │
00:25:27 verbose #58900 > │ │
00:25:27 verbose #58901 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58902 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58903 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58904 > │ v134 │
00:25:27 verbose #58905 > │ #endif │
00:25:27 verbose #58906 > │ │
00:25:27 verbose #58907 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58908 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58909 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58910 > │ v135 │
00:25:27 verbose #58911 > │ #endif │
00:25:27 verbose #58912 > │ │
00:25:27 verbose #58913 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58914 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58915 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58916 > │ v136 │
00:25:27 verbose #58917 > │ #endif │
00:25:27 verbose #58918 > │ │
00:25:27 verbose #58919 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58920 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:27 verbose #58921 > │ unbox<Async<Choice<bool, exn>>> │
00:25:27 verbose #58922 > │ v137 │
00:25:27 verbose #58923 > │ #endif │
00:25:27 verbose #58924 > │ │
00:25:27 verbose #58925 > │ #else │
00:25:27 verbose #58926 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:27 verbose #58927 > │ Async.Catch │
00:25:27 verbose #58928 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:27 verbose #58929 > │ v139 │
00:25:27 verbose #58930 > │ #endif │
00:25:27 verbose #58931 > │ |> fun x -> _v131 <- Some x │
00:25:27 verbose #58932 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:27 verbose #58933 > │ let v141 : Async<US5> option = None │
00:25:27 verbose #58934 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:27 verbose #58935 > │ │
00:25:27 verbose #58936 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58937 > │ │
00:25:27 verbose #58938 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58939 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58940 > │ v143 │
00:25:27 verbose #58941 > │ #endif │
00:25:27 verbose #58942 > │ │
00:25:27 verbose #58943 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58944 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58945 > │ v144 │
00:25:27 verbose #58946 > │ #endif │
00:25:27 verbose #58947 > │ │
00:25:27 verbose #58948 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58949 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58950 > │ v145 │
00:25:27 verbose #58951 > │ #endif │
00:25:27 verbose #58952 > │ │
00:25:27 verbose #58953 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58954 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58955 > │ v146 │
00:25:27 verbose #58956 > │ #endif │
00:25:27 verbose #58957 > │ │
00:25:27 verbose #58958 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58959 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:27 verbose #58960 > │ v147 │
00:25:27 verbose #58961 > │ #endif │
00:25:27 verbose #58962 > │ │
00:25:27 verbose #58963 > │ #else │
00:25:27 verbose #58964 > │ let v148 : Async<US5> option = None │
00:25:27 verbose #58965 > │ let mutable _v148 = v148 │
00:25:27 verbose #58966 > │ async { │
00:25:27 verbose #58967 > │ let! v140 = v140 │
00:25:27 verbose #58968 > │ let v149 : Choice<bool, exn> = v140 │
00:25:27 verbose #58969 > │ let v150 : US5 option = None │
00:25:27 verbose #58970 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:27 verbose #58971 > │ │
00:25:27 verbose #58972 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #58973 > │ │
00:25:27 verbose #58974 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #58975 > │ let v152 : US5 = null |> unbox<US5> │
00:25:27 verbose #58976 > │ v152 │
00:25:27 verbose #58977 > │ #endif │
00:25:27 verbose #58978 > │ │
00:25:27 verbose #58979 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #58980 > │ let v153 : US5 = null |> unbox<US5> │
00:25:27 verbose #58981 > │ v153 │
00:25:27 verbose #58982 > │ #endif │
00:25:27 verbose #58983 > │ │
00:25:27 verbose #58984 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #58985 > │ let v154 : US5 = null |> unbox<US5> │
00:25:27 verbose #58986 > │ v154 │
00:25:27 verbose #58987 > │ #endif │
00:25:27 verbose #58988 > │ │
00:25:27 verbose #58989 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #58990 > │ let v155 : US5 = null |> unbox<US5> │
00:25:27 verbose #58991 > │ v155 │
00:25:27 verbose #58992 > │ #endif │
00:25:27 verbose #58993 > │ │
00:25:27 verbose #58994 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #58995 > │ let v156 : US5 = null |> unbox<US5> │
00:25:27 verbose #58996 > │ v156 │
00:25:27 verbose #58997 > │ #endif │
00:25:27 verbose #58998 > │ │
00:25:27 verbose #58999 > │ #else │
00:25:27 verbose #59000 > │ let v157 : (bool -> US5) = closure15() │
00:25:27 verbose #59001 > │ let v158 : (exn -> US5) = closure16() │
00:25:27 verbose #59002 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:27 verbose #59003 > │ Choice2Of2 x -> v158 x │
00:25:27 verbose #59004 > │ v159 │
00:25:27 verbose #59005 > │ #endif │
00:25:27 verbose #59006 > │ |> fun x -> _v150 <- Some x │
00:25:27 verbose #59007 > │ let v160 : US5 = _v150.Value │
00:25:27 verbose #59008 > │ return v160 │
00:25:27 verbose #59009 > │ } │
00:25:27 verbose #59010 > │ |> fun x -> _v148 <- Some x │
00:25:27 verbose #59011 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:27 verbose #59012 > │ v161 │
00:25:27 verbose #59013 > │ #endif │
00:25:27 verbose #59014 > │ |> fun x -> _v141 <- Some x │
00:25:27 verbose #59015 > │ let v162 : Async<US5> = _v141.Value │
00:25:27 verbose #59016 > │ let v163 : Async<US6> option = None │
00:25:27 verbose #59017 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:27 verbose #59018 > │ │
00:25:27 verbose #59019 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59020 > │ │
00:25:27 verbose #59021 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59022 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #59023 > │ v165 │
00:25:27 verbose #59024 > │ #endif │
00:25:27 verbose #59025 > │ │
00:25:27 verbose #59026 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59027 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #59028 > │ v166 │
00:25:27 verbose #59029 > │ #endif │
00:25:27 verbose #59030 > │ │
00:25:27 verbose #59031 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59032 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #59033 > │ v167 │
00:25:27 verbose #59034 > │ #endif │
00:25:27 verbose #59035 > │ │
00:25:27 verbose #59036 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59037 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #59038 > │ v168 │
00:25:27 verbose #59039 > │ #endif │
00:25:27 verbose #59040 > │ │
00:25:27 verbose #59041 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59042 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:27 verbose #59043 > │ v169 │
00:25:27 verbose #59044 > │ #endif │
00:25:27 verbose #59045 > │ │
00:25:27 verbose #59046 > │ #else │
00:25:27 verbose #59047 > │ let v170 : Async<US6> option = None │
00:25:27 verbose #59048 > │ let mutable _v170 = v170 │
00:25:27 verbose #59049 > │ async { │
00:25:27 verbose #59050 > │ let! v162 = v162 │
00:25:27 verbose #59051 > │ let v171 : US5 = v162 │
00:25:27 verbose #59052 > │ let v177 : US6 = │
00:25:27 verbose #59053 > │ match v171 with │
00:25:27 verbose #59054 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:27 verbose #59055 > │ US6_0(v172) │
00:25:27 verbose #59056 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:27 verbose #59057 > │ US6_1(v174) │
00:25:27 verbose #59058 > │ return v177 │
00:25:27 verbose #59059 > │ } │
00:25:27 verbose #59060 > │ |> fun x -> _v170 <- Some x │
00:25:27 verbose #59061 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:27 verbose #59062 > │ v178 │
00:25:27 verbose #59063 > │ #endif │
00:25:27 verbose #59064 > │ |> fun x -> _v163 <- Some x │
00:25:27 verbose #59065 > │ let v179 : Async<US6> = _v163.Value │
00:25:27 verbose #59066 > │ let v180 : Async<US4> option = None │
00:25:27 verbose #59067 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:27 verbose #59068 > │ │
00:25:27 verbose #59069 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59070 > │ │
00:25:27 verbose #59071 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59072 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #59073 > │ v182 │
00:25:27 verbose #59074 > │ #endif │
00:25:27 verbose #59075 > │ │
00:25:27 verbose #59076 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59077 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #59078 > │ v183 │
00:25:27 verbose #59079 > │ #endif │
00:25:27 verbose #59080 > │ │
00:25:27 verbose #59081 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59082 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #59083 > │ v184 │
00:25:27 verbose #59084 > │ #endif │
00:25:27 verbose #59085 > │ │
00:25:27 verbose #59086 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59087 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #59088 > │ v185 │
00:25:27 verbose #59089 > │ #endif │
00:25:27 verbose #59090 > │ │
00:25:27 verbose #59091 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59092 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:27 verbose #59093 > │ v186 │
00:25:27 verbose #59094 > │ #endif │
00:25:27 verbose #59095 > │ │
00:25:27 verbose #59096 > │ #else │
00:25:27 verbose #59097 > │ let v187 : Async<US4> option = None │
00:25:27 verbose #59098 > │ let mutable _v187 = v187 │
00:25:27 verbose #59099 > │ async { │
00:25:27 verbose #59100 > │ let! v179 = v179 │
00:25:27 verbose #59101 > │ let v188 : US6 = v179 │
00:25:27 verbose #59102 > │ let v214 : US4 = │
00:25:27 verbose #59103 > │ match v188 with │
00:25:27 verbose #59104 > │ | US6_1(v191) -> (* Error *) │
00:25:27 verbose #59105 > │ let v192 : string = $"%A{v191}" │
00:25:27 verbose #59106 > │ let v193 : string = "System.TimeoutException" │
00:25:27 verbose #59107 > │ let v194 : bool = v192.Contains v193 │
00:25:27 verbose #59108 > │ if v194 then │
00:25:27 verbose #59109 > │ let v195 : US0 = US0_1 │
00:25:27 verbose #59110 > │ let v196 : (unit -> string) = closure17() │
00:25:27 verbose #59111 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:27 verbose #59112 > │ method1(v195, v196, v197) │
00:25:27 verbose #59113 > │ US4_1 │
00:25:27 verbose #59114 > │ else │
00:25:27 verbose #59115 > │ let v199 : string option = None │
00:25:27 verbose #59116 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:27 verbose #59117 > │ │
00:25:27 verbose #59118 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59119 > │ │
00:25:27 verbose #59120 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59121 > │ let v201 : string = $"%A{v191}" │
00:25:27 verbose #59122 > │ v201 │
00:25:27 verbose #59123 > │ #endif │
00:25:27 verbose #59124 > │ │
00:25:27 verbose #59125 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59126 > │ let v202 : string = $"%A{v191}" │
00:25:27 verbose #59127 > │ v202 │
00:25:27 verbose #59128 > │ #endif │
00:25:27 verbose #59129 > │ │
00:25:27 verbose #59130 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59131 > │ let v203 : string = $"%A{v191}" │
00:25:27 verbose #59132 > │ v203 │
00:25:27 verbose #59133 > │ #endif │
00:25:27 verbose #59134 > │ │
00:25:27 verbose #59135 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59136 > │ let v204 : string = $"%A{v191}" │
00:25:27 verbose #59137 > │ v204 │
00:25:27 verbose #59138 > │ #endif │
00:25:27 verbose #59139 > │ │
00:25:27 verbose #59140 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59141 > │ let v205 : string = $"%A{v191}" │
00:25:27 verbose #59142 > │ v205 │
00:25:27 verbose #59143 > │ #endif │
00:25:27 verbose #59144 > │ │
00:25:27 verbose #59145 > │ #else │
00:25:27 verbose #59146 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:27 verbose #59147 > │ {v191.Message}" │
00:25:27 verbose #59148 > │ v206 │
00:25:27 verbose #59149 > │ #endif │
00:25:27 verbose #59150 > │ |> fun x -> _v199 <- Some x │
00:25:27 verbose #59151 > │ let v207 : string = _v199.Value │
00:25:27 verbose #59152 > │ let v208 : US0 = US0_4 │
00:25:27 verbose #59153 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:27 verbose #59154 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:27 verbose #59155 > │ method1(v208, v209, v210) │
00:25:27 verbose #59156 > │ US4_1 │
00:25:27 verbose #59157 > │ | US6_0(v189) -> (* Ok *) │
00:25:27 verbose #59158 > │ US4_0(v189) │
00:25:27 verbose #59159 > │ return v214 │
00:25:27 verbose #59160 > │ } │
00:25:27 verbose #59161 > │ |> fun x -> _v187 <- Some x │
00:25:27 verbose #59162 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:27 verbose #59163 > │ v215 │
00:25:27 verbose #59164 > │ #endif │
00:25:27 verbose #59165 > │ |> fun x -> _v180 <- Some x │
00:25:27 verbose #59166 > │ let v216 : Async<US4> = _v180.Value │
00:25:27 verbose #59167 > │ return! v216 │
00:25:27 verbose #59168 > │ } │
00:25:27 verbose #59169 > │ |> fun x -> _v120 <- Some x │
00:25:27 verbose #59170 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:27 verbose #59171 > │ v217 │
00:25:27 verbose #59172 > │ #endif │
00:25:27 verbose #59173 > │ |> fun x -> _v113 <- Some x │
00:25:27 verbose #59174 > │ let v218 : Async<US4> = _v113.Value │
00:25:27 verbose #59175 > │ v218 │
00:25:27 verbose #59176 > │ #endif │
00:25:27 verbose #59177 > │ |> fun x -> _v106 <- Some x │
00:25:27 verbose #59178 > │ let v219 : Async<US4> = _v106.Value │
00:25:27 verbose #59179 > │ let! v219 = v219 │
00:25:27 verbose #59180 > │ let v220 : US4 = v219 │
00:25:27 verbose #59181 > │ let v223 : bool = │
00:25:27 verbose #59182 > │ match v220 with │
00:25:27 verbose #59183 > │ | US4_1 -> (* None *) │
00:25:27 verbose #59184 > │ false │
00:25:27 verbose #59185 > │ | US4_0(v221) -> (* Some *) │
00:25:27 verbose #59186 > │ v221 │
00:25:27 verbose #59187 > │ return v223 │
00:25:27 verbose #59188 > │ } │
00:25:27 verbose #59189 > │ |> fun x -> _v63 <- Some x │
00:25:27 verbose #59190 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:27 verbose #59191 > │ v224 │
00:25:27 verbose #59192 > │ #endif │
00:25:27 verbose #59193 > │ |> fun x -> _v56 <- Some x │
00:25:27 verbose #59194 > │ let v225 : Async<bool> = _v56.Value │
00:25:27 verbose #59195 > │ v225 │
00:25:27 verbose #59196 > │ let! v227 = v227 │
00:25:27 verbose #59197 > │ let v228 : bool = v227 │
00:25:27 verbose #59198 > │ let v229 : bool = v228 = false │
00:25:27 verbose #59199 > │ if v229 then │
00:25:27 verbose #59200 > │ return v1 │
00:25:27 verbose #59201 > │ (* │
00:25:27 verbose #59202 > │ () │
00:25:27 verbose #59203 > │ else │
00:25:27 verbose #59204 > │ *) else │
00:25:27 verbose #59205 > │ let v230 : int64 = v1 % 100L │
00:25:27 verbose #59206 > │ let v231 : bool = v230 = 0L │
00:25:27 verbose #59207 > │ if v231 then │
00:25:27 verbose #59208 > │ let v232 : US0 = US0_0 │
00:25:27 verbose #59209 > │ let v233 : (unit -> string) = closure20() │
00:25:27 verbose #59210 > │ let v234 : (unit -> string) = closure23(v0, v1) │
00:25:27 verbose #59211 > │ method1(v232, v233, v234) │
00:25:27 verbose #59212 > │ let v235 : Async<unit> option = None │
00:25:27 verbose #59213 > │ let v236 : bool = true in let mutable _v235 = v235 │
00:25:27 verbose #59214 > │ │
00:25:27 verbose #59215 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59216 > │ │
00:25:27 verbose #59217 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59218 > │ let v237 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59219 > │ v237 │
00:25:27 verbose #59220 > │ #endif │
00:25:27 verbose #59221 > │ │
00:25:27 verbose #59222 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59223 > │ let v238 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59224 > │ v238 │
00:25:27 verbose #59225 > │ #endif │
00:25:27 verbose #59226 > │ │
00:25:27 verbose #59227 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59228 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59229 > │ v239 │
00:25:27 verbose #59230 > │ #endif │
00:25:27 verbose #59231 > │ │
00:25:27 verbose #59232 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59233 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59234 > │ v240 │
00:25:27 verbose #59235 > │ #endif │
00:25:27 verbose #59236 > │ │
00:25:27 verbose #59237 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59238 > │ let v241 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59239 > │ v241 │
00:25:27 verbose #59240 > │ #endif │
00:25:27 verbose #59241 > │ │
00:25:27 verbose #59242 > │ #else │
00:25:27 verbose #59243 > │ let v242 : (int32 -> Async<unit>) = Async.Sleep │
00:25:27 verbose #59244 > │ let v243 : Async<unit> = v242 10 │
00:25:27 verbose #59245 > │ v243 │
00:25:27 verbose #59246 > │ #endif │
00:25:27 verbose #59247 > │ |> fun x -> _v235 <- Some x │
00:25:27 verbose #59248 > │ let v244 : Async<unit> = _v235.Value │
00:25:27 verbose #59249 > │ do! v244 │
00:25:27 verbose #59250 > │ let v245 : int64 = v1 + 1L │
00:25:27 verbose #59251 > │ let v246 : Async<int64> = method9(v0, v245) │
00:25:27 verbose #59252 > │ return! v246 │
00:25:27 verbose #59253 > │ (* │
00:25:27 verbose #59254 > │ () │
00:25:27 verbose #59255 > │ *) │
00:25:27 verbose #59256 > │ } │
00:25:27 verbose #59257 > │ |> fun x -> _v9 <- Some x │
00:25:27 verbose #59258 > │ let v247 : Async<int64> = _v9 |> Option.get │
00:25:27 verbose #59259 > │ v247 │
00:25:27 verbose #59260 > │ #endif │
00:25:27 verbose #59261 > │ |> fun x -> _v2 <- Some x │
00:25:27 verbose #59262 > │ let v248 : Async<int64> = _v2.Value │
00:25:27 verbose #59263 > │ v248 │
00:25:27 verbose #59264 > │ and closure24 () () : string = │
00:25:27 verbose #59265 > │ let v0 : string = "5" │
00:25:27 verbose #59266 > │ v0 │
00:25:27 verbose #59267 > │ and closure25 () () : string = │
00:25:27 verbose #59268 > │ let v0 : string = "6" │
00:25:27 verbose #59269 > │ v0 │
00:25:27 verbose #59270 > │ and closure26 () struct (v0 : int64, v1 : int64) : US8 = │
00:25:27 verbose #59271 > │ US8_0(v0, v1) │
00:25:27 verbose #59272 > │ and closure27 () (v0 : exn) : US8 = │
00:25:27 verbose #59273 > │ US8_1(v0) │
00:25:27 verbose #59274 > │ and closure28 () () : string = │
00:25:27 verbose #59275 > │ let v0 : (unit -> string) = closure1() │
00:25:27 verbose #59276 > │ let v1 : string = $"timeout: {2000} / {v0 ()}" │
00:25:27 verbose #59277 > │ v1 │
00:25:27 verbose #59278 > │ and method10 (v0 : bool) : bool = │
00:25:27 verbose #59279 > │ v0 │
00:25:27 verbose #59280 > │ and method0 () : unit = │
00:25:27 verbose #59281 > │ let v0 : Async<struct (int64 * int64)> option = None │
00:25:27 verbose #59282 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:25:27 verbose #59283 > │ │
00:25:27 verbose #59284 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59285 > │ │
00:25:27 verbose #59286 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59287 > │ let v2 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:27 verbose #59288 > │ (int64 * int64)>> │
00:25:27 verbose #59289 > │ v2 │
00:25:27 verbose #59290 > │ #endif │
00:25:27 verbose #59291 > │ │
00:25:27 verbose #59292 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59293 > │ let v3 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:27 verbose #59294 > │ (int64 * int64)>> │
00:25:27 verbose #59295 > │ v3 │
00:25:27 verbose #59296 > │ #endif │
00:25:27 verbose #59297 > │ │
00:25:27 verbose #59298 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59299 > │ let v4 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:27 verbose #59300 > │ (int64 * int64)>> │
00:25:27 verbose #59301 > │ v4 │
00:25:27 verbose #59302 > │ #endif │
00:25:27 verbose #59303 > │ │
00:25:27 verbose #59304 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59305 > │ let v5 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:27 verbose #59306 > │ (int64 * int64)>> │
00:25:27 verbose #59307 > │ v5 │
00:25:27 verbose #59308 > │ #endif │
00:25:27 verbose #59309 > │ │
00:25:27 verbose #59310 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59311 > │ let v6 : Async<struct (int64 * int64)> = null |> unbox<Async<struct │
00:25:27 verbose #59312 > │ (int64 * int64)>> │
00:25:27 verbose #59313 > │ v6 │
00:25:27 verbose #59314 > │ #endif │
00:25:27 verbose #59315 > │ │
00:25:27 verbose #59316 > │ #else │
00:25:27 verbose #59317 > │ let v7 : Async<struct (int64 * int64)> option = None │
00:25:27 verbose #59318 > │ let mutable _v7 = v7 │
00:25:27 verbose #59319 > │ async { │
00:25:27 verbose #59320 > │ let v8 : US0 = US0_1 │
00:25:27 verbose #59321 > │ let v9 : (unit -> string) = closure0() │
00:25:27 verbose #59322 > │ let v10 : (unit -> string) = closure1() │
00:25:27 verbose #59323 > │ method1(v8, v9, v10) │
00:25:27 verbose #59324 > │ let v11 : Async<unit> option = None │
00:25:27 verbose #59325 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:25:27 verbose #59326 > │ │
00:25:27 verbose #59327 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59328 > │ │
00:25:27 verbose #59329 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59330 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59331 > │ v13 │
00:25:27 verbose #59332 > │ #endif │
00:25:27 verbose #59333 > │ │
00:25:27 verbose #59334 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59335 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59336 > │ v14 │
00:25:27 verbose #59337 > │ #endif │
00:25:27 verbose #59338 > │ │
00:25:27 verbose #59339 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59340 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59341 > │ v15 │
00:25:27 verbose #59342 > │ #endif │
00:25:27 verbose #59343 > │ │
00:25:27 verbose #59344 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59345 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59346 > │ v16 │
00:25:27 verbose #59347 > │ #endif │
00:25:27 verbose #59348 > │ │
00:25:27 verbose #59349 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59350 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59351 > │ v17 │
00:25:27 verbose #59352 > │ #endif │
00:25:27 verbose #59353 > │ │
00:25:27 verbose #59354 > │ #else │
00:25:27 verbose #59355 > │ let v18 : Async<unit> option = None │
00:25:27 verbose #59356 > │ let mutable _v18 = v18 │
00:25:27 verbose #59357 > │ async { │
00:25:27 verbose #59358 > │ let v19 : US0 = US0_1 │
00:25:27 verbose #59359 > │ let v20 : (unit -> string) = closure6() │
00:25:27 verbose #59360 > │ method1(v19, v20, v10) │
00:25:27 verbose #59361 > │ let v21 : Async<unit> option = None │
00:25:27 verbose #59362 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:25:27 verbose #59363 > │ │
00:25:27 verbose #59364 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59365 > │ │
00:25:27 verbose #59366 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59367 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59368 > │ v23 │
00:25:27 verbose #59369 > │ #endif │
00:25:27 verbose #59370 > │ │
00:25:27 verbose #59371 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59372 > │ let v24 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59373 > │ v24 │
00:25:27 verbose #59374 > │ #endif │
00:25:27 verbose #59375 > │ │
00:25:27 verbose #59376 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59377 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59378 > │ v25 │
00:25:27 verbose #59379 > │ #endif │
00:25:27 verbose #59380 > │ │
00:25:27 verbose #59381 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59382 > │ let v26 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59383 > │ v26 │
00:25:27 verbose #59384 > │ #endif │
00:25:27 verbose #59385 > │ │
00:25:27 verbose #59386 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59387 > │ let v27 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59388 > │ v27 │
00:25:27 verbose #59389 > │ #endif │
00:25:27 verbose #59390 > │ │
00:25:27 verbose #59391 > │ #else │
00:25:27 verbose #59392 > │ let v28 : (int32 -> Async<unit>) = Async.Sleep │
00:25:27 verbose #59393 > │ let v29 : Async<unit> = v28 500 │
00:25:27 verbose #59394 > │ v29 │
00:25:27 verbose #59395 > │ #endif │
00:25:27 verbose #59396 > │ |> fun x -> _v21 <- Some x │
00:25:27 verbose #59397 > │ let v30 : Async<unit> = _v21.Value │
00:25:27 verbose #59398 > │ do! v30 │
00:25:27 verbose #59399 > │ let v31 : (string -> System.Net.IPAddress) = System.Net.IPAddress.Parse │
00:25:27 verbose #59400 > │ let v32 : string = "127.0.0.1" │
00:25:27 verbose #59401 > │ let v33 : System.Net.IPAddress = v31 v32 │
00:25:27 verbose #59402 > │ let v34 : System.Net.Sockets.TcpListener = new │
00:25:27 verbose #59403 > │ System.Net.Sockets.TcpListener (v33, 5555) │
00:25:27 verbose #59404 > │ use v34 = v34 │
00:25:27 verbose #59405 > │ let v35 : System.Net.Sockets.TcpListener = v34 │
00:25:27 verbose #59406 > │ let v36 : US0 = US0_1 │
00:25:27 verbose #59407 > │ let v37 : (unit -> string) = closure7() │
00:25:27 verbose #59408 > │ method1(v36, v37, v10) │
00:25:27 verbose #59409 > │ let v38 : (unit -> unit) = v35.Start │
00:25:27 verbose #59410 > │ v38 () │
00:25:27 verbose #59411 > │ let v39 : US0 = US0_1 │
00:25:27 verbose #59412 > │ let v40 : (unit -> string) = closure8() │
00:25:27 verbose #59413 > │ method1(v39, v40, v10) │
00:25:27 verbose #59414 > │ let v41 : Async<unit> option = None │
00:25:27 verbose #59415 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:25:27 verbose #59416 > │ │
00:25:27 verbose #59417 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59418 > │ │
00:25:27 verbose #59419 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59420 > │ let v43 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59421 > │ v43 │
00:25:27 verbose #59422 > │ #endif │
00:25:27 verbose #59423 > │ │
00:25:27 verbose #59424 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59425 > │ let v44 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59426 > │ v44 │
00:25:27 verbose #59427 > │ #endif │
00:25:27 verbose #59428 > │ │
00:25:27 verbose #59429 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59430 > │ let v45 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59431 > │ v45 │
00:25:27 verbose #59432 > │ #endif │
00:25:27 verbose #59433 > │ │
00:25:27 verbose #59434 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59435 > │ let v46 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59436 > │ v46 │
00:25:27 verbose #59437 > │ #endif │
00:25:27 verbose #59438 > │ │
00:25:27 verbose #59439 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59440 > │ let v47 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59441 > │ v47 │
00:25:27 verbose #59442 > │ #endif │
00:25:27 verbose #59443 > │ │
00:25:27 verbose #59444 > │ #else │
00:25:27 verbose #59445 > │ let v48 : (int32 -> Async<unit>) = Async.Sleep │
00:25:27 verbose #59446 > │ let v49 : Async<unit> = v48 200 │
00:25:27 verbose #59447 > │ v49 │
00:25:27 verbose #59448 > │ #endif │
00:25:27 verbose #59449 > │ |> fun x -> _v41 <- Some x │
00:25:27 verbose #59450 > │ let v50 : Async<unit> = _v41.Value │
00:25:27 verbose #59451 > │ do! v50 │
00:25:27 verbose #59452 > │ let v51 : US0 = US0_1 │
00:25:27 verbose #59453 > │ let v52 : (unit -> string) = closure9() │
00:25:27 verbose #59454 > │ method1(v51, v52, v10) │
00:25:27 verbose #59455 > │ let v53 : (unit -> unit) = v35.Stop │
00:25:27 verbose #59456 > │ v53 () │
00:25:27 verbose #59457 > │ let v54 : US0 = US0_1 │
00:25:27 verbose #59458 > │ let v55 : (unit -> string) = closure10() │
00:25:27 verbose #59459 > │ method1(v54, v55, v10) │
00:25:27 verbose #59460 > │ } │
00:25:27 verbose #59461 > │ |> fun x -> _v18 <- Some x │
00:25:27 verbose #59462 > │ let v56 : Async<unit> = _v18 |> Option.get │
00:25:27 verbose #59463 > │ v56 │
00:25:27 verbose #59464 > │ #endif │
00:25:27 verbose #59465 > │ |> fun x -> _v11 <- Some x │
00:25:27 verbose #59466 > │ let v57 : Async<unit> = _v11.Value │
00:25:27 verbose #59467 > │ let v58 : Async<Async<unit>> option = None │
00:25:27 verbose #59468 > │ let v59 : bool = true in let mutable _v58 = v58 │
00:25:27 verbose #59469 > │ │
00:25:27 verbose #59470 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59471 > │ │
00:25:27 verbose #59472 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59473 > │ let v60 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:27 verbose #59474 > │ v60 │
00:25:27 verbose #59475 > │ #endif │
00:25:27 verbose #59476 > │ │
00:25:27 verbose #59477 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59478 > │ let v61 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:27 verbose #59479 > │ v61 │
00:25:27 verbose #59480 > │ #endif │
00:25:27 verbose #59481 > │ │
00:25:27 verbose #59482 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59483 > │ let v62 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:27 verbose #59484 > │ v62 │
00:25:27 verbose #59485 > │ #endif │
00:25:27 verbose #59486 > │ │
00:25:27 verbose #59487 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59488 > │ let v63 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:27 verbose #59489 > │ v63 │
00:25:27 verbose #59490 > │ #endif │
00:25:27 verbose #59491 > │ │
00:25:27 verbose #59492 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59493 > │ let v64 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:27 verbose #59494 > │ v64 │
00:25:27 verbose #59495 > │ #endif │
00:25:27 verbose #59496 > │ │
00:25:27 verbose #59497 > │ #else │
00:25:27 verbose #59498 > │ let v65 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:25:27 verbose #59499 > │ let v66 : Async<Async<unit>> = v65 v57 │
00:25:27 verbose #59500 > │ v66 │
00:25:27 verbose #59501 > │ #endif │
00:25:27 verbose #59502 > │ |> fun x -> _v58 <- Some x │
00:25:27 verbose #59503 > │ let v67 : Async<Async<unit>> = _v58.Value │
00:25:27 verbose #59504 > │ let! v67 = v67 │
00:25:27 verbose #59505 > │ let v68 : Async<unit> = v67 │
00:25:27 verbose #59506 > │ let v69 : US0 = US0_1 │
00:25:27 verbose #59507 > │ let v70 : (unit -> string) = closure11() │
00:25:27 verbose #59508 > │ method1(v69, v70, v10) │
00:25:27 verbose #59509 > │ let v71 : Async<unit> option = None │
00:25:27 verbose #59510 > │ let v72 : bool = true in let mutable _v71 = v71 │
00:25:27 verbose #59511 > │ │
00:25:27 verbose #59512 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59513 > │ │
00:25:27 verbose #59514 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59515 > │ let v73 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59516 > │ v73 │
00:25:27 verbose #59517 > │ #endif │
00:25:27 verbose #59518 > │ │
00:25:27 verbose #59519 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59520 > │ let v74 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59521 > │ v74 │
00:25:27 verbose #59522 > │ #endif │
00:25:27 verbose #59523 > │ │
00:25:27 verbose #59524 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59525 > │ let v75 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59526 > │ v75 │
00:25:27 verbose #59527 > │ #endif │
00:25:27 verbose #59528 > │ │
00:25:27 verbose #59529 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59530 > │ let v76 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59531 > │ v76 │
00:25:27 verbose #59532 > │ #endif │
00:25:27 verbose #59533 > │ │
00:25:27 verbose #59534 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59535 > │ let v77 : Async<unit> = null |> unbox<Async<unit>> │
00:25:27 verbose #59536 > │ v77 │
00:25:27 verbose #59537 > │ #endif │
00:25:27 verbose #59538 > │ │
00:25:27 verbose #59539 > │ #else │
00:25:27 verbose #59540 > │ let v78 : (int32 -> Async<unit>) = Async.Sleep │
00:25:27 verbose #59541 > │ let v79 : Async<unit> = v78 1 │
00:25:27 verbose #59542 > │ v79 │
00:25:27 verbose #59543 > │ #endif │
00:25:27 verbose #59544 > │ |> fun x -> _v71 <- Some x │
00:25:27 verbose #59545 > │ let v80 : Async<unit> = _v71.Value │
00:25:27 verbose #59546 > │ do! v80 │
00:25:27 verbose #59547 > │ let v81 : US0 = US0_1 │
00:25:27 verbose #59548 > │ let v82 : (unit -> string) = closure12() │
00:25:27 verbose #59549 > │ method1(v81, v82, v10) │
00:25:27 verbose #59550 > │ let v83 : int32 option = Some 60 │
00:25:27 verbose #59551 > │ let v84 : int64 = 0L │
00:25:27 verbose #59552 > │ let v85 : Async<int64> = method7(v83, v84) │
00:25:27 verbose #59553 > │ let! v85 = v85 │
00:25:27 verbose #59554 > │ let v86 : int64 = v85 │
00:25:27 verbose #59555 > │ let v87 : US0 = US0_1 │
00:25:27 verbose #59556 > │ let v88 : (unit -> string) = closure22() │
00:25:27 verbose #59557 > │ method1(v87, v88, v10) │
00:25:27 verbose #59558 > │ let v89 : int32 option = Some 60 │
00:25:27 verbose #59559 > │ let v90 : int64 = 0L │
00:25:27 verbose #59560 > │ let v91 : Async<int64> = method9(v89, v90) │
00:25:27 verbose #59561 > │ let! v91 = v91 │
00:25:27 verbose #59562 > │ let v92 : int64 = v91 │
00:25:27 verbose #59563 > │ let v93 : US0 = US0_1 │
00:25:27 verbose #59564 > │ let v94 : (unit -> string) = closure24() │
00:25:27 verbose #59565 > │ method1(v93, v94, v10) │
00:25:27 verbose #59566 > │ do! v68 │
00:25:27 verbose #59567 > │ let v95 : US0 = US0_1 │
00:25:27 verbose #59568 > │ let v96 : (unit -> string) = closure25() │
00:25:27 verbose #59569 > │ method1(v95, v96, v10) │
00:25:27 verbose #59570 > │ return struct (v86, v92) │
00:25:27 verbose #59571 > │ } │
00:25:27 verbose #59572 > │ |> fun x -> _v7 <- Some x │
00:25:27 verbose #59573 > │ let v97 : Async<struct (int64 * int64)> = _v7 |> Option.get │
00:25:27 verbose #59574 > │ v97 │
00:25:27 verbose #59575 > │ #endif │
00:25:27 verbose #59576 > │ |> fun x -> _v0 <- Some x │
00:25:27 verbose #59577 > │ let v98 : Async<struct (int64 * int64)> = _v0.Value │
00:25:27 verbose #59578 > │ let v99 : Async<US7> option = None │
00:25:27 verbose #59579 > │ let v100 : bool = true in let mutable _v99 = v99 │
00:25:27 verbose #59580 > │ │
00:25:27 verbose #59581 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59582 > │ │
00:25:27 verbose #59583 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59584 > │ let v101 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59585 > │ v101 │
00:25:27 verbose #59586 > │ #endif │
00:25:27 verbose #59587 > │ │
00:25:27 verbose #59588 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59589 > │ let v102 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59590 > │ v102 │
00:25:27 verbose #59591 > │ #endif │
00:25:27 verbose #59592 > │ │
00:25:27 verbose #59593 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59594 > │ let v103 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59595 > │ v103 │
00:25:27 verbose #59596 > │ #endif │
00:25:27 verbose #59597 > │ │
00:25:27 verbose #59598 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59599 > │ let v104 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59600 > │ v104 │
00:25:27 verbose #59601 > │ #endif │
00:25:27 verbose #59602 > │ │
00:25:27 verbose #59603 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59604 > │ let v105 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59605 > │ v105 │
00:25:27 verbose #59606 > │ #endif │
00:25:27 verbose #59607 > │ │
00:25:27 verbose #59608 > │ #else │
00:25:27 verbose #59609 > │ let v106 : Async<US7> option = None │
00:25:27 verbose #59610 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:27 verbose #59611 > │ │
00:25:27 verbose #59612 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59613 > │ │
00:25:27 verbose #59614 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59615 > │ let v108 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59616 > │ v108 │
00:25:27 verbose #59617 > │ #endif │
00:25:27 verbose #59618 > │ │
00:25:27 verbose #59619 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59620 > │ let v109 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59621 > │ v109 │
00:25:27 verbose #59622 > │ #endif │
00:25:27 verbose #59623 > │ │
00:25:27 verbose #59624 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59625 > │ let v110 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59626 > │ v110 │
00:25:27 verbose #59627 > │ #endif │
00:25:27 verbose #59628 > │ │
00:25:27 verbose #59629 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59630 > │ let v111 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59631 > │ v111 │
00:25:27 verbose #59632 > │ #endif │
00:25:27 verbose #59633 > │ │
00:25:27 verbose #59634 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59635 > │ let v112 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59636 > │ v112 │
00:25:27 verbose #59637 > │ #endif │
00:25:27 verbose #59638 > │ │
00:25:27 verbose #59639 > │ #else │
00:25:27 verbose #59640 > │ let v113 : Async<US7> option = None │
00:25:27 verbose #59641 > │ let mutable _v113 = v113 │
00:25:27 verbose #59642 > │ async { │
00:25:27 verbose #59643 > │ let v114 : Async<Async<struct (int64 * int64)>> option = None │
00:25:27 verbose #59644 > │ let v115 : bool = true in let mutable _v114 = v114 │
00:25:27 verbose #59645 > │ │
00:25:27 verbose #59646 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59647 > │ │
00:25:27 verbose #59648 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59649 > │ let v116 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:27 verbose #59650 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:27 verbose #59651 > │ v116 │
00:25:27 verbose #59652 > │ #endif │
00:25:27 verbose #59653 > │ │
00:25:27 verbose #59654 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59655 > │ let v117 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:27 verbose #59656 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:27 verbose #59657 > │ v117 │
00:25:27 verbose #59658 > │ #endif │
00:25:27 verbose #59659 > │ │
00:25:27 verbose #59660 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59661 > │ let v118 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:27 verbose #59662 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:27 verbose #59663 > │ v118 │
00:25:27 verbose #59664 > │ #endif │
00:25:27 verbose #59665 > │ │
00:25:27 verbose #59666 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59667 > │ let v119 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:27 verbose #59668 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:27 verbose #59669 > │ v119 │
00:25:27 verbose #59670 > │ #endif │
00:25:27 verbose #59671 > │ │
00:25:27 verbose #59672 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59673 > │ let v120 : Async<Async<struct (int64 * int64)>> = null |> │
00:25:27 verbose #59674 > │ unbox<Async<Async<struct (int64 * int64)>>> │
00:25:27 verbose #59675 > │ v120 │
00:25:27 verbose #59676 > │ #endif │
00:25:27 verbose #59677 > │ │
00:25:27 verbose #59678 > │ #else │
00:25:27 verbose #59679 > │ let v121 : Async<Async<struct (int64 * int64)>> = Async.StartChild (v98, │
00:25:27 verbose #59680 > │ 2000) │
00:25:27 verbose #59681 > │ v121 │
00:25:27 verbose #59682 > │ #endif │
00:25:27 verbose #59683 > │ |> fun x -> _v114 <- Some x │
00:25:27 verbose #59684 > │ let v122 : Async<Async<struct (int64 * int64)>> = _v114.Value │
00:25:27 verbose #59685 > │ let! v122 = v122 │
00:25:27 verbose #59686 > │ let v123 : Async<struct (int64 * int64)> = v122 │
00:25:27 verbose #59687 > │ let v124 : Async<Choice<struct (int64 * int64), exn>> option = None │
00:25:27 verbose #59688 > │ let v125 : bool = true in let mutable _v124 = v124 │
00:25:27 verbose #59689 > │ │
00:25:27 verbose #59690 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59691 > │ │
00:25:27 verbose #59692 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59693 > │ let v126 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:27 verbose #59694 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:27 verbose #59695 > │ v126 │
00:25:27 verbose #59696 > │ #endif │
00:25:27 verbose #59697 > │ │
00:25:27 verbose #59698 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59699 > │ let v127 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:27 verbose #59700 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:27 verbose #59701 > │ v127 │
00:25:27 verbose #59702 > │ #endif │
00:25:27 verbose #59703 > │ │
00:25:27 verbose #59704 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59705 > │ let v128 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:27 verbose #59706 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:27 verbose #59707 > │ v128 │
00:25:27 verbose #59708 > │ #endif │
00:25:27 verbose #59709 > │ │
00:25:27 verbose #59710 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59711 > │ let v129 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:27 verbose #59712 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:27 verbose #59713 > │ v129 │
00:25:27 verbose #59714 > │ #endif │
00:25:27 verbose #59715 > │ │
00:25:27 verbose #59716 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59717 > │ let v130 : Async<Choice<struct (int64 * int64), exn>> = null |> │
00:25:27 verbose #59718 > │ unbox<Async<Choice<struct (int64 * int64), exn>>> │
00:25:27 verbose #59719 > │ v130 │
00:25:27 verbose #59720 > │ #endif │
00:25:27 verbose #59721 > │ │
00:25:27 verbose #59722 > │ #else │
00:25:27 verbose #59723 > │ let v131 : (Async<struct (int64 * int64)> -> Async<Choice<struct (int64 │
00:25:27 verbose #59724 > │ * int64), exn>>) = Async.Catch │
00:25:27 verbose #59725 > │ let v132 : Async<Choice<struct (int64 * int64), exn>> = v131 v123 │
00:25:27 verbose #59726 > │ v132 │
00:25:27 verbose #59727 > │ #endif │
00:25:27 verbose #59728 > │ |> fun x -> _v124 <- Some x │
00:25:27 verbose #59729 > │ let v133 : Async<Choice<struct (int64 * int64), exn>> = _v124.Value │
00:25:27 verbose #59730 > │ let v134 : Async<US8> option = None │
00:25:27 verbose #59731 > │ let v135 : bool = true in let mutable _v134 = v134 │
00:25:27 verbose #59732 > │ │
00:25:27 verbose #59733 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59734 > │ │
00:25:27 verbose #59735 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59736 > │ let v136 : Async<US8> = null |> unbox<Async<US8>> │
00:25:27 verbose #59737 > │ v136 │
00:25:27 verbose #59738 > │ #endif │
00:25:27 verbose #59739 > │ │
00:25:27 verbose #59740 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59741 > │ let v137 : Async<US8> = null |> unbox<Async<US8>> │
00:25:27 verbose #59742 > │ v137 │
00:25:27 verbose #59743 > │ #endif │
00:25:27 verbose #59744 > │ │
00:25:27 verbose #59745 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59746 > │ let v138 : Async<US8> = null |> unbox<Async<US8>> │
00:25:27 verbose #59747 > │ v138 │
00:25:27 verbose #59748 > │ #endif │
00:25:27 verbose #59749 > │ │
00:25:27 verbose #59750 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59751 > │ let v139 : Async<US8> = null |> unbox<Async<US8>> │
00:25:27 verbose #59752 > │ v139 │
00:25:27 verbose #59753 > │ #endif │
00:25:27 verbose #59754 > │ │
00:25:27 verbose #59755 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59756 > │ let v140 : Async<US8> = null |> unbox<Async<US8>> │
00:25:27 verbose #59757 > │ v140 │
00:25:27 verbose #59758 > │ #endif │
00:25:27 verbose #59759 > │ │
00:25:27 verbose #59760 > │ #else │
00:25:27 verbose #59761 > │ let v141 : Async<US8> option = None │
00:25:27 verbose #59762 > │ let mutable _v141 = v141 │
00:25:27 verbose #59763 > │ async { │
00:25:27 verbose #59764 > │ let! v133 = v133 │
00:25:27 verbose #59765 > │ let v142 : Choice<struct (int64 * int64), exn> = v133 │
00:25:27 verbose #59766 > │ let v143 : US8 option = None │
00:25:27 verbose #59767 > │ let v144 : bool = true in let mutable _v143 = v143 │
00:25:27 verbose #59768 > │ │
00:25:27 verbose #59769 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59770 > │ │
00:25:27 verbose #59771 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59772 > │ let v145 : US8 = null |> unbox<US8> │
00:25:27 verbose #59773 > │ v145 │
00:25:27 verbose #59774 > │ #endif │
00:25:27 verbose #59775 > │ │
00:25:27 verbose #59776 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59777 > │ let v146 : US8 = null |> unbox<US8> │
00:25:27 verbose #59778 > │ v146 │
00:25:27 verbose #59779 > │ #endif │
00:25:27 verbose #59780 > │ │
00:25:27 verbose #59781 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59782 > │ let v147 : US8 = null |> unbox<US8> │
00:25:27 verbose #59783 > │ v147 │
00:25:27 verbose #59784 > │ #endif │
00:25:27 verbose #59785 > │ │
00:25:27 verbose #59786 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59787 > │ let v148 : US8 = null |> unbox<US8> │
00:25:27 verbose #59788 > │ v148 │
00:25:27 verbose #59789 > │ #endif │
00:25:27 verbose #59790 > │ │
00:25:27 verbose #59791 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59792 > │ let v149 : US8 = null |> unbox<US8> │
00:25:27 verbose #59793 > │ v149 │
00:25:27 verbose #59794 > │ #endif │
00:25:27 verbose #59795 > │ │
00:25:27 verbose #59796 > │ #else │
00:25:27 verbose #59797 > │ let v150 : (struct (int64 * int64) -> US8) = closure26() │
00:25:27 verbose #59798 > │ let v151 : (exn -> US8) = closure27() │
00:25:27 verbose #59799 > │ let v152 : US8 = match v142 with Choice1Of2 x -> v150 x | Choice2Of2 x │
00:25:27 verbose #59800 > │ -> v151 x │
00:25:27 verbose #59801 > │ v152 │
00:25:27 verbose #59802 > │ #endif │
00:25:27 verbose #59803 > │ |> fun x -> _v143 <- Some x │
00:25:27 verbose #59804 > │ let v153 : US8 = _v143.Value │
00:25:27 verbose #59805 > │ return v153 │
00:25:27 verbose #59806 > │ } │
00:25:27 verbose #59807 > │ |> fun x -> _v141 <- Some x │
00:25:27 verbose #59808 > │ let v154 : Async<US8> = _v141 |> Option.get │
00:25:27 verbose #59809 > │ v154 │
00:25:27 verbose #59810 > │ #endif │
00:25:27 verbose #59811 > │ |> fun x -> _v134 <- Some x │
00:25:27 verbose #59812 > │ let v155 : Async<US8> = _v134.Value │
00:25:27 verbose #59813 > │ let v156 : Async<US9> option = None │
00:25:27 verbose #59814 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:25:27 verbose #59815 > │ │
00:25:27 verbose #59816 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59817 > │ │
00:25:27 verbose #59818 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59819 > │ let v158 : Async<US9> = null |> unbox<Async<US9>> │
00:25:27 verbose #59820 > │ v158 │
00:25:27 verbose #59821 > │ #endif │
00:25:27 verbose #59822 > │ │
00:25:27 verbose #59823 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59824 > │ let v159 : Async<US9> = null |> unbox<Async<US9>> │
00:25:27 verbose #59825 > │ v159 │
00:25:27 verbose #59826 > │ #endif │
00:25:27 verbose #59827 > │ │
00:25:27 verbose #59828 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59829 > │ let v160 : Async<US9> = null |> unbox<Async<US9>> │
00:25:27 verbose #59830 > │ v160 │
00:25:27 verbose #59831 > │ #endif │
00:25:27 verbose #59832 > │ │
00:25:27 verbose #59833 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59834 > │ let v161 : Async<US9> = null |> unbox<Async<US9>> │
00:25:27 verbose #59835 > │ v161 │
00:25:27 verbose #59836 > │ #endif │
00:25:27 verbose #59837 > │ │
00:25:27 verbose #59838 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59839 > │ let v162 : Async<US9> = null |> unbox<Async<US9>> │
00:25:27 verbose #59840 > │ v162 │
00:25:27 verbose #59841 > │ #endif │
00:25:27 verbose #59842 > │ │
00:25:27 verbose #59843 > │ #else │
00:25:27 verbose #59844 > │ let v163 : Async<US9> option = None │
00:25:27 verbose #59845 > │ let mutable _v163 = v163 │
00:25:27 verbose #59846 > │ async { │
00:25:27 verbose #59847 > │ let! v155 = v155 │
00:25:27 verbose #59848 > │ let v164 : US8 = v155 │
00:25:27 verbose #59849 > │ let v171 : US9 = │
00:25:27 verbose #59850 > │ match v164 with │
00:25:27 verbose #59851 > │ | US8_0(v165, v166) -> (* Choice1Of2 *) │
00:25:27 verbose #59852 > │ US9_0(v165, v166) │
00:25:27 verbose #59853 > │ | US8_1(v168) -> (* Choice2Of2 *) │
00:25:27 verbose #59854 > │ US9_1(v168) │
00:25:27 verbose #59855 > │ return v171 │
00:25:27 verbose #59856 > │ } │
00:25:27 verbose #59857 > │ |> fun x -> _v163 <- Some x │
00:25:27 verbose #59858 > │ let v172 : Async<US9> = _v163 |> Option.get │
00:25:27 verbose #59859 > │ v172 │
00:25:27 verbose #59860 > │ #endif │
00:25:27 verbose #59861 > │ |> fun x -> _v156 <- Some x │
00:25:27 verbose #59862 > │ let v173 : Async<US9> = _v156.Value │
00:25:27 verbose #59863 > │ let v174 : Async<US7> option = None │
00:25:27 verbose #59864 > │ let v175 : bool = true in let mutable _v174 = v174 │
00:25:27 verbose #59865 > │ │
00:25:27 verbose #59866 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59867 > │ │
00:25:27 verbose #59868 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59869 > │ let v176 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59870 > │ v176 │
00:25:27 verbose #59871 > │ #endif │
00:25:27 verbose #59872 > │ │
00:25:27 verbose #59873 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59874 > │ let v177 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59875 > │ v177 │
00:25:27 verbose #59876 > │ #endif │
00:25:27 verbose #59877 > │ │
00:25:27 verbose #59878 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59879 > │ let v178 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59880 > │ v178 │
00:25:27 verbose #59881 > │ #endif │
00:25:27 verbose #59882 > │ │
00:25:27 verbose #59883 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59884 > │ let v179 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59885 > │ v179 │
00:25:27 verbose #59886 > │ #endif │
00:25:27 verbose #59887 > │ │
00:25:27 verbose #59888 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59889 > │ let v180 : Async<US7> = null |> unbox<Async<US7>> │
00:25:27 verbose #59890 > │ v180 │
00:25:27 verbose #59891 > │ #endif │
00:25:27 verbose #59892 > │ │
00:25:27 verbose #59893 > │ #else │
00:25:27 verbose #59894 > │ let v181 : Async<US7> option = None │
00:25:27 verbose #59895 > │ let mutable _v181 = v181 │
00:25:27 verbose #59896 > │ async { │
00:25:27 verbose #59897 > │ let! v173 = v173 │
00:25:27 verbose #59898 > │ let v182 : US9 = v173 │
00:25:27 verbose #59899 > │ let v209 : US7 = │
00:25:27 verbose #59900 > │ match v182 with │
00:25:27 verbose #59901 > │ | US9_1(v186) -> (* Error *) │
00:25:27 verbose #59902 > │ let v187 : string = $"%A{v186}" │
00:25:27 verbose #59903 > │ let v188 : string = "System.TimeoutException" │
00:25:27 verbose #59904 > │ let v189 : bool = v187.Contains v188 │
00:25:27 verbose #59905 > │ if v189 then │
00:25:27 verbose #59906 > │ let v190 : US0 = US0_1 │
00:25:27 verbose #59907 > │ let v191 : (unit -> string) = closure17() │
00:25:27 verbose #59908 > │ let v192 : (unit -> string) = closure28() │
00:25:27 verbose #59909 > │ method1(v190, v191, v192) │
00:25:27 verbose #59910 > │ US7_1 │
00:25:27 verbose #59911 > │ else │
00:25:27 verbose #59912 > │ let v194 : string option = None │
00:25:27 verbose #59913 > │ let v195 : bool = true in let mutable _v194 = v194 │
00:25:27 verbose #59914 > │ │
00:25:27 verbose #59915 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59916 > │ │
00:25:27 verbose #59917 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59918 > │ let v196 : string = $"%A{v186}" │
00:25:27 verbose #59919 > │ v196 │
00:25:27 verbose #59920 > │ #endif │
00:25:27 verbose #59921 > │ │
00:25:27 verbose #59922 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59923 > │ let v197 : string = $"%A{v186}" │
00:25:27 verbose #59924 > │ v197 │
00:25:27 verbose #59925 > │ #endif │
00:25:27 verbose #59926 > │ │
00:25:27 verbose #59927 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59928 > │ let v198 : string = $"%A{v186}" │
00:25:27 verbose #59929 > │ v198 │
00:25:27 verbose #59930 > │ #endif │
00:25:27 verbose #59931 > │ │
00:25:27 verbose #59932 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59933 > │ let v199 : string = $"%A{v186}" │
00:25:27 verbose #59934 > │ v199 │
00:25:27 verbose #59935 > │ #endif │
00:25:27 verbose #59936 > │ │
00:25:27 verbose #59937 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #59938 > │ let v200 : string = $"%A{v186}" │
00:25:27 verbose #59939 > │ v200 │
00:25:27 verbose #59940 > │ #endif │
00:25:27 verbose #59941 > │ │
00:25:27 verbose #59942 > │ #else │
00:25:27 verbose #59943 > │ let v201 : string = $"{v186.GetType ()}: {v186.Message}" │
00:25:27 verbose #59944 > │ v201 │
00:25:27 verbose #59945 > │ #endif │
00:25:27 verbose #59946 > │ |> fun x -> _v194 <- Some x │
00:25:27 verbose #59947 > │ let v202 : string = _v194.Value │
00:25:27 verbose #59948 > │ let v203 : US0 = US0_4 │
00:25:27 verbose #59949 > │ let v204 : (unit -> string) = closure19(v202) │
00:25:27 verbose #59950 > │ let v205 : (unit -> string) = closure28() │
00:25:27 verbose #59951 > │ method1(v203, v204, v205) │
00:25:27 verbose #59952 > │ US7_1 │
00:25:27 verbose #59953 > │ | US9_0(v183, v184) -> (* Ok *) │
00:25:27 verbose #59954 > │ US7_0(v183, v184) │
00:25:27 verbose #59955 > │ return v209 │
00:25:27 verbose #59956 > │ } │
00:25:27 verbose #59957 > │ |> fun x -> _v181 <- Some x │
00:25:27 verbose #59958 > │ let v210 : Async<US7> = _v181 |> Option.get │
00:25:27 verbose #59959 > │ v210 │
00:25:27 verbose #59960 > │ #endif │
00:25:27 verbose #59961 > │ |> fun x -> _v174 <- Some x │
00:25:27 verbose #59962 > │ let v211 : Async<US7> = _v174.Value │
00:25:27 verbose #59963 > │ return! v211 │
00:25:27 verbose #59964 > │ } │
00:25:27 verbose #59965 > │ |> fun x -> _v113 <- Some x │
00:25:27 verbose #59966 > │ let v212 : Async<US7> = _v113 |> Option.get │
00:25:27 verbose #59967 > │ v212 │
00:25:27 verbose #59968 > │ #endif │
00:25:27 verbose #59969 > │ |> fun x -> _v106 <- Some x │
00:25:27 verbose #59970 > │ let v213 : Async<US7> = _v106.Value │
00:25:27 verbose #59971 > │ v213 │
00:25:27 verbose #59972 > │ #endif │
00:25:27 verbose #59973 > │ |> fun x -> _v99 <- Some x │
00:25:27 verbose #59974 > │ let v214 : Async<US7> = _v99.Value │
00:25:27 verbose #59975 > │ let v215 : US7 option = None │
00:25:27 verbose #59976 > │ let v216 : bool = true in let mutable _v215 = v215 │
00:25:27 verbose #59977 > │ │
00:25:27 verbose #59978 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #59979 > │ │
00:25:27 verbose #59980 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #59981 > │ let v217 : US7 = null |> unbox<US7> │
00:25:27 verbose #59982 > │ v217 │
00:25:27 verbose #59983 > │ #endif │
00:25:27 verbose #59984 > │ │
00:25:27 verbose #59985 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #59986 > │ let v218 : US7 = null |> unbox<US7> │
00:25:27 verbose #59987 > │ v218 │
00:25:27 verbose #59988 > │ #endif │
00:25:27 verbose #59989 > │ │
00:25:27 verbose #59990 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #59991 > │ let v219 : US7 = null |> unbox<US7> │
00:25:27 verbose #59992 > │ v219 │
00:25:27 verbose #59993 > │ #endif │
00:25:27 verbose #59994 > │ │
00:25:27 verbose #59995 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #59996 > │ let v220 : US7 = null |> unbox<US7> │
00:25:27 verbose #59997 > │ v220 │
00:25:27 verbose #59998 > │ #endif │
00:25:27 verbose #59999 > │ │
00:25:27 verbose #60000 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #60001 > │ let v221 : US7 = null |> unbox<US7> │
00:25:27 verbose #60002 > │ v221 │
00:25:27 verbose #60003 > │ #endif │
00:25:27 verbose #60004 > │ │
00:25:27 verbose #60005 > │ #else │
00:25:27 verbose #60006 > │ let v222 : (Async<US7> -> US7) = Async.RunSynchronously │
00:25:27 verbose #60007 > │ let v223 : US7 = v222 v214 │
00:25:27 verbose #60008 > │ v223 │
00:25:27 verbose #60009 > │ #endif │
00:25:27 verbose #60010 > │ |> fun x -> _v215 <- Some x │
00:25:27 verbose #60011 > │ let v224 : US7 = _v215.Value │
00:25:27 verbose #60012 > │ let v298 : bool = │
00:25:27 verbose #60013 > │ match v224 with │
00:25:27 verbose #60014 > │ | US7_0(v225, v226) -> (* Some *) │
00:25:27 verbose #60015 > │ let v227 : bool option = None │
00:25:27 verbose #60016 > │ let v228 : bool = true in let mutable _v227 = v227 │
00:25:27 verbose #60017 > │ │
00:25:27 verbose #60018 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #60019 > │ │
00:25:27 verbose #60020 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #60021 > │ let v229 : string = "cfg!(windows)" │
00:25:27 verbose #60022 > │ let v230 : bool = Fable.Core.RustInterop.emitRustExpr () v229 │
00:25:27 verbose #60023 > │ v230 │
00:25:27 verbose #60024 > │ #endif │
00:25:27 verbose #60025 > │ │
00:25:27 verbose #60026 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #60027 > │ let v231 : bool = null |> unbox<bool> │
00:25:27 verbose #60028 > │ v231 │
00:25:27 verbose #60029 > │ #endif │
00:25:27 verbose #60030 > │ │
00:25:27 verbose #60031 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #60032 > │ let v232 : bool = null |> unbox<bool> │
00:25:27 verbose #60033 > │ v232 │
00:25:27 verbose #60034 > │ #endif │
00:25:27 verbose #60035 > │ │
00:25:27 verbose #60036 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #60037 > │ let v233 : bool = null |> unbox<bool> │
00:25:27 verbose #60038 > │ v233 │
00:25:27 verbose #60039 > │ #endif │
00:25:27 verbose #60040 > │ │
00:25:27 verbose #60041 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #60042 > │ let v234 : bool = null |> unbox<bool> │
00:25:27 verbose #60043 > │ v234 │
00:25:27 verbose #60044 > │ #endif │
00:25:27 verbose #60045 > │ │
00:25:27 verbose #60046 > │ #else │
00:25:27 verbose #60047 > │ let v235 : System.Runtime.InteropServices.OSPlatform = │
00:25:27 verbose #60048 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:27 verbose #60049 > │ let v236 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:27 verbose #60050 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:27 verbose #60051 > │ let v237 : bool = v236 v235 │
00:25:27 verbose #60052 > │ v237 │
00:25:27 verbose #60053 > │ #endif │
00:25:27 verbose #60054 > │ |> fun x -> _v227 <- Some x │
00:25:27 verbose #60055 > │ let v238 : bool = _v227.Value │
00:25:27 verbose #60056 > │ let v239 : int64 = │
00:25:27 verbose #60057 > │ if v238 then │
00:25:27 verbose #60058 > │ 4L │
00:25:27 verbose #60059 > │ else │
00:25:27 verbose #60060 > │ 2L │
00:25:27 verbose #60061 > │ let v240 : bool option = None │
00:25:27 verbose #60062 > │ let v241 : bool = true in let mutable _v240 = v240 │
00:25:27 verbose #60063 > │ │
00:25:27 verbose #60064 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #60065 > │ │
00:25:27 verbose #60066 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #60067 > │ let v242 : string = "cfg!(windows)" │
00:25:27 verbose #60068 > │ let v243 : bool = Fable.Core.RustInterop.emitRustExpr () v242 │
00:25:27 verbose #60069 > │ v243 │
00:25:27 verbose #60070 > │ #endif │
00:25:27 verbose #60071 > │ │
00:25:27 verbose #60072 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #60073 > │ let v244 : bool = null |> unbox<bool> │
00:25:27 verbose #60074 > │ v244 │
00:25:27 verbose #60075 > │ #endif │
00:25:27 verbose #60076 > │ │
00:25:27 verbose #60077 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #60078 > │ let v245 : bool = null |> unbox<bool> │
00:25:27 verbose #60079 > │ v245 │
00:25:27 verbose #60080 > │ #endif │
00:25:27 verbose #60081 > │ │
00:25:27 verbose #60082 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #60083 > │ let v246 : bool = null |> unbox<bool> │
00:25:27 verbose #60084 > │ v246 │
00:25:27 verbose #60085 > │ #endif │
00:25:27 verbose #60086 > │ │
00:25:27 verbose #60087 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #60088 > │ let v247 : bool = null |> unbox<bool> │
00:25:27 verbose #60089 > │ v247 │
00:25:27 verbose #60090 > │ #endif │
00:25:27 verbose #60091 > │ │
00:25:27 verbose #60092 > │ #else │
00:25:27 verbose #60093 > │ let v248 : System.Runtime.InteropServices.OSPlatform = │
00:25:27 verbose #60094 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:27 verbose #60095 > │ let v249 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:27 verbose #60096 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:27 verbose #60097 > │ let v250 : bool = v249 v248 │
00:25:27 verbose #60098 > │ v250 │
00:25:27 verbose #60099 > │ #endif │
00:25:27 verbose #60100 > │ |> fun x -> _v240 <- Some x │
00:25:27 verbose #60101 > │ let v251 : bool = _v240.Value │
00:25:27 verbose #60102 > │ let v252 : int64 = │
00:25:27 verbose #60103 > │ if v251 then │
00:25:27 verbose #60104 > │ 15L │
00:25:27 verbose #60105 > │ else │
00:25:27 verbose #60106 > │ 150L │
00:25:27 verbose #60107 > │ let v253 : bool = v225 >= v239 │
00:25:27 verbose #60108 > │ let v255 : bool = │
00:25:27 verbose #60109 > │ if v253 then │
00:25:27 verbose #60110 > │ true │
00:25:27 verbose #60111 > │ else │
00:25:27 verbose #60112 > │ method10(v253) │
00:25:27 verbose #60113 > │ let v256 : bool = v255 = false │
00:25:27 verbose #60114 > │ if v256 then │
00:25:27 verbose #60115 > │ failwith<unit> "__expect" │
00:25:27 verbose #60116 > │ let v257 : bool = v225 <= v252 │
00:25:27 verbose #60117 > │ let v259 : bool = │
00:25:27 verbose #60118 > │ if v257 then │
00:25:27 verbose #60119 > │ true │
00:25:27 verbose #60120 > │ else │
00:25:27 verbose #60121 > │ method10(v257) │
00:25:27 verbose #60122 > │ let v260 : bool = v259 = false │
00:25:27 verbose #60123 > │ if v260 then │
00:25:27 verbose #60124 > │ failwith<unit> "__expect" │
00:25:27 verbose #60125 > │ let v261 : string = "assert_between" │
00:25:27 verbose #60126 > │ let v262 : string = $"{v261} / actual: %A{v225} / expected: │
00:25:27 verbose #60127 > │ %A{struct (v239, v252)}" │
00:25:27 verbose #60128 > │ System.Console.WriteLine v262 │
00:25:27 verbose #60129 > │ let v263 : bool option = None │
00:25:27 verbose #60130 > │ let v264 : bool = true in let mutable _v263 = v263 │
00:25:27 verbose #60131 > │ │
00:25:27 verbose #60132 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #60133 > │ │
00:25:27 verbose #60134 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #60135 > │ let v265 : string = "cfg!(windows)" │
00:25:27 verbose #60136 > │ let v266 : bool = Fable.Core.RustInterop.emitRustExpr () v265 │
00:25:27 verbose #60137 > │ v266 │
00:25:27 verbose #60138 > │ #endif │
00:25:27 verbose #60139 > │ │
00:25:27 verbose #60140 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #60141 > │ let v267 : bool = null |> unbox<bool> │
00:25:27 verbose #60142 > │ v267 │
00:25:27 verbose #60143 > │ #endif │
00:25:27 verbose #60144 > │ │
00:25:27 verbose #60145 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #60146 > │ let v268 : bool = null |> unbox<bool> │
00:25:27 verbose #60147 > │ v268 │
00:25:27 verbose #60148 > │ #endif │
00:25:27 verbose #60149 > │ │
00:25:27 verbose #60150 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #60151 > │ let v269 : bool = null |> unbox<bool> │
00:25:27 verbose #60152 > │ v269 │
00:25:27 verbose #60153 > │ #endif │
00:25:27 verbose #60154 > │ │
00:25:27 verbose #60155 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #60156 > │ let v270 : bool = null |> unbox<bool> │
00:25:27 verbose #60157 > │ v270 │
00:25:27 verbose #60158 > │ #endif │
00:25:27 verbose #60159 > │ │
00:25:27 verbose #60160 > │ #else │
00:25:27 verbose #60161 > │ let v271 : System.Runtime.InteropServices.OSPlatform = │
00:25:27 verbose #60162 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:27 verbose #60163 > │ let v272 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:27 verbose #60164 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:27 verbose #60165 > │ let v273 : bool = v272 v271 │
00:25:27 verbose #60166 > │ v273 │
00:25:27 verbose #60167 > │ #endif │
00:25:27 verbose #60168 > │ |> fun x -> _v263 <- Some x │
00:25:27 verbose #60169 > │ let v274 : bool = _v263.Value │
00:25:27 verbose #60170 > │ let v275 : int64 = │
00:25:27 verbose #60171 > │ if v274 then │
00:25:27 verbose #60172 > │ 5L │
00:25:27 verbose #60173 > │ else │
00:25:27 verbose #60174 > │ 0L │
00:25:27 verbose #60175 > │ let v276 : bool option = None │
00:25:27 verbose #60176 > │ let v277 : bool = true in let mutable _v276 = v276 │
00:25:27 verbose #60177 > │ │
00:25:27 verbose #60178 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:27 verbose #60179 > │ │
00:25:27 verbose #60180 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:27 verbose #60181 > │ let v278 : string = "cfg!(windows)" │
00:25:27 verbose #60182 > │ let v279 : bool = Fable.Core.RustInterop.emitRustExpr () v278 │
00:25:27 verbose #60183 > │ v279 │
00:25:27 verbose #60184 > │ #endif │
00:25:27 verbose #60185 > │ │
00:25:27 verbose #60186 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:27 verbose #60187 > │ let v280 : bool = null |> unbox<bool> │
00:25:27 verbose #60188 > │ v280 │
00:25:27 verbose #60189 > │ #endif │
00:25:27 verbose #60190 > │ │
00:25:27 verbose #60191 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:27 verbose #60192 > │ let v281 : bool = null |> unbox<bool> │
00:25:27 verbose #60193 > │ v281 │
00:25:27 verbose #60194 > │ #endif │
00:25:27 verbose #60195 > │ │
00:25:27 verbose #60196 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:27 verbose #60197 > │ let v282 : bool = null |> unbox<bool> │
00:25:27 verbose #60198 > │ v282 │
00:25:27 verbose #60199 > │ #endif │
00:25:27 verbose #60200 > │ │
00:25:27 verbose #60201 > │ #if FABLE_COMPILER_PYTHON │
00:25:27 verbose #60202 > │ let v283 : bool = null |> unbox<bool> │
00:25:27 verbose #60203 > │ v283 │
00:25:27 verbose #60204 > │ #endif │
00:25:27 verbose #60205 > │ │
00:25:27 verbose #60206 > │ #else │
00:25:27 verbose #60207 > │ let v284 : System.Runtime.InteropServices.OSPlatform = │
00:25:27 verbose #60208 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:27 verbose #60209 > │ let v285 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:27 verbose #60210 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:27 verbose #60211 > │ let v286 : bool = v285 v284 │
00:25:27 verbose #60212 > │ v286 │
00:25:27 verbose #60213 > │ #endif │
00:25:27 verbose #60214 > │ |> fun x -> _v276 <- Some x │
00:25:27 verbose #60215 > │ let v287 : bool = _v276.Value │
00:25:27 verbose #60216 > │ let v288 : int64 = │
00:25:27 verbose #60217 > │ if v287 then │
00:25:27 verbose #60218 > │ 20L │
00:25:27 verbose #60219 > │ else │
00:25:27 verbose #60220 > │ 60L │
00:25:27 verbose #60221 > │ let v289 : bool = v226 >= v275 │
00:25:27 verbose #60222 > │ let v291 : bool = │
00:25:27 verbose #60223 > │ if v289 then │
00:25:27 verbose #60224 > │ true │
00:25:27 verbose #60225 > │ else │
00:25:27 verbose #60226 > │ method10(v289) │
00:25:27 verbose #60227 > │ let v292 : bool = v291 = false │
00:25:27 verbose #60228 > │ if v292 then │
00:25:27 verbose #60229 > │ failwith<unit> "__expect" │
00:25:27 verbose #60230 > │ let v293 : bool = v226 <= v288 │
00:25:27 verbose #60231 > │ let v295 : bool = │
00:25:27 verbose #60232 > │ if v293 then │
00:25:27 verbose #60233 > │ true │
00:25:27 verbose #60234 > │ else │
00:25:27 verbose #60235 > │ method10(v293) │
00:25:27 verbose #60236 > │ let v296 : bool = v295 = false │
00:25:27 verbose #60237 > │ if v296 then │
00:25:27 verbose #60238 > │ failwith<unit> "__expect" │
00:25:27 verbose #60239 > │ let v297 : string = $"{v261} / actual: %A{v226} / expected: │
00:25:27 verbose #60240 > │ %A{struct (v275, v288)}" │
00:25:27 verbose #60241 > │ System.Console.WriteLine v297 │
00:25:27 verbose #60242 > │ true │
00:25:27 verbose #60243 > │ | _ -> │
00:25:27 verbose #60244 > │ false │
00:25:27 verbose #60245 > │ let v300 : bool = │
00:25:27 verbose #60246 > │ if v298 then │
00:25:27 verbose #60247 > │ true │
00:25:27 verbose #60248 > │ else │
00:25:27 verbose #60249 > │ method10(v298) │
00:25:27 verbose #60250 > │ let v301 : string = "assert_eq" │
00:25:27 verbose #60251 > │ let v302 : string = $"{v301} / actual: %A{v298} / expected: %A{true}" │
00:25:27 verbose #60252 > │ System.Console.WriteLine v302 │
00:25:27 verbose #60253 > │ let v303 : bool = v300 = false │
00:25:27 verbose #60254 > │ if v303 then │
00:25:27 verbose #60255 > │ failwith<unit> v302 │
00:25:27 verbose #60256 > │ method0() │
00:25:27 verbose #60257 > │ │
00:25:27 verbose #60258 > │ 00:00:00 debug #1 1 │
00:25:27 verbose #60259 > │ 00:00:00 debug #2 2 │
00:25:27 verbose #60260 > │ 00:00:00 debug #3 _1 │
00:25:27 verbose #60261 > │ 00:00:00 debug #4 3 │
00:25:27 verbose #60262 > │ 00:00:00 debug #5 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60263 > │ 00:00:00 verbose #6 wait_for_port_access / port: 5555 / retry: 0 / timeout: │
00:25:27 verbose #60264 > │ Some 60 / status: True │
00:25:27 verbose #60265 > │ 00:00:00 debug #7 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60266 > │ 00:00:00 debug #8 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60267 > │ 00:00:00 debug #9 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60268 > │ 00:00:00 debug #10 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60269 > │ 00:00:00 debug #11 _2 │
00:25:27 verbose #60270 > │ 00:00:00 debug #12 _3 │
00:25:27 verbose #60271 > │ 00:00:00 debug #13 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60272 > │ 00:00:00 debug #14 4 │
00:25:27 verbose #60273 > │ 00:00:00 verbose #15 wait_for_port_access / port: 5555 / retry: 0 / timeout: │
00:25:27 verbose #60274 > │ Some 60 / status: False │
00:25:27 verbose #60275 > │ 00:00:00 debug #16 _4 │
00:25:27 verbose #60276 > │ 00:00:00 debug #17 _5 │
00:25:27 verbose #60277 > │ 00:00:00 debug #18 run_with_timeout_async / timeout: 60 │
00:25:27 verbose #60278 > │ 00:00:00 debug #19 5 │
00:25:27 verbose #60279 > │ 00:00:00 debug #20 6 │
00:25:27 verbose #60280 > │ assert_between / actual: 6L / expected: struct (4L, 15L) │
00:25:27 verbose #60281 > │ assert_between / actual: 12L / expected: struct (5L, 20L) │
00:25:27 verbose #60282 > │ assert_eq / actual: true / expected: true │
00:25:27 verbose #60283 > │ │
00:25:27 verbose #60284 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:27 verbose #60285 >
00:25:27 verbose #60286 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:27 verbose #60287 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:27 verbose #60288 > │ ## get_available_port │
00:25:27 verbose #60289 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:27 verbose #60290 >
00:25:27 verbose #60291 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:27 verbose #60292 > inl get_available_port timeout initial_port : _ i32 =
00:25:27 verbose #60293 > let rec loop port = async.new_async_unit fun () =>
00:25:27 verbose #60294 > inl is_port_open =
00:25:27 verbose #60295 > match timeout |> optionm'.unbox with
00:25:27 verbose #60296 > | None => test_port_open port
00:25:27 verbose #60297 > | Some timeout => test_port_open_timeout timeout port
00:25:27 verbose #60298 > |> async.let'
00:25:27 verbose #60299 > fix_condition
00:25:27 verbose #60300 > fun () => is_port_open |> not
00:25:27 verbose #60301 > fun () => port |> return
00:25:27 verbose #60302 > fun () => loop (port + 1) |> async.return_await
00:25:27 verbose #60303 > loop initial_port
00:25:28 verbose #60304 > 00:25:27 debug #902 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2170fb7bd2c21088f97f7b85b2695923ca6c881d8ce34b0689d246a750461ea9/main.spi
00:25:28 verbose #60305 >
00:25:28 verbose #60306 > ╭─[ 861.90ms - stdout ]────────────────────────────────────────────────────────╮
00:25:28 verbose #60307 > │ () │
00:25:28 verbose #60308 > │ │
00:25:28 verbose #60309 > │ │
00:25:28 verbose #60310 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:28 verbose #60311 >
00:25:28 verbose #60312 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:28 verbose #60313 > //// test
00:25:28 verbose #60314 >
00:25:28 verbose #60315 > inl lock_ports port = async.new_async_unit fun () =>
00:25:28 verbose #60316 > trace Debug (fun () => "_1") _locals
00:25:28 verbose #60317 > inl listener1 = new_tcp_listener (ip_address_parse "127.0.0.1") port |> use
00:25:28 verbose #60318 > inl listener2 = new_tcp_listener (ip_address_parse "127.0.0.1") (port + 1)
00:25:28 verbose #60319 > |> use
00:25:28 verbose #60320 > trace Debug (fun () => "_2") _locals
00:25:28 verbose #60321 > listener1 |> listener_start
00:25:28 verbose #60322 > listener2 |> listener_start
00:25:28 verbose #60323 > trace Debug (fun () => "_3") _locals
00:25:28 verbose #60324 > async.sleep 4000 |> async.do
00:25:28 verbose #60325 > trace Debug (fun () => "_4") _locals
00:25:28 verbose #60326 > listener1 |> listener_stop
00:25:28 verbose #60327 > listener2 |> listener_stop
00:25:28 verbose #60328 > trace Debug (fun () => "_5") _locals
00:25:28 verbose #60329 >
00:25:28 verbose #60330 > inl port = 5555
00:25:28 verbose #60331 >
00:25:28 verbose #60332 > fun () =>
00:25:28 verbose #60333 > trace Debug (fun () => "1") _locals
00:25:28 verbose #60334 > inl child = lock_ports port |> async.start_child |> async.let'
00:25:28 verbose #60335 > trace Debug (fun () => "2") _locals
00:25:28 verbose #60336 > async.sleep 240 |> async.do
00:25:28 verbose #60337 > trace Debug (fun () => "3") _locals
00:25:28 verbose #60338 > inl available_port = get_available_port (None |> optionm'.box) port |>
00:25:28 verbose #60339 > async.let'
00:25:28 verbose #60340 > trace Debug (fun () => "4") _locals
00:25:28 verbose #60341 > inl retries = wait_for_port_access (None |> optionm'.box) false port |>
00:25:28 verbose #60342 > async.let'
00:25:28 verbose #60343 > trace Debug (fun () => "5") _locals
00:25:28 verbose #60344 > child |> async.do
00:25:28 verbose #60345 > trace Debug (fun () => "6") _locals
00:25:28 verbose #60346 > (available_port, retries) |> return
00:25:28 verbose #60347 > |> async.new_async_unit
00:25:28 verbose #60348 > |> async.run_with_timeout 15000
00:25:28 verbose #60349 > |> function
00:25:28 verbose #60350 > | Some (available_port, retries) =>
00:25:28 verbose #60351 > available_port |> _assert_eq (port + 2)
00:25:28 verbose #60352 >
00:25:28 verbose #60353 > retries
00:25:28 verbose #60354 > |> _assert_between
00:25:28 verbose #60355 > if runtime.is_windows () then 100i64 else 100
00:25:28 verbose #60356 > if runtime.is_windows () then 150 else 1200
00:25:28 verbose #60357 >
00:25:28 verbose #60358 > true
00:25:28 verbose #60359 > | _ => false
00:25:28 verbose #60360 > |> _assert_eq true
00:25:29 verbose #60361 > 00:25:28 debug #903 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/20f3c9fb84edc842fe8a7e2a739a3910bd6d2d397a3168907223daa5d9cb6776/main.spi
00:25:36 verbose #60362 >
00:25:36 verbose #60363 > ╭─[ 8.17s - stdout ]───────────────────────────────────────────────────────────╮
00:25:36 verbose #60364 > │ module State = let mutable trace_state = None │
00:25:36 verbose #60365 > │ type [<Struct>] US0 = │
00:25:36 verbose #60366 > │ | US0_0 │
00:25:36 verbose #60367 > │ | US0_1 │
00:25:36 verbose #60368 > │ | US0_2 │
00:25:36 verbose #60369 > │ | US0_3 │
00:25:36 verbose #60370 > │ | US0_4 │
00:25:36 verbose #60371 > │ and Mut0 = {mutable l0 : int64} │
00:25:36 verbose #60372 > │ and Mut1 = {mutable l0 : bool} │
00:25:36 verbose #60373 > │ and Mut2 = {mutable l0 : US0} │
00:25:36 verbose #60374 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:36 verbose #60375 > │ and [<Struct>] US1 = │
00:25:36 verbose #60376 > │ | US1_0 of f0_0 : int64 │
00:25:36 verbose #60377 > │ | US1_1 │
00:25:36 verbose #60378 > │ and [<Struct>] US2 = │
00:25:36 verbose #60379 > │ | US2_0 of f0_0 : int64 │
00:25:36 verbose #60380 > │ | US2_1 │
00:25:36 verbose #60381 > │ and [<Struct>] US3 = │
00:25:36 verbose #60382 > │ | US3_0 of f0_0 : int32 │
00:25:36 verbose #60383 > │ | US3_1 │
00:25:36 verbose #60384 > │ and [<Struct>] US4 = │
00:25:36 verbose #60385 > │ | US4_0 of f0_0 : bool │
00:25:36 verbose #60386 > │ | US4_1 │
00:25:36 verbose #60387 > │ and [<Struct>] US5 = │
00:25:36 verbose #60388 > │ | US5_0 of f0_0 : bool │
00:25:36 verbose #60389 > │ | US5_1 of f1_0 : exn │
00:25:36 verbose #60390 > │ and [<Struct>] US6 = │
00:25:36 verbose #60391 > │ | US6_0 of f0_0 : bool │
00:25:36 verbose #60392 > │ | US6_1 of f1_0 : exn │
00:25:36 verbose #60393 > │ and [<Struct>] US7 = │
00:25:36 verbose #60394 > │ | US7_0 of f0_0 : int32 * f0_1 : int64 │
00:25:36 verbose #60395 > │ | US7_1 │
00:25:36 verbose #60396 > │ and [<Struct>] US8 = │
00:25:36 verbose #60397 > │ | US8_0 of f0_0 : int32 * f0_1 : int64 │
00:25:36 verbose #60398 > │ | US8_1 of f1_0 : exn │
00:25:36 verbose #60399 > │ and [<Struct>] US9 = │
00:25:36 verbose #60400 > │ | US9_0 of f0_0 : int32 * f0_1 : int64 │
00:25:36 verbose #60401 > │ | US9_1 of f1_0 : exn │
00:25:36 verbose #60402 > │ let rec closure0 () () : string = │
00:25:36 verbose #60403 > │ let v0 : string = "1" │
00:25:36 verbose #60404 > │ v0 │
00:25:36 verbose #60405 > │ and closure1 () () : string = │
00:25:36 verbose #60406 > │ let v0 : string = "" │
00:25:36 verbose #60407 > │ v0 │
00:25:36 verbose #60408 > │ and closure4 () (v0 : string) : unit = │
00:25:36 verbose #60409 > │ () │
00:25:36 verbose #60410 > │ and method2 (v0 : int64 option) : int64 option = │
00:25:36 verbose #60411 > │ v0 │
00:25:36 verbose #60412 > │ and method3 (v0 : int64 option) : int64 option = │
00:25:36 verbose #60413 > │ v0 │
00:25:36 verbose #60414 > │ and closure3 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:36 verbose #60415 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:36 verbose #60416 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:36 verbose #60417 > │ let v2 : US0 = US0_0 │
00:25:36 verbose #60418 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:36 verbose #60419 > │ let v4 : (string -> unit) = closure4() │
00:25:36 verbose #60420 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:36 verbose #60421 > │ let v6 : int64 option option = None │
00:25:36 verbose #60422 > │ let mutable _v6 = v6 │
00:25:36 verbose #60423 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:36 verbose #60424 > │ let v7 : string option = None │
00:25:36 verbose #60425 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:36 verbose #60426 > │ │
00:25:36 verbose #60427 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:36 verbose #60428 > │ │
00:25:36 verbose #60429 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:36 verbose #60430 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:36 verbose #60431 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:36 verbose #60432 > │ v10 │
00:25:36 verbose #60433 > │ #endif │
00:25:36 verbose #60434 > │ │
00:25:36 verbose #60435 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:36 verbose #60436 > │ let v11 : string = null |> unbox<string> │
00:25:36 verbose #60437 > │ v11 │
00:25:36 verbose #60438 > │ #endif │
00:25:36 verbose #60439 > │ │
00:25:36 verbose #60440 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:36 verbose #60441 > │ let v12 : string = null |> unbox<string> │
00:25:36 verbose #60442 > │ v12 │
00:25:36 verbose #60443 > │ #endif │
00:25:36 verbose #60444 > │ │
00:25:36 verbose #60445 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:36 verbose #60446 > │ let v13 : string = null |> unbox<string> │
00:25:36 verbose #60447 > │ v13 │
00:25:36 verbose #60448 > │ #endif │
00:25:36 verbose #60449 > │ │
00:25:36 verbose #60450 > │ #if FABLE_COMPILER_PYTHON │
00:25:36 verbose #60451 > │ let v14 : string = null |> unbox<string> │
00:25:36 verbose #60452 > │ v14 │
00:25:36 verbose #60453 > │ #endif │
00:25:36 verbose #60454 > │ │
00:25:36 verbose #60455 > │ #else │
00:25:36 verbose #60456 > │ let v15 : string = │
00:25:36 verbose #60457 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:36 verbose #60458 > │ v15 │
00:25:36 verbose #60459 > │ #endif │
00:25:36 verbose #60460 > │ |> fun x -> _v7 <- Some x │
00:25:36 verbose #60461 > │ let v16 : string = _v7.Value │
00:25:36 verbose #60462 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:36 verbose #60463 > │ let v19 : bool = v18 <> true │
00:25:36 verbose #60464 > │ let v25 : US1 = │
00:25:36 verbose #60465 > │ if v19 then │
00:25:36 verbose #60466 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:36 verbose #60467 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:36 verbose #60468 > │ let v22 : int64 = v21 v20 │
00:25:36 verbose #60469 > │ US1_0(v22) │
00:25:36 verbose #60470 > │ else │
00:25:36 verbose #60471 > │ US1_1 │
00:25:36 verbose #60472 > │ let v30 : int64 option = │
00:25:36 verbose #60473 > │ match v25 with │
00:25:36 verbose #60474 > │ | US1_1 -> (* None *) │
00:25:36 verbose #60475 > │ let v28 : int64 option = None │
00:25:36 verbose #60476 > │ v28 │
00:25:36 verbose #60477 > │ | US1_0(v26) -> (* Some *) │
00:25:36 verbose #60478 > │ let v27 : int64 option = Some v26 │
00:25:36 verbose #60479 > │ v27 │
00:25:36 verbose #60480 > │ let v31 : int64 option = method2(v30) │
00:25:36 verbose #60481 > │ v31 │
00:25:36 verbose #60482 > │ #else │
00:25:36 verbose #60483 > │ let v32 : int64 option = None │
00:25:36 verbose #60484 > │ let v33 : int64 option = method3(v32) │
00:25:36 verbose #60485 > │ v33 │
00:25:36 verbose #60486 > │ #endif │
00:25:36 verbose #60487 > │ |> fun x -> _v6 <- Some x │
00:25:36 verbose #60488 > │ let v34 : int64 option = _v6.Value │
00:25:36 verbose #60489 > │ struct (v1, v0, v3, v34, v5) │
00:25:36 verbose #60490 > │ and closure5 () (v0 : int64) : US2 = │
00:25:36 verbose #60491 > │ US2_0(v0) │
00:25:36 verbose #60492 > │ and method4 () : (int64 -> US2) = │
00:25:36 verbose #60493 > │ closure5() │
00:25:36 verbose #60494 > │ and method5 () : string = │
00:25:36 verbose #60495 > │ let v0 : string = "" │
00:25:36 verbose #60496 > │ v0 │
00:25:36 verbose #60497 > │ and closure2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:36 verbose #60498 > │ string = │
00:25:36 verbose #60499 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:36 verbose #60500 > │ closure3() │
00:25:36 verbose #60501 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:36 verbose #60502 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:36 verbose #60503 > │ Mut3) = State.trace_state.Value │
00:25:36 verbose #60504 > │ let v9 : string option = None │
00:25:36 verbose #60505 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:36 verbose #60506 > │ │
00:25:36 verbose #60507 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:36 verbose #60508 > │ │
00:25:36 verbose #60509 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:36 verbose #60510 > │ let v11 : (int64 -> US2) = method4() │
00:25:36 verbose #60511 > │ let v12 : US2 = US2_1 │
00:25:36 verbose #60512 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:36 verbose #60513 > │ let v31 : System.DateTime = │
00:25:36 verbose #60514 > │ match v13 with │
00:25:36 verbose #60515 > │ | US2_1 -> (* None *) │
00:25:36 verbose #60516 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:36 verbose #60517 > │ v29 │
00:25:36 verbose #60518 > │ | US2_0(v14) -> (* Some *) │
00:25:36 verbose #60519 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:36 verbose #60520 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:36 verbose #60521 > │ let v17 : int64 = v16 v15 │
00:25:36 verbose #60522 > │ let v18 : int64 = v17 - v14 │
00:25:36 verbose #60523 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:36 verbose #60524 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:36 verbose #60525 > │ let v21 : int32 = v20 v19 │
00:25:36 verbose #60526 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:36 verbose #60527 > │ let v23 : int32 = v22 v19 │
00:25:36 verbose #60528 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:36 verbose #60529 > │ let v25 : int32 = v24 v19 │
00:25:36 verbose #60530 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:36 verbose #60531 > │ let v27 : int32 = v26 v19 │
00:25:36 verbose #60532 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:36 verbose #60533 > │ v25, v27) │
00:25:36 verbose #60534 > │ v28 │
00:25:36 verbose #60535 > │ let v32 : string = "hh:mm:ss" │
00:25:36 verbose #60536 > │ let v33 : string = v31.ToString v32 │
00:25:36 verbose #60537 > │ v33 │
00:25:36 verbose #60538 > │ #endif │
00:25:36 verbose #60539 > │ │
00:25:36 verbose #60540 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:36 verbose #60541 > │ let v34 : string = method5() │
00:25:36 verbose #60542 > │ v34 │
00:25:36 verbose #60543 > │ #endif │
00:25:36 verbose #60544 > │ │
00:25:36 verbose #60545 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:36 verbose #60546 > │ let v35 : string = method5() │
00:25:36 verbose #60547 > │ v35 │
00:25:36 verbose #60548 > │ #endif │
00:25:36 verbose #60549 > │ │
00:25:36 verbose #60550 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:36 verbose #60551 > │ let v36 : string = method5() │
00:25:36 verbose #60552 > │ v36 │
00:25:36 verbose #60553 > │ #endif │
00:25:36 verbose #60554 > │ │
00:25:36 verbose #60555 > │ #if FABLE_COMPILER_PYTHON │
00:25:36 verbose #60556 > │ let v37 : string = method5() │
00:25:36 verbose #60557 > │ v37 │
00:25:36 verbose #60558 > │ #endif │
00:25:36 verbose #60559 > │ │
00:25:36 verbose #60560 > │ #else │
00:25:36 verbose #60561 > │ let v38 : (int64 -> US2) = method4() │
00:25:36 verbose #60562 > │ let v39 : US2 = US2_1 │
00:25:36 verbose #60563 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:36 verbose #60564 > │ let v58 : System.DateTime = │
00:25:36 verbose #60565 > │ match v40 with │
00:25:36 verbose #60566 > │ | US2_1 -> (* None *) │
00:25:36 verbose #60567 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:36 verbose #60568 > │ v56 │
00:25:36 verbose #60569 > │ | US2_0(v41) -> (* Some *) │
00:25:36 verbose #60570 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:36 verbose #60571 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:36 verbose #60572 > │ let v44 : int64 = v43 v42 │
00:25:36 verbose #60573 > │ let v45 : int64 = v44 - v41 │
00:25:36 verbose #60574 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:36 verbose #60575 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:36 verbose #60576 > │ let v48 : int32 = v47 v46 │
00:25:36 verbose #60577 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:36 verbose #60578 > │ let v50 : int32 = v49 v46 │
00:25:36 verbose #60579 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:36 verbose #60580 > │ let v52 : int32 = v51 v46 │
00:25:36 verbose #60581 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:36 verbose #60582 > │ let v54 : int32 = v53 v46 │
00:25:36 verbose #60583 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:36 verbose #60584 > │ v52, v54) │
00:25:36 verbose #60585 > │ v55 │
00:25:36 verbose #60586 > │ let v59 : string = "HH:mm:ss" │
00:25:36 verbose #60587 > │ let v60 : string = v58.ToString v59 │
00:25:36 verbose #60588 > │ v60 │
00:25:36 verbose #60589 > │ #endif │
00:25:36 verbose #60590 > │ |> fun x -> _v9 <- Some x │
00:25:36 verbose #60591 > │ let v61 : string = _v9.Value │
00:25:36 verbose #60592 > │ let v62 : int64 = v4.l0 │
00:25:36 verbose #60593 > │ let v72 : string = │
00:25:36 verbose #60594 > │ match v0 with │
00:25:36 verbose #60595 > │ | US0_4 -> (* Critical *) │
00:25:36 verbose #60596 > │ let v67 : string = "Critical" │
00:25:36 verbose #60597 > │ v67 │
00:25:36 verbose #60598 > │ | US0_1 -> (* Debug *) │
00:25:36 verbose #60599 > │ let v64 : string = "Debug" │
00:25:36 verbose #60600 > │ v64 │
00:25:36 verbose #60601 > │ | US0_2 -> (* Info *) │
00:25:36 verbose #60602 > │ let v65 : string = "Info" │
00:25:36 verbose #60603 > │ v65 │
00:25:36 verbose #60604 > │ | US0_0 -> (* Verbose *) │
00:25:36 verbose #60605 > │ let v63 : string = "Verbose" │
00:25:36 verbose #60606 > │ v63 │
00:25:36 verbose #60607 > │ | US0_3 -> (* Warning *) │
00:25:36 verbose #60608 > │ let v66 : string = "Warning" │
00:25:36 verbose #60609 > │ v66 │
00:25:36 verbose #60610 > │ let v73 : string = v72.ToLower () │
00:25:36 verbose #60611 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:36 verbose #60612 > │ let v75 : string option = None │
00:25:36 verbose #60613 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:36 verbose #60614 > │ │
00:25:36 verbose #60615 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:36 verbose #60616 > │ │
00:25:36 verbose #60617 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:36 verbose #60618 > │ let v91 : Ref<Str> = │
00:25:36 verbose #60619 > │ match v0 with │
00:25:36 verbose #60620 > │ | US0_4 -> (* Critical *) │
00:25:36 verbose #60621 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:36 verbose #60622 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:36 verbose #60623 > │ v86 │
00:25:36 verbose #60624 > │ | US0_1 -> (* Debug *) │
00:25:36 verbose #60625 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:36 verbose #60626 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:36 verbose #60627 > │ v80 │
00:25:36 verbose #60628 > │ | US0_2 -> (* Info *) │
00:25:36 verbose #60629 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:36 verbose #60630 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:36 verbose #60631 > │ v82 │
00:25:36 verbose #60632 > │ | US0_0 -> (* Verbose *) │
00:25:36 verbose #60633 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:36 verbose #60634 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:36 verbose #60635 > │ v78 │
00:25:36 verbose #60636 > │ | US0_3 -> (* Warning *) │
00:25:36 verbose #60637 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:36 verbose #60638 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:36 verbose #60639 > │ v84 │
00:25:36 verbose #60640 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:36 verbose #60641 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:36 verbose #60642 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:36 verbose #60643 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:36 verbose #60644 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:36 verbose #60645 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:36 verbose #60646 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:36 verbose #60647 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:36 verbose #60648 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:36 verbose #60649 > │ v100 │
00:25:36 verbose #60650 > │ #endif │
00:25:36 verbose #60651 > │ │
00:25:36 verbose #60652 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:36 verbose #60653 > │ let v115 : Ref<Str> = │
00:25:36 verbose #60654 > │ match v0 with │
00:25:36 verbose #60655 > │ | US0_4 -> (* Critical *) │
00:25:36 verbose #60656 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:36 verbose #60657 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60658 > │ v109 │
00:25:36 verbose #60659 > │ v110 │
00:25:36 verbose #60660 > │ | US0_1 -> (* Debug *) │
00:25:36 verbose #60661 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:36 verbose #60662 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60663 > │ v103 │
00:25:36 verbose #60664 > │ v104 │
00:25:36 verbose #60665 > │ | US0_2 -> (* Info *) │
00:25:36 verbose #60666 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:36 verbose #60667 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60668 > │ v105 │
00:25:36 verbose #60669 > │ v106 │
00:25:36 verbose #60670 > │ | US0_0 -> (* Verbose *) │
00:25:36 verbose #60671 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:36 verbose #60672 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60673 > │ v101 │
00:25:36 verbose #60674 > │ v102 │
00:25:36 verbose #60675 > │ | US0_3 -> (* Warning *) │
00:25:36 verbose #60676 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:36 verbose #60677 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60678 > │ v107 │
00:25:36 verbose #60679 > │ v108 │
00:25:36 verbose #60680 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:36 verbose #60681 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:36 verbose #60682 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:36 verbose #60683 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:36 verbose #60684 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:36 verbose #60685 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:36 verbose #60686 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60687 > │ v121 │
00:25:36 verbose #60688 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:36 verbose #60689 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:36 verbose #60690 > │ v124 │
00:25:36 verbose #60691 > │ #endif │
00:25:36 verbose #60692 > │ │
00:25:36 verbose #60693 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:36 verbose #60694 > │ let v139 : Ref<Str> = │
00:25:36 verbose #60695 > │ match v0 with │
00:25:36 verbose #60696 > │ | US0_4 -> (* Critical *) │
00:25:36 verbose #60697 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:36 verbose #60698 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60699 > │ v133 │
00:25:36 verbose #60700 > │ v134 │
00:25:36 verbose #60701 > │ | US0_1 -> (* Debug *) │
00:25:36 verbose #60702 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:36 verbose #60703 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60704 > │ v127 │
00:25:36 verbose #60705 > │ v128 │
00:25:36 verbose #60706 > │ | US0_2 -> (* Info *) │
00:25:36 verbose #60707 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:36 verbose #60708 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60709 > │ v129 │
00:25:36 verbose #60710 > │ v130 │
00:25:36 verbose #60711 > │ | US0_0 -> (* Verbose *) │
00:25:36 verbose #60712 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:36 verbose #60713 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60714 > │ v125 │
00:25:36 verbose #60715 > │ v126 │
00:25:36 verbose #60716 > │ | US0_3 -> (* Warning *) │
00:25:36 verbose #60717 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:36 verbose #60718 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60719 > │ v131 │
00:25:36 verbose #60720 > │ v132 │
00:25:36 verbose #60721 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:36 verbose #60722 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:36 verbose #60723 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:36 verbose #60724 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:36 verbose #60725 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:36 verbose #60726 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:36 verbose #60727 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:36 verbose #60728 > │ v145 │
00:25:36 verbose #60729 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:36 verbose #60730 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:36 verbose #60731 > │ v148 │
00:25:36 verbose #60732 > │ #endif │
00:25:36 verbose #60733 > │ │
00:25:36 verbose #60734 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:36 verbose #60735 > │ v74 │
00:25:36 verbose #60736 > │ #endif │
00:25:36 verbose #60737 > │ │
00:25:36 verbose #60738 > │ #if FABLE_COMPILER_PYTHON │
00:25:36 verbose #60739 > │ v74 │
00:25:36 verbose #60740 > │ #endif │
00:25:36 verbose #60741 > │ │
00:25:36 verbose #60742 > │ #else │
00:25:36 verbose #60743 > │ v74 │
00:25:36 verbose #60744 > │ #endif │
00:25:36 verbose #60745 > │ |> fun x -> _v75 <- Some x │
00:25:36 verbose #60746 > │ let v149 : string = _v75.Value │
00:25:36 verbose #60747 > │ let v150 : string = v1 () │
00:25:36 verbose #60748 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:36 verbose #60749 > │ let v152 : (char []) = [||] │
00:25:36 verbose #60750 > │ let v153 : string = v151.TrimStart v152 │
00:25:36 verbose #60751 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:36 verbose #60752 > │ let v155 : string = v153.TrimEnd v154 │
00:25:36 verbose #60753 > │ v155 │
00:25:36 verbose #60754 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:36 verbose #60755 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:36 verbose #60756 > │ closure3() │
00:25:36 verbose #60757 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:36 verbose #60758 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:36 verbose #60759 > │ Mut3) = State.trace_state.Value │
00:25:36 verbose #60760 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:36 verbose #60761 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:36 verbose #60762 > │ Mut3) = State.trace_state.Value │
00:25:36 verbose #60763 > │ let v13 : US0 = v10.l0 │
00:25:36 verbose #60764 > │ let v14 : bool = v9.l0 │
00:25:36 verbose #60765 > │ let v15 : bool = v14 = false │
00:25:36 verbose #60766 > │ let v19 : bool = │
00:25:36 verbose #60767 > │ if v15 then │
00:25:36 verbose #60768 > │ false │
00:25:36 verbose #60769 > │ else │
00:25:36 verbose #60770 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:36 verbose #60771 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:36 verbose #60772 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:36 verbose #60773 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:36 verbose #60774 > │ let v18 : bool = v16 >= v17 │
00:25:36 verbose #60775 > │ v18 │
00:25:36 verbose #60776 > │ if v19 then │
00:25:36 verbose #60777 > │ let v20 : int64 = v3.l0 │
00:25:36 verbose #60778 > │ let v21 : int64 = v20 + 1L │
00:25:36 verbose #60779 > │ v3.l0 <- v21 │
00:25:36 verbose #60780 > │ let v22 : string = $"%s{v1 ()}" │
00:25:36 verbose #60781 > │ let v23 : unit option = None │
00:25:36 verbose #60782 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:36 verbose #60783 > │ │
00:25:36 verbose #60784 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:36 verbose #60785 > │ │
00:25:36 verbose #60786 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:36 verbose #60787 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:36 verbose #60788 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:36 verbose #60789 > │ () │
00:25:36 verbose #60790 > │ #endif │
00:25:36 verbose #60791 > │ │
00:25:36 verbose #60792 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:36 verbose #60793 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:36 verbose #60794 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:36 verbose #60795 > │ () │
00:25:36 verbose #60796 > │ #endif │
00:25:36 verbose #60797 > │ │
00:25:36 verbose #60798 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:36 verbose #60799 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:36 verbose #60800 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:36 verbose #60801 > │ () │
00:25:36 verbose #60802 > │ #endif │
00:25:36 verbose #60803 > │ │
00:25:36 verbose #60804 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:36 verbose #60805 > │ System.Console.WriteLine v22 │
00:25:36 verbose #60806 > │ () │
00:25:36 verbose #60807 > │ #endif │
00:25:36 verbose #60808 > │ │
00:25:36 verbose #60809 > │ #if FABLE_COMPILER_PYTHON │
00:25:36 verbose #60810 > │ System.Console.WriteLine v22 │
00:25:36 verbose #60811 > │ () │
00:25:36 verbose #60812 > │ #endif │
00:25:36 verbose #60813 > │ │
00:25:36 verbose #60814 > │ #else │
00:25:36 verbose #60815 > │ System.Console.WriteLine v22 │
00:25:36 verbose #60816 > │ () │
00:25:36 verbose #60817 > │ #endif │
00:25:36 verbose #60818 > │ |> fun x -> _v23 <- Some x │
00:25:36 verbose #60819 > │ _v23.Value │
00:25:36 verbose #60820 > │ let v28 : (string -> unit) = v7.l0 │
00:25:36 verbose #60821 > │ v28 v22 │
00:25:36 verbose #60822 > │ and method1 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:36 verbose #60823 > │ = │
00:25:36 verbose #60824 > │ let v3 : (unit -> string) = closure2(v0, v1, v2) │
00:25:36 verbose #60825 > │ method6(v0, v3) │
00:25:36 verbose #60826 > │ and closure6 () () : string = │
00:25:36 verbose #60827 > │ let v0 : string = "_1" │
00:25:36 verbose #60828 > │ v0 │
00:25:36 verbose #60829 > │ and closure7 () () : string = │
00:25:36 verbose #60830 > │ let v0 : string = "_2" │
00:25:36 verbose #60831 > │ v0 │
00:25:36 verbose #60832 > │ and closure8 () () : string = │
00:25:36 verbose #60833 > │ let v0 : string = "_3" │
00:25:36 verbose #60834 > │ v0 │
00:25:36 verbose #60835 > │ and closure9 () () : string = │
00:25:36 verbose #60836 > │ let v0 : string = "_4" │
00:25:36 verbose #60837 > │ v0 │
00:25:36 verbose #60838 > │ and closure10 () () : string = │
00:25:36 verbose #60839 > │ let v0 : string = "_5" │
00:25:36 verbose #60840 > │ v0 │
00:25:36 verbose #60841 > │ and closure11 () () : string = │
00:25:36 verbose #60842 > │ let v0 : string = "2" │
00:25:36 verbose #60843 > │ v0 │
00:25:36 verbose #60844 > │ and closure12 () () : string = │
00:25:36 verbose #60845 > │ let v0 : string = "3" │
00:25:36 verbose #60846 > │ v0 │
00:25:36 verbose #60847 > │ and closure13 () (v0 : int32) : US3 = │
00:25:36 verbose #60848 > │ US3_0(v0) │
00:25:36 verbose #60849 > │ and method8 () : (int32 -> US3) = │
00:25:36 verbose #60850 > │ closure13() │
00:25:36 verbose #60851 > │ and closure14 (v0 : string) () : string = │
00:25:36 verbose #60852 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:36 verbose #60853 > │ v1 │
00:25:36 verbose #60854 > │ and closure15 () (v0 : bool) : US5 = │
00:25:36 verbose #60855 > │ US5_0(v0) │
00:25:36 verbose #60856 > │ and closure16 () (v0 : exn) : US5 = │
00:25:36 verbose #60857 > │ US5_1(v0) │
00:25:36 verbose #60858 > │ and closure17 () () : string = │
00:25:36 verbose #60859 > │ let v0 : string = "run_with_timeout_async" │
00:25:36 verbose #60860 > │ v0 │
00:25:36 verbose #60861 > │ and closure18 (v0 : int32) () : string = │
00:25:36 verbose #60862 > │ let v1 : (unit -> string) = closure1() │
00:25:36 verbose #60863 > │ let v2 : string = $"timeout: {v0} / {v1 ()}" │
00:25:36 verbose #60864 > │ v2 │
00:25:36 verbose #60865 > │ and closure19 (v0 : string) () : string = │
00:25:36 verbose #60866 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:36 verbose #60867 > │ v1 │
00:25:36 verbose #60868 > │ and method7 (v0 : int32 option, v1 : int32) : Async<int32> = │
00:25:36 verbose #60869 > │ let v2 : Async<int32> option = None │
00:25:36 verbose #60870 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:36 verbose #60871 > │ │
00:25:36 verbose #60872 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:36 verbose #60873 > │ │
00:25:36 verbose #60874 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:36 verbose #60875 > │ let v4 : Async<int32> = null |> unbox<Async<int32>> │
00:25:36 verbose #60876 > │ v4 │
00:25:36 verbose #60877 > │ #endif │
00:25:36 verbose #60878 > │ │
00:25:36 verbose #60879 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:36 verbose #60880 > │ let v5 : Async<int32> = null |> unbox<Async<int32>> │
00:25:36 verbose #60881 > │ v5 │
00:25:36 verbose #60882 > │ #endif │
00:25:36 verbose #60883 > │ │
00:25:36 verbose #60884 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:36 verbose #60885 > │ let v6 : Async<int32> = null |> unbox<Async<int32>> │
00:25:36 verbose #60886 > │ v6 │
00:25:36 verbose #60887 > │ #endif │
00:25:36 verbose #60888 > │ │
00:25:36 verbose #60889 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:36 verbose #60890 > │ let v7 : Async<int32> = null |> unbox<Async<int32>> │
00:25:36 verbose #60891 > │ v7 │
00:25:36 verbose #60892 > │ #endif │
00:25:36 verbose #60893 > │ │
00:25:36 verbose #60894 > │ #if FABLE_COMPILER_PYTHON │
00:25:36 verbose #60895 > │ let v8 : Async<int32> = null |> unbox<Async<int32>> │
00:25:36 verbose #60896 > │ v8 │
00:25:36 verbose #60897 > │ #endif │
00:25:36 verbose #60898 > │ │
00:25:36 verbose #60899 > │ #else │
00:25:36 verbose #60900 > │ let v9 : Async<int32> option = None │
00:25:36 verbose #60901 > │ let mutable _v9 = v9 │
00:25:36 verbose #60902 > │ async { │
00:25:36 verbose #60903 > │ let v10 : (int32 -> US3) = method8() │
00:25:36 verbose #60904 > │ let v11 : US3 = US3_1 │
00:25:36 verbose #60905 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:36 verbose #60906 > │ let v227 : Async<bool> = │
00:25:36 verbose #60907 > │ match v12 with │
00:25:36 verbose #60908 > │ | US3_1 -> (* None *) │
00:25:36 verbose #60909 > │ let v13 : Async<bool> option = None │
00:25:36 verbose #60910 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:37 verbose #60911 > │ │
00:25:37 verbose #60912 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #60913 > │ │
00:25:37 verbose #60914 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #60915 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #60916 > │ v15 │
00:25:37 verbose #60917 > │ #endif │
00:25:37 verbose #60918 > │ │
00:25:37 verbose #60919 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #60920 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #60921 > │ v16 │
00:25:37 verbose #60922 > │ #endif │
00:25:37 verbose #60923 > │ │
00:25:37 verbose #60924 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #60925 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #60926 > │ v17 │
00:25:37 verbose #60927 > │ #endif │
00:25:37 verbose #60928 > │ │
00:25:37 verbose #60929 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #60930 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #60931 > │ v18 │
00:25:37 verbose #60932 > │ #endif │
00:25:37 verbose #60933 > │ │
00:25:37 verbose #60934 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #60935 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #60936 > │ v19 │
00:25:37 verbose #60937 > │ #endif │
00:25:37 verbose #60938 > │ │
00:25:37 verbose #60939 > │ #else │
00:25:37 verbose #60940 > │ let v20 : Async<bool> option = None │
00:25:37 verbose #60941 > │ let mutable _v20 = v20 │
00:25:37 verbose #60942 > │ async { │
00:25:37 verbose #60943 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:37 verbose #60944 > │ Async.CancellationToken │
00:25:37 verbose #60945 > │ let! v21 = v21 │
00:25:37 verbose #60946 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:37 verbose #60947 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:37 verbose #60948 > │ System.Net.Sockets.TcpClient () │
00:25:37 verbose #60949 > │ use v23 = v23 │
00:25:37 verbose #60950 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:37 verbose #60951 > │ try │
00:25:37 verbose #60952 > │ let v25 : string = "127.0.0.1" │
00:25:37 verbose #60953 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:37 verbose #60954 > │ (v25, v1, v22) │
00:25:37 verbose #60955 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:37 verbose #60956 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:37 verbose #60957 > │ let v29 : Async<unit> option = None │
00:25:37 verbose #60958 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:37 verbose #60959 > │ │
00:25:37 verbose #60960 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #60961 > │ │
00:25:37 verbose #60962 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #60963 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #60964 > │ v31 │
00:25:37 verbose #60965 > │ #endif │
00:25:37 verbose #60966 > │ │
00:25:37 verbose #60967 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #60968 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #60969 > │ v32 │
00:25:37 verbose #60970 > │ #endif │
00:25:37 verbose #60971 > │ │
00:25:37 verbose #60972 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #60973 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #60974 > │ v33 │
00:25:37 verbose #60975 > │ #endif │
00:25:37 verbose #60976 > │ │
00:25:37 verbose #60977 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #60978 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #60979 > │ v34 │
00:25:37 verbose #60980 > │ #endif │
00:25:37 verbose #60981 > │ │
00:25:37 verbose #60982 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #60983 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #60984 > │ v35 │
00:25:37 verbose #60985 > │ #endif │
00:25:37 verbose #60986 > │ │
00:25:37 verbose #60987 > │ #else │
00:25:37 verbose #60988 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:37 verbose #60989 > │ Async.AwaitTask │
00:25:37 verbose #60990 > │ let v37 : Async<unit> = v36 v28 │
00:25:37 verbose #60991 > │ v37 │
00:25:37 verbose #60992 > │ #endif │
00:25:37 verbose #60993 > │ |> fun x -> _v29 <- Some x │
00:25:37 verbose #60994 > │ let v38 : Async<unit> = _v29.Value │
00:25:37 verbose #60995 > │ do! v38 │
00:25:37 verbose #60996 > │ return true │
00:25:37 verbose #60997 > │ with ex -> │
00:25:37 verbose #60998 > │ let v39 : exn = ex │
00:25:37 verbose #60999 > │ let v40 : string option = None │
00:25:37 verbose #61000 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:37 verbose #61001 > │ │
00:25:37 verbose #61002 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61003 > │ │
00:25:37 verbose #61004 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61005 > │ let v42 : string = $"%A{v39}" │
00:25:37 verbose #61006 > │ v42 │
00:25:37 verbose #61007 > │ #endif │
00:25:37 verbose #61008 > │ │
00:25:37 verbose #61009 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61010 > │ let v43 : string = $"%A{v39}" │
00:25:37 verbose #61011 > │ v43 │
00:25:37 verbose #61012 > │ #endif │
00:25:37 verbose #61013 > │ │
00:25:37 verbose #61014 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61015 > │ let v44 : string = $"%A{v39}" │
00:25:37 verbose #61016 > │ v44 │
00:25:37 verbose #61017 > │ #endif │
00:25:37 verbose #61018 > │ │
00:25:37 verbose #61019 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61020 > │ let v45 : string = $"%A{v39}" │
00:25:37 verbose #61021 > │ v45 │
00:25:37 verbose #61022 > │ #endif │
00:25:37 verbose #61023 > │ │
00:25:37 verbose #61024 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61025 > │ let v46 : string = $"%A{v39}" │
00:25:37 verbose #61026 > │ v46 │
00:25:37 verbose #61027 > │ #endif │
00:25:37 verbose #61028 > │ │
00:25:37 verbose #61029 > │ #else │
00:25:37 verbose #61030 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:37 verbose #61031 > │ v47 │
00:25:37 verbose #61032 > │ #endif │
00:25:37 verbose #61033 > │ |> fun x -> _v40 <- Some x │
00:25:37 verbose #61034 > │ let v48 : string = _v40.Value │
00:25:37 verbose #61035 > │ let v49 : US0 = US0_0 │
00:25:37 verbose #61036 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:37 verbose #61037 > │ let v51 : (unit -> string) = closure1() │
00:25:37 verbose #61038 > │ method1(v49, v50, v51) │
00:25:37 verbose #61039 > │ return false │
00:25:37 verbose #61040 > │ (* │
00:25:37 verbose #61041 > │ let v52 : bool = *) │
00:25:37 verbose #61042 > │ } │
00:25:37 verbose #61043 > │ |> fun x -> _v20 <- Some x │
00:25:37 verbose #61044 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:37 verbose #61045 > │ v53 │
00:25:37 verbose #61046 > │ #endif │
00:25:37 verbose #61047 > │ |> fun x -> _v13 <- Some x │
00:25:37 verbose #61048 > │ let v54 : Async<bool> = _v13.Value │
00:25:37 verbose #61049 > │ v54 │
00:25:37 verbose #61050 > │ | US3_0(v55) -> (* Some *) │
00:25:37 verbose #61051 > │ let v56 : Async<bool> option = None │
00:25:37 verbose #61052 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:37 verbose #61053 > │ │
00:25:37 verbose #61054 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61055 > │ │
00:25:37 verbose #61056 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61057 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61058 > │ v58 │
00:25:37 verbose #61059 > │ #endif │
00:25:37 verbose #61060 > │ │
00:25:37 verbose #61061 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61062 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61063 > │ v59 │
00:25:37 verbose #61064 > │ #endif │
00:25:37 verbose #61065 > │ │
00:25:37 verbose #61066 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61067 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61068 > │ v60 │
00:25:37 verbose #61069 > │ #endif │
00:25:37 verbose #61070 > │ │
00:25:37 verbose #61071 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61072 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61073 > │ v61 │
00:25:37 verbose #61074 > │ #endif │
00:25:37 verbose #61075 > │ │
00:25:37 verbose #61076 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61077 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61078 > │ v62 │
00:25:37 verbose #61079 > │ #endif │
00:25:37 verbose #61080 > │ │
00:25:37 verbose #61081 > │ #else │
00:25:37 verbose #61082 > │ let v63 : Async<bool> option = None │
00:25:37 verbose #61083 > │ let mutable _v63 = v63 │
00:25:37 verbose #61084 > │ async { │
00:25:37 verbose #61085 > │ let v64 : Async<bool> option = None │
00:25:37 verbose #61086 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:37 verbose #61087 > │ │
00:25:37 verbose #61088 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61089 > │ │
00:25:37 verbose #61090 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61091 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61092 > │ v66 │
00:25:37 verbose #61093 > │ #endif │
00:25:37 verbose #61094 > │ │
00:25:37 verbose #61095 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61096 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61097 > │ v67 │
00:25:37 verbose #61098 > │ #endif │
00:25:37 verbose #61099 > │ │
00:25:37 verbose #61100 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61101 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61102 > │ v68 │
00:25:37 verbose #61103 > │ #endif │
00:25:37 verbose #61104 > │ │
00:25:37 verbose #61105 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61106 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61107 > │ v69 │
00:25:37 verbose #61108 > │ #endif │
00:25:37 verbose #61109 > │ │
00:25:37 verbose #61110 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61111 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61112 > │ v70 │
00:25:37 verbose #61113 > │ #endif │
00:25:37 verbose #61114 > │ │
00:25:37 verbose #61115 > │ #else │
00:25:37 verbose #61116 > │ let v71 : Async<bool> option = None │
00:25:37 verbose #61117 > │ let mutable _v71 = v71 │
00:25:37 verbose #61118 > │ async { │
00:25:37 verbose #61119 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:37 verbose #61120 > │ Async.CancellationToken │
00:25:37 verbose #61121 > │ let! v72 = v72 │
00:25:37 verbose #61122 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:37 verbose #61123 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:37 verbose #61124 > │ System.Net.Sockets.TcpClient () │
00:25:37 verbose #61125 > │ use v74 = v74 │
00:25:37 verbose #61126 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:37 verbose #61127 > │ try │
00:25:37 verbose #61128 > │ let v76 : string = "127.0.0.1" │
00:25:37 verbose #61129 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:37 verbose #61130 > │ (v76, v1, v73) │
00:25:37 verbose #61131 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:37 verbose #61132 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:37 verbose #61133 > │ let v80 : Async<unit> option = None │
00:25:37 verbose #61134 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:37 verbose #61135 > │ │
00:25:37 verbose #61136 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61137 > │ │
00:25:37 verbose #61138 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61139 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61140 > │ v82 │
00:25:37 verbose #61141 > │ #endif │
00:25:37 verbose #61142 > │ │
00:25:37 verbose #61143 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61144 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61145 > │ v83 │
00:25:37 verbose #61146 > │ #endif │
00:25:37 verbose #61147 > │ │
00:25:37 verbose #61148 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61149 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61150 > │ v84 │
00:25:37 verbose #61151 > │ #endif │
00:25:37 verbose #61152 > │ │
00:25:37 verbose #61153 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61154 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61155 > │ v85 │
00:25:37 verbose #61156 > │ #endif │
00:25:37 verbose #61157 > │ │
00:25:37 verbose #61158 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61159 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61160 > │ v86 │
00:25:37 verbose #61161 > │ #endif │
00:25:37 verbose #61162 > │ │
00:25:37 verbose #61163 > │ #else │
00:25:37 verbose #61164 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:37 verbose #61165 > │ Async.AwaitTask │
00:25:37 verbose #61166 > │ let v88 : Async<unit> = v87 v79 │
00:25:37 verbose #61167 > │ v88 │
00:25:37 verbose #61168 > │ #endif │
00:25:37 verbose #61169 > │ |> fun x -> _v80 <- Some x │
00:25:37 verbose #61170 > │ let v89 : Async<unit> = _v80.Value │
00:25:37 verbose #61171 > │ do! v89 │
00:25:37 verbose #61172 > │ return true │
00:25:37 verbose #61173 > │ with ex -> │
00:25:37 verbose #61174 > │ let v90 : exn = ex │
00:25:37 verbose #61175 > │ let v91 : string option = None │
00:25:37 verbose #61176 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:37 verbose #61177 > │ │
00:25:37 verbose #61178 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61179 > │ │
00:25:37 verbose #61180 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61181 > │ let v93 : string = $"%A{v90}" │
00:25:37 verbose #61182 > │ v93 │
00:25:37 verbose #61183 > │ #endif │
00:25:37 verbose #61184 > │ │
00:25:37 verbose #61185 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61186 > │ let v94 : string = $"%A{v90}" │
00:25:37 verbose #61187 > │ v94 │
00:25:37 verbose #61188 > │ #endif │
00:25:37 verbose #61189 > │ │
00:25:37 verbose #61190 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61191 > │ let v95 : string = $"%A{v90}" │
00:25:37 verbose #61192 > │ v95 │
00:25:37 verbose #61193 > │ #endif │
00:25:37 verbose #61194 > │ │
00:25:37 verbose #61195 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61196 > │ let v96 : string = $"%A{v90}" │
00:25:37 verbose #61197 > │ v96 │
00:25:37 verbose #61198 > │ #endif │
00:25:37 verbose #61199 > │ │
00:25:37 verbose #61200 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61201 > │ let v97 : string = $"%A{v90}" │
00:25:37 verbose #61202 > │ v97 │
00:25:37 verbose #61203 > │ #endif │
00:25:37 verbose #61204 > │ │
00:25:37 verbose #61205 > │ #else │
00:25:37 verbose #61206 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:37 verbose #61207 > │ v98 │
00:25:37 verbose #61208 > │ #endif │
00:25:37 verbose #61209 > │ |> fun x -> _v91 <- Some x │
00:25:37 verbose #61210 > │ let v99 : string = _v91.Value │
00:25:37 verbose #61211 > │ let v100 : US0 = US0_0 │
00:25:37 verbose #61212 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:37 verbose #61213 > │ let v102 : (unit -> string) = closure1() │
00:25:37 verbose #61214 > │ method1(v100, v101, v102) │
00:25:37 verbose #61215 > │ return false │
00:25:37 verbose #61216 > │ (* │
00:25:37 verbose #61217 > │ let v103 : bool = *) │
00:25:37 verbose #61218 > │ } │
00:25:37 verbose #61219 > │ |> fun x -> _v71 <- Some x │
00:25:37 verbose #61220 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:37 verbose #61221 > │ v104 │
00:25:37 verbose #61222 > │ #endif │
00:25:37 verbose #61223 > │ |> fun x -> _v64 <- Some x │
00:25:37 verbose #61224 > │ let v105 : Async<bool> = _v64.Value │
00:25:37 verbose #61225 > │ let v106 : Async<US4> option = None │
00:25:37 verbose #61226 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:37 verbose #61227 > │ │
00:25:37 verbose #61228 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61229 > │ │
00:25:37 verbose #61230 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61231 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61232 > │ v108 │
00:25:37 verbose #61233 > │ #endif │
00:25:37 verbose #61234 > │ │
00:25:37 verbose #61235 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61236 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61237 > │ v109 │
00:25:37 verbose #61238 > │ #endif │
00:25:37 verbose #61239 > │ │
00:25:37 verbose #61240 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61241 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61242 > │ v110 │
00:25:37 verbose #61243 > │ #endif │
00:25:37 verbose #61244 > │ │
00:25:37 verbose #61245 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61246 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61247 > │ v111 │
00:25:37 verbose #61248 > │ #endif │
00:25:37 verbose #61249 > │ │
00:25:37 verbose #61250 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61251 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61252 > │ v112 │
00:25:37 verbose #61253 > │ #endif │
00:25:37 verbose #61254 > │ │
00:25:37 verbose #61255 > │ #else │
00:25:37 verbose #61256 > │ let v113 : Async<US4> option = None │
00:25:37 verbose #61257 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:37 verbose #61258 > │ │
00:25:37 verbose #61259 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61260 > │ │
00:25:37 verbose #61261 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61262 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61263 > │ v115 │
00:25:37 verbose #61264 > │ #endif │
00:25:37 verbose #61265 > │ │
00:25:37 verbose #61266 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61267 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61268 > │ v116 │
00:25:37 verbose #61269 > │ #endif │
00:25:37 verbose #61270 > │ │
00:25:37 verbose #61271 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61272 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61273 > │ v117 │
00:25:37 verbose #61274 > │ #endif │
00:25:37 verbose #61275 > │ │
00:25:37 verbose #61276 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61277 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61278 > │ v118 │
00:25:37 verbose #61279 > │ #endif │
00:25:37 verbose #61280 > │ │
00:25:37 verbose #61281 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61282 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61283 > │ v119 │
00:25:37 verbose #61284 > │ #endif │
00:25:37 verbose #61285 > │ │
00:25:37 verbose #61286 > │ #else │
00:25:37 verbose #61287 > │ let v120 : Async<US4> option = None │
00:25:37 verbose #61288 > │ let mutable _v120 = v120 │
00:25:37 verbose #61289 > │ async { │
00:25:37 verbose #61290 > │ let v121 : Async<Async<bool>> option = None │
00:25:37 verbose #61291 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:37 verbose #61292 > │ │
00:25:37 verbose #61293 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61294 > │ │
00:25:37 verbose #61295 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61296 > │ let v123 : Async<Async<bool>> = null |> │
00:25:37 verbose #61297 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #61298 > │ v123 │
00:25:37 verbose #61299 > │ #endif │
00:25:37 verbose #61300 > │ │
00:25:37 verbose #61301 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61302 > │ let v124 : Async<Async<bool>> = null |> │
00:25:37 verbose #61303 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #61304 > │ v124 │
00:25:37 verbose #61305 > │ #endif │
00:25:37 verbose #61306 > │ │
00:25:37 verbose #61307 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61308 > │ let v125 : Async<Async<bool>> = null |> │
00:25:37 verbose #61309 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #61310 > │ v125 │
00:25:37 verbose #61311 > │ #endif │
00:25:37 verbose #61312 > │ │
00:25:37 verbose #61313 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61314 > │ let v126 : Async<Async<bool>> = null |> │
00:25:37 verbose #61315 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #61316 > │ v126 │
00:25:37 verbose #61317 > │ #endif │
00:25:37 verbose #61318 > │ │
00:25:37 verbose #61319 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61320 > │ let v127 : Async<Async<bool>> = null |> │
00:25:37 verbose #61321 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #61322 > │ v127 │
00:25:37 verbose #61323 > │ #endif │
00:25:37 verbose #61324 > │ │
00:25:37 verbose #61325 > │ #else │
00:25:37 verbose #61326 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:37 verbose #61327 > │ v128 │
00:25:37 verbose #61328 > │ #endif │
00:25:37 verbose #61329 > │ |> fun x -> _v121 <- Some x │
00:25:37 verbose #61330 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:37 verbose #61331 > │ let! v129 = v129 │
00:25:37 verbose #61332 > │ let v130 : Async<bool> = v129 │
00:25:37 verbose #61333 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:37 verbose #61334 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:37 verbose #61335 > │ │
00:25:37 verbose #61336 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61337 > │ │
00:25:37 verbose #61338 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61339 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #61340 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #61341 > │ v133 │
00:25:37 verbose #61342 > │ #endif │
00:25:37 verbose #61343 > │ │
00:25:37 verbose #61344 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61345 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #61346 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #61347 > │ v134 │
00:25:37 verbose #61348 > │ #endif │
00:25:37 verbose #61349 > │ │
00:25:37 verbose #61350 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61351 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #61352 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #61353 > │ v135 │
00:25:37 verbose #61354 > │ #endif │
00:25:37 verbose #61355 > │ │
00:25:37 verbose #61356 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61357 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #61358 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #61359 > │ v136 │
00:25:37 verbose #61360 > │ #endif │
00:25:37 verbose #61361 > │ │
00:25:37 verbose #61362 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61363 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #61364 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #61365 > │ v137 │
00:25:37 verbose #61366 > │ #endif │
00:25:37 verbose #61367 > │ │
00:25:37 verbose #61368 > │ #else │
00:25:37 verbose #61369 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:37 verbose #61370 > │ Async.Catch │
00:25:37 verbose #61371 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:37 verbose #61372 > │ v139 │
00:25:37 verbose #61373 > │ #endif │
00:25:37 verbose #61374 > │ |> fun x -> _v131 <- Some x │
00:25:37 verbose #61375 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:37 verbose #61376 > │ let v141 : Async<US5> option = None │
00:25:37 verbose #61377 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:37 verbose #61378 > │ │
00:25:37 verbose #61379 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61380 > │ │
00:25:37 verbose #61381 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61382 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #61383 > │ v143 │
00:25:37 verbose #61384 > │ #endif │
00:25:37 verbose #61385 > │ │
00:25:37 verbose #61386 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61387 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #61388 > │ v144 │
00:25:37 verbose #61389 > │ #endif │
00:25:37 verbose #61390 > │ │
00:25:37 verbose #61391 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61392 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #61393 > │ v145 │
00:25:37 verbose #61394 > │ #endif │
00:25:37 verbose #61395 > │ │
00:25:37 verbose #61396 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61397 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #61398 > │ v146 │
00:25:37 verbose #61399 > │ #endif │
00:25:37 verbose #61400 > │ │
00:25:37 verbose #61401 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61402 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #61403 > │ v147 │
00:25:37 verbose #61404 > │ #endif │
00:25:37 verbose #61405 > │ │
00:25:37 verbose #61406 > │ #else │
00:25:37 verbose #61407 > │ let v148 : Async<US5> option = None │
00:25:37 verbose #61408 > │ let mutable _v148 = v148 │
00:25:37 verbose #61409 > │ async { │
00:25:37 verbose #61410 > │ let! v140 = v140 │
00:25:37 verbose #61411 > │ let v149 : Choice<bool, exn> = v140 │
00:25:37 verbose #61412 > │ let v150 : US5 option = None │
00:25:37 verbose #61413 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:37 verbose #61414 > │ │
00:25:37 verbose #61415 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61416 > │ │
00:25:37 verbose #61417 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61418 > │ let v152 : US5 = null |> unbox<US5> │
00:25:37 verbose #61419 > │ v152 │
00:25:37 verbose #61420 > │ #endif │
00:25:37 verbose #61421 > │ │
00:25:37 verbose #61422 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61423 > │ let v153 : US5 = null |> unbox<US5> │
00:25:37 verbose #61424 > │ v153 │
00:25:37 verbose #61425 > │ #endif │
00:25:37 verbose #61426 > │ │
00:25:37 verbose #61427 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61428 > │ let v154 : US5 = null |> unbox<US5> │
00:25:37 verbose #61429 > │ v154 │
00:25:37 verbose #61430 > │ #endif │
00:25:37 verbose #61431 > │ │
00:25:37 verbose #61432 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61433 > │ let v155 : US5 = null |> unbox<US5> │
00:25:37 verbose #61434 > │ v155 │
00:25:37 verbose #61435 > │ #endif │
00:25:37 verbose #61436 > │ │
00:25:37 verbose #61437 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61438 > │ let v156 : US5 = null |> unbox<US5> │
00:25:37 verbose #61439 > │ v156 │
00:25:37 verbose #61440 > │ #endif │
00:25:37 verbose #61441 > │ │
00:25:37 verbose #61442 > │ #else │
00:25:37 verbose #61443 > │ let v157 : (bool -> US5) = closure15() │
00:25:37 verbose #61444 > │ let v158 : (exn -> US5) = closure16() │
00:25:37 verbose #61445 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:37 verbose #61446 > │ Choice2Of2 x -> v158 x │
00:25:37 verbose #61447 > │ v159 │
00:25:37 verbose #61448 > │ #endif │
00:25:37 verbose #61449 > │ |> fun x -> _v150 <- Some x │
00:25:37 verbose #61450 > │ let v160 : US5 = _v150.Value │
00:25:37 verbose #61451 > │ return v160 │
00:25:37 verbose #61452 > │ } │
00:25:37 verbose #61453 > │ |> fun x -> _v148 <- Some x │
00:25:37 verbose #61454 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:37 verbose #61455 > │ v161 │
00:25:37 verbose #61456 > │ #endif │
00:25:37 verbose #61457 > │ |> fun x -> _v141 <- Some x │
00:25:37 verbose #61458 > │ let v162 : Async<US5> = _v141.Value │
00:25:37 verbose #61459 > │ let v163 : Async<US6> option = None │
00:25:37 verbose #61460 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:37 verbose #61461 > │ │
00:25:37 verbose #61462 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61463 > │ │
00:25:37 verbose #61464 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61465 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #61466 > │ v165 │
00:25:37 verbose #61467 > │ #endif │
00:25:37 verbose #61468 > │ │
00:25:37 verbose #61469 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61470 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #61471 > │ v166 │
00:25:37 verbose #61472 > │ #endif │
00:25:37 verbose #61473 > │ │
00:25:37 verbose #61474 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61475 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #61476 > │ v167 │
00:25:37 verbose #61477 > │ #endif │
00:25:37 verbose #61478 > │ │
00:25:37 verbose #61479 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61480 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #61481 > │ v168 │
00:25:37 verbose #61482 > │ #endif │
00:25:37 verbose #61483 > │ │
00:25:37 verbose #61484 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61485 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #61486 > │ v169 │
00:25:37 verbose #61487 > │ #endif │
00:25:37 verbose #61488 > │ │
00:25:37 verbose #61489 > │ #else │
00:25:37 verbose #61490 > │ let v170 : Async<US6> option = None │
00:25:37 verbose #61491 > │ let mutable _v170 = v170 │
00:25:37 verbose #61492 > │ async { │
00:25:37 verbose #61493 > │ let! v162 = v162 │
00:25:37 verbose #61494 > │ let v171 : US5 = v162 │
00:25:37 verbose #61495 > │ let v177 : US6 = │
00:25:37 verbose #61496 > │ match v171 with │
00:25:37 verbose #61497 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:37 verbose #61498 > │ US6_0(v172) │
00:25:37 verbose #61499 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:37 verbose #61500 > │ US6_1(v174) │
00:25:37 verbose #61501 > │ return v177 │
00:25:37 verbose #61502 > │ } │
00:25:37 verbose #61503 > │ |> fun x -> _v170 <- Some x │
00:25:37 verbose #61504 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:37 verbose #61505 > │ v178 │
00:25:37 verbose #61506 > │ #endif │
00:25:37 verbose #61507 > │ |> fun x -> _v163 <- Some x │
00:25:37 verbose #61508 > │ let v179 : Async<US6> = _v163.Value │
00:25:37 verbose #61509 > │ let v180 : Async<US4> option = None │
00:25:37 verbose #61510 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:37 verbose #61511 > │ │
00:25:37 verbose #61512 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61513 > │ │
00:25:37 verbose #61514 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61515 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61516 > │ v182 │
00:25:37 verbose #61517 > │ #endif │
00:25:37 verbose #61518 > │ │
00:25:37 verbose #61519 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61520 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61521 > │ v183 │
00:25:37 verbose #61522 > │ #endif │
00:25:37 verbose #61523 > │ │
00:25:37 verbose #61524 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61525 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61526 > │ v184 │
00:25:37 verbose #61527 > │ #endif │
00:25:37 verbose #61528 > │ │
00:25:37 verbose #61529 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61530 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61531 > │ v185 │
00:25:37 verbose #61532 > │ #endif │
00:25:37 verbose #61533 > │ │
00:25:37 verbose #61534 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61535 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #61536 > │ v186 │
00:25:37 verbose #61537 > │ #endif │
00:25:37 verbose #61538 > │ │
00:25:37 verbose #61539 > │ #else │
00:25:37 verbose #61540 > │ let v187 : Async<US4> option = None │
00:25:37 verbose #61541 > │ let mutable _v187 = v187 │
00:25:37 verbose #61542 > │ async { │
00:25:37 verbose #61543 > │ let! v179 = v179 │
00:25:37 verbose #61544 > │ let v188 : US6 = v179 │
00:25:37 verbose #61545 > │ let v214 : US4 = │
00:25:37 verbose #61546 > │ match v188 with │
00:25:37 verbose #61547 > │ | US6_1(v191) -> (* Error *) │
00:25:37 verbose #61548 > │ let v192 : string = $"%A{v191}" │
00:25:37 verbose #61549 > │ let v193 : string = "System.TimeoutException" │
00:25:37 verbose #61550 > │ let v194 : bool = v192.Contains v193 │
00:25:37 verbose #61551 > │ if v194 then │
00:25:37 verbose #61552 > │ let v195 : US0 = US0_1 │
00:25:37 verbose #61553 > │ let v196 : (unit -> string) = closure17() │
00:25:37 verbose #61554 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:37 verbose #61555 > │ method1(v195, v196, v197) │
00:25:37 verbose #61556 > │ US4_1 │
00:25:37 verbose #61557 > │ else │
00:25:37 verbose #61558 > │ let v199 : string option = None │
00:25:37 verbose #61559 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:37 verbose #61560 > │ │
00:25:37 verbose #61561 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61562 > │ │
00:25:37 verbose #61563 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61564 > │ let v201 : string = $"%A{v191}" │
00:25:37 verbose #61565 > │ v201 │
00:25:37 verbose #61566 > │ #endif │
00:25:37 verbose #61567 > │ │
00:25:37 verbose #61568 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61569 > │ let v202 : string = $"%A{v191}" │
00:25:37 verbose #61570 > │ v202 │
00:25:37 verbose #61571 > │ #endif │
00:25:37 verbose #61572 > │ │
00:25:37 verbose #61573 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61574 > │ let v203 : string = $"%A{v191}" │
00:25:37 verbose #61575 > │ v203 │
00:25:37 verbose #61576 > │ #endif │
00:25:37 verbose #61577 > │ │
00:25:37 verbose #61578 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61579 > │ let v204 : string = $"%A{v191}" │
00:25:37 verbose #61580 > │ v204 │
00:25:37 verbose #61581 > │ #endif │
00:25:37 verbose #61582 > │ │
00:25:37 verbose #61583 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61584 > │ let v205 : string = $"%A{v191}" │
00:25:37 verbose #61585 > │ v205 │
00:25:37 verbose #61586 > │ #endif │
00:25:37 verbose #61587 > │ │
00:25:37 verbose #61588 > │ #else │
00:25:37 verbose #61589 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:37 verbose #61590 > │ {v191.Message}" │
00:25:37 verbose #61591 > │ v206 │
00:25:37 verbose #61592 > │ #endif │
00:25:37 verbose #61593 > │ |> fun x -> _v199 <- Some x │
00:25:37 verbose #61594 > │ let v207 : string = _v199.Value │
00:25:37 verbose #61595 > │ let v208 : US0 = US0_4 │
00:25:37 verbose #61596 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:37 verbose #61597 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:37 verbose #61598 > │ method1(v208, v209, v210) │
00:25:37 verbose #61599 > │ US4_1 │
00:25:37 verbose #61600 > │ | US6_0(v189) -> (* Ok *) │
00:25:37 verbose #61601 > │ US4_0(v189) │
00:25:37 verbose #61602 > │ return v214 │
00:25:37 verbose #61603 > │ } │
00:25:37 verbose #61604 > │ |> fun x -> _v187 <- Some x │
00:25:37 verbose #61605 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:37 verbose #61606 > │ v215 │
00:25:37 verbose #61607 > │ #endif │
00:25:37 verbose #61608 > │ |> fun x -> _v180 <- Some x │
00:25:37 verbose #61609 > │ let v216 : Async<US4> = _v180.Value │
00:25:37 verbose #61610 > │ return! v216 │
00:25:37 verbose #61611 > │ } │
00:25:37 verbose #61612 > │ |> fun x -> _v120 <- Some x │
00:25:37 verbose #61613 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:37 verbose #61614 > │ v217 │
00:25:37 verbose #61615 > │ #endif │
00:25:37 verbose #61616 > │ |> fun x -> _v113 <- Some x │
00:25:37 verbose #61617 > │ let v218 : Async<US4> = _v113.Value │
00:25:37 verbose #61618 > │ v218 │
00:25:37 verbose #61619 > │ #endif │
00:25:37 verbose #61620 > │ |> fun x -> _v106 <- Some x │
00:25:37 verbose #61621 > │ let v219 : Async<US4> = _v106.Value │
00:25:37 verbose #61622 > │ let! v219 = v219 │
00:25:37 verbose #61623 > │ let v220 : US4 = v219 │
00:25:37 verbose #61624 > │ let v223 : bool = │
00:25:37 verbose #61625 > │ match v220 with │
00:25:37 verbose #61626 > │ | US4_1 -> (* None *) │
00:25:37 verbose #61627 > │ false │
00:25:37 verbose #61628 > │ | US4_0(v221) -> (* Some *) │
00:25:37 verbose #61629 > │ v221 │
00:25:37 verbose #61630 > │ return v223 │
00:25:37 verbose #61631 > │ } │
00:25:37 verbose #61632 > │ |> fun x -> _v63 <- Some x │
00:25:37 verbose #61633 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:37 verbose #61634 > │ v224 │
00:25:37 verbose #61635 > │ #endif │
00:25:37 verbose #61636 > │ |> fun x -> _v56 <- Some x │
00:25:37 verbose #61637 > │ let v225 : Async<bool> = _v56.Value │
00:25:37 verbose #61638 > │ v225 │
00:25:37 verbose #61639 > │ let! v227 = v227 │
00:25:37 verbose #61640 > │ let v228 : bool = v227 │
00:25:37 verbose #61641 > │ let v229 : bool = v228 = false │
00:25:37 verbose #61642 > │ if v229 then │
00:25:37 verbose #61643 > │ return v1 │
00:25:37 verbose #61644 > │ (* │
00:25:37 verbose #61645 > │ () │
00:25:37 verbose #61646 > │ else │
00:25:37 verbose #61647 > │ *) else │
00:25:37 verbose #61648 > │ let v230 : int32 = v1 + 1 │
00:25:37 verbose #61649 > │ let v231 : Async<int32> = method7(v0, v230) │
00:25:37 verbose #61650 > │ return! v231 │
00:25:37 verbose #61651 > │ (* │
00:25:37 verbose #61652 > │ () │
00:25:37 verbose #61653 > │ *) │
00:25:37 verbose #61654 > │ } │
00:25:37 verbose #61655 > │ |> fun x -> _v9 <- Some x │
00:25:37 verbose #61656 > │ let v232 : Async<int32> = _v9 |> Option.get │
00:25:37 verbose #61657 > │ v232 │
00:25:37 verbose #61658 > │ #endif │
00:25:37 verbose #61659 > │ |> fun x -> _v2 <- Some x │
00:25:37 verbose #61660 > │ let v233 : Async<int32> = _v2.Value │
00:25:37 verbose #61661 > │ v233 │
00:25:37 verbose #61662 > │ and closure20 () () : string = │
00:25:37 verbose #61663 > │ let v0 : string = "4" │
00:25:37 verbose #61664 > │ v0 │
00:25:37 verbose #61665 > │ and closure21 () () : string = │
00:25:37 verbose #61666 > │ let v0 : string = "wait_for_port_access" │
00:25:37 verbose #61667 > │ v0 │
00:25:37 verbose #61668 > │ and closure22 (v0 : int32 option, v1 : int64) () : string = │
00:25:37 verbose #61669 > │ let v2 : (unit -> string) = closure1() │
00:25:37 verbose #61670 > │ let v3 : string = $"port: {5555} / retry: {v1} / timeout: %A{v0} / │
00:25:37 verbose #61671 > │ status: {false} / {v2 ()}" │
00:25:37 verbose #61672 > │ v3 │
00:25:37 verbose #61673 > │ and method9 (v0 : int32 option, v1 : int64) : Async<int64> = │
00:25:37 verbose #61674 > │ let v2 : Async<int64> option = None │
00:25:37 verbose #61675 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:37 verbose #61676 > │ │
00:25:37 verbose #61677 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61678 > │ │
00:25:37 verbose #61679 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61680 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:25:37 verbose #61681 > │ v4 │
00:25:37 verbose #61682 > │ #endif │
00:25:37 verbose #61683 > │ │
00:25:37 verbose #61684 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61685 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:25:37 verbose #61686 > │ v5 │
00:25:37 verbose #61687 > │ #endif │
00:25:37 verbose #61688 > │ │
00:25:37 verbose #61689 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61690 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:37 verbose #61691 > │ v6 │
00:25:37 verbose #61692 > │ #endif │
00:25:37 verbose #61693 > │ │
00:25:37 verbose #61694 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61695 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:37 verbose #61696 > │ v7 │
00:25:37 verbose #61697 > │ #endif │
00:25:37 verbose #61698 > │ │
00:25:37 verbose #61699 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61700 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:37 verbose #61701 > │ v8 │
00:25:37 verbose #61702 > │ #endif │
00:25:37 verbose #61703 > │ │
00:25:37 verbose #61704 > │ #else │
00:25:37 verbose #61705 > │ let v9 : Async<int64> option = None │
00:25:37 verbose #61706 > │ let mutable _v9 = v9 │
00:25:37 verbose #61707 > │ async { │
00:25:37 verbose #61708 > │ let v10 : (int32 -> US3) = method8() │
00:25:37 verbose #61709 > │ let v11 : US3 = US3_1 │
00:25:37 verbose #61710 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:37 verbose #61711 > │ let v227 : Async<bool> = │
00:25:37 verbose #61712 > │ match v12 with │
00:25:37 verbose #61713 > │ | US3_1 -> (* None *) │
00:25:37 verbose #61714 > │ let v13 : Async<bool> option = None │
00:25:37 verbose #61715 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:37 verbose #61716 > │ │
00:25:37 verbose #61717 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61718 > │ │
00:25:37 verbose #61719 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61720 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61721 > │ v15 │
00:25:37 verbose #61722 > │ #endif │
00:25:37 verbose #61723 > │ │
00:25:37 verbose #61724 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61725 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61726 > │ v16 │
00:25:37 verbose #61727 > │ #endif │
00:25:37 verbose #61728 > │ │
00:25:37 verbose #61729 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61730 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61731 > │ v17 │
00:25:37 verbose #61732 > │ #endif │
00:25:37 verbose #61733 > │ │
00:25:37 verbose #61734 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61735 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61736 > │ v18 │
00:25:37 verbose #61737 > │ #endif │
00:25:37 verbose #61738 > │ │
00:25:37 verbose #61739 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61740 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61741 > │ v19 │
00:25:37 verbose #61742 > │ #endif │
00:25:37 verbose #61743 > │ │
00:25:37 verbose #61744 > │ #else │
00:25:37 verbose #61745 > │ let v20 : Async<bool> option = None │
00:25:37 verbose #61746 > │ let mutable _v20 = v20 │
00:25:37 verbose #61747 > │ async { │
00:25:37 verbose #61748 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:37 verbose #61749 > │ Async.CancellationToken │
00:25:37 verbose #61750 > │ let! v21 = v21 │
00:25:37 verbose #61751 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:37 verbose #61752 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:37 verbose #61753 > │ System.Net.Sockets.TcpClient () │
00:25:37 verbose #61754 > │ use v23 = v23 │
00:25:37 verbose #61755 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:37 verbose #61756 > │ try │
00:25:37 verbose #61757 > │ let v25 : string = "127.0.0.1" │
00:25:37 verbose #61758 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:37 verbose #61759 > │ (v25, 5555, v22) │
00:25:37 verbose #61760 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:37 verbose #61761 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:37 verbose #61762 > │ let v29 : Async<unit> option = None │
00:25:37 verbose #61763 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:37 verbose #61764 > │ │
00:25:37 verbose #61765 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61766 > │ │
00:25:37 verbose #61767 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61768 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61769 > │ v31 │
00:25:37 verbose #61770 > │ #endif │
00:25:37 verbose #61771 > │ │
00:25:37 verbose #61772 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61773 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61774 > │ v32 │
00:25:37 verbose #61775 > │ #endif │
00:25:37 verbose #61776 > │ │
00:25:37 verbose #61777 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61778 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61779 > │ v33 │
00:25:37 verbose #61780 > │ #endif │
00:25:37 verbose #61781 > │ │
00:25:37 verbose #61782 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61783 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61784 > │ v34 │
00:25:37 verbose #61785 > │ #endif │
00:25:37 verbose #61786 > │ │
00:25:37 verbose #61787 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61788 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61789 > │ v35 │
00:25:37 verbose #61790 > │ #endif │
00:25:37 verbose #61791 > │ │
00:25:37 verbose #61792 > │ #else │
00:25:37 verbose #61793 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:37 verbose #61794 > │ Async.AwaitTask │
00:25:37 verbose #61795 > │ let v37 : Async<unit> = v36 v28 │
00:25:37 verbose #61796 > │ v37 │
00:25:37 verbose #61797 > │ #endif │
00:25:37 verbose #61798 > │ |> fun x -> _v29 <- Some x │
00:25:37 verbose #61799 > │ let v38 : Async<unit> = _v29.Value │
00:25:37 verbose #61800 > │ do! v38 │
00:25:37 verbose #61801 > │ return true │
00:25:37 verbose #61802 > │ with ex -> │
00:25:37 verbose #61803 > │ let v39 : exn = ex │
00:25:37 verbose #61804 > │ let v40 : string option = None │
00:25:37 verbose #61805 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:37 verbose #61806 > │ │
00:25:37 verbose #61807 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61808 > │ │
00:25:37 verbose #61809 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61810 > │ let v42 : string = $"%A{v39}" │
00:25:37 verbose #61811 > │ v42 │
00:25:37 verbose #61812 > │ #endif │
00:25:37 verbose #61813 > │ │
00:25:37 verbose #61814 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61815 > │ let v43 : string = $"%A{v39}" │
00:25:37 verbose #61816 > │ v43 │
00:25:37 verbose #61817 > │ #endif │
00:25:37 verbose #61818 > │ │
00:25:37 verbose #61819 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61820 > │ let v44 : string = $"%A{v39}" │
00:25:37 verbose #61821 > │ v44 │
00:25:37 verbose #61822 > │ #endif │
00:25:37 verbose #61823 > │ │
00:25:37 verbose #61824 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61825 > │ let v45 : string = $"%A{v39}" │
00:25:37 verbose #61826 > │ v45 │
00:25:37 verbose #61827 > │ #endif │
00:25:37 verbose #61828 > │ │
00:25:37 verbose #61829 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61830 > │ let v46 : string = $"%A{v39}" │
00:25:37 verbose #61831 > │ v46 │
00:25:37 verbose #61832 > │ #endif │
00:25:37 verbose #61833 > │ │
00:25:37 verbose #61834 > │ #else │
00:25:37 verbose #61835 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:37 verbose #61836 > │ v47 │
00:25:37 verbose #61837 > │ #endif │
00:25:37 verbose #61838 > │ |> fun x -> _v40 <- Some x │
00:25:37 verbose #61839 > │ let v48 : string = _v40.Value │
00:25:37 verbose #61840 > │ let v49 : US0 = US0_0 │
00:25:37 verbose #61841 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:37 verbose #61842 > │ let v51 : (unit -> string) = closure1() │
00:25:37 verbose #61843 > │ method1(v49, v50, v51) │
00:25:37 verbose #61844 > │ return false │
00:25:37 verbose #61845 > │ (* │
00:25:37 verbose #61846 > │ let v52 : bool = *) │
00:25:37 verbose #61847 > │ } │
00:25:37 verbose #61848 > │ |> fun x -> _v20 <- Some x │
00:25:37 verbose #61849 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:37 verbose #61850 > │ v53 │
00:25:37 verbose #61851 > │ #endif │
00:25:37 verbose #61852 > │ |> fun x -> _v13 <- Some x │
00:25:37 verbose #61853 > │ let v54 : Async<bool> = _v13.Value │
00:25:37 verbose #61854 > │ v54 │
00:25:37 verbose #61855 > │ | US3_0(v55) -> (* Some *) │
00:25:37 verbose #61856 > │ let v56 : Async<bool> option = None │
00:25:37 verbose #61857 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:37 verbose #61858 > │ │
00:25:37 verbose #61859 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61860 > │ │
00:25:37 verbose #61861 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61862 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61863 > │ v58 │
00:25:37 verbose #61864 > │ #endif │
00:25:37 verbose #61865 > │ │
00:25:37 verbose #61866 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61867 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61868 > │ v59 │
00:25:37 verbose #61869 > │ #endif │
00:25:37 verbose #61870 > │ │
00:25:37 verbose #61871 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61872 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61873 > │ v60 │
00:25:37 verbose #61874 > │ #endif │
00:25:37 verbose #61875 > │ │
00:25:37 verbose #61876 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61877 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61878 > │ v61 │
00:25:37 verbose #61879 > │ #endif │
00:25:37 verbose #61880 > │ │
00:25:37 verbose #61881 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61882 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61883 > │ v62 │
00:25:37 verbose #61884 > │ #endif │
00:25:37 verbose #61885 > │ │
00:25:37 verbose #61886 > │ #else │
00:25:37 verbose #61887 > │ let v63 : Async<bool> option = None │
00:25:37 verbose #61888 > │ let mutable _v63 = v63 │
00:25:37 verbose #61889 > │ async { │
00:25:37 verbose #61890 > │ let v64 : Async<bool> option = None │
00:25:37 verbose #61891 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:37 verbose #61892 > │ │
00:25:37 verbose #61893 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61894 > │ │
00:25:37 verbose #61895 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61896 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61897 > │ v66 │
00:25:37 verbose #61898 > │ #endif │
00:25:37 verbose #61899 > │ │
00:25:37 verbose #61900 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61901 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61902 > │ v67 │
00:25:37 verbose #61903 > │ #endif │
00:25:37 verbose #61904 > │ │
00:25:37 verbose #61905 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61906 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61907 > │ v68 │
00:25:37 verbose #61908 > │ #endif │
00:25:37 verbose #61909 > │ │
00:25:37 verbose #61910 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61911 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61912 > │ v69 │
00:25:37 verbose #61913 > │ #endif │
00:25:37 verbose #61914 > │ │
00:25:37 verbose #61915 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61916 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:37 verbose #61917 > │ v70 │
00:25:37 verbose #61918 > │ #endif │
00:25:37 verbose #61919 > │ │
00:25:37 verbose #61920 > │ #else │
00:25:37 verbose #61921 > │ let v71 : Async<bool> option = None │
00:25:37 verbose #61922 > │ let mutable _v71 = v71 │
00:25:37 verbose #61923 > │ async { │
00:25:37 verbose #61924 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:37 verbose #61925 > │ Async.CancellationToken │
00:25:37 verbose #61926 > │ let! v72 = v72 │
00:25:37 verbose #61927 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:37 verbose #61928 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:37 verbose #61929 > │ System.Net.Sockets.TcpClient () │
00:25:37 verbose #61930 > │ use v74 = v74 │
00:25:37 verbose #61931 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:37 verbose #61932 > │ try │
00:25:37 verbose #61933 > │ let v76 : string = "127.0.0.1" │
00:25:37 verbose #61934 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:37 verbose #61935 > │ (v76, 5555, v73) │
00:25:37 verbose #61936 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:37 verbose #61937 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:37 verbose #61938 > │ let v80 : Async<unit> option = None │
00:25:37 verbose #61939 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:37 verbose #61940 > │ │
00:25:37 verbose #61941 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61942 > │ │
00:25:37 verbose #61943 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61944 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61945 > │ v82 │
00:25:37 verbose #61946 > │ #endif │
00:25:37 verbose #61947 > │ │
00:25:37 verbose #61948 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61949 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61950 > │ v83 │
00:25:37 verbose #61951 > │ #endif │
00:25:37 verbose #61952 > │ │
00:25:37 verbose #61953 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61954 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61955 > │ v84 │
00:25:37 verbose #61956 > │ #endif │
00:25:37 verbose #61957 > │ │
00:25:37 verbose #61958 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #61959 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61960 > │ v85 │
00:25:37 verbose #61961 > │ #endif │
00:25:37 verbose #61962 > │ │
00:25:37 verbose #61963 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #61964 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #61965 > │ v86 │
00:25:37 verbose #61966 > │ #endif │
00:25:37 verbose #61967 > │ │
00:25:37 verbose #61968 > │ #else │
00:25:37 verbose #61969 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:37 verbose #61970 > │ Async.AwaitTask │
00:25:37 verbose #61971 > │ let v88 : Async<unit> = v87 v79 │
00:25:37 verbose #61972 > │ v88 │
00:25:37 verbose #61973 > │ #endif │
00:25:37 verbose #61974 > │ |> fun x -> _v80 <- Some x │
00:25:37 verbose #61975 > │ let v89 : Async<unit> = _v80.Value │
00:25:37 verbose #61976 > │ do! v89 │
00:25:37 verbose #61977 > │ return true │
00:25:37 verbose #61978 > │ with ex -> │
00:25:37 verbose #61979 > │ let v90 : exn = ex │
00:25:37 verbose #61980 > │ let v91 : string option = None │
00:25:37 verbose #61981 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:37 verbose #61982 > │ │
00:25:37 verbose #61983 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #61984 > │ │
00:25:37 verbose #61985 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #61986 > │ let v93 : string = $"%A{v90}" │
00:25:37 verbose #61987 > │ v93 │
00:25:37 verbose #61988 > │ #endif │
00:25:37 verbose #61989 > │ │
00:25:37 verbose #61990 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #61991 > │ let v94 : string = $"%A{v90}" │
00:25:37 verbose #61992 > │ v94 │
00:25:37 verbose #61993 > │ #endif │
00:25:37 verbose #61994 > │ │
00:25:37 verbose #61995 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #61996 > │ let v95 : string = $"%A{v90}" │
00:25:37 verbose #61997 > │ v95 │
00:25:37 verbose #61998 > │ #endif │
00:25:37 verbose #61999 > │ │
00:25:37 verbose #62000 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62001 > │ let v96 : string = $"%A{v90}" │
00:25:37 verbose #62002 > │ v96 │
00:25:37 verbose #62003 > │ #endif │
00:25:37 verbose #62004 > │ │
00:25:37 verbose #62005 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62006 > │ let v97 : string = $"%A{v90}" │
00:25:37 verbose #62007 > │ v97 │
00:25:37 verbose #62008 > │ #endif │
00:25:37 verbose #62009 > │ │
00:25:37 verbose #62010 > │ #else │
00:25:37 verbose #62011 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:37 verbose #62012 > │ v98 │
00:25:37 verbose #62013 > │ #endif │
00:25:37 verbose #62014 > │ |> fun x -> _v91 <- Some x │
00:25:37 verbose #62015 > │ let v99 : string = _v91.Value │
00:25:37 verbose #62016 > │ let v100 : US0 = US0_0 │
00:25:37 verbose #62017 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:37 verbose #62018 > │ let v102 : (unit -> string) = closure1() │
00:25:37 verbose #62019 > │ method1(v100, v101, v102) │
00:25:37 verbose #62020 > │ return false │
00:25:37 verbose #62021 > │ (* │
00:25:37 verbose #62022 > │ let v103 : bool = *) │
00:25:37 verbose #62023 > │ } │
00:25:37 verbose #62024 > │ |> fun x -> _v71 <- Some x │
00:25:37 verbose #62025 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:37 verbose #62026 > │ v104 │
00:25:37 verbose #62027 > │ #endif │
00:25:37 verbose #62028 > │ |> fun x -> _v64 <- Some x │
00:25:37 verbose #62029 > │ let v105 : Async<bool> = _v64.Value │
00:25:37 verbose #62030 > │ let v106 : Async<US4> option = None │
00:25:37 verbose #62031 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:37 verbose #62032 > │ │
00:25:37 verbose #62033 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62034 > │ │
00:25:37 verbose #62035 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62036 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62037 > │ v108 │
00:25:37 verbose #62038 > │ #endif │
00:25:37 verbose #62039 > │ │
00:25:37 verbose #62040 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62041 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62042 > │ v109 │
00:25:37 verbose #62043 > │ #endif │
00:25:37 verbose #62044 > │ │
00:25:37 verbose #62045 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62046 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62047 > │ v110 │
00:25:37 verbose #62048 > │ #endif │
00:25:37 verbose #62049 > │ │
00:25:37 verbose #62050 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62051 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62052 > │ v111 │
00:25:37 verbose #62053 > │ #endif │
00:25:37 verbose #62054 > │ │
00:25:37 verbose #62055 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62056 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62057 > │ v112 │
00:25:37 verbose #62058 > │ #endif │
00:25:37 verbose #62059 > │ │
00:25:37 verbose #62060 > │ #else │
00:25:37 verbose #62061 > │ let v113 : Async<US4> option = None │
00:25:37 verbose #62062 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:37 verbose #62063 > │ │
00:25:37 verbose #62064 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62065 > │ │
00:25:37 verbose #62066 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62067 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62068 > │ v115 │
00:25:37 verbose #62069 > │ #endif │
00:25:37 verbose #62070 > │ │
00:25:37 verbose #62071 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62072 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62073 > │ v116 │
00:25:37 verbose #62074 > │ #endif │
00:25:37 verbose #62075 > │ │
00:25:37 verbose #62076 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62077 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62078 > │ v117 │
00:25:37 verbose #62079 > │ #endif │
00:25:37 verbose #62080 > │ │
00:25:37 verbose #62081 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62082 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62083 > │ v118 │
00:25:37 verbose #62084 > │ #endif │
00:25:37 verbose #62085 > │ │
00:25:37 verbose #62086 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62087 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62088 > │ v119 │
00:25:37 verbose #62089 > │ #endif │
00:25:37 verbose #62090 > │ │
00:25:37 verbose #62091 > │ #else │
00:25:37 verbose #62092 > │ let v120 : Async<US4> option = None │
00:25:37 verbose #62093 > │ let mutable _v120 = v120 │
00:25:37 verbose #62094 > │ async { │
00:25:37 verbose #62095 > │ let v121 : Async<Async<bool>> option = None │
00:25:37 verbose #62096 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:37 verbose #62097 > │ │
00:25:37 verbose #62098 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62099 > │ │
00:25:37 verbose #62100 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62101 > │ let v123 : Async<Async<bool>> = null |> │
00:25:37 verbose #62102 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #62103 > │ v123 │
00:25:37 verbose #62104 > │ #endif │
00:25:37 verbose #62105 > │ │
00:25:37 verbose #62106 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62107 > │ let v124 : Async<Async<bool>> = null |> │
00:25:37 verbose #62108 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #62109 > │ v124 │
00:25:37 verbose #62110 > │ #endif │
00:25:37 verbose #62111 > │ │
00:25:37 verbose #62112 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62113 > │ let v125 : Async<Async<bool>> = null |> │
00:25:37 verbose #62114 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #62115 > │ v125 │
00:25:37 verbose #62116 > │ #endif │
00:25:37 verbose #62117 > │ │
00:25:37 verbose #62118 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62119 > │ let v126 : Async<Async<bool>> = null |> │
00:25:37 verbose #62120 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #62121 > │ v126 │
00:25:37 verbose #62122 > │ #endif │
00:25:37 verbose #62123 > │ │
00:25:37 verbose #62124 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62125 > │ let v127 : Async<Async<bool>> = null |> │
00:25:37 verbose #62126 > │ unbox<Async<Async<bool>>> │
00:25:37 verbose #62127 > │ v127 │
00:25:37 verbose #62128 > │ #endif │
00:25:37 verbose #62129 > │ │
00:25:37 verbose #62130 > │ #else │
00:25:37 verbose #62131 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:37 verbose #62132 > │ v128 │
00:25:37 verbose #62133 > │ #endif │
00:25:37 verbose #62134 > │ |> fun x -> _v121 <- Some x │
00:25:37 verbose #62135 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:37 verbose #62136 > │ let! v129 = v129 │
00:25:37 verbose #62137 > │ let v130 : Async<bool> = v129 │
00:25:37 verbose #62138 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:37 verbose #62139 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:37 verbose #62140 > │ │
00:25:37 verbose #62141 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62142 > │ │
00:25:37 verbose #62143 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62144 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #62145 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #62146 > │ v133 │
00:25:37 verbose #62147 > │ #endif │
00:25:37 verbose #62148 > │ │
00:25:37 verbose #62149 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62150 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #62151 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #62152 > │ v134 │
00:25:37 verbose #62153 > │ #endif │
00:25:37 verbose #62154 > │ │
00:25:37 verbose #62155 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62156 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #62157 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #62158 > │ v135 │
00:25:37 verbose #62159 > │ #endif │
00:25:37 verbose #62160 > │ │
00:25:37 verbose #62161 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62162 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #62163 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #62164 > │ v136 │
00:25:37 verbose #62165 > │ #endif │
00:25:37 verbose #62166 > │ │
00:25:37 verbose #62167 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62168 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:37 verbose #62169 > │ unbox<Async<Choice<bool, exn>>> │
00:25:37 verbose #62170 > │ v137 │
00:25:37 verbose #62171 > │ #endif │
00:25:37 verbose #62172 > │ │
00:25:37 verbose #62173 > │ #else │
00:25:37 verbose #62174 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:37 verbose #62175 > │ Async.Catch │
00:25:37 verbose #62176 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:37 verbose #62177 > │ v139 │
00:25:37 verbose #62178 > │ #endif │
00:25:37 verbose #62179 > │ |> fun x -> _v131 <- Some x │
00:25:37 verbose #62180 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:37 verbose #62181 > │ let v141 : Async<US5> option = None │
00:25:37 verbose #62182 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:37 verbose #62183 > │ │
00:25:37 verbose #62184 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62185 > │ │
00:25:37 verbose #62186 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62187 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #62188 > │ v143 │
00:25:37 verbose #62189 > │ #endif │
00:25:37 verbose #62190 > │ │
00:25:37 verbose #62191 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62192 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #62193 > │ v144 │
00:25:37 verbose #62194 > │ #endif │
00:25:37 verbose #62195 > │ │
00:25:37 verbose #62196 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62197 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #62198 > │ v145 │
00:25:37 verbose #62199 > │ #endif │
00:25:37 verbose #62200 > │ │
00:25:37 verbose #62201 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62202 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #62203 > │ v146 │
00:25:37 verbose #62204 > │ #endif │
00:25:37 verbose #62205 > │ │
00:25:37 verbose #62206 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62207 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:37 verbose #62208 > │ v147 │
00:25:37 verbose #62209 > │ #endif │
00:25:37 verbose #62210 > │ │
00:25:37 verbose #62211 > │ #else │
00:25:37 verbose #62212 > │ let v148 : Async<US5> option = None │
00:25:37 verbose #62213 > │ let mutable _v148 = v148 │
00:25:37 verbose #62214 > │ async { │
00:25:37 verbose #62215 > │ let! v140 = v140 │
00:25:37 verbose #62216 > │ let v149 : Choice<bool, exn> = v140 │
00:25:37 verbose #62217 > │ let v150 : US5 option = None │
00:25:37 verbose #62218 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:37 verbose #62219 > │ │
00:25:37 verbose #62220 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62221 > │ │
00:25:37 verbose #62222 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62223 > │ let v152 : US5 = null |> unbox<US5> │
00:25:37 verbose #62224 > │ v152 │
00:25:37 verbose #62225 > │ #endif │
00:25:37 verbose #62226 > │ │
00:25:37 verbose #62227 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62228 > │ let v153 : US5 = null |> unbox<US5> │
00:25:37 verbose #62229 > │ v153 │
00:25:37 verbose #62230 > │ #endif │
00:25:37 verbose #62231 > │ │
00:25:37 verbose #62232 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62233 > │ let v154 : US5 = null |> unbox<US5> │
00:25:37 verbose #62234 > │ v154 │
00:25:37 verbose #62235 > │ #endif │
00:25:37 verbose #62236 > │ │
00:25:37 verbose #62237 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62238 > │ let v155 : US5 = null |> unbox<US5> │
00:25:37 verbose #62239 > │ v155 │
00:25:37 verbose #62240 > │ #endif │
00:25:37 verbose #62241 > │ │
00:25:37 verbose #62242 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62243 > │ let v156 : US5 = null |> unbox<US5> │
00:25:37 verbose #62244 > │ v156 │
00:25:37 verbose #62245 > │ #endif │
00:25:37 verbose #62246 > │ │
00:25:37 verbose #62247 > │ #else │
00:25:37 verbose #62248 > │ let v157 : (bool -> US5) = closure15() │
00:25:37 verbose #62249 > │ let v158 : (exn -> US5) = closure16() │
00:25:37 verbose #62250 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:37 verbose #62251 > │ Choice2Of2 x -> v158 x │
00:25:37 verbose #62252 > │ v159 │
00:25:37 verbose #62253 > │ #endif │
00:25:37 verbose #62254 > │ |> fun x -> _v150 <- Some x │
00:25:37 verbose #62255 > │ let v160 : US5 = _v150.Value │
00:25:37 verbose #62256 > │ return v160 │
00:25:37 verbose #62257 > │ } │
00:25:37 verbose #62258 > │ |> fun x -> _v148 <- Some x │
00:25:37 verbose #62259 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:37 verbose #62260 > │ v161 │
00:25:37 verbose #62261 > │ #endif │
00:25:37 verbose #62262 > │ |> fun x -> _v141 <- Some x │
00:25:37 verbose #62263 > │ let v162 : Async<US5> = _v141.Value │
00:25:37 verbose #62264 > │ let v163 : Async<US6> option = None │
00:25:37 verbose #62265 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:37 verbose #62266 > │ │
00:25:37 verbose #62267 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62268 > │ │
00:25:37 verbose #62269 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62270 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #62271 > │ v165 │
00:25:37 verbose #62272 > │ #endif │
00:25:37 verbose #62273 > │ │
00:25:37 verbose #62274 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62275 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #62276 > │ v166 │
00:25:37 verbose #62277 > │ #endif │
00:25:37 verbose #62278 > │ │
00:25:37 verbose #62279 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62280 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #62281 > │ v167 │
00:25:37 verbose #62282 > │ #endif │
00:25:37 verbose #62283 > │ │
00:25:37 verbose #62284 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62285 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #62286 > │ v168 │
00:25:37 verbose #62287 > │ #endif │
00:25:37 verbose #62288 > │ │
00:25:37 verbose #62289 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62290 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:37 verbose #62291 > │ v169 │
00:25:37 verbose #62292 > │ #endif │
00:25:37 verbose #62293 > │ │
00:25:37 verbose #62294 > │ #else │
00:25:37 verbose #62295 > │ let v170 : Async<US6> option = None │
00:25:37 verbose #62296 > │ let mutable _v170 = v170 │
00:25:37 verbose #62297 > │ async { │
00:25:37 verbose #62298 > │ let! v162 = v162 │
00:25:37 verbose #62299 > │ let v171 : US5 = v162 │
00:25:37 verbose #62300 > │ let v177 : US6 = │
00:25:37 verbose #62301 > │ match v171 with │
00:25:37 verbose #62302 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:37 verbose #62303 > │ US6_0(v172) │
00:25:37 verbose #62304 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:37 verbose #62305 > │ US6_1(v174) │
00:25:37 verbose #62306 > │ return v177 │
00:25:37 verbose #62307 > │ } │
00:25:37 verbose #62308 > │ |> fun x -> _v170 <- Some x │
00:25:37 verbose #62309 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:37 verbose #62310 > │ v178 │
00:25:37 verbose #62311 > │ #endif │
00:25:37 verbose #62312 > │ |> fun x -> _v163 <- Some x │
00:25:37 verbose #62313 > │ let v179 : Async<US6> = _v163.Value │
00:25:37 verbose #62314 > │ let v180 : Async<US4> option = None │
00:25:37 verbose #62315 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:37 verbose #62316 > │ │
00:25:37 verbose #62317 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62318 > │ │
00:25:37 verbose #62319 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62320 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62321 > │ v182 │
00:25:37 verbose #62322 > │ #endif │
00:25:37 verbose #62323 > │ │
00:25:37 verbose #62324 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62325 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62326 > │ v183 │
00:25:37 verbose #62327 > │ #endif │
00:25:37 verbose #62328 > │ │
00:25:37 verbose #62329 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62330 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62331 > │ v184 │
00:25:37 verbose #62332 > │ #endif │
00:25:37 verbose #62333 > │ │
00:25:37 verbose #62334 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62335 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62336 > │ v185 │
00:25:37 verbose #62337 > │ #endif │
00:25:37 verbose #62338 > │ │
00:25:37 verbose #62339 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62340 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:37 verbose #62341 > │ v186 │
00:25:37 verbose #62342 > │ #endif │
00:25:37 verbose #62343 > │ │
00:25:37 verbose #62344 > │ #else │
00:25:37 verbose #62345 > │ let v187 : Async<US4> option = None │
00:25:37 verbose #62346 > │ let mutable _v187 = v187 │
00:25:37 verbose #62347 > │ async { │
00:25:37 verbose #62348 > │ let! v179 = v179 │
00:25:37 verbose #62349 > │ let v188 : US6 = v179 │
00:25:37 verbose #62350 > │ let v214 : US4 = │
00:25:37 verbose #62351 > │ match v188 with │
00:25:37 verbose #62352 > │ | US6_1(v191) -> (* Error *) │
00:25:37 verbose #62353 > │ let v192 : string = $"%A{v191}" │
00:25:37 verbose #62354 > │ let v193 : string = "System.TimeoutException" │
00:25:37 verbose #62355 > │ let v194 : bool = v192.Contains v193 │
00:25:37 verbose #62356 > │ if v194 then │
00:25:37 verbose #62357 > │ let v195 : US0 = US0_1 │
00:25:37 verbose #62358 > │ let v196 : (unit -> string) = closure17() │
00:25:37 verbose #62359 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:37 verbose #62360 > │ method1(v195, v196, v197) │
00:25:37 verbose #62361 > │ US4_1 │
00:25:37 verbose #62362 > │ else │
00:25:37 verbose #62363 > │ let v199 : string option = None │
00:25:37 verbose #62364 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:37 verbose #62365 > │ │
00:25:37 verbose #62366 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62367 > │ │
00:25:37 verbose #62368 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62369 > │ let v201 : string = $"%A{v191}" │
00:25:37 verbose #62370 > │ v201 │
00:25:37 verbose #62371 > │ #endif │
00:25:37 verbose #62372 > │ │
00:25:37 verbose #62373 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62374 > │ let v202 : string = $"%A{v191}" │
00:25:37 verbose #62375 > │ v202 │
00:25:37 verbose #62376 > │ #endif │
00:25:37 verbose #62377 > │ │
00:25:37 verbose #62378 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62379 > │ let v203 : string = $"%A{v191}" │
00:25:37 verbose #62380 > │ v203 │
00:25:37 verbose #62381 > │ #endif │
00:25:37 verbose #62382 > │ │
00:25:37 verbose #62383 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62384 > │ let v204 : string = $"%A{v191}" │
00:25:37 verbose #62385 > │ v204 │
00:25:37 verbose #62386 > │ #endif │
00:25:37 verbose #62387 > │ │
00:25:37 verbose #62388 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62389 > │ let v205 : string = $"%A{v191}" │
00:25:37 verbose #62390 > │ v205 │
00:25:37 verbose #62391 > │ #endif │
00:25:37 verbose #62392 > │ │
00:25:37 verbose #62393 > │ #else │
00:25:37 verbose #62394 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:37 verbose #62395 > │ {v191.Message}" │
00:25:37 verbose #62396 > │ v206 │
00:25:37 verbose #62397 > │ #endif │
00:25:37 verbose #62398 > │ |> fun x -> _v199 <- Some x │
00:25:37 verbose #62399 > │ let v207 : string = _v199.Value │
00:25:37 verbose #62400 > │ let v208 : US0 = US0_4 │
00:25:37 verbose #62401 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:37 verbose #62402 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:37 verbose #62403 > │ method1(v208, v209, v210) │
00:25:37 verbose #62404 > │ US4_1 │
00:25:37 verbose #62405 > │ | US6_0(v189) -> (* Ok *) │
00:25:37 verbose #62406 > │ US4_0(v189) │
00:25:37 verbose #62407 > │ return v214 │
00:25:37 verbose #62408 > │ } │
00:25:37 verbose #62409 > │ |> fun x -> _v187 <- Some x │
00:25:37 verbose #62410 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:37 verbose #62411 > │ v215 │
00:25:37 verbose #62412 > │ #endif │
00:25:37 verbose #62413 > │ |> fun x -> _v180 <- Some x │
00:25:37 verbose #62414 > │ let v216 : Async<US4> = _v180.Value │
00:25:37 verbose #62415 > │ return! v216 │
00:25:37 verbose #62416 > │ } │
00:25:37 verbose #62417 > │ |> fun x -> _v120 <- Some x │
00:25:37 verbose #62418 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:37 verbose #62419 > │ v217 │
00:25:37 verbose #62420 > │ #endif │
00:25:37 verbose #62421 > │ |> fun x -> _v113 <- Some x │
00:25:37 verbose #62422 > │ let v218 : Async<US4> = _v113.Value │
00:25:37 verbose #62423 > │ v218 │
00:25:37 verbose #62424 > │ #endif │
00:25:37 verbose #62425 > │ |> fun x -> _v106 <- Some x │
00:25:37 verbose #62426 > │ let v219 : Async<US4> = _v106.Value │
00:25:37 verbose #62427 > │ let! v219 = v219 │
00:25:37 verbose #62428 > │ let v220 : US4 = v219 │
00:25:37 verbose #62429 > │ let v223 : bool = │
00:25:37 verbose #62430 > │ match v220 with │
00:25:37 verbose #62431 > │ | US4_1 -> (* None *) │
00:25:37 verbose #62432 > │ false │
00:25:37 verbose #62433 > │ | US4_0(v221) -> (* Some *) │
00:25:37 verbose #62434 > │ v221 │
00:25:37 verbose #62435 > │ return v223 │
00:25:37 verbose #62436 > │ } │
00:25:37 verbose #62437 > │ |> fun x -> _v63 <- Some x │
00:25:37 verbose #62438 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:37 verbose #62439 > │ v224 │
00:25:37 verbose #62440 > │ #endif │
00:25:37 verbose #62441 > │ |> fun x -> _v56 <- Some x │
00:25:37 verbose #62442 > │ let v225 : Async<bool> = _v56.Value │
00:25:37 verbose #62443 > │ v225 │
00:25:37 verbose #62444 > │ let! v227 = v227 │
00:25:37 verbose #62445 > │ let v228 : bool = v227 │
00:25:37 verbose #62446 > │ let v229 : bool = v228 = false │
00:25:37 verbose #62447 > │ if v229 then │
00:25:37 verbose #62448 > │ return v1 │
00:25:37 verbose #62449 > │ (* │
00:25:37 verbose #62450 > │ () │
00:25:37 verbose #62451 > │ else │
00:25:37 verbose #62452 > │ *) else │
00:25:37 verbose #62453 > │ let v230 : int64 = v1 % 100L │
00:25:37 verbose #62454 > │ let v231 : bool = v230 = 0L │
00:25:37 verbose #62455 > │ if v231 then │
00:25:37 verbose #62456 > │ let v232 : US0 = US0_0 │
00:25:37 verbose #62457 > │ let v233 : (unit -> string) = closure21() │
00:25:37 verbose #62458 > │ let v234 : (unit -> string) = closure22(v0, v1) │
00:25:37 verbose #62459 > │ method1(v232, v233, v234) │
00:25:37 verbose #62460 > │ let v235 : Async<unit> option = None │
00:25:37 verbose #62461 > │ let v236 : bool = true in let mutable _v235 = v235 │
00:25:37 verbose #62462 > │ │
00:25:37 verbose #62463 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62464 > │ │
00:25:37 verbose #62465 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62466 > │ let v237 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62467 > │ v237 │
00:25:37 verbose #62468 > │ #endif │
00:25:37 verbose #62469 > │ │
00:25:37 verbose #62470 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62471 > │ let v238 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62472 > │ v238 │
00:25:37 verbose #62473 > │ #endif │
00:25:37 verbose #62474 > │ │
00:25:37 verbose #62475 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62476 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62477 > │ v239 │
00:25:37 verbose #62478 > │ #endif │
00:25:37 verbose #62479 > │ │
00:25:37 verbose #62480 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62481 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62482 > │ v240 │
00:25:37 verbose #62483 > │ #endif │
00:25:37 verbose #62484 > │ │
00:25:37 verbose #62485 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62486 > │ let v241 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62487 > │ v241 │
00:25:37 verbose #62488 > │ #endif │
00:25:37 verbose #62489 > │ │
00:25:37 verbose #62490 > │ #else │
00:25:37 verbose #62491 > │ let v242 : (int32 -> Async<unit>) = Async.Sleep │
00:25:37 verbose #62492 > │ let v243 : Async<unit> = v242 10 │
00:25:37 verbose #62493 > │ v243 │
00:25:37 verbose #62494 > │ #endif │
00:25:37 verbose #62495 > │ |> fun x -> _v235 <- Some x │
00:25:37 verbose #62496 > │ let v244 : Async<unit> = _v235.Value │
00:25:37 verbose #62497 > │ do! v244 │
00:25:37 verbose #62498 > │ let v245 : int64 = v1 + 1L │
00:25:37 verbose #62499 > │ let v246 : Async<int64> = method9(v0, v245) │
00:25:37 verbose #62500 > │ return! v246 │
00:25:37 verbose #62501 > │ (* │
00:25:37 verbose #62502 > │ () │
00:25:37 verbose #62503 > │ *) │
00:25:37 verbose #62504 > │ } │
00:25:37 verbose #62505 > │ |> fun x -> _v9 <- Some x │
00:25:37 verbose #62506 > │ let v247 : Async<int64> = _v9 |> Option.get │
00:25:37 verbose #62507 > │ v247 │
00:25:37 verbose #62508 > │ #endif │
00:25:37 verbose #62509 > │ |> fun x -> _v2 <- Some x │
00:25:37 verbose #62510 > │ let v248 : Async<int64> = _v2.Value │
00:25:37 verbose #62511 > │ v248 │
00:25:37 verbose #62512 > │ and closure23 () () : string = │
00:25:37 verbose #62513 > │ let v0 : string = "5" │
00:25:37 verbose #62514 > │ v0 │
00:25:37 verbose #62515 > │ and closure24 () () : string = │
00:25:37 verbose #62516 > │ let v0 : string = "6" │
00:25:37 verbose #62517 > │ v0 │
00:25:37 verbose #62518 > │ and closure25 () struct (v0 : int32, v1 : int64) : US8 = │
00:25:37 verbose #62519 > │ US8_0(v0, v1) │
00:25:37 verbose #62520 > │ and closure26 () (v0 : exn) : US8 = │
00:25:37 verbose #62521 > │ US8_1(v0) │
00:25:37 verbose #62522 > │ and closure27 () () : string = │
00:25:37 verbose #62523 > │ let v0 : (unit -> string) = closure1() │
00:25:37 verbose #62524 > │ let v1 : string = $"timeout: {15000} / {v0 ()}" │
00:25:37 verbose #62525 > │ v1 │
00:25:37 verbose #62526 > │ and method10 (v0 : bool) : bool = │
00:25:37 verbose #62527 > │ v0 │
00:25:37 verbose #62528 > │ and method0 () : unit = │
00:25:37 verbose #62529 > │ let v0 : Async<struct (int32 * int64)> option = None │
00:25:37 verbose #62530 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:25:37 verbose #62531 > │ │
00:25:37 verbose #62532 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62533 > │ │
00:25:37 verbose #62534 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62535 > │ let v2 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:37 verbose #62536 > │ (int32 * int64)>> │
00:25:37 verbose #62537 > │ v2 │
00:25:37 verbose #62538 > │ #endif │
00:25:37 verbose #62539 > │ │
00:25:37 verbose #62540 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62541 > │ let v3 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:37 verbose #62542 > │ (int32 * int64)>> │
00:25:37 verbose #62543 > │ v3 │
00:25:37 verbose #62544 > │ #endif │
00:25:37 verbose #62545 > │ │
00:25:37 verbose #62546 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62547 > │ let v4 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:37 verbose #62548 > │ (int32 * int64)>> │
00:25:37 verbose #62549 > │ v4 │
00:25:37 verbose #62550 > │ #endif │
00:25:37 verbose #62551 > │ │
00:25:37 verbose #62552 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62553 > │ let v5 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:37 verbose #62554 > │ (int32 * int64)>> │
00:25:37 verbose #62555 > │ v5 │
00:25:37 verbose #62556 > │ #endif │
00:25:37 verbose #62557 > │ │
00:25:37 verbose #62558 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62559 > │ let v6 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:37 verbose #62560 > │ (int32 * int64)>> │
00:25:37 verbose #62561 > │ v6 │
00:25:37 verbose #62562 > │ #endif │
00:25:37 verbose #62563 > │ │
00:25:37 verbose #62564 > │ #else │
00:25:37 verbose #62565 > │ let v7 : Async<struct (int32 * int64)> option = None │
00:25:37 verbose #62566 > │ let mutable _v7 = v7 │
00:25:37 verbose #62567 > │ async { │
00:25:37 verbose #62568 > │ let v8 : US0 = US0_1 │
00:25:37 verbose #62569 > │ let v9 : (unit -> string) = closure0() │
00:25:37 verbose #62570 > │ let v10 : (unit -> string) = closure1() │
00:25:37 verbose #62571 > │ method1(v8, v9, v10) │
00:25:37 verbose #62572 > │ let v11 : Async<unit> option = None │
00:25:37 verbose #62573 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:25:37 verbose #62574 > │ │
00:25:37 verbose #62575 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62576 > │ │
00:25:37 verbose #62577 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62578 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62579 > │ v13 │
00:25:37 verbose #62580 > │ #endif │
00:25:37 verbose #62581 > │ │
00:25:37 verbose #62582 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62583 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62584 > │ v14 │
00:25:37 verbose #62585 > │ #endif │
00:25:37 verbose #62586 > │ │
00:25:37 verbose #62587 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62588 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62589 > │ v15 │
00:25:37 verbose #62590 > │ #endif │
00:25:37 verbose #62591 > │ │
00:25:37 verbose #62592 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62593 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62594 > │ v16 │
00:25:37 verbose #62595 > │ #endif │
00:25:37 verbose #62596 > │ │
00:25:37 verbose #62597 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62598 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62599 > │ v17 │
00:25:37 verbose #62600 > │ #endif │
00:25:37 verbose #62601 > │ │
00:25:37 verbose #62602 > │ #else │
00:25:37 verbose #62603 > │ let v18 : Async<unit> option = None │
00:25:37 verbose #62604 > │ let mutable _v18 = v18 │
00:25:37 verbose #62605 > │ async { │
00:25:37 verbose #62606 > │ let v19 : US0 = US0_1 │
00:25:37 verbose #62607 > │ let v20 : (unit -> string) = closure6() │
00:25:37 verbose #62608 > │ method1(v19, v20, v10) │
00:25:37 verbose #62609 > │ let v21 : (string -> System.Net.IPAddress) = System.Net.IPAddress.Parse │
00:25:37 verbose #62610 > │ let v22 : string = "127.0.0.1" │
00:25:37 verbose #62611 > │ let v23 : System.Net.IPAddress = v21 v22 │
00:25:37 verbose #62612 > │ let v24 : System.Net.Sockets.TcpListener = new │
00:25:37 verbose #62613 > │ System.Net.Sockets.TcpListener (v23, 5555) │
00:25:37 verbose #62614 > │ use v24 = v24 │
00:25:37 verbose #62615 > │ let v25 : System.Net.Sockets.TcpListener = v24 │
00:25:37 verbose #62616 > │ let v26 : (string -> System.Net.IPAddress) = System.Net.IPAddress.Parse │
00:25:37 verbose #62617 > │ let v27 : System.Net.IPAddress = v26 v22 │
00:25:37 verbose #62618 > │ let v28 : System.Net.Sockets.TcpListener = new │
00:25:37 verbose #62619 > │ System.Net.Sockets.TcpListener (v27, 5556) │
00:25:37 verbose #62620 > │ use v28 = v28 │
00:25:37 verbose #62621 > │ let v29 : System.Net.Sockets.TcpListener = v28 │
00:25:37 verbose #62622 > │ let v30 : US0 = US0_1 │
00:25:37 verbose #62623 > │ let v31 : (unit -> string) = closure7() │
00:25:37 verbose #62624 > │ method1(v30, v31, v10) │
00:25:37 verbose #62625 > │ let v32 : (unit -> unit) = v25.Start │
00:25:37 verbose #62626 > │ v32 () │
00:25:37 verbose #62627 > │ let v33 : (unit -> unit) = v29.Start │
00:25:37 verbose #62628 > │ v33 () │
00:25:37 verbose #62629 > │ let v34 : US0 = US0_1 │
00:25:37 verbose #62630 > │ let v35 : (unit -> string) = closure8() │
00:25:37 verbose #62631 > │ method1(v34, v35, v10) │
00:25:37 verbose #62632 > │ let v36 : Async<unit> option = None │
00:25:37 verbose #62633 > │ let v37 : bool = true in let mutable _v36 = v36 │
00:25:37 verbose #62634 > │ │
00:25:37 verbose #62635 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62636 > │ │
00:25:37 verbose #62637 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62638 > │ let v38 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62639 > │ v38 │
00:25:37 verbose #62640 > │ #endif │
00:25:37 verbose #62641 > │ │
00:25:37 verbose #62642 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62643 > │ let v39 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62644 > │ v39 │
00:25:37 verbose #62645 > │ #endif │
00:25:37 verbose #62646 > │ │
00:25:37 verbose #62647 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62648 > │ let v40 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62649 > │ v40 │
00:25:37 verbose #62650 > │ #endif │
00:25:37 verbose #62651 > │ │
00:25:37 verbose #62652 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62653 > │ let v41 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62654 > │ v41 │
00:25:37 verbose #62655 > │ #endif │
00:25:37 verbose #62656 > │ │
00:25:37 verbose #62657 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62658 > │ let v42 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62659 > │ v42 │
00:25:37 verbose #62660 > │ #endif │
00:25:37 verbose #62661 > │ │
00:25:37 verbose #62662 > │ #else │
00:25:37 verbose #62663 > │ let v43 : (int32 -> Async<unit>) = Async.Sleep │
00:25:37 verbose #62664 > │ let v44 : Async<unit> = v43 4000 │
00:25:37 verbose #62665 > │ v44 │
00:25:37 verbose #62666 > │ #endif │
00:25:37 verbose #62667 > │ |> fun x -> _v36 <- Some x │
00:25:37 verbose #62668 > │ let v45 : Async<unit> = _v36.Value │
00:25:37 verbose #62669 > │ do! v45 │
00:25:37 verbose #62670 > │ let v46 : US0 = US0_1 │
00:25:37 verbose #62671 > │ let v47 : (unit -> string) = closure9() │
00:25:37 verbose #62672 > │ method1(v46, v47, v10) │
00:25:37 verbose #62673 > │ let v48 : (unit -> unit) = v25.Stop │
00:25:37 verbose #62674 > │ v48 () │
00:25:37 verbose #62675 > │ let v49 : (unit -> unit) = v29.Stop │
00:25:37 verbose #62676 > │ v49 () │
00:25:37 verbose #62677 > │ let v50 : US0 = US0_1 │
00:25:37 verbose #62678 > │ let v51 : (unit -> string) = closure10() │
00:25:37 verbose #62679 > │ method1(v50, v51, v10) │
00:25:37 verbose #62680 > │ } │
00:25:37 verbose #62681 > │ |> fun x -> _v18 <- Some x │
00:25:37 verbose #62682 > │ let v52 : Async<unit> = _v18 |> Option.get │
00:25:37 verbose #62683 > │ v52 │
00:25:37 verbose #62684 > │ #endif │
00:25:37 verbose #62685 > │ |> fun x -> _v11 <- Some x │
00:25:37 verbose #62686 > │ let v53 : Async<unit> = _v11.Value │
00:25:37 verbose #62687 > │ let v54 : Async<Async<unit>> option = None │
00:25:37 verbose #62688 > │ let v55 : bool = true in let mutable _v54 = v54 │
00:25:37 verbose #62689 > │ │
00:25:37 verbose #62690 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62691 > │ │
00:25:37 verbose #62692 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62693 > │ let v56 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:37 verbose #62694 > │ v56 │
00:25:37 verbose #62695 > │ #endif │
00:25:37 verbose #62696 > │ │
00:25:37 verbose #62697 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62698 > │ let v57 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:37 verbose #62699 > │ v57 │
00:25:37 verbose #62700 > │ #endif │
00:25:37 verbose #62701 > │ │
00:25:37 verbose #62702 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62703 > │ let v58 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:37 verbose #62704 > │ v58 │
00:25:37 verbose #62705 > │ #endif │
00:25:37 verbose #62706 > │ │
00:25:37 verbose #62707 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62708 > │ let v59 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:37 verbose #62709 > │ v59 │
00:25:37 verbose #62710 > │ #endif │
00:25:37 verbose #62711 > │ │
00:25:37 verbose #62712 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62713 > │ let v60 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:37 verbose #62714 > │ v60 │
00:25:37 verbose #62715 > │ #endif │
00:25:37 verbose #62716 > │ │
00:25:37 verbose #62717 > │ #else │
00:25:37 verbose #62718 > │ let v61 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:25:37 verbose #62719 > │ let v62 : Async<Async<unit>> = v61 v53 │
00:25:37 verbose #62720 > │ v62 │
00:25:37 verbose #62721 > │ #endif │
00:25:37 verbose #62722 > │ |> fun x -> _v54 <- Some x │
00:25:37 verbose #62723 > │ let v63 : Async<Async<unit>> = _v54.Value │
00:25:37 verbose #62724 > │ let! v63 = v63 │
00:25:37 verbose #62725 > │ let v64 : Async<unit> = v63 │
00:25:37 verbose #62726 > │ let v65 : US0 = US0_1 │
00:25:37 verbose #62727 > │ let v66 : (unit -> string) = closure11() │
00:25:37 verbose #62728 > │ method1(v65, v66, v10) │
00:25:37 verbose #62729 > │ let v67 : Async<unit> option = None │
00:25:37 verbose #62730 > │ let v68 : bool = true in let mutable _v67 = v67 │
00:25:37 verbose #62731 > │ │
00:25:37 verbose #62732 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62733 > │ │
00:25:37 verbose #62734 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62735 > │ let v69 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62736 > │ v69 │
00:25:37 verbose #62737 > │ #endif │
00:25:37 verbose #62738 > │ │
00:25:37 verbose #62739 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62740 > │ let v70 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62741 > │ v70 │
00:25:37 verbose #62742 > │ #endif │
00:25:37 verbose #62743 > │ │
00:25:37 verbose #62744 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62745 > │ let v71 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62746 > │ v71 │
00:25:37 verbose #62747 > │ #endif │
00:25:37 verbose #62748 > │ │
00:25:37 verbose #62749 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62750 > │ let v72 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62751 > │ v72 │
00:25:37 verbose #62752 > │ #endif │
00:25:37 verbose #62753 > │ │
00:25:37 verbose #62754 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62755 > │ let v73 : Async<unit> = null |> unbox<Async<unit>> │
00:25:37 verbose #62756 > │ v73 │
00:25:37 verbose #62757 > │ #endif │
00:25:37 verbose #62758 > │ │
00:25:37 verbose #62759 > │ #else │
00:25:37 verbose #62760 > │ let v74 : (int32 -> Async<unit>) = Async.Sleep │
00:25:37 verbose #62761 > │ let v75 : Async<unit> = v74 240 │
00:25:37 verbose #62762 > │ v75 │
00:25:37 verbose #62763 > │ #endif │
00:25:37 verbose #62764 > │ |> fun x -> _v67 <- Some x │
00:25:37 verbose #62765 > │ let v76 : Async<unit> = _v67.Value │
00:25:37 verbose #62766 > │ do! v76 │
00:25:37 verbose #62767 > │ let v77 : US0 = US0_1 │
00:25:37 verbose #62768 > │ let v78 : (unit -> string) = closure12() │
00:25:37 verbose #62769 > │ method1(v77, v78, v10) │
00:25:37 verbose #62770 > │ let v79 : int32 option = None │
00:25:37 verbose #62771 > │ let v80 : int32 = 5555 │
00:25:37 verbose #62772 > │ let v81 : Async<int32> = method7(v79, v80) │
00:25:37 verbose #62773 > │ let! v81 = v81 │
00:25:37 verbose #62774 > │ let v82 : int32 = v81 │
00:25:37 verbose #62775 > │ let v83 : US0 = US0_1 │
00:25:37 verbose #62776 > │ let v84 : (unit -> string) = closure20() │
00:25:37 verbose #62777 > │ method1(v83, v84, v10) │
00:25:37 verbose #62778 > │ let v85 : int32 option = None │
00:25:37 verbose #62779 > │ let v86 : int64 = 0L │
00:25:37 verbose #62780 > │ let v87 : Async<int64> = method9(v85, v86) │
00:25:37 verbose #62781 > │ let! v87 = v87 │
00:25:37 verbose #62782 > │ let v88 : int64 = v87 │
00:25:37 verbose #62783 > │ let v89 : US0 = US0_1 │
00:25:37 verbose #62784 > │ let v90 : (unit -> string) = closure23() │
00:25:37 verbose #62785 > │ method1(v89, v90, v10) │
00:25:37 verbose #62786 > │ do! v64 │
00:25:37 verbose #62787 > │ let v91 : US0 = US0_1 │
00:25:37 verbose #62788 > │ let v92 : (unit -> string) = closure24() │
00:25:37 verbose #62789 > │ method1(v91, v92, v10) │
00:25:37 verbose #62790 > │ return struct (v82, v88) │
00:25:37 verbose #62791 > │ } │
00:25:37 verbose #62792 > │ |> fun x -> _v7 <- Some x │
00:25:37 verbose #62793 > │ let v93 : Async<struct (int32 * int64)> = _v7 |> Option.get │
00:25:37 verbose #62794 > │ v93 │
00:25:37 verbose #62795 > │ #endif │
00:25:37 verbose #62796 > │ |> fun x -> _v0 <- Some x │
00:25:37 verbose #62797 > │ let v94 : Async<struct (int32 * int64)> = _v0.Value │
00:25:37 verbose #62798 > │ let v95 : Async<US7> option = None │
00:25:37 verbose #62799 > │ let v96 : bool = true in let mutable _v95 = v95 │
00:25:37 verbose #62800 > │ │
00:25:37 verbose #62801 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62802 > │ │
00:25:37 verbose #62803 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62804 > │ let v97 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62805 > │ v97 │
00:25:37 verbose #62806 > │ #endif │
00:25:37 verbose #62807 > │ │
00:25:37 verbose #62808 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62809 > │ let v98 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62810 > │ v98 │
00:25:37 verbose #62811 > │ #endif │
00:25:37 verbose #62812 > │ │
00:25:37 verbose #62813 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62814 > │ let v99 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62815 > │ v99 │
00:25:37 verbose #62816 > │ #endif │
00:25:37 verbose #62817 > │ │
00:25:37 verbose #62818 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62819 > │ let v100 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62820 > │ v100 │
00:25:37 verbose #62821 > │ #endif │
00:25:37 verbose #62822 > │ │
00:25:37 verbose #62823 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62824 > │ let v101 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62825 > │ v101 │
00:25:37 verbose #62826 > │ #endif │
00:25:37 verbose #62827 > │ │
00:25:37 verbose #62828 > │ #else │
00:25:37 verbose #62829 > │ let v102 : Async<US7> option = None │
00:25:37 verbose #62830 > │ let v103 : bool = true in let mutable _v102 = v102 │
00:25:37 verbose #62831 > │ │
00:25:37 verbose #62832 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62833 > │ │
00:25:37 verbose #62834 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62835 > │ let v104 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62836 > │ v104 │
00:25:37 verbose #62837 > │ #endif │
00:25:37 verbose #62838 > │ │
00:25:37 verbose #62839 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62840 > │ let v105 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62841 > │ v105 │
00:25:37 verbose #62842 > │ #endif │
00:25:37 verbose #62843 > │ │
00:25:37 verbose #62844 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62845 > │ let v106 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62846 > │ v106 │
00:25:37 verbose #62847 > │ #endif │
00:25:37 verbose #62848 > │ │
00:25:37 verbose #62849 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62850 > │ let v107 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62851 > │ v107 │
00:25:37 verbose #62852 > │ #endif │
00:25:37 verbose #62853 > │ │
00:25:37 verbose #62854 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62855 > │ let v108 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #62856 > │ v108 │
00:25:37 verbose #62857 > │ #endif │
00:25:37 verbose #62858 > │ │
00:25:37 verbose #62859 > │ #else │
00:25:37 verbose #62860 > │ let v109 : Async<US7> option = None │
00:25:37 verbose #62861 > │ let mutable _v109 = v109 │
00:25:37 verbose #62862 > │ async { │
00:25:37 verbose #62863 > │ let v110 : Async<Async<struct (int32 * int64)>> option = None │
00:25:37 verbose #62864 > │ let v111 : bool = true in let mutable _v110 = v110 │
00:25:37 verbose #62865 > │ │
00:25:37 verbose #62866 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62867 > │ │
00:25:37 verbose #62868 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62869 > │ let v112 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:37 verbose #62870 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:37 verbose #62871 > │ v112 │
00:25:37 verbose #62872 > │ #endif │
00:25:37 verbose #62873 > │ │
00:25:37 verbose #62874 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62875 > │ let v113 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:37 verbose #62876 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:37 verbose #62877 > │ v113 │
00:25:37 verbose #62878 > │ #endif │
00:25:37 verbose #62879 > │ │
00:25:37 verbose #62880 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62881 > │ let v114 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:37 verbose #62882 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:37 verbose #62883 > │ v114 │
00:25:37 verbose #62884 > │ #endif │
00:25:37 verbose #62885 > │ │
00:25:37 verbose #62886 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62887 > │ let v115 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:37 verbose #62888 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:37 verbose #62889 > │ v115 │
00:25:37 verbose #62890 > │ #endif │
00:25:37 verbose #62891 > │ │
00:25:37 verbose #62892 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62893 > │ let v116 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:37 verbose #62894 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:37 verbose #62895 > │ v116 │
00:25:37 verbose #62896 > │ #endif │
00:25:37 verbose #62897 > │ │
00:25:37 verbose #62898 > │ #else │
00:25:37 verbose #62899 > │ let v117 : Async<Async<struct (int32 * int64)>> = Async.StartChild (v94, │
00:25:37 verbose #62900 > │ 15000) │
00:25:37 verbose #62901 > │ v117 │
00:25:37 verbose #62902 > │ #endif │
00:25:37 verbose #62903 > │ |> fun x -> _v110 <- Some x │
00:25:37 verbose #62904 > │ let v118 : Async<Async<struct (int32 * int64)>> = _v110.Value │
00:25:37 verbose #62905 > │ let! v118 = v118 │
00:25:37 verbose #62906 > │ let v119 : Async<struct (int32 * int64)> = v118 │
00:25:37 verbose #62907 > │ let v120 : Async<Choice<struct (int32 * int64), exn>> option = None │
00:25:37 verbose #62908 > │ let v121 : bool = true in let mutable _v120 = v120 │
00:25:37 verbose #62909 > │ │
00:25:37 verbose #62910 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62911 > │ │
00:25:37 verbose #62912 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62913 > │ let v122 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:37 verbose #62914 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:37 verbose #62915 > │ v122 │
00:25:37 verbose #62916 > │ #endif │
00:25:37 verbose #62917 > │ │
00:25:37 verbose #62918 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62919 > │ let v123 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:37 verbose #62920 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:37 verbose #62921 > │ v123 │
00:25:37 verbose #62922 > │ #endif │
00:25:37 verbose #62923 > │ │
00:25:37 verbose #62924 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62925 > │ let v124 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:37 verbose #62926 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:37 verbose #62927 > │ v124 │
00:25:37 verbose #62928 > │ #endif │
00:25:37 verbose #62929 > │ │
00:25:37 verbose #62930 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62931 > │ let v125 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:37 verbose #62932 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:37 verbose #62933 > │ v125 │
00:25:37 verbose #62934 > │ #endif │
00:25:37 verbose #62935 > │ │
00:25:37 verbose #62936 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62937 > │ let v126 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:37 verbose #62938 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:37 verbose #62939 > │ v126 │
00:25:37 verbose #62940 > │ #endif │
00:25:37 verbose #62941 > │ │
00:25:37 verbose #62942 > │ #else │
00:25:37 verbose #62943 > │ let v127 : (Async<struct (int32 * int64)> -> Async<Choice<struct (int32 │
00:25:37 verbose #62944 > │ * int64), exn>>) = Async.Catch │
00:25:37 verbose #62945 > │ let v128 : Async<Choice<struct (int32 * int64), exn>> = v127 v119 │
00:25:37 verbose #62946 > │ v128 │
00:25:37 verbose #62947 > │ #endif │
00:25:37 verbose #62948 > │ |> fun x -> _v120 <- Some x │
00:25:37 verbose #62949 > │ let v129 : Async<Choice<struct (int32 * int64), exn>> = _v120.Value │
00:25:37 verbose #62950 > │ let v130 : Async<US8> option = None │
00:25:37 verbose #62951 > │ let v131 : bool = true in let mutable _v130 = v130 │
00:25:37 verbose #62952 > │ │
00:25:37 verbose #62953 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62954 > │ │
00:25:37 verbose #62955 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62956 > │ let v132 : Async<US8> = null |> unbox<Async<US8>> │
00:25:37 verbose #62957 > │ v132 │
00:25:37 verbose #62958 > │ #endif │
00:25:37 verbose #62959 > │ │
00:25:37 verbose #62960 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62961 > │ let v133 : Async<US8> = null |> unbox<Async<US8>> │
00:25:37 verbose #62962 > │ v133 │
00:25:37 verbose #62963 > │ #endif │
00:25:37 verbose #62964 > │ │
00:25:37 verbose #62965 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #62966 > │ let v134 : Async<US8> = null |> unbox<Async<US8>> │
00:25:37 verbose #62967 > │ v134 │
00:25:37 verbose #62968 > │ #endif │
00:25:37 verbose #62969 > │ │
00:25:37 verbose #62970 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #62971 > │ let v135 : Async<US8> = null |> unbox<Async<US8>> │
00:25:37 verbose #62972 > │ v135 │
00:25:37 verbose #62973 > │ #endif │
00:25:37 verbose #62974 > │ │
00:25:37 verbose #62975 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #62976 > │ let v136 : Async<US8> = null |> unbox<Async<US8>> │
00:25:37 verbose #62977 > │ v136 │
00:25:37 verbose #62978 > │ #endif │
00:25:37 verbose #62979 > │ │
00:25:37 verbose #62980 > │ #else │
00:25:37 verbose #62981 > │ let v137 : Async<US8> option = None │
00:25:37 verbose #62982 > │ let mutable _v137 = v137 │
00:25:37 verbose #62983 > │ async { │
00:25:37 verbose #62984 > │ let! v129 = v129 │
00:25:37 verbose #62985 > │ let v138 : Choice<struct (int32 * int64), exn> = v129 │
00:25:37 verbose #62986 > │ let v139 : US8 option = None │
00:25:37 verbose #62987 > │ let v140 : bool = true in let mutable _v139 = v139 │
00:25:37 verbose #62988 > │ │
00:25:37 verbose #62989 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #62990 > │ │
00:25:37 verbose #62991 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #62992 > │ let v141 : US8 = null |> unbox<US8> │
00:25:37 verbose #62993 > │ v141 │
00:25:37 verbose #62994 > │ #endif │
00:25:37 verbose #62995 > │ │
00:25:37 verbose #62996 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #62997 > │ let v142 : US8 = null |> unbox<US8> │
00:25:37 verbose #62998 > │ v142 │
00:25:37 verbose #62999 > │ #endif │
00:25:37 verbose #63000 > │ │
00:25:37 verbose #63001 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #63002 > │ let v143 : US8 = null |> unbox<US8> │
00:25:37 verbose #63003 > │ v143 │
00:25:37 verbose #63004 > │ #endif │
00:25:37 verbose #63005 > │ │
00:25:37 verbose #63006 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #63007 > │ let v144 : US8 = null |> unbox<US8> │
00:25:37 verbose #63008 > │ v144 │
00:25:37 verbose #63009 > │ #endif │
00:25:37 verbose #63010 > │ │
00:25:37 verbose #63011 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #63012 > │ let v145 : US8 = null |> unbox<US8> │
00:25:37 verbose #63013 > │ v145 │
00:25:37 verbose #63014 > │ #endif │
00:25:37 verbose #63015 > │ │
00:25:37 verbose #63016 > │ #else │
00:25:37 verbose #63017 > │ let v146 : (struct (int32 * int64) -> US8) = closure25() │
00:25:37 verbose #63018 > │ let v147 : (exn -> US8) = closure26() │
00:25:37 verbose #63019 > │ let v148 : US8 = match v138 with Choice1Of2 x -> v146 x | Choice2Of2 x │
00:25:37 verbose #63020 > │ -> v147 x │
00:25:37 verbose #63021 > │ v148 │
00:25:37 verbose #63022 > │ #endif │
00:25:37 verbose #63023 > │ |> fun x -> _v139 <- Some x │
00:25:37 verbose #63024 > │ let v149 : US8 = _v139.Value │
00:25:37 verbose #63025 > │ return v149 │
00:25:37 verbose #63026 > │ } │
00:25:37 verbose #63027 > │ |> fun x -> _v137 <- Some x │
00:25:37 verbose #63028 > │ let v150 : Async<US8> = _v137 |> Option.get │
00:25:37 verbose #63029 > │ v150 │
00:25:37 verbose #63030 > │ #endif │
00:25:37 verbose #63031 > │ |> fun x -> _v130 <- Some x │
00:25:37 verbose #63032 > │ let v151 : Async<US8> = _v130.Value │
00:25:37 verbose #63033 > │ let v152 : Async<US9> option = None │
00:25:37 verbose #63034 > │ let v153 : bool = true in let mutable _v152 = v152 │
00:25:37 verbose #63035 > │ │
00:25:37 verbose #63036 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #63037 > │ │
00:25:37 verbose #63038 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #63039 > │ let v154 : Async<US9> = null |> unbox<Async<US9>> │
00:25:37 verbose #63040 > │ v154 │
00:25:37 verbose #63041 > │ #endif │
00:25:37 verbose #63042 > │ │
00:25:37 verbose #63043 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #63044 > │ let v155 : Async<US9> = null |> unbox<Async<US9>> │
00:25:37 verbose #63045 > │ v155 │
00:25:37 verbose #63046 > │ #endif │
00:25:37 verbose #63047 > │ │
00:25:37 verbose #63048 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #63049 > │ let v156 : Async<US9> = null |> unbox<Async<US9>> │
00:25:37 verbose #63050 > │ v156 │
00:25:37 verbose #63051 > │ #endif │
00:25:37 verbose #63052 > │ │
00:25:37 verbose #63053 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #63054 > │ let v157 : Async<US9> = null |> unbox<Async<US9>> │
00:25:37 verbose #63055 > │ v157 │
00:25:37 verbose #63056 > │ #endif │
00:25:37 verbose #63057 > │ │
00:25:37 verbose #63058 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #63059 > │ let v158 : Async<US9> = null |> unbox<Async<US9>> │
00:25:37 verbose #63060 > │ v158 │
00:25:37 verbose #63061 > │ #endif │
00:25:37 verbose #63062 > │ │
00:25:37 verbose #63063 > │ #else │
00:25:37 verbose #63064 > │ let v159 : Async<US9> option = None │
00:25:37 verbose #63065 > │ let mutable _v159 = v159 │
00:25:37 verbose #63066 > │ async { │
00:25:37 verbose #63067 > │ let! v151 = v151 │
00:25:37 verbose #63068 > │ let v160 : US8 = v151 │
00:25:37 verbose #63069 > │ let v167 : US9 = │
00:25:37 verbose #63070 > │ match v160 with │
00:25:37 verbose #63071 > │ | US8_0(v161, v162) -> (* Choice1Of2 *) │
00:25:37 verbose #63072 > │ US9_0(v161, v162) │
00:25:37 verbose #63073 > │ | US8_1(v164) -> (* Choice2Of2 *) │
00:25:37 verbose #63074 > │ US9_1(v164) │
00:25:37 verbose #63075 > │ return v167 │
00:25:37 verbose #63076 > │ } │
00:25:37 verbose #63077 > │ |> fun x -> _v159 <- Some x │
00:25:37 verbose #63078 > │ let v168 : Async<US9> = _v159 |> Option.get │
00:25:37 verbose #63079 > │ v168 │
00:25:37 verbose #63080 > │ #endif │
00:25:37 verbose #63081 > │ |> fun x -> _v152 <- Some x │
00:25:37 verbose #63082 > │ let v169 : Async<US9> = _v152.Value │
00:25:37 verbose #63083 > │ let v170 : Async<US7> option = None │
00:25:37 verbose #63084 > │ let v171 : bool = true in let mutable _v170 = v170 │
00:25:37 verbose #63085 > │ │
00:25:37 verbose #63086 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #63087 > │ │
00:25:37 verbose #63088 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #63089 > │ let v172 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #63090 > │ v172 │
00:25:37 verbose #63091 > │ #endif │
00:25:37 verbose #63092 > │ │
00:25:37 verbose #63093 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #63094 > │ let v173 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #63095 > │ v173 │
00:25:37 verbose #63096 > │ #endif │
00:25:37 verbose #63097 > │ │
00:25:37 verbose #63098 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #63099 > │ let v174 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #63100 > │ v174 │
00:25:37 verbose #63101 > │ #endif │
00:25:37 verbose #63102 > │ │
00:25:37 verbose #63103 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #63104 > │ let v175 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #63105 > │ v175 │
00:25:37 verbose #63106 > │ #endif │
00:25:37 verbose #63107 > │ │
00:25:37 verbose #63108 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #63109 > │ let v176 : Async<US7> = null |> unbox<Async<US7>> │
00:25:37 verbose #63110 > │ v176 │
00:25:37 verbose #63111 > │ #endif │
00:25:37 verbose #63112 > │ │
00:25:37 verbose #63113 > │ #else │
00:25:37 verbose #63114 > │ let v177 : Async<US7> option = None │
00:25:37 verbose #63115 > │ let mutable _v177 = v177 │
00:25:37 verbose #63116 > │ async { │
00:25:37 verbose #63117 > │ let! v169 = v169 │
00:25:37 verbose #63118 > │ let v178 : US9 = v169 │
00:25:37 verbose #63119 > │ let v205 : US7 = │
00:25:37 verbose #63120 > │ match v178 with │
00:25:37 verbose #63121 > │ | US9_1(v182) -> (* Error *) │
00:25:37 verbose #63122 > │ let v183 : string = $"%A{v182}" │
00:25:37 verbose #63123 > │ let v184 : string = "System.TimeoutException" │
00:25:37 verbose #63124 > │ let v185 : bool = v183.Contains v184 │
00:25:37 verbose #63125 > │ if v185 then │
00:25:37 verbose #63126 > │ let v186 : US0 = US0_1 │
00:25:37 verbose #63127 > │ let v187 : (unit -> string) = closure17() │
00:25:37 verbose #63128 > │ let v188 : (unit -> string) = closure27() │
00:25:37 verbose #63129 > │ method1(v186, v187, v188) │
00:25:37 verbose #63130 > │ US7_1 │
00:25:37 verbose #63131 > │ else │
00:25:37 verbose #63132 > │ let v190 : string option = None │
00:25:37 verbose #63133 > │ let v191 : bool = true in let mutable _v190 = v190 │
00:25:37 verbose #63134 > │ │
00:25:37 verbose #63135 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #63136 > │ │
00:25:37 verbose #63137 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #63138 > │ let v192 : string = $"%A{v182}" │
00:25:37 verbose #63139 > │ v192 │
00:25:37 verbose #63140 > │ #endif │
00:25:37 verbose #63141 > │ │
00:25:37 verbose #63142 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #63143 > │ let v193 : string = $"%A{v182}" │
00:25:37 verbose #63144 > │ v193 │
00:25:37 verbose #63145 > │ #endif │
00:25:37 verbose #63146 > │ │
00:25:37 verbose #63147 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #63148 > │ let v194 : string = $"%A{v182}" │
00:25:37 verbose #63149 > │ v194 │
00:25:37 verbose #63150 > │ #endif │
00:25:37 verbose #63151 > │ │
00:25:37 verbose #63152 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #63153 > │ let v195 : string = $"%A{v182}" │
00:25:37 verbose #63154 > │ v195 │
00:25:37 verbose #63155 > │ #endif │
00:25:37 verbose #63156 > │ │
00:25:37 verbose #63157 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #63158 > │ let v196 : string = $"%A{v182}" │
00:25:37 verbose #63159 > │ v196 │
00:25:37 verbose #63160 > │ #endif │
00:25:37 verbose #63161 > │ │
00:25:37 verbose #63162 > │ #else │
00:25:37 verbose #63163 > │ let v197 : string = $"{v182.GetType ()}: {v182.Message}" │
00:25:37 verbose #63164 > │ v197 │
00:25:37 verbose #63165 > │ #endif │
00:25:37 verbose #63166 > │ |> fun x -> _v190 <- Some x │
00:25:37 verbose #63167 > │ let v198 : string = _v190.Value │
00:25:37 verbose #63168 > │ let v199 : US0 = US0_4 │
00:25:37 verbose #63169 > │ let v200 : (unit -> string) = closure19(v198) │
00:25:37 verbose #63170 > │ let v201 : (unit -> string) = closure27() │
00:25:37 verbose #63171 > │ method1(v199, v200, v201) │
00:25:37 verbose #63172 > │ US7_1 │
00:25:37 verbose #63173 > │ | US9_0(v179, v180) -> (* Ok *) │
00:25:37 verbose #63174 > │ US7_0(v179, v180) │
00:25:37 verbose #63175 > │ return v205 │
00:25:37 verbose #63176 > │ } │
00:25:37 verbose #63177 > │ |> fun x -> _v177 <- Some x │
00:25:37 verbose #63178 > │ let v206 : Async<US7> = _v177 |> Option.get │
00:25:37 verbose #63179 > │ v206 │
00:25:37 verbose #63180 > │ #endif │
00:25:37 verbose #63181 > │ |> fun x -> _v170 <- Some x │
00:25:37 verbose #63182 > │ let v207 : Async<US7> = _v170.Value │
00:25:37 verbose #63183 > │ return! v207 │
00:25:37 verbose #63184 > │ } │
00:25:37 verbose #63185 > │ |> fun x -> _v109 <- Some x │
00:25:37 verbose #63186 > │ let v208 : Async<US7> = _v109 |> Option.get │
00:25:37 verbose #63187 > │ v208 │
00:25:37 verbose #63188 > │ #endif │
00:25:37 verbose #63189 > │ |> fun x -> _v102 <- Some x │
00:25:37 verbose #63190 > │ let v209 : Async<US7> = _v102.Value │
00:25:37 verbose #63191 > │ v209 │
00:25:37 verbose #63192 > │ #endif │
00:25:37 verbose #63193 > │ |> fun x -> _v95 <- Some x │
00:25:37 verbose #63194 > │ let v210 : Async<US7> = _v95.Value │
00:25:37 verbose #63195 > │ let v211 : US7 option = None │
00:25:37 verbose #63196 > │ let v212 : bool = true in let mutable _v211 = v211 │
00:25:37 verbose #63197 > │ │
00:25:37 verbose #63198 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:37 verbose #63199 > │ │
00:25:37 verbose #63200 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:37 verbose #63201 > │ let v213 : US7 = null |> unbox<US7> │
00:25:37 verbose #63202 > │ v213 │
00:25:37 verbose #63203 > │ #endif │
00:25:37 verbose #63204 > │ │
00:25:37 verbose #63205 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:37 verbose #63206 > │ let v214 : US7 = null |> unbox<US7> │
00:25:37 verbose #63207 > │ v214 │
00:25:37 verbose #63208 > │ #endif │
00:25:37 verbose #63209 > │ │
00:25:37 verbose #63210 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:37 verbose #63211 > │ let v215 : US7 = null |> unbox<US7> │
00:25:37 verbose #63212 > │ v215 │
00:25:37 verbose #63213 > │ #endif │
00:25:37 verbose #63214 > │ │
00:25:37 verbose #63215 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:37 verbose #63216 > │ let v216 : US7 = null |> unbox<US7> │
00:25:37 verbose #63217 > │ v216 │
00:25:37 verbose #63218 > │ #endif │
00:25:37 verbose #63219 > │ │
00:25:37 verbose #63220 > │ #if FABLE_COMPILER_PYTHON │
00:25:37 verbose #63221 > │ let v217 : US7 = null |> unbox<US7> │
00:25:37 verbose #63222 > │ v217 │
00:25:37 verbose #63223 > │ #endif │
00:25:37 verbose #63224 > │ │
00:25:37 verbose #63225 > │ #else │
00:25:37 verbose #63226 > │ let v218 : (Async<US7> -> US7) = Async.RunSynchronously │
00:25:37 verbose #63227 > │ let v219 : US7 = v218 v210 │
00:25:37 verbose #63228 > │ v219 │
00:25:37 verbose #63229 > │ #endif │
00:25:37 verbose #63230 > │ |> fun x -> _v211 <- Some x │
00:25:37 verbose #63231 > │ let v220 : US7 = _v211.Value │
00:25:37 verbose #63232 > │ let v264 : bool = │
00:25:37 verbose #63233 > │ match v220 with │
00:25:37 verbose #63234 > │ | US7_0(v221, v222) -> (* Some *) │
00:25:37 verbose #63235 > │ let v223 : bool = v221 = 5557 │
00:25:37 verbose #63236 > │ let v225 : bool = │
00:25:37 verbose #63237 > │ if v223 then │
00:25:37 verbose #63238 > │ true │
00:25:37 verbose #63239 > │ else │
00:25:38 verbose #63240 > │ method10(v223) │
00:25:38 verbose #63241 > │ let v226 : string = "assert_eq" │
00:25:38 verbose #63242 > │ let v227 : string = $"{v226} / actual: %A{v221} / expected: │
00:25:38 verbose #63243 > │ %A{5557}" │
00:25:38 verbose #63244 > │ System.Console.WriteLine v227 │
00:25:38 verbose #63245 > │ let v228 : bool = v225 = false │
00:25:38 verbose #63246 > │ if v228 then │
00:25:38 verbose #63247 > │ failwith<unit> v227 │
00:25:38 verbose #63248 > │ let v229 : bool option = None │
00:25:38 verbose #63249 > │ let v230 : bool = true in let mutable _v229 = v229 │
00:25:38 verbose #63250 > │ │
00:25:38 verbose #63251 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:38 verbose #63252 > │ │
00:25:38 verbose #63253 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:38 verbose #63254 > │ let v231 : string = "cfg!(windows)" │
00:25:38 verbose #63255 > │ let v232 : bool = Fable.Core.RustInterop.emitRustExpr () v231 │
00:25:38 verbose #63256 > │ v232 │
00:25:38 verbose #63257 > │ #endif │
00:25:38 verbose #63258 > │ │
00:25:38 verbose #63259 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:38 verbose #63260 > │ let v233 : bool = null |> unbox<bool> │
00:25:38 verbose #63261 > │ v233 │
00:25:38 verbose #63262 > │ #endif │
00:25:38 verbose #63263 > │ │
00:25:38 verbose #63264 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:38 verbose #63265 > │ let v234 : bool = null |> unbox<bool> │
00:25:38 verbose #63266 > │ v234 │
00:25:38 verbose #63267 > │ #endif │
00:25:38 verbose #63268 > │ │
00:25:38 verbose #63269 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:38 verbose #63270 > │ let v235 : bool = null |> unbox<bool> │
00:25:38 verbose #63271 > │ v235 │
00:25:38 verbose #63272 > │ #endif │
00:25:38 verbose #63273 > │ │
00:25:38 verbose #63274 > │ #if FABLE_COMPILER_PYTHON │
00:25:38 verbose #63275 > │ let v236 : bool = null |> unbox<bool> │
00:25:38 verbose #63276 > │ v236 │
00:25:38 verbose #63277 > │ #endif │
00:25:38 verbose #63278 > │ │
00:25:38 verbose #63279 > │ #else │
00:25:38 verbose #63280 > │ let v237 : System.Runtime.InteropServices.OSPlatform = │
00:25:38 verbose #63281 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:38 verbose #63282 > │ let v238 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:38 verbose #63283 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:38 verbose #63284 > │ let v239 : bool = v238 v237 │
00:25:38 verbose #63285 > │ v239 │
00:25:38 verbose #63286 > │ #endif │
00:25:38 verbose #63287 > │ |> fun x -> _v229 <- Some x │
00:25:38 verbose #63288 > │ let v240 : bool = _v229.Value │
00:25:38 verbose #63289 > │ let v241 : bool option = None │
00:25:38 verbose #63290 > │ let v242 : bool = true in let mutable _v241 = v241 │
00:25:38 verbose #63291 > │ │
00:25:38 verbose #63292 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:38 verbose #63293 > │ │
00:25:38 verbose #63294 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:38 verbose #63295 > │ let v243 : string = "cfg!(windows)" │
00:25:38 verbose #63296 > │ let v244 : bool = Fable.Core.RustInterop.emitRustExpr () v243 │
00:25:38 verbose #63297 > │ v244 │
00:25:38 verbose #63298 > │ #endif │
00:25:38 verbose #63299 > │ │
00:25:38 verbose #63300 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:38 verbose #63301 > │ let v245 : bool = null |> unbox<bool> │
00:25:38 verbose #63302 > │ v245 │
00:25:38 verbose #63303 > │ #endif │
00:25:38 verbose #63304 > │ │
00:25:38 verbose #63305 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:38 verbose #63306 > │ let v246 : bool = null |> unbox<bool> │
00:25:38 verbose #63307 > │ v246 │
00:25:38 verbose #63308 > │ #endif │
00:25:38 verbose #63309 > │ │
00:25:38 verbose #63310 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:38 verbose #63311 > │ let v247 : bool = null |> unbox<bool> │
00:25:38 verbose #63312 > │ v247 │
00:25:38 verbose #63313 > │ #endif │
00:25:38 verbose #63314 > │ │
00:25:38 verbose #63315 > │ #if FABLE_COMPILER_PYTHON │
00:25:38 verbose #63316 > │ let v248 : bool = null |> unbox<bool> │
00:25:38 verbose #63317 > │ v248 │
00:25:38 verbose #63318 > │ #endif │
00:25:38 verbose #63319 > │ │
00:25:38 verbose #63320 > │ #else │
00:25:38 verbose #63321 > │ let v249 : System.Runtime.InteropServices.OSPlatform = │
00:25:38 verbose #63322 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:38 verbose #63323 > │ let v250 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:38 verbose #63324 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:38 verbose #63325 > │ let v251 : bool = v250 v249 │
00:25:38 verbose #63326 > │ v251 │
00:25:38 verbose #63327 > │ #endif │
00:25:38 verbose #63328 > │ |> fun x -> _v241 <- Some x │
00:25:38 verbose #63329 > │ let v252 : bool = _v241.Value │
00:25:38 verbose #63330 > │ let v253 : int64 = │
00:25:38 verbose #63331 > │ if v252 then │
00:25:38 verbose #63332 > │ 150L │
00:25:38 verbose #63333 > │ else │
00:25:38 verbose #63334 > │ 1200L │
00:25:38 verbose #63335 > │ let v254 : bool = v222 >= 100L │
00:25:38 verbose #63336 > │ let v256 : bool = │
00:25:38 verbose #63337 > │ if v254 then │
00:25:38 verbose #63338 > │ true │
00:25:38 verbose #63339 > │ else │
00:25:38 verbose #63340 > │ method10(v254) │
00:25:38 verbose #63341 > │ let v257 : bool = v256 = false │
00:25:38 verbose #63342 > │ if v257 then │
00:25:38 verbose #63343 > │ failwith<unit> "__expect" │
00:25:38 verbose #63344 > │ let v258 : bool = v222 <= v253 │
00:25:38 verbose #63345 > │ let v260 : bool = │
00:25:38 verbose #63346 > │ if v258 then │
00:25:38 verbose #63347 > │ true │
00:25:38 verbose #63348 > │ else │
00:25:38 verbose #63349 > │ method10(v258) │
00:25:38 verbose #63350 > │ let v261 : bool = v260 = false │
00:25:38 verbose #63351 > │ if v261 then │
00:25:38 verbose #63352 > │ failwith<unit> "__expect" │
00:25:38 verbose #63353 > │ let v262 : string = "assert_between" │
00:25:38 verbose #63354 > │ let v263 : string = $"{v262} / actual: %A{v222} / expected: │
00:25:38 verbose #63355 > │ %A{struct (100L, v253)}" │
00:25:38 verbose #63356 > │ System.Console.WriteLine v263 │
00:25:38 verbose #63357 > │ true │
00:25:38 verbose #63358 > │ | _ -> │
00:25:38 verbose #63359 > │ false │
00:25:38 verbose #63360 > │ let v266 : bool = │
00:25:38 verbose #63361 > │ if v264 then │
00:25:38 verbose #63362 > │ true │
00:25:38 verbose #63363 > │ else │
00:25:38 verbose #63364 > │ method10(v264) │
00:25:38 verbose #63365 > │ let v267 : string = "assert_eq" │
00:25:38 verbose #63366 > │ let v268 : string = $"{v267} / actual: %A{v264} / expected: %A{true}" │
00:25:38 verbose #63367 > │ System.Console.WriteLine v268 │
00:25:38 verbose #63368 > │ let v269 : bool = v266 = false │
00:25:38 verbose #63369 > │ if v269 then │
00:25:38 verbose #63370 > │ failwith<unit> v268 │
00:25:38 verbose #63371 > │ method0() │
00:25:38 verbose #63372 > │ │
00:25:38 verbose #63373 > │ 00:00:00 debug #1 1 │
00:25:38 verbose #63374 > │ 00:00:00 debug #2 _1 │
00:25:38 verbose #63375 > │ 00:00:00 debug #3 2 │
00:25:38 verbose #63376 > │ 00:00:00 debug #4 _2 │
00:25:38 verbose #63377 > │ 00:00:00 debug #5 _3 │
00:25:38 verbose #63378 > │ 00:00:00 debug #6 3 │
00:25:38 verbose #63379 > │ 00:00:02 verbose #7 test_port_open / ex: System.AggregateException: One or │
00:25:38 verbose #63380 > │ more errors occurred. (No connection could be made because the target │
00:25:38 verbose #63381 > │ machine actively refused it.) │
00:25:38 verbose #63382 > │ 00:00:02 debug #8 4 │
00:25:38 verbose #63383 > │ 00:00:02 verbose #9 wait_for_port_access / port: 5555 / retry: 0 / timeout: │
00:25:38 verbose #63384 > │ None / status: False │
00:25:38 verbose #63385 > │ 00:00:03 verbose #10 wait_for_port_access / port: 5555 / retry: 100 / │
00:25:38 verbose #63386 > │ timeout: None / status: False │
00:25:38 verbose #63387 > │ 00:00:04 debug #11 _4 │
00:25:38 verbose #63388 > │ 00:00:04 debug #12 _5 │
00:25:38 verbose #63389 > │ 00:00:06 verbose #13 test_port_open / ex: System.AggregateException: One or │
00:25:38 verbose #63390 > │ more errors occurred. (No connection could be made because the target │
00:25:38 verbose #63391 > │ machine actively refused it.) │
00:25:38 verbose #63392 > │ 00:00:06 debug #14 5 │
00:25:38 verbose #63393 > │ 00:00:06 debug #15 6 │
00:25:38 verbose #63394 > │ assert_eq / actual: 5557 / expected: 5557 │
00:25:38 verbose #63395 > │ assert_between / actual: 106L / expected: struct (100L, 150L) │
00:25:38 verbose #63396 > │ assert_eq / actual: true / expected: true │
00:25:38 verbose #63397 > │ │
00:25:38 verbose #63398 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:38 verbose #63399 >
00:25:38 verbose #63400 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:38 verbose #63401 > //// test
00:25:38 verbose #63402 >
00:25:38 verbose #63403 > inl lock_ports port = async.new_async_unit fun () =>
00:25:38 verbose #63404 > trace Debug (fun () => "_1") _locals
00:25:38 verbose #63405 > inl listener1 = new_tcp_listener (ip_address_parse "127.0.0.1") port |> use
00:25:38 verbose #63406 > inl listener2 = new_tcp_listener (ip_address_parse "127.0.0.1") (port + 1)
00:25:38 verbose #63407 > |> use
00:25:38 verbose #63408 > trace Debug (fun () => "_2") _locals
00:25:38 verbose #63409 > listener1 |> listener_start
00:25:38 verbose #63410 > listener2 |> listener_start
00:25:38 verbose #63411 > trace Debug (fun () => "_3") _locals
00:25:38 verbose #63412 > async.sleep 400 |> async.do
00:25:38 verbose #63413 > trace Debug (fun () => "_4") _locals
00:25:38 verbose #63414 > listener1 |> listener_stop
00:25:38 verbose #63415 > listener2 |> listener_stop
00:25:38 verbose #63416 > trace Debug (fun () => "_5") _locals
00:25:38 verbose #63417 >
00:25:38 verbose #63418 > inl port = 5555
00:25:38 verbose #63419 >
00:25:38 verbose #63420 > fun () =>
00:25:38 verbose #63421 > trace Debug (fun () => "1") _locals
00:25:38 verbose #63422 > inl child = lock_ports port |> async.start_child |> async.let'
00:25:38 verbose #63423 > trace Debug (fun () => "2") _locals
00:25:38 verbose #63424 > async.sleep 240 |> async.do
00:25:38 verbose #63425 > trace Debug (fun () => "3") _locals
00:25:38 verbose #63426 > inl availablePort = get_available_port (Some 60 |> optionm'.box) port |>
00:25:38 verbose #63427 > async.let'
00:25:38 verbose #63428 > trace Debug (fun () => "4") _locals
00:25:38 verbose #63429 > inl retries = wait_for_port_access (Some 60 |> optionm'.box) false port |>
00:25:38 verbose #63430 > async.let'
00:25:38 verbose #63431 > trace Debug (fun () => "5") _locals
00:25:38 verbose #63432 > child |> async.do
00:25:38 verbose #63433 > trace Debug (fun () => "6") _locals
00:25:38 verbose #63434 > (availablePort, retries) |> return
00:25:38 verbose #63435 > |> async.new_async_unit
00:25:38 verbose #63436 > |> async.run_with_timeout 1500
00:25:38 verbose #63437 > |> function
00:25:38 verbose #63438 > | Some (available_port, retries) =>
00:25:38 verbose #63439 > available_port |> _assert_eq (port + 2)
00:25:38 verbose #63440 >
00:25:38 verbose #63441 > retries
00:25:38 verbose #63442 > |> _assert_between
00:25:38 verbose #63443 > (if runtime.is_windows () then 2i64 else 1)
00:25:38 verbose #63444 > (if runtime.is_windows () then 10 else 120)
00:25:38 verbose #63445 >
00:25:38 verbose #63446 > true
00:25:38 verbose #63447 > | _ => false
00:25:38 verbose #63448 > |> _assert_eq true
00:25:38 verbose #63449 > 00:25:37 debug #904 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/808f6236fcdad26fea8d949476b3f77df5868a1ef3946d8e28e9acb6bf75b5b4/main.spi
00:25:40 verbose #63450 >
00:25:40 verbose #63451 > ╭─[ 2.24s - stdout ]───────────────────────────────────────────────────────────╮
00:25:40 verbose #63452 > │ module State = let mutable trace_state = None │
00:25:40 verbose #63453 > │ type [<Struct>] US0 = │
00:25:40 verbose #63454 > │ | US0_0 │
00:25:40 verbose #63455 > │ | US0_1 │
00:25:40 verbose #63456 > │ | US0_2 │
00:25:40 verbose #63457 > │ | US0_3 │
00:25:40 verbose #63458 > │ | US0_4 │
00:25:40 verbose #63459 > │ and Mut0 = {mutable l0 : int64} │
00:25:40 verbose #63460 > │ and Mut1 = {mutable l0 : bool} │
00:25:40 verbose #63461 > │ and Mut2 = {mutable l0 : US0} │
00:25:40 verbose #63462 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:40 verbose #63463 > │ and [<Struct>] US1 = │
00:25:40 verbose #63464 > │ | US1_0 of f0_0 : int64 │
00:25:40 verbose #63465 > │ | US1_1 │
00:25:40 verbose #63466 > │ and [<Struct>] US2 = │
00:25:40 verbose #63467 > │ | US2_0 of f0_0 : int64 │
00:25:40 verbose #63468 > │ | US2_1 │
00:25:40 verbose #63469 > │ and [<Struct>] US3 = │
00:25:40 verbose #63470 > │ | US3_0 of f0_0 : int32 │
00:25:40 verbose #63471 > │ | US3_1 │
00:25:40 verbose #63472 > │ and [<Struct>] US4 = │
00:25:40 verbose #63473 > │ | US4_0 of f0_0 : bool │
00:25:40 verbose #63474 > │ | US4_1 │
00:25:40 verbose #63475 > │ and [<Struct>] US5 = │
00:25:40 verbose #63476 > │ | US5_0 of f0_0 : bool │
00:25:40 verbose #63477 > │ | US5_1 of f1_0 : exn │
00:25:40 verbose #63478 > │ and [<Struct>] US6 = │
00:25:40 verbose #63479 > │ | US6_0 of f0_0 : bool │
00:25:40 verbose #63480 > │ | US6_1 of f1_0 : exn │
00:25:40 verbose #63481 > │ and [<Struct>] US7 = │
00:25:40 verbose #63482 > │ | US7_0 of f0_0 : int32 * f0_1 : int64 │
00:25:40 verbose #63483 > │ | US7_1 │
00:25:40 verbose #63484 > │ and [<Struct>] US8 = │
00:25:40 verbose #63485 > │ | US8_0 of f0_0 : int32 * f0_1 : int64 │
00:25:40 verbose #63486 > │ | US8_1 of f1_0 : exn │
00:25:40 verbose #63487 > │ and [<Struct>] US9 = │
00:25:40 verbose #63488 > │ | US9_0 of f0_0 : int32 * f0_1 : int64 │
00:25:40 verbose #63489 > │ | US9_1 of f1_0 : exn │
00:25:40 verbose #63490 > │ let rec closure0 () () : string = │
00:25:40 verbose #63491 > │ let v0 : string = "1" │
00:25:40 verbose #63492 > │ v0 │
00:25:40 verbose #63493 > │ and closure1 () () : string = │
00:25:40 verbose #63494 > │ let v0 : string = "" │
00:25:40 verbose #63495 > │ v0 │
00:25:40 verbose #63496 > │ and closure4 () (v0 : string) : unit = │
00:25:40 verbose #63497 > │ () │
00:25:40 verbose #63498 > │ and method2 (v0 : int64 option) : int64 option = │
00:25:40 verbose #63499 > │ v0 │
00:25:40 verbose #63500 > │ and method3 (v0 : int64 option) : int64 option = │
00:25:40 verbose #63501 > │ v0 │
00:25:40 verbose #63502 > │ and closure3 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:40 verbose #63503 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:40 verbose #63504 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:40 verbose #63505 > │ let v2 : US0 = US0_0 │
00:25:40 verbose #63506 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:40 verbose #63507 > │ let v4 : (string -> unit) = closure4() │
00:25:40 verbose #63508 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:40 verbose #63509 > │ let v6 : int64 option option = None │
00:25:40 verbose #63510 > │ let mutable _v6 = v6 │
00:25:40 verbose #63511 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:40 verbose #63512 > │ let v7 : string option = None │
00:25:40 verbose #63513 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:40 verbose #63514 > │ │
00:25:40 verbose #63515 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #63516 > │ │
00:25:40 verbose #63517 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #63518 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:40 verbose #63519 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:40 verbose #63520 > │ v10 │
00:25:40 verbose #63521 > │ #endif │
00:25:40 verbose #63522 > │ │
00:25:40 verbose #63523 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #63524 > │ let v11 : string = null |> unbox<string> │
00:25:40 verbose #63525 > │ v11 │
00:25:40 verbose #63526 > │ #endif │
00:25:40 verbose #63527 > │ │
00:25:40 verbose #63528 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #63529 > │ let v12 : string = null |> unbox<string> │
00:25:40 verbose #63530 > │ v12 │
00:25:40 verbose #63531 > │ #endif │
00:25:40 verbose #63532 > │ │
00:25:40 verbose #63533 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #63534 > │ let v13 : string = null |> unbox<string> │
00:25:40 verbose #63535 > │ v13 │
00:25:40 verbose #63536 > │ #endif │
00:25:40 verbose #63537 > │ │
00:25:40 verbose #63538 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #63539 > │ let v14 : string = null |> unbox<string> │
00:25:40 verbose #63540 > │ v14 │
00:25:40 verbose #63541 > │ #endif │
00:25:40 verbose #63542 > │ │
00:25:40 verbose #63543 > │ #else │
00:25:40 verbose #63544 > │ let v15 : string = │
00:25:40 verbose #63545 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:40 verbose #63546 > │ v15 │
00:25:40 verbose #63547 > │ #endif │
00:25:40 verbose #63548 > │ |> fun x -> _v7 <- Some x │
00:25:40 verbose #63549 > │ let v16 : string = _v7.Value │
00:25:40 verbose #63550 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:40 verbose #63551 > │ let v19 : bool = v18 <> true │
00:25:40 verbose #63552 > │ let v25 : US1 = │
00:25:40 verbose #63553 > │ if v19 then │
00:25:40 verbose #63554 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:40 verbose #63555 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:40 verbose #63556 > │ let v22 : int64 = v21 v20 │
00:25:40 verbose #63557 > │ US1_0(v22) │
00:25:40 verbose #63558 > │ else │
00:25:40 verbose #63559 > │ US1_1 │
00:25:40 verbose #63560 > │ let v30 : int64 option = │
00:25:40 verbose #63561 > │ match v25 with │
00:25:40 verbose #63562 > │ | US1_1 -> (* None *) │
00:25:40 verbose #63563 > │ let v28 : int64 option = None │
00:25:40 verbose #63564 > │ v28 │
00:25:40 verbose #63565 > │ | US1_0(v26) -> (* Some *) │
00:25:40 verbose #63566 > │ let v27 : int64 option = Some v26 │
00:25:40 verbose #63567 > │ v27 │
00:25:40 verbose #63568 > │ let v31 : int64 option = method2(v30) │
00:25:40 verbose #63569 > │ v31 │
00:25:40 verbose #63570 > │ #else │
00:25:40 verbose #63571 > │ let v32 : int64 option = None │
00:25:40 verbose #63572 > │ let v33 : int64 option = method3(v32) │
00:25:40 verbose #63573 > │ v33 │
00:25:40 verbose #63574 > │ #endif │
00:25:40 verbose #63575 > │ |> fun x -> _v6 <- Some x │
00:25:40 verbose #63576 > │ let v34 : int64 option = _v6.Value │
00:25:40 verbose #63577 > │ struct (v1, v0, v3, v34, v5) │
00:25:40 verbose #63578 > │ and closure5 () (v0 : int64) : US2 = │
00:25:40 verbose #63579 > │ US2_0(v0) │
00:25:40 verbose #63580 > │ and method4 () : (int64 -> US2) = │
00:25:40 verbose #63581 > │ closure5() │
00:25:40 verbose #63582 > │ and method5 () : string = │
00:25:40 verbose #63583 > │ let v0 : string = "" │
00:25:40 verbose #63584 > │ v0 │
00:25:40 verbose #63585 > │ and closure2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:40 verbose #63586 > │ string = │
00:25:40 verbose #63587 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:40 verbose #63588 > │ closure3() │
00:25:40 verbose #63589 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:40 verbose #63590 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:40 verbose #63591 > │ Mut3) = State.trace_state.Value │
00:25:40 verbose #63592 > │ let v9 : string option = None │
00:25:40 verbose #63593 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:40 verbose #63594 > │ │
00:25:40 verbose #63595 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #63596 > │ │
00:25:40 verbose #63597 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #63598 > │ let v11 : (int64 -> US2) = method4() │
00:25:40 verbose #63599 > │ let v12 : US2 = US2_1 │
00:25:40 verbose #63600 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:40 verbose #63601 > │ let v31 : System.DateTime = │
00:25:40 verbose #63602 > │ match v13 with │
00:25:40 verbose #63603 > │ | US2_1 -> (* None *) │
00:25:40 verbose #63604 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:40 verbose #63605 > │ v29 │
00:25:40 verbose #63606 > │ | US2_0(v14) -> (* Some *) │
00:25:40 verbose #63607 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:40 verbose #63608 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:40 verbose #63609 > │ let v17 : int64 = v16 v15 │
00:25:40 verbose #63610 > │ let v18 : int64 = v17 - v14 │
00:25:40 verbose #63611 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:40 verbose #63612 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:40 verbose #63613 > │ let v21 : int32 = v20 v19 │
00:25:40 verbose #63614 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:40 verbose #63615 > │ let v23 : int32 = v22 v19 │
00:25:40 verbose #63616 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:40 verbose #63617 > │ let v25 : int32 = v24 v19 │
00:25:40 verbose #63618 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:40 verbose #63619 > │ let v27 : int32 = v26 v19 │
00:25:40 verbose #63620 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:40 verbose #63621 > │ v25, v27) │
00:25:40 verbose #63622 > │ v28 │
00:25:40 verbose #63623 > │ let v32 : string = "hh:mm:ss" │
00:25:40 verbose #63624 > │ let v33 : string = v31.ToString v32 │
00:25:40 verbose #63625 > │ v33 │
00:25:40 verbose #63626 > │ #endif │
00:25:40 verbose #63627 > │ │
00:25:40 verbose #63628 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #63629 > │ let v34 : string = method5() │
00:25:40 verbose #63630 > │ v34 │
00:25:40 verbose #63631 > │ #endif │
00:25:40 verbose #63632 > │ │
00:25:40 verbose #63633 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #63634 > │ let v35 : string = method5() │
00:25:40 verbose #63635 > │ v35 │
00:25:40 verbose #63636 > │ #endif │
00:25:40 verbose #63637 > │ │
00:25:40 verbose #63638 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #63639 > │ let v36 : string = method5() │
00:25:40 verbose #63640 > │ v36 │
00:25:40 verbose #63641 > │ #endif │
00:25:40 verbose #63642 > │ │
00:25:40 verbose #63643 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #63644 > │ let v37 : string = method5() │
00:25:40 verbose #63645 > │ v37 │
00:25:40 verbose #63646 > │ #endif │
00:25:40 verbose #63647 > │ │
00:25:40 verbose #63648 > │ #else │
00:25:40 verbose #63649 > │ let v38 : (int64 -> US2) = method4() │
00:25:40 verbose #63650 > │ let v39 : US2 = US2_1 │
00:25:40 verbose #63651 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:40 verbose #63652 > │ let v58 : System.DateTime = │
00:25:40 verbose #63653 > │ match v40 with │
00:25:40 verbose #63654 > │ | US2_1 -> (* None *) │
00:25:40 verbose #63655 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:40 verbose #63656 > │ v56 │
00:25:40 verbose #63657 > │ | US2_0(v41) -> (* Some *) │
00:25:40 verbose #63658 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:40 verbose #63659 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:40 verbose #63660 > │ let v44 : int64 = v43 v42 │
00:25:40 verbose #63661 > │ let v45 : int64 = v44 - v41 │
00:25:40 verbose #63662 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:40 verbose #63663 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:40 verbose #63664 > │ let v48 : int32 = v47 v46 │
00:25:40 verbose #63665 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:40 verbose #63666 > │ let v50 : int32 = v49 v46 │
00:25:40 verbose #63667 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:40 verbose #63668 > │ let v52 : int32 = v51 v46 │
00:25:40 verbose #63669 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:40 verbose #63670 > │ let v54 : int32 = v53 v46 │
00:25:40 verbose #63671 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:40 verbose #63672 > │ v52, v54) │
00:25:40 verbose #63673 > │ v55 │
00:25:40 verbose #63674 > │ let v59 : string = "HH:mm:ss" │
00:25:40 verbose #63675 > │ let v60 : string = v58.ToString v59 │
00:25:40 verbose #63676 > │ v60 │
00:25:40 verbose #63677 > │ #endif │
00:25:40 verbose #63678 > │ |> fun x -> _v9 <- Some x │
00:25:40 verbose #63679 > │ let v61 : string = _v9.Value │
00:25:40 verbose #63680 > │ let v62 : int64 = v4.l0 │
00:25:40 verbose #63681 > │ let v72 : string = │
00:25:40 verbose #63682 > │ match v0 with │
00:25:40 verbose #63683 > │ | US0_4 -> (* Critical *) │
00:25:40 verbose #63684 > │ let v67 : string = "Critical" │
00:25:40 verbose #63685 > │ v67 │
00:25:40 verbose #63686 > │ | US0_1 -> (* Debug *) │
00:25:40 verbose #63687 > │ let v64 : string = "Debug" │
00:25:40 verbose #63688 > │ v64 │
00:25:40 verbose #63689 > │ | US0_2 -> (* Info *) │
00:25:40 verbose #63690 > │ let v65 : string = "Info" │
00:25:40 verbose #63691 > │ v65 │
00:25:40 verbose #63692 > │ | US0_0 -> (* Verbose *) │
00:25:40 verbose #63693 > │ let v63 : string = "Verbose" │
00:25:40 verbose #63694 > │ v63 │
00:25:40 verbose #63695 > │ | US0_3 -> (* Warning *) │
00:25:40 verbose #63696 > │ let v66 : string = "Warning" │
00:25:40 verbose #63697 > │ v66 │
00:25:40 verbose #63698 > │ let v73 : string = v72.ToLower () │
00:25:40 verbose #63699 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:40 verbose #63700 > │ let v75 : string option = None │
00:25:40 verbose #63701 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:40 verbose #63702 > │ │
00:25:40 verbose #63703 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #63704 > │ │
00:25:40 verbose #63705 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #63706 > │ let v91 : Ref<Str> = │
00:25:40 verbose #63707 > │ match v0 with │
00:25:40 verbose #63708 > │ | US0_4 -> (* Critical *) │
00:25:40 verbose #63709 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:40 verbose #63710 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:40 verbose #63711 > │ v86 │
00:25:40 verbose #63712 > │ | US0_1 -> (* Debug *) │
00:25:40 verbose #63713 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:40 verbose #63714 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:40 verbose #63715 > │ v80 │
00:25:40 verbose #63716 > │ | US0_2 -> (* Info *) │
00:25:40 verbose #63717 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:40 verbose #63718 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:40 verbose #63719 > │ v82 │
00:25:40 verbose #63720 > │ | US0_0 -> (* Verbose *) │
00:25:40 verbose #63721 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:40 verbose #63722 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:40 verbose #63723 > │ v78 │
00:25:40 verbose #63724 > │ | US0_3 -> (* Warning *) │
00:25:40 verbose #63725 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:40 verbose #63726 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:40 verbose #63727 > │ v84 │
00:25:40 verbose #63728 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:40 verbose #63729 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:40 verbose #63730 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:40 verbose #63731 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:40 verbose #63732 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:40 verbose #63733 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:40 verbose #63734 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:40 verbose #63735 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:40 verbose #63736 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:40 verbose #63737 > │ v100 │
00:25:40 verbose #63738 > │ #endif │
00:25:40 verbose #63739 > │ │
00:25:40 verbose #63740 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #63741 > │ let v115 : Ref<Str> = │
00:25:40 verbose #63742 > │ match v0 with │
00:25:40 verbose #63743 > │ | US0_4 -> (* Critical *) │
00:25:40 verbose #63744 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:40 verbose #63745 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63746 > │ v109 │
00:25:40 verbose #63747 > │ v110 │
00:25:40 verbose #63748 > │ | US0_1 -> (* Debug *) │
00:25:40 verbose #63749 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:40 verbose #63750 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63751 > │ v103 │
00:25:40 verbose #63752 > │ v104 │
00:25:40 verbose #63753 > │ | US0_2 -> (* Info *) │
00:25:40 verbose #63754 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:40 verbose #63755 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63756 > │ v105 │
00:25:40 verbose #63757 > │ v106 │
00:25:40 verbose #63758 > │ | US0_0 -> (* Verbose *) │
00:25:40 verbose #63759 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:40 verbose #63760 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63761 > │ v101 │
00:25:40 verbose #63762 > │ v102 │
00:25:40 verbose #63763 > │ | US0_3 -> (* Warning *) │
00:25:40 verbose #63764 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:40 verbose #63765 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63766 > │ v107 │
00:25:40 verbose #63767 > │ v108 │
00:25:40 verbose #63768 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:40 verbose #63769 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:40 verbose #63770 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:40 verbose #63771 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:40 verbose #63772 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:40 verbose #63773 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:40 verbose #63774 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63775 > │ v121 │
00:25:40 verbose #63776 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:40 verbose #63777 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:40 verbose #63778 > │ v124 │
00:25:40 verbose #63779 > │ #endif │
00:25:40 verbose #63780 > │ │
00:25:40 verbose #63781 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #63782 > │ let v139 : Ref<Str> = │
00:25:40 verbose #63783 > │ match v0 with │
00:25:40 verbose #63784 > │ | US0_4 -> (* Critical *) │
00:25:40 verbose #63785 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:40 verbose #63786 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63787 > │ v133 │
00:25:40 verbose #63788 > │ v134 │
00:25:40 verbose #63789 > │ | US0_1 -> (* Debug *) │
00:25:40 verbose #63790 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:40 verbose #63791 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63792 > │ v127 │
00:25:40 verbose #63793 > │ v128 │
00:25:40 verbose #63794 > │ | US0_2 -> (* Info *) │
00:25:40 verbose #63795 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:40 verbose #63796 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63797 > │ v129 │
00:25:40 verbose #63798 > │ v130 │
00:25:40 verbose #63799 > │ | US0_0 -> (* Verbose *) │
00:25:40 verbose #63800 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:40 verbose #63801 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63802 > │ v125 │
00:25:40 verbose #63803 > │ v126 │
00:25:40 verbose #63804 > │ | US0_3 -> (* Warning *) │
00:25:40 verbose #63805 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:40 verbose #63806 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63807 > │ v131 │
00:25:40 verbose #63808 > │ v132 │
00:25:40 verbose #63809 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:40 verbose #63810 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:40 verbose #63811 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:40 verbose #63812 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:40 verbose #63813 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:40 verbose #63814 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:40 verbose #63815 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:40 verbose #63816 > │ v145 │
00:25:40 verbose #63817 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:40 verbose #63818 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:40 verbose #63819 > │ v148 │
00:25:40 verbose #63820 > │ #endif │
00:25:40 verbose #63821 > │ │
00:25:40 verbose #63822 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #63823 > │ v74 │
00:25:40 verbose #63824 > │ #endif │
00:25:40 verbose #63825 > │ │
00:25:40 verbose #63826 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #63827 > │ v74 │
00:25:40 verbose #63828 > │ #endif │
00:25:40 verbose #63829 > │ │
00:25:40 verbose #63830 > │ #else │
00:25:40 verbose #63831 > │ v74 │
00:25:40 verbose #63832 > │ #endif │
00:25:40 verbose #63833 > │ |> fun x -> _v75 <- Some x │
00:25:40 verbose #63834 > │ let v149 : string = _v75.Value │
00:25:40 verbose #63835 > │ let v150 : string = v1 () │
00:25:40 verbose #63836 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:40 verbose #63837 > │ let v152 : (char []) = [||] │
00:25:40 verbose #63838 > │ let v153 : string = v151.TrimStart v152 │
00:25:40 verbose #63839 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:40 verbose #63840 > │ let v155 : string = v153.TrimEnd v154 │
00:25:40 verbose #63841 > │ v155 │
00:25:40 verbose #63842 > │ and method6 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:40 verbose #63843 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:40 verbose #63844 > │ closure3() │
00:25:40 verbose #63845 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:40 verbose #63846 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:40 verbose #63847 > │ Mut3) = State.trace_state.Value │
00:25:40 verbose #63848 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:40 verbose #63849 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:40 verbose #63850 > │ Mut3) = State.trace_state.Value │
00:25:40 verbose #63851 > │ let v13 : US0 = v10.l0 │
00:25:40 verbose #63852 > │ let v14 : bool = v9.l0 │
00:25:40 verbose #63853 > │ let v15 : bool = v14 = false │
00:25:40 verbose #63854 > │ let v19 : bool = │
00:25:40 verbose #63855 > │ if v15 then │
00:25:40 verbose #63856 > │ false │
00:25:40 verbose #63857 > │ else │
00:25:40 verbose #63858 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:40 verbose #63859 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:40 verbose #63860 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:40 verbose #63861 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:40 verbose #63862 > │ let v18 : bool = v16 >= v17 │
00:25:40 verbose #63863 > │ v18 │
00:25:40 verbose #63864 > │ if v19 then │
00:25:40 verbose #63865 > │ let v20 : int64 = v3.l0 │
00:25:40 verbose #63866 > │ let v21 : int64 = v20 + 1L │
00:25:40 verbose #63867 > │ v3.l0 <- v21 │
00:25:40 verbose #63868 > │ let v22 : string = $"%s{v1 ()}" │
00:25:40 verbose #63869 > │ let v23 : unit option = None │
00:25:40 verbose #63870 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:40 verbose #63871 > │ │
00:25:40 verbose #63872 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #63873 > │ │
00:25:40 verbose #63874 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #63875 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:40 verbose #63876 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:40 verbose #63877 > │ () │
00:25:40 verbose #63878 > │ #endif │
00:25:40 verbose #63879 > │ │
00:25:40 verbose #63880 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #63881 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:40 verbose #63882 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:40 verbose #63883 > │ () │
00:25:40 verbose #63884 > │ #endif │
00:25:40 verbose #63885 > │ │
00:25:40 verbose #63886 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #63887 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:40 verbose #63888 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:40 verbose #63889 > │ () │
00:25:40 verbose #63890 > │ #endif │
00:25:40 verbose #63891 > │ │
00:25:40 verbose #63892 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #63893 > │ System.Console.WriteLine v22 │
00:25:40 verbose #63894 > │ () │
00:25:40 verbose #63895 > │ #endif │
00:25:40 verbose #63896 > │ │
00:25:40 verbose #63897 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #63898 > │ System.Console.WriteLine v22 │
00:25:40 verbose #63899 > │ () │
00:25:40 verbose #63900 > │ #endif │
00:25:40 verbose #63901 > │ │
00:25:40 verbose #63902 > │ #else │
00:25:40 verbose #63903 > │ System.Console.WriteLine v22 │
00:25:40 verbose #63904 > │ () │
00:25:40 verbose #63905 > │ #endif │
00:25:40 verbose #63906 > │ |> fun x -> _v23 <- Some x │
00:25:40 verbose #63907 > │ _v23.Value │
00:25:40 verbose #63908 > │ let v28 : (string -> unit) = v7.l0 │
00:25:40 verbose #63909 > │ v28 v22 │
00:25:40 verbose #63910 > │ and method1 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:40 verbose #63911 > │ = │
00:25:40 verbose #63912 > │ let v3 : (unit -> string) = closure2(v0, v1, v2) │
00:25:40 verbose #63913 > │ method6(v0, v3) │
00:25:40 verbose #63914 > │ and closure6 () () : string = │
00:25:40 verbose #63915 > │ let v0 : string = "_1" │
00:25:40 verbose #63916 > │ v0 │
00:25:40 verbose #63917 > │ and closure7 () () : string = │
00:25:40 verbose #63918 > │ let v0 : string = "_2" │
00:25:40 verbose #63919 > │ v0 │
00:25:40 verbose #63920 > │ and closure8 () () : string = │
00:25:40 verbose #63921 > │ let v0 : string = "_3" │
00:25:40 verbose #63922 > │ v0 │
00:25:40 verbose #63923 > │ and closure9 () () : string = │
00:25:40 verbose #63924 > │ let v0 : string = "_4" │
00:25:40 verbose #63925 > │ v0 │
00:25:40 verbose #63926 > │ and closure10 () () : string = │
00:25:40 verbose #63927 > │ let v0 : string = "_5" │
00:25:40 verbose #63928 > │ v0 │
00:25:40 verbose #63929 > │ and closure11 () () : string = │
00:25:40 verbose #63930 > │ let v0 : string = "2" │
00:25:40 verbose #63931 > │ v0 │
00:25:40 verbose #63932 > │ and closure12 () () : string = │
00:25:40 verbose #63933 > │ let v0 : string = "3" │
00:25:40 verbose #63934 > │ v0 │
00:25:40 verbose #63935 > │ and closure13 () (v0 : int32) : US3 = │
00:25:40 verbose #63936 > │ US3_0(v0) │
00:25:40 verbose #63937 > │ and method8 () : (int32 -> US3) = │
00:25:40 verbose #63938 > │ closure13() │
00:25:40 verbose #63939 > │ and closure14 (v0 : string) () : string = │
00:25:40 verbose #63940 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:40 verbose #63941 > │ v1 │
00:25:40 verbose #63942 > │ and closure15 () (v0 : bool) : US5 = │
00:25:40 verbose #63943 > │ US5_0(v0) │
00:25:40 verbose #63944 > │ and closure16 () (v0 : exn) : US5 = │
00:25:40 verbose #63945 > │ US5_1(v0) │
00:25:40 verbose #63946 > │ and closure17 () () : string = │
00:25:40 verbose #63947 > │ let v0 : string = "run_with_timeout_async" │
00:25:40 verbose #63948 > │ v0 │
00:25:40 verbose #63949 > │ and closure18 (v0 : int32) () : string = │
00:25:40 verbose #63950 > │ let v1 : (unit -> string) = closure1() │
00:25:40 verbose #63951 > │ let v2 : string = $"timeout: {v0} / {v1 ()}" │
00:25:40 verbose #63952 > │ v2 │
00:25:40 verbose #63953 > │ and closure19 (v0 : string) () : string = │
00:25:40 verbose #63954 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:40 verbose #63955 > │ v1 │
00:25:40 verbose #63956 > │ and method7 (v0 : int32 option, v1 : int32) : Async<int32> = │
00:25:40 verbose #63957 > │ let v2 : Async<int32> option = None │
00:25:40 verbose #63958 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:40 verbose #63959 > │ │
00:25:40 verbose #63960 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #63961 > │ │
00:25:40 verbose #63962 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #63963 > │ let v4 : Async<int32> = null |> unbox<Async<int32>> │
00:25:40 verbose #63964 > │ v4 │
00:25:40 verbose #63965 > │ #endif │
00:25:40 verbose #63966 > │ │
00:25:40 verbose #63967 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #63968 > │ let v5 : Async<int32> = null |> unbox<Async<int32>> │
00:25:40 verbose #63969 > │ v5 │
00:25:40 verbose #63970 > │ #endif │
00:25:40 verbose #63971 > │ │
00:25:40 verbose #63972 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #63973 > │ let v6 : Async<int32> = null |> unbox<Async<int32>> │
00:25:40 verbose #63974 > │ v6 │
00:25:40 verbose #63975 > │ #endif │
00:25:40 verbose #63976 > │ │
00:25:40 verbose #63977 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #63978 > │ let v7 : Async<int32> = null |> unbox<Async<int32>> │
00:25:40 verbose #63979 > │ v7 │
00:25:40 verbose #63980 > │ #endif │
00:25:40 verbose #63981 > │ │
00:25:40 verbose #63982 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #63983 > │ let v8 : Async<int32> = null |> unbox<Async<int32>> │
00:25:40 verbose #63984 > │ v8 │
00:25:40 verbose #63985 > │ #endif │
00:25:40 verbose #63986 > │ │
00:25:40 verbose #63987 > │ #else │
00:25:40 verbose #63988 > │ let v9 : Async<int32> option = None │
00:25:40 verbose #63989 > │ let mutable _v9 = v9 │
00:25:40 verbose #63990 > │ async { │
00:25:40 verbose #63991 > │ let v10 : (int32 -> US3) = method8() │
00:25:40 verbose #63992 > │ let v11 : US3 = US3_1 │
00:25:40 verbose #63993 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:40 verbose #63994 > │ let v227 : Async<bool> = │
00:25:40 verbose #63995 > │ match v12 with │
00:25:40 verbose #63996 > │ | US3_1 -> (* None *) │
00:25:40 verbose #63997 > │ let v13 : Async<bool> option = None │
00:25:40 verbose #63998 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:40 verbose #63999 > │ │
00:25:40 verbose #64000 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64001 > │ │
00:25:40 verbose #64002 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64003 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64004 > │ v15 │
00:25:40 verbose #64005 > │ #endif │
00:25:40 verbose #64006 > │ │
00:25:40 verbose #64007 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64008 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64009 > │ v16 │
00:25:40 verbose #64010 > │ #endif │
00:25:40 verbose #64011 > │ │
00:25:40 verbose #64012 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64013 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64014 > │ v17 │
00:25:40 verbose #64015 > │ #endif │
00:25:40 verbose #64016 > │ │
00:25:40 verbose #64017 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64018 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64019 > │ v18 │
00:25:40 verbose #64020 > │ #endif │
00:25:40 verbose #64021 > │ │
00:25:40 verbose #64022 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64023 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64024 > │ v19 │
00:25:40 verbose #64025 > │ #endif │
00:25:40 verbose #64026 > │ │
00:25:40 verbose #64027 > │ #else │
00:25:40 verbose #64028 > │ let v20 : Async<bool> option = None │
00:25:40 verbose #64029 > │ let mutable _v20 = v20 │
00:25:40 verbose #64030 > │ async { │
00:25:40 verbose #64031 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:40 verbose #64032 > │ Async.CancellationToken │
00:25:40 verbose #64033 > │ let! v21 = v21 │
00:25:40 verbose #64034 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:40 verbose #64035 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:40 verbose #64036 > │ System.Net.Sockets.TcpClient () │
00:25:40 verbose #64037 > │ use v23 = v23 │
00:25:40 verbose #64038 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:40 verbose #64039 > │ try │
00:25:40 verbose #64040 > │ let v25 : string = "127.0.0.1" │
00:25:40 verbose #64041 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:40 verbose #64042 > │ (v25, v1, v22) │
00:25:40 verbose #64043 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:40 verbose #64044 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:40 verbose #64045 > │ let v29 : Async<unit> option = None │
00:25:40 verbose #64046 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:40 verbose #64047 > │ │
00:25:40 verbose #64048 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64049 > │ │
00:25:40 verbose #64050 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64051 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64052 > │ v31 │
00:25:40 verbose #64053 > │ #endif │
00:25:40 verbose #64054 > │ │
00:25:40 verbose #64055 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64056 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64057 > │ v32 │
00:25:40 verbose #64058 > │ #endif │
00:25:40 verbose #64059 > │ │
00:25:40 verbose #64060 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64061 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64062 > │ v33 │
00:25:40 verbose #64063 > │ #endif │
00:25:40 verbose #64064 > │ │
00:25:40 verbose #64065 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64066 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64067 > │ v34 │
00:25:40 verbose #64068 > │ #endif │
00:25:40 verbose #64069 > │ │
00:25:40 verbose #64070 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64071 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64072 > │ v35 │
00:25:40 verbose #64073 > │ #endif │
00:25:40 verbose #64074 > │ │
00:25:40 verbose #64075 > │ #else │
00:25:40 verbose #64076 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:40 verbose #64077 > │ Async.AwaitTask │
00:25:40 verbose #64078 > │ let v37 : Async<unit> = v36 v28 │
00:25:40 verbose #64079 > │ v37 │
00:25:40 verbose #64080 > │ #endif │
00:25:40 verbose #64081 > │ |> fun x -> _v29 <- Some x │
00:25:40 verbose #64082 > │ let v38 : Async<unit> = _v29.Value │
00:25:40 verbose #64083 > │ do! v38 │
00:25:40 verbose #64084 > │ return true │
00:25:40 verbose #64085 > │ with ex -> │
00:25:40 verbose #64086 > │ let v39 : exn = ex │
00:25:40 verbose #64087 > │ let v40 : string option = None │
00:25:40 verbose #64088 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:40 verbose #64089 > │ │
00:25:40 verbose #64090 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64091 > │ │
00:25:40 verbose #64092 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64093 > │ let v42 : string = $"%A{v39}" │
00:25:40 verbose #64094 > │ v42 │
00:25:40 verbose #64095 > │ #endif │
00:25:40 verbose #64096 > │ │
00:25:40 verbose #64097 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64098 > │ let v43 : string = $"%A{v39}" │
00:25:40 verbose #64099 > │ v43 │
00:25:40 verbose #64100 > │ #endif │
00:25:40 verbose #64101 > │ │
00:25:40 verbose #64102 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64103 > │ let v44 : string = $"%A{v39}" │
00:25:40 verbose #64104 > │ v44 │
00:25:40 verbose #64105 > │ #endif │
00:25:40 verbose #64106 > │ │
00:25:40 verbose #64107 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64108 > │ let v45 : string = $"%A{v39}" │
00:25:40 verbose #64109 > │ v45 │
00:25:40 verbose #64110 > │ #endif │
00:25:40 verbose #64111 > │ │
00:25:40 verbose #64112 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64113 > │ let v46 : string = $"%A{v39}" │
00:25:40 verbose #64114 > │ v46 │
00:25:40 verbose #64115 > │ #endif │
00:25:40 verbose #64116 > │ │
00:25:40 verbose #64117 > │ #else │
00:25:40 verbose #64118 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:40 verbose #64119 > │ v47 │
00:25:40 verbose #64120 > │ #endif │
00:25:40 verbose #64121 > │ |> fun x -> _v40 <- Some x │
00:25:40 verbose #64122 > │ let v48 : string = _v40.Value │
00:25:40 verbose #64123 > │ let v49 : US0 = US0_0 │
00:25:40 verbose #64124 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:40 verbose #64125 > │ let v51 : (unit -> string) = closure1() │
00:25:40 verbose #64126 > │ method1(v49, v50, v51) │
00:25:40 verbose #64127 > │ return false │
00:25:40 verbose #64128 > │ (* │
00:25:40 verbose #64129 > │ let v52 : bool = *) │
00:25:40 verbose #64130 > │ } │
00:25:40 verbose #64131 > │ |> fun x -> _v20 <- Some x │
00:25:40 verbose #64132 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:40 verbose #64133 > │ v53 │
00:25:40 verbose #64134 > │ #endif │
00:25:40 verbose #64135 > │ |> fun x -> _v13 <- Some x │
00:25:40 verbose #64136 > │ let v54 : Async<bool> = _v13.Value │
00:25:40 verbose #64137 > │ v54 │
00:25:40 verbose #64138 > │ | US3_0(v55) -> (* Some *) │
00:25:40 verbose #64139 > │ let v56 : Async<bool> option = None │
00:25:40 verbose #64140 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:40 verbose #64141 > │ │
00:25:40 verbose #64142 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64143 > │ │
00:25:40 verbose #64144 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64145 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64146 > │ v58 │
00:25:40 verbose #64147 > │ #endif │
00:25:40 verbose #64148 > │ │
00:25:40 verbose #64149 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64150 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64151 > │ v59 │
00:25:40 verbose #64152 > │ #endif │
00:25:40 verbose #64153 > │ │
00:25:40 verbose #64154 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64155 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64156 > │ v60 │
00:25:40 verbose #64157 > │ #endif │
00:25:40 verbose #64158 > │ │
00:25:40 verbose #64159 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64160 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64161 > │ v61 │
00:25:40 verbose #64162 > │ #endif │
00:25:40 verbose #64163 > │ │
00:25:40 verbose #64164 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64165 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64166 > │ v62 │
00:25:40 verbose #64167 > │ #endif │
00:25:40 verbose #64168 > │ │
00:25:40 verbose #64169 > │ #else │
00:25:40 verbose #64170 > │ let v63 : Async<bool> option = None │
00:25:40 verbose #64171 > │ let mutable _v63 = v63 │
00:25:40 verbose #64172 > │ async { │
00:25:40 verbose #64173 > │ let v64 : Async<bool> option = None │
00:25:40 verbose #64174 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:40 verbose #64175 > │ │
00:25:40 verbose #64176 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64177 > │ │
00:25:40 verbose #64178 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64179 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64180 > │ v66 │
00:25:40 verbose #64181 > │ #endif │
00:25:40 verbose #64182 > │ │
00:25:40 verbose #64183 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64184 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64185 > │ v67 │
00:25:40 verbose #64186 > │ #endif │
00:25:40 verbose #64187 > │ │
00:25:40 verbose #64188 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64189 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64190 > │ v68 │
00:25:40 verbose #64191 > │ #endif │
00:25:40 verbose #64192 > │ │
00:25:40 verbose #64193 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64194 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64195 > │ v69 │
00:25:40 verbose #64196 > │ #endif │
00:25:40 verbose #64197 > │ │
00:25:40 verbose #64198 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64199 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64200 > │ v70 │
00:25:40 verbose #64201 > │ #endif │
00:25:40 verbose #64202 > │ │
00:25:40 verbose #64203 > │ #else │
00:25:40 verbose #64204 > │ let v71 : Async<bool> option = None │
00:25:40 verbose #64205 > │ let mutable _v71 = v71 │
00:25:40 verbose #64206 > │ async { │
00:25:40 verbose #64207 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:40 verbose #64208 > │ Async.CancellationToken │
00:25:40 verbose #64209 > │ let! v72 = v72 │
00:25:40 verbose #64210 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:40 verbose #64211 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:40 verbose #64212 > │ System.Net.Sockets.TcpClient () │
00:25:40 verbose #64213 > │ use v74 = v74 │
00:25:40 verbose #64214 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:40 verbose #64215 > │ try │
00:25:40 verbose #64216 > │ let v76 : string = "127.0.0.1" │
00:25:40 verbose #64217 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:40 verbose #64218 > │ (v76, v1, v73) │
00:25:40 verbose #64219 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:40 verbose #64220 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:40 verbose #64221 > │ let v80 : Async<unit> option = None │
00:25:40 verbose #64222 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:40 verbose #64223 > │ │
00:25:40 verbose #64224 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64225 > │ │
00:25:40 verbose #64226 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64227 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64228 > │ v82 │
00:25:40 verbose #64229 > │ #endif │
00:25:40 verbose #64230 > │ │
00:25:40 verbose #64231 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64232 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64233 > │ v83 │
00:25:40 verbose #64234 > │ #endif │
00:25:40 verbose #64235 > │ │
00:25:40 verbose #64236 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64237 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64238 > │ v84 │
00:25:40 verbose #64239 > │ #endif │
00:25:40 verbose #64240 > │ │
00:25:40 verbose #64241 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64242 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64243 > │ v85 │
00:25:40 verbose #64244 > │ #endif │
00:25:40 verbose #64245 > │ │
00:25:40 verbose #64246 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64247 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64248 > │ v86 │
00:25:40 verbose #64249 > │ #endif │
00:25:40 verbose #64250 > │ │
00:25:40 verbose #64251 > │ #else │
00:25:40 verbose #64252 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:40 verbose #64253 > │ Async.AwaitTask │
00:25:40 verbose #64254 > │ let v88 : Async<unit> = v87 v79 │
00:25:40 verbose #64255 > │ v88 │
00:25:40 verbose #64256 > │ #endif │
00:25:40 verbose #64257 > │ |> fun x -> _v80 <- Some x │
00:25:40 verbose #64258 > │ let v89 : Async<unit> = _v80.Value │
00:25:40 verbose #64259 > │ do! v89 │
00:25:40 verbose #64260 > │ return true │
00:25:40 verbose #64261 > │ with ex -> │
00:25:40 verbose #64262 > │ let v90 : exn = ex │
00:25:40 verbose #64263 > │ let v91 : string option = None │
00:25:40 verbose #64264 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:40 verbose #64265 > │ │
00:25:40 verbose #64266 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64267 > │ │
00:25:40 verbose #64268 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64269 > │ let v93 : string = $"%A{v90}" │
00:25:40 verbose #64270 > │ v93 │
00:25:40 verbose #64271 > │ #endif │
00:25:40 verbose #64272 > │ │
00:25:40 verbose #64273 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64274 > │ let v94 : string = $"%A{v90}" │
00:25:40 verbose #64275 > │ v94 │
00:25:40 verbose #64276 > │ #endif │
00:25:40 verbose #64277 > │ │
00:25:40 verbose #64278 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64279 > │ let v95 : string = $"%A{v90}" │
00:25:40 verbose #64280 > │ v95 │
00:25:40 verbose #64281 > │ #endif │
00:25:40 verbose #64282 > │ │
00:25:40 verbose #64283 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64284 > │ let v96 : string = $"%A{v90}" │
00:25:40 verbose #64285 > │ v96 │
00:25:40 verbose #64286 > │ #endif │
00:25:40 verbose #64287 > │ │
00:25:40 verbose #64288 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64289 > │ let v97 : string = $"%A{v90}" │
00:25:40 verbose #64290 > │ v97 │
00:25:40 verbose #64291 > │ #endif │
00:25:40 verbose #64292 > │ │
00:25:40 verbose #64293 > │ #else │
00:25:40 verbose #64294 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:40 verbose #64295 > │ v98 │
00:25:40 verbose #64296 > │ #endif │
00:25:40 verbose #64297 > │ |> fun x -> _v91 <- Some x │
00:25:40 verbose #64298 > │ let v99 : string = _v91.Value │
00:25:40 verbose #64299 > │ let v100 : US0 = US0_0 │
00:25:40 verbose #64300 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:40 verbose #64301 > │ let v102 : (unit -> string) = closure1() │
00:25:40 verbose #64302 > │ method1(v100, v101, v102) │
00:25:40 verbose #64303 > │ return false │
00:25:40 verbose #64304 > │ (* │
00:25:40 verbose #64305 > │ let v103 : bool = *) │
00:25:40 verbose #64306 > │ } │
00:25:40 verbose #64307 > │ |> fun x -> _v71 <- Some x │
00:25:40 verbose #64308 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:40 verbose #64309 > │ v104 │
00:25:40 verbose #64310 > │ #endif │
00:25:40 verbose #64311 > │ |> fun x -> _v64 <- Some x │
00:25:40 verbose #64312 > │ let v105 : Async<bool> = _v64.Value │
00:25:40 verbose #64313 > │ let v106 : Async<US4> option = None │
00:25:40 verbose #64314 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:40 verbose #64315 > │ │
00:25:40 verbose #64316 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64317 > │ │
00:25:40 verbose #64318 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64319 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64320 > │ v108 │
00:25:40 verbose #64321 > │ #endif │
00:25:40 verbose #64322 > │ │
00:25:40 verbose #64323 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64324 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64325 > │ v109 │
00:25:40 verbose #64326 > │ #endif │
00:25:40 verbose #64327 > │ │
00:25:40 verbose #64328 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64329 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64330 > │ v110 │
00:25:40 verbose #64331 > │ #endif │
00:25:40 verbose #64332 > │ │
00:25:40 verbose #64333 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64334 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64335 > │ v111 │
00:25:40 verbose #64336 > │ #endif │
00:25:40 verbose #64337 > │ │
00:25:40 verbose #64338 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64339 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64340 > │ v112 │
00:25:40 verbose #64341 > │ #endif │
00:25:40 verbose #64342 > │ │
00:25:40 verbose #64343 > │ #else │
00:25:40 verbose #64344 > │ let v113 : Async<US4> option = None │
00:25:40 verbose #64345 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:40 verbose #64346 > │ │
00:25:40 verbose #64347 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64348 > │ │
00:25:40 verbose #64349 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64350 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64351 > │ v115 │
00:25:40 verbose #64352 > │ #endif │
00:25:40 verbose #64353 > │ │
00:25:40 verbose #64354 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64355 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64356 > │ v116 │
00:25:40 verbose #64357 > │ #endif │
00:25:40 verbose #64358 > │ │
00:25:40 verbose #64359 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64360 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64361 > │ v117 │
00:25:40 verbose #64362 > │ #endif │
00:25:40 verbose #64363 > │ │
00:25:40 verbose #64364 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64365 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64366 > │ v118 │
00:25:40 verbose #64367 > │ #endif │
00:25:40 verbose #64368 > │ │
00:25:40 verbose #64369 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64370 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64371 > │ v119 │
00:25:40 verbose #64372 > │ #endif │
00:25:40 verbose #64373 > │ │
00:25:40 verbose #64374 > │ #else │
00:25:40 verbose #64375 > │ let v120 : Async<US4> option = None │
00:25:40 verbose #64376 > │ let mutable _v120 = v120 │
00:25:40 verbose #64377 > │ async { │
00:25:40 verbose #64378 > │ let v121 : Async<Async<bool>> option = None │
00:25:40 verbose #64379 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:40 verbose #64380 > │ │
00:25:40 verbose #64381 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64382 > │ │
00:25:40 verbose #64383 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64384 > │ let v123 : Async<Async<bool>> = null |> │
00:25:40 verbose #64385 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #64386 > │ v123 │
00:25:40 verbose #64387 > │ #endif │
00:25:40 verbose #64388 > │ │
00:25:40 verbose #64389 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64390 > │ let v124 : Async<Async<bool>> = null |> │
00:25:40 verbose #64391 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #64392 > │ v124 │
00:25:40 verbose #64393 > │ #endif │
00:25:40 verbose #64394 > │ │
00:25:40 verbose #64395 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64396 > │ let v125 : Async<Async<bool>> = null |> │
00:25:40 verbose #64397 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #64398 > │ v125 │
00:25:40 verbose #64399 > │ #endif │
00:25:40 verbose #64400 > │ │
00:25:40 verbose #64401 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64402 > │ let v126 : Async<Async<bool>> = null |> │
00:25:40 verbose #64403 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #64404 > │ v126 │
00:25:40 verbose #64405 > │ #endif │
00:25:40 verbose #64406 > │ │
00:25:40 verbose #64407 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64408 > │ let v127 : Async<Async<bool>> = null |> │
00:25:40 verbose #64409 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #64410 > │ v127 │
00:25:40 verbose #64411 > │ #endif │
00:25:40 verbose #64412 > │ │
00:25:40 verbose #64413 > │ #else │
00:25:40 verbose #64414 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:40 verbose #64415 > │ v128 │
00:25:40 verbose #64416 > │ #endif │
00:25:40 verbose #64417 > │ |> fun x -> _v121 <- Some x │
00:25:40 verbose #64418 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:40 verbose #64419 > │ let! v129 = v129 │
00:25:40 verbose #64420 > │ let v130 : Async<bool> = v129 │
00:25:40 verbose #64421 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:40 verbose #64422 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:40 verbose #64423 > │ │
00:25:40 verbose #64424 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64425 > │ │
00:25:40 verbose #64426 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64427 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #64428 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #64429 > │ v133 │
00:25:40 verbose #64430 > │ #endif │
00:25:40 verbose #64431 > │ │
00:25:40 verbose #64432 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64433 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #64434 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #64435 > │ v134 │
00:25:40 verbose #64436 > │ #endif │
00:25:40 verbose #64437 > │ │
00:25:40 verbose #64438 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64439 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #64440 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #64441 > │ v135 │
00:25:40 verbose #64442 > │ #endif │
00:25:40 verbose #64443 > │ │
00:25:40 verbose #64444 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64445 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #64446 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #64447 > │ v136 │
00:25:40 verbose #64448 > │ #endif │
00:25:40 verbose #64449 > │ │
00:25:40 verbose #64450 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64451 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #64452 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #64453 > │ v137 │
00:25:40 verbose #64454 > │ #endif │
00:25:40 verbose #64455 > │ │
00:25:40 verbose #64456 > │ #else │
00:25:40 verbose #64457 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:40 verbose #64458 > │ Async.Catch │
00:25:40 verbose #64459 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:40 verbose #64460 > │ v139 │
00:25:40 verbose #64461 > │ #endif │
00:25:40 verbose #64462 > │ |> fun x -> _v131 <- Some x │
00:25:40 verbose #64463 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:40 verbose #64464 > │ let v141 : Async<US5> option = None │
00:25:40 verbose #64465 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:40 verbose #64466 > │ │
00:25:40 verbose #64467 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64468 > │ │
00:25:40 verbose #64469 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64470 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:40 verbose #64471 > │ v143 │
00:25:40 verbose #64472 > │ #endif │
00:25:40 verbose #64473 > │ │
00:25:40 verbose #64474 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64475 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:40 verbose #64476 > │ v144 │
00:25:40 verbose #64477 > │ #endif │
00:25:40 verbose #64478 > │ │
00:25:40 verbose #64479 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64480 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:40 verbose #64481 > │ v145 │
00:25:40 verbose #64482 > │ #endif │
00:25:40 verbose #64483 > │ │
00:25:40 verbose #64484 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64485 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:40 verbose #64486 > │ v146 │
00:25:40 verbose #64487 > │ #endif │
00:25:40 verbose #64488 > │ │
00:25:40 verbose #64489 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64490 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:40 verbose #64491 > │ v147 │
00:25:40 verbose #64492 > │ #endif │
00:25:40 verbose #64493 > │ │
00:25:40 verbose #64494 > │ #else │
00:25:40 verbose #64495 > │ let v148 : Async<US5> option = None │
00:25:40 verbose #64496 > │ let mutable _v148 = v148 │
00:25:40 verbose #64497 > │ async { │
00:25:40 verbose #64498 > │ let! v140 = v140 │
00:25:40 verbose #64499 > │ let v149 : Choice<bool, exn> = v140 │
00:25:40 verbose #64500 > │ let v150 : US5 option = None │
00:25:40 verbose #64501 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:40 verbose #64502 > │ │
00:25:40 verbose #64503 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64504 > │ │
00:25:40 verbose #64505 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64506 > │ let v152 : US5 = null |> unbox<US5> │
00:25:40 verbose #64507 > │ v152 │
00:25:40 verbose #64508 > │ #endif │
00:25:40 verbose #64509 > │ │
00:25:40 verbose #64510 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64511 > │ let v153 : US5 = null |> unbox<US5> │
00:25:40 verbose #64512 > │ v153 │
00:25:40 verbose #64513 > │ #endif │
00:25:40 verbose #64514 > │ │
00:25:40 verbose #64515 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64516 > │ let v154 : US5 = null |> unbox<US5> │
00:25:40 verbose #64517 > │ v154 │
00:25:40 verbose #64518 > │ #endif │
00:25:40 verbose #64519 > │ │
00:25:40 verbose #64520 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64521 > │ let v155 : US5 = null |> unbox<US5> │
00:25:40 verbose #64522 > │ v155 │
00:25:40 verbose #64523 > │ #endif │
00:25:40 verbose #64524 > │ │
00:25:40 verbose #64525 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64526 > │ let v156 : US5 = null |> unbox<US5> │
00:25:40 verbose #64527 > │ v156 │
00:25:40 verbose #64528 > │ #endif │
00:25:40 verbose #64529 > │ │
00:25:40 verbose #64530 > │ #else │
00:25:40 verbose #64531 > │ let v157 : (bool -> US5) = closure15() │
00:25:40 verbose #64532 > │ let v158 : (exn -> US5) = closure16() │
00:25:40 verbose #64533 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:40 verbose #64534 > │ Choice2Of2 x -> v158 x │
00:25:40 verbose #64535 > │ v159 │
00:25:40 verbose #64536 > │ #endif │
00:25:40 verbose #64537 > │ |> fun x -> _v150 <- Some x │
00:25:40 verbose #64538 > │ let v160 : US5 = _v150.Value │
00:25:40 verbose #64539 > │ return v160 │
00:25:40 verbose #64540 > │ } │
00:25:40 verbose #64541 > │ |> fun x -> _v148 <- Some x │
00:25:40 verbose #64542 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:40 verbose #64543 > │ v161 │
00:25:40 verbose #64544 > │ #endif │
00:25:40 verbose #64545 > │ |> fun x -> _v141 <- Some x │
00:25:40 verbose #64546 > │ let v162 : Async<US5> = _v141.Value │
00:25:40 verbose #64547 > │ let v163 : Async<US6> option = None │
00:25:40 verbose #64548 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:40 verbose #64549 > │ │
00:25:40 verbose #64550 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64551 > │ │
00:25:40 verbose #64552 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64553 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:40 verbose #64554 > │ v165 │
00:25:40 verbose #64555 > │ #endif │
00:25:40 verbose #64556 > │ │
00:25:40 verbose #64557 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64558 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:40 verbose #64559 > │ v166 │
00:25:40 verbose #64560 > │ #endif │
00:25:40 verbose #64561 > │ │
00:25:40 verbose #64562 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64563 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:40 verbose #64564 > │ v167 │
00:25:40 verbose #64565 > │ #endif │
00:25:40 verbose #64566 > │ │
00:25:40 verbose #64567 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64568 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:40 verbose #64569 > │ v168 │
00:25:40 verbose #64570 > │ #endif │
00:25:40 verbose #64571 > │ │
00:25:40 verbose #64572 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64573 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:40 verbose #64574 > │ v169 │
00:25:40 verbose #64575 > │ #endif │
00:25:40 verbose #64576 > │ │
00:25:40 verbose #64577 > │ #else │
00:25:40 verbose #64578 > │ let v170 : Async<US6> option = None │
00:25:40 verbose #64579 > │ let mutable _v170 = v170 │
00:25:40 verbose #64580 > │ async { │
00:25:40 verbose #64581 > │ let! v162 = v162 │
00:25:40 verbose #64582 > │ let v171 : US5 = v162 │
00:25:40 verbose #64583 > │ let v177 : US6 = │
00:25:40 verbose #64584 > │ match v171 with │
00:25:40 verbose #64585 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:40 verbose #64586 > │ US6_0(v172) │
00:25:40 verbose #64587 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:40 verbose #64588 > │ US6_1(v174) │
00:25:40 verbose #64589 > │ return v177 │
00:25:40 verbose #64590 > │ } │
00:25:40 verbose #64591 > │ |> fun x -> _v170 <- Some x │
00:25:40 verbose #64592 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:40 verbose #64593 > │ v178 │
00:25:40 verbose #64594 > │ #endif │
00:25:40 verbose #64595 > │ |> fun x -> _v163 <- Some x │
00:25:40 verbose #64596 > │ let v179 : Async<US6> = _v163.Value │
00:25:40 verbose #64597 > │ let v180 : Async<US4> option = None │
00:25:40 verbose #64598 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:40 verbose #64599 > │ │
00:25:40 verbose #64600 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64601 > │ │
00:25:40 verbose #64602 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64603 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64604 > │ v182 │
00:25:40 verbose #64605 > │ #endif │
00:25:40 verbose #64606 > │ │
00:25:40 verbose #64607 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64608 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64609 > │ v183 │
00:25:40 verbose #64610 > │ #endif │
00:25:40 verbose #64611 > │ │
00:25:40 verbose #64612 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64613 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64614 > │ v184 │
00:25:40 verbose #64615 > │ #endif │
00:25:40 verbose #64616 > │ │
00:25:40 verbose #64617 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64618 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64619 > │ v185 │
00:25:40 verbose #64620 > │ #endif │
00:25:40 verbose #64621 > │ │
00:25:40 verbose #64622 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64623 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #64624 > │ v186 │
00:25:40 verbose #64625 > │ #endif │
00:25:40 verbose #64626 > │ │
00:25:40 verbose #64627 > │ #else │
00:25:40 verbose #64628 > │ let v187 : Async<US4> option = None │
00:25:40 verbose #64629 > │ let mutable _v187 = v187 │
00:25:40 verbose #64630 > │ async { │
00:25:40 verbose #64631 > │ let! v179 = v179 │
00:25:40 verbose #64632 > │ let v188 : US6 = v179 │
00:25:40 verbose #64633 > │ let v214 : US4 = │
00:25:40 verbose #64634 > │ match v188 with │
00:25:40 verbose #64635 > │ | US6_1(v191) -> (* Error *) │
00:25:40 verbose #64636 > │ let v192 : string = $"%A{v191}" │
00:25:40 verbose #64637 > │ let v193 : string = "System.TimeoutException" │
00:25:40 verbose #64638 > │ let v194 : bool = v192.Contains v193 │
00:25:40 verbose #64639 > │ if v194 then │
00:25:40 verbose #64640 > │ let v195 : US0 = US0_1 │
00:25:40 verbose #64641 > │ let v196 : (unit -> string) = closure17() │
00:25:40 verbose #64642 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:40 verbose #64643 > │ method1(v195, v196, v197) │
00:25:40 verbose #64644 > │ US4_1 │
00:25:40 verbose #64645 > │ else │
00:25:40 verbose #64646 > │ let v199 : string option = None │
00:25:40 verbose #64647 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:40 verbose #64648 > │ │
00:25:40 verbose #64649 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64650 > │ │
00:25:40 verbose #64651 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64652 > │ let v201 : string = $"%A{v191}" │
00:25:40 verbose #64653 > │ v201 │
00:25:40 verbose #64654 > │ #endif │
00:25:40 verbose #64655 > │ │
00:25:40 verbose #64656 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64657 > │ let v202 : string = $"%A{v191}" │
00:25:40 verbose #64658 > │ v202 │
00:25:40 verbose #64659 > │ #endif │
00:25:40 verbose #64660 > │ │
00:25:40 verbose #64661 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64662 > │ let v203 : string = $"%A{v191}" │
00:25:40 verbose #64663 > │ v203 │
00:25:40 verbose #64664 > │ #endif │
00:25:40 verbose #64665 > │ │
00:25:40 verbose #64666 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64667 > │ let v204 : string = $"%A{v191}" │
00:25:40 verbose #64668 > │ v204 │
00:25:40 verbose #64669 > │ #endif │
00:25:40 verbose #64670 > │ │
00:25:40 verbose #64671 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64672 > │ let v205 : string = $"%A{v191}" │
00:25:40 verbose #64673 > │ v205 │
00:25:40 verbose #64674 > │ #endif │
00:25:40 verbose #64675 > │ │
00:25:40 verbose #64676 > │ #else │
00:25:40 verbose #64677 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:40 verbose #64678 > │ {v191.Message}" │
00:25:40 verbose #64679 > │ v206 │
00:25:40 verbose #64680 > │ #endif │
00:25:40 verbose #64681 > │ |> fun x -> _v199 <- Some x │
00:25:40 verbose #64682 > │ let v207 : string = _v199.Value │
00:25:40 verbose #64683 > │ let v208 : US0 = US0_4 │
00:25:40 verbose #64684 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:40 verbose #64685 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:40 verbose #64686 > │ method1(v208, v209, v210) │
00:25:40 verbose #64687 > │ US4_1 │
00:25:40 verbose #64688 > │ | US6_0(v189) -> (* Ok *) │
00:25:40 verbose #64689 > │ US4_0(v189) │
00:25:40 verbose #64690 > │ return v214 │
00:25:40 verbose #64691 > │ } │
00:25:40 verbose #64692 > │ |> fun x -> _v187 <- Some x │
00:25:40 verbose #64693 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:40 verbose #64694 > │ v215 │
00:25:40 verbose #64695 > │ #endif │
00:25:40 verbose #64696 > │ |> fun x -> _v180 <- Some x │
00:25:40 verbose #64697 > │ let v216 : Async<US4> = _v180.Value │
00:25:40 verbose #64698 > │ return! v216 │
00:25:40 verbose #64699 > │ } │
00:25:40 verbose #64700 > │ |> fun x -> _v120 <- Some x │
00:25:40 verbose #64701 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:40 verbose #64702 > │ v217 │
00:25:40 verbose #64703 > │ #endif │
00:25:40 verbose #64704 > │ |> fun x -> _v113 <- Some x │
00:25:40 verbose #64705 > │ let v218 : Async<US4> = _v113.Value │
00:25:40 verbose #64706 > │ v218 │
00:25:40 verbose #64707 > │ #endif │
00:25:40 verbose #64708 > │ |> fun x -> _v106 <- Some x │
00:25:40 verbose #64709 > │ let v219 : Async<US4> = _v106.Value │
00:25:40 verbose #64710 > │ let! v219 = v219 │
00:25:40 verbose #64711 > │ let v220 : US4 = v219 │
00:25:40 verbose #64712 > │ let v223 : bool = │
00:25:40 verbose #64713 > │ match v220 with │
00:25:40 verbose #64714 > │ | US4_1 -> (* None *) │
00:25:40 verbose #64715 > │ false │
00:25:40 verbose #64716 > │ | US4_0(v221) -> (* Some *) │
00:25:40 verbose #64717 > │ v221 │
00:25:40 verbose #64718 > │ return v223 │
00:25:40 verbose #64719 > │ } │
00:25:40 verbose #64720 > │ |> fun x -> _v63 <- Some x │
00:25:40 verbose #64721 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:40 verbose #64722 > │ v224 │
00:25:40 verbose #64723 > │ #endif │
00:25:40 verbose #64724 > │ |> fun x -> _v56 <- Some x │
00:25:40 verbose #64725 > │ let v225 : Async<bool> = _v56.Value │
00:25:40 verbose #64726 > │ v225 │
00:25:40 verbose #64727 > │ let! v227 = v227 │
00:25:40 verbose #64728 > │ let v228 : bool = v227 │
00:25:40 verbose #64729 > │ let v229 : bool = v228 = false │
00:25:40 verbose #64730 > │ if v229 then │
00:25:40 verbose #64731 > │ return v1 │
00:25:40 verbose #64732 > │ (* │
00:25:40 verbose #64733 > │ () │
00:25:40 verbose #64734 > │ else │
00:25:40 verbose #64735 > │ *) else │
00:25:40 verbose #64736 > │ let v230 : int32 = v1 + 1 │
00:25:40 verbose #64737 > │ let v231 : Async<int32> = method7(v0, v230) │
00:25:40 verbose #64738 > │ return! v231 │
00:25:40 verbose #64739 > │ (* │
00:25:40 verbose #64740 > │ () │
00:25:40 verbose #64741 > │ *) │
00:25:40 verbose #64742 > │ } │
00:25:40 verbose #64743 > │ |> fun x -> _v9 <- Some x │
00:25:40 verbose #64744 > │ let v232 : Async<int32> = _v9 |> Option.get │
00:25:40 verbose #64745 > │ v232 │
00:25:40 verbose #64746 > │ #endif │
00:25:40 verbose #64747 > │ |> fun x -> _v2 <- Some x │
00:25:40 verbose #64748 > │ let v233 : Async<int32> = _v2.Value │
00:25:40 verbose #64749 > │ v233 │
00:25:40 verbose #64750 > │ and closure20 () () : string = │
00:25:40 verbose #64751 > │ let v0 : string = "4" │
00:25:40 verbose #64752 > │ v0 │
00:25:40 verbose #64753 > │ and closure21 () () : string = │
00:25:40 verbose #64754 > │ let v0 : string = "wait_for_port_access" │
00:25:40 verbose #64755 > │ v0 │
00:25:40 verbose #64756 > │ and closure22 (v0 : int32 option, v1 : int64) () : string = │
00:25:40 verbose #64757 > │ let v2 : (unit -> string) = closure1() │
00:25:40 verbose #64758 > │ let v3 : string = $"port: {5555} / retry: {v1} / timeout: %A{v0} / │
00:25:40 verbose #64759 > │ status: {false} / {v2 ()}" │
00:25:40 verbose #64760 > │ v3 │
00:25:40 verbose #64761 > │ and method9 (v0 : int32 option, v1 : int64) : Async<int64> = │
00:25:40 verbose #64762 > │ let v2 : Async<int64> option = None │
00:25:40 verbose #64763 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:40 verbose #64764 > │ │
00:25:40 verbose #64765 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64766 > │ │
00:25:40 verbose #64767 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64768 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:25:40 verbose #64769 > │ v4 │
00:25:40 verbose #64770 > │ #endif │
00:25:40 verbose #64771 > │ │
00:25:40 verbose #64772 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64773 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:25:40 verbose #64774 > │ v5 │
00:25:40 verbose #64775 > │ #endif │
00:25:40 verbose #64776 > │ │
00:25:40 verbose #64777 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64778 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:40 verbose #64779 > │ v6 │
00:25:40 verbose #64780 > │ #endif │
00:25:40 verbose #64781 > │ │
00:25:40 verbose #64782 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64783 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:40 verbose #64784 > │ v7 │
00:25:40 verbose #64785 > │ #endif │
00:25:40 verbose #64786 > │ │
00:25:40 verbose #64787 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64788 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:40 verbose #64789 > │ v8 │
00:25:40 verbose #64790 > │ #endif │
00:25:40 verbose #64791 > │ │
00:25:40 verbose #64792 > │ #else │
00:25:40 verbose #64793 > │ let v9 : Async<int64> option = None │
00:25:40 verbose #64794 > │ let mutable _v9 = v9 │
00:25:40 verbose #64795 > │ async { │
00:25:40 verbose #64796 > │ let v10 : (int32 -> US3) = method8() │
00:25:40 verbose #64797 > │ let v11 : US3 = US3_1 │
00:25:40 verbose #64798 > │ let v12 : US3 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:40 verbose #64799 > │ let v227 : Async<bool> = │
00:25:40 verbose #64800 > │ match v12 with │
00:25:40 verbose #64801 > │ | US3_1 -> (* None *) │
00:25:40 verbose #64802 > │ let v13 : Async<bool> option = None │
00:25:40 verbose #64803 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:40 verbose #64804 > │ │
00:25:40 verbose #64805 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64806 > │ │
00:25:40 verbose #64807 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64808 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64809 > │ v15 │
00:25:40 verbose #64810 > │ #endif │
00:25:40 verbose #64811 > │ │
00:25:40 verbose #64812 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64813 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64814 > │ v16 │
00:25:40 verbose #64815 > │ #endif │
00:25:40 verbose #64816 > │ │
00:25:40 verbose #64817 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64818 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64819 > │ v17 │
00:25:40 verbose #64820 > │ #endif │
00:25:40 verbose #64821 > │ │
00:25:40 verbose #64822 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64823 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64824 > │ v18 │
00:25:40 verbose #64825 > │ #endif │
00:25:40 verbose #64826 > │ │
00:25:40 verbose #64827 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64828 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64829 > │ v19 │
00:25:40 verbose #64830 > │ #endif │
00:25:40 verbose #64831 > │ │
00:25:40 verbose #64832 > │ #else │
00:25:40 verbose #64833 > │ let v20 : Async<bool> option = None │
00:25:40 verbose #64834 > │ let mutable _v20 = v20 │
00:25:40 verbose #64835 > │ async { │
00:25:40 verbose #64836 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:40 verbose #64837 > │ Async.CancellationToken │
00:25:40 verbose #64838 > │ let! v21 = v21 │
00:25:40 verbose #64839 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:40 verbose #64840 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:40 verbose #64841 > │ System.Net.Sockets.TcpClient () │
00:25:40 verbose #64842 > │ use v23 = v23 │
00:25:40 verbose #64843 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:40 verbose #64844 > │ try │
00:25:40 verbose #64845 > │ let v25 : string = "127.0.0.1" │
00:25:40 verbose #64846 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:40 verbose #64847 > │ (v25, 5555, v22) │
00:25:40 verbose #64848 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:40 verbose #64849 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:40 verbose #64850 > │ let v29 : Async<unit> option = None │
00:25:40 verbose #64851 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:40 verbose #64852 > │ │
00:25:40 verbose #64853 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64854 > │ │
00:25:40 verbose #64855 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64856 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64857 > │ v31 │
00:25:40 verbose #64858 > │ #endif │
00:25:40 verbose #64859 > │ │
00:25:40 verbose #64860 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64861 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64862 > │ v32 │
00:25:40 verbose #64863 > │ #endif │
00:25:40 verbose #64864 > │ │
00:25:40 verbose #64865 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64866 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64867 > │ v33 │
00:25:40 verbose #64868 > │ #endif │
00:25:40 verbose #64869 > │ │
00:25:40 verbose #64870 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64871 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64872 > │ v34 │
00:25:40 verbose #64873 > │ #endif │
00:25:40 verbose #64874 > │ │
00:25:40 verbose #64875 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64876 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #64877 > │ v35 │
00:25:40 verbose #64878 > │ #endif │
00:25:40 verbose #64879 > │ │
00:25:40 verbose #64880 > │ #else │
00:25:40 verbose #64881 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:40 verbose #64882 > │ Async.AwaitTask │
00:25:40 verbose #64883 > │ let v37 : Async<unit> = v36 v28 │
00:25:40 verbose #64884 > │ v37 │
00:25:40 verbose #64885 > │ #endif │
00:25:40 verbose #64886 > │ |> fun x -> _v29 <- Some x │
00:25:40 verbose #64887 > │ let v38 : Async<unit> = _v29.Value │
00:25:40 verbose #64888 > │ do! v38 │
00:25:40 verbose #64889 > │ return true │
00:25:40 verbose #64890 > │ with ex -> │
00:25:40 verbose #64891 > │ let v39 : exn = ex │
00:25:40 verbose #64892 > │ let v40 : string option = None │
00:25:40 verbose #64893 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:40 verbose #64894 > │ │
00:25:40 verbose #64895 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64896 > │ │
00:25:40 verbose #64897 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64898 > │ let v42 : string = $"%A{v39}" │
00:25:40 verbose #64899 > │ v42 │
00:25:40 verbose #64900 > │ #endif │
00:25:40 verbose #64901 > │ │
00:25:40 verbose #64902 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64903 > │ let v43 : string = $"%A{v39}" │
00:25:40 verbose #64904 > │ v43 │
00:25:40 verbose #64905 > │ #endif │
00:25:40 verbose #64906 > │ │
00:25:40 verbose #64907 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64908 > │ let v44 : string = $"%A{v39}" │
00:25:40 verbose #64909 > │ v44 │
00:25:40 verbose #64910 > │ #endif │
00:25:40 verbose #64911 > │ │
00:25:40 verbose #64912 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64913 > │ let v45 : string = $"%A{v39}" │
00:25:40 verbose #64914 > │ v45 │
00:25:40 verbose #64915 > │ #endif │
00:25:40 verbose #64916 > │ │
00:25:40 verbose #64917 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64918 > │ let v46 : string = $"%A{v39}" │
00:25:40 verbose #64919 > │ v46 │
00:25:40 verbose #64920 > │ #endif │
00:25:40 verbose #64921 > │ │
00:25:40 verbose #64922 > │ #else │
00:25:40 verbose #64923 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:40 verbose #64924 > │ v47 │
00:25:40 verbose #64925 > │ #endif │
00:25:40 verbose #64926 > │ |> fun x -> _v40 <- Some x │
00:25:40 verbose #64927 > │ let v48 : string = _v40.Value │
00:25:40 verbose #64928 > │ let v49 : US0 = US0_0 │
00:25:40 verbose #64929 > │ let v50 : (unit -> string) = closure14(v48) │
00:25:40 verbose #64930 > │ let v51 : (unit -> string) = closure1() │
00:25:40 verbose #64931 > │ method1(v49, v50, v51) │
00:25:40 verbose #64932 > │ return false │
00:25:40 verbose #64933 > │ (* │
00:25:40 verbose #64934 > │ let v52 : bool = *) │
00:25:40 verbose #64935 > │ } │
00:25:40 verbose #64936 > │ |> fun x -> _v20 <- Some x │
00:25:40 verbose #64937 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:40 verbose #64938 > │ v53 │
00:25:40 verbose #64939 > │ #endif │
00:25:40 verbose #64940 > │ |> fun x -> _v13 <- Some x │
00:25:40 verbose #64941 > │ let v54 : Async<bool> = _v13.Value │
00:25:40 verbose #64942 > │ v54 │
00:25:40 verbose #64943 > │ | US3_0(v55) -> (* Some *) │
00:25:40 verbose #64944 > │ let v56 : Async<bool> option = None │
00:25:40 verbose #64945 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:40 verbose #64946 > │ │
00:25:40 verbose #64947 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64948 > │ │
00:25:40 verbose #64949 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64950 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64951 > │ v58 │
00:25:40 verbose #64952 > │ #endif │
00:25:40 verbose #64953 > │ │
00:25:40 verbose #64954 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64955 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64956 > │ v59 │
00:25:40 verbose #64957 > │ #endif │
00:25:40 verbose #64958 > │ │
00:25:40 verbose #64959 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64960 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64961 > │ v60 │
00:25:40 verbose #64962 > │ #endif │
00:25:40 verbose #64963 > │ │
00:25:40 verbose #64964 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64965 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64966 > │ v61 │
00:25:40 verbose #64967 > │ #endif │
00:25:40 verbose #64968 > │ │
00:25:40 verbose #64969 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #64970 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64971 > │ v62 │
00:25:40 verbose #64972 > │ #endif │
00:25:40 verbose #64973 > │ │
00:25:40 verbose #64974 > │ #else │
00:25:40 verbose #64975 > │ let v63 : Async<bool> option = None │
00:25:40 verbose #64976 > │ let mutable _v63 = v63 │
00:25:40 verbose #64977 > │ async { │
00:25:40 verbose #64978 > │ let v64 : Async<bool> option = None │
00:25:40 verbose #64979 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:40 verbose #64980 > │ │
00:25:40 verbose #64981 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #64982 > │ │
00:25:40 verbose #64983 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #64984 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64985 > │ v66 │
00:25:40 verbose #64986 > │ #endif │
00:25:40 verbose #64987 > │ │
00:25:40 verbose #64988 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #64989 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64990 > │ v67 │
00:25:40 verbose #64991 > │ #endif │
00:25:40 verbose #64992 > │ │
00:25:40 verbose #64993 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #64994 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #64995 > │ v68 │
00:25:40 verbose #64996 > │ #endif │
00:25:40 verbose #64997 > │ │
00:25:40 verbose #64998 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #64999 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #65000 > │ v69 │
00:25:40 verbose #65001 > │ #endif │
00:25:40 verbose #65002 > │ │
00:25:40 verbose #65003 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #65004 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:40 verbose #65005 > │ v70 │
00:25:40 verbose #65006 > │ #endif │
00:25:40 verbose #65007 > │ │
00:25:40 verbose #65008 > │ #else │
00:25:40 verbose #65009 > │ let v71 : Async<bool> option = None │
00:25:40 verbose #65010 > │ let mutable _v71 = v71 │
00:25:40 verbose #65011 > │ async { │
00:25:40 verbose #65012 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:40 verbose #65013 > │ Async.CancellationToken │
00:25:40 verbose #65014 > │ let! v72 = v72 │
00:25:40 verbose #65015 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:40 verbose #65016 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:40 verbose #65017 > │ System.Net.Sockets.TcpClient () │
00:25:40 verbose #65018 > │ use v74 = v74 │
00:25:40 verbose #65019 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:40 verbose #65020 > │ try │
00:25:40 verbose #65021 > │ let v76 : string = "127.0.0.1" │
00:25:40 verbose #65022 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:40 verbose #65023 > │ (v76, 5555, v73) │
00:25:40 verbose #65024 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:40 verbose #65025 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:40 verbose #65026 > │ let v80 : Async<unit> option = None │
00:25:40 verbose #65027 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:40 verbose #65028 > │ │
00:25:40 verbose #65029 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #65030 > │ │
00:25:40 verbose #65031 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #65032 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #65033 > │ v82 │
00:25:40 verbose #65034 > │ #endif │
00:25:40 verbose #65035 > │ │
00:25:40 verbose #65036 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #65037 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #65038 > │ v83 │
00:25:40 verbose #65039 > │ #endif │
00:25:40 verbose #65040 > │ │
00:25:40 verbose #65041 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #65042 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #65043 > │ v84 │
00:25:40 verbose #65044 > │ #endif │
00:25:40 verbose #65045 > │ │
00:25:40 verbose #65046 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #65047 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #65048 > │ v85 │
00:25:40 verbose #65049 > │ #endif │
00:25:40 verbose #65050 > │ │
00:25:40 verbose #65051 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #65052 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:40 verbose #65053 > │ v86 │
00:25:40 verbose #65054 > │ #endif │
00:25:40 verbose #65055 > │ │
00:25:40 verbose #65056 > │ #else │
00:25:40 verbose #65057 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:40 verbose #65058 > │ Async.AwaitTask │
00:25:40 verbose #65059 > │ let v88 : Async<unit> = v87 v79 │
00:25:40 verbose #65060 > │ v88 │
00:25:40 verbose #65061 > │ #endif │
00:25:40 verbose #65062 > │ |> fun x -> _v80 <- Some x │
00:25:40 verbose #65063 > │ let v89 : Async<unit> = _v80.Value │
00:25:40 verbose #65064 > │ do! v89 │
00:25:40 verbose #65065 > │ return true │
00:25:40 verbose #65066 > │ with ex -> │
00:25:40 verbose #65067 > │ let v90 : exn = ex │
00:25:40 verbose #65068 > │ let v91 : string option = None │
00:25:40 verbose #65069 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:40 verbose #65070 > │ │
00:25:40 verbose #65071 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #65072 > │ │
00:25:40 verbose #65073 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #65074 > │ let v93 : string = $"%A{v90}" │
00:25:40 verbose #65075 > │ v93 │
00:25:40 verbose #65076 > │ #endif │
00:25:40 verbose #65077 > │ │
00:25:40 verbose #65078 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #65079 > │ let v94 : string = $"%A{v90}" │
00:25:40 verbose #65080 > │ v94 │
00:25:40 verbose #65081 > │ #endif │
00:25:40 verbose #65082 > │ │
00:25:40 verbose #65083 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #65084 > │ let v95 : string = $"%A{v90}" │
00:25:40 verbose #65085 > │ v95 │
00:25:40 verbose #65086 > │ #endif │
00:25:40 verbose #65087 > │ │
00:25:40 verbose #65088 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #65089 > │ let v96 : string = $"%A{v90}" │
00:25:40 verbose #65090 > │ v96 │
00:25:40 verbose #65091 > │ #endif │
00:25:40 verbose #65092 > │ │
00:25:40 verbose #65093 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #65094 > │ let v97 : string = $"%A{v90}" │
00:25:40 verbose #65095 > │ v97 │
00:25:40 verbose #65096 > │ #endif │
00:25:40 verbose #65097 > │ │
00:25:40 verbose #65098 > │ #else │
00:25:40 verbose #65099 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:40 verbose #65100 > │ v98 │
00:25:40 verbose #65101 > │ #endif │
00:25:40 verbose #65102 > │ |> fun x -> _v91 <- Some x │
00:25:40 verbose #65103 > │ let v99 : string = _v91.Value │
00:25:40 verbose #65104 > │ let v100 : US0 = US0_0 │
00:25:40 verbose #65105 > │ let v101 : (unit -> string) = closure14(v99) │
00:25:40 verbose #65106 > │ let v102 : (unit -> string) = closure1() │
00:25:40 verbose #65107 > │ method1(v100, v101, v102) │
00:25:40 verbose #65108 > │ return false │
00:25:40 verbose #65109 > │ (* │
00:25:40 verbose #65110 > │ let v103 : bool = *) │
00:25:40 verbose #65111 > │ } │
00:25:40 verbose #65112 > │ |> fun x -> _v71 <- Some x │
00:25:40 verbose #65113 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:40 verbose #65114 > │ v104 │
00:25:40 verbose #65115 > │ #endif │
00:25:40 verbose #65116 > │ |> fun x -> _v64 <- Some x │
00:25:40 verbose #65117 > │ let v105 : Async<bool> = _v64.Value │
00:25:40 verbose #65118 > │ let v106 : Async<US4> option = None │
00:25:40 verbose #65119 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:40 verbose #65120 > │ │
00:25:40 verbose #65121 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #65122 > │ │
00:25:40 verbose #65123 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #65124 > │ let v108 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65125 > │ v108 │
00:25:40 verbose #65126 > │ #endif │
00:25:40 verbose #65127 > │ │
00:25:40 verbose #65128 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #65129 > │ let v109 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65130 > │ v109 │
00:25:40 verbose #65131 > │ #endif │
00:25:40 verbose #65132 > │ │
00:25:40 verbose #65133 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #65134 > │ let v110 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65135 > │ v110 │
00:25:40 verbose #65136 > │ #endif │
00:25:40 verbose #65137 > │ │
00:25:40 verbose #65138 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #65139 > │ let v111 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65140 > │ v111 │
00:25:40 verbose #65141 > │ #endif │
00:25:40 verbose #65142 > │ │
00:25:40 verbose #65143 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #65144 > │ let v112 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65145 > │ v112 │
00:25:40 verbose #65146 > │ #endif │
00:25:40 verbose #65147 > │ │
00:25:40 verbose #65148 > │ #else │
00:25:40 verbose #65149 > │ let v113 : Async<US4> option = None │
00:25:40 verbose #65150 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:40 verbose #65151 > │ │
00:25:40 verbose #65152 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #65153 > │ │
00:25:40 verbose #65154 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #65155 > │ let v115 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65156 > │ v115 │
00:25:40 verbose #65157 > │ #endif │
00:25:40 verbose #65158 > │ │
00:25:40 verbose #65159 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #65160 > │ let v116 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65161 > │ v116 │
00:25:40 verbose #65162 > │ #endif │
00:25:40 verbose #65163 > │ │
00:25:40 verbose #65164 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #65165 > │ let v117 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65166 > │ v117 │
00:25:40 verbose #65167 > │ #endif │
00:25:40 verbose #65168 > │ │
00:25:40 verbose #65169 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #65170 > │ let v118 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65171 > │ v118 │
00:25:40 verbose #65172 > │ #endif │
00:25:40 verbose #65173 > │ │
00:25:40 verbose #65174 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #65175 > │ let v119 : Async<US4> = null |> unbox<Async<US4>> │
00:25:40 verbose #65176 > │ v119 │
00:25:40 verbose #65177 > │ #endif │
00:25:40 verbose #65178 > │ │
00:25:40 verbose #65179 > │ #else │
00:25:40 verbose #65180 > │ let v120 : Async<US4> option = None │
00:25:40 verbose #65181 > │ let mutable _v120 = v120 │
00:25:40 verbose #65182 > │ async { │
00:25:40 verbose #65183 > │ let v121 : Async<Async<bool>> option = None │
00:25:40 verbose #65184 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:40 verbose #65185 > │ │
00:25:40 verbose #65186 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #65187 > │ │
00:25:40 verbose #65188 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #65189 > │ let v123 : Async<Async<bool>> = null |> │
00:25:40 verbose #65190 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #65191 > │ v123 │
00:25:40 verbose #65192 > │ #endif │
00:25:40 verbose #65193 > │ │
00:25:40 verbose #65194 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #65195 > │ let v124 : Async<Async<bool>> = null |> │
00:25:40 verbose #65196 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #65197 > │ v124 │
00:25:40 verbose #65198 > │ #endif │
00:25:40 verbose #65199 > │ │
00:25:40 verbose #65200 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #65201 > │ let v125 : Async<Async<bool>> = null |> │
00:25:40 verbose #65202 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #65203 > │ v125 │
00:25:40 verbose #65204 > │ #endif │
00:25:40 verbose #65205 > │ │
00:25:40 verbose #65206 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #65207 > │ let v126 : Async<Async<bool>> = null |> │
00:25:40 verbose #65208 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #65209 > │ v126 │
00:25:40 verbose #65210 > │ #endif │
00:25:40 verbose #65211 > │ │
00:25:40 verbose #65212 > │ #if FABLE_COMPILER_PYTHON │
00:25:40 verbose #65213 > │ let v127 : Async<Async<bool>> = null |> │
00:25:40 verbose #65214 > │ unbox<Async<Async<bool>>> │
00:25:40 verbose #65215 > │ v127 │
00:25:40 verbose #65216 > │ #endif │
00:25:40 verbose #65217 > │ │
00:25:40 verbose #65218 > │ #else │
00:25:40 verbose #65219 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:40 verbose #65220 > │ v128 │
00:25:40 verbose #65221 > │ #endif │
00:25:40 verbose #65222 > │ |> fun x -> _v121 <- Some x │
00:25:40 verbose #65223 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:40 verbose #65224 > │ let! v129 = v129 │
00:25:40 verbose #65225 > │ let v130 : Async<bool> = v129 │
00:25:40 verbose #65226 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:40 verbose #65227 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:40 verbose #65228 > │ │
00:25:40 verbose #65229 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:40 verbose #65230 > │ │
00:25:40 verbose #65231 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:40 verbose #65232 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #65233 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #65234 > │ v133 │
00:25:40 verbose #65235 > │ #endif │
00:25:40 verbose #65236 > │ │
00:25:40 verbose #65237 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:40 verbose #65238 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #65239 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #65240 > │ v134 │
00:25:40 verbose #65241 > │ #endif │
00:25:40 verbose #65242 > │ │
00:25:40 verbose #65243 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:40 verbose #65244 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #65245 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #65246 > │ v135 │
00:25:40 verbose #65247 > │ #endif │
00:25:40 verbose #65248 > │ │
00:25:40 verbose #65249 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:40 verbose #65250 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:40 verbose #65251 > │ unbox<Async<Choice<bool, exn>>> │
00:25:40 verbose #65252 > │ v136 │
00:25:41 verbose #65253 > │ #endif │
00:25:41 verbose #65254 > │ │
00:25:41 verbose #65255 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65256 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:41 verbose #65257 > │ unbox<Async<Choice<bool, exn>>> │
00:25:41 verbose #65258 > │ v137 │
00:25:41 verbose #65259 > │ #endif │
00:25:41 verbose #65260 > │ │
00:25:41 verbose #65261 > │ #else │
00:25:41 verbose #65262 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:41 verbose #65263 > │ Async.Catch │
00:25:41 verbose #65264 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:41 verbose #65265 > │ v139 │
00:25:41 verbose #65266 > │ #endif │
00:25:41 verbose #65267 > │ |> fun x -> _v131 <- Some x │
00:25:41 verbose #65268 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:41 verbose #65269 > │ let v141 : Async<US5> option = None │
00:25:41 verbose #65270 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:41 verbose #65271 > │ │
00:25:41 verbose #65272 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65273 > │ │
00:25:41 verbose #65274 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65275 > │ let v143 : Async<US5> = null |> unbox<Async<US5>> │
00:25:41 verbose #65276 > │ v143 │
00:25:41 verbose #65277 > │ #endif │
00:25:41 verbose #65278 > │ │
00:25:41 verbose #65279 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65280 > │ let v144 : Async<US5> = null |> unbox<Async<US5>> │
00:25:41 verbose #65281 > │ v144 │
00:25:41 verbose #65282 > │ #endif │
00:25:41 verbose #65283 > │ │
00:25:41 verbose #65284 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65285 > │ let v145 : Async<US5> = null |> unbox<Async<US5>> │
00:25:41 verbose #65286 > │ v145 │
00:25:41 verbose #65287 > │ #endif │
00:25:41 verbose #65288 > │ │
00:25:41 verbose #65289 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65290 > │ let v146 : Async<US5> = null |> unbox<Async<US5>> │
00:25:41 verbose #65291 > │ v146 │
00:25:41 verbose #65292 > │ #endif │
00:25:41 verbose #65293 > │ │
00:25:41 verbose #65294 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65295 > │ let v147 : Async<US5> = null |> unbox<Async<US5>> │
00:25:41 verbose #65296 > │ v147 │
00:25:41 verbose #65297 > │ #endif │
00:25:41 verbose #65298 > │ │
00:25:41 verbose #65299 > │ #else │
00:25:41 verbose #65300 > │ let v148 : Async<US5> option = None │
00:25:41 verbose #65301 > │ let mutable _v148 = v148 │
00:25:41 verbose #65302 > │ async { │
00:25:41 verbose #65303 > │ let! v140 = v140 │
00:25:41 verbose #65304 > │ let v149 : Choice<bool, exn> = v140 │
00:25:41 verbose #65305 > │ let v150 : US5 option = None │
00:25:41 verbose #65306 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:41 verbose #65307 > │ │
00:25:41 verbose #65308 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65309 > │ │
00:25:41 verbose #65310 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65311 > │ let v152 : US5 = null |> unbox<US5> │
00:25:41 verbose #65312 > │ v152 │
00:25:41 verbose #65313 > │ #endif │
00:25:41 verbose #65314 > │ │
00:25:41 verbose #65315 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65316 > │ let v153 : US5 = null |> unbox<US5> │
00:25:41 verbose #65317 > │ v153 │
00:25:41 verbose #65318 > │ #endif │
00:25:41 verbose #65319 > │ │
00:25:41 verbose #65320 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65321 > │ let v154 : US5 = null |> unbox<US5> │
00:25:41 verbose #65322 > │ v154 │
00:25:41 verbose #65323 > │ #endif │
00:25:41 verbose #65324 > │ │
00:25:41 verbose #65325 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65326 > │ let v155 : US5 = null |> unbox<US5> │
00:25:41 verbose #65327 > │ v155 │
00:25:41 verbose #65328 > │ #endif │
00:25:41 verbose #65329 > │ │
00:25:41 verbose #65330 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65331 > │ let v156 : US5 = null |> unbox<US5> │
00:25:41 verbose #65332 > │ v156 │
00:25:41 verbose #65333 > │ #endif │
00:25:41 verbose #65334 > │ │
00:25:41 verbose #65335 > │ #else │
00:25:41 verbose #65336 > │ let v157 : (bool -> US5) = closure15() │
00:25:41 verbose #65337 > │ let v158 : (exn -> US5) = closure16() │
00:25:41 verbose #65338 > │ let v159 : US5 = match v149 with Choice1Of2 x -> v157 x | │
00:25:41 verbose #65339 > │ Choice2Of2 x -> v158 x │
00:25:41 verbose #65340 > │ v159 │
00:25:41 verbose #65341 > │ #endif │
00:25:41 verbose #65342 > │ |> fun x -> _v150 <- Some x │
00:25:41 verbose #65343 > │ let v160 : US5 = _v150.Value │
00:25:41 verbose #65344 > │ return v160 │
00:25:41 verbose #65345 > │ } │
00:25:41 verbose #65346 > │ |> fun x -> _v148 <- Some x │
00:25:41 verbose #65347 > │ let v161 : Async<US5> = _v148 |> Option.get │
00:25:41 verbose #65348 > │ v161 │
00:25:41 verbose #65349 > │ #endif │
00:25:41 verbose #65350 > │ |> fun x -> _v141 <- Some x │
00:25:41 verbose #65351 > │ let v162 : Async<US5> = _v141.Value │
00:25:41 verbose #65352 > │ let v163 : Async<US6> option = None │
00:25:41 verbose #65353 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:41 verbose #65354 > │ │
00:25:41 verbose #65355 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65356 > │ │
00:25:41 verbose #65357 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65358 > │ let v165 : Async<US6> = null |> unbox<Async<US6>> │
00:25:41 verbose #65359 > │ v165 │
00:25:41 verbose #65360 > │ #endif │
00:25:41 verbose #65361 > │ │
00:25:41 verbose #65362 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65363 > │ let v166 : Async<US6> = null |> unbox<Async<US6>> │
00:25:41 verbose #65364 > │ v166 │
00:25:41 verbose #65365 > │ #endif │
00:25:41 verbose #65366 > │ │
00:25:41 verbose #65367 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65368 > │ let v167 : Async<US6> = null |> unbox<Async<US6>> │
00:25:41 verbose #65369 > │ v167 │
00:25:41 verbose #65370 > │ #endif │
00:25:41 verbose #65371 > │ │
00:25:41 verbose #65372 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65373 > │ let v168 : Async<US6> = null |> unbox<Async<US6>> │
00:25:41 verbose #65374 > │ v168 │
00:25:41 verbose #65375 > │ #endif │
00:25:41 verbose #65376 > │ │
00:25:41 verbose #65377 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65378 > │ let v169 : Async<US6> = null |> unbox<Async<US6>> │
00:25:41 verbose #65379 > │ v169 │
00:25:41 verbose #65380 > │ #endif │
00:25:41 verbose #65381 > │ │
00:25:41 verbose #65382 > │ #else │
00:25:41 verbose #65383 > │ let v170 : Async<US6> option = None │
00:25:41 verbose #65384 > │ let mutable _v170 = v170 │
00:25:41 verbose #65385 > │ async { │
00:25:41 verbose #65386 > │ let! v162 = v162 │
00:25:41 verbose #65387 > │ let v171 : US5 = v162 │
00:25:41 verbose #65388 > │ let v177 : US6 = │
00:25:41 verbose #65389 > │ match v171 with │
00:25:41 verbose #65390 > │ | US5_0(v172) -> (* Choice1Of2 *) │
00:25:41 verbose #65391 > │ US6_0(v172) │
00:25:41 verbose #65392 > │ | US5_1(v174) -> (* Choice2Of2 *) │
00:25:41 verbose #65393 > │ US6_1(v174) │
00:25:41 verbose #65394 > │ return v177 │
00:25:41 verbose #65395 > │ } │
00:25:41 verbose #65396 > │ |> fun x -> _v170 <- Some x │
00:25:41 verbose #65397 > │ let v178 : Async<US6> = _v170 |> Option.get │
00:25:41 verbose #65398 > │ v178 │
00:25:41 verbose #65399 > │ #endif │
00:25:41 verbose #65400 > │ |> fun x -> _v163 <- Some x │
00:25:41 verbose #65401 > │ let v179 : Async<US6> = _v163.Value │
00:25:41 verbose #65402 > │ let v180 : Async<US4> option = None │
00:25:41 verbose #65403 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:41 verbose #65404 > │ │
00:25:41 verbose #65405 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65406 > │ │
00:25:41 verbose #65407 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65408 > │ let v182 : Async<US4> = null |> unbox<Async<US4>> │
00:25:41 verbose #65409 > │ v182 │
00:25:41 verbose #65410 > │ #endif │
00:25:41 verbose #65411 > │ │
00:25:41 verbose #65412 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65413 > │ let v183 : Async<US4> = null |> unbox<Async<US4>> │
00:25:41 verbose #65414 > │ v183 │
00:25:41 verbose #65415 > │ #endif │
00:25:41 verbose #65416 > │ │
00:25:41 verbose #65417 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65418 > │ let v184 : Async<US4> = null |> unbox<Async<US4>> │
00:25:41 verbose #65419 > │ v184 │
00:25:41 verbose #65420 > │ #endif │
00:25:41 verbose #65421 > │ │
00:25:41 verbose #65422 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65423 > │ let v185 : Async<US4> = null |> unbox<Async<US4>> │
00:25:41 verbose #65424 > │ v185 │
00:25:41 verbose #65425 > │ #endif │
00:25:41 verbose #65426 > │ │
00:25:41 verbose #65427 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65428 > │ let v186 : Async<US4> = null |> unbox<Async<US4>> │
00:25:41 verbose #65429 > │ v186 │
00:25:41 verbose #65430 > │ #endif │
00:25:41 verbose #65431 > │ │
00:25:41 verbose #65432 > │ #else │
00:25:41 verbose #65433 > │ let v187 : Async<US4> option = None │
00:25:41 verbose #65434 > │ let mutable _v187 = v187 │
00:25:41 verbose #65435 > │ async { │
00:25:41 verbose #65436 > │ let! v179 = v179 │
00:25:41 verbose #65437 > │ let v188 : US6 = v179 │
00:25:41 verbose #65438 > │ let v214 : US4 = │
00:25:41 verbose #65439 > │ match v188 with │
00:25:41 verbose #65440 > │ | US6_1(v191) -> (* Error *) │
00:25:41 verbose #65441 > │ let v192 : string = $"%A{v191}" │
00:25:41 verbose #65442 > │ let v193 : string = "System.TimeoutException" │
00:25:41 verbose #65443 > │ let v194 : bool = v192.Contains v193 │
00:25:41 verbose #65444 > │ if v194 then │
00:25:41 verbose #65445 > │ let v195 : US0 = US0_1 │
00:25:41 verbose #65446 > │ let v196 : (unit -> string) = closure17() │
00:25:41 verbose #65447 > │ let v197 : (unit -> string) = closure18(v55) │
00:25:41 verbose #65448 > │ method1(v195, v196, v197) │
00:25:41 verbose #65449 > │ US4_1 │
00:25:41 verbose #65450 > │ else │
00:25:41 verbose #65451 > │ let v199 : string option = None │
00:25:41 verbose #65452 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:41 verbose #65453 > │ │
00:25:41 verbose #65454 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65455 > │ │
00:25:41 verbose #65456 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65457 > │ let v201 : string = $"%A{v191}" │
00:25:41 verbose #65458 > │ v201 │
00:25:41 verbose #65459 > │ #endif │
00:25:41 verbose #65460 > │ │
00:25:41 verbose #65461 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65462 > │ let v202 : string = $"%A{v191}" │
00:25:41 verbose #65463 > │ v202 │
00:25:41 verbose #65464 > │ #endif │
00:25:41 verbose #65465 > │ │
00:25:41 verbose #65466 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65467 > │ let v203 : string = $"%A{v191}" │
00:25:41 verbose #65468 > │ v203 │
00:25:41 verbose #65469 > │ #endif │
00:25:41 verbose #65470 > │ │
00:25:41 verbose #65471 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65472 > │ let v204 : string = $"%A{v191}" │
00:25:41 verbose #65473 > │ v204 │
00:25:41 verbose #65474 > │ #endif │
00:25:41 verbose #65475 > │ │
00:25:41 verbose #65476 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65477 > │ let v205 : string = $"%A{v191}" │
00:25:41 verbose #65478 > │ v205 │
00:25:41 verbose #65479 > │ #endif │
00:25:41 verbose #65480 > │ │
00:25:41 verbose #65481 > │ #else │
00:25:41 verbose #65482 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:41 verbose #65483 > │ {v191.Message}" │
00:25:41 verbose #65484 > │ v206 │
00:25:41 verbose #65485 > │ #endif │
00:25:41 verbose #65486 > │ |> fun x -> _v199 <- Some x │
00:25:41 verbose #65487 > │ let v207 : string = _v199.Value │
00:25:41 verbose #65488 > │ let v208 : US0 = US0_4 │
00:25:41 verbose #65489 > │ let v209 : (unit -> string) = closure19(v207) │
00:25:41 verbose #65490 > │ let v210 : (unit -> string) = closure18(v55) │
00:25:41 verbose #65491 > │ method1(v208, v209, v210) │
00:25:41 verbose #65492 > │ US4_1 │
00:25:41 verbose #65493 > │ | US6_0(v189) -> (* Ok *) │
00:25:41 verbose #65494 > │ US4_0(v189) │
00:25:41 verbose #65495 > │ return v214 │
00:25:41 verbose #65496 > │ } │
00:25:41 verbose #65497 > │ |> fun x -> _v187 <- Some x │
00:25:41 verbose #65498 > │ let v215 : Async<US4> = _v187 |> Option.get │
00:25:41 verbose #65499 > │ v215 │
00:25:41 verbose #65500 > │ #endif │
00:25:41 verbose #65501 > │ |> fun x -> _v180 <- Some x │
00:25:41 verbose #65502 > │ let v216 : Async<US4> = _v180.Value │
00:25:41 verbose #65503 > │ return! v216 │
00:25:41 verbose #65504 > │ } │
00:25:41 verbose #65505 > │ |> fun x -> _v120 <- Some x │
00:25:41 verbose #65506 > │ let v217 : Async<US4> = _v120 |> Option.get │
00:25:41 verbose #65507 > │ v217 │
00:25:41 verbose #65508 > │ #endif │
00:25:41 verbose #65509 > │ |> fun x -> _v113 <- Some x │
00:25:41 verbose #65510 > │ let v218 : Async<US4> = _v113.Value │
00:25:41 verbose #65511 > │ v218 │
00:25:41 verbose #65512 > │ #endif │
00:25:41 verbose #65513 > │ |> fun x -> _v106 <- Some x │
00:25:41 verbose #65514 > │ let v219 : Async<US4> = _v106.Value │
00:25:41 verbose #65515 > │ let! v219 = v219 │
00:25:41 verbose #65516 > │ let v220 : US4 = v219 │
00:25:41 verbose #65517 > │ let v223 : bool = │
00:25:41 verbose #65518 > │ match v220 with │
00:25:41 verbose #65519 > │ | US4_1 -> (* None *) │
00:25:41 verbose #65520 > │ false │
00:25:41 verbose #65521 > │ | US4_0(v221) -> (* Some *) │
00:25:41 verbose #65522 > │ v221 │
00:25:41 verbose #65523 > │ return v223 │
00:25:41 verbose #65524 > │ } │
00:25:41 verbose #65525 > │ |> fun x -> _v63 <- Some x │
00:25:41 verbose #65526 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:41 verbose #65527 > │ v224 │
00:25:41 verbose #65528 > │ #endif │
00:25:41 verbose #65529 > │ |> fun x -> _v56 <- Some x │
00:25:41 verbose #65530 > │ let v225 : Async<bool> = _v56.Value │
00:25:41 verbose #65531 > │ v225 │
00:25:41 verbose #65532 > │ let! v227 = v227 │
00:25:41 verbose #65533 > │ let v228 : bool = v227 │
00:25:41 verbose #65534 > │ let v229 : bool = v228 = false │
00:25:41 verbose #65535 > │ if v229 then │
00:25:41 verbose #65536 > │ return v1 │
00:25:41 verbose #65537 > │ (* │
00:25:41 verbose #65538 > │ () │
00:25:41 verbose #65539 > │ else │
00:25:41 verbose #65540 > │ *) else │
00:25:41 verbose #65541 > │ let v230 : int64 = v1 % 100L │
00:25:41 verbose #65542 > │ let v231 : bool = v230 = 0L │
00:25:41 verbose #65543 > │ if v231 then │
00:25:41 verbose #65544 > │ let v232 : US0 = US0_0 │
00:25:41 verbose #65545 > │ let v233 : (unit -> string) = closure21() │
00:25:41 verbose #65546 > │ let v234 : (unit -> string) = closure22(v0, v1) │
00:25:41 verbose #65547 > │ method1(v232, v233, v234) │
00:25:41 verbose #65548 > │ let v235 : Async<unit> option = None │
00:25:41 verbose #65549 > │ let v236 : bool = true in let mutable _v235 = v235 │
00:25:41 verbose #65550 > │ │
00:25:41 verbose #65551 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65552 > │ │
00:25:41 verbose #65553 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65554 > │ let v237 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65555 > │ v237 │
00:25:41 verbose #65556 > │ #endif │
00:25:41 verbose #65557 > │ │
00:25:41 verbose #65558 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65559 > │ let v238 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65560 > │ v238 │
00:25:41 verbose #65561 > │ #endif │
00:25:41 verbose #65562 > │ │
00:25:41 verbose #65563 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65564 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65565 > │ v239 │
00:25:41 verbose #65566 > │ #endif │
00:25:41 verbose #65567 > │ │
00:25:41 verbose #65568 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65569 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65570 > │ v240 │
00:25:41 verbose #65571 > │ #endif │
00:25:41 verbose #65572 > │ │
00:25:41 verbose #65573 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65574 > │ let v241 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65575 > │ v241 │
00:25:41 verbose #65576 > │ #endif │
00:25:41 verbose #65577 > │ │
00:25:41 verbose #65578 > │ #else │
00:25:41 verbose #65579 > │ let v242 : (int32 -> Async<unit>) = Async.Sleep │
00:25:41 verbose #65580 > │ let v243 : Async<unit> = v242 10 │
00:25:41 verbose #65581 > │ v243 │
00:25:41 verbose #65582 > │ #endif │
00:25:41 verbose #65583 > │ |> fun x -> _v235 <- Some x │
00:25:41 verbose #65584 > │ let v244 : Async<unit> = _v235.Value │
00:25:41 verbose #65585 > │ do! v244 │
00:25:41 verbose #65586 > │ let v245 : int64 = v1 + 1L │
00:25:41 verbose #65587 > │ let v246 : Async<int64> = method9(v0, v245) │
00:25:41 verbose #65588 > │ return! v246 │
00:25:41 verbose #65589 > │ (* │
00:25:41 verbose #65590 > │ () │
00:25:41 verbose #65591 > │ *) │
00:25:41 verbose #65592 > │ } │
00:25:41 verbose #65593 > │ |> fun x -> _v9 <- Some x │
00:25:41 verbose #65594 > │ let v247 : Async<int64> = _v9 |> Option.get │
00:25:41 verbose #65595 > │ v247 │
00:25:41 verbose #65596 > │ #endif │
00:25:41 verbose #65597 > │ |> fun x -> _v2 <- Some x │
00:25:41 verbose #65598 > │ let v248 : Async<int64> = _v2.Value │
00:25:41 verbose #65599 > │ v248 │
00:25:41 verbose #65600 > │ and closure23 () () : string = │
00:25:41 verbose #65601 > │ let v0 : string = "5" │
00:25:41 verbose #65602 > │ v0 │
00:25:41 verbose #65603 > │ and closure24 () () : string = │
00:25:41 verbose #65604 > │ let v0 : string = "6" │
00:25:41 verbose #65605 > │ v0 │
00:25:41 verbose #65606 > │ and closure25 () struct (v0 : int32, v1 : int64) : US8 = │
00:25:41 verbose #65607 > │ US8_0(v0, v1) │
00:25:41 verbose #65608 > │ and closure26 () (v0 : exn) : US8 = │
00:25:41 verbose #65609 > │ US8_1(v0) │
00:25:41 verbose #65610 > │ and closure27 () () : string = │
00:25:41 verbose #65611 > │ let v0 : (unit -> string) = closure1() │
00:25:41 verbose #65612 > │ let v1 : string = $"timeout: {1500} / {v0 ()}" │
00:25:41 verbose #65613 > │ v1 │
00:25:41 verbose #65614 > │ and method10 (v0 : bool) : bool = │
00:25:41 verbose #65615 > │ v0 │
00:25:41 verbose #65616 > │ and method0 () : unit = │
00:25:41 verbose #65617 > │ let v0 : Async<struct (int32 * int64)> option = None │
00:25:41 verbose #65618 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:25:41 verbose #65619 > │ │
00:25:41 verbose #65620 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65621 > │ │
00:25:41 verbose #65622 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65623 > │ let v2 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:41 verbose #65624 > │ (int32 * int64)>> │
00:25:41 verbose #65625 > │ v2 │
00:25:41 verbose #65626 > │ #endif │
00:25:41 verbose #65627 > │ │
00:25:41 verbose #65628 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65629 > │ let v3 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:41 verbose #65630 > │ (int32 * int64)>> │
00:25:41 verbose #65631 > │ v3 │
00:25:41 verbose #65632 > │ #endif │
00:25:41 verbose #65633 > │ │
00:25:41 verbose #65634 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65635 > │ let v4 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:41 verbose #65636 > │ (int32 * int64)>> │
00:25:41 verbose #65637 > │ v4 │
00:25:41 verbose #65638 > │ #endif │
00:25:41 verbose #65639 > │ │
00:25:41 verbose #65640 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65641 > │ let v5 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:41 verbose #65642 > │ (int32 * int64)>> │
00:25:41 verbose #65643 > │ v5 │
00:25:41 verbose #65644 > │ #endif │
00:25:41 verbose #65645 > │ │
00:25:41 verbose #65646 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65647 > │ let v6 : Async<struct (int32 * int64)> = null |> unbox<Async<struct │
00:25:41 verbose #65648 > │ (int32 * int64)>> │
00:25:41 verbose #65649 > │ v6 │
00:25:41 verbose #65650 > │ #endif │
00:25:41 verbose #65651 > │ │
00:25:41 verbose #65652 > │ #else │
00:25:41 verbose #65653 > │ let v7 : Async<struct (int32 * int64)> option = None │
00:25:41 verbose #65654 > │ let mutable _v7 = v7 │
00:25:41 verbose #65655 > │ async { │
00:25:41 verbose #65656 > │ let v8 : US0 = US0_1 │
00:25:41 verbose #65657 > │ let v9 : (unit -> string) = closure0() │
00:25:41 verbose #65658 > │ let v10 : (unit -> string) = closure1() │
00:25:41 verbose #65659 > │ method1(v8, v9, v10) │
00:25:41 verbose #65660 > │ let v11 : Async<unit> option = None │
00:25:41 verbose #65661 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:25:41 verbose #65662 > │ │
00:25:41 verbose #65663 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65664 > │ │
00:25:41 verbose #65665 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65666 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65667 > │ v13 │
00:25:41 verbose #65668 > │ #endif │
00:25:41 verbose #65669 > │ │
00:25:41 verbose #65670 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65671 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65672 > │ v14 │
00:25:41 verbose #65673 > │ #endif │
00:25:41 verbose #65674 > │ │
00:25:41 verbose #65675 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65676 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65677 > │ v15 │
00:25:41 verbose #65678 > │ #endif │
00:25:41 verbose #65679 > │ │
00:25:41 verbose #65680 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65681 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65682 > │ v16 │
00:25:41 verbose #65683 > │ #endif │
00:25:41 verbose #65684 > │ │
00:25:41 verbose #65685 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65686 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65687 > │ v17 │
00:25:41 verbose #65688 > │ #endif │
00:25:41 verbose #65689 > │ │
00:25:41 verbose #65690 > │ #else │
00:25:41 verbose #65691 > │ let v18 : Async<unit> option = None │
00:25:41 verbose #65692 > │ let mutable _v18 = v18 │
00:25:41 verbose #65693 > │ async { │
00:25:41 verbose #65694 > │ let v19 : US0 = US0_1 │
00:25:41 verbose #65695 > │ let v20 : (unit -> string) = closure6() │
00:25:41 verbose #65696 > │ method1(v19, v20, v10) │
00:25:41 verbose #65697 > │ let v21 : (string -> System.Net.IPAddress) = System.Net.IPAddress.Parse │
00:25:41 verbose #65698 > │ let v22 : string = "127.0.0.1" │
00:25:41 verbose #65699 > │ let v23 : System.Net.IPAddress = v21 v22 │
00:25:41 verbose #65700 > │ let v24 : System.Net.Sockets.TcpListener = new │
00:25:41 verbose #65701 > │ System.Net.Sockets.TcpListener (v23, 5555) │
00:25:41 verbose #65702 > │ use v24 = v24 │
00:25:41 verbose #65703 > │ let v25 : System.Net.Sockets.TcpListener = v24 │
00:25:41 verbose #65704 > │ let v26 : (string -> System.Net.IPAddress) = System.Net.IPAddress.Parse │
00:25:41 verbose #65705 > │ let v27 : System.Net.IPAddress = v26 v22 │
00:25:41 verbose #65706 > │ let v28 : System.Net.Sockets.TcpListener = new │
00:25:41 verbose #65707 > │ System.Net.Sockets.TcpListener (v27, 5556) │
00:25:41 verbose #65708 > │ use v28 = v28 │
00:25:41 verbose #65709 > │ let v29 : System.Net.Sockets.TcpListener = v28 │
00:25:41 verbose #65710 > │ let v30 : US0 = US0_1 │
00:25:41 verbose #65711 > │ let v31 : (unit -> string) = closure7() │
00:25:41 verbose #65712 > │ method1(v30, v31, v10) │
00:25:41 verbose #65713 > │ let v32 : (unit -> unit) = v25.Start │
00:25:41 verbose #65714 > │ v32 () │
00:25:41 verbose #65715 > │ let v33 : (unit -> unit) = v29.Start │
00:25:41 verbose #65716 > │ v33 () │
00:25:41 verbose #65717 > │ let v34 : US0 = US0_1 │
00:25:41 verbose #65718 > │ let v35 : (unit -> string) = closure8() │
00:25:41 verbose #65719 > │ method1(v34, v35, v10) │
00:25:41 verbose #65720 > │ let v36 : Async<unit> option = None │
00:25:41 verbose #65721 > │ let v37 : bool = true in let mutable _v36 = v36 │
00:25:41 verbose #65722 > │ │
00:25:41 verbose #65723 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65724 > │ │
00:25:41 verbose #65725 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65726 > │ let v38 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65727 > │ v38 │
00:25:41 verbose #65728 > │ #endif │
00:25:41 verbose #65729 > │ │
00:25:41 verbose #65730 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65731 > │ let v39 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65732 > │ v39 │
00:25:41 verbose #65733 > │ #endif │
00:25:41 verbose #65734 > │ │
00:25:41 verbose #65735 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65736 > │ let v40 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65737 > │ v40 │
00:25:41 verbose #65738 > │ #endif │
00:25:41 verbose #65739 > │ │
00:25:41 verbose #65740 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65741 > │ let v41 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65742 > │ v41 │
00:25:41 verbose #65743 > │ #endif │
00:25:41 verbose #65744 > │ │
00:25:41 verbose #65745 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65746 > │ let v42 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65747 > │ v42 │
00:25:41 verbose #65748 > │ #endif │
00:25:41 verbose #65749 > │ │
00:25:41 verbose #65750 > │ #else │
00:25:41 verbose #65751 > │ let v43 : (int32 -> Async<unit>) = Async.Sleep │
00:25:41 verbose #65752 > │ let v44 : Async<unit> = v43 400 │
00:25:41 verbose #65753 > │ v44 │
00:25:41 verbose #65754 > │ #endif │
00:25:41 verbose #65755 > │ |> fun x -> _v36 <- Some x │
00:25:41 verbose #65756 > │ let v45 : Async<unit> = _v36.Value │
00:25:41 verbose #65757 > │ do! v45 │
00:25:41 verbose #65758 > │ let v46 : US0 = US0_1 │
00:25:41 verbose #65759 > │ let v47 : (unit -> string) = closure9() │
00:25:41 verbose #65760 > │ method1(v46, v47, v10) │
00:25:41 verbose #65761 > │ let v48 : (unit -> unit) = v25.Stop │
00:25:41 verbose #65762 > │ v48 () │
00:25:41 verbose #65763 > │ let v49 : (unit -> unit) = v29.Stop │
00:25:41 verbose #65764 > │ v49 () │
00:25:41 verbose #65765 > │ let v50 : US0 = US0_1 │
00:25:41 verbose #65766 > │ let v51 : (unit -> string) = closure10() │
00:25:41 verbose #65767 > │ method1(v50, v51, v10) │
00:25:41 verbose #65768 > │ } │
00:25:41 verbose #65769 > │ |> fun x -> _v18 <- Some x │
00:25:41 verbose #65770 > │ let v52 : Async<unit> = _v18 |> Option.get │
00:25:41 verbose #65771 > │ v52 │
00:25:41 verbose #65772 > │ #endif │
00:25:41 verbose #65773 > │ |> fun x -> _v11 <- Some x │
00:25:41 verbose #65774 > │ let v53 : Async<unit> = _v11.Value │
00:25:41 verbose #65775 > │ let v54 : Async<Async<unit>> option = None │
00:25:41 verbose #65776 > │ let v55 : bool = true in let mutable _v54 = v54 │
00:25:41 verbose #65777 > │ │
00:25:41 verbose #65778 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65779 > │ │
00:25:41 verbose #65780 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65781 > │ let v56 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:41 verbose #65782 > │ v56 │
00:25:41 verbose #65783 > │ #endif │
00:25:41 verbose #65784 > │ │
00:25:41 verbose #65785 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65786 > │ let v57 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:41 verbose #65787 > │ v57 │
00:25:41 verbose #65788 > │ #endif │
00:25:41 verbose #65789 > │ │
00:25:41 verbose #65790 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65791 > │ let v58 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:41 verbose #65792 > │ v58 │
00:25:41 verbose #65793 > │ #endif │
00:25:41 verbose #65794 > │ │
00:25:41 verbose #65795 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65796 > │ let v59 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:41 verbose #65797 > │ v59 │
00:25:41 verbose #65798 > │ #endif │
00:25:41 verbose #65799 > │ │
00:25:41 verbose #65800 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65801 > │ let v60 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:25:41 verbose #65802 > │ v60 │
00:25:41 verbose #65803 > │ #endif │
00:25:41 verbose #65804 > │ │
00:25:41 verbose #65805 > │ #else │
00:25:41 verbose #65806 > │ let v61 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:25:41 verbose #65807 > │ let v62 : Async<Async<unit>> = v61 v53 │
00:25:41 verbose #65808 > │ v62 │
00:25:41 verbose #65809 > │ #endif │
00:25:41 verbose #65810 > │ |> fun x -> _v54 <- Some x │
00:25:41 verbose #65811 > │ let v63 : Async<Async<unit>> = _v54.Value │
00:25:41 verbose #65812 > │ let! v63 = v63 │
00:25:41 verbose #65813 > │ let v64 : Async<unit> = v63 │
00:25:41 verbose #65814 > │ let v65 : US0 = US0_1 │
00:25:41 verbose #65815 > │ let v66 : (unit -> string) = closure11() │
00:25:41 verbose #65816 > │ method1(v65, v66, v10) │
00:25:41 verbose #65817 > │ let v67 : Async<unit> option = None │
00:25:41 verbose #65818 > │ let v68 : bool = true in let mutable _v67 = v67 │
00:25:41 verbose #65819 > │ │
00:25:41 verbose #65820 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65821 > │ │
00:25:41 verbose #65822 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65823 > │ let v69 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65824 > │ v69 │
00:25:41 verbose #65825 > │ #endif │
00:25:41 verbose #65826 > │ │
00:25:41 verbose #65827 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65828 > │ let v70 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65829 > │ v70 │
00:25:41 verbose #65830 > │ #endif │
00:25:41 verbose #65831 > │ │
00:25:41 verbose #65832 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65833 > │ let v71 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65834 > │ v71 │
00:25:41 verbose #65835 > │ #endif │
00:25:41 verbose #65836 > │ │
00:25:41 verbose #65837 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65838 > │ let v72 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65839 > │ v72 │
00:25:41 verbose #65840 > │ #endif │
00:25:41 verbose #65841 > │ │
00:25:41 verbose #65842 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65843 > │ let v73 : Async<unit> = null |> unbox<Async<unit>> │
00:25:41 verbose #65844 > │ v73 │
00:25:41 verbose #65845 > │ #endif │
00:25:41 verbose #65846 > │ │
00:25:41 verbose #65847 > │ #else │
00:25:41 verbose #65848 > │ let v74 : (int32 -> Async<unit>) = Async.Sleep │
00:25:41 verbose #65849 > │ let v75 : Async<unit> = v74 240 │
00:25:41 verbose #65850 > │ v75 │
00:25:41 verbose #65851 > │ #endif │
00:25:41 verbose #65852 > │ |> fun x -> _v67 <- Some x │
00:25:41 verbose #65853 > │ let v76 : Async<unit> = _v67.Value │
00:25:41 verbose #65854 > │ do! v76 │
00:25:41 verbose #65855 > │ let v77 : US0 = US0_1 │
00:25:41 verbose #65856 > │ let v78 : (unit -> string) = closure12() │
00:25:41 verbose #65857 > │ method1(v77, v78, v10) │
00:25:41 verbose #65858 > │ let v79 : int32 option = Some 60 │
00:25:41 verbose #65859 > │ let v80 : int32 = 5555 │
00:25:41 verbose #65860 > │ let v81 : Async<int32> = method7(v79, v80) │
00:25:41 verbose #65861 > │ let! v81 = v81 │
00:25:41 verbose #65862 > │ let v82 : int32 = v81 │
00:25:41 verbose #65863 > │ let v83 : US0 = US0_1 │
00:25:41 verbose #65864 > │ let v84 : (unit -> string) = closure20() │
00:25:41 verbose #65865 > │ method1(v83, v84, v10) │
00:25:41 verbose #65866 > │ let v85 : int32 option = Some 60 │
00:25:41 verbose #65867 > │ let v86 : int64 = 0L │
00:25:41 verbose #65868 > │ let v87 : Async<int64> = method9(v85, v86) │
00:25:41 verbose #65869 > │ let! v87 = v87 │
00:25:41 verbose #65870 > │ let v88 : int64 = v87 │
00:25:41 verbose #65871 > │ let v89 : US0 = US0_1 │
00:25:41 verbose #65872 > │ let v90 : (unit -> string) = closure23() │
00:25:41 verbose #65873 > │ method1(v89, v90, v10) │
00:25:41 verbose #65874 > │ do! v64 │
00:25:41 verbose #65875 > │ let v91 : US0 = US0_1 │
00:25:41 verbose #65876 > │ let v92 : (unit -> string) = closure24() │
00:25:41 verbose #65877 > │ method1(v91, v92, v10) │
00:25:41 verbose #65878 > │ return struct (v82, v88) │
00:25:41 verbose #65879 > │ } │
00:25:41 verbose #65880 > │ |> fun x -> _v7 <- Some x │
00:25:41 verbose #65881 > │ let v93 : Async<struct (int32 * int64)> = _v7 |> Option.get │
00:25:41 verbose #65882 > │ v93 │
00:25:41 verbose #65883 > │ #endif │
00:25:41 verbose #65884 > │ |> fun x -> _v0 <- Some x │
00:25:41 verbose #65885 > │ let v94 : Async<struct (int32 * int64)> = _v0.Value │
00:25:41 verbose #65886 > │ let v95 : Async<US7> option = None │
00:25:41 verbose #65887 > │ let v96 : bool = true in let mutable _v95 = v95 │
00:25:41 verbose #65888 > │ │
00:25:41 verbose #65889 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65890 > │ │
00:25:41 verbose #65891 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65892 > │ let v97 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65893 > │ v97 │
00:25:41 verbose #65894 > │ #endif │
00:25:41 verbose #65895 > │ │
00:25:41 verbose #65896 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65897 > │ let v98 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65898 > │ v98 │
00:25:41 verbose #65899 > │ #endif │
00:25:41 verbose #65900 > │ │
00:25:41 verbose #65901 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65902 > │ let v99 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65903 > │ v99 │
00:25:41 verbose #65904 > │ #endif │
00:25:41 verbose #65905 > │ │
00:25:41 verbose #65906 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65907 > │ let v100 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65908 > │ v100 │
00:25:41 verbose #65909 > │ #endif │
00:25:41 verbose #65910 > │ │
00:25:41 verbose #65911 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65912 > │ let v101 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65913 > │ v101 │
00:25:41 verbose #65914 > │ #endif │
00:25:41 verbose #65915 > │ │
00:25:41 verbose #65916 > │ #else │
00:25:41 verbose #65917 > │ let v102 : Async<US7> option = None │
00:25:41 verbose #65918 > │ let v103 : bool = true in let mutable _v102 = v102 │
00:25:41 verbose #65919 > │ │
00:25:41 verbose #65920 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65921 > │ │
00:25:41 verbose #65922 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65923 > │ let v104 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65924 > │ v104 │
00:25:41 verbose #65925 > │ #endif │
00:25:41 verbose #65926 > │ │
00:25:41 verbose #65927 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65928 > │ let v105 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65929 > │ v105 │
00:25:41 verbose #65930 > │ #endif │
00:25:41 verbose #65931 > │ │
00:25:41 verbose #65932 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65933 > │ let v106 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65934 > │ v106 │
00:25:41 verbose #65935 > │ #endif │
00:25:41 verbose #65936 > │ │
00:25:41 verbose #65937 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65938 > │ let v107 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65939 > │ v107 │
00:25:41 verbose #65940 > │ #endif │
00:25:41 verbose #65941 > │ │
00:25:41 verbose #65942 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65943 > │ let v108 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #65944 > │ v108 │
00:25:41 verbose #65945 > │ #endif │
00:25:41 verbose #65946 > │ │
00:25:41 verbose #65947 > │ #else │
00:25:41 verbose #65948 > │ let v109 : Async<US7> option = None │
00:25:41 verbose #65949 > │ let mutable _v109 = v109 │
00:25:41 verbose #65950 > │ async { │
00:25:41 verbose #65951 > │ let v110 : Async<Async<struct (int32 * int64)>> option = None │
00:25:41 verbose #65952 > │ let v111 : bool = true in let mutable _v110 = v110 │
00:25:41 verbose #65953 > │ │
00:25:41 verbose #65954 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65955 > │ │
00:25:41 verbose #65956 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #65957 > │ let v112 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:41 verbose #65958 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:41 verbose #65959 > │ v112 │
00:25:41 verbose #65960 > │ #endif │
00:25:41 verbose #65961 > │ │
00:25:41 verbose #65962 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #65963 > │ let v113 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:41 verbose #65964 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:41 verbose #65965 > │ v113 │
00:25:41 verbose #65966 > │ #endif │
00:25:41 verbose #65967 > │ │
00:25:41 verbose #65968 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #65969 > │ let v114 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:41 verbose #65970 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:41 verbose #65971 > │ v114 │
00:25:41 verbose #65972 > │ #endif │
00:25:41 verbose #65973 > │ │
00:25:41 verbose #65974 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #65975 > │ let v115 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:41 verbose #65976 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:41 verbose #65977 > │ v115 │
00:25:41 verbose #65978 > │ #endif │
00:25:41 verbose #65979 > │ │
00:25:41 verbose #65980 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #65981 > │ let v116 : Async<Async<struct (int32 * int64)>> = null |> │
00:25:41 verbose #65982 > │ unbox<Async<Async<struct (int32 * int64)>>> │
00:25:41 verbose #65983 > │ v116 │
00:25:41 verbose #65984 > │ #endif │
00:25:41 verbose #65985 > │ │
00:25:41 verbose #65986 > │ #else │
00:25:41 verbose #65987 > │ let v117 : Async<Async<struct (int32 * int64)>> = Async.StartChild (v94, │
00:25:41 verbose #65988 > │ 1500) │
00:25:41 verbose #65989 > │ v117 │
00:25:41 verbose #65990 > │ #endif │
00:25:41 verbose #65991 > │ |> fun x -> _v110 <- Some x │
00:25:41 verbose #65992 > │ let v118 : Async<Async<struct (int32 * int64)>> = _v110.Value │
00:25:41 verbose #65993 > │ let! v118 = v118 │
00:25:41 verbose #65994 > │ let v119 : Async<struct (int32 * int64)> = v118 │
00:25:41 verbose #65995 > │ let v120 : Async<Choice<struct (int32 * int64), exn>> option = None │
00:25:41 verbose #65996 > │ let v121 : bool = true in let mutable _v120 = v120 │
00:25:41 verbose #65997 > │ │
00:25:41 verbose #65998 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #65999 > │ │
00:25:41 verbose #66000 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66001 > │ let v122 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:41 verbose #66002 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:41 verbose #66003 > │ v122 │
00:25:41 verbose #66004 > │ #endif │
00:25:41 verbose #66005 > │ │
00:25:41 verbose #66006 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66007 > │ let v123 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:41 verbose #66008 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:41 verbose #66009 > │ v123 │
00:25:41 verbose #66010 > │ #endif │
00:25:41 verbose #66011 > │ │
00:25:41 verbose #66012 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66013 > │ let v124 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:41 verbose #66014 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:41 verbose #66015 > │ v124 │
00:25:41 verbose #66016 > │ #endif │
00:25:41 verbose #66017 > │ │
00:25:41 verbose #66018 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66019 > │ let v125 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:41 verbose #66020 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:41 verbose #66021 > │ v125 │
00:25:41 verbose #66022 > │ #endif │
00:25:41 verbose #66023 > │ │
00:25:41 verbose #66024 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66025 > │ let v126 : Async<Choice<struct (int32 * int64), exn>> = null |> │
00:25:41 verbose #66026 > │ unbox<Async<Choice<struct (int32 * int64), exn>>> │
00:25:41 verbose #66027 > │ v126 │
00:25:41 verbose #66028 > │ #endif │
00:25:41 verbose #66029 > │ │
00:25:41 verbose #66030 > │ #else │
00:25:41 verbose #66031 > │ let v127 : (Async<struct (int32 * int64)> -> Async<Choice<struct (int32 │
00:25:41 verbose #66032 > │ * int64), exn>>) = Async.Catch │
00:25:41 verbose #66033 > │ let v128 : Async<Choice<struct (int32 * int64), exn>> = v127 v119 │
00:25:41 verbose #66034 > │ v128 │
00:25:41 verbose #66035 > │ #endif │
00:25:41 verbose #66036 > │ |> fun x -> _v120 <- Some x │
00:25:41 verbose #66037 > │ let v129 : Async<Choice<struct (int32 * int64), exn>> = _v120.Value │
00:25:41 verbose #66038 > │ let v130 : Async<US8> option = None │
00:25:41 verbose #66039 > │ let v131 : bool = true in let mutable _v130 = v130 │
00:25:41 verbose #66040 > │ │
00:25:41 verbose #66041 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66042 > │ │
00:25:41 verbose #66043 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66044 > │ let v132 : Async<US8> = null |> unbox<Async<US8>> │
00:25:41 verbose #66045 > │ v132 │
00:25:41 verbose #66046 > │ #endif │
00:25:41 verbose #66047 > │ │
00:25:41 verbose #66048 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66049 > │ let v133 : Async<US8> = null |> unbox<Async<US8>> │
00:25:41 verbose #66050 > │ v133 │
00:25:41 verbose #66051 > │ #endif │
00:25:41 verbose #66052 > │ │
00:25:41 verbose #66053 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66054 > │ let v134 : Async<US8> = null |> unbox<Async<US8>> │
00:25:41 verbose #66055 > │ v134 │
00:25:41 verbose #66056 > │ #endif │
00:25:41 verbose #66057 > │ │
00:25:41 verbose #66058 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66059 > │ let v135 : Async<US8> = null |> unbox<Async<US8>> │
00:25:41 verbose #66060 > │ v135 │
00:25:41 verbose #66061 > │ #endif │
00:25:41 verbose #66062 > │ │
00:25:41 verbose #66063 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66064 > │ let v136 : Async<US8> = null |> unbox<Async<US8>> │
00:25:41 verbose #66065 > │ v136 │
00:25:41 verbose #66066 > │ #endif │
00:25:41 verbose #66067 > │ │
00:25:41 verbose #66068 > │ #else │
00:25:41 verbose #66069 > │ let v137 : Async<US8> option = None │
00:25:41 verbose #66070 > │ let mutable _v137 = v137 │
00:25:41 verbose #66071 > │ async { │
00:25:41 verbose #66072 > │ let! v129 = v129 │
00:25:41 verbose #66073 > │ let v138 : Choice<struct (int32 * int64), exn> = v129 │
00:25:41 verbose #66074 > │ let v139 : US8 option = None │
00:25:41 verbose #66075 > │ let v140 : bool = true in let mutable _v139 = v139 │
00:25:41 verbose #66076 > │ │
00:25:41 verbose #66077 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66078 > │ │
00:25:41 verbose #66079 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66080 > │ let v141 : US8 = null |> unbox<US8> │
00:25:41 verbose #66081 > │ v141 │
00:25:41 verbose #66082 > │ #endif │
00:25:41 verbose #66083 > │ │
00:25:41 verbose #66084 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66085 > │ let v142 : US8 = null |> unbox<US8> │
00:25:41 verbose #66086 > │ v142 │
00:25:41 verbose #66087 > │ #endif │
00:25:41 verbose #66088 > │ │
00:25:41 verbose #66089 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66090 > │ let v143 : US8 = null |> unbox<US8> │
00:25:41 verbose #66091 > │ v143 │
00:25:41 verbose #66092 > │ #endif │
00:25:41 verbose #66093 > │ │
00:25:41 verbose #66094 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66095 > │ let v144 : US8 = null |> unbox<US8> │
00:25:41 verbose #66096 > │ v144 │
00:25:41 verbose #66097 > │ #endif │
00:25:41 verbose #66098 > │ │
00:25:41 verbose #66099 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66100 > │ let v145 : US8 = null |> unbox<US8> │
00:25:41 verbose #66101 > │ v145 │
00:25:41 verbose #66102 > │ #endif │
00:25:41 verbose #66103 > │ │
00:25:41 verbose #66104 > │ #else │
00:25:41 verbose #66105 > │ let v146 : (struct (int32 * int64) -> US8) = closure25() │
00:25:41 verbose #66106 > │ let v147 : (exn -> US8) = closure26() │
00:25:41 verbose #66107 > │ let v148 : US8 = match v138 with Choice1Of2 x -> v146 x | Choice2Of2 x │
00:25:41 verbose #66108 > │ -> v147 x │
00:25:41 verbose #66109 > │ v148 │
00:25:41 verbose #66110 > │ #endif │
00:25:41 verbose #66111 > │ |> fun x -> _v139 <- Some x │
00:25:41 verbose #66112 > │ let v149 : US8 = _v139.Value │
00:25:41 verbose #66113 > │ return v149 │
00:25:41 verbose #66114 > │ } │
00:25:41 verbose #66115 > │ |> fun x -> _v137 <- Some x │
00:25:41 verbose #66116 > │ let v150 : Async<US8> = _v137 |> Option.get │
00:25:41 verbose #66117 > │ v150 │
00:25:41 verbose #66118 > │ #endif │
00:25:41 verbose #66119 > │ |> fun x -> _v130 <- Some x │
00:25:41 verbose #66120 > │ let v151 : Async<US8> = _v130.Value │
00:25:41 verbose #66121 > │ let v152 : Async<US9> option = None │
00:25:41 verbose #66122 > │ let v153 : bool = true in let mutable _v152 = v152 │
00:25:41 verbose #66123 > │ │
00:25:41 verbose #66124 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66125 > │ │
00:25:41 verbose #66126 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66127 > │ let v154 : Async<US9> = null |> unbox<Async<US9>> │
00:25:41 verbose #66128 > │ v154 │
00:25:41 verbose #66129 > │ #endif │
00:25:41 verbose #66130 > │ │
00:25:41 verbose #66131 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66132 > │ let v155 : Async<US9> = null |> unbox<Async<US9>> │
00:25:41 verbose #66133 > │ v155 │
00:25:41 verbose #66134 > │ #endif │
00:25:41 verbose #66135 > │ │
00:25:41 verbose #66136 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66137 > │ let v156 : Async<US9> = null |> unbox<Async<US9>> │
00:25:41 verbose #66138 > │ v156 │
00:25:41 verbose #66139 > │ #endif │
00:25:41 verbose #66140 > │ │
00:25:41 verbose #66141 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66142 > │ let v157 : Async<US9> = null |> unbox<Async<US9>> │
00:25:41 verbose #66143 > │ v157 │
00:25:41 verbose #66144 > │ #endif │
00:25:41 verbose #66145 > │ │
00:25:41 verbose #66146 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66147 > │ let v158 : Async<US9> = null |> unbox<Async<US9>> │
00:25:41 verbose #66148 > │ v158 │
00:25:41 verbose #66149 > │ #endif │
00:25:41 verbose #66150 > │ │
00:25:41 verbose #66151 > │ #else │
00:25:41 verbose #66152 > │ let v159 : Async<US9> option = None │
00:25:41 verbose #66153 > │ let mutable _v159 = v159 │
00:25:41 verbose #66154 > │ async { │
00:25:41 verbose #66155 > │ let! v151 = v151 │
00:25:41 verbose #66156 > │ let v160 : US8 = v151 │
00:25:41 verbose #66157 > │ let v167 : US9 = │
00:25:41 verbose #66158 > │ match v160 with │
00:25:41 verbose #66159 > │ | US8_0(v161, v162) -> (* Choice1Of2 *) │
00:25:41 verbose #66160 > │ US9_0(v161, v162) │
00:25:41 verbose #66161 > │ | US8_1(v164) -> (* Choice2Of2 *) │
00:25:41 verbose #66162 > │ US9_1(v164) │
00:25:41 verbose #66163 > │ return v167 │
00:25:41 verbose #66164 > │ } │
00:25:41 verbose #66165 > │ |> fun x -> _v159 <- Some x │
00:25:41 verbose #66166 > │ let v168 : Async<US9> = _v159 |> Option.get │
00:25:41 verbose #66167 > │ v168 │
00:25:41 verbose #66168 > │ #endif │
00:25:41 verbose #66169 > │ |> fun x -> _v152 <- Some x │
00:25:41 verbose #66170 > │ let v169 : Async<US9> = _v152.Value │
00:25:41 verbose #66171 > │ let v170 : Async<US7> option = None │
00:25:41 verbose #66172 > │ let v171 : bool = true in let mutable _v170 = v170 │
00:25:41 verbose #66173 > │ │
00:25:41 verbose #66174 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66175 > │ │
00:25:41 verbose #66176 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66177 > │ let v172 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #66178 > │ v172 │
00:25:41 verbose #66179 > │ #endif │
00:25:41 verbose #66180 > │ │
00:25:41 verbose #66181 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66182 > │ let v173 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #66183 > │ v173 │
00:25:41 verbose #66184 > │ #endif │
00:25:41 verbose #66185 > │ │
00:25:41 verbose #66186 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66187 > │ let v174 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #66188 > │ v174 │
00:25:41 verbose #66189 > │ #endif │
00:25:41 verbose #66190 > │ │
00:25:41 verbose #66191 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66192 > │ let v175 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #66193 > │ v175 │
00:25:41 verbose #66194 > │ #endif │
00:25:41 verbose #66195 > │ │
00:25:41 verbose #66196 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66197 > │ let v176 : Async<US7> = null |> unbox<Async<US7>> │
00:25:41 verbose #66198 > │ v176 │
00:25:41 verbose #66199 > │ #endif │
00:25:41 verbose #66200 > │ │
00:25:41 verbose #66201 > │ #else │
00:25:41 verbose #66202 > │ let v177 : Async<US7> option = None │
00:25:41 verbose #66203 > │ let mutable _v177 = v177 │
00:25:41 verbose #66204 > │ async { │
00:25:41 verbose #66205 > │ let! v169 = v169 │
00:25:41 verbose #66206 > │ let v178 : US9 = v169 │
00:25:41 verbose #66207 > │ let v205 : US7 = │
00:25:41 verbose #66208 > │ match v178 with │
00:25:41 verbose #66209 > │ | US9_1(v182) -> (* Error *) │
00:25:41 verbose #66210 > │ let v183 : string = $"%A{v182}" │
00:25:41 verbose #66211 > │ let v184 : string = "System.TimeoutException" │
00:25:41 verbose #66212 > │ let v185 : bool = v183.Contains v184 │
00:25:41 verbose #66213 > │ if v185 then │
00:25:41 verbose #66214 > │ let v186 : US0 = US0_1 │
00:25:41 verbose #66215 > │ let v187 : (unit -> string) = closure17() │
00:25:41 verbose #66216 > │ let v188 : (unit -> string) = closure27() │
00:25:41 verbose #66217 > │ method1(v186, v187, v188) │
00:25:41 verbose #66218 > │ US7_1 │
00:25:41 verbose #66219 > │ else │
00:25:41 verbose #66220 > │ let v190 : string option = None │
00:25:41 verbose #66221 > │ let v191 : bool = true in let mutable _v190 = v190 │
00:25:41 verbose #66222 > │ │
00:25:41 verbose #66223 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66224 > │ │
00:25:41 verbose #66225 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66226 > │ let v192 : string = $"%A{v182}" │
00:25:41 verbose #66227 > │ v192 │
00:25:41 verbose #66228 > │ #endif │
00:25:41 verbose #66229 > │ │
00:25:41 verbose #66230 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66231 > │ let v193 : string = $"%A{v182}" │
00:25:41 verbose #66232 > │ v193 │
00:25:41 verbose #66233 > │ #endif │
00:25:41 verbose #66234 > │ │
00:25:41 verbose #66235 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66236 > │ let v194 : string = $"%A{v182}" │
00:25:41 verbose #66237 > │ v194 │
00:25:41 verbose #66238 > │ #endif │
00:25:41 verbose #66239 > │ │
00:25:41 verbose #66240 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66241 > │ let v195 : string = $"%A{v182}" │
00:25:41 verbose #66242 > │ v195 │
00:25:41 verbose #66243 > │ #endif │
00:25:41 verbose #66244 > │ │
00:25:41 verbose #66245 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66246 > │ let v196 : string = $"%A{v182}" │
00:25:41 verbose #66247 > │ v196 │
00:25:41 verbose #66248 > │ #endif │
00:25:41 verbose #66249 > │ │
00:25:41 verbose #66250 > │ #else │
00:25:41 verbose #66251 > │ let v197 : string = $"{v182.GetType ()}: {v182.Message}" │
00:25:41 verbose #66252 > │ v197 │
00:25:41 verbose #66253 > │ #endif │
00:25:41 verbose #66254 > │ |> fun x -> _v190 <- Some x │
00:25:41 verbose #66255 > │ let v198 : string = _v190.Value │
00:25:41 verbose #66256 > │ let v199 : US0 = US0_4 │
00:25:41 verbose #66257 > │ let v200 : (unit -> string) = closure19(v198) │
00:25:41 verbose #66258 > │ let v201 : (unit -> string) = closure27() │
00:25:41 verbose #66259 > │ method1(v199, v200, v201) │
00:25:41 verbose #66260 > │ US7_1 │
00:25:41 verbose #66261 > │ | US9_0(v179, v180) -> (* Ok *) │
00:25:41 verbose #66262 > │ US7_0(v179, v180) │
00:25:41 verbose #66263 > │ return v205 │
00:25:41 verbose #66264 > │ } │
00:25:41 verbose #66265 > │ |> fun x -> _v177 <- Some x │
00:25:41 verbose #66266 > │ let v206 : Async<US7> = _v177 |> Option.get │
00:25:41 verbose #66267 > │ v206 │
00:25:41 verbose #66268 > │ #endif │
00:25:41 verbose #66269 > │ |> fun x -> _v170 <- Some x │
00:25:41 verbose #66270 > │ let v207 : Async<US7> = _v170.Value │
00:25:41 verbose #66271 > │ return! v207 │
00:25:41 verbose #66272 > │ } │
00:25:41 verbose #66273 > │ |> fun x -> _v109 <- Some x │
00:25:41 verbose #66274 > │ let v208 : Async<US7> = _v109 |> Option.get │
00:25:41 verbose #66275 > │ v208 │
00:25:41 verbose #66276 > │ #endif │
00:25:41 verbose #66277 > │ |> fun x -> _v102 <- Some x │
00:25:41 verbose #66278 > │ let v209 : Async<US7> = _v102.Value │
00:25:41 verbose #66279 > │ v209 │
00:25:41 verbose #66280 > │ #endif │
00:25:41 verbose #66281 > │ |> fun x -> _v95 <- Some x │
00:25:41 verbose #66282 > │ let v210 : Async<US7> = _v95.Value │
00:25:41 verbose #66283 > │ let v211 : US7 option = None │
00:25:41 verbose #66284 > │ let v212 : bool = true in let mutable _v211 = v211 │
00:25:41 verbose #66285 > │ │
00:25:41 verbose #66286 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66287 > │ │
00:25:41 verbose #66288 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66289 > │ let v213 : US7 = null |> unbox<US7> │
00:25:41 verbose #66290 > │ v213 │
00:25:41 verbose #66291 > │ #endif │
00:25:41 verbose #66292 > │ │
00:25:41 verbose #66293 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66294 > │ let v214 : US7 = null |> unbox<US7> │
00:25:41 verbose #66295 > │ v214 │
00:25:41 verbose #66296 > │ #endif │
00:25:41 verbose #66297 > │ │
00:25:41 verbose #66298 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66299 > │ let v215 : US7 = null |> unbox<US7> │
00:25:41 verbose #66300 > │ v215 │
00:25:41 verbose #66301 > │ #endif │
00:25:41 verbose #66302 > │ │
00:25:41 verbose #66303 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66304 > │ let v216 : US7 = null |> unbox<US7> │
00:25:41 verbose #66305 > │ v216 │
00:25:41 verbose #66306 > │ #endif │
00:25:41 verbose #66307 > │ │
00:25:41 verbose #66308 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66309 > │ let v217 : US7 = null |> unbox<US7> │
00:25:41 verbose #66310 > │ v217 │
00:25:41 verbose #66311 > │ #endif │
00:25:41 verbose #66312 > │ │
00:25:41 verbose #66313 > │ #else │
00:25:41 verbose #66314 > │ let v218 : (Async<US7> -> US7) = Async.RunSynchronously │
00:25:41 verbose #66315 > │ let v219 : US7 = v218 v210 │
00:25:41 verbose #66316 > │ v219 │
00:25:41 verbose #66317 > │ #endif │
00:25:41 verbose #66318 > │ |> fun x -> _v211 <- Some x │
00:25:41 verbose #66319 > │ let v220 : US7 = _v211.Value │
00:25:41 verbose #66320 > │ let v265 : bool = │
00:25:41 verbose #66321 > │ match v220 with │
00:25:41 verbose #66322 > │ | US7_0(v221, v222) -> (* Some *) │
00:25:41 verbose #66323 > │ let v223 : bool = v221 = 5557 │
00:25:41 verbose #66324 > │ let v225 : bool = │
00:25:41 verbose #66325 > │ if v223 then │
00:25:41 verbose #66326 > │ true │
00:25:41 verbose #66327 > │ else │
00:25:41 verbose #66328 > │ method10(v223) │
00:25:41 verbose #66329 > │ let v226 : string = "assert_eq" │
00:25:41 verbose #66330 > │ let v227 : string = $"{v226} / actual: %A{v221} / expected: │
00:25:41 verbose #66331 > │ %A{5557}" │
00:25:41 verbose #66332 > │ System.Console.WriteLine v227 │
00:25:41 verbose #66333 > │ let v228 : bool = v225 = false │
00:25:41 verbose #66334 > │ if v228 then │
00:25:41 verbose #66335 > │ failwith<unit> v227 │
00:25:41 verbose #66336 > │ let v229 : bool option = None │
00:25:41 verbose #66337 > │ let v230 : bool = true in let mutable _v229 = v229 │
00:25:41 verbose #66338 > │ │
00:25:41 verbose #66339 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66340 > │ │
00:25:41 verbose #66341 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66342 > │ let v231 : string = "cfg!(windows)" │
00:25:41 verbose #66343 > │ let v232 : bool = Fable.Core.RustInterop.emitRustExpr () v231 │
00:25:41 verbose #66344 > │ v232 │
00:25:41 verbose #66345 > │ #endif │
00:25:41 verbose #66346 > │ │
00:25:41 verbose #66347 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66348 > │ let v233 : bool = null |> unbox<bool> │
00:25:41 verbose #66349 > │ v233 │
00:25:41 verbose #66350 > │ #endif │
00:25:41 verbose #66351 > │ │
00:25:41 verbose #66352 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66353 > │ let v234 : bool = null |> unbox<bool> │
00:25:41 verbose #66354 > │ v234 │
00:25:41 verbose #66355 > │ #endif │
00:25:41 verbose #66356 > │ │
00:25:41 verbose #66357 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66358 > │ let v235 : bool = null |> unbox<bool> │
00:25:41 verbose #66359 > │ v235 │
00:25:41 verbose #66360 > │ #endif │
00:25:41 verbose #66361 > │ │
00:25:41 verbose #66362 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66363 > │ let v236 : bool = null |> unbox<bool> │
00:25:41 verbose #66364 > │ v236 │
00:25:41 verbose #66365 > │ #endif │
00:25:41 verbose #66366 > │ │
00:25:41 verbose #66367 > │ #else │
00:25:41 verbose #66368 > │ let v237 : System.Runtime.InteropServices.OSPlatform = │
00:25:41 verbose #66369 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:41 verbose #66370 > │ let v238 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:41 verbose #66371 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:41 verbose #66372 > │ let v239 : bool = v238 v237 │
00:25:41 verbose #66373 > │ v239 │
00:25:41 verbose #66374 > │ #endif │
00:25:41 verbose #66375 > │ |> fun x -> _v229 <- Some x │
00:25:41 verbose #66376 > │ let v240 : bool = _v229.Value │
00:25:41 verbose #66377 > │ let v241 : int64 = │
00:25:41 verbose #66378 > │ if v240 then │
00:25:41 verbose #66379 > │ 2L │
00:25:41 verbose #66380 > │ else │
00:25:41 verbose #66381 > │ 1L │
00:25:41 verbose #66382 > │ let v242 : bool option = None │
00:25:41 verbose #66383 > │ let v243 : bool = true in let mutable _v242 = v242 │
00:25:41 verbose #66384 > │ │
00:25:41 verbose #66385 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:41 verbose #66386 > │ │
00:25:41 verbose #66387 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:41 verbose #66388 > │ let v244 : string = "cfg!(windows)" │
00:25:41 verbose #66389 > │ let v245 : bool = Fable.Core.RustInterop.emitRustExpr () v244 │
00:25:41 verbose #66390 > │ v245 │
00:25:41 verbose #66391 > │ #endif │
00:25:41 verbose #66392 > │ │
00:25:41 verbose #66393 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:41 verbose #66394 > │ let v246 : bool = null |> unbox<bool> │
00:25:41 verbose #66395 > │ v246 │
00:25:41 verbose #66396 > │ #endif │
00:25:41 verbose #66397 > │ │
00:25:41 verbose #66398 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:41 verbose #66399 > │ let v247 : bool = null |> unbox<bool> │
00:25:41 verbose #66400 > │ v247 │
00:25:41 verbose #66401 > │ #endif │
00:25:41 verbose #66402 > │ │
00:25:41 verbose #66403 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:41 verbose #66404 > │ let v248 : bool = null |> unbox<bool> │
00:25:41 verbose #66405 > │ v248 │
00:25:41 verbose #66406 > │ #endif │
00:25:41 verbose #66407 > │ │
00:25:41 verbose #66408 > │ #if FABLE_COMPILER_PYTHON │
00:25:41 verbose #66409 > │ let v249 : bool = null |> unbox<bool> │
00:25:41 verbose #66410 > │ v249 │
00:25:41 verbose #66411 > │ #endif │
00:25:41 verbose #66412 > │ │
00:25:41 verbose #66413 > │ #else │
00:25:41 verbose #66414 > │ let v250 : System.Runtime.InteropServices.OSPlatform = │
00:25:41 verbose #66415 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:25:41 verbose #66416 > │ let v251 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:25:41 verbose #66417 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:25:41 verbose #66418 > │ let v252 : bool = v251 v250 │
00:25:41 verbose #66419 > │ v252 │
00:25:41 verbose #66420 > │ #endif │
00:25:41 verbose #66421 > │ |> fun x -> _v242 <- Some x │
00:25:41 verbose #66422 > │ let v253 : bool = _v242.Value │
00:25:41 verbose #66423 > │ let v254 : int64 = │
00:25:41 verbose #66424 > │ if v253 then │
00:25:41 verbose #66425 > │ 10L │
00:25:41 verbose #66426 > │ else │
00:25:41 verbose #66427 > │ 120L │
00:25:41 verbose #66428 > │ let v255 : bool = v222 >= v241 │
00:25:41 verbose #66429 > │ let v257 : bool = │
00:25:41 verbose #66430 > │ if v255 then │
00:25:41 verbose #66431 > │ true │
00:25:41 verbose #66432 > │ else │
00:25:41 verbose #66433 > │ method10(v255) │
00:25:41 verbose #66434 > │ let v258 : bool = v257 = false │
00:25:41 verbose #66435 > │ if v258 then │
00:25:41 verbose #66436 > │ failwith<unit> "__expect" │
00:25:41 verbose #66437 > │ let v259 : bool = v222 <= v254 │
00:25:41 verbose #66438 > │ let v261 : bool = │
00:25:41 verbose #66439 > │ if v259 then │
00:25:41 verbose #66440 > │ true │
00:25:41 verbose #66441 > │ else │
00:25:41 verbose #66442 > │ method10(v259) │
00:25:41 verbose #66443 > │ let v262 : bool = v261 = false │
00:25:41 verbose #66444 > │ if v262 then │
00:25:41 verbose #66445 > │ failwith<unit> "__expect" │
00:25:41 verbose #66446 > │ let v263 : string = "assert_between" │
00:25:41 verbose #66447 > │ let v264 : string = $"{v263} / actual: %A{v222} / expected: │
00:25:41 verbose #66448 > │ %A{struct (v241, v254)}" │
00:25:41 verbose #66449 > │ System.Console.WriteLine v264 │
00:25:41 verbose #66450 > │ true │
00:25:41 verbose #66451 > │ | _ -> │
00:25:41 verbose #66452 > │ false │
00:25:41 verbose #66453 > │ let v267 : bool = │
00:25:41 verbose #66454 > │ if v265 then │
00:25:41 verbose #66455 > │ true │
00:25:41 verbose #66456 > │ else │
00:25:41 verbose #66457 > │ method10(v265) │
00:25:41 verbose #66458 > │ let v268 : string = "assert_eq" │
00:25:41 verbose #66459 > │ let v269 : string = $"{v268} / actual: %A{v265} / expected: %A{true}" │
00:25:41 verbose #66460 > │ System.Console.WriteLine v269 │
00:25:41 verbose #66461 > │ let v270 : bool = v267 = false │
00:25:41 verbose #66462 > │ if v270 then │
00:25:41 verbose #66463 > │ failwith<unit> v269 │
00:25:41 verbose #66464 > │ method0() │
00:25:41 verbose #66465 > │ │
00:25:41 verbose #66466 > │ 00:00:00 debug #1 1 │
00:25:41 verbose #66467 > │ 00:00:00 debug #3 2 │
00:25:41 verbose #66468 > │ 00:00:00 debug #3 _1 │
00:25:41 verbose #66469 > │ 00:00:00 debug #4 _2 │
00:25:41 verbose #66470 > │ 00:00:00 debug #5 _3 │
00:25:41 verbose #66471 > │ 00:00:00 debug #6 3 │
00:25:41 verbose #66472 > │ 00:00:00 debug #7 run_with_timeout_async / timeout: 60 │
00:25:41 verbose #66473 > │ 00:00:00 debug #8 4 │
00:25:41 verbose #66474 > │ 00:00:00 verbose #9 wait_for_port_access / port: 5555 / retry: 0 / timeout: │
00:25:41 verbose #66475 > │ Some 60 / status: False │
00:25:41 verbose #66476 > │ 00:00:00 debug #10 _4 │
00:25:41 verbose #66477 > │ 00:00:00 debug #11 _5 │
00:25:41 verbose #66478 > │ 00:00:00 debug #12 run_with_timeout_async / timeout: 60 │
00:25:41 verbose #66479 > │ 00:00:00 debug #13 5 │
00:25:41 verbose #66480 > │ 00:00:00 debug #14 6 │
00:25:41 verbose #66481 > │ assert_eq / actual: 5557 / expected: 5557 │
00:25:41 verbose #66482 > │ assert_between / actual: 5L / expected: struct (2L, 10L) │
00:25:41 verbose #66483 > │ assert_eq / actual: true / expected: true │
00:25:41 verbose #66484 > │ │
00:25:41 verbose #66485 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:41 verbose #66486 >
00:25:41 verbose #66487 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:41 verbose #66488 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:41 verbose #66489 > │ ## main │
00:25:41 verbose #66490 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:41 verbose #66491 >
00:25:41 verbose #66492 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:41 verbose #66493 > inl main () =
00:25:41 verbose #66494 > types ()
00:25:41 verbose #66495 > init_trace_state ()
00:25:41 verbose #66496 > $"let test_port_open x = !test_port_open x" : ()
00:25:41 verbose #66497 > $"let test_port_open_timeout x = !test_port_open_timeout x" : ()
00:25:41 verbose #66498 > $"let wait_for_port_access x = !wait_for_port_access x" : ()
00:25:41 verbose #66499 > $"let get_available_port x = !get_available_port x" : ()
00:25:41 verbose #66500 > 00:25:40 debug #905 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/16f434084f246f741a6dc50d91e88687dd502e9df3cfaf75e0f3c127ba6cfb54/main.spi
00:25:43 verbose #66501 >
00:25:43 verbose #66502 > ╭─[ 2.02s - stdout ]───────────────────────────────────────────────────────────╮
00:25:43 verbose #66503 > │ #if FABLE_COMPILER │
00:25:43 verbose #66504 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:25:43 verbose #66505 > │ #endif │
00:25:43 verbose #66506 > │ type Func0<'T> = class end │
00:25:43 verbose #66507 > │ #if FABLE_COMPILER │
00:25:43 verbose #66508 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:25:43 verbose #66509 > │ #endif │
00:25:43 verbose #66510 > │ type Func0<'T, 'U> = class end │
00:25:43 verbose #66511 > │ #if FABLE_COMPILER │
00:25:43 verbose #66512 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:25:43 verbose #66513 > │ #endif │
00:25:43 verbose #66514 > │ type Box<'T> = class end │
00:25:43 verbose #66515 > │ #if FABLE_COMPILER │
00:25:43 verbose #66516 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:25:43 verbose #66517 > │ #endif │
00:25:43 verbose #66518 > │ type Dyn<'T> = class end │
00:25:43 verbose #66519 > │ #if FABLE_COMPILER │
00:25:43 verbose #66520 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:25:43 verbose #66521 > │ #endif │
00:25:43 verbose #66522 > │ type Send<'T> = class end │
00:25:43 verbose #66523 > │ #if FABLE_COMPILER │
00:25:43 verbose #66524 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:25:43 verbose #66525 > │ #endif │
00:25:43 verbose #66526 > │ type Fn<'T> = class end │
00:25:43 verbose #66527 > │ #if FABLE_COMPILER │
00:25:43 verbose #66528 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:25:43 verbose #66529 > │ #endif │
00:25:43 verbose #66530 > │ type FnUnit = class end │
00:25:43 verbose #66531 > │ #if FABLE_COMPILER │
00:25:43 verbose #66532 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:25:43 verbose #66533 > │ #endif │
00:25:43 verbose #66534 > │ type FnOnce<'T> = class end │
00:25:43 verbose #66535 > │ #if FABLE_COMPILER │
00:25:43 verbose #66536 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:25:43 verbose #66537 > │ #endif │
00:25:43 verbose #66538 > │ type ActionFn<'T> = class end │
00:25:43 verbose #66539 > │ #if FABLE_COMPILER │
00:25:43 verbose #66540 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:25:43 verbose #66541 > │ #endif │
00:25:43 verbose #66542 > │ type ActionFn2<'T, 'U> = class end │
00:25:43 verbose #66543 > │ #if FABLE_COMPILER │
00:25:43 verbose #66544 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:25:43 verbose #66545 > │ #endif │
00:25:43 verbose #66546 > │ type Impl<'T> = class end │
00:25:43 verbose #66547 > │ #if FABLE_COMPILER │
00:25:43 verbose #66548 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:25:43 verbose #66549 > │ #endif │
00:25:43 verbose #66550 > │ type Mut<'T> = class end │
00:25:43 verbose #66551 > │ #if FABLE_COMPILER │
00:25:43 verbose #66552 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:25:43 verbose #66553 > │ #endif │
00:25:43 verbose #66554 > │ type Ref<'T> = class end │
00:25:43 verbose #66555 > │ #if FABLE_COMPILER │
00:25:43 verbose #66556 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:25:43 verbose #66557 > │ #endif │
00:25:43 verbose #66558 > │ type StaticRef<'T> = class end │
00:25:43 verbose #66559 > │ #if FABLE_COMPILER │
00:25:43 verbose #66560 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:25:43 verbose #66561 > │ #endif │
00:25:43 verbose #66562 > │ type MutCell<'T> = class end │
00:25:43 verbose #66563 > │ #if FABLE_COMPILER │
00:25:43 verbose #66564 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:25:43 verbose #66565 > │ #endif │
00:25:43 verbose #66566 > │ type std_any_Any = class end │
00:25:43 verbose #66567 > │ #if FABLE_COMPILER │
00:25:43 verbose #66568 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:25:43 verbose #66569 > │ #endif │
00:25:43 verbose #66570 > │ type std_borrow_Cow<'T> = class end │
00:25:43 verbose #66571 > │ #if FABLE_COMPILER │
00:25:43 verbose #66572 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:25:43 verbose #66573 > │ #endif │
00:25:43 verbose #66574 > │ type std_cell_RefCell<'T> = class end │
00:25:43 verbose #66575 > │ #if FABLE_COMPILER │
00:25:43 verbose #66576 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:25:43 verbose #66577 > │ #endif │
00:25:43 verbose #66578 > │ type std_pin_Pin<'T> = class end │
00:25:43 verbose #66579 > │ #if FABLE_COMPILER │
00:25:43 verbose #66580 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:25:43 verbose #66581 > │ #endif │
00:25:43 verbose #66582 > │ type std_rc_Rc<'T> = class end │
00:25:43 verbose #66583 > │ #if FABLE_COMPILER │
00:25:43 verbose #66584 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:25:43 verbose #66585 > │ #endif │
00:25:43 verbose #66586 > │ type std_rc_Weak<'T> = class end │
00:25:43 verbose #66587 > │ #if FABLE_COMPILER │
00:25:43 verbose #66588 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:25:43 verbose #66589 > │ #endif │
00:25:43 verbose #66590 > │ type Str = class end │
00:25:43 verbose #66591 > │ #if FABLE_COMPILER │
00:25:43 verbose #66592 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:25:43 verbose #66593 > │ #endif │
00:25:43 verbose #66594 > │ type base64_DecodeError = class end │
00:25:43 verbose #66595 > │ #if FABLE_COMPILER │
00:25:43 verbose #66596 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:25:43 verbose #66597 > │ #endif │
00:25:43 verbose #66598 > │ type borsh_io_Error = class end │
00:25:43 verbose #66599 > │ #if FABLE_COMPILER │
00:25:43 verbose #66600 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:25:43 verbose #66601 > │ #endif │
00:25:43 verbose #66602 > │ type js_sys_JsString = class end │
00:25:43 verbose #66603 > │ #if FABLE_COMPILER │
00:25:43 verbose #66604 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:25:43 verbose #66605 > │ #endif │
00:25:43 verbose #66606 > │ type serde_json_Error = class end │
00:25:43 verbose #66607 > │ #if FABLE_COMPILER │
00:25:43 verbose #66608 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:25:43 verbose #66609 > │ #endif │
00:25:43 verbose #66610 > │ type serde_json_Value = class end │
00:25:43 verbose #66611 > │ #if FABLE_COMPILER │
00:25:43 verbose #66612 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:25:43 verbose #66613 > │ #endif │
00:25:43 verbose #66614 > │ type serde_wasm_bindgen_Error = class end │
00:25:43 verbose #66615 > │ #if FABLE_COMPILER │
00:25:43 verbose #66616 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:25:43 verbose #66617 > │ #endif │
00:25:43 verbose #66618 > │ type std_ffi_OsStr = class end │
00:25:43 verbose #66619 > │ #if FABLE_COMPILER │
00:25:43 verbose #66620 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:25:43 verbose #66621 > │ #endif │
00:25:43 verbose #66622 > │ type std_ffi_OsString = class end │
00:25:43 verbose #66623 > │ #if FABLE_COMPILER │
00:25:43 verbose #66624 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:25:43 verbose #66625 > │ #endif │
00:25:43 verbose #66626 > │ type std_fmt_Display<'T> = class end │
00:25:43 verbose #66627 > │ #if FABLE_COMPILER │
00:25:43 verbose #66628 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:25:43 verbose #66629 > │ #endif │
00:25:43 verbose #66630 > │ type std_str_Utf8Error = class end │
00:25:43 verbose #66631 > │ #if FABLE_COMPILER │
00:25:43 verbose #66632 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:25:43 verbose #66633 > │ #endif │
00:25:43 verbose #66634 > │ type std_string_FromUtf8Error = class end │
00:25:43 verbose #66635 > │ #if FABLE_COMPILER │
00:25:43 verbose #66636 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:25:43 verbose #66637 > │ #endif │
00:25:43 verbose #66638 > │ type std_string_String = class end │
00:25:43 verbose #66639 > │ #if FABLE_COMPILER │
00:25:43 verbose #66640 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:25:43 verbose #66641 > │ #endif │
00:25:43 verbose #66642 > │ type std_slice_Windows<'T> = class end │
00:25:43 verbose #66643 > │ #if FABLE_COMPILER │
00:25:43 verbose #66644 > │ [<Fable.Core.Erase; Fable.Core.Emit("reqwest_wasm::Error")>] │
00:25:43 verbose #66645 > │ #endif │
00:25:43 verbose #66646 > │ type reqwest_Error = class end │
00:25:43 verbose #66647 > │ #if FABLE_COMPILER │
00:25:43 verbose #66648 > │ [<Fable.Core.Erase; Fable.Core.Emit("reqwest_wasm::RequestBuilder")>] │
00:25:43 verbose #66649 > │ #endif │
00:25:43 verbose #66650 > │ type reqwest_RequestBuilder = class end │
00:25:43 verbose #66651 > │ #if FABLE_COMPILER │
00:25:43 verbose #66652 > │ [<Fable.Core.Erase; Fable.Core.Emit("reqwest_wasm::Response")>] │
00:25:43 verbose #66653 > │ #endif │
00:25:43 verbose #66654 > │ type reqwest_Response = class end │
00:25:43 verbose #66655 > │ module State = let mutable trace_state = None │
00:25:43 verbose #66656 > │ type Mut0 = {mutable l0 : int64} │
00:25:43 verbose #66657 > │ and Mut1 = {mutable l0 : bool} │
00:25:43 verbose #66658 > │ and [<Struct>] US0 = │
00:25:43 verbose #66659 > │ | US0_0 │
00:25:43 verbose #66660 > │ | US0_1 │
00:25:43 verbose #66661 > │ | US0_2 │
00:25:43 verbose #66662 > │ | US0_3 │
00:25:43 verbose #66663 > │ | US0_4 │
00:25:43 verbose #66664 > │ and Mut2 = {mutable l0 : US0} │
00:25:43 verbose #66665 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:25:43 verbose #66666 > │ and [<Struct>] US1 = │
00:25:43 verbose #66667 > │ | US1_0 of f0_0 : int64 │
00:25:43 verbose #66668 > │ | US1_1 │
00:25:43 verbose #66669 > │ and [<Struct>] US2 = │
00:25:43 verbose #66670 > │ | US2_0 of f0_0 : int64 │
00:25:43 verbose #66671 > │ | US2_1 │
00:25:43 verbose #66672 > │ and [<Struct>] US3 = │
00:25:43 verbose #66673 > │ | US3_0 of f0_0 : bool │
00:25:43 verbose #66674 > │ | US3_1 │
00:25:43 verbose #66675 > │ and [<Struct>] US4 = │
00:25:43 verbose #66676 > │ | US4_0 of f0_0 : bool │
00:25:43 verbose #66677 > │ | US4_1 of f1_0 : exn │
00:25:43 verbose #66678 > │ and [<Struct>] US5 = │
00:25:43 verbose #66679 > │ | US5_0 of f0_0 : bool │
00:25:43 verbose #66680 > │ | US5_1 of f1_0 : exn │
00:25:43 verbose #66681 > │ and [<Struct>] US6 = │
00:25:43 verbose #66682 > │ | US6_0 of f0_0 : int32 │
00:25:43 verbose #66683 > │ | US6_1 │
00:25:43 verbose #66684 > │ let rec closure1 () (v0 : string) : unit = │
00:25:43 verbose #66685 > │ () │
00:25:43 verbose #66686 > │ and method0 (v0 : int64 option) : int64 option = │
00:25:43 verbose #66687 > │ v0 │
00:25:43 verbose #66688 > │ and method1 (v0 : int64 option) : int64 option = │
00:25:43 verbose #66689 > │ v0 │
00:25:43 verbose #66690 > │ and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:25:43 verbose #66691 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:25:43 verbose #66692 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:25:43 verbose #66693 > │ let v2 : US0 = US0_0 │
00:25:43 verbose #66694 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:25:43 verbose #66695 > │ let v4 : (string -> unit) = closure1() │
00:25:43 verbose #66696 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:25:43 verbose #66697 > │ let v6 : int64 option option = None │
00:25:43 verbose #66698 > │ let mutable _v6 = v6 │
00:25:43 verbose #66699 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:25:43 verbose #66700 > │ let v7 : string option = None │
00:25:43 verbose #66701 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:25:43 verbose #66702 > │ │
00:25:43 verbose #66703 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #66704 > │ │
00:25:43 verbose #66705 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #66706 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:25:43 verbose #66707 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:25:43 verbose #66708 > │ v10 │
00:25:43 verbose #66709 > │ #endif │
00:25:43 verbose #66710 > │ │
00:25:43 verbose #66711 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #66712 > │ let v11 : string = null |> unbox<string> │
00:25:43 verbose #66713 > │ v11 │
00:25:43 verbose #66714 > │ #endif │
00:25:43 verbose #66715 > │ │
00:25:43 verbose #66716 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #66717 > │ let v12 : string = null |> unbox<string> │
00:25:43 verbose #66718 > │ v12 │
00:25:43 verbose #66719 > │ #endif │
00:25:43 verbose #66720 > │ │
00:25:43 verbose #66721 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #66722 > │ let v13 : string = null |> unbox<string> │
00:25:43 verbose #66723 > │ v13 │
00:25:43 verbose #66724 > │ #endif │
00:25:43 verbose #66725 > │ │
00:25:43 verbose #66726 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #66727 > │ let v14 : string = null |> unbox<string> │
00:25:43 verbose #66728 > │ v14 │
00:25:43 verbose #66729 > │ #endif │
00:25:43 verbose #66730 > │ │
00:25:43 verbose #66731 > │ #else │
00:25:43 verbose #66732 > │ let v15 : string = │
00:25:43 verbose #66733 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:25:43 verbose #66734 > │ v15 │
00:25:43 verbose #66735 > │ #endif │
00:25:43 verbose #66736 > │ |> fun x -> _v7 <- Some x │
00:25:43 verbose #66737 > │ let v16 : string = _v7.Value │
00:25:43 verbose #66738 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:25:43 verbose #66739 > │ let v19 : bool = v18 <> true │
00:25:43 verbose #66740 > │ let v25 : US1 = │
00:25:43 verbose #66741 > │ if v19 then │
00:25:43 verbose #66742 > │ let v20 : System.DateTime = System.DateTime.Now │
00:25:43 verbose #66743 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:25:43 verbose #66744 > │ let v22 : int64 = v21 v20 │
00:25:43 verbose #66745 > │ US1_0(v22) │
00:25:43 verbose #66746 > │ else │
00:25:43 verbose #66747 > │ US1_1 │
00:25:43 verbose #66748 > │ let v30 : int64 option = │
00:25:43 verbose #66749 > │ match v25 with │
00:25:43 verbose #66750 > │ | US1_1 -> (* None *) │
00:25:43 verbose #66751 > │ let v28 : int64 option = None │
00:25:43 verbose #66752 > │ v28 │
00:25:43 verbose #66753 > │ | US1_0(v26) -> (* Some *) │
00:25:43 verbose #66754 > │ let v27 : int64 option = Some v26 │
00:25:43 verbose #66755 > │ v27 │
00:25:43 verbose #66756 > │ let v31 : int64 option = method0(v30) │
00:25:43 verbose #66757 > │ v31 │
00:25:43 verbose #66758 > │ #else │
00:25:43 verbose #66759 > │ let v32 : int64 option = None │
00:25:43 verbose #66760 > │ let v33 : int64 option = method1(v32) │
00:25:43 verbose #66761 > │ v33 │
00:25:43 verbose #66762 > │ #endif │
00:25:43 verbose #66763 > │ |> fun x -> _v6 <- Some x │
00:25:43 verbose #66764 > │ let v34 : int64 option = _v6.Value │
00:25:43 verbose #66765 > │ struct (v1, v0, v3, v34, v5) │
00:25:43 verbose #66766 > │ and closure3 (v0 : string) () : string = │
00:25:43 verbose #66767 > │ let v1 : string = $"test_port_open / ex: {v0}" │
00:25:43 verbose #66768 > │ v1 │
00:25:43 verbose #66769 > │ and closure4 () () : string = │
00:25:43 verbose #66770 > │ let v0 : string = "" │
00:25:43 verbose #66771 > │ v0 │
00:25:43 verbose #66772 > │ and closure6 () (v0 : int64) : US2 = │
00:25:43 verbose #66773 > │ US2_0(v0) │
00:25:43 verbose #66774 > │ and method3 () : (int64 -> US2) = │
00:25:43 verbose #66775 > │ closure6() │
00:25:43 verbose #66776 > │ and method4 () : string = │
00:25:43 verbose #66777 > │ let v0 : string = "" │
00:25:43 verbose #66778 > │ v0 │
00:25:43 verbose #66779 > │ and closure5 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:25:43 verbose #66780 > │ string = │
00:25:43 verbose #66781 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:43 verbose #66782 > │ closure0() │
00:25:43 verbose #66783 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:25:43 verbose #66784 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:25:43 verbose #66785 > │ Mut3) = State.trace_state.Value │
00:25:43 verbose #66786 > │ let v9 : string option = None │
00:25:43 verbose #66787 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:25:43 verbose #66788 > │ │
00:25:43 verbose #66789 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #66790 > │ │
00:25:43 verbose #66791 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #66792 > │ let v11 : (int64 -> US2) = method3() │
00:25:43 verbose #66793 > │ let v12 : US2 = US2_1 │
00:25:43 verbose #66794 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:25:43 verbose #66795 > │ let v31 : System.DateTime = │
00:25:43 verbose #66796 > │ match v13 with │
00:25:43 verbose #66797 > │ | US2_1 -> (* None *) │
00:25:43 verbose #66798 > │ let v29 : System.DateTime = System.DateTime.Now │
00:25:43 verbose #66799 > │ v29 │
00:25:43 verbose #66800 > │ | US2_0(v14) -> (* Some *) │
00:25:43 verbose #66801 > │ let v15 : System.DateTime = System.DateTime.Now │
00:25:43 verbose #66802 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:25:43 verbose #66803 > │ let v17 : int64 = v16 v15 │
00:25:43 verbose #66804 > │ let v18 : int64 = v17 - v14 │
00:25:43 verbose #66805 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:25:43 verbose #66806 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:25:43 verbose #66807 > │ let v21 : int32 = v20 v19 │
00:25:43 verbose #66808 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:25:43 verbose #66809 > │ let v23 : int32 = v22 v19 │
00:25:43 verbose #66810 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:25:43 verbose #66811 > │ let v25 : int32 = v24 v19 │
00:25:43 verbose #66812 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:43 verbose #66813 > │ let v27 : int32 = v26 v19 │
00:25:43 verbose #66814 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:25:43 verbose #66815 > │ v25, v27) │
00:25:43 verbose #66816 > │ v28 │
00:25:43 verbose #66817 > │ let v32 : string = "hh:mm:ss" │
00:25:43 verbose #66818 > │ let v33 : string = v31.ToString v32 │
00:25:43 verbose #66819 > │ v33 │
00:25:43 verbose #66820 > │ #endif │
00:25:43 verbose #66821 > │ │
00:25:43 verbose #66822 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #66823 > │ let v34 : string = method4() │
00:25:43 verbose #66824 > │ v34 │
00:25:43 verbose #66825 > │ #endif │
00:25:43 verbose #66826 > │ │
00:25:43 verbose #66827 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #66828 > │ let v35 : string = method4() │
00:25:43 verbose #66829 > │ v35 │
00:25:43 verbose #66830 > │ #endif │
00:25:43 verbose #66831 > │ │
00:25:43 verbose #66832 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #66833 > │ let v36 : string = method4() │
00:25:43 verbose #66834 > │ v36 │
00:25:43 verbose #66835 > │ #endif │
00:25:43 verbose #66836 > │ │
00:25:43 verbose #66837 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #66838 > │ let v37 : string = method4() │
00:25:43 verbose #66839 > │ v37 │
00:25:43 verbose #66840 > │ #endif │
00:25:43 verbose #66841 > │ │
00:25:43 verbose #66842 > │ #else │
00:25:43 verbose #66843 > │ let v38 : (int64 -> US2) = method3() │
00:25:43 verbose #66844 > │ let v39 : US2 = US2_1 │
00:25:43 verbose #66845 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:25:43 verbose #66846 > │ let v58 : System.DateTime = │
00:25:43 verbose #66847 > │ match v40 with │
00:25:43 verbose #66848 > │ | US2_1 -> (* None *) │
00:25:43 verbose #66849 > │ let v56 : System.DateTime = System.DateTime.Now │
00:25:43 verbose #66850 > │ v56 │
00:25:43 verbose #66851 > │ | US2_0(v41) -> (* Some *) │
00:25:43 verbose #66852 > │ let v42 : System.DateTime = System.DateTime.Now │
00:25:43 verbose #66853 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:25:43 verbose #66854 > │ let v44 : int64 = v43 v42 │
00:25:43 verbose #66855 > │ let v45 : int64 = v44 - v41 │
00:25:43 verbose #66856 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:25:43 verbose #66857 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:25:43 verbose #66858 > │ let v48 : int32 = v47 v46 │
00:25:43 verbose #66859 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:25:43 verbose #66860 > │ let v50 : int32 = v49 v46 │
00:25:43 verbose #66861 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:25:43 verbose #66862 > │ let v52 : int32 = v51 v46 │
00:25:43 verbose #66863 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:25:43 verbose #66864 > │ let v54 : int32 = v53 v46 │
00:25:43 verbose #66865 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:25:43 verbose #66866 > │ v52, v54) │
00:25:43 verbose #66867 > │ v55 │
00:25:43 verbose #66868 > │ let v59 : string = "HH:mm:ss" │
00:25:43 verbose #66869 > │ let v60 : string = v58.ToString v59 │
00:25:43 verbose #66870 > │ v60 │
00:25:43 verbose #66871 > │ #endif │
00:25:43 verbose #66872 > │ |> fun x -> _v9 <- Some x │
00:25:43 verbose #66873 > │ let v61 : string = _v9.Value │
00:25:43 verbose #66874 > │ let v62 : int64 = v4.l0 │
00:25:43 verbose #66875 > │ let v72 : string = │
00:25:43 verbose #66876 > │ match v0 with │
00:25:43 verbose #66877 > │ | US0_4 -> (* Critical *) │
00:25:43 verbose #66878 > │ let v67 : string = "Critical" │
00:25:43 verbose #66879 > │ v67 │
00:25:43 verbose #66880 > │ | US0_1 -> (* Debug *) │
00:25:43 verbose #66881 > │ let v64 : string = "Debug" │
00:25:43 verbose #66882 > │ v64 │
00:25:43 verbose #66883 > │ | US0_2 -> (* Info *) │
00:25:43 verbose #66884 > │ let v65 : string = "Info" │
00:25:43 verbose #66885 > │ v65 │
00:25:43 verbose #66886 > │ | US0_0 -> (* Verbose *) │
00:25:43 verbose #66887 > │ let v63 : string = "Verbose" │
00:25:43 verbose #66888 > │ v63 │
00:25:43 verbose #66889 > │ | US0_3 -> (* Warning *) │
00:25:43 verbose #66890 > │ let v66 : string = "Warning" │
00:25:43 verbose #66891 > │ v66 │
00:25:43 verbose #66892 > │ let v73 : string = v72.ToLower () │
00:25:43 verbose #66893 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:25:43 verbose #66894 > │ let v75 : string option = None │
00:25:43 verbose #66895 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:25:43 verbose #66896 > │ │
00:25:43 verbose #66897 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #66898 > │ │
00:25:43 verbose #66899 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #66900 > │ let v91 : Ref<Str> = │
00:25:43 verbose #66901 > │ match v0 with │
00:25:43 verbose #66902 > │ | US0_4 -> (* Critical *) │
00:25:43 verbose #66903 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:25:43 verbose #66904 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:25:43 verbose #66905 > │ v86 │
00:25:43 verbose #66906 > │ | US0_1 -> (* Debug *) │
00:25:43 verbose #66907 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:25:43 verbose #66908 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:25:43 verbose #66909 > │ v80 │
00:25:43 verbose #66910 > │ | US0_2 -> (* Info *) │
00:25:43 verbose #66911 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:25:43 verbose #66912 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:25:43 verbose #66913 > │ v82 │
00:25:43 verbose #66914 > │ | US0_0 -> (* Verbose *) │
00:25:43 verbose #66915 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:25:43 verbose #66916 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:25:43 verbose #66917 > │ v78 │
00:25:43 verbose #66918 > │ | US0_3 -> (* Warning *) │
00:25:43 verbose #66919 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:25:43 verbose #66920 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:25:43 verbose #66921 > │ v84 │
00:25:43 verbose #66922 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:43 verbose #66923 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:25:43 verbose #66924 > │ let v94 : string = "inline_colorization::color_reset" │
00:25:43 verbose #66925 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:25:43 verbose #66926 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:25:43 verbose #66927 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:25:43 verbose #66928 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:25:43 verbose #66929 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:25:43 verbose #66930 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:25:43 verbose #66931 > │ v100 │
00:25:43 verbose #66932 > │ #endif │
00:25:43 verbose #66933 > │ │
00:25:43 verbose #66934 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #66935 > │ let v115 : Ref<Str> = │
00:25:43 verbose #66936 > │ match v0 with │
00:25:43 verbose #66937 > │ | US0_4 -> (* Critical *) │
00:25:43 verbose #66938 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:25:43 verbose #66939 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66940 > │ v109 │
00:25:43 verbose #66941 > │ v110 │
00:25:43 verbose #66942 > │ | US0_1 -> (* Debug *) │
00:25:43 verbose #66943 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:25:43 verbose #66944 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66945 > │ v103 │
00:25:43 verbose #66946 > │ v104 │
00:25:43 verbose #66947 > │ | US0_2 -> (* Info *) │
00:25:43 verbose #66948 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:25:43 verbose #66949 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66950 > │ v105 │
00:25:43 verbose #66951 > │ v106 │
00:25:43 verbose #66952 > │ | US0_0 -> (* Verbose *) │
00:25:43 verbose #66953 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:25:43 verbose #66954 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66955 > │ v101 │
00:25:43 verbose #66956 > │ v102 │
00:25:43 verbose #66957 > │ | US0_3 -> (* Warning *) │
00:25:43 verbose #66958 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:25:43 verbose #66959 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66960 > │ v107 │
00:25:43 verbose #66961 > │ v108 │
00:25:43 verbose #66962 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:43 verbose #66963 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:25:43 verbose #66964 > │ let v118 : string = "inline_colorization::color_reset" │
00:25:43 verbose #66965 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:25:43 verbose #66966 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:25:43 verbose #66967 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:25:43 verbose #66968 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66969 > │ v121 │
00:25:43 verbose #66970 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:25:43 verbose #66971 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:25:43 verbose #66972 > │ v124 │
00:25:43 verbose #66973 > │ #endif │
00:25:43 verbose #66974 > │ │
00:25:43 verbose #66975 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #66976 > │ let v139 : Ref<Str> = │
00:25:43 verbose #66977 > │ match v0 with │
00:25:43 verbose #66978 > │ | US0_4 -> (* Critical *) │
00:25:43 verbose #66979 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:25:43 verbose #66980 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66981 > │ v133 │
00:25:43 verbose #66982 > │ v134 │
00:25:43 verbose #66983 > │ | US0_1 -> (* Debug *) │
00:25:43 verbose #66984 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:25:43 verbose #66985 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66986 > │ v127 │
00:25:43 verbose #66987 > │ v128 │
00:25:43 verbose #66988 > │ | US0_2 -> (* Info *) │
00:25:43 verbose #66989 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:25:43 verbose #66990 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66991 > │ v129 │
00:25:43 verbose #66992 > │ v130 │
00:25:43 verbose #66993 > │ | US0_0 -> (* Verbose *) │
00:25:43 verbose #66994 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:25:43 verbose #66995 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #66996 > │ v125 │
00:25:43 verbose #66997 > │ v126 │
00:25:43 verbose #66998 > │ | US0_3 -> (* Warning *) │
00:25:43 verbose #66999 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:25:43 verbose #67000 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #67001 > │ v131 │
00:25:43 verbose #67002 > │ v132 │
00:25:43 verbose #67003 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:25:43 verbose #67004 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:25:43 verbose #67005 > │ let v142 : string = "inline_colorization::color_reset" │
00:25:43 verbose #67006 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:25:43 verbose #67007 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:25:43 verbose #67008 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:25:43 verbose #67009 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:25:43 verbose #67010 > │ v145 │
00:25:43 verbose #67011 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:25:43 verbose #67012 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:25:43 verbose #67013 > │ v148 │
00:25:43 verbose #67014 > │ #endif │
00:25:43 verbose #67015 > │ │
00:25:43 verbose #67016 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67017 > │ v74 │
00:25:43 verbose #67018 > │ #endif │
00:25:43 verbose #67019 > │ │
00:25:43 verbose #67020 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67021 > │ v74 │
00:25:43 verbose #67022 > │ #endif │
00:25:43 verbose #67023 > │ │
00:25:43 verbose #67024 > │ #else │
00:25:43 verbose #67025 > │ v74 │
00:25:43 verbose #67026 > │ #endif │
00:25:43 verbose #67027 > │ |> fun x -> _v75 <- Some x │
00:25:43 verbose #67028 > │ let v149 : string = _v75.Value │
00:25:43 verbose #67029 > │ let v150 : string = v1 () │
00:25:43 verbose #67030 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:25:43 verbose #67031 > │ let v152 : (char []) = [||] │
00:25:43 verbose #67032 > │ let v153 : string = v151.TrimStart v152 │
00:25:43 verbose #67033 > │ let v154 : (char []) = [|' '; '/'|] │
00:25:43 verbose #67034 > │ let v155 : string = v153.TrimEnd v154 │
00:25:43 verbose #67035 > │ v155 │
00:25:43 verbose #67036 > │ and method5 (v0 : US0, v1 : (unit -> string)) : unit = │
00:25:43 verbose #67037 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:43 verbose #67038 > │ closure0() │
00:25:43 verbose #67039 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:43 verbose #67040 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:25:43 verbose #67041 > │ Mut3) = State.trace_state.Value │
00:25:43 verbose #67042 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:25:43 verbose #67043 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:25:43 verbose #67044 > │ Mut3) = State.trace_state.Value │
00:25:43 verbose #67045 > │ let v13 : US0 = v10.l0 │
00:25:43 verbose #67046 > │ let v14 : bool = v9.l0 │
00:25:43 verbose #67047 > │ let v15 : bool = v14 = false │
00:25:43 verbose #67048 > │ let v19 : bool = │
00:25:43 verbose #67049 > │ if v15 then │
00:25:43 verbose #67050 > │ false │
00:25:43 verbose #67051 > │ else │
00:25:43 verbose #67052 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:43 verbose #67053 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:25:43 verbose #67054 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:25:43 verbose #67055 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:25:43 verbose #67056 > │ let v18 : bool = v16 >= v17 │
00:25:43 verbose #67057 > │ v18 │
00:25:43 verbose #67058 > │ if v19 then │
00:25:43 verbose #67059 > │ let v20 : int64 = v3.l0 │
00:25:43 verbose #67060 > │ let v21 : int64 = v20 + 1L │
00:25:43 verbose #67061 > │ v3.l0 <- v21 │
00:25:43 verbose #67062 > │ let v22 : string = $"%s{v1 ()}" │
00:25:43 verbose #67063 > │ let v23 : unit option = None │
00:25:43 verbose #67064 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:25:43 verbose #67065 > │ │
00:25:43 verbose #67066 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67067 > │ │
00:25:43 verbose #67068 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67069 > │ let v25 : string = @"println!(""{}"", $0)" │
00:25:43 verbose #67070 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:25:43 verbose #67071 > │ () │
00:25:43 verbose #67072 > │ #endif │
00:25:43 verbose #67073 > │ │
00:25:43 verbose #67074 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67075 > │ let v26 : string = @"println!(""{}"", $0)" │
00:25:43 verbose #67076 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:25:43 verbose #67077 > │ () │
00:25:43 verbose #67078 > │ #endif │
00:25:43 verbose #67079 > │ │
00:25:43 verbose #67080 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67081 > │ let v27 : string = @"println!(""{}"", $0)" │
00:25:43 verbose #67082 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:25:43 verbose #67083 > │ () │
00:25:43 verbose #67084 > │ #endif │
00:25:43 verbose #67085 > │ │
00:25:43 verbose #67086 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67087 > │ System.Console.WriteLine v22 │
00:25:43 verbose #67088 > │ () │
00:25:43 verbose #67089 > │ #endif │
00:25:43 verbose #67090 > │ │
00:25:43 verbose #67091 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67092 > │ System.Console.WriteLine v22 │
00:25:43 verbose #67093 > │ () │
00:25:43 verbose #67094 > │ #endif │
00:25:43 verbose #67095 > │ │
00:25:43 verbose #67096 > │ #else │
00:25:43 verbose #67097 > │ System.Console.WriteLine v22 │
00:25:43 verbose #67098 > │ () │
00:25:43 verbose #67099 > │ #endif │
00:25:43 verbose #67100 > │ |> fun x -> _v23 <- Some x │
00:25:43 verbose #67101 > │ _v23.Value │
00:25:43 verbose #67102 > │ let v28 : (string -> unit) = v7.l0 │
00:25:43 verbose #67103 > │ v28 v22 │
00:25:43 verbose #67104 > │ and method2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:25:43 verbose #67105 > │ = │
00:25:43 verbose #67106 > │ let v3 : (unit -> string) = closure5(v0, v1, v2) │
00:25:43 verbose #67107 > │ method5(v0, v3) │
00:25:43 verbose #67108 > │ and closure2 () (v0 : int32) : Async<bool> = │
00:25:43 verbose #67109 > │ let v1 : Async<bool> option = None │
00:25:43 verbose #67110 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:25:43 verbose #67111 > │ │
00:25:43 verbose #67112 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67113 > │ │
00:25:43 verbose #67114 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67115 > │ let v3 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67116 > │ v3 │
00:25:43 verbose #67117 > │ #endif │
00:25:43 verbose #67118 > │ │
00:25:43 verbose #67119 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67120 > │ let v4 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67121 > │ v4 │
00:25:43 verbose #67122 > │ #endif │
00:25:43 verbose #67123 > │ │
00:25:43 verbose #67124 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67125 > │ let v5 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67126 > │ v5 │
00:25:43 verbose #67127 > │ #endif │
00:25:43 verbose #67128 > │ │
00:25:43 verbose #67129 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67130 > │ let v6 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67131 > │ v6 │
00:25:43 verbose #67132 > │ #endif │
00:25:43 verbose #67133 > │ │
00:25:43 verbose #67134 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67135 > │ let v7 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67136 > │ v7 │
00:25:43 verbose #67137 > │ #endif │
00:25:43 verbose #67138 > │ │
00:25:43 verbose #67139 > │ #else │
00:25:43 verbose #67140 > │ let v8 : Async<bool> option = None │
00:25:43 verbose #67141 > │ let mutable _v8 = v8 │
00:25:43 verbose #67142 > │ async { │
00:25:43 verbose #67143 > │ let v9 : Async<System.Threading.CancellationToken> = │
00:25:43 verbose #67144 > │ Async.CancellationToken │
00:25:43 verbose #67145 > │ let! v9 = v9 │
00:25:43 verbose #67146 > │ let v10 : System.Threading.CancellationToken = v9 │
00:25:43 verbose #67147 > │ let v11 : System.Net.Sockets.TcpClient = new │
00:25:43 verbose #67148 > │ System.Net.Sockets.TcpClient () │
00:25:43 verbose #67149 > │ use v11 = v11 │
00:25:43 verbose #67150 > │ let v12 : System.Net.Sockets.TcpClient = v11 │
00:25:43 verbose #67151 > │ try │
00:25:43 verbose #67152 > │ let v13 : string = "127.0.0.1" │
00:25:43 verbose #67153 > │ let v14 : System.Threading.Tasks.ValueTask = v12.ConnectAsync (v13, v0, │
00:25:43 verbose #67154 > │ v10) │
00:25:43 verbose #67155 > │ let v15 : (unit -> System.Threading.Tasks.Task) = v14.AsTask │
00:25:43 verbose #67156 > │ let v16 : System.Threading.Tasks.Task = v15 () │
00:25:43 verbose #67157 > │ let v17 : Async<unit> option = None │
00:25:43 verbose #67158 > │ let v18 : bool = true in let mutable _v17 = v17 │
00:25:43 verbose #67159 > │ │
00:25:43 verbose #67160 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67161 > │ │
00:25:43 verbose #67162 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67163 > │ let v19 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67164 > │ v19 │
00:25:43 verbose #67165 > │ #endif │
00:25:43 verbose #67166 > │ │
00:25:43 verbose #67167 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67168 > │ let v20 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67169 > │ v20 │
00:25:43 verbose #67170 > │ #endif │
00:25:43 verbose #67171 > │ │
00:25:43 verbose #67172 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67173 > │ let v21 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67174 > │ v21 │
00:25:43 verbose #67175 > │ #endif │
00:25:43 verbose #67176 > │ │
00:25:43 verbose #67177 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67178 > │ let v22 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67179 > │ v22 │
00:25:43 verbose #67180 > │ #endif │
00:25:43 verbose #67181 > │ │
00:25:43 verbose #67182 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67183 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67184 > │ v23 │
00:25:43 verbose #67185 > │ #endif │
00:25:43 verbose #67186 > │ │
00:25:43 verbose #67187 > │ #else │
00:25:43 verbose #67188 > │ let v24 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask │
00:25:43 verbose #67189 > │ let v25 : Async<unit> = v24 v16 │
00:25:43 verbose #67190 > │ v25 │
00:25:43 verbose #67191 > │ #endif │
00:25:43 verbose #67192 > │ |> fun x -> _v17 <- Some x │
00:25:43 verbose #67193 > │ let v26 : Async<unit> = _v17.Value │
00:25:43 verbose #67194 > │ do! v26 │
00:25:43 verbose #67195 > │ return true │
00:25:43 verbose #67196 > │ with ex -> │
00:25:43 verbose #67197 > │ let v27 : exn = ex │
00:25:43 verbose #67198 > │ let v28 : string option = None │
00:25:43 verbose #67199 > │ let v29 : bool = true in let mutable _v28 = v28 │
00:25:43 verbose #67200 > │ │
00:25:43 verbose #67201 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67202 > │ │
00:25:43 verbose #67203 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67204 > │ let v30 : string = $"%A{v27}" │
00:25:43 verbose #67205 > │ v30 │
00:25:43 verbose #67206 > │ #endif │
00:25:43 verbose #67207 > │ │
00:25:43 verbose #67208 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67209 > │ let v31 : string = $"%A{v27}" │
00:25:43 verbose #67210 > │ v31 │
00:25:43 verbose #67211 > │ #endif │
00:25:43 verbose #67212 > │ │
00:25:43 verbose #67213 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67214 > │ let v32 : string = $"%A{v27}" │
00:25:43 verbose #67215 > │ v32 │
00:25:43 verbose #67216 > │ #endif │
00:25:43 verbose #67217 > │ │
00:25:43 verbose #67218 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67219 > │ let v33 : string = $"%A{v27}" │
00:25:43 verbose #67220 > │ v33 │
00:25:43 verbose #67221 > │ #endif │
00:25:43 verbose #67222 > │ │
00:25:43 verbose #67223 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67224 > │ let v34 : string = $"%A{v27}" │
00:25:43 verbose #67225 > │ v34 │
00:25:43 verbose #67226 > │ #endif │
00:25:43 verbose #67227 > │ │
00:25:43 verbose #67228 > │ #else │
00:25:43 verbose #67229 > │ let v35 : string = $"{v27.GetType ()}: {v27.Message}" │
00:25:43 verbose #67230 > │ v35 │
00:25:43 verbose #67231 > │ #endif │
00:25:43 verbose #67232 > │ |> fun x -> _v28 <- Some x │
00:25:43 verbose #67233 > │ let v36 : string = _v28.Value │
00:25:43 verbose #67234 > │ let v37 : US0 = US0_0 │
00:25:43 verbose #67235 > │ let v38 : (unit -> string) = closure3(v36) │
00:25:43 verbose #67236 > │ let v39 : (unit -> string) = closure4() │
00:25:43 verbose #67237 > │ method2(v37, v38, v39) │
00:25:43 verbose #67238 > │ return false │
00:25:43 verbose #67239 > │ (* │
00:25:43 verbose #67240 > │ let v40 : bool = *) │
00:25:43 verbose #67241 > │ } │
00:25:43 verbose #67242 > │ |> fun x -> _v8 <- Some x │
00:25:43 verbose #67243 > │ let v41 : Async<bool> = _v8 |> Option.get │
00:25:43 verbose #67244 > │ v41 │
00:25:43 verbose #67245 > │ #endif │
00:25:43 verbose #67246 > │ |> fun x -> _v1 <- Some x │
00:25:43 verbose #67247 > │ let v42 : Async<bool> = _v1.Value │
00:25:43 verbose #67248 > │ v42 │
00:25:43 verbose #67249 > │ and closure9 () (v0 : bool) : US4 = │
00:25:43 verbose #67250 > │ US4_0(v0) │
00:25:43 verbose #67251 > │ and closure10 () (v0 : exn) : US4 = │
00:25:43 verbose #67252 > │ US4_1(v0) │
00:25:43 verbose #67253 > │ and closure11 () () : string = │
00:25:43 verbose #67254 > │ let v0 : string = "run_with_timeout_async" │
00:25:43 verbose #67255 > │ v0 │
00:25:43 verbose #67256 > │ and closure12 (v0 : int32) () : string = │
00:25:43 verbose #67257 > │ let v1 : (unit -> string) = closure4() │
00:25:43 verbose #67258 > │ let v2 : string = $"timeout: {v0} / {v1 ()}" │
00:25:43 verbose #67259 > │ v2 │
00:25:43 verbose #67260 > │ and closure13 (v0 : string) () : string = │
00:25:43 verbose #67261 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:25:43 verbose #67262 > │ v1 │
00:25:43 verbose #67263 > │ and closure8 (v0 : int32) (v1 : int32) : Async<bool> = │
00:25:43 verbose #67264 > │ let v2 : Async<bool> option = None │
00:25:43 verbose #67265 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:43 verbose #67266 > │ │
00:25:43 verbose #67267 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67268 > │ │
00:25:43 verbose #67269 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67270 > │ let v4 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67271 > │ v4 │
00:25:43 verbose #67272 > │ #endif │
00:25:43 verbose #67273 > │ │
00:25:43 verbose #67274 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67275 > │ let v5 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67276 > │ v5 │
00:25:43 verbose #67277 > │ #endif │
00:25:43 verbose #67278 > │ │
00:25:43 verbose #67279 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67280 > │ let v6 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67281 > │ v6 │
00:25:43 verbose #67282 > │ #endif │
00:25:43 verbose #67283 > │ │
00:25:43 verbose #67284 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67285 > │ let v7 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67286 > │ v7 │
00:25:43 verbose #67287 > │ #endif │
00:25:43 verbose #67288 > │ │
00:25:43 verbose #67289 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67290 > │ let v8 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67291 > │ v8 │
00:25:43 verbose #67292 > │ #endif │
00:25:43 verbose #67293 > │ │
00:25:43 verbose #67294 > │ #else │
00:25:43 verbose #67295 > │ let v9 : Async<bool> option = None │
00:25:43 verbose #67296 > │ let mutable _v9 = v9 │
00:25:43 verbose #67297 > │ async { │
00:25:43 verbose #67298 > │ let v10 : Async<bool> option = None │
00:25:43 verbose #67299 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:25:43 verbose #67300 > │ │
00:25:43 verbose #67301 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67302 > │ │
00:25:43 verbose #67303 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67304 > │ let v12 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67305 > │ v12 │
00:25:43 verbose #67306 > │ #endif │
00:25:43 verbose #67307 > │ │
00:25:43 verbose #67308 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67309 > │ let v13 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67310 > │ v13 │
00:25:43 verbose #67311 > │ #endif │
00:25:43 verbose #67312 > │ │
00:25:43 verbose #67313 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67314 > │ let v14 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67315 > │ v14 │
00:25:43 verbose #67316 > │ #endif │
00:25:43 verbose #67317 > │ │
00:25:43 verbose #67318 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67319 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67320 > │ v15 │
00:25:43 verbose #67321 > │ #endif │
00:25:43 verbose #67322 > │ │
00:25:43 verbose #67323 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67324 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67325 > │ v16 │
00:25:43 verbose #67326 > │ #endif │
00:25:43 verbose #67327 > │ │
00:25:43 verbose #67328 > │ #else │
00:25:43 verbose #67329 > │ let v17 : Async<bool> option = None │
00:25:43 verbose #67330 > │ let mutable _v17 = v17 │
00:25:43 verbose #67331 > │ async { │
00:25:43 verbose #67332 > │ let v18 : Async<System.Threading.CancellationToken> = │
00:25:43 verbose #67333 > │ Async.CancellationToken │
00:25:43 verbose #67334 > │ let! v18 = v18 │
00:25:43 verbose #67335 > │ let v19 : System.Threading.CancellationToken = v18 │
00:25:43 verbose #67336 > │ let v20 : System.Net.Sockets.TcpClient = new │
00:25:43 verbose #67337 > │ System.Net.Sockets.TcpClient () │
00:25:43 verbose #67338 > │ use v20 = v20 │
00:25:43 verbose #67339 > │ let v21 : System.Net.Sockets.TcpClient = v20 │
00:25:43 verbose #67340 > │ try │
00:25:43 verbose #67341 > │ let v22 : string = "127.0.0.1" │
00:25:43 verbose #67342 > │ let v23 : System.Threading.Tasks.ValueTask = v21.ConnectAsync (v22, v1, │
00:25:43 verbose #67343 > │ v19) │
00:25:43 verbose #67344 > │ let v24 : (unit -> System.Threading.Tasks.Task) = v23.AsTask │
00:25:43 verbose #67345 > │ let v25 : System.Threading.Tasks.Task = v24 () │
00:25:43 verbose #67346 > │ let v26 : Async<unit> option = None │
00:25:43 verbose #67347 > │ let v27 : bool = true in let mutable _v26 = v26 │
00:25:43 verbose #67348 > │ │
00:25:43 verbose #67349 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67350 > │ │
00:25:43 verbose #67351 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67352 > │ let v28 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67353 > │ v28 │
00:25:43 verbose #67354 > │ #endif │
00:25:43 verbose #67355 > │ │
00:25:43 verbose #67356 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67357 > │ let v29 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67358 > │ v29 │
00:25:43 verbose #67359 > │ #endif │
00:25:43 verbose #67360 > │ │
00:25:43 verbose #67361 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67362 > │ let v30 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67363 > │ v30 │
00:25:43 verbose #67364 > │ #endif │
00:25:43 verbose #67365 > │ │
00:25:43 verbose #67366 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67367 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67368 > │ v31 │
00:25:43 verbose #67369 > │ #endif │
00:25:43 verbose #67370 > │ │
00:25:43 verbose #67371 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67372 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67373 > │ v32 │
00:25:43 verbose #67374 > │ #endif │
00:25:43 verbose #67375 > │ │
00:25:43 verbose #67376 > │ #else │
00:25:43 verbose #67377 > │ let v33 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask │
00:25:43 verbose #67378 > │ let v34 : Async<unit> = v33 v25 │
00:25:43 verbose #67379 > │ v34 │
00:25:43 verbose #67380 > │ #endif │
00:25:43 verbose #67381 > │ |> fun x -> _v26 <- Some x │
00:25:43 verbose #67382 > │ let v35 : Async<unit> = _v26.Value │
00:25:43 verbose #67383 > │ do! v35 │
00:25:43 verbose #67384 > │ return true │
00:25:43 verbose #67385 > │ with ex -> │
00:25:43 verbose #67386 > │ let v36 : exn = ex │
00:25:43 verbose #67387 > │ let v37 : string option = None │
00:25:43 verbose #67388 > │ let v38 : bool = true in let mutable _v37 = v37 │
00:25:43 verbose #67389 > │ │
00:25:43 verbose #67390 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67391 > │ │
00:25:43 verbose #67392 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67393 > │ let v39 : string = $"%A{v36}" │
00:25:43 verbose #67394 > │ v39 │
00:25:43 verbose #67395 > │ #endif │
00:25:43 verbose #67396 > │ │
00:25:43 verbose #67397 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67398 > │ let v40 : string = $"%A{v36}" │
00:25:43 verbose #67399 > │ v40 │
00:25:43 verbose #67400 > │ #endif │
00:25:43 verbose #67401 > │ │
00:25:43 verbose #67402 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67403 > │ let v41 : string = $"%A{v36}" │
00:25:43 verbose #67404 > │ v41 │
00:25:43 verbose #67405 > │ #endif │
00:25:43 verbose #67406 > │ │
00:25:43 verbose #67407 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67408 > │ let v42 : string = $"%A{v36}" │
00:25:43 verbose #67409 > │ v42 │
00:25:43 verbose #67410 > │ #endif │
00:25:43 verbose #67411 > │ │
00:25:43 verbose #67412 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67413 > │ let v43 : string = $"%A{v36}" │
00:25:43 verbose #67414 > │ v43 │
00:25:43 verbose #67415 > │ #endif │
00:25:43 verbose #67416 > │ │
00:25:43 verbose #67417 > │ #else │
00:25:43 verbose #67418 > │ let v44 : string = $"{v36.GetType ()}: {v36.Message}" │
00:25:43 verbose #67419 > │ v44 │
00:25:43 verbose #67420 > │ #endif │
00:25:43 verbose #67421 > │ |> fun x -> _v37 <- Some x │
00:25:43 verbose #67422 > │ let v45 : string = _v37.Value │
00:25:43 verbose #67423 > │ let v46 : US0 = US0_0 │
00:25:43 verbose #67424 > │ let v47 : (unit -> string) = closure3(v45) │
00:25:43 verbose #67425 > │ let v48 : (unit -> string) = closure4() │
00:25:43 verbose #67426 > │ method2(v46, v47, v48) │
00:25:43 verbose #67427 > │ return false │
00:25:43 verbose #67428 > │ (* │
00:25:43 verbose #67429 > │ let v49 : bool = *) │
00:25:43 verbose #67430 > │ } │
00:25:43 verbose #67431 > │ |> fun x -> _v17 <- Some x │
00:25:43 verbose #67432 > │ let v50 : Async<bool> = _v17 |> Option.get │
00:25:43 verbose #67433 > │ v50 │
00:25:43 verbose #67434 > │ #endif │
00:25:43 verbose #67435 > │ |> fun x -> _v10 <- Some x │
00:25:43 verbose #67436 > │ let v51 : Async<bool> = _v10.Value │
00:25:43 verbose #67437 > │ let v52 : Async<US3> option = None │
00:25:43 verbose #67438 > │ let v53 : bool = true in let mutable _v52 = v52 │
00:25:43 verbose #67439 > │ │
00:25:43 verbose #67440 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67441 > │ │
00:25:43 verbose #67442 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67443 > │ let v54 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67444 > │ v54 │
00:25:43 verbose #67445 > │ #endif │
00:25:43 verbose #67446 > │ │
00:25:43 verbose #67447 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67448 > │ let v55 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67449 > │ v55 │
00:25:43 verbose #67450 > │ #endif │
00:25:43 verbose #67451 > │ │
00:25:43 verbose #67452 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67453 > │ let v56 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67454 > │ v56 │
00:25:43 verbose #67455 > │ #endif │
00:25:43 verbose #67456 > │ │
00:25:43 verbose #67457 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67458 > │ let v57 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67459 > │ v57 │
00:25:43 verbose #67460 > │ #endif │
00:25:43 verbose #67461 > │ │
00:25:43 verbose #67462 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67463 > │ let v58 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67464 > │ v58 │
00:25:43 verbose #67465 > │ #endif │
00:25:43 verbose #67466 > │ │
00:25:43 verbose #67467 > │ #else │
00:25:43 verbose #67468 > │ let v59 : Async<US3> option = None │
00:25:43 verbose #67469 > │ let v60 : bool = true in let mutable _v59 = v59 │
00:25:43 verbose #67470 > │ │
00:25:43 verbose #67471 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67472 > │ │
00:25:43 verbose #67473 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67474 > │ let v61 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67475 > │ v61 │
00:25:43 verbose #67476 > │ #endif │
00:25:43 verbose #67477 > │ │
00:25:43 verbose #67478 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67479 > │ let v62 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67480 > │ v62 │
00:25:43 verbose #67481 > │ #endif │
00:25:43 verbose #67482 > │ │
00:25:43 verbose #67483 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67484 > │ let v63 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67485 > │ v63 │
00:25:43 verbose #67486 > │ #endif │
00:25:43 verbose #67487 > │ │
00:25:43 verbose #67488 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67489 > │ let v64 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67490 > │ v64 │
00:25:43 verbose #67491 > │ #endif │
00:25:43 verbose #67492 > │ │
00:25:43 verbose #67493 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67494 > │ let v65 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67495 > │ v65 │
00:25:43 verbose #67496 > │ #endif │
00:25:43 verbose #67497 > │ │
00:25:43 verbose #67498 > │ #else │
00:25:43 verbose #67499 > │ let v66 : Async<US3> option = None │
00:25:43 verbose #67500 > │ let mutable _v66 = v66 │
00:25:43 verbose #67501 > │ async { │
00:25:43 verbose #67502 > │ let v67 : Async<Async<bool>> option = None │
00:25:43 verbose #67503 > │ let v68 : bool = true in let mutable _v67 = v67 │
00:25:43 verbose #67504 > │ │
00:25:43 verbose #67505 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67506 > │ │
00:25:43 verbose #67507 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67508 > │ let v69 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:43 verbose #67509 > │ v69 │
00:25:43 verbose #67510 > │ #endif │
00:25:43 verbose #67511 > │ │
00:25:43 verbose #67512 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67513 > │ let v70 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:43 verbose #67514 > │ v70 │
00:25:43 verbose #67515 > │ #endif │
00:25:43 verbose #67516 > │ │
00:25:43 verbose #67517 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67518 > │ let v71 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:43 verbose #67519 > │ v71 │
00:25:43 verbose #67520 > │ #endif │
00:25:43 verbose #67521 > │ │
00:25:43 verbose #67522 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67523 > │ let v72 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:43 verbose #67524 > │ v72 │
00:25:43 verbose #67525 > │ #endif │
00:25:43 verbose #67526 > │ │
00:25:43 verbose #67527 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67528 > │ let v73 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>> │
00:25:43 verbose #67529 > │ v73 │
00:25:43 verbose #67530 > │ #endif │
00:25:43 verbose #67531 > │ │
00:25:43 verbose #67532 > │ #else │
00:25:43 verbose #67533 > │ let v74 : Async<Async<bool>> = Async.StartChild (v51, v0) │
00:25:43 verbose #67534 > │ v74 │
00:25:43 verbose #67535 > │ #endif │
00:25:43 verbose #67536 > │ |> fun x -> _v67 <- Some x │
00:25:43 verbose #67537 > │ let v75 : Async<Async<bool>> = _v67.Value │
00:25:43 verbose #67538 > │ let! v75 = v75 │
00:25:43 verbose #67539 > │ let v76 : Async<bool> = v75 │
00:25:43 verbose #67540 > │ let v77 : Async<Choice<bool, exn>> option = None │
00:25:43 verbose #67541 > │ let v78 : bool = true in let mutable _v77 = v77 │
00:25:43 verbose #67542 > │ │
00:25:43 verbose #67543 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67544 > │ │
00:25:43 verbose #67545 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67546 > │ let v79 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:43 verbose #67547 > │ exn>>> │
00:25:43 verbose #67548 > │ v79 │
00:25:43 verbose #67549 > │ #endif │
00:25:43 verbose #67550 > │ │
00:25:43 verbose #67551 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67552 > │ let v80 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:43 verbose #67553 > │ exn>>> │
00:25:43 verbose #67554 > │ v80 │
00:25:43 verbose #67555 > │ #endif │
00:25:43 verbose #67556 > │ │
00:25:43 verbose #67557 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67558 > │ let v81 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:43 verbose #67559 > │ exn>>> │
00:25:43 verbose #67560 > │ v81 │
00:25:43 verbose #67561 > │ #endif │
00:25:43 verbose #67562 > │ │
00:25:43 verbose #67563 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67564 > │ let v82 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:43 verbose #67565 > │ exn>>> │
00:25:43 verbose #67566 > │ v82 │
00:25:43 verbose #67567 > │ #endif │
00:25:43 verbose #67568 > │ │
00:25:43 verbose #67569 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67570 > │ let v83 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, │
00:25:43 verbose #67571 > │ exn>>> │
00:25:43 verbose #67572 > │ v83 │
00:25:43 verbose #67573 > │ #endif │
00:25:43 verbose #67574 > │ │
00:25:43 verbose #67575 > │ #else │
00:25:43 verbose #67576 > │ let v84 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch │
00:25:43 verbose #67577 > │ let v85 : Async<Choice<bool, exn>> = v84 v76 │
00:25:43 verbose #67578 > │ v85 │
00:25:43 verbose #67579 > │ #endif │
00:25:43 verbose #67580 > │ |> fun x -> _v77 <- Some x │
00:25:43 verbose #67581 > │ let v86 : Async<Choice<bool, exn>> = _v77.Value │
00:25:43 verbose #67582 > │ let v87 : Async<US4> option = None │
00:25:43 verbose #67583 > │ let v88 : bool = true in let mutable _v87 = v87 │
00:25:43 verbose #67584 > │ │
00:25:43 verbose #67585 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67586 > │ │
00:25:43 verbose #67587 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67588 > │ let v89 : Async<US4> = null |> unbox<Async<US4>> │
00:25:43 verbose #67589 > │ v89 │
00:25:43 verbose #67590 > │ #endif │
00:25:43 verbose #67591 > │ │
00:25:43 verbose #67592 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67593 > │ let v90 : Async<US4> = null |> unbox<Async<US4>> │
00:25:43 verbose #67594 > │ v90 │
00:25:43 verbose #67595 > │ #endif │
00:25:43 verbose #67596 > │ │
00:25:43 verbose #67597 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67598 > │ let v91 : Async<US4> = null |> unbox<Async<US4>> │
00:25:43 verbose #67599 > │ v91 │
00:25:43 verbose #67600 > │ #endif │
00:25:43 verbose #67601 > │ │
00:25:43 verbose #67602 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67603 > │ let v92 : Async<US4> = null |> unbox<Async<US4>> │
00:25:43 verbose #67604 > │ v92 │
00:25:43 verbose #67605 > │ #endif │
00:25:43 verbose #67606 > │ │
00:25:43 verbose #67607 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67608 > │ let v93 : Async<US4> = null |> unbox<Async<US4>> │
00:25:43 verbose #67609 > │ v93 │
00:25:43 verbose #67610 > │ #endif │
00:25:43 verbose #67611 > │ │
00:25:43 verbose #67612 > │ #else │
00:25:43 verbose #67613 > │ let v94 : Async<US4> option = None │
00:25:43 verbose #67614 > │ let mutable _v94 = v94 │
00:25:43 verbose #67615 > │ async { │
00:25:43 verbose #67616 > │ let! v86 = v86 │
00:25:43 verbose #67617 > │ let v95 : Choice<bool, exn> = v86 │
00:25:43 verbose #67618 > │ let v96 : US4 option = None │
00:25:43 verbose #67619 > │ let v97 : bool = true in let mutable _v96 = v96 │
00:25:43 verbose #67620 > │ │
00:25:43 verbose #67621 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67622 > │ │
00:25:43 verbose #67623 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67624 > │ let v98 : US4 = null |> unbox<US4> │
00:25:43 verbose #67625 > │ v98 │
00:25:43 verbose #67626 > │ #endif │
00:25:43 verbose #67627 > │ │
00:25:43 verbose #67628 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67629 > │ let v99 : US4 = null |> unbox<US4> │
00:25:43 verbose #67630 > │ v99 │
00:25:43 verbose #67631 > │ #endif │
00:25:43 verbose #67632 > │ │
00:25:43 verbose #67633 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67634 > │ let v100 : US4 = null |> unbox<US4> │
00:25:43 verbose #67635 > │ v100 │
00:25:43 verbose #67636 > │ #endif │
00:25:43 verbose #67637 > │ │
00:25:43 verbose #67638 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67639 > │ let v101 : US4 = null |> unbox<US4> │
00:25:43 verbose #67640 > │ v101 │
00:25:43 verbose #67641 > │ #endif │
00:25:43 verbose #67642 > │ │
00:25:43 verbose #67643 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67644 > │ let v102 : US4 = null |> unbox<US4> │
00:25:43 verbose #67645 > │ v102 │
00:25:43 verbose #67646 > │ #endif │
00:25:43 verbose #67647 > │ │
00:25:43 verbose #67648 > │ #else │
00:25:43 verbose #67649 > │ let v103 : (bool -> US4) = closure9() │
00:25:43 verbose #67650 > │ let v104 : (exn -> US4) = closure10() │
00:25:43 verbose #67651 > │ let v105 : US4 = match v95 with Choice1Of2 x -> v103 x | Choice2Of2 x -> │
00:25:43 verbose #67652 > │ v104 x │
00:25:43 verbose #67653 > │ v105 │
00:25:43 verbose #67654 > │ #endif │
00:25:43 verbose #67655 > │ |> fun x -> _v96 <- Some x │
00:25:43 verbose #67656 > │ let v106 : US4 = _v96.Value │
00:25:43 verbose #67657 > │ return v106 │
00:25:43 verbose #67658 > │ } │
00:25:43 verbose #67659 > │ |> fun x -> _v94 <- Some x │
00:25:43 verbose #67660 > │ let v107 : Async<US4> = _v94 |> Option.get │
00:25:43 verbose #67661 > │ v107 │
00:25:43 verbose #67662 > │ #endif │
00:25:43 verbose #67663 > │ |> fun x -> _v87 <- Some x │
00:25:43 verbose #67664 > │ let v108 : Async<US4> = _v87.Value │
00:25:43 verbose #67665 > │ let v109 : Async<US5> option = None │
00:25:43 verbose #67666 > │ let v110 : bool = true in let mutable _v109 = v109 │
00:25:43 verbose #67667 > │ │
00:25:43 verbose #67668 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67669 > │ │
00:25:43 verbose #67670 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67671 > │ let v111 : Async<US5> = null |> unbox<Async<US5>> │
00:25:43 verbose #67672 > │ v111 │
00:25:43 verbose #67673 > │ #endif │
00:25:43 verbose #67674 > │ │
00:25:43 verbose #67675 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67676 > │ let v112 : Async<US5> = null |> unbox<Async<US5>> │
00:25:43 verbose #67677 > │ v112 │
00:25:43 verbose #67678 > │ #endif │
00:25:43 verbose #67679 > │ │
00:25:43 verbose #67680 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67681 > │ let v113 : Async<US5> = null |> unbox<Async<US5>> │
00:25:43 verbose #67682 > │ v113 │
00:25:43 verbose #67683 > │ #endif │
00:25:43 verbose #67684 > │ │
00:25:43 verbose #67685 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67686 > │ let v114 : Async<US5> = null |> unbox<Async<US5>> │
00:25:43 verbose #67687 > │ v114 │
00:25:43 verbose #67688 > │ #endif │
00:25:43 verbose #67689 > │ │
00:25:43 verbose #67690 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67691 > │ let v115 : Async<US5> = null |> unbox<Async<US5>> │
00:25:43 verbose #67692 > │ v115 │
00:25:43 verbose #67693 > │ #endif │
00:25:43 verbose #67694 > │ │
00:25:43 verbose #67695 > │ #else │
00:25:43 verbose #67696 > │ let v116 : Async<US5> option = None │
00:25:43 verbose #67697 > │ let mutable _v116 = v116 │
00:25:43 verbose #67698 > │ async { │
00:25:43 verbose #67699 > │ let! v108 = v108 │
00:25:43 verbose #67700 > │ let v117 : US4 = v108 │
00:25:43 verbose #67701 > │ let v123 : US5 = │
00:25:43 verbose #67702 > │ match v117 with │
00:25:43 verbose #67703 > │ | US4_0(v118) -> (* Choice1Of2 *) │
00:25:43 verbose #67704 > │ US5_0(v118) │
00:25:43 verbose #67705 > │ | US4_1(v120) -> (* Choice2Of2 *) │
00:25:43 verbose #67706 > │ US5_1(v120) │
00:25:43 verbose #67707 > │ return v123 │
00:25:43 verbose #67708 > │ } │
00:25:43 verbose #67709 > │ |> fun x -> _v116 <- Some x │
00:25:43 verbose #67710 > │ let v124 : Async<US5> = _v116 |> Option.get │
00:25:43 verbose #67711 > │ v124 │
00:25:43 verbose #67712 > │ #endif │
00:25:43 verbose #67713 > │ |> fun x -> _v109 <- Some x │
00:25:43 verbose #67714 > │ let v125 : Async<US5> = _v109.Value │
00:25:43 verbose #67715 > │ let v126 : Async<US3> option = None │
00:25:43 verbose #67716 > │ let v127 : bool = true in let mutable _v126 = v126 │
00:25:43 verbose #67717 > │ │
00:25:43 verbose #67718 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67719 > │ │
00:25:43 verbose #67720 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67721 > │ let v128 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67722 > │ v128 │
00:25:43 verbose #67723 > │ #endif │
00:25:43 verbose #67724 > │ │
00:25:43 verbose #67725 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67726 > │ let v129 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67727 > │ v129 │
00:25:43 verbose #67728 > │ #endif │
00:25:43 verbose #67729 > │ │
00:25:43 verbose #67730 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67731 > │ let v130 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67732 > │ v130 │
00:25:43 verbose #67733 > │ #endif │
00:25:43 verbose #67734 > │ │
00:25:43 verbose #67735 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67736 > │ let v131 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67737 > │ v131 │
00:25:43 verbose #67738 > │ #endif │
00:25:43 verbose #67739 > │ │
00:25:43 verbose #67740 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67741 > │ let v132 : Async<US3> = null |> unbox<Async<US3>> │
00:25:43 verbose #67742 > │ v132 │
00:25:43 verbose #67743 > │ #endif │
00:25:43 verbose #67744 > │ │
00:25:43 verbose #67745 > │ #else │
00:25:43 verbose #67746 > │ let v133 : Async<US3> option = None │
00:25:43 verbose #67747 > │ let mutable _v133 = v133 │
00:25:43 verbose #67748 > │ async { │
00:25:43 verbose #67749 > │ let! v125 = v125 │
00:25:43 verbose #67750 > │ let v134 : US5 = v125 │
00:25:43 verbose #67751 > │ let v160 : US3 = │
00:25:43 verbose #67752 > │ match v134 with │
00:25:43 verbose #67753 > │ | US5_1(v137) -> (* Error *) │
00:25:43 verbose #67754 > │ let v138 : string = $"%A{v137}" │
00:25:43 verbose #67755 > │ let v139 : string = "System.TimeoutException" │
00:25:43 verbose #67756 > │ let v140 : bool = v138.Contains v139 │
00:25:43 verbose #67757 > │ if v140 then │
00:25:43 verbose #67758 > │ let v141 : US0 = US0_1 │
00:25:43 verbose #67759 > │ let v142 : (unit -> string) = closure11() │
00:25:43 verbose #67760 > │ let v143 : (unit -> string) = closure12(v0) │
00:25:43 verbose #67761 > │ method2(v141, v142, v143) │
00:25:43 verbose #67762 > │ US3_1 │
00:25:43 verbose #67763 > │ else │
00:25:43 verbose #67764 > │ let v145 : string option = None │
00:25:43 verbose #67765 > │ let v146 : bool = true in let mutable _v145 = v145 │
00:25:43 verbose #67766 > │ │
00:25:43 verbose #67767 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67768 > │ │
00:25:43 verbose #67769 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67770 > │ let v147 : string = $"%A{v137}" │
00:25:43 verbose #67771 > │ v147 │
00:25:43 verbose #67772 > │ #endif │
00:25:43 verbose #67773 > │ │
00:25:43 verbose #67774 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67775 > │ let v148 : string = $"%A{v137}" │
00:25:43 verbose #67776 > │ v148 │
00:25:43 verbose #67777 > │ #endif │
00:25:43 verbose #67778 > │ │
00:25:43 verbose #67779 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67780 > │ let v149 : string = $"%A{v137}" │
00:25:43 verbose #67781 > │ v149 │
00:25:43 verbose #67782 > │ #endif │
00:25:43 verbose #67783 > │ │
00:25:43 verbose #67784 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67785 > │ let v150 : string = $"%A{v137}" │
00:25:43 verbose #67786 > │ v150 │
00:25:43 verbose #67787 > │ #endif │
00:25:43 verbose #67788 > │ │
00:25:43 verbose #67789 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67790 > │ let v151 : string = $"%A{v137}" │
00:25:43 verbose #67791 > │ v151 │
00:25:43 verbose #67792 > │ #endif │
00:25:43 verbose #67793 > │ │
00:25:43 verbose #67794 > │ #else │
00:25:43 verbose #67795 > │ let v152 : string = $"{v137.GetType ()}: {v137.Message}" │
00:25:43 verbose #67796 > │ v152 │
00:25:43 verbose #67797 > │ #endif │
00:25:43 verbose #67798 > │ |> fun x -> _v145 <- Some x │
00:25:43 verbose #67799 > │ let v153 : string = _v145.Value │
00:25:43 verbose #67800 > │ let v154 : US0 = US0_4 │
00:25:43 verbose #67801 > │ let v155 : (unit -> string) = closure13(v153) │
00:25:43 verbose #67802 > │ let v156 : (unit -> string) = closure12(v0) │
00:25:43 verbose #67803 > │ method2(v154, v155, v156) │
00:25:43 verbose #67804 > │ US3_1 │
00:25:43 verbose #67805 > │ | US5_0(v135) -> (* Ok *) │
00:25:43 verbose #67806 > │ US3_0(v135) │
00:25:43 verbose #67807 > │ return v160 │
00:25:43 verbose #67808 > │ } │
00:25:43 verbose #67809 > │ |> fun x -> _v133 <- Some x │
00:25:43 verbose #67810 > │ let v161 : Async<US3> = _v133 |> Option.get │
00:25:43 verbose #67811 > │ v161 │
00:25:43 verbose #67812 > │ #endif │
00:25:43 verbose #67813 > │ |> fun x -> _v126 <- Some x │
00:25:43 verbose #67814 > │ let v162 : Async<US3> = _v126.Value │
00:25:43 verbose #67815 > │ return! v162 │
00:25:43 verbose #67816 > │ } │
00:25:43 verbose #67817 > │ |> fun x -> _v66 <- Some x │
00:25:43 verbose #67818 > │ let v163 : Async<US3> = _v66 |> Option.get │
00:25:43 verbose #67819 > │ v163 │
00:25:43 verbose #67820 > │ #endif │
00:25:43 verbose #67821 > │ |> fun x -> _v59 <- Some x │
00:25:43 verbose #67822 > │ let v164 : Async<US3> = _v59.Value │
00:25:43 verbose #67823 > │ v164 │
00:25:43 verbose #67824 > │ #endif │
00:25:43 verbose #67825 > │ |> fun x -> _v52 <- Some x │
00:25:43 verbose #67826 > │ let v165 : Async<US3> = _v52.Value │
00:25:43 verbose #67827 > │ let! v165 = v165 │
00:25:43 verbose #67828 > │ let v166 : US3 = v165 │
00:25:43 verbose #67829 > │ let v169 : bool = │
00:25:43 verbose #67830 > │ match v166 with │
00:25:43 verbose #67831 > │ | US3_1 -> (* None *) │
00:25:43 verbose #67832 > │ false │
00:25:43 verbose #67833 > │ | US3_0(v167) -> (* Some *) │
00:25:43 verbose #67834 > │ v167 │
00:25:43 verbose #67835 > │ return v169 │
00:25:43 verbose #67836 > │ } │
00:25:43 verbose #67837 > │ |> fun x -> _v9 <- Some x │
00:25:43 verbose #67838 > │ let v170 : Async<bool> = _v9 |> Option.get │
00:25:43 verbose #67839 > │ v170 │
00:25:43 verbose #67840 > │ #endif │
00:25:43 verbose #67841 > │ |> fun x -> _v2 <- Some x │
00:25:43 verbose #67842 > │ let v171 : Async<bool> = _v2.Value │
00:25:43 verbose #67843 > │ v171 │
00:25:43 verbose #67844 > │ and closure7 () (v0 : int32) : (int32 -> Async<bool>) = │
00:25:43 verbose #67845 > │ closure8(v0) │
00:25:43 verbose #67846 > │ and closure17 () (v0 : int32) : US6 = │
00:25:43 verbose #67847 > │ US6_0(v0) │
00:25:43 verbose #67848 > │ and method7 () : (int32 -> US6) = │
00:25:43 verbose #67849 > │ closure17() │
00:25:43 verbose #67850 > │ and closure18 () () : string = │
00:25:43 verbose #67851 > │ let v0 : string = "wait_for_port_access" │
00:25:43 verbose #67852 > │ v0 │
00:25:43 verbose #67853 > │ and closure19 (v0 : int32 option, v1 : bool, v2 : int32, v3 : int64) () : │
00:25:43 verbose #67854 > │ string = │
00:25:43 verbose #67855 > │ let v4 : (unit -> string) = closure4() │
00:25:43 verbose #67856 > │ let v5 : string = $"port: {v2} / retry: {v3} / timeout: %A{v0} / status: │
00:25:43 verbose #67857 > │ {v1} / {v4 ()}" │
00:25:43 verbose #67858 > │ v5 │
00:25:43 verbose #67859 > │ and method6 (v0 : int32 option, v1 : bool, v2 : int32, v3 : int64) : │
00:25:43 verbose #67860 > │ Async<int64> = │
00:25:43 verbose #67861 > │ let v4 : Async<int64> option = None │
00:25:43 verbose #67862 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:25:43 verbose #67863 > │ │
00:25:43 verbose #67864 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67865 > │ │
00:25:43 verbose #67866 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67867 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:25:43 verbose #67868 > │ v6 │
00:25:43 verbose #67869 > │ #endif │
00:25:43 verbose #67870 > │ │
00:25:43 verbose #67871 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67872 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:25:43 verbose #67873 > │ v7 │
00:25:43 verbose #67874 > │ #endif │
00:25:43 verbose #67875 > │ │
00:25:43 verbose #67876 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67877 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:25:43 verbose #67878 > │ v8 │
00:25:43 verbose #67879 > │ #endif │
00:25:43 verbose #67880 > │ │
00:25:43 verbose #67881 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67882 > │ let v9 : Async<int64> = null |> unbox<Async<int64>> │
00:25:43 verbose #67883 > │ v9 │
00:25:43 verbose #67884 > │ #endif │
00:25:43 verbose #67885 > │ │
00:25:43 verbose #67886 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67887 > │ let v10 : Async<int64> = null |> unbox<Async<int64>> │
00:25:43 verbose #67888 > │ v10 │
00:25:43 verbose #67889 > │ #endif │
00:25:43 verbose #67890 > │ │
00:25:43 verbose #67891 > │ #else │
00:25:43 verbose #67892 > │ let v11 : Async<int64> option = None │
00:25:43 verbose #67893 > │ let mutable _v11 = v11 │
00:25:43 verbose #67894 > │ async { │
00:25:43 verbose #67895 > │ let v12 : (int32 -> US6) = method7() │
00:25:43 verbose #67896 > │ let v13 : US6 = US6_1 │
00:25:43 verbose #67897 > │ let v14 : US6 = v0 |> Option.map v12 |> Option.defaultValue v13 │
00:25:43 verbose #67898 > │ let v229 : Async<bool> = │
00:25:43 verbose #67899 > │ match v14 with │
00:25:43 verbose #67900 > │ | US6_1 -> (* None *) │
00:25:43 verbose #67901 > │ let v15 : Async<bool> option = None │
00:25:43 verbose #67902 > │ let v16 : bool = true in let mutable _v15 = v15 │
00:25:43 verbose #67903 > │ │
00:25:43 verbose #67904 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67905 > │ │
00:25:43 verbose #67906 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67907 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67908 > │ v17 │
00:25:43 verbose #67909 > │ #endif │
00:25:43 verbose #67910 > │ │
00:25:43 verbose #67911 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67912 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67913 > │ v18 │
00:25:43 verbose #67914 > │ #endif │
00:25:43 verbose #67915 > │ │
00:25:43 verbose #67916 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67917 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67918 > │ v19 │
00:25:43 verbose #67919 > │ #endif │
00:25:43 verbose #67920 > │ │
00:25:43 verbose #67921 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67922 > │ let v20 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67923 > │ v20 │
00:25:43 verbose #67924 > │ #endif │
00:25:43 verbose #67925 > │ │
00:25:43 verbose #67926 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67927 > │ let v21 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #67928 > │ v21 │
00:25:43 verbose #67929 > │ #endif │
00:25:43 verbose #67930 > │ │
00:25:43 verbose #67931 > │ #else │
00:25:43 verbose #67932 > │ let v22 : Async<bool> option = None │
00:25:43 verbose #67933 > │ let mutable _v22 = v22 │
00:25:43 verbose #67934 > │ async { │
00:25:43 verbose #67935 > │ let v23 : Async<System.Threading.CancellationToken> = │
00:25:43 verbose #67936 > │ Async.CancellationToken │
00:25:43 verbose #67937 > │ let! v23 = v23 │
00:25:43 verbose #67938 > │ let v24 : System.Threading.CancellationToken = v23 │
00:25:43 verbose #67939 > │ let v25 : System.Net.Sockets.TcpClient = new │
00:25:43 verbose #67940 > │ System.Net.Sockets.TcpClient () │
00:25:43 verbose #67941 > │ use v25 = v25 │
00:25:43 verbose #67942 > │ let v26 : System.Net.Sockets.TcpClient = v25 │
00:25:43 verbose #67943 > │ try │
00:25:43 verbose #67944 > │ let v27 : string = "127.0.0.1" │
00:25:43 verbose #67945 > │ let v28 : System.Threading.Tasks.ValueTask = v26.ConnectAsync │
00:25:43 verbose #67946 > │ (v27, v2, v24) │
00:25:43 verbose #67947 > │ let v29 : (unit -> System.Threading.Tasks.Task) = v28.AsTask │
00:25:43 verbose #67948 > │ let v30 : System.Threading.Tasks.Task = v29 () │
00:25:43 verbose #67949 > │ let v31 : Async<unit> option = None │
00:25:43 verbose #67950 > │ let v32 : bool = true in let mutable _v31 = v31 │
00:25:43 verbose #67951 > │ │
00:25:43 verbose #67952 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67953 > │ │
00:25:43 verbose #67954 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67955 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67956 > │ v33 │
00:25:43 verbose #67957 > │ #endif │
00:25:43 verbose #67958 > │ │
00:25:43 verbose #67959 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #67960 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67961 > │ v34 │
00:25:43 verbose #67962 > │ #endif │
00:25:43 verbose #67963 > │ │
00:25:43 verbose #67964 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #67965 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67966 > │ v35 │
00:25:43 verbose #67967 > │ #endif │
00:25:43 verbose #67968 > │ │
00:25:43 verbose #67969 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #67970 > │ let v36 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67971 > │ v36 │
00:25:43 verbose #67972 > │ #endif │
00:25:43 verbose #67973 > │ │
00:25:43 verbose #67974 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #67975 > │ let v37 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #67976 > │ v37 │
00:25:43 verbose #67977 > │ #endif │
00:25:43 verbose #67978 > │ │
00:25:43 verbose #67979 > │ #else │
00:25:43 verbose #67980 > │ let v38 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:43 verbose #67981 > │ Async.AwaitTask │
00:25:43 verbose #67982 > │ let v39 : Async<unit> = v38 v30 │
00:25:43 verbose #67983 > │ v39 │
00:25:43 verbose #67984 > │ #endif │
00:25:43 verbose #67985 > │ |> fun x -> _v31 <- Some x │
00:25:43 verbose #67986 > │ let v40 : Async<unit> = _v31.Value │
00:25:43 verbose #67987 > │ do! v40 │
00:25:43 verbose #67988 > │ return true │
00:25:43 verbose #67989 > │ with ex -> │
00:25:43 verbose #67990 > │ let v41 : exn = ex │
00:25:43 verbose #67991 > │ let v42 : string option = None │
00:25:43 verbose #67992 > │ let v43 : bool = true in let mutable _v42 = v42 │
00:25:43 verbose #67993 > │ │
00:25:43 verbose #67994 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #67995 > │ │
00:25:43 verbose #67996 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #67997 > │ let v44 : string = $"%A{v41}" │
00:25:43 verbose #67998 > │ v44 │
00:25:43 verbose #67999 > │ #endif │
00:25:43 verbose #68000 > │ │
00:25:43 verbose #68001 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #68002 > │ let v45 : string = $"%A{v41}" │
00:25:43 verbose #68003 > │ v45 │
00:25:43 verbose #68004 > │ #endif │
00:25:43 verbose #68005 > │ │
00:25:43 verbose #68006 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #68007 > │ let v46 : string = $"%A{v41}" │
00:25:43 verbose #68008 > │ v46 │
00:25:43 verbose #68009 > │ #endif │
00:25:43 verbose #68010 > │ │
00:25:43 verbose #68011 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #68012 > │ let v47 : string = $"%A{v41}" │
00:25:43 verbose #68013 > │ v47 │
00:25:43 verbose #68014 > │ #endif │
00:25:43 verbose #68015 > │ │
00:25:43 verbose #68016 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #68017 > │ let v48 : string = $"%A{v41}" │
00:25:43 verbose #68018 > │ v48 │
00:25:43 verbose #68019 > │ #endif │
00:25:43 verbose #68020 > │ │
00:25:43 verbose #68021 > │ #else │
00:25:43 verbose #68022 > │ let v49 : string = $"{v41.GetType ()}: {v41.Message}" │
00:25:43 verbose #68023 > │ v49 │
00:25:43 verbose #68024 > │ #endif │
00:25:43 verbose #68025 > │ |> fun x -> _v42 <- Some x │
00:25:43 verbose #68026 > │ let v50 : string = _v42.Value │
00:25:43 verbose #68027 > │ let v51 : US0 = US0_0 │
00:25:43 verbose #68028 > │ let v52 : (unit -> string) = closure3(v50) │
00:25:43 verbose #68029 > │ let v53 : (unit -> string) = closure4() │
00:25:43 verbose #68030 > │ method2(v51, v52, v53) │
00:25:43 verbose #68031 > │ return false │
00:25:43 verbose #68032 > │ (* │
00:25:43 verbose #68033 > │ let v54 : bool = *) │
00:25:43 verbose #68034 > │ } │
00:25:43 verbose #68035 > │ |> fun x -> _v22 <- Some x │
00:25:43 verbose #68036 > │ let v55 : Async<bool> = _v22 |> Option.get │
00:25:43 verbose #68037 > │ v55 │
00:25:43 verbose #68038 > │ #endif │
00:25:43 verbose #68039 > │ |> fun x -> _v15 <- Some x │
00:25:43 verbose #68040 > │ let v56 : Async<bool> = _v15.Value │
00:25:43 verbose #68041 > │ v56 │
00:25:43 verbose #68042 > │ | US6_0(v57) -> (* Some *) │
00:25:43 verbose #68043 > │ let v58 : Async<bool> option = None │
00:25:43 verbose #68044 > │ let v59 : bool = true in let mutable _v58 = v58 │
00:25:43 verbose #68045 > │ │
00:25:43 verbose #68046 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #68047 > │ │
00:25:43 verbose #68048 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #68049 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68050 > │ v60 │
00:25:43 verbose #68051 > │ #endif │
00:25:43 verbose #68052 > │ │
00:25:43 verbose #68053 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #68054 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68055 > │ v61 │
00:25:43 verbose #68056 > │ #endif │
00:25:43 verbose #68057 > │ │
00:25:43 verbose #68058 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #68059 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68060 > │ v62 │
00:25:43 verbose #68061 > │ #endif │
00:25:43 verbose #68062 > │ │
00:25:43 verbose #68063 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #68064 > │ let v63 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68065 > │ v63 │
00:25:43 verbose #68066 > │ #endif │
00:25:43 verbose #68067 > │ │
00:25:43 verbose #68068 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #68069 > │ let v64 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68070 > │ v64 │
00:25:43 verbose #68071 > │ #endif │
00:25:43 verbose #68072 > │ │
00:25:43 verbose #68073 > │ #else │
00:25:43 verbose #68074 > │ let v65 : Async<bool> option = None │
00:25:43 verbose #68075 > │ let mutable _v65 = v65 │
00:25:43 verbose #68076 > │ async { │
00:25:43 verbose #68077 > │ let v66 : Async<bool> option = None │
00:25:43 verbose #68078 > │ let v67 : bool = true in let mutable _v66 = v66 │
00:25:43 verbose #68079 > │ │
00:25:43 verbose #68080 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #68081 > │ │
00:25:43 verbose #68082 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #68083 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68084 > │ v68 │
00:25:43 verbose #68085 > │ #endif │
00:25:43 verbose #68086 > │ │
00:25:43 verbose #68087 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #68088 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68089 > │ v69 │
00:25:43 verbose #68090 > │ #endif │
00:25:43 verbose #68091 > │ │
00:25:43 verbose #68092 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:43 verbose #68093 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68094 > │ v70 │
00:25:43 verbose #68095 > │ #endif │
00:25:43 verbose #68096 > │ │
00:25:43 verbose #68097 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:43 verbose #68098 > │ let v71 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68099 > │ v71 │
00:25:43 verbose #68100 > │ #endif │
00:25:43 verbose #68101 > │ │
00:25:43 verbose #68102 > │ #if FABLE_COMPILER_PYTHON │
00:25:43 verbose #68103 > │ let v72 : Async<bool> = null |> unbox<Async<bool>> │
00:25:43 verbose #68104 > │ v72 │
00:25:43 verbose #68105 > │ #endif │
00:25:43 verbose #68106 > │ │
00:25:43 verbose #68107 > │ #else │
00:25:43 verbose #68108 > │ let v73 : Async<bool> option = None │
00:25:43 verbose #68109 > │ let mutable _v73 = v73 │
00:25:43 verbose #68110 > │ async { │
00:25:43 verbose #68111 > │ let v74 : Async<System.Threading.CancellationToken> = │
00:25:43 verbose #68112 > │ Async.CancellationToken │
00:25:43 verbose #68113 > │ let! v74 = v74 │
00:25:43 verbose #68114 > │ let v75 : System.Threading.CancellationToken = v74 │
00:25:43 verbose #68115 > │ let v76 : System.Net.Sockets.TcpClient = new │
00:25:43 verbose #68116 > │ System.Net.Sockets.TcpClient () │
00:25:43 verbose #68117 > │ use v76 = v76 │
00:25:43 verbose #68118 > │ let v77 : System.Net.Sockets.TcpClient = v76 │
00:25:43 verbose #68119 > │ try │
00:25:43 verbose #68120 > │ let v78 : string = "127.0.0.1" │
00:25:43 verbose #68121 > │ let v79 : System.Threading.Tasks.ValueTask = v77.ConnectAsync │
00:25:43 verbose #68122 > │ (v78, v2, v75) │
00:25:43 verbose #68123 > │ let v80 : (unit -> System.Threading.Tasks.Task) = v79.AsTask │
00:25:43 verbose #68124 > │ let v81 : System.Threading.Tasks.Task = v80 () │
00:25:43 verbose #68125 > │ let v82 : Async<unit> option = None │
00:25:43 verbose #68126 > │ let v83 : bool = true in let mutable _v82 = v82 │
00:25:43 verbose #68127 > │ │
00:25:43 verbose #68128 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:43 verbose #68129 > │ │
00:25:43 verbose #68130 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:43 verbose #68131 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #68132 > │ v84 │
00:25:43 verbose #68133 > │ #endif │
00:25:43 verbose #68134 > │ │
00:25:43 verbose #68135 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:43 verbose #68136 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:43 verbose #68137 > │ v85 │
00:25:43 verbose #68138 > │ #endif │
00:25:44 verbose #68139 > │ │
00:25:44 verbose #68140 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68141 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68142 > │ v86 │
00:25:44 verbose #68143 > │ #endif │
00:25:44 verbose #68144 > │ │
00:25:44 verbose #68145 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68146 > │ let v87 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68147 > │ v87 │
00:25:44 verbose #68148 > │ #endif │
00:25:44 verbose #68149 > │ │
00:25:44 verbose #68150 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68151 > │ let v88 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68152 > │ v88 │
00:25:44 verbose #68153 > │ #endif │
00:25:44 verbose #68154 > │ │
00:25:44 verbose #68155 > │ #else │
00:25:44 verbose #68156 > │ let v89 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:44 verbose #68157 > │ Async.AwaitTask │
00:25:44 verbose #68158 > │ let v90 : Async<unit> = v89 v81 │
00:25:44 verbose #68159 > │ v90 │
00:25:44 verbose #68160 > │ #endif │
00:25:44 verbose #68161 > │ |> fun x -> _v82 <- Some x │
00:25:44 verbose #68162 > │ let v91 : Async<unit> = _v82.Value │
00:25:44 verbose #68163 > │ do! v91 │
00:25:44 verbose #68164 > │ return true │
00:25:44 verbose #68165 > │ with ex -> │
00:25:44 verbose #68166 > │ let v92 : exn = ex │
00:25:44 verbose #68167 > │ let v93 : string option = None │
00:25:44 verbose #68168 > │ let v94 : bool = true in let mutable _v93 = v93 │
00:25:44 verbose #68169 > │ │
00:25:44 verbose #68170 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68171 > │ │
00:25:44 verbose #68172 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68173 > │ let v95 : string = $"%A{v92}" │
00:25:44 verbose #68174 > │ v95 │
00:25:44 verbose #68175 > │ #endif │
00:25:44 verbose #68176 > │ │
00:25:44 verbose #68177 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68178 > │ let v96 : string = $"%A{v92}" │
00:25:44 verbose #68179 > │ v96 │
00:25:44 verbose #68180 > │ #endif │
00:25:44 verbose #68181 > │ │
00:25:44 verbose #68182 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68183 > │ let v97 : string = $"%A{v92}" │
00:25:44 verbose #68184 > │ v97 │
00:25:44 verbose #68185 > │ #endif │
00:25:44 verbose #68186 > │ │
00:25:44 verbose #68187 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68188 > │ let v98 : string = $"%A{v92}" │
00:25:44 verbose #68189 > │ v98 │
00:25:44 verbose #68190 > │ #endif │
00:25:44 verbose #68191 > │ │
00:25:44 verbose #68192 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68193 > │ let v99 : string = $"%A{v92}" │
00:25:44 verbose #68194 > │ v99 │
00:25:44 verbose #68195 > │ #endif │
00:25:44 verbose #68196 > │ │
00:25:44 verbose #68197 > │ #else │
00:25:44 verbose #68198 > │ let v100 : string = $"{v92.GetType ()}: {v92.Message}" │
00:25:44 verbose #68199 > │ v100 │
00:25:44 verbose #68200 > │ #endif │
00:25:44 verbose #68201 > │ |> fun x -> _v93 <- Some x │
00:25:44 verbose #68202 > │ let v101 : string = _v93.Value │
00:25:44 verbose #68203 > │ let v102 : US0 = US0_0 │
00:25:44 verbose #68204 > │ let v103 : (unit -> string) = closure3(v101) │
00:25:44 verbose #68205 > │ let v104 : (unit -> string) = closure4() │
00:25:44 verbose #68206 > │ method2(v102, v103, v104) │
00:25:44 verbose #68207 > │ return false │
00:25:44 verbose #68208 > │ (* │
00:25:44 verbose #68209 > │ let v105 : bool = *) │
00:25:44 verbose #68210 > │ } │
00:25:44 verbose #68211 > │ |> fun x -> _v73 <- Some x │
00:25:44 verbose #68212 > │ let v106 : Async<bool> = _v73 |> Option.get │
00:25:44 verbose #68213 > │ v106 │
00:25:44 verbose #68214 > │ #endif │
00:25:44 verbose #68215 > │ |> fun x -> _v66 <- Some x │
00:25:44 verbose #68216 > │ let v107 : Async<bool> = _v66.Value │
00:25:44 verbose #68217 > │ let v108 : Async<US3> option = None │
00:25:44 verbose #68218 > │ let v109 : bool = true in let mutable _v108 = v108 │
00:25:44 verbose #68219 > │ │
00:25:44 verbose #68220 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68221 > │ │
00:25:44 verbose #68222 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68223 > │ let v110 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68224 > │ v110 │
00:25:44 verbose #68225 > │ #endif │
00:25:44 verbose #68226 > │ │
00:25:44 verbose #68227 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68228 > │ let v111 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68229 > │ v111 │
00:25:44 verbose #68230 > │ #endif │
00:25:44 verbose #68231 > │ │
00:25:44 verbose #68232 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68233 > │ let v112 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68234 > │ v112 │
00:25:44 verbose #68235 > │ #endif │
00:25:44 verbose #68236 > │ │
00:25:44 verbose #68237 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68238 > │ let v113 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68239 > │ v113 │
00:25:44 verbose #68240 > │ #endif │
00:25:44 verbose #68241 > │ │
00:25:44 verbose #68242 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68243 > │ let v114 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68244 > │ v114 │
00:25:44 verbose #68245 > │ #endif │
00:25:44 verbose #68246 > │ │
00:25:44 verbose #68247 > │ #else │
00:25:44 verbose #68248 > │ let v115 : Async<US3> option = None │
00:25:44 verbose #68249 > │ let v116 : bool = true in let mutable _v115 = v115 │
00:25:44 verbose #68250 > │ │
00:25:44 verbose #68251 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68252 > │ │
00:25:44 verbose #68253 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68254 > │ let v117 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68255 > │ v117 │
00:25:44 verbose #68256 > │ #endif │
00:25:44 verbose #68257 > │ │
00:25:44 verbose #68258 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68259 > │ let v118 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68260 > │ v118 │
00:25:44 verbose #68261 > │ #endif │
00:25:44 verbose #68262 > │ │
00:25:44 verbose #68263 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68264 > │ let v119 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68265 > │ v119 │
00:25:44 verbose #68266 > │ #endif │
00:25:44 verbose #68267 > │ │
00:25:44 verbose #68268 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68269 > │ let v120 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68270 > │ v120 │
00:25:44 verbose #68271 > │ #endif │
00:25:44 verbose #68272 > │ │
00:25:44 verbose #68273 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68274 > │ let v121 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68275 > │ v121 │
00:25:44 verbose #68276 > │ #endif │
00:25:44 verbose #68277 > │ │
00:25:44 verbose #68278 > │ #else │
00:25:44 verbose #68279 > │ let v122 : Async<US3> option = None │
00:25:44 verbose #68280 > │ let mutable _v122 = v122 │
00:25:44 verbose #68281 > │ async { │
00:25:44 verbose #68282 > │ let v123 : Async<Async<bool>> option = None │
00:25:44 verbose #68283 > │ let v124 : bool = true in let mutable _v123 = v123 │
00:25:44 verbose #68284 > │ │
00:25:44 verbose #68285 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68286 > │ │
00:25:44 verbose #68287 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68288 > │ let v125 : Async<Async<bool>> = null |> │
00:25:44 verbose #68289 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #68290 > │ v125 │
00:25:44 verbose #68291 > │ #endif │
00:25:44 verbose #68292 > │ │
00:25:44 verbose #68293 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68294 > │ let v126 : Async<Async<bool>> = null |> │
00:25:44 verbose #68295 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #68296 > │ v126 │
00:25:44 verbose #68297 > │ #endif │
00:25:44 verbose #68298 > │ │
00:25:44 verbose #68299 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68300 > │ let v127 : Async<Async<bool>> = null |> │
00:25:44 verbose #68301 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #68302 > │ v127 │
00:25:44 verbose #68303 > │ #endif │
00:25:44 verbose #68304 > │ │
00:25:44 verbose #68305 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68306 > │ let v128 : Async<Async<bool>> = null |> │
00:25:44 verbose #68307 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #68308 > │ v128 │
00:25:44 verbose #68309 > │ #endif │
00:25:44 verbose #68310 > │ │
00:25:44 verbose #68311 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68312 > │ let v129 : Async<Async<bool>> = null |> │
00:25:44 verbose #68313 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #68314 > │ v129 │
00:25:44 verbose #68315 > │ #endif │
00:25:44 verbose #68316 > │ │
00:25:44 verbose #68317 > │ #else │
00:25:44 verbose #68318 > │ let v130 : Async<Async<bool>> = Async.StartChild (v107, v57) │
00:25:44 verbose #68319 > │ v130 │
00:25:44 verbose #68320 > │ #endif │
00:25:44 verbose #68321 > │ |> fun x -> _v123 <- Some x │
00:25:44 verbose #68322 > │ let v131 : Async<Async<bool>> = _v123.Value │
00:25:44 verbose #68323 > │ let! v131 = v131 │
00:25:44 verbose #68324 > │ let v132 : Async<bool> = v131 │
00:25:44 verbose #68325 > │ let v133 : Async<Choice<bool, exn>> option = None │
00:25:44 verbose #68326 > │ let v134 : bool = true in let mutable _v133 = v133 │
00:25:44 verbose #68327 > │ │
00:25:44 verbose #68328 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68329 > │ │
00:25:44 verbose #68330 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68331 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #68332 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #68333 > │ v135 │
00:25:44 verbose #68334 > │ #endif │
00:25:44 verbose #68335 > │ │
00:25:44 verbose #68336 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68337 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #68338 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #68339 > │ v136 │
00:25:44 verbose #68340 > │ #endif │
00:25:44 verbose #68341 > │ │
00:25:44 verbose #68342 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68343 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #68344 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #68345 > │ v137 │
00:25:44 verbose #68346 > │ #endif │
00:25:44 verbose #68347 > │ │
00:25:44 verbose #68348 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68349 > │ let v138 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #68350 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #68351 > │ v138 │
00:25:44 verbose #68352 > │ #endif │
00:25:44 verbose #68353 > │ │
00:25:44 verbose #68354 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68355 > │ let v139 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #68356 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #68357 > │ v139 │
00:25:44 verbose #68358 > │ #endif │
00:25:44 verbose #68359 > │ │
00:25:44 verbose #68360 > │ #else │
00:25:44 verbose #68361 > │ let v140 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:44 verbose #68362 > │ Async.Catch │
00:25:44 verbose #68363 > │ let v141 : Async<Choice<bool, exn>> = v140 v132 │
00:25:44 verbose #68364 > │ v141 │
00:25:44 verbose #68365 > │ #endif │
00:25:44 verbose #68366 > │ |> fun x -> _v133 <- Some x │
00:25:44 verbose #68367 > │ let v142 : Async<Choice<bool, exn>> = _v133.Value │
00:25:44 verbose #68368 > │ let v143 : Async<US4> option = None │
00:25:44 verbose #68369 > │ let v144 : bool = true in let mutable _v143 = v143 │
00:25:44 verbose #68370 > │ │
00:25:44 verbose #68371 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68372 > │ │
00:25:44 verbose #68373 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68374 > │ let v145 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #68375 > │ v145 │
00:25:44 verbose #68376 > │ #endif │
00:25:44 verbose #68377 > │ │
00:25:44 verbose #68378 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68379 > │ let v146 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #68380 > │ v146 │
00:25:44 verbose #68381 > │ #endif │
00:25:44 verbose #68382 > │ │
00:25:44 verbose #68383 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68384 > │ let v147 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #68385 > │ v147 │
00:25:44 verbose #68386 > │ #endif │
00:25:44 verbose #68387 > │ │
00:25:44 verbose #68388 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68389 > │ let v148 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #68390 > │ v148 │
00:25:44 verbose #68391 > │ #endif │
00:25:44 verbose #68392 > │ │
00:25:44 verbose #68393 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68394 > │ let v149 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #68395 > │ v149 │
00:25:44 verbose #68396 > │ #endif │
00:25:44 verbose #68397 > │ │
00:25:44 verbose #68398 > │ #else │
00:25:44 verbose #68399 > │ let v150 : Async<US4> option = None │
00:25:44 verbose #68400 > │ let mutable _v150 = v150 │
00:25:44 verbose #68401 > │ async { │
00:25:44 verbose #68402 > │ let! v142 = v142 │
00:25:44 verbose #68403 > │ let v151 : Choice<bool, exn> = v142 │
00:25:44 verbose #68404 > │ let v152 : US4 option = None │
00:25:44 verbose #68405 > │ let v153 : bool = true in let mutable _v152 = v152 │
00:25:44 verbose #68406 > │ │
00:25:44 verbose #68407 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68408 > │ │
00:25:44 verbose #68409 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68410 > │ let v154 : US4 = null |> unbox<US4> │
00:25:44 verbose #68411 > │ v154 │
00:25:44 verbose #68412 > │ #endif │
00:25:44 verbose #68413 > │ │
00:25:44 verbose #68414 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68415 > │ let v155 : US4 = null |> unbox<US4> │
00:25:44 verbose #68416 > │ v155 │
00:25:44 verbose #68417 > │ #endif │
00:25:44 verbose #68418 > │ │
00:25:44 verbose #68419 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68420 > │ let v156 : US4 = null |> unbox<US4> │
00:25:44 verbose #68421 > │ v156 │
00:25:44 verbose #68422 > │ #endif │
00:25:44 verbose #68423 > │ │
00:25:44 verbose #68424 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68425 > │ let v157 : US4 = null |> unbox<US4> │
00:25:44 verbose #68426 > │ v157 │
00:25:44 verbose #68427 > │ #endif │
00:25:44 verbose #68428 > │ │
00:25:44 verbose #68429 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68430 > │ let v158 : US4 = null |> unbox<US4> │
00:25:44 verbose #68431 > │ v158 │
00:25:44 verbose #68432 > │ #endif │
00:25:44 verbose #68433 > │ │
00:25:44 verbose #68434 > │ #else │
00:25:44 verbose #68435 > │ let v159 : (bool -> US4) = closure9() │
00:25:44 verbose #68436 > │ let v160 : (exn -> US4) = closure10() │
00:25:44 verbose #68437 > │ let v161 : US4 = match v151 with Choice1Of2 x -> v159 x | │
00:25:44 verbose #68438 > │ Choice2Of2 x -> v160 x │
00:25:44 verbose #68439 > │ v161 │
00:25:44 verbose #68440 > │ #endif │
00:25:44 verbose #68441 > │ |> fun x -> _v152 <- Some x │
00:25:44 verbose #68442 > │ let v162 : US4 = _v152.Value │
00:25:44 verbose #68443 > │ return v162 │
00:25:44 verbose #68444 > │ } │
00:25:44 verbose #68445 > │ |> fun x -> _v150 <- Some x │
00:25:44 verbose #68446 > │ let v163 : Async<US4> = _v150 |> Option.get │
00:25:44 verbose #68447 > │ v163 │
00:25:44 verbose #68448 > │ #endif │
00:25:44 verbose #68449 > │ |> fun x -> _v143 <- Some x │
00:25:44 verbose #68450 > │ let v164 : Async<US4> = _v143.Value │
00:25:44 verbose #68451 > │ let v165 : Async<US5> option = None │
00:25:44 verbose #68452 > │ let v166 : bool = true in let mutable _v165 = v165 │
00:25:44 verbose #68453 > │ │
00:25:44 verbose #68454 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68455 > │ │
00:25:44 verbose #68456 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68457 > │ let v167 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #68458 > │ v167 │
00:25:44 verbose #68459 > │ #endif │
00:25:44 verbose #68460 > │ │
00:25:44 verbose #68461 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68462 > │ let v168 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #68463 > │ v168 │
00:25:44 verbose #68464 > │ #endif │
00:25:44 verbose #68465 > │ │
00:25:44 verbose #68466 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68467 > │ let v169 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #68468 > │ v169 │
00:25:44 verbose #68469 > │ #endif │
00:25:44 verbose #68470 > │ │
00:25:44 verbose #68471 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68472 > │ let v170 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #68473 > │ v170 │
00:25:44 verbose #68474 > │ #endif │
00:25:44 verbose #68475 > │ │
00:25:44 verbose #68476 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68477 > │ let v171 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #68478 > │ v171 │
00:25:44 verbose #68479 > │ #endif │
00:25:44 verbose #68480 > │ │
00:25:44 verbose #68481 > │ #else │
00:25:44 verbose #68482 > │ let v172 : Async<US5> option = None │
00:25:44 verbose #68483 > │ let mutable _v172 = v172 │
00:25:44 verbose #68484 > │ async { │
00:25:44 verbose #68485 > │ let! v164 = v164 │
00:25:44 verbose #68486 > │ let v173 : US4 = v164 │
00:25:44 verbose #68487 > │ let v179 : US5 = │
00:25:44 verbose #68488 > │ match v173 with │
00:25:44 verbose #68489 > │ | US4_0(v174) -> (* Choice1Of2 *) │
00:25:44 verbose #68490 > │ US5_0(v174) │
00:25:44 verbose #68491 > │ | US4_1(v176) -> (* Choice2Of2 *) │
00:25:44 verbose #68492 > │ US5_1(v176) │
00:25:44 verbose #68493 > │ return v179 │
00:25:44 verbose #68494 > │ } │
00:25:44 verbose #68495 > │ |> fun x -> _v172 <- Some x │
00:25:44 verbose #68496 > │ let v180 : Async<US5> = _v172 |> Option.get │
00:25:44 verbose #68497 > │ v180 │
00:25:44 verbose #68498 > │ #endif │
00:25:44 verbose #68499 > │ |> fun x -> _v165 <- Some x │
00:25:44 verbose #68500 > │ let v181 : Async<US5> = _v165.Value │
00:25:44 verbose #68501 > │ let v182 : Async<US3> option = None │
00:25:44 verbose #68502 > │ let v183 : bool = true in let mutable _v182 = v182 │
00:25:44 verbose #68503 > │ │
00:25:44 verbose #68504 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68505 > │ │
00:25:44 verbose #68506 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68507 > │ let v184 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68508 > │ v184 │
00:25:44 verbose #68509 > │ #endif │
00:25:44 verbose #68510 > │ │
00:25:44 verbose #68511 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68512 > │ let v185 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68513 > │ v185 │
00:25:44 verbose #68514 > │ #endif │
00:25:44 verbose #68515 > │ │
00:25:44 verbose #68516 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68517 > │ let v186 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68518 > │ v186 │
00:25:44 verbose #68519 > │ #endif │
00:25:44 verbose #68520 > │ │
00:25:44 verbose #68521 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68522 > │ let v187 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68523 > │ v187 │
00:25:44 verbose #68524 > │ #endif │
00:25:44 verbose #68525 > │ │
00:25:44 verbose #68526 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68527 > │ let v188 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #68528 > │ v188 │
00:25:44 verbose #68529 > │ #endif │
00:25:44 verbose #68530 > │ │
00:25:44 verbose #68531 > │ #else │
00:25:44 verbose #68532 > │ let v189 : Async<US3> option = None │
00:25:44 verbose #68533 > │ let mutable _v189 = v189 │
00:25:44 verbose #68534 > │ async { │
00:25:44 verbose #68535 > │ let! v181 = v181 │
00:25:44 verbose #68536 > │ let v190 : US5 = v181 │
00:25:44 verbose #68537 > │ let v216 : US3 = │
00:25:44 verbose #68538 > │ match v190 with │
00:25:44 verbose #68539 > │ | US5_1(v193) -> (* Error *) │
00:25:44 verbose #68540 > │ let v194 : string = $"%A{v193}" │
00:25:44 verbose #68541 > │ let v195 : string = "System.TimeoutException" │
00:25:44 verbose #68542 > │ let v196 : bool = v194.Contains v195 │
00:25:44 verbose #68543 > │ if v196 then │
00:25:44 verbose #68544 > │ let v197 : US0 = US0_1 │
00:25:44 verbose #68545 > │ let v198 : (unit -> string) = closure11() │
00:25:44 verbose #68546 > │ let v199 : (unit -> string) = closure12(v57) │
00:25:44 verbose #68547 > │ method2(v197, v198, v199) │
00:25:44 verbose #68548 > │ US3_1 │
00:25:44 verbose #68549 > │ else │
00:25:44 verbose #68550 > │ let v201 : string option = None │
00:25:44 verbose #68551 > │ let v202 : bool = true in let mutable _v201 = v201 │
00:25:44 verbose #68552 > │ │
00:25:44 verbose #68553 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68554 > │ │
00:25:44 verbose #68555 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68556 > │ let v203 : string = $"%A{v193}" │
00:25:44 verbose #68557 > │ v203 │
00:25:44 verbose #68558 > │ #endif │
00:25:44 verbose #68559 > │ │
00:25:44 verbose #68560 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68561 > │ let v204 : string = $"%A{v193}" │
00:25:44 verbose #68562 > │ v204 │
00:25:44 verbose #68563 > │ #endif │
00:25:44 verbose #68564 > │ │
00:25:44 verbose #68565 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68566 > │ let v205 : string = $"%A{v193}" │
00:25:44 verbose #68567 > │ v205 │
00:25:44 verbose #68568 > │ #endif │
00:25:44 verbose #68569 > │ │
00:25:44 verbose #68570 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68571 > │ let v206 : string = $"%A{v193}" │
00:25:44 verbose #68572 > │ v206 │
00:25:44 verbose #68573 > │ #endif │
00:25:44 verbose #68574 > │ │
00:25:44 verbose #68575 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68576 > │ let v207 : string = $"%A{v193}" │
00:25:44 verbose #68577 > │ v207 │
00:25:44 verbose #68578 > │ #endif │
00:25:44 verbose #68579 > │ │
00:25:44 verbose #68580 > │ #else │
00:25:44 verbose #68581 > │ let v208 : string = $"{v193.GetType ()}: │
00:25:44 verbose #68582 > │ {v193.Message}" │
00:25:44 verbose #68583 > │ v208 │
00:25:44 verbose #68584 > │ #endif │
00:25:44 verbose #68585 > │ |> fun x -> _v201 <- Some x │
00:25:44 verbose #68586 > │ let v209 : string = _v201.Value │
00:25:44 verbose #68587 > │ let v210 : US0 = US0_4 │
00:25:44 verbose #68588 > │ let v211 : (unit -> string) = closure13(v209) │
00:25:44 verbose #68589 > │ let v212 : (unit -> string) = closure12(v57) │
00:25:44 verbose #68590 > │ method2(v210, v211, v212) │
00:25:44 verbose #68591 > │ US3_1 │
00:25:44 verbose #68592 > │ | US5_0(v191) -> (* Ok *) │
00:25:44 verbose #68593 > │ US3_0(v191) │
00:25:44 verbose #68594 > │ return v216 │
00:25:44 verbose #68595 > │ } │
00:25:44 verbose #68596 > │ |> fun x -> _v189 <- Some x │
00:25:44 verbose #68597 > │ let v217 : Async<US3> = _v189 |> Option.get │
00:25:44 verbose #68598 > │ v217 │
00:25:44 verbose #68599 > │ #endif │
00:25:44 verbose #68600 > │ |> fun x -> _v182 <- Some x │
00:25:44 verbose #68601 > │ let v218 : Async<US3> = _v182.Value │
00:25:44 verbose #68602 > │ return! v218 │
00:25:44 verbose #68603 > │ } │
00:25:44 verbose #68604 > │ |> fun x -> _v122 <- Some x │
00:25:44 verbose #68605 > │ let v219 : Async<US3> = _v122 |> Option.get │
00:25:44 verbose #68606 > │ v219 │
00:25:44 verbose #68607 > │ #endif │
00:25:44 verbose #68608 > │ |> fun x -> _v115 <- Some x │
00:25:44 verbose #68609 > │ let v220 : Async<US3> = _v115.Value │
00:25:44 verbose #68610 > │ v220 │
00:25:44 verbose #68611 > │ #endif │
00:25:44 verbose #68612 > │ |> fun x -> _v108 <- Some x │
00:25:44 verbose #68613 > │ let v221 : Async<US3> = _v108.Value │
00:25:44 verbose #68614 > │ let! v221 = v221 │
00:25:44 verbose #68615 > │ let v222 : US3 = v221 │
00:25:44 verbose #68616 > │ let v225 : bool = │
00:25:44 verbose #68617 > │ match v222 with │
00:25:44 verbose #68618 > │ | US3_1 -> (* None *) │
00:25:44 verbose #68619 > │ false │
00:25:44 verbose #68620 > │ | US3_0(v223) -> (* Some *) │
00:25:44 verbose #68621 > │ v223 │
00:25:44 verbose #68622 > │ return v225 │
00:25:44 verbose #68623 > │ } │
00:25:44 verbose #68624 > │ |> fun x -> _v65 <- Some x │
00:25:44 verbose #68625 > │ let v226 : Async<bool> = _v65 |> Option.get │
00:25:44 verbose #68626 > │ v226 │
00:25:44 verbose #68627 > │ #endif │
00:25:44 verbose #68628 > │ |> fun x -> _v58 <- Some x │
00:25:44 verbose #68629 > │ let v227 : Async<bool> = _v58.Value │
00:25:44 verbose #68630 > │ v227 │
00:25:44 verbose #68631 > │ let! v229 = v229 │
00:25:44 verbose #68632 > │ let v230 : bool = v229 │
00:25:44 verbose #68633 > │ let v231 : bool = v230 = v1 │
00:25:44 verbose #68634 > │ if v231 then │
00:25:44 verbose #68635 > │ return v3 │
00:25:44 verbose #68636 > │ (* │
00:25:44 verbose #68637 > │ () │
00:25:44 verbose #68638 > │ else │
00:25:44 verbose #68639 > │ *) else │
00:25:44 verbose #68640 > │ let v232 : int64 = v3 % 100L │
00:25:44 verbose #68641 > │ let v233 : bool = v232 = 0L │
00:25:44 verbose #68642 > │ if v233 then │
00:25:44 verbose #68643 > │ let v234 : US0 = US0_0 │
00:25:44 verbose #68644 > │ let v235 : (unit -> string) = closure18() │
00:25:44 verbose #68645 > │ let v236 : (unit -> string) = closure19(v0, v1, v2, v3) │
00:25:44 verbose #68646 > │ method2(v234, v235, v236) │
00:25:44 verbose #68647 > │ let v237 : Async<unit> option = None │
00:25:44 verbose #68648 > │ let v238 : bool = true in let mutable _v237 = v237 │
00:25:44 verbose #68649 > │ │
00:25:44 verbose #68650 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68651 > │ │
00:25:44 verbose #68652 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68653 > │ let v239 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68654 > │ v239 │
00:25:44 verbose #68655 > │ #endif │
00:25:44 verbose #68656 > │ │
00:25:44 verbose #68657 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68658 > │ let v240 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68659 > │ v240 │
00:25:44 verbose #68660 > │ #endif │
00:25:44 verbose #68661 > │ │
00:25:44 verbose #68662 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68663 > │ let v241 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68664 > │ v241 │
00:25:44 verbose #68665 > │ #endif │
00:25:44 verbose #68666 > │ │
00:25:44 verbose #68667 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68668 > │ let v242 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68669 > │ v242 │
00:25:44 verbose #68670 > │ #endif │
00:25:44 verbose #68671 > │ │
00:25:44 verbose #68672 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68673 > │ let v243 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68674 > │ v243 │
00:25:44 verbose #68675 > │ #endif │
00:25:44 verbose #68676 > │ │
00:25:44 verbose #68677 > │ #else │
00:25:44 verbose #68678 > │ let v244 : (int32 -> Async<unit>) = Async.Sleep │
00:25:44 verbose #68679 > │ let v245 : Async<unit> = v244 10 │
00:25:44 verbose #68680 > │ v245 │
00:25:44 verbose #68681 > │ #endif │
00:25:44 verbose #68682 > │ |> fun x -> _v237 <- Some x │
00:25:44 verbose #68683 > │ let v246 : Async<unit> = _v237.Value │
00:25:44 verbose #68684 > │ do! v246 │
00:25:44 verbose #68685 > │ let v247 : int64 = v3 + 1L │
00:25:44 verbose #68686 > │ let v248 : Async<int64> = method6(v0, v1, v2, v247) │
00:25:44 verbose #68687 > │ return! v248 │
00:25:44 verbose #68688 > │ (* │
00:25:44 verbose #68689 > │ () │
00:25:44 verbose #68690 > │ *) │
00:25:44 verbose #68691 > │ } │
00:25:44 verbose #68692 > │ |> fun x -> _v11 <- Some x │
00:25:44 verbose #68693 > │ let v249 : Async<int64> = _v11 |> Option.get │
00:25:44 verbose #68694 > │ v249 │
00:25:44 verbose #68695 > │ #endif │
00:25:44 verbose #68696 > │ |> fun x -> _v4 <- Some x │
00:25:44 verbose #68697 > │ let v250 : Async<int64> = _v4.Value │
00:25:44 verbose #68698 > │ v250 │
00:25:44 verbose #68699 > │ and closure16 (v0 : int32 option, v1 : bool) (v2 : int32) : Async<int64> = │
00:25:44 verbose #68700 > │ let v3 : int64 = 0L │
00:25:44 verbose #68701 > │ method6(v0, v1, v2, v3) │
00:25:44 verbose #68702 > │ and closure15 (v0 : int32 option) (v1 : bool) : (int32 -> Async<int64>) = │
00:25:44 verbose #68703 > │ closure16(v0, v1) │
00:25:44 verbose #68704 > │ and closure14 () (v0 : int32 option) : (bool -> (int32 -> Async<int64>)) = │
00:25:44 verbose #68705 > │ closure15(v0) │
00:25:44 verbose #68706 > │ and method8 (v0 : int32 option, v1 : int32) : Async<int32> = │
00:25:44 verbose #68707 > │ let v2 : Async<int32> option = None │
00:25:44 verbose #68708 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:25:44 verbose #68709 > │ │
00:25:44 verbose #68710 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68711 > │ │
00:25:44 verbose #68712 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68713 > │ let v4 : Async<int32> = null |> unbox<Async<int32>> │
00:25:44 verbose #68714 > │ v4 │
00:25:44 verbose #68715 > │ #endif │
00:25:44 verbose #68716 > │ │
00:25:44 verbose #68717 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68718 > │ let v5 : Async<int32> = null |> unbox<Async<int32>> │
00:25:44 verbose #68719 > │ v5 │
00:25:44 verbose #68720 > │ #endif │
00:25:44 verbose #68721 > │ │
00:25:44 verbose #68722 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68723 > │ let v6 : Async<int32> = null |> unbox<Async<int32>> │
00:25:44 verbose #68724 > │ v6 │
00:25:44 verbose #68725 > │ #endif │
00:25:44 verbose #68726 > │ │
00:25:44 verbose #68727 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68728 > │ let v7 : Async<int32> = null |> unbox<Async<int32>> │
00:25:44 verbose #68729 > │ v7 │
00:25:44 verbose #68730 > │ #endif │
00:25:44 verbose #68731 > │ │
00:25:44 verbose #68732 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68733 > │ let v8 : Async<int32> = null |> unbox<Async<int32>> │
00:25:44 verbose #68734 > │ v8 │
00:25:44 verbose #68735 > │ #endif │
00:25:44 verbose #68736 > │ │
00:25:44 verbose #68737 > │ #else │
00:25:44 verbose #68738 > │ let v9 : Async<int32> option = None │
00:25:44 verbose #68739 > │ let mutable _v9 = v9 │
00:25:44 verbose #68740 > │ async { │
00:25:44 verbose #68741 > │ let v10 : (int32 -> US6) = method7() │
00:25:44 verbose #68742 > │ let v11 : US6 = US6_1 │
00:25:44 verbose #68743 > │ let v12 : US6 = v0 |> Option.map v10 |> Option.defaultValue v11 │
00:25:44 verbose #68744 > │ let v227 : Async<bool> = │
00:25:44 verbose #68745 > │ match v12 with │
00:25:44 verbose #68746 > │ | US6_1 -> (* None *) │
00:25:44 verbose #68747 > │ let v13 : Async<bool> option = None │
00:25:44 verbose #68748 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:25:44 verbose #68749 > │ │
00:25:44 verbose #68750 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68751 > │ │
00:25:44 verbose #68752 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68753 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68754 > │ v15 │
00:25:44 verbose #68755 > │ #endif │
00:25:44 verbose #68756 > │ │
00:25:44 verbose #68757 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68758 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68759 > │ v16 │
00:25:44 verbose #68760 > │ #endif │
00:25:44 verbose #68761 > │ │
00:25:44 verbose #68762 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68763 > │ let v17 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68764 > │ v17 │
00:25:44 verbose #68765 > │ #endif │
00:25:44 verbose #68766 > │ │
00:25:44 verbose #68767 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68768 > │ let v18 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68769 > │ v18 │
00:25:44 verbose #68770 > │ #endif │
00:25:44 verbose #68771 > │ │
00:25:44 verbose #68772 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68773 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68774 > │ v19 │
00:25:44 verbose #68775 > │ #endif │
00:25:44 verbose #68776 > │ │
00:25:44 verbose #68777 > │ #else │
00:25:44 verbose #68778 > │ let v20 : Async<bool> option = None │
00:25:44 verbose #68779 > │ let mutable _v20 = v20 │
00:25:44 verbose #68780 > │ async { │
00:25:44 verbose #68781 > │ let v21 : Async<System.Threading.CancellationToken> = │
00:25:44 verbose #68782 > │ Async.CancellationToken │
00:25:44 verbose #68783 > │ let! v21 = v21 │
00:25:44 verbose #68784 > │ let v22 : System.Threading.CancellationToken = v21 │
00:25:44 verbose #68785 > │ let v23 : System.Net.Sockets.TcpClient = new │
00:25:44 verbose #68786 > │ System.Net.Sockets.TcpClient () │
00:25:44 verbose #68787 > │ use v23 = v23 │
00:25:44 verbose #68788 > │ let v24 : System.Net.Sockets.TcpClient = v23 │
00:25:44 verbose #68789 > │ try │
00:25:44 verbose #68790 > │ let v25 : string = "127.0.0.1" │
00:25:44 verbose #68791 > │ let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync │
00:25:44 verbose #68792 > │ (v25, v1, v22) │
00:25:44 verbose #68793 > │ let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask │
00:25:44 verbose #68794 > │ let v28 : System.Threading.Tasks.Task = v27 () │
00:25:44 verbose #68795 > │ let v29 : Async<unit> option = None │
00:25:44 verbose #68796 > │ let v30 : bool = true in let mutable _v29 = v29 │
00:25:44 verbose #68797 > │ │
00:25:44 verbose #68798 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68799 > │ │
00:25:44 verbose #68800 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68801 > │ let v31 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68802 > │ v31 │
00:25:44 verbose #68803 > │ #endif │
00:25:44 verbose #68804 > │ │
00:25:44 verbose #68805 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68806 > │ let v32 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68807 > │ v32 │
00:25:44 verbose #68808 > │ #endif │
00:25:44 verbose #68809 > │ │
00:25:44 verbose #68810 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68811 > │ let v33 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68812 > │ v33 │
00:25:44 verbose #68813 > │ #endif │
00:25:44 verbose #68814 > │ │
00:25:44 verbose #68815 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68816 > │ let v34 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68817 > │ v34 │
00:25:44 verbose #68818 > │ #endif │
00:25:44 verbose #68819 > │ │
00:25:44 verbose #68820 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68821 > │ let v35 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68822 > │ v35 │
00:25:44 verbose #68823 > │ #endif │
00:25:44 verbose #68824 > │ │
00:25:44 verbose #68825 > │ #else │
00:25:44 verbose #68826 > │ let v36 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:44 verbose #68827 > │ Async.AwaitTask │
00:25:44 verbose #68828 > │ let v37 : Async<unit> = v36 v28 │
00:25:44 verbose #68829 > │ v37 │
00:25:44 verbose #68830 > │ #endif │
00:25:44 verbose #68831 > │ |> fun x -> _v29 <- Some x │
00:25:44 verbose #68832 > │ let v38 : Async<unit> = _v29.Value │
00:25:44 verbose #68833 > │ do! v38 │
00:25:44 verbose #68834 > │ return true │
00:25:44 verbose #68835 > │ with ex -> │
00:25:44 verbose #68836 > │ let v39 : exn = ex │
00:25:44 verbose #68837 > │ let v40 : string option = None │
00:25:44 verbose #68838 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:25:44 verbose #68839 > │ │
00:25:44 verbose #68840 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68841 > │ │
00:25:44 verbose #68842 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68843 > │ let v42 : string = $"%A{v39}" │
00:25:44 verbose #68844 > │ v42 │
00:25:44 verbose #68845 > │ #endif │
00:25:44 verbose #68846 > │ │
00:25:44 verbose #68847 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68848 > │ let v43 : string = $"%A{v39}" │
00:25:44 verbose #68849 > │ v43 │
00:25:44 verbose #68850 > │ #endif │
00:25:44 verbose #68851 > │ │
00:25:44 verbose #68852 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68853 > │ let v44 : string = $"%A{v39}" │
00:25:44 verbose #68854 > │ v44 │
00:25:44 verbose #68855 > │ #endif │
00:25:44 verbose #68856 > │ │
00:25:44 verbose #68857 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68858 > │ let v45 : string = $"%A{v39}" │
00:25:44 verbose #68859 > │ v45 │
00:25:44 verbose #68860 > │ #endif │
00:25:44 verbose #68861 > │ │
00:25:44 verbose #68862 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68863 > │ let v46 : string = $"%A{v39}" │
00:25:44 verbose #68864 > │ v46 │
00:25:44 verbose #68865 > │ #endif │
00:25:44 verbose #68866 > │ │
00:25:44 verbose #68867 > │ #else │
00:25:44 verbose #68868 > │ let v47 : string = $"{v39.GetType ()}: {v39.Message}" │
00:25:44 verbose #68869 > │ v47 │
00:25:44 verbose #68870 > │ #endif │
00:25:44 verbose #68871 > │ |> fun x -> _v40 <- Some x │
00:25:44 verbose #68872 > │ let v48 : string = _v40.Value │
00:25:44 verbose #68873 > │ let v49 : US0 = US0_0 │
00:25:44 verbose #68874 > │ let v50 : (unit -> string) = closure3(v48) │
00:25:44 verbose #68875 > │ let v51 : (unit -> string) = closure4() │
00:25:44 verbose #68876 > │ method2(v49, v50, v51) │
00:25:44 verbose #68877 > │ return false │
00:25:44 verbose #68878 > │ (* │
00:25:44 verbose #68879 > │ let v52 : bool = *) │
00:25:44 verbose #68880 > │ } │
00:25:44 verbose #68881 > │ |> fun x -> _v20 <- Some x │
00:25:44 verbose #68882 > │ let v53 : Async<bool> = _v20 |> Option.get │
00:25:44 verbose #68883 > │ v53 │
00:25:44 verbose #68884 > │ #endif │
00:25:44 verbose #68885 > │ |> fun x -> _v13 <- Some x │
00:25:44 verbose #68886 > │ let v54 : Async<bool> = _v13.Value │
00:25:44 verbose #68887 > │ v54 │
00:25:44 verbose #68888 > │ | US6_0(v55) -> (* Some *) │
00:25:44 verbose #68889 > │ let v56 : Async<bool> option = None │
00:25:44 verbose #68890 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:25:44 verbose #68891 > │ │
00:25:44 verbose #68892 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68893 > │ │
00:25:44 verbose #68894 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68895 > │ let v58 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68896 > │ v58 │
00:25:44 verbose #68897 > │ #endif │
00:25:44 verbose #68898 > │ │
00:25:44 verbose #68899 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68900 > │ let v59 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68901 > │ v59 │
00:25:44 verbose #68902 > │ #endif │
00:25:44 verbose #68903 > │ │
00:25:44 verbose #68904 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68905 > │ let v60 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68906 > │ v60 │
00:25:44 verbose #68907 > │ #endif │
00:25:44 verbose #68908 > │ │
00:25:44 verbose #68909 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68910 > │ let v61 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68911 > │ v61 │
00:25:44 verbose #68912 > │ #endif │
00:25:44 verbose #68913 > │ │
00:25:44 verbose #68914 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68915 > │ let v62 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68916 > │ v62 │
00:25:44 verbose #68917 > │ #endif │
00:25:44 verbose #68918 > │ │
00:25:44 verbose #68919 > │ #else │
00:25:44 verbose #68920 > │ let v63 : Async<bool> option = None │
00:25:44 verbose #68921 > │ let mutable _v63 = v63 │
00:25:44 verbose #68922 > │ async { │
00:25:44 verbose #68923 > │ let v64 : Async<bool> option = None │
00:25:44 verbose #68924 > │ let v65 : bool = true in let mutable _v64 = v64 │
00:25:44 verbose #68925 > │ │
00:25:44 verbose #68926 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68927 > │ │
00:25:44 verbose #68928 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68929 > │ let v66 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68930 > │ v66 │
00:25:44 verbose #68931 > │ #endif │
00:25:44 verbose #68932 > │ │
00:25:44 verbose #68933 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68934 > │ let v67 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68935 > │ v67 │
00:25:44 verbose #68936 > │ #endif │
00:25:44 verbose #68937 > │ │
00:25:44 verbose #68938 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68939 > │ let v68 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68940 > │ v68 │
00:25:44 verbose #68941 > │ #endif │
00:25:44 verbose #68942 > │ │
00:25:44 verbose #68943 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68944 > │ let v69 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68945 > │ v69 │
00:25:44 verbose #68946 > │ #endif │
00:25:44 verbose #68947 > │ │
00:25:44 verbose #68948 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68949 > │ let v70 : Async<bool> = null |> unbox<Async<bool>> │
00:25:44 verbose #68950 > │ v70 │
00:25:44 verbose #68951 > │ #endif │
00:25:44 verbose #68952 > │ │
00:25:44 verbose #68953 > │ #else │
00:25:44 verbose #68954 > │ let v71 : Async<bool> option = None │
00:25:44 verbose #68955 > │ let mutable _v71 = v71 │
00:25:44 verbose #68956 > │ async { │
00:25:44 verbose #68957 > │ let v72 : Async<System.Threading.CancellationToken> = │
00:25:44 verbose #68958 > │ Async.CancellationToken │
00:25:44 verbose #68959 > │ let! v72 = v72 │
00:25:44 verbose #68960 > │ let v73 : System.Threading.CancellationToken = v72 │
00:25:44 verbose #68961 > │ let v74 : System.Net.Sockets.TcpClient = new │
00:25:44 verbose #68962 > │ System.Net.Sockets.TcpClient () │
00:25:44 verbose #68963 > │ use v74 = v74 │
00:25:44 verbose #68964 > │ let v75 : System.Net.Sockets.TcpClient = v74 │
00:25:44 verbose #68965 > │ try │
00:25:44 verbose #68966 > │ let v76 : string = "127.0.0.1" │
00:25:44 verbose #68967 > │ let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync │
00:25:44 verbose #68968 > │ (v76, v1, v73) │
00:25:44 verbose #68969 > │ let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask │
00:25:44 verbose #68970 > │ let v79 : System.Threading.Tasks.Task = v78 () │
00:25:44 verbose #68971 > │ let v80 : Async<unit> option = None │
00:25:44 verbose #68972 > │ let v81 : bool = true in let mutable _v80 = v80 │
00:25:44 verbose #68973 > │ │
00:25:44 verbose #68974 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #68975 > │ │
00:25:44 verbose #68976 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #68977 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68978 > │ v82 │
00:25:44 verbose #68979 > │ #endif │
00:25:44 verbose #68980 > │ │
00:25:44 verbose #68981 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #68982 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68983 > │ v83 │
00:25:44 verbose #68984 > │ #endif │
00:25:44 verbose #68985 > │ │
00:25:44 verbose #68986 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #68987 > │ let v84 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68988 > │ v84 │
00:25:44 verbose #68989 > │ #endif │
00:25:44 verbose #68990 > │ │
00:25:44 verbose #68991 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #68992 > │ let v85 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68993 > │ v85 │
00:25:44 verbose #68994 > │ #endif │
00:25:44 verbose #68995 > │ │
00:25:44 verbose #68996 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #68997 > │ let v86 : Async<unit> = null |> unbox<Async<unit>> │
00:25:44 verbose #68998 > │ v86 │
00:25:44 verbose #68999 > │ #endif │
00:25:44 verbose #69000 > │ │
00:25:44 verbose #69001 > │ #else │
00:25:44 verbose #69002 > │ let v87 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:25:44 verbose #69003 > │ Async.AwaitTask │
00:25:44 verbose #69004 > │ let v88 : Async<unit> = v87 v79 │
00:25:44 verbose #69005 > │ v88 │
00:25:44 verbose #69006 > │ #endif │
00:25:44 verbose #69007 > │ |> fun x -> _v80 <- Some x │
00:25:44 verbose #69008 > │ let v89 : Async<unit> = _v80.Value │
00:25:44 verbose #69009 > │ do! v89 │
00:25:44 verbose #69010 > │ return true │
00:25:44 verbose #69011 > │ with ex -> │
00:25:44 verbose #69012 > │ let v90 : exn = ex │
00:25:44 verbose #69013 > │ let v91 : string option = None │
00:25:44 verbose #69014 > │ let v92 : bool = true in let mutable _v91 = v91 │
00:25:44 verbose #69015 > │ │
00:25:44 verbose #69016 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69017 > │ │
00:25:44 verbose #69018 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69019 > │ let v93 : string = $"%A{v90}" │
00:25:44 verbose #69020 > │ v93 │
00:25:44 verbose #69021 > │ #endif │
00:25:44 verbose #69022 > │ │
00:25:44 verbose #69023 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69024 > │ let v94 : string = $"%A{v90}" │
00:25:44 verbose #69025 > │ v94 │
00:25:44 verbose #69026 > │ #endif │
00:25:44 verbose #69027 > │ │
00:25:44 verbose #69028 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69029 > │ let v95 : string = $"%A{v90}" │
00:25:44 verbose #69030 > │ v95 │
00:25:44 verbose #69031 > │ #endif │
00:25:44 verbose #69032 > │ │
00:25:44 verbose #69033 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69034 > │ let v96 : string = $"%A{v90}" │
00:25:44 verbose #69035 > │ v96 │
00:25:44 verbose #69036 > │ #endif │
00:25:44 verbose #69037 > │ │
00:25:44 verbose #69038 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69039 > │ let v97 : string = $"%A{v90}" │
00:25:44 verbose #69040 > │ v97 │
00:25:44 verbose #69041 > │ #endif │
00:25:44 verbose #69042 > │ │
00:25:44 verbose #69043 > │ #else │
00:25:44 verbose #69044 > │ let v98 : string = $"{v90.GetType ()}: {v90.Message}" │
00:25:44 verbose #69045 > │ v98 │
00:25:44 verbose #69046 > │ #endif │
00:25:44 verbose #69047 > │ |> fun x -> _v91 <- Some x │
00:25:44 verbose #69048 > │ let v99 : string = _v91.Value │
00:25:44 verbose #69049 > │ let v100 : US0 = US0_0 │
00:25:44 verbose #69050 > │ let v101 : (unit -> string) = closure3(v99) │
00:25:44 verbose #69051 > │ let v102 : (unit -> string) = closure4() │
00:25:44 verbose #69052 > │ method2(v100, v101, v102) │
00:25:44 verbose #69053 > │ return false │
00:25:44 verbose #69054 > │ (* │
00:25:44 verbose #69055 > │ let v103 : bool = *) │
00:25:44 verbose #69056 > │ } │
00:25:44 verbose #69057 > │ |> fun x -> _v71 <- Some x │
00:25:44 verbose #69058 > │ let v104 : Async<bool> = _v71 |> Option.get │
00:25:44 verbose #69059 > │ v104 │
00:25:44 verbose #69060 > │ #endif │
00:25:44 verbose #69061 > │ |> fun x -> _v64 <- Some x │
00:25:44 verbose #69062 > │ let v105 : Async<bool> = _v64.Value │
00:25:44 verbose #69063 > │ let v106 : Async<US3> option = None │
00:25:44 verbose #69064 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:25:44 verbose #69065 > │ │
00:25:44 verbose #69066 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69067 > │ │
00:25:44 verbose #69068 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69069 > │ let v108 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69070 > │ v108 │
00:25:44 verbose #69071 > │ #endif │
00:25:44 verbose #69072 > │ │
00:25:44 verbose #69073 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69074 > │ let v109 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69075 > │ v109 │
00:25:44 verbose #69076 > │ #endif │
00:25:44 verbose #69077 > │ │
00:25:44 verbose #69078 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69079 > │ let v110 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69080 > │ v110 │
00:25:44 verbose #69081 > │ #endif │
00:25:44 verbose #69082 > │ │
00:25:44 verbose #69083 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69084 > │ let v111 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69085 > │ v111 │
00:25:44 verbose #69086 > │ #endif │
00:25:44 verbose #69087 > │ │
00:25:44 verbose #69088 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69089 > │ let v112 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69090 > │ v112 │
00:25:44 verbose #69091 > │ #endif │
00:25:44 verbose #69092 > │ │
00:25:44 verbose #69093 > │ #else │
00:25:44 verbose #69094 > │ let v113 : Async<US3> option = None │
00:25:44 verbose #69095 > │ let v114 : bool = true in let mutable _v113 = v113 │
00:25:44 verbose #69096 > │ │
00:25:44 verbose #69097 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69098 > │ │
00:25:44 verbose #69099 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69100 > │ let v115 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69101 > │ v115 │
00:25:44 verbose #69102 > │ #endif │
00:25:44 verbose #69103 > │ │
00:25:44 verbose #69104 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69105 > │ let v116 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69106 > │ v116 │
00:25:44 verbose #69107 > │ #endif │
00:25:44 verbose #69108 > │ │
00:25:44 verbose #69109 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69110 > │ let v117 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69111 > │ v117 │
00:25:44 verbose #69112 > │ #endif │
00:25:44 verbose #69113 > │ │
00:25:44 verbose #69114 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69115 > │ let v118 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69116 > │ v118 │
00:25:44 verbose #69117 > │ #endif │
00:25:44 verbose #69118 > │ │
00:25:44 verbose #69119 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69120 > │ let v119 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69121 > │ v119 │
00:25:44 verbose #69122 > │ #endif │
00:25:44 verbose #69123 > │ │
00:25:44 verbose #69124 > │ #else │
00:25:44 verbose #69125 > │ let v120 : Async<US3> option = None │
00:25:44 verbose #69126 > │ let mutable _v120 = v120 │
00:25:44 verbose #69127 > │ async { │
00:25:44 verbose #69128 > │ let v121 : Async<Async<bool>> option = None │
00:25:44 verbose #69129 > │ let v122 : bool = true in let mutable _v121 = v121 │
00:25:44 verbose #69130 > │ │
00:25:44 verbose #69131 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69132 > │ │
00:25:44 verbose #69133 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69134 > │ let v123 : Async<Async<bool>> = null |> │
00:25:44 verbose #69135 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #69136 > │ v123 │
00:25:44 verbose #69137 > │ #endif │
00:25:44 verbose #69138 > │ │
00:25:44 verbose #69139 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69140 > │ let v124 : Async<Async<bool>> = null |> │
00:25:44 verbose #69141 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #69142 > │ v124 │
00:25:44 verbose #69143 > │ #endif │
00:25:44 verbose #69144 > │ │
00:25:44 verbose #69145 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69146 > │ let v125 : Async<Async<bool>> = null |> │
00:25:44 verbose #69147 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #69148 > │ v125 │
00:25:44 verbose #69149 > │ #endif │
00:25:44 verbose #69150 > │ │
00:25:44 verbose #69151 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69152 > │ let v126 : Async<Async<bool>> = null |> │
00:25:44 verbose #69153 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #69154 > │ v126 │
00:25:44 verbose #69155 > │ #endif │
00:25:44 verbose #69156 > │ │
00:25:44 verbose #69157 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69158 > │ let v127 : Async<Async<bool>> = null |> │
00:25:44 verbose #69159 > │ unbox<Async<Async<bool>>> │
00:25:44 verbose #69160 > │ v127 │
00:25:44 verbose #69161 > │ #endif │
00:25:44 verbose #69162 > │ │
00:25:44 verbose #69163 > │ #else │
00:25:44 verbose #69164 > │ let v128 : Async<Async<bool>> = Async.StartChild (v105, v55) │
00:25:44 verbose #69165 > │ v128 │
00:25:44 verbose #69166 > │ #endif │
00:25:44 verbose #69167 > │ |> fun x -> _v121 <- Some x │
00:25:44 verbose #69168 > │ let v129 : Async<Async<bool>> = _v121.Value │
00:25:44 verbose #69169 > │ let! v129 = v129 │
00:25:44 verbose #69170 > │ let v130 : Async<bool> = v129 │
00:25:44 verbose #69171 > │ let v131 : Async<Choice<bool, exn>> option = None │
00:25:44 verbose #69172 > │ let v132 : bool = true in let mutable _v131 = v131 │
00:25:44 verbose #69173 > │ │
00:25:44 verbose #69174 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69175 > │ │
00:25:44 verbose #69176 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69177 > │ let v133 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #69178 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #69179 > │ v133 │
00:25:44 verbose #69180 > │ #endif │
00:25:44 verbose #69181 > │ │
00:25:44 verbose #69182 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69183 > │ let v134 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #69184 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #69185 > │ v134 │
00:25:44 verbose #69186 > │ #endif │
00:25:44 verbose #69187 > │ │
00:25:44 verbose #69188 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69189 > │ let v135 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #69190 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #69191 > │ v135 │
00:25:44 verbose #69192 > │ #endif │
00:25:44 verbose #69193 > │ │
00:25:44 verbose #69194 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69195 > │ let v136 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #69196 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #69197 > │ v136 │
00:25:44 verbose #69198 > │ #endif │
00:25:44 verbose #69199 > │ │
00:25:44 verbose #69200 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69201 > │ let v137 : Async<Choice<bool, exn>> = null |> │
00:25:44 verbose #69202 > │ unbox<Async<Choice<bool, exn>>> │
00:25:44 verbose #69203 > │ v137 │
00:25:44 verbose #69204 > │ #endif │
00:25:44 verbose #69205 > │ │
00:25:44 verbose #69206 > │ #else │
00:25:44 verbose #69207 > │ let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = │
00:25:44 verbose #69208 > │ Async.Catch │
00:25:44 verbose #69209 > │ let v139 : Async<Choice<bool, exn>> = v138 v130 │
00:25:44 verbose #69210 > │ v139 │
00:25:44 verbose #69211 > │ #endif │
00:25:44 verbose #69212 > │ |> fun x -> _v131 <- Some x │
00:25:44 verbose #69213 > │ let v140 : Async<Choice<bool, exn>> = _v131.Value │
00:25:44 verbose #69214 > │ let v141 : Async<US4> option = None │
00:25:44 verbose #69215 > │ let v142 : bool = true in let mutable _v141 = v141 │
00:25:44 verbose #69216 > │ │
00:25:44 verbose #69217 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69218 > │ │
00:25:44 verbose #69219 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69220 > │ let v143 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #69221 > │ v143 │
00:25:44 verbose #69222 > │ #endif │
00:25:44 verbose #69223 > │ │
00:25:44 verbose #69224 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69225 > │ let v144 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #69226 > │ v144 │
00:25:44 verbose #69227 > │ #endif │
00:25:44 verbose #69228 > │ │
00:25:44 verbose #69229 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69230 > │ let v145 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #69231 > │ v145 │
00:25:44 verbose #69232 > │ #endif │
00:25:44 verbose #69233 > │ │
00:25:44 verbose #69234 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69235 > │ let v146 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #69236 > │ v146 │
00:25:44 verbose #69237 > │ #endif │
00:25:44 verbose #69238 > │ │
00:25:44 verbose #69239 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69240 > │ let v147 : Async<US4> = null |> unbox<Async<US4>> │
00:25:44 verbose #69241 > │ v147 │
00:25:44 verbose #69242 > │ #endif │
00:25:44 verbose #69243 > │ │
00:25:44 verbose #69244 > │ #else │
00:25:44 verbose #69245 > │ let v148 : Async<US4> option = None │
00:25:44 verbose #69246 > │ let mutable _v148 = v148 │
00:25:44 verbose #69247 > │ async { │
00:25:44 verbose #69248 > │ let! v140 = v140 │
00:25:44 verbose #69249 > │ let v149 : Choice<bool, exn> = v140 │
00:25:44 verbose #69250 > │ let v150 : US4 option = None │
00:25:44 verbose #69251 > │ let v151 : bool = true in let mutable _v150 = v150 │
00:25:44 verbose #69252 > │ │
00:25:44 verbose #69253 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69254 > │ │
00:25:44 verbose #69255 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69256 > │ let v152 : US4 = null |> unbox<US4> │
00:25:44 verbose #69257 > │ v152 │
00:25:44 verbose #69258 > │ #endif │
00:25:44 verbose #69259 > │ │
00:25:44 verbose #69260 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69261 > │ let v153 : US4 = null |> unbox<US4> │
00:25:44 verbose #69262 > │ v153 │
00:25:44 verbose #69263 > │ #endif │
00:25:44 verbose #69264 > │ │
00:25:44 verbose #69265 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69266 > │ let v154 : US4 = null |> unbox<US4> │
00:25:44 verbose #69267 > │ v154 │
00:25:44 verbose #69268 > │ #endif │
00:25:44 verbose #69269 > │ │
00:25:44 verbose #69270 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69271 > │ let v155 : US4 = null |> unbox<US4> │
00:25:44 verbose #69272 > │ v155 │
00:25:44 verbose #69273 > │ #endif │
00:25:44 verbose #69274 > │ │
00:25:44 verbose #69275 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69276 > │ let v156 : US4 = null |> unbox<US4> │
00:25:44 verbose #69277 > │ v156 │
00:25:44 verbose #69278 > │ #endif │
00:25:44 verbose #69279 > │ │
00:25:44 verbose #69280 > │ #else │
00:25:44 verbose #69281 > │ let v157 : (bool -> US4) = closure9() │
00:25:44 verbose #69282 > │ let v158 : (exn -> US4) = closure10() │
00:25:44 verbose #69283 > │ let v159 : US4 = match v149 with Choice1Of2 x -> v157 x | │
00:25:44 verbose #69284 > │ Choice2Of2 x -> v158 x │
00:25:44 verbose #69285 > │ v159 │
00:25:44 verbose #69286 > │ #endif │
00:25:44 verbose #69287 > │ |> fun x -> _v150 <- Some x │
00:25:44 verbose #69288 > │ let v160 : US4 = _v150.Value │
00:25:44 verbose #69289 > │ return v160 │
00:25:44 verbose #69290 > │ } │
00:25:44 verbose #69291 > │ |> fun x -> _v148 <- Some x │
00:25:44 verbose #69292 > │ let v161 : Async<US4> = _v148 |> Option.get │
00:25:44 verbose #69293 > │ v161 │
00:25:44 verbose #69294 > │ #endif │
00:25:44 verbose #69295 > │ |> fun x -> _v141 <- Some x │
00:25:44 verbose #69296 > │ let v162 : Async<US4> = _v141.Value │
00:25:44 verbose #69297 > │ let v163 : Async<US5> option = None │
00:25:44 verbose #69298 > │ let v164 : bool = true in let mutable _v163 = v163 │
00:25:44 verbose #69299 > │ │
00:25:44 verbose #69300 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69301 > │ │
00:25:44 verbose #69302 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69303 > │ let v165 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #69304 > │ v165 │
00:25:44 verbose #69305 > │ #endif │
00:25:44 verbose #69306 > │ │
00:25:44 verbose #69307 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69308 > │ let v166 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #69309 > │ v166 │
00:25:44 verbose #69310 > │ #endif │
00:25:44 verbose #69311 > │ │
00:25:44 verbose #69312 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69313 > │ let v167 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #69314 > │ v167 │
00:25:44 verbose #69315 > │ #endif │
00:25:44 verbose #69316 > │ │
00:25:44 verbose #69317 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69318 > │ let v168 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #69319 > │ v168 │
00:25:44 verbose #69320 > │ #endif │
00:25:44 verbose #69321 > │ │
00:25:44 verbose #69322 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69323 > │ let v169 : Async<US5> = null |> unbox<Async<US5>> │
00:25:44 verbose #69324 > │ v169 │
00:25:44 verbose #69325 > │ #endif │
00:25:44 verbose #69326 > │ │
00:25:44 verbose #69327 > │ #else │
00:25:44 verbose #69328 > │ let v170 : Async<US5> option = None │
00:25:44 verbose #69329 > │ let mutable _v170 = v170 │
00:25:44 verbose #69330 > │ async { │
00:25:44 verbose #69331 > │ let! v162 = v162 │
00:25:44 verbose #69332 > │ let v171 : US4 = v162 │
00:25:44 verbose #69333 > │ let v177 : US5 = │
00:25:44 verbose #69334 > │ match v171 with │
00:25:44 verbose #69335 > │ | US4_0(v172) -> (* Choice1Of2 *) │
00:25:44 verbose #69336 > │ US5_0(v172) │
00:25:44 verbose #69337 > │ | US4_1(v174) -> (* Choice2Of2 *) │
00:25:44 verbose #69338 > │ US5_1(v174) │
00:25:44 verbose #69339 > │ return v177 │
00:25:44 verbose #69340 > │ } │
00:25:44 verbose #69341 > │ |> fun x -> _v170 <- Some x │
00:25:44 verbose #69342 > │ let v178 : Async<US5> = _v170 |> Option.get │
00:25:44 verbose #69343 > │ v178 │
00:25:44 verbose #69344 > │ #endif │
00:25:44 verbose #69345 > │ |> fun x -> _v163 <- Some x │
00:25:44 verbose #69346 > │ let v179 : Async<US5> = _v163.Value │
00:25:44 verbose #69347 > │ let v180 : Async<US3> option = None │
00:25:44 verbose #69348 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:25:44 verbose #69349 > │ │
00:25:44 verbose #69350 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69351 > │ │
00:25:44 verbose #69352 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69353 > │ let v182 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69354 > │ v182 │
00:25:44 verbose #69355 > │ #endif │
00:25:44 verbose #69356 > │ │
00:25:44 verbose #69357 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69358 > │ let v183 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69359 > │ v183 │
00:25:44 verbose #69360 > │ #endif │
00:25:44 verbose #69361 > │ │
00:25:44 verbose #69362 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69363 > │ let v184 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69364 > │ v184 │
00:25:44 verbose #69365 > │ #endif │
00:25:44 verbose #69366 > │ │
00:25:44 verbose #69367 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69368 > │ let v185 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69369 > │ v185 │
00:25:44 verbose #69370 > │ #endif │
00:25:44 verbose #69371 > │ │
00:25:44 verbose #69372 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69373 > │ let v186 : Async<US3> = null |> unbox<Async<US3>> │
00:25:44 verbose #69374 > │ v186 │
00:25:44 verbose #69375 > │ #endif │
00:25:44 verbose #69376 > │ │
00:25:44 verbose #69377 > │ #else │
00:25:44 verbose #69378 > │ let v187 : Async<US3> option = None │
00:25:44 verbose #69379 > │ let mutable _v187 = v187 │
00:25:44 verbose #69380 > │ async { │
00:25:44 verbose #69381 > │ let! v179 = v179 │
00:25:44 verbose #69382 > │ let v188 : US5 = v179 │
00:25:44 verbose #69383 > │ let v214 : US3 = │
00:25:44 verbose #69384 > │ match v188 with │
00:25:44 verbose #69385 > │ | US5_1(v191) -> (* Error *) │
00:25:44 verbose #69386 > │ let v192 : string = $"%A{v191}" │
00:25:44 verbose #69387 > │ let v193 : string = "System.TimeoutException" │
00:25:44 verbose #69388 > │ let v194 : bool = v192.Contains v193 │
00:25:44 verbose #69389 > │ if v194 then │
00:25:44 verbose #69390 > │ let v195 : US0 = US0_1 │
00:25:44 verbose #69391 > │ let v196 : (unit -> string) = closure11() │
00:25:44 verbose #69392 > │ let v197 : (unit -> string) = closure12(v55) │
00:25:44 verbose #69393 > │ method2(v195, v196, v197) │
00:25:44 verbose #69394 > │ US3_1 │
00:25:44 verbose #69395 > │ else │
00:25:44 verbose #69396 > │ let v199 : string option = None │
00:25:44 verbose #69397 > │ let v200 : bool = true in let mutable _v199 = v199 │
00:25:44 verbose #69398 > │ │
00:25:44 verbose #69399 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:25:44 verbose #69400 > │ │
00:25:44 verbose #69401 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:25:44 verbose #69402 > │ let v201 : string = $"%A{v191}" │
00:25:44 verbose #69403 > │ v201 │
00:25:44 verbose #69404 > │ #endif │
00:25:44 verbose #69405 > │ │
00:25:44 verbose #69406 > │ #if FABLE_COMPILER_RUST && WASM │
00:25:44 verbose #69407 > │ let v202 : string = $"%A{v191}" │
00:25:44 verbose #69408 > │ v202 │
00:25:44 verbose #69409 > │ #endif │
00:25:44 verbose #69410 > │ │
00:25:44 verbose #69411 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:25:44 verbose #69412 > │ let v203 : string = $"%A{v191}" │
00:25:44 verbose #69413 > │ v203 │
00:25:44 verbose #69414 > │ #endif │
00:25:44 verbose #69415 > │ │
00:25:44 verbose #69416 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:25:44 verbose #69417 > │ let v204 : string = $"%A{v191}" │
00:25:44 verbose #69418 > │ v204 │
00:25:44 verbose #69419 > │ #endif │
00:25:44 verbose #69420 > │ │
00:25:44 verbose #69421 > │ #if FABLE_COMPILER_PYTHON │
00:25:44 verbose #69422 > │ let v205 : string = $"%A{v191}" │
00:25:44 verbose #69423 > │ v205 │
00:25:44 verbose #69424 > │ #endif │
00:25:44 verbose #69425 > │ │
00:25:44 verbose #69426 > │ #else │
00:25:44 verbose #69427 > │ let v206 : string = $"{v191.GetType ()}: │
00:25:44 verbose #69428 > │ {v191.Message}" │
00:25:44 verbose #69429 > │ v206 │
00:25:44 verbose #69430 > │ #endif │
00:25:44 verbose #69431 > │ |> fun x -> _v199 <- Some x │
00:25:44 verbose #69432 > │ let v207 : string = _v199.Value │
00:25:44 verbose #69433 > │ let v208 : US0 = US0_4 │
00:25:44 verbose #69434 > │ let v209 : (unit -> string) = closure13(v207) │
00:25:44 verbose #69435 > │ let v210 : (unit -> string) = closure12(v55) │
00:25:44 verbose #69436 > │ method2(v208, v209, v210) │
00:25:44 verbose #69437 > │ US3_1 │
00:25:44 verbose #69438 > │ | US5_0(v189) -> (* Ok *) │
00:25:44 verbose #69439 > │ US3_0(v189) │
00:25:44 verbose #69440 > │ return v214 │
00:25:44 verbose #69441 > │ } │
00:25:44 verbose #69442 > │ |> fun x -> _v187 <- Some x │
00:25:44 verbose #69443 > │ let v215 : Async<US3> = _v187 |> Option.get │
00:25:44 verbose #69444 > │ v215 │
00:25:44 verbose #69445 > │ #endif │
00:25:44 verbose #69446 > │ |> fun x -> _v180 <- Some x │
00:25:44 verbose #69447 > │ let v216 : Async<US3> = _v180.Value │
00:25:44 verbose #69448 > │ return! v216 │
00:25:44 verbose #69449 > │ } │
00:25:44 verbose #69450 > │ |> fun x -> _v120 <- Some x │
00:25:44 verbose #69451 > │ let v217 : Async<US3> = _v120 |> Option.get │
00:25:44 verbose #69452 > │ v217 │
00:25:44 verbose #69453 > │ #endif │
00:25:44 verbose #69454 > │ |> fun x -> _v113 <- Some x │
00:25:44 verbose #69455 > │ let v218 : Async<US3> = _v113.Value │
00:25:44 verbose #69456 > │ v218 │
00:25:44 verbose #69457 > │ #endif │
00:25:44 verbose #69458 > │ |> fun x -> _v106 <- Some x │
00:25:44 verbose #69459 > │ let v219 : Async<US3> = _v106.Value │
00:25:44 verbose #69460 > │ let! v219 = v219 │
00:25:44 verbose #69461 > │ let v220 : US3 = v219 │
00:25:44 verbose #69462 > │ let v223 : bool = │
00:25:44 verbose #69463 > │ match v220 with │
00:25:44 verbose #69464 > │ | US3_1 -> (* None *) │
00:25:44 verbose #69465 > │ false │
00:25:44 verbose #69466 > │ | US3_0(v221) -> (* Some *) │
00:25:44 verbose #69467 > │ v221 │
00:25:44 verbose #69468 > │ return v223 │
00:25:44 verbose #69469 > │ } │
00:25:44 verbose #69470 > │ |> fun x -> _v63 <- Some x │
00:25:44 verbose #69471 > │ let v224 : Async<bool> = _v63 |> Option.get │
00:25:44 verbose #69472 > │ v224 │
00:25:44 verbose #69473 > │ #endif │
00:25:44 verbose #69474 > │ |> fun x -> _v56 <- Some x │
00:25:44 verbose #69475 > │ let v225 : Async<bool> = _v56.Value │
00:25:44 verbose #69476 > │ v225 │
00:25:44 verbose #69477 > │ let! v227 = v227 │
00:25:44 verbose #69478 > │ let v228 : bool = v227 │
00:25:44 verbose #69479 > │ let v229 : bool = v228 = false │
00:25:44 verbose #69480 > │ if v229 then │
00:25:44 verbose #69481 > │ return v1 │
00:25:44 verbose #69482 > │ (* │
00:25:44 verbose #69483 > │ () │
00:25:44 verbose #69484 > │ else │
00:25:44 verbose #69485 > │ *) else │
00:25:44 verbose #69486 > │ let v230 : int32 = v1 + 1 │
00:25:44 verbose #69487 > │ let v231 : Async<int32> = method8(v0, v230) │
00:25:44 verbose #69488 > │ return! v231 │
00:25:44 verbose #69489 > │ (* │
00:25:44 verbose #69490 > │ () │
00:25:44 verbose #69491 > │ *) │
00:25:44 verbose #69492 > │ } │
00:25:44 verbose #69493 > │ |> fun x -> _v9 <- Some x │
00:25:44 verbose #69494 > │ let v232 : Async<int32> = _v9 |> Option.get │
00:25:44 verbose #69495 > │ v232 │
00:25:44 verbose #69496 > │ #endif │
00:25:44 verbose #69497 > │ |> fun x -> _v2 <- Some x │
00:25:44 verbose #69498 > │ let v233 : Async<int32> = _v2.Value │
00:25:44 verbose #69499 > │ v233 │
00:25:44 verbose #69500 > │ and closure21 (v0 : int32 option) (v1 : int32) : Async<int32> = │
00:25:44 verbose #69501 > │ method8(v0, v1) │
00:25:44 verbose #69502 > │ and closure20 () (v0 : int32 option) : (int32 -> Async<int32>) = │
00:25:44 verbose #69503 > │ closure21(v0) │
00:25:44 verbose #69504 > │ let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:25:44 verbose #69505 > │ closure0() │
00:25:44 verbose #69506 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:25:44 verbose #69507 > │ let v1 : (int32 -> Async<bool>) = closure2() │
00:25:44 verbose #69508 > │ let test_port_open x = v1 x │
00:25:44 verbose #69509 > │ let v2 : (int32 -> (int32 -> Async<bool>)) = closure7() │
00:25:44 verbose #69510 > │ let test_port_open_timeout x = v2 x │
00:25:44 verbose #69511 > │ let v3 : (int32 option -> (bool -> (int32 -> Async<int64>))) = closure14() │
00:25:44 verbose #69512 > │ let wait_for_port_access x = v3 x │
00:25:44 verbose #69513 > │ let v4 : (int32 option -> (int32 -> Async<int32>)) = closure20() │
00:25:44 verbose #69514 > │ let get_available_port x = v4 x │
00:25:44 verbose #69515 > │ () │
00:25:44 verbose #69516 > │ │
00:25:44 verbose #69517 > │ │
00:25:44 verbose #69518 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:47 verbose #69519 > [NbConvertApp] Converting notebook networking.dib.ipynb to html
00:25:47 verbose #69520 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:25:47 verbose #69521 > validate(nb)
00:25:49 verbose #69522 > [NbConvertApp] Writing 937448 bytes to networking.dib.html
00:25:50 debug #69523 execute_with_options_async / exit_code: 0 / output.Length: 1469064
00:25:50 debug #25 main / executeCommand / exitCode: 0
00:25:50 debug #69524 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 file_system.dib" -Retries 3",
[||], None, None, None)
00:25:50 verbose #69525 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\lib\spiral / path: file_system.dib / _args: [
00:25:50 verbose #69526 > "-Retries",
00:25:50 verbose #69527 > 3
00:25:50 verbose #69528 > ]
00:25:54 verbose #69529 >
00:25:54 verbose #69530 > ── markdown ────────────────────────────────────────────────────────────────────
00:25:54 verbose #69531 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:25:54 verbose #69532 > │ # file_system │
00:25:54 verbose #69533 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:25:54 verbose #69534 >
00:25:54 verbose #69535 > ── spiral ──────────────────────────────────────────────────────────────────────
00:25:54 verbose #69536 > open sm'_operators
00:25:54 verbose #69537 > open rust_operators
00:25:54 verbose #69538 >
00:25:54 verbose #69539 > ── spiral - import ─────────────────────────────────────────────────────────────
00:25:54 verbose #69540 > #r
00:25:54 verbose #69541 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:25:54 verbose #69542 > otNet.Interactive.Spiral.dll"
00:25:54 verbose #69543 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:25:54 verbose #69544 > #r
00:25:54 verbose #69545 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:25:54 verbose #69546 > otNet.Interactive.dll"
00:25:54 verbose #69547 > open type Microsoft.DotNet.Interactive.Kernel
00:25:59 verbose #69548 > 00:25:58 debug #906 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0f70a6ceda54464ad2262592408f2345279274c3c23c9e1b17e7a0fedac8c776/main.spi
00:26:00 verbose #69549 >
00:26:00 verbose #69550 > ╭─[ 6.42s - stdout ]───────────────────────────────────────────────────────────╮
00:26:00 verbose #69551 > │ () │
00:26:00 verbose #69552 > │ │
00:26:00 verbose #69553 > │ │
00:26:00 verbose #69554 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:00 verbose #69555 >
00:26:00 verbose #69556 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:00 verbose #69557 > //// test
00:26:00 verbose #69558 >
00:26:00 verbose #69559 > open testing
00:26:01 verbose #69560 > 00:26:00 debug #907 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b3d29279adf259e1843682c84feccb45d80dd3ffbb83f4467e9c79ea3b957629/main.spi
00:26:01 verbose #69561 >
00:26:01 verbose #69562 > ╭─[ 666.03ms - stdout ]────────────────────────────────────────────────────────╮
00:26:01 verbose #69563 > │ () │
00:26:01 verbose #69564 > │ │
00:26:01 verbose #69565 > │ │
00:26:01 verbose #69566 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:01 verbose #69567 >
00:26:01 verbose #69568 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:01 verbose #69569 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:01 verbose #69570 > │ ## types │
00:26:01 verbose #69571 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:01 verbose #69572 >
00:26:01 verbose #69573 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:01 verbose #69574 > inl types () =
00:26:01 verbose #69575 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69576 > Fable.Core.Emit(\"std::fs::File\")>]]\n#endif\ntype std_fs_File = class end"
00:26:01 verbose #69577 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69578 > Fable.Core.Emit(\"std::fs::FileType\")>]]\n#endif\ntype std_fs_FileType = class
00:26:01 verbose #69579 > end"
00:26:01 verbose #69580 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69581 > Fable.Core.Emit(\"std::path::Display\")>]]\n#endif\ntype std_path_Display =
00:26:01 verbose #69582 > class end"
00:26:01 verbose #69583 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69584 > Fable.Core.Emit(\"std::path::Path\")>]]\n#endif\ntype std_path_Path = class end"
00:26:01 verbose #69585 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69586 > Fable.Core.Emit(\"std::path::PathBuf\")>]]\n#endif\ntype std_path_PathBuf =
00:26:01 verbose #69587 > class end"
00:26:01 verbose #69588 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69589 > Fable.Core.Emit(\"async_walkdir::DirEntry\")>]]\n#endif\ntype
00:26:01 verbose #69590 > async_walkdir_DirEntry = class end"
00:26:01 verbose #69591 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69592 > Fable.Core.Emit(\"async_walkdir::Filtering\")>]]\n#endif\ntype
00:26:01 verbose #69593 > async_walkdir_Filtering = class end"
00:26:01 verbose #69594 > global "#if FABLE_COMPILER\n[[<Fable.Core.Erase;
00:26:01 verbose #69595 > Fable.Core.Emit(\"async_walkdir::WalkDir\")>]]\n#endif\ntype
00:26:01 verbose #69596 > async_walkdir_WalkDir = class end"
00:26:01 verbose #69597 > 00:26:00 debug #908 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/413027bfab36b8a433f2b092c2336495448aa1d070368168ccc998b246d87d06/main.spi
00:26:01 verbose #69598 >
00:26:01 verbose #69599 > ╭─[ 641.00ms - stdout ]────────────────────────────────────────────────────────╮
00:26:01 verbose #69600 > │ () │
00:26:01 verbose #69601 > │ │
00:26:01 verbose #69602 > │ │
00:26:01 verbose #69603 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:01 verbose #69604 >
00:26:01 verbose #69605 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:01 verbose #69606 > inl types () =
00:26:01 verbose #69607 > sm'.types ()
00:26:01 verbose #69608 > rust.types ()
00:26:01 verbose #69609 > date_time.types ()
00:26:01 verbose #69610 > stream.types ()
00:26:01 verbose #69611 > types ()
00:26:02 verbose #69612 > 00:26:01 debug #909 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d56030a1d8f6b76404f8dd6351407418b5b3a3e3b34e367a1f624a5d544c56d6/main.spi
00:26:02 verbose #69613 >
00:26:02 verbose #69614 > ╭─[ 676.21ms - stdout ]────────────────────────────────────────────────────────╮
00:26:02 verbose #69615 > │ () │
00:26:02 verbose #69616 > │ │
00:26:02 verbose #69617 > │ │
00:26:02 verbose #69618 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:02 verbose #69619 >
00:26:02 verbose #69620 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:02 verbose #69621 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:02 verbose #69622 > │ ## file_mode │
00:26:02 verbose #69623 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:02 verbose #69624 >
00:26:02 verbose #69625 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:02 verbose #69626 > nominal file_mode' = $'System.IO.FileMode'
00:26:02 verbose #69627 >
00:26:02 verbose #69628 > union file_mode =
00:26:02 verbose #69629 > | ModeCreateNew
00:26:02 verbose #69630 > | ModeCreate
00:26:02 verbose #69631 > | ModeOpen
00:26:02 verbose #69632 > | ModeOpenOrCreate
00:26:02 verbose #69633 > | Truncate
00:26:02 verbose #69634 > | Append
00:26:02 verbose #69635 >
00:26:02 verbose #69636 > inl file_mode = function
00:26:02 verbose #69637 > | ModeCreateNew => $'System.IO.FileMode.CreateNew' : file_mode'
00:26:02 verbose #69638 > | ModeCreate => $'System.IO.FileMode.Create' : file_mode'
00:26:02 verbose #69639 > | ModeOpen => $'System.IO.FileMode.Open' : file_mode'
00:26:02 verbose #69640 > | ModeOpenOrCreate => $'System.IO.FileMode.OpenOrCreate' : file_mode'
00:26:02 verbose #69641 > | Truncate => $'System.IO.FileMode.Truncate' : file_mode'
00:26:02 verbose #69642 > | Append => $'System.IO.FileMode.Append' : file_mode'
00:26:03 verbose #69643 > 00:26:02 debug #910 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/554c64e5f01c2d4f691e276d4fe0fbf0a94ecabfe5580ead13b66dd3968fadb3/main.spi
00:26:03 verbose #69644 >
00:26:03 verbose #69645 > ╭─[ 627.88ms - stdout ]────────────────────────────────────────────────────────╮
00:26:03 verbose #69646 > │ () │
00:26:03 verbose #69647 > │ │
00:26:03 verbose #69648 > │ │
00:26:03 verbose #69649 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:03 verbose #69650 >
00:26:03 verbose #69651 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:03 verbose #69652 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:03 verbose #69653 > │ ## file_access │
00:26:03 verbose #69654 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:03 verbose #69655 >
00:26:03 verbose #69656 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:03 verbose #69657 > nominal file_access' = $'System.IO.FileAccess'
00:26:03 verbose #69658 >
00:26:03 verbose #69659 > union file_access =
00:26:03 verbose #69660 > | AccessRead
00:26:03 verbose #69661 > | AccessWrite
00:26:03 verbose #69662 > | AccessReadWrite
00:26:03 verbose #69663 >
00:26:03 verbose #69664 > inl file_access = function
00:26:03 verbose #69665 > | AccessRead => $'System.IO.FileAccess.Read' : file_access'
00:26:03 verbose #69666 > | AccessWrite => $'System.IO.FileAccess.ReadWrite' : file_access'
00:26:03 verbose #69667 > | AccessReadWrite => $'System.IO.FileAccess.ReadWrite' : file_access'
00:26:03 verbose #69668 > 00:26:02 debug #911 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b931301c9849432c12700da552e8348628362dc3cf3ed7e13ee0a8ce3557f308/main.spi
00:26:03 verbose #69669 >
00:26:03 verbose #69670 > ╭─[ 666.24ms - stdout ]────────────────────────────────────────────────────────╮
00:26:03 verbose #69671 > │ () │
00:26:03 verbose #69672 > │ │
00:26:03 verbose #69673 > │ │
00:26:03 verbose #69674 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:03 verbose #69675 >
00:26:03 verbose #69676 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:03 verbose #69677 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:03 verbose #69678 > │ ## file_share │
00:26:03 verbose #69679 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:03 verbose #69680 >
00:26:03 verbose #69681 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:03 verbose #69682 > nominal file_share' = $'System.IO.FileShare'
00:26:03 verbose #69683 >
00:26:03 verbose #69684 > union file_share =
00:26:03 verbose #69685 > | ShareNone
00:26:03 verbose #69686 > | ShareRead
00:26:03 verbose #69687 > | ShareWrite
00:26:03 verbose #69688 > | ShareReadWrite
00:26:03 verbose #69689 > | ShareDelete
00:26:03 verbose #69690 >
00:26:03 verbose #69691 > inl file_share = function
00:26:03 verbose #69692 > | ShareNone => $'System.IO.FileShare.None' : file_share'
00:26:03 verbose #69693 > | ShareRead => $'System.IO.FileShare.Read' : file_share'
00:26:03 verbose #69694 > | ShareWrite => $'System.IO.FileShare.Write' : file_share'
00:26:03 verbose #69695 > | ShareReadWrite => $'System.IO.FileShare.ReadWrite' : file_share'
00:26:03 verbose #69696 > | ShareDelete => $'System.IO.FileShare.Delete' : file_share'
00:26:04 verbose #69697 > 00:26:03 debug #912 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0835364b4e243cddab72b1a5569c8fba63a14e633d6ccebfc07790bf8caf8c54/main.spi
00:26:04 verbose #69698 >
00:26:04 verbose #69699 > ╭─[ 640.53ms - stdout ]────────────────────────────────────────────────────────╮
00:26:04 verbose #69700 > │ () │
00:26:04 verbose #69701 > │ │
00:26:04 verbose #69702 > │ │
00:26:04 verbose #69703 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:04 verbose #69704 >
00:26:04 verbose #69705 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:04 verbose #69706 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:04 verbose #69707 > │ ## file_stream │
00:26:04 verbose #69708 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:04 verbose #69709 >
00:26:04 verbose #69710 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:04 verbose #69711 > nominal file_stream' = $'System.IO.FileStream'
00:26:04 verbose #69712 >
00:26:04 verbose #69713 > inl file_stream (path : string) mode access share : file_stream' =
00:26:04 verbose #69714 > run_target function
00:26:04 verbose #69715 > | Fsharp (Native) => fun () =>
00:26:04 verbose #69716 > inl mode = mode |> file_mode
00:26:04 verbose #69717 > inl access = access |> file_access
00:26:04 verbose #69718 > inl share = share |> file_share
00:26:04 verbose #69719 > $'new System.IO.FileStream (!path, !mode, !access, !share)'
00:26:04 verbose #69720 > | _ => fun () => null ()
00:26:05 verbose #69721 > 00:26:03 debug #913 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/28f05a5b87ac42c12d6f1c0aa216ef9b1d73486d6128b46f179f50340064975e/main.spi
00:26:05 verbose #69722 >
00:26:05 verbose #69723 > ╭─[ 611.83ms - stdout ]────────────────────────────────────────────────────────╮
00:26:05 verbose #69724 > │ () │
00:26:05 verbose #69725 > │ │
00:26:05 verbose #69726 > │ │
00:26:05 verbose #69727 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:05 verbose #69728 >
00:26:05 verbose #69729 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:05 verbose #69730 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:05 verbose #69731 > │ ## display │
00:26:05 verbose #69732 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:05 verbose #69733 >
00:26:05 verbose #69734 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:05 verbose #69735 > nominal display = $'std_path_Display'
00:26:05 verbose #69736 > 00:26:04 debug #914 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b1433aa7be31ef098d91e0ac16e1ff22c712da484b82df568f7295b67094b5e9/main.spi
00:26:05 verbose #69737 >
00:26:05 verbose #69738 > ╭─[ 679.82ms - stdout ]────────────────────────────────────────────────────────╮
00:26:05 verbose #69739 > │ () │
00:26:05 verbose #69740 > │ │
00:26:05 verbose #69741 > │ │
00:26:05 verbose #69742 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:05 verbose #69743 >
00:26:05 verbose #69744 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:05 verbose #69745 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:05 verbose #69746 > │ ## path │
00:26:05 verbose #69747 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:05 verbose #69748 >
00:26:05 verbose #69749 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:05 verbose #69750 > nominal path = $'std_path_Path'
00:26:05 verbose #69751 > nominal path = $'std_path_Path'
00:26:05 verbose #69752 > nominal path_buf = $'std_path_PathBuf'
00:26:06 verbose #69753 > 00:26:05 debug #915 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cc8f92552cfc1818a4bb56b8257b8d2c63e69873f4fde56331e2ce7699426a34/main.spi
00:26:06 verbose #69754 >
00:26:06 verbose #69755 > ╭─[ 609.37ms - stdout ]────────────────────────────────────────────────────────╮
00:26:06 verbose #69756 > │ () │
00:26:06 verbose #69757 > │ │
00:26:06 verbose #69758 > │ │
00:26:06 verbose #69759 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:06 verbose #69760 >
00:26:06 verbose #69761 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:06 verbose #69762 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:06 verbose #69763 > │ ## new_path_buf │
00:26:06 verbose #69764 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:06 verbose #69765 >
00:26:06 verbose #69766 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:06 verbose #69767 > inl new_path_buf (path : sm'.std_string) : path_buf =
00:26:06 verbose #69768 > open rust_operators
00:26:06 verbose #69769 > !\\(path, $'"std::path::PathBuf::from($0)"')
00:26:06 verbose #69770 > 00:26:05 debug #916 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6e59b24b1e97a774ab4391d15932e079fd3d50d5c246bfd0361ee6d441d460d5/main.spi
00:26:07 verbose #69771 >
00:26:07 verbose #69772 > ╭─[ 626.31ms - stdout ]────────────────────────────────────────────────────────╮
00:26:07 verbose #69773 > │ () │
00:26:07 verbose #69774 > │ │
00:26:07 verbose #69775 > │ │
00:26:07 verbose #69776 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:07 verbose #69777 >
00:26:07 verbose #69778 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:07 verbose #69779 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:07 verbose #69780 > │ ## path_buf_from │
00:26:07 verbose #69781 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:07 verbose #69782 >
00:26:07 verbose #69783 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:07 verbose #69784 > inl path_buf_from (path : rust.box path) : path_buf =
00:26:07 verbose #69785 > open rust_operators
00:26:07 verbose #69786 > !\\(path, $'"std::path::PathBuf::from($0)"')
00:26:07 verbose #69787 > 00:26:06 debug #917 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/16a9ddc8dfa8e2d139df5687015dac9903aa9959eb8c2143738e515decafed9f/main.spi
00:26:07 verbose #69788 >
00:26:07 verbose #69789 > ╭─[ 633.23ms - stdout ]────────────────────────────────────────────────────────╮
00:26:07 verbose #69790 > │ () │
00:26:07 verbose #69791 > │ │
00:26:07 verbose #69792 > │ │
00:26:07 verbose #69793 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:07 verbose #69794 >
00:26:07 verbose #69795 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:07 verbose #69796 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:07 verbose #69797 > │ ## path_buf_join │
00:26:07 verbose #69798 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:07 verbose #69799 >
00:26:07 verbose #69800 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:07 verbose #69801 > inl path_buf_join (s : string) (path_buf : path_buf) : path_buf =
00:26:07 verbose #69802 > open rust_operators
00:26:07 verbose #69803 > !\\((path_buf, s |> sm'.to_std_string), $'"$0.join($1)"')
00:26:08 verbose #69804 > 00:26:07 debug #918 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/31a638ee6aa7e8f4b83944e6de523cf66c264bae81fdcfba08a07bed321a6cd1/main.spi
00:26:08 verbose #69805 >
00:26:08 verbose #69806 > ╭─[ 615.39ms - stdout ]────────────────────────────────────────────────────────╮
00:26:08 verbose #69807 > │ () │
00:26:08 verbose #69808 > │ │
00:26:08 verbose #69809 > │ │
00:26:08 verbose #69810 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:08 verbose #69811 >
00:26:08 verbose #69812 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:08 verbose #69813 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:08 verbose #69814 > │ ## path_buf_strip_prefix │
00:26:08 verbose #69815 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:08 verbose #69816 >
00:26:08 verbose #69817 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:08 verbose #69818 > inl path_buf_strip_prefix (s : string) (path_buf : path_buf) : path_buf =
00:26:08 verbose #69819 > open rust_operators
00:26:08 verbose #69820 > !\\((path_buf, s |> sm'.to_std_string),
00:26:08 verbose #69821 > $'"$0.strip_prefix($1).unwrap().to_path_buf()"')
00:26:08 verbose #69822 > 00:26:07 debug #919 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d2ba6155bde6da2cf8164c542b504c85fe6da1da7721128180a5f83d22a552a4/main.spi
00:26:08 verbose #69823 >
00:26:08 verbose #69824 > ╭─[ 659.23ms - stdout ]────────────────────────────────────────────────────────╮
00:26:08 verbose #69825 > │ () │
00:26:08 verbose #69826 > │ │
00:26:08 verbose #69827 > │ │
00:26:08 verbose #69828 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:08 verbose #69829 >
00:26:08 verbose #69830 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:08 verbose #69831 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:08 verbose #69832 > │ ## path_display │
00:26:08 verbose #69833 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:08 verbose #69834 >
00:26:08 verbose #69835 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:08 verbose #69836 > inl path_display (path : rust.ref' path) : display =
00:26:08 verbose #69837 > open rust_operators
00:26:08 verbose #69838 > !\\(path, $'"$0.display()"')
00:26:09 verbose #69839 > 00:26:08 debug #920 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bba31946b7b042e5cfa1d818d096670768e9c7c318276d9dc656999495916e06/main.spi
00:26:09 verbose #69840 >
00:26:09 verbose #69841 > ╭─[ 663.06ms - stdout ]────────────────────────────────────────────────────────╮
00:26:09 verbose #69842 > │ () │
00:26:09 verbose #69843 > │ │
00:26:09 verbose #69844 > │ │
00:26:09 verbose #69845 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:09 verbose #69846 >
00:26:09 verbose #69847 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:09 verbose #69848 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:09 verbose #69849 > │ ## path_buf_display │
00:26:09 verbose #69850 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:09 verbose #69851 >
00:26:09 verbose #69852 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:09 verbose #69853 > inl path_buf_display (path_buf : path_buf) : display =
00:26:09 verbose #69854 > open rust_operators
00:26:09 verbose #69855 > !\\(path_buf, $'"$0.display()"')
00:26:10 verbose #69856 > 00:26:09 debug #921 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f0dff1a0fbe8df2a977202be8b454862549dd025b2181cb4f38d7646ed3d5fa5/main.spi
00:26:10 verbose #69857 >
00:26:10 verbose #69858 > ╭─[ 650.57ms - stdout ]────────────────────────────────────────────────────────╮
00:26:10 verbose #69859 > │ () │
00:26:10 verbose #69860 > │ │
00:26:10 verbose #69861 > │ │
00:26:10 verbose #69862 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:10 verbose #69863 >
00:26:10 verbose #69864 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:10 verbose #69865 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:10 verbose #69866 > │ ## path_buf_file_name │
00:26:10 verbose #69867 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:10 verbose #69868 >
00:26:10 verbose #69869 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:10 verbose #69870 > inl path_buf_file_name (path : path_buf) : optionm'.option' (rust.ref'
00:26:10 verbose #69871 > sm'.os_str) =
00:26:10 verbose #69872 > open rust_operators
00:26:10 verbose #69873 > !\($'"!path.file_name()"')
00:26:10 verbose #69874 > 00:26:09 debug #922 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5f67557913864da126a03d6bd98e0664d335b831785c0b61883d5b096f432cdf/main.spi
00:26:10 verbose #69875 >
00:26:10 verbose #69876 > ╭─[ 657.66ms - stdout ]────────────────────────────────────────────────────────╮
00:26:10 verbose #69877 > │ () │
00:26:10 verbose #69878 > │ │
00:26:10 verbose #69879 > │ │
00:26:10 verbose #69880 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:10 verbose #69881 >
00:26:10 verbose #69882 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:10 verbose #69883 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:10 verbose #69884 > │ ## path_buf_exists │
00:26:10 verbose #69885 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:10 verbose #69886 >
00:26:10 verbose #69887 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:10 verbose #69888 > inl path_buf_exists (path_buf : path_buf) : bool =
00:26:10 verbose #69889 > open rust_operators
00:26:10 verbose #69890 > !\\(path_buf, $'"$0.exists()"')
00:26:11 verbose #69891 > 00:26:10 debug #923 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6f01264270a542ed87f33d259dbf06b4a0a07a75341fca012cc7759842bc19a2/main.spi
00:26:11 verbose #69892 >
00:26:11 verbose #69893 > ╭─[ 607.26ms - stdout ]────────────────────────────────────────────────────────╮
00:26:11 verbose #69894 > │ () │
00:26:11 verbose #69895 > │ │
00:26:11 verbose #69896 > │ │
00:26:11 verbose #69897 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:11 verbose #69898 >
00:26:11 verbose #69899 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:11 verbose #69900 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:11 verbose #69901 > │ ## path_buf_is_dir │
00:26:11 verbose #69902 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:11 verbose #69903 >
00:26:11 verbose #69904 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:11 verbose #69905 > inl path_buf_is_dir (path_buf : path_buf) : bool =
00:26:11 verbose #69906 > open rust_operators
00:26:11 verbose #69907 > !\\(path_buf, $'"$0.is_dir()"')
00:26:12 verbose #69908 > 00:26:11 debug #924 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/64d08ea7d96b79111e7c774f54564723d30f2cc164503152fa14bd84897167ee/main.spi
00:26:12 verbose #69909 >
00:26:12 verbose #69910 > ╭─[ 691.97ms - stdout ]────────────────────────────────────────────────────────╮
00:26:12 verbose #69911 > │ () │
00:26:12 verbose #69912 > │ │
00:26:12 verbose #69913 > │ │
00:26:12 verbose #69914 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #69915 >
00:26:12 verbose #69916 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:12 verbose #69917 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:12 verbose #69918 > │ ## path_buf_is_file │
00:26:12 verbose #69919 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #69920 >
00:26:12 verbose #69921 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:12 verbose #69922 > inl path_buf_is_file (path_buf : path_buf) : bool =
00:26:12 verbose #69923 > open rust_operators
00:26:12 verbose #69924 > !\\(path_buf, $'"$0.is_file()"')
00:26:12 verbose #69925 > 00:26:11 debug #925 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f8fd8686e35baf92e5c2a9e7226a61aaf0bae5d4ad26c3ea319084acac203ef9/main.spi
00:26:12 verbose #69926 >
00:26:12 verbose #69927 > ╭─[ 638.97ms - stdout ]────────────────────────────────────────────────────────╮
00:26:12 verbose #69928 > │ () │
00:26:12 verbose #69929 > │ │
00:26:12 verbose #69930 > │ │
00:26:12 verbose #69931 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #69932 >
00:26:12 verbose #69933 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:12 verbose #69934 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:12 verbose #69935 > │ ## path_buf_parent │
00:26:12 verbose #69936 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:12 verbose #69937 >
00:26:12 verbose #69938 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:12 verbose #69939 > inl path_buf_parent (path_buf : path_buf) : optionm'.option' path_buf =
00:26:12 verbose #69940 > open rust_operators
00:26:12 verbose #69941 > !\\(path_buf, $'"$0.parent().map(std::path::PathBuf::from)"')
00:26:13 verbose #69942 > 00:26:12 debug #926 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/011d126ad0bcba24a90aae1a8b2ffb5225bd5a573c47f329a7867033c17405ac/main.spi
00:26:13 verbose #69943 >
00:26:13 verbose #69944 > ╭─[ 671.30ms - stdout ]────────────────────────────────────────────────────────╮
00:26:13 verbose #69945 > │ () │
00:26:13 verbose #69946 > │ │
00:26:13 verbose #69947 > │ │
00:26:13 verbose #69948 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #69949 >
00:26:13 verbose #69950 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:13 verbose #69951 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:13 verbose #69952 > │ ## ts_path_join │
00:26:13 verbose #69953 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:13 verbose #69954 >
00:26:13 verbose #69955 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:13 verbose #69956 > inl ts_path_join (b : string) (a : string) : string =
00:26:13 verbose #69957 > open ts_operators
00:26:13 verbose #69958 > global "type IPathJoin = abstract join: [[<System.ParamArray>]] paths:
00:26:13 verbose #69959 > string[[]] -> string"
00:26:13 verbose #69960 > inl path : $'IPathJoin' = ts.import_all "path"
00:26:13 verbose #69961 >
00:26:13 verbose #69962 > inl a = join a
00:26:13 verbose #69963 > inl b = join b
00:26:13 verbose #69964 > !\($'"!path.join(!a, !b)"')
00:26:14 verbose #69965 > 00:26:13 debug #927 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4b81fe0dde3a38320ba9ec242a3d5b6c0b65dc6e2bb93146e559c1c864423f3e/main.spi
00:26:14 verbose #69966 >
00:26:14 verbose #69967 > ╭─[ 642.69ms - stdout ]────────────────────────────────────────────────────────╮
00:26:14 verbose #69968 > │ () │
00:26:14 verbose #69969 > │ │
00:26:14 verbose #69970 > │ │
00:26:14 verbose #69971 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #69972 >
00:26:14 verbose #69973 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:14 verbose #69974 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:14 verbose #69975 > │ ## (< />) │
00:26:14 verbose #69976 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #69977 >
00:26:14 verbose #69978 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:14 verbose #69979 > let (</>) (a : string) (b : string) : string =
00:26:14 verbose #69980 > run_target function
00:26:14 verbose #69981 > | Rust (Native) => fun () =>
00:26:14 verbose #69982 > a
00:26:14 verbose #69983 > |> sm'.to_std_string
00:26:14 verbose #69984 > |> new_path_buf
00:26:14 verbose #69985 > |> path_buf_join b
00:26:14 verbose #69986 > |> path_buf_display
00:26:14 verbose #69987 > |> sm'.format'
00:26:14 verbose #69988 > |> sm'.from_std_string
00:26:14 verbose #69989 > | Fsharp (Native) => fun () =>
00:26:14 verbose #69990 > $'System.IO.Path.Combine (!a, !b)'
00:26:14 verbose #69991 > | TypeScript _ => fun () =>
00:26:14 verbose #69992 > a |> ts_path_join b
00:26:14 verbose #69993 > | _ => fun () => null ()
00:26:14 verbose #69994 > 00:26:13 debug #928 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2d1a2c656e3db3b5e52147e6bebe7725f4664f84144126747c5fb9adf946f662/main.spi
00:26:14 verbose #69995 >
00:26:14 verbose #69996 > ╭─[ 666.20ms - stdout ]────────────────────────────────────────────────────────╮
00:26:14 verbose #69997 > │ () │
00:26:14 verbose #69998 > │ │
00:26:14 verbose #69999 > │ │
00:26:14 verbose #70000 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #70001 >
00:26:14 verbose #70002 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:14 verbose #70003 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:14 verbose #70004 > │ ## directory_info │
00:26:14 verbose #70005 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:14 verbose #70006 >
00:26:14 verbose #70007 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:14 verbose #70008 > nominal directory_info = $'System.IO.DirectoryInfo'
00:26:14 verbose #70009 >
00:26:14 verbose #70010 > inl directory_info (path : string) : directory_info =
00:26:14 verbose #70011 > path |> $'`directory_info '
00:26:15 verbose #70012 > 00:26:14 debug #929 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2592c15ff77dd7a0dd9fbff68a042206276ed1409ddaeb9dab7a5a8dbc189c45/main.spi
00:26:15 verbose #70013 >
00:26:15 verbose #70014 > ╭─[ 639.73ms - stdout ]────────────────────────────────────────────────────────╮
00:26:15 verbose #70015 > │ () │
00:26:15 verbose #70016 > │ │
00:26:15 verbose #70017 > │ │
00:26:15 verbose #70018 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:15 verbose #70019 >
00:26:15 verbose #70020 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:15 verbose #70021 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:15 verbose #70022 > │ ## directory_info_exists │
00:26:15 verbose #70023 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:15 verbose #70024 >
00:26:15 verbose #70025 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:15 verbose #70026 > inl directory_info_exists (info : directory_info) : bool =
00:26:15 verbose #70027 > run_target function
00:26:15 verbose #70028 > | Fsharp (Native) => fun () =>
00:26:15 verbose #70029 > $'!info.Exists'
00:26:15 verbose #70030 > | _ => fun () => null ()
00:26:16 verbose #70031 > 00:26:15 debug #930 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/63180896db6f74bf81d4dfee89f8446089c9ab54acb19eab112494399b325c40/main.spi
00:26:16 verbose #70032 >
00:26:16 verbose #70033 > ╭─[ 678.26ms - stdout ]────────────────────────────────────────────────────────╮
00:26:16 verbose #70034 > │ () │
00:26:16 verbose #70035 > │ │
00:26:16 verbose #70036 > │ │
00:26:16 verbose #70037 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #70038 >
00:26:16 verbose #70039 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:16 verbose #70040 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:16 verbose #70041 > │ ## directory_info_creation_time │
00:26:16 verbose #70042 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #70043 >
00:26:16 verbose #70044 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:16 verbose #70045 > inl directory_info_creation_time (info : directory_info) : date_time.date_time =
00:26:16 verbose #70046 > run_target function
00:26:16 verbose #70047 > | Fsharp (Native) => fun () =>
00:26:16 verbose #70048 > $'!info.CreationTime'
00:26:16 verbose #70049 > | _ => fun () => null ()
00:26:16 verbose #70050 > 00:26:15 debug #931 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3abd766d1cfea7b8ec39b04ee814a9ebf11576a9ae190194592b50f1f4f4bf48/main.spi
00:26:16 verbose #70051 >
00:26:16 verbose #70052 > ╭─[ 665.45ms - stdout ]────────────────────────────────────────────────────────╮
00:26:16 verbose #70053 > │ () │
00:26:16 verbose #70054 > │ │
00:26:16 verbose #70055 > │ │
00:26:16 verbose #70056 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #70057 >
00:26:16 verbose #70058 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:16 verbose #70059 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:16 verbose #70060 > │ ## directory_info_name │
00:26:16 verbose #70061 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:16 verbose #70062 >
00:26:16 verbose #70063 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:16 verbose #70064 > inl directory_info_name (info : directory_info) : string =
00:26:16 verbose #70065 > run_target function
00:26:16 verbose #70066 > | Fsharp (Native) => fun () =>
00:26:16 verbose #70067 > $'!info.Name'
00:26:16 verbose #70068 > | _ => fun () => null ()
00:26:17 verbose #70069 > 00:26:16 debug #932 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f29b10cde760af4e2f7b810dfa973bffa073cf853b3eb19af87809ce38886e6c/main.spi
00:26:17 verbose #70070 >
00:26:17 verbose #70071 > ╭─[ 638.72ms - stdout ]────────────────────────────────────────────────────────╮
00:26:17 verbose #70072 > │ () │
00:26:17 verbose #70073 > │ │
00:26:17 verbose #70074 > │ │
00:26:17 verbose #70075 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:17 verbose #70076 >
00:26:17 verbose #70077 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:17 verbose #70078 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:17 verbose #70079 > │ ## directory_info_full_name │
00:26:17 verbose #70080 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:17 verbose #70081 >
00:26:17 verbose #70082 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:17 verbose #70083 > inl directory_info_full_name (info : directory_info) : string =
00:26:17 verbose #70084 > run_target function
00:26:17 verbose #70085 > | Fsharp (Native) => fun () =>
00:26:17 verbose #70086 > $'!info.FullName'
00:26:17 verbose #70087 > | _ => fun () => null ()
00:26:18 verbose #70088 > 00:26:17 debug #933 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/45c24064dd1b41d8b4e595d21f236a37597e5a92356f9ab482fc240b99d19c2c/main.spi
00:26:18 verbose #70089 >
00:26:18 verbose #70090 > ╭─[ 632.45ms - stdout ]────────────────────────────────────────────────────────╮
00:26:18 verbose #70091 > │ () │
00:26:18 verbose #70092 > │ │
00:26:18 verbose #70093 > │ │
00:26:18 verbose #70094 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:18 verbose #70095 >
00:26:18 verbose #70096 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:18 verbose #70097 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:18 verbose #70098 > │ ## dir_entry │
00:26:18 verbose #70099 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:18 verbose #70100 >
00:26:18 verbose #70101 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:18 verbose #70102 > nominal dir_entry = $'async_walkdir_DirEntry'
00:26:18 verbose #70103 > 00:26:17 debug #934 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b445811a53806dd0d99ce23f30fe0a896f95e980dbb3977dcee6368da3d1f9d5/main.spi
00:26:18 verbose #70104 >
00:26:18 verbose #70105 > ╭─[ 663.32ms - stdout ]────────────────────────────────────────────────────────╮
00:26:18 verbose #70106 > │ () │
00:26:18 verbose #70107 > │ │
00:26:18 verbose #70108 > │ │
00:26:18 verbose #70109 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:18 verbose #70110 >
00:26:18 verbose #70111 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:18 verbose #70112 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:18 verbose #70113 > │ ## walk_dir │
00:26:18 verbose #70114 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:18 verbose #70115 >
00:26:18 verbose #70116 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:18 verbose #70117 > nominal walk_dir = $'async_walkdir_WalkDir'
00:26:19 verbose #70118 > 00:26:18 debug #935 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1c8f461a1c94ed01bfabf123284ae49f4fec9ad6b097c3fb2012c4c4cbf70e19/main.spi
00:26:19 verbose #70119 >
00:26:19 verbose #70120 > ╭─[ 630.67ms - stdout ]────────────────────────────────────────────────────────╮
00:26:19 verbose #70121 > │ () │
00:26:19 verbose #70122 > │ │
00:26:19 verbose #70123 > │ │
00:26:19 verbose #70124 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:19 verbose #70125 >
00:26:19 verbose #70126 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:19 verbose #70127 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:19 verbose #70128 > │ ## async_walkdir_filtering │
00:26:19 verbose #70129 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:19 verbose #70130 >
00:26:19 verbose #70131 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:19 verbose #70132 > nominal async_walkdir_filtering = $'async_walkdir_Filtering'
00:26:19 verbose #70133 > 00:26:18 debug #936 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0d430b7c9e86499180ea712a8c5cd3ad55b583d454f360060f7dad52d7195556/main.spi
00:26:20 verbose #70134 >
00:26:20 verbose #70135 > ╭─[ 643.96ms - stdout ]────────────────────────────────────────────────────────╮
00:26:20 verbose #70136 > │ () │
00:26:20 verbose #70137 > │ │
00:26:20 verbose #70138 > │ │
00:26:20 verbose #70139 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:20 verbose #70140 >
00:26:20 verbose #70141 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:20 verbose #70142 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:20 verbose #70143 > │ ## filtering │
00:26:20 verbose #70144 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:20 verbose #70145 >
00:26:20 verbose #70146 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:20 verbose #70147 > union filtering =
00:26:20 verbose #70148 > | Ignore
00:26:20 verbose #70149 > | IgnoreDir
00:26:20 verbose #70150 > | Continue
00:26:20 verbose #70151 > 00:26:19 debug #937 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6f39e4e4402931e57db233476368f905462a205fa19a1f51c31abf109c2efa7c/main.spi
00:26:20 verbose #70152 >
00:26:20 verbose #70153 > ╭─[ 621.27ms - stdout ]────────────────────────────────────────────────────────╮
00:26:20 verbose #70154 > │ () │
00:26:20 verbose #70155 > │ │
00:26:20 verbose #70156 > │ │
00:26:20 verbose #70157 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:20 verbose #70158 >
00:26:20 verbose #70159 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:20 verbose #70160 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:20 verbose #70161 > │ ## stream_filter_map │
00:26:20 verbose #70162 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:20 verbose #70163 >
00:26:20 verbose #70164 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:20 verbose #70165 > inl stream_filter_map forall t.
00:26:20 verbose #70166 > (fn : resultm.result' dir_entry stream.io_error -> optionm'.option' t)
00:26:20 verbose #70167 > (stream : walk_dir)
00:26:20 verbose #70168 > : am'.vec t =
00:26:20 verbose #70169 >
00:26:20 verbose #70170 > inl fn = join fn
00:26:20 verbose #70171 > inl result : am'.vec t =
00:26:20 verbose #70172 >
00:26:20 verbose #70173 > !\($'"futures_lite::stream::StreamExt::collect(futures_lite::stream::StreamExt::
00:26:20 verbose #70174 > filter_map(!stream, |x| !fn(x))).await"')
00:26:20 verbose #70175 > result
00:26:21 verbose #70176 > 00:26:20 debug #938 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8e7e7bc0805f22c2d03a2ce24a70491747ae02cfe505c3501f8f6c3465a612ff/main.spi
00:26:21 verbose #70177 >
00:26:21 verbose #70178 > ╭─[ 680.96ms - stdout ]────────────────────────────────────────────────────────╮
00:26:21 verbose #70179 > │ () │
00:26:21 verbose #70180 > │ │
00:26:21 verbose #70181 > │ │
00:26:21 verbose #70182 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:21 verbose #70183 >
00:26:21 verbose #70184 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:21 verbose #70185 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:21 verbose #70186 > │ ## new_walk_dir │
00:26:21 verbose #70187 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:21 verbose #70188 >
00:26:21 verbose #70189 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:21 verbose #70190 > inl new_walk_dir (dir : string) : walk_dir =
00:26:21 verbose #70191 > !\\(dir, $'"async_walkdir::WalkDir::new(&*$0)"')
00:26:21 verbose #70192 > // inl walk_dir : walk_dir = walk_dir |> rust.to_mut
00:26:21 verbose #70193 > // (!\($'"true; let mut !walk_dir = !walk_dir"') : bool) |> ignore
00:26:21 verbose #70194 > 00:26:20 debug #939 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0d29ed80bcd45447b46c7760fcfee902cd1656ca92b4f0e7d4e9cf0645c7db89/main.spi
00:26:22 verbose #70195 >
00:26:22 verbose #70196 > ╭─[ 685.46ms - stdout ]────────────────────────────────────────────────────────╮
00:26:22 verbose #70197 > │ () │
00:26:22 verbose #70198 > │ │
00:26:22 verbose #70199 > │ │
00:26:22 verbose #70200 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:22 verbose #70201 >
00:26:22 verbose #70202 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:22 verbose #70203 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:22 verbose #70204 > │ ## walk_dir_filter │
00:26:22 verbose #70205 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:22 verbose #70206 >
00:26:22 verbose #70207 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:22 verbose #70208 > inl walk_dir_filter (fn : dir_entry -> async.future_pin_send filtering)
00:26:22 verbose #70209 > (walk_dir : walk_dir) : walk_dir =
00:26:22 verbose #70210 > inl fn entry = async.future_init_send (2, 1) 0 fun () =>
00:26:22 verbose #70211 > inl result = fn entry |> async.await_send
00:26:22 verbose #70212 > inl filtering : async_walkdir_filtering =
00:26:22 verbose #70213 > match result with
00:26:22 verbose #70214 > | Ignore => !\($'"async_walkdir::Filtering::Ignore"')
00:26:22 verbose #70215 > | IgnoreDir => !\($'"async_walkdir::Filtering::IgnoreDir"')
00:26:22 verbose #70216 > | Continue => !\($'"async_walkdir::Filtering::Continue"')
00:26:22 verbose #70217 > filtering
00:26:22 verbose #70218 > !\\((walk_dir, fn), $'"async_walkdir::WalkDir::filter($0, |x| $1(x))"')
00:26:22 verbose #70219 > 00:26:21 debug #940 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d99a2d27aaf2460bb87e18f078e1a4cfbc2c9980a11268e2184d34c1053315d4/main.spi
00:26:22 verbose #70220 >
00:26:22 verbose #70221 > ╭─[ 688.40ms - stdout ]────────────────────────────────────────────────────────╮
00:26:22 verbose #70222 > │ () │
00:26:22 verbose #70223 > │ │
00:26:22 verbose #70224 > │ │
00:26:22 verbose #70225 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:22 verbose #70226 >
00:26:22 verbose #70227 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:22 verbose #70228 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:22 verbose #70229 > │ ## file_type │
00:26:22 verbose #70230 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:22 verbose #70231 >
00:26:22 verbose #70232 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:22 verbose #70233 > nominal file_type = $'std_fs_FileType'
00:26:23 verbose #70234 > 00:26:22 debug #941 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7a9dafe8c79d7e022cf07fdae3b1de14907dac1a49baa4665e8c74e021a5126e/main.spi
00:26:23 verbose #70235 >
00:26:23 verbose #70236 > ╭─[ 638.52ms - stdout ]────────────────────────────────────────────────────────╮
00:26:23 verbose #70237 > │ () │
00:26:23 verbose #70238 > │ │
00:26:23 verbose #70239 > │ │
00:26:23 verbose #70240 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:23 verbose #70241 >
00:26:23 verbose #70242 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:23 verbose #70243 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:23 verbose #70244 > │ ## dir_entry_file_type │
00:26:23 verbose #70245 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:23 verbose #70246 >
00:26:23 verbose #70247 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:23 verbose #70248 > inl dir_entry_file_type (dir_entry : dir_entry) : async.future_pin_send
00:26:23 verbose #70249 > (resultm.result' file_type stream.io_error) =
00:26:23 verbose #70250 > inl dir_entry = join dir_entry
00:26:23 verbose #70251 > !\($'"Box::pin(async_walkdir::DirEntry::file_type(&!dir_entry))"')
00:26:23 verbose #70252 > 00:26:22 debug #942 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/59956ffd9e040d43ec010083205357c6d828cc38be45e4f51e73d13612a19d51/main.spi
00:26:24 verbose #70253 >
00:26:24 verbose #70254 > ╭─[ 618.68ms - stdout ]────────────────────────────────────────────────────────╮
00:26:24 verbose #70255 > │ () │
00:26:24 verbose #70256 > │ │
00:26:24 verbose #70257 > │ │
00:26:24 verbose #70258 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:24 verbose #70259 >
00:26:24 verbose #70260 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:24 verbose #70261 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:24 verbose #70262 > │ ## file_type_is_dir │
00:26:24 verbose #70263 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:24 verbose #70264 >
00:26:24 verbose #70265 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:24 verbose #70266 > inl file_type_is_dir (file_type : file_type) : bool =
00:26:24 verbose #70267 > inl file_type = join file_type
00:26:24 verbose #70268 > !\($'"std::fs::FileType::is_dir(&!file_type)"')
00:26:24 verbose #70269 > 00:26:23 debug #943 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9da91443ff8b1c68d905167992022adc7454622ee039c4882a31cc5eaab7aaad/main.spi
00:26:24 verbose #70270 >
00:26:24 verbose #70271 > ╭─[ 663.40ms - stdout ]────────────────────────────────────────────────────────╮
00:26:24 verbose #70272 > │ () │
00:26:24 verbose #70273 > │ │
00:26:24 verbose #70274 > │ │
00:26:24 verbose #70275 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:24 verbose #70276 >
00:26:24 verbose #70277 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:24 verbose #70278 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:24 verbose #70279 > │ ## file │
00:26:24 verbose #70280 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:24 verbose #70281 >
00:26:24 verbose #70282 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:24 verbose #70283 > nominal file = $'std_fs_File'
00:26:25 verbose #70284 > 00:26:24 debug #944 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/acf9309354fee96f0340dffab77e27cef47a5b60b07cae0087f75ec4fc060e0b/main.spi
00:26:25 verbose #70285 >
00:26:25 verbose #70286 > ╭─[ 650.62ms - stdout ]────────────────────────────────────────────────────────╮
00:26:25 verbose #70287 > │ () │
00:26:25 verbose #70288 > │ │
00:26:25 verbose #70289 > │ │
00:26:25 verbose #70290 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:25 verbose #70291 >
00:26:25 verbose #70292 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:25 verbose #70293 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:25 verbose #70294 > │ ## file_open │
00:26:25 verbose #70295 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:25 verbose #70296 >
00:26:25 verbose #70297 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:25 verbose #70298 > inl file_open (path : string) : resultm.result' file stream.io_error =
00:26:25 verbose #70299 > !\($'"std::fs::File::open(&*!path)"')
00:26:25 verbose #70300 > 00:26:24 debug #945 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5c9a3163da9e9511438fdf38b55d06bef2510c9eaedb2c940dcbaf0eea65506a/main.spi
00:26:26 verbose #70301 >
00:26:26 verbose #70302 > ╭─[ 661.56ms - stdout ]────────────────────────────────────────────────────────╮
00:26:26 verbose #70303 > │ () │
00:26:26 verbose #70304 > │ │
00:26:26 verbose #70305 > │ │
00:26:26 verbose #70306 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:26 verbose #70307 >
00:26:26 verbose #70308 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:26 verbose #70309 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:26 verbose #70310 > │ ## dir_entry_path │
00:26:26 verbose #70311 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:26 verbose #70312 >
00:26:26 verbose #70313 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:26 verbose #70314 > inl dir_entry_path (dir_entry : dir_entry) : path_buf =
00:26:26 verbose #70315 > !\\(dir_entry, $'"async_walkdir::DirEntry::path(&$0)"')
00:26:26 verbose #70316 > 00:26:25 debug #946 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4083a9cc0516daca395184ab596eb93d62d21ce7b7a49709bc1e5cc5f7a1951d/main.spi
00:26:26 verbose #70317 >
00:26:26 verbose #70318 > ╭─[ 644.75ms - stdout ]────────────────────────────────────────────────────────╮
00:26:26 verbose #70319 > │ () │
00:26:26 verbose #70320 > │ │
00:26:26 verbose #70321 > │ │
00:26:26 verbose #70322 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:26 verbose #70323 >
00:26:26 verbose #70324 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:26 verbose #70325 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:26 verbose #70326 > │ ## get_temp_path │
00:26:26 verbose #70327 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:26 verbose #70328 >
00:26:26 verbose #70329 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:26 verbose #70330 > inl get_temp_path () : string =
00:26:26 verbose #70331 > run_target function
00:26:26 verbose #70332 > | Fsharp (Native) => fun () =>
00:26:26 verbose #70333 > $'System.IO.Path.GetTempPath' ()
00:26:26 verbose #70334 > | Rust (Native) => fun () =>
00:26:26 verbose #70335 > open rust_operators
00:26:26 verbose #70336 > !\($'"std::env::temp_dir()"')
00:26:26 verbose #70337 > |> path_buf_display
00:26:26 verbose #70338 > |> sm'.format'
00:26:26 verbose #70339 > |> sm'.from_std_string
00:26:26 verbose #70340 > | _ => fun () => null ()
00:26:27 verbose #70341 > 00:26:26 debug #947 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9474e3755d6a55e3cec9990cd993cc3212c85ef6f59884bf91fb537f3b814cd9/main.spi
00:26:27 verbose #70342 >
00:26:27 verbose #70343 > ╭─[ 638.95ms - stdout ]────────────────────────────────────────────────────────╮
00:26:27 verbose #70344 > │ () │
00:26:27 verbose #70345 > │ │
00:26:27 verbose #70346 > │ │
00:26:27 verbose #70347 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:27 verbose #70348 >
00:26:27 verbose #70349 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:27 verbose #70350 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:27 verbose #70351 > │ ## get_file_name │
00:26:27 verbose #70352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:27 verbose #70353 >
00:26:27 verbose #70354 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:27 verbose #70355 > inl get_file_name (path : string) : string =
00:26:27 verbose #70356 > run_target function
00:26:27 verbose #70357 > | Fsharp (Native) => fun () =>
00:26:27 verbose #70358 > path |> $'System.IO.Path.GetFileName'
00:26:27 verbose #70359 > | Rust (Native) => fun () =>
00:26:27 verbose #70360 > open rust_operators
00:26:27 verbose #70361 > inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:26:27 verbose #70362 > !\\(path_buf, $'"$0.file_name()"')
00:26:27 verbose #70363 > |> optionm'.unwrap
00:26:27 verbose #70364 > |> sm'.from_os_str_ref
00:26:27 verbose #70365 > | _ => fun () => null ()
00:26:27 verbose #70366 > 00:26:26 debug #948 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f4eba5b8754ed72d0c8236254c1509b27ba364115c017bb9783980d6041e15a3/main.spi
00:26:28 verbose #70367 >
00:26:28 verbose #70368 > ╭─[ 680.29ms - stdout ]────────────────────────────────────────────────────────╮
00:26:28 verbose #70369 > │ () │
00:26:28 verbose #70370 > │ │
00:26:28 verbose #70371 > │ │
00:26:28 verbose #70372 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:28 verbose #70373 >
00:26:28 verbose #70374 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:28 verbose #70375 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:28 verbose #70376 > │ ## get_current_directory │
00:26:28 verbose #70377 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:28 verbose #70378 >
00:26:28 verbose #70379 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:28 verbose #70380 > inl get_current_directory () : string =
00:26:28 verbose #70381 > run_target function
00:26:28 verbose #70382 > | Fsharp (Native) => fun () =>
00:26:28 verbose #70383 > $'System.IO.Directory.GetCurrentDirectory' ()
00:26:28 verbose #70384 > | Rust (Native) => fun () =>
00:26:28 verbose #70385 > open rust_operators
00:26:28 verbose #70386 > inl current_dir = !\($'"std::env::current_dir()"') : resultm.result'
00:26:28 verbose #70387 > path_buf stream.io_error
00:26:28 verbose #70388 > current_dir
00:26:28 verbose #70389 > |> resultm.unwrap'
00:26:28 verbose #70390 > |> path_buf_display
00:26:28 verbose #70391 > |> sm'.format'
00:26:28 verbose #70392 > |> sm'.from_std_string
00:26:28 verbose #70393 > | _ => fun () => null ()
00:26:28 verbose #70394 > 00:26:27 debug #949 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ff00bed8175f335509975e17c3542498e2a0338c83efbf2b478e69a7a3e18478/main.spi
00:26:28 verbose #70395 >
00:26:28 verbose #70396 > ╭─[ 685.58ms - stdout ]────────────────────────────────────────────────────────╮
00:26:28 verbose #70397 > │ () │
00:26:28 verbose #70398 > │ │
00:26:28 verbose #70399 > │ │
00:26:28 verbose #70400 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:28 verbose #70401 >
00:26:28 verbose #70402 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:28 verbose #70403 > //// test
00:26:28 verbose #70404 >
00:26:28 verbose #70405 > get_current_directory ()
00:26:29 verbose #70406 > 00:26:28 debug #950 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c2e0e314aa9a5527d2a41c98026034f5cd441d8cc00aae3a0f84c851d12fa499/main.spi
00:26:30 verbose #70407 >
00:26:30 verbose #70408 > ╭─[ 1.32s - return value ]─────────────────────────────────────────────────────╮
00:26:30 verbose #70409 > │ C:\home\git\polyglot\lib\spiral │
00:26:30 verbose #70410 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:30 verbose #70411 >
00:26:30 verbose #70412 > ╭─[ 1.32s - stdout ]───────────────────────────────────────────────────────────╮
00:26:30 verbose #70413 > │ let rec method0 () : string = │
00:26:30 verbose #70414 > │ let v0 : string option = None │
00:26:30 verbose #70415 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:26:30 verbose #70416 > │ │
00:26:30 verbose #70417 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:26:30 verbose #70418 > │ │
00:26:30 verbose #70419 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:26:30 verbose #70420 > │ let v2 : string = "std::env::current_dir()" │
00:26:30 verbose #70421 > │ let v3 : Result<std_path_PathBuf, std_io_Error> = │
00:26:30 verbose #70422 > │ Fable.Core.RustInterop.emitRustExpr () v2 │
00:26:30 verbose #70423 > │ let v4 : string = "$0.unwrap()" │
00:26:30 verbose #70424 > │ let v5 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:26:30 verbose #70425 > │ let v6 : string = "$0.display()" │
00:26:30 verbose #70426 > │ let v7 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:26:30 verbose #70427 > │ let v8 : std_string_String option = None │
00:26:30 verbose #70428 > │ let v9 : bool = true in let mutable _v8 = v8 │
00:26:30 verbose #70429 > │ │
00:26:30 verbose #70430 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:26:30 verbose #70431 > │ │
00:26:30 verbose #70432 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:26:30 verbose #70433 > │ let v10 : string = @$"format!(""{{}}"", $0)" │
00:26:30 verbose #70434 > │ let v11 : std_string_String = Fable.Core.RustInterop.emitRustExpr v7 v10 │
00:26:30 verbose #70435 > │ v11 │
00:26:30 verbose #70436 > │ #endif │
00:26:30 verbose #70437 > │ │
00:26:30 verbose #70438 > │ #if FABLE_COMPILER_RUST && WASM │
00:26:30 verbose #70439 > │ let v12 : string = @$"format!(""{{}}"", $0)" │
00:26:30 verbose #70440 > │ let v13 : std_string_String = Fable.Core.RustInterop.emitRustExpr v7 v12 │
00:26:30 verbose #70441 > │ v13 │
00:26:30 verbose #70442 > │ #endif │
00:26:30 verbose #70443 > │ │
00:26:30 verbose #70444 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:26:30 verbose #70445 > │ let v14 : string = @$"format!(""{{}}"", $0)" │
00:26:30 verbose #70446 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v7 v14 │
00:26:30 verbose #70447 > │ v15 │
00:26:30 verbose #70448 > │ #endif │
00:26:30 verbose #70449 > │ │
00:26:30 verbose #70450 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:26:30 verbose #70451 > │ let v16 : std_string_String = null |> unbox<std_string_String> │
00:26:30 verbose #70452 > │ v16 │
00:26:30 verbose #70453 > │ #endif │
00:26:30 verbose #70454 > │ │
00:26:30 verbose #70455 > │ #if FABLE_COMPILER_PYTHON │
00:26:30 verbose #70456 > │ let v17 : std_string_String = null |> unbox<std_string_String> │
00:26:30 verbose #70457 > │ v17 │
00:26:30 verbose #70458 > │ #endif │
00:26:30 verbose #70459 > │ │
00:26:30 verbose #70460 > │ #else │
00:26:30 verbose #70461 > │ let v18 : std_string_String = null |> unbox<std_string_String> │
00:26:30 verbose #70462 > │ v18 │
00:26:30 verbose #70463 > │ #endif │
00:26:30 verbose #70464 > │ |> fun x -> _v8 <- Some x │
00:26:30 verbose #70465 > │ let v19 : std_string_String = _v8.Value │
00:26:30 verbose #70466 > │ let v20 : string = "fable_library_rust::String_::fromString($0)" │
00:26:30 verbose #70467 > │ let v21 : string = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:26:30 verbose #70468 > │ v21 │
00:26:30 verbose #70469 > │ #endif │
00:26:30 verbose #70470 > │ │
00:26:30 verbose #70471 > │ #if FABLE_COMPILER_RUST && WASM │
00:26:30 verbose #70472 > │ let v22 : string = null |> unbox<string> │
00:26:30 verbose #70473 > │ v22 │
00:26:30 verbose #70474 > │ #endif │
00:26:30 verbose #70475 > │ │
00:26:30 verbose #70476 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:26:30 verbose #70477 > │ let v23 : string = null |> unbox<string> │
00:26:30 verbose #70478 > │ v23 │
00:26:30 verbose #70479 > │ #endif │
00:26:30 verbose #70480 > │ │
00:26:30 verbose #70481 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:26:30 verbose #70482 > │ let v24 : string = null |> unbox<string> │
00:26:30 verbose #70483 > │ v24 │
00:26:30 verbose #70484 > │ #endif │
00:26:30 verbose #70485 > │ │
00:26:30 verbose #70486 > │ #if FABLE_COMPILER_PYTHON │
00:26:30 verbose #70487 > │ let v25 : string = null |> unbox<string> │
00:26:30 verbose #70488 > │ v25 │
00:26:30 verbose #70489 > │ #endif │
00:26:30 verbose #70490 > │ │
00:26:30 verbose #70491 > │ #else │
00:26:30 verbose #70492 > │ let v26 : (unit -> string) = System.IO.Directory.GetCurrentDirectory │
00:26:30 verbose #70493 > │ let v27 : string = v26 () │
00:26:30 verbose #70494 > │ v27 │
00:26:30 verbose #70495 > │ #endif │
00:26:30 verbose #70496 > │ |> fun x -> _v0 <- Some x │
00:26:30 verbose #70497 > │ let v28 : string = _v0.Value │
00:26:30 verbose #70498 > │ v28 │
00:26:30 verbose #70499 > │ method0() │
00:26:30 verbose #70500 > │ │
00:26:30 verbose #70501 > │ │
00:26:30 verbose #70502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:30 verbose #70503 >
00:26:30 verbose #70504 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:30 verbose #70505 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:30 verbose #70506 > │ ## directory_separator_char │
00:26:30 verbose #70507 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:30 verbose #70508 >
00:26:30 verbose #70509 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:30 verbose #70510 > inl directory_separator_char () : char =
00:26:30 verbose #70511 > run_target function
00:26:30 verbose #70512 > | Fsharp (Native) => fun () =>
00:26:30 verbose #70513 > $'System.IO.Path.DirectorySeparatorChar'
00:26:30 verbose #70514 > | Rust (Native) => fun () =>
00:26:30 verbose #70515 > open rust_operators
00:26:30 verbose #70516 > !\($'"std::path::MAIN_SEPARATOR"')
00:26:30 verbose #70517 > | _ => fun () => null ()
00:26:30 verbose #70518 > 00:26:29 debug #951 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/b96ba72e32e0628d80e7ce3833511d660464f9ef286f2acca4d36496b24f9f98/main.spi
00:26:30 verbose #70519 >
00:26:30 verbose #70520 > ╭─[ 746.93ms - stdout ]────────────────────────────────────────────────────────╮
00:26:30 verbose #70521 > │ () │
00:26:30 verbose #70522 > │ │
00:26:30 verbose #70523 > │ │
00:26:30 verbose #70524 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:30 verbose #70525 >
00:26:30 verbose #70526 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:30 verbose #70527 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:30 verbose #70528 > │ ## normalize_path │
00:26:30 verbose #70529 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:30 verbose #70530 >
00:26:30 verbose #70531 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:30 verbose #70532 > inl normalize_path (path : string) : string =
00:26:30 verbose #70533 > inl path = path |> sm'.replace_regex @"^\\\\\?\\" ""
00:26:30 verbose #70534 > $'$"{!path.[[0]] |> string |> _.ToLower()}{!path.[[1..]]}"' |> sm'.replace
00:26:30 verbose #70535 > "\\" "/"
00:26:31 verbose #70536 > 00:26:30 debug #952 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/111cfa30665c9d99433ed59549a261c801bd77ce05e94ecb4afa7e60425404c1/main.spi
00:26:31 verbose #70537 >
00:26:31 verbose #70538 > ╭─[ 640.61ms - stdout ]────────────────────────────────────────────────────────╮
00:26:31 verbose #70539 > │ () │
00:26:31 verbose #70540 > │ │
00:26:31 verbose #70541 > │ │
00:26:31 verbose #70542 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:31 verbose #70543 >
00:26:31 verbose #70544 > ── markdown ────────────────────────────────────────────────────────────────────
00:26:31 verbose #70545 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:26:31 verbose #70546 > │ ## get_full_path │
00:26:31 verbose #70547 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:31 verbose #70548 >
00:26:31 verbose #70549 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:31 verbose #70550 > inl get_full_path (path : string) : string =
00:26:31 verbose #70551 > run_target function
00:26:31 verbose #70552 > | Fsharp (Native) => fun () =>
00:26:31 verbose #70553 > inl path = join path
00:26:31 verbose #70554 > path |> $'System.IO.Path.GetFullPath'
00:26:31 verbose #70555 > | Rust (Native) => fun () =>
00:26:31 verbose #70556 > inl path = join path
00:26:31 verbose #70557 > open rust_operators
00:26:31 verbose #70558 > inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:26:31 verbose #70559 > if path_buf |> path_buf_exists |> not then
00:26:31 verbose #70560 > inl current_dir = get_current_directory ()
00:26:31 verbose #70561 > current_dir </> path
00:26:31 verbose #70562 > |> normalize_path
00:26:31 verbose #70563 > |> sm'.split "/"
00:26:31 verbose #70564 > |> fun x =>
00:26:31 verbose #70565 > ((a x : _ i32 _), (0i32, (a ;[[]] : _ i32 _)))
00:26:31 verbose #70566 > ||> am.foldBack fun x level, acc =>
00:26:31 verbose #70567 > match x, level with
00:26:31 verbose #70568 > | "..", _ => level + 1, acc
00:26:31 verbose #70569 > | _, 0 when x |> sm'.ends_with ":" => 0, a ;[[
00:26:31 verbose #70570 > $'$"{!current_dir.[[0]]}:"' ]] /@ acc
00:26:31 verbose #70571 > | _, 0 => 0, a ;[[ x ]] /@ acc
00:26:31 verbose #70572 > | _ => level - 1, acc
00:26:31 verbose #70573 > |> snd
00:26:31 verbose #70574 > |> seq.of_array'
00:26:31 verbose #70575 > |> sm'.concat (directory_separator_char () |> sm'.obj_to_string)
00:26:31 verbose #70576 > else
00:26:31 verbose #70577 > inl path = !\\(path, $'"std::fs::canonicalize(&*$0)"') :
00:26:31 verbose #70578 > resultm.result' path_buf stream.io_error
00:26:31 verbose #70579 > path
00:26:31 verbose #70580 > |> resultm.unwrap'
00:26:31 verbose #70581 > |> path_buf_display
00:26:31 verbose #70582 > |> sm'.format'
00:26:31 verbose #70583 > |> sm'.from_std_string
00:26:31 verbose #70584 > | _ => fun () => null ()
00:26:32 verbose #70585 > 00:26:30 debug #953 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1e0b8bd02898e0bee6924f902d15cdd293105b97d7332019c15f41af415249ca/main.spi
00:26:32 verbose #70586 >
00:26:32 verbose #70587 > ╭─[ 659.47ms - stdout ]────────────────────────────────────────────────────────╮
00:26:32 verbose #70588 > │ () │
00:26:32 verbose #70589 > │ │
00:26:32 verbose #70590 > │ │
00:26:32 verbose #70591 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:32 verbose #70592 >
00:26:32 verbose #70593 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:32 verbose #70594 > //// test
00:26:32 verbose #70595 > //// print_code=false
00:26:32 verbose #70596 >
00:26:32 verbose #70597 > "."
00:26:32 verbose #70598 > |> get_full_path
00:26:32 verbose #70599 > |> directory_info
00:26:32 verbose #70600 > |> directory_info_name
00:26:32 verbose #70601 > |> _assert_eq "spiral"
00:26:32 verbose #70602 > 00:26:31 debug #954 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/42a5859b67f7d4cbd6c4a12372d8aafdaacff0973e053fbee2452096c51a28ca/main.spi
00:26:33 verbose #70603 >
00:26:33 verbose #70604 > ╭─[ 1.24s - stdout ]───────────────────────────────────────────────────────────╮
00:26:33 verbose #70605 > │ assert_eq / actual: "spiral" / expected: "spiral" │
00:26:33 verbose #70606 > │ │
00:26:33 verbose #70607 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:33 verbose #70608 >
00:26:33 verbose #70609 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:33 verbose #70610 > //// test
00:26:33 verbose #70611 > //// print_code=false
00:26:33 verbose #70612 >
00:26:33 verbose #70613 > "dir/../._file"
00:26:33 verbose #70614 > |> get_full_path
00:26:33 verbose #70615 > |> _assert_eq (get_current_directory () </> "._file")
00:26:33 verbose #70616 > 00:26:32 debug #955 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bd58df37804f67d5f0f06c85e773ab9aecb89ece51d20367fedcaf7034b11fc4/main.spi
00:26:34 verbose #70617 >
00:26:34 verbose #70618 > ╭─[ 745.69ms - stdout ]────────────────────────────────────────────────────────╮
00:26:34 verbose #70619 > │ assert_eq / actual: "C:\home\git\polyglot\lib\spiral\._file" / expected: │
00:26:34 verbose #70620 > │ "C:\home\git\polyglot\lib\spiral\._file" │
00:26:34 verbose #70621 > │ │
00:26:34 verbose #70622 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:26:34 verbose #70623 >
00:26:34 verbose #70624 > ── spiral ──────────────────────────────────────────────────────────────────────
00:26:34 verbose #70625 > //// test
00:26:34 verbose #70626 > //// print_code=false
00:26:34 verbose #70627 > ///! rust
00:26:34 verbose #70628 >
00:26:34 verbose #70629 > types ()
00:26:34 verbose #70630 > "."
00:26:34 verbose #70631 > |> get_full_path
00:26:34 verbose #70632 > |> sm'.to_std_string
00:26:34 verbose #70633 > |> new_path_buf
00:26:34 verbose #70634 > |> path_buf_file_name
00:26:34 verbose #70635 > |> optionm'.unwrap
00:26:34 verbose #70636 > |> sm'.from_os_str_ref
00:26:34 verbose #70637 > |> _assert_eq "spiral"
00:26:34 verbose #70638 > 00:26:33 debug #956 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/188afc04d54a5155ae225d015abd0457a785f581839e55a90d02192f0dc25aec/main.spi
00:27:08 verbose #70639 >
00:27:08 verbose #70640 > ╭─[ 34.77s - return value ]────────────────────────────────────────────────────╮
00:27:08 verbose #70641 > │ assert_eq / actual: "spiral" / expected: "spiral" │
00:27:08 verbose #70642 > │ │
00:27:08 verbose #70643 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:08 verbose #70644 >
00:27:08 verbose #70645 > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:08 verbose #70646 > //// test
00:27:08 verbose #70647 > //// print_code=false
00:27:08 verbose #70648 > ///! rust
00:27:08 verbose #70649 >
00:27:08 verbose #70650 > types ()
00:27:08 verbose #70651 > "dir/../._file"
00:27:08 verbose #70652 > |> get_full_path
00:27:08 verbose #70653 > |> _assert_eq (get_current_directory () </> "._file")
00:27:09 verbose #70654 > 00:27:08 debug #957 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/158703422058dd480d571a1e3d62c8b15b5f8057be49def1e07e4d3a99b5ade1/main.spi
00:27:24 verbose #70655 > 00:27:23 debug #958 Supervisor.supervisor_server.FileTokenRange / module=None / x.uri: file:///c:/home/git/polyglot/target/polyglot/spiral_eval/tokens/2eaca704581995bae46de7905c43fe2d36337cc6ecd367a693caa40187701a34/main.spi
00:27:35 verbose #70656 >
00:27:35 verbose #70657 > ╭─[ 26.43s - return value ]────────────────────────────────────────────────────╮
00:27:35 verbose #70658 > │ assert_eq / actual: "C:\home\git\polyglot\lib\spiral\._file" / expected: │
00:27:35 verbose #70659 > │ "C:\home\git\polyglot\lib\spiral\._file" │
00:27:35 verbose #70660 > │ │
00:27:35 verbose #70661 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:35 verbose #70662 >
00:27:36 verbose #70663 > ── markdown ────────────────────────────────────────────────────────────────────
00:27:36 verbose #70664 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:27:36 verbose #70665 > │ ## create_temp_directory_name │
00:27:36 verbose #70666 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:36 verbose #70667 > 00:27:35 debug #959 Supervisor.supervisor_server.FileTokenRange / module=None / x.uri: file:///c:/home/git/polyglot/target/polyglot/spiral_eval/tokens/275a0252b9f3653133b5e9d579aa83ac908480830f0d10ff2d75618aaa3d1d4f/main.spi
00:27:36 verbose #70668 >
00:27:36 verbose #70669 > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:36 verbose #70670 > inl create_temp_directory_name () =
00:27:36 verbose #70671 > run_target function
00:27:36 verbose #70672 > | Fsharp (Native)
00:27:36 verbose #70673 > | Rust (Native) => fun () =>
00:27:36 verbose #70674 > inl assembly = get_entry_assembly_name ()
00:27:36 verbose #70675 > get_temp_path ()
00:27:36 verbose #70676 > </> ($'$"\!{!assembly}"' : string)
00:27:36 verbose #70677 > </> (date_time.now () |> date_time.new_guid_from_date_time |>
00:27:36 verbose #70678 > sm'.obj_to_string)
00:27:36 verbose #70679 > | _ => fun () => null ()
00:27:37 verbose #70680 > 00:27:36 debug #960 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fce096c964bd7e98ec3ce6eded082303790ee7bfdce682659b885949b4ae6fc5/main.spi
00:27:37 verbose #70681 >
00:27:37 verbose #70682 > ╭─[ 1.04s - stdout ]───────────────────────────────────────────────────────────╮
00:27:37 verbose #70683 > │ () │
00:27:37 verbose #70684 > │ │
00:27:37 verbose #70685 > │ │
00:27:37 verbose #70686 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:37 verbose #70687 >
00:27:37 verbose #70688 > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:37 verbose #70689 > //// test
00:27:37 verbose #70690 > //// print_code=false
00:27:37 verbose #70691 >
00:27:37 verbose #70692 > types ()
00:27:37 verbose #70693 > create_temp_directory_name ()
00:27:37 verbose #70694 > |> _assert_contains (directory_separator_char ())
00:27:38 verbose #70695 > 00:27:37 debug #961 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/00035229725032e5989bd6e7b821a5b3ec8f6f5f05c4919cd96a7b523f0ca84e/main.spi
00:27:40 verbose #70696 >
00:27:40 verbose #70697 > ╭─[ 2.50s - stdout ]───────────────────────────────────────────────────────────╮
00:27:40 verbose #70698 > │ assert_contains / actual: │
00:27:40 verbose #70699 > │ "C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0302-0199-9969-9004 │
00:27:40 verbose #70700 > │ 002ca97c" / expected: '\\' │
00:27:40 verbose #70701 > │ │
00:27:40 verbose #70702 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:27:40 verbose #70703 >
00:27:40 verbose #70704 > ── spiral ──────────────────────────────────────────────────────────────────────
00:27:40 verbose #70705 > //// test
00:27:40 verbose #70706 > ///! rust
00:27:40 verbose #70707 >
00:27:40 verbose #70708 > types ()
00:27:40 verbose #70709 > create_temp_directory_name ()
00:27:40 verbose #70710 > |> _assert_contains (directory_separator_char ())
00:27:40 verbose #70711 > 00:27:39 debug #962 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cc0a8dadf439c4a38854836e5f2f17aca43e81008c4d7b7f9bcbcf4cfa4a607d/main.spi
00:28:15 verbose #70712 >
00:28:15 verbose #70713 > ╭─[ 35.55s - return value ]────────────────────────────────────────────────────╮
00:28:15 verbose #70714 > │ output: │
00:28:16 verbose #70715 > │ assert_contains / actual: │
00:28:16 verbose #70716 > │ "C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0302-3722-9399-0000 │
00:28:16 verbose #70717 > │ 006a8521" / expected: '\\' │
00:28:16 verbose #70718 > │ │
00:28:16 verbose #70719 > │ │
00:28:16 verbose #70720 > │ │
00:28:16 verbose #70721 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:16 verbose #70722 >
00:28:17 verbose #70723 > ╭─[ 36.91s - stdout ]──────────────────────────────────────────────────────────╮
00:28:17 verbose #70724 > │ .fsx: │
00:28:17 verbose #70725 > │ #if FABLE_COMPILER │
00:28:17 verbose #70726 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:28:17 verbose #70727 > │ #endif │
00:28:17 verbose #70728 > │ type Func0<'T> = class end │
00:28:17 verbose #70729 > │ #if FABLE_COMPILER │
00:28:17 verbose #70730 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:28:17 verbose #70731 > │ #endif │
00:28:17 verbose #70732 > │ type Func0<'T, 'U> = class end │
00:28:17 verbose #70733 > │ #if FABLE_COMPILER │
00:28:17 verbose #70734 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:28:17 verbose #70735 > │ #endif │
00:28:17 verbose #70736 > │ type Box<'T> = class end │
00:28:17 verbose #70737 > │ #if FABLE_COMPILER │
00:28:17 verbose #70738 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:28:17 verbose #70739 > │ #endif │
00:28:17 verbose #70740 > │ type Dyn<'T> = class end │
00:28:17 verbose #70741 > │ #if FABLE_COMPILER │
00:28:17 verbose #70742 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:28:17 verbose #70743 > │ #endif │
00:28:17 verbose #70744 > │ type Send<'T> = class end │
00:28:17 verbose #70745 > │ #if FABLE_COMPILER │
00:28:17 verbose #70746 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:28:17 verbose #70747 > │ #endif │
00:28:17 verbose #70748 > │ type Fn<'T> = class end │
00:28:17 verbose #70749 > │ #if FABLE_COMPILER │
00:28:17 verbose #70750 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:28:17 verbose #70751 > │ #endif │
00:28:17 verbose #70752 > │ type FnUnit = class end │
00:28:17 verbose #70753 > │ #if FABLE_COMPILER │
00:28:17 verbose #70754 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:28:17 verbose #70755 > │ #endif │
00:28:17 verbose #70756 > │ type FnOnce<'T> = class end │
00:28:17 verbose #70757 > │ #if FABLE_COMPILER │
00:28:17 verbose #70758 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:28:17 verbose #70759 > │ #endif │
00:28:17 verbose #70760 > │ type ActionFn<'T> = class end │
00:28:17 verbose #70761 > │ #if FABLE_COMPILER │
00:28:17 verbose #70762 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:28:17 verbose #70763 > │ #endif │
00:28:17 verbose #70764 > │ type ActionFn2<'T, 'U> = class end │
00:28:17 verbose #70765 > │ #if FABLE_COMPILER │
00:28:17 verbose #70766 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:28:17 verbose #70767 > │ #endif │
00:28:17 verbose #70768 > │ type Impl<'T> = class end │
00:28:17 verbose #70769 > │ #if FABLE_COMPILER │
00:28:17 verbose #70770 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:28:17 verbose #70771 > │ #endif │
00:28:17 verbose #70772 > │ type Mut<'T> = class end │
00:28:17 verbose #70773 > │ #if FABLE_COMPILER │
00:28:17 verbose #70774 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:28:17 verbose #70775 > │ #endif │
00:28:17 verbose #70776 > │ type Ref<'T> = class end │
00:28:17 verbose #70777 > │ #if FABLE_COMPILER │
00:28:17 verbose #70778 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:28:17 verbose #70779 > │ #endif │
00:28:17 verbose #70780 > │ type StaticRef<'T> = class end │
00:28:17 verbose #70781 > │ #if FABLE_COMPILER │
00:28:17 verbose #70782 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:28:17 verbose #70783 > │ #endif │
00:28:17 verbose #70784 > │ type MutCell<'T> = class end │
00:28:17 verbose #70785 > │ #if FABLE_COMPILER │
00:28:17 verbose #70786 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:28:17 verbose #70787 > │ #endif │
00:28:17 verbose #70788 > │ type std_any_Any = class end │
00:28:17 verbose #70789 > │ #if FABLE_COMPILER │
00:28:17 verbose #70790 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:28:17 verbose #70791 > │ #endif │
00:28:17 verbose #70792 > │ type std_borrow_Cow<'T> = class end │
00:28:17 verbose #70793 > │ #if FABLE_COMPILER │
00:28:17 verbose #70794 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:28:17 verbose #70795 > │ #endif │
00:28:17 verbose #70796 > │ type std_cell_RefCell<'T> = class end │
00:28:17 verbose #70797 > │ #if FABLE_COMPILER │
00:28:17 verbose #70798 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:28:17 verbose #70799 > │ #endif │
00:28:17 verbose #70800 > │ type std_pin_Pin<'T> = class end │
00:28:17 verbose #70801 > │ #if FABLE_COMPILER │
00:28:17 verbose #70802 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:28:17 verbose #70803 > │ #endif │
00:28:17 verbose #70804 > │ type std_rc_Rc<'T> = class end │
00:28:17 verbose #70805 > │ #if FABLE_COMPILER │
00:28:17 verbose #70806 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:28:17 verbose #70807 > │ #endif │
00:28:17 verbose #70808 > │ type std_rc_Weak<'T> = class end │
00:28:17 verbose #70809 > │ #if FABLE_COMPILER │
00:28:17 verbose #70810 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:28:17 verbose #70811 > │ #endif │
00:28:17 verbose #70812 > │ type Str = class end │
00:28:17 verbose #70813 > │ #if FABLE_COMPILER │
00:28:17 verbose #70814 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:28:17 verbose #70815 > │ #endif │
00:28:17 verbose #70816 > │ type base64_DecodeError = class end │
00:28:17 verbose #70817 > │ #if FABLE_COMPILER │
00:28:17 verbose #70818 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:28:17 verbose #70819 > │ #endif │
00:28:17 verbose #70820 > │ type borsh_io_Error = class end │
00:28:17 verbose #70821 > │ #if FABLE_COMPILER │
00:28:17 verbose #70822 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:28:17 verbose #70823 > │ #endif │
00:28:17 verbose #70824 > │ type js_sys_JsString = class end │
00:28:17 verbose #70825 > │ #if FABLE_COMPILER │
00:28:17 verbose #70826 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:28:17 verbose #70827 > │ #endif │
00:28:17 verbose #70828 > │ type serde_json_Error = class end │
00:28:17 verbose #70829 > │ #if FABLE_COMPILER │
00:28:17 verbose #70830 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:28:17 verbose #70831 > │ #endif │
00:28:17 verbose #70832 > │ type serde_json_Value = class end │
00:28:17 verbose #70833 > │ #if FABLE_COMPILER │
00:28:17 verbose #70834 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:28:17 verbose #70835 > │ #endif │
00:28:17 verbose #70836 > │ type serde_wasm_bindgen_Error = class end │
00:28:17 verbose #70837 > │ #if FABLE_COMPILER │
00:28:17 verbose #70838 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:28:17 verbose #70839 > │ #endif │
00:28:17 verbose #70840 > │ type std_ffi_OsStr = class end │
00:28:17 verbose #70841 > │ #if FABLE_COMPILER │
00:28:17 verbose #70842 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:28:17 verbose #70843 > │ #endif │
00:28:17 verbose #70844 > │ type std_ffi_OsString = class end │
00:28:17 verbose #70845 > │ #if FABLE_COMPILER │
00:28:17 verbose #70846 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:28:17 verbose #70847 > │ #endif │
00:28:17 verbose #70848 > │ type std_fmt_Display<'T> = class end │
00:28:17 verbose #70849 > │ #if FABLE_COMPILER │
00:28:17 verbose #70850 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:28:17 verbose #70851 > │ #endif │
00:28:17 verbose #70852 > │ type std_str_Utf8Error = class end │
00:28:17 verbose #70853 > │ #if FABLE_COMPILER │
00:28:17 verbose #70854 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:28:17 verbose #70855 > │ #endif │
00:28:17 verbose #70856 > │ type std_string_FromUtf8Error = class end │
00:28:17 verbose #70857 > │ #if FABLE_COMPILER │
00:28:17 verbose #70858 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:28:17 verbose #70859 > │ #endif │
00:28:17 verbose #70860 > │ type std_string_String = class end │
00:28:17 verbose #70861 > │ #if FABLE_COMPILER │
00:28:17 verbose #70862 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:28:17 verbose #70863 > │ #endif │
00:28:17 verbose #70864 > │ type std_slice_Windows<'T> = class end │
00:28:17 verbose #70865 > │ #if FABLE_COMPILER │
00:28:17 verbose #70866 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:28:17 verbose #70867 > │ #endif │
00:28:17 verbose #70868 > │ type chrono_DateTime<'T> = class end │
00:28:17 verbose #70869 > │ #if FABLE_COMPILER │
00:28:17 verbose #70870 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:28:17 verbose #70871 > │ #endif │
00:28:17 verbose #70872 > │ type chrono_Local = class end │
00:28:17 verbose #70873 > │ #if FABLE_COMPILER │
00:28:17 verbose #70874 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:28:17 verbose #70875 > │ #endif │
00:28:17 verbose #70876 > │ type chrono_NaiveDateTime = class end │
00:28:17 verbose #70877 > │ #if FABLE_COMPILER │
00:28:17 verbose #70878 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:28:17 verbose #70879 > │ #endif │
00:28:17 verbose #70880 > │ type chrono_Utc = class end │
00:28:17 verbose #70881 > │ #if FABLE_COMPILER │
00:28:17 verbose #70882 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:28:17 verbose #70883 > │ #endif │
00:28:17 verbose #70884 > │ type std_time_Duration = class end │
00:28:17 verbose #70885 > │ #if FABLE_COMPILER │
00:28:17 verbose #70886 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:28:17 verbose #70887 > │ #endif │
00:28:17 verbose #70888 > │ type async_std_io_BufReader<'T> = class end │
00:28:17 verbose #70889 > │ #if FABLE_COMPILER │
00:28:17 verbose #70890 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:28:17 verbose #70891 > │ #endif │
00:28:17 verbose #70892 > │ type std_io_BufReader<'T> = class end │
00:28:17 verbose #70893 > │ #if FABLE_COMPILER │
00:28:17 verbose #70894 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:28:17 verbose #70895 > │ #endif │
00:28:17 verbose #70896 > │ type std_io_Error = class end │
00:28:17 verbose #70897 > │ #if FABLE_COMPILER │
00:28:17 verbose #70898 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:28:17 verbose #70899 > │ #endif │
00:28:17 verbose #70900 > │ type std_io_Lines<'T> = class end │
00:28:17 verbose #70901 > │ #if FABLE_COMPILER │
00:28:17 verbose #70902 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:28:17 verbose #70903 > │ #endif │
00:28:17 verbose #70904 > │ type std_fs_File = class end │
00:28:17 verbose #70905 > │ #if FABLE_COMPILER │
00:28:17 verbose #70906 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:28:17 verbose #70907 > │ #endif │
00:28:17 verbose #70908 > │ type std_fs_FileType = class end │
00:28:17 verbose #70909 > │ #if FABLE_COMPILER │
00:28:17 verbose #70910 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:28:17 verbose #70911 > │ #endif │
00:28:17 verbose #70912 > │ type std_path_Display = class end │
00:28:17 verbose #70913 > │ #if FABLE_COMPILER │
00:28:17 verbose #70914 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:28:17 verbose #70915 > │ #endif │
00:28:17 verbose #70916 > │ type std_path_Path = class end │
00:28:17 verbose #70917 > │ #if FABLE_COMPILER │
00:28:17 verbose #70918 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:28:17 verbose #70919 > │ #endif │
00:28:17 verbose #70920 > │ type std_path_PathBuf = class end │
00:28:17 verbose #70921 > │ #if FABLE_COMPILER │
00:28:17 verbose #70922 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:28:17 verbose #70923 > │ #endif │
00:28:17 verbose #70924 > │ type async_walkdir_DirEntry = class end │
00:28:17 verbose #70925 > │ #if FABLE_COMPILER │
00:28:17 verbose #70926 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:28:17 verbose #70927 > │ #endif │
00:28:17 verbose #70928 > │ type async_walkdir_Filtering = class end │
00:28:17 verbose #70929 > │ #if FABLE_COMPILER │
00:28:17 verbose #70930 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:28:17 verbose #70931 > │ #endif │
00:28:17 verbose #70932 > │ type async_walkdir_WalkDir = class end │
00:28:17 verbose #70933 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:28:17 verbose #70934 > │ string │
00:28:17 verbose #70935 > │ type [<Struct>] US0 = │
00:28:17 verbose #70936 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:28:17 verbose #70937 > │ | US0_1 │
00:28:17 verbose #70938 > │ and [<Struct>] US1 = │
00:28:17 verbose #70939 > │ | US1_0 of f0_0 : string │
00:28:17 verbose #70940 > │ | US1_1 │
00:28:17 verbose #70941 > │ and [<Struct>] US2 = │
00:28:17 verbose #70942 > │ | US2_0 of f0_0 : char │
00:28:17 verbose #70943 > │ | US2_1 │
00:28:17 verbose #70944 > │ let rec method2 (v0 : string) : string = │
00:28:17 verbose #70945 > │ v0 │
00:28:17 verbose #70946 > │ and method3 (v0 : string) : string = │
00:28:17 verbose #70947 > │ v0 │
00:28:17 verbose #70948 > │ and method4 (v0 : string) : string = │
00:28:17 verbose #70949 > │ v0 │
00:28:17 verbose #70950 > │ and method1 (v0 : string, v1 : string) : string = │
00:28:17 verbose #70951 > │ let v2 : string option = None │
00:28:17 verbose #70952 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:28:17 verbose #70953 > │ │
00:28:17 verbose #70954 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:17 verbose #70955 > │ │
00:28:17 verbose #70956 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:17 verbose #70957 > │ let v4 : string = method2(v0) │
00:28:17 verbose #70958 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:28:17 verbose #70959 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:28:17 verbose #70960 > │ let v7 : string = "String::from($0)" │
00:28:17 verbose #70961 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:28:17 verbose #70962 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:28:17 verbose #70963 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:28:17 verbose #70964 > │ let v11 : string = method2(v1) │
00:28:17 verbose #70965 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:28:17 verbose #70966 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:28:17 verbose #70967 > │ let v14 : string = "String::from($0)" │
00:28:17 verbose #70968 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:28:17 verbose #70969 > │ v14 │
00:28:17 verbose #70970 > │ let v16 : string = "$0.join($1)" │
00:28:17 verbose #70971 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:28:17 verbose #70972 > │ (v10, v15) v16 │
00:28:17 verbose #70973 > │ let v18 : string = "$0.display()" │
00:28:17 verbose #70974 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:28:17 verbose #70975 > │ let v20 : std_string_String option = None │
00:28:17 verbose #70976 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:28:17 verbose #70977 > │ │
00:28:17 verbose #70978 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:17 verbose #70979 > │ │
00:28:17 verbose #70980 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:17 verbose #70981 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:28:17 verbose #70982 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:28:17 verbose #70983 > │ v22 │
00:28:17 verbose #70984 > │ v23 │
00:28:17 verbose #70985 > │ #endif │
00:28:17 verbose #70986 > │ │
00:28:17 verbose #70987 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:17 verbose #70988 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:28:17 verbose #70989 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:28:17 verbose #70990 > │ v24 │
00:28:17 verbose #70991 > │ v25 │
00:28:17 verbose #70992 > │ #endif │
00:28:17 verbose #70993 > │ │
00:28:17 verbose #70994 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:17 verbose #70995 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:28:17 verbose #70996 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:28:17 verbose #70997 > │ v26 │
00:28:17 verbose #70998 > │ v27 │
00:28:17 verbose #70999 > │ #endif │
00:28:17 verbose #71000 > │ │
00:28:17 verbose #71001 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:17 verbose #71002 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:28:17 verbose #71003 > │ v28 │
00:28:17 verbose #71004 > │ #endif │
00:28:17 verbose #71005 > │ │
00:28:17 verbose #71006 > │ #if FABLE_COMPILER_PYTHON │
00:28:17 verbose #71007 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:28:17 verbose #71008 > │ v29 │
00:28:17 verbose #71009 > │ #endif │
00:28:17 verbose #71010 > │ │
00:28:17 verbose #71011 > │ #else │
00:28:17 verbose #71012 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:28:17 verbose #71013 > │ v30 │
00:28:17 verbose #71014 > │ #endif │
00:28:17 verbose #71015 > │ |> fun x -> _v20 <- Some x │
00:28:17 verbose #71016 > │ let v31 : std_string_String = _v20.Value │
00:28:17 verbose #71017 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:28:17 verbose #71018 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:28:17 verbose #71019 > │ v33 │
00:28:17 verbose #71020 > │ #endif │
00:28:17 verbose #71021 > │ │
00:28:17 verbose #71022 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:17 verbose #71023 > │ let v34 : string = null |> unbox<string> │
00:28:17 verbose #71024 > │ v34 │
00:28:17 verbose #71025 > │ #endif │
00:28:17 verbose #71026 > │ │
00:28:17 verbose #71027 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:17 verbose #71028 > │ let v35 : string = null |> unbox<string> │
00:28:17 verbose #71029 > │ v35 │
00:28:17 verbose #71030 > │ #endif │
00:28:17 verbose #71031 > │ │
00:28:17 verbose #71032 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:17 verbose #71033 > │ let v36 : string = "path" │
00:28:17 verbose #71034 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:28:17 verbose #71035 > │ let v38 : string = method3(v0) │
00:28:17 verbose #71036 > │ let v39 : string = method4(v1) │
00:28:17 verbose #71037 > │ let v40 : string = "v37.join(v38, v39)" │
00:28:17 verbose #71038 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:28:17 verbose #71039 > │ v41 │
00:28:17 verbose #71040 > │ #endif │
00:28:17 verbose #71041 > │ │
00:28:17 verbose #71042 > │ #if FABLE_COMPILER_PYTHON │
00:28:17 verbose #71043 > │ let v42 : string = null |> unbox<string> │
00:28:17 verbose #71044 > │ v42 │
00:28:17 verbose #71045 > │ #endif │
00:28:17 verbose #71046 > │ │
00:28:17 verbose #71047 > │ #else │
00:28:17 verbose #71048 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:28:17 verbose #71049 > │ v43 │
00:28:17 verbose #71050 > │ #endif │
00:28:17 verbose #71051 > │ |> fun x -> _v2 <- Some x │
00:28:17 verbose #71052 > │ let v44 : string = _v2.Value │
00:28:17 verbose #71053 > │ v44 │
00:28:17 verbose #71054 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:28:17 verbose #71055 > │ US0_0(v0) │
00:28:17 verbose #71056 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:28:17 verbose #71057 > │ closure0() │
00:28:17 verbose #71058 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:28:17 verbose #71059 > │ = │
00:28:17 verbose #71060 > │ v0 │
00:28:17 verbose #71061 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:28:17 verbose #71062 > │ chrono_DateTime<chrono_Local> = │
00:28:17 verbose #71063 > │ v0 │
00:28:17 verbose #71064 > │ and method8 () : string = │
00:28:17 verbose #71065 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:28:17 verbose #71066 > │ v0 │
00:28:17 verbose #71067 > │ and method9 () : string = │
00:28:17 verbose #71068 > │ let v0 : string = "hhmm" │
00:28:17 verbose #71069 > │ v0 │
00:28:17 verbose #71070 > │ and closure1 (v0 : char) (v1 : char) : bool = │
00:28:17 verbose #71071 > │ let v2 : bool = v0 = v1 │
00:28:17 verbose #71072 > │ v2 │
00:28:17 verbose #71073 > │ and closure2 () (v0 : char) : US2 = │
00:28:17 verbose #71074 > │ US2_0(v0) │
00:28:17 verbose #71075 > │ and method10 () : (char -> US2) = │
00:28:17 verbose #71076 > │ closure2() │
00:28:17 verbose #71077 > │ and method11 (v0 : bool) : bool = │
00:28:17 verbose #71078 > │ v0 │
00:28:17 verbose #71079 > │ and method0 () : unit = │
00:28:17 verbose #71080 > │ let v0 : string option = None │
00:28:17 verbose #71081 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:28:17 verbose #71082 > │ │
00:28:17 verbose #71083 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:17 verbose #71084 > │ │
00:28:17 verbose #71085 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:17 verbose #71086 > │ let v2 : string option = None │
00:28:17 verbose #71087 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:28:17 verbose #71088 > │ │
00:28:17 verbose #71089 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:17 verbose #71090 > │ │
00:28:17 verbose #71091 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:17 verbose #71092 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:28:17 verbose #71093 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:28:17 verbose #71094 > │ v5 │
00:28:17 verbose #71095 > │ #endif │
00:28:17 verbose #71096 > │ │
00:28:17 verbose #71097 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:17 verbose #71098 > │ let v6 : string = null |> unbox<string> │
00:28:17 verbose #71099 > │ v6 │
00:28:17 verbose #71100 > │ #endif │
00:28:17 verbose #71101 > │ │
00:28:17 verbose #71102 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:17 verbose #71103 > │ let v7 : string = null |> unbox<string> │
00:28:17 verbose #71104 > │ v7 │
00:28:17 verbose #71105 > │ #endif │
00:28:18 verbose #71106 > │ │
00:28:18 verbose #71107 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71108 > │ let v8 : string = null |> unbox<string> │
00:28:18 verbose #71109 > │ v8 │
00:28:18 verbose #71110 > │ #endif │
00:28:18 verbose #71111 > │ │
00:28:18 verbose #71112 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71113 > │ let v9 : string = null |> unbox<string> │
00:28:18 verbose #71114 > │ v9 │
00:28:18 verbose #71115 > │ #endif │
00:28:18 verbose #71116 > │ │
00:28:18 verbose #71117 > │ #else │
00:28:18 verbose #71118 > │ let v10 : string = │
00:28:18 verbose #71119 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:28:18 verbose #71120 > │ v10 │
00:28:18 verbose #71121 > │ #endif │
00:28:18 verbose #71122 > │ |> fun x -> _v2 <- Some x │
00:28:18 verbose #71123 > │ let v11 : string = _v2.Value │
00:28:18 verbose #71124 > │ let v12 : string option = None │
00:28:18 verbose #71125 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:28:18 verbose #71126 > │ │
00:28:18 verbose #71127 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71128 > │ │
00:28:18 verbose #71129 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71130 > │ let v14 : string = "std::env::temp_dir()" │
00:28:18 verbose #71131 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:28:18 verbose #71132 > │ let v16 : string = "$0.display()" │
00:28:18 verbose #71133 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:28:18 verbose #71134 > │ let v18 : std_string_String option = None │
00:28:18 verbose #71135 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:28:18 verbose #71136 > │ │
00:28:18 verbose #71137 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71138 > │ │
00:28:18 verbose #71139 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71140 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:28:18 verbose #71141 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:28:18 verbose #71142 > │ v20 │
00:28:18 verbose #71143 > │ v21 │
00:28:18 verbose #71144 > │ #endif │
00:28:18 verbose #71145 > │ │
00:28:18 verbose #71146 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71147 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:28:18 verbose #71148 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:28:18 verbose #71149 > │ v22 │
00:28:18 verbose #71150 > │ v23 │
00:28:18 verbose #71151 > │ #endif │
00:28:18 verbose #71152 > │ │
00:28:18 verbose #71153 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71154 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:28:18 verbose #71155 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:28:18 verbose #71156 > │ v24 │
00:28:18 verbose #71157 > │ v25 │
00:28:18 verbose #71158 > │ #endif │
00:28:18 verbose #71159 > │ │
00:28:18 verbose #71160 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71161 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:28:18 verbose #71162 > │ v26 │
00:28:18 verbose #71163 > │ #endif │
00:28:18 verbose #71164 > │ │
00:28:18 verbose #71165 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71166 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:28:18 verbose #71167 > │ v27 │
00:28:18 verbose #71168 > │ #endif │
00:28:18 verbose #71169 > │ │
00:28:18 verbose #71170 > │ #else │
00:28:18 verbose #71171 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:28:18 verbose #71172 > │ v28 │
00:28:18 verbose #71173 > │ #endif │
00:28:18 verbose #71174 > │ |> fun x -> _v18 <- Some x │
00:28:18 verbose #71175 > │ let v29 : std_string_String = _v18.Value │
00:28:18 verbose #71176 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:28:18 verbose #71177 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:28:18 verbose #71178 > │ v31 │
00:28:18 verbose #71179 > │ #endif │
00:28:18 verbose #71180 > │ │
00:28:18 verbose #71181 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71182 > │ let v32 : string = null |> unbox<string> │
00:28:18 verbose #71183 > │ v32 │
00:28:18 verbose #71184 > │ #endif │
00:28:18 verbose #71185 > │ │
00:28:18 verbose #71186 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71187 > │ let v33 : string = null |> unbox<string> │
00:28:18 verbose #71188 > │ v33 │
00:28:18 verbose #71189 > │ #endif │
00:28:18 verbose #71190 > │ │
00:28:18 verbose #71191 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71192 > │ let v34 : string = null |> unbox<string> │
00:28:18 verbose #71193 > │ v34 │
00:28:18 verbose #71194 > │ #endif │
00:28:18 verbose #71195 > │ │
00:28:18 verbose #71196 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71197 > │ let v35 : string = null |> unbox<string> │
00:28:18 verbose #71198 > │ v35 │
00:28:18 verbose #71199 > │ #endif │
00:28:18 verbose #71200 > │ │
00:28:18 verbose #71201 > │ #else │
00:28:18 verbose #71202 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:28:18 verbose #71203 > │ let v37 : string = v36 () │
00:28:18 verbose #71204 > │ v37 │
00:28:18 verbose #71205 > │ #endif │
00:28:18 verbose #71206 > │ |> fun x -> _v12 <- Some x │
00:28:18 verbose #71207 > │ let v38 : string = _v12.Value │
00:28:18 verbose #71208 > │ let v39 : string = $"!{v11}" │
00:28:18 verbose #71209 > │ let v40 : string = method1(v38, v39) │
00:28:18 verbose #71210 > │ let v41 : System.DateTime = System.DateTime.Now │
00:28:18 verbose #71211 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:28:18 verbose #71212 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:28:18 verbose #71213 > │ let v44 : string = v43 v42 │
00:28:18 verbose #71214 > │ let v45 : struct (string * string) option = None │
00:28:18 verbose #71215 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:28:18 verbose #71216 > │ │
00:28:18 verbose #71217 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71218 > │ │
00:28:18 verbose #71219 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71220 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:28:18 verbose #71221 > │ System.DateTimeKind.Utc) │
00:28:18 verbose #71222 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:28:18 verbose #71223 > │ let v49 : System.DateTime = v48 v47 │
00:28:18 verbose #71224 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:28:18 verbose #71225 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:28:18 verbose #71226 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:28:18 verbose #71227 > │ let v53 : System.DateTime = v52 v51 │
00:28:18 verbose #71228 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:28:18 verbose #71229 > │ let v55 : int64 = v54 v53 │
00:28:18 verbose #71230 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:28:18 verbose #71231 > │ let v57 : int64 = v56 v49 │
00:28:18 verbose #71232 > │ let v58 : int64 = v55 - v57 │
00:28:18 verbose #71233 > │ let v59 : int64 = v58 / 10L │
00:28:18 verbose #71234 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:28:18 verbose #71235 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:28:18 verbose #71236 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:28:18 verbose #71237 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:28:18 verbose #71238 > │ let v63 : US0 = US0_1 │
00:28:18 verbose #71239 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:28:18 verbose #71240 > │ let v83 : US1 = │
00:28:18 verbose #71241 > │ match v64 with │
00:28:18 verbose #71242 > │ | US0_1 -> (* None *) │
00:28:18 verbose #71243 > │ US1_1 │
00:28:18 verbose #71244 > │ | US0_0(v65) -> (* Some *) │
00:28:18 verbose #71245 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:28:18 verbose #71246 > │ let v67 : string = "v66.naive_utc()" │
00:28:18 verbose #71247 > │ let v68 : chrono_NaiveDateTime = │
00:28:18 verbose #71248 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:28:18 verbose #71249 > │ let v69 : string = │
00:28:18 verbose #71250 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:28:18 verbose #71251 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:28:18 verbose #71252 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:28:18 verbose #71253 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:28:18 verbose #71254 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:28:18 verbose #71255 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:28:18 verbose #71256 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:28:18 verbose #71257 > │ let v75 : string = "v74.format(v73).to_string()" │
00:28:18 verbose #71258 > │ let v76 : std_string_String = │
00:28:18 verbose #71259 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:28:18 verbose #71260 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:28:18 verbose #71261 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:28:18 verbose #71262 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:28:18 verbose #71263 > │ US1_0(v79) │
00:28:18 verbose #71264 > │ let v87 : string = │
00:28:18 verbose #71265 > │ match v83 with │
00:28:18 verbose #71266 > │ | US1_1 -> (* None *) │
00:28:18 verbose #71267 > │ let v85 : string = "" │
00:28:18 verbose #71268 > │ v85 │
00:28:18 verbose #71269 > │ | US1_0(v84) -> (* Some *) │
00:28:18 verbose #71270 > │ v84 │
00:28:18 verbose #71271 > │ let v88 : System.TimeZoneInfo option = None │
00:28:18 verbose #71272 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:28:18 verbose #71273 > │ │
00:28:18 verbose #71274 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71275 > │ │
00:28:18 verbose #71276 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71277 > │ let v90 : string = "0i64.into()" │
00:28:18 verbose #71278 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71279 > │ v90 │
00:28:18 verbose #71280 > │ v91 │
00:28:18 verbose #71281 > │ #endif │
00:28:18 verbose #71282 > │ │
00:28:18 verbose #71283 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71284 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71285 > │ v92 │
00:28:18 verbose #71286 > │ #endif │
00:28:18 verbose #71287 > │ │
00:28:18 verbose #71288 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71289 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71290 > │ v93 │
00:28:18 verbose #71291 > │ #endif │
00:28:18 verbose #71292 > │ │
00:28:18 verbose #71293 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71294 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71295 > │ v94 │
00:28:18 verbose #71296 > │ #endif │
00:28:18 verbose #71297 > │ │
00:28:18 verbose #71298 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71299 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71300 > │ v95 │
00:28:18 verbose #71301 > │ #endif │
00:28:18 verbose #71302 > │ │
00:28:18 verbose #71303 > │ #else │
00:28:18 verbose #71304 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:18 verbose #71305 > │ v96 │
00:28:18 verbose #71306 > │ #endif │
00:28:18 verbose #71307 > │ |> fun x -> _v88 <- Some x │
00:28:18 verbose #71308 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:28:18 verbose #71309 > │ let v98 : System.TimeSpan option = None │
00:28:18 verbose #71310 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:28:18 verbose #71311 > │ │
00:28:18 verbose #71312 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71313 > │ │
00:28:18 verbose #71314 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71315 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71316 > │ v100 │
00:28:18 verbose #71317 > │ #endif │
00:28:18 verbose #71318 > │ │
00:28:18 verbose #71319 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71320 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71321 > │ v101 │
00:28:18 verbose #71322 > │ #endif │
00:28:18 verbose #71323 > │ │
00:28:18 verbose #71324 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71325 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71326 > │ v102 │
00:28:18 verbose #71327 > │ #endif │
00:28:18 verbose #71328 > │ │
00:28:18 verbose #71329 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71330 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71331 > │ v103 │
00:28:18 verbose #71332 > │ #endif │
00:28:18 verbose #71333 > │ │
00:28:18 verbose #71334 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71335 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71336 > │ v104 │
00:28:18 verbose #71337 > │ #endif │
00:28:18 verbose #71338 > │ │
00:28:18 verbose #71339 > │ #else │
00:28:18 verbose #71340 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:28:18 verbose #71341 > │ = _.GetUtcOffset │
00:28:18 verbose #71342 > │ let v106 : System.TimeZoneInfo option = None │
00:28:18 verbose #71343 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:28:18 verbose #71344 > │ │
00:28:18 verbose #71345 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71346 > │ │
00:28:18 verbose #71347 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71348 > │ let v108 : string = "0i64.into()" │
00:28:18 verbose #71349 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71350 > │ v108 │
00:28:18 verbose #71351 > │ v109 │
00:28:18 verbose #71352 > │ #endif │
00:28:18 verbose #71353 > │ │
00:28:18 verbose #71354 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71355 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71356 > │ v110 │
00:28:18 verbose #71357 > │ #endif │
00:28:18 verbose #71358 > │ │
00:28:18 verbose #71359 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71360 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71361 > │ v111 │
00:28:18 verbose #71362 > │ #endif │
00:28:18 verbose #71363 > │ │
00:28:18 verbose #71364 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71365 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71366 > │ v112 │
00:28:18 verbose #71367 > │ #endif │
00:28:18 verbose #71368 > │ │
00:28:18 verbose #71369 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71370 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71371 > │ v113 │
00:28:18 verbose #71372 > │ #endif │
00:28:18 verbose #71373 > │ │
00:28:18 verbose #71374 > │ #else │
00:28:18 verbose #71375 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:18 verbose #71376 > │ v114 │
00:28:18 verbose #71377 > │ #endif │
00:28:18 verbose #71378 > │ |> fun x -> _v106 <- Some x │
00:28:18 verbose #71379 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:28:18 verbose #71380 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:28:18 verbose #71381 > │ let v117 : System.TimeSpan = v116 v53 │
00:28:18 verbose #71382 > │ v117 │
00:28:18 verbose #71383 > │ #endif │
00:28:18 verbose #71384 > │ |> fun x -> _v98 <- Some x │
00:28:18 verbose #71385 > │ let v118 : System.TimeSpan = _v98.Value │
00:28:18 verbose #71386 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:28:18 verbose #71387 > │ let v120 : int32 = v119 v118 │
00:28:18 verbose #71388 > │ let v121 : bool = v120 > 0 │
00:28:18 verbose #71389 > │ let v122 : uint8 = │
00:28:18 verbose #71390 > │ if v121 then │
00:28:18 verbose #71391 > │ 1uy │
00:28:18 verbose #71392 > │ else │
00:28:18 verbose #71393 > │ 0uy │
00:28:18 verbose #71394 > │ let v123 : (string -> string) = v118.ToString │
00:28:18 verbose #71395 > │ let v124 : string = "hh:mm" │
00:28:18 verbose #71396 > │ let v125 : string = v123 v124 │
00:28:18 verbose #71397 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:28:18 verbose #71398 > │ struct (v87, v126) │
00:28:18 verbose #71399 > │ #endif │
00:28:18 verbose #71400 > │ │
00:28:18 verbose #71401 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71402 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:28:18 verbose #71403 > │ * string)> │
00:28:18 verbose #71404 > │ struct (v127, v128) │
00:28:18 verbose #71405 > │ #endif │
00:28:18 verbose #71406 > │ │
00:28:18 verbose #71407 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71408 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:28:18 verbose #71409 > │ * string)> │
00:28:18 verbose #71410 > │ struct (v129, v130) │
00:28:18 verbose #71411 > │ #endif │
00:28:18 verbose #71412 > │ │
00:28:18 verbose #71413 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71414 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:28:18 verbose #71415 > │ * string)> │
00:28:18 verbose #71416 > │ struct (v131, v132) │
00:28:18 verbose #71417 > │ #endif │
00:28:18 verbose #71418 > │ │
00:28:18 verbose #71419 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71420 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:28:18 verbose #71421 > │ * string)> │
00:28:18 verbose #71422 > │ struct (v133, v134) │
00:28:18 verbose #71423 > │ #endif │
00:28:18 verbose #71424 > │ │
00:28:18 verbose #71425 > │ #else │
00:28:18 verbose #71426 > │ let v135 : string = method8() │
00:28:18 verbose #71427 > │ let v136 : (string -> string) = v41.ToString │
00:28:18 verbose #71428 > │ let v137 : string = v136 v135 │
00:28:18 verbose #71429 > │ let v138 : System.TimeZoneInfo option = None │
00:28:18 verbose #71430 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:28:18 verbose #71431 > │ │
00:28:18 verbose #71432 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71433 > │ │
00:28:18 verbose #71434 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71435 > │ let v140 : string = "0i64.into()" │
00:28:18 verbose #71436 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71437 > │ v140 │
00:28:18 verbose #71438 > │ v141 │
00:28:18 verbose #71439 > │ #endif │
00:28:18 verbose #71440 > │ │
00:28:18 verbose #71441 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71442 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71443 > │ v142 │
00:28:18 verbose #71444 > │ #endif │
00:28:18 verbose #71445 > │ │
00:28:18 verbose #71446 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71447 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71448 > │ v143 │
00:28:18 verbose #71449 > │ #endif │
00:28:18 verbose #71450 > │ │
00:28:18 verbose #71451 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71452 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71453 > │ v144 │
00:28:18 verbose #71454 > │ #endif │
00:28:18 verbose #71455 > │ │
00:28:18 verbose #71456 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71457 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71458 > │ v145 │
00:28:18 verbose #71459 > │ #endif │
00:28:18 verbose #71460 > │ │
00:28:18 verbose #71461 > │ #else │
00:28:18 verbose #71462 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:18 verbose #71463 > │ v146 │
00:28:18 verbose #71464 > │ #endif │
00:28:18 verbose #71465 > │ |> fun x -> _v138 <- Some x │
00:28:18 verbose #71466 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:28:18 verbose #71467 > │ let v148 : System.TimeSpan option = None │
00:28:18 verbose #71468 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:28:18 verbose #71469 > │ │
00:28:18 verbose #71470 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71471 > │ │
00:28:18 verbose #71472 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71473 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71474 > │ v150 │
00:28:18 verbose #71475 > │ #endif │
00:28:18 verbose #71476 > │ │
00:28:18 verbose #71477 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71478 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71479 > │ v151 │
00:28:18 verbose #71480 > │ #endif │
00:28:18 verbose #71481 > │ │
00:28:18 verbose #71482 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71483 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71484 > │ v152 │
00:28:18 verbose #71485 > │ #endif │
00:28:18 verbose #71486 > │ │
00:28:18 verbose #71487 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71488 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71489 > │ v153 │
00:28:18 verbose #71490 > │ #endif │
00:28:18 verbose #71491 > │ │
00:28:18 verbose #71492 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71493 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71494 > │ v154 │
00:28:18 verbose #71495 > │ #endif │
00:28:18 verbose #71496 > │ │
00:28:18 verbose #71497 > │ #else │
00:28:18 verbose #71498 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:28:18 verbose #71499 > │ = _.GetUtcOffset │
00:28:18 verbose #71500 > │ let v156 : System.TimeZoneInfo option = None │
00:28:18 verbose #71501 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:28:18 verbose #71502 > │ │
00:28:18 verbose #71503 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71504 > │ │
00:28:18 verbose #71505 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71506 > │ let v158 : string = "0i64.into()" │
00:28:18 verbose #71507 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71508 > │ v158 │
00:28:18 verbose #71509 > │ v159 │
00:28:18 verbose #71510 > │ #endif │
00:28:18 verbose #71511 > │ │
00:28:18 verbose #71512 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71513 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71514 > │ v160 │
00:28:18 verbose #71515 > │ #endif │
00:28:18 verbose #71516 > │ │
00:28:18 verbose #71517 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71518 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71519 > │ v161 │
00:28:18 verbose #71520 > │ #endif │
00:28:18 verbose #71521 > │ │
00:28:18 verbose #71522 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71523 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71524 > │ v162 │
00:28:18 verbose #71525 > │ #endif │
00:28:18 verbose #71526 > │ │
00:28:18 verbose #71527 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71528 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71529 > │ v163 │
00:28:18 verbose #71530 > │ #endif │
00:28:18 verbose #71531 > │ │
00:28:18 verbose #71532 > │ #else │
00:28:18 verbose #71533 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:18 verbose #71534 > │ v164 │
00:28:18 verbose #71535 > │ #endif │
00:28:18 verbose #71536 > │ |> fun x -> _v156 <- Some x │
00:28:18 verbose #71537 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:28:18 verbose #71538 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:28:18 verbose #71539 > │ let v167 : System.TimeSpan = v166 v41 │
00:28:18 verbose #71540 > │ v167 │
00:28:18 verbose #71541 > │ #endif │
00:28:18 verbose #71542 > │ |> fun x -> _v148 <- Some x │
00:28:18 verbose #71543 > │ let v168 : System.TimeSpan = _v148.Value │
00:28:18 verbose #71544 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:28:18 verbose #71545 > │ let v170 : int32 = v169 v168 │
00:28:18 verbose #71546 > │ let v171 : bool = v170 > 0 │
00:28:18 verbose #71547 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:28:18 verbose #71548 > │ let v173 : int32 = v172 v171 │
00:28:18 verbose #71549 > │ let v174 : string = method9() │
00:28:18 verbose #71550 > │ let v175 : (string -> string) = v168.ToString │
00:28:18 verbose #71551 > │ let v176 : string = v175 v174 │
00:28:18 verbose #71552 > │ let v177 : string = $"{v173}{v176}" │
00:28:18 verbose #71553 > │ struct (v137, v177) │
00:28:18 verbose #71554 > │ #endif │
00:28:18 verbose #71555 > │ |> fun x -> _v45 <- Some x │
00:28:18 verbose #71556 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:28:18 verbose #71557 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:28:18 verbose #71558 > │ v179.Length..]}" │
00:28:18 verbose #71559 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:28:18 verbose #71560 > │ let v182 : string = v181 v180 │
00:28:18 verbose #71561 > │ let v183 : string = method1(v40, v182) │
00:28:18 verbose #71562 > │ v183 │
00:28:18 verbose #71563 > │ #endif │
00:28:18 verbose #71564 > │ │
00:28:18 verbose #71565 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71566 > │ let v184 : string = null |> unbox<string> │
00:28:18 verbose #71567 > │ v184 │
00:28:18 verbose #71568 > │ #endif │
00:28:18 verbose #71569 > │ │
00:28:18 verbose #71570 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71571 > │ let v185 : string = null |> unbox<string> │
00:28:18 verbose #71572 > │ v185 │
00:28:18 verbose #71573 > │ #endif │
00:28:18 verbose #71574 > │ │
00:28:18 verbose #71575 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71576 > │ let v186 : string = null |> unbox<string> │
00:28:18 verbose #71577 > │ v186 │
00:28:18 verbose #71578 > │ #endif │
00:28:18 verbose #71579 > │ │
00:28:18 verbose #71580 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71581 > │ let v187 : string = null |> unbox<string> │
00:28:18 verbose #71582 > │ v187 │
00:28:18 verbose #71583 > │ #endif │
00:28:18 verbose #71584 > │ │
00:28:18 verbose #71585 > │ #else │
00:28:18 verbose #71586 > │ let v188 : string option = None │
00:28:18 verbose #71587 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:28:18 verbose #71588 > │ │
00:28:18 verbose #71589 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71590 > │ │
00:28:18 verbose #71591 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71592 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:28:18 verbose #71593 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:28:18 verbose #71594 > │ v191 │
00:28:18 verbose #71595 > │ #endif │
00:28:18 verbose #71596 > │ │
00:28:18 verbose #71597 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71598 > │ let v192 : string = null |> unbox<string> │
00:28:18 verbose #71599 > │ v192 │
00:28:18 verbose #71600 > │ #endif │
00:28:18 verbose #71601 > │ │
00:28:18 verbose #71602 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71603 > │ let v193 : string = null |> unbox<string> │
00:28:18 verbose #71604 > │ v193 │
00:28:18 verbose #71605 > │ #endif │
00:28:18 verbose #71606 > │ │
00:28:18 verbose #71607 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71608 > │ let v194 : string = null |> unbox<string> │
00:28:18 verbose #71609 > │ v194 │
00:28:18 verbose #71610 > │ #endif │
00:28:18 verbose #71611 > │ │
00:28:18 verbose #71612 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71613 > │ let v195 : string = null |> unbox<string> │
00:28:18 verbose #71614 > │ v195 │
00:28:18 verbose #71615 > │ #endif │
00:28:18 verbose #71616 > │ │
00:28:18 verbose #71617 > │ #else │
00:28:18 verbose #71618 > │ let v196 : string = │
00:28:18 verbose #71619 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:28:18 verbose #71620 > │ v196 │
00:28:18 verbose #71621 > │ #endif │
00:28:18 verbose #71622 > │ |> fun x -> _v188 <- Some x │
00:28:18 verbose #71623 > │ let v197 : string = _v188.Value │
00:28:18 verbose #71624 > │ let v198 : string option = None │
00:28:18 verbose #71625 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:28:18 verbose #71626 > │ │
00:28:18 verbose #71627 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71628 > │ │
00:28:18 verbose #71629 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71630 > │ let v200 : string = "std::env::temp_dir()" │
00:28:18 verbose #71631 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71632 > │ v200 │
00:28:18 verbose #71633 > │ let v202 : string = "$0.display()" │
00:28:18 verbose #71634 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:28:18 verbose #71635 > │ v202 │
00:28:18 verbose #71636 > │ let v204 : std_string_String option = None │
00:28:18 verbose #71637 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:28:18 verbose #71638 > │ │
00:28:18 verbose #71639 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71640 > │ │
00:28:18 verbose #71641 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71642 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:28:18 verbose #71643 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:28:18 verbose #71644 > │ v206 │
00:28:18 verbose #71645 > │ v207 │
00:28:18 verbose #71646 > │ #endif │
00:28:18 verbose #71647 > │ │
00:28:18 verbose #71648 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71649 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:28:18 verbose #71650 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:28:18 verbose #71651 > │ v208 │
00:28:18 verbose #71652 > │ v209 │
00:28:18 verbose #71653 > │ #endif │
00:28:18 verbose #71654 > │ │
00:28:18 verbose #71655 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71656 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:28:18 verbose #71657 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:28:18 verbose #71658 > │ v210 │
00:28:18 verbose #71659 > │ v211 │
00:28:18 verbose #71660 > │ #endif │
00:28:18 verbose #71661 > │ │
00:28:18 verbose #71662 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71663 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:28:18 verbose #71664 > │ v212 │
00:28:18 verbose #71665 > │ #endif │
00:28:18 verbose #71666 > │ │
00:28:18 verbose #71667 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71668 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:28:18 verbose #71669 > │ v213 │
00:28:18 verbose #71670 > │ #endif │
00:28:18 verbose #71671 > │ │
00:28:18 verbose #71672 > │ #else │
00:28:18 verbose #71673 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:28:18 verbose #71674 > │ v214 │
00:28:18 verbose #71675 > │ #endif │
00:28:18 verbose #71676 > │ |> fun x -> _v204 <- Some x │
00:28:18 verbose #71677 > │ let v215 : std_string_String = _v204.Value │
00:28:18 verbose #71678 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:28:18 verbose #71679 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:28:18 verbose #71680 > │ v217 │
00:28:18 verbose #71681 > │ #endif │
00:28:18 verbose #71682 > │ │
00:28:18 verbose #71683 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71684 > │ let v218 : string = null |> unbox<string> │
00:28:18 verbose #71685 > │ v218 │
00:28:18 verbose #71686 > │ #endif │
00:28:18 verbose #71687 > │ │
00:28:18 verbose #71688 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71689 > │ let v219 : string = null |> unbox<string> │
00:28:18 verbose #71690 > │ v219 │
00:28:18 verbose #71691 > │ #endif │
00:28:18 verbose #71692 > │ │
00:28:18 verbose #71693 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71694 > │ let v220 : string = null |> unbox<string> │
00:28:18 verbose #71695 > │ v220 │
00:28:18 verbose #71696 > │ #endif │
00:28:18 verbose #71697 > │ │
00:28:18 verbose #71698 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71699 > │ let v221 : string = null |> unbox<string> │
00:28:18 verbose #71700 > │ v221 │
00:28:18 verbose #71701 > │ #endif │
00:28:18 verbose #71702 > │ │
00:28:18 verbose #71703 > │ #else │
00:28:18 verbose #71704 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:28:18 verbose #71705 > │ let v223 : string = v222 () │
00:28:18 verbose #71706 > │ v223 │
00:28:18 verbose #71707 > │ #endif │
00:28:18 verbose #71708 > │ |> fun x -> _v198 <- Some x │
00:28:18 verbose #71709 > │ let v224 : string = _v198.Value │
00:28:18 verbose #71710 > │ let v225 : string = $"!{v197}" │
00:28:18 verbose #71711 > │ let v226 : string = method1(v224, v225) │
00:28:18 verbose #71712 > │ let v227 : System.DateTime = System.DateTime.Now │
00:28:18 verbose #71713 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:28:18 verbose #71714 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:28:18 verbose #71715 > │ let v230 : string = v229 v228 │
00:28:18 verbose #71716 > │ let v231 : struct (string * string) option = None │
00:28:18 verbose #71717 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:28:18 verbose #71718 > │ │
00:28:18 verbose #71719 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71720 > │ │
00:28:18 verbose #71721 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71722 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:28:18 verbose #71723 > │ System.DateTimeKind.Utc) │
00:28:18 verbose #71724 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:28:18 verbose #71725 > │ let v235 : System.DateTime = v234 v233 │
00:28:18 verbose #71726 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:28:18 verbose #71727 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:28:18 verbose #71728 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:28:18 verbose #71729 > │ let v239 : System.DateTime = v238 v237 │
00:28:18 verbose #71730 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:28:18 verbose #71731 > │ let v241 : int64 = v240 v239 │
00:28:18 verbose #71732 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:28:18 verbose #71733 > │ let v243 : int64 = v242 v235 │
00:28:18 verbose #71734 > │ let v244 : int64 = v241 - v243 │
00:28:18 verbose #71735 > │ let v245 : int64 = v244 / 10L │
00:28:18 verbose #71736 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:28:18 verbose #71737 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:28:18 verbose #71738 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:28:18 verbose #71739 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:28:18 verbose #71740 > │ let v249 : US0 = US0_1 │
00:28:18 verbose #71741 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:28:18 verbose #71742 > │ let v269 : US1 = │
00:28:18 verbose #71743 > │ match v250 with │
00:28:18 verbose #71744 > │ | US0_1 -> (* None *) │
00:28:18 verbose #71745 > │ US1_1 │
00:28:18 verbose #71746 > │ | US0_0(v251) -> (* Some *) │
00:28:18 verbose #71747 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:28:18 verbose #71748 > │ let v253 : string = "v252.naive_utc()" │
00:28:18 verbose #71749 > │ let v254 : chrono_NaiveDateTime = │
00:28:18 verbose #71750 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:28:18 verbose #71751 > │ let v255 : string = │
00:28:18 verbose #71752 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:28:18 verbose #71753 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:28:18 verbose #71754 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:28:18 verbose #71755 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:28:18 verbose #71756 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:28:18 verbose #71757 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71758 > │ v258 │
00:28:18 verbose #71759 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:28:18 verbose #71760 > │ let v261 : string = "v260.format(v259).to_string()" │
00:28:18 verbose #71761 > │ let v262 : std_string_String = │
00:28:18 verbose #71762 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:28:18 verbose #71763 > │ let v263 : string = │
00:28:18 verbose #71764 > │ "fable_library_rust::String_::fromString($0)" │
00:28:18 verbose #71765 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:28:18 verbose #71766 > │ v263 │
00:28:18 verbose #71767 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:28:18 verbose #71768 > │ 22]}" │
00:28:18 verbose #71769 > │ US1_0(v265) │
00:28:18 verbose #71770 > │ let v273 : string = │
00:28:18 verbose #71771 > │ match v269 with │
00:28:18 verbose #71772 > │ | US1_1 -> (* None *) │
00:28:18 verbose #71773 > │ let v271 : string = "" │
00:28:18 verbose #71774 > │ v271 │
00:28:18 verbose #71775 > │ | US1_0(v270) -> (* Some *) │
00:28:18 verbose #71776 > │ v270 │
00:28:18 verbose #71777 > │ let v274 : System.TimeZoneInfo option = None │
00:28:18 verbose #71778 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:28:18 verbose #71779 > │ │
00:28:18 verbose #71780 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71781 > │ │
00:28:18 verbose #71782 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71783 > │ let v276 : string = "0i64.into()" │
00:28:18 verbose #71784 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71785 > │ v276 │
00:28:18 verbose #71786 > │ v277 │
00:28:18 verbose #71787 > │ #endif │
00:28:18 verbose #71788 > │ │
00:28:18 verbose #71789 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71790 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71791 > │ v278 │
00:28:18 verbose #71792 > │ #endif │
00:28:18 verbose #71793 > │ │
00:28:18 verbose #71794 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71795 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71796 > │ v279 │
00:28:18 verbose #71797 > │ #endif │
00:28:18 verbose #71798 > │ │
00:28:18 verbose #71799 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71800 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71801 > │ v280 │
00:28:18 verbose #71802 > │ #endif │
00:28:18 verbose #71803 > │ │
00:28:18 verbose #71804 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71805 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71806 > │ v281 │
00:28:18 verbose #71807 > │ #endif │
00:28:18 verbose #71808 > │ │
00:28:18 verbose #71809 > │ #else │
00:28:18 verbose #71810 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:18 verbose #71811 > │ v282 │
00:28:18 verbose #71812 > │ #endif │
00:28:18 verbose #71813 > │ |> fun x -> _v274 <- Some x │
00:28:18 verbose #71814 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:28:18 verbose #71815 > │ let v284 : System.TimeSpan option = None │
00:28:18 verbose #71816 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:28:18 verbose #71817 > │ │
00:28:18 verbose #71818 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71819 > │ │
00:28:18 verbose #71820 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71821 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71822 > │ v286 │
00:28:18 verbose #71823 > │ #endif │
00:28:18 verbose #71824 > │ │
00:28:18 verbose #71825 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71826 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71827 > │ v287 │
00:28:18 verbose #71828 > │ #endif │
00:28:18 verbose #71829 > │ │
00:28:18 verbose #71830 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71831 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71832 > │ v288 │
00:28:18 verbose #71833 > │ #endif │
00:28:18 verbose #71834 > │ │
00:28:18 verbose #71835 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71836 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71837 > │ v289 │
00:28:18 verbose #71838 > │ #endif │
00:28:18 verbose #71839 > │ │
00:28:18 verbose #71840 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71841 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:28:18 verbose #71842 > │ v290 │
00:28:18 verbose #71843 > │ #endif │
00:28:18 verbose #71844 > │ │
00:28:18 verbose #71845 > │ #else │
00:28:18 verbose #71846 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:28:18 verbose #71847 > │ = _.GetUtcOffset │
00:28:18 verbose #71848 > │ let v292 : System.TimeZoneInfo option = None │
00:28:18 verbose #71849 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:28:18 verbose #71850 > │ │
00:28:18 verbose #71851 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:18 verbose #71852 > │ │
00:28:18 verbose #71853 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:18 verbose #71854 > │ let v294 : string = "0i64.into()" │
00:28:18 verbose #71855 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:18 verbose #71856 > │ v294 │
00:28:18 verbose #71857 > │ v295 │
00:28:18 verbose #71858 > │ #endif │
00:28:18 verbose #71859 > │ │
00:28:18 verbose #71860 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71861 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71862 > │ v296 │
00:28:18 verbose #71863 > │ #endif │
00:28:18 verbose #71864 > │ │
00:28:18 verbose #71865 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71866 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71867 > │ v297 │
00:28:18 verbose #71868 > │ #endif │
00:28:18 verbose #71869 > │ │
00:28:18 verbose #71870 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:18 verbose #71871 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71872 > │ v298 │
00:28:18 verbose #71873 > │ #endif │
00:28:18 verbose #71874 > │ │
00:28:18 verbose #71875 > │ #if FABLE_COMPILER_PYTHON │
00:28:18 verbose #71876 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:18 verbose #71877 > │ v299 │
00:28:18 verbose #71878 > │ #endif │
00:28:18 verbose #71879 > │ │
00:28:18 verbose #71880 > │ #else │
00:28:18 verbose #71881 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:18 verbose #71882 > │ v300 │
00:28:18 verbose #71883 > │ #endif │
00:28:18 verbose #71884 > │ |> fun x -> _v292 <- Some x │
00:28:18 verbose #71885 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:28:18 verbose #71886 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:28:18 verbose #71887 > │ let v303 : System.TimeSpan = v302 v239 │
00:28:18 verbose #71888 > │ v303 │
00:28:18 verbose #71889 > │ #endif │
00:28:18 verbose #71890 > │ |> fun x -> _v284 <- Some x │
00:28:18 verbose #71891 > │ let v304 : System.TimeSpan = _v284.Value │
00:28:18 verbose #71892 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:28:18 verbose #71893 > │ let v306 : int32 = v305 v304 │
00:28:18 verbose #71894 > │ let v307 : bool = v306 > 0 │
00:28:18 verbose #71895 > │ let v308 : uint8 = │
00:28:18 verbose #71896 > │ if v307 then │
00:28:18 verbose #71897 > │ 1uy │
00:28:18 verbose #71898 > │ else │
00:28:18 verbose #71899 > │ 0uy │
00:28:18 verbose #71900 > │ let v309 : (string -> string) = v304.ToString │
00:28:18 verbose #71901 > │ let v310 : string = v309 v124 │
00:28:18 verbose #71902 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:28:18 verbose #71903 > │ struct (v273, v311) │
00:28:18 verbose #71904 > │ #endif │
00:28:18 verbose #71905 > │ │
00:28:18 verbose #71906 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:18 verbose #71907 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:28:18 verbose #71908 > │ * string)> │
00:28:18 verbose #71909 > │ struct (v312, v313) │
00:28:18 verbose #71910 > │ #endif │
00:28:18 verbose #71911 > │ │
00:28:18 verbose #71912 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:18 verbose #71913 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:28:18 verbose #71914 > │ * string)> │
00:28:18 verbose #71915 > │ struct (v314, v315) │
00:28:18 verbose #71916 > │ #endif │
00:28:18 verbose #71917 > │ │
00:28:18 verbose #71918 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:19 verbose #71919 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:28:19 verbose #71920 > │ * string)> │
00:28:19 verbose #71921 > │ struct (v316, v317) │
00:28:19 verbose #71922 > │ #endif │
00:28:19 verbose #71923 > │ │
00:28:19 verbose #71924 > │ #if FABLE_COMPILER_PYTHON │
00:28:19 verbose #71925 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:28:19 verbose #71926 > │ * string)> │
00:28:19 verbose #71927 > │ struct (v318, v319) │
00:28:19 verbose #71928 > │ #endif │
00:28:19 verbose #71929 > │ │
00:28:19 verbose #71930 > │ #else │
00:28:19 verbose #71931 > │ let v320 : string = method8() │
00:28:19 verbose #71932 > │ let v321 : (string -> string) = v227.ToString │
00:28:19 verbose #71933 > │ let v322 : string = v321 v320 │
00:28:19 verbose #71934 > │ let v323 : System.TimeZoneInfo option = None │
00:28:19 verbose #71935 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:28:19 verbose #71936 > │ │
00:28:19 verbose #71937 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:19 verbose #71938 > │ │
00:28:19 verbose #71939 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:19 verbose #71940 > │ let v325 : string = "0i64.into()" │
00:28:19 verbose #71941 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:19 verbose #71942 > │ v325 │
00:28:19 verbose #71943 > │ v326 │
00:28:19 verbose #71944 > │ #endif │
00:28:19 verbose #71945 > │ │
00:28:19 verbose #71946 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:19 verbose #71947 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #71948 > │ v327 │
00:28:19 verbose #71949 > │ #endif │
00:28:19 verbose #71950 > │ │
00:28:19 verbose #71951 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:19 verbose #71952 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #71953 > │ v328 │
00:28:19 verbose #71954 > │ #endif │
00:28:19 verbose #71955 > │ │
00:28:19 verbose #71956 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:19 verbose #71957 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #71958 > │ v329 │
00:28:19 verbose #71959 > │ #endif │
00:28:19 verbose #71960 > │ │
00:28:19 verbose #71961 > │ #if FABLE_COMPILER_PYTHON │
00:28:19 verbose #71962 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #71963 > │ v330 │
00:28:19 verbose #71964 > │ #endif │
00:28:19 verbose #71965 > │ │
00:28:19 verbose #71966 > │ #else │
00:28:19 verbose #71967 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:19 verbose #71968 > │ v331 │
00:28:19 verbose #71969 > │ #endif │
00:28:19 verbose #71970 > │ |> fun x -> _v323 <- Some x │
00:28:19 verbose #71971 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:28:19 verbose #71972 > │ let v333 : System.TimeSpan option = None │
00:28:19 verbose #71973 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:28:19 verbose #71974 > │ │
00:28:19 verbose #71975 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:19 verbose #71976 > │ │
00:28:19 verbose #71977 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:19 verbose #71978 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:28:19 verbose #71979 > │ v335 │
00:28:19 verbose #71980 > │ #endif │
00:28:19 verbose #71981 > │ │
00:28:19 verbose #71982 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:19 verbose #71983 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:28:19 verbose #71984 > │ v336 │
00:28:19 verbose #71985 > │ #endif │
00:28:19 verbose #71986 > │ │
00:28:19 verbose #71987 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:19 verbose #71988 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:28:19 verbose #71989 > │ v337 │
00:28:19 verbose #71990 > │ #endif │
00:28:19 verbose #71991 > │ │
00:28:19 verbose #71992 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:19 verbose #71993 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:28:19 verbose #71994 > │ v338 │
00:28:19 verbose #71995 > │ #endif │
00:28:19 verbose #71996 > │ │
00:28:19 verbose #71997 > │ #if FABLE_COMPILER_PYTHON │
00:28:19 verbose #71998 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:28:19 verbose #71999 > │ v339 │
00:28:19 verbose #72000 > │ #endif │
00:28:19 verbose #72001 > │ │
00:28:19 verbose #72002 > │ #else │
00:28:19 verbose #72003 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:28:19 verbose #72004 > │ = _.GetUtcOffset │
00:28:19 verbose #72005 > │ let v341 : System.TimeZoneInfo option = None │
00:28:19 verbose #72006 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:28:19 verbose #72007 > │ │
00:28:19 verbose #72008 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:19 verbose #72009 > │ │
00:28:19 verbose #72010 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:19 verbose #72011 > │ let v343 : string = "0i64.into()" │
00:28:19 verbose #72012 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:28:19 verbose #72013 > │ v343 │
00:28:19 verbose #72014 > │ v344 │
00:28:19 verbose #72015 > │ #endif │
00:28:19 verbose #72016 > │ │
00:28:19 verbose #72017 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:19 verbose #72018 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #72019 > │ v345 │
00:28:19 verbose #72020 > │ #endif │
00:28:19 verbose #72021 > │ │
00:28:19 verbose #72022 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:19 verbose #72023 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #72024 > │ v346 │
00:28:19 verbose #72025 > │ #endif │
00:28:19 verbose #72026 > │ │
00:28:19 verbose #72027 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:19 verbose #72028 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #72029 > │ v347 │
00:28:19 verbose #72030 > │ #endif │
00:28:19 verbose #72031 > │ │
00:28:19 verbose #72032 > │ #if FABLE_COMPILER_PYTHON │
00:28:19 verbose #72033 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:28:19 verbose #72034 > │ v348 │
00:28:19 verbose #72035 > │ #endif │
00:28:19 verbose #72036 > │ │
00:28:19 verbose #72037 > │ #else │
00:28:19 verbose #72038 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:28:19 verbose #72039 > │ v349 │
00:28:19 verbose #72040 > │ #endif │
00:28:19 verbose #72041 > │ |> fun x -> _v341 <- Some x │
00:28:19 verbose #72042 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:28:19 verbose #72043 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:28:19 verbose #72044 > │ let v352 : System.TimeSpan = v351 v227 │
00:28:19 verbose #72045 > │ v352 │
00:28:19 verbose #72046 > │ #endif │
00:28:19 verbose #72047 > │ |> fun x -> _v333 <- Some x │
00:28:19 verbose #72048 > │ let v353 : System.TimeSpan = _v333.Value │
00:28:19 verbose #72049 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:28:19 verbose #72050 > │ let v355 : int32 = v354 v353 │
00:28:19 verbose #72051 > │ let v356 : bool = v355 > 0 │
00:28:19 verbose #72052 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:28:19 verbose #72053 > │ let v358 : int32 = v357 v356 │
00:28:19 verbose #72054 > │ let v359 : string = method9() │
00:28:19 verbose #72055 > │ let v360 : (string -> string) = v353.ToString │
00:28:19 verbose #72056 > │ let v361 : string = v360 v359 │
00:28:19 verbose #72057 > │ let v362 : string = $"{v358}{v361}" │
00:28:19 verbose #72058 > │ struct (v322, v362) │
00:28:19 verbose #72059 > │ #endif │
00:28:19 verbose #72060 > │ |> fun x -> _v231 <- Some x │
00:28:19 verbose #72061 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:28:19 verbose #72062 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:28:19 verbose #72063 > │ v364.Length..]}" │
00:28:19 verbose #72064 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:28:19 verbose #72065 > │ let v367 : string = v366 v365 │
00:28:19 verbose #72066 > │ let v368 : string = method1(v226, v367) │
00:28:19 verbose #72067 > │ v368 │
00:28:19 verbose #72068 > │ #endif │
00:28:19 verbose #72069 > │ |> fun x -> _v0 <- Some x │
00:28:19 verbose #72070 > │ let v369 : string = _v0.Value │
00:28:19 verbose #72071 > │ let v370 : char option = None │
00:28:19 verbose #72072 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:28:19 verbose #72073 > │ │
00:28:19 verbose #72074 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:19 verbose #72075 > │ │
00:28:19 verbose #72076 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:19 verbose #72077 > │ let v372 : string = "std::path::MAIN_SEPARATOR" │
00:28:19 verbose #72078 > │ let v373 : char = Fable.Core.RustInterop.emitRustExpr () v372 │
00:28:19 verbose #72079 > │ v373 │
00:28:19 verbose #72080 > │ #endif │
00:28:19 verbose #72081 > │ │
00:28:19 verbose #72082 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:19 verbose #72083 > │ let v374 : char = null |> unbox<char> │
00:28:19 verbose #72084 > │ v374 │
00:28:19 verbose #72085 > │ #endif │
00:28:19 verbose #72086 > │ │
00:28:19 verbose #72087 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:19 verbose #72088 > │ let v375 : char = null |> unbox<char> │
00:28:19 verbose #72089 > │ v375 │
00:28:19 verbose #72090 > │ #endif │
00:28:19 verbose #72091 > │ │
00:28:19 verbose #72092 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:19 verbose #72093 > │ let v376 : char = null |> unbox<char> │
00:28:19 verbose #72094 > │ v376 │
00:28:19 verbose #72095 > │ #endif │
00:28:19 verbose #72096 > │ │
00:28:19 verbose #72097 > │ #if FABLE_COMPILER_PYTHON │
00:28:19 verbose #72098 > │ let v377 : char = null |> unbox<char> │
00:28:19 verbose #72099 > │ v377 │
00:28:19 verbose #72100 > │ #endif │
00:28:19 verbose #72101 > │ │
00:28:19 verbose #72102 > │ #else │
00:28:19 verbose #72103 > │ let v378 : char = System.IO.Path.DirectorySeparatorChar │
00:28:19 verbose #72104 > │ v378 │
00:28:19 verbose #72105 > │ #endif │
00:28:19 verbose #72106 > │ |> fun x -> _v370 <- Some x │
00:28:19 verbose #72107 > │ let v379 : char = _v370.Value │
00:28:19 verbose #72108 > │ let v380 : (string -> char list) = List.ofSeq │
00:28:19 verbose #72109 > │ let v381 : char list = v380 v369 │
00:28:19 verbose #72110 > │ let v382 : ((char -> bool) -> (char list -> char option)) = List.tryFind │
00:28:19 verbose #72111 > │ let v383 : (char -> bool) = closure1(v379) │
00:28:19 verbose #72112 > │ let v384 : (char list -> char option) = v382 v383 │
00:28:19 verbose #72113 > │ let v385 : char option = v384 v381 │
00:28:19 verbose #72114 > │ let v386 : (char -> US2) = method10() │
00:28:19 verbose #72115 > │ let v387 : US2 = US2_1 │
00:28:19 verbose #72116 > │ let v388 : US2 = v385 |> Option.map v386 |> Option.defaultValue v387 │
00:28:19 verbose #72117 > │ let v390 : bool = │
00:28:19 verbose #72118 > │ match v388 with │
00:28:19 verbose #72119 > │ | US2_1 -> (* None *) │
00:28:19 verbose #72120 > │ true │
00:28:19 verbose #72121 > │ | _ -> │
00:28:19 verbose #72122 > │ false │
00:28:19 verbose #72123 > │ let v391 : bool = v390 <> true │
00:28:19 verbose #72124 > │ let v393 : bool = │
00:28:19 verbose #72125 > │ if v391 then │
00:28:19 verbose #72126 > │ true │
00:28:19 verbose #72127 > │ else │
00:28:19 verbose #72128 > │ method11(v391) │
00:28:19 verbose #72129 > │ let v394 : string = "assert_contains" │
00:28:19 verbose #72130 > │ let v395 : string = $"{v394} / actual: %A{v369} / expected: %A{v379}" │
00:28:19 verbose #72131 > │ System.Console.WriteLine v395 │
00:28:19 verbose #72132 > │ let v396 : bool = v393 = false │
00:28:19 verbose #72133 > │ if v396 then │
00:28:19 verbose #72134 > │ failwith<unit> v395 │
00:28:19 verbose #72135 > │ method0() │
00:28:19 verbose #72136 > │ │
00:28:19 verbose #72137 > │ │
00:28:19 verbose #72138 > │ │
00:28:19 verbose #72139 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:19 verbose #72140 >
00:28:19 verbose #72141 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:19 verbose #72142 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:19 verbose #72143 > │ ## get_source_directory │
00:28:19 verbose #72144 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:19 verbose #72145 >
00:28:19 verbose #72146 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:19 verbose #72147 > inl get_source_directory () =
00:28:19 verbose #72148 > $'__SOURCE_DIRECTORY__' : string
00:28:19 verbose #72149 > 00:28:18 debug #963 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3d6f6ecf48ae8fc79990bedd7575efc1dcb85e0a54934ddacb5f5c153006e19d/main.spi
00:28:20 verbose #72150 >
00:28:20 verbose #72151 > ╭─[ 846.29ms - stdout ]────────────────────────────────────────────────────────╮
00:28:20 verbose #72152 > │ () │
00:28:20 verbose #72153 > │ │
00:28:20 verbose #72154 > │ │
00:28:20 verbose #72155 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:20 verbose #72156 >
00:28:20 verbose #72157 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:20 verbose #72158 > //// test
00:28:20 verbose #72159 >
00:28:20 verbose #72160 > get_source_directory ()
00:28:20 verbose #72161 > |> directory_info
00:28:20 verbose #72162 > |> directory_info_name
00:28:20 verbose #72163 > |> _assert_eq "spiral"
00:28:20 verbose #72164 > 00:28:19 debug #964 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1916e8ad1bf7a33e07fc7c563712e630f8f74254d0e38d4e43d9d2bf458a5ee5/main.spi
00:28:21 verbose #72165 >
00:28:21 verbose #72166 > ╭─[ 1.03s - stdout ]───────────────────────────────────────────────────────────╮
00:28:21 verbose #72167 > │ let rec method1 (v0 : bool) : bool = │
00:28:21 verbose #72168 > │ v0 │
00:28:21 verbose #72169 > │ and method0 () : unit = │
00:28:21 verbose #72170 > │ let v0 : string = __SOURCE_DIRECTORY__ │
00:28:21 verbose #72171 > │ let v1 : (string -> System.IO.DirectoryInfo) = System.IO.DirectoryInfo │
00:28:21 verbose #72172 > │ let v2 : System.IO.DirectoryInfo = v1 v0 │
00:28:21 verbose #72173 > │ let v3 : string option = None │
00:28:21 verbose #72174 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:28:21 verbose #72175 > │ │
00:28:21 verbose #72176 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:28:21 verbose #72177 > │ │
00:28:21 verbose #72178 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:28:21 verbose #72179 > │ let v5 : string = null |> unbox<string> │
00:28:21 verbose #72180 > │ v5 │
00:28:21 verbose #72181 > │ #endif │
00:28:21 verbose #72182 > │ │
00:28:21 verbose #72183 > │ #if FABLE_COMPILER_RUST && WASM │
00:28:21 verbose #72184 > │ let v6 : string = null |> unbox<string> │
00:28:21 verbose #72185 > │ v6 │
00:28:21 verbose #72186 > │ #endif │
00:28:21 verbose #72187 > │ │
00:28:21 verbose #72188 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:28:21 verbose #72189 > │ let v7 : string = null |> unbox<string> │
00:28:21 verbose #72190 > │ v7 │
00:28:21 verbose #72191 > │ #endif │
00:28:21 verbose #72192 > │ │
00:28:21 verbose #72193 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:28:21 verbose #72194 > │ let v8 : string = null |> unbox<string> │
00:28:21 verbose #72195 > │ v8 │
00:28:21 verbose #72196 > │ #endif │
00:28:21 verbose #72197 > │ │
00:28:21 verbose #72198 > │ #if FABLE_COMPILER_PYTHON │
00:28:21 verbose #72199 > │ let v9 : string = null |> unbox<string> │
00:28:21 verbose #72200 > │ v9 │
00:28:21 verbose #72201 > │ #endif │
00:28:21 verbose #72202 > │ │
00:28:21 verbose #72203 > │ #else │
00:28:21 verbose #72204 > │ let v10 : string = v2.Name │
00:28:21 verbose #72205 > │ v10 │
00:28:21 verbose #72206 > │ #endif │
00:28:21 verbose #72207 > │ |> fun x -> _v3 <- Some x │
00:28:21 verbose #72208 > │ let v11 : string = _v3.Value │
00:28:21 verbose #72209 > │ let v13 : bool = v11 = "spiral" │
00:28:21 verbose #72210 > │ let v15 : bool = │
00:28:21 verbose #72211 > │ if v13 then │
00:28:21 verbose #72212 > │ true │
00:28:21 verbose #72213 > │ else │
00:28:21 verbose #72214 > │ method1(v13) │
00:28:21 verbose #72215 > │ let v16 : string = "assert_eq" │
00:28:21 verbose #72216 > │ let v17 : string = "spiral" │
00:28:21 verbose #72217 > │ let v18 : string = $"{v16} / actual: %A{v11} / expected: %A{v17}" │
00:28:21 verbose #72218 > │ System.Console.WriteLine v18 │
00:28:21 verbose #72219 > │ let v19 : bool = v15 = false │
00:28:21 verbose #72220 > │ if v19 then │
00:28:21 verbose #72221 > │ failwith<unit> v18 │
00:28:21 verbose #72222 > │ method0() │
00:28:21 verbose #72223 > │ │
00:28:21 verbose #72224 > │ assert_eq / actual: "spiral" / expected: "spiral" │
00:28:21 verbose #72225 > │ │
00:28:21 verbose #72226 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:21 verbose #72227 >
00:28:21 verbose #72228 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:21 verbose #72229 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:21 verbose #72230 > │ ## create_dir_all │
00:28:21 verbose #72231 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:21 verbose #72232 >
00:28:21 verbose #72233 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:21 verbose #72234 > inl create_dir_all (path : string) : resultm.result' () stream.io_error =
00:28:21 verbose #72235 > !\\(path, $'"std::fs::create_dir_all(&*$0)"')
00:28:21 verbose #72236 > 00:28:20 debug #965 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/63009f0311b88ca5210ca6a19d6759d2a07a1f0c6342d1331703d830ec259f25/main.spi
00:28:22 verbose #72237 >
00:28:22 verbose #72238 > ╭─[ 1.03s - stdout ]───────────────────────────────────────────────────────────╮
00:28:22 verbose #72239 > │ () │
00:28:22 verbose #72240 > │ │
00:28:22 verbose #72241 > │ │
00:28:22 verbose #72242 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:22 verbose #72243 >
00:28:22 verbose #72244 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:22 verbose #72245 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:22 verbose #72246 > │ ## create_directory │
00:28:22 verbose #72247 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:22 verbose #72248 >
00:28:22 verbose #72249 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:22 verbose #72250 > inl create_directory (path : string) : directory_info =
00:28:22 verbose #72251 > run_target function
00:28:22 verbose #72252 > | Fsharp (Native) => fun () =>
00:28:22 verbose #72253 > path |> $'System.IO.Directory.CreateDirectory'
00:28:22 verbose #72254 > | _ => fun () => null ()
00:28:22 verbose #72255 > 00:28:21 debug #966 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/8051800dd4ef0bf0a4344ef16644bacc4b673d395ea33c8b98e71a38e3bd43c2/main.spi
00:28:23 verbose #72256 >
00:28:23 verbose #72257 > ╭─[ 1.21s - stdout ]───────────────────────────────────────────────────────────╮
00:28:23 verbose #72258 > │ () │
00:28:23 verbose #72259 > │ │
00:28:23 verbose #72260 > │ │
00:28:23 verbose #72261 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:23 verbose #72262 >
00:28:23 verbose #72263 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:23 verbose #72264 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:23 verbose #72265 > │ ## directory_get_files │
00:28:23 verbose #72266 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:23 verbose #72267 >
00:28:23 verbose #72268 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:23 verbose #72269 > inl directory_get_files (path : string) : array_base string =
00:28:23 verbose #72270 > run_target function
00:28:23 verbose #72271 > | Fsharp (Native) => fun () =>
00:28:23 verbose #72272 > path |> $'System.IO.Directory.GetFiles'
00:28:23 verbose #72273 > | _ => fun () => null ()
00:28:24 verbose #72274 > 00:28:23 debug #967 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fcda4da521b49199adabaf14a29b80aba2e5ed3545deef2651da71774388c72c/main.spi
00:28:24 verbose #72275 >
00:28:24 verbose #72276 > ╭─[ 1.06s - stdout ]───────────────────────────────────────────────────────────╮
00:28:24 verbose #72277 > │ () │
00:28:24 verbose #72278 > │ │
00:28:24 verbose #72279 > │ │
00:28:24 verbose #72280 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:24 verbose #72281 >
00:28:24 verbose #72282 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:24 verbose #72283 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:24 verbose #72284 > │ ## directory_exists │
00:28:24 verbose #72285 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:24 verbose #72286 >
00:28:24 verbose #72287 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:24 verbose #72288 > inl directory_exists (path : string) : bool =
00:28:24 verbose #72289 > run_target function
00:28:24 verbose #72290 > | Fsharp (Native) => fun () =>
00:28:24 verbose #72291 > path |> $'System.IO.Directory.Exists'
00:28:24 verbose #72292 > | Rust (Native) => fun () =>
00:28:24 verbose #72293 > inl path = path |> sm'.to_std_string |> new_path_buf
00:28:24 verbose #72294 > path_buf_exists path && path_buf_is_dir path
00:28:24 verbose #72295 > | TypeScript (Native) => fun () =>
00:28:24 verbose #72296 > global "type IFsExistsSync = abstract existsSync: path: string ->
00:28:24 verbose #72297 > bool"
00:28:24 verbose #72298 > inl fs : $'IFsExistsSync' = ts.import_all "fs"
00:28:24 verbose #72299 > ts.emit_expr path $'"!fs.existsSync($0)"'
00:28:24 verbose #72300 > | _ => fun () => null ()
00:28:25 verbose #72301 > 00:28:24 debug #968 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c831f8cd0037a871141ea5687352b3f5d24277038bbb482846e42e6bbe3c9510/main.spi
00:28:26 verbose #72302 >
00:28:26 verbose #72303 > ╭─[ 1.55s - stdout ]───────────────────────────────────────────────────────────╮
00:28:26 verbose #72304 > │ () │
00:28:26 verbose #72305 > │ │
00:28:26 verbose #72306 > │ │
00:28:26 verbose #72307 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:26 verbose #72308 >
00:28:26 verbose #72309 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:26 verbose #72310 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:26 verbose #72311 > │ ## directory_get_parent │
00:28:26 verbose #72312 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:26 verbose #72313 >
00:28:26 verbose #72314 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:26 verbose #72315 > inl directory_get_parent (path : string) : optionm'.option' string =
00:28:26 verbose #72316 > run_target function
00:28:26 verbose #72317 > | Rust (Native) => fun () =>
00:28:26 verbose #72318 > path
00:28:26 verbose #72319 > |> sm'.to_std_string
00:28:26 verbose #72320 > |> new_path_buf
00:28:26 verbose #72321 > |> path_buf_parent
00:28:26 verbose #72322 > |> optionm'.try'
00:28:26 verbose #72323 > |> path_buf_display
00:28:26 verbose #72324 > |> sm'.format'
00:28:26 verbose #72325 > |> sm'.from_std_string
00:28:26 verbose #72326 > |> Some
00:28:26 verbose #72327 > | Fsharp (Native) => fun () =>
00:28:26 verbose #72328 > inl parent : directory_info = path |>
00:28:26 verbose #72329 > $'System.IO.Directory.GetParent'
00:28:26 verbose #72330 > if parent =. null ()
00:28:26 verbose #72331 > then None
00:28:26 verbose #72332 > else parent |> directory_info_full_name |> Some
00:28:26 verbose #72333 > | TypeScript _ => fun () =>
00:28:26 verbose #72334 > global "type IPathDirname = abstract dirname: path: string ->
00:28:26 verbose #72335 > string"
00:28:26 verbose #72336 > inl fs : $'IPathDirname' = ts.import_all "path"
00:28:26 verbose #72337 > ts.emit_expr path $'"!fs.dirname($0)"' |> Some
00:28:26 verbose #72338 > | _ => fun () => null ()
00:28:26 verbose #72339 > |> optionm'.box
00:28:27 verbose #72340 > 00:28:26 debug #969 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a40d104fa9a2eaec1687ae18dfec331aecc0beddb14be198e54d2dcc0ee724aa/main.spi
00:28:28 verbose #72341 >
00:28:28 verbose #72342 > ╭─[ 1.92s - stdout ]───────────────────────────────────────────────────────────╮
00:28:28 verbose #72343 > │ () │
00:28:28 verbose #72344 > │ │
00:28:28 verbose #72345 > │ │
00:28:28 verbose #72346 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:28 verbose #72347 >
00:28:28 verbose #72348 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:28 verbose #72349 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:28 verbose #72350 > │ ## file_delete │
00:28:28 verbose #72351 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:28 verbose #72352 >
00:28:28 verbose #72353 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:28 verbose #72354 > inl file_delete (path : string) : () =
00:28:28 verbose #72355 > run_target function
00:28:28 verbose #72356 > | Fsharp (Native) => fun () =>
00:28:28 verbose #72357 > path |> $'System.IO.File.Delete'
00:28:28 verbose #72358 > | _ => fun () => null ()
00:28:28 verbose #72359 > 00:28:27 debug #970 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/547eaf7804a90f8bea46a94895dbea48413b8dde12a3dbedeaf1927d34ecc5a1/main.spi
00:28:29 verbose #72360 >
00:28:29 verbose #72361 > ╭─[ 1.15s - stdout ]───────────────────────────────────────────────────────────╮
00:28:29 verbose #72362 > │ () │
00:28:29 verbose #72363 > │ │
00:28:29 verbose #72364 > │ │
00:28:29 verbose #72365 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:29 verbose #72366 >
00:28:29 verbose #72367 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:29 verbose #72368 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:29 verbose #72369 > │ ## file_move │
00:28:29 verbose #72370 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:29 verbose #72371 >
00:28:29 verbose #72372 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:29 verbose #72373 > inl file_move (new_path : string) (old_path : string) : () =
00:28:29 verbose #72374 > run_target function
00:28:29 verbose #72375 > | Fsharp (Native) => fun () =>
00:28:29 verbose #72376 > $'System.IO.File.Move (!old_path, !new_path)'
00:28:29 verbose #72377 > | _ => fun () => null ()
00:28:30 verbose #72378 > 00:28:29 debug #971 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/78a1540e83610d927499c9ed0f6b1e2467962d0cb17623297fe59a5aff87d2f6/main.spi
00:28:30 verbose #72379 >
00:28:30 verbose #72380 > ╭─[ 1.53s - stdout ]───────────────────────────────────────────────────────────╮
00:28:30 verbose #72381 > │ () │
00:28:30 verbose #72382 > │ │
00:28:30 verbose #72383 > │ │
00:28:30 verbose #72384 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:30 verbose #72385 >
00:28:30 verbose #72386 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:30 verbose #72387 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:30 verbose #72388 > │ ## file_copy │
00:28:30 verbose #72389 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:30 verbose #72390 >
00:28:30 verbose #72391 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:30 verbose #72392 > inl file_copy (new_path : string) (old_path : string) : () =
00:28:30 verbose #72393 > run_target function
00:28:30 verbose #72394 > | Fsharp (Native) => fun () =>
00:28:30 verbose #72395 > $'System.IO.File.Copy (!old_path, !new_path, true)'
00:28:30 verbose #72396 > | Rust (Native) => fun () =>
00:28:30 verbose #72397 > open rust_operators
00:28:30 verbose #72398 > inl new_path = join new_path
00:28:30 verbose #72399 > !\\(old_path, $'"std::fs::copy(&*$0, &*!new_path)"')
00:28:30 verbose #72400 > |> fun x => x : _ u64 stream.io_error
00:28:30 verbose #72401 > |> resultm.unwrap'
00:28:30 verbose #72402 > |> ignore
00:28:30 verbose #72403 > | _ => fun () => null ()
00:28:31 verbose #72404 > 00:28:30 debug #972 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/86788826515346e38f5b5184764720081ba3c1b504d7e1d3fe0416c9ee086dff/main.spi
00:28:31 verbose #72405 >
00:28:31 verbose #72406 > ╭─[ 847.32ms - stdout ]────────────────────────────────────────────────────────╮
00:28:31 verbose #72407 > │ () │
00:28:31 verbose #72408 > │ │
00:28:31 verbose #72409 > │ │
00:28:31 verbose #72410 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:31 verbose #72411 >
00:28:31 verbose #72412 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:31 verbose #72413 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:31 verbose #72414 > │ ## file_exists │
00:28:31 verbose #72415 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:31 verbose #72416 >
00:28:31 verbose #72417 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:31 verbose #72418 > inl file_exists (path : string) : bool =
00:28:31 verbose #72419 > run_target function
00:28:31 verbose #72420 > | Fsharp (Native) => fun () =>
00:28:31 verbose #72421 > path |> $'System.IO.File.Exists'
00:28:31 verbose #72422 > | Rust (Native) => fun () =>
00:28:31 verbose #72423 > inl path_buf = path |> sm'.to_std_string |> new_path_buf
00:28:31 verbose #72424 > path_buf_exists path_buf && path_buf_is_file path_buf
00:28:31 verbose #72425 > | TypeScript (Native) => fun () =>
00:28:31 verbose #72426 > global "type IFsExistsSync = abstract existsSync: path: string ->
00:28:31 verbose #72427 > bool"
00:28:31 verbose #72428 > inl fs : $'IFsExistsSync' = ts.import_all "fs"
00:28:31 verbose #72429 > ts.emit_expr path $'"!fs.existsSync($0)"'
00:28:31 verbose #72430 > | _ => fun () => null ()
00:28:32 verbose #72431 > 00:28:31 debug #973 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/25f18e4836cc7d31c3cd0d01c9e99194f5ad4aec6f940d480b50cb8e8b670cd9/main.spi
00:28:32 verbose #72432 >
00:28:32 verbose #72433 > ╭─[ 959.31ms - stdout ]────────────────────────────────────────────────────────╮
00:28:32 verbose #72434 > │ () │
00:28:32 verbose #72435 > │ │
00:28:32 verbose #72436 > │ │
00:28:32 verbose #72437 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:32 verbose #72438 >
00:28:32 verbose #72439 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:32 verbose #72440 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:32 verbose #72441 > │ ## directory_delete │
00:28:32 verbose #72442 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:32 verbose #72443 >
00:28:32 verbose #72444 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:32 verbose #72445 > inl directory_delete recursive (path : string) : () =
00:28:32 verbose #72446 > run_target function
00:28:32 verbose #72447 > | Fsharp (Native) => fun () =>
00:28:32 verbose #72448 > $'System.IO.Directory.Delete (!path, !recursive)'
00:28:32 verbose #72449 > | Rust (Native) => fun () =>
00:28:32 verbose #72450 > inl path = join path
00:28:32 verbose #72451 > if path |> directory_exists then
00:28:32 verbose #72452 > open rust_operators
00:28:32 verbose #72453 > if recursive
00:28:32 verbose #72454 > then !\\(path, $'"std::fs::remove_dir_all(&*$0).unwrap()"')
00:28:32 verbose #72455 > else !\\(path, $'"std::fs::remove_dir(&*$0).unwrap()"')
00:28:32 verbose #72456 > | _ => fun () => null ()
00:28:33 verbose #72457 > 00:28:32 debug #974 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f313a380b5b1edaba5e6f875334934e46816c2adf5de5a2053dcd0fa67f6c0c7/main.spi
00:28:33 verbose #72458 >
00:28:33 verbose #72459 > ╭─[ 982.87ms - stdout ]────────────────────────────────────────────────────────╮
00:28:33 verbose #72460 > │ () │
00:28:33 verbose #72461 > │ │
00:28:33 verbose #72462 > │ │
00:28:33 verbose #72463 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:33 verbose #72464 >
00:28:33 verbose #72465 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:33 verbose #72466 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:33 verbose #72467 > │ ## read_all_text_async │
00:28:33 verbose #72468 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:33 verbose #72469 >
00:28:33 verbose #72470 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:33 verbose #72471 > inl read_all_text_async (path : string) : _ string =
00:28:33 verbose #72472 > run_target function
00:28:33 verbose #72473 > | Fsharp (Native) => fun () =>
00:28:33 verbose #72474 > path |> $'System.IO.File.ReadAllTextAsync' |> async.await_task
00:28:33 verbose #72475 > | _ => fun () => null ()
00:28:34 verbose #72476 > 00:28:33 debug #975 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/50e211b7dbedde26cf58b659bea22954dc7f89626aeff684971e7c15445f14c0/main.spi
00:28:34 verbose #72477 >
00:28:34 verbose #72478 > ╭─[ 1.05s - stdout ]───────────────────────────────────────────────────────────╮
00:28:34 verbose #72479 > │ () │
00:28:34 verbose #72480 > │ │
00:28:34 verbose #72481 > │ │
00:28:34 verbose #72482 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:34 verbose #72483 >
00:28:34 verbose #72484 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:35 verbose #72485 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:35 verbose #72486 > │ ## file_exists_content │
00:28:35 verbose #72487 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:35 verbose #72488 >
00:28:35 verbose #72489 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:35 verbose #72490 > inl file_exists_content path content : _ bool =
00:28:35 verbose #72491 > run_target function
00:28:35 verbose #72492 > | Fsharp (Native) => fun () =>
00:28:35 verbose #72493 > fun () =>
00:28:35 verbose #72494 > fix_condition
00:28:35 verbose #72495 > fun () => path |> file_exists |> not
00:28:35 verbose #72496 > fun () => false |> return
00:28:35 verbose #72497 > fun () =>
00:28:35 verbose #72498 > inl existing_content = path |> read_all_text_async |>
00:28:35 verbose #72499 > async.let'
00:28:35 verbose #72500 > content = existing_content |> return
00:28:35 verbose #72501 > |> async.new_async_unit
00:28:35 verbose #72502 > | _ => fun () => null ()
00:28:35 verbose #72503 > 00:28:34 debug #976 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d789ecf5d4e1791a0cbb4a9c13423a4827d98e1746a68d00e0f609b880504c23/main.spi
00:28:36 verbose #72504 >
00:28:36 verbose #72505 > ╭─[ 1.22s - stdout ]───────────────────────────────────────────────────────────╮
00:28:36 verbose #72506 > │ () │
00:28:36 verbose #72507 > │ │
00:28:36 verbose #72508 > │ │
00:28:36 verbose #72509 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:36 verbose #72510 >
00:28:36 verbose #72511 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:36 verbose #72512 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:36 verbose #72513 > │ ## write_all_text │
00:28:36 verbose #72514 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:36 verbose #72515 >
00:28:36 verbose #72516 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:36 verbose #72517 > inl write_all_text (path : string) (text : string) : () =
00:28:36 verbose #72518 > run_target function
00:28:36 verbose #72519 > | Fsharp (Native) => fun () =>
00:28:36 verbose #72520 > inl text = join text
00:28:36 verbose #72521 > $'System.IO.File.WriteAllText (!path, !text)'
00:28:36 verbose #72522 > | Rust (Native) => fun () =>
00:28:36 verbose #72523 > open rust_operators
00:28:36 verbose #72524 > !\\((path, text), $'"std::fs::write(&*$0, &*$1).unwrap()"')
00:28:36 verbose #72525 > | _ => fun () => null ()
00:28:36 verbose #72526 > 00:28:35 debug #977 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/49d7ff342558a137a84d9019de74ea3907f808988e3778e75750715bc8b69a8a/main.spi
00:28:37 verbose #72527 >
00:28:37 verbose #72528 > ╭─[ 803.84ms - stdout ]────────────────────────────────────────────────────────╮
00:28:37 verbose #72529 > │ () │
00:28:37 verbose #72530 > │ │
00:28:37 verbose #72531 > │ │
00:28:37 verbose #72532 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #72533 >
00:28:37 verbose #72534 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:37 verbose #72535 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:37 verbose #72536 > │ ## read_all_bytes │
00:28:37 verbose #72537 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #72538 >
00:28:37 verbose #72539 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:37 verbose #72540 > inl read_all_bytes (path : string) : am'.vec u8 =
00:28:37 verbose #72541 > run_target function
00:28:37 verbose #72542 > | Fsharp (Native) => fun () =>
00:28:37 verbose #72543 > $'!path |> System.IO.File.ReadAllBytes'
00:28:37 verbose #72544 > |> am'.to_vec
00:28:37 verbose #72545 > | Rust (Native) => fun () =>
00:28:37 verbose #72546 > open rust_operators
00:28:37 verbose #72547 > !\\(path, $'"std::fs::read(&*$0).unwrap()"')
00:28:37 verbose #72548 > | _ => fun () => null ()
00:28:37 verbose #72549 > 00:28:36 debug #978 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/60396c68677ea0acc4be33dec73f60faab2d02b1ad244720cde2770fc0dc7c59/main.spi
00:28:37 verbose #72550 >
00:28:37 verbose #72551 > ╭─[ 915.23ms - stdout ]────────────────────────────────────────────────────────╮
00:28:37 verbose #72552 > │ () │
00:28:37 verbose #72553 > │ │
00:28:37 verbose #72554 > │ │
00:28:37 verbose #72555 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #72556 >
00:28:37 verbose #72557 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:37 verbose #72558 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:37 verbose #72559 > │ ## read_all_text │
00:28:37 verbose #72560 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:37 verbose #72561 >
00:28:37 verbose #72562 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:37 verbose #72563 > inl read_all_text (path : string) : string =
00:28:37 verbose #72564 > run_target function
00:28:37 verbose #72565 > | Fsharp (Native) => fun () =>
00:28:37 verbose #72566 > $'!path |> System.IO.File.ReadAllText'
00:28:37 verbose #72567 > | Rust (Native) => fun () =>
00:28:37 verbose #72568 > path
00:28:37 verbose #72569 > |> read_all_bytes
00:28:37 verbose #72570 > |> sm'.string_from_utf8
00:28:37 verbose #72571 > |> resultm.unwrap'
00:28:37 verbose #72572 > |> sm'.from_std_string
00:28:37 verbose #72573 > | _ => fun () => null ()
00:28:38 verbose #72574 > 00:28:37 debug #979 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9f628cb49f7924a27aa011f8b1508c29d10225ab16ad5b2f143407f0393a2de9/main.spi
00:28:38 verbose #72575 >
00:28:38 verbose #72576 > ╭─[ 796.34ms - stdout ]────────────────────────────────────────────────────────╮
00:28:38 verbose #72577 > │ () │
00:28:38 verbose #72578 > │ │
00:28:38 verbose #72579 > │ │
00:28:38 verbose #72580 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:38 verbose #72581 >
00:28:38 verbose #72582 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:38 verbose #72583 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:38 verbose #72584 > │ ## write_all_text_async │
00:28:38 verbose #72585 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:38 verbose #72586 >
00:28:38 verbose #72587 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:38 verbose #72588 > inl write_all_text_async (path : string) (text : string) : _ () =
00:28:38 verbose #72589 > run_target function
00:28:38 verbose #72590 > | Fsharp (Native) => fun () =>
00:28:38 verbose #72591 > $'System.IO.File.WriteAllTextAsync (!path, !text)' |>
00:28:38 verbose #72592 > async.await_task
00:28:38 verbose #72593 > | _ => fun () => null ()
00:28:39 verbose #72594 > 00:28:38 debug #980 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/646f22f8ee41e1c5db65860aab76d2638c276682ee701bfec439c13a90e89c70/main.spi
00:28:39 verbose #72595 >
00:28:39 verbose #72596 > ╭─[ 962.84ms - stdout ]────────────────────────────────────────────────────────╮
00:28:39 verbose #72597 > │ () │
00:28:39 verbose #72598 > │ │
00:28:39 verbose #72599 > │ │
00:28:39 verbose #72600 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:39 verbose #72601 >
00:28:39 verbose #72602 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:39 verbose #72603 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:39 verbose #72604 > │ ## write_all_text_exists │
00:28:39 verbose #72605 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:39 verbose #72606 >
00:28:39 verbose #72607 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:39 verbose #72608 > inl write_all_text_exists path contents =
00:28:39 verbose #72609 > fun () =>
00:28:39 verbose #72610 > inl exists' = contents |> file_exists_content path |> async.let'
00:28:39 verbose #72611 > if not exists'
00:28:39 verbose #72612 > then contents |> write_all_text_async path |> async.do
00:28:39 verbose #72613 > |> async.new_async
00:28:40 verbose #72614 > 00:28:39 debug #981 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/79a22c653c8ffea28df01f5ae83242013555b114e4019e1848d392f4eb62286e/main.spi
00:28:40 verbose #72615 >
00:28:40 verbose #72616 > ╭─[ 975.16ms - stdout ]────────────────────────────────────────────────────────╮
00:28:40 verbose #72617 > │ () │
00:28:40 verbose #72618 > │ │
00:28:40 verbose #72619 > │ │
00:28:40 verbose #72620 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:40 verbose #72621 >
00:28:40 verbose #72622 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:40 verbose #72623 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:40 verbose #72624 > │ ## delete_directory_async │
00:28:40 verbose #72625 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:40 verbose #72626 >
00:28:40 verbose #72627 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:40 verbose #72628 > inl delete_directory_async path : _ i64 =
00:28:40 verbose #72629 > run_target function
00:28:40 verbose #72630 > | Fsharp (Native) => fun () =>
00:28:40 verbose #72631 > let rec loop (retry : i64) =
00:28:40 verbose #72632 > fun () =>
00:28:40 verbose #72633 > try_unit
00:28:40 verbose #72634 > fun () =>
00:28:40 verbose #72635 > path |> directory_delete true
00:28:40 verbose #72636 > retry |> return
00:28:40 verbose #72637 > fun ex =>
00:28:40 verbose #72638 > if retry % 100i64 = 0 then
00:28:40 verbose #72639 > inl ex = ex |> sm'.format_exception
00:28:40 verbose #72640 > trace Debug
00:28:40 verbose #72641 > fun () =>
00:28:40 verbose #72642 > "file_system.delete_directory_async"
00:28:40 verbose #72643 > fun () => $'$"path: {!path |>
00:28:40 verbose #72644 > !get_file_name} / ex: {!ex} / {!_locals ()}"'
00:28:40 verbose #72645 > async.sleep 10i32 |> async.do
00:28:40 verbose #72646 > loop (retry + 1) |> async.return_await
00:28:40 verbose #72647 > |> async.new_async
00:28:40 verbose #72648 > loop 0
00:28:40 verbose #72649 > | _ => fun () => null ()
00:28:41 verbose #72650 > 00:28:40 debug #982 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7b330e4c3b749137b76dcb0655647f3e9416bb0397572d01e0a1729e5c39e859/main.spi
00:28:41 verbose #72651 >
00:28:41 verbose #72652 > ╭─[ 887.41ms - stdout ]────────────────────────────────────────────────────────╮
00:28:41 verbose #72653 > │ () │
00:28:41 verbose #72654 > │ │
00:28:41 verbose #72655 > │ │
00:28:41 verbose #72656 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:41 verbose #72657 >
00:28:41 verbose #72658 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:41 verbose #72659 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:41 verbose #72660 > │ ## create_directory' │
00:28:41 verbose #72661 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:41 verbose #72662 >
00:28:41 verbose #72663 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:41 verbose #72664 > inl create_directory' dir =
00:28:41 verbose #72665 > run_target function
00:28:41 verbose #72666 > | Fsharp (Native) => fun () =>
00:28:41 verbose #72667 > inl directory_info = dir |> create_directory
00:28:41 verbose #72668 >
00:28:41 verbose #72669 > inl exists' = directory_info |> directory_info_exists
00:28:41 verbose #72670 > if not exists' then
00:28:41 verbose #72671 > inl creation_time = directory_info |>
00:28:41 verbose #72672 > directory_info_creation_time
00:28:41 verbose #72673 > inl result = ($'{| Exists = !exists'; CreationTime =
00:28:41 verbose #72674 > !creation_time |}' : any) |> sm'.format_debug
00:28:41 verbose #72675 > trace Debug
00:28:41 verbose #72676 > fun () => "file_system.create_directory"
00:28:41 verbose #72677 > fun () => $'$"dir: {!dir} / result: {!result} {!_locals
00:28:41 verbose #72678 > ()}"'
00:28:41 verbose #72679 > inl disposable : _ () = new_disposable fun () =>
00:28:41 verbose #72680 > dir
00:28:41 verbose #72681 > |> delete_directory_async
00:28:41 verbose #72682 > |> async.ignore
00:28:41 verbose #72683 > |> async.run_synchronously
00:28:41 verbose #72684 > disposable
00:28:41 verbose #72685 > | Rust (Native) => fun () =>
00:28:41 verbose #72686 > inl dir = join dir
00:28:41 verbose #72687 > match dir |> create_dir_all |> resultm.map_error' sm'.format' |>
00:28:41 verbose #72688 > resultm.unbox with
00:28:41 verbose #72689 > | Ok () =>
00:28:41 verbose #72690 > trace Verbose
00:28:41 verbose #72691 > fun () => "file_system.create_directory"
00:28:41 verbose #72692 > fun () => $'$"dir: {!dir} / {!_locals ()}"'
00:28:41 verbose #72693 > | Error error =>
00:28:41 verbose #72694 > trace Critical
00:28:41 verbose #72695 > fun () => "file_system.create_directory"
00:28:41 verbose #72696 > fun () => $'$"dir: {!dir} / error: {!error} / {!_locals
00:28:41 verbose #72697 > ()}"'
00:28:41 verbose #72698 > inl disposable : _ () = new_disposable fun () =>
00:28:41 verbose #72699 > dir
00:28:41 verbose #72700 > |> directory_delete true
00:28:41 verbose #72701 > disposable
00:28:41 verbose #72702 > | _ => fun () => null ()
00:28:42 verbose #72703 > 00:28:41 debug #983 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ac25888289eff8198dbc6228c4eb271f362509cfc84c40a092429d70dec979cf/main.spi
00:28:42 verbose #72704 >
00:28:42 verbose #72705 > ╭─[ 1.07s - stdout ]───────────────────────────────────────────────────────────╮
00:28:42 verbose #72706 > │ () │
00:28:42 verbose #72707 > │ │
00:28:42 verbose #72708 > │ │
00:28:42 verbose #72709 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:42 verbose #72710 >
00:28:42 verbose #72711 > ── markdown ────────────────────────────────────────────────────────────────────
00:28:42 verbose #72712 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:28:42 verbose #72713 > │ ## create_temp_directory │
00:28:42 verbose #72714 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:42 verbose #72715 >
00:28:42 verbose #72716 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:42 verbose #72717 > inl create_temp_directory () =
00:28:42 verbose #72718 > inl dir = create_temp_directory_name ()
00:28:42 verbose #72719 > dir, dir |> create_directory'
00:28:43 verbose #72720 > 00:28:42 debug #984 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/09b5811e2583ebb64f6b6a872222757ae5faf7f247aae0152b7e7fc555091cf3/main.spi
00:28:43 verbose #72721 >
00:28:43 verbose #72722 > ╭─[ 949.04ms - stdout ]────────────────────────────────────────────────────────╮
00:28:43 verbose #72723 > │ () │
00:28:43 verbose #72724 > │ │
00:28:43 verbose #72725 > │ │
00:28:43 verbose #72726 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:43 verbose #72727 >
00:28:43 verbose #72728 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:43 verbose #72729 > //// test
00:28:43 verbose #72730 > //// print_code=false
00:28:43 verbose #72731 >
00:28:43 verbose #72732 > types ()
00:28:43 verbose #72733 > inl path, disposable = create_temp_directory ()
00:28:43 verbose #72734 > disposable |> use |> ignore
00:28:43 verbose #72735 > path
00:28:43 verbose #72736 > |> directory_exists
00:28:43 verbose #72737 > |> _assert_eq true
00:28:44 verbose #72738 > 00:28:43 debug #985 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f7f7dd8168951b5be076f3dd8865531bb1a7fba7be3e98cb74ac0bf6974702f3/main.spi
00:28:46 verbose #72739 >
00:28:46 verbose #72740 > ╭─[ 2.69s - stdout ]───────────────────────────────────────────────────────────╮
00:28:46 verbose #72741 > │ assert_eq / actual: true / expected: true │
00:28:46 verbose #72742 > │ │
00:28:46 verbose #72743 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:28:46 verbose #72744 >
00:28:46 verbose #72745 > ── spiral ──────────────────────────────────────────────────────────────────────
00:28:46 verbose #72746 > //// test
00:28:46 verbose #72747 > //// print_code=false
00:28:46 verbose #72748 > ///! rust
00:28:46 verbose #72749 >
00:28:46 verbose #72750 > types ()
00:28:46 verbose #72751 > inl path, disposable = create_temp_directory ()
00:28:46 verbose #72752 > path
00:28:46 verbose #72753 > |> directory_exists
00:28:46 verbose #72754 > |> _assert_eq true
00:28:46 verbose #72755 > disposable |> use |> ignore
00:28:46 verbose #72756 > path
00:28:46 verbose #72757 > |> directory_exists
00:28:46 verbose #72758 > |> _assert_eq false
00:28:46 verbose #72759 > 00:28:45 debug #986 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2480d68ca5bace89d80ac5c462904f037e64f7272681f8fbe9faa596e9a1e182/main.spi
00:29:31 verbose #72760 >
00:29:31 verbose #72761 > ╭─[ 45.00s - return value ]────────────────────────────────────────────────────╮
00:29:31 verbose #72762 > │ 03:03:53 verbose #1 file_system.create_directory / dir: │
00:29:31 verbose #72763 > │ C:\Users\i574n\AppData\Local\Temp\!spiral_eval\20240503-0303-5324-6231-00000 │
00:29:31 verbose #72764 > │ 0c6b82b │
00:29:31 verbose #72765 > │ assert_eq / actual: true / expected: true │
00:29:31 verbose #72766 > │ assert_eq / actual: false / expected: false │
00:29:31 verbose #72767 > │ │
00:29:31 verbose #72768 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:31 verbose #72769 >
00:29:31 verbose #72770 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:31 verbose #72771 > //// test
00:29:31 verbose #72772 >
00:29:31 verbose #72773 > inl lock_directory path =
00:29:31 verbose #72774 > fun () =>
00:29:31 verbose #72775 > trace Debug (fun () => "_1") _locals
00:29:31 verbose #72776 > "0" |> write_all_text_async (path </> "test.txt") |> async.do
00:29:31 verbose #72777 > file_stream
00:29:31 verbose #72778 > (path </> "test.txt")
00:29:31 verbose #72779 > ModeOpen
00:29:31 verbose #72780 > AccessReadWrite
00:29:31 verbose #72781 > ShareNone
00:29:31 verbose #72782 > |> use
00:29:31 verbose #72783 > |> ignore
00:29:31 verbose #72784 > trace Debug (fun () => "_2") _locals
00:29:31 verbose #72785 > async.sleep 2000 |> async.do
00:29:31 verbose #72786 > trace Debug (fun () => "_3") _locals
00:29:31 verbose #72787 > () |> return
00:29:31 verbose #72788 > |> async.new_async
00:29:31 verbose #72789 >
00:29:31 verbose #72790 > types ()
00:29:31 verbose #72791 > inl temp_dir, disposable = create_temp_directory ()
00:29:31 verbose #72792 > disposable |> use |> ignore
00:29:31 verbose #72793 > inl path = temp_dir </> "test"
00:29:31 verbose #72794 >
00:29:31 verbose #72795 > fun () =>
00:29:31 verbose #72796 > trace Debug (fun () => "1") _locals
00:29:31 verbose #72797 > path |> create_directory |> ignore
00:29:31 verbose #72798 > trace Debug (fun () => "2") _locals
00:29:31 verbose #72799 > inl child = path |> lock_directory |> async.start_child |> async.let'
00:29:31 verbose #72800 > trace Debug (fun () => "3") _locals
00:29:31 verbose #72801 > async.sleep 60 |> async.do
00:29:31 verbose #72802 > trace Debug (fun () => "4") _locals
00:29:31 verbose #72803 > inl retries = path |> delete_directory_async |> async.let'
00:29:31 verbose #72804 > trace Debug (fun () => "5") _locals
00:29:31 verbose #72805 > child |> async.do
00:29:31 verbose #72806 > trace Debug (fun () => "6") _locals
00:29:31 verbose #72807 > retries |> return
00:29:31 verbose #72808 > |> async.new_async_unit
00:29:31 verbose #72809 > |> async.run_with_timeout 3000
00:29:31 verbose #72810 > |> fun x => x : _ i64
00:29:31 verbose #72811 > |> function
00:29:31 verbose #72812 > | Some (retries : i64) =>
00:29:31 verbose #72813 > retries
00:29:31 verbose #72814 > |> _assert_between
00:29:31 verbose #72815 > (if runtime.is_windows () then 50 else 0)
00:29:31 verbose #72816 > (if runtime.is_windows () then 150 else 0)
00:29:31 verbose #72817 >
00:29:31 verbose #72818 > true
00:29:31 verbose #72819 > | _ => false
00:29:31 verbose #72820 > |> _assert_eq true
00:29:31 verbose #72821 > 00:29:30 debug #987 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c9ca946233c2e4859e7113d7d599623e77cf77df3b66ff8f45b893847779fb5c/main.spi
00:29:34 verbose #72822 >
00:29:35 verbose #72823 > ╭─[ 3.67s - stdout ]───────────────────────────────────────────────────────────╮
00:29:35 verbose #72824 > │ #if FABLE_COMPILER │
00:29:35 verbose #72825 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:29:35 verbose #72826 > │ #endif │
00:29:35 verbose #72827 > │ type Func0<'T> = class end │
00:29:35 verbose #72828 > │ #if FABLE_COMPILER │
00:29:35 verbose #72829 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:29:35 verbose #72830 > │ #endif │
00:29:35 verbose #72831 > │ type Func0<'T, 'U> = class end │
00:29:35 verbose #72832 > │ #if FABLE_COMPILER │
00:29:35 verbose #72833 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:29:35 verbose #72834 > │ #endif │
00:29:35 verbose #72835 > │ type Box<'T> = class end │
00:29:35 verbose #72836 > │ #if FABLE_COMPILER │
00:29:35 verbose #72837 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:29:35 verbose #72838 > │ #endif │
00:29:35 verbose #72839 > │ type Dyn<'T> = class end │
00:29:35 verbose #72840 > │ #if FABLE_COMPILER │
00:29:35 verbose #72841 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:29:35 verbose #72842 > │ #endif │
00:29:35 verbose #72843 > │ type Send<'T> = class end │
00:29:35 verbose #72844 > │ #if FABLE_COMPILER │
00:29:35 verbose #72845 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:29:35 verbose #72846 > │ #endif │
00:29:35 verbose #72847 > │ type Fn<'T> = class end │
00:29:35 verbose #72848 > │ #if FABLE_COMPILER │
00:29:35 verbose #72849 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:29:35 verbose #72850 > │ #endif │
00:29:35 verbose #72851 > │ type FnUnit = class end │
00:29:35 verbose #72852 > │ #if FABLE_COMPILER │
00:29:35 verbose #72853 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:29:35 verbose #72854 > │ #endif │
00:29:35 verbose #72855 > │ type FnOnce<'T> = class end │
00:29:35 verbose #72856 > │ #if FABLE_COMPILER │
00:29:35 verbose #72857 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:29:35 verbose #72858 > │ #endif │
00:29:35 verbose #72859 > │ type ActionFn<'T> = class end │
00:29:35 verbose #72860 > │ #if FABLE_COMPILER │
00:29:35 verbose #72861 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:29:35 verbose #72862 > │ #endif │
00:29:35 verbose #72863 > │ type ActionFn2<'T, 'U> = class end │
00:29:35 verbose #72864 > │ #if FABLE_COMPILER │
00:29:35 verbose #72865 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:29:35 verbose #72866 > │ #endif │
00:29:35 verbose #72867 > │ type Impl<'T> = class end │
00:29:35 verbose #72868 > │ #if FABLE_COMPILER │
00:29:35 verbose #72869 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:29:35 verbose #72870 > │ #endif │
00:29:35 verbose #72871 > │ type Mut<'T> = class end │
00:29:35 verbose #72872 > │ #if FABLE_COMPILER │
00:29:35 verbose #72873 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:29:35 verbose #72874 > │ #endif │
00:29:35 verbose #72875 > │ type Ref<'T> = class end │
00:29:35 verbose #72876 > │ #if FABLE_COMPILER │
00:29:35 verbose #72877 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:29:35 verbose #72878 > │ #endif │
00:29:35 verbose #72879 > │ type StaticRef<'T> = class end │
00:29:35 verbose #72880 > │ #if FABLE_COMPILER │
00:29:35 verbose #72881 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:29:35 verbose #72882 > │ #endif │
00:29:35 verbose #72883 > │ type MutCell<'T> = class end │
00:29:35 verbose #72884 > │ #if FABLE_COMPILER │
00:29:35 verbose #72885 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:29:35 verbose #72886 > │ #endif │
00:29:35 verbose #72887 > │ type std_any_Any = class end │
00:29:35 verbose #72888 > │ #if FABLE_COMPILER │
00:29:35 verbose #72889 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:29:35 verbose #72890 > │ #endif │
00:29:35 verbose #72891 > │ type std_borrow_Cow<'T> = class end │
00:29:35 verbose #72892 > │ #if FABLE_COMPILER │
00:29:35 verbose #72893 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:29:35 verbose #72894 > │ #endif │
00:29:35 verbose #72895 > │ type std_cell_RefCell<'T> = class end │
00:29:35 verbose #72896 > │ #if FABLE_COMPILER │
00:29:35 verbose #72897 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:29:35 verbose #72898 > │ #endif │
00:29:35 verbose #72899 > │ type std_pin_Pin<'T> = class end │
00:29:35 verbose #72900 > │ #if FABLE_COMPILER │
00:29:35 verbose #72901 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:29:35 verbose #72902 > │ #endif │
00:29:35 verbose #72903 > │ type std_rc_Rc<'T> = class end │
00:29:35 verbose #72904 > │ #if FABLE_COMPILER │
00:29:35 verbose #72905 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:29:35 verbose #72906 > │ #endif │
00:29:35 verbose #72907 > │ type std_rc_Weak<'T> = class end │
00:29:35 verbose #72908 > │ #if FABLE_COMPILER │
00:29:35 verbose #72909 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:29:35 verbose #72910 > │ #endif │
00:29:35 verbose #72911 > │ type Str = class end │
00:29:35 verbose #72912 > │ #if FABLE_COMPILER │
00:29:35 verbose #72913 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:29:35 verbose #72914 > │ #endif │
00:29:35 verbose #72915 > │ type base64_DecodeError = class end │
00:29:35 verbose #72916 > │ #if FABLE_COMPILER │
00:29:35 verbose #72917 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:29:35 verbose #72918 > │ #endif │
00:29:35 verbose #72919 > │ type borsh_io_Error = class end │
00:29:35 verbose #72920 > │ #if FABLE_COMPILER │
00:29:35 verbose #72921 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:29:35 verbose #72922 > │ #endif │
00:29:35 verbose #72923 > │ type js_sys_JsString = class end │
00:29:35 verbose #72924 > │ #if FABLE_COMPILER │
00:29:35 verbose #72925 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:29:35 verbose #72926 > │ #endif │
00:29:35 verbose #72927 > │ type serde_json_Error = class end │
00:29:35 verbose #72928 > │ #if FABLE_COMPILER │
00:29:35 verbose #72929 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:29:35 verbose #72930 > │ #endif │
00:29:35 verbose #72931 > │ type serde_json_Value = class end │
00:29:35 verbose #72932 > │ #if FABLE_COMPILER │
00:29:35 verbose #72933 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:29:35 verbose #72934 > │ #endif │
00:29:35 verbose #72935 > │ type serde_wasm_bindgen_Error = class end │
00:29:35 verbose #72936 > │ #if FABLE_COMPILER │
00:29:35 verbose #72937 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:29:35 verbose #72938 > │ #endif │
00:29:35 verbose #72939 > │ type std_ffi_OsStr = class end │
00:29:35 verbose #72940 > │ #if FABLE_COMPILER │
00:29:35 verbose #72941 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:29:35 verbose #72942 > │ #endif │
00:29:35 verbose #72943 > │ type std_ffi_OsString = class end │
00:29:35 verbose #72944 > │ #if FABLE_COMPILER │
00:29:35 verbose #72945 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:29:35 verbose #72946 > │ #endif │
00:29:35 verbose #72947 > │ type std_fmt_Display<'T> = class end │
00:29:35 verbose #72948 > │ #if FABLE_COMPILER │
00:29:35 verbose #72949 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:29:35 verbose #72950 > │ #endif │
00:29:35 verbose #72951 > │ type std_str_Utf8Error = class end │
00:29:35 verbose #72952 > │ #if FABLE_COMPILER │
00:29:35 verbose #72953 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:29:35 verbose #72954 > │ #endif │
00:29:35 verbose #72955 > │ type std_string_FromUtf8Error = class end │
00:29:35 verbose #72956 > │ #if FABLE_COMPILER │
00:29:35 verbose #72957 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:29:35 verbose #72958 > │ #endif │
00:29:35 verbose #72959 > │ type std_string_String = class end │
00:29:35 verbose #72960 > │ #if FABLE_COMPILER │
00:29:35 verbose #72961 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:29:35 verbose #72962 > │ #endif │
00:29:35 verbose #72963 > │ type std_slice_Windows<'T> = class end │
00:29:35 verbose #72964 > │ #if FABLE_COMPILER │
00:29:35 verbose #72965 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:29:35 verbose #72966 > │ #endif │
00:29:35 verbose #72967 > │ type chrono_DateTime<'T> = class end │
00:29:35 verbose #72968 > │ #if FABLE_COMPILER │
00:29:35 verbose #72969 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:29:35 verbose #72970 > │ #endif │
00:29:35 verbose #72971 > │ type chrono_Local = class end │
00:29:35 verbose #72972 > │ #if FABLE_COMPILER │
00:29:35 verbose #72973 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:29:35 verbose #72974 > │ #endif │
00:29:35 verbose #72975 > │ type chrono_NaiveDateTime = class end │
00:29:35 verbose #72976 > │ #if FABLE_COMPILER │
00:29:35 verbose #72977 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:29:35 verbose #72978 > │ #endif │
00:29:35 verbose #72979 > │ type chrono_Utc = class end │
00:29:35 verbose #72980 > │ #if FABLE_COMPILER │
00:29:35 verbose #72981 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:29:35 verbose #72982 > │ #endif │
00:29:35 verbose #72983 > │ type std_time_Duration = class end │
00:29:35 verbose #72984 > │ #if FABLE_COMPILER │
00:29:35 verbose #72985 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:29:35 verbose #72986 > │ #endif │
00:29:35 verbose #72987 > │ type async_std_io_BufReader<'T> = class end │
00:29:35 verbose #72988 > │ #if FABLE_COMPILER │
00:29:35 verbose #72989 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:29:35 verbose #72990 > │ #endif │
00:29:35 verbose #72991 > │ type std_io_BufReader<'T> = class end │
00:29:35 verbose #72992 > │ #if FABLE_COMPILER │
00:29:35 verbose #72993 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:29:35 verbose #72994 > │ #endif │
00:29:35 verbose #72995 > │ type std_io_Error = class end │
00:29:35 verbose #72996 > │ #if FABLE_COMPILER │
00:29:35 verbose #72997 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:29:35 verbose #72998 > │ #endif │
00:29:35 verbose #72999 > │ type std_io_Lines<'T> = class end │
00:29:35 verbose #73000 > │ #if FABLE_COMPILER │
00:29:35 verbose #73001 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:29:35 verbose #73002 > │ #endif │
00:29:35 verbose #73003 > │ type std_fs_File = class end │
00:29:35 verbose #73004 > │ #if FABLE_COMPILER │
00:29:35 verbose #73005 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:29:35 verbose #73006 > │ #endif │
00:29:35 verbose #73007 > │ type std_fs_FileType = class end │
00:29:35 verbose #73008 > │ #if FABLE_COMPILER │
00:29:35 verbose #73009 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:29:35 verbose #73010 > │ #endif │
00:29:35 verbose #73011 > │ type std_path_Display = class end │
00:29:35 verbose #73012 > │ #if FABLE_COMPILER │
00:29:35 verbose #73013 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:29:35 verbose #73014 > │ #endif │
00:29:35 verbose #73015 > │ type std_path_Path = class end │
00:29:35 verbose #73016 > │ #if FABLE_COMPILER │
00:29:35 verbose #73017 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:29:35 verbose #73018 > │ #endif │
00:29:35 verbose #73019 > │ type std_path_PathBuf = class end │
00:29:35 verbose #73020 > │ #if FABLE_COMPILER │
00:29:35 verbose #73021 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:29:35 verbose #73022 > │ #endif │
00:29:35 verbose #73023 > │ type async_walkdir_DirEntry = class end │
00:29:35 verbose #73024 > │ #if FABLE_COMPILER │
00:29:35 verbose #73025 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:29:35 verbose #73026 > │ #endif │
00:29:35 verbose #73027 > │ type async_walkdir_Filtering = class end │
00:29:35 verbose #73028 > │ #if FABLE_COMPILER │
00:29:35 verbose #73029 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:29:35 verbose #73030 > │ #endif │
00:29:35 verbose #73031 > │ type async_walkdir_WalkDir = class end │
00:29:35 verbose #73032 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:29:35 verbose #73033 > │ string │
00:29:35 verbose #73034 > │ module State = let mutable trace_state = None │
00:29:35 verbose #73035 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:29:35 verbose #73036 > │ member _.Dispose () = f () │
00:29:35 verbose #73037 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:29:35 verbose #73038 > │ type [<Struct>] US0 = │
00:29:35 verbose #73039 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:29:35 verbose #73040 > │ | US0_1 │
00:29:35 verbose #73041 > │ and [<Struct>] US1 = │
00:29:35 verbose #73042 > │ | US1_0 of f0_0 : string │
00:29:35 verbose #73043 > │ | US1_1 │
00:29:35 verbose #73044 > │ and [<Struct>] US2 = │
00:29:35 verbose #73045 > │ | US2_0 │
00:29:35 verbose #73046 > │ | US2_1 of f1_0 : std_string_String │
00:29:35 verbose #73047 > │ and [<Struct>] US3 = │
00:29:35 verbose #73048 > │ | US3_0 │
00:29:35 verbose #73049 > │ | US3_1 │
00:29:35 verbose #73050 > │ | US3_2 │
00:29:35 verbose #73051 > │ | US3_3 │
00:29:35 verbose #73052 > │ | US3_4 │
00:29:35 verbose #73053 > │ and Mut0 = {mutable l0 : int64} │
00:29:35 verbose #73054 > │ and Mut1 = {mutable l0 : bool} │
00:29:35 verbose #73055 > │ and Mut2 = {mutable l0 : US3} │
00:29:35 verbose #73056 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:29:35 verbose #73057 > │ and [<Struct>] US4 = │
00:29:35 verbose #73058 > │ | US4_0 of f0_0 : int64 │
00:29:35 verbose #73059 > │ | US4_1 │
00:29:35 verbose #73060 > │ and [<Struct>] US5 = │
00:29:35 verbose #73061 > │ | US5_0 of f0_0 : int64 │
00:29:35 verbose #73062 > │ | US5_1 │
00:29:35 verbose #73063 > │ and [<Struct>] US6 = │
00:29:35 verbose #73064 > │ | US6_0 of f0_0 : int64 │
00:29:35 verbose #73065 > │ | US6_1 of f1_0 : exn │
00:29:35 verbose #73066 > │ and [<Struct>] US7 = │
00:29:35 verbose #73067 > │ | US7_0 of f0_0 : int64 │
00:29:35 verbose #73068 > │ | US7_1 of f1_0 : exn │
00:29:35 verbose #73069 > │ let rec method2 (v0 : string) : string = │
00:29:35 verbose #73070 > │ v0 │
00:29:35 verbose #73071 > │ and method3 (v0 : string) : string = │
00:29:35 verbose #73072 > │ v0 │
00:29:35 verbose #73073 > │ and method4 (v0 : string) : string = │
00:29:35 verbose #73074 > │ v0 │
00:29:35 verbose #73075 > │ and method1 (v0 : string, v1 : string) : string = │
00:29:35 verbose #73076 > │ let v2 : string option = None │
00:29:35 verbose #73077 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:35 verbose #73078 > │ │
00:29:35 verbose #73079 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73080 > │ │
00:29:35 verbose #73081 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73082 > │ let v4 : string = method2(v0) │
00:29:35 verbose #73083 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73084 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:29:35 verbose #73085 > │ let v7 : string = "String::from($0)" │
00:29:35 verbose #73086 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:35 verbose #73087 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:29:35 verbose #73088 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:35 verbose #73089 > │ let v11 : string = method2(v1) │
00:29:35 verbose #73090 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73091 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:29:35 verbose #73092 > │ let v14 : string = "String::from($0)" │
00:29:35 verbose #73093 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:29:35 verbose #73094 > │ v14 │
00:29:35 verbose #73095 > │ let v16 : string = "$0.join($1)" │
00:29:35 verbose #73096 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:29:35 verbose #73097 > │ (v10, v15) v16 │
00:29:35 verbose #73098 > │ let v18 : string = "$0.display()" │
00:29:35 verbose #73099 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:35 verbose #73100 > │ let v20 : std_string_String option = None │
00:29:35 verbose #73101 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:29:35 verbose #73102 > │ │
00:29:35 verbose #73103 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73104 > │ │
00:29:35 verbose #73105 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73106 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #73107 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:35 verbose #73108 > │ v22 │
00:29:35 verbose #73109 > │ v23 │
00:29:35 verbose #73110 > │ #endif │
00:29:35 verbose #73111 > │ │
00:29:35 verbose #73112 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73113 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #73114 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:35 verbose #73115 > │ v24 │
00:29:35 verbose #73116 > │ v25 │
00:29:35 verbose #73117 > │ #endif │
00:29:35 verbose #73118 > │ │
00:29:35 verbose #73119 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73120 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #73121 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:35 verbose #73122 > │ v26 │
00:29:35 verbose #73123 > │ v27 │
00:29:35 verbose #73124 > │ #endif │
00:29:35 verbose #73125 > │ │
00:29:35 verbose #73126 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73127 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #73128 > │ v28 │
00:29:35 verbose #73129 > │ #endif │
00:29:35 verbose #73130 > │ │
00:29:35 verbose #73131 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73132 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #73133 > │ v29 │
00:29:35 verbose #73134 > │ #endif │
00:29:35 verbose #73135 > │ │
00:29:35 verbose #73136 > │ #else │
00:29:35 verbose #73137 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #73138 > │ v30 │
00:29:35 verbose #73139 > │ #endif │
00:29:35 verbose #73140 > │ |> fun x -> _v20 <- Some x │
00:29:35 verbose #73141 > │ let v31 : std_string_String = _v20.Value │
00:29:35 verbose #73142 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #73143 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:29:35 verbose #73144 > │ v33 │
00:29:35 verbose #73145 > │ #endif │
00:29:35 verbose #73146 > │ │
00:29:35 verbose #73147 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73148 > │ let v34 : string = null |> unbox<string> │
00:29:35 verbose #73149 > │ v34 │
00:29:35 verbose #73150 > │ #endif │
00:29:35 verbose #73151 > │ │
00:29:35 verbose #73152 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73153 > │ let v35 : string = null |> unbox<string> │
00:29:35 verbose #73154 > │ v35 │
00:29:35 verbose #73155 > │ #endif │
00:29:35 verbose #73156 > │ │
00:29:35 verbose #73157 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73158 > │ let v36 : string = "path" │
00:29:35 verbose #73159 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:29:35 verbose #73160 > │ let v38 : string = method3(v0) │
00:29:35 verbose #73161 > │ let v39 : string = method4(v1) │
00:29:35 verbose #73162 > │ let v40 : string = "v37.join(v38, v39)" │
00:29:35 verbose #73163 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:29:35 verbose #73164 > │ v41 │
00:29:35 verbose #73165 > │ #endif │
00:29:35 verbose #73166 > │ │
00:29:35 verbose #73167 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73168 > │ let v42 : string = null |> unbox<string> │
00:29:35 verbose #73169 > │ v42 │
00:29:35 verbose #73170 > │ #endif │
00:29:35 verbose #73171 > │ │
00:29:35 verbose #73172 > │ #else │
00:29:35 verbose #73173 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:29:35 verbose #73174 > │ v43 │
00:29:35 verbose #73175 > │ #endif │
00:29:35 verbose #73176 > │ |> fun x -> _v2 <- Some x │
00:29:35 verbose #73177 > │ let v44 : string = _v2.Value │
00:29:35 verbose #73178 > │ v44 │
00:29:35 verbose #73179 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:29:35 verbose #73180 > │ US0_0(v0) │
00:29:35 verbose #73181 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:29:35 verbose #73182 > │ closure0() │
00:29:35 verbose #73183 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:29:35 verbose #73184 > │ = │
00:29:35 verbose #73185 > │ v0 │
00:29:35 verbose #73186 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:29:35 verbose #73187 > │ chrono_DateTime<chrono_Local> = │
00:29:35 verbose #73188 > │ v0 │
00:29:35 verbose #73189 > │ and method8 () : string = │
00:29:35 verbose #73190 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:29:35 verbose #73191 > │ v0 │
00:29:35 verbose #73192 > │ and method9 () : string = │
00:29:35 verbose #73193 > │ let v0 : string = "hhmm" │
00:29:35 verbose #73194 > │ v0 │
00:29:35 verbose #73195 > │ and method10 (v0 : string) : string = │
00:29:35 verbose #73196 > │ v0 │
00:29:35 verbose #73197 > │ and closure1 () (v0 : std_io_Error) : std_string_String = │
00:29:35 verbose #73198 > │ let v1 : std_string_String option = None │
00:29:35 verbose #73199 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:35 verbose #73200 > │ │
00:29:35 verbose #73201 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73202 > │ │
00:29:35 verbose #73203 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73204 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #73205 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:29:35 verbose #73206 > │ v4 │
00:29:35 verbose #73207 > │ #endif │
00:29:35 verbose #73208 > │ │
00:29:35 verbose #73209 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73210 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #73211 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:29:35 verbose #73212 > │ v6 │
00:29:35 verbose #73213 > │ #endif │
00:29:35 verbose #73214 > │ │
00:29:35 verbose #73215 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73216 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #73217 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:29:35 verbose #73218 > │ v8 │
00:29:35 verbose #73219 > │ #endif │
00:29:35 verbose #73220 > │ │
00:29:35 verbose #73221 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73222 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #73223 > │ v9 │
00:29:35 verbose #73224 > │ #endif │
00:29:35 verbose #73225 > │ │
00:29:35 verbose #73226 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73227 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #73228 > │ v10 │
00:29:35 verbose #73229 > │ #endif │
00:29:35 verbose #73230 > │ │
00:29:35 verbose #73231 > │ #else │
00:29:35 verbose #73232 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #73233 > │ v11 │
00:29:35 verbose #73234 > │ #endif │
00:29:35 verbose #73235 > │ |> fun x -> _v1 <- Some x │
00:29:35 verbose #73236 > │ let v12 : std_string_String = _v1.Value │
00:29:35 verbose #73237 > │ v12 │
00:29:35 verbose #73238 > │ and method11 () : (std_io_Error -> std_string_String) = │
00:29:35 verbose #73239 > │ closure1() │
00:29:35 verbose #73240 > │ and closure2 () () : US2 = │
00:29:35 verbose #73241 > │ US2_0 │
00:29:35 verbose #73242 > │ and closure3 () (v0 : std_string_String) : US2 = │
00:29:35 verbose #73243 > │ US2_1(v0) │
00:29:35 verbose #73244 > │ and closure4 () () : string = │
00:29:35 verbose #73245 > │ let v0 : string = "file_system.create_directory" │
00:29:35 verbose #73246 > │ v0 │
00:29:35 verbose #73247 > │ and closure6 () () : string = │
00:29:35 verbose #73248 > │ let v0 : string = "" │
00:29:35 verbose #73249 > │ v0 │
00:29:35 verbose #73250 > │ and closure5 (v0 : string, v1 : std_string_String) () : string = │
00:29:35 verbose #73251 > │ let v2 : (unit -> string) = closure6() │
00:29:35 verbose #73252 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:29:35 verbose #73253 > │ v3 │
00:29:35 verbose #73254 > │ and closure9 () (v0 : string) : unit = │
00:29:35 verbose #73255 > │ () │
00:29:35 verbose #73256 > │ and method13 (v0 : int64 option) : int64 option = │
00:29:35 verbose #73257 > │ v0 │
00:29:35 verbose #73258 > │ and method14 (v0 : int64 option) : int64 option = │
00:29:35 verbose #73259 > │ v0 │
00:29:35 verbose #73260 > │ and closure8 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:29:35 verbose #73261 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:29:35 verbose #73262 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:29:35 verbose #73263 > │ let v2 : US3 = US3_0 │
00:29:35 verbose #73264 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:29:35 verbose #73265 > │ let v4 : (string -> unit) = closure9() │
00:29:35 verbose #73266 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:29:35 verbose #73267 > │ let v6 : int64 option option = None │
00:29:35 verbose #73268 > │ let mutable _v6 = v6 │
00:29:35 verbose #73269 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:29:35 verbose #73270 > │ let v7 : string option = None │
00:29:35 verbose #73271 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:29:35 verbose #73272 > │ │
00:29:35 verbose #73273 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73274 > │ │
00:29:35 verbose #73275 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73276 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:35 verbose #73277 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:29:35 verbose #73278 > │ v10 │
00:29:35 verbose #73279 > │ #endif │
00:29:35 verbose #73280 > │ │
00:29:35 verbose #73281 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73282 > │ let v11 : string = null |> unbox<string> │
00:29:35 verbose #73283 > │ v11 │
00:29:35 verbose #73284 > │ #endif │
00:29:35 verbose #73285 > │ │
00:29:35 verbose #73286 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73287 > │ let v12 : string = null |> unbox<string> │
00:29:35 verbose #73288 > │ v12 │
00:29:35 verbose #73289 > │ #endif │
00:29:35 verbose #73290 > │ │
00:29:35 verbose #73291 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73292 > │ let v13 : string = null |> unbox<string> │
00:29:35 verbose #73293 > │ v13 │
00:29:35 verbose #73294 > │ #endif │
00:29:35 verbose #73295 > │ │
00:29:35 verbose #73296 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73297 > │ let v14 : string = null |> unbox<string> │
00:29:35 verbose #73298 > │ v14 │
00:29:35 verbose #73299 > │ #endif │
00:29:35 verbose #73300 > │ │
00:29:35 verbose #73301 > │ #else │
00:29:35 verbose #73302 > │ let v15 : string = │
00:29:35 verbose #73303 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:35 verbose #73304 > │ v15 │
00:29:35 verbose #73305 > │ #endif │
00:29:35 verbose #73306 > │ |> fun x -> _v7 <- Some x │
00:29:35 verbose #73307 > │ let v16 : string = _v7.Value │
00:29:35 verbose #73308 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:29:35 verbose #73309 > │ let v19 : bool = v18 <> true │
00:29:35 verbose #73310 > │ let v25 : US4 = │
00:29:35 verbose #73311 > │ if v19 then │
00:29:35 verbose #73312 > │ let v20 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #73313 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #73314 > │ let v22 : int64 = v21 v20 │
00:29:35 verbose #73315 > │ US4_0(v22) │
00:29:35 verbose #73316 > │ else │
00:29:35 verbose #73317 > │ US4_1 │
00:29:35 verbose #73318 > │ let v30 : int64 option = │
00:29:35 verbose #73319 > │ match v25 with │
00:29:35 verbose #73320 > │ | US4_1 -> (* None *) │
00:29:35 verbose #73321 > │ let v28 : int64 option = None │
00:29:35 verbose #73322 > │ v28 │
00:29:35 verbose #73323 > │ | US4_0(v26) -> (* Some *) │
00:29:35 verbose #73324 > │ let v27 : int64 option = Some v26 │
00:29:35 verbose #73325 > │ v27 │
00:29:35 verbose #73326 > │ let v31 : int64 option = method13(v30) │
00:29:35 verbose #73327 > │ v31 │
00:29:35 verbose #73328 > │ #else │
00:29:35 verbose #73329 > │ let v32 : int64 option = None │
00:29:35 verbose #73330 > │ let v33 : int64 option = method14(v32) │
00:29:35 verbose #73331 > │ v33 │
00:29:35 verbose #73332 > │ #endif │
00:29:35 verbose #73333 > │ |> fun x -> _v6 <- Some x │
00:29:35 verbose #73334 > │ let v34 : int64 option = _v6.Value │
00:29:35 verbose #73335 > │ struct (v1, v0, v3, v34, v5) │
00:29:35 verbose #73336 > │ and closure10 () (v0 : int64) : US5 = │
00:29:35 verbose #73337 > │ US5_0(v0) │
00:29:35 verbose #73338 > │ and method15 () : (int64 -> US5) = │
00:29:35 verbose #73339 > │ closure10() │
00:29:35 verbose #73340 > │ and method16 () : string = │
00:29:35 verbose #73341 > │ let v0 : string = "" │
00:29:35 verbose #73342 > │ v0 │
00:29:35 verbose #73343 > │ and closure7 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:29:35 verbose #73344 > │ string = │
00:29:35 verbose #73345 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:35 verbose #73346 > │ closure8() │
00:29:35 verbose #73347 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:29:35 verbose #73348 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:29:35 verbose #73349 > │ Mut3) = State.trace_state.Value │
00:29:35 verbose #73350 > │ let v9 : string option = None │
00:29:35 verbose #73351 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:29:35 verbose #73352 > │ │
00:29:35 verbose #73353 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73354 > │ │
00:29:35 verbose #73355 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73356 > │ let v11 : (int64 -> US5) = method15() │
00:29:35 verbose #73357 > │ let v12 : US5 = US5_1 │
00:29:35 verbose #73358 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:29:35 verbose #73359 > │ let v31 : System.DateTime = │
00:29:35 verbose #73360 > │ match v13 with │
00:29:35 verbose #73361 > │ | US5_1 -> (* None *) │
00:29:35 verbose #73362 > │ let v29 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #73363 > │ v29 │
00:29:35 verbose #73364 > │ | US5_0(v14) -> (* Some *) │
00:29:35 verbose #73365 > │ let v15 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #73366 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #73367 > │ let v17 : int64 = v16 v15 │
00:29:35 verbose #73368 > │ let v18 : int64 = v17 - v14 │
00:29:35 verbose #73369 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:29:35 verbose #73370 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:29:35 verbose #73371 > │ let v21 : int32 = v20 v19 │
00:29:35 verbose #73372 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:29:35 verbose #73373 > │ let v23 : int32 = v22 v19 │
00:29:35 verbose #73374 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:29:35 verbose #73375 > │ let v25 : int32 = v24 v19 │
00:29:35 verbose #73376 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:35 verbose #73377 > │ let v27 : int32 = v26 v19 │
00:29:35 verbose #73378 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:29:35 verbose #73379 > │ v25, v27) │
00:29:35 verbose #73380 > │ v28 │
00:29:35 verbose #73381 > │ let v32 : string = "hh:mm:ss" │
00:29:35 verbose #73382 > │ let v33 : string = v31.ToString v32 │
00:29:35 verbose #73383 > │ v33 │
00:29:35 verbose #73384 > │ #endif │
00:29:35 verbose #73385 > │ │
00:29:35 verbose #73386 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73387 > │ let v34 : string = method16() │
00:29:35 verbose #73388 > │ v34 │
00:29:35 verbose #73389 > │ #endif │
00:29:35 verbose #73390 > │ │
00:29:35 verbose #73391 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73392 > │ let v35 : string = method16() │
00:29:35 verbose #73393 > │ v35 │
00:29:35 verbose #73394 > │ #endif │
00:29:35 verbose #73395 > │ │
00:29:35 verbose #73396 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73397 > │ let v36 : string = method16() │
00:29:35 verbose #73398 > │ v36 │
00:29:35 verbose #73399 > │ #endif │
00:29:35 verbose #73400 > │ │
00:29:35 verbose #73401 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73402 > │ let v37 : string = method16() │
00:29:35 verbose #73403 > │ v37 │
00:29:35 verbose #73404 > │ #endif │
00:29:35 verbose #73405 > │ │
00:29:35 verbose #73406 > │ #else │
00:29:35 verbose #73407 > │ let v38 : (int64 -> US5) = method15() │
00:29:35 verbose #73408 > │ let v39 : US5 = US5_1 │
00:29:35 verbose #73409 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:29:35 verbose #73410 > │ let v58 : System.DateTime = │
00:29:35 verbose #73411 > │ match v40 with │
00:29:35 verbose #73412 > │ | US5_1 -> (* None *) │
00:29:35 verbose #73413 > │ let v56 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #73414 > │ v56 │
00:29:35 verbose #73415 > │ | US5_0(v41) -> (* Some *) │
00:29:35 verbose #73416 > │ let v42 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #73417 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #73418 > │ let v44 : int64 = v43 v42 │
00:29:35 verbose #73419 > │ let v45 : int64 = v44 - v41 │
00:29:35 verbose #73420 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:29:35 verbose #73421 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:29:35 verbose #73422 > │ let v48 : int32 = v47 v46 │
00:29:35 verbose #73423 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:29:35 verbose #73424 > │ let v50 : int32 = v49 v46 │
00:29:35 verbose #73425 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:29:35 verbose #73426 > │ let v52 : int32 = v51 v46 │
00:29:35 verbose #73427 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:35 verbose #73428 > │ let v54 : int32 = v53 v46 │
00:29:35 verbose #73429 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:29:35 verbose #73430 > │ v52, v54) │
00:29:35 verbose #73431 > │ v55 │
00:29:35 verbose #73432 > │ let v59 : string = "HH:mm:ss" │
00:29:35 verbose #73433 > │ let v60 : string = v58.ToString v59 │
00:29:35 verbose #73434 > │ v60 │
00:29:35 verbose #73435 > │ #endif │
00:29:35 verbose #73436 > │ |> fun x -> _v9 <- Some x │
00:29:35 verbose #73437 > │ let v61 : string = _v9.Value │
00:29:35 verbose #73438 > │ let v62 : int64 = v4.l0 │
00:29:35 verbose #73439 > │ let v72 : string = │
00:29:35 verbose #73440 > │ match v0 with │
00:29:35 verbose #73441 > │ | US3_4 -> (* Critical *) │
00:29:35 verbose #73442 > │ let v67 : string = "Critical" │
00:29:35 verbose #73443 > │ v67 │
00:29:35 verbose #73444 > │ | US3_1 -> (* Debug *) │
00:29:35 verbose #73445 > │ let v64 : string = "Debug" │
00:29:35 verbose #73446 > │ v64 │
00:29:35 verbose #73447 > │ | US3_2 -> (* Info *) │
00:29:35 verbose #73448 > │ let v65 : string = "Info" │
00:29:35 verbose #73449 > │ v65 │
00:29:35 verbose #73450 > │ | US3_0 -> (* Verbose *) │
00:29:35 verbose #73451 > │ let v63 : string = "Verbose" │
00:29:35 verbose #73452 > │ v63 │
00:29:35 verbose #73453 > │ | US3_3 -> (* Warning *) │
00:29:35 verbose #73454 > │ let v66 : string = "Warning" │
00:29:35 verbose #73455 > │ v66 │
00:29:35 verbose #73456 > │ let v73 : string = v72.ToLower () │
00:29:35 verbose #73457 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:29:35 verbose #73458 > │ let v75 : string option = None │
00:29:35 verbose #73459 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:29:35 verbose #73460 > │ │
00:29:35 verbose #73461 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73462 > │ │
00:29:35 verbose #73463 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73464 > │ let v91 : Ref<Str> = │
00:29:35 verbose #73465 > │ match v0 with │
00:29:35 verbose #73466 > │ | US3_4 -> (* Critical *) │
00:29:35 verbose #73467 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:29:35 verbose #73468 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:29:35 verbose #73469 > │ v86 │
00:29:35 verbose #73470 > │ | US3_1 -> (* Debug *) │
00:29:35 verbose #73471 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:29:35 verbose #73472 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:29:35 verbose #73473 > │ v80 │
00:29:35 verbose #73474 > │ | US3_2 -> (* Info *) │
00:29:35 verbose #73475 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:29:35 verbose #73476 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:29:35 verbose #73477 > │ v82 │
00:29:35 verbose #73478 > │ | US3_0 -> (* Verbose *) │
00:29:35 verbose #73479 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:29:35 verbose #73480 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:29:35 verbose #73481 > │ v78 │
00:29:35 verbose #73482 > │ | US3_3 -> (* Warning *) │
00:29:35 verbose #73483 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:29:35 verbose #73484 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:29:35 verbose #73485 > │ v84 │
00:29:35 verbose #73486 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73487 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:29:35 verbose #73488 > │ let v94 : string = "inline_colorization::color_reset" │
00:29:35 verbose #73489 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:29:35 verbose #73490 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:29:35 verbose #73491 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:29:35 verbose #73492 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:29:35 verbose #73493 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #73494 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:29:35 verbose #73495 > │ v100 │
00:29:35 verbose #73496 > │ #endif │
00:29:35 verbose #73497 > │ │
00:29:35 verbose #73498 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73499 > │ let v115 : Ref<Str> = │
00:29:35 verbose #73500 > │ match v0 with │
00:29:35 verbose #73501 > │ | US3_4 -> (* Critical *) │
00:29:35 verbose #73502 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:29:35 verbose #73503 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73504 > │ v109 │
00:29:35 verbose #73505 > │ v110 │
00:29:35 verbose #73506 > │ | US3_1 -> (* Debug *) │
00:29:35 verbose #73507 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:29:35 verbose #73508 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73509 > │ v103 │
00:29:35 verbose #73510 > │ v104 │
00:29:35 verbose #73511 > │ | US3_2 -> (* Info *) │
00:29:35 verbose #73512 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:29:35 verbose #73513 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73514 > │ v105 │
00:29:35 verbose #73515 > │ v106 │
00:29:35 verbose #73516 > │ | US3_0 -> (* Verbose *) │
00:29:35 verbose #73517 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:29:35 verbose #73518 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73519 > │ v101 │
00:29:35 verbose #73520 > │ v102 │
00:29:35 verbose #73521 > │ | US3_3 -> (* Warning *) │
00:29:35 verbose #73522 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:29:35 verbose #73523 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73524 > │ v107 │
00:29:35 verbose #73525 > │ v108 │
00:29:35 verbose #73526 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73527 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:29:35 verbose #73528 > │ let v118 : string = "inline_colorization::color_reset" │
00:29:35 verbose #73529 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:29:35 verbose #73530 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:29:35 verbose #73531 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:29:35 verbose #73532 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73533 > │ v121 │
00:29:35 verbose #73534 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #73535 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:29:35 verbose #73536 > │ v124 │
00:29:35 verbose #73537 > │ #endif │
00:29:35 verbose #73538 > │ │
00:29:35 verbose #73539 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73540 > │ let v139 : Ref<Str> = │
00:29:35 verbose #73541 > │ match v0 with │
00:29:35 verbose #73542 > │ | US3_4 -> (* Critical *) │
00:29:35 verbose #73543 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:29:35 verbose #73544 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73545 > │ v133 │
00:29:35 verbose #73546 > │ v134 │
00:29:35 verbose #73547 > │ | US3_1 -> (* Debug *) │
00:29:35 verbose #73548 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:29:35 verbose #73549 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73550 > │ v127 │
00:29:35 verbose #73551 > │ v128 │
00:29:35 verbose #73552 > │ | US3_2 -> (* Info *) │
00:29:35 verbose #73553 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:29:35 verbose #73554 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73555 > │ v129 │
00:29:35 verbose #73556 > │ v130 │
00:29:35 verbose #73557 > │ | US3_0 -> (* Verbose *) │
00:29:35 verbose #73558 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:29:35 verbose #73559 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73560 > │ v125 │
00:29:35 verbose #73561 > │ v126 │
00:29:35 verbose #73562 > │ | US3_3 -> (* Warning *) │
00:29:35 verbose #73563 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:29:35 verbose #73564 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73565 > │ v131 │
00:29:35 verbose #73566 > │ v132 │
00:29:35 verbose #73567 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73568 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:29:35 verbose #73569 > │ let v142 : string = "inline_colorization::color_reset" │
00:29:35 verbose #73570 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:29:35 verbose #73571 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:29:35 verbose #73572 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:29:35 verbose #73573 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #73574 > │ v145 │
00:29:35 verbose #73575 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #73576 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:29:35 verbose #73577 > │ v148 │
00:29:35 verbose #73578 > │ #endif │
00:29:35 verbose #73579 > │ │
00:29:35 verbose #73580 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73581 > │ v74 │
00:29:35 verbose #73582 > │ #endif │
00:29:35 verbose #73583 > │ │
00:29:35 verbose #73584 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73585 > │ v74 │
00:29:35 verbose #73586 > │ #endif │
00:29:35 verbose #73587 > │ │
00:29:35 verbose #73588 > │ #else │
00:29:35 verbose #73589 > │ v74 │
00:29:35 verbose #73590 > │ #endif │
00:29:35 verbose #73591 > │ |> fun x -> _v75 <- Some x │
00:29:35 verbose #73592 > │ let v149 : string = _v75.Value │
00:29:35 verbose #73593 > │ let v150 : string = v1 () │
00:29:35 verbose #73594 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:29:35 verbose #73595 > │ let v152 : (char []) = [||] │
00:29:35 verbose #73596 > │ let v153 : string = v151.TrimStart v152 │
00:29:35 verbose #73597 > │ let v154 : (char []) = [|' '; '/'|] │
00:29:35 verbose #73598 > │ let v155 : string = v153.TrimEnd v154 │
00:29:35 verbose #73599 > │ v155 │
00:29:35 verbose #73600 > │ and method17 (v0 : US3, v1 : (unit -> string)) : unit = │
00:29:35 verbose #73601 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:35 verbose #73602 > │ closure8() │
00:29:35 verbose #73603 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:35 verbose #73604 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:29:35 verbose #73605 > │ Mut3) = State.trace_state.Value │
00:29:35 verbose #73606 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:35 verbose #73607 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:29:35 verbose #73608 > │ Mut3) = State.trace_state.Value │
00:29:35 verbose #73609 > │ let v13 : US3 = v10.l0 │
00:29:35 verbose #73610 > │ let v14 : bool = v9.l0 │
00:29:35 verbose #73611 > │ let v15 : bool = v14 = false │
00:29:35 verbose #73612 > │ let v19 : bool = │
00:29:35 verbose #73613 > │ if v15 then │
00:29:35 verbose #73614 > │ false │
00:29:35 verbose #73615 > │ else │
00:29:35 verbose #73616 > │ let v16 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:35 verbose #73617 > │ US3_4, 4 ] |> Map |> Map.find v0 │
00:29:35 verbose #73618 > │ let v17 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:35 verbose #73619 > │ US3_4, 4 ] |> Map |> Map.find v13 │
00:29:35 verbose #73620 > │ let v18 : bool = v16 >= v17 │
00:29:35 verbose #73621 > │ v18 │
00:29:35 verbose #73622 > │ if v19 then │
00:29:35 verbose #73623 > │ let v20 : int64 = v3.l0 │
00:29:35 verbose #73624 > │ let v21 : int64 = v20 + 1L │
00:29:35 verbose #73625 > │ v3.l0 <- v21 │
00:29:35 verbose #73626 > │ let v22 : string = $"%s{v1 ()}" │
00:29:35 verbose #73627 > │ let v23 : unit option = None │
00:29:35 verbose #73628 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:29:35 verbose #73629 > │ │
00:29:35 verbose #73630 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73631 > │ │
00:29:35 verbose #73632 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73633 > │ let v25 : string = @"println!(""{}"", $0)" │
00:29:35 verbose #73634 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:29:35 verbose #73635 > │ () │
00:29:35 verbose #73636 > │ #endif │
00:29:35 verbose #73637 > │ │
00:29:35 verbose #73638 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73639 > │ let v26 : string = @"println!(""{}"", $0)" │
00:29:35 verbose #73640 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:29:35 verbose #73641 > │ () │
00:29:35 verbose #73642 > │ #endif │
00:29:35 verbose #73643 > │ │
00:29:35 verbose #73644 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73645 > │ let v27 : string = @"println!(""{}"", $0)" │
00:29:35 verbose #73646 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:29:35 verbose #73647 > │ () │
00:29:35 verbose #73648 > │ #endif │
00:29:35 verbose #73649 > │ │
00:29:35 verbose #73650 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73651 > │ System.Console.WriteLine v22 │
00:29:35 verbose #73652 > │ () │
00:29:35 verbose #73653 > │ #endif │
00:29:35 verbose #73654 > │ │
00:29:35 verbose #73655 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73656 > │ System.Console.WriteLine v22 │
00:29:35 verbose #73657 > │ () │
00:29:35 verbose #73658 > │ #endif │
00:29:35 verbose #73659 > │ │
00:29:35 verbose #73660 > │ #else │
00:29:35 verbose #73661 > │ System.Console.WriteLine v22 │
00:29:35 verbose #73662 > │ () │
00:29:35 verbose #73663 > │ #endif │
00:29:35 verbose #73664 > │ |> fun x -> _v23 <- Some x │
00:29:35 verbose #73665 > │ _v23.Value │
00:29:35 verbose #73666 > │ let v28 : (string -> unit) = v7.l0 │
00:29:35 verbose #73667 > │ v28 v22 │
00:29:35 verbose #73668 > │ and method12 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:29:35 verbose #73669 > │ = │
00:29:35 verbose #73670 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:29:35 verbose #73671 > │ method17(v0, v3) │
00:29:35 verbose #73672 > │ and closure11 () () : string = │
00:29:35 verbose #73673 > │ let v0 : string = "file_system.create_directory" │
00:29:35 verbose #73674 > │ v0 │
00:29:35 verbose #73675 > │ and closure12 (v0 : string) () : string = │
00:29:35 verbose #73676 > │ let v1 : (unit -> string) = closure6() │
00:29:35 verbose #73677 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:29:35 verbose #73678 > │ v2 │
00:29:35 verbose #73679 > │ and method18 (v0 : string) : string = │
00:29:35 verbose #73680 > │ v0 │
00:29:35 verbose #73681 > │ and closure13 (v0 : string) () : unit = │
00:29:35 verbose #73682 > │ let v1 : unit option = None │
00:29:35 verbose #73683 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:35 verbose #73684 > │ │
00:29:35 verbose #73685 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73686 > │ │
00:29:35 verbose #73687 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73688 > │ let v3 : string = method18(v0) │
00:29:35 verbose #73689 > │ let v4 : bool option = None │
00:29:35 verbose #73690 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:29:35 verbose #73691 > │ │
00:29:35 verbose #73692 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73693 > │ │
00:29:35 verbose #73694 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73695 > │ let v6 : string = method2(v3) │
00:29:35 verbose #73696 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73697 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:35 verbose #73698 > │ let v9 : string = "String::from($0)" │
00:29:35 verbose #73699 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:35 verbose #73700 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:29:35 verbose #73701 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:29:35 verbose #73702 > │ let v13 : string = "$0.exists()" │
00:29:35 verbose #73703 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:29:35 verbose #73704 > │ let v17 : bool = │
00:29:35 verbose #73705 > │ if v14 then │
00:29:35 verbose #73706 > │ let v15 : string = "$0.is_dir()" │
00:29:35 verbose #73707 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:29:35 verbose #73708 > │ v16 │
00:29:35 verbose #73709 > │ else │
00:29:35 verbose #73710 > │ false │
00:29:35 verbose #73711 > │ v17 │
00:29:35 verbose #73712 > │ #endif │
00:29:35 verbose #73713 > │ │
00:29:35 verbose #73714 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73715 > │ let v18 : bool = null |> unbox<bool> │
00:29:35 verbose #73716 > │ v18 │
00:29:35 verbose #73717 > │ #endif │
00:29:35 verbose #73718 > │ │
00:29:35 verbose #73719 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73720 > │ let v19 : bool = null |> unbox<bool> │
00:29:35 verbose #73721 > │ v19 │
00:29:35 verbose #73722 > │ #endif │
00:29:35 verbose #73723 > │ │
00:29:35 verbose #73724 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73725 > │ let v20 : string = "fs" │
00:29:35 verbose #73726 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:29:35 verbose #73727 > │ let v22 : string = "v21.existsSync($0)" │
00:29:35 verbose #73728 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:29:35 verbose #73729 > │ v23 │
00:29:35 verbose #73730 > │ #endif │
00:29:35 verbose #73731 > │ │
00:29:35 verbose #73732 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73733 > │ let v24 : bool = null |> unbox<bool> │
00:29:35 verbose #73734 > │ v24 │
00:29:35 verbose #73735 > │ #endif │
00:29:35 verbose #73736 > │ │
00:29:35 verbose #73737 > │ #else │
00:29:35 verbose #73738 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:29:35 verbose #73739 > │ let v26 : bool = v25 v3 │
00:29:35 verbose #73740 > │ v26 │
00:29:35 verbose #73741 > │ #endif │
00:29:35 verbose #73742 > │ |> fun x -> _v4 <- Some x │
00:29:35 verbose #73743 > │ let v27 : bool = _v4.Value │
00:29:35 verbose #73744 > │ if v27 then │
00:29:35 verbose #73745 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:35 verbose #73746 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:29:35 verbose #73747 > │ () │
00:29:35 verbose #73748 > │ () │
00:29:35 verbose #73749 > │ #endif │
00:29:35 verbose #73750 > │ │
00:29:35 verbose #73751 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73752 > │ null |> unbox<unit> │
00:29:35 verbose #73753 > │ () │
00:29:35 verbose #73754 > │ #endif │
00:29:35 verbose #73755 > │ │
00:29:35 verbose #73756 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73757 > │ null |> unbox<unit> │
00:29:35 verbose #73758 > │ () │
00:29:35 verbose #73759 > │ #endif │
00:29:35 verbose #73760 > │ │
00:29:35 verbose #73761 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73762 > │ null |> unbox<unit> │
00:29:35 verbose #73763 > │ () │
00:29:35 verbose #73764 > │ #endif │
00:29:35 verbose #73765 > │ │
00:29:35 verbose #73766 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73767 > │ null |> unbox<unit> │
00:29:35 verbose #73768 > │ () │
00:29:35 verbose #73769 > │ #endif │
00:29:35 verbose #73770 > │ │
00:29:35 verbose #73771 > │ #else │
00:29:35 verbose #73772 > │ System.IO.Directory.Delete (v0, true) │
00:29:35 verbose #73773 > │ () │
00:29:35 verbose #73774 > │ #endif │
00:29:35 verbose #73775 > │ |> fun x -> _v1 <- Some x │
00:29:35 verbose #73776 > │ _v1.Value │
00:29:35 verbose #73777 > │ () │
00:29:35 verbose #73778 > │ and method19 (v0 : string) : (unit -> unit) = │
00:29:35 verbose #73779 > │ closure13(v0) │
00:29:35 verbose #73780 > │ and closure14 () () : string = │
00:29:35 verbose #73781 > │ let v0 : string = "file_system.create_directory" │
00:29:35 verbose #73782 > │ v0 │
00:29:35 verbose #73783 > │ and closure15 (v0 : string, v1 : string) () : string = │
00:29:35 verbose #73784 > │ let v2 : (unit -> string) = closure6() │
00:29:35 verbose #73785 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:29:35 verbose #73786 > │ v3 │
00:29:35 verbose #73787 > │ and closure17 () () : string = │
00:29:35 verbose #73788 > │ let v0 : string = "file_system.delete_directory_async" │
00:29:35 verbose #73789 > │ v0 │
00:29:35 verbose #73790 > │ and closure19 () (v0 : string) : string = │
00:29:35 verbose #73791 > │ let v1 : string option = None │
00:29:35 verbose #73792 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:35 verbose #73793 > │ │
00:29:35 verbose #73794 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73795 > │ │
00:29:35 verbose #73796 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73797 > │ let v3 : string = method2(v0) │
00:29:35 verbose #73798 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73799 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:29:35 verbose #73800 > │ let v6 : string = "String::from($0)" │
00:29:35 verbose #73801 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:29:35 verbose #73802 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:29:35 verbose #73803 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:29:35 verbose #73804 > │ let v10 : string = "$0.file_name()" │
00:29:35 verbose #73805 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:29:35 verbose #73806 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:29:35 verbose #73807 > │ let v12 : string = "$0.unwrap()" │
00:29:35 verbose #73808 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:29:35 verbose #73809 > │ v12 │
00:29:35 verbose #73810 > │ let v14 : string = "$0.to_os_string()" │
00:29:35 verbose #73811 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:29:35 verbose #73812 > │ let v16 : string = "$0.to_str()" │
00:29:35 verbose #73813 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:35 verbose #73814 > │ let v18 : string = "$0.unwrap()" │
00:29:35 verbose #73815 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:35 verbose #73816 > │ let v20 : string = "String::from($0)" │
00:29:35 verbose #73817 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:35 verbose #73818 > │ v20 │
00:29:35 verbose #73819 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #73820 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:35 verbose #73821 > │ v23 │
00:29:35 verbose #73822 > │ #endif │
00:29:35 verbose #73823 > │ │
00:29:35 verbose #73824 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73825 > │ let v24 : string = null |> unbox<string> │
00:29:35 verbose #73826 > │ v24 │
00:29:35 verbose #73827 > │ #endif │
00:29:35 verbose #73828 > │ │
00:29:35 verbose #73829 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73830 > │ let v25 : string = null |> unbox<string> │
00:29:35 verbose #73831 > │ v25 │
00:29:35 verbose #73832 > │ #endif │
00:29:35 verbose #73833 > │ │
00:29:35 verbose #73834 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73835 > │ let v26 : string = null |> unbox<string> │
00:29:35 verbose #73836 > │ v26 │
00:29:35 verbose #73837 > │ #endif │
00:29:35 verbose #73838 > │ │
00:29:35 verbose #73839 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73840 > │ let v27 : string = null |> unbox<string> │
00:29:35 verbose #73841 > │ v27 │
00:29:35 verbose #73842 > │ #endif │
00:29:35 verbose #73843 > │ │
00:29:35 verbose #73844 > │ #else │
00:29:35 verbose #73845 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:29:35 verbose #73846 > │ let v29 : string = v28 v0 │
00:29:35 verbose #73847 > │ v29 │
00:29:35 verbose #73848 > │ #endif │
00:29:35 verbose #73849 > │ |> fun x -> _v1 <- Some x │
00:29:35 verbose #73850 > │ let v30 : string = _v1.Value │
00:29:35 verbose #73851 > │ v30 │
00:29:35 verbose #73852 > │ and closure18 (v0 : string, v1 : string) () : string = │
00:29:35 verbose #73853 > │ let v2 : (string -> string) = closure19() │
00:29:35 verbose #73854 > │ let v3 : (unit -> string) = closure6() │
00:29:35 verbose #73855 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:29:35 verbose #73856 > │ v4 │
00:29:35 verbose #73857 > │ and method20 (v0 : string, v1 : int64) : Async<int64> = │
00:29:35 verbose #73858 > │ let v2 : Async<int64> option = None │
00:29:35 verbose #73859 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:35 verbose #73860 > │ │
00:29:35 verbose #73861 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73862 > │ │
00:29:35 verbose #73863 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73864 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #73865 > │ v4 │
00:29:35 verbose #73866 > │ #endif │
00:29:35 verbose #73867 > │ │
00:29:35 verbose #73868 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73869 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #73870 > │ v5 │
00:29:35 verbose #73871 > │ #endif │
00:29:35 verbose #73872 > │ │
00:29:35 verbose #73873 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73874 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #73875 > │ v6 │
00:29:35 verbose #73876 > │ #endif │
00:29:35 verbose #73877 > │ │
00:29:35 verbose #73878 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73879 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #73880 > │ v7 │
00:29:35 verbose #73881 > │ #endif │
00:29:35 verbose #73882 > │ │
00:29:35 verbose #73883 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73884 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #73885 > │ v8 │
00:29:35 verbose #73886 > │ #endif │
00:29:35 verbose #73887 > │ │
00:29:35 verbose #73888 > │ #else │
00:29:35 verbose #73889 > │ let v9 : Async<int64> option = None │
00:29:35 verbose #73890 > │ let mutable _v9 = v9 │
00:29:35 verbose #73891 > │ async { │
00:29:35 verbose #73892 > │ try │
00:29:35 verbose #73893 > │ let v10 : unit option = None │
00:29:35 verbose #73894 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:35 verbose #73895 > │ │
00:29:35 verbose #73896 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73897 > │ │
00:29:35 verbose #73898 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73899 > │ let v12 : string = method18(v0) │
00:29:35 verbose #73900 > │ let v13 : bool option = None │
00:29:35 verbose #73901 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:29:35 verbose #73902 > │ │
00:29:35 verbose #73903 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73904 > │ │
00:29:35 verbose #73905 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #73906 > │ let v15 : string = method2(v12) │
00:29:35 verbose #73907 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:35 verbose #73908 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:35 verbose #73909 > │ let v18 : string = "String::from($0)" │
00:29:35 verbose #73910 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:35 verbose #73911 > │ v18 │
00:29:35 verbose #73912 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:29:35 verbose #73913 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:29:35 verbose #73914 > │ let v22 : string = "$0.exists()" │
00:29:35 verbose #73915 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:35 verbose #73916 > │ let v26 : bool = │
00:29:35 verbose #73917 > │ if v23 then │
00:29:35 verbose #73918 > │ let v24 : string = "$0.is_dir()" │
00:29:35 verbose #73919 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:29:35 verbose #73920 > │ v25 │
00:29:35 verbose #73921 > │ else │
00:29:35 verbose #73922 > │ false │
00:29:35 verbose #73923 > │ v26 │
00:29:35 verbose #73924 > │ #endif │
00:29:35 verbose #73925 > │ │
00:29:35 verbose #73926 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73927 > │ let v27 : bool = null |> unbox<bool> │
00:29:35 verbose #73928 > │ v27 │
00:29:35 verbose #73929 > │ #endif │
00:29:35 verbose #73930 > │ │
00:29:35 verbose #73931 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73932 > │ let v28 : bool = null |> unbox<bool> │
00:29:35 verbose #73933 > │ v28 │
00:29:35 verbose #73934 > │ #endif │
00:29:35 verbose #73935 > │ │
00:29:35 verbose #73936 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73937 > │ let v29 : string = "fs" │
00:29:35 verbose #73938 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:29:35 verbose #73939 > │ let v31 : string = "v30.existsSync($0)" │
00:29:35 verbose #73940 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:29:35 verbose #73941 > │ v32 │
00:29:35 verbose #73942 > │ #endif │
00:29:35 verbose #73943 > │ │
00:29:35 verbose #73944 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73945 > │ let v33 : bool = null |> unbox<bool> │
00:29:35 verbose #73946 > │ v33 │
00:29:35 verbose #73947 > │ #endif │
00:29:35 verbose #73948 > │ │
00:29:35 verbose #73949 > │ #else │
00:29:35 verbose #73950 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:29:35 verbose #73951 > │ let v35 : bool = v34 v12 │
00:29:35 verbose #73952 > │ v35 │
00:29:35 verbose #73953 > │ #endif │
00:29:35 verbose #73954 > │ |> fun x -> _v13 <- Some x │
00:29:35 verbose #73955 > │ let v36 : bool = _v13.Value │
00:29:35 verbose #73956 > │ if v36 then │
00:29:35 verbose #73957 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:35 verbose #73958 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:29:35 verbose #73959 > │ () │
00:29:35 verbose #73960 > │ () │
00:29:35 verbose #73961 > │ #endif │
00:29:35 verbose #73962 > │ │
00:29:35 verbose #73963 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #73964 > │ null |> unbox<unit> │
00:29:35 verbose #73965 > │ () │
00:29:35 verbose #73966 > │ #endif │
00:29:35 verbose #73967 > │ │
00:29:35 verbose #73968 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #73969 > │ null |> unbox<unit> │
00:29:35 verbose #73970 > │ () │
00:29:35 verbose #73971 > │ #endif │
00:29:35 verbose #73972 > │ │
00:29:35 verbose #73973 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #73974 > │ null |> unbox<unit> │
00:29:35 verbose #73975 > │ () │
00:29:35 verbose #73976 > │ #endif │
00:29:35 verbose #73977 > │ │
00:29:35 verbose #73978 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #73979 > │ null |> unbox<unit> │
00:29:35 verbose #73980 > │ () │
00:29:35 verbose #73981 > │ #endif │
00:29:35 verbose #73982 > │ │
00:29:35 verbose #73983 > │ #else │
00:29:35 verbose #73984 > │ System.IO.Directory.Delete (v0, true) │
00:29:35 verbose #73985 > │ () │
00:29:35 verbose #73986 > │ #endif │
00:29:35 verbose #73987 > │ |> fun x -> _v10 <- Some x │
00:29:35 verbose #73988 > │ _v10.Value │
00:29:35 verbose #73989 > │ return v1 │
00:29:35 verbose #73990 > │ with ex -> │
00:29:35 verbose #73991 > │ let v38 : exn = ex │
00:29:35 verbose #73992 > │ let v39 : int64 = v1 % 100L │
00:29:35 verbose #73993 > │ let v40 : bool = v39 = 0L │
00:29:35 verbose #73994 > │ if v40 then │
00:29:35 verbose #73995 > │ let v41 : string option = None │
00:29:35 verbose #73996 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:29:35 verbose #73997 > │ │
00:29:35 verbose #73998 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #73999 > │ │
00:29:35 verbose #74000 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74001 > │ let v43 : string = $"%A{v38}" │
00:29:35 verbose #74002 > │ v43 │
00:29:35 verbose #74003 > │ #endif │
00:29:35 verbose #74004 > │ │
00:29:35 verbose #74005 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74006 > │ let v44 : string = $"%A{v38}" │
00:29:35 verbose #74007 > │ v44 │
00:29:35 verbose #74008 > │ #endif │
00:29:35 verbose #74009 > │ │
00:29:35 verbose #74010 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74011 > │ let v45 : string = $"%A{v38}" │
00:29:35 verbose #74012 > │ v45 │
00:29:35 verbose #74013 > │ #endif │
00:29:35 verbose #74014 > │ │
00:29:35 verbose #74015 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74016 > │ let v46 : string = $"%A{v38}" │
00:29:35 verbose #74017 > │ v46 │
00:29:35 verbose #74018 > │ #endif │
00:29:35 verbose #74019 > │ │
00:29:35 verbose #74020 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74021 > │ let v47 : string = $"%A{v38}" │
00:29:35 verbose #74022 > │ v47 │
00:29:35 verbose #74023 > │ #endif │
00:29:35 verbose #74024 > │ │
00:29:35 verbose #74025 > │ #else │
00:29:35 verbose #74026 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:29:35 verbose #74027 > │ v48 │
00:29:35 verbose #74028 > │ #endif │
00:29:35 verbose #74029 > │ |> fun x -> _v41 <- Some x │
00:29:35 verbose #74030 > │ let v49 : string = _v41.Value │
00:29:35 verbose #74031 > │ let v50 : US3 = US3_1 │
00:29:35 verbose #74032 > │ let v51 : (unit -> string) = closure17() │
00:29:35 verbose #74033 > │ let v52 : (unit -> string) = closure18(v0, v49) │
00:29:35 verbose #74034 > │ method12(v50, v51, v52) │
00:29:35 verbose #74035 > │ let v53 : Async<unit> option = None │
00:29:35 verbose #74036 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:29:35 verbose #74037 > │ │
00:29:35 verbose #74038 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74039 > │ │
00:29:35 verbose #74040 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74041 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74042 > │ v55 │
00:29:35 verbose #74043 > │ #endif │
00:29:35 verbose #74044 > │ │
00:29:35 verbose #74045 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74046 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74047 > │ v56 │
00:29:35 verbose #74048 > │ #endif │
00:29:35 verbose #74049 > │ │
00:29:35 verbose #74050 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74051 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74052 > │ v57 │
00:29:35 verbose #74053 > │ #endif │
00:29:35 verbose #74054 > │ │
00:29:35 verbose #74055 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74056 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74057 > │ v58 │
00:29:35 verbose #74058 > │ #endif │
00:29:35 verbose #74059 > │ │
00:29:35 verbose #74060 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74061 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74062 > │ v59 │
00:29:35 verbose #74063 > │ #endif │
00:29:35 verbose #74064 > │ │
00:29:35 verbose #74065 > │ #else │
00:29:35 verbose #74066 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:29:35 verbose #74067 > │ let v61 : Async<unit> = v60 10 │
00:29:35 verbose #74068 > │ v61 │
00:29:35 verbose #74069 > │ #endif │
00:29:35 verbose #74070 > │ |> fun x -> _v53 <- Some x │
00:29:35 verbose #74071 > │ let v62 : Async<unit> = _v53.Value │
00:29:35 verbose #74072 > │ do! v62 │
00:29:35 verbose #74073 > │ let v63 : int64 = v1 + 1L │
00:29:35 verbose #74074 > │ let v64 : Async<int64> = method20(v0, v63) │
00:29:35 verbose #74075 > │ return! v64 │
00:29:35 verbose #74076 > │ (* │
00:29:35 verbose #74077 > │ let v65 : int64 = *) │
00:29:35 verbose #74078 > │ } │
00:29:35 verbose #74079 > │ |> fun x -> _v9 <- Some x │
00:29:35 verbose #74080 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:29:35 verbose #74081 > │ v66 │
00:29:35 verbose #74082 > │ #endif │
00:29:35 verbose #74083 > │ |> fun x -> _v2 <- Some x │
00:29:35 verbose #74084 > │ let v67 : Async<int64> = _v2.Value │
00:29:35 verbose #74085 > │ v67 │
00:29:35 verbose #74086 > │ and closure16 (v0 : string) () : unit = │
00:29:35 verbose #74087 > │ let v1 : Async<int64> option = None │
00:29:35 verbose #74088 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:35 verbose #74089 > │ │
00:29:35 verbose #74090 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74091 > │ │
00:29:35 verbose #74092 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74093 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #74094 > │ v3 │
00:29:35 verbose #74095 > │ #endif │
00:29:35 verbose #74096 > │ │
00:29:35 verbose #74097 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74098 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #74099 > │ v4 │
00:29:35 verbose #74100 > │ #endif │
00:29:35 verbose #74101 > │ │
00:29:35 verbose #74102 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74103 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #74104 > │ v5 │
00:29:35 verbose #74105 > │ #endif │
00:29:35 verbose #74106 > │ │
00:29:35 verbose #74107 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74108 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #74109 > │ v6 │
00:29:35 verbose #74110 > │ #endif │
00:29:35 verbose #74111 > │ │
00:29:35 verbose #74112 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74113 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #74114 > │ v7 │
00:29:35 verbose #74115 > │ #endif │
00:29:35 verbose #74116 > │ │
00:29:35 verbose #74117 > │ #else │
00:29:35 verbose #74118 > │ let v8 : int64 = 0L │
00:29:35 verbose #74119 > │ let v9 : Async<int64> = method20(v0, v8) │
00:29:35 verbose #74120 > │ v9 │
00:29:35 verbose #74121 > │ #endif │
00:29:35 verbose #74122 > │ |> fun x -> _v1 <- Some x │
00:29:35 verbose #74123 > │ let v10 : Async<int64> = _v1.Value │
00:29:35 verbose #74124 > │ let v11 : Async<unit> option = None │
00:29:35 verbose #74125 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:29:35 verbose #74126 > │ │
00:29:35 verbose #74127 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74128 > │ │
00:29:35 verbose #74129 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74130 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74131 > │ v13 │
00:29:35 verbose #74132 > │ #endif │
00:29:35 verbose #74133 > │ │
00:29:35 verbose #74134 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74135 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74136 > │ v14 │
00:29:35 verbose #74137 > │ #endif │
00:29:35 verbose #74138 > │ │
00:29:35 verbose #74139 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74140 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74141 > │ v15 │
00:29:35 verbose #74142 > │ #endif │
00:29:35 verbose #74143 > │ │
00:29:35 verbose #74144 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74145 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74146 > │ v16 │
00:29:35 verbose #74147 > │ #endif │
00:29:35 verbose #74148 > │ │
00:29:35 verbose #74149 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74150 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #74151 > │ v17 │
00:29:35 verbose #74152 > │ #endif │
00:29:35 verbose #74153 > │ │
00:29:35 verbose #74154 > │ #else │
00:29:35 verbose #74155 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:29:35 verbose #74156 > │ let v19 : Async<unit> = v18 v10 │
00:29:35 verbose #74157 > │ v19 │
00:29:35 verbose #74158 > │ #endif │
00:29:35 verbose #74159 > │ |> fun x -> _v11 <- Some x │
00:29:35 verbose #74160 > │ let v20 : Async<unit> = _v11.Value │
00:29:35 verbose #74161 > │ let v21 : unit option = None │
00:29:35 verbose #74162 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:29:35 verbose #74163 > │ │
00:29:35 verbose #74164 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74165 > │ │
00:29:35 verbose #74166 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74167 > │ null |> unbox<unit> │
00:29:35 verbose #74168 > │ () │
00:29:35 verbose #74169 > │ #endif │
00:29:35 verbose #74170 > │ │
00:29:35 verbose #74171 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74172 > │ null |> unbox<unit> │
00:29:35 verbose #74173 > │ () │
00:29:35 verbose #74174 > │ #endif │
00:29:35 verbose #74175 > │ │
00:29:35 verbose #74176 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74177 > │ null |> unbox<unit> │
00:29:35 verbose #74178 > │ () │
00:29:35 verbose #74179 > │ #endif │
00:29:35 verbose #74180 > │ │
00:29:35 verbose #74181 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74182 > │ null |> unbox<unit> │
00:29:35 verbose #74183 > │ () │
00:29:35 verbose #74184 > │ #endif │
00:29:35 verbose #74185 > │ │
00:29:35 verbose #74186 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74187 > │ null |> unbox<unit> │
00:29:35 verbose #74188 > │ () │
00:29:35 verbose #74189 > │ #endif │
00:29:35 verbose #74190 > │ │
00:29:35 verbose #74191 > │ #else │
00:29:35 verbose #74192 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:29:35 verbose #74193 > │ v23 v20 │
00:29:35 verbose #74194 > │ () │
00:29:35 verbose #74195 > │ #endif │
00:29:35 verbose #74196 > │ |> fun x -> _v21 <- Some x │
00:29:35 verbose #74197 > │ _v21.Value │
00:29:35 verbose #74198 > │ () │
00:29:35 verbose #74199 > │ and method21 (v0 : string) : (unit -> unit) = │
00:29:35 verbose #74200 > │ closure16(v0) │
00:29:35 verbose #74201 > │ and closure20 () () : string = │
00:29:35 verbose #74202 > │ let v0 : string = "1" │
00:29:35 verbose #74203 > │ v0 │
00:29:35 verbose #74204 > │ and closure21 () () : string = │
00:29:35 verbose #74205 > │ let v0 : string = "2" │
00:29:35 verbose #74206 > │ v0 │
00:29:35 verbose #74207 > │ and closure22 () () : string = │
00:29:35 verbose #74208 > │ let v0 : string = "_1" │
00:29:35 verbose #74209 > │ v0 │
00:29:35 verbose #74210 > │ and closure23 () () : string = │
00:29:35 verbose #74211 > │ let v0 : string = "_2" │
00:29:35 verbose #74212 > │ v0 │
00:29:35 verbose #74213 > │ and closure24 () () : string = │
00:29:35 verbose #74214 > │ let v0 : string = "_3" │
00:29:35 verbose #74215 > │ v0 │
00:29:35 verbose #74216 > │ and closure25 () () : string = │
00:29:35 verbose #74217 > │ let v0 : string = "3" │
00:29:35 verbose #74218 > │ v0 │
00:29:35 verbose #74219 > │ and closure26 () () : string = │
00:29:35 verbose #74220 > │ let v0 : string = "4" │
00:29:35 verbose #74221 > │ v0 │
00:29:35 verbose #74222 > │ and closure27 () () : string = │
00:29:35 verbose #74223 > │ let v0 : string = "5" │
00:29:35 verbose #74224 > │ v0 │
00:29:35 verbose #74225 > │ and closure28 () () : string = │
00:29:35 verbose #74226 > │ let v0 : string = "6" │
00:29:35 verbose #74227 > │ v0 │
00:29:35 verbose #74228 > │ and closure29 () (v0 : int64) : US6 = │
00:29:35 verbose #74229 > │ US6_0(v0) │
00:29:35 verbose #74230 > │ and closure30 () (v0 : exn) : US6 = │
00:29:35 verbose #74231 > │ US6_1(v0) │
00:29:35 verbose #74232 > │ and closure31 () () : string = │
00:29:35 verbose #74233 > │ let v0 : string = "run_with_timeout_async" │
00:29:35 verbose #74234 > │ v0 │
00:29:35 verbose #74235 > │ and closure32 () () : string = │
00:29:35 verbose #74236 > │ let v0 : (unit -> string) = closure6() │
00:29:35 verbose #74237 > │ let v1 : string = $"timeout: {3000} / {v0 ()}" │
00:29:35 verbose #74238 > │ v1 │
00:29:35 verbose #74239 > │ and closure33 (v0 : string) () : string = │
00:29:35 verbose #74240 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:29:35 verbose #74241 > │ v1 │
00:29:35 verbose #74242 > │ and method22 (v0 : bool) : bool = │
00:29:35 verbose #74243 > │ v0 │
00:29:35 verbose #74244 > │ and method0 () : unit = │
00:29:35 verbose #74245 > │ let v0 : string option = None │
00:29:35 verbose #74246 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:29:35 verbose #74247 > │ │
00:29:35 verbose #74248 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74249 > │ │
00:29:35 verbose #74250 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74251 > │ let v2 : string option = None │
00:29:35 verbose #74252 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:35 verbose #74253 > │ │
00:29:35 verbose #74254 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74255 > │ │
00:29:35 verbose #74256 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74257 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:35 verbose #74258 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:29:35 verbose #74259 > │ v5 │
00:29:35 verbose #74260 > │ #endif │
00:29:35 verbose #74261 > │ │
00:29:35 verbose #74262 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74263 > │ let v6 : string = null |> unbox<string> │
00:29:35 verbose #74264 > │ v6 │
00:29:35 verbose #74265 > │ #endif │
00:29:35 verbose #74266 > │ │
00:29:35 verbose #74267 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74268 > │ let v7 : string = null |> unbox<string> │
00:29:35 verbose #74269 > │ v7 │
00:29:35 verbose #74270 > │ #endif │
00:29:35 verbose #74271 > │ │
00:29:35 verbose #74272 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74273 > │ let v8 : string = null |> unbox<string> │
00:29:35 verbose #74274 > │ v8 │
00:29:35 verbose #74275 > │ #endif │
00:29:35 verbose #74276 > │ │
00:29:35 verbose #74277 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74278 > │ let v9 : string = null |> unbox<string> │
00:29:35 verbose #74279 > │ v9 │
00:29:35 verbose #74280 > │ #endif │
00:29:35 verbose #74281 > │ │
00:29:35 verbose #74282 > │ #else │
00:29:35 verbose #74283 > │ let v10 : string = │
00:29:35 verbose #74284 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:35 verbose #74285 > │ v10 │
00:29:35 verbose #74286 > │ #endif │
00:29:35 verbose #74287 > │ |> fun x -> _v2 <- Some x │
00:29:35 verbose #74288 > │ let v11 : string = _v2.Value │
00:29:35 verbose #74289 > │ let v12 : string option = None │
00:29:35 verbose #74290 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:29:35 verbose #74291 > │ │
00:29:35 verbose #74292 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74293 > │ │
00:29:35 verbose #74294 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74295 > │ let v14 : string = "std::env::temp_dir()" │
00:29:35 verbose #74296 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:29:35 verbose #74297 > │ let v16 : string = "$0.display()" │
00:29:35 verbose #74298 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:35 verbose #74299 > │ let v18 : std_string_String option = None │
00:29:35 verbose #74300 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:29:35 verbose #74301 > │ │
00:29:35 verbose #74302 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74303 > │ │
00:29:35 verbose #74304 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74305 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #74306 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:35 verbose #74307 > │ v20 │
00:29:35 verbose #74308 > │ v21 │
00:29:35 verbose #74309 > │ #endif │
00:29:35 verbose #74310 > │ │
00:29:35 verbose #74311 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74312 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #74313 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:35 verbose #74314 > │ v22 │
00:29:35 verbose #74315 > │ v23 │
00:29:35 verbose #74316 > │ #endif │
00:29:35 verbose #74317 > │ │
00:29:35 verbose #74318 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74319 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #74320 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:35 verbose #74321 > │ v24 │
00:29:35 verbose #74322 > │ v25 │
00:29:35 verbose #74323 > │ #endif │
00:29:35 verbose #74324 > │ │
00:29:35 verbose #74325 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74326 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #74327 > │ v26 │
00:29:35 verbose #74328 > │ #endif │
00:29:35 verbose #74329 > │ │
00:29:35 verbose #74330 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74331 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #74332 > │ v27 │
00:29:35 verbose #74333 > │ #endif │
00:29:35 verbose #74334 > │ │
00:29:35 verbose #74335 > │ #else │
00:29:35 verbose #74336 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #74337 > │ v28 │
00:29:35 verbose #74338 > │ #endif │
00:29:35 verbose #74339 > │ |> fun x -> _v18 <- Some x │
00:29:35 verbose #74340 > │ let v29 : std_string_String = _v18.Value │
00:29:35 verbose #74341 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #74342 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:29:35 verbose #74343 > │ v31 │
00:29:35 verbose #74344 > │ #endif │
00:29:35 verbose #74345 > │ │
00:29:35 verbose #74346 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74347 > │ let v32 : string = null |> unbox<string> │
00:29:35 verbose #74348 > │ v32 │
00:29:35 verbose #74349 > │ #endif │
00:29:35 verbose #74350 > │ │
00:29:35 verbose #74351 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74352 > │ let v33 : string = null |> unbox<string> │
00:29:35 verbose #74353 > │ v33 │
00:29:35 verbose #74354 > │ #endif │
00:29:35 verbose #74355 > │ │
00:29:35 verbose #74356 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74357 > │ let v34 : string = null |> unbox<string> │
00:29:35 verbose #74358 > │ v34 │
00:29:35 verbose #74359 > │ #endif │
00:29:35 verbose #74360 > │ │
00:29:35 verbose #74361 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74362 > │ let v35 : string = null |> unbox<string> │
00:29:35 verbose #74363 > │ v35 │
00:29:35 verbose #74364 > │ #endif │
00:29:35 verbose #74365 > │ │
00:29:35 verbose #74366 > │ #else │
00:29:35 verbose #74367 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:35 verbose #74368 > │ let v37 : string = v36 () │
00:29:35 verbose #74369 > │ v37 │
00:29:35 verbose #74370 > │ #endif │
00:29:35 verbose #74371 > │ |> fun x -> _v12 <- Some x │
00:29:35 verbose #74372 > │ let v38 : string = _v12.Value │
00:29:35 verbose #74373 > │ let v39 : string = $"!{v11}" │
00:29:35 verbose #74374 > │ let v40 : string = method1(v38, v39) │
00:29:35 verbose #74375 > │ let v41 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #74376 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:29:35 verbose #74377 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:29:35 verbose #74378 > │ let v44 : string = v43 v42 │
00:29:35 verbose #74379 > │ let v45 : struct (string * string) option = None │
00:29:35 verbose #74380 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:29:35 verbose #74381 > │ │
00:29:35 verbose #74382 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74383 > │ │
00:29:35 verbose #74384 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74385 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:35 verbose #74386 > │ System.DateTimeKind.Utc) │
00:29:35 verbose #74387 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:35 verbose #74388 > │ let v49 : System.DateTime = v48 v47 │
00:29:35 verbose #74389 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:35 verbose #74390 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:29:35 verbose #74391 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:35 verbose #74392 > │ let v53 : System.DateTime = v52 v51 │
00:29:35 verbose #74393 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #74394 > │ let v55 : int64 = v54 v53 │
00:29:35 verbose #74395 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #74396 > │ let v57 : int64 = v56 v49 │
00:29:35 verbose #74397 > │ let v58 : int64 = v55 - v57 │
00:29:35 verbose #74398 > │ let v59 : int64 = v58 / 10L │
00:29:35 verbose #74399 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:35 verbose #74400 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:29:35 verbose #74401 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:29:35 verbose #74402 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:35 verbose #74403 > │ let v63 : US0 = US0_1 │
00:29:35 verbose #74404 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:29:35 verbose #74405 > │ let v83 : US1 = │
00:29:35 verbose #74406 > │ match v64 with │
00:29:35 verbose #74407 > │ | US0_1 -> (* None *) │
00:29:35 verbose #74408 > │ US1_1 │
00:29:35 verbose #74409 > │ | US0_0(v65) -> (* Some *) │
00:29:35 verbose #74410 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:29:35 verbose #74411 > │ let v67 : string = "v66.naive_utc()" │
00:29:35 verbose #74412 > │ let v68 : chrono_NaiveDateTime = │
00:29:35 verbose #74413 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:29:35 verbose #74414 > │ let v69 : string = │
00:29:35 verbose #74415 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:29:35 verbose #74416 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:29:35 verbose #74417 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:29:35 verbose #74418 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:29:35 verbose #74419 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:29:35 verbose #74420 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:29:35 verbose #74421 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:29:35 verbose #74422 > │ let v75 : string = "v74.format(v73).to_string()" │
00:29:35 verbose #74423 > │ let v76 : std_string_String = │
00:29:35 verbose #74424 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:29:35 verbose #74425 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #74426 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:29:35 verbose #74427 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:29:35 verbose #74428 > │ US1_0(v79) │
00:29:35 verbose #74429 > │ let v87 : string = │
00:29:35 verbose #74430 > │ match v83 with │
00:29:35 verbose #74431 > │ | US1_1 -> (* None *) │
00:29:35 verbose #74432 > │ let v85 : string = "" │
00:29:35 verbose #74433 > │ v85 │
00:29:35 verbose #74434 > │ | US1_0(v84) -> (* Some *) │
00:29:35 verbose #74435 > │ v84 │
00:29:35 verbose #74436 > │ let v88 : System.TimeZoneInfo option = None │
00:29:35 verbose #74437 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:29:35 verbose #74438 > │ │
00:29:35 verbose #74439 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74440 > │ │
00:29:35 verbose #74441 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74442 > │ let v90 : string = "0i64.into()" │
00:29:35 verbose #74443 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74444 > │ v90 │
00:29:35 verbose #74445 > │ v91 │
00:29:35 verbose #74446 > │ #endif │
00:29:35 verbose #74447 > │ │
00:29:35 verbose #74448 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74449 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74450 > │ v92 │
00:29:35 verbose #74451 > │ #endif │
00:29:35 verbose #74452 > │ │
00:29:35 verbose #74453 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74454 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74455 > │ v93 │
00:29:35 verbose #74456 > │ #endif │
00:29:35 verbose #74457 > │ │
00:29:35 verbose #74458 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74459 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74460 > │ v94 │
00:29:35 verbose #74461 > │ #endif │
00:29:35 verbose #74462 > │ │
00:29:35 verbose #74463 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74464 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74465 > │ v95 │
00:29:35 verbose #74466 > │ #endif │
00:29:35 verbose #74467 > │ │
00:29:35 verbose #74468 > │ #else │
00:29:35 verbose #74469 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #74470 > │ v96 │
00:29:35 verbose #74471 > │ #endif │
00:29:35 verbose #74472 > │ |> fun x -> _v88 <- Some x │
00:29:35 verbose #74473 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:29:35 verbose #74474 > │ let v98 : System.TimeSpan option = None │
00:29:35 verbose #74475 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:29:35 verbose #74476 > │ │
00:29:35 verbose #74477 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74478 > │ │
00:29:35 verbose #74479 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74480 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74481 > │ v100 │
00:29:35 verbose #74482 > │ #endif │
00:29:35 verbose #74483 > │ │
00:29:35 verbose #74484 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74485 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74486 > │ v101 │
00:29:35 verbose #74487 > │ #endif │
00:29:35 verbose #74488 > │ │
00:29:35 verbose #74489 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74490 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74491 > │ v102 │
00:29:35 verbose #74492 > │ #endif │
00:29:35 verbose #74493 > │ │
00:29:35 verbose #74494 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74495 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74496 > │ v103 │
00:29:35 verbose #74497 > │ #endif │
00:29:35 verbose #74498 > │ │
00:29:35 verbose #74499 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74500 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74501 > │ v104 │
00:29:35 verbose #74502 > │ #endif │
00:29:35 verbose #74503 > │ │
00:29:35 verbose #74504 > │ #else │
00:29:35 verbose #74505 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:35 verbose #74506 > │ = _.GetUtcOffset │
00:29:35 verbose #74507 > │ let v106 : System.TimeZoneInfo option = None │
00:29:35 verbose #74508 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:29:35 verbose #74509 > │ │
00:29:35 verbose #74510 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74511 > │ │
00:29:35 verbose #74512 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74513 > │ let v108 : string = "0i64.into()" │
00:29:35 verbose #74514 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74515 > │ v108 │
00:29:35 verbose #74516 > │ v109 │
00:29:35 verbose #74517 > │ #endif │
00:29:35 verbose #74518 > │ │
00:29:35 verbose #74519 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74520 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74521 > │ v110 │
00:29:35 verbose #74522 > │ #endif │
00:29:35 verbose #74523 > │ │
00:29:35 verbose #74524 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74525 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74526 > │ v111 │
00:29:35 verbose #74527 > │ #endif │
00:29:35 verbose #74528 > │ │
00:29:35 verbose #74529 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74530 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74531 > │ v112 │
00:29:35 verbose #74532 > │ #endif │
00:29:35 verbose #74533 > │ │
00:29:35 verbose #74534 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74535 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74536 > │ v113 │
00:29:35 verbose #74537 > │ #endif │
00:29:35 verbose #74538 > │ │
00:29:35 verbose #74539 > │ #else │
00:29:35 verbose #74540 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #74541 > │ v114 │
00:29:35 verbose #74542 > │ #endif │
00:29:35 verbose #74543 > │ |> fun x -> _v106 <- Some x │
00:29:35 verbose #74544 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:29:35 verbose #74545 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:29:35 verbose #74546 > │ let v117 : System.TimeSpan = v116 v53 │
00:29:35 verbose #74547 > │ v117 │
00:29:35 verbose #74548 > │ #endif │
00:29:35 verbose #74549 > │ |> fun x -> _v98 <- Some x │
00:29:35 verbose #74550 > │ let v118 : System.TimeSpan = _v98.Value │
00:29:35 verbose #74551 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:29:35 verbose #74552 > │ let v120 : int32 = v119 v118 │
00:29:35 verbose #74553 > │ let v121 : bool = v120 > 0 │
00:29:35 verbose #74554 > │ let v122 : uint8 = │
00:29:35 verbose #74555 > │ if v121 then │
00:29:35 verbose #74556 > │ 1uy │
00:29:35 verbose #74557 > │ else │
00:29:35 verbose #74558 > │ 0uy │
00:29:35 verbose #74559 > │ let v123 : (string -> string) = v118.ToString │
00:29:35 verbose #74560 > │ let v124 : string = "hh:mm" │
00:29:35 verbose #74561 > │ let v125 : string = v123 v124 │
00:29:35 verbose #74562 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:29:35 verbose #74563 > │ struct (v87, v126) │
00:29:35 verbose #74564 > │ #endif │
00:29:35 verbose #74565 > │ │
00:29:35 verbose #74566 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74567 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:29:35 verbose #74568 > │ * string)> │
00:29:35 verbose #74569 > │ struct (v127, v128) │
00:29:35 verbose #74570 > │ #endif │
00:29:35 verbose #74571 > │ │
00:29:35 verbose #74572 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74573 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:29:35 verbose #74574 > │ * string)> │
00:29:35 verbose #74575 > │ struct (v129, v130) │
00:29:35 verbose #74576 > │ #endif │
00:29:35 verbose #74577 > │ │
00:29:35 verbose #74578 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74579 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:29:35 verbose #74580 > │ * string)> │
00:29:35 verbose #74581 > │ struct (v131, v132) │
00:29:35 verbose #74582 > │ #endif │
00:29:35 verbose #74583 > │ │
00:29:35 verbose #74584 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74585 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:29:35 verbose #74586 > │ * string)> │
00:29:35 verbose #74587 > │ struct (v133, v134) │
00:29:35 verbose #74588 > │ #endif │
00:29:35 verbose #74589 > │ │
00:29:35 verbose #74590 > │ #else │
00:29:35 verbose #74591 > │ let v135 : string = method8() │
00:29:35 verbose #74592 > │ let v136 : (string -> string) = v41.ToString │
00:29:35 verbose #74593 > │ let v137 : string = v136 v135 │
00:29:35 verbose #74594 > │ let v138 : System.TimeZoneInfo option = None │
00:29:35 verbose #74595 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:29:35 verbose #74596 > │ │
00:29:35 verbose #74597 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74598 > │ │
00:29:35 verbose #74599 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74600 > │ let v140 : string = "0i64.into()" │
00:29:35 verbose #74601 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74602 > │ v140 │
00:29:35 verbose #74603 > │ v141 │
00:29:35 verbose #74604 > │ #endif │
00:29:35 verbose #74605 > │ │
00:29:35 verbose #74606 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74607 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74608 > │ v142 │
00:29:35 verbose #74609 > │ #endif │
00:29:35 verbose #74610 > │ │
00:29:35 verbose #74611 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74612 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74613 > │ v143 │
00:29:35 verbose #74614 > │ #endif │
00:29:35 verbose #74615 > │ │
00:29:35 verbose #74616 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74617 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74618 > │ v144 │
00:29:35 verbose #74619 > │ #endif │
00:29:35 verbose #74620 > │ │
00:29:35 verbose #74621 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74622 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74623 > │ v145 │
00:29:35 verbose #74624 > │ #endif │
00:29:35 verbose #74625 > │ │
00:29:35 verbose #74626 > │ #else │
00:29:35 verbose #74627 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #74628 > │ v146 │
00:29:35 verbose #74629 > │ #endif │
00:29:35 verbose #74630 > │ |> fun x -> _v138 <- Some x │
00:29:35 verbose #74631 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:29:35 verbose #74632 > │ let v148 : System.TimeSpan option = None │
00:29:35 verbose #74633 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:29:35 verbose #74634 > │ │
00:29:35 verbose #74635 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74636 > │ │
00:29:35 verbose #74637 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74638 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74639 > │ v150 │
00:29:35 verbose #74640 > │ #endif │
00:29:35 verbose #74641 > │ │
00:29:35 verbose #74642 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74643 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74644 > │ v151 │
00:29:35 verbose #74645 > │ #endif │
00:29:35 verbose #74646 > │ │
00:29:35 verbose #74647 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74648 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74649 > │ v152 │
00:29:35 verbose #74650 > │ #endif │
00:29:35 verbose #74651 > │ │
00:29:35 verbose #74652 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74653 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74654 > │ v153 │
00:29:35 verbose #74655 > │ #endif │
00:29:35 verbose #74656 > │ │
00:29:35 verbose #74657 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74658 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74659 > │ v154 │
00:29:35 verbose #74660 > │ #endif │
00:29:35 verbose #74661 > │ │
00:29:35 verbose #74662 > │ #else │
00:29:35 verbose #74663 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:35 verbose #74664 > │ = _.GetUtcOffset │
00:29:35 verbose #74665 > │ let v156 : System.TimeZoneInfo option = None │
00:29:35 verbose #74666 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:29:35 verbose #74667 > │ │
00:29:35 verbose #74668 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74669 > │ │
00:29:35 verbose #74670 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74671 > │ let v158 : string = "0i64.into()" │
00:29:35 verbose #74672 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74673 > │ v158 │
00:29:35 verbose #74674 > │ v159 │
00:29:35 verbose #74675 > │ #endif │
00:29:35 verbose #74676 > │ │
00:29:35 verbose #74677 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74678 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74679 > │ v160 │
00:29:35 verbose #74680 > │ #endif │
00:29:35 verbose #74681 > │ │
00:29:35 verbose #74682 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74683 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74684 > │ v161 │
00:29:35 verbose #74685 > │ #endif │
00:29:35 verbose #74686 > │ │
00:29:35 verbose #74687 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74688 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74689 > │ v162 │
00:29:35 verbose #74690 > │ #endif │
00:29:35 verbose #74691 > │ │
00:29:35 verbose #74692 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74693 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74694 > │ v163 │
00:29:35 verbose #74695 > │ #endif │
00:29:35 verbose #74696 > │ │
00:29:35 verbose #74697 > │ #else │
00:29:35 verbose #74698 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #74699 > │ v164 │
00:29:35 verbose #74700 > │ #endif │
00:29:35 verbose #74701 > │ |> fun x -> _v156 <- Some x │
00:29:35 verbose #74702 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:29:35 verbose #74703 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:29:35 verbose #74704 > │ let v167 : System.TimeSpan = v166 v41 │
00:29:35 verbose #74705 > │ v167 │
00:29:35 verbose #74706 > │ #endif │
00:29:35 verbose #74707 > │ |> fun x -> _v148 <- Some x │
00:29:35 verbose #74708 > │ let v168 : System.TimeSpan = _v148.Value │
00:29:35 verbose #74709 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:29:35 verbose #74710 > │ let v170 : int32 = v169 v168 │
00:29:35 verbose #74711 > │ let v171 : bool = v170 > 0 │
00:29:35 verbose #74712 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:29:35 verbose #74713 > │ let v173 : int32 = v172 v171 │
00:29:35 verbose #74714 > │ let v174 : string = method9() │
00:29:35 verbose #74715 > │ let v175 : (string -> string) = v168.ToString │
00:29:35 verbose #74716 > │ let v176 : string = v175 v174 │
00:29:35 verbose #74717 > │ let v177 : string = $"{v173}{v176}" │
00:29:35 verbose #74718 > │ struct (v137, v177) │
00:29:35 verbose #74719 > │ #endif │
00:29:35 verbose #74720 > │ |> fun x -> _v45 <- Some x │
00:29:35 verbose #74721 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:29:35 verbose #74722 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:29:35 verbose #74723 > │ v179.Length..]}" │
00:29:35 verbose #74724 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:29:35 verbose #74725 > │ let v182 : string = v181 v180 │
00:29:35 verbose #74726 > │ let v183 : string = method1(v40, v182) │
00:29:35 verbose #74727 > │ v183 │
00:29:35 verbose #74728 > │ #endif │
00:29:35 verbose #74729 > │ │
00:29:35 verbose #74730 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74731 > │ let v184 : string = null |> unbox<string> │
00:29:35 verbose #74732 > │ v184 │
00:29:35 verbose #74733 > │ #endif │
00:29:35 verbose #74734 > │ │
00:29:35 verbose #74735 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74736 > │ let v185 : string = null |> unbox<string> │
00:29:35 verbose #74737 > │ v185 │
00:29:35 verbose #74738 > │ #endif │
00:29:35 verbose #74739 > │ │
00:29:35 verbose #74740 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74741 > │ let v186 : string = null |> unbox<string> │
00:29:35 verbose #74742 > │ v186 │
00:29:35 verbose #74743 > │ #endif │
00:29:35 verbose #74744 > │ │
00:29:35 verbose #74745 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74746 > │ let v187 : string = null |> unbox<string> │
00:29:35 verbose #74747 > │ v187 │
00:29:35 verbose #74748 > │ #endif │
00:29:35 verbose #74749 > │ │
00:29:35 verbose #74750 > │ #else │
00:29:35 verbose #74751 > │ let v188 : string option = None │
00:29:35 verbose #74752 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:29:35 verbose #74753 > │ │
00:29:35 verbose #74754 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74755 > │ │
00:29:35 verbose #74756 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74757 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:35 verbose #74758 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:29:35 verbose #74759 > │ v191 │
00:29:35 verbose #74760 > │ #endif │
00:29:35 verbose #74761 > │ │
00:29:35 verbose #74762 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74763 > │ let v192 : string = null |> unbox<string> │
00:29:35 verbose #74764 > │ v192 │
00:29:35 verbose #74765 > │ #endif │
00:29:35 verbose #74766 > │ │
00:29:35 verbose #74767 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74768 > │ let v193 : string = null |> unbox<string> │
00:29:35 verbose #74769 > │ v193 │
00:29:35 verbose #74770 > │ #endif │
00:29:35 verbose #74771 > │ │
00:29:35 verbose #74772 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74773 > │ let v194 : string = null |> unbox<string> │
00:29:35 verbose #74774 > │ v194 │
00:29:35 verbose #74775 > │ #endif │
00:29:35 verbose #74776 > │ │
00:29:35 verbose #74777 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74778 > │ let v195 : string = null |> unbox<string> │
00:29:35 verbose #74779 > │ v195 │
00:29:35 verbose #74780 > │ #endif │
00:29:35 verbose #74781 > │ │
00:29:35 verbose #74782 > │ #else │
00:29:35 verbose #74783 > │ let v196 : string = │
00:29:35 verbose #74784 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:35 verbose #74785 > │ v196 │
00:29:35 verbose #74786 > │ #endif │
00:29:35 verbose #74787 > │ |> fun x -> _v188 <- Some x │
00:29:35 verbose #74788 > │ let v197 : string = _v188.Value │
00:29:35 verbose #74789 > │ let v198 : string option = None │
00:29:35 verbose #74790 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:29:35 verbose #74791 > │ │
00:29:35 verbose #74792 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74793 > │ │
00:29:35 verbose #74794 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74795 > │ let v200 : string = "std::env::temp_dir()" │
00:29:35 verbose #74796 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74797 > │ v200 │
00:29:35 verbose #74798 > │ let v202 : string = "$0.display()" │
00:29:35 verbose #74799 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:29:35 verbose #74800 > │ v202 │
00:29:35 verbose #74801 > │ let v204 : std_string_String option = None │
00:29:35 verbose #74802 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:29:35 verbose #74803 > │ │
00:29:35 verbose #74804 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74805 > │ │
00:29:35 verbose #74806 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74807 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #74808 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:35 verbose #74809 > │ v206 │
00:29:35 verbose #74810 > │ v207 │
00:29:35 verbose #74811 > │ #endif │
00:29:35 verbose #74812 > │ │
00:29:35 verbose #74813 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74814 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #74815 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:35 verbose #74816 > │ v208 │
00:29:35 verbose #74817 > │ v209 │
00:29:35 verbose #74818 > │ #endif │
00:29:35 verbose #74819 > │ │
00:29:35 verbose #74820 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74821 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:29:35 verbose #74822 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:35 verbose #74823 > │ v210 │
00:29:35 verbose #74824 > │ v211 │
00:29:35 verbose #74825 > │ #endif │
00:29:35 verbose #74826 > │ │
00:29:35 verbose #74827 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74828 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #74829 > │ v212 │
00:29:35 verbose #74830 > │ #endif │
00:29:35 verbose #74831 > │ │
00:29:35 verbose #74832 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74833 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #74834 > │ v213 │
00:29:35 verbose #74835 > │ #endif │
00:29:35 verbose #74836 > │ │
00:29:35 verbose #74837 > │ #else │
00:29:35 verbose #74838 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:29:35 verbose #74839 > │ v214 │
00:29:35 verbose #74840 > │ #endif │
00:29:35 verbose #74841 > │ |> fun x -> _v204 <- Some x │
00:29:35 verbose #74842 > │ let v215 : std_string_String = _v204.Value │
00:29:35 verbose #74843 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #74844 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:29:35 verbose #74845 > │ v217 │
00:29:35 verbose #74846 > │ #endif │
00:29:35 verbose #74847 > │ │
00:29:35 verbose #74848 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74849 > │ let v218 : string = null |> unbox<string> │
00:29:35 verbose #74850 > │ v218 │
00:29:35 verbose #74851 > │ #endif │
00:29:35 verbose #74852 > │ │
00:29:35 verbose #74853 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74854 > │ let v219 : string = null |> unbox<string> │
00:29:35 verbose #74855 > │ v219 │
00:29:35 verbose #74856 > │ #endif │
00:29:35 verbose #74857 > │ │
00:29:35 verbose #74858 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74859 > │ let v220 : string = null |> unbox<string> │
00:29:35 verbose #74860 > │ v220 │
00:29:35 verbose #74861 > │ #endif │
00:29:35 verbose #74862 > │ │
00:29:35 verbose #74863 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74864 > │ let v221 : string = null |> unbox<string> │
00:29:35 verbose #74865 > │ v221 │
00:29:35 verbose #74866 > │ #endif │
00:29:35 verbose #74867 > │ │
00:29:35 verbose #74868 > │ #else │
00:29:35 verbose #74869 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:35 verbose #74870 > │ let v223 : string = v222 () │
00:29:35 verbose #74871 > │ v223 │
00:29:35 verbose #74872 > │ #endif │
00:29:35 verbose #74873 > │ |> fun x -> _v198 <- Some x │
00:29:35 verbose #74874 > │ let v224 : string = _v198.Value │
00:29:35 verbose #74875 > │ let v225 : string = $"!{v197}" │
00:29:35 verbose #74876 > │ let v226 : string = method1(v224, v225) │
00:29:35 verbose #74877 > │ let v227 : System.DateTime = System.DateTime.Now │
00:29:35 verbose #74878 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:29:35 verbose #74879 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:29:35 verbose #74880 > │ let v230 : string = v229 v228 │
00:29:35 verbose #74881 > │ let v231 : struct (string * string) option = None │
00:29:35 verbose #74882 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:29:35 verbose #74883 > │ │
00:29:35 verbose #74884 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74885 > │ │
00:29:35 verbose #74886 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74887 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:35 verbose #74888 > │ System.DateTimeKind.Utc) │
00:29:35 verbose #74889 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:35 verbose #74890 > │ let v235 : System.DateTime = v234 v233 │
00:29:35 verbose #74891 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:35 verbose #74892 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:29:35 verbose #74893 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:35 verbose #74894 > │ let v239 : System.DateTime = v238 v237 │
00:29:35 verbose #74895 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #74896 > │ let v241 : int64 = v240 v239 │
00:29:35 verbose #74897 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:29:35 verbose #74898 > │ let v243 : int64 = v242 v235 │
00:29:35 verbose #74899 > │ let v244 : int64 = v241 - v243 │
00:29:35 verbose #74900 > │ let v245 : int64 = v244 / 10L │
00:29:35 verbose #74901 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:35 verbose #74902 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:29:35 verbose #74903 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:29:35 verbose #74904 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:35 verbose #74905 > │ let v249 : US0 = US0_1 │
00:29:35 verbose #74906 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:29:35 verbose #74907 > │ let v269 : US1 = │
00:29:35 verbose #74908 > │ match v250 with │
00:29:35 verbose #74909 > │ | US0_1 -> (* None *) │
00:29:35 verbose #74910 > │ US1_1 │
00:29:35 verbose #74911 > │ | US0_0(v251) -> (* Some *) │
00:29:35 verbose #74912 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:29:35 verbose #74913 > │ let v253 : string = "v252.naive_utc()" │
00:29:35 verbose #74914 > │ let v254 : chrono_NaiveDateTime = │
00:29:35 verbose #74915 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:29:35 verbose #74916 > │ let v255 : string = │
00:29:35 verbose #74917 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:29:35 verbose #74918 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:29:35 verbose #74919 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:29:35 verbose #74920 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:29:35 verbose #74921 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:29:35 verbose #74922 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74923 > │ v258 │
00:29:35 verbose #74924 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:29:35 verbose #74925 > │ let v261 : string = "v260.format(v259).to_string()" │
00:29:35 verbose #74926 > │ let v262 : std_string_String = │
00:29:35 verbose #74927 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:29:35 verbose #74928 > │ let v263 : string = │
00:29:35 verbose #74929 > │ "fable_library_rust::String_::fromString($0)" │
00:29:35 verbose #74930 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:29:35 verbose #74931 > │ v263 │
00:29:35 verbose #74932 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:29:35 verbose #74933 > │ 22]}" │
00:29:35 verbose #74934 > │ US1_0(v265) │
00:29:35 verbose #74935 > │ let v273 : string = │
00:29:35 verbose #74936 > │ match v269 with │
00:29:35 verbose #74937 > │ | US1_1 -> (* None *) │
00:29:35 verbose #74938 > │ let v271 : string = "" │
00:29:35 verbose #74939 > │ v271 │
00:29:35 verbose #74940 > │ | US1_0(v270) -> (* Some *) │
00:29:35 verbose #74941 > │ v270 │
00:29:35 verbose #74942 > │ let v274 : System.TimeZoneInfo option = None │
00:29:35 verbose #74943 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:29:35 verbose #74944 > │ │
00:29:35 verbose #74945 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74946 > │ │
00:29:35 verbose #74947 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74948 > │ let v276 : string = "0i64.into()" │
00:29:35 verbose #74949 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #74950 > │ v276 │
00:29:35 verbose #74951 > │ v277 │
00:29:35 verbose #74952 > │ #endif │
00:29:35 verbose #74953 > │ │
00:29:35 verbose #74954 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74955 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74956 > │ v278 │
00:29:35 verbose #74957 > │ #endif │
00:29:35 verbose #74958 > │ │
00:29:35 verbose #74959 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74960 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74961 > │ v279 │
00:29:35 verbose #74962 > │ #endif │
00:29:35 verbose #74963 > │ │
00:29:35 verbose #74964 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #74965 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74966 > │ v280 │
00:29:35 verbose #74967 > │ #endif │
00:29:35 verbose #74968 > │ │
00:29:35 verbose #74969 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #74970 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #74971 > │ v281 │
00:29:35 verbose #74972 > │ #endif │
00:29:35 verbose #74973 > │ │
00:29:35 verbose #74974 > │ #else │
00:29:35 verbose #74975 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #74976 > │ v282 │
00:29:35 verbose #74977 > │ #endif │
00:29:35 verbose #74978 > │ |> fun x -> _v274 <- Some x │
00:29:35 verbose #74979 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:29:35 verbose #74980 > │ let v284 : System.TimeSpan option = None │
00:29:35 verbose #74981 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:29:35 verbose #74982 > │ │
00:29:35 verbose #74983 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #74984 > │ │
00:29:35 verbose #74985 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #74986 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74987 > │ v286 │
00:29:35 verbose #74988 > │ #endif │
00:29:35 verbose #74989 > │ │
00:29:35 verbose #74990 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #74991 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74992 > │ v287 │
00:29:35 verbose #74993 > │ #endif │
00:29:35 verbose #74994 > │ │
00:29:35 verbose #74995 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #74996 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #74997 > │ v288 │
00:29:35 verbose #74998 > │ #endif │
00:29:35 verbose #74999 > │ │
00:29:35 verbose #75000 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75001 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75002 > │ v289 │
00:29:35 verbose #75003 > │ #endif │
00:29:35 verbose #75004 > │ │
00:29:35 verbose #75005 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75006 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75007 > │ v290 │
00:29:35 verbose #75008 > │ #endif │
00:29:35 verbose #75009 > │ │
00:29:35 verbose #75010 > │ #else │
00:29:35 verbose #75011 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:35 verbose #75012 > │ = _.GetUtcOffset │
00:29:35 verbose #75013 > │ let v292 : System.TimeZoneInfo option = None │
00:29:35 verbose #75014 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:29:35 verbose #75015 > │ │
00:29:35 verbose #75016 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75017 > │ │
00:29:35 verbose #75018 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75019 > │ let v294 : string = "0i64.into()" │
00:29:35 verbose #75020 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #75021 > │ v294 │
00:29:35 verbose #75022 > │ v295 │
00:29:35 verbose #75023 > │ #endif │
00:29:35 verbose #75024 > │ │
00:29:35 verbose #75025 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75026 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75027 > │ v296 │
00:29:35 verbose #75028 > │ #endif │
00:29:35 verbose #75029 > │ │
00:29:35 verbose #75030 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75031 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75032 > │ v297 │
00:29:35 verbose #75033 > │ #endif │
00:29:35 verbose #75034 > │ │
00:29:35 verbose #75035 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75036 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75037 > │ v298 │
00:29:35 verbose #75038 > │ #endif │
00:29:35 verbose #75039 > │ │
00:29:35 verbose #75040 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75041 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75042 > │ v299 │
00:29:35 verbose #75043 > │ #endif │
00:29:35 verbose #75044 > │ │
00:29:35 verbose #75045 > │ #else │
00:29:35 verbose #75046 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #75047 > │ v300 │
00:29:35 verbose #75048 > │ #endif │
00:29:35 verbose #75049 > │ |> fun x -> _v292 <- Some x │
00:29:35 verbose #75050 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:29:35 verbose #75051 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:29:35 verbose #75052 > │ let v303 : System.TimeSpan = v302 v239 │
00:29:35 verbose #75053 > │ v303 │
00:29:35 verbose #75054 > │ #endif │
00:29:35 verbose #75055 > │ |> fun x -> _v284 <- Some x │
00:29:35 verbose #75056 > │ let v304 : System.TimeSpan = _v284.Value │
00:29:35 verbose #75057 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:29:35 verbose #75058 > │ let v306 : int32 = v305 v304 │
00:29:35 verbose #75059 > │ let v307 : bool = v306 > 0 │
00:29:35 verbose #75060 > │ let v308 : uint8 = │
00:29:35 verbose #75061 > │ if v307 then │
00:29:35 verbose #75062 > │ 1uy │
00:29:35 verbose #75063 > │ else │
00:29:35 verbose #75064 > │ 0uy │
00:29:35 verbose #75065 > │ let v309 : (string -> string) = v304.ToString │
00:29:35 verbose #75066 > │ let v310 : string = v309 v124 │
00:29:35 verbose #75067 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:29:35 verbose #75068 > │ struct (v273, v311) │
00:29:35 verbose #75069 > │ #endif │
00:29:35 verbose #75070 > │ │
00:29:35 verbose #75071 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75072 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:29:35 verbose #75073 > │ * string)> │
00:29:35 verbose #75074 > │ struct (v312, v313) │
00:29:35 verbose #75075 > │ #endif │
00:29:35 verbose #75076 > │ │
00:29:35 verbose #75077 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75078 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:29:35 verbose #75079 > │ * string)> │
00:29:35 verbose #75080 > │ struct (v314, v315) │
00:29:35 verbose #75081 > │ #endif │
00:29:35 verbose #75082 > │ │
00:29:35 verbose #75083 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75084 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:29:35 verbose #75085 > │ * string)> │
00:29:35 verbose #75086 > │ struct (v316, v317) │
00:29:35 verbose #75087 > │ #endif │
00:29:35 verbose #75088 > │ │
00:29:35 verbose #75089 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75090 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:29:35 verbose #75091 > │ * string)> │
00:29:35 verbose #75092 > │ struct (v318, v319) │
00:29:35 verbose #75093 > │ #endif │
00:29:35 verbose #75094 > │ │
00:29:35 verbose #75095 > │ #else │
00:29:35 verbose #75096 > │ let v320 : string = method8() │
00:29:35 verbose #75097 > │ let v321 : (string -> string) = v227.ToString │
00:29:35 verbose #75098 > │ let v322 : string = v321 v320 │
00:29:35 verbose #75099 > │ let v323 : System.TimeZoneInfo option = None │
00:29:35 verbose #75100 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:29:35 verbose #75101 > │ │
00:29:35 verbose #75102 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75103 > │ │
00:29:35 verbose #75104 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75105 > │ let v325 : string = "0i64.into()" │
00:29:35 verbose #75106 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #75107 > │ v325 │
00:29:35 verbose #75108 > │ v326 │
00:29:35 verbose #75109 > │ #endif │
00:29:35 verbose #75110 > │ │
00:29:35 verbose #75111 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75112 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75113 > │ v327 │
00:29:35 verbose #75114 > │ #endif │
00:29:35 verbose #75115 > │ │
00:29:35 verbose #75116 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75117 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75118 > │ v328 │
00:29:35 verbose #75119 > │ #endif │
00:29:35 verbose #75120 > │ │
00:29:35 verbose #75121 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75122 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75123 > │ v329 │
00:29:35 verbose #75124 > │ #endif │
00:29:35 verbose #75125 > │ │
00:29:35 verbose #75126 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75127 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75128 > │ v330 │
00:29:35 verbose #75129 > │ #endif │
00:29:35 verbose #75130 > │ │
00:29:35 verbose #75131 > │ #else │
00:29:35 verbose #75132 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #75133 > │ v331 │
00:29:35 verbose #75134 > │ #endif │
00:29:35 verbose #75135 > │ |> fun x -> _v323 <- Some x │
00:29:35 verbose #75136 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:29:35 verbose #75137 > │ let v333 : System.TimeSpan option = None │
00:29:35 verbose #75138 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:29:35 verbose #75139 > │ │
00:29:35 verbose #75140 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75141 > │ │
00:29:35 verbose #75142 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75143 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75144 > │ v335 │
00:29:35 verbose #75145 > │ #endif │
00:29:35 verbose #75146 > │ │
00:29:35 verbose #75147 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75148 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75149 > │ v336 │
00:29:35 verbose #75150 > │ #endif │
00:29:35 verbose #75151 > │ │
00:29:35 verbose #75152 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75153 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75154 > │ v337 │
00:29:35 verbose #75155 > │ #endif │
00:29:35 verbose #75156 > │ │
00:29:35 verbose #75157 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75158 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75159 > │ v338 │
00:29:35 verbose #75160 > │ #endif │
00:29:35 verbose #75161 > │ │
00:29:35 verbose #75162 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75163 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:29:35 verbose #75164 > │ v339 │
00:29:35 verbose #75165 > │ #endif │
00:29:35 verbose #75166 > │ │
00:29:35 verbose #75167 > │ #else │
00:29:35 verbose #75168 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:35 verbose #75169 > │ = _.GetUtcOffset │
00:29:35 verbose #75170 > │ let v341 : System.TimeZoneInfo option = None │
00:29:35 verbose #75171 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:29:35 verbose #75172 > │ │
00:29:35 verbose #75173 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75174 > │ │
00:29:35 verbose #75175 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75176 > │ let v343 : string = "0i64.into()" │
00:29:35 verbose #75177 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:35 verbose #75178 > │ v343 │
00:29:35 verbose #75179 > │ v344 │
00:29:35 verbose #75180 > │ #endif │
00:29:35 verbose #75181 > │ │
00:29:35 verbose #75182 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75183 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75184 > │ v345 │
00:29:35 verbose #75185 > │ #endif │
00:29:35 verbose #75186 > │ │
00:29:35 verbose #75187 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75188 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75189 > │ v346 │
00:29:35 verbose #75190 > │ #endif │
00:29:35 verbose #75191 > │ │
00:29:35 verbose #75192 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75193 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75194 > │ v347 │
00:29:35 verbose #75195 > │ #endif │
00:29:35 verbose #75196 > │ │
00:29:35 verbose #75197 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75198 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:35 verbose #75199 > │ v348 │
00:29:35 verbose #75200 > │ #endif │
00:29:35 verbose #75201 > │ │
00:29:35 verbose #75202 > │ #else │
00:29:35 verbose #75203 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:35 verbose #75204 > │ v349 │
00:29:35 verbose #75205 > │ #endif │
00:29:35 verbose #75206 > │ |> fun x -> _v341 <- Some x │
00:29:35 verbose #75207 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:29:35 verbose #75208 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:29:35 verbose #75209 > │ let v352 : System.TimeSpan = v351 v227 │
00:29:35 verbose #75210 > │ v352 │
00:29:35 verbose #75211 > │ #endif │
00:29:35 verbose #75212 > │ |> fun x -> _v333 <- Some x │
00:29:35 verbose #75213 > │ let v353 : System.TimeSpan = _v333.Value │
00:29:35 verbose #75214 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:29:35 verbose #75215 > │ let v355 : int32 = v354 v353 │
00:29:35 verbose #75216 > │ let v356 : bool = v355 > 0 │
00:29:35 verbose #75217 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:29:35 verbose #75218 > │ let v358 : int32 = v357 v356 │
00:29:35 verbose #75219 > │ let v359 : string = method9() │
00:29:35 verbose #75220 > │ let v360 : (string -> string) = v353.ToString │
00:29:35 verbose #75221 > │ let v361 : string = v360 v359 │
00:29:35 verbose #75222 > │ let v362 : string = $"{v358}{v361}" │
00:29:35 verbose #75223 > │ struct (v322, v362) │
00:29:35 verbose #75224 > │ #endif │
00:29:35 verbose #75225 > │ |> fun x -> _v231 <- Some x │
00:29:35 verbose #75226 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:29:35 verbose #75227 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:29:35 verbose #75228 > │ v364.Length..]}" │
00:29:35 verbose #75229 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:29:35 verbose #75230 > │ let v367 : string = v366 v365 │
00:29:35 verbose #75231 > │ let v368 : string = method1(v226, v367) │
00:29:35 verbose #75232 > │ v368 │
00:29:35 verbose #75233 > │ #endif │
00:29:35 verbose #75234 > │ |> fun x -> _v0 <- Some x │
00:29:35 verbose #75235 > │ let v369 : string = _v0.Value │
00:29:35 verbose #75236 > │ let v370 : System.IDisposable option = None │
00:29:35 verbose #75237 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:29:35 verbose #75238 > │ │
00:29:35 verbose #75239 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75240 > │ │
00:29:35 verbose #75241 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75242 > │ let v372 : string = method10(v369) │
00:29:35 verbose #75243 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:29:35 verbose #75244 > │ let v374 : Result<unit, std_io_Error> = │
00:29:35 verbose #75245 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:29:35 verbose #75246 > │ let v375 : (std_io_Error -> std_string_String) = method11() │
00:29:35 verbose #75247 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:29:35 verbose #75248 > │ let v377 : Result<unit, std_string_String> = │
00:29:35 verbose #75249 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:29:35 verbose #75250 > │ let v378 : (unit -> US2) = closure2() │
00:29:35 verbose #75251 > │ let v379 : (std_string_String -> US2) = closure3() │
00:29:35 verbose #75252 > │ let v380 : US2 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:29:35 verbose #75253 > │ match v380 with │
00:29:35 verbose #75254 > │ | US2_1(v384) -> (* Error *) │
00:29:35 verbose #75255 > │ let v385 : US3 = US3_4 │
00:29:35 verbose #75256 > │ let v386 : (unit -> string) = closure4() │
00:29:35 verbose #75257 > │ let v387 : (unit -> string) = closure5(v372, v384) │
00:29:35 verbose #75258 > │ method12(v385, v386, v387) │
00:29:35 verbose #75259 > │ | US2_0 -> (* Ok *) │
00:29:35 verbose #75260 > │ let v381 : US3 = US3_0 │
00:29:35 verbose #75261 > │ let v382 : (unit -> string) = closure11() │
00:29:35 verbose #75262 > │ let v383 : (unit -> string) = closure12(v372) │
00:29:35 verbose #75263 > │ method12(v381, v382, v383) │
00:29:35 verbose #75264 > │ let v388 : System.IDisposable option = None │
00:29:35 verbose #75265 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:29:35 verbose #75266 > │ │
00:29:35 verbose #75267 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75268 > │ │
00:29:35 verbose #75269 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75270 > │ let v390 : (unit -> unit) = closure13(v372) │
00:29:35 verbose #75271 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:29:35 verbose #75272 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:35 verbose #75273 > │ v391 │
00:29:35 verbose #75274 > │ #endif │
00:29:35 verbose #75275 > │ │
00:29:35 verbose #75276 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75277 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:29:35 verbose #75278 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:35 verbose #75279 > │ v392 │
00:29:35 verbose #75280 > │ #endif │
00:29:35 verbose #75281 > │ │
00:29:35 verbose #75282 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75283 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:29:35 verbose #75284 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:35 verbose #75285 > │ v393 │
00:29:35 verbose #75286 > │ #endif │
00:29:35 verbose #75287 > │ │
00:29:35 verbose #75288 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75289 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75290 > │ v394 │
00:29:35 verbose #75291 > │ #endif │
00:29:35 verbose #75292 > │ │
00:29:35 verbose #75293 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75294 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75295 > │ v395 │
00:29:35 verbose #75296 > │ #endif │
00:29:35 verbose #75297 > │ │
00:29:35 verbose #75298 > │ #else │
00:29:35 verbose #75299 > │ let v396 : (unit -> unit) = method19(v372) │
00:29:35 verbose #75300 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:29:35 verbose #75301 > │ _.Dispose () = v396 () } │
00:29:35 verbose #75302 > │ v397 │
00:29:35 verbose #75303 > │ #endif │
00:29:35 verbose #75304 > │ |> fun x -> _v388 <- Some x │
00:29:35 verbose #75305 > │ let v398 : System.IDisposable = _v388.Value │
00:29:35 verbose #75306 > │ v398 │
00:29:35 verbose #75307 > │ #endif │
00:29:35 verbose #75308 > │ │
00:29:35 verbose #75309 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75310 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75311 > │ v399 │
00:29:35 verbose #75312 > │ #endif │
00:29:35 verbose #75313 > │ │
00:29:35 verbose #75314 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75315 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75316 > │ v400 │
00:29:35 verbose #75317 > │ #endif │
00:29:35 verbose #75318 > │ │
00:29:35 verbose #75319 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75320 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75321 > │ v401 │
00:29:35 verbose #75322 > │ #endif │
00:29:35 verbose #75323 > │ │
00:29:35 verbose #75324 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75325 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75326 > │ v402 │
00:29:35 verbose #75327 > │ #endif │
00:29:35 verbose #75328 > │ │
00:29:35 verbose #75329 > │ #else │
00:29:35 verbose #75330 > │ let v403 : System.IO.DirectoryInfo option = None │
00:29:35 verbose #75331 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:29:35 verbose #75332 > │ │
00:29:35 verbose #75333 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75334 > │ │
00:29:35 verbose #75335 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75336 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75337 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75338 > │ v405 │
00:29:35 verbose #75339 > │ #endif │
00:29:35 verbose #75340 > │ │
00:29:35 verbose #75341 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75342 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75343 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75344 > │ v406 │
00:29:35 verbose #75345 > │ #endif │
00:29:35 verbose #75346 > │ │
00:29:35 verbose #75347 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75348 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75349 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75350 > │ v407 │
00:29:35 verbose #75351 > │ #endif │
00:29:35 verbose #75352 > │ │
00:29:35 verbose #75353 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75354 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75355 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75356 > │ v408 │
00:29:35 verbose #75357 > │ #endif │
00:29:35 verbose #75358 > │ │
00:29:35 verbose #75359 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75360 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75361 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75362 > │ v409 │
00:29:35 verbose #75363 > │ #endif │
00:29:35 verbose #75364 > │ │
00:29:35 verbose #75365 > │ #else │
00:29:35 verbose #75366 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:29:35 verbose #75367 > │ System.IO.Directory.CreateDirectory │
00:29:35 verbose #75368 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:29:35 verbose #75369 > │ v411 │
00:29:35 verbose #75370 > │ #endif │
00:29:35 verbose #75371 > │ |> fun x -> _v403 <- Some x │
00:29:35 verbose #75372 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:29:35 verbose #75373 > │ let v413 : bool option = None │
00:29:35 verbose #75374 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:29:35 verbose #75375 > │ │
00:29:35 verbose #75376 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75377 > │ │
00:29:35 verbose #75378 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75379 > │ let v415 : bool = null |> unbox<bool> │
00:29:35 verbose #75380 > │ v415 │
00:29:35 verbose #75381 > │ #endif │
00:29:35 verbose #75382 > │ │
00:29:35 verbose #75383 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75384 > │ let v416 : bool = null |> unbox<bool> │
00:29:35 verbose #75385 > │ v416 │
00:29:35 verbose #75386 > │ #endif │
00:29:35 verbose #75387 > │ │
00:29:35 verbose #75388 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75389 > │ let v417 : bool = null |> unbox<bool> │
00:29:35 verbose #75390 > │ v417 │
00:29:35 verbose #75391 > │ #endif │
00:29:35 verbose #75392 > │ │
00:29:35 verbose #75393 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75394 > │ let v418 : bool = null |> unbox<bool> │
00:29:35 verbose #75395 > │ v418 │
00:29:35 verbose #75396 > │ #endif │
00:29:35 verbose #75397 > │ │
00:29:35 verbose #75398 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75399 > │ let v419 : bool = null |> unbox<bool> │
00:29:35 verbose #75400 > │ v419 │
00:29:35 verbose #75401 > │ #endif │
00:29:35 verbose #75402 > │ │
00:29:35 verbose #75403 > │ #else │
00:29:35 verbose #75404 > │ let v420 : bool = v412.Exists │
00:29:35 verbose #75405 > │ v420 │
00:29:35 verbose #75406 > │ #endif │
00:29:35 verbose #75407 > │ |> fun x -> _v413 <- Some x │
00:29:35 verbose #75408 > │ let v421 : bool = _v413.Value │
00:29:35 verbose #75409 > │ let v422 : bool = v421 = false │
00:29:35 verbose #75410 > │ if v422 then │
00:29:35 verbose #75411 > │ let v423 : System.DateTime option = None │
00:29:35 verbose #75412 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:29:35 verbose #75413 > │ │
00:29:35 verbose #75414 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75415 > │ │
00:29:35 verbose #75416 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75417 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:29:35 verbose #75418 > │ v425 │
00:29:35 verbose #75419 > │ #endif │
00:29:35 verbose #75420 > │ │
00:29:35 verbose #75421 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75422 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:29:35 verbose #75423 > │ v426 │
00:29:35 verbose #75424 > │ #endif │
00:29:35 verbose #75425 > │ │
00:29:35 verbose #75426 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75427 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:29:35 verbose #75428 > │ v427 │
00:29:35 verbose #75429 > │ #endif │
00:29:35 verbose #75430 > │ │
00:29:35 verbose #75431 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75432 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:29:35 verbose #75433 > │ v428 │
00:29:35 verbose #75434 > │ #endif │
00:29:35 verbose #75435 > │ │
00:29:35 verbose #75436 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75437 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:29:35 verbose #75438 > │ v429 │
00:29:35 verbose #75439 > │ #endif │
00:29:35 verbose #75440 > │ │
00:29:35 verbose #75441 > │ #else │
00:29:35 verbose #75442 > │ let v430 : System.DateTime = v412.CreationTime │
00:29:35 verbose #75443 > │ v430 │
00:29:35 verbose #75444 > │ #endif │
00:29:35 verbose #75445 > │ |> fun x -> _v423 <- Some x │
00:29:35 verbose #75446 > │ let v431 : System.DateTime = _v423.Value │
00:29:35 verbose #75447 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:29:35 verbose #75448 > │ let v433 : string = $"%A{v432}" │
00:29:35 verbose #75449 > │ let v434 : US3 = US3_1 │
00:29:35 verbose #75450 > │ let v435 : (unit -> string) = closure14() │
00:29:35 verbose #75451 > │ let v436 : (unit -> string) = closure15(v369, v433) │
00:29:35 verbose #75452 > │ method12(v434, v435, v436) │
00:29:35 verbose #75453 > │ let v437 : System.IDisposable option = None │
00:29:35 verbose #75454 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:29:35 verbose #75455 > │ │
00:29:35 verbose #75456 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75457 > │ │
00:29:35 verbose #75458 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75459 > │ let v439 : (unit -> unit) = closure16(v369) │
00:29:35 verbose #75460 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:29:35 verbose #75461 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:35 verbose #75462 > │ v440 │
00:29:35 verbose #75463 > │ #endif │
00:29:35 verbose #75464 > │ │
00:29:35 verbose #75465 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75466 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:29:35 verbose #75467 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:35 verbose #75468 > │ v441 │
00:29:35 verbose #75469 > │ #endif │
00:29:35 verbose #75470 > │ │
00:29:35 verbose #75471 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75472 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:29:35 verbose #75473 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:35 verbose #75474 > │ v442 │
00:29:35 verbose #75475 > │ #endif │
00:29:35 verbose #75476 > │ │
00:29:35 verbose #75477 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75478 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75479 > │ v443 │
00:29:35 verbose #75480 > │ #endif │
00:29:35 verbose #75481 > │ │
00:29:35 verbose #75482 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75483 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:35 verbose #75484 > │ v444 │
00:29:35 verbose #75485 > │ #endif │
00:29:35 verbose #75486 > │ │
00:29:35 verbose #75487 > │ #else │
00:29:35 verbose #75488 > │ let v445 : (unit -> unit) = method21(v369) │
00:29:35 verbose #75489 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:29:35 verbose #75490 > │ _.Dispose () = v445 () } │
00:29:35 verbose #75491 > │ v446 │
00:29:35 verbose #75492 > │ #endif │
00:29:35 verbose #75493 > │ |> fun x -> _v437 <- Some x │
00:29:35 verbose #75494 > │ let v447 : System.IDisposable = _v437.Value │
00:29:35 verbose #75495 > │ v447 │
00:29:35 verbose #75496 > │ #endif │
00:29:35 verbose #75497 > │ |> fun x -> _v370 <- Some x │
00:29:35 verbose #75498 > │ let v448 : System.IDisposable = _v370.Value │
00:29:35 verbose #75499 > │ use v448 = v448 │
00:29:35 verbose #75500 > │ let v449 : System.IDisposable = v448 │
00:29:35 verbose #75501 > │ let v450 : string = "test" │
00:29:35 verbose #75502 > │ let v451 : string = method1(v369, v450) │
00:29:35 verbose #75503 > │ let v452 : Async<int64> option = None │
00:29:35 verbose #75504 > │ let v453 : bool = true in let mutable _v452 = v452 │
00:29:35 verbose #75505 > │ │
00:29:35 verbose #75506 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75507 > │ │
00:29:35 verbose #75508 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75509 > │ let v454 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #75510 > │ v454 │
00:29:35 verbose #75511 > │ #endif │
00:29:35 verbose #75512 > │ │
00:29:35 verbose #75513 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75514 > │ let v455 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #75515 > │ v455 │
00:29:35 verbose #75516 > │ #endif │
00:29:35 verbose #75517 > │ │
00:29:35 verbose #75518 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75519 > │ let v456 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #75520 > │ v456 │
00:29:35 verbose #75521 > │ #endif │
00:29:35 verbose #75522 > │ │
00:29:35 verbose #75523 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75524 > │ let v457 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #75525 > │ v457 │
00:29:35 verbose #75526 > │ #endif │
00:29:35 verbose #75527 > │ │
00:29:35 verbose #75528 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75529 > │ let v458 : Async<int64> = null |> unbox<Async<int64>> │
00:29:35 verbose #75530 > │ v458 │
00:29:35 verbose #75531 > │ #endif │
00:29:35 verbose #75532 > │ │
00:29:35 verbose #75533 > │ #else │
00:29:35 verbose #75534 > │ let v459 : Async<int64> option = None │
00:29:35 verbose #75535 > │ let mutable _v459 = v459 │
00:29:35 verbose #75536 > │ async { │
00:29:35 verbose #75537 > │ let v460 : US3 = US3_1 │
00:29:35 verbose #75538 > │ let v461 : (unit -> string) = closure20() │
00:29:35 verbose #75539 > │ let v462 : (unit -> string) = closure6() │
00:29:35 verbose #75540 > │ method12(v460, v461, v462) │
00:29:35 verbose #75541 > │ let v463 : System.IO.DirectoryInfo option = None │
00:29:35 verbose #75542 > │ let v464 : bool = true in let mutable _v463 = v463 │
00:29:35 verbose #75543 > │ │
00:29:35 verbose #75544 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75545 > │ │
00:29:35 verbose #75546 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75547 > │ let v465 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75548 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75549 > │ v465 │
00:29:35 verbose #75550 > │ #endif │
00:29:35 verbose #75551 > │ │
00:29:35 verbose #75552 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75553 > │ let v466 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75554 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75555 > │ v466 │
00:29:35 verbose #75556 > │ #endif │
00:29:35 verbose #75557 > │ │
00:29:35 verbose #75558 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75559 > │ let v467 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75560 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75561 > │ v467 │
00:29:35 verbose #75562 > │ #endif │
00:29:35 verbose #75563 > │ │
00:29:35 verbose #75564 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75565 > │ let v468 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75566 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75567 > │ v468 │
00:29:35 verbose #75568 > │ #endif │
00:29:35 verbose #75569 > │ │
00:29:35 verbose #75570 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75571 > │ let v469 : System.IO.DirectoryInfo = null |> │
00:29:35 verbose #75572 > │ unbox<System.IO.DirectoryInfo> │
00:29:35 verbose #75573 > │ v469 │
00:29:35 verbose #75574 > │ #endif │
00:29:35 verbose #75575 > │ │
00:29:35 verbose #75576 > │ #else │
00:29:35 verbose #75577 > │ let v470 : (string -> System.IO.DirectoryInfo) = │
00:29:35 verbose #75578 > │ System.IO.Directory.CreateDirectory │
00:29:35 verbose #75579 > │ let v471 : System.IO.DirectoryInfo = v470 v451 │
00:29:35 verbose #75580 > │ v471 │
00:29:35 verbose #75581 > │ #endif │
00:29:35 verbose #75582 > │ |> fun x -> _v463 <- Some x │
00:29:35 verbose #75583 > │ let v472 : System.IO.DirectoryInfo = _v463.Value │
00:29:35 verbose #75584 > │ let v473 : US3 = US3_1 │
00:29:35 verbose #75585 > │ let v474 : (unit -> string) = closure21() │
00:29:35 verbose #75586 > │ method12(v473, v474, v462) │
00:29:35 verbose #75587 > │ let v475 : Async<unit> option = None │
00:29:35 verbose #75588 > │ let v476 : bool = true in let mutable _v475 = v475 │
00:29:35 verbose #75589 > │ │
00:29:35 verbose #75590 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:35 verbose #75591 > │ │
00:29:35 verbose #75592 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:35 verbose #75593 > │ let v477 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #75594 > │ v477 │
00:29:35 verbose #75595 > │ #endif │
00:29:35 verbose #75596 > │ │
00:29:35 verbose #75597 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:35 verbose #75598 > │ let v478 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #75599 > │ v478 │
00:29:35 verbose #75600 > │ #endif │
00:29:35 verbose #75601 > │ │
00:29:35 verbose #75602 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:35 verbose #75603 > │ let v479 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #75604 > │ v479 │
00:29:35 verbose #75605 > │ #endif │
00:29:35 verbose #75606 > │ │
00:29:35 verbose #75607 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:35 verbose #75608 > │ let v480 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #75609 > │ v480 │
00:29:35 verbose #75610 > │ #endif │
00:29:35 verbose #75611 > │ │
00:29:35 verbose #75612 > │ #if FABLE_COMPILER_PYTHON │
00:29:35 verbose #75613 > │ let v481 : Async<unit> = null |> unbox<Async<unit>> │
00:29:35 verbose #75614 > │ v481 │
00:29:36 verbose #75615 > │ #endif │
00:29:36 verbose #75616 > │ │
00:29:36 verbose #75617 > │ #else │
00:29:36 verbose #75618 > │ let v482 : Async<unit> option = None │
00:29:36 verbose #75619 > │ let mutable _v482 = v482 │
00:29:36 verbose #75620 > │ async { │
00:29:36 verbose #75621 > │ let v483 : US3 = US3_1 │
00:29:36 verbose #75622 > │ let v484 : (unit -> string) = closure22() │
00:29:36 verbose #75623 > │ method12(v483, v484, v462) │
00:29:36 verbose #75624 > │ let v485 : string = "test.txt" │
00:29:36 verbose #75625 > │ let v486 : string = method1(v451, v485) │
00:29:36 verbose #75626 > │ let v487 : Async<unit> option = None │
00:29:36 verbose #75627 > │ let v488 : bool = true in let mutable _v487 = v487 │
00:29:36 verbose #75628 > │ │
00:29:36 verbose #75629 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75630 > │ │
00:29:36 verbose #75631 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75632 > │ let v489 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75633 > │ v489 │
00:29:36 verbose #75634 > │ #endif │
00:29:36 verbose #75635 > │ │
00:29:36 verbose #75636 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75637 > │ let v490 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75638 > │ v490 │
00:29:36 verbose #75639 > │ #endif │
00:29:36 verbose #75640 > │ │
00:29:36 verbose #75641 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75642 > │ let v491 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75643 > │ v491 │
00:29:36 verbose #75644 > │ #endif │
00:29:36 verbose #75645 > │ │
00:29:36 verbose #75646 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75647 > │ let v492 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75648 > │ v492 │
00:29:36 verbose #75649 > │ #endif │
00:29:36 verbose #75650 > │ │
00:29:36 verbose #75651 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75652 > │ let v493 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75653 > │ v493 │
00:29:36 verbose #75654 > │ #endif │
00:29:36 verbose #75655 > │ │
00:29:36 verbose #75656 > │ #else │
00:29:36 verbose #75657 > │ let v494 : string = "0" │
00:29:36 verbose #75658 > │ let v495 : System.Threading.Tasks.Task = │
00:29:36 verbose #75659 > │ System.IO.File.WriteAllTextAsync (v486, v494) │
00:29:36 verbose #75660 > │ let v496 : Async<unit> option = None │
00:29:36 verbose #75661 > │ let v497 : bool = true in let mutable _v496 = v496 │
00:29:36 verbose #75662 > │ │
00:29:36 verbose #75663 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75664 > │ │
00:29:36 verbose #75665 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75666 > │ let v498 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75667 > │ v498 │
00:29:36 verbose #75668 > │ #endif │
00:29:36 verbose #75669 > │ │
00:29:36 verbose #75670 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75671 > │ let v499 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75672 > │ v499 │
00:29:36 verbose #75673 > │ #endif │
00:29:36 verbose #75674 > │ │
00:29:36 verbose #75675 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75676 > │ let v500 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75677 > │ v500 │
00:29:36 verbose #75678 > │ #endif │
00:29:36 verbose #75679 > │ │
00:29:36 verbose #75680 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75681 > │ let v501 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75682 > │ v501 │
00:29:36 verbose #75683 > │ #endif │
00:29:36 verbose #75684 > │ │
00:29:36 verbose #75685 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75686 > │ let v502 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75687 > │ v502 │
00:29:36 verbose #75688 > │ #endif │
00:29:36 verbose #75689 > │ │
00:29:36 verbose #75690 > │ #else │
00:29:36 verbose #75691 > │ let v503 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:29:36 verbose #75692 > │ Async.AwaitTask │
00:29:36 verbose #75693 > │ let v504 : Async<unit> = v503 v495 │
00:29:36 verbose #75694 > │ v504 │
00:29:36 verbose #75695 > │ #endif │
00:29:36 verbose #75696 > │ |> fun x -> _v496 <- Some x │
00:29:36 verbose #75697 > │ let v505 : Async<unit> = _v496.Value │
00:29:36 verbose #75698 > │ v505 │
00:29:36 verbose #75699 > │ #endif │
00:29:36 verbose #75700 > │ |> fun x -> _v487 <- Some x │
00:29:36 verbose #75701 > │ let v506 : Async<unit> = _v487.Value │
00:29:36 verbose #75702 > │ do! v506 │
00:29:36 verbose #75703 > │ let v507 : string = method1(v451, v485) │
00:29:36 verbose #75704 > │ let v508 : System.IO.FileStream option = None │
00:29:36 verbose #75705 > │ let v509 : bool = true in let mutable _v508 = v508 │
00:29:36 verbose #75706 > │ │
00:29:36 verbose #75707 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75708 > │ │
00:29:36 verbose #75709 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75710 > │ let v510 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:36 verbose #75711 > │ v510 │
00:29:36 verbose #75712 > │ #endif │
00:29:36 verbose #75713 > │ │
00:29:36 verbose #75714 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75715 > │ let v511 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:36 verbose #75716 > │ v511 │
00:29:36 verbose #75717 > │ #endif │
00:29:36 verbose #75718 > │ │
00:29:36 verbose #75719 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75720 > │ let v512 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:36 verbose #75721 > │ v512 │
00:29:36 verbose #75722 > │ #endif │
00:29:36 verbose #75723 > │ │
00:29:36 verbose #75724 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75725 > │ let v513 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:36 verbose #75726 > │ v513 │
00:29:36 verbose #75727 > │ #endif │
00:29:36 verbose #75728 > │ │
00:29:36 verbose #75729 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75730 > │ let v514 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:36 verbose #75731 > │ v514 │
00:29:36 verbose #75732 > │ #endif │
00:29:36 verbose #75733 > │ │
00:29:36 verbose #75734 > │ #else │
00:29:36 verbose #75735 > │ let v515 : System.IO.FileMode = System.IO.FileMode.Open │
00:29:36 verbose #75736 > │ let v516 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:29:36 verbose #75737 > │ let v517 : System.IO.FileShare = System.IO.FileShare.None │
00:29:36 verbose #75738 > │ let v518 : System.IO.FileStream = new System.IO.FileStream (v507, v515, │
00:29:36 verbose #75739 > │ v516, v517) │
00:29:36 verbose #75740 > │ v518 │
00:29:36 verbose #75741 > │ #endif │
00:29:36 verbose #75742 > │ |> fun x -> _v508 <- Some x │
00:29:36 verbose #75743 > │ let v519 : System.IO.FileStream = _v508.Value │
00:29:36 verbose #75744 > │ use v519 = v519 │
00:29:36 verbose #75745 > │ let v520 : System.IO.FileStream = v519 │
00:29:36 verbose #75746 > │ let v521 : US3 = US3_1 │
00:29:36 verbose #75747 > │ let v522 : (unit -> string) = closure23() │
00:29:36 verbose #75748 > │ method12(v521, v522, v462) │
00:29:36 verbose #75749 > │ let v523 : Async<unit> option = None │
00:29:36 verbose #75750 > │ let v524 : bool = true in let mutable _v523 = v523 │
00:29:36 verbose #75751 > │ │
00:29:36 verbose #75752 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75753 > │ │
00:29:36 verbose #75754 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75755 > │ let v525 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75756 > │ v525 │
00:29:36 verbose #75757 > │ #endif │
00:29:36 verbose #75758 > │ │
00:29:36 verbose #75759 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75760 > │ let v526 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75761 > │ v526 │
00:29:36 verbose #75762 > │ #endif │
00:29:36 verbose #75763 > │ │
00:29:36 verbose #75764 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75765 > │ let v527 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75766 > │ v527 │
00:29:36 verbose #75767 > │ #endif │
00:29:36 verbose #75768 > │ │
00:29:36 verbose #75769 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75770 > │ let v528 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75771 > │ v528 │
00:29:36 verbose #75772 > │ #endif │
00:29:36 verbose #75773 > │ │
00:29:36 verbose #75774 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75775 > │ let v529 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75776 > │ v529 │
00:29:36 verbose #75777 > │ #endif │
00:29:36 verbose #75778 > │ │
00:29:36 verbose #75779 > │ #else │
00:29:36 verbose #75780 > │ let v530 : (int32 -> Async<unit>) = Async.Sleep │
00:29:36 verbose #75781 > │ let v531 : Async<unit> = v530 2000 │
00:29:36 verbose #75782 > │ v531 │
00:29:36 verbose #75783 > │ #endif │
00:29:36 verbose #75784 > │ |> fun x -> _v523 <- Some x │
00:29:36 verbose #75785 > │ let v532 : Async<unit> = _v523.Value │
00:29:36 verbose #75786 > │ do! v532 │
00:29:36 verbose #75787 > │ let v533 : US3 = US3_1 │
00:29:36 verbose #75788 > │ let v534 : (unit -> string) = closure24() │
00:29:36 verbose #75789 > │ method12(v533, v534, v462) │
00:29:36 verbose #75790 > │ return () │
00:29:36 verbose #75791 > │ } │
00:29:36 verbose #75792 > │ |> fun x -> _v482 <- Some x │
00:29:36 verbose #75793 > │ let v535 : Async<unit> = _v482 |> Option.get │
00:29:36 verbose #75794 > │ v535 │
00:29:36 verbose #75795 > │ #endif │
00:29:36 verbose #75796 > │ |> fun x -> _v475 <- Some x │
00:29:36 verbose #75797 > │ let v536 : Async<unit> = _v475.Value │
00:29:36 verbose #75798 > │ let v537 : Async<Async<unit>> option = None │
00:29:36 verbose #75799 > │ let v538 : bool = true in let mutable _v537 = v537 │
00:29:36 verbose #75800 > │ │
00:29:36 verbose #75801 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75802 > │ │
00:29:36 verbose #75803 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75804 > │ let v539 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:36 verbose #75805 > │ v539 │
00:29:36 verbose #75806 > │ #endif │
00:29:36 verbose #75807 > │ │
00:29:36 verbose #75808 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75809 > │ let v540 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:36 verbose #75810 > │ v540 │
00:29:36 verbose #75811 > │ #endif │
00:29:36 verbose #75812 > │ │
00:29:36 verbose #75813 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75814 > │ let v541 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:36 verbose #75815 > │ v541 │
00:29:36 verbose #75816 > │ #endif │
00:29:36 verbose #75817 > │ │
00:29:36 verbose #75818 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75819 > │ let v542 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:36 verbose #75820 > │ v542 │
00:29:36 verbose #75821 > │ #endif │
00:29:36 verbose #75822 > │ │
00:29:36 verbose #75823 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75824 > │ let v543 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:36 verbose #75825 > │ v543 │
00:29:36 verbose #75826 > │ #endif │
00:29:36 verbose #75827 > │ │
00:29:36 verbose #75828 > │ #else │
00:29:36 verbose #75829 > │ let v544 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:29:36 verbose #75830 > │ let v545 : Async<Async<unit>> = v544 v536 │
00:29:36 verbose #75831 > │ v545 │
00:29:36 verbose #75832 > │ #endif │
00:29:36 verbose #75833 > │ |> fun x -> _v537 <- Some x │
00:29:36 verbose #75834 > │ let v546 : Async<Async<unit>> = _v537.Value │
00:29:36 verbose #75835 > │ let! v546 = v546 │
00:29:36 verbose #75836 > │ let v547 : Async<unit> = v546 │
00:29:36 verbose #75837 > │ let v548 : US3 = US3_1 │
00:29:36 verbose #75838 > │ let v549 : (unit -> string) = closure25() │
00:29:36 verbose #75839 > │ method12(v548, v549, v462) │
00:29:36 verbose #75840 > │ let v550 : Async<unit> option = None │
00:29:36 verbose #75841 > │ let v551 : bool = true in let mutable _v550 = v550 │
00:29:36 verbose #75842 > │ │
00:29:36 verbose #75843 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75844 > │ │
00:29:36 verbose #75845 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75846 > │ let v552 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75847 > │ v552 │
00:29:36 verbose #75848 > │ #endif │
00:29:36 verbose #75849 > │ │
00:29:36 verbose #75850 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75851 > │ let v553 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75852 > │ v553 │
00:29:36 verbose #75853 > │ #endif │
00:29:36 verbose #75854 > │ │
00:29:36 verbose #75855 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75856 > │ let v554 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75857 > │ v554 │
00:29:36 verbose #75858 > │ #endif │
00:29:36 verbose #75859 > │ │
00:29:36 verbose #75860 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75861 > │ let v555 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75862 > │ v555 │
00:29:36 verbose #75863 > │ #endif │
00:29:36 verbose #75864 > │ │
00:29:36 verbose #75865 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75866 > │ let v556 : Async<unit> = null |> unbox<Async<unit>> │
00:29:36 verbose #75867 > │ v556 │
00:29:36 verbose #75868 > │ #endif │
00:29:36 verbose #75869 > │ │
00:29:36 verbose #75870 > │ #else │
00:29:36 verbose #75871 > │ let v557 : (int32 -> Async<unit>) = Async.Sleep │
00:29:36 verbose #75872 > │ let v558 : Async<unit> = v557 60 │
00:29:36 verbose #75873 > │ v558 │
00:29:36 verbose #75874 > │ #endif │
00:29:36 verbose #75875 > │ |> fun x -> _v550 <- Some x │
00:29:36 verbose #75876 > │ let v559 : Async<unit> = _v550.Value │
00:29:36 verbose #75877 > │ do! v559 │
00:29:36 verbose #75878 > │ let v560 : US3 = US3_1 │
00:29:36 verbose #75879 > │ let v561 : (unit -> string) = closure26() │
00:29:36 verbose #75880 > │ method12(v560, v561, v462) │
00:29:36 verbose #75881 > │ let v562 : Async<int64> option = None │
00:29:36 verbose #75882 > │ let v563 : bool = true in let mutable _v562 = v562 │
00:29:36 verbose #75883 > │ │
00:29:36 verbose #75884 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75885 > │ │
00:29:36 verbose #75886 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75887 > │ let v564 : Async<int64> = null |> unbox<Async<int64>> │
00:29:36 verbose #75888 > │ v564 │
00:29:36 verbose #75889 > │ #endif │
00:29:36 verbose #75890 > │ │
00:29:36 verbose #75891 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75892 > │ let v565 : Async<int64> = null |> unbox<Async<int64>> │
00:29:36 verbose #75893 > │ v565 │
00:29:36 verbose #75894 > │ #endif │
00:29:36 verbose #75895 > │ │
00:29:36 verbose #75896 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75897 > │ let v566 : Async<int64> = null |> unbox<Async<int64>> │
00:29:36 verbose #75898 > │ v566 │
00:29:36 verbose #75899 > │ #endif │
00:29:36 verbose #75900 > │ │
00:29:36 verbose #75901 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75902 > │ let v567 : Async<int64> = null |> unbox<Async<int64>> │
00:29:36 verbose #75903 > │ v567 │
00:29:36 verbose #75904 > │ #endif │
00:29:36 verbose #75905 > │ │
00:29:36 verbose #75906 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75907 > │ let v568 : Async<int64> = null |> unbox<Async<int64>> │
00:29:36 verbose #75908 > │ v568 │
00:29:36 verbose #75909 > │ #endif │
00:29:36 verbose #75910 > │ │
00:29:36 verbose #75911 > │ #else │
00:29:36 verbose #75912 > │ let v569 : int64 = 0L │
00:29:36 verbose #75913 > │ let v570 : Async<int64> = method20(v451, v569) │
00:29:36 verbose #75914 > │ v570 │
00:29:36 verbose #75915 > │ #endif │
00:29:36 verbose #75916 > │ |> fun x -> _v562 <- Some x │
00:29:36 verbose #75917 > │ let v571 : Async<int64> = _v562.Value │
00:29:36 verbose #75918 > │ let! v571 = v571 │
00:29:36 verbose #75919 > │ let v572 : int64 = v571 │
00:29:36 verbose #75920 > │ let v573 : US3 = US3_1 │
00:29:36 verbose #75921 > │ let v574 : (unit -> string) = closure27() │
00:29:36 verbose #75922 > │ method12(v573, v574, v462) │
00:29:36 verbose #75923 > │ do! v547 │
00:29:36 verbose #75924 > │ let v575 : US3 = US3_1 │
00:29:36 verbose #75925 > │ let v576 : (unit -> string) = closure28() │
00:29:36 verbose #75926 > │ method12(v575, v576, v462) │
00:29:36 verbose #75927 > │ return v572 │
00:29:36 verbose #75928 > │ } │
00:29:36 verbose #75929 > │ |> fun x -> _v459 <- Some x │
00:29:36 verbose #75930 > │ let v577 : Async<int64> = _v459 |> Option.get │
00:29:36 verbose #75931 > │ v577 │
00:29:36 verbose #75932 > │ #endif │
00:29:36 verbose #75933 > │ |> fun x -> _v452 <- Some x │
00:29:36 verbose #75934 > │ let v578 : Async<int64> = _v452.Value │
00:29:36 verbose #75935 > │ let v579 : Async<US5> option = None │
00:29:36 verbose #75936 > │ let v580 : bool = true in let mutable _v579 = v579 │
00:29:36 verbose #75937 > │ │
00:29:36 verbose #75938 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75939 > │ │
00:29:36 verbose #75940 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75941 > │ let v581 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75942 > │ v581 │
00:29:36 verbose #75943 > │ #endif │
00:29:36 verbose #75944 > │ │
00:29:36 verbose #75945 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75946 > │ let v582 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75947 > │ v582 │
00:29:36 verbose #75948 > │ #endif │
00:29:36 verbose #75949 > │ │
00:29:36 verbose #75950 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75951 > │ let v583 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75952 > │ v583 │
00:29:36 verbose #75953 > │ #endif │
00:29:36 verbose #75954 > │ │
00:29:36 verbose #75955 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75956 > │ let v584 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75957 > │ v584 │
00:29:36 verbose #75958 > │ #endif │
00:29:36 verbose #75959 > │ │
00:29:36 verbose #75960 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75961 > │ let v585 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75962 > │ v585 │
00:29:36 verbose #75963 > │ #endif │
00:29:36 verbose #75964 > │ │
00:29:36 verbose #75965 > │ #else │
00:29:36 verbose #75966 > │ let v586 : Async<US5> option = None │
00:29:36 verbose #75967 > │ let v587 : bool = true in let mutable _v586 = v586 │
00:29:36 verbose #75968 > │ │
00:29:36 verbose #75969 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #75970 > │ │
00:29:36 verbose #75971 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #75972 > │ let v588 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75973 > │ v588 │
00:29:36 verbose #75974 > │ #endif │
00:29:36 verbose #75975 > │ │
00:29:36 verbose #75976 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #75977 > │ let v589 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75978 > │ v589 │
00:29:36 verbose #75979 > │ #endif │
00:29:36 verbose #75980 > │ │
00:29:36 verbose #75981 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #75982 > │ let v590 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75983 > │ v590 │
00:29:36 verbose #75984 > │ #endif │
00:29:36 verbose #75985 > │ │
00:29:36 verbose #75986 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #75987 > │ let v591 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75988 > │ v591 │
00:29:36 verbose #75989 > │ #endif │
00:29:36 verbose #75990 > │ │
00:29:36 verbose #75991 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #75992 > │ let v592 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #75993 > │ v592 │
00:29:36 verbose #75994 > │ #endif │
00:29:36 verbose #75995 > │ │
00:29:36 verbose #75996 > │ #else │
00:29:36 verbose #75997 > │ let v593 : Async<US5> option = None │
00:29:36 verbose #75998 > │ let mutable _v593 = v593 │
00:29:36 verbose #75999 > │ async { │
00:29:36 verbose #76000 > │ let v594 : Async<Async<int64>> option = None │
00:29:36 verbose #76001 > │ let v595 : bool = true in let mutable _v594 = v594 │
00:29:36 verbose #76002 > │ │
00:29:36 verbose #76003 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76004 > │ │
00:29:36 verbose #76005 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76006 > │ let v596 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:36 verbose #76007 > │ v596 │
00:29:36 verbose #76008 > │ #endif │
00:29:36 verbose #76009 > │ │
00:29:36 verbose #76010 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76011 > │ let v597 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:36 verbose #76012 > │ v597 │
00:29:36 verbose #76013 > │ #endif │
00:29:36 verbose #76014 > │ │
00:29:36 verbose #76015 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76016 > │ let v598 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:36 verbose #76017 > │ v598 │
00:29:36 verbose #76018 > │ #endif │
00:29:36 verbose #76019 > │ │
00:29:36 verbose #76020 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76021 > │ let v599 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:36 verbose #76022 > │ v599 │
00:29:36 verbose #76023 > │ #endif │
00:29:36 verbose #76024 > │ │
00:29:36 verbose #76025 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76026 > │ let v600 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:36 verbose #76027 > │ v600 │
00:29:36 verbose #76028 > │ #endif │
00:29:36 verbose #76029 > │ │
00:29:36 verbose #76030 > │ #else │
00:29:36 verbose #76031 > │ let v601 : Async<Async<int64>> = Async.StartChild (v578, 3000) │
00:29:36 verbose #76032 > │ v601 │
00:29:36 verbose #76033 > │ #endif │
00:29:36 verbose #76034 > │ |> fun x -> _v594 <- Some x │
00:29:36 verbose #76035 > │ let v602 : Async<Async<int64>> = _v594.Value │
00:29:36 verbose #76036 > │ let! v602 = v602 │
00:29:36 verbose #76037 > │ let v603 : Async<int64> = v602 │
00:29:36 verbose #76038 > │ let v604 : Async<Choice<int64, exn>> option = None │
00:29:36 verbose #76039 > │ let v605 : bool = true in let mutable _v604 = v604 │
00:29:36 verbose #76040 > │ │
00:29:36 verbose #76041 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76042 > │ │
00:29:36 verbose #76043 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76044 > │ let v606 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:36 verbose #76045 > │ exn>>> │
00:29:36 verbose #76046 > │ v606 │
00:29:36 verbose #76047 > │ #endif │
00:29:36 verbose #76048 > │ │
00:29:36 verbose #76049 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76050 > │ let v607 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:36 verbose #76051 > │ exn>>> │
00:29:36 verbose #76052 > │ v607 │
00:29:36 verbose #76053 > │ #endif │
00:29:36 verbose #76054 > │ │
00:29:36 verbose #76055 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76056 > │ let v608 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:36 verbose #76057 > │ exn>>> │
00:29:36 verbose #76058 > │ v608 │
00:29:36 verbose #76059 > │ #endif │
00:29:36 verbose #76060 > │ │
00:29:36 verbose #76061 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76062 > │ let v609 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:36 verbose #76063 > │ exn>>> │
00:29:36 verbose #76064 > │ v609 │
00:29:36 verbose #76065 > │ #endif │
00:29:36 verbose #76066 > │ │
00:29:36 verbose #76067 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76068 > │ let v610 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:36 verbose #76069 > │ exn>>> │
00:29:36 verbose #76070 > │ v610 │
00:29:36 verbose #76071 > │ #endif │
00:29:36 verbose #76072 > │ │
00:29:36 verbose #76073 > │ #else │
00:29:36 verbose #76074 > │ let v611 : (Async<int64> -> Async<Choice<int64, exn>>) = Async.Catch │
00:29:36 verbose #76075 > │ let v612 : Async<Choice<int64, exn>> = v611 v603 │
00:29:36 verbose #76076 > │ v612 │
00:29:36 verbose #76077 > │ #endif │
00:29:36 verbose #76078 > │ |> fun x -> _v604 <- Some x │
00:29:36 verbose #76079 > │ let v613 : Async<Choice<int64, exn>> = _v604.Value │
00:29:36 verbose #76080 > │ let v614 : Async<US6> option = None │
00:29:36 verbose #76081 > │ let v615 : bool = true in let mutable _v614 = v614 │
00:29:36 verbose #76082 > │ │
00:29:36 verbose #76083 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76084 > │ │
00:29:36 verbose #76085 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76086 > │ let v616 : Async<US6> = null |> unbox<Async<US6>> │
00:29:36 verbose #76087 > │ v616 │
00:29:36 verbose #76088 > │ #endif │
00:29:36 verbose #76089 > │ │
00:29:36 verbose #76090 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76091 > │ let v617 : Async<US6> = null |> unbox<Async<US6>> │
00:29:36 verbose #76092 > │ v617 │
00:29:36 verbose #76093 > │ #endif │
00:29:36 verbose #76094 > │ │
00:29:36 verbose #76095 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76096 > │ let v618 : Async<US6> = null |> unbox<Async<US6>> │
00:29:36 verbose #76097 > │ v618 │
00:29:36 verbose #76098 > │ #endif │
00:29:36 verbose #76099 > │ │
00:29:36 verbose #76100 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76101 > │ let v619 : Async<US6> = null |> unbox<Async<US6>> │
00:29:36 verbose #76102 > │ v619 │
00:29:36 verbose #76103 > │ #endif │
00:29:36 verbose #76104 > │ │
00:29:36 verbose #76105 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76106 > │ let v620 : Async<US6> = null |> unbox<Async<US6>> │
00:29:36 verbose #76107 > │ v620 │
00:29:36 verbose #76108 > │ #endif │
00:29:36 verbose #76109 > │ │
00:29:36 verbose #76110 > │ #else │
00:29:36 verbose #76111 > │ let v621 : Async<US6> option = None │
00:29:36 verbose #76112 > │ let mutable _v621 = v621 │
00:29:36 verbose #76113 > │ async { │
00:29:36 verbose #76114 > │ let! v613 = v613 │
00:29:36 verbose #76115 > │ let v622 : Choice<int64, exn> = v613 │
00:29:36 verbose #76116 > │ let v623 : US6 option = None │
00:29:36 verbose #76117 > │ let v624 : bool = true in let mutable _v623 = v623 │
00:29:36 verbose #76118 > │ │
00:29:36 verbose #76119 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76120 > │ │
00:29:36 verbose #76121 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76122 > │ let v625 : US6 = null |> unbox<US6> │
00:29:36 verbose #76123 > │ v625 │
00:29:36 verbose #76124 > │ #endif │
00:29:36 verbose #76125 > │ │
00:29:36 verbose #76126 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76127 > │ let v626 : US6 = null |> unbox<US6> │
00:29:36 verbose #76128 > │ v626 │
00:29:36 verbose #76129 > │ #endif │
00:29:36 verbose #76130 > │ │
00:29:36 verbose #76131 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76132 > │ let v627 : US6 = null |> unbox<US6> │
00:29:36 verbose #76133 > │ v627 │
00:29:36 verbose #76134 > │ #endif │
00:29:36 verbose #76135 > │ │
00:29:36 verbose #76136 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76137 > │ let v628 : US6 = null |> unbox<US6> │
00:29:36 verbose #76138 > │ v628 │
00:29:36 verbose #76139 > │ #endif │
00:29:36 verbose #76140 > │ │
00:29:36 verbose #76141 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76142 > │ let v629 : US6 = null |> unbox<US6> │
00:29:36 verbose #76143 > │ v629 │
00:29:36 verbose #76144 > │ #endif │
00:29:36 verbose #76145 > │ │
00:29:36 verbose #76146 > │ #else │
00:29:36 verbose #76147 > │ let v630 : (int64 -> US6) = closure29() │
00:29:36 verbose #76148 > │ let v631 : (exn -> US6) = closure30() │
00:29:36 verbose #76149 > │ let v632 : US6 = match v622 with Choice1Of2 x -> v630 x | Choice2Of2 x │
00:29:36 verbose #76150 > │ -> v631 x │
00:29:36 verbose #76151 > │ v632 │
00:29:36 verbose #76152 > │ #endif │
00:29:36 verbose #76153 > │ |> fun x -> _v623 <- Some x │
00:29:36 verbose #76154 > │ let v633 : US6 = _v623.Value │
00:29:36 verbose #76155 > │ return v633 │
00:29:36 verbose #76156 > │ } │
00:29:36 verbose #76157 > │ |> fun x -> _v621 <- Some x │
00:29:36 verbose #76158 > │ let v634 : Async<US6> = _v621 |> Option.get │
00:29:36 verbose #76159 > │ v634 │
00:29:36 verbose #76160 > │ #endif │
00:29:36 verbose #76161 > │ |> fun x -> _v614 <- Some x │
00:29:36 verbose #76162 > │ let v635 : Async<US6> = _v614.Value │
00:29:36 verbose #76163 > │ let v636 : Async<US7> option = None │
00:29:36 verbose #76164 > │ let v637 : bool = true in let mutable _v636 = v636 │
00:29:36 verbose #76165 > │ │
00:29:36 verbose #76166 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76167 > │ │
00:29:36 verbose #76168 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76169 > │ let v638 : Async<US7> = null |> unbox<Async<US7>> │
00:29:36 verbose #76170 > │ v638 │
00:29:36 verbose #76171 > │ #endif │
00:29:36 verbose #76172 > │ │
00:29:36 verbose #76173 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76174 > │ let v639 : Async<US7> = null |> unbox<Async<US7>> │
00:29:36 verbose #76175 > │ v639 │
00:29:36 verbose #76176 > │ #endif │
00:29:36 verbose #76177 > │ │
00:29:36 verbose #76178 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76179 > │ let v640 : Async<US7> = null |> unbox<Async<US7>> │
00:29:36 verbose #76180 > │ v640 │
00:29:36 verbose #76181 > │ #endif │
00:29:36 verbose #76182 > │ │
00:29:36 verbose #76183 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76184 > │ let v641 : Async<US7> = null |> unbox<Async<US7>> │
00:29:36 verbose #76185 > │ v641 │
00:29:36 verbose #76186 > │ #endif │
00:29:36 verbose #76187 > │ │
00:29:36 verbose #76188 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76189 > │ let v642 : Async<US7> = null |> unbox<Async<US7>> │
00:29:36 verbose #76190 > │ v642 │
00:29:36 verbose #76191 > │ #endif │
00:29:36 verbose #76192 > │ │
00:29:36 verbose #76193 > │ #else │
00:29:36 verbose #76194 > │ let v643 : Async<US7> option = None │
00:29:36 verbose #76195 > │ let mutable _v643 = v643 │
00:29:36 verbose #76196 > │ async { │
00:29:36 verbose #76197 > │ let! v635 = v635 │
00:29:36 verbose #76198 > │ let v644 : US6 = v635 │
00:29:36 verbose #76199 > │ let v650 : US7 = │
00:29:36 verbose #76200 > │ match v644 with │
00:29:36 verbose #76201 > │ | US6_0(v645) -> (* Choice1Of2 *) │
00:29:36 verbose #76202 > │ US7_0(v645) │
00:29:36 verbose #76203 > │ | US6_1(v647) -> (* Choice2Of2 *) │
00:29:36 verbose #76204 > │ US7_1(v647) │
00:29:36 verbose #76205 > │ return v650 │
00:29:36 verbose #76206 > │ } │
00:29:36 verbose #76207 > │ |> fun x -> _v643 <- Some x │
00:29:36 verbose #76208 > │ let v651 : Async<US7> = _v643 |> Option.get │
00:29:36 verbose #76209 > │ v651 │
00:29:36 verbose #76210 > │ #endif │
00:29:36 verbose #76211 > │ |> fun x -> _v636 <- Some x │
00:29:36 verbose #76212 > │ let v652 : Async<US7> = _v636.Value │
00:29:36 verbose #76213 > │ let v653 : Async<US5> option = None │
00:29:36 verbose #76214 > │ let v654 : bool = true in let mutable _v653 = v653 │
00:29:36 verbose #76215 > │ │
00:29:36 verbose #76216 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76217 > │ │
00:29:36 verbose #76218 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76219 > │ let v655 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #76220 > │ v655 │
00:29:36 verbose #76221 > │ #endif │
00:29:36 verbose #76222 > │ │
00:29:36 verbose #76223 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76224 > │ let v656 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #76225 > │ v656 │
00:29:36 verbose #76226 > │ #endif │
00:29:36 verbose #76227 > │ │
00:29:36 verbose #76228 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76229 > │ let v657 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #76230 > │ v657 │
00:29:36 verbose #76231 > │ #endif │
00:29:36 verbose #76232 > │ │
00:29:36 verbose #76233 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76234 > │ let v658 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #76235 > │ v658 │
00:29:36 verbose #76236 > │ #endif │
00:29:36 verbose #76237 > │ │
00:29:36 verbose #76238 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76239 > │ let v659 : Async<US5> = null |> unbox<Async<US5>> │
00:29:36 verbose #76240 > │ v659 │
00:29:36 verbose #76241 > │ #endif │
00:29:36 verbose #76242 > │ │
00:29:36 verbose #76243 > │ #else │
00:29:36 verbose #76244 > │ let v660 : Async<US5> option = None │
00:29:36 verbose #76245 > │ let mutable _v660 = v660 │
00:29:36 verbose #76246 > │ async { │
00:29:36 verbose #76247 > │ let! v652 = v652 │
00:29:36 verbose #76248 > │ let v661 : US7 = v652 │
00:29:36 verbose #76249 > │ let v687 : US5 = │
00:29:36 verbose #76250 > │ match v661 with │
00:29:36 verbose #76251 > │ | US7_1(v664) -> (* Error *) │
00:29:36 verbose #76252 > │ let v665 : string = $"%A{v664}" │
00:29:36 verbose #76253 > │ let v666 : string = "System.TimeoutException" │
00:29:36 verbose #76254 > │ let v667 : bool = v665.Contains v666 │
00:29:36 verbose #76255 > │ if v667 then │
00:29:36 verbose #76256 > │ let v668 : US3 = US3_1 │
00:29:36 verbose #76257 > │ let v669 : (unit -> string) = closure31() │
00:29:36 verbose #76258 > │ let v670 : (unit -> string) = closure32() │
00:29:36 verbose #76259 > │ method12(v668, v669, v670) │
00:29:36 verbose #76260 > │ US5_1 │
00:29:36 verbose #76261 > │ else │
00:29:36 verbose #76262 > │ let v672 : string option = None │
00:29:36 verbose #76263 > │ let v673 : bool = true in let mutable _v672 = v672 │
00:29:36 verbose #76264 > │ │
00:29:36 verbose #76265 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76266 > │ │
00:29:36 verbose #76267 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76268 > │ let v674 : string = $"%A{v664}" │
00:29:36 verbose #76269 > │ v674 │
00:29:36 verbose #76270 > │ #endif │
00:29:36 verbose #76271 > │ │
00:29:36 verbose #76272 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76273 > │ let v675 : string = $"%A{v664}" │
00:29:36 verbose #76274 > │ v675 │
00:29:36 verbose #76275 > │ #endif │
00:29:36 verbose #76276 > │ │
00:29:36 verbose #76277 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76278 > │ let v676 : string = $"%A{v664}" │
00:29:36 verbose #76279 > │ v676 │
00:29:36 verbose #76280 > │ #endif │
00:29:36 verbose #76281 > │ │
00:29:36 verbose #76282 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76283 > │ let v677 : string = $"%A{v664}" │
00:29:36 verbose #76284 > │ v677 │
00:29:36 verbose #76285 > │ #endif │
00:29:36 verbose #76286 > │ │
00:29:36 verbose #76287 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76288 > │ let v678 : string = $"%A{v664}" │
00:29:36 verbose #76289 > │ v678 │
00:29:36 verbose #76290 > │ #endif │
00:29:36 verbose #76291 > │ │
00:29:36 verbose #76292 > │ #else │
00:29:36 verbose #76293 > │ let v679 : string = $"{v664.GetType ()}: {v664.Message}" │
00:29:36 verbose #76294 > │ v679 │
00:29:36 verbose #76295 > │ #endif │
00:29:36 verbose #76296 > │ |> fun x -> _v672 <- Some x │
00:29:36 verbose #76297 > │ let v680 : string = _v672.Value │
00:29:36 verbose #76298 > │ let v681 : US3 = US3_4 │
00:29:36 verbose #76299 > │ let v682 : (unit -> string) = closure33(v680) │
00:29:36 verbose #76300 > │ let v683 : (unit -> string) = closure32() │
00:29:36 verbose #76301 > │ method12(v681, v682, v683) │
00:29:36 verbose #76302 > │ US5_1 │
00:29:36 verbose #76303 > │ | US7_0(v662) -> (* Ok *) │
00:29:36 verbose #76304 > │ US5_0(v662) │
00:29:36 verbose #76305 > │ return v687 │
00:29:36 verbose #76306 > │ } │
00:29:36 verbose #76307 > │ |> fun x -> _v660 <- Some x │
00:29:36 verbose #76308 > │ let v688 : Async<US5> = _v660 |> Option.get │
00:29:36 verbose #76309 > │ v688 │
00:29:36 verbose #76310 > │ #endif │
00:29:36 verbose #76311 > │ |> fun x -> _v653 <- Some x │
00:29:36 verbose #76312 > │ let v689 : Async<US5> = _v653.Value │
00:29:36 verbose #76313 > │ return! v689 │
00:29:36 verbose #76314 > │ } │
00:29:36 verbose #76315 > │ |> fun x -> _v593 <- Some x │
00:29:36 verbose #76316 > │ let v690 : Async<US5> = _v593 |> Option.get │
00:29:36 verbose #76317 > │ v690 │
00:29:36 verbose #76318 > │ #endif │
00:29:36 verbose #76319 > │ |> fun x -> _v586 <- Some x │
00:29:36 verbose #76320 > │ let v691 : Async<US5> = _v586.Value │
00:29:36 verbose #76321 > │ v691 │
00:29:36 verbose #76322 > │ #endif │
00:29:36 verbose #76323 > │ |> fun x -> _v579 <- Some x │
00:29:36 verbose #76324 > │ let v692 : Async<US5> = _v579.Value │
00:29:36 verbose #76325 > │ let v693 : US5 option = None │
00:29:36 verbose #76326 > │ let v694 : bool = true in let mutable _v693 = v693 │
00:29:36 verbose #76327 > │ │
00:29:36 verbose #76328 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76329 > │ │
00:29:36 verbose #76330 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76331 > │ let v695 : US5 = null |> unbox<US5> │
00:29:36 verbose #76332 > │ v695 │
00:29:36 verbose #76333 > │ #endif │
00:29:36 verbose #76334 > │ │
00:29:36 verbose #76335 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76336 > │ let v696 : US5 = null |> unbox<US5> │
00:29:36 verbose #76337 > │ v696 │
00:29:36 verbose #76338 > │ #endif │
00:29:36 verbose #76339 > │ │
00:29:36 verbose #76340 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76341 > │ let v697 : US5 = null |> unbox<US5> │
00:29:36 verbose #76342 > │ v697 │
00:29:36 verbose #76343 > │ #endif │
00:29:36 verbose #76344 > │ │
00:29:36 verbose #76345 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76346 > │ let v698 : US5 = null |> unbox<US5> │
00:29:36 verbose #76347 > │ v698 │
00:29:36 verbose #76348 > │ #endif │
00:29:36 verbose #76349 > │ │
00:29:36 verbose #76350 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76351 > │ let v699 : US5 = null |> unbox<US5> │
00:29:36 verbose #76352 > │ v699 │
00:29:36 verbose #76353 > │ #endif │
00:29:36 verbose #76354 > │ │
00:29:36 verbose #76355 > │ #else │
00:29:36 verbose #76356 > │ let v700 : (Async<US5> -> US5) = Async.RunSynchronously │
00:29:36 verbose #76357 > │ let v701 : US5 = v700 v692 │
00:29:36 verbose #76358 > │ v701 │
00:29:36 verbose #76359 > │ #endif │
00:29:36 verbose #76360 > │ |> fun x -> _v693 <- Some x │
00:29:36 verbose #76361 > │ let v702 : US5 = _v693.Value │
00:29:36 verbose #76362 > │ let v740 : bool = │
00:29:36 verbose #76363 > │ match v702 with │
00:29:36 verbose #76364 > │ | US5_0(v703) -> (* Some *) │
00:29:36 verbose #76365 > │ let v704 : bool option = None │
00:29:36 verbose #76366 > │ let v705 : bool = true in let mutable _v704 = v704 │
00:29:36 verbose #76367 > │ │
00:29:36 verbose #76368 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76369 > │ │
00:29:36 verbose #76370 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76371 > │ let v706 : string = "cfg!(windows)" │
00:29:36 verbose #76372 > │ let v707 : bool = Fable.Core.RustInterop.emitRustExpr () v706 │
00:29:36 verbose #76373 > │ v707 │
00:29:36 verbose #76374 > │ #endif │
00:29:36 verbose #76375 > │ │
00:29:36 verbose #76376 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76377 > │ let v708 : bool = null |> unbox<bool> │
00:29:36 verbose #76378 > │ v708 │
00:29:36 verbose #76379 > │ #endif │
00:29:36 verbose #76380 > │ │
00:29:36 verbose #76381 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76382 > │ let v709 : bool = null |> unbox<bool> │
00:29:36 verbose #76383 > │ v709 │
00:29:36 verbose #76384 > │ #endif │
00:29:36 verbose #76385 > │ │
00:29:36 verbose #76386 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76387 > │ let v710 : bool = null |> unbox<bool> │
00:29:36 verbose #76388 > │ v710 │
00:29:36 verbose #76389 > │ #endif │
00:29:36 verbose #76390 > │ │
00:29:36 verbose #76391 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76392 > │ let v711 : bool = null |> unbox<bool> │
00:29:36 verbose #76393 > │ v711 │
00:29:36 verbose #76394 > │ #endif │
00:29:36 verbose #76395 > │ │
00:29:36 verbose #76396 > │ #else │
00:29:36 verbose #76397 > │ let v712 : System.Runtime.InteropServices.OSPlatform = │
00:29:36 verbose #76398 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:36 verbose #76399 > │ let v713 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:36 verbose #76400 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:36 verbose #76401 > │ let v714 : bool = v713 v712 │
00:29:36 verbose #76402 > │ v714 │
00:29:36 verbose #76403 > │ #endif │
00:29:36 verbose #76404 > │ |> fun x -> _v704 <- Some x │
00:29:36 verbose #76405 > │ let v715 : bool = _v704.Value │
00:29:36 verbose #76406 > │ let v716 : int64 = │
00:29:36 verbose #76407 > │ if v715 then │
00:29:36 verbose #76408 > │ 50L │
00:29:36 verbose #76409 > │ else │
00:29:36 verbose #76410 > │ 0L │
00:29:36 verbose #76411 > │ let v717 : bool option = None │
00:29:36 verbose #76412 > │ let v718 : bool = true in let mutable _v717 = v717 │
00:29:36 verbose #76413 > │ │
00:29:36 verbose #76414 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:36 verbose #76415 > │ │
00:29:36 verbose #76416 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:36 verbose #76417 > │ let v719 : string = "cfg!(windows)" │
00:29:36 verbose #76418 > │ let v720 : bool = Fable.Core.RustInterop.emitRustExpr () v719 │
00:29:36 verbose #76419 > │ v720 │
00:29:36 verbose #76420 > │ #endif │
00:29:36 verbose #76421 > │ │
00:29:36 verbose #76422 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:36 verbose #76423 > │ let v721 : bool = null |> unbox<bool> │
00:29:36 verbose #76424 > │ v721 │
00:29:36 verbose #76425 > │ #endif │
00:29:36 verbose #76426 > │ │
00:29:36 verbose #76427 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:36 verbose #76428 > │ let v722 : bool = null |> unbox<bool> │
00:29:36 verbose #76429 > │ v722 │
00:29:36 verbose #76430 > │ #endif │
00:29:36 verbose #76431 > │ │
00:29:36 verbose #76432 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:36 verbose #76433 > │ let v723 : bool = null |> unbox<bool> │
00:29:36 verbose #76434 > │ v723 │
00:29:36 verbose #76435 > │ #endif │
00:29:36 verbose #76436 > │ │
00:29:36 verbose #76437 > │ #if FABLE_COMPILER_PYTHON │
00:29:36 verbose #76438 > │ let v724 : bool = null |> unbox<bool> │
00:29:36 verbose #76439 > │ v724 │
00:29:36 verbose #76440 > │ #endif │
00:29:36 verbose #76441 > │ │
00:29:36 verbose #76442 > │ #else │
00:29:36 verbose #76443 > │ let v725 : System.Runtime.InteropServices.OSPlatform = │
00:29:36 verbose #76444 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:36 verbose #76445 > │ let v726 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:36 verbose #76446 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:36 verbose #76447 > │ let v727 : bool = v726 v725 │
00:29:36 verbose #76448 > │ v727 │
00:29:36 verbose #76449 > │ #endif │
00:29:36 verbose #76450 > │ |> fun x -> _v717 <- Some x │
00:29:36 verbose #76451 > │ let v728 : bool = _v717.Value │
00:29:36 verbose #76452 > │ let v729 : int64 = │
00:29:36 verbose #76453 > │ if v728 then │
00:29:36 verbose #76454 > │ 150L │
00:29:36 verbose #76455 > │ else │
00:29:36 verbose #76456 > │ 0L │
00:29:36 verbose #76457 > │ let v730 : bool = v703 >= v716 │
00:29:36 verbose #76458 > │ let v732 : bool = │
00:29:36 verbose #76459 > │ if v730 then │
00:29:36 verbose #76460 > │ true │
00:29:36 verbose #76461 > │ else │
00:29:36 verbose #76462 > │ method22(v730) │
00:29:36 verbose #76463 > │ let v733 : bool = v732 = false │
00:29:36 verbose #76464 > │ if v733 then │
00:29:36 verbose #76465 > │ failwith<unit> "__expect" │
00:29:36 verbose #76466 > │ let v734 : bool = v703 <= v729 │
00:29:36 verbose #76467 > │ let v736 : bool = │
00:29:36 verbose #76468 > │ if v734 then │
00:29:36 verbose #76469 > │ true │
00:29:36 verbose #76470 > │ else │
00:29:36 verbose #76471 > │ method22(v734) │
00:29:36 verbose #76472 > │ let v737 : bool = v736 = false │
00:29:36 verbose #76473 > │ if v737 then │
00:29:36 verbose #76474 > │ failwith<unit> "__expect" │
00:29:36 verbose #76475 > │ let v738 : string = "assert_between" │
00:29:36 verbose #76476 > │ let v739 : string = $"{v738} / actual: %A{v703} / expected: │
00:29:36 verbose #76477 > │ %A{struct (v716, v729)}" │
00:29:36 verbose #76478 > │ System.Console.WriteLine v739 │
00:29:36 verbose #76479 > │ true │
00:29:36 verbose #76480 > │ | _ -> │
00:29:36 verbose #76481 > │ false │
00:29:36 verbose #76482 > │ let v742 : bool = │
00:29:36 verbose #76483 > │ if v740 then │
00:29:36 verbose #76484 > │ true │
00:29:36 verbose #76485 > │ else │
00:29:36 verbose #76486 > │ method22(v740) │
00:29:36 verbose #76487 > │ let v743 : string = "assert_eq" │
00:29:36 verbose #76488 > │ let v744 : string = $"{v743} / actual: %A{v740} / expected: %A{true}" │
00:29:36 verbose #76489 > │ System.Console.WriteLine v744 │
00:29:36 verbose #76490 > │ let v745 : bool = v742 = false │
00:29:36 verbose #76491 > │ if v745 then │
00:29:36 verbose #76492 > │ failwith<unit> v744 │
00:29:36 verbose #76493 > │ method0() │
00:29:36 verbose #76494 > │ │
00:29:36 verbose #76495 > │ 00:00:00 debug #1 1 │
00:29:36 verbose #76496 > │ 00:00:00 debug #2 2 │
00:29:36 verbose #76497 > │ 00:00:00 debug #3 3 │
00:29:36 verbose #76498 > │ 00:00:00 debug #4 _1 │
00:29:36 verbose #76499 > │ 00:00:00 debug #5 _2 │
00:29:36 verbose #76500 > │ 00:00:00 debug #6 4 │
00:29:36 verbose #76501 > │ 00:00:00 debug #7 file_system.delete_directory_async / path: test / ex: │
00:29:36 verbose #76502 > │ System.IO.IOException: The process cannot access the file 'test.txt' because │
00:29:36 verbose #76503 > │ it is being used by another process. │
00:29:36 verbose #76504 > │ 00:00:01 debug #8 file_system.delete_directory_async / path: test / ex: │
00:29:36 verbose #76505 > │ System.IO.IOException: The process cannot access the file 'test.txt' because │
00:29:36 verbose #76506 > │ it is being used by another process. │
00:29:36 verbose #76507 > │ 00:00:02 debug #9 _3 │
00:29:36 verbose #76508 > │ 00:00:02 debug #10 5 │
00:29:36 verbose #76509 > │ 00:00:02 debug #11 6 │
00:29:36 verbose #76510 > │ assert_between / actual: 118L / expected: struct (50L, 150L) │
00:29:36 verbose #76511 > │ assert_eq / actual: true / expected: true │
00:29:36 verbose #76512 > │ │
00:29:36 verbose #76513 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:36 verbose #76514 >
00:29:36 verbose #76515 > ── markdown ────────────────────────────────────────────────────────────────────
00:29:36 verbose #76516 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:36 verbose #76517 > │ ## wait_for_file_access │
00:29:36 verbose #76518 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:36 verbose #76519 >
00:29:36 verbose #76520 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:36 verbose #76521 > inl wait_for_file_access access path =
00:29:36 verbose #76522 > run_target function
00:29:36 verbose #76523 > | Fsharp (Native) => fun () =>
00:29:36 verbose #76524 > inl file_access, file_share =
00:29:36 verbose #76525 > access
00:29:36 verbose #76526 > |> optionm'.default_value (AccessReadWrite, ShareRead)
00:29:36 verbose #76527 > let rec loop (retry : i64) : _ i64 =
00:29:36 verbose #76528 > fun () =>
00:29:36 verbose #76529 > try_unit
00:29:36 verbose #76530 > fun () =>
00:29:36 verbose #76531 > file_stream
00:29:36 verbose #76532 > path
00:29:36 verbose #76533 > ModeOpen
00:29:36 verbose #76534 > file_access
00:29:36 verbose #76535 > file_share
00:29:36 verbose #76536 > |> use
00:29:36 verbose #76537 > |> ignore
00:29:36 verbose #76538 > retry |> return
00:29:36 verbose #76539 > fun ex =>
00:29:36 verbose #76540 > if retry > 0 && retry % 100i64 = 0 then
00:29:36 verbose #76541 > inl ex = ex |> sm'.format_exception
00:29:36 verbose #76542 > trace Debug
00:29:36 verbose #76543 > fun () => "file_system.wait_for_file_access"
00:29:36 verbose #76544 > fun () => $'$"path: {!path |>
00:29:36 verbose #76545 > !get_file_name} / retry: {!retry} / ex: {!ex} / {!_locals ()}"'
00:29:36 verbose #76546 > async.sleep 10i32 |> async.do
00:29:36 verbose #76547 > loop (retry + 1) |> async.return_await
00:29:36 verbose #76548 > |> async.new_async
00:29:36 verbose #76549 > loop 0
00:29:36 verbose #76550 > | _ => fun () => null ()
00:29:36 verbose #76551 >
00:29:36 verbose #76552 > inl wait_for_file_access_read path =
00:29:36 verbose #76553 > path
00:29:36 verbose #76554 > |> wait_for_file_access (Some (
00:29:36 verbose #76555 > AccessRead,
00:29:36 verbose #76556 > ShareRead
00:29:36 verbose #76557 > ))
00:29:36 verbose #76558 > 00:29:35 debug #988 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/33e84ccfbc69e94597f13dedf521d3211ef91708a78bf3ce28658a5b8eb9ee3a/main.spi
00:29:37 verbose #76559 >
00:29:37 verbose #76560 > ╭─[ 712.32ms - stdout ]────────────────────────────────────────────────────────╮
00:29:37 verbose #76561 > │ () │
00:29:37 verbose #76562 > │ │
00:29:37 verbose #76563 > │ │
00:29:37 verbose #76564 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:37 verbose #76565 >
00:29:37 verbose #76566 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:37 verbose #76567 > //// test
00:29:37 verbose #76568 >
00:29:37 verbose #76569 > inl lock_file path =
00:29:37 verbose #76570 > fun () =>
00:29:37 verbose #76571 > trace Debug (fun () => "_1") _locals
00:29:37 verbose #76572 > inl stream : file_stream' =
00:29:37 verbose #76573 > file_stream
00:29:37 verbose #76574 > path
00:29:37 verbose #76575 > ModeOpen
00:29:37 verbose #76576 > AccessReadWrite
00:29:37 verbose #76577 > ShareNone
00:29:37 verbose #76578 > |> use
00:29:37 verbose #76579 > trace Debug (fun () => "_2") _locals
00:29:37 verbose #76580 > async.sleep 2000 |> async.do
00:29:37 verbose #76581 > trace Debug (fun () => "_3") _locals
00:29:37 verbose #76582 > ($'!stream.Seek (0L, System.IO.SeekOrigin.Begin)' : i64) |> ignore
00:29:37 verbose #76583 > trace Debug (fun () => "_4") _locals
00:29:37 verbose #76584 > $'!stream.WriteByte' 49u8
00:29:37 verbose #76585 > trace Debug (fun () => "_5") _locals
00:29:37 verbose #76586 > stream |> $'_.Flush()'
00:29:37 verbose #76587 > trace Debug (fun () => "_6") _locals
00:29:37 verbose #76588 > |> async.new_async
00:29:37 verbose #76589 >
00:29:37 verbose #76590 > types ()
00:29:37 verbose #76591 > inl temp_dir, disposable = create_temp_directory ()
00:29:37 verbose #76592 > disposable |> use |> ignore
00:29:37 verbose #76593 > inl path = temp_dir </> "test.txt"
00:29:37 verbose #76594 >
00:29:37 verbose #76595 > fun () =>
00:29:37 verbose #76596 > trace Debug (fun () => "1") _locals
00:29:37 verbose #76597 > "0" |> write_all_text_async path |> async.do
00:29:37 verbose #76598 > trace Debug (fun () => "2") _locals
00:29:37 verbose #76599 > inl child = path |> lock_file |> async.start_child |> async.let'
00:29:37 verbose #76600 > trace Debug (fun () => "3") _locals
00:29:37 verbose #76601 > async.sleep 1 |> async.do
00:29:37 verbose #76602 > trace Debug (fun () => "4") _locals
00:29:37 verbose #76603 > inl retries = path |> wait_for_file_access None |> async.let'
00:29:37 verbose #76604 > trace Debug (fun () => "5") _locals
00:29:37 verbose #76605 > inl text = path |> read_all_text_async |> async.let'
00:29:37 verbose #76606 > trace Debug (fun () => "6") _locals
00:29:37 verbose #76607 > child |> async.do
00:29:37 verbose #76608 > trace Debug (fun () => "7") _locals
00:29:37 verbose #76609 > (retries, text) |> return
00:29:37 verbose #76610 > |> async.new_async_unit
00:29:37 verbose #76611 > |> async.run_with_timeout 3000
00:29:37 verbose #76612 > |> function
00:29:37 verbose #76613 > | Some ((retries : i64), text) =>
00:29:37 verbose #76614 > retries
00:29:37 verbose #76615 > |> _assert_between
00:29:37 verbose #76616 > (if runtime.is_windows () then 50 else 100)
00:29:37 verbose #76617 > (if runtime.is_windows () then 150 else 200)
00:29:37 verbose #76618 >
00:29:37 verbose #76619 > text |> _assert_eq (join "1")
00:29:37 verbose #76620 >
00:29:37 verbose #76621 > true
00:29:37 verbose #76622 > | _ => false
00:29:37 verbose #76623 > |> _assert_eq true
00:29:37 verbose #76624 > 00:29:36 debug #989 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/67f148546963d3e5456e1e1eae4a204ee09dc1512792877844af2351109d188e/main.spi
00:29:40 verbose #76625 >
00:29:40 verbose #76626 > ╭─[ 3.63s - stdout ]───────────────────────────────────────────────────────────╮
00:29:40 verbose #76627 > │ #if FABLE_COMPILER │
00:29:40 verbose #76628 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:29:40 verbose #76629 > │ #endif │
00:29:40 verbose #76630 > │ type Func0<'T> = class end │
00:29:40 verbose #76631 > │ #if FABLE_COMPILER │
00:29:40 verbose #76632 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:29:40 verbose #76633 > │ #endif │
00:29:40 verbose #76634 > │ type Func0<'T, 'U> = class end │
00:29:40 verbose #76635 > │ #if FABLE_COMPILER │
00:29:40 verbose #76636 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:29:40 verbose #76637 > │ #endif │
00:29:40 verbose #76638 > │ type Box<'T> = class end │
00:29:40 verbose #76639 > │ #if FABLE_COMPILER │
00:29:40 verbose #76640 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:29:40 verbose #76641 > │ #endif │
00:29:40 verbose #76642 > │ type Dyn<'T> = class end │
00:29:40 verbose #76643 > │ #if FABLE_COMPILER │
00:29:40 verbose #76644 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:29:40 verbose #76645 > │ #endif │
00:29:40 verbose #76646 > │ type Send<'T> = class end │
00:29:40 verbose #76647 > │ #if FABLE_COMPILER │
00:29:40 verbose #76648 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:29:40 verbose #76649 > │ #endif │
00:29:40 verbose #76650 > │ type Fn<'T> = class end │
00:29:40 verbose #76651 > │ #if FABLE_COMPILER │
00:29:40 verbose #76652 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:29:40 verbose #76653 > │ #endif │
00:29:40 verbose #76654 > │ type FnUnit = class end │
00:29:40 verbose #76655 > │ #if FABLE_COMPILER │
00:29:40 verbose #76656 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:29:40 verbose #76657 > │ #endif │
00:29:40 verbose #76658 > │ type FnOnce<'T> = class end │
00:29:40 verbose #76659 > │ #if FABLE_COMPILER │
00:29:40 verbose #76660 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:29:40 verbose #76661 > │ #endif │
00:29:40 verbose #76662 > │ type ActionFn<'T> = class end │
00:29:40 verbose #76663 > │ #if FABLE_COMPILER │
00:29:40 verbose #76664 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:29:40 verbose #76665 > │ #endif │
00:29:40 verbose #76666 > │ type ActionFn2<'T, 'U> = class end │
00:29:40 verbose #76667 > │ #if FABLE_COMPILER │
00:29:40 verbose #76668 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:29:40 verbose #76669 > │ #endif │
00:29:40 verbose #76670 > │ type Impl<'T> = class end │
00:29:40 verbose #76671 > │ #if FABLE_COMPILER │
00:29:40 verbose #76672 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:29:40 verbose #76673 > │ #endif │
00:29:40 verbose #76674 > │ type Mut<'T> = class end │
00:29:40 verbose #76675 > │ #if FABLE_COMPILER │
00:29:40 verbose #76676 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:29:40 verbose #76677 > │ #endif │
00:29:40 verbose #76678 > │ type Ref<'T> = class end │
00:29:40 verbose #76679 > │ #if FABLE_COMPILER │
00:29:40 verbose #76680 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:29:40 verbose #76681 > │ #endif │
00:29:40 verbose #76682 > │ type StaticRef<'T> = class end │
00:29:40 verbose #76683 > │ #if FABLE_COMPILER │
00:29:40 verbose #76684 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:29:40 verbose #76685 > │ #endif │
00:29:40 verbose #76686 > │ type MutCell<'T> = class end │
00:29:40 verbose #76687 > │ #if FABLE_COMPILER │
00:29:40 verbose #76688 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:29:40 verbose #76689 > │ #endif │
00:29:40 verbose #76690 > │ type std_any_Any = class end │
00:29:40 verbose #76691 > │ #if FABLE_COMPILER │
00:29:40 verbose #76692 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:29:40 verbose #76693 > │ #endif │
00:29:40 verbose #76694 > │ type std_borrow_Cow<'T> = class end │
00:29:40 verbose #76695 > │ #if FABLE_COMPILER │
00:29:40 verbose #76696 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:29:40 verbose #76697 > │ #endif │
00:29:40 verbose #76698 > │ type std_cell_RefCell<'T> = class end │
00:29:40 verbose #76699 > │ #if FABLE_COMPILER │
00:29:40 verbose #76700 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:29:40 verbose #76701 > │ #endif │
00:29:40 verbose #76702 > │ type std_pin_Pin<'T> = class end │
00:29:40 verbose #76703 > │ #if FABLE_COMPILER │
00:29:40 verbose #76704 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:29:40 verbose #76705 > │ #endif │
00:29:40 verbose #76706 > │ type std_rc_Rc<'T> = class end │
00:29:40 verbose #76707 > │ #if FABLE_COMPILER │
00:29:40 verbose #76708 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:29:40 verbose #76709 > │ #endif │
00:29:40 verbose #76710 > │ type std_rc_Weak<'T> = class end │
00:29:40 verbose #76711 > │ #if FABLE_COMPILER │
00:29:40 verbose #76712 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:29:40 verbose #76713 > │ #endif │
00:29:40 verbose #76714 > │ type Str = class end │
00:29:40 verbose #76715 > │ #if FABLE_COMPILER │
00:29:40 verbose #76716 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:29:40 verbose #76717 > │ #endif │
00:29:40 verbose #76718 > │ type base64_DecodeError = class end │
00:29:40 verbose #76719 > │ #if FABLE_COMPILER │
00:29:40 verbose #76720 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:29:40 verbose #76721 > │ #endif │
00:29:40 verbose #76722 > │ type borsh_io_Error = class end │
00:29:40 verbose #76723 > │ #if FABLE_COMPILER │
00:29:40 verbose #76724 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:29:40 verbose #76725 > │ #endif │
00:29:40 verbose #76726 > │ type js_sys_JsString = class end │
00:29:40 verbose #76727 > │ #if FABLE_COMPILER │
00:29:40 verbose #76728 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:29:40 verbose #76729 > │ #endif │
00:29:40 verbose #76730 > │ type serde_json_Error = class end │
00:29:40 verbose #76731 > │ #if FABLE_COMPILER │
00:29:40 verbose #76732 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:29:40 verbose #76733 > │ #endif │
00:29:40 verbose #76734 > │ type serde_json_Value = class end │
00:29:40 verbose #76735 > │ #if FABLE_COMPILER │
00:29:40 verbose #76736 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:29:40 verbose #76737 > │ #endif │
00:29:40 verbose #76738 > │ type serde_wasm_bindgen_Error = class end │
00:29:40 verbose #76739 > │ #if FABLE_COMPILER │
00:29:40 verbose #76740 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:29:40 verbose #76741 > │ #endif │
00:29:40 verbose #76742 > │ type std_ffi_OsStr = class end │
00:29:40 verbose #76743 > │ #if FABLE_COMPILER │
00:29:40 verbose #76744 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:29:40 verbose #76745 > │ #endif │
00:29:40 verbose #76746 > │ type std_ffi_OsString = class end │
00:29:40 verbose #76747 > │ #if FABLE_COMPILER │
00:29:40 verbose #76748 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:29:40 verbose #76749 > │ #endif │
00:29:40 verbose #76750 > │ type std_fmt_Display<'T> = class end │
00:29:40 verbose #76751 > │ #if FABLE_COMPILER │
00:29:40 verbose #76752 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:29:40 verbose #76753 > │ #endif │
00:29:40 verbose #76754 > │ type std_str_Utf8Error = class end │
00:29:40 verbose #76755 > │ #if FABLE_COMPILER │
00:29:40 verbose #76756 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:29:40 verbose #76757 > │ #endif │
00:29:40 verbose #76758 > │ type std_string_FromUtf8Error = class end │
00:29:40 verbose #76759 > │ #if FABLE_COMPILER │
00:29:40 verbose #76760 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:29:40 verbose #76761 > │ #endif │
00:29:40 verbose #76762 > │ type std_string_String = class end │
00:29:40 verbose #76763 > │ #if FABLE_COMPILER │
00:29:40 verbose #76764 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:29:40 verbose #76765 > │ #endif │
00:29:40 verbose #76766 > │ type std_slice_Windows<'T> = class end │
00:29:40 verbose #76767 > │ #if FABLE_COMPILER │
00:29:40 verbose #76768 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:29:40 verbose #76769 > │ #endif │
00:29:40 verbose #76770 > │ type chrono_DateTime<'T> = class end │
00:29:40 verbose #76771 > │ #if FABLE_COMPILER │
00:29:40 verbose #76772 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:29:40 verbose #76773 > │ #endif │
00:29:40 verbose #76774 > │ type chrono_Local = class end │
00:29:40 verbose #76775 > │ #if FABLE_COMPILER │
00:29:40 verbose #76776 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:29:40 verbose #76777 > │ #endif │
00:29:40 verbose #76778 > │ type chrono_NaiveDateTime = class end │
00:29:40 verbose #76779 > │ #if FABLE_COMPILER │
00:29:40 verbose #76780 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:29:40 verbose #76781 > │ #endif │
00:29:40 verbose #76782 > │ type chrono_Utc = class end │
00:29:40 verbose #76783 > │ #if FABLE_COMPILER │
00:29:40 verbose #76784 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:29:40 verbose #76785 > │ #endif │
00:29:40 verbose #76786 > │ type std_time_Duration = class end │
00:29:40 verbose #76787 > │ #if FABLE_COMPILER │
00:29:40 verbose #76788 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:29:40 verbose #76789 > │ #endif │
00:29:40 verbose #76790 > │ type async_std_io_BufReader<'T> = class end │
00:29:40 verbose #76791 > │ #if FABLE_COMPILER │
00:29:40 verbose #76792 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:29:40 verbose #76793 > │ #endif │
00:29:40 verbose #76794 > │ type std_io_BufReader<'T> = class end │
00:29:40 verbose #76795 > │ #if FABLE_COMPILER │
00:29:40 verbose #76796 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:29:40 verbose #76797 > │ #endif │
00:29:40 verbose #76798 > │ type std_io_Error = class end │
00:29:40 verbose #76799 > │ #if FABLE_COMPILER │
00:29:40 verbose #76800 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:29:40 verbose #76801 > │ #endif │
00:29:40 verbose #76802 > │ type std_io_Lines<'T> = class end │
00:29:40 verbose #76803 > │ #if FABLE_COMPILER │
00:29:40 verbose #76804 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:29:40 verbose #76805 > │ #endif │
00:29:40 verbose #76806 > │ type std_fs_File = class end │
00:29:40 verbose #76807 > │ #if FABLE_COMPILER │
00:29:40 verbose #76808 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:29:40 verbose #76809 > │ #endif │
00:29:40 verbose #76810 > │ type std_fs_FileType = class end │
00:29:40 verbose #76811 > │ #if FABLE_COMPILER │
00:29:40 verbose #76812 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:29:40 verbose #76813 > │ #endif │
00:29:40 verbose #76814 > │ type std_path_Display = class end │
00:29:40 verbose #76815 > │ #if FABLE_COMPILER │
00:29:40 verbose #76816 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:29:40 verbose #76817 > │ #endif │
00:29:40 verbose #76818 > │ type std_path_Path = class end │
00:29:40 verbose #76819 > │ #if FABLE_COMPILER │
00:29:40 verbose #76820 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:29:40 verbose #76821 > │ #endif │
00:29:40 verbose #76822 > │ type std_path_PathBuf = class end │
00:29:40 verbose #76823 > │ #if FABLE_COMPILER │
00:29:40 verbose #76824 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:29:40 verbose #76825 > │ #endif │
00:29:40 verbose #76826 > │ type async_walkdir_DirEntry = class end │
00:29:40 verbose #76827 > │ #if FABLE_COMPILER │
00:29:40 verbose #76828 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:29:40 verbose #76829 > │ #endif │
00:29:40 verbose #76830 > │ type async_walkdir_Filtering = class end │
00:29:40 verbose #76831 > │ #if FABLE_COMPILER │
00:29:40 verbose #76832 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:29:40 verbose #76833 > │ #endif │
00:29:40 verbose #76834 > │ type async_walkdir_WalkDir = class end │
00:29:40 verbose #76835 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:29:40 verbose #76836 > │ string │
00:29:40 verbose #76837 > │ module State = let mutable trace_state = None │
00:29:40 verbose #76838 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:29:40 verbose #76839 > │ member _.Dispose () = f () │
00:29:40 verbose #76840 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:29:40 verbose #76841 > │ type [<Struct>] US0 = │
00:29:40 verbose #76842 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:29:40 verbose #76843 > │ | US0_1 │
00:29:40 verbose #76844 > │ and [<Struct>] US1 = │
00:29:40 verbose #76845 > │ | US1_0 of f0_0 : string │
00:29:40 verbose #76846 > │ | US1_1 │
00:29:40 verbose #76847 > │ and [<Struct>] US2 = │
00:29:40 verbose #76848 > │ | US2_0 │
00:29:40 verbose #76849 > │ | US2_1 of f1_0 : std_string_String │
00:29:40 verbose #76850 > │ and [<Struct>] US3 = │
00:29:40 verbose #76851 > │ | US3_0 │
00:29:40 verbose #76852 > │ | US3_1 │
00:29:40 verbose #76853 > │ | US3_2 │
00:29:40 verbose #76854 > │ | US3_3 │
00:29:40 verbose #76855 > │ | US3_4 │
00:29:40 verbose #76856 > │ and Mut0 = {mutable l0 : int64} │
00:29:40 verbose #76857 > │ and Mut1 = {mutable l0 : bool} │
00:29:40 verbose #76858 > │ and Mut2 = {mutable l0 : US3} │
00:29:40 verbose #76859 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:29:40 verbose #76860 > │ and [<Struct>] US4 = │
00:29:40 verbose #76861 > │ | US4_0 of f0_0 : int64 │
00:29:40 verbose #76862 > │ | US4_1 │
00:29:40 verbose #76863 > │ and [<Struct>] US5 = │
00:29:40 verbose #76864 > │ | US5_0 of f0_0 : int64 │
00:29:40 verbose #76865 > │ | US5_1 │
00:29:40 verbose #76866 > │ and [<Struct>] US6 = │
00:29:40 verbose #76867 > │ | US6_0 of f0_0 : int64 * f0_1 : string │
00:29:40 verbose #76868 > │ | US6_1 │
00:29:40 verbose #76869 > │ and [<Struct>] US7 = │
00:29:40 verbose #76870 > │ | US7_0 of f0_0 : int64 * f0_1 : string │
00:29:40 verbose #76871 > │ | US7_1 of f1_0 : exn │
00:29:40 verbose #76872 > │ and [<Struct>] US8 = │
00:29:40 verbose #76873 > │ | US8_0 of f0_0 : int64 * f0_1 : string │
00:29:40 verbose #76874 > │ | US8_1 of f1_0 : exn │
00:29:40 verbose #76875 > │ let rec method2 (v0 : string) : string = │
00:29:40 verbose #76876 > │ v0 │
00:29:40 verbose #76877 > │ and method3 (v0 : string) : string = │
00:29:40 verbose #76878 > │ v0 │
00:29:40 verbose #76879 > │ and method4 (v0 : string) : string = │
00:29:40 verbose #76880 > │ v0 │
00:29:40 verbose #76881 > │ and method1 (v0 : string, v1 : string) : string = │
00:29:40 verbose #76882 > │ let v2 : string option = None │
00:29:40 verbose #76883 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:40 verbose #76884 > │ │
00:29:40 verbose #76885 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:40 verbose #76886 > │ │
00:29:40 verbose #76887 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:40 verbose #76888 > │ let v4 : string = method2(v0) │
00:29:40 verbose #76889 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:40 verbose #76890 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:29:40 verbose #76891 > │ let v7 : string = "String::from($0)" │
00:29:40 verbose #76892 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:40 verbose #76893 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:29:40 verbose #76894 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:40 verbose #76895 > │ let v11 : string = method2(v1) │
00:29:40 verbose #76896 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:40 verbose #76897 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:29:40 verbose #76898 > │ let v14 : string = "String::from($0)" │
00:29:40 verbose #76899 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:29:40 verbose #76900 > │ v14 │
00:29:40 verbose #76901 > │ let v16 : string = "$0.join($1)" │
00:29:40 verbose #76902 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:29:40 verbose #76903 > │ (v10, v15) v16 │
00:29:40 verbose #76904 > │ let v18 : string = "$0.display()" │
00:29:40 verbose #76905 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:40 verbose #76906 > │ let v20 : std_string_String option = None │
00:29:40 verbose #76907 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:29:40 verbose #76908 > │ │
00:29:40 verbose #76909 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:40 verbose #76910 > │ │
00:29:40 verbose #76911 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:40 verbose #76912 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:40 verbose #76913 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:40 verbose #76914 > │ v22 │
00:29:40 verbose #76915 > │ v23 │
00:29:40 verbose #76916 > │ #endif │
00:29:40 verbose #76917 > │ │
00:29:40 verbose #76918 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:40 verbose #76919 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:40 verbose #76920 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:40 verbose #76921 > │ v24 │
00:29:40 verbose #76922 > │ v25 │
00:29:40 verbose #76923 > │ #endif │
00:29:40 verbose #76924 > │ │
00:29:40 verbose #76925 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:40 verbose #76926 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:29:40 verbose #76927 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:40 verbose #76928 > │ v26 │
00:29:40 verbose #76929 > │ v27 │
00:29:40 verbose #76930 > │ #endif │
00:29:40 verbose #76931 > │ │
00:29:40 verbose #76932 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:40 verbose #76933 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:40 verbose #76934 > │ v28 │
00:29:40 verbose #76935 > │ #endif │
00:29:40 verbose #76936 > │ │
00:29:40 verbose #76937 > │ #if FABLE_COMPILER_PYTHON │
00:29:40 verbose #76938 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:29:40 verbose #76939 > │ v29 │
00:29:40 verbose #76940 > │ #endif │
00:29:40 verbose #76941 > │ │
00:29:40 verbose #76942 > │ #else │
00:29:40 verbose #76943 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:29:40 verbose #76944 > │ v30 │
00:29:40 verbose #76945 > │ #endif │
00:29:40 verbose #76946 > │ |> fun x -> _v20 <- Some x │
00:29:40 verbose #76947 > │ let v31 : std_string_String = _v20.Value │
00:29:40 verbose #76948 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:29:40 verbose #76949 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:29:40 verbose #76950 > │ v33 │
00:29:40 verbose #76951 > │ #endif │
00:29:40 verbose #76952 > │ │
00:29:40 verbose #76953 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:40 verbose #76954 > │ let v34 : string = null |> unbox<string> │
00:29:40 verbose #76955 > │ v34 │
00:29:40 verbose #76956 > │ #endif │
00:29:40 verbose #76957 > │ │
00:29:40 verbose #76958 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:40 verbose #76959 > │ let v35 : string = null |> unbox<string> │
00:29:40 verbose #76960 > │ v35 │
00:29:40 verbose #76961 > │ #endif │
00:29:40 verbose #76962 > │ │
00:29:40 verbose #76963 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:40 verbose #76964 > │ let v36 : string = "path" │
00:29:40 verbose #76965 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:29:40 verbose #76966 > │ let v38 : string = method3(v0) │
00:29:40 verbose #76967 > │ let v39 : string = method4(v1) │
00:29:40 verbose #76968 > │ let v40 : string = "v37.join(v38, v39)" │
00:29:40 verbose #76969 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:29:40 verbose #76970 > │ v41 │
00:29:40 verbose #76971 > │ #endif │
00:29:40 verbose #76972 > │ │
00:29:40 verbose #76973 > │ #if FABLE_COMPILER_PYTHON │
00:29:40 verbose #76974 > │ let v42 : string = null |> unbox<string> │
00:29:40 verbose #76975 > │ v42 │
00:29:40 verbose #76976 > │ #endif │
00:29:40 verbose #76977 > │ │
00:29:40 verbose #76978 > │ #else │
00:29:40 verbose #76979 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:29:40 verbose #76980 > │ v43 │
00:29:40 verbose #76981 > │ #endif │
00:29:40 verbose #76982 > │ |> fun x -> _v2 <- Some x │
00:29:40 verbose #76983 > │ let v44 : string = _v2.Value │
00:29:40 verbose #76984 > │ v44 │
00:29:40 verbose #76985 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:29:40 verbose #76986 > │ US0_0(v0) │
00:29:40 verbose #76987 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:29:40 verbose #76988 > │ closure0() │
00:29:40 verbose #76989 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:29:40 verbose #76990 > │ = │
00:29:40 verbose #76991 > │ v0 │
00:29:40 verbose #76992 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:29:40 verbose #76993 > │ chrono_DateTime<chrono_Local> = │
00:29:40 verbose #76994 > │ v0 │
00:29:40 verbose #76995 > │ and method8 () : string = │
00:29:40 verbose #76996 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:29:40 verbose #76997 > │ v0 │
00:29:40 verbose #76998 > │ and method9 () : string = │
00:29:40 verbose #76999 > │ let v0 : string = "hhmm" │
00:29:40 verbose #77000 > │ v0 │
00:29:40 verbose #77001 > │ and method10 (v0 : string) : string = │
00:29:40 verbose #77002 > │ v0 │
00:29:40 verbose #77003 > │ and closure1 () (v0 : std_io_Error) : std_string_String = │
00:29:40 verbose #77004 > │ let v1 : std_string_String option = None │
00:29:40 verbose #77005 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:40 verbose #77006 > │ │
00:29:40 verbose #77007 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:40 verbose #77008 > │ │
00:29:40 verbose #77009 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:40 verbose #77010 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:29:40 verbose #77011 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:29:40 verbose #77012 > │ v4 │
00:29:40 verbose #77013 > │ #endif │
00:29:40 verbose #77014 > │ │
00:29:40 verbose #77015 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:40 verbose #77016 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:29:40 verbose #77017 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:29:40 verbose #77018 > │ v6 │
00:29:40 verbose #77019 > │ #endif │
00:29:40 verbose #77020 > │ │
00:29:40 verbose #77021 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:40 verbose #77022 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:29:40 verbose #77023 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:29:40 verbose #77024 > │ v8 │
00:29:40 verbose #77025 > │ #endif │
00:29:40 verbose #77026 > │ │
00:29:40 verbose #77027 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:40 verbose #77028 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:29:40 verbose #77029 > │ v9 │
00:29:40 verbose #77030 > │ #endif │
00:29:40 verbose #77031 > │ │
00:29:40 verbose #77032 > │ #if FABLE_COMPILER_PYTHON │
00:29:40 verbose #77033 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:29:40 verbose #77034 > │ v10 │
00:29:40 verbose #77035 > │ #endif │
00:29:40 verbose #77036 > │ │
00:29:40 verbose #77037 > │ #else │
00:29:40 verbose #77038 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:29:40 verbose #77039 > │ v11 │
00:29:40 verbose #77040 > │ #endif │
00:29:40 verbose #77041 > │ |> fun x -> _v1 <- Some x │
00:29:40 verbose #77042 > │ let v12 : std_string_String = _v1.Value │
00:29:40 verbose #77043 > │ v12 │
00:29:40 verbose #77044 > │ and method11 () : (std_io_Error -> std_string_String) = │
00:29:40 verbose #77045 > │ closure1() │
00:29:40 verbose #77046 > │ and closure2 () () : US2 = │
00:29:40 verbose #77047 > │ US2_0 │
00:29:40 verbose #77048 > │ and closure3 () (v0 : std_string_String) : US2 = │
00:29:40 verbose #77049 > │ US2_1(v0) │
00:29:40 verbose #77050 > │ and closure4 () () : string = │
00:29:40 verbose #77051 > │ let v0 : string = "file_system.create_directory" │
00:29:40 verbose #77052 > │ v0 │
00:29:40 verbose #77053 > │ and closure6 () () : string = │
00:29:40 verbose #77054 > │ let v0 : string = "" │
00:29:40 verbose #77055 > │ v0 │
00:29:40 verbose #77056 > │ and closure5 (v0 : string, v1 : std_string_String) () : string = │
00:29:40 verbose #77057 > │ let v2 : (unit -> string) = closure6() │
00:29:40 verbose #77058 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:29:40 verbose #77059 > │ v3 │
00:29:40 verbose #77060 > │ and closure9 () (v0 : string) : unit = │
00:29:40 verbose #77061 > │ () │
00:29:40 verbose #77062 > │ and method13 (v0 : int64 option) : int64 option = │
00:29:40 verbose #77063 > │ v0 │
00:29:40 verbose #77064 > │ and method14 (v0 : int64 option) : int64 option = │
00:29:40 verbose #77065 > │ v0 │
00:29:40 verbose #77066 > │ and closure8 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:29:40 verbose #77067 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:29:40 verbose #77068 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:29:40 verbose #77069 > │ let v2 : US3 = US3_0 │
00:29:40 verbose #77070 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:29:40 verbose #77071 > │ let v4 : (string -> unit) = closure9() │
00:29:40 verbose #77072 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:29:40 verbose #77073 > │ let v6 : int64 option option = None │
00:29:40 verbose #77074 > │ let mutable _v6 = v6 │
00:29:40 verbose #77075 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:29:40 verbose #77076 > │ let v7 : string option = None │
00:29:40 verbose #77077 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:29:40 verbose #77078 > │ │
00:29:41 verbose #77079 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77080 > │ │
00:29:41 verbose #77081 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77082 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:41 verbose #77083 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:29:41 verbose #77084 > │ v10 │
00:29:41 verbose #77085 > │ #endif │
00:29:41 verbose #77086 > │ │
00:29:41 verbose #77087 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77088 > │ let v11 : string = null |> unbox<string> │
00:29:41 verbose #77089 > │ v11 │
00:29:41 verbose #77090 > │ #endif │
00:29:41 verbose #77091 > │ │
00:29:41 verbose #77092 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77093 > │ let v12 : string = null |> unbox<string> │
00:29:41 verbose #77094 > │ v12 │
00:29:41 verbose #77095 > │ #endif │
00:29:41 verbose #77096 > │ │
00:29:41 verbose #77097 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77098 > │ let v13 : string = null |> unbox<string> │
00:29:41 verbose #77099 > │ v13 │
00:29:41 verbose #77100 > │ #endif │
00:29:41 verbose #77101 > │ │
00:29:41 verbose #77102 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77103 > │ let v14 : string = null |> unbox<string> │
00:29:41 verbose #77104 > │ v14 │
00:29:41 verbose #77105 > │ #endif │
00:29:41 verbose #77106 > │ │
00:29:41 verbose #77107 > │ #else │
00:29:41 verbose #77108 > │ let v15 : string = │
00:29:41 verbose #77109 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:41 verbose #77110 > │ v15 │
00:29:41 verbose #77111 > │ #endif │
00:29:41 verbose #77112 > │ |> fun x -> _v7 <- Some x │
00:29:41 verbose #77113 > │ let v16 : string = _v7.Value │
00:29:41 verbose #77114 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:29:41 verbose #77115 > │ let v19 : bool = v18 <> true │
00:29:41 verbose #77116 > │ let v25 : US4 = │
00:29:41 verbose #77117 > │ if v19 then │
00:29:41 verbose #77118 > │ let v20 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #77119 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #77120 > │ let v22 : int64 = v21 v20 │
00:29:41 verbose #77121 > │ US4_0(v22) │
00:29:41 verbose #77122 > │ else │
00:29:41 verbose #77123 > │ US4_1 │
00:29:41 verbose #77124 > │ let v30 : int64 option = │
00:29:41 verbose #77125 > │ match v25 with │
00:29:41 verbose #77126 > │ | US4_1 -> (* None *) │
00:29:41 verbose #77127 > │ let v28 : int64 option = None │
00:29:41 verbose #77128 > │ v28 │
00:29:41 verbose #77129 > │ | US4_0(v26) -> (* Some *) │
00:29:41 verbose #77130 > │ let v27 : int64 option = Some v26 │
00:29:41 verbose #77131 > │ v27 │
00:29:41 verbose #77132 > │ let v31 : int64 option = method13(v30) │
00:29:41 verbose #77133 > │ v31 │
00:29:41 verbose #77134 > │ #else │
00:29:41 verbose #77135 > │ let v32 : int64 option = None │
00:29:41 verbose #77136 > │ let v33 : int64 option = method14(v32) │
00:29:41 verbose #77137 > │ v33 │
00:29:41 verbose #77138 > │ #endif │
00:29:41 verbose #77139 > │ |> fun x -> _v6 <- Some x │
00:29:41 verbose #77140 > │ let v34 : int64 option = _v6.Value │
00:29:41 verbose #77141 > │ struct (v1, v0, v3, v34, v5) │
00:29:41 verbose #77142 > │ and closure10 () (v0 : int64) : US5 = │
00:29:41 verbose #77143 > │ US5_0(v0) │
00:29:41 verbose #77144 > │ and method15 () : (int64 -> US5) = │
00:29:41 verbose #77145 > │ closure10() │
00:29:41 verbose #77146 > │ and method16 () : string = │
00:29:41 verbose #77147 > │ let v0 : string = "" │
00:29:41 verbose #77148 > │ v0 │
00:29:41 verbose #77149 > │ and closure7 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:29:41 verbose #77150 > │ string = │
00:29:41 verbose #77151 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:41 verbose #77152 > │ closure8() │
00:29:41 verbose #77153 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:29:41 verbose #77154 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:29:41 verbose #77155 > │ Mut3) = State.trace_state.Value │
00:29:41 verbose #77156 > │ let v9 : string option = None │
00:29:41 verbose #77157 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:29:41 verbose #77158 > │ │
00:29:41 verbose #77159 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77160 > │ │
00:29:41 verbose #77161 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77162 > │ let v11 : (int64 -> US5) = method15() │
00:29:41 verbose #77163 > │ let v12 : US5 = US5_1 │
00:29:41 verbose #77164 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:29:41 verbose #77165 > │ let v31 : System.DateTime = │
00:29:41 verbose #77166 > │ match v13 with │
00:29:41 verbose #77167 > │ | US5_1 -> (* None *) │
00:29:41 verbose #77168 > │ let v29 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #77169 > │ v29 │
00:29:41 verbose #77170 > │ | US5_0(v14) -> (* Some *) │
00:29:41 verbose #77171 > │ let v15 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #77172 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #77173 > │ let v17 : int64 = v16 v15 │
00:29:41 verbose #77174 > │ let v18 : int64 = v17 - v14 │
00:29:41 verbose #77175 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:29:41 verbose #77176 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:29:41 verbose #77177 > │ let v21 : int32 = v20 v19 │
00:29:41 verbose #77178 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:29:41 verbose #77179 > │ let v23 : int32 = v22 v19 │
00:29:41 verbose #77180 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:29:41 verbose #77181 > │ let v25 : int32 = v24 v19 │
00:29:41 verbose #77182 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:41 verbose #77183 > │ let v27 : int32 = v26 v19 │
00:29:41 verbose #77184 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:29:41 verbose #77185 > │ v25, v27) │
00:29:41 verbose #77186 > │ v28 │
00:29:41 verbose #77187 > │ let v32 : string = "hh:mm:ss" │
00:29:41 verbose #77188 > │ let v33 : string = v31.ToString v32 │
00:29:41 verbose #77189 > │ v33 │
00:29:41 verbose #77190 > │ #endif │
00:29:41 verbose #77191 > │ │
00:29:41 verbose #77192 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77193 > │ let v34 : string = method16() │
00:29:41 verbose #77194 > │ v34 │
00:29:41 verbose #77195 > │ #endif │
00:29:41 verbose #77196 > │ │
00:29:41 verbose #77197 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77198 > │ let v35 : string = method16() │
00:29:41 verbose #77199 > │ v35 │
00:29:41 verbose #77200 > │ #endif │
00:29:41 verbose #77201 > │ │
00:29:41 verbose #77202 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77203 > │ let v36 : string = method16() │
00:29:41 verbose #77204 > │ v36 │
00:29:41 verbose #77205 > │ #endif │
00:29:41 verbose #77206 > │ │
00:29:41 verbose #77207 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77208 > │ let v37 : string = method16() │
00:29:41 verbose #77209 > │ v37 │
00:29:41 verbose #77210 > │ #endif │
00:29:41 verbose #77211 > │ │
00:29:41 verbose #77212 > │ #else │
00:29:41 verbose #77213 > │ let v38 : (int64 -> US5) = method15() │
00:29:41 verbose #77214 > │ let v39 : US5 = US5_1 │
00:29:41 verbose #77215 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:29:41 verbose #77216 > │ let v58 : System.DateTime = │
00:29:41 verbose #77217 > │ match v40 with │
00:29:41 verbose #77218 > │ | US5_1 -> (* None *) │
00:29:41 verbose #77219 > │ let v56 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #77220 > │ v56 │
00:29:41 verbose #77221 > │ | US5_0(v41) -> (* Some *) │
00:29:41 verbose #77222 > │ let v42 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #77223 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #77224 > │ let v44 : int64 = v43 v42 │
00:29:41 verbose #77225 > │ let v45 : int64 = v44 - v41 │
00:29:41 verbose #77226 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:29:41 verbose #77227 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:29:41 verbose #77228 > │ let v48 : int32 = v47 v46 │
00:29:41 verbose #77229 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:29:41 verbose #77230 > │ let v50 : int32 = v49 v46 │
00:29:41 verbose #77231 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:29:41 verbose #77232 > │ let v52 : int32 = v51 v46 │
00:29:41 verbose #77233 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:41 verbose #77234 > │ let v54 : int32 = v53 v46 │
00:29:41 verbose #77235 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:29:41 verbose #77236 > │ v52, v54) │
00:29:41 verbose #77237 > │ v55 │
00:29:41 verbose #77238 > │ let v59 : string = "HH:mm:ss" │
00:29:41 verbose #77239 > │ let v60 : string = v58.ToString v59 │
00:29:41 verbose #77240 > │ v60 │
00:29:41 verbose #77241 > │ #endif │
00:29:41 verbose #77242 > │ |> fun x -> _v9 <- Some x │
00:29:41 verbose #77243 > │ let v61 : string = _v9.Value │
00:29:41 verbose #77244 > │ let v62 : int64 = v4.l0 │
00:29:41 verbose #77245 > │ let v72 : string = │
00:29:41 verbose #77246 > │ match v0 with │
00:29:41 verbose #77247 > │ | US3_4 -> (* Critical *) │
00:29:41 verbose #77248 > │ let v67 : string = "Critical" │
00:29:41 verbose #77249 > │ v67 │
00:29:41 verbose #77250 > │ | US3_1 -> (* Debug *) │
00:29:41 verbose #77251 > │ let v64 : string = "Debug" │
00:29:41 verbose #77252 > │ v64 │
00:29:41 verbose #77253 > │ | US3_2 -> (* Info *) │
00:29:41 verbose #77254 > │ let v65 : string = "Info" │
00:29:41 verbose #77255 > │ v65 │
00:29:41 verbose #77256 > │ | US3_0 -> (* Verbose *) │
00:29:41 verbose #77257 > │ let v63 : string = "Verbose" │
00:29:41 verbose #77258 > │ v63 │
00:29:41 verbose #77259 > │ | US3_3 -> (* Warning *) │
00:29:41 verbose #77260 > │ let v66 : string = "Warning" │
00:29:41 verbose #77261 > │ v66 │
00:29:41 verbose #77262 > │ let v73 : string = v72.ToLower () │
00:29:41 verbose #77263 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:29:41 verbose #77264 > │ let v75 : string option = None │
00:29:41 verbose #77265 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:29:41 verbose #77266 > │ │
00:29:41 verbose #77267 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77268 > │ │
00:29:41 verbose #77269 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77270 > │ let v91 : Ref<Str> = │
00:29:41 verbose #77271 > │ match v0 with │
00:29:41 verbose #77272 > │ | US3_4 -> (* Critical *) │
00:29:41 verbose #77273 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:29:41 verbose #77274 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:29:41 verbose #77275 > │ v86 │
00:29:41 verbose #77276 > │ | US3_1 -> (* Debug *) │
00:29:41 verbose #77277 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:29:41 verbose #77278 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:29:41 verbose #77279 > │ v80 │
00:29:41 verbose #77280 > │ | US3_2 -> (* Info *) │
00:29:41 verbose #77281 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:29:41 verbose #77282 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:29:41 verbose #77283 > │ v82 │
00:29:41 verbose #77284 > │ | US3_0 -> (* Verbose *) │
00:29:41 verbose #77285 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:29:41 verbose #77286 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:29:41 verbose #77287 > │ v78 │
00:29:41 verbose #77288 > │ | US3_3 -> (* Warning *) │
00:29:41 verbose #77289 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:29:41 verbose #77290 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:29:41 verbose #77291 > │ v84 │
00:29:41 verbose #77292 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:41 verbose #77293 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:29:41 verbose #77294 > │ let v94 : string = "inline_colorization::color_reset" │
00:29:41 verbose #77295 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:29:41 verbose #77296 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:29:41 verbose #77297 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:29:41 verbose #77298 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:29:41 verbose #77299 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #77300 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:29:41 verbose #77301 > │ v100 │
00:29:41 verbose #77302 > │ #endif │
00:29:41 verbose #77303 > │ │
00:29:41 verbose #77304 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77305 > │ let v115 : Ref<Str> = │
00:29:41 verbose #77306 > │ match v0 with │
00:29:41 verbose #77307 > │ | US3_4 -> (* Critical *) │
00:29:41 verbose #77308 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:29:41 verbose #77309 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77310 > │ v109 │
00:29:41 verbose #77311 > │ v110 │
00:29:41 verbose #77312 > │ | US3_1 -> (* Debug *) │
00:29:41 verbose #77313 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:29:41 verbose #77314 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77315 > │ v103 │
00:29:41 verbose #77316 > │ v104 │
00:29:41 verbose #77317 > │ | US3_2 -> (* Info *) │
00:29:41 verbose #77318 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:29:41 verbose #77319 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77320 > │ v105 │
00:29:41 verbose #77321 > │ v106 │
00:29:41 verbose #77322 > │ | US3_0 -> (* Verbose *) │
00:29:41 verbose #77323 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:29:41 verbose #77324 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77325 > │ v101 │
00:29:41 verbose #77326 > │ v102 │
00:29:41 verbose #77327 > │ | US3_3 -> (* Warning *) │
00:29:41 verbose #77328 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:29:41 verbose #77329 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77330 > │ v107 │
00:29:41 verbose #77331 > │ v108 │
00:29:41 verbose #77332 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:41 verbose #77333 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:29:41 verbose #77334 > │ let v118 : string = "inline_colorization::color_reset" │
00:29:41 verbose #77335 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:29:41 verbose #77336 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:29:41 verbose #77337 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:29:41 verbose #77338 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77339 > │ v121 │
00:29:41 verbose #77340 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #77341 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:29:41 verbose #77342 > │ v124 │
00:29:41 verbose #77343 > │ #endif │
00:29:41 verbose #77344 > │ │
00:29:41 verbose #77345 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77346 > │ let v139 : Ref<Str> = │
00:29:41 verbose #77347 > │ match v0 with │
00:29:41 verbose #77348 > │ | US3_4 -> (* Critical *) │
00:29:41 verbose #77349 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:29:41 verbose #77350 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77351 > │ v133 │
00:29:41 verbose #77352 > │ v134 │
00:29:41 verbose #77353 > │ | US3_1 -> (* Debug *) │
00:29:41 verbose #77354 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:29:41 verbose #77355 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77356 > │ v127 │
00:29:41 verbose #77357 > │ v128 │
00:29:41 verbose #77358 > │ | US3_2 -> (* Info *) │
00:29:41 verbose #77359 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:29:41 verbose #77360 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77361 > │ v129 │
00:29:41 verbose #77362 > │ v130 │
00:29:41 verbose #77363 > │ | US3_0 -> (* Verbose *) │
00:29:41 verbose #77364 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:29:41 verbose #77365 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77366 > │ v125 │
00:29:41 verbose #77367 > │ v126 │
00:29:41 verbose #77368 > │ | US3_3 -> (* Warning *) │
00:29:41 verbose #77369 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:29:41 verbose #77370 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77371 > │ v131 │
00:29:41 verbose #77372 > │ v132 │
00:29:41 verbose #77373 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:41 verbose #77374 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:29:41 verbose #77375 > │ let v142 : string = "inline_colorization::color_reset" │
00:29:41 verbose #77376 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:29:41 verbose #77377 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:29:41 verbose #77378 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:29:41 verbose #77379 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #77380 > │ v145 │
00:29:41 verbose #77381 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #77382 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:29:41 verbose #77383 > │ v148 │
00:29:41 verbose #77384 > │ #endif │
00:29:41 verbose #77385 > │ │
00:29:41 verbose #77386 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77387 > │ v74 │
00:29:41 verbose #77388 > │ #endif │
00:29:41 verbose #77389 > │ │
00:29:41 verbose #77390 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77391 > │ v74 │
00:29:41 verbose #77392 > │ #endif │
00:29:41 verbose #77393 > │ │
00:29:41 verbose #77394 > │ #else │
00:29:41 verbose #77395 > │ v74 │
00:29:41 verbose #77396 > │ #endif │
00:29:41 verbose #77397 > │ |> fun x -> _v75 <- Some x │
00:29:41 verbose #77398 > │ let v149 : string = _v75.Value │
00:29:41 verbose #77399 > │ let v150 : string = v1 () │
00:29:41 verbose #77400 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:29:41 verbose #77401 > │ let v152 : (char []) = [||] │
00:29:41 verbose #77402 > │ let v153 : string = v151.TrimStart v152 │
00:29:41 verbose #77403 > │ let v154 : (char []) = [|' '; '/'|] │
00:29:41 verbose #77404 > │ let v155 : string = v153.TrimEnd v154 │
00:29:41 verbose #77405 > │ v155 │
00:29:41 verbose #77406 > │ and method17 (v0 : US3, v1 : (unit -> string)) : unit = │
00:29:41 verbose #77407 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:41 verbose #77408 > │ closure8() │
00:29:41 verbose #77409 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:41 verbose #77410 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:29:41 verbose #77411 > │ Mut3) = State.trace_state.Value │
00:29:41 verbose #77412 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:41 verbose #77413 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:29:41 verbose #77414 > │ Mut3) = State.trace_state.Value │
00:29:41 verbose #77415 > │ let v13 : US3 = v10.l0 │
00:29:41 verbose #77416 > │ let v14 : bool = v9.l0 │
00:29:41 verbose #77417 > │ let v15 : bool = v14 = false │
00:29:41 verbose #77418 > │ let v19 : bool = │
00:29:41 verbose #77419 > │ if v15 then │
00:29:41 verbose #77420 > │ false │
00:29:41 verbose #77421 > │ else │
00:29:41 verbose #77422 > │ let v16 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:41 verbose #77423 > │ US3_4, 4 ] |> Map |> Map.find v0 │
00:29:41 verbose #77424 > │ let v17 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:41 verbose #77425 > │ US3_4, 4 ] |> Map |> Map.find v13 │
00:29:41 verbose #77426 > │ let v18 : bool = v16 >= v17 │
00:29:41 verbose #77427 > │ v18 │
00:29:41 verbose #77428 > │ if v19 then │
00:29:41 verbose #77429 > │ let v20 : int64 = v3.l0 │
00:29:41 verbose #77430 > │ let v21 : int64 = v20 + 1L │
00:29:41 verbose #77431 > │ v3.l0 <- v21 │
00:29:41 verbose #77432 > │ let v22 : string = $"%s{v1 ()}" │
00:29:41 verbose #77433 > │ let v23 : unit option = None │
00:29:41 verbose #77434 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:29:41 verbose #77435 > │ │
00:29:41 verbose #77436 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77437 > │ │
00:29:41 verbose #77438 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77439 > │ let v25 : string = @"println!(""{}"", $0)" │
00:29:41 verbose #77440 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:29:41 verbose #77441 > │ () │
00:29:41 verbose #77442 > │ #endif │
00:29:41 verbose #77443 > │ │
00:29:41 verbose #77444 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77445 > │ let v26 : string = @"println!(""{}"", $0)" │
00:29:41 verbose #77446 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:29:41 verbose #77447 > │ () │
00:29:41 verbose #77448 > │ #endif │
00:29:41 verbose #77449 > │ │
00:29:41 verbose #77450 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77451 > │ let v27 : string = @"println!(""{}"", $0)" │
00:29:41 verbose #77452 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:29:41 verbose #77453 > │ () │
00:29:41 verbose #77454 > │ #endif │
00:29:41 verbose #77455 > │ │
00:29:41 verbose #77456 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77457 > │ System.Console.WriteLine v22 │
00:29:41 verbose #77458 > │ () │
00:29:41 verbose #77459 > │ #endif │
00:29:41 verbose #77460 > │ │
00:29:41 verbose #77461 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77462 > │ System.Console.WriteLine v22 │
00:29:41 verbose #77463 > │ () │
00:29:41 verbose #77464 > │ #endif │
00:29:41 verbose #77465 > │ │
00:29:41 verbose #77466 > │ #else │
00:29:41 verbose #77467 > │ System.Console.WriteLine v22 │
00:29:41 verbose #77468 > │ () │
00:29:41 verbose #77469 > │ #endif │
00:29:41 verbose #77470 > │ |> fun x -> _v23 <- Some x │
00:29:41 verbose #77471 > │ _v23.Value │
00:29:41 verbose #77472 > │ let v28 : (string -> unit) = v7.l0 │
00:29:41 verbose #77473 > │ v28 v22 │
00:29:41 verbose #77474 > │ and method12 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:29:41 verbose #77475 > │ = │
00:29:41 verbose #77476 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:29:41 verbose #77477 > │ method17(v0, v3) │
00:29:41 verbose #77478 > │ and closure11 () () : string = │
00:29:41 verbose #77479 > │ let v0 : string = "file_system.create_directory" │
00:29:41 verbose #77480 > │ v0 │
00:29:41 verbose #77481 > │ and closure12 (v0 : string) () : string = │
00:29:41 verbose #77482 > │ let v1 : (unit -> string) = closure6() │
00:29:41 verbose #77483 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:29:41 verbose #77484 > │ v2 │
00:29:41 verbose #77485 > │ and method18 (v0 : string) : string = │
00:29:41 verbose #77486 > │ v0 │
00:29:41 verbose #77487 > │ and closure13 (v0 : string) () : unit = │
00:29:41 verbose #77488 > │ let v1 : unit option = None │
00:29:41 verbose #77489 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:41 verbose #77490 > │ │
00:29:41 verbose #77491 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77492 > │ │
00:29:41 verbose #77493 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77494 > │ let v3 : string = method18(v0) │
00:29:41 verbose #77495 > │ let v4 : bool option = None │
00:29:41 verbose #77496 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:29:41 verbose #77497 > │ │
00:29:41 verbose #77498 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77499 > │ │
00:29:41 verbose #77500 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77501 > │ let v6 : string = method2(v3) │
00:29:41 verbose #77502 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:41 verbose #77503 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:41 verbose #77504 > │ let v9 : string = "String::from($0)" │
00:29:41 verbose #77505 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:41 verbose #77506 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:29:41 verbose #77507 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:29:41 verbose #77508 > │ let v13 : string = "$0.exists()" │
00:29:41 verbose #77509 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:29:41 verbose #77510 > │ let v17 : bool = │
00:29:41 verbose #77511 > │ if v14 then │
00:29:41 verbose #77512 > │ let v15 : string = "$0.is_dir()" │
00:29:41 verbose #77513 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:29:41 verbose #77514 > │ v16 │
00:29:41 verbose #77515 > │ else │
00:29:41 verbose #77516 > │ false │
00:29:41 verbose #77517 > │ v17 │
00:29:41 verbose #77518 > │ #endif │
00:29:41 verbose #77519 > │ │
00:29:41 verbose #77520 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77521 > │ let v18 : bool = null |> unbox<bool> │
00:29:41 verbose #77522 > │ v18 │
00:29:41 verbose #77523 > │ #endif │
00:29:41 verbose #77524 > │ │
00:29:41 verbose #77525 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77526 > │ let v19 : bool = null |> unbox<bool> │
00:29:41 verbose #77527 > │ v19 │
00:29:41 verbose #77528 > │ #endif │
00:29:41 verbose #77529 > │ │
00:29:41 verbose #77530 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77531 > │ let v20 : string = "fs" │
00:29:41 verbose #77532 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:29:41 verbose #77533 > │ let v22 : string = "v21.existsSync($0)" │
00:29:41 verbose #77534 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:29:41 verbose #77535 > │ v23 │
00:29:41 verbose #77536 > │ #endif │
00:29:41 verbose #77537 > │ │
00:29:41 verbose #77538 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77539 > │ let v24 : bool = null |> unbox<bool> │
00:29:41 verbose #77540 > │ v24 │
00:29:41 verbose #77541 > │ #endif │
00:29:41 verbose #77542 > │ │
00:29:41 verbose #77543 > │ #else │
00:29:41 verbose #77544 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:29:41 verbose #77545 > │ let v26 : bool = v25 v3 │
00:29:41 verbose #77546 > │ v26 │
00:29:41 verbose #77547 > │ #endif │
00:29:41 verbose #77548 > │ |> fun x -> _v4 <- Some x │
00:29:41 verbose #77549 > │ let v27 : bool = _v4.Value │
00:29:41 verbose #77550 > │ if v27 then │
00:29:41 verbose #77551 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:41 verbose #77552 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:29:41 verbose #77553 > │ () │
00:29:41 verbose #77554 > │ () │
00:29:41 verbose #77555 > │ #endif │
00:29:41 verbose #77556 > │ │
00:29:41 verbose #77557 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77558 > │ null |> unbox<unit> │
00:29:41 verbose #77559 > │ () │
00:29:41 verbose #77560 > │ #endif │
00:29:41 verbose #77561 > │ │
00:29:41 verbose #77562 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77563 > │ null |> unbox<unit> │
00:29:41 verbose #77564 > │ () │
00:29:41 verbose #77565 > │ #endif │
00:29:41 verbose #77566 > │ │
00:29:41 verbose #77567 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77568 > │ null |> unbox<unit> │
00:29:41 verbose #77569 > │ () │
00:29:41 verbose #77570 > │ #endif │
00:29:41 verbose #77571 > │ │
00:29:41 verbose #77572 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77573 > │ null |> unbox<unit> │
00:29:41 verbose #77574 > │ () │
00:29:41 verbose #77575 > │ #endif │
00:29:41 verbose #77576 > │ │
00:29:41 verbose #77577 > │ #else │
00:29:41 verbose #77578 > │ System.IO.Directory.Delete (v0, true) │
00:29:41 verbose #77579 > │ () │
00:29:41 verbose #77580 > │ #endif │
00:29:41 verbose #77581 > │ |> fun x -> _v1 <- Some x │
00:29:41 verbose #77582 > │ _v1.Value │
00:29:41 verbose #77583 > │ () │
00:29:41 verbose #77584 > │ and method19 (v0 : string) : (unit -> unit) = │
00:29:41 verbose #77585 > │ closure13(v0) │
00:29:41 verbose #77586 > │ and closure14 () () : string = │
00:29:41 verbose #77587 > │ let v0 : string = "file_system.create_directory" │
00:29:41 verbose #77588 > │ v0 │
00:29:41 verbose #77589 > │ and closure15 (v0 : string, v1 : string) () : string = │
00:29:41 verbose #77590 > │ let v2 : (unit -> string) = closure6() │
00:29:41 verbose #77591 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:29:41 verbose #77592 > │ v3 │
00:29:41 verbose #77593 > │ and closure17 () () : string = │
00:29:41 verbose #77594 > │ let v0 : string = "file_system.delete_directory_async" │
00:29:41 verbose #77595 > │ v0 │
00:29:41 verbose #77596 > │ and closure19 () (v0 : string) : string = │
00:29:41 verbose #77597 > │ let v1 : string option = None │
00:29:41 verbose #77598 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:41 verbose #77599 > │ │
00:29:41 verbose #77600 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77601 > │ │
00:29:41 verbose #77602 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77603 > │ let v3 : string = method2(v0) │
00:29:41 verbose #77604 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:41 verbose #77605 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:29:41 verbose #77606 > │ let v6 : string = "String::from($0)" │
00:29:41 verbose #77607 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:29:41 verbose #77608 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:29:41 verbose #77609 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:29:41 verbose #77610 > │ let v10 : string = "$0.file_name()" │
00:29:41 verbose #77611 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:29:41 verbose #77612 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:29:41 verbose #77613 > │ let v12 : string = "$0.unwrap()" │
00:29:41 verbose #77614 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:29:41 verbose #77615 > │ v12 │
00:29:41 verbose #77616 > │ let v14 : string = "$0.to_os_string()" │
00:29:41 verbose #77617 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:29:41 verbose #77618 > │ let v16 : string = "$0.to_str()" │
00:29:41 verbose #77619 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:41 verbose #77620 > │ let v18 : string = "$0.unwrap()" │
00:29:41 verbose #77621 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:41 verbose #77622 > │ let v20 : string = "String::from($0)" │
00:29:41 verbose #77623 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:41 verbose #77624 > │ v20 │
00:29:41 verbose #77625 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #77626 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:41 verbose #77627 > │ v23 │
00:29:41 verbose #77628 > │ #endif │
00:29:41 verbose #77629 > │ │
00:29:41 verbose #77630 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77631 > │ let v24 : string = null |> unbox<string> │
00:29:41 verbose #77632 > │ v24 │
00:29:41 verbose #77633 > │ #endif │
00:29:41 verbose #77634 > │ │
00:29:41 verbose #77635 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77636 > │ let v25 : string = null |> unbox<string> │
00:29:41 verbose #77637 > │ v25 │
00:29:41 verbose #77638 > │ #endif │
00:29:41 verbose #77639 > │ │
00:29:41 verbose #77640 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77641 > │ let v26 : string = null |> unbox<string> │
00:29:41 verbose #77642 > │ v26 │
00:29:41 verbose #77643 > │ #endif │
00:29:41 verbose #77644 > │ │
00:29:41 verbose #77645 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77646 > │ let v27 : string = null |> unbox<string> │
00:29:41 verbose #77647 > │ v27 │
00:29:41 verbose #77648 > │ #endif │
00:29:41 verbose #77649 > │ │
00:29:41 verbose #77650 > │ #else │
00:29:41 verbose #77651 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:29:41 verbose #77652 > │ let v29 : string = v28 v0 │
00:29:41 verbose #77653 > │ v29 │
00:29:41 verbose #77654 > │ #endif │
00:29:41 verbose #77655 > │ |> fun x -> _v1 <- Some x │
00:29:41 verbose #77656 > │ let v30 : string = _v1.Value │
00:29:41 verbose #77657 > │ v30 │
00:29:41 verbose #77658 > │ and closure18 (v0 : string, v1 : string) () : string = │
00:29:41 verbose #77659 > │ let v2 : (string -> string) = closure19() │
00:29:41 verbose #77660 > │ let v3 : (unit -> string) = closure6() │
00:29:41 verbose #77661 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:29:41 verbose #77662 > │ v4 │
00:29:41 verbose #77663 > │ and method20 (v0 : string, v1 : int64) : Async<int64> = │
00:29:41 verbose #77664 > │ let v2 : Async<int64> option = None │
00:29:41 verbose #77665 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:41 verbose #77666 > │ │
00:29:41 verbose #77667 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77668 > │ │
00:29:41 verbose #77669 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77670 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77671 > │ v4 │
00:29:41 verbose #77672 > │ #endif │
00:29:41 verbose #77673 > │ │
00:29:41 verbose #77674 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77675 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77676 > │ v5 │
00:29:41 verbose #77677 > │ #endif │
00:29:41 verbose #77678 > │ │
00:29:41 verbose #77679 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77680 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77681 > │ v6 │
00:29:41 verbose #77682 > │ #endif │
00:29:41 verbose #77683 > │ │
00:29:41 verbose #77684 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77685 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77686 > │ v7 │
00:29:41 verbose #77687 > │ #endif │
00:29:41 verbose #77688 > │ │
00:29:41 verbose #77689 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77690 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77691 > │ v8 │
00:29:41 verbose #77692 > │ #endif │
00:29:41 verbose #77693 > │ │
00:29:41 verbose #77694 > │ #else │
00:29:41 verbose #77695 > │ let v9 : Async<int64> option = None │
00:29:41 verbose #77696 > │ let mutable _v9 = v9 │
00:29:41 verbose #77697 > │ async { │
00:29:41 verbose #77698 > │ try │
00:29:41 verbose #77699 > │ let v10 : unit option = None │
00:29:41 verbose #77700 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:41 verbose #77701 > │ │
00:29:41 verbose #77702 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77703 > │ │
00:29:41 verbose #77704 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77705 > │ let v12 : string = method18(v0) │
00:29:41 verbose #77706 > │ let v13 : bool option = None │
00:29:41 verbose #77707 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:29:41 verbose #77708 > │ │
00:29:41 verbose #77709 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77710 > │ │
00:29:41 verbose #77711 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77712 > │ let v15 : string = method2(v12) │
00:29:41 verbose #77713 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:41 verbose #77714 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:41 verbose #77715 > │ let v18 : string = "String::from($0)" │
00:29:41 verbose #77716 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:41 verbose #77717 > │ v18 │
00:29:41 verbose #77718 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:29:41 verbose #77719 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:29:41 verbose #77720 > │ let v22 : string = "$0.exists()" │
00:29:41 verbose #77721 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:41 verbose #77722 > │ let v26 : bool = │
00:29:41 verbose #77723 > │ if v23 then │
00:29:41 verbose #77724 > │ let v24 : string = "$0.is_dir()" │
00:29:41 verbose #77725 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:29:41 verbose #77726 > │ v25 │
00:29:41 verbose #77727 > │ else │
00:29:41 verbose #77728 > │ false │
00:29:41 verbose #77729 > │ v26 │
00:29:41 verbose #77730 > │ #endif │
00:29:41 verbose #77731 > │ │
00:29:41 verbose #77732 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77733 > │ let v27 : bool = null |> unbox<bool> │
00:29:41 verbose #77734 > │ v27 │
00:29:41 verbose #77735 > │ #endif │
00:29:41 verbose #77736 > │ │
00:29:41 verbose #77737 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77738 > │ let v28 : bool = null |> unbox<bool> │
00:29:41 verbose #77739 > │ v28 │
00:29:41 verbose #77740 > │ #endif │
00:29:41 verbose #77741 > │ │
00:29:41 verbose #77742 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77743 > │ let v29 : string = "fs" │
00:29:41 verbose #77744 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:29:41 verbose #77745 > │ let v31 : string = "v30.existsSync($0)" │
00:29:41 verbose #77746 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:29:41 verbose #77747 > │ v32 │
00:29:41 verbose #77748 > │ #endif │
00:29:41 verbose #77749 > │ │
00:29:41 verbose #77750 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77751 > │ let v33 : bool = null |> unbox<bool> │
00:29:41 verbose #77752 > │ v33 │
00:29:41 verbose #77753 > │ #endif │
00:29:41 verbose #77754 > │ │
00:29:41 verbose #77755 > │ #else │
00:29:41 verbose #77756 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:29:41 verbose #77757 > │ let v35 : bool = v34 v12 │
00:29:41 verbose #77758 > │ v35 │
00:29:41 verbose #77759 > │ #endif │
00:29:41 verbose #77760 > │ |> fun x -> _v13 <- Some x │
00:29:41 verbose #77761 > │ let v36 : bool = _v13.Value │
00:29:41 verbose #77762 > │ if v36 then │
00:29:41 verbose #77763 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:41 verbose #77764 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:29:41 verbose #77765 > │ () │
00:29:41 verbose #77766 > │ () │
00:29:41 verbose #77767 > │ #endif │
00:29:41 verbose #77768 > │ │
00:29:41 verbose #77769 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77770 > │ null |> unbox<unit> │
00:29:41 verbose #77771 > │ () │
00:29:41 verbose #77772 > │ #endif │
00:29:41 verbose #77773 > │ │
00:29:41 verbose #77774 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77775 > │ null |> unbox<unit> │
00:29:41 verbose #77776 > │ () │
00:29:41 verbose #77777 > │ #endif │
00:29:41 verbose #77778 > │ │
00:29:41 verbose #77779 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77780 > │ null |> unbox<unit> │
00:29:41 verbose #77781 > │ () │
00:29:41 verbose #77782 > │ #endif │
00:29:41 verbose #77783 > │ │
00:29:41 verbose #77784 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77785 > │ null |> unbox<unit> │
00:29:41 verbose #77786 > │ () │
00:29:41 verbose #77787 > │ #endif │
00:29:41 verbose #77788 > │ │
00:29:41 verbose #77789 > │ #else │
00:29:41 verbose #77790 > │ System.IO.Directory.Delete (v0, true) │
00:29:41 verbose #77791 > │ () │
00:29:41 verbose #77792 > │ #endif │
00:29:41 verbose #77793 > │ |> fun x -> _v10 <- Some x │
00:29:41 verbose #77794 > │ _v10.Value │
00:29:41 verbose #77795 > │ return v1 │
00:29:41 verbose #77796 > │ with ex -> │
00:29:41 verbose #77797 > │ let v38 : exn = ex │
00:29:41 verbose #77798 > │ let v39 : int64 = v1 % 100L │
00:29:41 verbose #77799 > │ let v40 : bool = v39 = 0L │
00:29:41 verbose #77800 > │ if v40 then │
00:29:41 verbose #77801 > │ let v41 : string option = None │
00:29:41 verbose #77802 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:29:41 verbose #77803 > │ │
00:29:41 verbose #77804 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77805 > │ │
00:29:41 verbose #77806 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77807 > │ let v43 : string = $"%A{v38}" │
00:29:41 verbose #77808 > │ v43 │
00:29:41 verbose #77809 > │ #endif │
00:29:41 verbose #77810 > │ │
00:29:41 verbose #77811 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77812 > │ let v44 : string = $"%A{v38}" │
00:29:41 verbose #77813 > │ v44 │
00:29:41 verbose #77814 > │ #endif │
00:29:41 verbose #77815 > │ │
00:29:41 verbose #77816 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77817 > │ let v45 : string = $"%A{v38}" │
00:29:41 verbose #77818 > │ v45 │
00:29:41 verbose #77819 > │ #endif │
00:29:41 verbose #77820 > │ │
00:29:41 verbose #77821 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77822 > │ let v46 : string = $"%A{v38}" │
00:29:41 verbose #77823 > │ v46 │
00:29:41 verbose #77824 > │ #endif │
00:29:41 verbose #77825 > │ │
00:29:41 verbose #77826 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77827 > │ let v47 : string = $"%A{v38}" │
00:29:41 verbose #77828 > │ v47 │
00:29:41 verbose #77829 > │ #endif │
00:29:41 verbose #77830 > │ │
00:29:41 verbose #77831 > │ #else │
00:29:41 verbose #77832 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:29:41 verbose #77833 > │ v48 │
00:29:41 verbose #77834 > │ #endif │
00:29:41 verbose #77835 > │ |> fun x -> _v41 <- Some x │
00:29:41 verbose #77836 > │ let v49 : string = _v41.Value │
00:29:41 verbose #77837 > │ let v50 : US3 = US3_1 │
00:29:41 verbose #77838 > │ let v51 : (unit -> string) = closure17() │
00:29:41 verbose #77839 > │ let v52 : (unit -> string) = closure18(v0, v49) │
00:29:41 verbose #77840 > │ method12(v50, v51, v52) │
00:29:41 verbose #77841 > │ let v53 : Async<unit> option = None │
00:29:41 verbose #77842 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:29:41 verbose #77843 > │ │
00:29:41 verbose #77844 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77845 > │ │
00:29:41 verbose #77846 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77847 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77848 > │ v55 │
00:29:41 verbose #77849 > │ #endif │
00:29:41 verbose #77850 > │ │
00:29:41 verbose #77851 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77852 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77853 > │ v56 │
00:29:41 verbose #77854 > │ #endif │
00:29:41 verbose #77855 > │ │
00:29:41 verbose #77856 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77857 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77858 > │ v57 │
00:29:41 verbose #77859 > │ #endif │
00:29:41 verbose #77860 > │ │
00:29:41 verbose #77861 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77862 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77863 > │ v58 │
00:29:41 verbose #77864 > │ #endif │
00:29:41 verbose #77865 > │ │
00:29:41 verbose #77866 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77867 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77868 > │ v59 │
00:29:41 verbose #77869 > │ #endif │
00:29:41 verbose #77870 > │ │
00:29:41 verbose #77871 > │ #else │
00:29:41 verbose #77872 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:29:41 verbose #77873 > │ let v61 : Async<unit> = v60 10 │
00:29:41 verbose #77874 > │ v61 │
00:29:41 verbose #77875 > │ #endif │
00:29:41 verbose #77876 > │ |> fun x -> _v53 <- Some x │
00:29:41 verbose #77877 > │ let v62 : Async<unit> = _v53.Value │
00:29:41 verbose #77878 > │ do! v62 │
00:29:41 verbose #77879 > │ let v63 : int64 = v1 + 1L │
00:29:41 verbose #77880 > │ let v64 : Async<int64> = method20(v0, v63) │
00:29:41 verbose #77881 > │ return! v64 │
00:29:41 verbose #77882 > │ (* │
00:29:41 verbose #77883 > │ let v65 : int64 = *) │
00:29:41 verbose #77884 > │ } │
00:29:41 verbose #77885 > │ |> fun x -> _v9 <- Some x │
00:29:41 verbose #77886 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:29:41 verbose #77887 > │ v66 │
00:29:41 verbose #77888 > │ #endif │
00:29:41 verbose #77889 > │ |> fun x -> _v2 <- Some x │
00:29:41 verbose #77890 > │ let v67 : Async<int64> = _v2.Value │
00:29:41 verbose #77891 > │ v67 │
00:29:41 verbose #77892 > │ and closure16 (v0 : string) () : unit = │
00:29:41 verbose #77893 > │ let v1 : Async<int64> option = None │
00:29:41 verbose #77894 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:41 verbose #77895 > │ │
00:29:41 verbose #77896 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77897 > │ │
00:29:41 verbose #77898 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77899 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77900 > │ v3 │
00:29:41 verbose #77901 > │ #endif │
00:29:41 verbose #77902 > │ │
00:29:41 verbose #77903 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77904 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77905 > │ v4 │
00:29:41 verbose #77906 > │ #endif │
00:29:41 verbose #77907 > │ │
00:29:41 verbose #77908 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77909 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77910 > │ v5 │
00:29:41 verbose #77911 > │ #endif │
00:29:41 verbose #77912 > │ │
00:29:41 verbose #77913 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77914 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77915 > │ v6 │
00:29:41 verbose #77916 > │ #endif │
00:29:41 verbose #77917 > │ │
00:29:41 verbose #77918 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77919 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #77920 > │ v7 │
00:29:41 verbose #77921 > │ #endif │
00:29:41 verbose #77922 > │ │
00:29:41 verbose #77923 > │ #else │
00:29:41 verbose #77924 > │ let v8 : int64 = 0L │
00:29:41 verbose #77925 > │ let v9 : Async<int64> = method20(v0, v8) │
00:29:41 verbose #77926 > │ v9 │
00:29:41 verbose #77927 > │ #endif │
00:29:41 verbose #77928 > │ |> fun x -> _v1 <- Some x │
00:29:41 verbose #77929 > │ let v10 : Async<int64> = _v1.Value │
00:29:41 verbose #77930 > │ let v11 : Async<unit> option = None │
00:29:41 verbose #77931 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:29:41 verbose #77932 > │ │
00:29:41 verbose #77933 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77934 > │ │
00:29:41 verbose #77935 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77936 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77937 > │ v13 │
00:29:41 verbose #77938 > │ #endif │
00:29:41 verbose #77939 > │ │
00:29:41 verbose #77940 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77941 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77942 > │ v14 │
00:29:41 verbose #77943 > │ #endif │
00:29:41 verbose #77944 > │ │
00:29:41 verbose #77945 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77946 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77947 > │ v15 │
00:29:41 verbose #77948 > │ #endif │
00:29:41 verbose #77949 > │ │
00:29:41 verbose #77950 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77951 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77952 > │ v16 │
00:29:41 verbose #77953 > │ #endif │
00:29:41 verbose #77954 > │ │
00:29:41 verbose #77955 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77956 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #77957 > │ v17 │
00:29:41 verbose #77958 > │ #endif │
00:29:41 verbose #77959 > │ │
00:29:41 verbose #77960 > │ #else │
00:29:41 verbose #77961 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:29:41 verbose #77962 > │ let v19 : Async<unit> = v18 v10 │
00:29:41 verbose #77963 > │ v19 │
00:29:41 verbose #77964 > │ #endif │
00:29:41 verbose #77965 > │ |> fun x -> _v11 <- Some x │
00:29:41 verbose #77966 > │ let v20 : Async<unit> = _v11.Value │
00:29:41 verbose #77967 > │ let v21 : unit option = None │
00:29:41 verbose #77968 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:29:41 verbose #77969 > │ │
00:29:41 verbose #77970 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #77971 > │ │
00:29:41 verbose #77972 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #77973 > │ null |> unbox<unit> │
00:29:41 verbose #77974 > │ () │
00:29:41 verbose #77975 > │ #endif │
00:29:41 verbose #77976 > │ │
00:29:41 verbose #77977 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #77978 > │ null |> unbox<unit> │
00:29:41 verbose #77979 > │ () │
00:29:41 verbose #77980 > │ #endif │
00:29:41 verbose #77981 > │ │
00:29:41 verbose #77982 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #77983 > │ null |> unbox<unit> │
00:29:41 verbose #77984 > │ () │
00:29:41 verbose #77985 > │ #endif │
00:29:41 verbose #77986 > │ │
00:29:41 verbose #77987 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #77988 > │ null |> unbox<unit> │
00:29:41 verbose #77989 > │ () │
00:29:41 verbose #77990 > │ #endif │
00:29:41 verbose #77991 > │ │
00:29:41 verbose #77992 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #77993 > │ null |> unbox<unit> │
00:29:41 verbose #77994 > │ () │
00:29:41 verbose #77995 > │ #endif │
00:29:41 verbose #77996 > │ │
00:29:41 verbose #77997 > │ #else │
00:29:41 verbose #77998 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:29:41 verbose #77999 > │ v23 v20 │
00:29:41 verbose #78000 > │ () │
00:29:41 verbose #78001 > │ #endif │
00:29:41 verbose #78002 > │ |> fun x -> _v21 <- Some x │
00:29:41 verbose #78003 > │ _v21.Value │
00:29:41 verbose #78004 > │ () │
00:29:41 verbose #78005 > │ and method21 (v0 : string) : (unit -> unit) = │
00:29:41 verbose #78006 > │ closure16(v0) │
00:29:41 verbose #78007 > │ and closure20 () () : string = │
00:29:41 verbose #78008 > │ let v0 : string = "1" │
00:29:41 verbose #78009 > │ v0 │
00:29:41 verbose #78010 > │ and closure21 () () : string = │
00:29:41 verbose #78011 > │ let v0 : string = "2" │
00:29:41 verbose #78012 > │ v0 │
00:29:41 verbose #78013 > │ and closure22 () () : string = │
00:29:41 verbose #78014 > │ let v0 : string = "_1" │
00:29:41 verbose #78015 > │ v0 │
00:29:41 verbose #78016 > │ and closure23 () () : string = │
00:29:41 verbose #78017 > │ let v0 : string = "_2" │
00:29:41 verbose #78018 > │ v0 │
00:29:41 verbose #78019 > │ and closure24 () () : string = │
00:29:41 verbose #78020 > │ let v0 : string = "_3" │
00:29:41 verbose #78021 > │ v0 │
00:29:41 verbose #78022 > │ and closure25 () () : string = │
00:29:41 verbose #78023 > │ let v0 : string = "_4" │
00:29:41 verbose #78024 > │ v0 │
00:29:41 verbose #78025 > │ and closure26 () () : string = │
00:29:41 verbose #78026 > │ let v0 : string = "_5" │
00:29:41 verbose #78027 > │ v0 │
00:29:41 verbose #78028 > │ and closure27 () () : string = │
00:29:41 verbose #78029 > │ let v0 : string = "_6" │
00:29:41 verbose #78030 > │ v0 │
00:29:41 verbose #78031 > │ and closure28 () () : string = │
00:29:41 verbose #78032 > │ let v0 : string = "3" │
00:29:41 verbose #78033 > │ v0 │
00:29:41 verbose #78034 > │ and closure29 () () : string = │
00:29:41 verbose #78035 > │ let v0 : string = "4" │
00:29:41 verbose #78036 > │ v0 │
00:29:41 verbose #78037 > │ and closure30 () () : string = │
00:29:41 verbose #78038 > │ let v0 : string = "file_system.wait_for_file_access" │
00:29:41 verbose #78039 > │ v0 │
00:29:41 verbose #78040 > │ and closure31 (v0 : string, v1 : int64, v2 : string) () : string = │
00:29:41 verbose #78041 > │ let v3 : (string -> string) = closure19() │
00:29:41 verbose #78042 > │ let v4 : (unit -> string) = closure6() │
00:29:41 verbose #78043 > │ let v5 : string = $"path: {v0 |> v3} / retry: {v1} / ex: {v2} / {v4 ()}" │
00:29:41 verbose #78044 > │ v5 │
00:29:41 verbose #78045 > │ and method22 (v0 : string, v1 : int64) : Async<int64> = │
00:29:41 verbose #78046 > │ let v2 : Async<int64> option = None │
00:29:41 verbose #78047 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:41 verbose #78048 > │ │
00:29:41 verbose #78049 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78050 > │ │
00:29:41 verbose #78051 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78052 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #78053 > │ v4 │
00:29:41 verbose #78054 > │ #endif │
00:29:41 verbose #78055 > │ │
00:29:41 verbose #78056 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78057 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #78058 > │ v5 │
00:29:41 verbose #78059 > │ #endif │
00:29:41 verbose #78060 > │ │
00:29:41 verbose #78061 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78062 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #78063 > │ v6 │
00:29:41 verbose #78064 > │ #endif │
00:29:41 verbose #78065 > │ │
00:29:41 verbose #78066 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78067 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #78068 > │ v7 │
00:29:41 verbose #78069 > │ #endif │
00:29:41 verbose #78070 > │ │
00:29:41 verbose #78071 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78072 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:41 verbose #78073 > │ v8 │
00:29:41 verbose #78074 > │ #endif │
00:29:41 verbose #78075 > │ │
00:29:41 verbose #78076 > │ #else │
00:29:41 verbose #78077 > │ let v9 : Async<int64> option = None │
00:29:41 verbose #78078 > │ let mutable _v9 = v9 │
00:29:41 verbose #78079 > │ async { │
00:29:41 verbose #78080 > │ try │
00:29:41 verbose #78081 > │ let v10 : System.IO.FileStream option = None │
00:29:41 verbose #78082 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:41 verbose #78083 > │ │
00:29:41 verbose #78084 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78085 > │ │
00:29:41 verbose #78086 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78087 > │ let v12 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:41 verbose #78088 > │ v12 │
00:29:41 verbose #78089 > │ #endif │
00:29:41 verbose #78090 > │ │
00:29:41 verbose #78091 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78092 > │ let v13 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:41 verbose #78093 > │ v13 │
00:29:41 verbose #78094 > │ #endif │
00:29:41 verbose #78095 > │ │
00:29:41 verbose #78096 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78097 > │ let v14 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:41 verbose #78098 > │ v14 │
00:29:41 verbose #78099 > │ #endif │
00:29:41 verbose #78100 > │ │
00:29:41 verbose #78101 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78102 > │ let v15 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:41 verbose #78103 > │ v15 │
00:29:41 verbose #78104 > │ #endif │
00:29:41 verbose #78105 > │ │
00:29:41 verbose #78106 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78107 > │ let v16 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:41 verbose #78108 > │ v16 │
00:29:41 verbose #78109 > │ #endif │
00:29:41 verbose #78110 > │ │
00:29:41 verbose #78111 > │ #else │
00:29:41 verbose #78112 > │ let v17 : System.IO.FileMode = System.IO.FileMode.Open │
00:29:41 verbose #78113 > │ let v18 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:29:41 verbose #78114 > │ let v19 : System.IO.FileShare = System.IO.FileShare.Read │
00:29:41 verbose #78115 > │ let v20 : System.IO.FileStream = new System.IO.FileStream (v0, v17, v18, │
00:29:41 verbose #78116 > │ v19) │
00:29:41 verbose #78117 > │ v20 │
00:29:41 verbose #78118 > │ #endif │
00:29:41 verbose #78119 > │ |> fun x -> _v10 <- Some x │
00:29:41 verbose #78120 > │ let v21 : System.IO.FileStream = _v10.Value │
00:29:41 verbose #78121 > │ use v21 = v21 │
00:29:41 verbose #78122 > │ let v22 : System.IO.FileStream = v21 │
00:29:41 verbose #78123 > │ return v1 │
00:29:41 verbose #78124 > │ with ex -> │
00:29:41 verbose #78125 > │ let v23 : exn = ex │
00:29:41 verbose #78126 > │ let v24 : bool = v1 > 0L │
00:29:41 verbose #78127 > │ let v27 : bool = │
00:29:41 verbose #78128 > │ if v24 then │
00:29:41 verbose #78129 > │ let v25 : int64 = v1 % 100L │
00:29:41 verbose #78130 > │ let v26 : bool = v25 = 0L │
00:29:41 verbose #78131 > │ v26 │
00:29:41 verbose #78132 > │ else │
00:29:41 verbose #78133 > │ false │
00:29:41 verbose #78134 > │ if v27 then │
00:29:41 verbose #78135 > │ let v28 : string option = None │
00:29:41 verbose #78136 > │ let v29 : bool = true in let mutable _v28 = v28 │
00:29:41 verbose #78137 > │ │
00:29:41 verbose #78138 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78139 > │ │
00:29:41 verbose #78140 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78141 > │ let v30 : string = $"%A{v23}" │
00:29:41 verbose #78142 > │ v30 │
00:29:41 verbose #78143 > │ #endif │
00:29:41 verbose #78144 > │ │
00:29:41 verbose #78145 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78146 > │ let v31 : string = $"%A{v23}" │
00:29:41 verbose #78147 > │ v31 │
00:29:41 verbose #78148 > │ #endif │
00:29:41 verbose #78149 > │ │
00:29:41 verbose #78150 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78151 > │ let v32 : string = $"%A{v23}" │
00:29:41 verbose #78152 > │ v32 │
00:29:41 verbose #78153 > │ #endif │
00:29:41 verbose #78154 > │ │
00:29:41 verbose #78155 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78156 > │ let v33 : string = $"%A{v23}" │
00:29:41 verbose #78157 > │ v33 │
00:29:41 verbose #78158 > │ #endif │
00:29:41 verbose #78159 > │ │
00:29:41 verbose #78160 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78161 > │ let v34 : string = $"%A{v23}" │
00:29:41 verbose #78162 > │ v34 │
00:29:41 verbose #78163 > │ #endif │
00:29:41 verbose #78164 > │ │
00:29:41 verbose #78165 > │ #else │
00:29:41 verbose #78166 > │ let v35 : string = $"{v23.GetType ()}: {v23.Message}" │
00:29:41 verbose #78167 > │ v35 │
00:29:41 verbose #78168 > │ #endif │
00:29:41 verbose #78169 > │ |> fun x -> _v28 <- Some x │
00:29:41 verbose #78170 > │ let v36 : string = _v28.Value │
00:29:41 verbose #78171 > │ let v37 : US3 = US3_1 │
00:29:41 verbose #78172 > │ let v38 : (unit -> string) = closure30() │
00:29:41 verbose #78173 > │ let v39 : (unit -> string) = closure31(v0, v1, v36) │
00:29:41 verbose #78174 > │ method12(v37, v38, v39) │
00:29:41 verbose #78175 > │ let v40 : Async<unit> option = None │
00:29:41 verbose #78176 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:29:41 verbose #78177 > │ │
00:29:41 verbose #78178 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78179 > │ │
00:29:41 verbose #78180 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78181 > │ let v42 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #78182 > │ v42 │
00:29:41 verbose #78183 > │ #endif │
00:29:41 verbose #78184 > │ │
00:29:41 verbose #78185 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78186 > │ let v43 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #78187 > │ v43 │
00:29:41 verbose #78188 > │ #endif │
00:29:41 verbose #78189 > │ │
00:29:41 verbose #78190 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78191 > │ let v44 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #78192 > │ v44 │
00:29:41 verbose #78193 > │ #endif │
00:29:41 verbose #78194 > │ │
00:29:41 verbose #78195 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78196 > │ let v45 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #78197 > │ v45 │
00:29:41 verbose #78198 > │ #endif │
00:29:41 verbose #78199 > │ │
00:29:41 verbose #78200 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78201 > │ let v46 : Async<unit> = null |> unbox<Async<unit>> │
00:29:41 verbose #78202 > │ v46 │
00:29:41 verbose #78203 > │ #endif │
00:29:41 verbose #78204 > │ │
00:29:41 verbose #78205 > │ #else │
00:29:41 verbose #78206 > │ let v47 : (int32 -> Async<unit>) = Async.Sleep │
00:29:41 verbose #78207 > │ let v48 : Async<unit> = v47 10 │
00:29:41 verbose #78208 > │ v48 │
00:29:41 verbose #78209 > │ #endif │
00:29:41 verbose #78210 > │ |> fun x -> _v40 <- Some x │
00:29:41 verbose #78211 > │ let v49 : Async<unit> = _v40.Value │
00:29:41 verbose #78212 > │ do! v49 │
00:29:41 verbose #78213 > │ let v50 : int64 = v1 + 1L │
00:29:41 verbose #78214 > │ let v51 : Async<int64> = method22(v0, v50) │
00:29:41 verbose #78215 > │ return! v51 │
00:29:41 verbose #78216 > │ (* │
00:29:41 verbose #78217 > │ let v52 : int64 = *) │
00:29:41 verbose #78218 > │ } │
00:29:41 verbose #78219 > │ |> fun x -> _v9 <- Some x │
00:29:41 verbose #78220 > │ let v53 : Async<int64> = _v9 |> Option.get │
00:29:41 verbose #78221 > │ v53 │
00:29:41 verbose #78222 > │ #endif │
00:29:41 verbose #78223 > │ |> fun x -> _v2 <- Some x │
00:29:41 verbose #78224 > │ let v54 : Async<int64> = _v2.Value │
00:29:41 verbose #78225 > │ v54 │
00:29:41 verbose #78226 > │ and closure32 () () : string = │
00:29:41 verbose #78227 > │ let v0 : string = "5" │
00:29:41 verbose #78228 > │ v0 │
00:29:41 verbose #78229 > │ and closure33 () () : string = │
00:29:41 verbose #78230 > │ let v0 : string = "6" │
00:29:41 verbose #78231 > │ v0 │
00:29:41 verbose #78232 > │ and closure34 () () : string = │
00:29:41 verbose #78233 > │ let v0 : string = "7" │
00:29:41 verbose #78234 > │ v0 │
00:29:41 verbose #78235 > │ and closure35 () struct (v0 : int64, v1 : string) : US7 = │
00:29:41 verbose #78236 > │ US7_0(v0, v1) │
00:29:41 verbose #78237 > │ and closure36 () (v0 : exn) : US7 = │
00:29:41 verbose #78238 > │ US7_1(v0) │
00:29:41 verbose #78239 > │ and closure37 () () : string = │
00:29:41 verbose #78240 > │ let v0 : string = "run_with_timeout_async" │
00:29:41 verbose #78241 > │ v0 │
00:29:41 verbose #78242 > │ and closure38 () () : string = │
00:29:41 verbose #78243 > │ let v0 : (unit -> string) = closure6() │
00:29:41 verbose #78244 > │ let v1 : string = $"timeout: {3000} / {v0 ()}" │
00:29:41 verbose #78245 > │ v1 │
00:29:41 verbose #78246 > │ and closure39 (v0 : string) () : string = │
00:29:41 verbose #78247 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:29:41 verbose #78248 > │ v1 │
00:29:41 verbose #78249 > │ and method23 (v0 : bool) : bool = │
00:29:41 verbose #78250 > │ v0 │
00:29:41 verbose #78251 > │ and method24 () : string = │
00:29:41 verbose #78252 > │ let v0 : string = "1" │
00:29:41 verbose #78253 > │ v0 │
00:29:41 verbose #78254 > │ and method0 () : unit = │
00:29:41 verbose #78255 > │ let v0 : string option = None │
00:29:41 verbose #78256 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:29:41 verbose #78257 > │ │
00:29:41 verbose #78258 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78259 > │ │
00:29:41 verbose #78260 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78261 > │ let v2 : string option = None │
00:29:41 verbose #78262 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:41 verbose #78263 > │ │
00:29:41 verbose #78264 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78265 > │ │
00:29:41 verbose #78266 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78267 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:41 verbose #78268 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:29:41 verbose #78269 > │ v5 │
00:29:41 verbose #78270 > │ #endif │
00:29:41 verbose #78271 > │ │
00:29:41 verbose #78272 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78273 > │ let v6 : string = null |> unbox<string> │
00:29:41 verbose #78274 > │ v6 │
00:29:41 verbose #78275 > │ #endif │
00:29:41 verbose #78276 > │ │
00:29:41 verbose #78277 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78278 > │ let v7 : string = null |> unbox<string> │
00:29:41 verbose #78279 > │ v7 │
00:29:41 verbose #78280 > │ #endif │
00:29:41 verbose #78281 > │ │
00:29:41 verbose #78282 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78283 > │ let v8 : string = null |> unbox<string> │
00:29:41 verbose #78284 > │ v8 │
00:29:41 verbose #78285 > │ #endif │
00:29:41 verbose #78286 > │ │
00:29:41 verbose #78287 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78288 > │ let v9 : string = null |> unbox<string> │
00:29:41 verbose #78289 > │ v9 │
00:29:41 verbose #78290 > │ #endif │
00:29:41 verbose #78291 > │ │
00:29:41 verbose #78292 > │ #else │
00:29:41 verbose #78293 > │ let v10 : string = │
00:29:41 verbose #78294 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:41 verbose #78295 > │ v10 │
00:29:41 verbose #78296 > │ #endif │
00:29:41 verbose #78297 > │ |> fun x -> _v2 <- Some x │
00:29:41 verbose #78298 > │ let v11 : string = _v2.Value │
00:29:41 verbose #78299 > │ let v12 : string option = None │
00:29:41 verbose #78300 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:29:41 verbose #78301 > │ │
00:29:41 verbose #78302 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78303 > │ │
00:29:41 verbose #78304 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78305 > │ let v14 : string = "std::env::temp_dir()" │
00:29:41 verbose #78306 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:29:41 verbose #78307 > │ let v16 : string = "$0.display()" │
00:29:41 verbose #78308 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:41 verbose #78309 > │ let v18 : std_string_String option = None │
00:29:41 verbose #78310 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:29:41 verbose #78311 > │ │
00:29:41 verbose #78312 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78313 > │ │
00:29:41 verbose #78314 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78315 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:29:41 verbose #78316 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:41 verbose #78317 > │ v20 │
00:29:41 verbose #78318 > │ v21 │
00:29:41 verbose #78319 > │ #endif │
00:29:41 verbose #78320 > │ │
00:29:41 verbose #78321 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78322 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:41 verbose #78323 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:41 verbose #78324 > │ v22 │
00:29:41 verbose #78325 > │ v23 │
00:29:41 verbose #78326 > │ #endif │
00:29:41 verbose #78327 > │ │
00:29:41 verbose #78328 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78329 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:41 verbose #78330 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:41 verbose #78331 > │ v24 │
00:29:41 verbose #78332 > │ v25 │
00:29:41 verbose #78333 > │ #endif │
00:29:41 verbose #78334 > │ │
00:29:41 verbose #78335 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78336 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:29:41 verbose #78337 > │ v26 │
00:29:41 verbose #78338 > │ #endif │
00:29:41 verbose #78339 > │ │
00:29:41 verbose #78340 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78341 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:29:41 verbose #78342 > │ v27 │
00:29:41 verbose #78343 > │ #endif │
00:29:41 verbose #78344 > │ │
00:29:41 verbose #78345 > │ #else │
00:29:41 verbose #78346 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:41 verbose #78347 > │ v28 │
00:29:41 verbose #78348 > │ #endif │
00:29:41 verbose #78349 > │ |> fun x -> _v18 <- Some x │
00:29:41 verbose #78350 > │ let v29 : std_string_String = _v18.Value │
00:29:41 verbose #78351 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #78352 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:29:41 verbose #78353 > │ v31 │
00:29:41 verbose #78354 > │ #endif │
00:29:41 verbose #78355 > │ │
00:29:41 verbose #78356 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78357 > │ let v32 : string = null |> unbox<string> │
00:29:41 verbose #78358 > │ v32 │
00:29:41 verbose #78359 > │ #endif │
00:29:41 verbose #78360 > │ │
00:29:41 verbose #78361 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78362 > │ let v33 : string = null |> unbox<string> │
00:29:41 verbose #78363 > │ v33 │
00:29:41 verbose #78364 > │ #endif │
00:29:41 verbose #78365 > │ │
00:29:41 verbose #78366 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78367 > │ let v34 : string = null |> unbox<string> │
00:29:41 verbose #78368 > │ v34 │
00:29:41 verbose #78369 > │ #endif │
00:29:41 verbose #78370 > │ │
00:29:41 verbose #78371 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78372 > │ let v35 : string = null |> unbox<string> │
00:29:41 verbose #78373 > │ v35 │
00:29:41 verbose #78374 > │ #endif │
00:29:41 verbose #78375 > │ │
00:29:41 verbose #78376 > │ #else │
00:29:41 verbose #78377 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:41 verbose #78378 > │ let v37 : string = v36 () │
00:29:41 verbose #78379 > │ v37 │
00:29:41 verbose #78380 > │ #endif │
00:29:41 verbose #78381 > │ |> fun x -> _v12 <- Some x │
00:29:41 verbose #78382 > │ let v38 : string = _v12.Value │
00:29:41 verbose #78383 > │ let v39 : string = $"!{v11}" │
00:29:41 verbose #78384 > │ let v40 : string = method1(v38, v39) │
00:29:41 verbose #78385 > │ let v41 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #78386 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:29:41 verbose #78387 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:29:41 verbose #78388 > │ let v44 : string = v43 v42 │
00:29:41 verbose #78389 > │ let v45 : struct (string * string) option = None │
00:29:41 verbose #78390 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:29:41 verbose #78391 > │ │
00:29:41 verbose #78392 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78393 > │ │
00:29:41 verbose #78394 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78395 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:41 verbose #78396 > │ System.DateTimeKind.Utc) │
00:29:41 verbose #78397 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:41 verbose #78398 > │ let v49 : System.DateTime = v48 v47 │
00:29:41 verbose #78399 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:41 verbose #78400 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:29:41 verbose #78401 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:41 verbose #78402 > │ let v53 : System.DateTime = v52 v51 │
00:29:41 verbose #78403 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #78404 > │ let v55 : int64 = v54 v53 │
00:29:41 verbose #78405 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #78406 > │ let v57 : int64 = v56 v49 │
00:29:41 verbose #78407 > │ let v58 : int64 = v55 - v57 │
00:29:41 verbose #78408 > │ let v59 : int64 = v58 / 10L │
00:29:41 verbose #78409 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:41 verbose #78410 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:29:41 verbose #78411 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:29:41 verbose #78412 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:41 verbose #78413 > │ let v63 : US0 = US0_1 │
00:29:41 verbose #78414 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:29:41 verbose #78415 > │ let v83 : US1 = │
00:29:41 verbose #78416 > │ match v64 with │
00:29:41 verbose #78417 > │ | US0_1 -> (* None *) │
00:29:41 verbose #78418 > │ US1_1 │
00:29:41 verbose #78419 > │ | US0_0(v65) -> (* Some *) │
00:29:41 verbose #78420 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:29:41 verbose #78421 > │ let v67 : string = "v66.naive_utc()" │
00:29:41 verbose #78422 > │ let v68 : chrono_NaiveDateTime = │
00:29:41 verbose #78423 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:29:41 verbose #78424 > │ let v69 : string = │
00:29:41 verbose #78425 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:29:41 verbose #78426 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:29:41 verbose #78427 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:29:41 verbose #78428 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:29:41 verbose #78429 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:29:41 verbose #78430 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:29:41 verbose #78431 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:29:41 verbose #78432 > │ let v75 : string = "v74.format(v73).to_string()" │
00:29:41 verbose #78433 > │ let v76 : std_string_String = │
00:29:41 verbose #78434 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:29:41 verbose #78435 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #78436 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:29:41 verbose #78437 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:29:41 verbose #78438 > │ US1_0(v79) │
00:29:41 verbose #78439 > │ let v87 : string = │
00:29:41 verbose #78440 > │ match v83 with │
00:29:41 verbose #78441 > │ | US1_1 -> (* None *) │
00:29:41 verbose #78442 > │ let v85 : string = "" │
00:29:41 verbose #78443 > │ v85 │
00:29:41 verbose #78444 > │ | US1_0(v84) -> (* Some *) │
00:29:41 verbose #78445 > │ v84 │
00:29:41 verbose #78446 > │ let v88 : System.TimeZoneInfo option = None │
00:29:41 verbose #78447 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:29:41 verbose #78448 > │ │
00:29:41 verbose #78449 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78450 > │ │
00:29:41 verbose #78451 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78452 > │ let v90 : string = "0i64.into()" │
00:29:41 verbose #78453 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78454 > │ v90 │
00:29:41 verbose #78455 > │ v91 │
00:29:41 verbose #78456 > │ #endif │
00:29:41 verbose #78457 > │ │
00:29:41 verbose #78458 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78459 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78460 > │ v92 │
00:29:41 verbose #78461 > │ #endif │
00:29:41 verbose #78462 > │ │
00:29:41 verbose #78463 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78464 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78465 > │ v93 │
00:29:41 verbose #78466 > │ #endif │
00:29:41 verbose #78467 > │ │
00:29:41 verbose #78468 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78469 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78470 > │ v94 │
00:29:41 verbose #78471 > │ #endif │
00:29:41 verbose #78472 > │ │
00:29:41 verbose #78473 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78474 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78475 > │ v95 │
00:29:41 verbose #78476 > │ #endif │
00:29:41 verbose #78477 > │ │
00:29:41 verbose #78478 > │ #else │
00:29:41 verbose #78479 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #78480 > │ v96 │
00:29:41 verbose #78481 > │ #endif │
00:29:41 verbose #78482 > │ |> fun x -> _v88 <- Some x │
00:29:41 verbose #78483 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:29:41 verbose #78484 > │ let v98 : System.TimeSpan option = None │
00:29:41 verbose #78485 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:29:41 verbose #78486 > │ │
00:29:41 verbose #78487 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78488 > │ │
00:29:41 verbose #78489 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78490 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78491 > │ v100 │
00:29:41 verbose #78492 > │ #endif │
00:29:41 verbose #78493 > │ │
00:29:41 verbose #78494 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78495 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78496 > │ v101 │
00:29:41 verbose #78497 > │ #endif │
00:29:41 verbose #78498 > │ │
00:29:41 verbose #78499 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78500 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78501 > │ v102 │
00:29:41 verbose #78502 > │ #endif │
00:29:41 verbose #78503 > │ │
00:29:41 verbose #78504 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78505 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78506 > │ v103 │
00:29:41 verbose #78507 > │ #endif │
00:29:41 verbose #78508 > │ │
00:29:41 verbose #78509 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78510 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78511 > │ v104 │
00:29:41 verbose #78512 > │ #endif │
00:29:41 verbose #78513 > │ │
00:29:41 verbose #78514 > │ #else │
00:29:41 verbose #78515 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:41 verbose #78516 > │ = _.GetUtcOffset │
00:29:41 verbose #78517 > │ let v106 : System.TimeZoneInfo option = None │
00:29:41 verbose #78518 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:29:41 verbose #78519 > │ │
00:29:41 verbose #78520 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78521 > │ │
00:29:41 verbose #78522 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78523 > │ let v108 : string = "0i64.into()" │
00:29:41 verbose #78524 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78525 > │ v108 │
00:29:41 verbose #78526 > │ v109 │
00:29:41 verbose #78527 > │ #endif │
00:29:41 verbose #78528 > │ │
00:29:41 verbose #78529 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78530 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78531 > │ v110 │
00:29:41 verbose #78532 > │ #endif │
00:29:41 verbose #78533 > │ │
00:29:41 verbose #78534 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78535 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78536 > │ v111 │
00:29:41 verbose #78537 > │ #endif │
00:29:41 verbose #78538 > │ │
00:29:41 verbose #78539 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78540 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78541 > │ v112 │
00:29:41 verbose #78542 > │ #endif │
00:29:41 verbose #78543 > │ │
00:29:41 verbose #78544 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78545 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78546 > │ v113 │
00:29:41 verbose #78547 > │ #endif │
00:29:41 verbose #78548 > │ │
00:29:41 verbose #78549 > │ #else │
00:29:41 verbose #78550 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #78551 > │ v114 │
00:29:41 verbose #78552 > │ #endif │
00:29:41 verbose #78553 > │ |> fun x -> _v106 <- Some x │
00:29:41 verbose #78554 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:29:41 verbose #78555 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:29:41 verbose #78556 > │ let v117 : System.TimeSpan = v116 v53 │
00:29:41 verbose #78557 > │ v117 │
00:29:41 verbose #78558 > │ #endif │
00:29:41 verbose #78559 > │ |> fun x -> _v98 <- Some x │
00:29:41 verbose #78560 > │ let v118 : System.TimeSpan = _v98.Value │
00:29:41 verbose #78561 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:29:41 verbose #78562 > │ let v120 : int32 = v119 v118 │
00:29:41 verbose #78563 > │ let v121 : bool = v120 > 0 │
00:29:41 verbose #78564 > │ let v122 : uint8 = │
00:29:41 verbose #78565 > │ if v121 then │
00:29:41 verbose #78566 > │ 1uy │
00:29:41 verbose #78567 > │ else │
00:29:41 verbose #78568 > │ 0uy │
00:29:41 verbose #78569 > │ let v123 : (string -> string) = v118.ToString │
00:29:41 verbose #78570 > │ let v124 : string = "hh:mm" │
00:29:41 verbose #78571 > │ let v125 : string = v123 v124 │
00:29:41 verbose #78572 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:29:41 verbose #78573 > │ struct (v87, v126) │
00:29:41 verbose #78574 > │ #endif │
00:29:41 verbose #78575 > │ │
00:29:41 verbose #78576 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78577 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:29:41 verbose #78578 > │ * string)> │
00:29:41 verbose #78579 > │ struct (v127, v128) │
00:29:41 verbose #78580 > │ #endif │
00:29:41 verbose #78581 > │ │
00:29:41 verbose #78582 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78583 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:29:41 verbose #78584 > │ * string)> │
00:29:41 verbose #78585 > │ struct (v129, v130) │
00:29:41 verbose #78586 > │ #endif │
00:29:41 verbose #78587 > │ │
00:29:41 verbose #78588 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78589 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:29:41 verbose #78590 > │ * string)> │
00:29:41 verbose #78591 > │ struct (v131, v132) │
00:29:41 verbose #78592 > │ #endif │
00:29:41 verbose #78593 > │ │
00:29:41 verbose #78594 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78595 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:29:41 verbose #78596 > │ * string)> │
00:29:41 verbose #78597 > │ struct (v133, v134) │
00:29:41 verbose #78598 > │ #endif │
00:29:41 verbose #78599 > │ │
00:29:41 verbose #78600 > │ #else │
00:29:41 verbose #78601 > │ let v135 : string = method8() │
00:29:41 verbose #78602 > │ let v136 : (string -> string) = v41.ToString │
00:29:41 verbose #78603 > │ let v137 : string = v136 v135 │
00:29:41 verbose #78604 > │ let v138 : System.TimeZoneInfo option = None │
00:29:41 verbose #78605 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:29:41 verbose #78606 > │ │
00:29:41 verbose #78607 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78608 > │ │
00:29:41 verbose #78609 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78610 > │ let v140 : string = "0i64.into()" │
00:29:41 verbose #78611 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78612 > │ v140 │
00:29:41 verbose #78613 > │ v141 │
00:29:41 verbose #78614 > │ #endif │
00:29:41 verbose #78615 > │ │
00:29:41 verbose #78616 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78617 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78618 > │ v142 │
00:29:41 verbose #78619 > │ #endif │
00:29:41 verbose #78620 > │ │
00:29:41 verbose #78621 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78622 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78623 > │ v143 │
00:29:41 verbose #78624 > │ #endif │
00:29:41 verbose #78625 > │ │
00:29:41 verbose #78626 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78627 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78628 > │ v144 │
00:29:41 verbose #78629 > │ #endif │
00:29:41 verbose #78630 > │ │
00:29:41 verbose #78631 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78632 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78633 > │ v145 │
00:29:41 verbose #78634 > │ #endif │
00:29:41 verbose #78635 > │ │
00:29:41 verbose #78636 > │ #else │
00:29:41 verbose #78637 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #78638 > │ v146 │
00:29:41 verbose #78639 > │ #endif │
00:29:41 verbose #78640 > │ |> fun x -> _v138 <- Some x │
00:29:41 verbose #78641 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:29:41 verbose #78642 > │ let v148 : System.TimeSpan option = None │
00:29:41 verbose #78643 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:29:41 verbose #78644 > │ │
00:29:41 verbose #78645 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78646 > │ │
00:29:41 verbose #78647 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78648 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78649 > │ v150 │
00:29:41 verbose #78650 > │ #endif │
00:29:41 verbose #78651 > │ │
00:29:41 verbose #78652 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78653 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78654 > │ v151 │
00:29:41 verbose #78655 > │ #endif │
00:29:41 verbose #78656 > │ │
00:29:41 verbose #78657 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78658 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78659 > │ v152 │
00:29:41 verbose #78660 > │ #endif │
00:29:41 verbose #78661 > │ │
00:29:41 verbose #78662 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78663 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78664 > │ v153 │
00:29:41 verbose #78665 > │ #endif │
00:29:41 verbose #78666 > │ │
00:29:41 verbose #78667 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78668 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78669 > │ v154 │
00:29:41 verbose #78670 > │ #endif │
00:29:41 verbose #78671 > │ │
00:29:41 verbose #78672 > │ #else │
00:29:41 verbose #78673 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:41 verbose #78674 > │ = _.GetUtcOffset │
00:29:41 verbose #78675 > │ let v156 : System.TimeZoneInfo option = None │
00:29:41 verbose #78676 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:29:41 verbose #78677 > │ │
00:29:41 verbose #78678 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78679 > │ │
00:29:41 verbose #78680 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78681 > │ let v158 : string = "0i64.into()" │
00:29:41 verbose #78682 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78683 > │ v158 │
00:29:41 verbose #78684 > │ v159 │
00:29:41 verbose #78685 > │ #endif │
00:29:41 verbose #78686 > │ │
00:29:41 verbose #78687 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78688 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78689 > │ v160 │
00:29:41 verbose #78690 > │ #endif │
00:29:41 verbose #78691 > │ │
00:29:41 verbose #78692 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78693 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78694 > │ v161 │
00:29:41 verbose #78695 > │ #endif │
00:29:41 verbose #78696 > │ │
00:29:41 verbose #78697 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78698 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78699 > │ v162 │
00:29:41 verbose #78700 > │ #endif │
00:29:41 verbose #78701 > │ │
00:29:41 verbose #78702 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78703 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78704 > │ v163 │
00:29:41 verbose #78705 > │ #endif │
00:29:41 verbose #78706 > │ │
00:29:41 verbose #78707 > │ #else │
00:29:41 verbose #78708 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #78709 > │ v164 │
00:29:41 verbose #78710 > │ #endif │
00:29:41 verbose #78711 > │ |> fun x -> _v156 <- Some x │
00:29:41 verbose #78712 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:29:41 verbose #78713 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:29:41 verbose #78714 > │ let v167 : System.TimeSpan = v166 v41 │
00:29:41 verbose #78715 > │ v167 │
00:29:41 verbose #78716 > │ #endif │
00:29:41 verbose #78717 > │ |> fun x -> _v148 <- Some x │
00:29:41 verbose #78718 > │ let v168 : System.TimeSpan = _v148.Value │
00:29:41 verbose #78719 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:29:41 verbose #78720 > │ let v170 : int32 = v169 v168 │
00:29:41 verbose #78721 > │ let v171 : bool = v170 > 0 │
00:29:41 verbose #78722 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:29:41 verbose #78723 > │ let v173 : int32 = v172 v171 │
00:29:41 verbose #78724 > │ let v174 : string = method9() │
00:29:41 verbose #78725 > │ let v175 : (string -> string) = v168.ToString │
00:29:41 verbose #78726 > │ let v176 : string = v175 v174 │
00:29:41 verbose #78727 > │ let v177 : string = $"{v173}{v176}" │
00:29:41 verbose #78728 > │ struct (v137, v177) │
00:29:41 verbose #78729 > │ #endif │
00:29:41 verbose #78730 > │ |> fun x -> _v45 <- Some x │
00:29:41 verbose #78731 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:29:41 verbose #78732 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:29:41 verbose #78733 > │ v179.Length..]}" │
00:29:41 verbose #78734 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:29:41 verbose #78735 > │ let v182 : string = v181 v180 │
00:29:41 verbose #78736 > │ let v183 : string = method1(v40, v182) │
00:29:41 verbose #78737 > │ v183 │
00:29:41 verbose #78738 > │ #endif │
00:29:41 verbose #78739 > │ │
00:29:41 verbose #78740 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78741 > │ let v184 : string = null |> unbox<string> │
00:29:41 verbose #78742 > │ v184 │
00:29:41 verbose #78743 > │ #endif │
00:29:41 verbose #78744 > │ │
00:29:41 verbose #78745 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78746 > │ let v185 : string = null |> unbox<string> │
00:29:41 verbose #78747 > │ v185 │
00:29:41 verbose #78748 > │ #endif │
00:29:41 verbose #78749 > │ │
00:29:41 verbose #78750 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78751 > │ let v186 : string = null |> unbox<string> │
00:29:41 verbose #78752 > │ v186 │
00:29:41 verbose #78753 > │ #endif │
00:29:41 verbose #78754 > │ │
00:29:41 verbose #78755 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78756 > │ let v187 : string = null |> unbox<string> │
00:29:41 verbose #78757 > │ v187 │
00:29:41 verbose #78758 > │ #endif │
00:29:41 verbose #78759 > │ │
00:29:41 verbose #78760 > │ #else │
00:29:41 verbose #78761 > │ let v188 : string option = None │
00:29:41 verbose #78762 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:29:41 verbose #78763 > │ │
00:29:41 verbose #78764 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78765 > │ │
00:29:41 verbose #78766 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78767 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:41 verbose #78768 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:29:41 verbose #78769 > │ v191 │
00:29:41 verbose #78770 > │ #endif │
00:29:41 verbose #78771 > │ │
00:29:41 verbose #78772 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78773 > │ let v192 : string = null |> unbox<string> │
00:29:41 verbose #78774 > │ v192 │
00:29:41 verbose #78775 > │ #endif │
00:29:41 verbose #78776 > │ │
00:29:41 verbose #78777 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78778 > │ let v193 : string = null |> unbox<string> │
00:29:41 verbose #78779 > │ v193 │
00:29:41 verbose #78780 > │ #endif │
00:29:41 verbose #78781 > │ │
00:29:41 verbose #78782 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78783 > │ let v194 : string = null |> unbox<string> │
00:29:41 verbose #78784 > │ v194 │
00:29:41 verbose #78785 > │ #endif │
00:29:41 verbose #78786 > │ │
00:29:41 verbose #78787 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78788 > │ let v195 : string = null |> unbox<string> │
00:29:41 verbose #78789 > │ v195 │
00:29:41 verbose #78790 > │ #endif │
00:29:41 verbose #78791 > │ │
00:29:41 verbose #78792 > │ #else │
00:29:41 verbose #78793 > │ let v196 : string = │
00:29:41 verbose #78794 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:41 verbose #78795 > │ v196 │
00:29:41 verbose #78796 > │ #endif │
00:29:41 verbose #78797 > │ |> fun x -> _v188 <- Some x │
00:29:41 verbose #78798 > │ let v197 : string = _v188.Value │
00:29:41 verbose #78799 > │ let v198 : string option = None │
00:29:41 verbose #78800 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:29:41 verbose #78801 > │ │
00:29:41 verbose #78802 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78803 > │ │
00:29:41 verbose #78804 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78805 > │ let v200 : string = "std::env::temp_dir()" │
00:29:41 verbose #78806 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78807 > │ v200 │
00:29:41 verbose #78808 > │ let v202 : string = "$0.display()" │
00:29:41 verbose #78809 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:29:41 verbose #78810 > │ v202 │
00:29:41 verbose #78811 > │ let v204 : std_string_String option = None │
00:29:41 verbose #78812 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:29:41 verbose #78813 > │ │
00:29:41 verbose #78814 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78815 > │ │
00:29:41 verbose #78816 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78817 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:29:41 verbose #78818 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:41 verbose #78819 > │ v206 │
00:29:41 verbose #78820 > │ v207 │
00:29:41 verbose #78821 > │ #endif │
00:29:41 verbose #78822 > │ │
00:29:41 verbose #78823 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78824 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:29:41 verbose #78825 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:41 verbose #78826 > │ v208 │
00:29:41 verbose #78827 > │ v209 │
00:29:41 verbose #78828 > │ #endif │
00:29:41 verbose #78829 > │ │
00:29:41 verbose #78830 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78831 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:29:41 verbose #78832 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:41 verbose #78833 > │ v210 │
00:29:41 verbose #78834 > │ v211 │
00:29:41 verbose #78835 > │ #endif │
00:29:41 verbose #78836 > │ │
00:29:41 verbose #78837 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78838 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:29:41 verbose #78839 > │ v212 │
00:29:41 verbose #78840 > │ #endif │
00:29:41 verbose #78841 > │ │
00:29:41 verbose #78842 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78843 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:29:41 verbose #78844 > │ v213 │
00:29:41 verbose #78845 > │ #endif │
00:29:41 verbose #78846 > │ │
00:29:41 verbose #78847 > │ #else │
00:29:41 verbose #78848 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:29:41 verbose #78849 > │ v214 │
00:29:41 verbose #78850 > │ #endif │
00:29:41 verbose #78851 > │ |> fun x -> _v204 <- Some x │
00:29:41 verbose #78852 > │ let v215 : std_string_String = _v204.Value │
00:29:41 verbose #78853 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #78854 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:29:41 verbose #78855 > │ v217 │
00:29:41 verbose #78856 > │ #endif │
00:29:41 verbose #78857 > │ │
00:29:41 verbose #78858 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78859 > │ let v218 : string = null |> unbox<string> │
00:29:41 verbose #78860 > │ v218 │
00:29:41 verbose #78861 > │ #endif │
00:29:41 verbose #78862 > │ │
00:29:41 verbose #78863 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78864 > │ let v219 : string = null |> unbox<string> │
00:29:41 verbose #78865 > │ v219 │
00:29:41 verbose #78866 > │ #endif │
00:29:41 verbose #78867 > │ │
00:29:41 verbose #78868 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78869 > │ let v220 : string = null |> unbox<string> │
00:29:41 verbose #78870 > │ v220 │
00:29:41 verbose #78871 > │ #endif │
00:29:41 verbose #78872 > │ │
00:29:41 verbose #78873 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78874 > │ let v221 : string = null |> unbox<string> │
00:29:41 verbose #78875 > │ v221 │
00:29:41 verbose #78876 > │ #endif │
00:29:41 verbose #78877 > │ │
00:29:41 verbose #78878 > │ #else │
00:29:41 verbose #78879 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:41 verbose #78880 > │ let v223 : string = v222 () │
00:29:41 verbose #78881 > │ v223 │
00:29:41 verbose #78882 > │ #endif │
00:29:41 verbose #78883 > │ |> fun x -> _v198 <- Some x │
00:29:41 verbose #78884 > │ let v224 : string = _v198.Value │
00:29:41 verbose #78885 > │ let v225 : string = $"!{v197}" │
00:29:41 verbose #78886 > │ let v226 : string = method1(v224, v225) │
00:29:41 verbose #78887 > │ let v227 : System.DateTime = System.DateTime.Now │
00:29:41 verbose #78888 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:29:41 verbose #78889 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:29:41 verbose #78890 > │ let v230 : string = v229 v228 │
00:29:41 verbose #78891 > │ let v231 : struct (string * string) option = None │
00:29:41 verbose #78892 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:29:41 verbose #78893 > │ │
00:29:41 verbose #78894 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78895 > │ │
00:29:41 verbose #78896 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78897 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:41 verbose #78898 > │ System.DateTimeKind.Utc) │
00:29:41 verbose #78899 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:41 verbose #78900 > │ let v235 : System.DateTime = v234 v233 │
00:29:41 verbose #78901 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:41 verbose #78902 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:29:41 verbose #78903 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:41 verbose #78904 > │ let v239 : System.DateTime = v238 v237 │
00:29:41 verbose #78905 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #78906 > │ let v241 : int64 = v240 v239 │
00:29:41 verbose #78907 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:29:41 verbose #78908 > │ let v243 : int64 = v242 v235 │
00:29:41 verbose #78909 > │ let v244 : int64 = v241 - v243 │
00:29:41 verbose #78910 > │ let v245 : int64 = v244 / 10L │
00:29:41 verbose #78911 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:41 verbose #78912 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:29:41 verbose #78913 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:29:41 verbose #78914 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:41 verbose #78915 > │ let v249 : US0 = US0_1 │
00:29:41 verbose #78916 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:29:41 verbose #78917 > │ let v269 : US1 = │
00:29:41 verbose #78918 > │ match v250 with │
00:29:41 verbose #78919 > │ | US0_1 -> (* None *) │
00:29:41 verbose #78920 > │ US1_1 │
00:29:41 verbose #78921 > │ | US0_0(v251) -> (* Some *) │
00:29:41 verbose #78922 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:29:41 verbose #78923 > │ let v253 : string = "v252.naive_utc()" │
00:29:41 verbose #78924 > │ let v254 : chrono_NaiveDateTime = │
00:29:41 verbose #78925 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:29:41 verbose #78926 > │ let v255 : string = │
00:29:41 verbose #78927 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:29:41 verbose #78928 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:29:41 verbose #78929 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:29:41 verbose #78930 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:29:41 verbose #78931 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:29:41 verbose #78932 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78933 > │ v258 │
00:29:41 verbose #78934 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:29:41 verbose #78935 > │ let v261 : string = "v260.format(v259).to_string()" │
00:29:41 verbose #78936 > │ let v262 : std_string_String = │
00:29:41 verbose #78937 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:29:41 verbose #78938 > │ let v263 : string = │
00:29:41 verbose #78939 > │ "fable_library_rust::String_::fromString($0)" │
00:29:41 verbose #78940 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:29:41 verbose #78941 > │ v263 │
00:29:41 verbose #78942 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:29:41 verbose #78943 > │ 22]}" │
00:29:41 verbose #78944 > │ US1_0(v265) │
00:29:41 verbose #78945 > │ let v273 : string = │
00:29:41 verbose #78946 > │ match v269 with │
00:29:41 verbose #78947 > │ | US1_1 -> (* None *) │
00:29:41 verbose #78948 > │ let v271 : string = "" │
00:29:41 verbose #78949 > │ v271 │
00:29:41 verbose #78950 > │ | US1_0(v270) -> (* Some *) │
00:29:41 verbose #78951 > │ v270 │
00:29:41 verbose #78952 > │ let v274 : System.TimeZoneInfo option = None │
00:29:41 verbose #78953 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:29:41 verbose #78954 > │ │
00:29:41 verbose #78955 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78956 > │ │
00:29:41 verbose #78957 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78958 > │ let v276 : string = "0i64.into()" │
00:29:41 verbose #78959 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #78960 > │ v276 │
00:29:41 verbose #78961 > │ v277 │
00:29:41 verbose #78962 > │ #endif │
00:29:41 verbose #78963 > │ │
00:29:41 verbose #78964 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #78965 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78966 > │ v278 │
00:29:41 verbose #78967 > │ #endif │
00:29:41 verbose #78968 > │ │
00:29:41 verbose #78969 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #78970 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78971 > │ v279 │
00:29:41 verbose #78972 > │ #endif │
00:29:41 verbose #78973 > │ │
00:29:41 verbose #78974 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #78975 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78976 > │ v280 │
00:29:41 verbose #78977 > │ #endif │
00:29:41 verbose #78978 > │ │
00:29:41 verbose #78979 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #78980 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #78981 > │ v281 │
00:29:41 verbose #78982 > │ #endif │
00:29:41 verbose #78983 > │ │
00:29:41 verbose #78984 > │ #else │
00:29:41 verbose #78985 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #78986 > │ v282 │
00:29:41 verbose #78987 > │ #endif │
00:29:41 verbose #78988 > │ |> fun x -> _v274 <- Some x │
00:29:41 verbose #78989 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:29:41 verbose #78990 > │ let v284 : System.TimeSpan option = None │
00:29:41 verbose #78991 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:29:41 verbose #78992 > │ │
00:29:41 verbose #78993 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #78994 > │ │
00:29:41 verbose #78995 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #78996 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #78997 > │ v286 │
00:29:41 verbose #78998 > │ #endif │
00:29:41 verbose #78999 > │ │
00:29:41 verbose #79000 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79001 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79002 > │ v287 │
00:29:41 verbose #79003 > │ #endif │
00:29:41 verbose #79004 > │ │
00:29:41 verbose #79005 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79006 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79007 > │ v288 │
00:29:41 verbose #79008 > │ #endif │
00:29:41 verbose #79009 > │ │
00:29:41 verbose #79010 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79011 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79012 > │ v289 │
00:29:41 verbose #79013 > │ #endif │
00:29:41 verbose #79014 > │ │
00:29:41 verbose #79015 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79016 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79017 > │ v290 │
00:29:41 verbose #79018 > │ #endif │
00:29:41 verbose #79019 > │ │
00:29:41 verbose #79020 > │ #else │
00:29:41 verbose #79021 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:41 verbose #79022 > │ = _.GetUtcOffset │
00:29:41 verbose #79023 > │ let v292 : System.TimeZoneInfo option = None │
00:29:41 verbose #79024 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:29:41 verbose #79025 > │ │
00:29:41 verbose #79026 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #79027 > │ │
00:29:41 verbose #79028 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #79029 > │ let v294 : string = "0i64.into()" │
00:29:41 verbose #79030 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #79031 > │ v294 │
00:29:41 verbose #79032 > │ v295 │
00:29:41 verbose #79033 > │ #endif │
00:29:41 verbose #79034 > │ │
00:29:41 verbose #79035 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79036 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79037 > │ v296 │
00:29:41 verbose #79038 > │ #endif │
00:29:41 verbose #79039 > │ │
00:29:41 verbose #79040 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79041 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79042 > │ v297 │
00:29:41 verbose #79043 > │ #endif │
00:29:41 verbose #79044 > │ │
00:29:41 verbose #79045 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79046 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79047 > │ v298 │
00:29:41 verbose #79048 > │ #endif │
00:29:41 verbose #79049 > │ │
00:29:41 verbose #79050 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79051 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79052 > │ v299 │
00:29:41 verbose #79053 > │ #endif │
00:29:41 verbose #79054 > │ │
00:29:41 verbose #79055 > │ #else │
00:29:41 verbose #79056 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #79057 > │ v300 │
00:29:41 verbose #79058 > │ #endif │
00:29:41 verbose #79059 > │ |> fun x -> _v292 <- Some x │
00:29:41 verbose #79060 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:29:41 verbose #79061 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:29:41 verbose #79062 > │ let v303 : System.TimeSpan = v302 v239 │
00:29:41 verbose #79063 > │ v303 │
00:29:41 verbose #79064 > │ #endif │
00:29:41 verbose #79065 > │ |> fun x -> _v284 <- Some x │
00:29:41 verbose #79066 > │ let v304 : System.TimeSpan = _v284.Value │
00:29:41 verbose #79067 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:29:41 verbose #79068 > │ let v306 : int32 = v305 v304 │
00:29:41 verbose #79069 > │ let v307 : bool = v306 > 0 │
00:29:41 verbose #79070 > │ let v308 : uint8 = │
00:29:41 verbose #79071 > │ if v307 then │
00:29:41 verbose #79072 > │ 1uy │
00:29:41 verbose #79073 > │ else │
00:29:41 verbose #79074 > │ 0uy │
00:29:41 verbose #79075 > │ let v309 : (string -> string) = v304.ToString │
00:29:41 verbose #79076 > │ let v310 : string = v309 v124 │
00:29:41 verbose #79077 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:29:41 verbose #79078 > │ struct (v273, v311) │
00:29:41 verbose #79079 > │ #endif │
00:29:41 verbose #79080 > │ │
00:29:41 verbose #79081 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79082 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:29:41 verbose #79083 > │ * string)> │
00:29:41 verbose #79084 > │ struct (v312, v313) │
00:29:41 verbose #79085 > │ #endif │
00:29:41 verbose #79086 > │ │
00:29:41 verbose #79087 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79088 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:29:41 verbose #79089 > │ * string)> │
00:29:41 verbose #79090 > │ struct (v314, v315) │
00:29:41 verbose #79091 > │ #endif │
00:29:41 verbose #79092 > │ │
00:29:41 verbose #79093 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79094 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:29:41 verbose #79095 > │ * string)> │
00:29:41 verbose #79096 > │ struct (v316, v317) │
00:29:41 verbose #79097 > │ #endif │
00:29:41 verbose #79098 > │ │
00:29:41 verbose #79099 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79100 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:29:41 verbose #79101 > │ * string)> │
00:29:41 verbose #79102 > │ struct (v318, v319) │
00:29:41 verbose #79103 > │ #endif │
00:29:41 verbose #79104 > │ │
00:29:41 verbose #79105 > │ #else │
00:29:41 verbose #79106 > │ let v320 : string = method8() │
00:29:41 verbose #79107 > │ let v321 : (string -> string) = v227.ToString │
00:29:41 verbose #79108 > │ let v322 : string = v321 v320 │
00:29:41 verbose #79109 > │ let v323 : System.TimeZoneInfo option = None │
00:29:41 verbose #79110 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:29:41 verbose #79111 > │ │
00:29:41 verbose #79112 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #79113 > │ │
00:29:41 verbose #79114 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #79115 > │ let v325 : string = "0i64.into()" │
00:29:41 verbose #79116 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #79117 > │ v325 │
00:29:41 verbose #79118 > │ v326 │
00:29:41 verbose #79119 > │ #endif │
00:29:41 verbose #79120 > │ │
00:29:41 verbose #79121 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79122 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79123 > │ v327 │
00:29:41 verbose #79124 > │ #endif │
00:29:41 verbose #79125 > │ │
00:29:41 verbose #79126 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79127 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79128 > │ v328 │
00:29:41 verbose #79129 > │ #endif │
00:29:41 verbose #79130 > │ │
00:29:41 verbose #79131 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79132 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79133 > │ v329 │
00:29:41 verbose #79134 > │ #endif │
00:29:41 verbose #79135 > │ │
00:29:41 verbose #79136 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79137 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79138 > │ v330 │
00:29:41 verbose #79139 > │ #endif │
00:29:41 verbose #79140 > │ │
00:29:41 verbose #79141 > │ #else │
00:29:41 verbose #79142 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #79143 > │ v331 │
00:29:41 verbose #79144 > │ #endif │
00:29:41 verbose #79145 > │ |> fun x -> _v323 <- Some x │
00:29:41 verbose #79146 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:29:41 verbose #79147 > │ let v333 : System.TimeSpan option = None │
00:29:41 verbose #79148 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:29:41 verbose #79149 > │ │
00:29:41 verbose #79150 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #79151 > │ │
00:29:41 verbose #79152 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #79153 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79154 > │ v335 │
00:29:41 verbose #79155 > │ #endif │
00:29:41 verbose #79156 > │ │
00:29:41 verbose #79157 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79158 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79159 > │ v336 │
00:29:41 verbose #79160 > │ #endif │
00:29:41 verbose #79161 > │ │
00:29:41 verbose #79162 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79163 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79164 > │ v337 │
00:29:41 verbose #79165 > │ #endif │
00:29:41 verbose #79166 > │ │
00:29:41 verbose #79167 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79168 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79169 > │ v338 │
00:29:41 verbose #79170 > │ #endif │
00:29:41 verbose #79171 > │ │
00:29:41 verbose #79172 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79173 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:29:41 verbose #79174 > │ v339 │
00:29:41 verbose #79175 > │ #endif │
00:29:41 verbose #79176 > │ │
00:29:41 verbose #79177 > │ #else │
00:29:41 verbose #79178 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:41 verbose #79179 > │ = _.GetUtcOffset │
00:29:41 verbose #79180 > │ let v341 : System.TimeZoneInfo option = None │
00:29:41 verbose #79181 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:29:41 verbose #79182 > │ │
00:29:41 verbose #79183 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #79184 > │ │
00:29:41 verbose #79185 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #79186 > │ let v343 : string = "0i64.into()" │
00:29:41 verbose #79187 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:41 verbose #79188 > │ v343 │
00:29:41 verbose #79189 > │ v344 │
00:29:41 verbose #79190 > │ #endif │
00:29:41 verbose #79191 > │ │
00:29:41 verbose #79192 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79193 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79194 > │ v345 │
00:29:41 verbose #79195 > │ #endif │
00:29:41 verbose #79196 > │ │
00:29:41 verbose #79197 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79198 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79199 > │ v346 │
00:29:41 verbose #79200 > │ #endif │
00:29:41 verbose #79201 > │ │
00:29:41 verbose #79202 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79203 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79204 > │ v347 │
00:29:41 verbose #79205 > │ #endif │
00:29:41 verbose #79206 > │ │
00:29:41 verbose #79207 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79208 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:41 verbose #79209 > │ v348 │
00:29:41 verbose #79210 > │ #endif │
00:29:41 verbose #79211 > │ │
00:29:41 verbose #79212 > │ #else │
00:29:41 verbose #79213 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:41 verbose #79214 > │ v349 │
00:29:41 verbose #79215 > │ #endif │
00:29:41 verbose #79216 > │ |> fun x -> _v341 <- Some x │
00:29:41 verbose #79217 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:29:41 verbose #79218 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:29:41 verbose #79219 > │ let v352 : System.TimeSpan = v351 v227 │
00:29:41 verbose #79220 > │ v352 │
00:29:41 verbose #79221 > │ #endif │
00:29:41 verbose #79222 > │ |> fun x -> _v333 <- Some x │
00:29:41 verbose #79223 > │ let v353 : System.TimeSpan = _v333.Value │
00:29:41 verbose #79224 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:29:41 verbose #79225 > │ let v355 : int32 = v354 v353 │
00:29:41 verbose #79226 > │ let v356 : bool = v355 > 0 │
00:29:41 verbose #79227 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:29:41 verbose #79228 > │ let v358 : int32 = v357 v356 │
00:29:41 verbose #79229 > │ let v359 : string = method9() │
00:29:41 verbose #79230 > │ let v360 : (string -> string) = v353.ToString │
00:29:41 verbose #79231 > │ let v361 : string = v360 v359 │
00:29:41 verbose #79232 > │ let v362 : string = $"{v358}{v361}" │
00:29:41 verbose #79233 > │ struct (v322, v362) │
00:29:41 verbose #79234 > │ #endif │
00:29:41 verbose #79235 > │ |> fun x -> _v231 <- Some x │
00:29:41 verbose #79236 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:29:41 verbose #79237 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:29:41 verbose #79238 > │ v364.Length..]}" │
00:29:41 verbose #79239 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:29:41 verbose #79240 > │ let v367 : string = v366 v365 │
00:29:41 verbose #79241 > │ let v368 : string = method1(v226, v367) │
00:29:41 verbose #79242 > │ v368 │
00:29:41 verbose #79243 > │ #endif │
00:29:41 verbose #79244 > │ |> fun x -> _v0 <- Some x │
00:29:41 verbose #79245 > │ let v369 : string = _v0.Value │
00:29:41 verbose #79246 > │ let v370 : System.IDisposable option = None │
00:29:41 verbose #79247 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:29:41 verbose #79248 > │ │
00:29:41 verbose #79249 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #79250 > │ │
00:29:41 verbose #79251 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #79252 > │ let v372 : string = method10(v369) │
00:29:41 verbose #79253 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:29:41 verbose #79254 > │ let v374 : Result<unit, std_io_Error> = │
00:29:41 verbose #79255 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:29:41 verbose #79256 > │ let v375 : (std_io_Error -> std_string_String) = method11() │
00:29:41 verbose #79257 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:29:41 verbose #79258 > │ let v377 : Result<unit, std_string_String> = │
00:29:41 verbose #79259 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:29:41 verbose #79260 > │ let v378 : (unit -> US2) = closure2() │
00:29:41 verbose #79261 > │ let v379 : (std_string_String -> US2) = closure3() │
00:29:41 verbose #79262 > │ let v380 : US2 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:29:41 verbose #79263 > │ match v380 with │
00:29:41 verbose #79264 > │ | US2_1(v384) -> (* Error *) │
00:29:41 verbose #79265 > │ let v385 : US3 = US3_4 │
00:29:41 verbose #79266 > │ let v386 : (unit -> string) = closure4() │
00:29:41 verbose #79267 > │ let v387 : (unit -> string) = closure5(v372, v384) │
00:29:41 verbose #79268 > │ method12(v385, v386, v387) │
00:29:41 verbose #79269 > │ | US2_0 -> (* Ok *) │
00:29:41 verbose #79270 > │ let v381 : US3 = US3_0 │
00:29:41 verbose #79271 > │ let v382 : (unit -> string) = closure11() │
00:29:41 verbose #79272 > │ let v383 : (unit -> string) = closure12(v372) │
00:29:41 verbose #79273 > │ method12(v381, v382, v383) │
00:29:41 verbose #79274 > │ let v388 : System.IDisposable option = None │
00:29:41 verbose #79275 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:29:41 verbose #79276 > │ │
00:29:41 verbose #79277 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:41 verbose #79278 > │ │
00:29:41 verbose #79279 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:41 verbose #79280 > │ let v390 : (unit -> unit) = closure13(v372) │
00:29:41 verbose #79281 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:29:41 verbose #79282 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:41 verbose #79283 > │ v391 │
00:29:41 verbose #79284 > │ #endif │
00:29:41 verbose #79285 > │ │
00:29:41 verbose #79286 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:41 verbose #79287 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:29:41 verbose #79288 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:41 verbose #79289 > │ v392 │
00:29:41 verbose #79290 > │ #endif │
00:29:41 verbose #79291 > │ │
00:29:41 verbose #79292 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:41 verbose #79293 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:29:41 verbose #79294 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:41 verbose #79295 > │ v393 │
00:29:41 verbose #79296 > │ #endif │
00:29:41 verbose #79297 > │ │
00:29:41 verbose #79298 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:41 verbose #79299 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:41 verbose #79300 > │ v394 │
00:29:41 verbose #79301 > │ #endif │
00:29:41 verbose #79302 > │ │
00:29:41 verbose #79303 > │ #if FABLE_COMPILER_PYTHON │
00:29:41 verbose #79304 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:41 verbose #79305 > │ v395 │
00:29:41 verbose #79306 > │ #endif │
00:29:41 verbose #79307 > │ │
00:29:41 verbose #79308 > │ #else │
00:29:41 verbose #79309 > │ let v396 : (unit -> unit) = method19(v372) │
00:29:41 verbose #79310 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:29:41 verbose #79311 > │ _.Dispose () = v396 () } │
00:29:41 verbose #79312 > │ v397 │
00:29:41 verbose #79313 > │ #endif │
00:29:41 verbose #79314 > │ |> fun x -> _v388 <- Some x │
00:29:41 verbose #79315 > │ let v398 : System.IDisposable = _v388.Value │
00:29:41 verbose #79316 > │ v398 │
00:29:41 verbose #79317 > │ #endif │
00:29:42 verbose #79318 > │ │
00:29:42 verbose #79319 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79320 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:42 verbose #79321 > │ v399 │
00:29:42 verbose #79322 > │ #endif │
00:29:42 verbose #79323 > │ │
00:29:42 verbose #79324 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79325 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:42 verbose #79326 > │ v400 │
00:29:42 verbose #79327 > │ #endif │
00:29:42 verbose #79328 > │ │
00:29:42 verbose #79329 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79330 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:42 verbose #79331 > │ v401 │
00:29:42 verbose #79332 > │ #endif │
00:29:42 verbose #79333 > │ │
00:29:42 verbose #79334 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79335 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:42 verbose #79336 > │ v402 │
00:29:42 verbose #79337 > │ #endif │
00:29:42 verbose #79338 > │ │
00:29:42 verbose #79339 > │ #else │
00:29:42 verbose #79340 > │ let v403 : System.IO.DirectoryInfo option = None │
00:29:42 verbose #79341 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:29:42 verbose #79342 > │ │
00:29:42 verbose #79343 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79344 > │ │
00:29:42 verbose #79345 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79346 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:29:42 verbose #79347 > │ unbox<System.IO.DirectoryInfo> │
00:29:42 verbose #79348 > │ v405 │
00:29:42 verbose #79349 > │ #endif │
00:29:42 verbose #79350 > │ │
00:29:42 verbose #79351 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79352 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:29:42 verbose #79353 > │ unbox<System.IO.DirectoryInfo> │
00:29:42 verbose #79354 > │ v406 │
00:29:42 verbose #79355 > │ #endif │
00:29:42 verbose #79356 > │ │
00:29:42 verbose #79357 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79358 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:29:42 verbose #79359 > │ unbox<System.IO.DirectoryInfo> │
00:29:42 verbose #79360 > │ v407 │
00:29:42 verbose #79361 > │ #endif │
00:29:42 verbose #79362 > │ │
00:29:42 verbose #79363 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79364 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:29:42 verbose #79365 > │ unbox<System.IO.DirectoryInfo> │
00:29:42 verbose #79366 > │ v408 │
00:29:42 verbose #79367 > │ #endif │
00:29:42 verbose #79368 > │ │
00:29:42 verbose #79369 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79370 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:29:42 verbose #79371 > │ unbox<System.IO.DirectoryInfo> │
00:29:42 verbose #79372 > │ v409 │
00:29:42 verbose #79373 > │ #endif │
00:29:42 verbose #79374 > │ │
00:29:42 verbose #79375 > │ #else │
00:29:42 verbose #79376 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:29:42 verbose #79377 > │ System.IO.Directory.CreateDirectory │
00:29:42 verbose #79378 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:29:42 verbose #79379 > │ v411 │
00:29:42 verbose #79380 > │ #endif │
00:29:42 verbose #79381 > │ |> fun x -> _v403 <- Some x │
00:29:42 verbose #79382 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:29:42 verbose #79383 > │ let v413 : bool option = None │
00:29:42 verbose #79384 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:29:42 verbose #79385 > │ │
00:29:42 verbose #79386 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79387 > │ │
00:29:42 verbose #79388 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79389 > │ let v415 : bool = null |> unbox<bool> │
00:29:42 verbose #79390 > │ v415 │
00:29:42 verbose #79391 > │ #endif │
00:29:42 verbose #79392 > │ │
00:29:42 verbose #79393 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79394 > │ let v416 : bool = null |> unbox<bool> │
00:29:42 verbose #79395 > │ v416 │
00:29:42 verbose #79396 > │ #endif │
00:29:42 verbose #79397 > │ │
00:29:42 verbose #79398 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79399 > │ let v417 : bool = null |> unbox<bool> │
00:29:42 verbose #79400 > │ v417 │
00:29:42 verbose #79401 > │ #endif │
00:29:42 verbose #79402 > │ │
00:29:42 verbose #79403 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79404 > │ let v418 : bool = null |> unbox<bool> │
00:29:42 verbose #79405 > │ v418 │
00:29:42 verbose #79406 > │ #endif │
00:29:42 verbose #79407 > │ │
00:29:42 verbose #79408 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79409 > │ let v419 : bool = null |> unbox<bool> │
00:29:42 verbose #79410 > │ v419 │
00:29:42 verbose #79411 > │ #endif │
00:29:42 verbose #79412 > │ │
00:29:42 verbose #79413 > │ #else │
00:29:42 verbose #79414 > │ let v420 : bool = v412.Exists │
00:29:42 verbose #79415 > │ v420 │
00:29:42 verbose #79416 > │ #endif │
00:29:42 verbose #79417 > │ |> fun x -> _v413 <- Some x │
00:29:42 verbose #79418 > │ let v421 : bool = _v413.Value │
00:29:42 verbose #79419 > │ let v422 : bool = v421 = false │
00:29:42 verbose #79420 > │ if v422 then │
00:29:42 verbose #79421 > │ let v423 : System.DateTime option = None │
00:29:42 verbose #79422 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:29:42 verbose #79423 > │ │
00:29:42 verbose #79424 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79425 > │ │
00:29:42 verbose #79426 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79427 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:29:42 verbose #79428 > │ v425 │
00:29:42 verbose #79429 > │ #endif │
00:29:42 verbose #79430 > │ │
00:29:42 verbose #79431 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79432 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:29:42 verbose #79433 > │ v426 │
00:29:42 verbose #79434 > │ #endif │
00:29:42 verbose #79435 > │ │
00:29:42 verbose #79436 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79437 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:29:42 verbose #79438 > │ v427 │
00:29:42 verbose #79439 > │ #endif │
00:29:42 verbose #79440 > │ │
00:29:42 verbose #79441 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79442 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:29:42 verbose #79443 > │ v428 │
00:29:42 verbose #79444 > │ #endif │
00:29:42 verbose #79445 > │ │
00:29:42 verbose #79446 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79447 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:29:42 verbose #79448 > │ v429 │
00:29:42 verbose #79449 > │ #endif │
00:29:42 verbose #79450 > │ │
00:29:42 verbose #79451 > │ #else │
00:29:42 verbose #79452 > │ let v430 : System.DateTime = v412.CreationTime │
00:29:42 verbose #79453 > │ v430 │
00:29:42 verbose #79454 > │ #endif │
00:29:42 verbose #79455 > │ |> fun x -> _v423 <- Some x │
00:29:42 verbose #79456 > │ let v431 : System.DateTime = _v423.Value │
00:29:42 verbose #79457 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:29:42 verbose #79458 > │ let v433 : string = $"%A{v432}" │
00:29:42 verbose #79459 > │ let v434 : US3 = US3_1 │
00:29:42 verbose #79460 > │ let v435 : (unit -> string) = closure14() │
00:29:42 verbose #79461 > │ let v436 : (unit -> string) = closure15(v369, v433) │
00:29:42 verbose #79462 > │ method12(v434, v435, v436) │
00:29:42 verbose #79463 > │ let v437 : System.IDisposable option = None │
00:29:42 verbose #79464 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:29:42 verbose #79465 > │ │
00:29:42 verbose #79466 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79467 > │ │
00:29:42 verbose #79468 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79469 > │ let v439 : (unit -> unit) = closure16(v369) │
00:29:42 verbose #79470 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:29:42 verbose #79471 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:42 verbose #79472 > │ v440 │
00:29:42 verbose #79473 > │ #endif │
00:29:42 verbose #79474 > │ │
00:29:42 verbose #79475 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79476 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:29:42 verbose #79477 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:42 verbose #79478 > │ v441 │
00:29:42 verbose #79479 > │ #endif │
00:29:42 verbose #79480 > │ │
00:29:42 verbose #79481 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79482 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:29:42 verbose #79483 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:42 verbose #79484 > │ v442 │
00:29:42 verbose #79485 > │ #endif │
00:29:42 verbose #79486 > │ │
00:29:42 verbose #79487 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79488 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:42 verbose #79489 > │ v443 │
00:29:42 verbose #79490 > │ #endif │
00:29:42 verbose #79491 > │ │
00:29:42 verbose #79492 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79493 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:42 verbose #79494 > │ v444 │
00:29:42 verbose #79495 > │ #endif │
00:29:42 verbose #79496 > │ │
00:29:42 verbose #79497 > │ #else │
00:29:42 verbose #79498 > │ let v445 : (unit -> unit) = method21(v369) │
00:29:42 verbose #79499 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:29:42 verbose #79500 > │ _.Dispose () = v445 () } │
00:29:42 verbose #79501 > │ v446 │
00:29:42 verbose #79502 > │ #endif │
00:29:42 verbose #79503 > │ |> fun x -> _v437 <- Some x │
00:29:42 verbose #79504 > │ let v447 : System.IDisposable = _v437.Value │
00:29:42 verbose #79505 > │ v447 │
00:29:42 verbose #79506 > │ #endif │
00:29:42 verbose #79507 > │ |> fun x -> _v370 <- Some x │
00:29:42 verbose #79508 > │ let v448 : System.IDisposable = _v370.Value │
00:29:42 verbose #79509 > │ use v448 = v448 │
00:29:42 verbose #79510 > │ let v449 : System.IDisposable = v448 │
00:29:42 verbose #79511 > │ let v450 : string = "test.txt" │
00:29:42 verbose #79512 > │ let v451 : string = method1(v369, v450) │
00:29:42 verbose #79513 > │ let v452 : Async<struct (int64 * string)> option = None │
00:29:42 verbose #79514 > │ let v453 : bool = true in let mutable _v452 = v452 │
00:29:42 verbose #79515 > │ │
00:29:42 verbose #79516 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79517 > │ │
00:29:42 verbose #79518 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79519 > │ let v454 : Async<struct (int64 * string)> = null |> unbox<Async<struct │
00:29:42 verbose #79520 > │ (int64 * string)>> │
00:29:42 verbose #79521 > │ v454 │
00:29:42 verbose #79522 > │ #endif │
00:29:42 verbose #79523 > │ │
00:29:42 verbose #79524 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79525 > │ let v455 : Async<struct (int64 * string)> = null |> unbox<Async<struct │
00:29:42 verbose #79526 > │ (int64 * string)>> │
00:29:42 verbose #79527 > │ v455 │
00:29:42 verbose #79528 > │ #endif │
00:29:42 verbose #79529 > │ │
00:29:42 verbose #79530 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79531 > │ let v456 : Async<struct (int64 * string)> = null |> unbox<Async<struct │
00:29:42 verbose #79532 > │ (int64 * string)>> │
00:29:42 verbose #79533 > │ v456 │
00:29:42 verbose #79534 > │ #endif │
00:29:42 verbose #79535 > │ │
00:29:42 verbose #79536 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79537 > │ let v457 : Async<struct (int64 * string)> = null |> unbox<Async<struct │
00:29:42 verbose #79538 > │ (int64 * string)>> │
00:29:42 verbose #79539 > │ v457 │
00:29:42 verbose #79540 > │ #endif │
00:29:42 verbose #79541 > │ │
00:29:42 verbose #79542 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79543 > │ let v458 : Async<struct (int64 * string)> = null |> unbox<Async<struct │
00:29:42 verbose #79544 > │ (int64 * string)>> │
00:29:42 verbose #79545 > │ v458 │
00:29:42 verbose #79546 > │ #endif │
00:29:42 verbose #79547 > │ │
00:29:42 verbose #79548 > │ #else │
00:29:42 verbose #79549 > │ let v459 : Async<struct (int64 * string)> option = None │
00:29:42 verbose #79550 > │ let mutable _v459 = v459 │
00:29:42 verbose #79551 > │ async { │
00:29:42 verbose #79552 > │ let v460 : US3 = US3_1 │
00:29:42 verbose #79553 > │ let v461 : (unit -> string) = closure20() │
00:29:42 verbose #79554 > │ let v462 : (unit -> string) = closure6() │
00:29:42 verbose #79555 > │ method12(v460, v461, v462) │
00:29:42 verbose #79556 > │ let v463 : Async<unit> option = None │
00:29:42 verbose #79557 > │ let v464 : bool = true in let mutable _v463 = v463 │
00:29:42 verbose #79558 > │ │
00:29:42 verbose #79559 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79560 > │ │
00:29:42 verbose #79561 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79562 > │ let v465 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79563 > │ v465 │
00:29:42 verbose #79564 > │ #endif │
00:29:42 verbose #79565 > │ │
00:29:42 verbose #79566 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79567 > │ let v466 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79568 > │ v466 │
00:29:42 verbose #79569 > │ #endif │
00:29:42 verbose #79570 > │ │
00:29:42 verbose #79571 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79572 > │ let v467 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79573 > │ v467 │
00:29:42 verbose #79574 > │ #endif │
00:29:42 verbose #79575 > │ │
00:29:42 verbose #79576 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79577 > │ let v468 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79578 > │ v468 │
00:29:42 verbose #79579 > │ #endif │
00:29:42 verbose #79580 > │ │
00:29:42 verbose #79581 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79582 > │ let v469 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79583 > │ v469 │
00:29:42 verbose #79584 > │ #endif │
00:29:42 verbose #79585 > │ │
00:29:42 verbose #79586 > │ #else │
00:29:42 verbose #79587 > │ let v470 : string = "0" │
00:29:42 verbose #79588 > │ let v471 : System.Threading.Tasks.Task = │
00:29:42 verbose #79589 > │ System.IO.File.WriteAllTextAsync (v451, v470) │
00:29:42 verbose #79590 > │ let v472 : Async<unit> option = None │
00:29:42 verbose #79591 > │ let v473 : bool = true in let mutable _v472 = v472 │
00:29:42 verbose #79592 > │ │
00:29:42 verbose #79593 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79594 > │ │
00:29:42 verbose #79595 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79596 > │ let v474 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79597 > │ v474 │
00:29:42 verbose #79598 > │ #endif │
00:29:42 verbose #79599 > │ │
00:29:42 verbose #79600 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79601 > │ let v475 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79602 > │ v475 │
00:29:42 verbose #79603 > │ #endif │
00:29:42 verbose #79604 > │ │
00:29:42 verbose #79605 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79606 > │ let v476 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79607 > │ v476 │
00:29:42 verbose #79608 > │ #endif │
00:29:42 verbose #79609 > │ │
00:29:42 verbose #79610 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79611 > │ let v477 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79612 > │ v477 │
00:29:42 verbose #79613 > │ #endif │
00:29:42 verbose #79614 > │ │
00:29:42 verbose #79615 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79616 > │ let v478 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79617 > │ v478 │
00:29:42 verbose #79618 > │ #endif │
00:29:42 verbose #79619 > │ │
00:29:42 verbose #79620 > │ #else │
00:29:42 verbose #79621 > │ let v479 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:29:42 verbose #79622 > │ Async.AwaitTask │
00:29:42 verbose #79623 > │ let v480 : Async<unit> = v479 v471 │
00:29:42 verbose #79624 > │ v480 │
00:29:42 verbose #79625 > │ #endif │
00:29:42 verbose #79626 > │ |> fun x -> _v472 <- Some x │
00:29:42 verbose #79627 > │ let v481 : Async<unit> = _v472.Value │
00:29:42 verbose #79628 > │ v481 │
00:29:42 verbose #79629 > │ #endif │
00:29:42 verbose #79630 > │ |> fun x -> _v463 <- Some x │
00:29:42 verbose #79631 > │ let v482 : Async<unit> = _v463.Value │
00:29:42 verbose #79632 > │ do! v482 │
00:29:42 verbose #79633 > │ let v483 : US3 = US3_1 │
00:29:42 verbose #79634 > │ let v484 : (unit -> string) = closure21() │
00:29:42 verbose #79635 > │ method12(v483, v484, v462) │
00:29:42 verbose #79636 > │ let v485 : Async<unit> option = None │
00:29:42 verbose #79637 > │ let v486 : bool = true in let mutable _v485 = v485 │
00:29:42 verbose #79638 > │ │
00:29:42 verbose #79639 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79640 > │ │
00:29:42 verbose #79641 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79642 > │ let v487 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79643 > │ v487 │
00:29:42 verbose #79644 > │ #endif │
00:29:42 verbose #79645 > │ │
00:29:42 verbose #79646 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79647 > │ let v488 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79648 > │ v488 │
00:29:42 verbose #79649 > │ #endif │
00:29:42 verbose #79650 > │ │
00:29:42 verbose #79651 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79652 > │ let v489 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79653 > │ v489 │
00:29:42 verbose #79654 > │ #endif │
00:29:42 verbose #79655 > │ │
00:29:42 verbose #79656 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79657 > │ let v490 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79658 > │ v490 │
00:29:42 verbose #79659 > │ #endif │
00:29:42 verbose #79660 > │ │
00:29:42 verbose #79661 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79662 > │ let v491 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79663 > │ v491 │
00:29:42 verbose #79664 > │ #endif │
00:29:42 verbose #79665 > │ │
00:29:42 verbose #79666 > │ #else │
00:29:42 verbose #79667 > │ let v492 : Async<unit> option = None │
00:29:42 verbose #79668 > │ let mutable _v492 = v492 │
00:29:42 verbose #79669 > │ async { │
00:29:42 verbose #79670 > │ let v493 : US3 = US3_1 │
00:29:42 verbose #79671 > │ let v494 : (unit -> string) = closure22() │
00:29:42 verbose #79672 > │ method12(v493, v494, v462) │
00:29:42 verbose #79673 > │ let v495 : System.IO.FileStream option = None │
00:29:42 verbose #79674 > │ let v496 : bool = true in let mutable _v495 = v495 │
00:29:42 verbose #79675 > │ │
00:29:42 verbose #79676 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79677 > │ │
00:29:42 verbose #79678 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79679 > │ let v497 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:42 verbose #79680 > │ v497 │
00:29:42 verbose #79681 > │ #endif │
00:29:42 verbose #79682 > │ │
00:29:42 verbose #79683 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79684 > │ let v498 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:42 verbose #79685 > │ v498 │
00:29:42 verbose #79686 > │ #endif │
00:29:42 verbose #79687 > │ │
00:29:42 verbose #79688 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79689 > │ let v499 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:42 verbose #79690 > │ v499 │
00:29:42 verbose #79691 > │ #endif │
00:29:42 verbose #79692 > │ │
00:29:42 verbose #79693 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79694 > │ let v500 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:42 verbose #79695 > │ v500 │
00:29:42 verbose #79696 > │ #endif │
00:29:42 verbose #79697 > │ │
00:29:42 verbose #79698 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79699 > │ let v501 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:42 verbose #79700 > │ v501 │
00:29:42 verbose #79701 > │ #endif │
00:29:42 verbose #79702 > │ │
00:29:42 verbose #79703 > │ #else │
00:29:42 verbose #79704 > │ let v502 : System.IO.FileMode = System.IO.FileMode.Open │
00:29:42 verbose #79705 > │ let v503 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:29:42 verbose #79706 > │ let v504 : System.IO.FileShare = System.IO.FileShare.None │
00:29:42 verbose #79707 > │ let v505 : System.IO.FileStream = new System.IO.FileStream (v451, v502, │
00:29:42 verbose #79708 > │ v503, v504) │
00:29:42 verbose #79709 > │ v505 │
00:29:42 verbose #79710 > │ #endif │
00:29:42 verbose #79711 > │ |> fun x -> _v495 <- Some x │
00:29:42 verbose #79712 > │ let v506 : System.IO.FileStream = _v495.Value │
00:29:42 verbose #79713 > │ use v506 = v506 │
00:29:42 verbose #79714 > │ let v507 : System.IO.FileStream = v506 │
00:29:42 verbose #79715 > │ let v508 : US3 = US3_1 │
00:29:42 verbose #79716 > │ let v509 : (unit -> string) = closure23() │
00:29:42 verbose #79717 > │ method12(v508, v509, v462) │
00:29:42 verbose #79718 > │ let v510 : Async<unit> option = None │
00:29:42 verbose #79719 > │ let v511 : bool = true in let mutable _v510 = v510 │
00:29:42 verbose #79720 > │ │
00:29:42 verbose #79721 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79722 > │ │
00:29:42 verbose #79723 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79724 > │ let v512 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79725 > │ v512 │
00:29:42 verbose #79726 > │ #endif │
00:29:42 verbose #79727 > │ │
00:29:42 verbose #79728 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79729 > │ let v513 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79730 > │ v513 │
00:29:42 verbose #79731 > │ #endif │
00:29:42 verbose #79732 > │ │
00:29:42 verbose #79733 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79734 > │ let v514 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79735 > │ v514 │
00:29:42 verbose #79736 > │ #endif │
00:29:42 verbose #79737 > │ │
00:29:42 verbose #79738 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79739 > │ let v515 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79740 > │ v515 │
00:29:42 verbose #79741 > │ #endif │
00:29:42 verbose #79742 > │ │
00:29:42 verbose #79743 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79744 > │ let v516 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79745 > │ v516 │
00:29:42 verbose #79746 > │ #endif │
00:29:42 verbose #79747 > │ │
00:29:42 verbose #79748 > │ #else │
00:29:42 verbose #79749 > │ let v517 : (int32 -> Async<unit>) = Async.Sleep │
00:29:42 verbose #79750 > │ let v518 : Async<unit> = v517 2000 │
00:29:42 verbose #79751 > │ v518 │
00:29:42 verbose #79752 > │ #endif │
00:29:42 verbose #79753 > │ |> fun x -> _v510 <- Some x │
00:29:42 verbose #79754 > │ let v519 : Async<unit> = _v510.Value │
00:29:42 verbose #79755 > │ do! v519 │
00:29:42 verbose #79756 > │ let v520 : US3 = US3_1 │
00:29:42 verbose #79757 > │ let v521 : (unit -> string) = closure24() │
00:29:42 verbose #79758 > │ method12(v520, v521, v462) │
00:29:42 verbose #79759 > │ let v522 : int64 = v507.Seek (0L, System.IO.SeekOrigin.Begin) │
00:29:42 verbose #79760 > │ let v523 : US3 = US3_1 │
00:29:42 verbose #79761 > │ let v524 : (unit -> string) = closure25() │
00:29:42 verbose #79762 > │ method12(v523, v524, v462) │
00:29:42 verbose #79763 > │ let v525 : (uint8 -> unit) = v507.WriteByte │
00:29:42 verbose #79764 > │ v525 49uy │
00:29:42 verbose #79765 > │ let v526 : US3 = US3_1 │
00:29:42 verbose #79766 > │ let v527 : (unit -> string) = closure26() │
00:29:42 verbose #79767 > │ method12(v526, v527, v462) │
00:29:42 verbose #79768 > │ let v528 : (System.IO.FileStream -> unit) = _.Flush() │
00:29:42 verbose #79769 > │ v528 v507 │
00:29:42 verbose #79770 > │ let v529 : US3 = US3_1 │
00:29:42 verbose #79771 > │ let v530 : (unit -> string) = closure27() │
00:29:42 verbose #79772 > │ method12(v529, v530, v462) │
00:29:42 verbose #79773 > │ } │
00:29:42 verbose #79774 > │ |> fun x -> _v492 <- Some x │
00:29:42 verbose #79775 > │ let v531 : Async<unit> = _v492 |> Option.get │
00:29:42 verbose #79776 > │ v531 │
00:29:42 verbose #79777 > │ #endif │
00:29:42 verbose #79778 > │ |> fun x -> _v485 <- Some x │
00:29:42 verbose #79779 > │ let v532 : Async<unit> = _v485.Value │
00:29:42 verbose #79780 > │ let v533 : Async<Async<unit>> option = None │
00:29:42 verbose #79781 > │ let v534 : bool = true in let mutable _v533 = v533 │
00:29:42 verbose #79782 > │ │
00:29:42 verbose #79783 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79784 > │ │
00:29:42 verbose #79785 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79786 > │ let v535 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:42 verbose #79787 > │ v535 │
00:29:42 verbose #79788 > │ #endif │
00:29:42 verbose #79789 > │ │
00:29:42 verbose #79790 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79791 > │ let v536 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:42 verbose #79792 > │ v536 │
00:29:42 verbose #79793 > │ #endif │
00:29:42 verbose #79794 > │ │
00:29:42 verbose #79795 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79796 > │ let v537 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:42 verbose #79797 > │ v537 │
00:29:42 verbose #79798 > │ #endif │
00:29:42 verbose #79799 > │ │
00:29:42 verbose #79800 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79801 > │ let v538 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:42 verbose #79802 > │ v538 │
00:29:42 verbose #79803 > │ #endif │
00:29:42 verbose #79804 > │ │
00:29:42 verbose #79805 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79806 > │ let v539 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:42 verbose #79807 > │ v539 │
00:29:42 verbose #79808 > │ #endif │
00:29:42 verbose #79809 > │ │
00:29:42 verbose #79810 > │ #else │
00:29:42 verbose #79811 > │ let v540 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:29:42 verbose #79812 > │ let v541 : Async<Async<unit>> = v540 v532 │
00:29:42 verbose #79813 > │ v541 │
00:29:42 verbose #79814 > │ #endif │
00:29:42 verbose #79815 > │ |> fun x -> _v533 <- Some x │
00:29:42 verbose #79816 > │ let v542 : Async<Async<unit>> = _v533.Value │
00:29:42 verbose #79817 > │ let! v542 = v542 │
00:29:42 verbose #79818 > │ let v543 : Async<unit> = v542 │
00:29:42 verbose #79819 > │ let v544 : US3 = US3_1 │
00:29:42 verbose #79820 > │ let v545 : (unit -> string) = closure28() │
00:29:42 verbose #79821 > │ method12(v544, v545, v462) │
00:29:42 verbose #79822 > │ let v546 : Async<unit> option = None │
00:29:42 verbose #79823 > │ let v547 : bool = true in let mutable _v546 = v546 │
00:29:42 verbose #79824 > │ │
00:29:42 verbose #79825 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79826 > │ │
00:29:42 verbose #79827 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79828 > │ let v548 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79829 > │ v548 │
00:29:42 verbose #79830 > │ #endif │
00:29:42 verbose #79831 > │ │
00:29:42 verbose #79832 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79833 > │ let v549 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79834 > │ v549 │
00:29:42 verbose #79835 > │ #endif │
00:29:42 verbose #79836 > │ │
00:29:42 verbose #79837 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79838 > │ let v550 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79839 > │ v550 │
00:29:42 verbose #79840 > │ #endif │
00:29:42 verbose #79841 > │ │
00:29:42 verbose #79842 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79843 > │ let v551 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79844 > │ v551 │
00:29:42 verbose #79845 > │ #endif │
00:29:42 verbose #79846 > │ │
00:29:42 verbose #79847 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79848 > │ let v552 : Async<unit> = null |> unbox<Async<unit>> │
00:29:42 verbose #79849 > │ v552 │
00:29:42 verbose #79850 > │ #endif │
00:29:42 verbose #79851 > │ │
00:29:42 verbose #79852 > │ #else │
00:29:42 verbose #79853 > │ let v553 : (int32 -> Async<unit>) = Async.Sleep │
00:29:42 verbose #79854 > │ let v554 : Async<unit> = v553 1 │
00:29:42 verbose #79855 > │ v554 │
00:29:42 verbose #79856 > │ #endif │
00:29:42 verbose #79857 > │ |> fun x -> _v546 <- Some x │
00:29:42 verbose #79858 > │ let v555 : Async<unit> = _v546.Value │
00:29:42 verbose #79859 > │ do! v555 │
00:29:42 verbose #79860 > │ let v556 : US3 = US3_1 │
00:29:42 verbose #79861 > │ let v557 : (unit -> string) = closure29() │
00:29:42 verbose #79862 > │ method12(v556, v557, v462) │
00:29:42 verbose #79863 > │ let v558 : Async<int64> option = None │
00:29:42 verbose #79864 > │ let v559 : bool = true in let mutable _v558 = v558 │
00:29:42 verbose #79865 > │ │
00:29:42 verbose #79866 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79867 > │ │
00:29:42 verbose #79868 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79869 > │ let v560 : Async<int64> = null |> unbox<Async<int64>> │
00:29:42 verbose #79870 > │ v560 │
00:29:42 verbose #79871 > │ #endif │
00:29:42 verbose #79872 > │ │
00:29:42 verbose #79873 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79874 > │ let v561 : Async<int64> = null |> unbox<Async<int64>> │
00:29:42 verbose #79875 > │ v561 │
00:29:42 verbose #79876 > │ #endif │
00:29:42 verbose #79877 > │ │
00:29:42 verbose #79878 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79879 > │ let v562 : Async<int64> = null |> unbox<Async<int64>> │
00:29:42 verbose #79880 > │ v562 │
00:29:42 verbose #79881 > │ #endif │
00:29:42 verbose #79882 > │ │
00:29:42 verbose #79883 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79884 > │ let v563 : Async<int64> = null |> unbox<Async<int64>> │
00:29:42 verbose #79885 > │ v563 │
00:29:42 verbose #79886 > │ #endif │
00:29:42 verbose #79887 > │ │
00:29:42 verbose #79888 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79889 > │ let v564 : Async<int64> = null |> unbox<Async<int64>> │
00:29:42 verbose #79890 > │ v564 │
00:29:42 verbose #79891 > │ #endif │
00:29:42 verbose #79892 > │ │
00:29:42 verbose #79893 > │ #else │
00:29:42 verbose #79894 > │ let v565 : int64 = 0L │
00:29:42 verbose #79895 > │ let v566 : Async<int64> = method22(v451, v565) │
00:29:42 verbose #79896 > │ v566 │
00:29:42 verbose #79897 > │ #endif │
00:29:42 verbose #79898 > │ |> fun x -> _v558 <- Some x │
00:29:42 verbose #79899 > │ let v567 : Async<int64> = _v558.Value │
00:29:42 verbose #79900 > │ let! v567 = v567 │
00:29:42 verbose #79901 > │ let v568 : int64 = v567 │
00:29:42 verbose #79902 > │ let v569 : US3 = US3_1 │
00:29:42 verbose #79903 > │ let v570 : (unit -> string) = closure32() │
00:29:42 verbose #79904 > │ method12(v569, v570, v462) │
00:29:42 verbose #79905 > │ let v571 : Async<string> option = None │
00:29:42 verbose #79906 > │ let v572 : bool = true in let mutable _v571 = v571 │
00:29:42 verbose #79907 > │ │
00:29:42 verbose #79908 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79909 > │ │
00:29:42 verbose #79910 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79911 > │ let v573 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79912 > │ v573 │
00:29:42 verbose #79913 > │ #endif │
00:29:42 verbose #79914 > │ │
00:29:42 verbose #79915 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79916 > │ let v574 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79917 > │ v574 │
00:29:42 verbose #79918 > │ #endif │
00:29:42 verbose #79919 > │ │
00:29:42 verbose #79920 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79921 > │ let v575 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79922 > │ v575 │
00:29:42 verbose #79923 > │ #endif │
00:29:42 verbose #79924 > │ │
00:29:42 verbose #79925 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79926 > │ let v576 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79927 > │ v576 │
00:29:42 verbose #79928 > │ #endif │
00:29:42 verbose #79929 > │ │
00:29:42 verbose #79930 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79931 > │ let v577 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79932 > │ v577 │
00:29:42 verbose #79933 > │ #endif │
00:29:42 verbose #79934 > │ │
00:29:42 verbose #79935 > │ #else │
00:29:42 verbose #79936 > │ let v578 : (string -> System.Threading.Tasks.Task<string>) = │
00:29:42 verbose #79937 > │ System.IO.File.ReadAllTextAsync │
00:29:42 verbose #79938 > │ let v579 : System.Threading.Tasks.Task<string> = v578 v451 │
00:29:42 verbose #79939 > │ let v580 : Async<string> option = None │
00:29:42 verbose #79940 > │ let v581 : bool = true in let mutable _v580 = v580 │
00:29:42 verbose #79941 > │ │
00:29:42 verbose #79942 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #79943 > │ │
00:29:42 verbose #79944 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #79945 > │ let v582 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79946 > │ v582 │
00:29:42 verbose #79947 > │ #endif │
00:29:42 verbose #79948 > │ │
00:29:42 verbose #79949 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #79950 > │ let v583 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79951 > │ v583 │
00:29:42 verbose #79952 > │ #endif │
00:29:42 verbose #79953 > │ │
00:29:42 verbose #79954 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #79955 > │ let v584 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79956 > │ v584 │
00:29:42 verbose #79957 > │ #endif │
00:29:42 verbose #79958 > │ │
00:29:42 verbose #79959 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #79960 > │ let v585 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79961 > │ v585 │
00:29:42 verbose #79962 > │ #endif │
00:29:42 verbose #79963 > │ │
00:29:42 verbose #79964 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #79965 > │ let v586 : Async<string> = null |> unbox<Async<string>> │
00:29:42 verbose #79966 > │ v586 │
00:29:42 verbose #79967 > │ #endif │
00:29:42 verbose #79968 > │ │
00:29:42 verbose #79969 > │ #else │
00:29:42 verbose #79970 > │ let v587 : (System.Threading.Tasks.Task<string> -> Async<string>) = │
00:29:42 verbose #79971 > │ Async.AwaitTask │
00:29:42 verbose #79972 > │ let v588 : Async<string> = v587 v579 │
00:29:42 verbose #79973 > │ v588 │
00:29:42 verbose #79974 > │ #endif │
00:29:42 verbose #79975 > │ |> fun x -> _v580 <- Some x │
00:29:42 verbose #79976 > │ let v589 : Async<string> = _v580.Value │
00:29:42 verbose #79977 > │ v589 │
00:29:42 verbose #79978 > │ #endif │
00:29:42 verbose #79979 > │ |> fun x -> _v571 <- Some x │
00:29:42 verbose #79980 > │ let v590 : Async<string> = _v571.Value │
00:29:42 verbose #79981 > │ let! v590 = v590 │
00:29:42 verbose #79982 > │ let v591 : string = v590 │
00:29:42 verbose #79983 > │ let v592 : US3 = US3_1 │
00:29:42 verbose #79984 > │ let v593 : (unit -> string) = closure33() │
00:29:42 verbose #79985 > │ method12(v592, v593, v462) │
00:29:42 verbose #79986 > │ do! v543 │
00:29:42 verbose #79987 > │ let v594 : US3 = US3_1 │
00:29:42 verbose #79988 > │ let v595 : (unit -> string) = closure34() │
00:29:42 verbose #79989 > │ method12(v594, v595, v462) │
00:29:42 verbose #79990 > │ return struct (v568, v591) │
00:29:42 verbose #79991 > │ } │
00:29:42 verbose #79992 > │ |> fun x -> _v459 <- Some x │
00:29:42 verbose #79993 > │ let v596 : Async<struct (int64 * string)> = _v459 |> Option.get │
00:29:42 verbose #79994 > │ v596 │
00:29:42 verbose #79995 > │ #endif │
00:29:42 verbose #79996 > │ |> fun x -> _v452 <- Some x │
00:29:42 verbose #79997 > │ let v597 : Async<struct (int64 * string)> = _v452.Value │
00:29:42 verbose #79998 > │ let v598 : Async<US6> option = None │
00:29:42 verbose #79999 > │ let v599 : bool = true in let mutable _v598 = v598 │
00:29:42 verbose #80000 > │ │
00:29:42 verbose #80001 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80002 > │ │
00:29:42 verbose #80003 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80004 > │ let v600 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80005 > │ v600 │
00:29:42 verbose #80006 > │ #endif │
00:29:42 verbose #80007 > │ │
00:29:42 verbose #80008 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80009 > │ let v601 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80010 > │ v601 │
00:29:42 verbose #80011 > │ #endif │
00:29:42 verbose #80012 > │ │
00:29:42 verbose #80013 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80014 > │ let v602 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80015 > │ v602 │
00:29:42 verbose #80016 > │ #endif │
00:29:42 verbose #80017 > │ │
00:29:42 verbose #80018 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80019 > │ let v603 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80020 > │ v603 │
00:29:42 verbose #80021 > │ #endif │
00:29:42 verbose #80022 > │ │
00:29:42 verbose #80023 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80024 > │ let v604 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80025 > │ v604 │
00:29:42 verbose #80026 > │ #endif │
00:29:42 verbose #80027 > │ │
00:29:42 verbose #80028 > │ #else │
00:29:42 verbose #80029 > │ let v605 : Async<US6> option = None │
00:29:42 verbose #80030 > │ let v606 : bool = true in let mutable _v605 = v605 │
00:29:42 verbose #80031 > │ │
00:29:42 verbose #80032 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80033 > │ │
00:29:42 verbose #80034 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80035 > │ let v607 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80036 > │ v607 │
00:29:42 verbose #80037 > │ #endif │
00:29:42 verbose #80038 > │ │
00:29:42 verbose #80039 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80040 > │ let v608 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80041 > │ v608 │
00:29:42 verbose #80042 > │ #endif │
00:29:42 verbose #80043 > │ │
00:29:42 verbose #80044 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80045 > │ let v609 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80046 > │ v609 │
00:29:42 verbose #80047 > │ #endif │
00:29:42 verbose #80048 > │ │
00:29:42 verbose #80049 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80050 > │ let v610 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80051 > │ v610 │
00:29:42 verbose #80052 > │ #endif │
00:29:42 verbose #80053 > │ │
00:29:42 verbose #80054 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80055 > │ let v611 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80056 > │ v611 │
00:29:42 verbose #80057 > │ #endif │
00:29:42 verbose #80058 > │ │
00:29:42 verbose #80059 > │ #else │
00:29:42 verbose #80060 > │ let v612 : Async<US6> option = None │
00:29:42 verbose #80061 > │ let mutable _v612 = v612 │
00:29:42 verbose #80062 > │ async { │
00:29:42 verbose #80063 > │ let v613 : Async<Async<struct (int64 * string)>> option = None │
00:29:42 verbose #80064 > │ let v614 : bool = true in let mutable _v613 = v613 │
00:29:42 verbose #80065 > │ │
00:29:42 verbose #80066 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80067 > │ │
00:29:42 verbose #80068 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80069 > │ let v615 : Async<Async<struct (int64 * string)>> = null |> │
00:29:42 verbose #80070 > │ unbox<Async<Async<struct (int64 * string)>>> │
00:29:42 verbose #80071 > │ v615 │
00:29:42 verbose #80072 > │ #endif │
00:29:42 verbose #80073 > │ │
00:29:42 verbose #80074 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80075 > │ let v616 : Async<Async<struct (int64 * string)>> = null |> │
00:29:42 verbose #80076 > │ unbox<Async<Async<struct (int64 * string)>>> │
00:29:42 verbose #80077 > │ v616 │
00:29:42 verbose #80078 > │ #endif │
00:29:42 verbose #80079 > │ │
00:29:42 verbose #80080 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80081 > │ let v617 : Async<Async<struct (int64 * string)>> = null |> │
00:29:42 verbose #80082 > │ unbox<Async<Async<struct (int64 * string)>>> │
00:29:42 verbose #80083 > │ v617 │
00:29:42 verbose #80084 > │ #endif │
00:29:42 verbose #80085 > │ │
00:29:42 verbose #80086 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80087 > │ let v618 : Async<Async<struct (int64 * string)>> = null |> │
00:29:42 verbose #80088 > │ unbox<Async<Async<struct (int64 * string)>>> │
00:29:42 verbose #80089 > │ v618 │
00:29:42 verbose #80090 > │ #endif │
00:29:42 verbose #80091 > │ │
00:29:42 verbose #80092 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80093 > │ let v619 : Async<Async<struct (int64 * string)>> = null |> │
00:29:42 verbose #80094 > │ unbox<Async<Async<struct (int64 * string)>>> │
00:29:42 verbose #80095 > │ v619 │
00:29:42 verbose #80096 > │ #endif │
00:29:42 verbose #80097 > │ │
00:29:42 verbose #80098 > │ #else │
00:29:42 verbose #80099 > │ let v620 : Async<Async<struct (int64 * string)>> = Async.StartChild │
00:29:42 verbose #80100 > │ (v597, 3000) │
00:29:42 verbose #80101 > │ v620 │
00:29:42 verbose #80102 > │ #endif │
00:29:42 verbose #80103 > │ |> fun x -> _v613 <- Some x │
00:29:42 verbose #80104 > │ let v621 : Async<Async<struct (int64 * string)>> = _v613.Value │
00:29:42 verbose #80105 > │ let! v621 = v621 │
00:29:42 verbose #80106 > │ let v622 : Async<struct (int64 * string)> = v621 │
00:29:42 verbose #80107 > │ let v623 : Async<Choice<struct (int64 * string), exn>> option = None │
00:29:42 verbose #80108 > │ let v624 : bool = true in let mutable _v623 = v623 │
00:29:42 verbose #80109 > │ │
00:29:42 verbose #80110 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80111 > │ │
00:29:42 verbose #80112 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80113 > │ let v625 : Async<Choice<struct (int64 * string), exn>> = null |> │
00:29:42 verbose #80114 > │ unbox<Async<Choice<struct (int64 * string), exn>>> │
00:29:42 verbose #80115 > │ v625 │
00:29:42 verbose #80116 > │ #endif │
00:29:42 verbose #80117 > │ │
00:29:42 verbose #80118 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80119 > │ let v626 : Async<Choice<struct (int64 * string), exn>> = null |> │
00:29:42 verbose #80120 > │ unbox<Async<Choice<struct (int64 * string), exn>>> │
00:29:42 verbose #80121 > │ v626 │
00:29:42 verbose #80122 > │ #endif │
00:29:42 verbose #80123 > │ │
00:29:42 verbose #80124 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80125 > │ let v627 : Async<Choice<struct (int64 * string), exn>> = null |> │
00:29:42 verbose #80126 > │ unbox<Async<Choice<struct (int64 * string), exn>>> │
00:29:42 verbose #80127 > │ v627 │
00:29:42 verbose #80128 > │ #endif │
00:29:42 verbose #80129 > │ │
00:29:42 verbose #80130 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80131 > │ let v628 : Async<Choice<struct (int64 * string), exn>> = null |> │
00:29:42 verbose #80132 > │ unbox<Async<Choice<struct (int64 * string), exn>>> │
00:29:42 verbose #80133 > │ v628 │
00:29:42 verbose #80134 > │ #endif │
00:29:42 verbose #80135 > │ │
00:29:42 verbose #80136 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80137 > │ let v629 : Async<Choice<struct (int64 * string), exn>> = null |> │
00:29:42 verbose #80138 > │ unbox<Async<Choice<struct (int64 * string), exn>>> │
00:29:42 verbose #80139 > │ v629 │
00:29:42 verbose #80140 > │ #endif │
00:29:42 verbose #80141 > │ │
00:29:42 verbose #80142 > │ #else │
00:29:42 verbose #80143 > │ let v630 : (Async<struct (int64 * string)> -> Async<Choice<struct (int64 │
00:29:42 verbose #80144 > │ * string), exn>>) = Async.Catch │
00:29:42 verbose #80145 > │ let v631 : Async<Choice<struct (int64 * string), exn>> = v630 v622 │
00:29:42 verbose #80146 > │ v631 │
00:29:42 verbose #80147 > │ #endif │
00:29:42 verbose #80148 > │ |> fun x -> _v623 <- Some x │
00:29:42 verbose #80149 > │ let v632 : Async<Choice<struct (int64 * string), exn>> = _v623.Value │
00:29:42 verbose #80150 > │ let v633 : Async<US7> option = None │
00:29:42 verbose #80151 > │ let v634 : bool = true in let mutable _v633 = v633 │
00:29:42 verbose #80152 > │ │
00:29:42 verbose #80153 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80154 > │ │
00:29:42 verbose #80155 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80156 > │ let v635 : Async<US7> = null |> unbox<Async<US7>> │
00:29:42 verbose #80157 > │ v635 │
00:29:42 verbose #80158 > │ #endif │
00:29:42 verbose #80159 > │ │
00:29:42 verbose #80160 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80161 > │ let v636 : Async<US7> = null |> unbox<Async<US7>> │
00:29:42 verbose #80162 > │ v636 │
00:29:42 verbose #80163 > │ #endif │
00:29:42 verbose #80164 > │ │
00:29:42 verbose #80165 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80166 > │ let v637 : Async<US7> = null |> unbox<Async<US7>> │
00:29:42 verbose #80167 > │ v637 │
00:29:42 verbose #80168 > │ #endif │
00:29:42 verbose #80169 > │ │
00:29:42 verbose #80170 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80171 > │ let v638 : Async<US7> = null |> unbox<Async<US7>> │
00:29:42 verbose #80172 > │ v638 │
00:29:42 verbose #80173 > │ #endif │
00:29:42 verbose #80174 > │ │
00:29:42 verbose #80175 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80176 > │ let v639 : Async<US7> = null |> unbox<Async<US7>> │
00:29:42 verbose #80177 > │ v639 │
00:29:42 verbose #80178 > │ #endif │
00:29:42 verbose #80179 > │ │
00:29:42 verbose #80180 > │ #else │
00:29:42 verbose #80181 > │ let v640 : Async<US7> option = None │
00:29:42 verbose #80182 > │ let mutable _v640 = v640 │
00:29:42 verbose #80183 > │ async { │
00:29:42 verbose #80184 > │ let! v632 = v632 │
00:29:42 verbose #80185 > │ let v641 : Choice<struct (int64 * string), exn> = v632 │
00:29:42 verbose #80186 > │ let v642 : US7 option = None │
00:29:42 verbose #80187 > │ let v643 : bool = true in let mutable _v642 = v642 │
00:29:42 verbose #80188 > │ │
00:29:42 verbose #80189 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80190 > │ │
00:29:42 verbose #80191 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80192 > │ let v644 : US7 = null |> unbox<US7> │
00:29:42 verbose #80193 > │ v644 │
00:29:42 verbose #80194 > │ #endif │
00:29:42 verbose #80195 > │ │
00:29:42 verbose #80196 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80197 > │ let v645 : US7 = null |> unbox<US7> │
00:29:42 verbose #80198 > │ v645 │
00:29:42 verbose #80199 > │ #endif │
00:29:42 verbose #80200 > │ │
00:29:42 verbose #80201 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80202 > │ let v646 : US7 = null |> unbox<US7> │
00:29:42 verbose #80203 > │ v646 │
00:29:42 verbose #80204 > │ #endif │
00:29:42 verbose #80205 > │ │
00:29:42 verbose #80206 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80207 > │ let v647 : US7 = null |> unbox<US7> │
00:29:42 verbose #80208 > │ v647 │
00:29:42 verbose #80209 > │ #endif │
00:29:42 verbose #80210 > │ │
00:29:42 verbose #80211 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80212 > │ let v648 : US7 = null |> unbox<US7> │
00:29:42 verbose #80213 > │ v648 │
00:29:42 verbose #80214 > │ #endif │
00:29:42 verbose #80215 > │ │
00:29:42 verbose #80216 > │ #else │
00:29:42 verbose #80217 > │ let v649 : (struct (int64 * string) -> US7) = closure35() │
00:29:42 verbose #80218 > │ let v650 : (exn -> US7) = closure36() │
00:29:42 verbose #80219 > │ let v651 : US7 = match v641 with Choice1Of2 x -> v649 x | Choice2Of2 x │
00:29:42 verbose #80220 > │ -> v650 x │
00:29:42 verbose #80221 > │ v651 │
00:29:42 verbose #80222 > │ #endif │
00:29:42 verbose #80223 > │ |> fun x -> _v642 <- Some x │
00:29:42 verbose #80224 > │ let v652 : US7 = _v642.Value │
00:29:42 verbose #80225 > │ return v652 │
00:29:42 verbose #80226 > │ } │
00:29:42 verbose #80227 > │ |> fun x -> _v640 <- Some x │
00:29:42 verbose #80228 > │ let v653 : Async<US7> = _v640 |> Option.get │
00:29:42 verbose #80229 > │ v653 │
00:29:42 verbose #80230 > │ #endif │
00:29:42 verbose #80231 > │ |> fun x -> _v633 <- Some x │
00:29:42 verbose #80232 > │ let v654 : Async<US7> = _v633.Value │
00:29:42 verbose #80233 > │ let v655 : Async<US8> option = None │
00:29:42 verbose #80234 > │ let v656 : bool = true in let mutable _v655 = v655 │
00:29:42 verbose #80235 > │ │
00:29:42 verbose #80236 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80237 > │ │
00:29:42 verbose #80238 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80239 > │ let v657 : Async<US8> = null |> unbox<Async<US8>> │
00:29:42 verbose #80240 > │ v657 │
00:29:42 verbose #80241 > │ #endif │
00:29:42 verbose #80242 > │ │
00:29:42 verbose #80243 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80244 > │ let v658 : Async<US8> = null |> unbox<Async<US8>> │
00:29:42 verbose #80245 > │ v658 │
00:29:42 verbose #80246 > │ #endif │
00:29:42 verbose #80247 > │ │
00:29:42 verbose #80248 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80249 > │ let v659 : Async<US8> = null |> unbox<Async<US8>> │
00:29:42 verbose #80250 > │ v659 │
00:29:42 verbose #80251 > │ #endif │
00:29:42 verbose #80252 > │ │
00:29:42 verbose #80253 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80254 > │ let v660 : Async<US8> = null |> unbox<Async<US8>> │
00:29:42 verbose #80255 > │ v660 │
00:29:42 verbose #80256 > │ #endif │
00:29:42 verbose #80257 > │ │
00:29:42 verbose #80258 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80259 > │ let v661 : Async<US8> = null |> unbox<Async<US8>> │
00:29:42 verbose #80260 > │ v661 │
00:29:42 verbose #80261 > │ #endif │
00:29:42 verbose #80262 > │ │
00:29:42 verbose #80263 > │ #else │
00:29:42 verbose #80264 > │ let v662 : Async<US8> option = None │
00:29:42 verbose #80265 > │ let mutable _v662 = v662 │
00:29:42 verbose #80266 > │ async { │
00:29:42 verbose #80267 > │ let! v654 = v654 │
00:29:42 verbose #80268 > │ let v663 : US7 = v654 │
00:29:42 verbose #80269 > │ let v670 : US8 = │
00:29:42 verbose #80270 > │ match v663 with │
00:29:42 verbose #80271 > │ | US7_0(v664, v665) -> (* Choice1Of2 *) │
00:29:42 verbose #80272 > │ US8_0(v664, v665) │
00:29:42 verbose #80273 > │ | US7_1(v667) -> (* Choice2Of2 *) │
00:29:42 verbose #80274 > │ US8_1(v667) │
00:29:42 verbose #80275 > │ return v670 │
00:29:42 verbose #80276 > │ } │
00:29:42 verbose #80277 > │ |> fun x -> _v662 <- Some x │
00:29:42 verbose #80278 > │ let v671 : Async<US8> = _v662 |> Option.get │
00:29:42 verbose #80279 > │ v671 │
00:29:42 verbose #80280 > │ #endif │
00:29:42 verbose #80281 > │ |> fun x -> _v655 <- Some x │
00:29:42 verbose #80282 > │ let v672 : Async<US8> = _v655.Value │
00:29:42 verbose #80283 > │ let v673 : Async<US6> option = None │
00:29:42 verbose #80284 > │ let v674 : bool = true in let mutable _v673 = v673 │
00:29:42 verbose #80285 > │ │
00:29:42 verbose #80286 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80287 > │ │
00:29:42 verbose #80288 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80289 > │ let v675 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80290 > │ v675 │
00:29:42 verbose #80291 > │ #endif │
00:29:42 verbose #80292 > │ │
00:29:42 verbose #80293 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80294 > │ let v676 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80295 > │ v676 │
00:29:42 verbose #80296 > │ #endif │
00:29:42 verbose #80297 > │ │
00:29:42 verbose #80298 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80299 > │ let v677 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80300 > │ v677 │
00:29:42 verbose #80301 > │ #endif │
00:29:42 verbose #80302 > │ │
00:29:42 verbose #80303 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80304 > │ let v678 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80305 > │ v678 │
00:29:42 verbose #80306 > │ #endif │
00:29:42 verbose #80307 > │ │
00:29:42 verbose #80308 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80309 > │ let v679 : Async<US6> = null |> unbox<Async<US6>> │
00:29:42 verbose #80310 > │ v679 │
00:29:42 verbose #80311 > │ #endif │
00:29:42 verbose #80312 > │ │
00:29:42 verbose #80313 > │ #else │
00:29:42 verbose #80314 > │ let v680 : Async<US6> option = None │
00:29:42 verbose #80315 > │ let mutable _v680 = v680 │
00:29:42 verbose #80316 > │ async { │
00:29:42 verbose #80317 > │ let! v672 = v672 │
00:29:42 verbose #80318 > │ let v681 : US8 = v672 │
00:29:42 verbose #80319 > │ let v708 : US6 = │
00:29:42 verbose #80320 > │ match v681 with │
00:29:42 verbose #80321 > │ | US8_1(v685) -> (* Error *) │
00:29:42 verbose #80322 > │ let v686 : string = $"%A{v685}" │
00:29:42 verbose #80323 > │ let v687 : string = "System.TimeoutException" │
00:29:42 verbose #80324 > │ let v688 : bool = v686.Contains v687 │
00:29:42 verbose #80325 > │ if v688 then │
00:29:42 verbose #80326 > │ let v689 : US3 = US3_1 │
00:29:42 verbose #80327 > │ let v690 : (unit -> string) = closure37() │
00:29:42 verbose #80328 > │ let v691 : (unit -> string) = closure38() │
00:29:42 verbose #80329 > │ method12(v689, v690, v691) │
00:29:42 verbose #80330 > │ US6_1 │
00:29:42 verbose #80331 > │ else │
00:29:42 verbose #80332 > │ let v693 : string option = None │
00:29:42 verbose #80333 > │ let v694 : bool = true in let mutable _v693 = v693 │
00:29:42 verbose #80334 > │ │
00:29:42 verbose #80335 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80336 > │ │
00:29:42 verbose #80337 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80338 > │ let v695 : string = $"%A{v685}" │
00:29:42 verbose #80339 > │ v695 │
00:29:42 verbose #80340 > │ #endif │
00:29:42 verbose #80341 > │ │
00:29:42 verbose #80342 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80343 > │ let v696 : string = $"%A{v685}" │
00:29:42 verbose #80344 > │ v696 │
00:29:42 verbose #80345 > │ #endif │
00:29:42 verbose #80346 > │ │
00:29:42 verbose #80347 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80348 > │ let v697 : string = $"%A{v685}" │
00:29:42 verbose #80349 > │ v697 │
00:29:42 verbose #80350 > │ #endif │
00:29:42 verbose #80351 > │ │
00:29:42 verbose #80352 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80353 > │ let v698 : string = $"%A{v685}" │
00:29:42 verbose #80354 > │ v698 │
00:29:42 verbose #80355 > │ #endif │
00:29:42 verbose #80356 > │ │
00:29:42 verbose #80357 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80358 > │ let v699 : string = $"%A{v685}" │
00:29:42 verbose #80359 > │ v699 │
00:29:42 verbose #80360 > │ #endif │
00:29:42 verbose #80361 > │ │
00:29:42 verbose #80362 > │ #else │
00:29:42 verbose #80363 > │ let v700 : string = $"{v685.GetType ()}: {v685.Message}" │
00:29:42 verbose #80364 > │ v700 │
00:29:42 verbose #80365 > │ #endif │
00:29:42 verbose #80366 > │ |> fun x -> _v693 <- Some x │
00:29:42 verbose #80367 > │ let v701 : string = _v693.Value │
00:29:42 verbose #80368 > │ let v702 : US3 = US3_4 │
00:29:42 verbose #80369 > │ let v703 : (unit -> string) = closure39(v701) │
00:29:42 verbose #80370 > │ let v704 : (unit -> string) = closure38() │
00:29:42 verbose #80371 > │ method12(v702, v703, v704) │
00:29:42 verbose #80372 > │ US6_1 │
00:29:42 verbose #80373 > │ | US8_0(v682, v683) -> (* Ok *) │
00:29:42 verbose #80374 > │ US6_0(v682, v683) │
00:29:42 verbose #80375 > │ return v708 │
00:29:42 verbose #80376 > │ } │
00:29:42 verbose #80377 > │ |> fun x -> _v680 <- Some x │
00:29:42 verbose #80378 > │ let v709 : Async<US6> = _v680 |> Option.get │
00:29:42 verbose #80379 > │ v709 │
00:29:42 verbose #80380 > │ #endif │
00:29:42 verbose #80381 > │ |> fun x -> _v673 <- Some x │
00:29:42 verbose #80382 > │ let v710 : Async<US6> = _v673.Value │
00:29:42 verbose #80383 > │ return! v710 │
00:29:42 verbose #80384 > │ } │
00:29:42 verbose #80385 > │ |> fun x -> _v612 <- Some x │
00:29:42 verbose #80386 > │ let v711 : Async<US6> = _v612 |> Option.get │
00:29:42 verbose #80387 > │ v711 │
00:29:42 verbose #80388 > │ #endif │
00:29:42 verbose #80389 > │ |> fun x -> _v605 <- Some x │
00:29:42 verbose #80390 > │ let v712 : Async<US6> = _v605.Value │
00:29:42 verbose #80391 > │ v712 │
00:29:42 verbose #80392 > │ #endif │
00:29:42 verbose #80393 > │ |> fun x -> _v598 <- Some x │
00:29:42 verbose #80394 > │ let v713 : Async<US6> = _v598.Value │
00:29:42 verbose #80395 > │ let v714 : US6 option = None │
00:29:42 verbose #80396 > │ let v715 : bool = true in let mutable _v714 = v714 │
00:29:42 verbose #80397 > │ │
00:29:42 verbose #80398 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80399 > │ │
00:29:42 verbose #80400 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80401 > │ let v716 : US6 = null |> unbox<US6> │
00:29:42 verbose #80402 > │ v716 │
00:29:42 verbose #80403 > │ #endif │
00:29:42 verbose #80404 > │ │
00:29:42 verbose #80405 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80406 > │ let v717 : US6 = null |> unbox<US6> │
00:29:42 verbose #80407 > │ v717 │
00:29:42 verbose #80408 > │ #endif │
00:29:42 verbose #80409 > │ │
00:29:42 verbose #80410 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80411 > │ let v718 : US6 = null |> unbox<US6> │
00:29:42 verbose #80412 > │ v718 │
00:29:42 verbose #80413 > │ #endif │
00:29:42 verbose #80414 > │ │
00:29:42 verbose #80415 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80416 > │ let v719 : US6 = null |> unbox<US6> │
00:29:42 verbose #80417 > │ v719 │
00:29:42 verbose #80418 > │ #endif │
00:29:42 verbose #80419 > │ │
00:29:42 verbose #80420 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80421 > │ let v720 : US6 = null |> unbox<US6> │
00:29:42 verbose #80422 > │ v720 │
00:29:42 verbose #80423 > │ #endif │
00:29:42 verbose #80424 > │ │
00:29:42 verbose #80425 > │ #else │
00:29:42 verbose #80426 > │ let v721 : (Async<US6> -> US6) = Async.RunSynchronously │
00:29:42 verbose #80427 > │ let v722 : US6 = v721 v713 │
00:29:42 verbose #80428 > │ v722 │
00:29:42 verbose #80429 > │ #endif │
00:29:42 verbose #80430 > │ |> fun x -> _v714 <- Some x │
00:29:42 verbose #80431 > │ let v723 : US6 = _v714.Value │
00:29:42 verbose #80432 > │ let v769 : bool = │
00:29:42 verbose #80433 > │ match v723 with │
00:29:42 verbose #80434 > │ | US6_0(v724, v725) -> (* Some *) │
00:29:42 verbose #80435 > │ let v726 : bool option = None │
00:29:42 verbose #80436 > │ let v727 : bool = true in let mutable _v726 = v726 │
00:29:42 verbose #80437 > │ │
00:29:42 verbose #80438 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80439 > │ │
00:29:42 verbose #80440 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80441 > │ let v728 : string = "cfg!(windows)" │
00:29:42 verbose #80442 > │ let v729 : bool = Fable.Core.RustInterop.emitRustExpr () v728 │
00:29:42 verbose #80443 > │ v729 │
00:29:42 verbose #80444 > │ #endif │
00:29:42 verbose #80445 > │ │
00:29:42 verbose #80446 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80447 > │ let v730 : bool = null |> unbox<bool> │
00:29:42 verbose #80448 > │ v730 │
00:29:42 verbose #80449 > │ #endif │
00:29:42 verbose #80450 > │ │
00:29:42 verbose #80451 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80452 > │ let v731 : bool = null |> unbox<bool> │
00:29:42 verbose #80453 > │ v731 │
00:29:42 verbose #80454 > │ #endif │
00:29:42 verbose #80455 > │ │
00:29:42 verbose #80456 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80457 > │ let v732 : bool = null |> unbox<bool> │
00:29:42 verbose #80458 > │ v732 │
00:29:42 verbose #80459 > │ #endif │
00:29:42 verbose #80460 > │ │
00:29:42 verbose #80461 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80462 > │ let v733 : bool = null |> unbox<bool> │
00:29:42 verbose #80463 > │ v733 │
00:29:42 verbose #80464 > │ #endif │
00:29:42 verbose #80465 > │ │
00:29:42 verbose #80466 > │ #else │
00:29:42 verbose #80467 > │ let v734 : System.Runtime.InteropServices.OSPlatform = │
00:29:42 verbose #80468 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:42 verbose #80469 > │ let v735 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:42 verbose #80470 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:42 verbose #80471 > │ let v736 : bool = v735 v734 │
00:29:42 verbose #80472 > │ v736 │
00:29:42 verbose #80473 > │ #endif │
00:29:42 verbose #80474 > │ |> fun x -> _v726 <- Some x │
00:29:42 verbose #80475 > │ let v737 : bool = _v726.Value │
00:29:42 verbose #80476 > │ let v738 : int64 = │
00:29:42 verbose #80477 > │ if v737 then │
00:29:42 verbose #80478 > │ 50L │
00:29:42 verbose #80479 > │ else │
00:29:42 verbose #80480 > │ 100L │
00:29:42 verbose #80481 > │ let v739 : bool option = None │
00:29:42 verbose #80482 > │ let v740 : bool = true in let mutable _v739 = v739 │
00:29:42 verbose #80483 > │ │
00:29:42 verbose #80484 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:42 verbose #80485 > │ │
00:29:42 verbose #80486 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:42 verbose #80487 > │ let v741 : string = "cfg!(windows)" │
00:29:42 verbose #80488 > │ let v742 : bool = Fable.Core.RustInterop.emitRustExpr () v741 │
00:29:42 verbose #80489 > │ v742 │
00:29:42 verbose #80490 > │ #endif │
00:29:42 verbose #80491 > │ │
00:29:42 verbose #80492 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:42 verbose #80493 > │ let v743 : bool = null |> unbox<bool> │
00:29:42 verbose #80494 > │ v743 │
00:29:42 verbose #80495 > │ #endif │
00:29:42 verbose #80496 > │ │
00:29:42 verbose #80497 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:42 verbose #80498 > │ let v744 : bool = null |> unbox<bool> │
00:29:42 verbose #80499 > │ v744 │
00:29:42 verbose #80500 > │ #endif │
00:29:42 verbose #80501 > │ │
00:29:42 verbose #80502 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:42 verbose #80503 > │ let v745 : bool = null |> unbox<bool> │
00:29:42 verbose #80504 > │ v745 │
00:29:42 verbose #80505 > │ #endif │
00:29:42 verbose #80506 > │ │
00:29:42 verbose #80507 > │ #if FABLE_COMPILER_PYTHON │
00:29:42 verbose #80508 > │ let v746 : bool = null |> unbox<bool> │
00:29:42 verbose #80509 > │ v746 │
00:29:42 verbose #80510 > │ #endif │
00:29:42 verbose #80511 > │ │
00:29:42 verbose #80512 > │ #else │
00:29:42 verbose #80513 > │ let v747 : System.Runtime.InteropServices.OSPlatform = │
00:29:42 verbose #80514 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:42 verbose #80515 > │ let v748 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:42 verbose #80516 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:42 verbose #80517 > │ let v749 : bool = v748 v747 │
00:29:42 verbose #80518 > │ v749 │
00:29:42 verbose #80519 > │ #endif │
00:29:42 verbose #80520 > │ |> fun x -> _v739 <- Some x │
00:29:42 verbose #80521 > │ let v750 : bool = _v739.Value │
00:29:42 verbose #80522 > │ let v751 : int64 = │
00:29:42 verbose #80523 > │ if v750 then │
00:29:42 verbose #80524 > │ 150L │
00:29:42 verbose #80525 > │ else │
00:29:42 verbose #80526 > │ 200L │
00:29:42 verbose #80527 > │ let v752 : bool = v724 >= v738 │
00:29:42 verbose #80528 > │ let v754 : bool = │
00:29:42 verbose #80529 > │ if v752 then │
00:29:42 verbose #80530 > │ true │
00:29:42 verbose #80531 > │ else │
00:29:42 verbose #80532 > │ method23(v752) │
00:29:42 verbose #80533 > │ let v755 : bool = v754 = false │
00:29:42 verbose #80534 > │ if v755 then │
00:29:42 verbose #80535 > │ failwith<unit> "__expect" │
00:29:42 verbose #80536 > │ let v756 : bool = v724 <= v751 │
00:29:42 verbose #80537 > │ let v758 : bool = │
00:29:42 verbose #80538 > │ if v756 then │
00:29:42 verbose #80539 > │ true │
00:29:42 verbose #80540 > │ else │
00:29:42 verbose #80541 > │ method23(v756) │
00:29:42 verbose #80542 > │ let v759 : bool = v758 = false │
00:29:42 verbose #80543 > │ if v759 then │
00:29:42 verbose #80544 > │ failwith<unit> "__expect" │
00:29:42 verbose #80545 > │ let v760 : string = "assert_between" │
00:29:42 verbose #80546 > │ let v761 : string = $"{v760} / actual: %A{v724} / expected: │
00:29:42 verbose #80547 > │ %A{struct (v738, v751)}" │
00:29:42 verbose #80548 > │ System.Console.WriteLine v761 │
00:29:42 verbose #80549 > │ let v762 : string = method24() │
00:29:42 verbose #80550 > │ let v763 : bool = v725 = v762 │
00:29:42 verbose #80551 > │ let v765 : bool = │
00:29:42 verbose #80552 > │ if v763 then │
00:29:42 verbose #80553 > │ true │
00:29:42 verbose #80554 > │ else │
00:29:42 verbose #80555 > │ method23(v763) │
00:29:42 verbose #80556 > │ let v766 : string = "assert_eq" │
00:29:42 verbose #80557 > │ let v767 : string = $"{v766} / actual: %A{v725} / expected: │
00:29:42 verbose #80558 > │ %A{v762}" │
00:29:42 verbose #80559 > │ System.Console.WriteLine v767 │
00:29:42 verbose #80560 > │ let v768 : bool = v765 = false │
00:29:42 verbose #80561 > │ if v768 then │
00:29:42 verbose #80562 > │ failwith<unit> v767 │
00:29:42 verbose #80563 > │ true │
00:29:42 verbose #80564 > │ | _ -> │
00:29:42 verbose #80565 > │ false │
00:29:42 verbose #80566 > │ let v771 : bool = │
00:29:42 verbose #80567 > │ if v769 then │
00:29:42 verbose #80568 > │ true │
00:29:42 verbose #80569 > │ else │
00:29:42 verbose #80570 > │ method23(v769) │
00:29:42 verbose #80571 > │ let v772 : string = "assert_eq" │
00:29:42 verbose #80572 > │ let v773 : string = $"{v772} / actual: %A{v769} / expected: %A{true}" │
00:29:42 verbose #80573 > │ System.Console.WriteLine v773 │
00:29:42 verbose #80574 > │ let v774 : bool = v771 = false │
00:29:42 verbose #80575 > │ if v774 then │
00:29:42 verbose #80576 > │ failwith<unit> v773 │
00:29:42 verbose #80577 > │ method0() │
00:29:42 verbose #80578 > │ │
00:29:42 verbose #80579 > │ 00:00:00 debug #1 1 │
00:29:42 verbose #80580 > │ 00:00:00 debug #2 2 │
00:29:42 verbose #80581 > │ 00:00:00 debug #3 3 │
00:29:42 verbose #80582 > │ 00:00:00 debug #4 _1 │
00:29:42 verbose #80583 > │ 00:00:00 debug #5 _2 │
00:29:42 verbose #80584 > │ 00:00:00 debug #6 4 │
00:29:42 verbose #80585 > │ 00:00:01 debug #7 file_system.wait_for_file_access / path: test.txt / │
00:29:42 verbose #80586 > │ retry: 100 / ex: System.IO.IOException: The process cannot access the file │
00:29:42 verbose #80587 > │ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0304-0058-5820-5004 │
00:29:42 verbose #80588 > │ 0012dbbe\test.txt' because it is being used by another process. │
00:29:42 verbose #80589 > │ 00:00:02 debug #8 _3 │
00:29:42 verbose #80590 > │ 00:00:02 debug #9 _4 │
00:29:42 verbose #80591 > │ 00:00:02 debug #10 _5 │
00:29:42 verbose #80592 > │ 00:00:02 debug #11 _6 │
00:29:42 verbose #80593 > │ 00:00:02 debug #12 5 │
00:29:42 verbose #80594 > │ 00:00:02 debug #13 6 │
00:29:42 verbose #80595 > │ 00:00:02 debug #14 7 │
00:29:42 verbose #80596 > │ assert_between / actual: 126L / expected: struct (50L, 150L) │
00:29:42 verbose #80597 > │ assert_eq / actual: "1" / expected: "1" │
00:29:42 verbose #80598 > │ assert_eq / actual: true / expected: true │
00:29:42 verbose #80599 > │ │
00:29:42 verbose #80600 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:42 verbose #80601 >
00:29:42 verbose #80602 > ── markdown ────────────────────────────────────────────────────────────────────
00:29:42 verbose #80603 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:42 verbose #80604 > │ ## read_all_text_retry_async │
00:29:42 verbose #80605 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:42 verbose #80606 >
00:29:42 verbose #80607 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:42 verbose #80608 > inl read_all_text_retry_async full_path : async.async (optionm'.option' string)
00:29:42 verbose #80609 > =
00:29:42 verbose #80610 > run_target function
00:29:42 verbose #80611 > | Fsharp (Native) => fun () =>
00:29:42 verbose #80612 > let rec loop (retry : i64) =
00:29:42 verbose #80613 > fun () =>
00:29:42 verbose #80614 > try_unit
00:29:42 verbose #80615 > fun () =>
00:29:42 verbose #80616 > if retry > 0
00:29:42 verbose #80617 > then
00:29:42 verbose #80618 > full_path
00:29:42 verbose #80619 > |> wait_for_file_access_read
00:29:42 verbose #80620 > |> async.run_with_timeout_async 1000
00:29:42 verbose #80621 > |> async.ignore
00:29:42 verbose #80622 > |> async.do
00:29:42 verbose #80623 > full_path |> read_all_text_async |> async.map (Some
00:29:42 verbose #80624 > >> optionm'.box) |> async.return_await
00:29:42 verbose #80625 > fun ex =>
00:29:42 verbose #80626 > fix_condition
00:29:42 verbose #80627 > fun () => retry <> 0
00:29:42 verbose #80628 > fun () =>
00:29:42 verbose #80629 > inl ex = ex |> sm'.format_exception
00:29:42 verbose #80630 > let _locals () = $'$"retry: {!retry} / ex:
00:29:42 verbose #80631 > {!ex} / {!_locals ()}"'
00:29:42 verbose #80632 > trace Debug (fun () =>
00:29:42 verbose #80633 > $'"read_all_text_retry_async"' : string) _locals
00:29:42 verbose #80634 > (None : _ string) |> optionm'.box |> return
00:29:42 verbose #80635 > fun () =>
00:29:42 verbose #80636 > loop (retry + 1) |> async.return_await
00:29:42 verbose #80637 > |> async.new_async
00:29:42 verbose #80638 > loop 0
00:29:42 verbose #80639 > | _ => fun () => null ()
00:29:43 verbose #80640 > 00:29:42 debug #990 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0a0d5371d21f847b99f29f4c35180029ed919ce2a11cbfbafc3f953fcbd5a0a5/main.spi
00:29:43 verbose #80641 >
00:29:43 verbose #80642 > ╭─[ 768.66ms - stdout ]────────────────────────────────────────────────────────╮
00:29:43 verbose #80643 > │ () │
00:29:43 verbose #80644 > │ │
00:29:43 verbose #80645 > │ │
00:29:43 verbose #80646 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:43 verbose #80647 >
00:29:43 verbose #80648 > ── markdown ────────────────────────────────────────────────────────────────────
00:29:43 verbose #80649 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:43 verbose #80650 > │ ## delete_file_async │
00:29:43 verbose #80651 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:43 verbose #80652 >
00:29:43 verbose #80653 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:43 verbose #80654 > inl delete_file_async path : _ i64 =
00:29:43 verbose #80655 > run_target function
00:29:43 verbose #80656 > | Fsharp (Native) => fun () =>
00:29:43 verbose #80657 > let rec loop (retry : i64) =
00:29:43 verbose #80658 > fun () =>
00:29:43 verbose #80659 > try_unit
00:29:43 verbose #80660 > fun () =>
00:29:43 verbose #80661 > path |> file_delete
00:29:43 verbose #80662 > return retry
00:29:43 verbose #80663 > fun ex =>
00:29:43 verbose #80664 > if retry % 100 = 0 then
00:29:43 verbose #80665 > trace Warning
00:29:43 verbose #80666 > fun () => "delete_file_async"
00:29:43 verbose #80667 > fun () =>
00:29:43 verbose #80668 > inl ex = ex |> sm'.format_exception
00:29:43 verbose #80669 > $'$"path: {!path |> !get_file_name}
00:29:43 verbose #80670 > ex: {!ex} / {!_locals ()}"'
00:29:43 verbose #80671 > async.sleep 10 |> async.do
00:29:43 verbose #80672 > loop (retry + 1) |> async.return_await
00:29:43 verbose #80673 > |> async.new_async
00:29:43 verbose #80674 > loop 0
00:29:43 verbose #80675 > | _ => fun () => null ()
00:29:43 verbose #80676 > 00:29:42 debug #991 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/48e33e94b58523e568f5e7e670900fd47092bb6939a4915284fc0089858db378/main.spi
00:29:44 verbose #80677 >
00:29:44 verbose #80678 > ╭─[ 727.81ms - stdout ]────────────────────────────────────────────────────────╮
00:29:44 verbose #80679 > │ () │
00:29:44 verbose #80680 > │ │
00:29:44 verbose #80681 > │ │
00:29:44 verbose #80682 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:44 verbose #80683 >
00:29:44 verbose #80684 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:44 verbose #80685 > //// test
00:29:44 verbose #80686 >
00:29:44 verbose #80687 > inl lock_file path =
00:29:44 verbose #80688 > fun () =>
00:29:44 verbose #80689 > trace Debug (fun () => "_1") _locals
00:29:44 verbose #80690 > file_stream
00:29:44 verbose #80691 > path
00:29:44 verbose #80692 > ModeOpen
00:29:44 verbose #80693 > AccessReadWrite
00:29:44 verbose #80694 > ShareNone
00:29:44 verbose #80695 > |> use
00:29:44 verbose #80696 > |> ignore
00:29:44 verbose #80697 > trace Debug (fun () => "_2") _locals
00:29:44 verbose #80698 > async.sleep 2000 |> async.do
00:29:44 verbose #80699 > trace Debug (fun () => "_3") _locals
00:29:44 verbose #80700 > |> async.new_async
00:29:44 verbose #80701 >
00:29:44 verbose #80702 > types ()
00:29:44 verbose #80703 > inl temp_dir, disposable = create_temp_directory ()
00:29:44 verbose #80704 > disposable |> use |> ignore
00:29:44 verbose #80705 > inl path = temp_dir </> "test.txt"
00:29:44 verbose #80706 >
00:29:44 verbose #80707 > fun () =>
00:29:44 verbose #80708 > trace Debug (fun () => "1") _locals
00:29:44 verbose #80709 > "0" |> write_all_text_async path |> async.do
00:29:44 verbose #80710 > trace Debug (fun () => "2") _locals
00:29:44 verbose #80711 > inl child = lock_file path |> async.start_child |> async.let'
00:29:44 verbose #80712 > trace Debug (fun () => "3") _locals
00:29:44 verbose #80713 > async.sleep 1 |> async.do
00:29:44 verbose #80714 > trace Debug (fun () => "4") _locals
00:29:44 verbose #80715 > inl retries = delete_file_async path |> async.let'
00:29:44 verbose #80716 > trace Debug (fun () => "5") _locals
00:29:44 verbose #80717 > child |> async.do
00:29:44 verbose #80718 > trace Debug (fun () => "6") _locals
00:29:44 verbose #80719 > return retries
00:29:44 verbose #80720 > |> async.new_async_unit
00:29:44 verbose #80721 > |> async.run_with_timeout 3000
00:29:44 verbose #80722 > |> function
00:29:44 verbose #80723 > | Some (retries : i64) =>
00:29:44 verbose #80724 > retries
00:29:44 verbose #80725 > |> _assert_between
00:29:44 verbose #80726 > (if runtime.is_windows () then 50 else 0)
00:29:44 verbose #80727 > (if runtime.is_windows () then 150 else 0)
00:29:44 verbose #80728 >
00:29:44 verbose #80729 > true
00:29:44 verbose #80730 > | _ => false
00:29:44 verbose #80731 > |> _assert_eq true
00:29:44 verbose #80732 > 00:29:43 debug #992 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a3420eb3aa78d760d5de970c5571ef11dfd8d2660e25fd9297e53ed444dcac3b/main.spi
00:29:47 verbose #80733 >
00:29:48 verbose #80734 > ╭─[ 3.88s - stdout ]───────────────────────────────────────────────────────────╮
00:29:48 verbose #80735 > │ #if FABLE_COMPILER │
00:29:48 verbose #80736 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:29:48 verbose #80737 > │ #endif │
00:29:48 verbose #80738 > │ type Func0<'T> = class end │
00:29:48 verbose #80739 > │ #if FABLE_COMPILER │
00:29:48 verbose #80740 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:29:48 verbose #80741 > │ #endif │
00:29:48 verbose #80742 > │ type Func0<'T, 'U> = class end │
00:29:48 verbose #80743 > │ #if FABLE_COMPILER │
00:29:48 verbose #80744 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:29:48 verbose #80745 > │ #endif │
00:29:48 verbose #80746 > │ type Box<'T> = class end │
00:29:48 verbose #80747 > │ #if FABLE_COMPILER │
00:29:48 verbose #80748 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:29:48 verbose #80749 > │ #endif │
00:29:48 verbose #80750 > │ type Dyn<'T> = class end │
00:29:48 verbose #80751 > │ #if FABLE_COMPILER │
00:29:48 verbose #80752 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:29:48 verbose #80753 > │ #endif │
00:29:48 verbose #80754 > │ type Send<'T> = class end │
00:29:48 verbose #80755 > │ #if FABLE_COMPILER │
00:29:48 verbose #80756 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:29:48 verbose #80757 > │ #endif │
00:29:48 verbose #80758 > │ type Fn<'T> = class end │
00:29:48 verbose #80759 > │ #if FABLE_COMPILER │
00:29:48 verbose #80760 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:29:48 verbose #80761 > │ #endif │
00:29:48 verbose #80762 > │ type FnUnit = class end │
00:29:48 verbose #80763 > │ #if FABLE_COMPILER │
00:29:48 verbose #80764 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:29:48 verbose #80765 > │ #endif │
00:29:48 verbose #80766 > │ type FnOnce<'T> = class end │
00:29:48 verbose #80767 > │ #if FABLE_COMPILER │
00:29:48 verbose #80768 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:29:48 verbose #80769 > │ #endif │
00:29:48 verbose #80770 > │ type ActionFn<'T> = class end │
00:29:48 verbose #80771 > │ #if FABLE_COMPILER │
00:29:48 verbose #80772 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:29:48 verbose #80773 > │ #endif │
00:29:48 verbose #80774 > │ type ActionFn2<'T, 'U> = class end │
00:29:48 verbose #80775 > │ #if FABLE_COMPILER │
00:29:48 verbose #80776 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:29:48 verbose #80777 > │ #endif │
00:29:48 verbose #80778 > │ type Impl<'T> = class end │
00:29:48 verbose #80779 > │ #if FABLE_COMPILER │
00:29:48 verbose #80780 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:29:48 verbose #80781 > │ #endif │
00:29:48 verbose #80782 > │ type Mut<'T> = class end │
00:29:48 verbose #80783 > │ #if FABLE_COMPILER │
00:29:48 verbose #80784 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:29:48 verbose #80785 > │ #endif │
00:29:48 verbose #80786 > │ type Ref<'T> = class end │
00:29:48 verbose #80787 > │ #if FABLE_COMPILER │
00:29:48 verbose #80788 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:29:48 verbose #80789 > │ #endif │
00:29:48 verbose #80790 > │ type StaticRef<'T> = class end │
00:29:48 verbose #80791 > │ #if FABLE_COMPILER │
00:29:48 verbose #80792 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:29:48 verbose #80793 > │ #endif │
00:29:48 verbose #80794 > │ type MutCell<'T> = class end │
00:29:48 verbose #80795 > │ #if FABLE_COMPILER │
00:29:48 verbose #80796 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:29:48 verbose #80797 > │ #endif │
00:29:48 verbose #80798 > │ type std_any_Any = class end │
00:29:48 verbose #80799 > │ #if FABLE_COMPILER │
00:29:48 verbose #80800 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:29:48 verbose #80801 > │ #endif │
00:29:48 verbose #80802 > │ type std_borrow_Cow<'T> = class end │
00:29:48 verbose #80803 > │ #if FABLE_COMPILER │
00:29:48 verbose #80804 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:29:48 verbose #80805 > │ #endif │
00:29:48 verbose #80806 > │ type std_cell_RefCell<'T> = class end │
00:29:48 verbose #80807 > │ #if FABLE_COMPILER │
00:29:48 verbose #80808 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:29:48 verbose #80809 > │ #endif │
00:29:48 verbose #80810 > │ type std_pin_Pin<'T> = class end │
00:29:48 verbose #80811 > │ #if FABLE_COMPILER │
00:29:48 verbose #80812 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:29:48 verbose #80813 > │ #endif │
00:29:48 verbose #80814 > │ type std_rc_Rc<'T> = class end │
00:29:48 verbose #80815 > │ #if FABLE_COMPILER │
00:29:48 verbose #80816 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:29:48 verbose #80817 > │ #endif │
00:29:48 verbose #80818 > │ type std_rc_Weak<'T> = class end │
00:29:48 verbose #80819 > │ #if FABLE_COMPILER │
00:29:48 verbose #80820 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:29:48 verbose #80821 > │ #endif │
00:29:48 verbose #80822 > │ type Str = class end │
00:29:48 verbose #80823 > │ #if FABLE_COMPILER │
00:29:48 verbose #80824 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:29:48 verbose #80825 > │ #endif │
00:29:48 verbose #80826 > │ type base64_DecodeError = class end │
00:29:48 verbose #80827 > │ #if FABLE_COMPILER │
00:29:48 verbose #80828 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:29:48 verbose #80829 > │ #endif │
00:29:48 verbose #80830 > │ type borsh_io_Error = class end │
00:29:48 verbose #80831 > │ #if FABLE_COMPILER │
00:29:48 verbose #80832 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:29:48 verbose #80833 > │ #endif │
00:29:48 verbose #80834 > │ type js_sys_JsString = class end │
00:29:48 verbose #80835 > │ #if FABLE_COMPILER │
00:29:48 verbose #80836 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:29:48 verbose #80837 > │ #endif │
00:29:48 verbose #80838 > │ type serde_json_Error = class end │
00:29:48 verbose #80839 > │ #if FABLE_COMPILER │
00:29:48 verbose #80840 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:29:48 verbose #80841 > │ #endif │
00:29:48 verbose #80842 > │ type serde_json_Value = class end │
00:29:48 verbose #80843 > │ #if FABLE_COMPILER │
00:29:48 verbose #80844 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:29:48 verbose #80845 > │ #endif │
00:29:48 verbose #80846 > │ type serde_wasm_bindgen_Error = class end │
00:29:48 verbose #80847 > │ #if FABLE_COMPILER │
00:29:48 verbose #80848 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:29:48 verbose #80849 > │ #endif │
00:29:48 verbose #80850 > │ type std_ffi_OsStr = class end │
00:29:48 verbose #80851 > │ #if FABLE_COMPILER │
00:29:48 verbose #80852 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:29:48 verbose #80853 > │ #endif │
00:29:48 verbose #80854 > │ type std_ffi_OsString = class end │
00:29:48 verbose #80855 > │ #if FABLE_COMPILER │
00:29:48 verbose #80856 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:29:48 verbose #80857 > │ #endif │
00:29:48 verbose #80858 > │ type std_fmt_Display<'T> = class end │
00:29:48 verbose #80859 > │ #if FABLE_COMPILER │
00:29:48 verbose #80860 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:29:48 verbose #80861 > │ #endif │
00:29:48 verbose #80862 > │ type std_str_Utf8Error = class end │
00:29:48 verbose #80863 > │ #if FABLE_COMPILER │
00:29:48 verbose #80864 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:29:48 verbose #80865 > │ #endif │
00:29:48 verbose #80866 > │ type std_string_FromUtf8Error = class end │
00:29:48 verbose #80867 > │ #if FABLE_COMPILER │
00:29:48 verbose #80868 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:29:48 verbose #80869 > │ #endif │
00:29:48 verbose #80870 > │ type std_string_String = class end │
00:29:48 verbose #80871 > │ #if FABLE_COMPILER │
00:29:48 verbose #80872 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:29:48 verbose #80873 > │ #endif │
00:29:48 verbose #80874 > │ type std_slice_Windows<'T> = class end │
00:29:48 verbose #80875 > │ #if FABLE_COMPILER │
00:29:48 verbose #80876 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:29:48 verbose #80877 > │ #endif │
00:29:48 verbose #80878 > │ type chrono_DateTime<'T> = class end │
00:29:48 verbose #80879 > │ #if FABLE_COMPILER │
00:29:48 verbose #80880 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:29:48 verbose #80881 > │ #endif │
00:29:48 verbose #80882 > │ type chrono_Local = class end │
00:29:48 verbose #80883 > │ #if FABLE_COMPILER │
00:29:48 verbose #80884 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:29:48 verbose #80885 > │ #endif │
00:29:48 verbose #80886 > │ type chrono_NaiveDateTime = class end │
00:29:48 verbose #80887 > │ #if FABLE_COMPILER │
00:29:48 verbose #80888 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:29:48 verbose #80889 > │ #endif │
00:29:48 verbose #80890 > │ type chrono_Utc = class end │
00:29:48 verbose #80891 > │ #if FABLE_COMPILER │
00:29:48 verbose #80892 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:29:48 verbose #80893 > │ #endif │
00:29:48 verbose #80894 > │ type std_time_Duration = class end │
00:29:48 verbose #80895 > │ #if FABLE_COMPILER │
00:29:48 verbose #80896 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:29:48 verbose #80897 > │ #endif │
00:29:48 verbose #80898 > │ type async_std_io_BufReader<'T> = class end │
00:29:48 verbose #80899 > │ #if FABLE_COMPILER │
00:29:48 verbose #80900 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:29:48 verbose #80901 > │ #endif │
00:29:48 verbose #80902 > │ type std_io_BufReader<'T> = class end │
00:29:48 verbose #80903 > │ #if FABLE_COMPILER │
00:29:48 verbose #80904 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:29:48 verbose #80905 > │ #endif │
00:29:48 verbose #80906 > │ type std_io_Error = class end │
00:29:48 verbose #80907 > │ #if FABLE_COMPILER │
00:29:48 verbose #80908 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:29:48 verbose #80909 > │ #endif │
00:29:48 verbose #80910 > │ type std_io_Lines<'T> = class end │
00:29:48 verbose #80911 > │ #if FABLE_COMPILER │
00:29:48 verbose #80912 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:29:48 verbose #80913 > │ #endif │
00:29:48 verbose #80914 > │ type std_fs_File = class end │
00:29:48 verbose #80915 > │ #if FABLE_COMPILER │
00:29:48 verbose #80916 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:29:48 verbose #80917 > │ #endif │
00:29:48 verbose #80918 > │ type std_fs_FileType = class end │
00:29:48 verbose #80919 > │ #if FABLE_COMPILER │
00:29:48 verbose #80920 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:29:48 verbose #80921 > │ #endif │
00:29:48 verbose #80922 > │ type std_path_Display = class end │
00:29:48 verbose #80923 > │ #if FABLE_COMPILER │
00:29:48 verbose #80924 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:29:48 verbose #80925 > │ #endif │
00:29:48 verbose #80926 > │ type std_path_Path = class end │
00:29:48 verbose #80927 > │ #if FABLE_COMPILER │
00:29:48 verbose #80928 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:29:48 verbose #80929 > │ #endif │
00:29:48 verbose #80930 > │ type std_path_PathBuf = class end │
00:29:48 verbose #80931 > │ #if FABLE_COMPILER │
00:29:48 verbose #80932 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:29:48 verbose #80933 > │ #endif │
00:29:48 verbose #80934 > │ type async_walkdir_DirEntry = class end │
00:29:48 verbose #80935 > │ #if FABLE_COMPILER │
00:29:48 verbose #80936 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:29:48 verbose #80937 > │ #endif │
00:29:48 verbose #80938 > │ type async_walkdir_Filtering = class end │
00:29:48 verbose #80939 > │ #if FABLE_COMPILER │
00:29:48 verbose #80940 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:29:48 verbose #80941 > │ #endif │
00:29:48 verbose #80942 > │ type async_walkdir_WalkDir = class end │
00:29:48 verbose #80943 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:29:48 verbose #80944 > │ string │
00:29:48 verbose #80945 > │ module State = let mutable trace_state = None │
00:29:48 verbose #80946 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:29:48 verbose #80947 > │ member _.Dispose () = f () │
00:29:48 verbose #80948 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:29:48 verbose #80949 > │ type [<Struct>] US0 = │
00:29:48 verbose #80950 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:29:48 verbose #80951 > │ | US0_1 │
00:29:48 verbose #80952 > │ and [<Struct>] US1 = │
00:29:48 verbose #80953 > │ | US1_0 of f0_0 : string │
00:29:48 verbose #80954 > │ | US1_1 │
00:29:48 verbose #80955 > │ and [<Struct>] US2 = │
00:29:48 verbose #80956 > │ | US2_0 │
00:29:48 verbose #80957 > │ | US2_1 of f1_0 : std_string_String │
00:29:48 verbose #80958 > │ and [<Struct>] US3 = │
00:29:48 verbose #80959 > │ | US3_0 │
00:29:48 verbose #80960 > │ | US3_1 │
00:29:48 verbose #80961 > │ | US3_2 │
00:29:48 verbose #80962 > │ | US3_3 │
00:29:48 verbose #80963 > │ | US3_4 │
00:29:48 verbose #80964 > │ and Mut0 = {mutable l0 : int64} │
00:29:48 verbose #80965 > │ and Mut1 = {mutable l0 : bool} │
00:29:48 verbose #80966 > │ and Mut2 = {mutable l0 : US3} │
00:29:48 verbose #80967 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:29:48 verbose #80968 > │ and [<Struct>] US4 = │
00:29:48 verbose #80969 > │ | US4_0 of f0_0 : int64 │
00:29:48 verbose #80970 > │ | US4_1 │
00:29:48 verbose #80971 > │ and [<Struct>] US5 = │
00:29:48 verbose #80972 > │ | US5_0 of f0_0 : int64 │
00:29:48 verbose #80973 > │ | US5_1 │
00:29:48 verbose #80974 > │ and [<Struct>] US6 = │
00:29:48 verbose #80975 > │ | US6_0 of f0_0 : int64 │
00:29:48 verbose #80976 > │ | US6_1 of f1_0 : exn │
00:29:48 verbose #80977 > │ and [<Struct>] US7 = │
00:29:48 verbose #80978 > │ | US7_0 of f0_0 : int64 │
00:29:48 verbose #80979 > │ | US7_1 of f1_0 : exn │
00:29:48 verbose #80980 > │ let rec method2 (v0 : string) : string = │
00:29:48 verbose #80981 > │ v0 │
00:29:48 verbose #80982 > │ and method3 (v0 : string) : string = │
00:29:48 verbose #80983 > │ v0 │
00:29:48 verbose #80984 > │ and method4 (v0 : string) : string = │
00:29:48 verbose #80985 > │ v0 │
00:29:48 verbose #80986 > │ and method1 (v0 : string, v1 : string) : string = │
00:29:48 verbose #80987 > │ let v2 : string option = None │
00:29:48 verbose #80988 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:48 verbose #80989 > │ │
00:29:48 verbose #80990 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #80991 > │ │
00:29:48 verbose #80992 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #80993 > │ let v4 : string = method2(v0) │
00:29:48 verbose #80994 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #80995 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:29:48 verbose #80996 > │ let v7 : string = "String::from($0)" │
00:29:48 verbose #80997 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:48 verbose #80998 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:29:48 verbose #80999 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:48 verbose #81000 > │ let v11 : string = method2(v1) │
00:29:48 verbose #81001 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81002 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:29:48 verbose #81003 > │ let v14 : string = "String::from($0)" │
00:29:48 verbose #81004 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:29:48 verbose #81005 > │ v14 │
00:29:48 verbose #81006 > │ let v16 : string = "$0.join($1)" │
00:29:48 verbose #81007 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:29:48 verbose #81008 > │ (v10, v15) v16 │
00:29:48 verbose #81009 > │ let v18 : string = "$0.display()" │
00:29:48 verbose #81010 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:48 verbose #81011 > │ let v20 : std_string_String option = None │
00:29:48 verbose #81012 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:29:48 verbose #81013 > │ │
00:29:48 verbose #81014 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81015 > │ │
00:29:48 verbose #81016 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81017 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #81018 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:48 verbose #81019 > │ v22 │
00:29:48 verbose #81020 > │ v23 │
00:29:48 verbose #81021 > │ #endif │
00:29:48 verbose #81022 > │ │
00:29:48 verbose #81023 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81024 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #81025 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:48 verbose #81026 > │ v24 │
00:29:48 verbose #81027 > │ v25 │
00:29:48 verbose #81028 > │ #endif │
00:29:48 verbose #81029 > │ │
00:29:48 verbose #81030 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81031 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #81032 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:48 verbose #81033 > │ v26 │
00:29:48 verbose #81034 > │ v27 │
00:29:48 verbose #81035 > │ #endif │
00:29:48 verbose #81036 > │ │
00:29:48 verbose #81037 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81038 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #81039 > │ v28 │
00:29:48 verbose #81040 > │ #endif │
00:29:48 verbose #81041 > │ │
00:29:48 verbose #81042 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81043 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #81044 > │ v29 │
00:29:48 verbose #81045 > │ #endif │
00:29:48 verbose #81046 > │ │
00:29:48 verbose #81047 > │ #else │
00:29:48 verbose #81048 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #81049 > │ v30 │
00:29:48 verbose #81050 > │ #endif │
00:29:48 verbose #81051 > │ |> fun x -> _v20 <- Some x │
00:29:48 verbose #81052 > │ let v31 : std_string_String = _v20.Value │
00:29:48 verbose #81053 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #81054 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:29:48 verbose #81055 > │ v33 │
00:29:48 verbose #81056 > │ #endif │
00:29:48 verbose #81057 > │ │
00:29:48 verbose #81058 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81059 > │ let v34 : string = null |> unbox<string> │
00:29:48 verbose #81060 > │ v34 │
00:29:48 verbose #81061 > │ #endif │
00:29:48 verbose #81062 > │ │
00:29:48 verbose #81063 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81064 > │ let v35 : string = null |> unbox<string> │
00:29:48 verbose #81065 > │ v35 │
00:29:48 verbose #81066 > │ #endif │
00:29:48 verbose #81067 > │ │
00:29:48 verbose #81068 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81069 > │ let v36 : string = "path" │
00:29:48 verbose #81070 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:29:48 verbose #81071 > │ let v38 : string = method3(v0) │
00:29:48 verbose #81072 > │ let v39 : string = method4(v1) │
00:29:48 verbose #81073 > │ let v40 : string = "v37.join(v38, v39)" │
00:29:48 verbose #81074 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:29:48 verbose #81075 > │ v41 │
00:29:48 verbose #81076 > │ #endif │
00:29:48 verbose #81077 > │ │
00:29:48 verbose #81078 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81079 > │ let v42 : string = null |> unbox<string> │
00:29:48 verbose #81080 > │ v42 │
00:29:48 verbose #81081 > │ #endif │
00:29:48 verbose #81082 > │ │
00:29:48 verbose #81083 > │ #else │
00:29:48 verbose #81084 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:29:48 verbose #81085 > │ v43 │
00:29:48 verbose #81086 > │ #endif │
00:29:48 verbose #81087 > │ |> fun x -> _v2 <- Some x │
00:29:48 verbose #81088 > │ let v44 : string = _v2.Value │
00:29:48 verbose #81089 > │ v44 │
00:29:48 verbose #81090 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:29:48 verbose #81091 > │ US0_0(v0) │
00:29:48 verbose #81092 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:29:48 verbose #81093 > │ closure0() │
00:29:48 verbose #81094 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:29:48 verbose #81095 > │ = │
00:29:48 verbose #81096 > │ v0 │
00:29:48 verbose #81097 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:29:48 verbose #81098 > │ chrono_DateTime<chrono_Local> = │
00:29:48 verbose #81099 > │ v0 │
00:29:48 verbose #81100 > │ and method8 () : string = │
00:29:48 verbose #81101 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:29:48 verbose #81102 > │ v0 │
00:29:48 verbose #81103 > │ and method9 () : string = │
00:29:48 verbose #81104 > │ let v0 : string = "hhmm" │
00:29:48 verbose #81105 > │ v0 │
00:29:48 verbose #81106 > │ and method10 (v0 : string) : string = │
00:29:48 verbose #81107 > │ v0 │
00:29:48 verbose #81108 > │ and closure1 () (v0 : std_io_Error) : std_string_String = │
00:29:48 verbose #81109 > │ let v1 : std_string_String option = None │
00:29:48 verbose #81110 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:48 verbose #81111 > │ │
00:29:48 verbose #81112 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81113 > │ │
00:29:48 verbose #81114 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81115 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #81116 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:29:48 verbose #81117 > │ v4 │
00:29:48 verbose #81118 > │ #endif │
00:29:48 verbose #81119 > │ │
00:29:48 verbose #81120 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81121 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #81122 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:29:48 verbose #81123 > │ v6 │
00:29:48 verbose #81124 > │ #endif │
00:29:48 verbose #81125 > │ │
00:29:48 verbose #81126 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81127 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #81128 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:29:48 verbose #81129 > │ v8 │
00:29:48 verbose #81130 > │ #endif │
00:29:48 verbose #81131 > │ │
00:29:48 verbose #81132 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81133 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #81134 > │ v9 │
00:29:48 verbose #81135 > │ #endif │
00:29:48 verbose #81136 > │ │
00:29:48 verbose #81137 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81138 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #81139 > │ v10 │
00:29:48 verbose #81140 > │ #endif │
00:29:48 verbose #81141 > │ │
00:29:48 verbose #81142 > │ #else │
00:29:48 verbose #81143 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #81144 > │ v11 │
00:29:48 verbose #81145 > │ #endif │
00:29:48 verbose #81146 > │ |> fun x -> _v1 <- Some x │
00:29:48 verbose #81147 > │ let v12 : std_string_String = _v1.Value │
00:29:48 verbose #81148 > │ v12 │
00:29:48 verbose #81149 > │ and method11 () : (std_io_Error -> std_string_String) = │
00:29:48 verbose #81150 > │ closure1() │
00:29:48 verbose #81151 > │ and closure2 () () : US2 = │
00:29:48 verbose #81152 > │ US2_0 │
00:29:48 verbose #81153 > │ and closure3 () (v0 : std_string_String) : US2 = │
00:29:48 verbose #81154 > │ US2_1(v0) │
00:29:48 verbose #81155 > │ and closure4 () () : string = │
00:29:48 verbose #81156 > │ let v0 : string = "file_system.create_directory" │
00:29:48 verbose #81157 > │ v0 │
00:29:48 verbose #81158 > │ and closure6 () () : string = │
00:29:48 verbose #81159 > │ let v0 : string = "" │
00:29:48 verbose #81160 > │ v0 │
00:29:48 verbose #81161 > │ and closure5 (v0 : string, v1 : std_string_String) () : string = │
00:29:48 verbose #81162 > │ let v2 : (unit -> string) = closure6() │
00:29:48 verbose #81163 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:29:48 verbose #81164 > │ v3 │
00:29:48 verbose #81165 > │ and closure9 () (v0 : string) : unit = │
00:29:48 verbose #81166 > │ () │
00:29:48 verbose #81167 > │ and method13 (v0 : int64 option) : int64 option = │
00:29:48 verbose #81168 > │ v0 │
00:29:48 verbose #81169 > │ and method14 (v0 : int64 option) : int64 option = │
00:29:48 verbose #81170 > │ v0 │
00:29:48 verbose #81171 > │ and closure8 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:29:48 verbose #81172 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:29:48 verbose #81173 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:29:48 verbose #81174 > │ let v2 : US3 = US3_0 │
00:29:48 verbose #81175 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:29:48 verbose #81176 > │ let v4 : (string -> unit) = closure9() │
00:29:48 verbose #81177 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:29:48 verbose #81178 > │ let v6 : int64 option option = None │
00:29:48 verbose #81179 > │ let mutable _v6 = v6 │
00:29:48 verbose #81180 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:29:48 verbose #81181 > │ let v7 : string option = None │
00:29:48 verbose #81182 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:29:48 verbose #81183 > │ │
00:29:48 verbose #81184 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81185 > │ │
00:29:48 verbose #81186 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81187 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:48 verbose #81188 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:29:48 verbose #81189 > │ v10 │
00:29:48 verbose #81190 > │ #endif │
00:29:48 verbose #81191 > │ │
00:29:48 verbose #81192 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81193 > │ let v11 : string = null |> unbox<string> │
00:29:48 verbose #81194 > │ v11 │
00:29:48 verbose #81195 > │ #endif │
00:29:48 verbose #81196 > │ │
00:29:48 verbose #81197 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81198 > │ let v12 : string = null |> unbox<string> │
00:29:48 verbose #81199 > │ v12 │
00:29:48 verbose #81200 > │ #endif │
00:29:48 verbose #81201 > │ │
00:29:48 verbose #81202 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81203 > │ let v13 : string = null |> unbox<string> │
00:29:48 verbose #81204 > │ v13 │
00:29:48 verbose #81205 > │ #endif │
00:29:48 verbose #81206 > │ │
00:29:48 verbose #81207 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81208 > │ let v14 : string = null |> unbox<string> │
00:29:48 verbose #81209 > │ v14 │
00:29:48 verbose #81210 > │ #endif │
00:29:48 verbose #81211 > │ │
00:29:48 verbose #81212 > │ #else │
00:29:48 verbose #81213 > │ let v15 : string = │
00:29:48 verbose #81214 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:48 verbose #81215 > │ v15 │
00:29:48 verbose #81216 > │ #endif │
00:29:48 verbose #81217 > │ |> fun x -> _v7 <- Some x │
00:29:48 verbose #81218 > │ let v16 : string = _v7.Value │
00:29:48 verbose #81219 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:29:48 verbose #81220 > │ let v19 : bool = v18 <> true │
00:29:48 verbose #81221 > │ let v25 : US4 = │
00:29:48 verbose #81222 > │ if v19 then │
00:29:48 verbose #81223 > │ let v20 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #81224 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #81225 > │ let v22 : int64 = v21 v20 │
00:29:48 verbose #81226 > │ US4_0(v22) │
00:29:48 verbose #81227 > │ else │
00:29:48 verbose #81228 > │ US4_1 │
00:29:48 verbose #81229 > │ let v30 : int64 option = │
00:29:48 verbose #81230 > │ match v25 with │
00:29:48 verbose #81231 > │ | US4_1 -> (* None *) │
00:29:48 verbose #81232 > │ let v28 : int64 option = None │
00:29:48 verbose #81233 > │ v28 │
00:29:48 verbose #81234 > │ | US4_0(v26) -> (* Some *) │
00:29:48 verbose #81235 > │ let v27 : int64 option = Some v26 │
00:29:48 verbose #81236 > │ v27 │
00:29:48 verbose #81237 > │ let v31 : int64 option = method13(v30) │
00:29:48 verbose #81238 > │ v31 │
00:29:48 verbose #81239 > │ #else │
00:29:48 verbose #81240 > │ let v32 : int64 option = None │
00:29:48 verbose #81241 > │ let v33 : int64 option = method14(v32) │
00:29:48 verbose #81242 > │ v33 │
00:29:48 verbose #81243 > │ #endif │
00:29:48 verbose #81244 > │ |> fun x -> _v6 <- Some x │
00:29:48 verbose #81245 > │ let v34 : int64 option = _v6.Value │
00:29:48 verbose #81246 > │ struct (v1, v0, v3, v34, v5) │
00:29:48 verbose #81247 > │ and closure10 () (v0 : int64) : US5 = │
00:29:48 verbose #81248 > │ US5_0(v0) │
00:29:48 verbose #81249 > │ and method15 () : (int64 -> US5) = │
00:29:48 verbose #81250 > │ closure10() │
00:29:48 verbose #81251 > │ and method16 () : string = │
00:29:48 verbose #81252 > │ let v0 : string = "" │
00:29:48 verbose #81253 > │ v0 │
00:29:48 verbose #81254 > │ and closure7 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:29:48 verbose #81255 > │ string = │
00:29:48 verbose #81256 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:48 verbose #81257 > │ closure8() │
00:29:48 verbose #81258 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:29:48 verbose #81259 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:29:48 verbose #81260 > │ Mut3) = State.trace_state.Value │
00:29:48 verbose #81261 > │ let v9 : string option = None │
00:29:48 verbose #81262 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:29:48 verbose #81263 > │ │
00:29:48 verbose #81264 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81265 > │ │
00:29:48 verbose #81266 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81267 > │ let v11 : (int64 -> US5) = method15() │
00:29:48 verbose #81268 > │ let v12 : US5 = US5_1 │
00:29:48 verbose #81269 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:29:48 verbose #81270 > │ let v31 : System.DateTime = │
00:29:48 verbose #81271 > │ match v13 with │
00:29:48 verbose #81272 > │ | US5_1 -> (* None *) │
00:29:48 verbose #81273 > │ let v29 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #81274 > │ v29 │
00:29:48 verbose #81275 > │ | US5_0(v14) -> (* Some *) │
00:29:48 verbose #81276 > │ let v15 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #81277 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #81278 > │ let v17 : int64 = v16 v15 │
00:29:48 verbose #81279 > │ let v18 : int64 = v17 - v14 │
00:29:48 verbose #81280 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:29:48 verbose #81281 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:29:48 verbose #81282 > │ let v21 : int32 = v20 v19 │
00:29:48 verbose #81283 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:29:48 verbose #81284 > │ let v23 : int32 = v22 v19 │
00:29:48 verbose #81285 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:29:48 verbose #81286 > │ let v25 : int32 = v24 v19 │
00:29:48 verbose #81287 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:48 verbose #81288 > │ let v27 : int32 = v26 v19 │
00:29:48 verbose #81289 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:29:48 verbose #81290 > │ v25, v27) │
00:29:48 verbose #81291 > │ v28 │
00:29:48 verbose #81292 > │ let v32 : string = "hh:mm:ss" │
00:29:48 verbose #81293 > │ let v33 : string = v31.ToString v32 │
00:29:48 verbose #81294 > │ v33 │
00:29:48 verbose #81295 > │ #endif │
00:29:48 verbose #81296 > │ │
00:29:48 verbose #81297 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81298 > │ let v34 : string = method16() │
00:29:48 verbose #81299 > │ v34 │
00:29:48 verbose #81300 > │ #endif │
00:29:48 verbose #81301 > │ │
00:29:48 verbose #81302 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81303 > │ let v35 : string = method16() │
00:29:48 verbose #81304 > │ v35 │
00:29:48 verbose #81305 > │ #endif │
00:29:48 verbose #81306 > │ │
00:29:48 verbose #81307 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81308 > │ let v36 : string = method16() │
00:29:48 verbose #81309 > │ v36 │
00:29:48 verbose #81310 > │ #endif │
00:29:48 verbose #81311 > │ │
00:29:48 verbose #81312 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81313 > │ let v37 : string = method16() │
00:29:48 verbose #81314 > │ v37 │
00:29:48 verbose #81315 > │ #endif │
00:29:48 verbose #81316 > │ │
00:29:48 verbose #81317 > │ #else │
00:29:48 verbose #81318 > │ let v38 : (int64 -> US5) = method15() │
00:29:48 verbose #81319 > │ let v39 : US5 = US5_1 │
00:29:48 verbose #81320 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:29:48 verbose #81321 > │ let v58 : System.DateTime = │
00:29:48 verbose #81322 > │ match v40 with │
00:29:48 verbose #81323 > │ | US5_1 -> (* None *) │
00:29:48 verbose #81324 > │ let v56 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #81325 > │ v56 │
00:29:48 verbose #81326 > │ | US5_0(v41) -> (* Some *) │
00:29:48 verbose #81327 > │ let v42 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #81328 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #81329 > │ let v44 : int64 = v43 v42 │
00:29:48 verbose #81330 > │ let v45 : int64 = v44 - v41 │
00:29:48 verbose #81331 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:29:48 verbose #81332 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:29:48 verbose #81333 > │ let v48 : int32 = v47 v46 │
00:29:48 verbose #81334 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:29:48 verbose #81335 > │ let v50 : int32 = v49 v46 │
00:29:48 verbose #81336 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:29:48 verbose #81337 > │ let v52 : int32 = v51 v46 │
00:29:48 verbose #81338 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:48 verbose #81339 > │ let v54 : int32 = v53 v46 │
00:29:48 verbose #81340 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:29:48 verbose #81341 > │ v52, v54) │
00:29:48 verbose #81342 > │ v55 │
00:29:48 verbose #81343 > │ let v59 : string = "HH:mm:ss" │
00:29:48 verbose #81344 > │ let v60 : string = v58.ToString v59 │
00:29:48 verbose #81345 > │ v60 │
00:29:48 verbose #81346 > │ #endif │
00:29:48 verbose #81347 > │ |> fun x -> _v9 <- Some x │
00:29:48 verbose #81348 > │ let v61 : string = _v9.Value │
00:29:48 verbose #81349 > │ let v62 : int64 = v4.l0 │
00:29:48 verbose #81350 > │ let v72 : string = │
00:29:48 verbose #81351 > │ match v0 with │
00:29:48 verbose #81352 > │ | US3_4 -> (* Critical *) │
00:29:48 verbose #81353 > │ let v67 : string = "Critical" │
00:29:48 verbose #81354 > │ v67 │
00:29:48 verbose #81355 > │ | US3_1 -> (* Debug *) │
00:29:48 verbose #81356 > │ let v64 : string = "Debug" │
00:29:48 verbose #81357 > │ v64 │
00:29:48 verbose #81358 > │ | US3_2 -> (* Info *) │
00:29:48 verbose #81359 > │ let v65 : string = "Info" │
00:29:48 verbose #81360 > │ v65 │
00:29:48 verbose #81361 > │ | US3_0 -> (* Verbose *) │
00:29:48 verbose #81362 > │ let v63 : string = "Verbose" │
00:29:48 verbose #81363 > │ v63 │
00:29:48 verbose #81364 > │ | US3_3 -> (* Warning *) │
00:29:48 verbose #81365 > │ let v66 : string = "Warning" │
00:29:48 verbose #81366 > │ v66 │
00:29:48 verbose #81367 > │ let v73 : string = v72.ToLower () │
00:29:48 verbose #81368 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:29:48 verbose #81369 > │ let v75 : string option = None │
00:29:48 verbose #81370 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:29:48 verbose #81371 > │ │
00:29:48 verbose #81372 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81373 > │ │
00:29:48 verbose #81374 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81375 > │ let v91 : Ref<Str> = │
00:29:48 verbose #81376 > │ match v0 with │
00:29:48 verbose #81377 > │ | US3_4 -> (* Critical *) │
00:29:48 verbose #81378 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:29:48 verbose #81379 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:29:48 verbose #81380 > │ v86 │
00:29:48 verbose #81381 > │ | US3_1 -> (* Debug *) │
00:29:48 verbose #81382 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:29:48 verbose #81383 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:29:48 verbose #81384 > │ v80 │
00:29:48 verbose #81385 > │ | US3_2 -> (* Info *) │
00:29:48 verbose #81386 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:29:48 verbose #81387 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:29:48 verbose #81388 > │ v82 │
00:29:48 verbose #81389 > │ | US3_0 -> (* Verbose *) │
00:29:48 verbose #81390 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:29:48 verbose #81391 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:29:48 verbose #81392 > │ v78 │
00:29:48 verbose #81393 > │ | US3_3 -> (* Warning *) │
00:29:48 verbose #81394 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:29:48 verbose #81395 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:29:48 verbose #81396 > │ v84 │
00:29:48 verbose #81397 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81398 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:29:48 verbose #81399 > │ let v94 : string = "inline_colorization::color_reset" │
00:29:48 verbose #81400 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:29:48 verbose #81401 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:29:48 verbose #81402 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:29:48 verbose #81403 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:29:48 verbose #81404 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #81405 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:29:48 verbose #81406 > │ v100 │
00:29:48 verbose #81407 > │ #endif │
00:29:48 verbose #81408 > │ │
00:29:48 verbose #81409 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81410 > │ let v115 : Ref<Str> = │
00:29:48 verbose #81411 > │ match v0 with │
00:29:48 verbose #81412 > │ | US3_4 -> (* Critical *) │
00:29:48 verbose #81413 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:29:48 verbose #81414 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81415 > │ v109 │
00:29:48 verbose #81416 > │ v110 │
00:29:48 verbose #81417 > │ | US3_1 -> (* Debug *) │
00:29:48 verbose #81418 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:29:48 verbose #81419 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81420 > │ v103 │
00:29:48 verbose #81421 > │ v104 │
00:29:48 verbose #81422 > │ | US3_2 -> (* Info *) │
00:29:48 verbose #81423 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:29:48 verbose #81424 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81425 > │ v105 │
00:29:48 verbose #81426 > │ v106 │
00:29:48 verbose #81427 > │ | US3_0 -> (* Verbose *) │
00:29:48 verbose #81428 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:29:48 verbose #81429 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81430 > │ v101 │
00:29:48 verbose #81431 > │ v102 │
00:29:48 verbose #81432 > │ | US3_3 -> (* Warning *) │
00:29:48 verbose #81433 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:29:48 verbose #81434 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81435 > │ v107 │
00:29:48 verbose #81436 > │ v108 │
00:29:48 verbose #81437 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81438 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:29:48 verbose #81439 > │ let v118 : string = "inline_colorization::color_reset" │
00:29:48 verbose #81440 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:29:48 verbose #81441 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:29:48 verbose #81442 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:29:48 verbose #81443 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81444 > │ v121 │
00:29:48 verbose #81445 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #81446 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:29:48 verbose #81447 > │ v124 │
00:29:48 verbose #81448 > │ #endif │
00:29:48 verbose #81449 > │ │
00:29:48 verbose #81450 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81451 > │ let v139 : Ref<Str> = │
00:29:48 verbose #81452 > │ match v0 with │
00:29:48 verbose #81453 > │ | US3_4 -> (* Critical *) │
00:29:48 verbose #81454 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:29:48 verbose #81455 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81456 > │ v133 │
00:29:48 verbose #81457 > │ v134 │
00:29:48 verbose #81458 > │ | US3_1 -> (* Debug *) │
00:29:48 verbose #81459 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:29:48 verbose #81460 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81461 > │ v127 │
00:29:48 verbose #81462 > │ v128 │
00:29:48 verbose #81463 > │ | US3_2 -> (* Info *) │
00:29:48 verbose #81464 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:29:48 verbose #81465 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81466 > │ v129 │
00:29:48 verbose #81467 > │ v130 │
00:29:48 verbose #81468 > │ | US3_0 -> (* Verbose *) │
00:29:48 verbose #81469 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:29:48 verbose #81470 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81471 > │ v125 │
00:29:48 verbose #81472 > │ v126 │
00:29:48 verbose #81473 > │ | US3_3 -> (* Warning *) │
00:29:48 verbose #81474 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:29:48 verbose #81475 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81476 > │ v131 │
00:29:48 verbose #81477 > │ v132 │
00:29:48 verbose #81478 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81479 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:29:48 verbose #81480 > │ let v142 : string = "inline_colorization::color_reset" │
00:29:48 verbose #81481 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:29:48 verbose #81482 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:29:48 verbose #81483 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:29:48 verbose #81484 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #81485 > │ v145 │
00:29:48 verbose #81486 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #81487 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:29:48 verbose #81488 > │ v148 │
00:29:48 verbose #81489 > │ #endif │
00:29:48 verbose #81490 > │ │
00:29:48 verbose #81491 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81492 > │ v74 │
00:29:48 verbose #81493 > │ #endif │
00:29:48 verbose #81494 > │ │
00:29:48 verbose #81495 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81496 > │ v74 │
00:29:48 verbose #81497 > │ #endif │
00:29:48 verbose #81498 > │ │
00:29:48 verbose #81499 > │ #else │
00:29:48 verbose #81500 > │ v74 │
00:29:48 verbose #81501 > │ #endif │
00:29:48 verbose #81502 > │ |> fun x -> _v75 <- Some x │
00:29:48 verbose #81503 > │ let v149 : string = _v75.Value │
00:29:48 verbose #81504 > │ let v150 : string = v1 () │
00:29:48 verbose #81505 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:29:48 verbose #81506 > │ let v152 : (char []) = [||] │
00:29:48 verbose #81507 > │ let v153 : string = v151.TrimStart v152 │
00:29:48 verbose #81508 > │ let v154 : (char []) = [|' '; '/'|] │
00:29:48 verbose #81509 > │ let v155 : string = v153.TrimEnd v154 │
00:29:48 verbose #81510 > │ v155 │
00:29:48 verbose #81511 > │ and method17 (v0 : US3, v1 : (unit -> string)) : unit = │
00:29:48 verbose #81512 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:48 verbose #81513 > │ closure8() │
00:29:48 verbose #81514 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:48 verbose #81515 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:29:48 verbose #81516 > │ Mut3) = State.trace_state.Value │
00:29:48 verbose #81517 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:48 verbose #81518 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:29:48 verbose #81519 > │ Mut3) = State.trace_state.Value │
00:29:48 verbose #81520 > │ let v13 : US3 = v10.l0 │
00:29:48 verbose #81521 > │ let v14 : bool = v9.l0 │
00:29:48 verbose #81522 > │ let v15 : bool = v14 = false │
00:29:48 verbose #81523 > │ let v19 : bool = │
00:29:48 verbose #81524 > │ if v15 then │
00:29:48 verbose #81525 > │ false │
00:29:48 verbose #81526 > │ else │
00:29:48 verbose #81527 > │ let v16 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:48 verbose #81528 > │ US3_4, 4 ] |> Map |> Map.find v0 │
00:29:48 verbose #81529 > │ let v17 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:48 verbose #81530 > │ US3_4, 4 ] |> Map |> Map.find v13 │
00:29:48 verbose #81531 > │ let v18 : bool = v16 >= v17 │
00:29:48 verbose #81532 > │ v18 │
00:29:48 verbose #81533 > │ if v19 then │
00:29:48 verbose #81534 > │ let v20 : int64 = v3.l0 │
00:29:48 verbose #81535 > │ let v21 : int64 = v20 + 1L │
00:29:48 verbose #81536 > │ v3.l0 <- v21 │
00:29:48 verbose #81537 > │ let v22 : string = $"%s{v1 ()}" │
00:29:48 verbose #81538 > │ let v23 : unit option = None │
00:29:48 verbose #81539 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:29:48 verbose #81540 > │ │
00:29:48 verbose #81541 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81542 > │ │
00:29:48 verbose #81543 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81544 > │ let v25 : string = @"println!(""{}"", $0)" │
00:29:48 verbose #81545 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:29:48 verbose #81546 > │ () │
00:29:48 verbose #81547 > │ #endif │
00:29:48 verbose #81548 > │ │
00:29:48 verbose #81549 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81550 > │ let v26 : string = @"println!(""{}"", $0)" │
00:29:48 verbose #81551 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:29:48 verbose #81552 > │ () │
00:29:48 verbose #81553 > │ #endif │
00:29:48 verbose #81554 > │ │
00:29:48 verbose #81555 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81556 > │ let v27 : string = @"println!(""{}"", $0)" │
00:29:48 verbose #81557 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:29:48 verbose #81558 > │ () │
00:29:48 verbose #81559 > │ #endif │
00:29:48 verbose #81560 > │ │
00:29:48 verbose #81561 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81562 > │ System.Console.WriteLine v22 │
00:29:48 verbose #81563 > │ () │
00:29:48 verbose #81564 > │ #endif │
00:29:48 verbose #81565 > │ │
00:29:48 verbose #81566 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81567 > │ System.Console.WriteLine v22 │
00:29:48 verbose #81568 > │ () │
00:29:48 verbose #81569 > │ #endif │
00:29:48 verbose #81570 > │ │
00:29:48 verbose #81571 > │ #else │
00:29:48 verbose #81572 > │ System.Console.WriteLine v22 │
00:29:48 verbose #81573 > │ () │
00:29:48 verbose #81574 > │ #endif │
00:29:48 verbose #81575 > │ |> fun x -> _v23 <- Some x │
00:29:48 verbose #81576 > │ _v23.Value │
00:29:48 verbose #81577 > │ let v28 : (string -> unit) = v7.l0 │
00:29:48 verbose #81578 > │ v28 v22 │
00:29:48 verbose #81579 > │ and method12 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:29:48 verbose #81580 > │ = │
00:29:48 verbose #81581 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:29:48 verbose #81582 > │ method17(v0, v3) │
00:29:48 verbose #81583 > │ and closure11 () () : string = │
00:29:48 verbose #81584 > │ let v0 : string = "file_system.create_directory" │
00:29:48 verbose #81585 > │ v0 │
00:29:48 verbose #81586 > │ and closure12 (v0 : string) () : string = │
00:29:48 verbose #81587 > │ let v1 : (unit -> string) = closure6() │
00:29:48 verbose #81588 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:29:48 verbose #81589 > │ v2 │
00:29:48 verbose #81590 > │ and method18 (v0 : string) : string = │
00:29:48 verbose #81591 > │ v0 │
00:29:48 verbose #81592 > │ and closure13 (v0 : string) () : unit = │
00:29:48 verbose #81593 > │ let v1 : unit option = None │
00:29:48 verbose #81594 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:48 verbose #81595 > │ │
00:29:48 verbose #81596 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81597 > │ │
00:29:48 verbose #81598 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81599 > │ let v3 : string = method18(v0) │
00:29:48 verbose #81600 > │ let v4 : bool option = None │
00:29:48 verbose #81601 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:29:48 verbose #81602 > │ │
00:29:48 verbose #81603 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81604 > │ │
00:29:48 verbose #81605 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81606 > │ let v6 : string = method2(v3) │
00:29:48 verbose #81607 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81608 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:48 verbose #81609 > │ let v9 : string = "String::from($0)" │
00:29:48 verbose #81610 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:48 verbose #81611 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:29:48 verbose #81612 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:29:48 verbose #81613 > │ let v13 : string = "$0.exists()" │
00:29:48 verbose #81614 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:29:48 verbose #81615 > │ let v17 : bool = │
00:29:48 verbose #81616 > │ if v14 then │
00:29:48 verbose #81617 > │ let v15 : string = "$0.is_dir()" │
00:29:48 verbose #81618 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:29:48 verbose #81619 > │ v16 │
00:29:48 verbose #81620 > │ else │
00:29:48 verbose #81621 > │ false │
00:29:48 verbose #81622 > │ v17 │
00:29:48 verbose #81623 > │ #endif │
00:29:48 verbose #81624 > │ │
00:29:48 verbose #81625 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81626 > │ let v18 : bool = null |> unbox<bool> │
00:29:48 verbose #81627 > │ v18 │
00:29:48 verbose #81628 > │ #endif │
00:29:48 verbose #81629 > │ │
00:29:48 verbose #81630 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81631 > │ let v19 : bool = null |> unbox<bool> │
00:29:48 verbose #81632 > │ v19 │
00:29:48 verbose #81633 > │ #endif │
00:29:48 verbose #81634 > │ │
00:29:48 verbose #81635 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81636 > │ let v20 : string = "fs" │
00:29:48 verbose #81637 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:29:48 verbose #81638 > │ let v22 : string = "v21.existsSync($0)" │
00:29:48 verbose #81639 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:29:48 verbose #81640 > │ v23 │
00:29:48 verbose #81641 > │ #endif │
00:29:48 verbose #81642 > │ │
00:29:48 verbose #81643 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81644 > │ let v24 : bool = null |> unbox<bool> │
00:29:48 verbose #81645 > │ v24 │
00:29:48 verbose #81646 > │ #endif │
00:29:48 verbose #81647 > │ │
00:29:48 verbose #81648 > │ #else │
00:29:48 verbose #81649 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:29:48 verbose #81650 > │ let v26 : bool = v25 v3 │
00:29:48 verbose #81651 > │ v26 │
00:29:48 verbose #81652 > │ #endif │
00:29:48 verbose #81653 > │ |> fun x -> _v4 <- Some x │
00:29:48 verbose #81654 > │ let v27 : bool = _v4.Value │
00:29:48 verbose #81655 > │ if v27 then │
00:29:48 verbose #81656 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:48 verbose #81657 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:29:48 verbose #81658 > │ () │
00:29:48 verbose #81659 > │ () │
00:29:48 verbose #81660 > │ #endif │
00:29:48 verbose #81661 > │ │
00:29:48 verbose #81662 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81663 > │ null |> unbox<unit> │
00:29:48 verbose #81664 > │ () │
00:29:48 verbose #81665 > │ #endif │
00:29:48 verbose #81666 > │ │
00:29:48 verbose #81667 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81668 > │ null |> unbox<unit> │
00:29:48 verbose #81669 > │ () │
00:29:48 verbose #81670 > │ #endif │
00:29:48 verbose #81671 > │ │
00:29:48 verbose #81672 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81673 > │ null |> unbox<unit> │
00:29:48 verbose #81674 > │ () │
00:29:48 verbose #81675 > │ #endif │
00:29:48 verbose #81676 > │ │
00:29:48 verbose #81677 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81678 > │ null |> unbox<unit> │
00:29:48 verbose #81679 > │ () │
00:29:48 verbose #81680 > │ #endif │
00:29:48 verbose #81681 > │ │
00:29:48 verbose #81682 > │ #else │
00:29:48 verbose #81683 > │ System.IO.Directory.Delete (v0, true) │
00:29:48 verbose #81684 > │ () │
00:29:48 verbose #81685 > │ #endif │
00:29:48 verbose #81686 > │ |> fun x -> _v1 <- Some x │
00:29:48 verbose #81687 > │ _v1.Value │
00:29:48 verbose #81688 > │ () │
00:29:48 verbose #81689 > │ and method19 (v0 : string) : (unit -> unit) = │
00:29:48 verbose #81690 > │ closure13(v0) │
00:29:48 verbose #81691 > │ and closure14 () () : string = │
00:29:48 verbose #81692 > │ let v0 : string = "file_system.create_directory" │
00:29:48 verbose #81693 > │ v0 │
00:29:48 verbose #81694 > │ and closure15 (v0 : string, v1 : string) () : string = │
00:29:48 verbose #81695 > │ let v2 : (unit -> string) = closure6() │
00:29:48 verbose #81696 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:29:48 verbose #81697 > │ v3 │
00:29:48 verbose #81698 > │ and closure17 () () : string = │
00:29:48 verbose #81699 > │ let v0 : string = "file_system.delete_directory_async" │
00:29:48 verbose #81700 > │ v0 │
00:29:48 verbose #81701 > │ and closure19 () (v0 : string) : string = │
00:29:48 verbose #81702 > │ let v1 : string option = None │
00:29:48 verbose #81703 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:48 verbose #81704 > │ │
00:29:48 verbose #81705 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81706 > │ │
00:29:48 verbose #81707 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81708 > │ let v3 : string = method2(v0) │
00:29:48 verbose #81709 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81710 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:29:48 verbose #81711 > │ let v6 : string = "String::from($0)" │
00:29:48 verbose #81712 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:29:48 verbose #81713 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:29:48 verbose #81714 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:29:48 verbose #81715 > │ let v10 : string = "$0.file_name()" │
00:29:48 verbose #81716 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:29:48 verbose #81717 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:29:48 verbose #81718 > │ let v12 : string = "$0.unwrap()" │
00:29:48 verbose #81719 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:29:48 verbose #81720 > │ v12 │
00:29:48 verbose #81721 > │ let v14 : string = "$0.to_os_string()" │
00:29:48 verbose #81722 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:29:48 verbose #81723 > │ let v16 : string = "$0.to_str()" │
00:29:48 verbose #81724 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:48 verbose #81725 > │ let v18 : string = "$0.unwrap()" │
00:29:48 verbose #81726 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:48 verbose #81727 > │ let v20 : string = "String::from($0)" │
00:29:48 verbose #81728 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:48 verbose #81729 > │ v20 │
00:29:48 verbose #81730 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #81731 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:48 verbose #81732 > │ v23 │
00:29:48 verbose #81733 > │ #endif │
00:29:48 verbose #81734 > │ │
00:29:48 verbose #81735 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81736 > │ let v24 : string = null |> unbox<string> │
00:29:48 verbose #81737 > │ v24 │
00:29:48 verbose #81738 > │ #endif │
00:29:48 verbose #81739 > │ │
00:29:48 verbose #81740 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81741 > │ let v25 : string = null |> unbox<string> │
00:29:48 verbose #81742 > │ v25 │
00:29:48 verbose #81743 > │ #endif │
00:29:48 verbose #81744 > │ │
00:29:48 verbose #81745 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81746 > │ let v26 : string = null |> unbox<string> │
00:29:48 verbose #81747 > │ v26 │
00:29:48 verbose #81748 > │ #endif │
00:29:48 verbose #81749 > │ │
00:29:48 verbose #81750 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81751 > │ let v27 : string = null |> unbox<string> │
00:29:48 verbose #81752 > │ v27 │
00:29:48 verbose #81753 > │ #endif │
00:29:48 verbose #81754 > │ │
00:29:48 verbose #81755 > │ #else │
00:29:48 verbose #81756 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:29:48 verbose #81757 > │ let v29 : string = v28 v0 │
00:29:48 verbose #81758 > │ v29 │
00:29:48 verbose #81759 > │ #endif │
00:29:48 verbose #81760 > │ |> fun x -> _v1 <- Some x │
00:29:48 verbose #81761 > │ let v30 : string = _v1.Value │
00:29:48 verbose #81762 > │ v30 │
00:29:48 verbose #81763 > │ and closure18 (v0 : string, v1 : string) () : string = │
00:29:48 verbose #81764 > │ let v2 : (string -> string) = closure19() │
00:29:48 verbose #81765 > │ let v3 : (unit -> string) = closure6() │
00:29:48 verbose #81766 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:29:48 verbose #81767 > │ v4 │
00:29:48 verbose #81768 > │ and method20 (v0 : string, v1 : int64) : Async<int64> = │
00:29:48 verbose #81769 > │ let v2 : Async<int64> option = None │
00:29:48 verbose #81770 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:48 verbose #81771 > │ │
00:29:48 verbose #81772 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81773 > │ │
00:29:48 verbose #81774 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81775 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #81776 > │ v4 │
00:29:48 verbose #81777 > │ #endif │
00:29:48 verbose #81778 > │ │
00:29:48 verbose #81779 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81780 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #81781 > │ v5 │
00:29:48 verbose #81782 > │ #endif │
00:29:48 verbose #81783 > │ │
00:29:48 verbose #81784 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81785 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #81786 > │ v6 │
00:29:48 verbose #81787 > │ #endif │
00:29:48 verbose #81788 > │ │
00:29:48 verbose #81789 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81790 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #81791 > │ v7 │
00:29:48 verbose #81792 > │ #endif │
00:29:48 verbose #81793 > │ │
00:29:48 verbose #81794 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81795 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #81796 > │ v8 │
00:29:48 verbose #81797 > │ #endif │
00:29:48 verbose #81798 > │ │
00:29:48 verbose #81799 > │ #else │
00:29:48 verbose #81800 > │ let v9 : Async<int64> option = None │
00:29:48 verbose #81801 > │ let mutable _v9 = v9 │
00:29:48 verbose #81802 > │ async { │
00:29:48 verbose #81803 > │ try │
00:29:48 verbose #81804 > │ let v10 : unit option = None │
00:29:48 verbose #81805 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:48 verbose #81806 > │ │
00:29:48 verbose #81807 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81808 > │ │
00:29:48 verbose #81809 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81810 > │ let v12 : string = method18(v0) │
00:29:48 verbose #81811 > │ let v13 : bool option = None │
00:29:48 verbose #81812 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:29:48 verbose #81813 > │ │
00:29:48 verbose #81814 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81815 > │ │
00:29:48 verbose #81816 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81817 > │ let v15 : string = method2(v12) │
00:29:48 verbose #81818 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:48 verbose #81819 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:48 verbose #81820 > │ let v18 : string = "String::from($0)" │
00:29:48 verbose #81821 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:48 verbose #81822 > │ v18 │
00:29:48 verbose #81823 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:29:48 verbose #81824 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:29:48 verbose #81825 > │ let v22 : string = "$0.exists()" │
00:29:48 verbose #81826 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:48 verbose #81827 > │ let v26 : bool = │
00:29:48 verbose #81828 > │ if v23 then │
00:29:48 verbose #81829 > │ let v24 : string = "$0.is_dir()" │
00:29:48 verbose #81830 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:29:48 verbose #81831 > │ v25 │
00:29:48 verbose #81832 > │ else │
00:29:48 verbose #81833 > │ false │
00:29:48 verbose #81834 > │ v26 │
00:29:48 verbose #81835 > │ #endif │
00:29:48 verbose #81836 > │ │
00:29:48 verbose #81837 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81838 > │ let v27 : bool = null |> unbox<bool> │
00:29:48 verbose #81839 > │ v27 │
00:29:48 verbose #81840 > │ #endif │
00:29:48 verbose #81841 > │ │
00:29:48 verbose #81842 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81843 > │ let v28 : bool = null |> unbox<bool> │
00:29:48 verbose #81844 > │ v28 │
00:29:48 verbose #81845 > │ #endif │
00:29:48 verbose #81846 > │ │
00:29:48 verbose #81847 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81848 > │ let v29 : string = "fs" │
00:29:48 verbose #81849 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:29:48 verbose #81850 > │ let v31 : string = "v30.existsSync($0)" │
00:29:48 verbose #81851 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:29:48 verbose #81852 > │ v32 │
00:29:48 verbose #81853 > │ #endif │
00:29:48 verbose #81854 > │ │
00:29:48 verbose #81855 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81856 > │ let v33 : bool = null |> unbox<bool> │
00:29:48 verbose #81857 > │ v33 │
00:29:48 verbose #81858 > │ #endif │
00:29:48 verbose #81859 > │ │
00:29:48 verbose #81860 > │ #else │
00:29:48 verbose #81861 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:29:48 verbose #81862 > │ let v35 : bool = v34 v12 │
00:29:48 verbose #81863 > │ v35 │
00:29:48 verbose #81864 > │ #endif │
00:29:48 verbose #81865 > │ |> fun x -> _v13 <- Some x │
00:29:48 verbose #81866 > │ let v36 : bool = _v13.Value │
00:29:48 verbose #81867 > │ if v36 then │
00:29:48 verbose #81868 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:48 verbose #81869 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:29:48 verbose #81870 > │ () │
00:29:48 verbose #81871 > │ () │
00:29:48 verbose #81872 > │ #endif │
00:29:48 verbose #81873 > │ │
00:29:48 verbose #81874 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81875 > │ null |> unbox<unit> │
00:29:48 verbose #81876 > │ () │
00:29:48 verbose #81877 > │ #endif │
00:29:48 verbose #81878 > │ │
00:29:48 verbose #81879 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81880 > │ null |> unbox<unit> │
00:29:48 verbose #81881 > │ () │
00:29:48 verbose #81882 > │ #endif │
00:29:48 verbose #81883 > │ │
00:29:48 verbose #81884 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81885 > │ null |> unbox<unit> │
00:29:48 verbose #81886 > │ () │
00:29:48 verbose #81887 > │ #endif │
00:29:48 verbose #81888 > │ │
00:29:48 verbose #81889 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81890 > │ null |> unbox<unit> │
00:29:48 verbose #81891 > │ () │
00:29:48 verbose #81892 > │ #endif │
00:29:48 verbose #81893 > │ │
00:29:48 verbose #81894 > │ #else │
00:29:48 verbose #81895 > │ System.IO.Directory.Delete (v0, true) │
00:29:48 verbose #81896 > │ () │
00:29:48 verbose #81897 > │ #endif │
00:29:48 verbose #81898 > │ |> fun x -> _v10 <- Some x │
00:29:48 verbose #81899 > │ _v10.Value │
00:29:48 verbose #81900 > │ return v1 │
00:29:48 verbose #81901 > │ with ex -> │
00:29:48 verbose #81902 > │ let v38 : exn = ex │
00:29:48 verbose #81903 > │ let v39 : int64 = v1 % 100L │
00:29:48 verbose #81904 > │ let v40 : bool = v39 = 0L │
00:29:48 verbose #81905 > │ if v40 then │
00:29:48 verbose #81906 > │ let v41 : string option = None │
00:29:48 verbose #81907 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:29:48 verbose #81908 > │ │
00:29:48 verbose #81909 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81910 > │ │
00:29:48 verbose #81911 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81912 > │ let v43 : string = $"%A{v38}" │
00:29:48 verbose #81913 > │ v43 │
00:29:48 verbose #81914 > │ #endif │
00:29:48 verbose #81915 > │ │
00:29:48 verbose #81916 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81917 > │ let v44 : string = $"%A{v38}" │
00:29:48 verbose #81918 > │ v44 │
00:29:48 verbose #81919 > │ #endif │
00:29:48 verbose #81920 > │ │
00:29:48 verbose #81921 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81922 > │ let v45 : string = $"%A{v38}" │
00:29:48 verbose #81923 > │ v45 │
00:29:48 verbose #81924 > │ #endif │
00:29:48 verbose #81925 > │ │
00:29:48 verbose #81926 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81927 > │ let v46 : string = $"%A{v38}" │
00:29:48 verbose #81928 > │ v46 │
00:29:48 verbose #81929 > │ #endif │
00:29:48 verbose #81930 > │ │
00:29:48 verbose #81931 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81932 > │ let v47 : string = $"%A{v38}" │
00:29:48 verbose #81933 > │ v47 │
00:29:48 verbose #81934 > │ #endif │
00:29:48 verbose #81935 > │ │
00:29:48 verbose #81936 > │ #else │
00:29:48 verbose #81937 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:29:48 verbose #81938 > │ v48 │
00:29:48 verbose #81939 > │ #endif │
00:29:48 verbose #81940 > │ |> fun x -> _v41 <- Some x │
00:29:48 verbose #81941 > │ let v49 : string = _v41.Value │
00:29:48 verbose #81942 > │ let v50 : US3 = US3_1 │
00:29:48 verbose #81943 > │ let v51 : (unit -> string) = closure17() │
00:29:48 verbose #81944 > │ let v52 : (unit -> string) = closure18(v0, v49) │
00:29:48 verbose #81945 > │ method12(v50, v51, v52) │
00:29:48 verbose #81946 > │ let v53 : Async<unit> option = None │
00:29:48 verbose #81947 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:29:48 verbose #81948 > │ │
00:29:48 verbose #81949 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #81950 > │ │
00:29:48 verbose #81951 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #81952 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #81953 > │ v55 │
00:29:48 verbose #81954 > │ #endif │
00:29:48 verbose #81955 > │ │
00:29:48 verbose #81956 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #81957 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #81958 > │ v56 │
00:29:48 verbose #81959 > │ #endif │
00:29:48 verbose #81960 > │ │
00:29:48 verbose #81961 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #81962 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #81963 > │ v57 │
00:29:48 verbose #81964 > │ #endif │
00:29:48 verbose #81965 > │ │
00:29:48 verbose #81966 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #81967 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #81968 > │ v58 │
00:29:48 verbose #81969 > │ #endif │
00:29:48 verbose #81970 > │ │
00:29:48 verbose #81971 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #81972 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #81973 > │ v59 │
00:29:48 verbose #81974 > │ #endif │
00:29:48 verbose #81975 > │ │
00:29:48 verbose #81976 > │ #else │
00:29:48 verbose #81977 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:29:48 verbose #81978 > │ let v61 : Async<unit> = v60 10 │
00:29:48 verbose #81979 > │ v61 │
00:29:48 verbose #81980 > │ #endif │
00:29:48 verbose #81981 > │ |> fun x -> _v53 <- Some x │
00:29:48 verbose #81982 > │ let v62 : Async<unit> = _v53.Value │
00:29:48 verbose #81983 > │ do! v62 │
00:29:48 verbose #81984 > │ let v63 : int64 = v1 + 1L │
00:29:48 verbose #81985 > │ let v64 : Async<int64> = method20(v0, v63) │
00:29:48 verbose #81986 > │ return! v64 │
00:29:48 verbose #81987 > │ (* │
00:29:48 verbose #81988 > │ let v65 : int64 = *) │
00:29:48 verbose #81989 > │ } │
00:29:48 verbose #81990 > │ |> fun x -> _v9 <- Some x │
00:29:48 verbose #81991 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:29:48 verbose #81992 > │ v66 │
00:29:48 verbose #81993 > │ #endif │
00:29:48 verbose #81994 > │ |> fun x -> _v2 <- Some x │
00:29:48 verbose #81995 > │ let v67 : Async<int64> = _v2.Value │
00:29:48 verbose #81996 > │ v67 │
00:29:48 verbose #81997 > │ and closure16 (v0 : string) () : unit = │
00:29:48 verbose #81998 > │ let v1 : Async<int64> option = None │
00:29:48 verbose #81999 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:48 verbose #82000 > │ │
00:29:48 verbose #82001 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82002 > │ │
00:29:48 verbose #82003 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82004 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82005 > │ v3 │
00:29:48 verbose #82006 > │ #endif │
00:29:48 verbose #82007 > │ │
00:29:48 verbose #82008 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82009 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82010 > │ v4 │
00:29:48 verbose #82011 > │ #endif │
00:29:48 verbose #82012 > │ │
00:29:48 verbose #82013 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82014 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82015 > │ v5 │
00:29:48 verbose #82016 > │ #endif │
00:29:48 verbose #82017 > │ │
00:29:48 verbose #82018 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82019 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82020 > │ v6 │
00:29:48 verbose #82021 > │ #endif │
00:29:48 verbose #82022 > │ │
00:29:48 verbose #82023 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82024 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82025 > │ v7 │
00:29:48 verbose #82026 > │ #endif │
00:29:48 verbose #82027 > │ │
00:29:48 verbose #82028 > │ #else │
00:29:48 verbose #82029 > │ let v8 : int64 = 0L │
00:29:48 verbose #82030 > │ let v9 : Async<int64> = method20(v0, v8) │
00:29:48 verbose #82031 > │ v9 │
00:29:48 verbose #82032 > │ #endif │
00:29:48 verbose #82033 > │ |> fun x -> _v1 <- Some x │
00:29:48 verbose #82034 > │ let v10 : Async<int64> = _v1.Value │
00:29:48 verbose #82035 > │ let v11 : Async<unit> option = None │
00:29:48 verbose #82036 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:29:48 verbose #82037 > │ │
00:29:48 verbose #82038 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82039 > │ │
00:29:48 verbose #82040 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82041 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82042 > │ v13 │
00:29:48 verbose #82043 > │ #endif │
00:29:48 verbose #82044 > │ │
00:29:48 verbose #82045 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82046 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82047 > │ v14 │
00:29:48 verbose #82048 > │ #endif │
00:29:48 verbose #82049 > │ │
00:29:48 verbose #82050 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82051 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82052 > │ v15 │
00:29:48 verbose #82053 > │ #endif │
00:29:48 verbose #82054 > │ │
00:29:48 verbose #82055 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82056 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82057 > │ v16 │
00:29:48 verbose #82058 > │ #endif │
00:29:48 verbose #82059 > │ │
00:29:48 verbose #82060 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82061 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82062 > │ v17 │
00:29:48 verbose #82063 > │ #endif │
00:29:48 verbose #82064 > │ │
00:29:48 verbose #82065 > │ #else │
00:29:48 verbose #82066 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:29:48 verbose #82067 > │ let v19 : Async<unit> = v18 v10 │
00:29:48 verbose #82068 > │ v19 │
00:29:48 verbose #82069 > │ #endif │
00:29:48 verbose #82070 > │ |> fun x -> _v11 <- Some x │
00:29:48 verbose #82071 > │ let v20 : Async<unit> = _v11.Value │
00:29:48 verbose #82072 > │ let v21 : unit option = None │
00:29:48 verbose #82073 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:29:48 verbose #82074 > │ │
00:29:48 verbose #82075 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82076 > │ │
00:29:48 verbose #82077 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82078 > │ null |> unbox<unit> │
00:29:48 verbose #82079 > │ () │
00:29:48 verbose #82080 > │ #endif │
00:29:48 verbose #82081 > │ │
00:29:48 verbose #82082 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82083 > │ null |> unbox<unit> │
00:29:48 verbose #82084 > │ () │
00:29:48 verbose #82085 > │ #endif │
00:29:48 verbose #82086 > │ │
00:29:48 verbose #82087 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82088 > │ null |> unbox<unit> │
00:29:48 verbose #82089 > │ () │
00:29:48 verbose #82090 > │ #endif │
00:29:48 verbose #82091 > │ │
00:29:48 verbose #82092 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82093 > │ null |> unbox<unit> │
00:29:48 verbose #82094 > │ () │
00:29:48 verbose #82095 > │ #endif │
00:29:48 verbose #82096 > │ │
00:29:48 verbose #82097 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82098 > │ null |> unbox<unit> │
00:29:48 verbose #82099 > │ () │
00:29:48 verbose #82100 > │ #endif │
00:29:48 verbose #82101 > │ │
00:29:48 verbose #82102 > │ #else │
00:29:48 verbose #82103 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:29:48 verbose #82104 > │ v23 v20 │
00:29:48 verbose #82105 > │ () │
00:29:48 verbose #82106 > │ #endif │
00:29:48 verbose #82107 > │ |> fun x -> _v21 <- Some x │
00:29:48 verbose #82108 > │ _v21.Value │
00:29:48 verbose #82109 > │ () │
00:29:48 verbose #82110 > │ and method21 (v0 : string) : (unit -> unit) = │
00:29:48 verbose #82111 > │ closure16(v0) │
00:29:48 verbose #82112 > │ and closure20 () () : string = │
00:29:48 verbose #82113 > │ let v0 : string = "1" │
00:29:48 verbose #82114 > │ v0 │
00:29:48 verbose #82115 > │ and closure21 () () : string = │
00:29:48 verbose #82116 > │ let v0 : string = "2" │
00:29:48 verbose #82117 > │ v0 │
00:29:48 verbose #82118 > │ and closure22 () () : string = │
00:29:48 verbose #82119 > │ let v0 : string = "_1" │
00:29:48 verbose #82120 > │ v0 │
00:29:48 verbose #82121 > │ and closure23 () () : string = │
00:29:48 verbose #82122 > │ let v0 : string = "_2" │
00:29:48 verbose #82123 > │ v0 │
00:29:48 verbose #82124 > │ and closure24 () () : string = │
00:29:48 verbose #82125 > │ let v0 : string = "_3" │
00:29:48 verbose #82126 > │ v0 │
00:29:48 verbose #82127 > │ and closure25 () () : string = │
00:29:48 verbose #82128 > │ let v0 : string = "3" │
00:29:48 verbose #82129 > │ v0 │
00:29:48 verbose #82130 > │ and closure26 () () : string = │
00:29:48 verbose #82131 > │ let v0 : string = "4" │
00:29:48 verbose #82132 > │ v0 │
00:29:48 verbose #82133 > │ and closure27 () () : string = │
00:29:48 verbose #82134 > │ let v0 : string = "delete_file_async" │
00:29:48 verbose #82135 > │ v0 │
00:29:48 verbose #82136 > │ and closure28 (v0 : string, v1 : exn) () : string = │
00:29:48 verbose #82137 > │ let v2 : string option = None │
00:29:48 verbose #82138 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:48 verbose #82139 > │ │
00:29:48 verbose #82140 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82141 > │ │
00:29:48 verbose #82142 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82143 > │ let v4 : string = $"%A{v1}" │
00:29:48 verbose #82144 > │ v4 │
00:29:48 verbose #82145 > │ #endif │
00:29:48 verbose #82146 > │ │
00:29:48 verbose #82147 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82148 > │ let v5 : string = $"%A{v1}" │
00:29:48 verbose #82149 > │ v5 │
00:29:48 verbose #82150 > │ #endif │
00:29:48 verbose #82151 > │ │
00:29:48 verbose #82152 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82153 > │ let v6 : string = $"%A{v1}" │
00:29:48 verbose #82154 > │ v6 │
00:29:48 verbose #82155 > │ #endif │
00:29:48 verbose #82156 > │ │
00:29:48 verbose #82157 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82158 > │ let v7 : string = $"%A{v1}" │
00:29:48 verbose #82159 > │ v7 │
00:29:48 verbose #82160 > │ #endif │
00:29:48 verbose #82161 > │ │
00:29:48 verbose #82162 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82163 > │ let v8 : string = $"%A{v1}" │
00:29:48 verbose #82164 > │ v8 │
00:29:48 verbose #82165 > │ #endif │
00:29:48 verbose #82166 > │ │
00:29:48 verbose #82167 > │ #else │
00:29:48 verbose #82168 > │ let v9 : string = $"{v1.GetType ()}: {v1.Message}" │
00:29:48 verbose #82169 > │ v9 │
00:29:48 verbose #82170 > │ #endif │
00:29:48 verbose #82171 > │ |> fun x -> _v2 <- Some x │
00:29:48 verbose #82172 > │ let v10 : string = _v2.Value │
00:29:48 verbose #82173 > │ let v11 : (string -> string) = closure19() │
00:29:48 verbose #82174 > │ let v12 : (unit -> string) = closure6() │
00:29:48 verbose #82175 > │ let v13 : string = $"path: {v0 |> v11} / ex: {v10} / {v12 ()}" │
00:29:48 verbose #82176 > │ v13 │
00:29:48 verbose #82177 > │ and method22 (v0 : string, v1 : int64) : Async<int64> = │
00:29:48 verbose #82178 > │ let v2 : Async<int64> option = None │
00:29:48 verbose #82179 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:48 verbose #82180 > │ │
00:29:48 verbose #82181 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82182 > │ │
00:29:48 verbose #82183 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82184 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82185 > │ v4 │
00:29:48 verbose #82186 > │ #endif │
00:29:48 verbose #82187 > │ │
00:29:48 verbose #82188 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82189 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82190 > │ v5 │
00:29:48 verbose #82191 > │ #endif │
00:29:48 verbose #82192 > │ │
00:29:48 verbose #82193 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82194 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82195 > │ v6 │
00:29:48 verbose #82196 > │ #endif │
00:29:48 verbose #82197 > │ │
00:29:48 verbose #82198 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82199 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82200 > │ v7 │
00:29:48 verbose #82201 > │ #endif │
00:29:48 verbose #82202 > │ │
00:29:48 verbose #82203 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82204 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:48 verbose #82205 > │ v8 │
00:29:48 verbose #82206 > │ #endif │
00:29:48 verbose #82207 > │ │
00:29:48 verbose #82208 > │ #else │
00:29:48 verbose #82209 > │ let v9 : Async<int64> option = None │
00:29:48 verbose #82210 > │ let mutable _v9 = v9 │
00:29:48 verbose #82211 > │ async { │
00:29:48 verbose #82212 > │ try │
00:29:48 verbose #82213 > │ let v10 : unit option = None │
00:29:48 verbose #82214 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:48 verbose #82215 > │ │
00:29:48 verbose #82216 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82217 > │ │
00:29:48 verbose #82218 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82219 > │ null |> unbox<unit> │
00:29:48 verbose #82220 > │ () │
00:29:48 verbose #82221 > │ #endif │
00:29:48 verbose #82222 > │ │
00:29:48 verbose #82223 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82224 > │ null |> unbox<unit> │
00:29:48 verbose #82225 > │ () │
00:29:48 verbose #82226 > │ #endif │
00:29:48 verbose #82227 > │ │
00:29:48 verbose #82228 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82229 > │ null |> unbox<unit> │
00:29:48 verbose #82230 > │ () │
00:29:48 verbose #82231 > │ #endif │
00:29:48 verbose #82232 > │ │
00:29:48 verbose #82233 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82234 > │ null |> unbox<unit> │
00:29:48 verbose #82235 > │ () │
00:29:48 verbose #82236 > │ #endif │
00:29:48 verbose #82237 > │ │
00:29:48 verbose #82238 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82239 > │ null |> unbox<unit> │
00:29:48 verbose #82240 > │ () │
00:29:48 verbose #82241 > │ #endif │
00:29:48 verbose #82242 > │ │
00:29:48 verbose #82243 > │ #else │
00:29:48 verbose #82244 > │ let v12 : (string -> unit) = System.IO.File.Delete │
00:29:48 verbose #82245 > │ v12 v0 │
00:29:48 verbose #82246 > │ () │
00:29:48 verbose #82247 > │ #endif │
00:29:48 verbose #82248 > │ |> fun x -> _v10 <- Some x │
00:29:48 verbose #82249 > │ _v10.Value │
00:29:48 verbose #82250 > │ return v1 │
00:29:48 verbose #82251 > │ with ex -> │
00:29:48 verbose #82252 > │ let v13 : exn = ex │
00:29:48 verbose #82253 > │ let v14 : int64 = v1 % 100L │
00:29:48 verbose #82254 > │ let v15 : bool = v14 = 0L │
00:29:48 verbose #82255 > │ if v15 then │
00:29:48 verbose #82256 > │ let v16 : US3 = US3_3 │
00:29:48 verbose #82257 > │ let v17 : (unit -> string) = closure27() │
00:29:48 verbose #82258 > │ let v18 : (unit -> string) = closure28(v0, v13) │
00:29:48 verbose #82259 > │ method12(v16, v17, v18) │
00:29:48 verbose #82260 > │ let v19 : Async<unit> option = None │
00:29:48 verbose #82261 > │ let v20 : bool = true in let mutable _v19 = v19 │
00:29:48 verbose #82262 > │ │
00:29:48 verbose #82263 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82264 > │ │
00:29:48 verbose #82265 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82266 > │ let v21 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82267 > │ v21 │
00:29:48 verbose #82268 > │ #endif │
00:29:48 verbose #82269 > │ │
00:29:48 verbose #82270 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82271 > │ let v22 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82272 > │ v22 │
00:29:48 verbose #82273 > │ #endif │
00:29:48 verbose #82274 > │ │
00:29:48 verbose #82275 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82276 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82277 > │ v23 │
00:29:48 verbose #82278 > │ #endif │
00:29:48 verbose #82279 > │ │
00:29:48 verbose #82280 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82281 > │ let v24 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82282 > │ v24 │
00:29:48 verbose #82283 > │ #endif │
00:29:48 verbose #82284 > │ │
00:29:48 verbose #82285 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82286 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:29:48 verbose #82287 > │ v25 │
00:29:48 verbose #82288 > │ #endif │
00:29:48 verbose #82289 > │ │
00:29:48 verbose #82290 > │ #else │
00:29:48 verbose #82291 > │ let v26 : (int32 -> Async<unit>) = Async.Sleep │
00:29:48 verbose #82292 > │ let v27 : Async<unit> = v26 10 │
00:29:48 verbose #82293 > │ v27 │
00:29:48 verbose #82294 > │ #endif │
00:29:48 verbose #82295 > │ |> fun x -> _v19 <- Some x │
00:29:48 verbose #82296 > │ let v28 : Async<unit> = _v19.Value │
00:29:48 verbose #82297 > │ do! v28 │
00:29:48 verbose #82298 > │ let v29 : int64 = v1 + 1L │
00:29:48 verbose #82299 > │ let v30 : Async<int64> = method22(v0, v29) │
00:29:48 verbose #82300 > │ return! v30 │
00:29:48 verbose #82301 > │ (* │
00:29:48 verbose #82302 > │ let v31 : int64 = *) │
00:29:48 verbose #82303 > │ } │
00:29:48 verbose #82304 > │ |> fun x -> _v9 <- Some x │
00:29:48 verbose #82305 > │ let v32 : Async<int64> = _v9 |> Option.get │
00:29:48 verbose #82306 > │ v32 │
00:29:48 verbose #82307 > │ #endif │
00:29:48 verbose #82308 > │ |> fun x -> _v2 <- Some x │
00:29:48 verbose #82309 > │ let v33 : Async<int64> = _v2.Value │
00:29:48 verbose #82310 > │ v33 │
00:29:48 verbose #82311 > │ and closure29 () () : string = │
00:29:48 verbose #82312 > │ let v0 : string = "5" │
00:29:48 verbose #82313 > │ v0 │
00:29:48 verbose #82314 > │ and closure30 () () : string = │
00:29:48 verbose #82315 > │ let v0 : string = "6" │
00:29:48 verbose #82316 > │ v0 │
00:29:48 verbose #82317 > │ and closure31 () (v0 : int64) : US6 = │
00:29:48 verbose #82318 > │ US6_0(v0) │
00:29:48 verbose #82319 > │ and closure32 () (v0 : exn) : US6 = │
00:29:48 verbose #82320 > │ US6_1(v0) │
00:29:48 verbose #82321 > │ and closure33 () () : string = │
00:29:48 verbose #82322 > │ let v0 : string = "run_with_timeout_async" │
00:29:48 verbose #82323 > │ v0 │
00:29:48 verbose #82324 > │ and closure34 () () : string = │
00:29:48 verbose #82325 > │ let v0 : (unit -> string) = closure6() │
00:29:48 verbose #82326 > │ let v1 : string = $"timeout: {3000} / {v0 ()}" │
00:29:48 verbose #82327 > │ v1 │
00:29:48 verbose #82328 > │ and closure35 (v0 : string) () : string = │
00:29:48 verbose #82329 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:29:48 verbose #82330 > │ v1 │
00:29:48 verbose #82331 > │ and method23 (v0 : bool) : bool = │
00:29:48 verbose #82332 > │ v0 │
00:29:48 verbose #82333 > │ and method0 () : unit = │
00:29:48 verbose #82334 > │ let v0 : string option = None │
00:29:48 verbose #82335 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:29:48 verbose #82336 > │ │
00:29:48 verbose #82337 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82338 > │ │
00:29:48 verbose #82339 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82340 > │ let v2 : string option = None │
00:29:48 verbose #82341 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:48 verbose #82342 > │ │
00:29:48 verbose #82343 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82344 > │ │
00:29:48 verbose #82345 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82346 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:48 verbose #82347 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:29:48 verbose #82348 > │ v5 │
00:29:48 verbose #82349 > │ #endif │
00:29:48 verbose #82350 > │ │
00:29:48 verbose #82351 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82352 > │ let v6 : string = null |> unbox<string> │
00:29:48 verbose #82353 > │ v6 │
00:29:48 verbose #82354 > │ #endif │
00:29:48 verbose #82355 > │ │
00:29:48 verbose #82356 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82357 > │ let v7 : string = null |> unbox<string> │
00:29:48 verbose #82358 > │ v7 │
00:29:48 verbose #82359 > │ #endif │
00:29:48 verbose #82360 > │ │
00:29:48 verbose #82361 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82362 > │ let v8 : string = null |> unbox<string> │
00:29:48 verbose #82363 > │ v8 │
00:29:48 verbose #82364 > │ #endif │
00:29:48 verbose #82365 > │ │
00:29:48 verbose #82366 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82367 > │ let v9 : string = null |> unbox<string> │
00:29:48 verbose #82368 > │ v9 │
00:29:48 verbose #82369 > │ #endif │
00:29:48 verbose #82370 > │ │
00:29:48 verbose #82371 > │ #else │
00:29:48 verbose #82372 > │ let v10 : string = │
00:29:48 verbose #82373 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:48 verbose #82374 > │ v10 │
00:29:48 verbose #82375 > │ #endif │
00:29:48 verbose #82376 > │ |> fun x -> _v2 <- Some x │
00:29:48 verbose #82377 > │ let v11 : string = _v2.Value │
00:29:48 verbose #82378 > │ let v12 : string option = None │
00:29:48 verbose #82379 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:29:48 verbose #82380 > │ │
00:29:48 verbose #82381 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82382 > │ │
00:29:48 verbose #82383 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82384 > │ let v14 : string = "std::env::temp_dir()" │
00:29:48 verbose #82385 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:29:48 verbose #82386 > │ let v16 : string = "$0.display()" │
00:29:48 verbose #82387 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:48 verbose #82388 > │ let v18 : std_string_String option = None │
00:29:48 verbose #82389 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:29:48 verbose #82390 > │ │
00:29:48 verbose #82391 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82392 > │ │
00:29:48 verbose #82393 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82394 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #82395 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:48 verbose #82396 > │ v20 │
00:29:48 verbose #82397 > │ v21 │
00:29:48 verbose #82398 > │ #endif │
00:29:48 verbose #82399 > │ │
00:29:48 verbose #82400 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82401 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #82402 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:48 verbose #82403 > │ v22 │
00:29:48 verbose #82404 > │ v23 │
00:29:48 verbose #82405 > │ #endif │
00:29:48 verbose #82406 > │ │
00:29:48 verbose #82407 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82408 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #82409 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:48 verbose #82410 > │ v24 │
00:29:48 verbose #82411 > │ v25 │
00:29:48 verbose #82412 > │ #endif │
00:29:48 verbose #82413 > │ │
00:29:48 verbose #82414 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82415 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #82416 > │ v26 │
00:29:48 verbose #82417 > │ #endif │
00:29:48 verbose #82418 > │ │
00:29:48 verbose #82419 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82420 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #82421 > │ v27 │
00:29:48 verbose #82422 > │ #endif │
00:29:48 verbose #82423 > │ │
00:29:48 verbose #82424 > │ #else │
00:29:48 verbose #82425 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #82426 > │ v28 │
00:29:48 verbose #82427 > │ #endif │
00:29:48 verbose #82428 > │ |> fun x -> _v18 <- Some x │
00:29:48 verbose #82429 > │ let v29 : std_string_String = _v18.Value │
00:29:48 verbose #82430 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #82431 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:29:48 verbose #82432 > │ v31 │
00:29:48 verbose #82433 > │ #endif │
00:29:48 verbose #82434 > │ │
00:29:48 verbose #82435 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82436 > │ let v32 : string = null |> unbox<string> │
00:29:48 verbose #82437 > │ v32 │
00:29:48 verbose #82438 > │ #endif │
00:29:48 verbose #82439 > │ │
00:29:48 verbose #82440 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82441 > │ let v33 : string = null |> unbox<string> │
00:29:48 verbose #82442 > │ v33 │
00:29:48 verbose #82443 > │ #endif │
00:29:48 verbose #82444 > │ │
00:29:48 verbose #82445 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82446 > │ let v34 : string = null |> unbox<string> │
00:29:48 verbose #82447 > │ v34 │
00:29:48 verbose #82448 > │ #endif │
00:29:48 verbose #82449 > │ │
00:29:48 verbose #82450 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82451 > │ let v35 : string = null |> unbox<string> │
00:29:48 verbose #82452 > │ v35 │
00:29:48 verbose #82453 > │ #endif │
00:29:48 verbose #82454 > │ │
00:29:48 verbose #82455 > │ #else │
00:29:48 verbose #82456 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:48 verbose #82457 > │ let v37 : string = v36 () │
00:29:48 verbose #82458 > │ v37 │
00:29:48 verbose #82459 > │ #endif │
00:29:48 verbose #82460 > │ |> fun x -> _v12 <- Some x │
00:29:48 verbose #82461 > │ let v38 : string = _v12.Value │
00:29:48 verbose #82462 > │ let v39 : string = $"!{v11}" │
00:29:48 verbose #82463 > │ let v40 : string = method1(v38, v39) │
00:29:48 verbose #82464 > │ let v41 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #82465 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:29:48 verbose #82466 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:29:48 verbose #82467 > │ let v44 : string = v43 v42 │
00:29:48 verbose #82468 > │ let v45 : struct (string * string) option = None │
00:29:48 verbose #82469 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:29:48 verbose #82470 > │ │
00:29:48 verbose #82471 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82472 > │ │
00:29:48 verbose #82473 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82474 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:48 verbose #82475 > │ System.DateTimeKind.Utc) │
00:29:48 verbose #82476 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:48 verbose #82477 > │ let v49 : System.DateTime = v48 v47 │
00:29:48 verbose #82478 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:48 verbose #82479 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:29:48 verbose #82480 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:48 verbose #82481 > │ let v53 : System.DateTime = v52 v51 │
00:29:48 verbose #82482 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #82483 > │ let v55 : int64 = v54 v53 │
00:29:48 verbose #82484 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #82485 > │ let v57 : int64 = v56 v49 │
00:29:48 verbose #82486 > │ let v58 : int64 = v55 - v57 │
00:29:48 verbose #82487 > │ let v59 : int64 = v58 / 10L │
00:29:48 verbose #82488 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:48 verbose #82489 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:29:48 verbose #82490 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:29:48 verbose #82491 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:48 verbose #82492 > │ let v63 : US0 = US0_1 │
00:29:48 verbose #82493 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:29:48 verbose #82494 > │ let v83 : US1 = │
00:29:48 verbose #82495 > │ match v64 with │
00:29:48 verbose #82496 > │ | US0_1 -> (* None *) │
00:29:48 verbose #82497 > │ US1_1 │
00:29:48 verbose #82498 > │ | US0_0(v65) -> (* Some *) │
00:29:48 verbose #82499 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:29:48 verbose #82500 > │ let v67 : string = "v66.naive_utc()" │
00:29:48 verbose #82501 > │ let v68 : chrono_NaiveDateTime = │
00:29:48 verbose #82502 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:29:48 verbose #82503 > │ let v69 : string = │
00:29:48 verbose #82504 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:29:48 verbose #82505 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:29:48 verbose #82506 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:29:48 verbose #82507 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:29:48 verbose #82508 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:29:48 verbose #82509 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:29:48 verbose #82510 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:29:48 verbose #82511 > │ let v75 : string = "v74.format(v73).to_string()" │
00:29:48 verbose #82512 > │ let v76 : std_string_String = │
00:29:48 verbose #82513 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:29:48 verbose #82514 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #82515 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:29:48 verbose #82516 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:29:48 verbose #82517 > │ US1_0(v79) │
00:29:48 verbose #82518 > │ let v87 : string = │
00:29:48 verbose #82519 > │ match v83 with │
00:29:48 verbose #82520 > │ | US1_1 -> (* None *) │
00:29:48 verbose #82521 > │ let v85 : string = "" │
00:29:48 verbose #82522 > │ v85 │
00:29:48 verbose #82523 > │ | US1_0(v84) -> (* Some *) │
00:29:48 verbose #82524 > │ v84 │
00:29:48 verbose #82525 > │ let v88 : System.TimeZoneInfo option = None │
00:29:48 verbose #82526 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:29:48 verbose #82527 > │ │
00:29:48 verbose #82528 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82529 > │ │
00:29:48 verbose #82530 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82531 > │ let v90 : string = "0i64.into()" │
00:29:48 verbose #82532 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #82533 > │ v90 │
00:29:48 verbose #82534 > │ v91 │
00:29:48 verbose #82535 > │ #endif │
00:29:48 verbose #82536 > │ │
00:29:48 verbose #82537 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82538 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82539 > │ v92 │
00:29:48 verbose #82540 > │ #endif │
00:29:48 verbose #82541 > │ │
00:29:48 verbose #82542 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82543 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82544 > │ v93 │
00:29:48 verbose #82545 > │ #endif │
00:29:48 verbose #82546 > │ │
00:29:48 verbose #82547 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82548 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82549 > │ v94 │
00:29:48 verbose #82550 > │ #endif │
00:29:48 verbose #82551 > │ │
00:29:48 verbose #82552 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82553 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82554 > │ v95 │
00:29:48 verbose #82555 > │ #endif │
00:29:48 verbose #82556 > │ │
00:29:48 verbose #82557 > │ #else │
00:29:48 verbose #82558 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #82559 > │ v96 │
00:29:48 verbose #82560 > │ #endif │
00:29:48 verbose #82561 > │ |> fun x -> _v88 <- Some x │
00:29:48 verbose #82562 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:29:48 verbose #82563 > │ let v98 : System.TimeSpan option = None │
00:29:48 verbose #82564 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:29:48 verbose #82565 > │ │
00:29:48 verbose #82566 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82567 > │ │
00:29:48 verbose #82568 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82569 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82570 > │ v100 │
00:29:48 verbose #82571 > │ #endif │
00:29:48 verbose #82572 > │ │
00:29:48 verbose #82573 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82574 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82575 > │ v101 │
00:29:48 verbose #82576 > │ #endif │
00:29:48 verbose #82577 > │ │
00:29:48 verbose #82578 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82579 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82580 > │ v102 │
00:29:48 verbose #82581 > │ #endif │
00:29:48 verbose #82582 > │ │
00:29:48 verbose #82583 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82584 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82585 > │ v103 │
00:29:48 verbose #82586 > │ #endif │
00:29:48 verbose #82587 > │ │
00:29:48 verbose #82588 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82589 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82590 > │ v104 │
00:29:48 verbose #82591 > │ #endif │
00:29:48 verbose #82592 > │ │
00:29:48 verbose #82593 > │ #else │
00:29:48 verbose #82594 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:48 verbose #82595 > │ = _.GetUtcOffset │
00:29:48 verbose #82596 > │ let v106 : System.TimeZoneInfo option = None │
00:29:48 verbose #82597 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:29:48 verbose #82598 > │ │
00:29:48 verbose #82599 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82600 > │ │
00:29:48 verbose #82601 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82602 > │ let v108 : string = "0i64.into()" │
00:29:48 verbose #82603 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #82604 > │ v108 │
00:29:48 verbose #82605 > │ v109 │
00:29:48 verbose #82606 > │ #endif │
00:29:48 verbose #82607 > │ │
00:29:48 verbose #82608 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82609 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82610 > │ v110 │
00:29:48 verbose #82611 > │ #endif │
00:29:48 verbose #82612 > │ │
00:29:48 verbose #82613 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82614 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82615 > │ v111 │
00:29:48 verbose #82616 > │ #endif │
00:29:48 verbose #82617 > │ │
00:29:48 verbose #82618 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82619 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82620 > │ v112 │
00:29:48 verbose #82621 > │ #endif │
00:29:48 verbose #82622 > │ │
00:29:48 verbose #82623 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82624 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82625 > │ v113 │
00:29:48 verbose #82626 > │ #endif │
00:29:48 verbose #82627 > │ │
00:29:48 verbose #82628 > │ #else │
00:29:48 verbose #82629 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #82630 > │ v114 │
00:29:48 verbose #82631 > │ #endif │
00:29:48 verbose #82632 > │ |> fun x -> _v106 <- Some x │
00:29:48 verbose #82633 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:29:48 verbose #82634 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:29:48 verbose #82635 > │ let v117 : System.TimeSpan = v116 v53 │
00:29:48 verbose #82636 > │ v117 │
00:29:48 verbose #82637 > │ #endif │
00:29:48 verbose #82638 > │ |> fun x -> _v98 <- Some x │
00:29:48 verbose #82639 > │ let v118 : System.TimeSpan = _v98.Value │
00:29:48 verbose #82640 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:29:48 verbose #82641 > │ let v120 : int32 = v119 v118 │
00:29:48 verbose #82642 > │ let v121 : bool = v120 > 0 │
00:29:48 verbose #82643 > │ let v122 : uint8 = │
00:29:48 verbose #82644 > │ if v121 then │
00:29:48 verbose #82645 > │ 1uy │
00:29:48 verbose #82646 > │ else │
00:29:48 verbose #82647 > │ 0uy │
00:29:48 verbose #82648 > │ let v123 : (string -> string) = v118.ToString │
00:29:48 verbose #82649 > │ let v124 : string = "hh:mm" │
00:29:48 verbose #82650 > │ let v125 : string = v123 v124 │
00:29:48 verbose #82651 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:29:48 verbose #82652 > │ struct (v87, v126) │
00:29:48 verbose #82653 > │ #endif │
00:29:48 verbose #82654 > │ │
00:29:48 verbose #82655 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82656 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:29:48 verbose #82657 > │ * string)> │
00:29:48 verbose #82658 > │ struct (v127, v128) │
00:29:48 verbose #82659 > │ #endif │
00:29:48 verbose #82660 > │ │
00:29:48 verbose #82661 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82662 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:29:48 verbose #82663 > │ * string)> │
00:29:48 verbose #82664 > │ struct (v129, v130) │
00:29:48 verbose #82665 > │ #endif │
00:29:48 verbose #82666 > │ │
00:29:48 verbose #82667 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82668 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:29:48 verbose #82669 > │ * string)> │
00:29:48 verbose #82670 > │ struct (v131, v132) │
00:29:48 verbose #82671 > │ #endif │
00:29:48 verbose #82672 > │ │
00:29:48 verbose #82673 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82674 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:29:48 verbose #82675 > │ * string)> │
00:29:48 verbose #82676 > │ struct (v133, v134) │
00:29:48 verbose #82677 > │ #endif │
00:29:48 verbose #82678 > │ │
00:29:48 verbose #82679 > │ #else │
00:29:48 verbose #82680 > │ let v135 : string = method8() │
00:29:48 verbose #82681 > │ let v136 : (string -> string) = v41.ToString │
00:29:48 verbose #82682 > │ let v137 : string = v136 v135 │
00:29:48 verbose #82683 > │ let v138 : System.TimeZoneInfo option = None │
00:29:48 verbose #82684 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:29:48 verbose #82685 > │ │
00:29:48 verbose #82686 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82687 > │ │
00:29:48 verbose #82688 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82689 > │ let v140 : string = "0i64.into()" │
00:29:48 verbose #82690 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #82691 > │ v140 │
00:29:48 verbose #82692 > │ v141 │
00:29:48 verbose #82693 > │ #endif │
00:29:48 verbose #82694 > │ │
00:29:48 verbose #82695 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82696 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82697 > │ v142 │
00:29:48 verbose #82698 > │ #endif │
00:29:48 verbose #82699 > │ │
00:29:48 verbose #82700 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82701 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82702 > │ v143 │
00:29:48 verbose #82703 > │ #endif │
00:29:48 verbose #82704 > │ │
00:29:48 verbose #82705 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82706 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82707 > │ v144 │
00:29:48 verbose #82708 > │ #endif │
00:29:48 verbose #82709 > │ │
00:29:48 verbose #82710 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82711 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82712 > │ v145 │
00:29:48 verbose #82713 > │ #endif │
00:29:48 verbose #82714 > │ │
00:29:48 verbose #82715 > │ #else │
00:29:48 verbose #82716 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #82717 > │ v146 │
00:29:48 verbose #82718 > │ #endif │
00:29:48 verbose #82719 > │ |> fun x -> _v138 <- Some x │
00:29:48 verbose #82720 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:29:48 verbose #82721 > │ let v148 : System.TimeSpan option = None │
00:29:48 verbose #82722 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:29:48 verbose #82723 > │ │
00:29:48 verbose #82724 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82725 > │ │
00:29:48 verbose #82726 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82727 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82728 > │ v150 │
00:29:48 verbose #82729 > │ #endif │
00:29:48 verbose #82730 > │ │
00:29:48 verbose #82731 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82732 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82733 > │ v151 │
00:29:48 verbose #82734 > │ #endif │
00:29:48 verbose #82735 > │ │
00:29:48 verbose #82736 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82737 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82738 > │ v152 │
00:29:48 verbose #82739 > │ #endif │
00:29:48 verbose #82740 > │ │
00:29:48 verbose #82741 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82742 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82743 > │ v153 │
00:29:48 verbose #82744 > │ #endif │
00:29:48 verbose #82745 > │ │
00:29:48 verbose #82746 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82747 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #82748 > │ v154 │
00:29:48 verbose #82749 > │ #endif │
00:29:48 verbose #82750 > │ │
00:29:48 verbose #82751 > │ #else │
00:29:48 verbose #82752 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:48 verbose #82753 > │ = _.GetUtcOffset │
00:29:48 verbose #82754 > │ let v156 : System.TimeZoneInfo option = None │
00:29:48 verbose #82755 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:29:48 verbose #82756 > │ │
00:29:48 verbose #82757 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82758 > │ │
00:29:48 verbose #82759 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82760 > │ let v158 : string = "0i64.into()" │
00:29:48 verbose #82761 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #82762 > │ v158 │
00:29:48 verbose #82763 > │ v159 │
00:29:48 verbose #82764 > │ #endif │
00:29:48 verbose #82765 > │ │
00:29:48 verbose #82766 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82767 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82768 > │ v160 │
00:29:48 verbose #82769 > │ #endif │
00:29:48 verbose #82770 > │ │
00:29:48 verbose #82771 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82772 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82773 > │ v161 │
00:29:48 verbose #82774 > │ #endif │
00:29:48 verbose #82775 > │ │
00:29:48 verbose #82776 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82777 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82778 > │ v162 │
00:29:48 verbose #82779 > │ #endif │
00:29:48 verbose #82780 > │ │
00:29:48 verbose #82781 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82782 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #82783 > │ v163 │
00:29:48 verbose #82784 > │ #endif │
00:29:48 verbose #82785 > │ │
00:29:48 verbose #82786 > │ #else │
00:29:48 verbose #82787 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #82788 > │ v164 │
00:29:48 verbose #82789 > │ #endif │
00:29:48 verbose #82790 > │ |> fun x -> _v156 <- Some x │
00:29:48 verbose #82791 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:29:48 verbose #82792 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:29:48 verbose #82793 > │ let v167 : System.TimeSpan = v166 v41 │
00:29:48 verbose #82794 > │ v167 │
00:29:48 verbose #82795 > │ #endif │
00:29:48 verbose #82796 > │ |> fun x -> _v148 <- Some x │
00:29:48 verbose #82797 > │ let v168 : System.TimeSpan = _v148.Value │
00:29:48 verbose #82798 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:29:48 verbose #82799 > │ let v170 : int32 = v169 v168 │
00:29:48 verbose #82800 > │ let v171 : bool = v170 > 0 │
00:29:48 verbose #82801 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:29:48 verbose #82802 > │ let v173 : int32 = v172 v171 │
00:29:48 verbose #82803 > │ let v174 : string = method9() │
00:29:48 verbose #82804 > │ let v175 : (string -> string) = v168.ToString │
00:29:48 verbose #82805 > │ let v176 : string = v175 v174 │
00:29:48 verbose #82806 > │ let v177 : string = $"{v173}{v176}" │
00:29:48 verbose #82807 > │ struct (v137, v177) │
00:29:48 verbose #82808 > │ #endif │
00:29:48 verbose #82809 > │ |> fun x -> _v45 <- Some x │
00:29:48 verbose #82810 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:29:48 verbose #82811 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:29:48 verbose #82812 > │ v179.Length..]}" │
00:29:48 verbose #82813 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:29:48 verbose #82814 > │ let v182 : string = v181 v180 │
00:29:48 verbose #82815 > │ let v183 : string = method1(v40, v182) │
00:29:48 verbose #82816 > │ v183 │
00:29:48 verbose #82817 > │ #endif │
00:29:48 verbose #82818 > │ │
00:29:48 verbose #82819 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82820 > │ let v184 : string = null |> unbox<string> │
00:29:48 verbose #82821 > │ v184 │
00:29:48 verbose #82822 > │ #endif │
00:29:48 verbose #82823 > │ │
00:29:48 verbose #82824 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82825 > │ let v185 : string = null |> unbox<string> │
00:29:48 verbose #82826 > │ v185 │
00:29:48 verbose #82827 > │ #endif │
00:29:48 verbose #82828 > │ │
00:29:48 verbose #82829 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82830 > │ let v186 : string = null |> unbox<string> │
00:29:48 verbose #82831 > │ v186 │
00:29:48 verbose #82832 > │ #endif │
00:29:48 verbose #82833 > │ │
00:29:48 verbose #82834 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82835 > │ let v187 : string = null |> unbox<string> │
00:29:48 verbose #82836 > │ v187 │
00:29:48 verbose #82837 > │ #endif │
00:29:48 verbose #82838 > │ │
00:29:48 verbose #82839 > │ #else │
00:29:48 verbose #82840 > │ let v188 : string option = None │
00:29:48 verbose #82841 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:29:48 verbose #82842 > │ │
00:29:48 verbose #82843 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82844 > │ │
00:29:48 verbose #82845 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82846 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:48 verbose #82847 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:29:48 verbose #82848 > │ v191 │
00:29:48 verbose #82849 > │ #endif │
00:29:48 verbose #82850 > │ │
00:29:48 verbose #82851 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82852 > │ let v192 : string = null |> unbox<string> │
00:29:48 verbose #82853 > │ v192 │
00:29:48 verbose #82854 > │ #endif │
00:29:48 verbose #82855 > │ │
00:29:48 verbose #82856 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82857 > │ let v193 : string = null |> unbox<string> │
00:29:48 verbose #82858 > │ v193 │
00:29:48 verbose #82859 > │ #endif │
00:29:48 verbose #82860 > │ │
00:29:48 verbose #82861 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82862 > │ let v194 : string = null |> unbox<string> │
00:29:48 verbose #82863 > │ v194 │
00:29:48 verbose #82864 > │ #endif │
00:29:48 verbose #82865 > │ │
00:29:48 verbose #82866 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82867 > │ let v195 : string = null |> unbox<string> │
00:29:48 verbose #82868 > │ v195 │
00:29:48 verbose #82869 > │ #endif │
00:29:48 verbose #82870 > │ │
00:29:48 verbose #82871 > │ #else │
00:29:48 verbose #82872 > │ let v196 : string = │
00:29:48 verbose #82873 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:48 verbose #82874 > │ v196 │
00:29:48 verbose #82875 > │ #endif │
00:29:48 verbose #82876 > │ |> fun x -> _v188 <- Some x │
00:29:48 verbose #82877 > │ let v197 : string = _v188.Value │
00:29:48 verbose #82878 > │ let v198 : string option = None │
00:29:48 verbose #82879 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:29:48 verbose #82880 > │ │
00:29:48 verbose #82881 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82882 > │ │
00:29:48 verbose #82883 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82884 > │ let v200 : string = "std::env::temp_dir()" │
00:29:48 verbose #82885 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #82886 > │ v200 │
00:29:48 verbose #82887 > │ let v202 : string = "$0.display()" │
00:29:48 verbose #82888 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:29:48 verbose #82889 > │ v202 │
00:29:48 verbose #82890 > │ let v204 : std_string_String option = None │
00:29:48 verbose #82891 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:29:48 verbose #82892 > │ │
00:29:48 verbose #82893 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82894 > │ │
00:29:48 verbose #82895 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82896 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #82897 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:48 verbose #82898 > │ v206 │
00:29:48 verbose #82899 > │ v207 │
00:29:48 verbose #82900 > │ #endif │
00:29:48 verbose #82901 > │ │
00:29:48 verbose #82902 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82903 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #82904 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:48 verbose #82905 > │ v208 │
00:29:48 verbose #82906 > │ v209 │
00:29:48 verbose #82907 > │ #endif │
00:29:48 verbose #82908 > │ │
00:29:48 verbose #82909 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82910 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:29:48 verbose #82911 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:48 verbose #82912 > │ v210 │
00:29:48 verbose #82913 > │ v211 │
00:29:48 verbose #82914 > │ #endif │
00:29:48 verbose #82915 > │ │
00:29:48 verbose #82916 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82917 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #82918 > │ v212 │
00:29:48 verbose #82919 > │ #endif │
00:29:48 verbose #82920 > │ │
00:29:48 verbose #82921 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82922 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #82923 > │ v213 │
00:29:48 verbose #82924 > │ #endif │
00:29:48 verbose #82925 > │ │
00:29:48 verbose #82926 > │ #else │
00:29:48 verbose #82927 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:29:48 verbose #82928 > │ v214 │
00:29:48 verbose #82929 > │ #endif │
00:29:48 verbose #82930 > │ |> fun x -> _v204 <- Some x │
00:29:48 verbose #82931 > │ let v215 : std_string_String = _v204.Value │
00:29:48 verbose #82932 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #82933 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:29:48 verbose #82934 > │ v217 │
00:29:48 verbose #82935 > │ #endif │
00:29:48 verbose #82936 > │ │
00:29:48 verbose #82937 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #82938 > │ let v218 : string = null |> unbox<string> │
00:29:48 verbose #82939 > │ v218 │
00:29:48 verbose #82940 > │ #endif │
00:29:48 verbose #82941 > │ │
00:29:48 verbose #82942 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #82943 > │ let v219 : string = null |> unbox<string> │
00:29:48 verbose #82944 > │ v219 │
00:29:48 verbose #82945 > │ #endif │
00:29:48 verbose #82946 > │ │
00:29:48 verbose #82947 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #82948 > │ let v220 : string = null |> unbox<string> │
00:29:48 verbose #82949 > │ v220 │
00:29:48 verbose #82950 > │ #endif │
00:29:48 verbose #82951 > │ │
00:29:48 verbose #82952 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #82953 > │ let v221 : string = null |> unbox<string> │
00:29:48 verbose #82954 > │ v221 │
00:29:48 verbose #82955 > │ #endif │
00:29:48 verbose #82956 > │ │
00:29:48 verbose #82957 > │ #else │
00:29:48 verbose #82958 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:48 verbose #82959 > │ let v223 : string = v222 () │
00:29:48 verbose #82960 > │ v223 │
00:29:48 verbose #82961 > │ #endif │
00:29:48 verbose #82962 > │ |> fun x -> _v198 <- Some x │
00:29:48 verbose #82963 > │ let v224 : string = _v198.Value │
00:29:48 verbose #82964 > │ let v225 : string = $"!{v197}" │
00:29:48 verbose #82965 > │ let v226 : string = method1(v224, v225) │
00:29:48 verbose #82966 > │ let v227 : System.DateTime = System.DateTime.Now │
00:29:48 verbose #82967 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:29:48 verbose #82968 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:29:48 verbose #82969 > │ let v230 : string = v229 v228 │
00:29:48 verbose #82970 > │ let v231 : struct (string * string) option = None │
00:29:48 verbose #82971 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:29:48 verbose #82972 > │ │
00:29:48 verbose #82973 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #82974 > │ │
00:29:48 verbose #82975 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #82976 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:48 verbose #82977 > │ System.DateTimeKind.Utc) │
00:29:48 verbose #82978 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:48 verbose #82979 > │ let v235 : System.DateTime = v234 v233 │
00:29:48 verbose #82980 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:48 verbose #82981 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:29:48 verbose #82982 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:48 verbose #82983 > │ let v239 : System.DateTime = v238 v237 │
00:29:48 verbose #82984 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #82985 > │ let v241 : int64 = v240 v239 │
00:29:48 verbose #82986 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:29:48 verbose #82987 > │ let v243 : int64 = v242 v235 │
00:29:48 verbose #82988 > │ let v244 : int64 = v241 - v243 │
00:29:48 verbose #82989 > │ let v245 : int64 = v244 / 10L │
00:29:48 verbose #82990 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:48 verbose #82991 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:29:48 verbose #82992 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:29:48 verbose #82993 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:48 verbose #82994 > │ let v249 : US0 = US0_1 │
00:29:48 verbose #82995 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:29:48 verbose #82996 > │ let v269 : US1 = │
00:29:48 verbose #82997 > │ match v250 with │
00:29:48 verbose #82998 > │ | US0_1 -> (* None *) │
00:29:48 verbose #82999 > │ US1_1 │
00:29:48 verbose #83000 > │ | US0_0(v251) -> (* Some *) │
00:29:48 verbose #83001 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:29:48 verbose #83002 > │ let v253 : string = "v252.naive_utc()" │
00:29:48 verbose #83003 > │ let v254 : chrono_NaiveDateTime = │
00:29:48 verbose #83004 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:29:48 verbose #83005 > │ let v255 : string = │
00:29:48 verbose #83006 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:29:48 verbose #83007 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:29:48 verbose #83008 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:29:48 verbose #83009 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:29:48 verbose #83010 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:29:48 verbose #83011 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #83012 > │ v258 │
00:29:48 verbose #83013 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:29:48 verbose #83014 > │ let v261 : string = "v260.format(v259).to_string()" │
00:29:48 verbose #83015 > │ let v262 : std_string_String = │
00:29:48 verbose #83016 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:29:48 verbose #83017 > │ let v263 : string = │
00:29:48 verbose #83018 > │ "fable_library_rust::String_::fromString($0)" │
00:29:48 verbose #83019 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:29:48 verbose #83020 > │ v263 │
00:29:48 verbose #83021 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:29:48 verbose #83022 > │ 22]}" │
00:29:48 verbose #83023 > │ US1_0(v265) │
00:29:48 verbose #83024 > │ let v273 : string = │
00:29:48 verbose #83025 > │ match v269 with │
00:29:48 verbose #83026 > │ | US1_1 -> (* None *) │
00:29:48 verbose #83027 > │ let v271 : string = "" │
00:29:48 verbose #83028 > │ v271 │
00:29:48 verbose #83029 > │ | US1_0(v270) -> (* Some *) │
00:29:48 verbose #83030 > │ v270 │
00:29:48 verbose #83031 > │ let v274 : System.TimeZoneInfo option = None │
00:29:48 verbose #83032 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:29:48 verbose #83033 > │ │
00:29:48 verbose #83034 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #83035 > │ │
00:29:48 verbose #83036 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #83037 > │ let v276 : string = "0i64.into()" │
00:29:48 verbose #83038 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #83039 > │ v276 │
00:29:48 verbose #83040 > │ v277 │
00:29:48 verbose #83041 > │ #endif │
00:29:48 verbose #83042 > │ │
00:29:48 verbose #83043 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #83044 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83045 > │ v278 │
00:29:48 verbose #83046 > │ #endif │
00:29:48 verbose #83047 > │ │
00:29:48 verbose #83048 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #83049 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83050 > │ v279 │
00:29:48 verbose #83051 > │ #endif │
00:29:48 verbose #83052 > │ │
00:29:48 verbose #83053 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #83054 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83055 > │ v280 │
00:29:48 verbose #83056 > │ #endif │
00:29:48 verbose #83057 > │ │
00:29:48 verbose #83058 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #83059 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83060 > │ v281 │
00:29:48 verbose #83061 > │ #endif │
00:29:48 verbose #83062 > │ │
00:29:48 verbose #83063 > │ #else │
00:29:48 verbose #83064 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #83065 > │ v282 │
00:29:48 verbose #83066 > │ #endif │
00:29:48 verbose #83067 > │ |> fun x -> _v274 <- Some x │
00:29:48 verbose #83068 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:29:48 verbose #83069 > │ let v284 : System.TimeSpan option = None │
00:29:48 verbose #83070 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:29:48 verbose #83071 > │ │
00:29:48 verbose #83072 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #83073 > │ │
00:29:48 verbose #83074 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #83075 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83076 > │ v286 │
00:29:48 verbose #83077 > │ #endif │
00:29:48 verbose #83078 > │ │
00:29:48 verbose #83079 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #83080 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83081 > │ v287 │
00:29:48 verbose #83082 > │ #endif │
00:29:48 verbose #83083 > │ │
00:29:48 verbose #83084 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #83085 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83086 > │ v288 │
00:29:48 verbose #83087 > │ #endif │
00:29:48 verbose #83088 > │ │
00:29:48 verbose #83089 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #83090 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83091 > │ v289 │
00:29:48 verbose #83092 > │ #endif │
00:29:48 verbose #83093 > │ │
00:29:48 verbose #83094 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #83095 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83096 > │ v290 │
00:29:48 verbose #83097 > │ #endif │
00:29:48 verbose #83098 > │ │
00:29:48 verbose #83099 > │ #else │
00:29:48 verbose #83100 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:48 verbose #83101 > │ = _.GetUtcOffset │
00:29:48 verbose #83102 > │ let v292 : System.TimeZoneInfo option = None │
00:29:48 verbose #83103 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:29:48 verbose #83104 > │ │
00:29:48 verbose #83105 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #83106 > │ │
00:29:48 verbose #83107 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #83108 > │ let v294 : string = "0i64.into()" │
00:29:48 verbose #83109 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #83110 > │ v294 │
00:29:48 verbose #83111 > │ v295 │
00:29:48 verbose #83112 > │ #endif │
00:29:48 verbose #83113 > │ │
00:29:48 verbose #83114 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #83115 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83116 > │ v296 │
00:29:48 verbose #83117 > │ #endif │
00:29:48 verbose #83118 > │ │
00:29:48 verbose #83119 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #83120 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83121 > │ v297 │
00:29:48 verbose #83122 > │ #endif │
00:29:48 verbose #83123 > │ │
00:29:48 verbose #83124 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #83125 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83126 > │ v298 │
00:29:48 verbose #83127 > │ #endif │
00:29:48 verbose #83128 > │ │
00:29:48 verbose #83129 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #83130 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83131 > │ v299 │
00:29:48 verbose #83132 > │ #endif │
00:29:48 verbose #83133 > │ │
00:29:48 verbose #83134 > │ #else │
00:29:48 verbose #83135 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #83136 > │ v300 │
00:29:48 verbose #83137 > │ #endif │
00:29:48 verbose #83138 > │ |> fun x -> _v292 <- Some x │
00:29:48 verbose #83139 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:29:48 verbose #83140 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:29:48 verbose #83141 > │ let v303 : System.TimeSpan = v302 v239 │
00:29:48 verbose #83142 > │ v303 │
00:29:48 verbose #83143 > │ #endif │
00:29:48 verbose #83144 > │ |> fun x -> _v284 <- Some x │
00:29:48 verbose #83145 > │ let v304 : System.TimeSpan = _v284.Value │
00:29:48 verbose #83146 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:29:48 verbose #83147 > │ let v306 : int32 = v305 v304 │
00:29:48 verbose #83148 > │ let v307 : bool = v306 > 0 │
00:29:48 verbose #83149 > │ let v308 : uint8 = │
00:29:48 verbose #83150 > │ if v307 then │
00:29:48 verbose #83151 > │ 1uy │
00:29:48 verbose #83152 > │ else │
00:29:48 verbose #83153 > │ 0uy │
00:29:48 verbose #83154 > │ let v309 : (string -> string) = v304.ToString │
00:29:48 verbose #83155 > │ let v310 : string = v309 v124 │
00:29:48 verbose #83156 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:29:48 verbose #83157 > │ struct (v273, v311) │
00:29:48 verbose #83158 > │ #endif │
00:29:48 verbose #83159 > │ │
00:29:48 verbose #83160 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #83161 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:29:48 verbose #83162 > │ * string)> │
00:29:48 verbose #83163 > │ struct (v312, v313) │
00:29:48 verbose #83164 > │ #endif │
00:29:48 verbose #83165 > │ │
00:29:48 verbose #83166 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #83167 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:29:48 verbose #83168 > │ * string)> │
00:29:48 verbose #83169 > │ struct (v314, v315) │
00:29:48 verbose #83170 > │ #endif │
00:29:48 verbose #83171 > │ │
00:29:48 verbose #83172 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #83173 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:29:48 verbose #83174 > │ * string)> │
00:29:48 verbose #83175 > │ struct (v316, v317) │
00:29:48 verbose #83176 > │ #endif │
00:29:48 verbose #83177 > │ │
00:29:48 verbose #83178 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #83179 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:29:48 verbose #83180 > │ * string)> │
00:29:48 verbose #83181 > │ struct (v318, v319) │
00:29:48 verbose #83182 > │ #endif │
00:29:48 verbose #83183 > │ │
00:29:48 verbose #83184 > │ #else │
00:29:48 verbose #83185 > │ let v320 : string = method8() │
00:29:48 verbose #83186 > │ let v321 : (string -> string) = v227.ToString │
00:29:48 verbose #83187 > │ let v322 : string = v321 v320 │
00:29:48 verbose #83188 > │ let v323 : System.TimeZoneInfo option = None │
00:29:48 verbose #83189 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:29:48 verbose #83190 > │ │
00:29:48 verbose #83191 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #83192 > │ │
00:29:48 verbose #83193 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #83194 > │ let v325 : string = "0i64.into()" │
00:29:48 verbose #83195 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:48 verbose #83196 > │ v325 │
00:29:48 verbose #83197 > │ v326 │
00:29:48 verbose #83198 > │ #endif │
00:29:48 verbose #83199 > │ │
00:29:48 verbose #83200 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #83201 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83202 > │ v327 │
00:29:48 verbose #83203 > │ #endif │
00:29:48 verbose #83204 > │ │
00:29:48 verbose #83205 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #83206 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83207 > │ v328 │
00:29:48 verbose #83208 > │ #endif │
00:29:48 verbose #83209 > │ │
00:29:48 verbose #83210 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #83211 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83212 > │ v329 │
00:29:48 verbose #83213 > │ #endif │
00:29:48 verbose #83214 > │ │
00:29:48 verbose #83215 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #83216 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:48 verbose #83217 > │ v330 │
00:29:48 verbose #83218 > │ #endif │
00:29:48 verbose #83219 > │ │
00:29:48 verbose #83220 > │ #else │
00:29:48 verbose #83221 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:48 verbose #83222 > │ v331 │
00:29:48 verbose #83223 > │ #endif │
00:29:48 verbose #83224 > │ |> fun x -> _v323 <- Some x │
00:29:48 verbose #83225 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:29:48 verbose #83226 > │ let v333 : System.TimeSpan option = None │
00:29:48 verbose #83227 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:29:48 verbose #83228 > │ │
00:29:48 verbose #83229 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:48 verbose #83230 > │ │
00:29:48 verbose #83231 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:48 verbose #83232 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83233 > │ v335 │
00:29:48 verbose #83234 > │ #endif │
00:29:48 verbose #83235 > │ │
00:29:48 verbose #83236 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:48 verbose #83237 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83238 > │ v336 │
00:29:48 verbose #83239 > │ #endif │
00:29:48 verbose #83240 > │ │
00:29:48 verbose #83241 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:48 verbose #83242 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83243 > │ v337 │
00:29:48 verbose #83244 > │ #endif │
00:29:48 verbose #83245 > │ │
00:29:48 verbose #83246 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:48 verbose #83247 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83248 > │ v338 │
00:29:48 verbose #83249 > │ #endif │
00:29:48 verbose #83250 > │ │
00:29:48 verbose #83251 > │ #if FABLE_COMPILER_PYTHON │
00:29:48 verbose #83252 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:29:48 verbose #83253 > │ v339 │
00:29:48 verbose #83254 > │ #endif │
00:29:48 verbose #83255 > │ │
00:29:48 verbose #83256 > │ #else │
00:29:48 verbose #83257 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:48 verbose #83258 > │ = _.GetUtcOffset │
00:29:48 verbose #83259 > │ let v341 : System.TimeZoneInfo option = None │
00:29:49 verbose #83260 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:29:49 verbose #83261 > │ │
00:29:49 verbose #83262 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83263 > │ │
00:29:49 verbose #83264 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83265 > │ let v343 : string = "0i64.into()" │
00:29:49 verbose #83266 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:49 verbose #83267 > │ v343 │
00:29:49 verbose #83268 > │ v344 │
00:29:49 verbose #83269 > │ #endif │
00:29:49 verbose #83270 > │ │
00:29:49 verbose #83271 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83272 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:49 verbose #83273 > │ v345 │
00:29:49 verbose #83274 > │ #endif │
00:29:49 verbose #83275 > │ │
00:29:49 verbose #83276 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83277 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:49 verbose #83278 > │ v346 │
00:29:49 verbose #83279 > │ #endif │
00:29:49 verbose #83280 > │ │
00:29:49 verbose #83281 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83282 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:49 verbose #83283 > │ v347 │
00:29:49 verbose #83284 > │ #endif │
00:29:49 verbose #83285 > │ │
00:29:49 verbose #83286 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83287 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:49 verbose #83288 > │ v348 │
00:29:49 verbose #83289 > │ #endif │
00:29:49 verbose #83290 > │ │
00:29:49 verbose #83291 > │ #else │
00:29:49 verbose #83292 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:49 verbose #83293 > │ v349 │
00:29:49 verbose #83294 > │ #endif │
00:29:49 verbose #83295 > │ |> fun x -> _v341 <- Some x │
00:29:49 verbose #83296 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:29:49 verbose #83297 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:29:49 verbose #83298 > │ let v352 : System.TimeSpan = v351 v227 │
00:29:49 verbose #83299 > │ v352 │
00:29:49 verbose #83300 > │ #endif │
00:29:49 verbose #83301 > │ |> fun x -> _v333 <- Some x │
00:29:49 verbose #83302 > │ let v353 : System.TimeSpan = _v333.Value │
00:29:49 verbose #83303 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:29:49 verbose #83304 > │ let v355 : int32 = v354 v353 │
00:29:49 verbose #83305 > │ let v356 : bool = v355 > 0 │
00:29:49 verbose #83306 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:29:49 verbose #83307 > │ let v358 : int32 = v357 v356 │
00:29:49 verbose #83308 > │ let v359 : string = method9() │
00:29:49 verbose #83309 > │ let v360 : (string -> string) = v353.ToString │
00:29:49 verbose #83310 > │ let v361 : string = v360 v359 │
00:29:49 verbose #83311 > │ let v362 : string = $"{v358}{v361}" │
00:29:49 verbose #83312 > │ struct (v322, v362) │
00:29:49 verbose #83313 > │ #endif │
00:29:49 verbose #83314 > │ |> fun x -> _v231 <- Some x │
00:29:49 verbose #83315 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:29:49 verbose #83316 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:29:49 verbose #83317 > │ v364.Length..]}" │
00:29:49 verbose #83318 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:29:49 verbose #83319 > │ let v367 : string = v366 v365 │
00:29:49 verbose #83320 > │ let v368 : string = method1(v226, v367) │
00:29:49 verbose #83321 > │ v368 │
00:29:49 verbose #83322 > │ #endif │
00:29:49 verbose #83323 > │ |> fun x -> _v0 <- Some x │
00:29:49 verbose #83324 > │ let v369 : string = _v0.Value │
00:29:49 verbose #83325 > │ let v370 : System.IDisposable option = None │
00:29:49 verbose #83326 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:29:49 verbose #83327 > │ │
00:29:49 verbose #83328 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83329 > │ │
00:29:49 verbose #83330 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83331 > │ let v372 : string = method10(v369) │
00:29:49 verbose #83332 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:29:49 verbose #83333 > │ let v374 : Result<unit, std_io_Error> = │
00:29:49 verbose #83334 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:29:49 verbose #83335 > │ let v375 : (std_io_Error -> std_string_String) = method11() │
00:29:49 verbose #83336 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:29:49 verbose #83337 > │ let v377 : Result<unit, std_string_String> = │
00:29:49 verbose #83338 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:29:49 verbose #83339 > │ let v378 : (unit -> US2) = closure2() │
00:29:49 verbose #83340 > │ let v379 : (std_string_String -> US2) = closure3() │
00:29:49 verbose #83341 > │ let v380 : US2 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:29:49 verbose #83342 > │ match v380 with │
00:29:49 verbose #83343 > │ | US2_1(v384) -> (* Error *) │
00:29:49 verbose #83344 > │ let v385 : US3 = US3_4 │
00:29:49 verbose #83345 > │ let v386 : (unit -> string) = closure4() │
00:29:49 verbose #83346 > │ let v387 : (unit -> string) = closure5(v372, v384) │
00:29:49 verbose #83347 > │ method12(v385, v386, v387) │
00:29:49 verbose #83348 > │ | US2_0 -> (* Ok *) │
00:29:49 verbose #83349 > │ let v381 : US3 = US3_0 │
00:29:49 verbose #83350 > │ let v382 : (unit -> string) = closure11() │
00:29:49 verbose #83351 > │ let v383 : (unit -> string) = closure12(v372) │
00:29:49 verbose #83352 > │ method12(v381, v382, v383) │
00:29:49 verbose #83353 > │ let v388 : System.IDisposable option = None │
00:29:49 verbose #83354 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:29:49 verbose #83355 > │ │
00:29:49 verbose #83356 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83357 > │ │
00:29:49 verbose #83358 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83359 > │ let v390 : (unit -> unit) = closure13(v372) │
00:29:49 verbose #83360 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:29:49 verbose #83361 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:49 verbose #83362 > │ v391 │
00:29:49 verbose #83363 > │ #endif │
00:29:49 verbose #83364 > │ │
00:29:49 verbose #83365 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83366 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:29:49 verbose #83367 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:49 verbose #83368 > │ v392 │
00:29:49 verbose #83369 > │ #endif │
00:29:49 verbose #83370 > │ │
00:29:49 verbose #83371 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83372 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:29:49 verbose #83373 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:49 verbose #83374 > │ v393 │
00:29:49 verbose #83375 > │ #endif │
00:29:49 verbose #83376 > │ │
00:29:49 verbose #83377 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83378 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83379 > │ v394 │
00:29:49 verbose #83380 > │ #endif │
00:29:49 verbose #83381 > │ │
00:29:49 verbose #83382 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83383 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83384 > │ v395 │
00:29:49 verbose #83385 > │ #endif │
00:29:49 verbose #83386 > │ │
00:29:49 verbose #83387 > │ #else │
00:29:49 verbose #83388 > │ let v396 : (unit -> unit) = method19(v372) │
00:29:49 verbose #83389 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:29:49 verbose #83390 > │ _.Dispose () = v396 () } │
00:29:49 verbose #83391 > │ v397 │
00:29:49 verbose #83392 > │ #endif │
00:29:49 verbose #83393 > │ |> fun x -> _v388 <- Some x │
00:29:49 verbose #83394 > │ let v398 : System.IDisposable = _v388.Value │
00:29:49 verbose #83395 > │ v398 │
00:29:49 verbose #83396 > │ #endif │
00:29:49 verbose #83397 > │ │
00:29:49 verbose #83398 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83399 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83400 > │ v399 │
00:29:49 verbose #83401 > │ #endif │
00:29:49 verbose #83402 > │ │
00:29:49 verbose #83403 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83404 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83405 > │ v400 │
00:29:49 verbose #83406 > │ #endif │
00:29:49 verbose #83407 > │ │
00:29:49 verbose #83408 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83409 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83410 > │ v401 │
00:29:49 verbose #83411 > │ #endif │
00:29:49 verbose #83412 > │ │
00:29:49 verbose #83413 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83414 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83415 > │ v402 │
00:29:49 verbose #83416 > │ #endif │
00:29:49 verbose #83417 > │ │
00:29:49 verbose #83418 > │ #else │
00:29:49 verbose #83419 > │ let v403 : System.IO.DirectoryInfo option = None │
00:29:49 verbose #83420 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:29:49 verbose #83421 > │ │
00:29:49 verbose #83422 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83423 > │ │
00:29:49 verbose #83424 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83425 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:29:49 verbose #83426 > │ unbox<System.IO.DirectoryInfo> │
00:29:49 verbose #83427 > │ v405 │
00:29:49 verbose #83428 > │ #endif │
00:29:49 verbose #83429 > │ │
00:29:49 verbose #83430 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83431 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:29:49 verbose #83432 > │ unbox<System.IO.DirectoryInfo> │
00:29:49 verbose #83433 > │ v406 │
00:29:49 verbose #83434 > │ #endif │
00:29:49 verbose #83435 > │ │
00:29:49 verbose #83436 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83437 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:29:49 verbose #83438 > │ unbox<System.IO.DirectoryInfo> │
00:29:49 verbose #83439 > │ v407 │
00:29:49 verbose #83440 > │ #endif │
00:29:49 verbose #83441 > │ │
00:29:49 verbose #83442 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83443 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:29:49 verbose #83444 > │ unbox<System.IO.DirectoryInfo> │
00:29:49 verbose #83445 > │ v408 │
00:29:49 verbose #83446 > │ #endif │
00:29:49 verbose #83447 > │ │
00:29:49 verbose #83448 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83449 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:29:49 verbose #83450 > │ unbox<System.IO.DirectoryInfo> │
00:29:49 verbose #83451 > │ v409 │
00:29:49 verbose #83452 > │ #endif │
00:29:49 verbose #83453 > │ │
00:29:49 verbose #83454 > │ #else │
00:29:49 verbose #83455 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:29:49 verbose #83456 > │ System.IO.Directory.CreateDirectory │
00:29:49 verbose #83457 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:29:49 verbose #83458 > │ v411 │
00:29:49 verbose #83459 > │ #endif │
00:29:49 verbose #83460 > │ |> fun x -> _v403 <- Some x │
00:29:49 verbose #83461 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:29:49 verbose #83462 > │ let v413 : bool option = None │
00:29:49 verbose #83463 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:29:49 verbose #83464 > │ │
00:29:49 verbose #83465 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83466 > │ │
00:29:49 verbose #83467 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83468 > │ let v415 : bool = null |> unbox<bool> │
00:29:49 verbose #83469 > │ v415 │
00:29:49 verbose #83470 > │ #endif │
00:29:49 verbose #83471 > │ │
00:29:49 verbose #83472 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83473 > │ let v416 : bool = null |> unbox<bool> │
00:29:49 verbose #83474 > │ v416 │
00:29:49 verbose #83475 > │ #endif │
00:29:49 verbose #83476 > │ │
00:29:49 verbose #83477 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83478 > │ let v417 : bool = null |> unbox<bool> │
00:29:49 verbose #83479 > │ v417 │
00:29:49 verbose #83480 > │ #endif │
00:29:49 verbose #83481 > │ │
00:29:49 verbose #83482 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83483 > │ let v418 : bool = null |> unbox<bool> │
00:29:49 verbose #83484 > │ v418 │
00:29:49 verbose #83485 > │ #endif │
00:29:49 verbose #83486 > │ │
00:29:49 verbose #83487 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83488 > │ let v419 : bool = null |> unbox<bool> │
00:29:49 verbose #83489 > │ v419 │
00:29:49 verbose #83490 > │ #endif │
00:29:49 verbose #83491 > │ │
00:29:49 verbose #83492 > │ #else │
00:29:49 verbose #83493 > │ let v420 : bool = v412.Exists │
00:29:49 verbose #83494 > │ v420 │
00:29:49 verbose #83495 > │ #endif │
00:29:49 verbose #83496 > │ |> fun x -> _v413 <- Some x │
00:29:49 verbose #83497 > │ let v421 : bool = _v413.Value │
00:29:49 verbose #83498 > │ let v422 : bool = v421 = false │
00:29:49 verbose #83499 > │ if v422 then │
00:29:49 verbose #83500 > │ let v423 : System.DateTime option = None │
00:29:49 verbose #83501 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:29:49 verbose #83502 > │ │
00:29:49 verbose #83503 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83504 > │ │
00:29:49 verbose #83505 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83506 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:29:49 verbose #83507 > │ v425 │
00:29:49 verbose #83508 > │ #endif │
00:29:49 verbose #83509 > │ │
00:29:49 verbose #83510 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83511 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:29:49 verbose #83512 > │ v426 │
00:29:49 verbose #83513 > │ #endif │
00:29:49 verbose #83514 > │ │
00:29:49 verbose #83515 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83516 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:29:49 verbose #83517 > │ v427 │
00:29:49 verbose #83518 > │ #endif │
00:29:49 verbose #83519 > │ │
00:29:49 verbose #83520 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83521 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:29:49 verbose #83522 > │ v428 │
00:29:49 verbose #83523 > │ #endif │
00:29:49 verbose #83524 > │ │
00:29:49 verbose #83525 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83526 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:29:49 verbose #83527 > │ v429 │
00:29:49 verbose #83528 > │ #endif │
00:29:49 verbose #83529 > │ │
00:29:49 verbose #83530 > │ #else │
00:29:49 verbose #83531 > │ let v430 : System.DateTime = v412.CreationTime │
00:29:49 verbose #83532 > │ v430 │
00:29:49 verbose #83533 > │ #endif │
00:29:49 verbose #83534 > │ |> fun x -> _v423 <- Some x │
00:29:49 verbose #83535 > │ let v431 : System.DateTime = _v423.Value │
00:29:49 verbose #83536 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:29:49 verbose #83537 > │ let v433 : string = $"%A{v432}" │
00:29:49 verbose #83538 > │ let v434 : US3 = US3_1 │
00:29:49 verbose #83539 > │ let v435 : (unit -> string) = closure14() │
00:29:49 verbose #83540 > │ let v436 : (unit -> string) = closure15(v369, v433) │
00:29:49 verbose #83541 > │ method12(v434, v435, v436) │
00:29:49 verbose #83542 > │ let v437 : System.IDisposable option = None │
00:29:49 verbose #83543 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:29:49 verbose #83544 > │ │
00:29:49 verbose #83545 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83546 > │ │
00:29:49 verbose #83547 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83548 > │ let v439 : (unit -> unit) = closure16(v369) │
00:29:49 verbose #83549 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:29:49 verbose #83550 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:49 verbose #83551 > │ v440 │
00:29:49 verbose #83552 > │ #endif │
00:29:49 verbose #83553 > │ │
00:29:49 verbose #83554 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83555 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:29:49 verbose #83556 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:49 verbose #83557 > │ v441 │
00:29:49 verbose #83558 > │ #endif │
00:29:49 verbose #83559 > │ │
00:29:49 verbose #83560 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83561 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:29:49 verbose #83562 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:49 verbose #83563 > │ v442 │
00:29:49 verbose #83564 > │ #endif │
00:29:49 verbose #83565 > │ │
00:29:49 verbose #83566 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83567 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83568 > │ v443 │
00:29:49 verbose #83569 > │ #endif │
00:29:49 verbose #83570 > │ │
00:29:49 verbose #83571 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83572 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:49 verbose #83573 > │ v444 │
00:29:49 verbose #83574 > │ #endif │
00:29:49 verbose #83575 > │ │
00:29:49 verbose #83576 > │ #else │
00:29:49 verbose #83577 > │ let v445 : (unit -> unit) = method21(v369) │
00:29:49 verbose #83578 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:29:49 verbose #83579 > │ _.Dispose () = v445 () } │
00:29:49 verbose #83580 > │ v446 │
00:29:49 verbose #83581 > │ #endif │
00:29:49 verbose #83582 > │ |> fun x -> _v437 <- Some x │
00:29:49 verbose #83583 > │ let v447 : System.IDisposable = _v437.Value │
00:29:49 verbose #83584 > │ v447 │
00:29:49 verbose #83585 > │ #endif │
00:29:49 verbose #83586 > │ |> fun x -> _v370 <- Some x │
00:29:49 verbose #83587 > │ let v448 : System.IDisposable = _v370.Value │
00:29:49 verbose #83588 > │ use v448 = v448 │
00:29:49 verbose #83589 > │ let v449 : System.IDisposable = v448 │
00:29:49 verbose #83590 > │ let v450 : string = "test.txt" │
00:29:49 verbose #83591 > │ let v451 : string = method1(v369, v450) │
00:29:49 verbose #83592 > │ let v452 : Async<int64> option = None │
00:29:49 verbose #83593 > │ let v453 : bool = true in let mutable _v452 = v452 │
00:29:49 verbose #83594 > │ │
00:29:49 verbose #83595 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83596 > │ │
00:29:49 verbose #83597 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83598 > │ let v454 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83599 > │ v454 │
00:29:49 verbose #83600 > │ #endif │
00:29:49 verbose #83601 > │ │
00:29:49 verbose #83602 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83603 > │ let v455 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83604 > │ v455 │
00:29:49 verbose #83605 > │ #endif │
00:29:49 verbose #83606 > │ │
00:29:49 verbose #83607 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83608 > │ let v456 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83609 > │ v456 │
00:29:49 verbose #83610 > │ #endif │
00:29:49 verbose #83611 > │ │
00:29:49 verbose #83612 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83613 > │ let v457 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83614 > │ v457 │
00:29:49 verbose #83615 > │ #endif │
00:29:49 verbose #83616 > │ │
00:29:49 verbose #83617 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83618 > │ let v458 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83619 > │ v458 │
00:29:49 verbose #83620 > │ #endif │
00:29:49 verbose #83621 > │ │
00:29:49 verbose #83622 > │ #else │
00:29:49 verbose #83623 > │ let v459 : Async<int64> option = None │
00:29:49 verbose #83624 > │ let mutable _v459 = v459 │
00:29:49 verbose #83625 > │ async { │
00:29:49 verbose #83626 > │ let v460 : US3 = US3_1 │
00:29:49 verbose #83627 > │ let v461 : (unit -> string) = closure20() │
00:29:49 verbose #83628 > │ let v462 : (unit -> string) = closure6() │
00:29:49 verbose #83629 > │ method12(v460, v461, v462) │
00:29:49 verbose #83630 > │ let v463 : Async<unit> option = None │
00:29:49 verbose #83631 > │ let v464 : bool = true in let mutable _v463 = v463 │
00:29:49 verbose #83632 > │ │
00:29:49 verbose #83633 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83634 > │ │
00:29:49 verbose #83635 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83636 > │ let v465 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83637 > │ v465 │
00:29:49 verbose #83638 > │ #endif │
00:29:49 verbose #83639 > │ │
00:29:49 verbose #83640 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83641 > │ let v466 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83642 > │ v466 │
00:29:49 verbose #83643 > │ #endif │
00:29:49 verbose #83644 > │ │
00:29:49 verbose #83645 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83646 > │ let v467 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83647 > │ v467 │
00:29:49 verbose #83648 > │ #endif │
00:29:49 verbose #83649 > │ │
00:29:49 verbose #83650 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83651 > │ let v468 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83652 > │ v468 │
00:29:49 verbose #83653 > │ #endif │
00:29:49 verbose #83654 > │ │
00:29:49 verbose #83655 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83656 > │ let v469 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83657 > │ v469 │
00:29:49 verbose #83658 > │ #endif │
00:29:49 verbose #83659 > │ │
00:29:49 verbose #83660 > │ #else │
00:29:49 verbose #83661 > │ let v470 : string = "0" │
00:29:49 verbose #83662 > │ let v471 : System.Threading.Tasks.Task = │
00:29:49 verbose #83663 > │ System.IO.File.WriteAllTextAsync (v451, v470) │
00:29:49 verbose #83664 > │ let v472 : Async<unit> option = None │
00:29:49 verbose #83665 > │ let v473 : bool = true in let mutable _v472 = v472 │
00:29:49 verbose #83666 > │ │
00:29:49 verbose #83667 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83668 > │ │
00:29:49 verbose #83669 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83670 > │ let v474 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83671 > │ v474 │
00:29:49 verbose #83672 > │ #endif │
00:29:49 verbose #83673 > │ │
00:29:49 verbose #83674 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83675 > │ let v475 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83676 > │ v475 │
00:29:49 verbose #83677 > │ #endif │
00:29:49 verbose #83678 > │ │
00:29:49 verbose #83679 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83680 > │ let v476 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83681 > │ v476 │
00:29:49 verbose #83682 > │ #endif │
00:29:49 verbose #83683 > │ │
00:29:49 verbose #83684 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83685 > │ let v477 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83686 > │ v477 │
00:29:49 verbose #83687 > │ #endif │
00:29:49 verbose #83688 > │ │
00:29:49 verbose #83689 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83690 > │ let v478 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83691 > │ v478 │
00:29:49 verbose #83692 > │ #endif │
00:29:49 verbose #83693 > │ │
00:29:49 verbose #83694 > │ #else │
00:29:49 verbose #83695 > │ let v479 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:29:49 verbose #83696 > │ Async.AwaitTask │
00:29:49 verbose #83697 > │ let v480 : Async<unit> = v479 v471 │
00:29:49 verbose #83698 > │ v480 │
00:29:49 verbose #83699 > │ #endif │
00:29:49 verbose #83700 > │ |> fun x -> _v472 <- Some x │
00:29:49 verbose #83701 > │ let v481 : Async<unit> = _v472.Value │
00:29:49 verbose #83702 > │ v481 │
00:29:49 verbose #83703 > │ #endif │
00:29:49 verbose #83704 > │ |> fun x -> _v463 <- Some x │
00:29:49 verbose #83705 > │ let v482 : Async<unit> = _v463.Value │
00:29:49 verbose #83706 > │ do! v482 │
00:29:49 verbose #83707 > │ let v483 : US3 = US3_1 │
00:29:49 verbose #83708 > │ let v484 : (unit -> string) = closure21() │
00:29:49 verbose #83709 > │ method12(v483, v484, v462) │
00:29:49 verbose #83710 > │ let v485 : Async<unit> option = None │
00:29:49 verbose #83711 > │ let v486 : bool = true in let mutable _v485 = v485 │
00:29:49 verbose #83712 > │ │
00:29:49 verbose #83713 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83714 > │ │
00:29:49 verbose #83715 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83716 > │ let v487 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83717 > │ v487 │
00:29:49 verbose #83718 > │ #endif │
00:29:49 verbose #83719 > │ │
00:29:49 verbose #83720 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83721 > │ let v488 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83722 > │ v488 │
00:29:49 verbose #83723 > │ #endif │
00:29:49 verbose #83724 > │ │
00:29:49 verbose #83725 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83726 > │ let v489 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83727 > │ v489 │
00:29:49 verbose #83728 > │ #endif │
00:29:49 verbose #83729 > │ │
00:29:49 verbose #83730 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83731 > │ let v490 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83732 > │ v490 │
00:29:49 verbose #83733 > │ #endif │
00:29:49 verbose #83734 > │ │
00:29:49 verbose #83735 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83736 > │ let v491 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83737 > │ v491 │
00:29:49 verbose #83738 > │ #endif │
00:29:49 verbose #83739 > │ │
00:29:49 verbose #83740 > │ #else │
00:29:49 verbose #83741 > │ let v492 : Async<unit> option = None │
00:29:49 verbose #83742 > │ let mutable _v492 = v492 │
00:29:49 verbose #83743 > │ async { │
00:29:49 verbose #83744 > │ let v493 : US3 = US3_1 │
00:29:49 verbose #83745 > │ let v494 : (unit -> string) = closure22() │
00:29:49 verbose #83746 > │ method12(v493, v494, v462) │
00:29:49 verbose #83747 > │ let v495 : System.IO.FileStream option = None │
00:29:49 verbose #83748 > │ let v496 : bool = true in let mutable _v495 = v495 │
00:29:49 verbose #83749 > │ │
00:29:49 verbose #83750 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83751 > │ │
00:29:49 verbose #83752 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83753 > │ let v497 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:49 verbose #83754 > │ v497 │
00:29:49 verbose #83755 > │ #endif │
00:29:49 verbose #83756 > │ │
00:29:49 verbose #83757 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83758 > │ let v498 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:49 verbose #83759 > │ v498 │
00:29:49 verbose #83760 > │ #endif │
00:29:49 verbose #83761 > │ │
00:29:49 verbose #83762 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83763 > │ let v499 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:49 verbose #83764 > │ v499 │
00:29:49 verbose #83765 > │ #endif │
00:29:49 verbose #83766 > │ │
00:29:49 verbose #83767 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83768 > │ let v500 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:49 verbose #83769 > │ v500 │
00:29:49 verbose #83770 > │ #endif │
00:29:49 verbose #83771 > │ │
00:29:49 verbose #83772 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83773 > │ let v501 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:49 verbose #83774 > │ v501 │
00:29:49 verbose #83775 > │ #endif │
00:29:49 verbose #83776 > │ │
00:29:49 verbose #83777 > │ #else │
00:29:49 verbose #83778 > │ let v502 : System.IO.FileMode = System.IO.FileMode.Open │
00:29:49 verbose #83779 > │ let v503 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:29:49 verbose #83780 > │ let v504 : System.IO.FileShare = System.IO.FileShare.None │
00:29:49 verbose #83781 > │ let v505 : System.IO.FileStream = new System.IO.FileStream (v451, v502, │
00:29:49 verbose #83782 > │ v503, v504) │
00:29:49 verbose #83783 > │ v505 │
00:29:49 verbose #83784 > │ #endif │
00:29:49 verbose #83785 > │ |> fun x -> _v495 <- Some x │
00:29:49 verbose #83786 > │ let v506 : System.IO.FileStream = _v495.Value │
00:29:49 verbose #83787 > │ use v506 = v506 │
00:29:49 verbose #83788 > │ let v507 : System.IO.FileStream = v506 │
00:29:49 verbose #83789 > │ let v508 : US3 = US3_1 │
00:29:49 verbose #83790 > │ let v509 : (unit -> string) = closure23() │
00:29:49 verbose #83791 > │ method12(v508, v509, v462) │
00:29:49 verbose #83792 > │ let v510 : Async<unit> option = None │
00:29:49 verbose #83793 > │ let v511 : bool = true in let mutable _v510 = v510 │
00:29:49 verbose #83794 > │ │
00:29:49 verbose #83795 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83796 > │ │
00:29:49 verbose #83797 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83798 > │ let v512 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83799 > │ v512 │
00:29:49 verbose #83800 > │ #endif │
00:29:49 verbose #83801 > │ │
00:29:49 verbose #83802 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83803 > │ let v513 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83804 > │ v513 │
00:29:49 verbose #83805 > │ #endif │
00:29:49 verbose #83806 > │ │
00:29:49 verbose #83807 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83808 > │ let v514 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83809 > │ v514 │
00:29:49 verbose #83810 > │ #endif │
00:29:49 verbose #83811 > │ │
00:29:49 verbose #83812 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83813 > │ let v515 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83814 > │ v515 │
00:29:49 verbose #83815 > │ #endif │
00:29:49 verbose #83816 > │ │
00:29:49 verbose #83817 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83818 > │ let v516 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83819 > │ v516 │
00:29:49 verbose #83820 > │ #endif │
00:29:49 verbose #83821 > │ │
00:29:49 verbose #83822 > │ #else │
00:29:49 verbose #83823 > │ let v517 : (int32 -> Async<unit>) = Async.Sleep │
00:29:49 verbose #83824 > │ let v518 : Async<unit> = v517 2000 │
00:29:49 verbose #83825 > │ v518 │
00:29:49 verbose #83826 > │ #endif │
00:29:49 verbose #83827 > │ |> fun x -> _v510 <- Some x │
00:29:49 verbose #83828 > │ let v519 : Async<unit> = _v510.Value │
00:29:49 verbose #83829 > │ do! v519 │
00:29:49 verbose #83830 > │ let v520 : US3 = US3_1 │
00:29:49 verbose #83831 > │ let v521 : (unit -> string) = closure24() │
00:29:49 verbose #83832 > │ method12(v520, v521, v462) │
00:29:49 verbose #83833 > │ } │
00:29:49 verbose #83834 > │ |> fun x -> _v492 <- Some x │
00:29:49 verbose #83835 > │ let v522 : Async<unit> = _v492 |> Option.get │
00:29:49 verbose #83836 > │ v522 │
00:29:49 verbose #83837 > │ #endif │
00:29:49 verbose #83838 > │ |> fun x -> _v485 <- Some x │
00:29:49 verbose #83839 > │ let v523 : Async<unit> = _v485.Value │
00:29:49 verbose #83840 > │ let v524 : Async<Async<unit>> option = None │
00:29:49 verbose #83841 > │ let v525 : bool = true in let mutable _v524 = v524 │
00:29:49 verbose #83842 > │ │
00:29:49 verbose #83843 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83844 > │ │
00:29:49 verbose #83845 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83846 > │ let v526 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:49 verbose #83847 > │ v526 │
00:29:49 verbose #83848 > │ #endif │
00:29:49 verbose #83849 > │ │
00:29:49 verbose #83850 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83851 > │ let v527 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:49 verbose #83852 > │ v527 │
00:29:49 verbose #83853 > │ #endif │
00:29:49 verbose #83854 > │ │
00:29:49 verbose #83855 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83856 > │ let v528 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:49 verbose #83857 > │ v528 │
00:29:49 verbose #83858 > │ #endif │
00:29:49 verbose #83859 > │ │
00:29:49 verbose #83860 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83861 > │ let v529 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:49 verbose #83862 > │ v529 │
00:29:49 verbose #83863 > │ #endif │
00:29:49 verbose #83864 > │ │
00:29:49 verbose #83865 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83866 > │ let v530 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:49 verbose #83867 > │ v530 │
00:29:49 verbose #83868 > │ #endif │
00:29:49 verbose #83869 > │ │
00:29:49 verbose #83870 > │ #else │
00:29:49 verbose #83871 > │ let v531 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:29:49 verbose #83872 > │ let v532 : Async<Async<unit>> = v531 v523 │
00:29:49 verbose #83873 > │ v532 │
00:29:49 verbose #83874 > │ #endif │
00:29:49 verbose #83875 > │ |> fun x -> _v524 <- Some x │
00:29:49 verbose #83876 > │ let v533 : Async<Async<unit>> = _v524.Value │
00:29:49 verbose #83877 > │ let! v533 = v533 │
00:29:49 verbose #83878 > │ let v534 : Async<unit> = v533 │
00:29:49 verbose #83879 > │ let v535 : US3 = US3_1 │
00:29:49 verbose #83880 > │ let v536 : (unit -> string) = closure25() │
00:29:49 verbose #83881 > │ method12(v535, v536, v462) │
00:29:49 verbose #83882 > │ let v537 : Async<unit> option = None │
00:29:49 verbose #83883 > │ let v538 : bool = true in let mutable _v537 = v537 │
00:29:49 verbose #83884 > │ │
00:29:49 verbose #83885 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83886 > │ │
00:29:49 verbose #83887 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83888 > │ let v539 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83889 > │ v539 │
00:29:49 verbose #83890 > │ #endif │
00:29:49 verbose #83891 > │ │
00:29:49 verbose #83892 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83893 > │ let v540 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83894 > │ v540 │
00:29:49 verbose #83895 > │ #endif │
00:29:49 verbose #83896 > │ │
00:29:49 verbose #83897 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83898 > │ let v541 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83899 > │ v541 │
00:29:49 verbose #83900 > │ #endif │
00:29:49 verbose #83901 > │ │
00:29:49 verbose #83902 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83903 > │ let v542 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83904 > │ v542 │
00:29:49 verbose #83905 > │ #endif │
00:29:49 verbose #83906 > │ │
00:29:49 verbose #83907 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83908 > │ let v543 : Async<unit> = null |> unbox<Async<unit>> │
00:29:49 verbose #83909 > │ v543 │
00:29:49 verbose #83910 > │ #endif │
00:29:49 verbose #83911 > │ │
00:29:49 verbose #83912 > │ #else │
00:29:49 verbose #83913 > │ let v544 : (int32 -> Async<unit>) = Async.Sleep │
00:29:49 verbose #83914 > │ let v545 : Async<unit> = v544 1 │
00:29:49 verbose #83915 > │ v545 │
00:29:49 verbose #83916 > │ #endif │
00:29:49 verbose #83917 > │ |> fun x -> _v537 <- Some x │
00:29:49 verbose #83918 > │ let v546 : Async<unit> = _v537.Value │
00:29:49 verbose #83919 > │ do! v546 │
00:29:49 verbose #83920 > │ let v547 : US3 = US3_1 │
00:29:49 verbose #83921 > │ let v548 : (unit -> string) = closure26() │
00:29:49 verbose #83922 > │ method12(v547, v548, v462) │
00:29:49 verbose #83923 > │ let v549 : Async<int64> option = None │
00:29:49 verbose #83924 > │ let v550 : bool = true in let mutable _v549 = v549 │
00:29:49 verbose #83925 > │ │
00:29:49 verbose #83926 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83927 > │ │
00:29:49 verbose #83928 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83929 > │ let v551 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83930 > │ v551 │
00:29:49 verbose #83931 > │ #endif │
00:29:49 verbose #83932 > │ │
00:29:49 verbose #83933 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83934 > │ let v552 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83935 > │ v552 │
00:29:49 verbose #83936 > │ #endif │
00:29:49 verbose #83937 > │ │
00:29:49 verbose #83938 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83939 > │ let v553 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83940 > │ v553 │
00:29:49 verbose #83941 > │ #endif │
00:29:49 verbose #83942 > │ │
00:29:49 verbose #83943 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83944 > │ let v554 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83945 > │ v554 │
00:29:49 verbose #83946 > │ #endif │
00:29:49 verbose #83947 > │ │
00:29:49 verbose #83948 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #83949 > │ let v555 : Async<int64> = null |> unbox<Async<int64>> │
00:29:49 verbose #83950 > │ v555 │
00:29:49 verbose #83951 > │ #endif │
00:29:49 verbose #83952 > │ │
00:29:49 verbose #83953 > │ #else │
00:29:49 verbose #83954 > │ let v556 : int64 = 0L │
00:29:49 verbose #83955 > │ let v557 : Async<int64> = method22(v451, v556) │
00:29:49 verbose #83956 > │ v557 │
00:29:49 verbose #83957 > │ #endif │
00:29:49 verbose #83958 > │ |> fun x -> _v549 <- Some x │
00:29:49 verbose #83959 > │ let v558 : Async<int64> = _v549.Value │
00:29:49 verbose #83960 > │ let! v558 = v558 │
00:29:49 verbose #83961 > │ let v559 : int64 = v558 │
00:29:49 verbose #83962 > │ let v560 : US3 = US3_1 │
00:29:49 verbose #83963 > │ let v561 : (unit -> string) = closure29() │
00:29:49 verbose #83964 > │ method12(v560, v561, v462) │
00:29:49 verbose #83965 > │ do! v534 │
00:29:49 verbose #83966 > │ let v562 : US3 = US3_1 │
00:29:49 verbose #83967 > │ let v563 : (unit -> string) = closure30() │
00:29:49 verbose #83968 > │ method12(v562, v563, v462) │
00:29:49 verbose #83969 > │ return v559 │
00:29:49 verbose #83970 > │ } │
00:29:49 verbose #83971 > │ |> fun x -> _v459 <- Some x │
00:29:49 verbose #83972 > │ let v564 : Async<int64> = _v459 |> Option.get │
00:29:49 verbose #83973 > │ v564 │
00:29:49 verbose #83974 > │ #endif │
00:29:49 verbose #83975 > │ |> fun x -> _v452 <- Some x │
00:29:49 verbose #83976 > │ let v565 : Async<int64> = _v452.Value │
00:29:49 verbose #83977 > │ let v566 : Async<US5> option = None │
00:29:49 verbose #83978 > │ let v567 : bool = true in let mutable _v566 = v566 │
00:29:49 verbose #83979 > │ │
00:29:49 verbose #83980 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #83981 > │ │
00:29:49 verbose #83982 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #83983 > │ let v568 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #83984 > │ v568 │
00:29:49 verbose #83985 > │ #endif │
00:29:49 verbose #83986 > │ │
00:29:49 verbose #83987 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #83988 > │ let v569 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #83989 > │ v569 │
00:29:49 verbose #83990 > │ #endif │
00:29:49 verbose #83991 > │ │
00:29:49 verbose #83992 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #83993 > │ let v570 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #83994 > │ v570 │
00:29:49 verbose #83995 > │ #endif │
00:29:49 verbose #83996 > │ │
00:29:49 verbose #83997 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #83998 > │ let v571 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #83999 > │ v571 │
00:29:49 verbose #84000 > │ #endif │
00:29:49 verbose #84001 > │ │
00:29:49 verbose #84002 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84003 > │ let v572 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84004 > │ v572 │
00:29:49 verbose #84005 > │ #endif │
00:29:49 verbose #84006 > │ │
00:29:49 verbose #84007 > │ #else │
00:29:49 verbose #84008 > │ let v573 : Async<US5> option = None │
00:29:49 verbose #84009 > │ let v574 : bool = true in let mutable _v573 = v573 │
00:29:49 verbose #84010 > │ │
00:29:49 verbose #84011 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84012 > │ │
00:29:49 verbose #84013 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84014 > │ let v575 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84015 > │ v575 │
00:29:49 verbose #84016 > │ #endif │
00:29:49 verbose #84017 > │ │
00:29:49 verbose #84018 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84019 > │ let v576 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84020 > │ v576 │
00:29:49 verbose #84021 > │ #endif │
00:29:49 verbose #84022 > │ │
00:29:49 verbose #84023 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84024 > │ let v577 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84025 > │ v577 │
00:29:49 verbose #84026 > │ #endif │
00:29:49 verbose #84027 > │ │
00:29:49 verbose #84028 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84029 > │ let v578 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84030 > │ v578 │
00:29:49 verbose #84031 > │ #endif │
00:29:49 verbose #84032 > │ │
00:29:49 verbose #84033 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84034 > │ let v579 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84035 > │ v579 │
00:29:49 verbose #84036 > │ #endif │
00:29:49 verbose #84037 > │ │
00:29:49 verbose #84038 > │ #else │
00:29:49 verbose #84039 > │ let v580 : Async<US5> option = None │
00:29:49 verbose #84040 > │ let mutable _v580 = v580 │
00:29:49 verbose #84041 > │ async { │
00:29:49 verbose #84042 > │ let v581 : Async<Async<int64>> option = None │
00:29:49 verbose #84043 > │ let v582 : bool = true in let mutable _v581 = v581 │
00:29:49 verbose #84044 > │ │
00:29:49 verbose #84045 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84046 > │ │
00:29:49 verbose #84047 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84048 > │ let v583 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:49 verbose #84049 > │ v583 │
00:29:49 verbose #84050 > │ #endif │
00:29:49 verbose #84051 > │ │
00:29:49 verbose #84052 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84053 > │ let v584 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:49 verbose #84054 > │ v584 │
00:29:49 verbose #84055 > │ #endif │
00:29:49 verbose #84056 > │ │
00:29:49 verbose #84057 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84058 > │ let v585 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:49 verbose #84059 > │ v585 │
00:29:49 verbose #84060 > │ #endif │
00:29:49 verbose #84061 > │ │
00:29:49 verbose #84062 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84063 > │ let v586 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:49 verbose #84064 > │ v586 │
00:29:49 verbose #84065 > │ #endif │
00:29:49 verbose #84066 > │ │
00:29:49 verbose #84067 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84068 > │ let v587 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:29:49 verbose #84069 > │ v587 │
00:29:49 verbose #84070 > │ #endif │
00:29:49 verbose #84071 > │ │
00:29:49 verbose #84072 > │ #else │
00:29:49 verbose #84073 > │ let v588 : Async<Async<int64>> = Async.StartChild (v565, 3000) │
00:29:49 verbose #84074 > │ v588 │
00:29:49 verbose #84075 > │ #endif │
00:29:49 verbose #84076 > │ |> fun x -> _v581 <- Some x │
00:29:49 verbose #84077 > │ let v589 : Async<Async<int64>> = _v581.Value │
00:29:49 verbose #84078 > │ let! v589 = v589 │
00:29:49 verbose #84079 > │ let v590 : Async<int64> = v589 │
00:29:49 verbose #84080 > │ let v591 : Async<Choice<int64, exn>> option = None │
00:29:49 verbose #84081 > │ let v592 : bool = true in let mutable _v591 = v591 │
00:29:49 verbose #84082 > │ │
00:29:49 verbose #84083 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84084 > │ │
00:29:49 verbose #84085 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84086 > │ let v593 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:49 verbose #84087 > │ exn>>> │
00:29:49 verbose #84088 > │ v593 │
00:29:49 verbose #84089 > │ #endif │
00:29:49 verbose #84090 > │ │
00:29:49 verbose #84091 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84092 > │ let v594 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:49 verbose #84093 > │ exn>>> │
00:29:49 verbose #84094 > │ v594 │
00:29:49 verbose #84095 > │ #endif │
00:29:49 verbose #84096 > │ │
00:29:49 verbose #84097 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84098 > │ let v595 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:49 verbose #84099 > │ exn>>> │
00:29:49 verbose #84100 > │ v595 │
00:29:49 verbose #84101 > │ #endif │
00:29:49 verbose #84102 > │ │
00:29:49 verbose #84103 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84104 > │ let v596 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:49 verbose #84105 > │ exn>>> │
00:29:49 verbose #84106 > │ v596 │
00:29:49 verbose #84107 > │ #endif │
00:29:49 verbose #84108 > │ │
00:29:49 verbose #84109 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84110 > │ let v597 : Async<Choice<int64, exn>> = null |> unbox<Async<Choice<int64, │
00:29:49 verbose #84111 > │ exn>>> │
00:29:49 verbose #84112 > │ v597 │
00:29:49 verbose #84113 > │ #endif │
00:29:49 verbose #84114 > │ │
00:29:49 verbose #84115 > │ #else │
00:29:49 verbose #84116 > │ let v598 : (Async<int64> -> Async<Choice<int64, exn>>) = Async.Catch │
00:29:49 verbose #84117 > │ let v599 : Async<Choice<int64, exn>> = v598 v590 │
00:29:49 verbose #84118 > │ v599 │
00:29:49 verbose #84119 > │ #endif │
00:29:49 verbose #84120 > │ |> fun x -> _v591 <- Some x │
00:29:49 verbose #84121 > │ let v600 : Async<Choice<int64, exn>> = _v591.Value │
00:29:49 verbose #84122 > │ let v601 : Async<US6> option = None │
00:29:49 verbose #84123 > │ let v602 : bool = true in let mutable _v601 = v601 │
00:29:49 verbose #84124 > │ │
00:29:49 verbose #84125 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84126 > │ │
00:29:49 verbose #84127 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84128 > │ let v603 : Async<US6> = null |> unbox<Async<US6>> │
00:29:49 verbose #84129 > │ v603 │
00:29:49 verbose #84130 > │ #endif │
00:29:49 verbose #84131 > │ │
00:29:49 verbose #84132 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84133 > │ let v604 : Async<US6> = null |> unbox<Async<US6>> │
00:29:49 verbose #84134 > │ v604 │
00:29:49 verbose #84135 > │ #endif │
00:29:49 verbose #84136 > │ │
00:29:49 verbose #84137 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84138 > │ let v605 : Async<US6> = null |> unbox<Async<US6>> │
00:29:49 verbose #84139 > │ v605 │
00:29:49 verbose #84140 > │ #endif │
00:29:49 verbose #84141 > │ │
00:29:49 verbose #84142 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84143 > │ let v606 : Async<US6> = null |> unbox<Async<US6>> │
00:29:49 verbose #84144 > │ v606 │
00:29:49 verbose #84145 > │ #endif │
00:29:49 verbose #84146 > │ │
00:29:49 verbose #84147 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84148 > │ let v607 : Async<US6> = null |> unbox<Async<US6>> │
00:29:49 verbose #84149 > │ v607 │
00:29:49 verbose #84150 > │ #endif │
00:29:49 verbose #84151 > │ │
00:29:49 verbose #84152 > │ #else │
00:29:49 verbose #84153 > │ let v608 : Async<US6> option = None │
00:29:49 verbose #84154 > │ let mutable _v608 = v608 │
00:29:49 verbose #84155 > │ async { │
00:29:49 verbose #84156 > │ let! v600 = v600 │
00:29:49 verbose #84157 > │ let v609 : Choice<int64, exn> = v600 │
00:29:49 verbose #84158 > │ let v610 : US6 option = None │
00:29:49 verbose #84159 > │ let v611 : bool = true in let mutable _v610 = v610 │
00:29:49 verbose #84160 > │ │
00:29:49 verbose #84161 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84162 > │ │
00:29:49 verbose #84163 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84164 > │ let v612 : US6 = null |> unbox<US6> │
00:29:49 verbose #84165 > │ v612 │
00:29:49 verbose #84166 > │ #endif │
00:29:49 verbose #84167 > │ │
00:29:49 verbose #84168 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84169 > │ let v613 : US6 = null |> unbox<US6> │
00:29:49 verbose #84170 > │ v613 │
00:29:49 verbose #84171 > │ #endif │
00:29:49 verbose #84172 > │ │
00:29:49 verbose #84173 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84174 > │ let v614 : US6 = null |> unbox<US6> │
00:29:49 verbose #84175 > │ v614 │
00:29:49 verbose #84176 > │ #endif │
00:29:49 verbose #84177 > │ │
00:29:49 verbose #84178 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84179 > │ let v615 : US6 = null |> unbox<US6> │
00:29:49 verbose #84180 > │ v615 │
00:29:49 verbose #84181 > │ #endif │
00:29:49 verbose #84182 > │ │
00:29:49 verbose #84183 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84184 > │ let v616 : US6 = null |> unbox<US6> │
00:29:49 verbose #84185 > │ v616 │
00:29:49 verbose #84186 > │ #endif │
00:29:49 verbose #84187 > │ │
00:29:49 verbose #84188 > │ #else │
00:29:49 verbose #84189 > │ let v617 : (int64 -> US6) = closure31() │
00:29:49 verbose #84190 > │ let v618 : (exn -> US6) = closure32() │
00:29:49 verbose #84191 > │ let v619 : US6 = match v609 with Choice1Of2 x -> v617 x | Choice2Of2 x │
00:29:49 verbose #84192 > │ -> v618 x │
00:29:49 verbose #84193 > │ v619 │
00:29:49 verbose #84194 > │ #endif │
00:29:49 verbose #84195 > │ |> fun x -> _v610 <- Some x │
00:29:49 verbose #84196 > │ let v620 : US6 = _v610.Value │
00:29:49 verbose #84197 > │ return v620 │
00:29:49 verbose #84198 > │ } │
00:29:49 verbose #84199 > │ |> fun x -> _v608 <- Some x │
00:29:49 verbose #84200 > │ let v621 : Async<US6> = _v608 |> Option.get │
00:29:49 verbose #84201 > │ v621 │
00:29:49 verbose #84202 > │ #endif │
00:29:49 verbose #84203 > │ |> fun x -> _v601 <- Some x │
00:29:49 verbose #84204 > │ let v622 : Async<US6> = _v601.Value │
00:29:49 verbose #84205 > │ let v623 : Async<US7> option = None │
00:29:49 verbose #84206 > │ let v624 : bool = true in let mutable _v623 = v623 │
00:29:49 verbose #84207 > │ │
00:29:49 verbose #84208 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84209 > │ │
00:29:49 verbose #84210 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84211 > │ let v625 : Async<US7> = null |> unbox<Async<US7>> │
00:29:49 verbose #84212 > │ v625 │
00:29:49 verbose #84213 > │ #endif │
00:29:49 verbose #84214 > │ │
00:29:49 verbose #84215 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84216 > │ let v626 : Async<US7> = null |> unbox<Async<US7>> │
00:29:49 verbose #84217 > │ v626 │
00:29:49 verbose #84218 > │ #endif │
00:29:49 verbose #84219 > │ │
00:29:49 verbose #84220 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84221 > │ let v627 : Async<US7> = null |> unbox<Async<US7>> │
00:29:49 verbose #84222 > │ v627 │
00:29:49 verbose #84223 > │ #endif │
00:29:49 verbose #84224 > │ │
00:29:49 verbose #84225 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84226 > │ let v628 : Async<US7> = null |> unbox<Async<US7>> │
00:29:49 verbose #84227 > │ v628 │
00:29:49 verbose #84228 > │ #endif │
00:29:49 verbose #84229 > │ │
00:29:49 verbose #84230 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84231 > │ let v629 : Async<US7> = null |> unbox<Async<US7>> │
00:29:49 verbose #84232 > │ v629 │
00:29:49 verbose #84233 > │ #endif │
00:29:49 verbose #84234 > │ │
00:29:49 verbose #84235 > │ #else │
00:29:49 verbose #84236 > │ let v630 : Async<US7> option = None │
00:29:49 verbose #84237 > │ let mutable _v630 = v630 │
00:29:49 verbose #84238 > │ async { │
00:29:49 verbose #84239 > │ let! v622 = v622 │
00:29:49 verbose #84240 > │ let v631 : US6 = v622 │
00:29:49 verbose #84241 > │ let v637 : US7 = │
00:29:49 verbose #84242 > │ match v631 with │
00:29:49 verbose #84243 > │ | US6_0(v632) -> (* Choice1Of2 *) │
00:29:49 verbose #84244 > │ US7_0(v632) │
00:29:49 verbose #84245 > │ | US6_1(v634) -> (* Choice2Of2 *) │
00:29:49 verbose #84246 > │ US7_1(v634) │
00:29:49 verbose #84247 > │ return v637 │
00:29:49 verbose #84248 > │ } │
00:29:49 verbose #84249 > │ |> fun x -> _v630 <- Some x │
00:29:49 verbose #84250 > │ let v638 : Async<US7> = _v630 |> Option.get │
00:29:49 verbose #84251 > │ v638 │
00:29:49 verbose #84252 > │ #endif │
00:29:49 verbose #84253 > │ |> fun x -> _v623 <- Some x │
00:29:49 verbose #84254 > │ let v639 : Async<US7> = _v623.Value │
00:29:49 verbose #84255 > │ let v640 : Async<US5> option = None │
00:29:49 verbose #84256 > │ let v641 : bool = true in let mutable _v640 = v640 │
00:29:49 verbose #84257 > │ │
00:29:49 verbose #84258 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84259 > │ │
00:29:49 verbose #84260 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84261 > │ let v642 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84262 > │ v642 │
00:29:49 verbose #84263 > │ #endif │
00:29:49 verbose #84264 > │ │
00:29:49 verbose #84265 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84266 > │ let v643 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84267 > │ v643 │
00:29:49 verbose #84268 > │ #endif │
00:29:49 verbose #84269 > │ │
00:29:49 verbose #84270 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84271 > │ let v644 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84272 > │ v644 │
00:29:49 verbose #84273 > │ #endif │
00:29:49 verbose #84274 > │ │
00:29:49 verbose #84275 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84276 > │ let v645 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84277 > │ v645 │
00:29:49 verbose #84278 > │ #endif │
00:29:49 verbose #84279 > │ │
00:29:49 verbose #84280 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84281 > │ let v646 : Async<US5> = null |> unbox<Async<US5>> │
00:29:49 verbose #84282 > │ v646 │
00:29:49 verbose #84283 > │ #endif │
00:29:49 verbose #84284 > │ │
00:29:49 verbose #84285 > │ #else │
00:29:49 verbose #84286 > │ let v647 : Async<US5> option = None │
00:29:49 verbose #84287 > │ let mutable _v647 = v647 │
00:29:49 verbose #84288 > │ async { │
00:29:49 verbose #84289 > │ let! v639 = v639 │
00:29:49 verbose #84290 > │ let v648 : US7 = v639 │
00:29:49 verbose #84291 > │ let v674 : US5 = │
00:29:49 verbose #84292 > │ match v648 with │
00:29:49 verbose #84293 > │ | US7_1(v651) -> (* Error *) │
00:29:49 verbose #84294 > │ let v652 : string = $"%A{v651}" │
00:29:49 verbose #84295 > │ let v653 : string = "System.TimeoutException" │
00:29:49 verbose #84296 > │ let v654 : bool = v652.Contains v653 │
00:29:49 verbose #84297 > │ if v654 then │
00:29:49 verbose #84298 > │ let v655 : US3 = US3_1 │
00:29:49 verbose #84299 > │ let v656 : (unit -> string) = closure33() │
00:29:49 verbose #84300 > │ let v657 : (unit -> string) = closure34() │
00:29:49 verbose #84301 > │ method12(v655, v656, v657) │
00:29:49 verbose #84302 > │ US5_1 │
00:29:49 verbose #84303 > │ else │
00:29:49 verbose #84304 > │ let v659 : string option = None │
00:29:49 verbose #84305 > │ let v660 : bool = true in let mutable _v659 = v659 │
00:29:49 verbose #84306 > │ │
00:29:49 verbose #84307 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84308 > │ │
00:29:49 verbose #84309 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84310 > │ let v661 : string = $"%A{v651}" │
00:29:49 verbose #84311 > │ v661 │
00:29:49 verbose #84312 > │ #endif │
00:29:49 verbose #84313 > │ │
00:29:49 verbose #84314 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84315 > │ let v662 : string = $"%A{v651}" │
00:29:49 verbose #84316 > │ v662 │
00:29:49 verbose #84317 > │ #endif │
00:29:49 verbose #84318 > │ │
00:29:49 verbose #84319 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84320 > │ let v663 : string = $"%A{v651}" │
00:29:49 verbose #84321 > │ v663 │
00:29:49 verbose #84322 > │ #endif │
00:29:49 verbose #84323 > │ │
00:29:49 verbose #84324 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84325 > │ let v664 : string = $"%A{v651}" │
00:29:49 verbose #84326 > │ v664 │
00:29:49 verbose #84327 > │ #endif │
00:29:49 verbose #84328 > │ │
00:29:49 verbose #84329 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84330 > │ let v665 : string = $"%A{v651}" │
00:29:49 verbose #84331 > │ v665 │
00:29:49 verbose #84332 > │ #endif │
00:29:49 verbose #84333 > │ │
00:29:49 verbose #84334 > │ #else │
00:29:49 verbose #84335 > │ let v666 : string = $"{v651.GetType ()}: {v651.Message}" │
00:29:49 verbose #84336 > │ v666 │
00:29:49 verbose #84337 > │ #endif │
00:29:49 verbose #84338 > │ |> fun x -> _v659 <- Some x │
00:29:49 verbose #84339 > │ let v667 : string = _v659.Value │
00:29:49 verbose #84340 > │ let v668 : US3 = US3_4 │
00:29:49 verbose #84341 > │ let v669 : (unit -> string) = closure35(v667) │
00:29:49 verbose #84342 > │ let v670 : (unit -> string) = closure34() │
00:29:49 verbose #84343 > │ method12(v668, v669, v670) │
00:29:49 verbose #84344 > │ US5_1 │
00:29:49 verbose #84345 > │ | US7_0(v649) -> (* Ok *) │
00:29:49 verbose #84346 > │ US5_0(v649) │
00:29:49 verbose #84347 > │ return v674 │
00:29:49 verbose #84348 > │ } │
00:29:49 verbose #84349 > │ |> fun x -> _v647 <- Some x │
00:29:49 verbose #84350 > │ let v675 : Async<US5> = _v647 |> Option.get │
00:29:49 verbose #84351 > │ v675 │
00:29:49 verbose #84352 > │ #endif │
00:29:49 verbose #84353 > │ |> fun x -> _v640 <- Some x │
00:29:49 verbose #84354 > │ let v676 : Async<US5> = _v640.Value │
00:29:49 verbose #84355 > │ return! v676 │
00:29:49 verbose #84356 > │ } │
00:29:49 verbose #84357 > │ |> fun x -> _v580 <- Some x │
00:29:49 verbose #84358 > │ let v677 : Async<US5> = _v580 |> Option.get │
00:29:49 verbose #84359 > │ v677 │
00:29:49 verbose #84360 > │ #endif │
00:29:49 verbose #84361 > │ |> fun x -> _v573 <- Some x │
00:29:49 verbose #84362 > │ let v678 : Async<US5> = _v573.Value │
00:29:49 verbose #84363 > │ v678 │
00:29:49 verbose #84364 > │ #endif │
00:29:49 verbose #84365 > │ |> fun x -> _v566 <- Some x │
00:29:49 verbose #84366 > │ let v679 : Async<US5> = _v566.Value │
00:29:49 verbose #84367 > │ let v680 : US5 option = None │
00:29:49 verbose #84368 > │ let v681 : bool = true in let mutable _v680 = v680 │
00:29:49 verbose #84369 > │ │
00:29:49 verbose #84370 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84371 > │ │
00:29:49 verbose #84372 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84373 > │ let v682 : US5 = null |> unbox<US5> │
00:29:49 verbose #84374 > │ v682 │
00:29:49 verbose #84375 > │ #endif │
00:29:49 verbose #84376 > │ │
00:29:49 verbose #84377 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84378 > │ let v683 : US5 = null |> unbox<US5> │
00:29:49 verbose #84379 > │ v683 │
00:29:49 verbose #84380 > │ #endif │
00:29:49 verbose #84381 > │ │
00:29:49 verbose #84382 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84383 > │ let v684 : US5 = null |> unbox<US5> │
00:29:49 verbose #84384 > │ v684 │
00:29:49 verbose #84385 > │ #endif │
00:29:49 verbose #84386 > │ │
00:29:49 verbose #84387 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84388 > │ let v685 : US5 = null |> unbox<US5> │
00:29:49 verbose #84389 > │ v685 │
00:29:49 verbose #84390 > │ #endif │
00:29:49 verbose #84391 > │ │
00:29:49 verbose #84392 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84393 > │ let v686 : US5 = null |> unbox<US5> │
00:29:49 verbose #84394 > │ v686 │
00:29:49 verbose #84395 > │ #endif │
00:29:49 verbose #84396 > │ │
00:29:49 verbose #84397 > │ #else │
00:29:49 verbose #84398 > │ let v687 : (Async<US5> -> US5) = Async.RunSynchronously │
00:29:49 verbose #84399 > │ let v688 : US5 = v687 v679 │
00:29:49 verbose #84400 > │ v688 │
00:29:49 verbose #84401 > │ #endif │
00:29:49 verbose #84402 > │ |> fun x -> _v680 <- Some x │
00:29:49 verbose #84403 > │ let v689 : US5 = _v680.Value │
00:29:49 verbose #84404 > │ let v727 : bool = │
00:29:49 verbose #84405 > │ match v689 with │
00:29:49 verbose #84406 > │ | US5_0(v690) -> (* Some *) │
00:29:49 verbose #84407 > │ let v691 : bool option = None │
00:29:49 verbose #84408 > │ let v692 : bool = true in let mutable _v691 = v691 │
00:29:49 verbose #84409 > │ │
00:29:49 verbose #84410 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84411 > │ │
00:29:49 verbose #84412 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84413 > │ let v693 : string = "cfg!(windows)" │
00:29:49 verbose #84414 > │ let v694 : bool = Fable.Core.RustInterop.emitRustExpr () v693 │
00:29:49 verbose #84415 > │ v694 │
00:29:49 verbose #84416 > │ #endif │
00:29:49 verbose #84417 > │ │
00:29:49 verbose #84418 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84419 > │ let v695 : bool = null |> unbox<bool> │
00:29:49 verbose #84420 > │ v695 │
00:29:49 verbose #84421 > │ #endif │
00:29:49 verbose #84422 > │ │
00:29:49 verbose #84423 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84424 > │ let v696 : bool = null |> unbox<bool> │
00:29:49 verbose #84425 > │ v696 │
00:29:49 verbose #84426 > │ #endif │
00:29:49 verbose #84427 > │ │
00:29:49 verbose #84428 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84429 > │ let v697 : bool = null |> unbox<bool> │
00:29:49 verbose #84430 > │ v697 │
00:29:49 verbose #84431 > │ #endif │
00:29:49 verbose #84432 > │ │
00:29:49 verbose #84433 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84434 > │ let v698 : bool = null |> unbox<bool> │
00:29:49 verbose #84435 > │ v698 │
00:29:49 verbose #84436 > │ #endif │
00:29:49 verbose #84437 > │ │
00:29:49 verbose #84438 > │ #else │
00:29:49 verbose #84439 > │ let v699 : System.Runtime.InteropServices.OSPlatform = │
00:29:49 verbose #84440 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:49 verbose #84441 > │ let v700 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:49 verbose #84442 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:49 verbose #84443 > │ let v701 : bool = v700 v699 │
00:29:49 verbose #84444 > │ v701 │
00:29:49 verbose #84445 > │ #endif │
00:29:49 verbose #84446 > │ |> fun x -> _v691 <- Some x │
00:29:49 verbose #84447 > │ let v702 : bool = _v691.Value │
00:29:49 verbose #84448 > │ let v703 : int64 = │
00:29:49 verbose #84449 > │ if v702 then │
00:29:49 verbose #84450 > │ 50L │
00:29:49 verbose #84451 > │ else │
00:29:49 verbose #84452 > │ 0L │
00:29:49 verbose #84453 > │ let v704 : bool option = None │
00:29:49 verbose #84454 > │ let v705 : bool = true in let mutable _v704 = v704 │
00:29:49 verbose #84455 > │ │
00:29:49 verbose #84456 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:49 verbose #84457 > │ │
00:29:49 verbose #84458 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:49 verbose #84459 > │ let v706 : string = "cfg!(windows)" │
00:29:49 verbose #84460 > │ let v707 : bool = Fable.Core.RustInterop.emitRustExpr () v706 │
00:29:49 verbose #84461 > │ v707 │
00:29:49 verbose #84462 > │ #endif │
00:29:49 verbose #84463 > │ │
00:29:49 verbose #84464 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:49 verbose #84465 > │ let v708 : bool = null |> unbox<bool> │
00:29:49 verbose #84466 > │ v708 │
00:29:49 verbose #84467 > │ #endif │
00:29:49 verbose #84468 > │ │
00:29:49 verbose #84469 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:49 verbose #84470 > │ let v709 : bool = null |> unbox<bool> │
00:29:49 verbose #84471 > │ v709 │
00:29:49 verbose #84472 > │ #endif │
00:29:49 verbose #84473 > │ │
00:29:49 verbose #84474 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:49 verbose #84475 > │ let v710 : bool = null |> unbox<bool> │
00:29:49 verbose #84476 > │ v710 │
00:29:49 verbose #84477 > │ #endif │
00:29:49 verbose #84478 > │ │
00:29:49 verbose #84479 > │ #if FABLE_COMPILER_PYTHON │
00:29:49 verbose #84480 > │ let v711 : bool = null |> unbox<bool> │
00:29:49 verbose #84481 > │ v711 │
00:29:49 verbose #84482 > │ #endif │
00:29:49 verbose #84483 > │ │
00:29:49 verbose #84484 > │ #else │
00:29:49 verbose #84485 > │ let v712 : System.Runtime.InteropServices.OSPlatform = │
00:29:49 verbose #84486 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:49 verbose #84487 > │ let v713 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:49 verbose #84488 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:49 verbose #84489 > │ let v714 : bool = v713 v712 │
00:29:49 verbose #84490 > │ v714 │
00:29:49 verbose #84491 > │ #endif │
00:29:49 verbose #84492 > │ |> fun x -> _v704 <- Some x │
00:29:49 verbose #84493 > │ let v715 : bool = _v704.Value │
00:29:49 verbose #84494 > │ let v716 : int64 = │
00:29:49 verbose #84495 > │ if v715 then │
00:29:49 verbose #84496 > │ 150L │
00:29:49 verbose #84497 > │ else │
00:29:49 verbose #84498 > │ 0L │
00:29:49 verbose #84499 > │ let v717 : bool = v690 >= v703 │
00:29:49 verbose #84500 > │ let v719 : bool = │
00:29:49 verbose #84501 > │ if v717 then │
00:29:49 verbose #84502 > │ true │
00:29:49 verbose #84503 > │ else │
00:29:49 verbose #84504 > │ method23(v717) │
00:29:49 verbose #84505 > │ let v720 : bool = v719 = false │
00:29:49 verbose #84506 > │ if v720 then │
00:29:49 verbose #84507 > │ failwith<unit> "__expect" │
00:29:49 verbose #84508 > │ let v721 : bool = v690 <= v716 │
00:29:49 verbose #84509 > │ let v723 : bool = │
00:29:49 verbose #84510 > │ if v721 then │
00:29:49 verbose #84511 > │ true │
00:29:49 verbose #84512 > │ else │
00:29:49 verbose #84513 > │ method23(v721) │
00:29:49 verbose #84514 > │ let v724 : bool = v723 = false │
00:29:49 verbose #84515 > │ if v724 then │
00:29:49 verbose #84516 > │ failwith<unit> "__expect" │
00:29:49 verbose #84517 > │ let v725 : string = "assert_between" │
00:29:49 verbose #84518 > │ let v726 : string = $"{v725} / actual: %A{v690} / expected: │
00:29:49 verbose #84519 > │ %A{struct (v703, v716)}" │
00:29:49 verbose #84520 > │ System.Console.WriteLine v726 │
00:29:49 verbose #84521 > │ true │
00:29:49 verbose #84522 > │ | _ -> │
00:29:49 verbose #84523 > │ false │
00:29:49 verbose #84524 > │ let v729 : bool = │
00:29:49 verbose #84525 > │ if v727 then │
00:29:49 verbose #84526 > │ true │
00:29:49 verbose #84527 > │ else │
00:29:49 verbose #84528 > │ method23(v727) │
00:29:49 verbose #84529 > │ let v730 : string = "assert_eq" │
00:29:49 verbose #84530 > │ let v731 : string = $"{v730} / actual: %A{v727} / expected: %A{true}" │
00:29:49 verbose #84531 > │ System.Console.WriteLine v731 │
00:29:49 verbose #84532 > │ let v732 : bool = v729 = false │
00:29:49 verbose #84533 > │ if v732 then │
00:29:49 verbose #84534 > │ failwith<unit> v731 │
00:29:49 verbose #84535 > │ method0() │
00:29:49 verbose #84536 > │ │
00:29:49 verbose #84537 > │ 00:00:00 debug #1 1 │
00:29:49 verbose #84538 > │ 00:00:00 debug #2 2 │
00:29:49 verbose #84539 > │ 00:00:00 debug #3 3 │
00:29:49 verbose #84540 > │ 00:00:00 debug #4 _1 │
00:29:49 verbose #84541 > │ 00:00:00 debug #5 _2 │
00:29:49 verbose #84542 > │ 00:00:00 debug #6 4 │
00:29:49 verbose #84543 > │ 00:00:00 warning #7 delete_file_async / path: test.txt / ex: │
00:29:49 verbose #84544 > │ System.IO.IOException: The process cannot access the file │
00:29:49 verbose #84545 > │ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0304-0785-8585-8004 │
00:29:49 verbose #84546 > │ 0007649a\test.txt' because it is being used by another process. │
00:29:49 verbose #84547 > │ 00:00:01 warning #8 delete_file_async / path: test.txt / ex: │
00:29:49 verbose #84548 > │ System.IO.IOException: The process cannot access the file │
00:29:49 verbose #84549 > │ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20240503-0304-0785-8585-8004 │
00:29:49 verbose #84550 > │ 0007649a\test.txt' because it is being used by another process. │
00:29:49 verbose #84551 > │ 00:00:02 debug #9 _3 │
00:29:49 verbose #84552 > │ 00:00:02 debug #10 5 │
00:29:49 verbose #84553 > │ 00:00:02 debug #11 6 │
00:29:49 verbose #84554 > │ assert_between / actual: 125L / expected: struct (50L, 150L) │
00:29:49 verbose #84555 > │ assert_eq / actual: true / expected: true │
00:29:49 verbose #84556 > │ │
00:29:49 verbose #84557 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:49 verbose #84558 >
00:29:49 verbose #84559 > ── markdown ────────────────────────────────────────────────────────────────────
00:29:49 verbose #84560 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:49 verbose #84561 > │ ## move_file_async │
00:29:49 verbose #84562 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:49 verbose #84563 >
00:29:49 verbose #84564 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:49 verbose #84565 > inl move_file_async new_path old_path : _ i64 =
00:29:49 verbose #84566 > run_target function
00:29:49 verbose #84567 > | Fsharp (Native) => fun () =>
00:29:49 verbose #84568 > let rec loop (retry : i64) =
00:29:49 verbose #84569 > fun () =>
00:29:49 verbose #84570 > try_unit
00:29:49 verbose #84571 > fun () =>
00:29:49 verbose #84572 > old_path |> file_move new_path
00:29:49 verbose #84573 > return retry
00:29:49 verbose #84574 > fun ex =>
00:29:49 verbose #84575 > if retry % 100 = 0 then
00:29:49 verbose #84576 > inl _locals () =
00:29:49 verbose #84577 > inl ex = ex |> sm'.format_exception
00:29:49 verbose #84578 > $'$"old_path: {!old_path |> !get_file_name}
00:29:49 verbose #84579 > / new_path: {!new_path |> !get_file_name} / ex: {!ex} / {!_locals ()}"'
00:29:49 verbose #84580 > trace Warning (fun () => "move_file_async")
00:29:49 verbose #84581 > _locals
00:29:49 verbose #84582 > async.sleep 10 |> async.do
00:29:49 verbose #84583 > loop (retry + 1) |> async.return_await
00:29:49 verbose #84584 > |> async.new_async_unit
00:29:49 verbose #84585 > loop 0
00:29:49 verbose #84586 > | _ => fun () => null ()
00:29:50 verbose #84587 > 00:29:49 debug #993 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9a573031d2e8b8b2287e01e897b4759e197b4629302006acefdf5131df72a2f1/main.spi
00:29:50 verbose #84588 >
00:29:50 verbose #84589 > ╭─[ 760.68ms - stdout ]────────────────────────────────────────────────────────╮
00:29:50 verbose #84590 > │ () │
00:29:50 verbose #84591 > │ │
00:29:50 verbose #84592 > │ │
00:29:50 verbose #84593 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:50 verbose #84594 >
00:29:50 verbose #84595 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:50 verbose #84596 > //// test
00:29:50 verbose #84597 >
00:29:50 verbose #84598 > inl lock_file path =
00:29:50 verbose #84599 > fun () =>
00:29:50 verbose #84600 > trace Debug (fun () => "_1") _locals
00:29:50 verbose #84601 > file_stream
00:29:50 verbose #84602 > path
00:29:50 verbose #84603 > ModeOpen
00:29:50 verbose #84604 > AccessReadWrite
00:29:50 verbose #84605 > ShareNone
00:29:50 verbose #84606 > |> use
00:29:50 verbose #84607 > |> ignore
00:29:50 verbose #84608 > trace Debug (fun () => "_2") _locals
00:29:50 verbose #84609 > async.sleep 2000 |> async.do
00:29:50 verbose #84610 > trace Debug (fun () => "_3") _locals
00:29:50 verbose #84611 > |> async.new_async
00:29:50 verbose #84612 >
00:29:50 verbose #84613 > types ()
00:29:50 verbose #84614 > inl temp_dir, disposable = create_temp_directory ()
00:29:50 verbose #84615 > disposable |> use |> ignore
00:29:50 verbose #84616 > let path = temp_dir </> "test.txt"
00:29:50 verbose #84617 > let new_path = temp_dir </> "test2.txt"
00:29:50 verbose #84618 >
00:29:50 verbose #84619 > fun () =>
00:29:50 verbose #84620 > trace Debug (fun () => "1") _locals
00:29:50 verbose #84621 > "0" |> write_all_text_async path |> async.do
00:29:50 verbose #84622 > trace Debug (fun () => "2") _locals
00:29:50 verbose #84623 > inl child = lock_file path |> async.start_child |> async.let'
00:29:50 verbose #84624 > trace Debug (fun () => "3") _locals
00:29:50 verbose #84625 > async.sleep 1 |> async.do
00:29:50 verbose #84626 > trace Debug (fun () => "4") _locals
00:29:50 verbose #84627 > inl retries1 = path |> move_file_async new_path |> async.let'
00:29:50 verbose #84628 > trace Debug (fun () => "5") _locals
00:29:50 verbose #84629 > inl retries2 = new_path |> wait_for_file_access None |> async.let'
00:29:50 verbose #84630 > trace Debug (fun () => "6") _locals
00:29:50 verbose #84631 > inl text = new_path |> read_all_text_async |> async.let'
00:29:50 verbose #84632 > trace Debug (fun () => "7") _locals
00:29:50 verbose #84633 > child |> async.do
00:29:50 verbose #84634 > trace Debug (fun () => "8") _locals
00:29:50 verbose #84635 > (retries1, retries2, text) |> return
00:29:50 verbose #84636 > |> async.new_async_unit
00:29:50 verbose #84637 > |> async.run_with_timeout 3000
00:29:50 verbose #84638 > |> function
00:29:50 verbose #84639 > | Some (retries1, retries2, text) =>
00:29:50 verbose #84640 > retries1
00:29:50 verbose #84641 > |> _assert_between
00:29:50 verbose #84642 > (if runtime.is_windows () then 50i64 else 0)
00:29:50 verbose #84643 > (if runtime.is_windows () then 150 else 0)
00:29:50 verbose #84644 >
00:29:50 verbose #84645 > retries2
00:29:50 verbose #84646 > |> _assert_between
00:29:50 verbose #84647 > (if runtime.is_windows () then 0i64 else 100)
00:29:50 verbose #84648 > (if runtime.is_windows () then 0 else 200)
00:29:50 verbose #84649 >
00:29:50 verbose #84650 > text |> _assert_eq (join "0")
00:29:50 verbose #84651 >
00:29:50 verbose #84652 > true
00:29:50 verbose #84653 > | _ => false
00:29:50 verbose #84654 > |> _assert_eq true
00:29:50 verbose #84655 > 00:29:49 debug #994 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/aaf31f5e49f1cf22dc047dac0cbfd50cb4c18591c69f247d10334bf9b2a5ebd3/main.spi
00:29:54 verbose #84656 >
00:29:54 verbose #84657 > ╭─[ 4.50s - stdout ]───────────────────────────────────────────────────────────╮
00:29:54 verbose #84658 > │ #if FABLE_COMPILER │
00:29:54 verbose #84659 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:29:54 verbose #84660 > │ #endif │
00:29:54 verbose #84661 > │ type Func0<'T> = class end │
00:29:54 verbose #84662 > │ #if FABLE_COMPILER │
00:29:54 verbose #84663 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:29:54 verbose #84664 > │ #endif │
00:29:54 verbose #84665 > │ type Func0<'T, 'U> = class end │
00:29:54 verbose #84666 > │ #if FABLE_COMPILER │
00:29:54 verbose #84667 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:29:54 verbose #84668 > │ #endif │
00:29:54 verbose #84669 > │ type Box<'T> = class end │
00:29:54 verbose #84670 > │ #if FABLE_COMPILER │
00:29:54 verbose #84671 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:29:54 verbose #84672 > │ #endif │
00:29:54 verbose #84673 > │ type Dyn<'T> = class end │
00:29:54 verbose #84674 > │ #if FABLE_COMPILER │
00:29:54 verbose #84675 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:29:54 verbose #84676 > │ #endif │
00:29:54 verbose #84677 > │ type Send<'T> = class end │
00:29:54 verbose #84678 > │ #if FABLE_COMPILER │
00:29:54 verbose #84679 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:29:54 verbose #84680 > │ #endif │
00:29:54 verbose #84681 > │ type Fn<'T> = class end │
00:29:54 verbose #84682 > │ #if FABLE_COMPILER │
00:29:54 verbose #84683 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:29:54 verbose #84684 > │ #endif │
00:29:54 verbose #84685 > │ type FnUnit = class end │
00:29:54 verbose #84686 > │ #if FABLE_COMPILER │
00:29:54 verbose #84687 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:29:54 verbose #84688 > │ #endif │
00:29:54 verbose #84689 > │ type FnOnce<'T> = class end │
00:29:54 verbose #84690 > │ #if FABLE_COMPILER │
00:29:54 verbose #84691 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:29:54 verbose #84692 > │ #endif │
00:29:54 verbose #84693 > │ type ActionFn<'T> = class end │
00:29:54 verbose #84694 > │ #if FABLE_COMPILER │
00:29:54 verbose #84695 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:29:54 verbose #84696 > │ #endif │
00:29:54 verbose #84697 > │ type ActionFn2<'T, 'U> = class end │
00:29:54 verbose #84698 > │ #if FABLE_COMPILER │
00:29:54 verbose #84699 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:29:54 verbose #84700 > │ #endif │
00:29:54 verbose #84701 > │ type Impl<'T> = class end │
00:29:54 verbose #84702 > │ #if FABLE_COMPILER │
00:29:54 verbose #84703 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:29:54 verbose #84704 > │ #endif │
00:29:54 verbose #84705 > │ type Mut<'T> = class end │
00:29:54 verbose #84706 > │ #if FABLE_COMPILER │
00:29:54 verbose #84707 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:29:54 verbose #84708 > │ #endif │
00:29:54 verbose #84709 > │ type Ref<'T> = class end │
00:29:54 verbose #84710 > │ #if FABLE_COMPILER │
00:29:54 verbose #84711 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:29:54 verbose #84712 > │ #endif │
00:29:54 verbose #84713 > │ type StaticRef<'T> = class end │
00:29:54 verbose #84714 > │ #if FABLE_COMPILER │
00:29:54 verbose #84715 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:29:54 verbose #84716 > │ #endif │
00:29:54 verbose #84717 > │ type MutCell<'T> = class end │
00:29:54 verbose #84718 > │ #if FABLE_COMPILER │
00:29:54 verbose #84719 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:29:54 verbose #84720 > │ #endif │
00:29:54 verbose #84721 > │ type std_any_Any = class end │
00:29:54 verbose #84722 > │ #if FABLE_COMPILER │
00:29:54 verbose #84723 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:29:54 verbose #84724 > │ #endif │
00:29:54 verbose #84725 > │ type std_borrow_Cow<'T> = class end │
00:29:54 verbose #84726 > │ #if FABLE_COMPILER │
00:29:54 verbose #84727 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:29:54 verbose #84728 > │ #endif │
00:29:54 verbose #84729 > │ type std_cell_RefCell<'T> = class end │
00:29:54 verbose #84730 > │ #if FABLE_COMPILER │
00:29:54 verbose #84731 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:29:54 verbose #84732 > │ #endif │
00:29:54 verbose #84733 > │ type std_pin_Pin<'T> = class end │
00:29:54 verbose #84734 > │ #if FABLE_COMPILER │
00:29:54 verbose #84735 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:29:54 verbose #84736 > │ #endif │
00:29:54 verbose #84737 > │ type std_rc_Rc<'T> = class end │
00:29:54 verbose #84738 > │ #if FABLE_COMPILER │
00:29:54 verbose #84739 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:29:54 verbose #84740 > │ #endif │
00:29:54 verbose #84741 > │ type std_rc_Weak<'T> = class end │
00:29:54 verbose #84742 > │ #if FABLE_COMPILER │
00:29:54 verbose #84743 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:29:54 verbose #84744 > │ #endif │
00:29:54 verbose #84745 > │ type Str = class end │
00:29:54 verbose #84746 > │ #if FABLE_COMPILER │
00:29:54 verbose #84747 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:29:54 verbose #84748 > │ #endif │
00:29:54 verbose #84749 > │ type base64_DecodeError = class end │
00:29:54 verbose #84750 > │ #if FABLE_COMPILER │
00:29:54 verbose #84751 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:29:54 verbose #84752 > │ #endif │
00:29:54 verbose #84753 > │ type borsh_io_Error = class end │
00:29:54 verbose #84754 > │ #if FABLE_COMPILER │
00:29:54 verbose #84755 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:29:54 verbose #84756 > │ #endif │
00:29:54 verbose #84757 > │ type js_sys_JsString = class end │
00:29:54 verbose #84758 > │ #if FABLE_COMPILER │
00:29:54 verbose #84759 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:29:54 verbose #84760 > │ #endif │
00:29:54 verbose #84761 > │ type serde_json_Error = class end │
00:29:54 verbose #84762 > │ #if FABLE_COMPILER │
00:29:54 verbose #84763 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:29:54 verbose #84764 > │ #endif │
00:29:54 verbose #84765 > │ type serde_json_Value = class end │
00:29:54 verbose #84766 > │ #if FABLE_COMPILER │
00:29:54 verbose #84767 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:29:54 verbose #84768 > │ #endif │
00:29:54 verbose #84769 > │ type serde_wasm_bindgen_Error = class end │
00:29:54 verbose #84770 > │ #if FABLE_COMPILER │
00:29:54 verbose #84771 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:29:54 verbose #84772 > │ #endif │
00:29:54 verbose #84773 > │ type std_ffi_OsStr = class end │
00:29:54 verbose #84774 > │ #if FABLE_COMPILER │
00:29:54 verbose #84775 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:29:54 verbose #84776 > │ #endif │
00:29:54 verbose #84777 > │ type std_ffi_OsString = class end │
00:29:54 verbose #84778 > │ #if FABLE_COMPILER │
00:29:54 verbose #84779 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:29:54 verbose #84780 > │ #endif │
00:29:54 verbose #84781 > │ type std_fmt_Display<'T> = class end │
00:29:54 verbose #84782 > │ #if FABLE_COMPILER │
00:29:54 verbose #84783 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:29:54 verbose #84784 > │ #endif │
00:29:54 verbose #84785 > │ type std_str_Utf8Error = class end │
00:29:54 verbose #84786 > │ #if FABLE_COMPILER │
00:29:54 verbose #84787 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:29:54 verbose #84788 > │ #endif │
00:29:54 verbose #84789 > │ type std_string_FromUtf8Error = class end │
00:29:54 verbose #84790 > │ #if FABLE_COMPILER │
00:29:54 verbose #84791 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:29:54 verbose #84792 > │ #endif │
00:29:54 verbose #84793 > │ type std_string_String = class end │
00:29:54 verbose #84794 > │ #if FABLE_COMPILER │
00:29:54 verbose #84795 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:29:54 verbose #84796 > │ #endif │
00:29:54 verbose #84797 > │ type std_slice_Windows<'T> = class end │
00:29:54 verbose #84798 > │ #if FABLE_COMPILER │
00:29:54 verbose #84799 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:29:54 verbose #84800 > │ #endif │
00:29:54 verbose #84801 > │ type chrono_DateTime<'T> = class end │
00:29:54 verbose #84802 > │ #if FABLE_COMPILER │
00:29:54 verbose #84803 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:29:54 verbose #84804 > │ #endif │
00:29:54 verbose #84805 > │ type chrono_Local = class end │
00:29:54 verbose #84806 > │ #if FABLE_COMPILER │
00:29:54 verbose #84807 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:29:54 verbose #84808 > │ #endif │
00:29:54 verbose #84809 > │ type chrono_NaiveDateTime = class end │
00:29:54 verbose #84810 > │ #if FABLE_COMPILER │
00:29:54 verbose #84811 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:29:54 verbose #84812 > │ #endif │
00:29:54 verbose #84813 > │ type chrono_Utc = class end │
00:29:54 verbose #84814 > │ #if FABLE_COMPILER │
00:29:54 verbose #84815 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:29:54 verbose #84816 > │ #endif │
00:29:54 verbose #84817 > │ type std_time_Duration = class end │
00:29:54 verbose #84818 > │ #if FABLE_COMPILER │
00:29:54 verbose #84819 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:29:54 verbose #84820 > │ #endif │
00:29:54 verbose #84821 > │ type async_std_io_BufReader<'T> = class end │
00:29:54 verbose #84822 > │ #if FABLE_COMPILER │
00:29:54 verbose #84823 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:29:54 verbose #84824 > │ #endif │
00:29:54 verbose #84825 > │ type std_io_BufReader<'T> = class end │
00:29:54 verbose #84826 > │ #if FABLE_COMPILER │
00:29:54 verbose #84827 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:29:54 verbose #84828 > │ #endif │
00:29:54 verbose #84829 > │ type std_io_Error = class end │
00:29:54 verbose #84830 > │ #if FABLE_COMPILER │
00:29:54 verbose #84831 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:29:54 verbose #84832 > │ #endif │
00:29:54 verbose #84833 > │ type std_io_Lines<'T> = class end │
00:29:54 verbose #84834 > │ #if FABLE_COMPILER │
00:29:54 verbose #84835 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:29:54 verbose #84836 > │ #endif │
00:29:54 verbose #84837 > │ type std_fs_File = class end │
00:29:54 verbose #84838 > │ #if FABLE_COMPILER │
00:29:54 verbose #84839 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:29:54 verbose #84840 > │ #endif │
00:29:54 verbose #84841 > │ type std_fs_FileType = class end │
00:29:54 verbose #84842 > │ #if FABLE_COMPILER │
00:29:54 verbose #84843 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:29:54 verbose #84844 > │ #endif │
00:29:54 verbose #84845 > │ type std_path_Display = class end │
00:29:54 verbose #84846 > │ #if FABLE_COMPILER │
00:29:54 verbose #84847 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:29:54 verbose #84848 > │ #endif │
00:29:54 verbose #84849 > │ type std_path_Path = class end │
00:29:54 verbose #84850 > │ #if FABLE_COMPILER │
00:29:54 verbose #84851 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:29:54 verbose #84852 > │ #endif │
00:29:54 verbose #84853 > │ type std_path_PathBuf = class end │
00:29:54 verbose #84854 > │ #if FABLE_COMPILER │
00:29:54 verbose #84855 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:29:54 verbose #84856 > │ #endif │
00:29:54 verbose #84857 > │ type async_walkdir_DirEntry = class end │
00:29:54 verbose #84858 > │ #if FABLE_COMPILER │
00:29:54 verbose #84859 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:29:54 verbose #84860 > │ #endif │
00:29:54 verbose #84861 > │ type async_walkdir_Filtering = class end │
00:29:54 verbose #84862 > │ #if FABLE_COMPILER │
00:29:54 verbose #84863 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:29:54 verbose #84864 > │ #endif │
00:29:54 verbose #84865 > │ type async_walkdir_WalkDir = class end │
00:29:54 verbose #84866 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:29:54 verbose #84867 > │ string │
00:29:54 verbose #84868 > │ module State = let mutable trace_state = None │
00:29:54 verbose #84869 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:29:54 verbose #84870 > │ member _.Dispose () = f () │
00:29:54 verbose #84871 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:29:54 verbose #84872 > │ type [<Struct>] US0 = │
00:29:54 verbose #84873 > │ | US0_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:29:54 verbose #84874 > │ | US0_1 │
00:29:54 verbose #84875 > │ and [<Struct>] US1 = │
00:29:54 verbose #84876 > │ | US1_0 of f0_0 : string │
00:29:54 verbose #84877 > │ | US1_1 │
00:29:54 verbose #84878 > │ and [<Struct>] US2 = │
00:29:54 verbose #84879 > │ | US2_0 │
00:29:54 verbose #84880 > │ | US2_1 of f1_0 : std_string_String │
00:29:54 verbose #84881 > │ and [<Struct>] US3 = │
00:29:54 verbose #84882 > │ | US3_0 │
00:29:54 verbose #84883 > │ | US3_1 │
00:29:54 verbose #84884 > │ | US3_2 │
00:29:54 verbose #84885 > │ | US3_3 │
00:29:54 verbose #84886 > │ | US3_4 │
00:29:54 verbose #84887 > │ and Mut0 = {mutable l0 : int64} │
00:29:54 verbose #84888 > │ and Mut1 = {mutable l0 : bool} │
00:29:54 verbose #84889 > │ and Mut2 = {mutable l0 : US3} │
00:29:54 verbose #84890 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:29:54 verbose #84891 > │ and [<Struct>] US4 = │
00:29:54 verbose #84892 > │ | US4_0 of f0_0 : int64 │
00:29:54 verbose #84893 > │ | US4_1 │
00:29:54 verbose #84894 > │ and [<Struct>] US5 = │
00:29:54 verbose #84895 > │ | US5_0 of f0_0 : int64 │
00:29:54 verbose #84896 > │ | US5_1 │
00:29:54 verbose #84897 > │ and [<Struct>] US6 = │
00:29:54 verbose #84898 > │ | US6_0 of f0_0 : int64 * f0_1 : int64 * f0_2 : string │
00:29:54 verbose #84899 > │ | US6_1 │
00:29:54 verbose #84900 > │ and [<Struct>] US7 = │
00:29:54 verbose #84901 > │ | US7_0 of f0_0 : int64 * f0_1 : int64 * f0_2 : string │
00:29:54 verbose #84902 > │ | US7_1 of f1_0 : exn │
00:29:54 verbose #84903 > │ and [<Struct>] US8 = │
00:29:54 verbose #84904 > │ | US8_0 of f0_0 : int64 * f0_1 : int64 * f0_2 : string │
00:29:54 verbose #84905 > │ | US8_1 of f1_0 : exn │
00:29:54 verbose #84906 > │ let rec method2 (v0 : string) : string = │
00:29:54 verbose #84907 > │ v0 │
00:29:54 verbose #84908 > │ and method3 (v0 : string) : string = │
00:29:54 verbose #84909 > │ v0 │
00:29:54 verbose #84910 > │ and method4 (v0 : string) : string = │
00:29:54 verbose #84911 > │ v0 │
00:29:54 verbose #84912 > │ and method1 (v0 : string, v1 : string) : string = │
00:29:54 verbose #84913 > │ let v2 : string option = None │
00:29:54 verbose #84914 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:54 verbose #84915 > │ │
00:29:54 verbose #84916 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:54 verbose #84917 > │ │
00:29:54 verbose #84918 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:54 verbose #84919 > │ let v4 : string = method2(v0) │
00:29:54 verbose #84920 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:54 verbose #84921 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:29:54 verbose #84922 > │ let v7 : string = "String::from($0)" │
00:29:54 verbose #84923 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:54 verbose #84924 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:29:54 verbose #84925 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:54 verbose #84926 > │ let v11 : string = method2(v1) │
00:29:54 verbose #84927 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:54 verbose #84928 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:29:54 verbose #84929 > │ let v14 : string = "String::from($0)" │
00:29:54 verbose #84930 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:29:54 verbose #84931 > │ v14 │
00:29:54 verbose #84932 > │ let v16 : string = "$0.join($1)" │
00:29:54 verbose #84933 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:29:54 verbose #84934 > │ (v10, v15) v16 │
00:29:54 verbose #84935 > │ let v18 : string = "$0.display()" │
00:29:54 verbose #84936 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:54 verbose #84937 > │ let v20 : std_string_String option = None │
00:29:54 verbose #84938 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:29:54 verbose #84939 > │ │
00:29:54 verbose #84940 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:54 verbose #84941 > │ │
00:29:54 verbose #84942 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:54 verbose #84943 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:54 verbose #84944 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:54 verbose #84945 > │ v22 │
00:29:54 verbose #84946 > │ v23 │
00:29:54 verbose #84947 > │ #endif │
00:29:54 verbose #84948 > │ │
00:29:54 verbose #84949 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:54 verbose #84950 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:54 verbose #84951 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:54 verbose #84952 > │ v24 │
00:29:54 verbose #84953 > │ v25 │
00:29:54 verbose #84954 > │ #endif │
00:29:54 verbose #84955 > │ │
00:29:54 verbose #84956 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:54 verbose #84957 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:29:54 verbose #84958 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:54 verbose #84959 > │ v26 │
00:29:54 verbose #84960 > │ v27 │
00:29:54 verbose #84961 > │ #endif │
00:29:54 verbose #84962 > │ │
00:29:54 verbose #84963 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:54 verbose #84964 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:54 verbose #84965 > │ v28 │
00:29:54 verbose #84966 > │ #endif │
00:29:54 verbose #84967 > │ │
00:29:54 verbose #84968 > │ #if FABLE_COMPILER_PYTHON │
00:29:54 verbose #84969 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:29:54 verbose #84970 > │ v29 │
00:29:54 verbose #84971 > │ #endif │
00:29:54 verbose #84972 > │ │
00:29:54 verbose #84973 > │ #else │
00:29:54 verbose #84974 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:29:54 verbose #84975 > │ v30 │
00:29:54 verbose #84976 > │ #endif │
00:29:54 verbose #84977 > │ |> fun x -> _v20 <- Some x │
00:29:54 verbose #84978 > │ let v31 : std_string_String = _v20.Value │
00:29:54 verbose #84979 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:29:54 verbose #84980 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:29:54 verbose #84981 > │ v33 │
00:29:54 verbose #84982 > │ #endif │
00:29:54 verbose #84983 > │ │
00:29:54 verbose #84984 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:54 verbose #84985 > │ let v34 : string = null |> unbox<string> │
00:29:54 verbose #84986 > │ v34 │
00:29:54 verbose #84987 > │ #endif │
00:29:54 verbose #84988 > │ │
00:29:54 verbose #84989 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:54 verbose #84990 > │ let v35 : string = null |> unbox<string> │
00:29:54 verbose #84991 > │ v35 │
00:29:54 verbose #84992 > │ #endif │
00:29:54 verbose #84993 > │ │
00:29:54 verbose #84994 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:54 verbose #84995 > │ let v36 : string = "path" │
00:29:54 verbose #84996 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:29:54 verbose #84997 > │ let v38 : string = method3(v0) │
00:29:54 verbose #84998 > │ let v39 : string = method4(v1) │
00:29:54 verbose #84999 > │ let v40 : string = "v37.join(v38, v39)" │
00:29:54 verbose #85000 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:29:54 verbose #85001 > │ v41 │
00:29:54 verbose #85002 > │ #endif │
00:29:54 verbose #85003 > │ │
00:29:54 verbose #85004 > │ #if FABLE_COMPILER_PYTHON │
00:29:54 verbose #85005 > │ let v42 : string = null |> unbox<string> │
00:29:54 verbose #85006 > │ v42 │
00:29:54 verbose #85007 > │ #endif │
00:29:54 verbose #85008 > │ │
00:29:54 verbose #85009 > │ #else │
00:29:54 verbose #85010 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:29:54 verbose #85011 > │ v43 │
00:29:54 verbose #85012 > │ #endif │
00:29:54 verbose #85013 > │ |> fun x -> _v2 <- Some x │
00:29:54 verbose #85014 > │ let v44 : string = _v2.Value │
00:29:54 verbose #85015 > │ v44 │
00:29:54 verbose #85016 > │ and closure0 () (v0 : chrono_DateTime<chrono_Utc>) : US0 = │
00:29:54 verbose #85017 > │ US0_0(v0) │
00:29:54 verbose #85018 > │ and method5 () : (chrono_DateTime<chrono_Utc> -> US0) = │
00:29:54 verbose #85019 > │ closure0() │
00:29:54 verbose #85020 > │ and method6 (v0 : chrono_DateTime<chrono_Utc>) : chrono_DateTime<chrono_Utc> │
00:29:54 verbose #85021 > │ = │
00:29:54 verbose #85022 > │ v0 │
00:29:54 verbose #85023 > │ and method7 (v0 : chrono_DateTime<chrono_Local>) : │
00:29:54 verbose #85024 > │ chrono_DateTime<chrono_Local> = │
00:29:54 verbose #85025 > │ v0 │
00:29:54 verbose #85026 > │ and method8 () : string = │
00:29:54 verbose #85027 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:29:54 verbose #85028 > │ v0 │
00:29:54 verbose #85029 > │ and method9 () : string = │
00:29:55 verbose #85030 > │ let v0 : string = "hhmm" │
00:29:55 verbose #85031 > │ v0 │
00:29:55 verbose #85032 > │ and method10 (v0 : string) : string = │
00:29:55 verbose #85033 > │ v0 │
00:29:55 verbose #85034 > │ and closure1 () (v0 : std_io_Error) : std_string_String = │
00:29:55 verbose #85035 > │ let v1 : std_string_String option = None │
00:29:55 verbose #85036 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:55 verbose #85037 > │ │
00:29:55 verbose #85038 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85039 > │ │
00:29:55 verbose #85040 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85041 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #85042 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:29:55 verbose #85043 > │ v4 │
00:29:55 verbose #85044 > │ #endif │
00:29:55 verbose #85045 > │ │
00:29:55 verbose #85046 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85047 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #85048 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:29:55 verbose #85049 > │ v6 │
00:29:55 verbose #85050 > │ #endif │
00:29:55 verbose #85051 > │ │
00:29:55 verbose #85052 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85053 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #85054 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:29:55 verbose #85055 > │ v8 │
00:29:55 verbose #85056 > │ #endif │
00:29:55 verbose #85057 > │ │
00:29:55 verbose #85058 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85059 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #85060 > │ v9 │
00:29:55 verbose #85061 > │ #endif │
00:29:55 verbose #85062 > │ │
00:29:55 verbose #85063 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85064 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #85065 > │ v10 │
00:29:55 verbose #85066 > │ #endif │
00:29:55 verbose #85067 > │ │
00:29:55 verbose #85068 > │ #else │
00:29:55 verbose #85069 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #85070 > │ v11 │
00:29:55 verbose #85071 > │ #endif │
00:29:55 verbose #85072 > │ |> fun x -> _v1 <- Some x │
00:29:55 verbose #85073 > │ let v12 : std_string_String = _v1.Value │
00:29:55 verbose #85074 > │ v12 │
00:29:55 verbose #85075 > │ and method11 () : (std_io_Error -> std_string_String) = │
00:29:55 verbose #85076 > │ closure1() │
00:29:55 verbose #85077 > │ and closure2 () () : US2 = │
00:29:55 verbose #85078 > │ US2_0 │
00:29:55 verbose #85079 > │ and closure3 () (v0 : std_string_String) : US2 = │
00:29:55 verbose #85080 > │ US2_1(v0) │
00:29:55 verbose #85081 > │ and closure4 () () : string = │
00:29:55 verbose #85082 > │ let v0 : string = "file_system.create_directory" │
00:29:55 verbose #85083 > │ v0 │
00:29:55 verbose #85084 > │ and closure6 () () : string = │
00:29:55 verbose #85085 > │ let v0 : string = "" │
00:29:55 verbose #85086 > │ v0 │
00:29:55 verbose #85087 > │ and closure5 (v0 : string, v1 : std_string_String) () : string = │
00:29:55 verbose #85088 > │ let v2 : (unit -> string) = closure6() │
00:29:55 verbose #85089 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:29:55 verbose #85090 > │ v3 │
00:29:55 verbose #85091 > │ and closure9 () (v0 : string) : unit = │
00:29:55 verbose #85092 > │ () │
00:29:55 verbose #85093 > │ and method13 (v0 : int64 option) : int64 option = │
00:29:55 verbose #85094 > │ v0 │
00:29:55 verbose #85095 > │ and method14 (v0 : int64 option) : int64 option = │
00:29:55 verbose #85096 > │ v0 │
00:29:55 verbose #85097 > │ and closure8 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:29:55 verbose #85098 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:29:55 verbose #85099 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:29:55 verbose #85100 > │ let v2 : US3 = US3_0 │
00:29:55 verbose #85101 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:29:55 verbose #85102 > │ let v4 : (string -> unit) = closure9() │
00:29:55 verbose #85103 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:29:55 verbose #85104 > │ let v6 : int64 option option = None │
00:29:55 verbose #85105 > │ let mutable _v6 = v6 │
00:29:55 verbose #85106 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:29:55 verbose #85107 > │ let v7 : string option = None │
00:29:55 verbose #85108 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:29:55 verbose #85109 > │ │
00:29:55 verbose #85110 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85111 > │ │
00:29:55 verbose #85112 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85113 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:55 verbose #85114 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:29:55 verbose #85115 > │ v10 │
00:29:55 verbose #85116 > │ #endif │
00:29:55 verbose #85117 > │ │
00:29:55 verbose #85118 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85119 > │ let v11 : string = null |> unbox<string> │
00:29:55 verbose #85120 > │ v11 │
00:29:55 verbose #85121 > │ #endif │
00:29:55 verbose #85122 > │ │
00:29:55 verbose #85123 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85124 > │ let v12 : string = null |> unbox<string> │
00:29:55 verbose #85125 > │ v12 │
00:29:55 verbose #85126 > │ #endif │
00:29:55 verbose #85127 > │ │
00:29:55 verbose #85128 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85129 > │ let v13 : string = null |> unbox<string> │
00:29:55 verbose #85130 > │ v13 │
00:29:55 verbose #85131 > │ #endif │
00:29:55 verbose #85132 > │ │
00:29:55 verbose #85133 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85134 > │ let v14 : string = null |> unbox<string> │
00:29:55 verbose #85135 > │ v14 │
00:29:55 verbose #85136 > │ #endif │
00:29:55 verbose #85137 > │ │
00:29:55 verbose #85138 > │ #else │
00:29:55 verbose #85139 > │ let v15 : string = │
00:29:55 verbose #85140 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:55 verbose #85141 > │ v15 │
00:29:55 verbose #85142 > │ #endif │
00:29:55 verbose #85143 > │ |> fun x -> _v7 <- Some x │
00:29:55 verbose #85144 > │ let v16 : string = _v7.Value │
00:29:55 verbose #85145 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:29:55 verbose #85146 > │ let v19 : bool = v18 <> true │
00:29:55 verbose #85147 > │ let v25 : US4 = │
00:29:55 verbose #85148 > │ if v19 then │
00:29:55 verbose #85149 > │ let v20 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #85150 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #85151 > │ let v22 : int64 = v21 v20 │
00:29:55 verbose #85152 > │ US4_0(v22) │
00:29:55 verbose #85153 > │ else │
00:29:55 verbose #85154 > │ US4_1 │
00:29:55 verbose #85155 > │ let v30 : int64 option = │
00:29:55 verbose #85156 > │ match v25 with │
00:29:55 verbose #85157 > │ | US4_1 -> (* None *) │
00:29:55 verbose #85158 > │ let v28 : int64 option = None │
00:29:55 verbose #85159 > │ v28 │
00:29:55 verbose #85160 > │ | US4_0(v26) -> (* Some *) │
00:29:55 verbose #85161 > │ let v27 : int64 option = Some v26 │
00:29:55 verbose #85162 > │ v27 │
00:29:55 verbose #85163 > │ let v31 : int64 option = method13(v30) │
00:29:55 verbose #85164 > │ v31 │
00:29:55 verbose #85165 > │ #else │
00:29:55 verbose #85166 > │ let v32 : int64 option = None │
00:29:55 verbose #85167 > │ let v33 : int64 option = method14(v32) │
00:29:55 verbose #85168 > │ v33 │
00:29:55 verbose #85169 > │ #endif │
00:29:55 verbose #85170 > │ |> fun x -> _v6 <- Some x │
00:29:55 verbose #85171 > │ let v34 : int64 option = _v6.Value │
00:29:55 verbose #85172 > │ struct (v1, v0, v3, v34, v5) │
00:29:55 verbose #85173 > │ and closure10 () (v0 : int64) : US5 = │
00:29:55 verbose #85174 > │ US5_0(v0) │
00:29:55 verbose #85175 > │ and method15 () : (int64 -> US5) = │
00:29:55 verbose #85176 > │ closure10() │
00:29:55 verbose #85177 > │ and method16 () : string = │
00:29:55 verbose #85178 > │ let v0 : string = "" │
00:29:55 verbose #85179 > │ v0 │
00:29:55 verbose #85180 > │ and closure7 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:29:55 verbose #85181 > │ string = │
00:29:55 verbose #85182 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:55 verbose #85183 > │ closure8() │
00:29:55 verbose #85184 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:29:55 verbose #85185 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:29:55 verbose #85186 > │ Mut3) = State.trace_state.Value │
00:29:55 verbose #85187 > │ let v9 : string option = None │
00:29:55 verbose #85188 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:29:55 verbose #85189 > │ │
00:29:55 verbose #85190 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85191 > │ │
00:29:55 verbose #85192 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85193 > │ let v11 : (int64 -> US5) = method15() │
00:29:55 verbose #85194 > │ let v12 : US5 = US5_1 │
00:29:55 verbose #85195 > │ let v13 : US5 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:29:55 verbose #85196 > │ let v31 : System.DateTime = │
00:29:55 verbose #85197 > │ match v13 with │
00:29:55 verbose #85198 > │ | US5_1 -> (* None *) │
00:29:55 verbose #85199 > │ let v29 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #85200 > │ v29 │
00:29:55 verbose #85201 > │ | US5_0(v14) -> (* Some *) │
00:29:55 verbose #85202 > │ let v15 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #85203 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #85204 > │ let v17 : int64 = v16 v15 │
00:29:55 verbose #85205 > │ let v18 : int64 = v17 - v14 │
00:29:55 verbose #85206 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:29:55 verbose #85207 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:29:55 verbose #85208 > │ let v21 : int32 = v20 v19 │
00:29:55 verbose #85209 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:29:55 verbose #85210 > │ let v23 : int32 = v22 v19 │
00:29:55 verbose #85211 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:29:55 verbose #85212 > │ let v25 : int32 = v24 v19 │
00:29:55 verbose #85213 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:55 verbose #85214 > │ let v27 : int32 = v26 v19 │
00:29:55 verbose #85215 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:29:55 verbose #85216 > │ v25, v27) │
00:29:55 verbose #85217 > │ v28 │
00:29:55 verbose #85218 > │ let v32 : string = "hh:mm:ss" │
00:29:55 verbose #85219 > │ let v33 : string = v31.ToString v32 │
00:29:55 verbose #85220 > │ v33 │
00:29:55 verbose #85221 > │ #endif │
00:29:55 verbose #85222 > │ │
00:29:55 verbose #85223 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85224 > │ let v34 : string = method16() │
00:29:55 verbose #85225 > │ v34 │
00:29:55 verbose #85226 > │ #endif │
00:29:55 verbose #85227 > │ │
00:29:55 verbose #85228 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85229 > │ let v35 : string = method16() │
00:29:55 verbose #85230 > │ v35 │
00:29:55 verbose #85231 > │ #endif │
00:29:55 verbose #85232 > │ │
00:29:55 verbose #85233 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85234 > │ let v36 : string = method16() │
00:29:55 verbose #85235 > │ v36 │
00:29:55 verbose #85236 > │ #endif │
00:29:55 verbose #85237 > │ │
00:29:55 verbose #85238 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85239 > │ let v37 : string = method16() │
00:29:55 verbose #85240 > │ v37 │
00:29:55 verbose #85241 > │ #endif │
00:29:55 verbose #85242 > │ │
00:29:55 verbose #85243 > │ #else │
00:29:55 verbose #85244 > │ let v38 : (int64 -> US5) = method15() │
00:29:55 verbose #85245 > │ let v39 : US5 = US5_1 │
00:29:55 verbose #85246 > │ let v40 : US5 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:29:55 verbose #85247 > │ let v58 : System.DateTime = │
00:29:55 verbose #85248 > │ match v40 with │
00:29:55 verbose #85249 > │ | US5_1 -> (* None *) │
00:29:55 verbose #85250 > │ let v56 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #85251 > │ v56 │
00:29:55 verbose #85252 > │ | US5_0(v41) -> (* Some *) │
00:29:55 verbose #85253 > │ let v42 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #85254 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #85255 > │ let v44 : int64 = v43 v42 │
00:29:55 verbose #85256 > │ let v45 : int64 = v44 - v41 │
00:29:55 verbose #85257 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:29:55 verbose #85258 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:29:55 verbose #85259 > │ let v48 : int32 = v47 v46 │
00:29:55 verbose #85260 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:29:55 verbose #85261 > │ let v50 : int32 = v49 v46 │
00:29:55 verbose #85262 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:29:55 verbose #85263 > │ let v52 : int32 = v51 v46 │
00:29:55 verbose #85264 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:29:55 verbose #85265 > │ let v54 : int32 = v53 v46 │
00:29:55 verbose #85266 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:29:55 verbose #85267 > │ v52, v54) │
00:29:55 verbose #85268 > │ v55 │
00:29:55 verbose #85269 > │ let v59 : string = "HH:mm:ss" │
00:29:55 verbose #85270 > │ let v60 : string = v58.ToString v59 │
00:29:55 verbose #85271 > │ v60 │
00:29:55 verbose #85272 > │ #endif │
00:29:55 verbose #85273 > │ |> fun x -> _v9 <- Some x │
00:29:55 verbose #85274 > │ let v61 : string = _v9.Value │
00:29:55 verbose #85275 > │ let v62 : int64 = v4.l0 │
00:29:55 verbose #85276 > │ let v72 : string = │
00:29:55 verbose #85277 > │ match v0 with │
00:29:55 verbose #85278 > │ | US3_4 -> (* Critical *) │
00:29:55 verbose #85279 > │ let v67 : string = "Critical" │
00:29:55 verbose #85280 > │ v67 │
00:29:55 verbose #85281 > │ | US3_1 -> (* Debug *) │
00:29:55 verbose #85282 > │ let v64 : string = "Debug" │
00:29:55 verbose #85283 > │ v64 │
00:29:55 verbose #85284 > │ | US3_2 -> (* Info *) │
00:29:55 verbose #85285 > │ let v65 : string = "Info" │
00:29:55 verbose #85286 > │ v65 │
00:29:55 verbose #85287 > │ | US3_0 -> (* Verbose *) │
00:29:55 verbose #85288 > │ let v63 : string = "Verbose" │
00:29:55 verbose #85289 > │ v63 │
00:29:55 verbose #85290 > │ | US3_3 -> (* Warning *) │
00:29:55 verbose #85291 > │ let v66 : string = "Warning" │
00:29:55 verbose #85292 > │ v66 │
00:29:55 verbose #85293 > │ let v73 : string = v72.ToLower () │
00:29:55 verbose #85294 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:29:55 verbose #85295 > │ let v75 : string option = None │
00:29:55 verbose #85296 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:29:55 verbose #85297 > │ │
00:29:55 verbose #85298 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85299 > │ │
00:29:55 verbose #85300 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85301 > │ let v91 : Ref<Str> = │
00:29:55 verbose #85302 > │ match v0 with │
00:29:55 verbose #85303 > │ | US3_4 -> (* Critical *) │
00:29:55 verbose #85304 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:29:55 verbose #85305 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:29:55 verbose #85306 > │ v86 │
00:29:55 verbose #85307 > │ | US3_1 -> (* Debug *) │
00:29:55 verbose #85308 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:29:55 verbose #85309 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:29:55 verbose #85310 > │ v80 │
00:29:55 verbose #85311 > │ | US3_2 -> (* Info *) │
00:29:55 verbose #85312 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:29:55 verbose #85313 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:29:55 verbose #85314 > │ v82 │
00:29:55 verbose #85315 > │ | US3_0 -> (* Verbose *) │
00:29:55 verbose #85316 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:29:55 verbose #85317 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:29:55 verbose #85318 > │ v78 │
00:29:55 verbose #85319 > │ | US3_3 -> (* Warning *) │
00:29:55 verbose #85320 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:29:55 verbose #85321 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:29:55 verbose #85322 > │ v84 │
00:29:55 verbose #85323 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:55 verbose #85324 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:29:55 verbose #85325 > │ let v94 : string = "inline_colorization::color_reset" │
00:29:55 verbose #85326 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:29:55 verbose #85327 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:29:55 verbose #85328 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:29:55 verbose #85329 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:29:55 verbose #85330 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #85331 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:29:55 verbose #85332 > │ v100 │
00:29:55 verbose #85333 > │ #endif │
00:29:55 verbose #85334 > │ │
00:29:55 verbose #85335 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85336 > │ let v115 : Ref<Str> = │
00:29:55 verbose #85337 > │ match v0 with │
00:29:55 verbose #85338 > │ | US3_4 -> (* Critical *) │
00:29:55 verbose #85339 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:29:55 verbose #85340 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85341 > │ v109 │
00:29:55 verbose #85342 > │ v110 │
00:29:55 verbose #85343 > │ | US3_1 -> (* Debug *) │
00:29:55 verbose #85344 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:29:55 verbose #85345 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85346 > │ v103 │
00:29:55 verbose #85347 > │ v104 │
00:29:55 verbose #85348 > │ | US3_2 -> (* Info *) │
00:29:55 verbose #85349 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:29:55 verbose #85350 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85351 > │ v105 │
00:29:55 verbose #85352 > │ v106 │
00:29:55 verbose #85353 > │ | US3_0 -> (* Verbose *) │
00:29:55 verbose #85354 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:29:55 verbose #85355 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85356 > │ v101 │
00:29:55 verbose #85357 > │ v102 │
00:29:55 verbose #85358 > │ | US3_3 -> (* Warning *) │
00:29:55 verbose #85359 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:29:55 verbose #85360 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85361 > │ v107 │
00:29:55 verbose #85362 > │ v108 │
00:29:55 verbose #85363 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:55 verbose #85364 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:29:55 verbose #85365 > │ let v118 : string = "inline_colorization::color_reset" │
00:29:55 verbose #85366 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:29:55 verbose #85367 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:29:55 verbose #85368 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:29:55 verbose #85369 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85370 > │ v121 │
00:29:55 verbose #85371 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #85372 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:29:55 verbose #85373 > │ v124 │
00:29:55 verbose #85374 > │ #endif │
00:29:55 verbose #85375 > │ │
00:29:55 verbose #85376 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85377 > │ let v139 : Ref<Str> = │
00:29:55 verbose #85378 > │ match v0 with │
00:29:55 verbose #85379 > │ | US3_4 -> (* Critical *) │
00:29:55 verbose #85380 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:29:55 verbose #85381 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85382 > │ v133 │
00:29:55 verbose #85383 > │ v134 │
00:29:55 verbose #85384 > │ | US3_1 -> (* Debug *) │
00:29:55 verbose #85385 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:29:55 verbose #85386 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85387 > │ v127 │
00:29:55 verbose #85388 > │ v128 │
00:29:55 verbose #85389 > │ | US3_2 -> (* Info *) │
00:29:55 verbose #85390 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:29:55 verbose #85391 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85392 > │ v129 │
00:29:55 verbose #85393 > │ v130 │
00:29:55 verbose #85394 > │ | US3_0 -> (* Verbose *) │
00:29:55 verbose #85395 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:29:55 verbose #85396 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85397 > │ v125 │
00:29:55 verbose #85398 > │ v126 │
00:29:55 verbose #85399 > │ | US3_3 -> (* Warning *) │
00:29:55 verbose #85400 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:29:55 verbose #85401 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85402 > │ v131 │
00:29:55 verbose #85403 > │ v132 │
00:29:55 verbose #85404 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:55 verbose #85405 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:29:55 verbose #85406 > │ let v142 : string = "inline_colorization::color_reset" │
00:29:55 verbose #85407 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:29:55 verbose #85408 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:29:55 verbose #85409 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:29:55 verbose #85410 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #85411 > │ v145 │
00:29:55 verbose #85412 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #85413 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:29:55 verbose #85414 > │ v148 │
00:29:55 verbose #85415 > │ #endif │
00:29:55 verbose #85416 > │ │
00:29:55 verbose #85417 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85418 > │ v74 │
00:29:55 verbose #85419 > │ #endif │
00:29:55 verbose #85420 > │ │
00:29:55 verbose #85421 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85422 > │ v74 │
00:29:55 verbose #85423 > │ #endif │
00:29:55 verbose #85424 > │ │
00:29:55 verbose #85425 > │ #else │
00:29:55 verbose #85426 > │ v74 │
00:29:55 verbose #85427 > │ #endif │
00:29:55 verbose #85428 > │ |> fun x -> _v75 <- Some x │
00:29:55 verbose #85429 > │ let v149 : string = _v75.Value │
00:29:55 verbose #85430 > │ let v150 : string = v1 () │
00:29:55 verbose #85431 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:29:55 verbose #85432 > │ let v152 : (char []) = [||] │
00:29:55 verbose #85433 > │ let v153 : string = v151.TrimStart v152 │
00:29:55 verbose #85434 > │ let v154 : (char []) = [|' '; '/'|] │
00:29:55 verbose #85435 > │ let v155 : string = v153.TrimEnd v154 │
00:29:55 verbose #85436 > │ v155 │
00:29:55 verbose #85437 > │ and method17 (v0 : US3, v1 : (unit -> string)) : unit = │
00:29:55 verbose #85438 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:29:55 verbose #85439 > │ closure8() │
00:29:55 verbose #85440 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:55 verbose #85441 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:29:55 verbose #85442 > │ Mut3) = State.trace_state.Value │
00:29:55 verbose #85443 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:29:55 verbose #85444 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:29:55 verbose #85445 > │ Mut3) = State.trace_state.Value │
00:29:55 verbose #85446 > │ let v13 : US3 = v10.l0 │
00:29:55 verbose #85447 > │ let v14 : bool = v9.l0 │
00:29:55 verbose #85448 > │ let v15 : bool = v14 = false │
00:29:55 verbose #85449 > │ let v19 : bool = │
00:29:55 verbose #85450 > │ if v15 then │
00:29:55 verbose #85451 > │ false │
00:29:55 verbose #85452 > │ else │
00:29:55 verbose #85453 > │ let v16 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:55 verbose #85454 > │ US3_4, 4 ] |> Map |> Map.find v0 │
00:29:55 verbose #85455 > │ let v17 : int32 = [ US3_0, 0; US3_1, 1; US3_2, 2; US3_3, 3; │
00:29:55 verbose #85456 > │ US3_4, 4 ] |> Map |> Map.find v13 │
00:29:55 verbose #85457 > │ let v18 : bool = v16 >= v17 │
00:29:55 verbose #85458 > │ v18 │
00:29:55 verbose #85459 > │ if v19 then │
00:29:55 verbose #85460 > │ let v20 : int64 = v3.l0 │
00:29:55 verbose #85461 > │ let v21 : int64 = v20 + 1L │
00:29:55 verbose #85462 > │ v3.l0 <- v21 │
00:29:55 verbose #85463 > │ let v22 : string = $"%s{v1 ()}" │
00:29:55 verbose #85464 > │ let v23 : unit option = None │
00:29:55 verbose #85465 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:29:55 verbose #85466 > │ │
00:29:55 verbose #85467 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85468 > │ │
00:29:55 verbose #85469 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85470 > │ let v25 : string = @"println!(""{}"", $0)" │
00:29:55 verbose #85471 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:29:55 verbose #85472 > │ () │
00:29:55 verbose #85473 > │ #endif │
00:29:55 verbose #85474 > │ │
00:29:55 verbose #85475 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85476 > │ let v26 : string = @"println!(""{}"", $0)" │
00:29:55 verbose #85477 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:29:55 verbose #85478 > │ () │
00:29:55 verbose #85479 > │ #endif │
00:29:55 verbose #85480 > │ │
00:29:55 verbose #85481 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85482 > │ let v27 : string = @"println!(""{}"", $0)" │
00:29:55 verbose #85483 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:29:55 verbose #85484 > │ () │
00:29:55 verbose #85485 > │ #endif │
00:29:55 verbose #85486 > │ │
00:29:55 verbose #85487 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85488 > │ System.Console.WriteLine v22 │
00:29:55 verbose #85489 > │ () │
00:29:55 verbose #85490 > │ #endif │
00:29:55 verbose #85491 > │ │
00:29:55 verbose #85492 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85493 > │ System.Console.WriteLine v22 │
00:29:55 verbose #85494 > │ () │
00:29:55 verbose #85495 > │ #endif │
00:29:55 verbose #85496 > │ │
00:29:55 verbose #85497 > │ #else │
00:29:55 verbose #85498 > │ System.Console.WriteLine v22 │
00:29:55 verbose #85499 > │ () │
00:29:55 verbose #85500 > │ #endif │
00:29:55 verbose #85501 > │ |> fun x -> _v23 <- Some x │
00:29:55 verbose #85502 > │ _v23.Value │
00:29:55 verbose #85503 > │ let v28 : (string -> unit) = v7.l0 │
00:29:55 verbose #85504 > │ v28 v22 │
00:29:55 verbose #85505 > │ and method12 (v0 : US3, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:29:55 verbose #85506 > │ = │
00:29:55 verbose #85507 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:29:55 verbose #85508 > │ method17(v0, v3) │
00:29:55 verbose #85509 > │ and closure11 () () : string = │
00:29:55 verbose #85510 > │ let v0 : string = "file_system.create_directory" │
00:29:55 verbose #85511 > │ v0 │
00:29:55 verbose #85512 > │ and closure12 (v0 : string) () : string = │
00:29:55 verbose #85513 > │ let v1 : (unit -> string) = closure6() │
00:29:55 verbose #85514 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:29:55 verbose #85515 > │ v2 │
00:29:55 verbose #85516 > │ and method18 (v0 : string) : string = │
00:29:55 verbose #85517 > │ v0 │
00:29:55 verbose #85518 > │ and closure13 (v0 : string) () : unit = │
00:29:55 verbose #85519 > │ let v1 : unit option = None │
00:29:55 verbose #85520 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:55 verbose #85521 > │ │
00:29:55 verbose #85522 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85523 > │ │
00:29:55 verbose #85524 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85525 > │ let v3 : string = method18(v0) │
00:29:55 verbose #85526 > │ let v4 : bool option = None │
00:29:55 verbose #85527 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:29:55 verbose #85528 > │ │
00:29:55 verbose #85529 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85530 > │ │
00:29:55 verbose #85531 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85532 > │ let v6 : string = method2(v3) │
00:29:55 verbose #85533 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:55 verbose #85534 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:29:55 verbose #85535 > │ let v9 : string = "String::from($0)" │
00:29:55 verbose #85536 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:29:55 verbose #85537 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:29:55 verbose #85538 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:29:55 verbose #85539 > │ let v13 : string = "$0.exists()" │
00:29:55 verbose #85540 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:29:55 verbose #85541 > │ let v17 : bool = │
00:29:55 verbose #85542 > │ if v14 then │
00:29:55 verbose #85543 > │ let v15 : string = "$0.is_dir()" │
00:29:55 verbose #85544 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:29:55 verbose #85545 > │ v16 │
00:29:55 verbose #85546 > │ else │
00:29:55 verbose #85547 > │ false │
00:29:55 verbose #85548 > │ v17 │
00:29:55 verbose #85549 > │ #endif │
00:29:55 verbose #85550 > │ │
00:29:55 verbose #85551 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85552 > │ let v18 : bool = null |> unbox<bool> │
00:29:55 verbose #85553 > │ v18 │
00:29:55 verbose #85554 > │ #endif │
00:29:55 verbose #85555 > │ │
00:29:55 verbose #85556 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85557 > │ let v19 : bool = null |> unbox<bool> │
00:29:55 verbose #85558 > │ v19 │
00:29:55 verbose #85559 > │ #endif │
00:29:55 verbose #85560 > │ │
00:29:55 verbose #85561 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85562 > │ let v20 : string = "fs" │
00:29:55 verbose #85563 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:29:55 verbose #85564 > │ let v22 : string = "v21.existsSync($0)" │
00:29:55 verbose #85565 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:29:55 verbose #85566 > │ v23 │
00:29:55 verbose #85567 > │ #endif │
00:29:55 verbose #85568 > │ │
00:29:55 verbose #85569 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85570 > │ let v24 : bool = null |> unbox<bool> │
00:29:55 verbose #85571 > │ v24 │
00:29:55 verbose #85572 > │ #endif │
00:29:55 verbose #85573 > │ │
00:29:55 verbose #85574 > │ #else │
00:29:55 verbose #85575 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:29:55 verbose #85576 > │ let v26 : bool = v25 v3 │
00:29:55 verbose #85577 > │ v26 │
00:29:55 verbose #85578 > │ #endif │
00:29:55 verbose #85579 > │ |> fun x -> _v4 <- Some x │
00:29:55 verbose #85580 > │ let v27 : bool = _v4.Value │
00:29:55 verbose #85581 > │ if v27 then │
00:29:55 verbose #85582 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:55 verbose #85583 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:29:55 verbose #85584 > │ () │
00:29:55 verbose #85585 > │ () │
00:29:55 verbose #85586 > │ #endif │
00:29:55 verbose #85587 > │ │
00:29:55 verbose #85588 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85589 > │ null |> unbox<unit> │
00:29:55 verbose #85590 > │ () │
00:29:55 verbose #85591 > │ #endif │
00:29:55 verbose #85592 > │ │
00:29:55 verbose #85593 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85594 > │ null |> unbox<unit> │
00:29:55 verbose #85595 > │ () │
00:29:55 verbose #85596 > │ #endif │
00:29:55 verbose #85597 > │ │
00:29:55 verbose #85598 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85599 > │ null |> unbox<unit> │
00:29:55 verbose #85600 > │ () │
00:29:55 verbose #85601 > │ #endif │
00:29:55 verbose #85602 > │ │
00:29:55 verbose #85603 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85604 > │ null |> unbox<unit> │
00:29:55 verbose #85605 > │ () │
00:29:55 verbose #85606 > │ #endif │
00:29:55 verbose #85607 > │ │
00:29:55 verbose #85608 > │ #else │
00:29:55 verbose #85609 > │ System.IO.Directory.Delete (v0, true) │
00:29:55 verbose #85610 > │ () │
00:29:55 verbose #85611 > │ #endif │
00:29:55 verbose #85612 > │ |> fun x -> _v1 <- Some x │
00:29:55 verbose #85613 > │ _v1.Value │
00:29:55 verbose #85614 > │ () │
00:29:55 verbose #85615 > │ and method19 (v0 : string) : (unit -> unit) = │
00:29:55 verbose #85616 > │ closure13(v0) │
00:29:55 verbose #85617 > │ and closure14 () () : string = │
00:29:55 verbose #85618 > │ let v0 : string = "file_system.create_directory" │
00:29:55 verbose #85619 > │ v0 │
00:29:55 verbose #85620 > │ and closure15 (v0 : string, v1 : string) () : string = │
00:29:55 verbose #85621 > │ let v2 : (unit -> string) = closure6() │
00:29:55 verbose #85622 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:29:55 verbose #85623 > │ v3 │
00:29:55 verbose #85624 > │ and closure17 () () : string = │
00:29:55 verbose #85625 > │ let v0 : string = "file_system.delete_directory_async" │
00:29:55 verbose #85626 > │ v0 │
00:29:55 verbose #85627 > │ and closure19 () (v0 : string) : string = │
00:29:55 verbose #85628 > │ let v1 : string option = None │
00:29:55 verbose #85629 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:55 verbose #85630 > │ │
00:29:55 verbose #85631 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85632 > │ │
00:29:55 verbose #85633 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85634 > │ let v3 : string = method2(v0) │
00:29:55 verbose #85635 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:55 verbose #85636 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:29:55 verbose #85637 > │ let v6 : string = "String::from($0)" │
00:29:55 verbose #85638 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:29:55 verbose #85639 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:29:55 verbose #85640 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:29:55 verbose #85641 > │ let v10 : string = "$0.file_name()" │
00:29:55 verbose #85642 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:29:55 verbose #85643 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:29:55 verbose #85644 > │ let v12 : string = "$0.unwrap()" │
00:29:55 verbose #85645 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:29:55 verbose #85646 > │ v12 │
00:29:55 verbose #85647 > │ let v14 : string = "$0.to_os_string()" │
00:29:55 verbose #85648 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:29:55 verbose #85649 > │ let v16 : string = "$0.to_str()" │
00:29:55 verbose #85650 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:55 verbose #85651 > │ let v18 : string = "$0.unwrap()" │
00:29:55 verbose #85652 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:29:55 verbose #85653 > │ let v20 : string = "String::from($0)" │
00:29:55 verbose #85654 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:29:55 verbose #85655 > │ v20 │
00:29:55 verbose #85656 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #85657 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:55 verbose #85658 > │ v23 │
00:29:55 verbose #85659 > │ #endif │
00:29:55 verbose #85660 > │ │
00:29:55 verbose #85661 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85662 > │ let v24 : string = null |> unbox<string> │
00:29:55 verbose #85663 > │ v24 │
00:29:55 verbose #85664 > │ #endif │
00:29:55 verbose #85665 > │ │
00:29:55 verbose #85666 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85667 > │ let v25 : string = null |> unbox<string> │
00:29:55 verbose #85668 > │ v25 │
00:29:55 verbose #85669 > │ #endif │
00:29:55 verbose #85670 > │ │
00:29:55 verbose #85671 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85672 > │ let v26 : string = null |> unbox<string> │
00:29:55 verbose #85673 > │ v26 │
00:29:55 verbose #85674 > │ #endif │
00:29:55 verbose #85675 > │ │
00:29:55 verbose #85676 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85677 > │ let v27 : string = null |> unbox<string> │
00:29:55 verbose #85678 > │ v27 │
00:29:55 verbose #85679 > │ #endif │
00:29:55 verbose #85680 > │ │
00:29:55 verbose #85681 > │ #else │
00:29:55 verbose #85682 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:29:55 verbose #85683 > │ let v29 : string = v28 v0 │
00:29:55 verbose #85684 > │ v29 │
00:29:55 verbose #85685 > │ #endif │
00:29:55 verbose #85686 > │ |> fun x -> _v1 <- Some x │
00:29:55 verbose #85687 > │ let v30 : string = _v1.Value │
00:29:55 verbose #85688 > │ v30 │
00:29:55 verbose #85689 > │ and closure18 (v0 : string, v1 : string) () : string = │
00:29:55 verbose #85690 > │ let v2 : (string -> string) = closure19() │
00:29:55 verbose #85691 > │ let v3 : (unit -> string) = closure6() │
00:29:55 verbose #85692 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:29:55 verbose #85693 > │ v4 │
00:29:55 verbose #85694 > │ and method20 (v0 : string, v1 : int64) : Async<int64> = │
00:29:55 verbose #85695 > │ let v2 : Async<int64> option = None │
00:29:55 verbose #85696 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:55 verbose #85697 > │ │
00:29:55 verbose #85698 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85699 > │ │
00:29:55 verbose #85700 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85701 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85702 > │ v4 │
00:29:55 verbose #85703 > │ #endif │
00:29:55 verbose #85704 > │ │
00:29:55 verbose #85705 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85706 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85707 > │ v5 │
00:29:55 verbose #85708 > │ #endif │
00:29:55 verbose #85709 > │ │
00:29:55 verbose #85710 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85711 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85712 > │ v6 │
00:29:55 verbose #85713 > │ #endif │
00:29:55 verbose #85714 > │ │
00:29:55 verbose #85715 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85716 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85717 > │ v7 │
00:29:55 verbose #85718 > │ #endif │
00:29:55 verbose #85719 > │ │
00:29:55 verbose #85720 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85721 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85722 > │ v8 │
00:29:55 verbose #85723 > │ #endif │
00:29:55 verbose #85724 > │ │
00:29:55 verbose #85725 > │ #else │
00:29:55 verbose #85726 > │ let v9 : Async<int64> option = None │
00:29:55 verbose #85727 > │ let mutable _v9 = v9 │
00:29:55 verbose #85728 > │ async { │
00:29:55 verbose #85729 > │ try │
00:29:55 verbose #85730 > │ let v10 : unit option = None │
00:29:55 verbose #85731 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:55 verbose #85732 > │ │
00:29:55 verbose #85733 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85734 > │ │
00:29:55 verbose #85735 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85736 > │ let v12 : string = method18(v0) │
00:29:55 verbose #85737 > │ let v13 : bool option = None │
00:29:55 verbose #85738 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:29:55 verbose #85739 > │ │
00:29:55 verbose #85740 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85741 > │ │
00:29:55 verbose #85742 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85743 > │ let v15 : string = method2(v12) │
00:29:55 verbose #85744 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:29:55 verbose #85745 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:55 verbose #85746 > │ let v18 : string = "String::from($0)" │
00:29:55 verbose #85747 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:55 verbose #85748 > │ v18 │
00:29:55 verbose #85749 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:29:55 verbose #85750 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:29:55 verbose #85751 > │ let v22 : string = "$0.exists()" │
00:29:55 verbose #85752 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:29:55 verbose #85753 > │ let v26 : bool = │
00:29:55 verbose #85754 > │ if v23 then │
00:29:55 verbose #85755 > │ let v24 : string = "$0.is_dir()" │
00:29:55 verbose #85756 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:29:55 verbose #85757 > │ v25 │
00:29:55 verbose #85758 > │ else │
00:29:55 verbose #85759 > │ false │
00:29:55 verbose #85760 > │ v26 │
00:29:55 verbose #85761 > │ #endif │
00:29:55 verbose #85762 > │ │
00:29:55 verbose #85763 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85764 > │ let v27 : bool = null |> unbox<bool> │
00:29:55 verbose #85765 > │ v27 │
00:29:55 verbose #85766 > │ #endif │
00:29:55 verbose #85767 > │ │
00:29:55 verbose #85768 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85769 > │ let v28 : bool = null |> unbox<bool> │
00:29:55 verbose #85770 > │ v28 │
00:29:55 verbose #85771 > │ #endif │
00:29:55 verbose #85772 > │ │
00:29:55 verbose #85773 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85774 > │ let v29 : string = "fs" │
00:29:55 verbose #85775 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:29:55 verbose #85776 > │ let v31 : string = "v30.existsSync($0)" │
00:29:55 verbose #85777 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:29:55 verbose #85778 > │ v32 │
00:29:55 verbose #85779 > │ #endif │
00:29:55 verbose #85780 > │ │
00:29:55 verbose #85781 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85782 > │ let v33 : bool = null |> unbox<bool> │
00:29:55 verbose #85783 > │ v33 │
00:29:55 verbose #85784 > │ #endif │
00:29:55 verbose #85785 > │ │
00:29:55 verbose #85786 > │ #else │
00:29:55 verbose #85787 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:29:55 verbose #85788 > │ let v35 : bool = v34 v12 │
00:29:55 verbose #85789 > │ v35 │
00:29:55 verbose #85790 > │ #endif │
00:29:55 verbose #85791 > │ |> fun x -> _v13 <- Some x │
00:29:55 verbose #85792 > │ let v36 : bool = _v13.Value │
00:29:55 verbose #85793 > │ if v36 then │
00:29:55 verbose #85794 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:29:55 verbose #85795 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:29:55 verbose #85796 > │ () │
00:29:55 verbose #85797 > │ () │
00:29:55 verbose #85798 > │ #endif │
00:29:55 verbose #85799 > │ │
00:29:55 verbose #85800 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85801 > │ null |> unbox<unit> │
00:29:55 verbose #85802 > │ () │
00:29:55 verbose #85803 > │ #endif │
00:29:55 verbose #85804 > │ │
00:29:55 verbose #85805 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85806 > │ null |> unbox<unit> │
00:29:55 verbose #85807 > │ () │
00:29:55 verbose #85808 > │ #endif │
00:29:55 verbose #85809 > │ │
00:29:55 verbose #85810 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85811 > │ null |> unbox<unit> │
00:29:55 verbose #85812 > │ () │
00:29:55 verbose #85813 > │ #endif │
00:29:55 verbose #85814 > │ │
00:29:55 verbose #85815 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85816 > │ null |> unbox<unit> │
00:29:55 verbose #85817 > │ () │
00:29:55 verbose #85818 > │ #endif │
00:29:55 verbose #85819 > │ │
00:29:55 verbose #85820 > │ #else │
00:29:55 verbose #85821 > │ System.IO.Directory.Delete (v0, true) │
00:29:55 verbose #85822 > │ () │
00:29:55 verbose #85823 > │ #endif │
00:29:55 verbose #85824 > │ |> fun x -> _v10 <- Some x │
00:29:55 verbose #85825 > │ _v10.Value │
00:29:55 verbose #85826 > │ return v1 │
00:29:55 verbose #85827 > │ with ex -> │
00:29:55 verbose #85828 > │ let v38 : exn = ex │
00:29:55 verbose #85829 > │ let v39 : int64 = v1 % 100L │
00:29:55 verbose #85830 > │ let v40 : bool = v39 = 0L │
00:29:55 verbose #85831 > │ if v40 then │
00:29:55 verbose #85832 > │ let v41 : string option = None │
00:29:55 verbose #85833 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:29:55 verbose #85834 > │ │
00:29:55 verbose #85835 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85836 > │ │
00:29:55 verbose #85837 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85838 > │ let v43 : string = $"%A{v38}" │
00:29:55 verbose #85839 > │ v43 │
00:29:55 verbose #85840 > │ #endif │
00:29:55 verbose #85841 > │ │
00:29:55 verbose #85842 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85843 > │ let v44 : string = $"%A{v38}" │
00:29:55 verbose #85844 > │ v44 │
00:29:55 verbose #85845 > │ #endif │
00:29:55 verbose #85846 > │ │
00:29:55 verbose #85847 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85848 > │ let v45 : string = $"%A{v38}" │
00:29:55 verbose #85849 > │ v45 │
00:29:55 verbose #85850 > │ #endif │
00:29:55 verbose #85851 > │ │
00:29:55 verbose #85852 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85853 > │ let v46 : string = $"%A{v38}" │
00:29:55 verbose #85854 > │ v46 │
00:29:55 verbose #85855 > │ #endif │
00:29:55 verbose #85856 > │ │
00:29:55 verbose #85857 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85858 > │ let v47 : string = $"%A{v38}" │
00:29:55 verbose #85859 > │ v47 │
00:29:55 verbose #85860 > │ #endif │
00:29:55 verbose #85861 > │ │
00:29:55 verbose #85862 > │ #else │
00:29:55 verbose #85863 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:29:55 verbose #85864 > │ v48 │
00:29:55 verbose #85865 > │ #endif │
00:29:55 verbose #85866 > │ |> fun x -> _v41 <- Some x │
00:29:55 verbose #85867 > │ let v49 : string = _v41.Value │
00:29:55 verbose #85868 > │ let v50 : US3 = US3_1 │
00:29:55 verbose #85869 > │ let v51 : (unit -> string) = closure17() │
00:29:55 verbose #85870 > │ let v52 : (unit -> string) = closure18(v0, v49) │
00:29:55 verbose #85871 > │ method12(v50, v51, v52) │
00:29:55 verbose #85872 > │ let v53 : Async<unit> option = None │
00:29:55 verbose #85873 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:29:55 verbose #85874 > │ │
00:29:55 verbose #85875 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85876 > │ │
00:29:55 verbose #85877 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85878 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85879 > │ v55 │
00:29:55 verbose #85880 > │ #endif │
00:29:55 verbose #85881 > │ │
00:29:55 verbose #85882 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85883 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85884 > │ v56 │
00:29:55 verbose #85885 > │ #endif │
00:29:55 verbose #85886 > │ │
00:29:55 verbose #85887 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85888 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85889 > │ v57 │
00:29:55 verbose #85890 > │ #endif │
00:29:55 verbose #85891 > │ │
00:29:55 verbose #85892 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85893 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85894 > │ v58 │
00:29:55 verbose #85895 > │ #endif │
00:29:55 verbose #85896 > │ │
00:29:55 verbose #85897 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85898 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85899 > │ v59 │
00:29:55 verbose #85900 > │ #endif │
00:29:55 verbose #85901 > │ │
00:29:55 verbose #85902 > │ #else │
00:29:55 verbose #85903 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:29:55 verbose #85904 > │ let v61 : Async<unit> = v60 10 │
00:29:55 verbose #85905 > │ v61 │
00:29:55 verbose #85906 > │ #endif │
00:29:55 verbose #85907 > │ |> fun x -> _v53 <- Some x │
00:29:55 verbose #85908 > │ let v62 : Async<unit> = _v53.Value │
00:29:55 verbose #85909 > │ do! v62 │
00:29:55 verbose #85910 > │ let v63 : int64 = v1 + 1L │
00:29:55 verbose #85911 > │ let v64 : Async<int64> = method20(v0, v63) │
00:29:55 verbose #85912 > │ return! v64 │
00:29:55 verbose #85913 > │ (* │
00:29:55 verbose #85914 > │ let v65 : int64 = *) │
00:29:55 verbose #85915 > │ } │
00:29:55 verbose #85916 > │ |> fun x -> _v9 <- Some x │
00:29:55 verbose #85917 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:29:55 verbose #85918 > │ v66 │
00:29:55 verbose #85919 > │ #endif │
00:29:55 verbose #85920 > │ |> fun x -> _v2 <- Some x │
00:29:55 verbose #85921 > │ let v67 : Async<int64> = _v2.Value │
00:29:55 verbose #85922 > │ v67 │
00:29:55 verbose #85923 > │ and closure16 (v0 : string) () : unit = │
00:29:55 verbose #85924 > │ let v1 : Async<int64> option = None │
00:29:55 verbose #85925 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:29:55 verbose #85926 > │ │
00:29:55 verbose #85927 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85928 > │ │
00:29:55 verbose #85929 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85930 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85931 > │ v3 │
00:29:55 verbose #85932 > │ #endif │
00:29:55 verbose #85933 > │ │
00:29:55 verbose #85934 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85935 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85936 > │ v4 │
00:29:55 verbose #85937 > │ #endif │
00:29:55 verbose #85938 > │ │
00:29:55 verbose #85939 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85940 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85941 > │ v5 │
00:29:55 verbose #85942 > │ #endif │
00:29:55 verbose #85943 > │ │
00:29:55 verbose #85944 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85945 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85946 > │ v6 │
00:29:55 verbose #85947 > │ #endif │
00:29:55 verbose #85948 > │ │
00:29:55 verbose #85949 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85950 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #85951 > │ v7 │
00:29:55 verbose #85952 > │ #endif │
00:29:55 verbose #85953 > │ │
00:29:55 verbose #85954 > │ #else │
00:29:55 verbose #85955 > │ let v8 : int64 = 0L │
00:29:55 verbose #85956 > │ let v9 : Async<int64> = method20(v0, v8) │
00:29:55 verbose #85957 > │ v9 │
00:29:55 verbose #85958 > │ #endif │
00:29:55 verbose #85959 > │ |> fun x -> _v1 <- Some x │
00:29:55 verbose #85960 > │ let v10 : Async<int64> = _v1.Value │
00:29:55 verbose #85961 > │ let v11 : Async<unit> option = None │
00:29:55 verbose #85962 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:29:55 verbose #85963 > │ │
00:29:55 verbose #85964 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #85965 > │ │
00:29:55 verbose #85966 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #85967 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85968 > │ v13 │
00:29:55 verbose #85969 > │ #endif │
00:29:55 verbose #85970 > │ │
00:29:55 verbose #85971 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #85972 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85973 > │ v14 │
00:29:55 verbose #85974 > │ #endif │
00:29:55 verbose #85975 > │ │
00:29:55 verbose #85976 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #85977 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85978 > │ v15 │
00:29:55 verbose #85979 > │ #endif │
00:29:55 verbose #85980 > │ │
00:29:55 verbose #85981 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #85982 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85983 > │ v16 │
00:29:55 verbose #85984 > │ #endif │
00:29:55 verbose #85985 > │ │
00:29:55 verbose #85986 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #85987 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #85988 > │ v17 │
00:29:55 verbose #85989 > │ #endif │
00:29:55 verbose #85990 > │ │
00:29:55 verbose #85991 > │ #else │
00:29:55 verbose #85992 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:29:55 verbose #85993 > │ let v19 : Async<unit> = v18 v10 │
00:29:55 verbose #85994 > │ v19 │
00:29:55 verbose #85995 > │ #endif │
00:29:55 verbose #85996 > │ |> fun x -> _v11 <- Some x │
00:29:55 verbose #85997 > │ let v20 : Async<unit> = _v11.Value │
00:29:55 verbose #85998 > │ let v21 : unit option = None │
00:29:55 verbose #85999 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:29:55 verbose #86000 > │ │
00:29:55 verbose #86001 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86002 > │ │
00:29:55 verbose #86003 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86004 > │ null |> unbox<unit> │
00:29:55 verbose #86005 > │ () │
00:29:55 verbose #86006 > │ #endif │
00:29:55 verbose #86007 > │ │
00:29:55 verbose #86008 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86009 > │ null |> unbox<unit> │
00:29:55 verbose #86010 > │ () │
00:29:55 verbose #86011 > │ #endif │
00:29:55 verbose #86012 > │ │
00:29:55 verbose #86013 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86014 > │ null |> unbox<unit> │
00:29:55 verbose #86015 > │ () │
00:29:55 verbose #86016 > │ #endif │
00:29:55 verbose #86017 > │ │
00:29:55 verbose #86018 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86019 > │ null |> unbox<unit> │
00:29:55 verbose #86020 > │ () │
00:29:55 verbose #86021 > │ #endif │
00:29:55 verbose #86022 > │ │
00:29:55 verbose #86023 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86024 > │ null |> unbox<unit> │
00:29:55 verbose #86025 > │ () │
00:29:55 verbose #86026 > │ #endif │
00:29:55 verbose #86027 > │ │
00:29:55 verbose #86028 > │ #else │
00:29:55 verbose #86029 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:29:55 verbose #86030 > │ v23 v20 │
00:29:55 verbose #86031 > │ () │
00:29:55 verbose #86032 > │ #endif │
00:29:55 verbose #86033 > │ |> fun x -> _v21 <- Some x │
00:29:55 verbose #86034 > │ _v21.Value │
00:29:55 verbose #86035 > │ () │
00:29:55 verbose #86036 > │ and method21 (v0 : string) : (unit -> unit) = │
00:29:55 verbose #86037 > │ closure16(v0) │
00:29:55 verbose #86038 > │ and closure20 () () : string = │
00:29:55 verbose #86039 > │ let v0 : string = "1" │
00:29:55 verbose #86040 > │ v0 │
00:29:55 verbose #86041 > │ and closure21 () () : string = │
00:29:55 verbose #86042 > │ let v0 : string = "2" │
00:29:55 verbose #86043 > │ v0 │
00:29:55 verbose #86044 > │ and closure22 () () : string = │
00:29:55 verbose #86045 > │ let v0 : string = "_1" │
00:29:55 verbose #86046 > │ v0 │
00:29:55 verbose #86047 > │ and closure23 () () : string = │
00:29:55 verbose #86048 > │ let v0 : string = "_2" │
00:29:55 verbose #86049 > │ v0 │
00:29:55 verbose #86050 > │ and closure24 () () : string = │
00:29:55 verbose #86051 > │ let v0 : string = "_3" │
00:29:55 verbose #86052 > │ v0 │
00:29:55 verbose #86053 > │ and closure25 () () : string = │
00:29:55 verbose #86054 > │ let v0 : string = "3" │
00:29:55 verbose #86055 > │ v0 │
00:29:55 verbose #86056 > │ and closure26 () () : string = │
00:29:55 verbose #86057 > │ let v0 : string = "4" │
00:29:55 verbose #86058 > │ v0 │
00:29:55 verbose #86059 > │ and closure27 () () : string = │
00:29:55 verbose #86060 > │ let v0 : string = "move_file_async" │
00:29:55 verbose #86061 > │ v0 │
00:29:55 verbose #86062 > │ and closure28 (v0 : string, v1 : string, v2 : exn) () : string = │
00:29:55 verbose #86063 > │ let v3 : string option = None │
00:29:55 verbose #86064 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:29:55 verbose #86065 > │ │
00:29:55 verbose #86066 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86067 > │ │
00:29:55 verbose #86068 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86069 > │ let v5 : string = $"%A{v2}" │
00:29:55 verbose #86070 > │ v5 │
00:29:55 verbose #86071 > │ #endif │
00:29:55 verbose #86072 > │ │
00:29:55 verbose #86073 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86074 > │ let v6 : string = $"%A{v2}" │
00:29:55 verbose #86075 > │ v6 │
00:29:55 verbose #86076 > │ #endif │
00:29:55 verbose #86077 > │ │
00:29:55 verbose #86078 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86079 > │ let v7 : string = $"%A{v2}" │
00:29:55 verbose #86080 > │ v7 │
00:29:55 verbose #86081 > │ #endif │
00:29:55 verbose #86082 > │ │
00:29:55 verbose #86083 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86084 > │ let v8 : string = $"%A{v2}" │
00:29:55 verbose #86085 > │ v8 │
00:29:55 verbose #86086 > │ #endif │
00:29:55 verbose #86087 > │ │
00:29:55 verbose #86088 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86089 > │ let v9 : string = $"%A{v2}" │
00:29:55 verbose #86090 > │ v9 │
00:29:55 verbose #86091 > │ #endif │
00:29:55 verbose #86092 > │ │
00:29:55 verbose #86093 > │ #else │
00:29:55 verbose #86094 > │ let v10 : string = $"{v2.GetType ()}: {v2.Message}" │
00:29:55 verbose #86095 > │ v10 │
00:29:55 verbose #86096 > │ #endif │
00:29:55 verbose #86097 > │ |> fun x -> _v3 <- Some x │
00:29:55 verbose #86098 > │ let v11 : string = _v3.Value │
00:29:55 verbose #86099 > │ let v12 : (string -> string) = closure19() │
00:29:55 verbose #86100 > │ let v13 : (unit -> string) = closure6() │
00:29:55 verbose #86101 > │ let v14 : string = $"old_path: {v1 |> v12} / new_path: {v0 |> v12} / ex: │
00:29:55 verbose #86102 > │ {v11} / {v13 ()}" │
00:29:55 verbose #86103 > │ v14 │
00:29:55 verbose #86104 > │ and method22 (v0 : string, v1 : string, v2 : int64) : Async<int64> = │
00:29:55 verbose #86105 > │ let v3 : Async<int64> option = None │
00:29:55 verbose #86106 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:29:55 verbose #86107 > │ │
00:29:55 verbose #86108 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86109 > │ │
00:29:55 verbose #86110 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86111 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86112 > │ v5 │
00:29:55 verbose #86113 > │ #endif │
00:29:55 verbose #86114 > │ │
00:29:55 verbose #86115 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86116 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86117 > │ v6 │
00:29:55 verbose #86118 > │ #endif │
00:29:55 verbose #86119 > │ │
00:29:55 verbose #86120 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86121 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86122 > │ v7 │
00:29:55 verbose #86123 > │ #endif │
00:29:55 verbose #86124 > │ │
00:29:55 verbose #86125 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86126 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86127 > │ v8 │
00:29:55 verbose #86128 > │ #endif │
00:29:55 verbose #86129 > │ │
00:29:55 verbose #86130 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86131 > │ let v9 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86132 > │ v9 │
00:29:55 verbose #86133 > │ #endif │
00:29:55 verbose #86134 > │ │
00:29:55 verbose #86135 > │ #else │
00:29:55 verbose #86136 > │ let v10 : Async<int64> option = None │
00:29:55 verbose #86137 > │ let mutable _v10 = v10 │
00:29:55 verbose #86138 > │ async { │
00:29:55 verbose #86139 > │ try │
00:29:55 verbose #86140 > │ let v11 : unit option = None │
00:29:55 verbose #86141 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:29:55 verbose #86142 > │ │
00:29:55 verbose #86143 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86144 > │ │
00:29:55 verbose #86145 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86146 > │ null |> unbox<unit> │
00:29:55 verbose #86147 > │ () │
00:29:55 verbose #86148 > │ #endif │
00:29:55 verbose #86149 > │ │
00:29:55 verbose #86150 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86151 > │ null |> unbox<unit> │
00:29:55 verbose #86152 > │ () │
00:29:55 verbose #86153 > │ #endif │
00:29:55 verbose #86154 > │ │
00:29:55 verbose #86155 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86156 > │ null |> unbox<unit> │
00:29:55 verbose #86157 > │ () │
00:29:55 verbose #86158 > │ #endif │
00:29:55 verbose #86159 > │ │
00:29:55 verbose #86160 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86161 > │ null |> unbox<unit> │
00:29:55 verbose #86162 > │ () │
00:29:55 verbose #86163 > │ #endif │
00:29:55 verbose #86164 > │ │
00:29:55 verbose #86165 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86166 > │ null |> unbox<unit> │
00:29:55 verbose #86167 > │ () │
00:29:55 verbose #86168 > │ #endif │
00:29:55 verbose #86169 > │ │
00:29:55 verbose #86170 > │ #else │
00:29:55 verbose #86171 > │ System.IO.File.Move (v1, v0) │
00:29:55 verbose #86172 > │ () │
00:29:55 verbose #86173 > │ #endif │
00:29:55 verbose #86174 > │ |> fun x -> _v11 <- Some x │
00:29:55 verbose #86175 > │ _v11.Value │
00:29:55 verbose #86176 > │ return v2 │
00:29:55 verbose #86177 > │ with ex -> │
00:29:55 verbose #86178 > │ let v13 : exn = ex │
00:29:55 verbose #86179 > │ let v14 : int64 = v2 % 100L │
00:29:55 verbose #86180 > │ let v15 : bool = v14 = 0L │
00:29:55 verbose #86181 > │ if v15 then │
00:29:55 verbose #86182 > │ let v16 : US3 = US3_3 │
00:29:55 verbose #86183 > │ let v17 : (unit -> string) = closure27() │
00:29:55 verbose #86184 > │ let v18 : (unit -> string) = closure28(v0, v1, v13) │
00:29:55 verbose #86185 > │ method12(v16, v17, v18) │
00:29:55 verbose #86186 > │ let v19 : Async<unit> option = None │
00:29:55 verbose #86187 > │ let v20 : bool = true in let mutable _v19 = v19 │
00:29:55 verbose #86188 > │ │
00:29:55 verbose #86189 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86190 > │ │
00:29:55 verbose #86191 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86192 > │ let v21 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86193 > │ v21 │
00:29:55 verbose #86194 > │ #endif │
00:29:55 verbose #86195 > │ │
00:29:55 verbose #86196 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86197 > │ let v22 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86198 > │ v22 │
00:29:55 verbose #86199 > │ #endif │
00:29:55 verbose #86200 > │ │
00:29:55 verbose #86201 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86202 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86203 > │ v23 │
00:29:55 verbose #86204 > │ #endif │
00:29:55 verbose #86205 > │ │
00:29:55 verbose #86206 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86207 > │ let v24 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86208 > │ v24 │
00:29:55 verbose #86209 > │ #endif │
00:29:55 verbose #86210 > │ │
00:29:55 verbose #86211 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86212 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86213 > │ v25 │
00:29:55 verbose #86214 > │ #endif │
00:29:55 verbose #86215 > │ │
00:29:55 verbose #86216 > │ #else │
00:29:55 verbose #86217 > │ let v26 : (int32 -> Async<unit>) = Async.Sleep │
00:29:55 verbose #86218 > │ let v27 : Async<unit> = v26 10 │
00:29:55 verbose #86219 > │ v27 │
00:29:55 verbose #86220 > │ #endif │
00:29:55 verbose #86221 > │ |> fun x -> _v19 <- Some x │
00:29:55 verbose #86222 > │ let v28 : Async<unit> = _v19.Value │
00:29:55 verbose #86223 > │ do! v28 │
00:29:55 verbose #86224 > │ let v29 : int64 = v2 + 1L │
00:29:55 verbose #86225 > │ let v30 : Async<int64> = method22(v0, v1, v29) │
00:29:55 verbose #86226 > │ return! v30 │
00:29:55 verbose #86227 > │ (* │
00:29:55 verbose #86228 > │ *) │
00:29:55 verbose #86229 > │ } │
00:29:55 verbose #86230 > │ |> fun x -> _v10 <- Some x │
00:29:55 verbose #86231 > │ let v31 : Async<int64> = _v10 |> Option.get │
00:29:55 verbose #86232 > │ v31 │
00:29:55 verbose #86233 > │ #endif │
00:29:55 verbose #86234 > │ |> fun x -> _v3 <- Some x │
00:29:55 verbose #86235 > │ let v32 : Async<int64> = _v3.Value │
00:29:55 verbose #86236 > │ v32 │
00:29:55 verbose #86237 > │ and closure29 () () : string = │
00:29:55 verbose #86238 > │ let v0 : string = "5" │
00:29:55 verbose #86239 > │ v0 │
00:29:55 verbose #86240 > │ and closure30 () () : string = │
00:29:55 verbose #86241 > │ let v0 : string = "file_system.wait_for_file_access" │
00:29:55 verbose #86242 > │ v0 │
00:29:55 verbose #86243 > │ and closure31 (v0 : string, v1 : int64, v2 : string) () : string = │
00:29:55 verbose #86244 > │ let v3 : (string -> string) = closure19() │
00:29:55 verbose #86245 > │ let v4 : (unit -> string) = closure6() │
00:29:55 verbose #86246 > │ let v5 : string = $"path: {v0 |> v3} / retry: {v1} / ex: {v2} / {v4 ()}" │
00:29:55 verbose #86247 > │ v5 │
00:29:55 verbose #86248 > │ and method23 (v0 : string, v1 : int64) : Async<int64> = │
00:29:55 verbose #86249 > │ let v2 : Async<int64> option = None │
00:29:55 verbose #86250 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:55 verbose #86251 > │ │
00:29:55 verbose #86252 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86253 > │ │
00:29:55 verbose #86254 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86255 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86256 > │ v4 │
00:29:55 verbose #86257 > │ #endif │
00:29:55 verbose #86258 > │ │
00:29:55 verbose #86259 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86260 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86261 > │ v5 │
00:29:55 verbose #86262 > │ #endif │
00:29:55 verbose #86263 > │ │
00:29:55 verbose #86264 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86265 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86266 > │ v6 │
00:29:55 verbose #86267 > │ #endif │
00:29:55 verbose #86268 > │ │
00:29:55 verbose #86269 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86270 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86271 > │ v7 │
00:29:55 verbose #86272 > │ #endif │
00:29:55 verbose #86273 > │ │
00:29:55 verbose #86274 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86275 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:29:55 verbose #86276 > │ v8 │
00:29:55 verbose #86277 > │ #endif │
00:29:55 verbose #86278 > │ │
00:29:55 verbose #86279 > │ #else │
00:29:55 verbose #86280 > │ let v9 : Async<int64> option = None │
00:29:55 verbose #86281 > │ let mutable _v9 = v9 │
00:29:55 verbose #86282 > │ async { │
00:29:55 verbose #86283 > │ try │
00:29:55 verbose #86284 > │ let v10 : System.IO.FileStream option = None │
00:29:55 verbose #86285 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:29:55 verbose #86286 > │ │
00:29:55 verbose #86287 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86288 > │ │
00:29:55 verbose #86289 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86290 > │ let v12 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:55 verbose #86291 > │ v12 │
00:29:55 verbose #86292 > │ #endif │
00:29:55 verbose #86293 > │ │
00:29:55 verbose #86294 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86295 > │ let v13 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:55 verbose #86296 > │ v13 │
00:29:55 verbose #86297 > │ #endif │
00:29:55 verbose #86298 > │ │
00:29:55 verbose #86299 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86300 > │ let v14 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:55 verbose #86301 > │ v14 │
00:29:55 verbose #86302 > │ #endif │
00:29:55 verbose #86303 > │ │
00:29:55 verbose #86304 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86305 > │ let v15 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:55 verbose #86306 > │ v15 │
00:29:55 verbose #86307 > │ #endif │
00:29:55 verbose #86308 > │ │
00:29:55 verbose #86309 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86310 > │ let v16 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:55 verbose #86311 > │ v16 │
00:29:55 verbose #86312 > │ #endif │
00:29:55 verbose #86313 > │ │
00:29:55 verbose #86314 > │ #else │
00:29:55 verbose #86315 > │ let v17 : System.IO.FileMode = System.IO.FileMode.Open │
00:29:55 verbose #86316 > │ let v18 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:29:55 verbose #86317 > │ let v19 : System.IO.FileShare = System.IO.FileShare.Read │
00:29:55 verbose #86318 > │ let v20 : System.IO.FileStream = new System.IO.FileStream (v0, v17, v18, │
00:29:55 verbose #86319 > │ v19) │
00:29:55 verbose #86320 > │ v20 │
00:29:55 verbose #86321 > │ #endif │
00:29:55 verbose #86322 > │ |> fun x -> _v10 <- Some x │
00:29:55 verbose #86323 > │ let v21 : System.IO.FileStream = _v10.Value │
00:29:55 verbose #86324 > │ use v21 = v21 │
00:29:55 verbose #86325 > │ let v22 : System.IO.FileStream = v21 │
00:29:55 verbose #86326 > │ return v1 │
00:29:55 verbose #86327 > │ with ex -> │
00:29:55 verbose #86328 > │ let v23 : exn = ex │
00:29:55 verbose #86329 > │ let v24 : bool = v1 > 0L │
00:29:55 verbose #86330 > │ let v27 : bool = │
00:29:55 verbose #86331 > │ if v24 then │
00:29:55 verbose #86332 > │ let v25 : int64 = v1 % 100L │
00:29:55 verbose #86333 > │ let v26 : bool = v25 = 0L │
00:29:55 verbose #86334 > │ v26 │
00:29:55 verbose #86335 > │ else │
00:29:55 verbose #86336 > │ false │
00:29:55 verbose #86337 > │ if v27 then │
00:29:55 verbose #86338 > │ let v28 : string option = None │
00:29:55 verbose #86339 > │ let v29 : bool = true in let mutable _v28 = v28 │
00:29:55 verbose #86340 > │ │
00:29:55 verbose #86341 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86342 > │ │
00:29:55 verbose #86343 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86344 > │ let v30 : string = $"%A{v23}" │
00:29:55 verbose #86345 > │ v30 │
00:29:55 verbose #86346 > │ #endif │
00:29:55 verbose #86347 > │ │
00:29:55 verbose #86348 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86349 > │ let v31 : string = $"%A{v23}" │
00:29:55 verbose #86350 > │ v31 │
00:29:55 verbose #86351 > │ #endif │
00:29:55 verbose #86352 > │ │
00:29:55 verbose #86353 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86354 > │ let v32 : string = $"%A{v23}" │
00:29:55 verbose #86355 > │ v32 │
00:29:55 verbose #86356 > │ #endif │
00:29:55 verbose #86357 > │ │
00:29:55 verbose #86358 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86359 > │ let v33 : string = $"%A{v23}" │
00:29:55 verbose #86360 > │ v33 │
00:29:55 verbose #86361 > │ #endif │
00:29:55 verbose #86362 > │ │
00:29:55 verbose #86363 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86364 > │ let v34 : string = $"%A{v23}" │
00:29:55 verbose #86365 > │ v34 │
00:29:55 verbose #86366 > │ #endif │
00:29:55 verbose #86367 > │ │
00:29:55 verbose #86368 > │ #else │
00:29:55 verbose #86369 > │ let v35 : string = $"{v23.GetType ()}: {v23.Message}" │
00:29:55 verbose #86370 > │ v35 │
00:29:55 verbose #86371 > │ #endif │
00:29:55 verbose #86372 > │ |> fun x -> _v28 <- Some x │
00:29:55 verbose #86373 > │ let v36 : string = _v28.Value │
00:29:55 verbose #86374 > │ let v37 : US3 = US3_1 │
00:29:55 verbose #86375 > │ let v38 : (unit -> string) = closure30() │
00:29:55 verbose #86376 > │ let v39 : (unit -> string) = closure31(v0, v1, v36) │
00:29:55 verbose #86377 > │ method12(v37, v38, v39) │
00:29:55 verbose #86378 > │ let v40 : Async<unit> option = None │
00:29:55 verbose #86379 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:29:55 verbose #86380 > │ │
00:29:55 verbose #86381 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86382 > │ │
00:29:55 verbose #86383 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86384 > │ let v42 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86385 > │ v42 │
00:29:55 verbose #86386 > │ #endif │
00:29:55 verbose #86387 > │ │
00:29:55 verbose #86388 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86389 > │ let v43 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86390 > │ v43 │
00:29:55 verbose #86391 > │ #endif │
00:29:55 verbose #86392 > │ │
00:29:55 verbose #86393 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86394 > │ let v44 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86395 > │ v44 │
00:29:55 verbose #86396 > │ #endif │
00:29:55 verbose #86397 > │ │
00:29:55 verbose #86398 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86399 > │ let v45 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86400 > │ v45 │
00:29:55 verbose #86401 > │ #endif │
00:29:55 verbose #86402 > │ │
00:29:55 verbose #86403 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86404 > │ let v46 : Async<unit> = null |> unbox<Async<unit>> │
00:29:55 verbose #86405 > │ v46 │
00:29:55 verbose #86406 > │ #endif │
00:29:55 verbose #86407 > │ │
00:29:55 verbose #86408 > │ #else │
00:29:55 verbose #86409 > │ let v47 : (int32 -> Async<unit>) = Async.Sleep │
00:29:55 verbose #86410 > │ let v48 : Async<unit> = v47 10 │
00:29:55 verbose #86411 > │ v48 │
00:29:55 verbose #86412 > │ #endif │
00:29:55 verbose #86413 > │ |> fun x -> _v40 <- Some x │
00:29:55 verbose #86414 > │ let v49 : Async<unit> = _v40.Value │
00:29:55 verbose #86415 > │ do! v49 │
00:29:55 verbose #86416 > │ let v50 : int64 = v1 + 1L │
00:29:55 verbose #86417 > │ let v51 : Async<int64> = method23(v0, v50) │
00:29:55 verbose #86418 > │ return! v51 │
00:29:55 verbose #86419 > │ (* │
00:29:55 verbose #86420 > │ let v52 : int64 = *) │
00:29:55 verbose #86421 > │ } │
00:29:55 verbose #86422 > │ |> fun x -> _v9 <- Some x │
00:29:55 verbose #86423 > │ let v53 : Async<int64> = _v9 |> Option.get │
00:29:55 verbose #86424 > │ v53 │
00:29:55 verbose #86425 > │ #endif │
00:29:55 verbose #86426 > │ |> fun x -> _v2 <- Some x │
00:29:55 verbose #86427 > │ let v54 : Async<int64> = _v2.Value │
00:29:55 verbose #86428 > │ v54 │
00:29:55 verbose #86429 > │ and closure32 () () : string = │
00:29:55 verbose #86430 > │ let v0 : string = "6" │
00:29:55 verbose #86431 > │ v0 │
00:29:55 verbose #86432 > │ and closure33 () () : string = │
00:29:55 verbose #86433 > │ let v0 : string = "7" │
00:29:55 verbose #86434 > │ v0 │
00:29:55 verbose #86435 > │ and closure34 () () : string = │
00:29:55 verbose #86436 > │ let v0 : string = "8" │
00:29:55 verbose #86437 > │ v0 │
00:29:55 verbose #86438 > │ and closure35 () struct (v0 : int64, v1 : int64, v2 : string) : US7 = │
00:29:55 verbose #86439 > │ US7_0(v0, v1, v2) │
00:29:55 verbose #86440 > │ and closure36 () (v0 : exn) : US7 = │
00:29:55 verbose #86441 > │ US7_1(v0) │
00:29:55 verbose #86442 > │ and closure37 () () : string = │
00:29:55 verbose #86443 > │ let v0 : string = "run_with_timeout_async" │
00:29:55 verbose #86444 > │ v0 │
00:29:55 verbose #86445 > │ and closure38 () () : string = │
00:29:55 verbose #86446 > │ let v0 : (unit -> string) = closure6() │
00:29:55 verbose #86447 > │ let v1 : string = $"timeout: {3000} / {v0 ()}" │
00:29:55 verbose #86448 > │ v1 │
00:29:55 verbose #86449 > │ and closure39 (v0 : string) () : string = │
00:29:55 verbose #86450 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:29:55 verbose #86451 > │ v1 │
00:29:55 verbose #86452 > │ and method24 (v0 : bool) : bool = │
00:29:55 verbose #86453 > │ v0 │
00:29:55 verbose #86454 > │ and method25 () : string = │
00:29:55 verbose #86455 > │ let v0 : string = "0" │
00:29:55 verbose #86456 > │ v0 │
00:29:55 verbose #86457 > │ and method0 () : unit = │
00:29:55 verbose #86458 > │ let v0 : string option = None │
00:29:55 verbose #86459 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:29:55 verbose #86460 > │ │
00:29:55 verbose #86461 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86462 > │ │
00:29:55 verbose #86463 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86464 > │ let v2 : string option = None │
00:29:55 verbose #86465 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:29:55 verbose #86466 > │ │
00:29:55 verbose #86467 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86468 > │ │
00:29:55 verbose #86469 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86470 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:55 verbose #86471 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:29:55 verbose #86472 > │ v5 │
00:29:55 verbose #86473 > │ #endif │
00:29:55 verbose #86474 > │ │
00:29:55 verbose #86475 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86476 > │ let v6 : string = null |> unbox<string> │
00:29:55 verbose #86477 > │ v6 │
00:29:55 verbose #86478 > │ #endif │
00:29:55 verbose #86479 > │ │
00:29:55 verbose #86480 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86481 > │ let v7 : string = null |> unbox<string> │
00:29:55 verbose #86482 > │ v7 │
00:29:55 verbose #86483 > │ #endif │
00:29:55 verbose #86484 > │ │
00:29:55 verbose #86485 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86486 > │ let v8 : string = null |> unbox<string> │
00:29:55 verbose #86487 > │ v8 │
00:29:55 verbose #86488 > │ #endif │
00:29:55 verbose #86489 > │ │
00:29:55 verbose #86490 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86491 > │ let v9 : string = null |> unbox<string> │
00:29:55 verbose #86492 > │ v9 │
00:29:55 verbose #86493 > │ #endif │
00:29:55 verbose #86494 > │ │
00:29:55 verbose #86495 > │ #else │
00:29:55 verbose #86496 > │ let v10 : string = │
00:29:55 verbose #86497 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:55 verbose #86498 > │ v10 │
00:29:55 verbose #86499 > │ #endif │
00:29:55 verbose #86500 > │ |> fun x -> _v2 <- Some x │
00:29:55 verbose #86501 > │ let v11 : string = _v2.Value │
00:29:55 verbose #86502 > │ let v12 : string option = None │
00:29:55 verbose #86503 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:29:55 verbose #86504 > │ │
00:29:55 verbose #86505 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86506 > │ │
00:29:55 verbose #86507 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86508 > │ let v14 : string = "std::env::temp_dir()" │
00:29:55 verbose #86509 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:29:55 verbose #86510 > │ let v16 : string = "$0.display()" │
00:29:55 verbose #86511 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:29:55 verbose #86512 > │ let v18 : std_string_String option = None │
00:29:55 verbose #86513 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:29:55 verbose #86514 > │ │
00:29:55 verbose #86515 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86516 > │ │
00:29:55 verbose #86517 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86518 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #86519 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:55 verbose #86520 > │ v20 │
00:29:55 verbose #86521 > │ v21 │
00:29:55 verbose #86522 > │ #endif │
00:29:55 verbose #86523 > │ │
00:29:55 verbose #86524 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86525 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #86526 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:55 verbose #86527 > │ v22 │
00:29:55 verbose #86528 > │ v23 │
00:29:55 verbose #86529 > │ #endif │
00:29:55 verbose #86530 > │ │
00:29:55 verbose #86531 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86532 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #86533 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:29:55 verbose #86534 > │ v24 │
00:29:55 verbose #86535 > │ v25 │
00:29:55 verbose #86536 > │ #endif │
00:29:55 verbose #86537 > │ │
00:29:55 verbose #86538 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86539 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #86540 > │ v26 │
00:29:55 verbose #86541 > │ #endif │
00:29:55 verbose #86542 > │ │
00:29:55 verbose #86543 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86544 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #86545 > │ v27 │
00:29:55 verbose #86546 > │ #endif │
00:29:55 verbose #86547 > │ │
00:29:55 verbose #86548 > │ #else │
00:29:55 verbose #86549 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #86550 > │ v28 │
00:29:55 verbose #86551 > │ #endif │
00:29:55 verbose #86552 > │ |> fun x -> _v18 <- Some x │
00:29:55 verbose #86553 > │ let v29 : std_string_String = _v18.Value │
00:29:55 verbose #86554 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #86555 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:29:55 verbose #86556 > │ v31 │
00:29:55 verbose #86557 > │ #endif │
00:29:55 verbose #86558 > │ │
00:29:55 verbose #86559 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86560 > │ let v32 : string = null |> unbox<string> │
00:29:55 verbose #86561 > │ v32 │
00:29:55 verbose #86562 > │ #endif │
00:29:55 verbose #86563 > │ │
00:29:55 verbose #86564 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86565 > │ let v33 : string = null |> unbox<string> │
00:29:55 verbose #86566 > │ v33 │
00:29:55 verbose #86567 > │ #endif │
00:29:55 verbose #86568 > │ │
00:29:55 verbose #86569 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86570 > │ let v34 : string = null |> unbox<string> │
00:29:55 verbose #86571 > │ v34 │
00:29:55 verbose #86572 > │ #endif │
00:29:55 verbose #86573 > │ │
00:29:55 verbose #86574 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86575 > │ let v35 : string = null |> unbox<string> │
00:29:55 verbose #86576 > │ v35 │
00:29:55 verbose #86577 > │ #endif │
00:29:55 verbose #86578 > │ │
00:29:55 verbose #86579 > │ #else │
00:29:55 verbose #86580 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:55 verbose #86581 > │ let v37 : string = v36 () │
00:29:55 verbose #86582 > │ v37 │
00:29:55 verbose #86583 > │ #endif │
00:29:55 verbose #86584 > │ |> fun x -> _v12 <- Some x │
00:29:55 verbose #86585 > │ let v38 : string = _v12.Value │
00:29:55 verbose #86586 > │ let v39 : string = $"!{v11}" │
00:29:55 verbose #86587 > │ let v40 : string = method1(v38, v39) │
00:29:55 verbose #86588 > │ let v41 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #86589 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:29:55 verbose #86590 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:29:55 verbose #86591 > │ let v44 : string = v43 v42 │
00:29:55 verbose #86592 > │ let v45 : struct (string * string) option = None │
00:29:55 verbose #86593 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:29:55 verbose #86594 > │ │
00:29:55 verbose #86595 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86596 > │ │
00:29:55 verbose #86597 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86598 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:55 verbose #86599 > │ System.DateTimeKind.Utc) │
00:29:55 verbose #86600 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:55 verbose #86601 > │ let v49 : System.DateTime = v48 v47 │
00:29:55 verbose #86602 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:55 verbose #86603 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:29:55 verbose #86604 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:55 verbose #86605 > │ let v53 : System.DateTime = v52 v51 │
00:29:55 verbose #86606 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #86607 > │ let v55 : int64 = v54 v53 │
00:29:55 verbose #86608 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #86609 > │ let v57 : int64 = v56 v49 │
00:29:55 verbose #86610 > │ let v58 : int64 = v55 - v57 │
00:29:55 verbose #86611 > │ let v59 : int64 = v58 / 10L │
00:29:55 verbose #86612 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:55 verbose #86613 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:29:55 verbose #86614 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:29:55 verbose #86615 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:55 verbose #86616 > │ let v63 : US0 = US0_1 │
00:29:55 verbose #86617 > │ let v64 : US0 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:29:55 verbose #86618 > │ let v83 : US1 = │
00:29:55 verbose #86619 > │ match v64 with │
00:29:55 verbose #86620 > │ | US0_1 -> (* None *) │
00:29:55 verbose #86621 > │ US1_1 │
00:29:55 verbose #86622 > │ | US0_0(v65) -> (* Some *) │
00:29:55 verbose #86623 > │ let v66 : chrono_DateTime<chrono_Utc> = method6(v65) │
00:29:55 verbose #86624 > │ let v67 : string = "v66.naive_utc()" │
00:29:55 verbose #86625 > │ let v68 : chrono_NaiveDateTime = │
00:29:55 verbose #86626 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:29:55 verbose #86627 > │ let v69 : string = │
00:29:55 verbose #86628 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:29:55 verbose #86629 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:29:55 verbose #86630 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:29:55 verbose #86631 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:29:55 verbose #86632 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:29:55 verbose #86633 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:29:55 verbose #86634 > │ let v74 : chrono_DateTime<chrono_Local> = method7(v70) │
00:29:55 verbose #86635 > │ let v75 : string = "v74.format(v73).to_string()" │
00:29:55 verbose #86636 > │ let v76 : std_string_String = │
00:29:55 verbose #86637 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:29:55 verbose #86638 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #86639 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:29:55 verbose #86640 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:29:55 verbose #86641 > │ US1_0(v79) │
00:29:55 verbose #86642 > │ let v87 : string = │
00:29:55 verbose #86643 > │ match v83 with │
00:29:55 verbose #86644 > │ | US1_1 -> (* None *) │
00:29:55 verbose #86645 > │ let v85 : string = "" │
00:29:55 verbose #86646 > │ v85 │
00:29:55 verbose #86647 > │ | US1_0(v84) -> (* Some *) │
00:29:55 verbose #86648 > │ v84 │
00:29:55 verbose #86649 > │ let v88 : System.TimeZoneInfo option = None │
00:29:55 verbose #86650 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:29:55 verbose #86651 > │ │
00:29:55 verbose #86652 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86653 > │ │
00:29:55 verbose #86654 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86655 > │ let v90 : string = "0i64.into()" │
00:29:55 verbose #86656 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #86657 > │ v90 │
00:29:55 verbose #86658 > │ v91 │
00:29:55 verbose #86659 > │ #endif │
00:29:55 verbose #86660 > │ │
00:29:55 verbose #86661 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86662 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86663 > │ v92 │
00:29:55 verbose #86664 > │ #endif │
00:29:55 verbose #86665 > │ │
00:29:55 verbose #86666 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86667 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86668 > │ v93 │
00:29:55 verbose #86669 > │ #endif │
00:29:55 verbose #86670 > │ │
00:29:55 verbose #86671 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86672 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86673 > │ v94 │
00:29:55 verbose #86674 > │ #endif │
00:29:55 verbose #86675 > │ │
00:29:55 verbose #86676 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86677 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86678 > │ v95 │
00:29:55 verbose #86679 > │ #endif │
00:29:55 verbose #86680 > │ │
00:29:55 verbose #86681 > │ #else │
00:29:55 verbose #86682 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:55 verbose #86683 > │ v96 │
00:29:55 verbose #86684 > │ #endif │
00:29:55 verbose #86685 > │ |> fun x -> _v88 <- Some x │
00:29:55 verbose #86686 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:29:55 verbose #86687 > │ let v98 : System.TimeSpan option = None │
00:29:55 verbose #86688 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:29:55 verbose #86689 > │ │
00:29:55 verbose #86690 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86691 > │ │
00:29:55 verbose #86692 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86693 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86694 > │ v100 │
00:29:55 verbose #86695 > │ #endif │
00:29:55 verbose #86696 > │ │
00:29:55 verbose #86697 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86698 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86699 > │ v101 │
00:29:55 verbose #86700 > │ #endif │
00:29:55 verbose #86701 > │ │
00:29:55 verbose #86702 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86703 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86704 > │ v102 │
00:29:55 verbose #86705 > │ #endif │
00:29:55 verbose #86706 > │ │
00:29:55 verbose #86707 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86708 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86709 > │ v103 │
00:29:55 verbose #86710 > │ #endif │
00:29:55 verbose #86711 > │ │
00:29:55 verbose #86712 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86713 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86714 > │ v104 │
00:29:55 verbose #86715 > │ #endif │
00:29:55 verbose #86716 > │ │
00:29:55 verbose #86717 > │ #else │
00:29:55 verbose #86718 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:55 verbose #86719 > │ = _.GetUtcOffset │
00:29:55 verbose #86720 > │ let v106 : System.TimeZoneInfo option = None │
00:29:55 verbose #86721 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:29:55 verbose #86722 > │ │
00:29:55 verbose #86723 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86724 > │ │
00:29:55 verbose #86725 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86726 > │ let v108 : string = "0i64.into()" │
00:29:55 verbose #86727 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #86728 > │ v108 │
00:29:55 verbose #86729 > │ v109 │
00:29:55 verbose #86730 > │ #endif │
00:29:55 verbose #86731 > │ │
00:29:55 verbose #86732 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86733 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86734 > │ v110 │
00:29:55 verbose #86735 > │ #endif │
00:29:55 verbose #86736 > │ │
00:29:55 verbose #86737 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86738 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86739 > │ v111 │
00:29:55 verbose #86740 > │ #endif │
00:29:55 verbose #86741 > │ │
00:29:55 verbose #86742 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86743 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86744 > │ v112 │
00:29:55 verbose #86745 > │ #endif │
00:29:55 verbose #86746 > │ │
00:29:55 verbose #86747 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86748 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86749 > │ v113 │
00:29:55 verbose #86750 > │ #endif │
00:29:55 verbose #86751 > │ │
00:29:55 verbose #86752 > │ #else │
00:29:55 verbose #86753 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:55 verbose #86754 > │ v114 │
00:29:55 verbose #86755 > │ #endif │
00:29:55 verbose #86756 > │ |> fun x -> _v106 <- Some x │
00:29:55 verbose #86757 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:29:55 verbose #86758 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:29:55 verbose #86759 > │ let v117 : System.TimeSpan = v116 v53 │
00:29:55 verbose #86760 > │ v117 │
00:29:55 verbose #86761 > │ #endif │
00:29:55 verbose #86762 > │ |> fun x -> _v98 <- Some x │
00:29:55 verbose #86763 > │ let v118 : System.TimeSpan = _v98.Value │
00:29:55 verbose #86764 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:29:55 verbose #86765 > │ let v120 : int32 = v119 v118 │
00:29:55 verbose #86766 > │ let v121 : bool = v120 > 0 │
00:29:55 verbose #86767 > │ let v122 : uint8 = │
00:29:55 verbose #86768 > │ if v121 then │
00:29:55 verbose #86769 > │ 1uy │
00:29:55 verbose #86770 > │ else │
00:29:55 verbose #86771 > │ 0uy │
00:29:55 verbose #86772 > │ let v123 : (string -> string) = v118.ToString │
00:29:55 verbose #86773 > │ let v124 : string = "hh:mm" │
00:29:55 verbose #86774 > │ let v125 : string = v123 v124 │
00:29:55 verbose #86775 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:29:55 verbose #86776 > │ struct (v87, v126) │
00:29:55 verbose #86777 > │ #endif │
00:29:55 verbose #86778 > │ │
00:29:55 verbose #86779 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86780 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:29:55 verbose #86781 > │ * string)> │
00:29:55 verbose #86782 > │ struct (v127, v128) │
00:29:55 verbose #86783 > │ #endif │
00:29:55 verbose #86784 > │ │
00:29:55 verbose #86785 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86786 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:29:55 verbose #86787 > │ * string)> │
00:29:55 verbose #86788 > │ struct (v129, v130) │
00:29:55 verbose #86789 > │ #endif │
00:29:55 verbose #86790 > │ │
00:29:55 verbose #86791 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86792 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:29:55 verbose #86793 > │ * string)> │
00:29:55 verbose #86794 > │ struct (v131, v132) │
00:29:55 verbose #86795 > │ #endif │
00:29:55 verbose #86796 > │ │
00:29:55 verbose #86797 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86798 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:29:55 verbose #86799 > │ * string)> │
00:29:55 verbose #86800 > │ struct (v133, v134) │
00:29:55 verbose #86801 > │ #endif │
00:29:55 verbose #86802 > │ │
00:29:55 verbose #86803 > │ #else │
00:29:55 verbose #86804 > │ let v135 : string = method8() │
00:29:55 verbose #86805 > │ let v136 : (string -> string) = v41.ToString │
00:29:55 verbose #86806 > │ let v137 : string = v136 v135 │
00:29:55 verbose #86807 > │ let v138 : System.TimeZoneInfo option = None │
00:29:55 verbose #86808 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:29:55 verbose #86809 > │ │
00:29:55 verbose #86810 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86811 > │ │
00:29:55 verbose #86812 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86813 > │ let v140 : string = "0i64.into()" │
00:29:55 verbose #86814 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #86815 > │ v140 │
00:29:55 verbose #86816 > │ v141 │
00:29:55 verbose #86817 > │ #endif │
00:29:55 verbose #86818 > │ │
00:29:55 verbose #86819 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86820 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86821 > │ v142 │
00:29:55 verbose #86822 > │ #endif │
00:29:55 verbose #86823 > │ │
00:29:55 verbose #86824 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86825 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86826 > │ v143 │
00:29:55 verbose #86827 > │ #endif │
00:29:55 verbose #86828 > │ │
00:29:55 verbose #86829 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86830 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86831 > │ v144 │
00:29:55 verbose #86832 > │ #endif │
00:29:55 verbose #86833 > │ │
00:29:55 verbose #86834 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86835 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86836 > │ v145 │
00:29:55 verbose #86837 > │ #endif │
00:29:55 verbose #86838 > │ │
00:29:55 verbose #86839 > │ #else │
00:29:55 verbose #86840 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:55 verbose #86841 > │ v146 │
00:29:55 verbose #86842 > │ #endif │
00:29:55 verbose #86843 > │ |> fun x -> _v138 <- Some x │
00:29:55 verbose #86844 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:29:55 verbose #86845 > │ let v148 : System.TimeSpan option = None │
00:29:55 verbose #86846 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:29:55 verbose #86847 > │ │
00:29:55 verbose #86848 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86849 > │ │
00:29:55 verbose #86850 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86851 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86852 > │ v150 │
00:29:55 verbose #86853 > │ #endif │
00:29:55 verbose #86854 > │ │
00:29:55 verbose #86855 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86856 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86857 > │ v151 │
00:29:55 verbose #86858 > │ #endif │
00:29:55 verbose #86859 > │ │
00:29:55 verbose #86860 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86861 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86862 > │ v152 │
00:29:55 verbose #86863 > │ #endif │
00:29:55 verbose #86864 > │ │
00:29:55 verbose #86865 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86866 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86867 > │ v153 │
00:29:55 verbose #86868 > │ #endif │
00:29:55 verbose #86869 > │ │
00:29:55 verbose #86870 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86871 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #86872 > │ v154 │
00:29:55 verbose #86873 > │ #endif │
00:29:55 verbose #86874 > │ │
00:29:55 verbose #86875 > │ #else │
00:29:55 verbose #86876 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:55 verbose #86877 > │ = _.GetUtcOffset │
00:29:55 verbose #86878 > │ let v156 : System.TimeZoneInfo option = None │
00:29:55 verbose #86879 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:29:55 verbose #86880 > │ │
00:29:55 verbose #86881 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86882 > │ │
00:29:55 verbose #86883 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86884 > │ let v158 : string = "0i64.into()" │
00:29:55 verbose #86885 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #86886 > │ v158 │
00:29:55 verbose #86887 > │ v159 │
00:29:55 verbose #86888 > │ #endif │
00:29:55 verbose #86889 > │ │
00:29:55 verbose #86890 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86891 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86892 > │ v160 │
00:29:55 verbose #86893 > │ #endif │
00:29:55 verbose #86894 > │ │
00:29:55 verbose #86895 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86896 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86897 > │ v161 │
00:29:55 verbose #86898 > │ #endif │
00:29:55 verbose #86899 > │ │
00:29:55 verbose #86900 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86901 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86902 > │ v162 │
00:29:55 verbose #86903 > │ #endif │
00:29:55 verbose #86904 > │ │
00:29:55 verbose #86905 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86906 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #86907 > │ v163 │
00:29:55 verbose #86908 > │ #endif │
00:29:55 verbose #86909 > │ │
00:29:55 verbose #86910 > │ #else │
00:29:55 verbose #86911 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:55 verbose #86912 > │ v164 │
00:29:55 verbose #86913 > │ #endif │
00:29:55 verbose #86914 > │ |> fun x -> _v156 <- Some x │
00:29:55 verbose #86915 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:29:55 verbose #86916 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:29:55 verbose #86917 > │ let v167 : System.TimeSpan = v166 v41 │
00:29:55 verbose #86918 > │ v167 │
00:29:55 verbose #86919 > │ #endif │
00:29:55 verbose #86920 > │ |> fun x -> _v148 <- Some x │
00:29:55 verbose #86921 > │ let v168 : System.TimeSpan = _v148.Value │
00:29:55 verbose #86922 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:29:55 verbose #86923 > │ let v170 : int32 = v169 v168 │
00:29:55 verbose #86924 > │ let v171 : bool = v170 > 0 │
00:29:55 verbose #86925 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:29:55 verbose #86926 > │ let v173 : int32 = v172 v171 │
00:29:55 verbose #86927 > │ let v174 : string = method9() │
00:29:55 verbose #86928 > │ let v175 : (string -> string) = v168.ToString │
00:29:55 verbose #86929 > │ let v176 : string = v175 v174 │
00:29:55 verbose #86930 > │ let v177 : string = $"{v173}{v176}" │
00:29:55 verbose #86931 > │ struct (v137, v177) │
00:29:55 verbose #86932 > │ #endif │
00:29:55 verbose #86933 > │ |> fun x -> _v45 <- Some x │
00:29:55 verbose #86934 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:29:55 verbose #86935 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:29:55 verbose #86936 > │ v179.Length..]}" │
00:29:55 verbose #86937 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:29:55 verbose #86938 > │ let v182 : string = v181 v180 │
00:29:55 verbose #86939 > │ let v183 : string = method1(v40, v182) │
00:29:55 verbose #86940 > │ v183 │
00:29:55 verbose #86941 > │ #endif │
00:29:55 verbose #86942 > │ │
00:29:55 verbose #86943 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86944 > │ let v184 : string = null |> unbox<string> │
00:29:55 verbose #86945 > │ v184 │
00:29:55 verbose #86946 > │ #endif │
00:29:55 verbose #86947 > │ │
00:29:55 verbose #86948 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86949 > │ let v185 : string = null |> unbox<string> │
00:29:55 verbose #86950 > │ v185 │
00:29:55 verbose #86951 > │ #endif │
00:29:55 verbose #86952 > │ │
00:29:55 verbose #86953 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86954 > │ let v186 : string = null |> unbox<string> │
00:29:55 verbose #86955 > │ v186 │
00:29:55 verbose #86956 > │ #endif │
00:29:55 verbose #86957 > │ │
00:29:55 verbose #86958 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86959 > │ let v187 : string = null |> unbox<string> │
00:29:55 verbose #86960 > │ v187 │
00:29:55 verbose #86961 > │ #endif │
00:29:55 verbose #86962 > │ │
00:29:55 verbose #86963 > │ #else │
00:29:55 verbose #86964 > │ let v188 : string option = None │
00:29:55 verbose #86965 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:29:55 verbose #86966 > │ │
00:29:55 verbose #86967 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #86968 > │ │
00:29:55 verbose #86969 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #86970 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:29:55 verbose #86971 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:29:55 verbose #86972 > │ v191 │
00:29:55 verbose #86973 > │ #endif │
00:29:55 verbose #86974 > │ │
00:29:55 verbose #86975 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #86976 > │ let v192 : string = null |> unbox<string> │
00:29:55 verbose #86977 > │ v192 │
00:29:55 verbose #86978 > │ #endif │
00:29:55 verbose #86979 > │ │
00:29:55 verbose #86980 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #86981 > │ let v193 : string = null |> unbox<string> │
00:29:55 verbose #86982 > │ v193 │
00:29:55 verbose #86983 > │ #endif │
00:29:55 verbose #86984 > │ │
00:29:55 verbose #86985 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #86986 > │ let v194 : string = null |> unbox<string> │
00:29:55 verbose #86987 > │ v194 │
00:29:55 verbose #86988 > │ #endif │
00:29:55 verbose #86989 > │ │
00:29:55 verbose #86990 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #86991 > │ let v195 : string = null |> unbox<string> │
00:29:55 verbose #86992 > │ v195 │
00:29:55 verbose #86993 > │ #endif │
00:29:55 verbose #86994 > │ │
00:29:55 verbose #86995 > │ #else │
00:29:55 verbose #86996 > │ let v196 : string = │
00:29:55 verbose #86997 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:29:55 verbose #86998 > │ v196 │
00:29:55 verbose #86999 > │ #endif │
00:29:55 verbose #87000 > │ |> fun x -> _v188 <- Some x │
00:29:55 verbose #87001 > │ let v197 : string = _v188.Value │
00:29:55 verbose #87002 > │ let v198 : string option = None │
00:29:55 verbose #87003 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:29:55 verbose #87004 > │ │
00:29:55 verbose #87005 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87006 > │ │
00:29:55 verbose #87007 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87008 > │ let v200 : string = "std::env::temp_dir()" │
00:29:55 verbose #87009 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #87010 > │ v200 │
00:29:55 verbose #87011 > │ let v202 : string = "$0.display()" │
00:29:55 verbose #87012 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:29:55 verbose #87013 > │ v202 │
00:29:55 verbose #87014 > │ let v204 : std_string_String option = None │
00:29:55 verbose #87015 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:29:55 verbose #87016 > │ │
00:29:55 verbose #87017 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87018 > │ │
00:29:55 verbose #87019 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87020 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #87021 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:55 verbose #87022 > │ v206 │
00:29:55 verbose #87023 > │ v207 │
00:29:55 verbose #87024 > │ #endif │
00:29:55 verbose #87025 > │ │
00:29:55 verbose #87026 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87027 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #87028 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:55 verbose #87029 > │ v208 │
00:29:55 verbose #87030 > │ v209 │
00:29:55 verbose #87031 > │ #endif │
00:29:55 verbose #87032 > │ │
00:29:55 verbose #87033 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #87034 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:29:55 verbose #87035 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:29:55 verbose #87036 > │ v210 │
00:29:55 verbose #87037 > │ v211 │
00:29:55 verbose #87038 > │ #endif │
00:29:55 verbose #87039 > │ │
00:29:55 verbose #87040 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #87041 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #87042 > │ v212 │
00:29:55 verbose #87043 > │ #endif │
00:29:55 verbose #87044 > │ │
00:29:55 verbose #87045 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #87046 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #87047 > │ v213 │
00:29:55 verbose #87048 > │ #endif │
00:29:55 verbose #87049 > │ │
00:29:55 verbose #87050 > │ #else │
00:29:55 verbose #87051 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:29:55 verbose #87052 > │ v214 │
00:29:55 verbose #87053 > │ #endif │
00:29:55 verbose #87054 > │ |> fun x -> _v204 <- Some x │
00:29:55 verbose #87055 > │ let v215 : std_string_String = _v204.Value │
00:29:55 verbose #87056 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #87057 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:29:55 verbose #87058 > │ v217 │
00:29:55 verbose #87059 > │ #endif │
00:29:55 verbose #87060 > │ │
00:29:55 verbose #87061 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87062 > │ let v218 : string = null |> unbox<string> │
00:29:55 verbose #87063 > │ v218 │
00:29:55 verbose #87064 > │ #endif │
00:29:55 verbose #87065 > │ │
00:29:55 verbose #87066 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #87067 > │ let v219 : string = null |> unbox<string> │
00:29:55 verbose #87068 > │ v219 │
00:29:55 verbose #87069 > │ #endif │
00:29:55 verbose #87070 > │ │
00:29:55 verbose #87071 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #87072 > │ let v220 : string = null |> unbox<string> │
00:29:55 verbose #87073 > │ v220 │
00:29:55 verbose #87074 > │ #endif │
00:29:55 verbose #87075 > │ │
00:29:55 verbose #87076 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #87077 > │ let v221 : string = null |> unbox<string> │
00:29:55 verbose #87078 > │ v221 │
00:29:55 verbose #87079 > │ #endif │
00:29:55 verbose #87080 > │ │
00:29:55 verbose #87081 > │ #else │
00:29:55 verbose #87082 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:29:55 verbose #87083 > │ let v223 : string = v222 () │
00:29:55 verbose #87084 > │ v223 │
00:29:55 verbose #87085 > │ #endif │
00:29:55 verbose #87086 > │ |> fun x -> _v198 <- Some x │
00:29:55 verbose #87087 > │ let v224 : string = _v198.Value │
00:29:55 verbose #87088 > │ let v225 : string = $"!{v197}" │
00:29:55 verbose #87089 > │ let v226 : string = method1(v224, v225) │
00:29:55 verbose #87090 > │ let v227 : System.DateTime = System.DateTime.Now │
00:29:55 verbose #87091 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:29:55 verbose #87092 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:29:55 verbose #87093 > │ let v230 : string = v229 v228 │
00:29:55 verbose #87094 > │ let v231 : struct (string * string) option = None │
00:29:55 verbose #87095 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:29:55 verbose #87096 > │ │
00:29:55 verbose #87097 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87098 > │ │
00:29:55 verbose #87099 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87100 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:29:55 verbose #87101 > │ System.DateTimeKind.Utc) │
00:29:55 verbose #87102 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:55 verbose #87103 > │ let v235 : System.DateTime = v234 v233 │
00:29:55 verbose #87104 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:29:55 verbose #87105 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:29:55 verbose #87106 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:29:55 verbose #87107 > │ let v239 : System.DateTime = v238 v237 │
00:29:55 verbose #87108 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #87109 > │ let v241 : int64 = v240 v239 │
00:29:55 verbose #87110 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:29:55 verbose #87111 > │ let v243 : int64 = v242 v235 │
00:29:55 verbose #87112 > │ let v244 : int64 = v241 - v243 │
00:29:55 verbose #87113 > │ let v245 : int64 = v244 / 10L │
00:29:55 verbose #87114 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:29:55 verbose #87115 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:29:55 verbose #87116 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:29:55 verbose #87117 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US0) = method5() │
00:29:55 verbose #87118 > │ let v249 : US0 = US0_1 │
00:29:55 verbose #87119 > │ let v250 : US0 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:29:55 verbose #87120 > │ let v269 : US1 = │
00:29:55 verbose #87121 > │ match v250 with │
00:29:55 verbose #87122 > │ | US0_1 -> (* None *) │
00:29:55 verbose #87123 > │ US1_1 │
00:29:55 verbose #87124 > │ | US0_0(v251) -> (* Some *) │
00:29:55 verbose #87125 > │ let v252 : chrono_DateTime<chrono_Utc> = method6(v251) │
00:29:55 verbose #87126 > │ let v253 : string = "v252.naive_utc()" │
00:29:55 verbose #87127 > │ let v254 : chrono_NaiveDateTime = │
00:29:55 verbose #87128 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:29:55 verbose #87129 > │ let v255 : string = │
00:29:55 verbose #87130 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:29:55 verbose #87131 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:29:55 verbose #87132 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:29:55 verbose #87133 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:29:55 verbose #87134 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:29:55 verbose #87135 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #87136 > │ v258 │
00:29:55 verbose #87137 > │ let v260 : chrono_DateTime<chrono_Local> = method7(v256) │
00:29:55 verbose #87138 > │ let v261 : string = "v260.format(v259).to_string()" │
00:29:55 verbose #87139 > │ let v262 : std_string_String = │
00:29:55 verbose #87140 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:29:55 verbose #87141 > │ let v263 : string = │
00:29:55 verbose #87142 > │ "fable_library_rust::String_::fromString($0)" │
00:29:55 verbose #87143 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:29:55 verbose #87144 > │ v263 │
00:29:55 verbose #87145 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:29:55 verbose #87146 > │ 22]}" │
00:29:55 verbose #87147 > │ US1_0(v265) │
00:29:55 verbose #87148 > │ let v273 : string = │
00:29:55 verbose #87149 > │ match v269 with │
00:29:55 verbose #87150 > │ | US1_1 -> (* None *) │
00:29:55 verbose #87151 > │ let v271 : string = "" │
00:29:55 verbose #87152 > │ v271 │
00:29:55 verbose #87153 > │ | US1_0(v270) -> (* Some *) │
00:29:55 verbose #87154 > │ v270 │
00:29:55 verbose #87155 > │ let v274 : System.TimeZoneInfo option = None │
00:29:55 verbose #87156 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:29:55 verbose #87157 > │ │
00:29:55 verbose #87158 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87159 > │ │
00:29:55 verbose #87160 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87161 > │ let v276 : string = "0i64.into()" │
00:29:55 verbose #87162 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #87163 > │ v276 │
00:29:55 verbose #87164 > │ v277 │
00:29:55 verbose #87165 > │ #endif │
00:29:55 verbose #87166 > │ │
00:29:55 verbose #87167 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87168 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87169 > │ v278 │
00:29:55 verbose #87170 > │ #endif │
00:29:55 verbose #87171 > │ │
00:29:55 verbose #87172 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #87173 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87174 > │ v279 │
00:29:55 verbose #87175 > │ #endif │
00:29:55 verbose #87176 > │ │
00:29:55 verbose #87177 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #87178 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87179 > │ v280 │
00:29:55 verbose #87180 > │ #endif │
00:29:55 verbose #87181 > │ │
00:29:55 verbose #87182 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #87183 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87184 > │ v281 │
00:29:55 verbose #87185 > │ #endif │
00:29:55 verbose #87186 > │ │
00:29:55 verbose #87187 > │ #else │
00:29:55 verbose #87188 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:55 verbose #87189 > │ v282 │
00:29:55 verbose #87190 > │ #endif │
00:29:55 verbose #87191 > │ |> fun x -> _v274 <- Some x │
00:29:55 verbose #87192 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:29:55 verbose #87193 > │ let v284 : System.TimeSpan option = None │
00:29:55 verbose #87194 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:29:55 verbose #87195 > │ │
00:29:55 verbose #87196 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87197 > │ │
00:29:55 verbose #87198 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87199 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #87200 > │ v286 │
00:29:55 verbose #87201 > │ #endif │
00:29:55 verbose #87202 > │ │
00:29:55 verbose #87203 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87204 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #87205 > │ v287 │
00:29:55 verbose #87206 > │ #endif │
00:29:55 verbose #87207 > │ │
00:29:55 verbose #87208 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #87209 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #87210 > │ v288 │
00:29:55 verbose #87211 > │ #endif │
00:29:55 verbose #87212 > │ │
00:29:55 verbose #87213 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #87214 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #87215 > │ v289 │
00:29:55 verbose #87216 > │ #endif │
00:29:55 verbose #87217 > │ │
00:29:55 verbose #87218 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #87219 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:29:55 verbose #87220 > │ v290 │
00:29:55 verbose #87221 > │ #endif │
00:29:55 verbose #87222 > │ │
00:29:55 verbose #87223 > │ #else │
00:29:55 verbose #87224 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:55 verbose #87225 > │ = _.GetUtcOffset │
00:29:55 verbose #87226 > │ let v292 : System.TimeZoneInfo option = None │
00:29:55 verbose #87227 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:29:55 verbose #87228 > │ │
00:29:55 verbose #87229 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87230 > │ │
00:29:55 verbose #87231 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87232 > │ let v294 : string = "0i64.into()" │
00:29:55 verbose #87233 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #87234 > │ v294 │
00:29:55 verbose #87235 > │ v295 │
00:29:55 verbose #87236 > │ #endif │
00:29:55 verbose #87237 > │ │
00:29:55 verbose #87238 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87239 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87240 > │ v296 │
00:29:55 verbose #87241 > │ #endif │
00:29:55 verbose #87242 > │ │
00:29:55 verbose #87243 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #87244 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87245 > │ v297 │
00:29:55 verbose #87246 > │ #endif │
00:29:55 verbose #87247 > │ │
00:29:55 verbose #87248 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #87249 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87250 > │ v298 │
00:29:55 verbose #87251 > │ #endif │
00:29:55 verbose #87252 > │ │
00:29:55 verbose #87253 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #87254 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87255 > │ v299 │
00:29:55 verbose #87256 > │ #endif │
00:29:55 verbose #87257 > │ │
00:29:55 verbose #87258 > │ #else │
00:29:55 verbose #87259 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:55 verbose #87260 > │ v300 │
00:29:55 verbose #87261 > │ #endif │
00:29:55 verbose #87262 > │ |> fun x -> _v292 <- Some x │
00:29:55 verbose #87263 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:29:55 verbose #87264 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:29:55 verbose #87265 > │ let v303 : System.TimeSpan = v302 v239 │
00:29:55 verbose #87266 > │ v303 │
00:29:55 verbose #87267 > │ #endif │
00:29:55 verbose #87268 > │ |> fun x -> _v284 <- Some x │
00:29:55 verbose #87269 > │ let v304 : System.TimeSpan = _v284.Value │
00:29:55 verbose #87270 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:29:55 verbose #87271 > │ let v306 : int32 = v305 v304 │
00:29:55 verbose #87272 > │ let v307 : bool = v306 > 0 │
00:29:55 verbose #87273 > │ let v308 : uint8 = │
00:29:55 verbose #87274 > │ if v307 then │
00:29:55 verbose #87275 > │ 1uy │
00:29:55 verbose #87276 > │ else │
00:29:55 verbose #87277 > │ 0uy │
00:29:55 verbose #87278 > │ let v309 : (string -> string) = v304.ToString │
00:29:55 verbose #87279 > │ let v310 : string = v309 v124 │
00:29:55 verbose #87280 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:29:55 verbose #87281 > │ struct (v273, v311) │
00:29:55 verbose #87282 > │ #endif │
00:29:55 verbose #87283 > │ │
00:29:55 verbose #87284 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87285 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:29:55 verbose #87286 > │ * string)> │
00:29:55 verbose #87287 > │ struct (v312, v313) │
00:29:55 verbose #87288 > │ #endif │
00:29:55 verbose #87289 > │ │
00:29:55 verbose #87290 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:55 verbose #87291 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:29:55 verbose #87292 > │ * string)> │
00:29:55 verbose #87293 > │ struct (v314, v315) │
00:29:55 verbose #87294 > │ #endif │
00:29:55 verbose #87295 > │ │
00:29:55 verbose #87296 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:55 verbose #87297 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:29:55 verbose #87298 > │ * string)> │
00:29:55 verbose #87299 > │ struct (v316, v317) │
00:29:55 verbose #87300 > │ #endif │
00:29:55 verbose #87301 > │ │
00:29:55 verbose #87302 > │ #if FABLE_COMPILER_PYTHON │
00:29:55 verbose #87303 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:29:55 verbose #87304 > │ * string)> │
00:29:55 verbose #87305 > │ struct (v318, v319) │
00:29:55 verbose #87306 > │ #endif │
00:29:55 verbose #87307 > │ │
00:29:55 verbose #87308 > │ #else │
00:29:55 verbose #87309 > │ let v320 : string = method8() │
00:29:55 verbose #87310 > │ let v321 : (string -> string) = v227.ToString │
00:29:55 verbose #87311 > │ let v322 : string = v321 v320 │
00:29:55 verbose #87312 > │ let v323 : System.TimeZoneInfo option = None │
00:29:55 verbose #87313 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:29:55 verbose #87314 > │ │
00:29:55 verbose #87315 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:55 verbose #87316 > │ │
00:29:55 verbose #87317 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:55 verbose #87318 > │ let v325 : string = "0i64.into()" │
00:29:55 verbose #87319 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:55 verbose #87320 > │ v325 │
00:29:55 verbose #87321 > │ v326 │
00:29:55 verbose #87322 > │ #endif │
00:29:55 verbose #87323 > │ │
00:29:55 verbose #87324 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:55 verbose #87325 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:55 verbose #87326 > │ v327 │
00:29:55 verbose #87327 > │ #endif │
00:29:55 verbose #87328 > │ │
00:29:56 verbose #87329 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87330 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87331 > │ v328 │
00:29:56 verbose #87332 > │ #endif │
00:29:56 verbose #87333 > │ │
00:29:56 verbose #87334 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87335 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87336 > │ v329 │
00:29:56 verbose #87337 > │ #endif │
00:29:56 verbose #87338 > │ │
00:29:56 verbose #87339 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87340 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87341 > │ v330 │
00:29:56 verbose #87342 > │ #endif │
00:29:56 verbose #87343 > │ │
00:29:56 verbose #87344 > │ #else │
00:29:56 verbose #87345 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:56 verbose #87346 > │ v331 │
00:29:56 verbose #87347 > │ #endif │
00:29:56 verbose #87348 > │ |> fun x -> _v323 <- Some x │
00:29:56 verbose #87349 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:29:56 verbose #87350 > │ let v333 : System.TimeSpan option = None │
00:29:56 verbose #87351 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:29:56 verbose #87352 > │ │
00:29:56 verbose #87353 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87354 > │ │
00:29:56 verbose #87355 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87356 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:29:56 verbose #87357 > │ v335 │
00:29:56 verbose #87358 > │ #endif │
00:29:56 verbose #87359 > │ │
00:29:56 verbose #87360 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87361 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:29:56 verbose #87362 > │ v336 │
00:29:56 verbose #87363 > │ #endif │
00:29:56 verbose #87364 > │ │
00:29:56 verbose #87365 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87366 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:29:56 verbose #87367 > │ v337 │
00:29:56 verbose #87368 > │ #endif │
00:29:56 verbose #87369 > │ │
00:29:56 verbose #87370 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87371 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:29:56 verbose #87372 > │ v338 │
00:29:56 verbose #87373 > │ #endif │
00:29:56 verbose #87374 > │ │
00:29:56 verbose #87375 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87376 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:29:56 verbose #87377 > │ v339 │
00:29:56 verbose #87378 > │ #endif │
00:29:56 verbose #87379 > │ │
00:29:56 verbose #87380 > │ #else │
00:29:56 verbose #87381 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:29:56 verbose #87382 > │ = _.GetUtcOffset │
00:29:56 verbose #87383 > │ let v341 : System.TimeZoneInfo option = None │
00:29:56 verbose #87384 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:29:56 verbose #87385 > │ │
00:29:56 verbose #87386 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87387 > │ │
00:29:56 verbose #87388 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87389 > │ let v343 : string = "0i64.into()" │
00:29:56 verbose #87390 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:29:56 verbose #87391 > │ v343 │
00:29:56 verbose #87392 > │ v344 │
00:29:56 verbose #87393 > │ #endif │
00:29:56 verbose #87394 > │ │
00:29:56 verbose #87395 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87396 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87397 > │ v345 │
00:29:56 verbose #87398 > │ #endif │
00:29:56 verbose #87399 > │ │
00:29:56 verbose #87400 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87401 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87402 > │ v346 │
00:29:56 verbose #87403 > │ #endif │
00:29:56 verbose #87404 > │ │
00:29:56 verbose #87405 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87406 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87407 > │ v347 │
00:29:56 verbose #87408 > │ #endif │
00:29:56 verbose #87409 > │ │
00:29:56 verbose #87410 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87411 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:29:56 verbose #87412 > │ v348 │
00:29:56 verbose #87413 > │ #endif │
00:29:56 verbose #87414 > │ │
00:29:56 verbose #87415 > │ #else │
00:29:56 verbose #87416 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:29:56 verbose #87417 > │ v349 │
00:29:56 verbose #87418 > │ #endif │
00:29:56 verbose #87419 > │ |> fun x -> _v341 <- Some x │
00:29:56 verbose #87420 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:29:56 verbose #87421 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:29:56 verbose #87422 > │ let v352 : System.TimeSpan = v351 v227 │
00:29:56 verbose #87423 > │ v352 │
00:29:56 verbose #87424 > │ #endif │
00:29:56 verbose #87425 > │ |> fun x -> _v333 <- Some x │
00:29:56 verbose #87426 > │ let v353 : System.TimeSpan = _v333.Value │
00:29:56 verbose #87427 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:29:56 verbose #87428 > │ let v355 : int32 = v354 v353 │
00:29:56 verbose #87429 > │ let v356 : bool = v355 > 0 │
00:29:56 verbose #87430 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:29:56 verbose #87431 > │ let v358 : int32 = v357 v356 │
00:29:56 verbose #87432 > │ let v359 : string = method9() │
00:29:56 verbose #87433 > │ let v360 : (string -> string) = v353.ToString │
00:29:56 verbose #87434 > │ let v361 : string = v360 v359 │
00:29:56 verbose #87435 > │ let v362 : string = $"{v358}{v361}" │
00:29:56 verbose #87436 > │ struct (v322, v362) │
00:29:56 verbose #87437 > │ #endif │
00:29:56 verbose #87438 > │ |> fun x -> _v231 <- Some x │
00:29:56 verbose #87439 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:29:56 verbose #87440 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:29:56 verbose #87441 > │ v364.Length..]}" │
00:29:56 verbose #87442 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:29:56 verbose #87443 > │ let v367 : string = v366 v365 │
00:29:56 verbose #87444 > │ let v368 : string = method1(v226, v367) │
00:29:56 verbose #87445 > │ v368 │
00:29:56 verbose #87446 > │ #endif │
00:29:56 verbose #87447 > │ |> fun x -> _v0 <- Some x │
00:29:56 verbose #87448 > │ let v369 : string = _v0.Value │
00:29:56 verbose #87449 > │ let v370 : System.IDisposable option = None │
00:29:56 verbose #87450 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:29:56 verbose #87451 > │ │
00:29:56 verbose #87452 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87453 > │ │
00:29:56 verbose #87454 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87455 > │ let v372 : string = method10(v369) │
00:29:56 verbose #87456 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:29:56 verbose #87457 > │ let v374 : Result<unit, std_io_Error> = │
00:29:56 verbose #87458 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:29:56 verbose #87459 > │ let v375 : (std_io_Error -> std_string_String) = method11() │
00:29:56 verbose #87460 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:29:56 verbose #87461 > │ let v377 : Result<unit, std_string_String> = │
00:29:56 verbose #87462 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:29:56 verbose #87463 > │ let v378 : (unit -> US2) = closure2() │
00:29:56 verbose #87464 > │ let v379 : (std_string_String -> US2) = closure3() │
00:29:56 verbose #87465 > │ let v380 : US2 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:29:56 verbose #87466 > │ match v380 with │
00:29:56 verbose #87467 > │ | US2_1(v384) -> (* Error *) │
00:29:56 verbose #87468 > │ let v385 : US3 = US3_4 │
00:29:56 verbose #87469 > │ let v386 : (unit -> string) = closure4() │
00:29:56 verbose #87470 > │ let v387 : (unit -> string) = closure5(v372, v384) │
00:29:56 verbose #87471 > │ method12(v385, v386, v387) │
00:29:56 verbose #87472 > │ | US2_0 -> (* Ok *) │
00:29:56 verbose #87473 > │ let v381 : US3 = US3_0 │
00:29:56 verbose #87474 > │ let v382 : (unit -> string) = closure11() │
00:29:56 verbose #87475 > │ let v383 : (unit -> string) = closure12(v372) │
00:29:56 verbose #87476 > │ method12(v381, v382, v383) │
00:29:56 verbose #87477 > │ let v388 : System.IDisposable option = None │
00:29:56 verbose #87478 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:29:56 verbose #87479 > │ │
00:29:56 verbose #87480 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87481 > │ │
00:29:56 verbose #87482 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87483 > │ let v390 : (unit -> unit) = closure13(v372) │
00:29:56 verbose #87484 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:29:56 verbose #87485 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:56 verbose #87486 > │ v391 │
00:29:56 verbose #87487 > │ #endif │
00:29:56 verbose #87488 > │ │
00:29:56 verbose #87489 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87490 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:29:56 verbose #87491 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:56 verbose #87492 > │ v392 │
00:29:56 verbose #87493 > │ #endif │
00:29:56 verbose #87494 > │ │
00:29:56 verbose #87495 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87496 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:29:56 verbose #87497 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:29:56 verbose #87498 > │ v393 │
00:29:56 verbose #87499 > │ #endif │
00:29:56 verbose #87500 > │ │
00:29:56 verbose #87501 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87502 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87503 > │ v394 │
00:29:56 verbose #87504 > │ #endif │
00:29:56 verbose #87505 > │ │
00:29:56 verbose #87506 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87507 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87508 > │ v395 │
00:29:56 verbose #87509 > │ #endif │
00:29:56 verbose #87510 > │ │
00:29:56 verbose #87511 > │ #else │
00:29:56 verbose #87512 > │ let v396 : (unit -> unit) = method19(v372) │
00:29:56 verbose #87513 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:29:56 verbose #87514 > │ _.Dispose () = v396 () } │
00:29:56 verbose #87515 > │ v397 │
00:29:56 verbose #87516 > │ #endif │
00:29:56 verbose #87517 > │ |> fun x -> _v388 <- Some x │
00:29:56 verbose #87518 > │ let v398 : System.IDisposable = _v388.Value │
00:29:56 verbose #87519 > │ v398 │
00:29:56 verbose #87520 > │ #endif │
00:29:56 verbose #87521 > │ │
00:29:56 verbose #87522 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87523 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87524 > │ v399 │
00:29:56 verbose #87525 > │ #endif │
00:29:56 verbose #87526 > │ │
00:29:56 verbose #87527 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87528 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87529 > │ v400 │
00:29:56 verbose #87530 > │ #endif │
00:29:56 verbose #87531 > │ │
00:29:56 verbose #87532 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87533 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87534 > │ v401 │
00:29:56 verbose #87535 > │ #endif │
00:29:56 verbose #87536 > │ │
00:29:56 verbose #87537 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87538 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87539 > │ v402 │
00:29:56 verbose #87540 > │ #endif │
00:29:56 verbose #87541 > │ │
00:29:56 verbose #87542 > │ #else │
00:29:56 verbose #87543 > │ let v403 : System.IO.DirectoryInfo option = None │
00:29:56 verbose #87544 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:29:56 verbose #87545 > │ │
00:29:56 verbose #87546 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87547 > │ │
00:29:56 verbose #87548 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87549 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:29:56 verbose #87550 > │ unbox<System.IO.DirectoryInfo> │
00:29:56 verbose #87551 > │ v405 │
00:29:56 verbose #87552 > │ #endif │
00:29:56 verbose #87553 > │ │
00:29:56 verbose #87554 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87555 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:29:56 verbose #87556 > │ unbox<System.IO.DirectoryInfo> │
00:29:56 verbose #87557 > │ v406 │
00:29:56 verbose #87558 > │ #endif │
00:29:56 verbose #87559 > │ │
00:29:56 verbose #87560 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87561 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:29:56 verbose #87562 > │ unbox<System.IO.DirectoryInfo> │
00:29:56 verbose #87563 > │ v407 │
00:29:56 verbose #87564 > │ #endif │
00:29:56 verbose #87565 > │ │
00:29:56 verbose #87566 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87567 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:29:56 verbose #87568 > │ unbox<System.IO.DirectoryInfo> │
00:29:56 verbose #87569 > │ v408 │
00:29:56 verbose #87570 > │ #endif │
00:29:56 verbose #87571 > │ │
00:29:56 verbose #87572 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87573 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:29:56 verbose #87574 > │ unbox<System.IO.DirectoryInfo> │
00:29:56 verbose #87575 > │ v409 │
00:29:56 verbose #87576 > │ #endif │
00:29:56 verbose #87577 > │ │
00:29:56 verbose #87578 > │ #else │
00:29:56 verbose #87579 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:29:56 verbose #87580 > │ System.IO.Directory.CreateDirectory │
00:29:56 verbose #87581 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:29:56 verbose #87582 > │ v411 │
00:29:56 verbose #87583 > │ #endif │
00:29:56 verbose #87584 > │ |> fun x -> _v403 <- Some x │
00:29:56 verbose #87585 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:29:56 verbose #87586 > │ let v413 : bool option = None │
00:29:56 verbose #87587 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:29:56 verbose #87588 > │ │
00:29:56 verbose #87589 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87590 > │ │
00:29:56 verbose #87591 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87592 > │ let v415 : bool = null |> unbox<bool> │
00:29:56 verbose #87593 > │ v415 │
00:29:56 verbose #87594 > │ #endif │
00:29:56 verbose #87595 > │ │
00:29:56 verbose #87596 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87597 > │ let v416 : bool = null |> unbox<bool> │
00:29:56 verbose #87598 > │ v416 │
00:29:56 verbose #87599 > │ #endif │
00:29:56 verbose #87600 > │ │
00:29:56 verbose #87601 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87602 > │ let v417 : bool = null |> unbox<bool> │
00:29:56 verbose #87603 > │ v417 │
00:29:56 verbose #87604 > │ #endif │
00:29:56 verbose #87605 > │ │
00:29:56 verbose #87606 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87607 > │ let v418 : bool = null |> unbox<bool> │
00:29:56 verbose #87608 > │ v418 │
00:29:56 verbose #87609 > │ #endif │
00:29:56 verbose #87610 > │ │
00:29:56 verbose #87611 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87612 > │ let v419 : bool = null |> unbox<bool> │
00:29:56 verbose #87613 > │ v419 │
00:29:56 verbose #87614 > │ #endif │
00:29:56 verbose #87615 > │ │
00:29:56 verbose #87616 > │ #else │
00:29:56 verbose #87617 > │ let v420 : bool = v412.Exists │
00:29:56 verbose #87618 > │ v420 │
00:29:56 verbose #87619 > │ #endif │
00:29:56 verbose #87620 > │ |> fun x -> _v413 <- Some x │
00:29:56 verbose #87621 > │ let v421 : bool = _v413.Value │
00:29:56 verbose #87622 > │ let v422 : bool = v421 = false │
00:29:56 verbose #87623 > │ if v422 then │
00:29:56 verbose #87624 > │ let v423 : System.DateTime option = None │
00:29:56 verbose #87625 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:29:56 verbose #87626 > │ │
00:29:56 verbose #87627 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87628 > │ │
00:29:56 verbose #87629 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87630 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:29:56 verbose #87631 > │ v425 │
00:29:56 verbose #87632 > │ #endif │
00:29:56 verbose #87633 > │ │
00:29:56 verbose #87634 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87635 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:29:56 verbose #87636 > │ v426 │
00:29:56 verbose #87637 > │ #endif │
00:29:56 verbose #87638 > │ │
00:29:56 verbose #87639 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87640 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:29:56 verbose #87641 > │ v427 │
00:29:56 verbose #87642 > │ #endif │
00:29:56 verbose #87643 > │ │
00:29:56 verbose #87644 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87645 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:29:56 verbose #87646 > │ v428 │
00:29:56 verbose #87647 > │ #endif │
00:29:56 verbose #87648 > │ │
00:29:56 verbose #87649 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87650 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:29:56 verbose #87651 > │ v429 │
00:29:56 verbose #87652 > │ #endif │
00:29:56 verbose #87653 > │ │
00:29:56 verbose #87654 > │ #else │
00:29:56 verbose #87655 > │ let v430 : System.DateTime = v412.CreationTime │
00:29:56 verbose #87656 > │ v430 │
00:29:56 verbose #87657 > │ #endif │
00:29:56 verbose #87658 > │ |> fun x -> _v423 <- Some x │
00:29:56 verbose #87659 > │ let v431 : System.DateTime = _v423.Value │
00:29:56 verbose #87660 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:29:56 verbose #87661 > │ let v433 : string = $"%A{v432}" │
00:29:56 verbose #87662 > │ let v434 : US3 = US3_1 │
00:29:56 verbose #87663 > │ let v435 : (unit -> string) = closure14() │
00:29:56 verbose #87664 > │ let v436 : (unit -> string) = closure15(v369, v433) │
00:29:56 verbose #87665 > │ method12(v434, v435, v436) │
00:29:56 verbose #87666 > │ let v437 : System.IDisposable option = None │
00:29:56 verbose #87667 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:29:56 verbose #87668 > │ │
00:29:56 verbose #87669 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87670 > │ │
00:29:56 verbose #87671 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87672 > │ let v439 : (unit -> unit) = closure16(v369) │
00:29:56 verbose #87673 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:29:56 verbose #87674 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:56 verbose #87675 > │ v440 │
00:29:56 verbose #87676 > │ #endif │
00:29:56 verbose #87677 > │ │
00:29:56 verbose #87678 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87679 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:29:56 verbose #87680 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:56 verbose #87681 > │ v441 │
00:29:56 verbose #87682 > │ #endif │
00:29:56 verbose #87683 > │ │
00:29:56 verbose #87684 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87685 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:29:56 verbose #87686 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:29:56 verbose #87687 > │ v442 │
00:29:56 verbose #87688 > │ #endif │
00:29:56 verbose #87689 > │ │
00:29:56 verbose #87690 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87691 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87692 > │ v443 │
00:29:56 verbose #87693 > │ #endif │
00:29:56 verbose #87694 > │ │
00:29:56 verbose #87695 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87696 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:29:56 verbose #87697 > │ v444 │
00:29:56 verbose #87698 > │ #endif │
00:29:56 verbose #87699 > │ │
00:29:56 verbose #87700 > │ #else │
00:29:56 verbose #87701 > │ let v445 : (unit -> unit) = method21(v369) │
00:29:56 verbose #87702 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:29:56 verbose #87703 > │ _.Dispose () = v445 () } │
00:29:56 verbose #87704 > │ v446 │
00:29:56 verbose #87705 > │ #endif │
00:29:56 verbose #87706 > │ |> fun x -> _v437 <- Some x │
00:29:56 verbose #87707 > │ let v447 : System.IDisposable = _v437.Value │
00:29:56 verbose #87708 > │ v447 │
00:29:56 verbose #87709 > │ #endif │
00:29:56 verbose #87710 > │ |> fun x -> _v370 <- Some x │
00:29:56 verbose #87711 > │ let v448 : System.IDisposable = _v370.Value │
00:29:56 verbose #87712 > │ use v448 = v448 │
00:29:56 verbose #87713 > │ let v449 : System.IDisposable = v448 │
00:29:56 verbose #87714 > │ let v450 : string = "test.txt" │
00:29:56 verbose #87715 > │ let v451 : string = method1(v369, v450) │
00:29:56 verbose #87716 > │ let v452 : string = "test2.txt" │
00:29:56 verbose #87717 > │ let v453 : string = method1(v369, v452) │
00:29:56 verbose #87718 > │ let v454 : Async<struct (int64 * int64 * string)> option = None │
00:29:56 verbose #87719 > │ let v455 : bool = true in let mutable _v454 = v454 │
00:29:56 verbose #87720 > │ │
00:29:56 verbose #87721 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87722 > │ │
00:29:56 verbose #87723 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87724 > │ let v456 : Async<struct (int64 * int64 * string)> = null |> │
00:29:56 verbose #87725 > │ unbox<Async<struct (int64 * int64 * string)>> │
00:29:56 verbose #87726 > │ v456 │
00:29:56 verbose #87727 > │ #endif │
00:29:56 verbose #87728 > │ │
00:29:56 verbose #87729 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87730 > │ let v457 : Async<struct (int64 * int64 * string)> = null |> │
00:29:56 verbose #87731 > │ unbox<Async<struct (int64 * int64 * string)>> │
00:29:56 verbose #87732 > │ v457 │
00:29:56 verbose #87733 > │ #endif │
00:29:56 verbose #87734 > │ │
00:29:56 verbose #87735 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87736 > │ let v458 : Async<struct (int64 * int64 * string)> = null |> │
00:29:56 verbose #87737 > │ unbox<Async<struct (int64 * int64 * string)>> │
00:29:56 verbose #87738 > │ v458 │
00:29:56 verbose #87739 > │ #endif │
00:29:56 verbose #87740 > │ │
00:29:56 verbose #87741 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87742 > │ let v459 : Async<struct (int64 * int64 * string)> = null |> │
00:29:56 verbose #87743 > │ unbox<Async<struct (int64 * int64 * string)>> │
00:29:56 verbose #87744 > │ v459 │
00:29:56 verbose #87745 > │ #endif │
00:29:56 verbose #87746 > │ │
00:29:56 verbose #87747 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87748 > │ let v460 : Async<struct (int64 * int64 * string)> = null |> │
00:29:56 verbose #87749 > │ unbox<Async<struct (int64 * int64 * string)>> │
00:29:56 verbose #87750 > │ v460 │
00:29:56 verbose #87751 > │ #endif │
00:29:56 verbose #87752 > │ │
00:29:56 verbose #87753 > │ #else │
00:29:56 verbose #87754 > │ let v461 : Async<struct (int64 * int64 * string)> option = None │
00:29:56 verbose #87755 > │ let mutable _v461 = v461 │
00:29:56 verbose #87756 > │ async { │
00:29:56 verbose #87757 > │ let v462 : US3 = US3_1 │
00:29:56 verbose #87758 > │ let v463 : (unit -> string) = closure20() │
00:29:56 verbose #87759 > │ let v464 : (unit -> string) = closure6() │
00:29:56 verbose #87760 > │ method12(v462, v463, v464) │
00:29:56 verbose #87761 > │ let v465 : Async<unit> option = None │
00:29:56 verbose #87762 > │ let v466 : bool = true in let mutable _v465 = v465 │
00:29:56 verbose #87763 > │ │
00:29:56 verbose #87764 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87765 > │ │
00:29:56 verbose #87766 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87767 > │ let v467 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87768 > │ v467 │
00:29:56 verbose #87769 > │ #endif │
00:29:56 verbose #87770 > │ │
00:29:56 verbose #87771 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87772 > │ let v468 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87773 > │ v468 │
00:29:56 verbose #87774 > │ #endif │
00:29:56 verbose #87775 > │ │
00:29:56 verbose #87776 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87777 > │ let v469 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87778 > │ v469 │
00:29:56 verbose #87779 > │ #endif │
00:29:56 verbose #87780 > │ │
00:29:56 verbose #87781 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87782 > │ let v470 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87783 > │ v470 │
00:29:56 verbose #87784 > │ #endif │
00:29:56 verbose #87785 > │ │
00:29:56 verbose #87786 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87787 > │ let v471 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87788 > │ v471 │
00:29:56 verbose #87789 > │ #endif │
00:29:56 verbose #87790 > │ │
00:29:56 verbose #87791 > │ #else │
00:29:56 verbose #87792 > │ let v472 : string = "0" │
00:29:56 verbose #87793 > │ let v473 : System.Threading.Tasks.Task = │
00:29:56 verbose #87794 > │ System.IO.File.WriteAllTextAsync (v451, v472) │
00:29:56 verbose #87795 > │ let v474 : Async<unit> option = None │
00:29:56 verbose #87796 > │ let v475 : bool = true in let mutable _v474 = v474 │
00:29:56 verbose #87797 > │ │
00:29:56 verbose #87798 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87799 > │ │
00:29:56 verbose #87800 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87801 > │ let v476 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87802 > │ v476 │
00:29:56 verbose #87803 > │ #endif │
00:29:56 verbose #87804 > │ │
00:29:56 verbose #87805 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87806 > │ let v477 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87807 > │ v477 │
00:29:56 verbose #87808 > │ #endif │
00:29:56 verbose #87809 > │ │
00:29:56 verbose #87810 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87811 > │ let v478 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87812 > │ v478 │
00:29:56 verbose #87813 > │ #endif │
00:29:56 verbose #87814 > │ │
00:29:56 verbose #87815 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87816 > │ let v479 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87817 > │ v479 │
00:29:56 verbose #87818 > │ #endif │
00:29:56 verbose #87819 > │ │
00:29:56 verbose #87820 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87821 > │ let v480 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87822 > │ v480 │
00:29:56 verbose #87823 > │ #endif │
00:29:56 verbose #87824 > │ │
00:29:56 verbose #87825 > │ #else │
00:29:56 verbose #87826 > │ let v481 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:29:56 verbose #87827 > │ Async.AwaitTask │
00:29:56 verbose #87828 > │ let v482 : Async<unit> = v481 v473 │
00:29:56 verbose #87829 > │ v482 │
00:29:56 verbose #87830 > │ #endif │
00:29:56 verbose #87831 > │ |> fun x -> _v474 <- Some x │
00:29:56 verbose #87832 > │ let v483 : Async<unit> = _v474.Value │
00:29:56 verbose #87833 > │ v483 │
00:29:56 verbose #87834 > │ #endif │
00:29:56 verbose #87835 > │ |> fun x -> _v465 <- Some x │
00:29:56 verbose #87836 > │ let v484 : Async<unit> = _v465.Value │
00:29:56 verbose #87837 > │ do! v484 │
00:29:56 verbose #87838 > │ let v485 : US3 = US3_1 │
00:29:56 verbose #87839 > │ let v486 : (unit -> string) = closure21() │
00:29:56 verbose #87840 > │ method12(v485, v486, v464) │
00:29:56 verbose #87841 > │ let v487 : Async<unit> option = None │
00:29:56 verbose #87842 > │ let v488 : bool = true in let mutable _v487 = v487 │
00:29:56 verbose #87843 > │ │
00:29:56 verbose #87844 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87845 > │ │
00:29:56 verbose #87846 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87847 > │ let v489 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87848 > │ v489 │
00:29:56 verbose #87849 > │ #endif │
00:29:56 verbose #87850 > │ │
00:29:56 verbose #87851 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87852 > │ let v490 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87853 > │ v490 │
00:29:56 verbose #87854 > │ #endif │
00:29:56 verbose #87855 > │ │
00:29:56 verbose #87856 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87857 > │ let v491 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87858 > │ v491 │
00:29:56 verbose #87859 > │ #endif │
00:29:56 verbose #87860 > │ │
00:29:56 verbose #87861 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87862 > │ let v492 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87863 > │ v492 │
00:29:56 verbose #87864 > │ #endif │
00:29:56 verbose #87865 > │ │
00:29:56 verbose #87866 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87867 > │ let v493 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87868 > │ v493 │
00:29:56 verbose #87869 > │ #endif │
00:29:56 verbose #87870 > │ │
00:29:56 verbose #87871 > │ #else │
00:29:56 verbose #87872 > │ let v494 : Async<unit> option = None │
00:29:56 verbose #87873 > │ let mutable _v494 = v494 │
00:29:56 verbose #87874 > │ async { │
00:29:56 verbose #87875 > │ let v495 : US3 = US3_1 │
00:29:56 verbose #87876 > │ let v496 : (unit -> string) = closure22() │
00:29:56 verbose #87877 > │ method12(v495, v496, v464) │
00:29:56 verbose #87878 > │ let v497 : System.IO.FileStream option = None │
00:29:56 verbose #87879 > │ let v498 : bool = true in let mutable _v497 = v497 │
00:29:56 verbose #87880 > │ │
00:29:56 verbose #87881 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87882 > │ │
00:29:56 verbose #87883 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87884 > │ let v499 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:56 verbose #87885 > │ v499 │
00:29:56 verbose #87886 > │ #endif │
00:29:56 verbose #87887 > │ │
00:29:56 verbose #87888 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87889 > │ let v500 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:56 verbose #87890 > │ v500 │
00:29:56 verbose #87891 > │ #endif │
00:29:56 verbose #87892 > │ │
00:29:56 verbose #87893 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87894 > │ let v501 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:56 verbose #87895 > │ v501 │
00:29:56 verbose #87896 > │ #endif │
00:29:56 verbose #87897 > │ │
00:29:56 verbose #87898 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87899 > │ let v502 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:56 verbose #87900 > │ v502 │
00:29:56 verbose #87901 > │ #endif │
00:29:56 verbose #87902 > │ │
00:29:56 verbose #87903 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87904 > │ let v503 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:29:56 verbose #87905 > │ v503 │
00:29:56 verbose #87906 > │ #endif │
00:29:56 verbose #87907 > │ │
00:29:56 verbose #87908 > │ #else │
00:29:56 verbose #87909 > │ let v504 : System.IO.FileMode = System.IO.FileMode.Open │
00:29:56 verbose #87910 > │ let v505 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:29:56 verbose #87911 > │ let v506 : System.IO.FileShare = System.IO.FileShare.None │
00:29:56 verbose #87912 > │ let v507 : System.IO.FileStream = new System.IO.FileStream (v451, v504, │
00:29:56 verbose #87913 > │ v505, v506) │
00:29:56 verbose #87914 > │ v507 │
00:29:56 verbose #87915 > │ #endif │
00:29:56 verbose #87916 > │ |> fun x -> _v497 <- Some x │
00:29:56 verbose #87917 > │ let v508 : System.IO.FileStream = _v497.Value │
00:29:56 verbose #87918 > │ use v508 = v508 │
00:29:56 verbose #87919 > │ let v509 : System.IO.FileStream = v508 │
00:29:56 verbose #87920 > │ let v510 : US3 = US3_1 │
00:29:56 verbose #87921 > │ let v511 : (unit -> string) = closure23() │
00:29:56 verbose #87922 > │ method12(v510, v511, v464) │
00:29:56 verbose #87923 > │ let v512 : Async<unit> option = None │
00:29:56 verbose #87924 > │ let v513 : bool = true in let mutable _v512 = v512 │
00:29:56 verbose #87925 > │ │
00:29:56 verbose #87926 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87927 > │ │
00:29:56 verbose #87928 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87929 > │ let v514 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87930 > │ v514 │
00:29:56 verbose #87931 > │ #endif │
00:29:56 verbose #87932 > │ │
00:29:56 verbose #87933 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87934 > │ let v515 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87935 > │ v515 │
00:29:56 verbose #87936 > │ #endif │
00:29:56 verbose #87937 > │ │
00:29:56 verbose #87938 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87939 > │ let v516 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87940 > │ v516 │
00:29:56 verbose #87941 > │ #endif │
00:29:56 verbose #87942 > │ │
00:29:56 verbose #87943 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87944 > │ let v517 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87945 > │ v517 │
00:29:56 verbose #87946 > │ #endif │
00:29:56 verbose #87947 > │ │
00:29:56 verbose #87948 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87949 > │ let v518 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #87950 > │ v518 │
00:29:56 verbose #87951 > │ #endif │
00:29:56 verbose #87952 > │ │
00:29:56 verbose #87953 > │ #else │
00:29:56 verbose #87954 > │ let v519 : (int32 -> Async<unit>) = Async.Sleep │
00:29:56 verbose #87955 > │ let v520 : Async<unit> = v519 2000 │
00:29:56 verbose #87956 > │ v520 │
00:29:56 verbose #87957 > │ #endif │
00:29:56 verbose #87958 > │ |> fun x -> _v512 <- Some x │
00:29:56 verbose #87959 > │ let v521 : Async<unit> = _v512.Value │
00:29:56 verbose #87960 > │ do! v521 │
00:29:56 verbose #87961 > │ let v522 : US3 = US3_1 │
00:29:56 verbose #87962 > │ let v523 : (unit -> string) = closure24() │
00:29:56 verbose #87963 > │ method12(v522, v523, v464) │
00:29:56 verbose #87964 > │ } │
00:29:56 verbose #87965 > │ |> fun x -> _v494 <- Some x │
00:29:56 verbose #87966 > │ let v524 : Async<unit> = _v494 |> Option.get │
00:29:56 verbose #87967 > │ v524 │
00:29:56 verbose #87968 > │ #endif │
00:29:56 verbose #87969 > │ |> fun x -> _v487 <- Some x │
00:29:56 verbose #87970 > │ let v525 : Async<unit> = _v487.Value │
00:29:56 verbose #87971 > │ let v526 : Async<Async<unit>> option = None │
00:29:56 verbose #87972 > │ let v527 : bool = true in let mutable _v526 = v526 │
00:29:56 verbose #87973 > │ │
00:29:56 verbose #87974 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #87975 > │ │
00:29:56 verbose #87976 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #87977 > │ let v528 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:56 verbose #87978 > │ v528 │
00:29:56 verbose #87979 > │ #endif │
00:29:56 verbose #87980 > │ │
00:29:56 verbose #87981 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #87982 > │ let v529 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:56 verbose #87983 > │ v529 │
00:29:56 verbose #87984 > │ #endif │
00:29:56 verbose #87985 > │ │
00:29:56 verbose #87986 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #87987 > │ let v530 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:56 verbose #87988 > │ v530 │
00:29:56 verbose #87989 > │ #endif │
00:29:56 verbose #87990 > │ │
00:29:56 verbose #87991 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #87992 > │ let v531 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:56 verbose #87993 > │ v531 │
00:29:56 verbose #87994 > │ #endif │
00:29:56 verbose #87995 > │ │
00:29:56 verbose #87996 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #87997 > │ let v532 : Async<Async<unit>> = null |> unbox<Async<Async<unit>>> │
00:29:56 verbose #87998 > │ v532 │
00:29:56 verbose #87999 > │ #endif │
00:29:56 verbose #88000 > │ │
00:29:56 verbose #88001 > │ #else │
00:29:56 verbose #88002 > │ let v533 : (Async<unit> -> Async<Async<unit>>) = Async.StartChild │
00:29:56 verbose #88003 > │ let v534 : Async<Async<unit>> = v533 v525 │
00:29:56 verbose #88004 > │ v534 │
00:29:56 verbose #88005 > │ #endif │
00:29:56 verbose #88006 > │ |> fun x -> _v526 <- Some x │
00:29:56 verbose #88007 > │ let v535 : Async<Async<unit>> = _v526.Value │
00:29:56 verbose #88008 > │ let! v535 = v535 │
00:29:56 verbose #88009 > │ let v536 : Async<unit> = v535 │
00:29:56 verbose #88010 > │ let v537 : US3 = US3_1 │
00:29:56 verbose #88011 > │ let v538 : (unit -> string) = closure25() │
00:29:56 verbose #88012 > │ method12(v537, v538, v464) │
00:29:56 verbose #88013 > │ let v539 : Async<unit> option = None │
00:29:56 verbose #88014 > │ let v540 : bool = true in let mutable _v539 = v539 │
00:29:56 verbose #88015 > │ │
00:29:56 verbose #88016 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88017 > │ │
00:29:56 verbose #88018 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88019 > │ let v541 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #88020 > │ v541 │
00:29:56 verbose #88021 > │ #endif │
00:29:56 verbose #88022 > │ │
00:29:56 verbose #88023 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88024 > │ let v542 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #88025 > │ v542 │
00:29:56 verbose #88026 > │ #endif │
00:29:56 verbose #88027 > │ │
00:29:56 verbose #88028 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88029 > │ let v543 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #88030 > │ v543 │
00:29:56 verbose #88031 > │ #endif │
00:29:56 verbose #88032 > │ │
00:29:56 verbose #88033 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88034 > │ let v544 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #88035 > │ v544 │
00:29:56 verbose #88036 > │ #endif │
00:29:56 verbose #88037 > │ │
00:29:56 verbose #88038 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88039 > │ let v545 : Async<unit> = null |> unbox<Async<unit>> │
00:29:56 verbose #88040 > │ v545 │
00:29:56 verbose #88041 > │ #endif │
00:29:56 verbose #88042 > │ │
00:29:56 verbose #88043 > │ #else │
00:29:56 verbose #88044 > │ let v546 : (int32 -> Async<unit>) = Async.Sleep │
00:29:56 verbose #88045 > │ let v547 : Async<unit> = v546 1 │
00:29:56 verbose #88046 > │ v547 │
00:29:56 verbose #88047 > │ #endif │
00:29:56 verbose #88048 > │ |> fun x -> _v539 <- Some x │
00:29:56 verbose #88049 > │ let v548 : Async<unit> = _v539.Value │
00:29:56 verbose #88050 > │ do! v548 │
00:29:56 verbose #88051 > │ let v549 : US3 = US3_1 │
00:29:56 verbose #88052 > │ let v550 : (unit -> string) = closure26() │
00:29:56 verbose #88053 > │ method12(v549, v550, v464) │
00:29:56 verbose #88054 > │ let v551 : Async<int64> option = None │
00:29:56 verbose #88055 > │ let v552 : bool = true in let mutable _v551 = v551 │
00:29:56 verbose #88056 > │ │
00:29:56 verbose #88057 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88058 > │ │
00:29:56 verbose #88059 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88060 > │ let v553 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88061 > │ v553 │
00:29:56 verbose #88062 > │ #endif │
00:29:56 verbose #88063 > │ │
00:29:56 verbose #88064 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88065 > │ let v554 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88066 > │ v554 │
00:29:56 verbose #88067 > │ #endif │
00:29:56 verbose #88068 > │ │
00:29:56 verbose #88069 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88070 > │ let v555 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88071 > │ v555 │
00:29:56 verbose #88072 > │ #endif │
00:29:56 verbose #88073 > │ │
00:29:56 verbose #88074 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88075 > │ let v556 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88076 > │ v556 │
00:29:56 verbose #88077 > │ #endif │
00:29:56 verbose #88078 > │ │
00:29:56 verbose #88079 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88080 > │ let v557 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88081 > │ v557 │
00:29:56 verbose #88082 > │ #endif │
00:29:56 verbose #88083 > │ │
00:29:56 verbose #88084 > │ #else │
00:29:56 verbose #88085 > │ let v558 : int64 = 0L │
00:29:56 verbose #88086 > │ let v559 : Async<int64> = method22(v453, v451, v558) │
00:29:56 verbose #88087 > │ v559 │
00:29:56 verbose #88088 > │ #endif │
00:29:56 verbose #88089 > │ |> fun x -> _v551 <- Some x │
00:29:56 verbose #88090 > │ let v560 : Async<int64> = _v551.Value │
00:29:56 verbose #88091 > │ let! v560 = v560 │
00:29:56 verbose #88092 > │ let v561 : int64 = v560 │
00:29:56 verbose #88093 > │ let v562 : US3 = US3_1 │
00:29:56 verbose #88094 > │ let v563 : (unit -> string) = closure29() │
00:29:56 verbose #88095 > │ method12(v562, v563, v464) │
00:29:56 verbose #88096 > │ let v564 : Async<int64> option = None │
00:29:56 verbose #88097 > │ let v565 : bool = true in let mutable _v564 = v564 │
00:29:56 verbose #88098 > │ │
00:29:56 verbose #88099 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88100 > │ │
00:29:56 verbose #88101 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88102 > │ let v566 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88103 > │ v566 │
00:29:56 verbose #88104 > │ #endif │
00:29:56 verbose #88105 > │ │
00:29:56 verbose #88106 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88107 > │ let v567 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88108 > │ v567 │
00:29:56 verbose #88109 > │ #endif │
00:29:56 verbose #88110 > │ │
00:29:56 verbose #88111 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88112 > │ let v568 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88113 > │ v568 │
00:29:56 verbose #88114 > │ #endif │
00:29:56 verbose #88115 > │ │
00:29:56 verbose #88116 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88117 > │ let v569 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88118 > │ v569 │
00:29:56 verbose #88119 > │ #endif │
00:29:56 verbose #88120 > │ │
00:29:56 verbose #88121 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88122 > │ let v570 : Async<int64> = null |> unbox<Async<int64>> │
00:29:56 verbose #88123 > │ v570 │
00:29:56 verbose #88124 > │ #endif │
00:29:56 verbose #88125 > │ │
00:29:56 verbose #88126 > │ #else │
00:29:56 verbose #88127 > │ let v571 : int64 = 0L │
00:29:56 verbose #88128 > │ let v572 : Async<int64> = method23(v453, v571) │
00:29:56 verbose #88129 > │ v572 │
00:29:56 verbose #88130 > │ #endif │
00:29:56 verbose #88131 > │ |> fun x -> _v564 <- Some x │
00:29:56 verbose #88132 > │ let v573 : Async<int64> = _v564.Value │
00:29:56 verbose #88133 > │ let! v573 = v573 │
00:29:56 verbose #88134 > │ let v574 : int64 = v573 │
00:29:56 verbose #88135 > │ let v575 : US3 = US3_1 │
00:29:56 verbose #88136 > │ let v576 : (unit -> string) = closure32() │
00:29:56 verbose #88137 > │ method12(v575, v576, v464) │
00:29:56 verbose #88138 > │ let v577 : Async<string> option = None │
00:29:56 verbose #88139 > │ let v578 : bool = true in let mutable _v577 = v577 │
00:29:56 verbose #88140 > │ │
00:29:56 verbose #88141 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88142 > │ │
00:29:56 verbose #88143 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88144 > │ let v579 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88145 > │ v579 │
00:29:56 verbose #88146 > │ #endif │
00:29:56 verbose #88147 > │ │
00:29:56 verbose #88148 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88149 > │ let v580 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88150 > │ v580 │
00:29:56 verbose #88151 > │ #endif │
00:29:56 verbose #88152 > │ │
00:29:56 verbose #88153 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88154 > │ let v581 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88155 > │ v581 │
00:29:56 verbose #88156 > │ #endif │
00:29:56 verbose #88157 > │ │
00:29:56 verbose #88158 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88159 > │ let v582 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88160 > │ v582 │
00:29:56 verbose #88161 > │ #endif │
00:29:56 verbose #88162 > │ │
00:29:56 verbose #88163 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88164 > │ let v583 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88165 > │ v583 │
00:29:56 verbose #88166 > │ #endif │
00:29:56 verbose #88167 > │ │
00:29:56 verbose #88168 > │ #else │
00:29:56 verbose #88169 > │ let v584 : (string -> System.Threading.Tasks.Task<string>) = │
00:29:56 verbose #88170 > │ System.IO.File.ReadAllTextAsync │
00:29:56 verbose #88171 > │ let v585 : System.Threading.Tasks.Task<string> = v584 v453 │
00:29:56 verbose #88172 > │ let v586 : Async<string> option = None │
00:29:56 verbose #88173 > │ let v587 : bool = true in let mutable _v586 = v586 │
00:29:56 verbose #88174 > │ │
00:29:56 verbose #88175 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88176 > │ │
00:29:56 verbose #88177 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88178 > │ let v588 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88179 > │ v588 │
00:29:56 verbose #88180 > │ #endif │
00:29:56 verbose #88181 > │ │
00:29:56 verbose #88182 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88183 > │ let v589 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88184 > │ v589 │
00:29:56 verbose #88185 > │ #endif │
00:29:56 verbose #88186 > │ │
00:29:56 verbose #88187 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88188 > │ let v590 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88189 > │ v590 │
00:29:56 verbose #88190 > │ #endif │
00:29:56 verbose #88191 > │ │
00:29:56 verbose #88192 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88193 > │ let v591 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88194 > │ v591 │
00:29:56 verbose #88195 > │ #endif │
00:29:56 verbose #88196 > │ │
00:29:56 verbose #88197 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88198 > │ let v592 : Async<string> = null |> unbox<Async<string>> │
00:29:56 verbose #88199 > │ v592 │
00:29:56 verbose #88200 > │ #endif │
00:29:56 verbose #88201 > │ │
00:29:56 verbose #88202 > │ #else │
00:29:56 verbose #88203 > │ let v593 : (System.Threading.Tasks.Task<string> -> Async<string>) = │
00:29:56 verbose #88204 > │ Async.AwaitTask │
00:29:56 verbose #88205 > │ let v594 : Async<string> = v593 v585 │
00:29:56 verbose #88206 > │ v594 │
00:29:56 verbose #88207 > │ #endif │
00:29:56 verbose #88208 > │ |> fun x -> _v586 <- Some x │
00:29:56 verbose #88209 > │ let v595 : Async<string> = _v586.Value │
00:29:56 verbose #88210 > │ v595 │
00:29:56 verbose #88211 > │ #endif │
00:29:56 verbose #88212 > │ |> fun x -> _v577 <- Some x │
00:29:56 verbose #88213 > │ let v596 : Async<string> = _v577.Value │
00:29:56 verbose #88214 > │ let! v596 = v596 │
00:29:56 verbose #88215 > │ let v597 : string = v596 │
00:29:56 verbose #88216 > │ let v598 : US3 = US3_1 │
00:29:56 verbose #88217 > │ let v599 : (unit -> string) = closure33() │
00:29:56 verbose #88218 > │ method12(v598, v599, v464) │
00:29:56 verbose #88219 > │ do! v536 │
00:29:56 verbose #88220 > │ let v600 : US3 = US3_1 │
00:29:56 verbose #88221 > │ let v601 : (unit -> string) = closure34() │
00:29:56 verbose #88222 > │ method12(v600, v601, v464) │
00:29:56 verbose #88223 > │ return struct (v561, v574, v597) │
00:29:56 verbose #88224 > │ } │
00:29:56 verbose #88225 > │ |> fun x -> _v461 <- Some x │
00:29:56 verbose #88226 > │ let v602 : Async<struct (int64 * int64 * string)> = _v461 |> Option.get │
00:29:56 verbose #88227 > │ v602 │
00:29:56 verbose #88228 > │ #endif │
00:29:56 verbose #88229 > │ |> fun x -> _v454 <- Some x │
00:29:56 verbose #88230 > │ let v603 : Async<struct (int64 * int64 * string)> = _v454.Value │
00:29:56 verbose #88231 > │ let v604 : Async<US6> option = None │
00:29:56 verbose #88232 > │ let v605 : bool = true in let mutable _v604 = v604 │
00:29:56 verbose #88233 > │ │
00:29:56 verbose #88234 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88235 > │ │
00:29:56 verbose #88236 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88237 > │ let v606 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88238 > │ v606 │
00:29:56 verbose #88239 > │ #endif │
00:29:56 verbose #88240 > │ │
00:29:56 verbose #88241 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88242 > │ let v607 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88243 > │ v607 │
00:29:56 verbose #88244 > │ #endif │
00:29:56 verbose #88245 > │ │
00:29:56 verbose #88246 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88247 > │ let v608 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88248 > │ v608 │
00:29:56 verbose #88249 > │ #endif │
00:29:56 verbose #88250 > │ │
00:29:56 verbose #88251 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88252 > │ let v609 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88253 > │ v609 │
00:29:56 verbose #88254 > │ #endif │
00:29:56 verbose #88255 > │ │
00:29:56 verbose #88256 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88257 > │ let v610 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88258 > │ v610 │
00:29:56 verbose #88259 > │ #endif │
00:29:56 verbose #88260 > │ │
00:29:56 verbose #88261 > │ #else │
00:29:56 verbose #88262 > │ let v611 : Async<US6> option = None │
00:29:56 verbose #88263 > │ let v612 : bool = true in let mutable _v611 = v611 │
00:29:56 verbose #88264 > │ │
00:29:56 verbose #88265 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88266 > │ │
00:29:56 verbose #88267 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88268 > │ let v613 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88269 > │ v613 │
00:29:56 verbose #88270 > │ #endif │
00:29:56 verbose #88271 > │ │
00:29:56 verbose #88272 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88273 > │ let v614 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88274 > │ v614 │
00:29:56 verbose #88275 > │ #endif │
00:29:56 verbose #88276 > │ │
00:29:56 verbose #88277 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88278 > │ let v615 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88279 > │ v615 │
00:29:56 verbose #88280 > │ #endif │
00:29:56 verbose #88281 > │ │
00:29:56 verbose #88282 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88283 > │ let v616 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88284 > │ v616 │
00:29:56 verbose #88285 > │ #endif │
00:29:56 verbose #88286 > │ │
00:29:56 verbose #88287 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88288 > │ let v617 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88289 > │ v617 │
00:29:56 verbose #88290 > │ #endif │
00:29:56 verbose #88291 > │ │
00:29:56 verbose #88292 > │ #else │
00:29:56 verbose #88293 > │ let v618 : Async<US6> option = None │
00:29:56 verbose #88294 > │ let mutable _v618 = v618 │
00:29:56 verbose #88295 > │ async { │
00:29:56 verbose #88296 > │ let v619 : Async<Async<struct (int64 * int64 * string)>> option = None │
00:29:56 verbose #88297 > │ let v620 : bool = true in let mutable _v619 = v619 │
00:29:56 verbose #88298 > │ │
00:29:56 verbose #88299 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88300 > │ │
00:29:56 verbose #88301 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88302 > │ let v621 : Async<Async<struct (int64 * int64 * string)>> = null |> │
00:29:56 verbose #88303 > │ unbox<Async<Async<struct (int64 * int64 * string)>>> │
00:29:56 verbose #88304 > │ v621 │
00:29:56 verbose #88305 > │ #endif │
00:29:56 verbose #88306 > │ │
00:29:56 verbose #88307 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88308 > │ let v622 : Async<Async<struct (int64 * int64 * string)>> = null |> │
00:29:56 verbose #88309 > │ unbox<Async<Async<struct (int64 * int64 * string)>>> │
00:29:56 verbose #88310 > │ v622 │
00:29:56 verbose #88311 > │ #endif │
00:29:56 verbose #88312 > │ │
00:29:56 verbose #88313 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88314 > │ let v623 : Async<Async<struct (int64 * int64 * string)>> = null |> │
00:29:56 verbose #88315 > │ unbox<Async<Async<struct (int64 * int64 * string)>>> │
00:29:56 verbose #88316 > │ v623 │
00:29:56 verbose #88317 > │ #endif │
00:29:56 verbose #88318 > │ │
00:29:56 verbose #88319 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88320 > │ let v624 : Async<Async<struct (int64 * int64 * string)>> = null |> │
00:29:56 verbose #88321 > │ unbox<Async<Async<struct (int64 * int64 * string)>>> │
00:29:56 verbose #88322 > │ v624 │
00:29:56 verbose #88323 > │ #endif │
00:29:56 verbose #88324 > │ │
00:29:56 verbose #88325 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88326 > │ let v625 : Async<Async<struct (int64 * int64 * string)>> = null |> │
00:29:56 verbose #88327 > │ unbox<Async<Async<struct (int64 * int64 * string)>>> │
00:29:56 verbose #88328 > │ v625 │
00:29:56 verbose #88329 > │ #endif │
00:29:56 verbose #88330 > │ │
00:29:56 verbose #88331 > │ #else │
00:29:56 verbose #88332 > │ let v626 : Async<Async<struct (int64 * int64 * string)>> = │
00:29:56 verbose #88333 > │ Async.StartChild (v603, 3000) │
00:29:56 verbose #88334 > │ v626 │
00:29:56 verbose #88335 > │ #endif │
00:29:56 verbose #88336 > │ |> fun x -> _v619 <- Some x │
00:29:56 verbose #88337 > │ let v627 : Async<Async<struct (int64 * int64 * string)>> = _v619.Value │
00:29:56 verbose #88338 > │ let! v627 = v627 │
00:29:56 verbose #88339 > │ let v628 : Async<struct (int64 * int64 * string)> = v627 │
00:29:56 verbose #88340 > │ let v629 : Async<Choice<struct (int64 * int64 * string), exn>> option = │
00:29:56 verbose #88341 > │ None │
00:29:56 verbose #88342 > │ let v630 : bool = true in let mutable _v629 = v629 │
00:29:56 verbose #88343 > │ │
00:29:56 verbose #88344 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88345 > │ │
00:29:56 verbose #88346 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88347 > │ let v631 : Async<Choice<struct (int64 * int64 * string), exn>> = null |> │
00:29:56 verbose #88348 > │ unbox<Async<Choice<struct (int64 * int64 * string), exn>>> │
00:29:56 verbose #88349 > │ v631 │
00:29:56 verbose #88350 > │ #endif │
00:29:56 verbose #88351 > │ │
00:29:56 verbose #88352 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88353 > │ let v632 : Async<Choice<struct (int64 * int64 * string), exn>> = null |> │
00:29:56 verbose #88354 > │ unbox<Async<Choice<struct (int64 * int64 * string), exn>>> │
00:29:56 verbose #88355 > │ v632 │
00:29:56 verbose #88356 > │ #endif │
00:29:56 verbose #88357 > │ │
00:29:56 verbose #88358 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88359 > │ let v633 : Async<Choice<struct (int64 * int64 * string), exn>> = null |> │
00:29:56 verbose #88360 > │ unbox<Async<Choice<struct (int64 * int64 * string), exn>>> │
00:29:56 verbose #88361 > │ v633 │
00:29:56 verbose #88362 > │ #endif │
00:29:56 verbose #88363 > │ │
00:29:56 verbose #88364 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88365 > │ let v634 : Async<Choice<struct (int64 * int64 * string), exn>> = null |> │
00:29:56 verbose #88366 > │ unbox<Async<Choice<struct (int64 * int64 * string), exn>>> │
00:29:56 verbose #88367 > │ v634 │
00:29:56 verbose #88368 > │ #endif │
00:29:56 verbose #88369 > │ │
00:29:56 verbose #88370 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88371 > │ let v635 : Async<Choice<struct (int64 * int64 * string), exn>> = null |> │
00:29:56 verbose #88372 > │ unbox<Async<Choice<struct (int64 * int64 * string), exn>>> │
00:29:56 verbose #88373 > │ v635 │
00:29:56 verbose #88374 > │ #endif │
00:29:56 verbose #88375 > │ │
00:29:56 verbose #88376 > │ #else │
00:29:56 verbose #88377 > │ let v636 : (Async<struct (int64 * int64 * string)> -> │
00:29:56 verbose #88378 > │ Async<Choice<struct (int64 * int64 * string), exn>>) = Async.Catch │
00:29:56 verbose #88379 > │ let v637 : Async<Choice<struct (int64 * int64 * string), exn>> = v636 │
00:29:56 verbose #88380 > │ v628 │
00:29:56 verbose #88381 > │ v637 │
00:29:56 verbose #88382 > │ #endif │
00:29:56 verbose #88383 > │ |> fun x -> _v629 <- Some x │
00:29:56 verbose #88384 > │ let v638 : Async<Choice<struct (int64 * int64 * string), exn>> = │
00:29:56 verbose #88385 > │ _v629.Value │
00:29:56 verbose #88386 > │ let v639 : Async<US7> option = None │
00:29:56 verbose #88387 > │ let v640 : bool = true in let mutable _v639 = v639 │
00:29:56 verbose #88388 > │ │
00:29:56 verbose #88389 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88390 > │ │
00:29:56 verbose #88391 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88392 > │ let v641 : Async<US7> = null |> unbox<Async<US7>> │
00:29:56 verbose #88393 > │ v641 │
00:29:56 verbose #88394 > │ #endif │
00:29:56 verbose #88395 > │ │
00:29:56 verbose #88396 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88397 > │ let v642 : Async<US7> = null |> unbox<Async<US7>> │
00:29:56 verbose #88398 > │ v642 │
00:29:56 verbose #88399 > │ #endif │
00:29:56 verbose #88400 > │ │
00:29:56 verbose #88401 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88402 > │ let v643 : Async<US7> = null |> unbox<Async<US7>> │
00:29:56 verbose #88403 > │ v643 │
00:29:56 verbose #88404 > │ #endif │
00:29:56 verbose #88405 > │ │
00:29:56 verbose #88406 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88407 > │ let v644 : Async<US7> = null |> unbox<Async<US7>> │
00:29:56 verbose #88408 > │ v644 │
00:29:56 verbose #88409 > │ #endif │
00:29:56 verbose #88410 > │ │
00:29:56 verbose #88411 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88412 > │ let v645 : Async<US7> = null |> unbox<Async<US7>> │
00:29:56 verbose #88413 > │ v645 │
00:29:56 verbose #88414 > │ #endif │
00:29:56 verbose #88415 > │ │
00:29:56 verbose #88416 > │ #else │
00:29:56 verbose #88417 > │ let v646 : Async<US7> option = None │
00:29:56 verbose #88418 > │ let mutable _v646 = v646 │
00:29:56 verbose #88419 > │ async { │
00:29:56 verbose #88420 > │ let! v638 = v638 │
00:29:56 verbose #88421 > │ let v647 : Choice<struct (int64 * int64 * string), exn> = v638 │
00:29:56 verbose #88422 > │ let v648 : US7 option = None │
00:29:56 verbose #88423 > │ let v649 : bool = true in let mutable _v648 = v648 │
00:29:56 verbose #88424 > │ │
00:29:56 verbose #88425 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88426 > │ │
00:29:56 verbose #88427 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88428 > │ let v650 : US7 = null |> unbox<US7> │
00:29:56 verbose #88429 > │ v650 │
00:29:56 verbose #88430 > │ #endif │
00:29:56 verbose #88431 > │ │
00:29:56 verbose #88432 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88433 > │ let v651 : US7 = null |> unbox<US7> │
00:29:56 verbose #88434 > │ v651 │
00:29:56 verbose #88435 > │ #endif │
00:29:56 verbose #88436 > │ │
00:29:56 verbose #88437 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88438 > │ let v652 : US7 = null |> unbox<US7> │
00:29:56 verbose #88439 > │ v652 │
00:29:56 verbose #88440 > │ #endif │
00:29:56 verbose #88441 > │ │
00:29:56 verbose #88442 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88443 > │ let v653 : US7 = null |> unbox<US7> │
00:29:56 verbose #88444 > │ v653 │
00:29:56 verbose #88445 > │ #endif │
00:29:56 verbose #88446 > │ │
00:29:56 verbose #88447 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88448 > │ let v654 : US7 = null |> unbox<US7> │
00:29:56 verbose #88449 > │ v654 │
00:29:56 verbose #88450 > │ #endif │
00:29:56 verbose #88451 > │ │
00:29:56 verbose #88452 > │ #else │
00:29:56 verbose #88453 > │ let v655 : (struct (int64 * int64 * string) -> US7) = closure35() │
00:29:56 verbose #88454 > │ let v656 : (exn -> US7) = closure36() │
00:29:56 verbose #88455 > │ let v657 : US7 = match v647 with Choice1Of2 x -> v655 x | Choice2Of2 x │
00:29:56 verbose #88456 > │ -> v656 x │
00:29:56 verbose #88457 > │ v657 │
00:29:56 verbose #88458 > │ #endif │
00:29:56 verbose #88459 > │ |> fun x -> _v648 <- Some x │
00:29:56 verbose #88460 > │ let v658 : US7 = _v648.Value │
00:29:56 verbose #88461 > │ return v658 │
00:29:56 verbose #88462 > │ } │
00:29:56 verbose #88463 > │ |> fun x -> _v646 <- Some x │
00:29:56 verbose #88464 > │ let v659 : Async<US7> = _v646 |> Option.get │
00:29:56 verbose #88465 > │ v659 │
00:29:56 verbose #88466 > │ #endif │
00:29:56 verbose #88467 > │ |> fun x -> _v639 <- Some x │
00:29:56 verbose #88468 > │ let v660 : Async<US7> = _v639.Value │
00:29:56 verbose #88469 > │ let v661 : Async<US8> option = None │
00:29:56 verbose #88470 > │ let v662 : bool = true in let mutable _v661 = v661 │
00:29:56 verbose #88471 > │ │
00:29:56 verbose #88472 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88473 > │ │
00:29:56 verbose #88474 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88475 > │ let v663 : Async<US8> = null |> unbox<Async<US8>> │
00:29:56 verbose #88476 > │ v663 │
00:29:56 verbose #88477 > │ #endif │
00:29:56 verbose #88478 > │ │
00:29:56 verbose #88479 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88480 > │ let v664 : Async<US8> = null |> unbox<Async<US8>> │
00:29:56 verbose #88481 > │ v664 │
00:29:56 verbose #88482 > │ #endif │
00:29:56 verbose #88483 > │ │
00:29:56 verbose #88484 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88485 > │ let v665 : Async<US8> = null |> unbox<Async<US8>> │
00:29:56 verbose #88486 > │ v665 │
00:29:56 verbose #88487 > │ #endif │
00:29:56 verbose #88488 > │ │
00:29:56 verbose #88489 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88490 > │ let v666 : Async<US8> = null |> unbox<Async<US8>> │
00:29:56 verbose #88491 > │ v666 │
00:29:56 verbose #88492 > │ #endif │
00:29:56 verbose #88493 > │ │
00:29:56 verbose #88494 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88495 > │ let v667 : Async<US8> = null |> unbox<Async<US8>> │
00:29:56 verbose #88496 > │ v667 │
00:29:56 verbose #88497 > │ #endif │
00:29:56 verbose #88498 > │ │
00:29:56 verbose #88499 > │ #else │
00:29:56 verbose #88500 > │ let v668 : Async<US8> option = None │
00:29:56 verbose #88501 > │ let mutable _v668 = v668 │
00:29:56 verbose #88502 > │ async { │
00:29:56 verbose #88503 > │ let! v660 = v660 │
00:29:56 verbose #88504 > │ let v669 : US7 = v660 │
00:29:56 verbose #88505 > │ let v677 : US8 = │
00:29:56 verbose #88506 > │ match v669 with │
00:29:56 verbose #88507 > │ | US7_0(v670, v671, v672) -> (* Choice1Of2 *) │
00:29:56 verbose #88508 > │ US8_0(v670, v671, v672) │
00:29:56 verbose #88509 > │ | US7_1(v674) -> (* Choice2Of2 *) │
00:29:56 verbose #88510 > │ US8_1(v674) │
00:29:56 verbose #88511 > │ return v677 │
00:29:56 verbose #88512 > │ } │
00:29:56 verbose #88513 > │ |> fun x -> _v668 <- Some x │
00:29:56 verbose #88514 > │ let v678 : Async<US8> = _v668 |> Option.get │
00:29:56 verbose #88515 > │ v678 │
00:29:56 verbose #88516 > │ #endif │
00:29:56 verbose #88517 > │ |> fun x -> _v661 <- Some x │
00:29:56 verbose #88518 > │ let v679 : Async<US8> = _v661.Value │
00:29:56 verbose #88519 > │ let v680 : Async<US6> option = None │
00:29:56 verbose #88520 > │ let v681 : bool = true in let mutable _v680 = v680 │
00:29:56 verbose #88521 > │ │
00:29:56 verbose #88522 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88523 > │ │
00:29:56 verbose #88524 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88525 > │ let v682 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88526 > │ v682 │
00:29:56 verbose #88527 > │ #endif │
00:29:56 verbose #88528 > │ │
00:29:56 verbose #88529 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88530 > │ let v683 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88531 > │ v683 │
00:29:56 verbose #88532 > │ #endif │
00:29:56 verbose #88533 > │ │
00:29:56 verbose #88534 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88535 > │ let v684 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88536 > │ v684 │
00:29:56 verbose #88537 > │ #endif │
00:29:56 verbose #88538 > │ │
00:29:56 verbose #88539 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88540 > │ let v685 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88541 > │ v685 │
00:29:56 verbose #88542 > │ #endif │
00:29:56 verbose #88543 > │ │
00:29:56 verbose #88544 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88545 > │ let v686 : Async<US6> = null |> unbox<Async<US6>> │
00:29:56 verbose #88546 > │ v686 │
00:29:56 verbose #88547 > │ #endif │
00:29:56 verbose #88548 > │ │
00:29:56 verbose #88549 > │ #else │
00:29:56 verbose #88550 > │ let v687 : Async<US6> option = None │
00:29:56 verbose #88551 > │ let mutable _v687 = v687 │
00:29:56 verbose #88552 > │ async { │
00:29:56 verbose #88553 > │ let! v679 = v679 │
00:29:56 verbose #88554 > │ let v688 : US8 = v679 │
00:29:56 verbose #88555 > │ let v716 : US6 = │
00:29:56 verbose #88556 > │ match v688 with │
00:29:56 verbose #88557 > │ | US8_1(v693) -> (* Error *) │
00:29:56 verbose #88558 > │ let v694 : string = $"%A{v693}" │
00:29:56 verbose #88559 > │ let v695 : string = "System.TimeoutException" │
00:29:56 verbose #88560 > │ let v696 : bool = v694.Contains v695 │
00:29:56 verbose #88561 > │ if v696 then │
00:29:56 verbose #88562 > │ let v697 : US3 = US3_1 │
00:29:56 verbose #88563 > │ let v698 : (unit -> string) = closure37() │
00:29:56 verbose #88564 > │ let v699 : (unit -> string) = closure38() │
00:29:56 verbose #88565 > │ method12(v697, v698, v699) │
00:29:56 verbose #88566 > │ US6_1 │
00:29:56 verbose #88567 > │ else │
00:29:56 verbose #88568 > │ let v701 : string option = None │
00:29:56 verbose #88569 > │ let v702 : bool = true in let mutable _v701 = v701 │
00:29:56 verbose #88570 > │ │
00:29:56 verbose #88571 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88572 > │ │
00:29:56 verbose #88573 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88574 > │ let v703 : string = $"%A{v693}" │
00:29:56 verbose #88575 > │ v703 │
00:29:56 verbose #88576 > │ #endif │
00:29:56 verbose #88577 > │ │
00:29:56 verbose #88578 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88579 > │ let v704 : string = $"%A{v693}" │
00:29:56 verbose #88580 > │ v704 │
00:29:56 verbose #88581 > │ #endif │
00:29:56 verbose #88582 > │ │
00:29:56 verbose #88583 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88584 > │ let v705 : string = $"%A{v693}" │
00:29:56 verbose #88585 > │ v705 │
00:29:56 verbose #88586 > │ #endif │
00:29:56 verbose #88587 > │ │
00:29:56 verbose #88588 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88589 > │ let v706 : string = $"%A{v693}" │
00:29:56 verbose #88590 > │ v706 │
00:29:56 verbose #88591 > │ #endif │
00:29:56 verbose #88592 > │ │
00:29:56 verbose #88593 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88594 > │ let v707 : string = $"%A{v693}" │
00:29:56 verbose #88595 > │ v707 │
00:29:56 verbose #88596 > │ #endif │
00:29:56 verbose #88597 > │ │
00:29:56 verbose #88598 > │ #else │
00:29:56 verbose #88599 > │ let v708 : string = $"{v693.GetType ()}: {v693.Message}" │
00:29:56 verbose #88600 > │ v708 │
00:29:56 verbose #88601 > │ #endif │
00:29:56 verbose #88602 > │ |> fun x -> _v701 <- Some x │
00:29:56 verbose #88603 > │ let v709 : string = _v701.Value │
00:29:56 verbose #88604 > │ let v710 : US3 = US3_4 │
00:29:56 verbose #88605 > │ let v711 : (unit -> string) = closure39(v709) │
00:29:56 verbose #88606 > │ let v712 : (unit -> string) = closure38() │
00:29:56 verbose #88607 > │ method12(v710, v711, v712) │
00:29:56 verbose #88608 > │ US6_1 │
00:29:56 verbose #88609 > │ | US8_0(v689, v690, v691) -> (* Ok *) │
00:29:56 verbose #88610 > │ US6_0(v689, v690, v691) │
00:29:56 verbose #88611 > │ return v716 │
00:29:56 verbose #88612 > │ } │
00:29:56 verbose #88613 > │ |> fun x -> _v687 <- Some x │
00:29:56 verbose #88614 > │ let v717 : Async<US6> = _v687 |> Option.get │
00:29:56 verbose #88615 > │ v717 │
00:29:56 verbose #88616 > │ #endif │
00:29:56 verbose #88617 > │ |> fun x -> _v680 <- Some x │
00:29:56 verbose #88618 > │ let v718 : Async<US6> = _v680.Value │
00:29:56 verbose #88619 > │ return! v718 │
00:29:56 verbose #88620 > │ } │
00:29:56 verbose #88621 > │ |> fun x -> _v618 <- Some x │
00:29:56 verbose #88622 > │ let v719 : Async<US6> = _v618 |> Option.get │
00:29:56 verbose #88623 > │ v719 │
00:29:56 verbose #88624 > │ #endif │
00:29:56 verbose #88625 > │ |> fun x -> _v611 <- Some x │
00:29:56 verbose #88626 > │ let v720 : Async<US6> = _v611.Value │
00:29:56 verbose #88627 > │ v720 │
00:29:56 verbose #88628 > │ #endif │
00:29:56 verbose #88629 > │ |> fun x -> _v604 <- Some x │
00:29:56 verbose #88630 > │ let v721 : Async<US6> = _v604.Value │
00:29:56 verbose #88631 > │ let v722 : US6 option = None │
00:29:56 verbose #88632 > │ let v723 : bool = true in let mutable _v722 = v722 │
00:29:56 verbose #88633 > │ │
00:29:56 verbose #88634 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88635 > │ │
00:29:56 verbose #88636 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88637 > │ let v724 : US6 = null |> unbox<US6> │
00:29:56 verbose #88638 > │ v724 │
00:29:56 verbose #88639 > │ #endif │
00:29:56 verbose #88640 > │ │
00:29:56 verbose #88641 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88642 > │ let v725 : US6 = null |> unbox<US6> │
00:29:56 verbose #88643 > │ v725 │
00:29:56 verbose #88644 > │ #endif │
00:29:56 verbose #88645 > │ │
00:29:56 verbose #88646 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88647 > │ let v726 : US6 = null |> unbox<US6> │
00:29:56 verbose #88648 > │ v726 │
00:29:56 verbose #88649 > │ #endif │
00:29:56 verbose #88650 > │ │
00:29:56 verbose #88651 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88652 > │ let v727 : US6 = null |> unbox<US6> │
00:29:56 verbose #88653 > │ v727 │
00:29:56 verbose #88654 > │ #endif │
00:29:56 verbose #88655 > │ │
00:29:56 verbose #88656 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88657 > │ let v728 : US6 = null |> unbox<US6> │
00:29:56 verbose #88658 > │ v728 │
00:29:56 verbose #88659 > │ #endif │
00:29:56 verbose #88660 > │ │
00:29:56 verbose #88661 > │ #else │
00:29:56 verbose #88662 > │ let v729 : (Async<US6> -> US6) = Async.RunSynchronously │
00:29:56 verbose #88663 > │ let v730 : US6 = v729 v721 │
00:29:56 verbose #88664 > │ v730 │
00:29:56 verbose #88665 > │ #endif │
00:29:56 verbose #88666 > │ |> fun x -> _v722 <- Some x │
00:29:56 verbose #88667 > │ let v731 : US6 = _v722.Value │
00:29:56 verbose #88668 > │ let v813 : bool = │
00:29:56 verbose #88669 > │ match v731 with │
00:29:56 verbose #88670 > │ | US6_0(v732, v733, v734) -> (* Some *) │
00:29:56 verbose #88671 > │ let v735 : bool option = None │
00:29:56 verbose #88672 > │ let v736 : bool = true in let mutable _v735 = v735 │
00:29:56 verbose #88673 > │ │
00:29:56 verbose #88674 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88675 > │ │
00:29:56 verbose #88676 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88677 > │ let v737 : string = "cfg!(windows)" │
00:29:56 verbose #88678 > │ let v738 : bool = Fable.Core.RustInterop.emitRustExpr () v737 │
00:29:56 verbose #88679 > │ v738 │
00:29:56 verbose #88680 > │ #endif │
00:29:56 verbose #88681 > │ │
00:29:56 verbose #88682 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88683 > │ let v739 : bool = null |> unbox<bool> │
00:29:56 verbose #88684 > │ v739 │
00:29:56 verbose #88685 > │ #endif │
00:29:56 verbose #88686 > │ │
00:29:56 verbose #88687 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88688 > │ let v740 : bool = null |> unbox<bool> │
00:29:56 verbose #88689 > │ v740 │
00:29:56 verbose #88690 > │ #endif │
00:29:56 verbose #88691 > │ │
00:29:56 verbose #88692 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88693 > │ let v741 : bool = null |> unbox<bool> │
00:29:56 verbose #88694 > │ v741 │
00:29:56 verbose #88695 > │ #endif │
00:29:56 verbose #88696 > │ │
00:29:56 verbose #88697 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88698 > │ let v742 : bool = null |> unbox<bool> │
00:29:56 verbose #88699 > │ v742 │
00:29:56 verbose #88700 > │ #endif │
00:29:56 verbose #88701 > │ │
00:29:56 verbose #88702 > │ #else │
00:29:56 verbose #88703 > │ let v743 : System.Runtime.InteropServices.OSPlatform = │
00:29:56 verbose #88704 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:56 verbose #88705 > │ let v744 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:56 verbose #88706 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:56 verbose #88707 > │ let v745 : bool = v744 v743 │
00:29:56 verbose #88708 > │ v745 │
00:29:56 verbose #88709 > │ #endif │
00:29:56 verbose #88710 > │ |> fun x -> _v735 <- Some x │
00:29:56 verbose #88711 > │ let v746 : bool = _v735.Value │
00:29:56 verbose #88712 > │ let v747 : int64 = │
00:29:56 verbose #88713 > │ if v746 then │
00:29:56 verbose #88714 > │ 50L │
00:29:56 verbose #88715 > │ else │
00:29:56 verbose #88716 > │ 0L │
00:29:56 verbose #88717 > │ let v748 : bool option = None │
00:29:56 verbose #88718 > │ let v749 : bool = true in let mutable _v748 = v748 │
00:29:56 verbose #88719 > │ │
00:29:56 verbose #88720 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88721 > │ │
00:29:56 verbose #88722 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88723 > │ let v750 : string = "cfg!(windows)" │
00:29:56 verbose #88724 > │ let v751 : bool = Fable.Core.RustInterop.emitRustExpr () v750 │
00:29:56 verbose #88725 > │ v751 │
00:29:56 verbose #88726 > │ #endif │
00:29:56 verbose #88727 > │ │
00:29:56 verbose #88728 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88729 > │ let v752 : bool = null |> unbox<bool> │
00:29:56 verbose #88730 > │ v752 │
00:29:56 verbose #88731 > │ #endif │
00:29:56 verbose #88732 > │ │
00:29:56 verbose #88733 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88734 > │ let v753 : bool = null |> unbox<bool> │
00:29:56 verbose #88735 > │ v753 │
00:29:56 verbose #88736 > │ #endif │
00:29:56 verbose #88737 > │ │
00:29:56 verbose #88738 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88739 > │ let v754 : bool = null |> unbox<bool> │
00:29:56 verbose #88740 > │ v754 │
00:29:56 verbose #88741 > │ #endif │
00:29:56 verbose #88742 > │ │
00:29:56 verbose #88743 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88744 > │ let v755 : bool = null |> unbox<bool> │
00:29:56 verbose #88745 > │ v755 │
00:29:56 verbose #88746 > │ #endif │
00:29:56 verbose #88747 > │ │
00:29:56 verbose #88748 > │ #else │
00:29:56 verbose #88749 > │ let v756 : System.Runtime.InteropServices.OSPlatform = │
00:29:56 verbose #88750 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:56 verbose #88751 > │ let v757 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:56 verbose #88752 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:56 verbose #88753 > │ let v758 : bool = v757 v756 │
00:29:56 verbose #88754 > │ v758 │
00:29:56 verbose #88755 > │ #endif │
00:29:56 verbose #88756 > │ |> fun x -> _v748 <- Some x │
00:29:56 verbose #88757 > │ let v759 : bool = _v748.Value │
00:29:56 verbose #88758 > │ let v760 : int64 = │
00:29:56 verbose #88759 > │ if v759 then │
00:29:56 verbose #88760 > │ 150L │
00:29:56 verbose #88761 > │ else │
00:29:56 verbose #88762 > │ 0L │
00:29:56 verbose #88763 > │ let v761 : bool = v732 >= v747 │
00:29:56 verbose #88764 > │ let v763 : bool = │
00:29:56 verbose #88765 > │ if v761 then │
00:29:56 verbose #88766 > │ true │
00:29:56 verbose #88767 > │ else │
00:29:56 verbose #88768 > │ method24(v761) │
00:29:56 verbose #88769 > │ let v764 : bool = v763 = false │
00:29:56 verbose #88770 > │ if v764 then │
00:29:56 verbose #88771 > │ failwith<unit> "__expect" │
00:29:56 verbose #88772 > │ let v765 : bool = v732 <= v760 │
00:29:56 verbose #88773 > │ let v767 : bool = │
00:29:56 verbose #88774 > │ if v765 then │
00:29:56 verbose #88775 > │ true │
00:29:56 verbose #88776 > │ else │
00:29:56 verbose #88777 > │ method24(v765) │
00:29:56 verbose #88778 > │ let v768 : bool = v767 = false │
00:29:56 verbose #88779 > │ if v768 then │
00:29:56 verbose #88780 > │ failwith<unit> "__expect" │
00:29:56 verbose #88781 > │ let v769 : string = "assert_between" │
00:29:56 verbose #88782 > │ let v770 : string = $"{v769} / actual: %A{v732} / expected: │
00:29:56 verbose #88783 > │ %A{struct (v747, v760)}" │
00:29:56 verbose #88784 > │ System.Console.WriteLine v770 │
00:29:56 verbose #88785 > │ let v771 : bool option = None │
00:29:56 verbose #88786 > │ let v772 : bool = true in let mutable _v771 = v771 │
00:29:56 verbose #88787 > │ │
00:29:56 verbose #88788 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88789 > │ │
00:29:56 verbose #88790 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88791 > │ let v773 : string = "cfg!(windows)" │
00:29:56 verbose #88792 > │ let v774 : bool = Fable.Core.RustInterop.emitRustExpr () v773 │
00:29:56 verbose #88793 > │ v774 │
00:29:56 verbose #88794 > │ #endif │
00:29:56 verbose #88795 > │ │
00:29:56 verbose #88796 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88797 > │ let v775 : bool = null |> unbox<bool> │
00:29:56 verbose #88798 > │ v775 │
00:29:56 verbose #88799 > │ #endif │
00:29:56 verbose #88800 > │ │
00:29:56 verbose #88801 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88802 > │ let v776 : bool = null |> unbox<bool> │
00:29:56 verbose #88803 > │ v776 │
00:29:56 verbose #88804 > │ #endif │
00:29:56 verbose #88805 > │ │
00:29:56 verbose #88806 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88807 > │ let v777 : bool = null |> unbox<bool> │
00:29:56 verbose #88808 > │ v777 │
00:29:56 verbose #88809 > │ #endif │
00:29:56 verbose #88810 > │ │
00:29:56 verbose #88811 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88812 > │ let v778 : bool = null |> unbox<bool> │
00:29:56 verbose #88813 > │ v778 │
00:29:56 verbose #88814 > │ #endif │
00:29:56 verbose #88815 > │ │
00:29:56 verbose #88816 > │ #else │
00:29:56 verbose #88817 > │ let v779 : System.Runtime.InteropServices.OSPlatform = │
00:29:56 verbose #88818 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:56 verbose #88819 > │ let v780 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:56 verbose #88820 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:56 verbose #88821 > │ let v781 : bool = v780 v779 │
00:29:56 verbose #88822 > │ v781 │
00:29:56 verbose #88823 > │ #endif │
00:29:56 verbose #88824 > │ |> fun x -> _v771 <- Some x │
00:29:56 verbose #88825 > │ let v782 : bool = _v771.Value │
00:29:56 verbose #88826 > │ let v783 : int64 = │
00:29:56 verbose #88827 > │ if v782 then │
00:29:56 verbose #88828 > │ 0L │
00:29:56 verbose #88829 > │ else │
00:29:56 verbose #88830 > │ 100L │
00:29:56 verbose #88831 > │ let v784 : bool option = None │
00:29:56 verbose #88832 > │ let v785 : bool = true in let mutable _v784 = v784 │
00:29:56 verbose #88833 > │ │
00:29:56 verbose #88834 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:29:56 verbose #88835 > │ │
00:29:56 verbose #88836 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:29:56 verbose #88837 > │ let v786 : string = "cfg!(windows)" │
00:29:56 verbose #88838 > │ let v787 : bool = Fable.Core.RustInterop.emitRustExpr () v786 │
00:29:56 verbose #88839 > │ v787 │
00:29:56 verbose #88840 > │ #endif │
00:29:56 verbose #88841 > │ │
00:29:56 verbose #88842 > │ #if FABLE_COMPILER_RUST && WASM │
00:29:56 verbose #88843 > │ let v788 : bool = null |> unbox<bool> │
00:29:56 verbose #88844 > │ v788 │
00:29:56 verbose #88845 > │ #endif │
00:29:56 verbose #88846 > │ │
00:29:56 verbose #88847 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:29:56 verbose #88848 > │ let v789 : bool = null |> unbox<bool> │
00:29:56 verbose #88849 > │ v789 │
00:29:56 verbose #88850 > │ #endif │
00:29:56 verbose #88851 > │ │
00:29:56 verbose #88852 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:29:56 verbose #88853 > │ let v790 : bool = null |> unbox<bool> │
00:29:56 verbose #88854 > │ v790 │
00:29:56 verbose #88855 > │ #endif │
00:29:56 verbose #88856 > │ │
00:29:56 verbose #88857 > │ #if FABLE_COMPILER_PYTHON │
00:29:56 verbose #88858 > │ let v791 : bool = null |> unbox<bool> │
00:29:56 verbose #88859 > │ v791 │
00:29:56 verbose #88860 > │ #endif │
00:29:56 verbose #88861 > │ │
00:29:56 verbose #88862 > │ #else │
00:29:56 verbose #88863 > │ let v792 : System.Runtime.InteropServices.OSPlatform = │
00:29:56 verbose #88864 > │ System.Runtime.InteropServices.OSPlatform.Windows │
00:29:56 verbose #88865 > │ let v793 : (System.Runtime.InteropServices.OSPlatform -> bool) = │
00:29:56 verbose #88866 > │ System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform │
00:29:56 verbose #88867 > │ let v794 : bool = v793 v792 │
00:29:56 verbose #88868 > │ v794 │
00:29:56 verbose #88869 > │ #endif │
00:29:56 verbose #88870 > │ |> fun x -> _v784 <- Some x │
00:29:56 verbose #88871 > │ let v795 : bool = _v784.Value │
00:29:56 verbose #88872 > │ let v796 : int64 = │
00:29:56 verbose #88873 > │ if v795 then │
00:29:56 verbose #88874 > │ 0L │
00:29:56 verbose #88875 > │ else │
00:29:56 verbose #88876 > │ 200L │
00:29:56 verbose #88877 > │ let v797 : bool = v733 >= v783 │
00:29:56 verbose #88878 > │ let v799 : bool = │
00:29:56 verbose #88879 > │ if v797 then │
00:29:56 verbose #88880 > │ true │
00:29:56 verbose #88881 > │ else │
00:29:56 verbose #88882 > │ method24(v797) │
00:29:56 verbose #88883 > │ let v800 : bool = v799 = false │
00:29:56 verbose #88884 > │ if v800 then │
00:29:56 verbose #88885 > │ failwith<unit> "__expect" │
00:29:56 verbose #88886 > │ let v801 : bool = v733 <= v796 │
00:29:56 verbose #88887 > │ let v803 : bool = │
00:29:56 verbose #88888 > │ if v801 then │
00:29:56 verbose #88889 > │ true │
00:29:56 verbose #88890 > │ else │
00:29:56 verbose #88891 > │ method24(v801) │
00:29:56 verbose #88892 > │ let v804 : bool = v803 = false │
00:29:56 verbose #88893 > │ if v804 then │
00:29:56 verbose #88894 > │ failwith<unit> "__expect" │
00:29:56 verbose #88895 > │ let v805 : string = $"{v769} / actual: %A{v733} / expected: │
00:29:56 verbose #88896 > │ %A{struct (v783, v796)}" │
00:29:56 verbose #88897 > │ System.Console.WriteLine v805 │
00:29:56 verbose #88898 > │ let v806 : string = method25() │
00:29:56 verbose #88899 > │ let v807 : bool = v734 = v806 │
00:29:56 verbose #88900 > │ let v809 : bool = │
00:29:56 verbose #88901 > │ if v807 then │
00:29:56 verbose #88902 > │ true │
00:29:56 verbose #88903 > │ else │
00:29:56 verbose #88904 > │ method24(v807) │
00:29:56 verbose #88905 > │ let v810 : string = "assert_eq" │
00:29:56 verbose #88906 > │ let v811 : string = $"{v810} / actual: %A{v734} / expected: │
00:29:56 verbose #88907 > │ %A{v806}" │
00:29:56 verbose #88908 > │ System.Console.WriteLine v811 │
00:29:56 verbose #88909 > │ let v812 : bool = v809 = false │
00:29:56 verbose #88910 > │ if v812 then │
00:29:56 verbose #88911 > │ failwith<unit> v811 │
00:29:56 verbose #88912 > │ true │
00:29:56 verbose #88913 > │ | _ -> │
00:29:56 verbose #88914 > │ false │
00:29:56 verbose #88915 > │ let v815 : bool = │
00:29:56 verbose #88916 > │ if v813 then │
00:29:56 verbose #88917 > │ true │
00:29:56 verbose #88918 > │ else │
00:29:56 verbose #88919 > │ method24(v813) │
00:29:56 verbose #88920 > │ let v816 : string = "assert_eq" │
00:29:56 verbose #88921 > │ let v817 : string = $"{v816} / actual: %A{v813} / expected: %A{true}" │
00:29:56 verbose #88922 > │ System.Console.WriteLine v817 │
00:29:56 verbose #88923 > │ let v818 : bool = v815 = false │
00:29:56 verbose #88924 > │ if v818 then │
00:29:56 verbose #88925 > │ failwith<unit> v817 │
00:29:56 verbose #88926 > │ method0() │
00:29:56 verbose #88927 > │ │
00:29:56 verbose #88928 > │ 00:00:00 debug #1 1 │
00:29:56 verbose #88929 > │ 00:00:00 debug #2 2 │
00:29:56 verbose #88930 > │ 00:00:00 debug #3 3 │
00:29:56 verbose #88931 > │ 00:00:00 debug #4 _1 │
00:29:56 verbose #88932 > │ 00:00:00 debug #5 _2 │
00:29:56 verbose #88933 > │ 00:00:00 debug #6 4 │
00:29:56 verbose #88934 > │ 00:00:00 warning #7 move_file_async / old_path: test.txt / new_path: │
00:29:56 verbose #88935 > │ test2.txt / ex: System.IO.IOException: The process cannot access the file │
00:29:56 verbose #88936 > │ because it is being used by another process. │
00:29:56 verbose #88937 > │ 00:00:01 warning #8 move_file_async / old_path: test.txt / new_path: │
00:29:56 verbose #88938 > │ test2.txt / ex: System.IO.IOException: The process cannot access the file │
00:29:56 verbose #88939 > │ because it is being used by another process. │
00:29:56 verbose #88940 > │ 00:00:02 debug #9 _3 │
00:29:56 verbose #88941 > │ 00:00:02 debug #10 5 │
00:29:56 verbose #88942 > │ 00:00:02 debug #11 6 │
00:29:56 verbose #88943 > │ 00:00:02 debug #12 7 │
00:29:56 verbose #88944 > │ 00:00:02 debug #13 8 │
00:29:56 verbose #88945 > │ assert_between / actual: 122L / expected: struct (50L, 150L) │
00:29:56 verbose #88946 > │ assert_between / actual: 0L / expected: struct (0L, 0L) │
00:29:56 verbose #88947 > │ assert_eq / actual: "0" / expected: "0" │
00:29:56 verbose #88948 > │ assert_eq / actual: true / expected: true │
00:29:56 verbose #88949 > │ │
00:29:56 verbose #88950 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:56 verbose #88951 >
00:29:56 verbose #88952 > ── markdown ────────────────────────────────────────────────────────────────────
00:29:56 verbose #88953 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:29:56 verbose #88954 > │ ## find_parent │
00:29:56 verbose #88955 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:56 verbose #88956 >
00:29:56 verbose #88957 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:56 verbose #88958 > inl find_parent name is_file root_dir =
00:29:56 verbose #88959 > let rec loop dir =
00:29:56 verbose #88960 > if dir </> name |> (if is_file then file_exists else directory_exists)
00:29:56 verbose #88961 > then dir
00:29:56 verbose #88962 > else
00:29:56 verbose #88963 > inl result = dir |> (join directory_get_parent)
00:29:56 verbose #88964 > match result |> optionm'.unbox with
00:29:56 verbose #88965 > | Some parent => parent |> loop
00:29:56 verbose #88966 > | None => failwith $'$"""No parent for {if !is_file then "file" else
00:29:56 verbose #88967 > "dir"} \'{!name}\' at \'{!root_dir}\' (until \'{!dir}\')"""'
00:29:56 verbose #88968 > loop root_dir
00:29:57 verbose #88969 > 00:29:56 debug #995 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/7816e0a099cc1dd42ccf80b770d1f09720be06e17d3b95b2aaf8f77f0aca7743/main.spi
00:29:57 verbose #88970 >
00:29:57 verbose #88971 > ╭─[ 772.81ms - stdout ]────────────────────────────────────────────────────────╮
00:29:57 verbose #88972 > │ () │
00:29:57 verbose #88973 > │ │
00:29:57 verbose #88974 > │ │
00:29:57 verbose #88975 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:57 verbose #88976 >
00:29:57 verbose #88977 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:57 verbose #88978 > //// test
00:29:57 verbose #88979 > //// print_code=false
00:29:57 verbose #88980 >
00:29:57 verbose #88981 > a ;[[ ".paket", false; "paket.dependencies", true ]]
00:29:57 verbose #88982 > |> am.map fun (file, is_file) =>
00:29:57 verbose #88983 > get_source_directory ()
00:29:57 verbose #88984 > |> find_parent file is_file
00:29:57 verbose #88985 > |> directory_info
00:29:57 verbose #88986 > |> directory_info_name
00:29:57 verbose #88987 > |> am'.distinct
00:29:57 verbose #88988 > |> _assert_eq (a ;[[ "polyglot" ]] : _ i32 _)
00:29:58 verbose #88989 > 00:29:57 debug #996 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/4ccbc4a127c47e6c792534d1d323b981f7e6b3d89c4ee8c1398165c4ed9ca3f7/main.spi
00:29:58 verbose #88990 >
00:29:58 verbose #88991 > ╭─[ 955.96ms - stdout ]────────────────────────────────────────────────────────╮
00:29:58 verbose #88992 > │ assert_eq / actual: [|"polyglot"|] / expected: [|"polyglot"|] │
00:29:58 verbose #88993 > │ │
00:29:58 verbose #88994 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:29:58 verbose #88995 >
00:29:58 verbose #88996 > ── spiral ──────────────────────────────────────────────────────────────────────
00:29:58 verbose #88997 > //// test
00:29:58 verbose #88998 > //// print_code=false
00:29:58 verbose #88999 > ///! rust
00:29:58 verbose #89000 >
00:29:58 verbose #89001 > types ()
00:29:58 verbose #89002 > a ;[[ ".paket", false; "paket.dependencies", true ]]
00:29:58 verbose #89003 > |> am.map fun (file, is_file) =>
00:29:58 verbose #89004 > fun () =>
00:29:58 verbose #89005 > join
00:29:58 verbose #89006 > get_source_directory ()
00:29:58 verbose #89007 > |> find_parent file is_file
00:29:58 verbose #89008 > |> sm'.to_std_string
00:29:58 verbose #89009 > |> new_path_buf
00:29:58 verbose #89010 > |> path_buf_file_name
00:29:58 verbose #89011 > |> optionm'.try'
00:29:58 verbose #89012 > |> sm'.from_os_str_ref
00:29:58 verbose #89013 > |> Some
00:29:58 verbose #89014 > |> optionm'.box
00:29:58 verbose #89015 > |> fun x => x () |> optionm'.unbox
00:29:58 verbose #89016 > |> optionm'.default_value ""
00:29:58 verbose #89017 > |> am'.distinct
00:29:58 verbose #89018 > |> fun result =>
00:29:58 verbose #89019 > result |> am'.length |> _assert_eq 1i32
00:29:58 verbose #89020 > index result 0i32 |> _assert_eq "polyglot"
00:29:59 verbose #89021 > 00:29:57 debug #997 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9bb49fd5a74133dbc7aedf563645cc8edd6645b9791ad0d7a959ea6323735344/main.spi
00:30:13 verbose #89022 >
00:30:13 verbose #89023 > ╭─[ 14.93s - return value ]────────────────────────────────────────────────────╮
00:30:13 verbose #89024 > │ assert_eq / actual: 1 / expected: 1 │
00:30:13 verbose #89025 > │ assert_eq / actual: "polyglot" / expected: "polyglot" │
00:30:13 verbose #89026 > │ │
00:30:13 verbose #89027 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:13 verbose #89028 >
00:30:13 verbose #89029 > ── markdown ────────────────────────────────────────────────────────────────────
00:30:13 verbose #89030 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:13 verbose #89031 > │ ## get_repository_root │
00:30:13 verbose #89032 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:13 verbose #89033 >
00:30:13 verbose #89034 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:13 verbose #89035 > inl get_repository_root () =
00:30:13 verbose #89036 > get_source_directory ()
00:30:13 verbose #89037 > |> find_parent ("polyglot" </> ".paket") false
00:30:13 verbose #89038 > |> fun root => root </> "polyglot"
00:30:13 verbose #89039 > 00:30:12 debug #998 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/33f6e9c1ddc21bdf3323b4f07dffeb9f7e0d76bace4dde272c3385bc20651c42/main.spi
00:30:14 verbose #89040 >
00:30:14 verbose #89041 > ╭─[ 747.61ms - stdout ]────────────────────────────────────────────────────────╮
00:30:14 verbose #89042 > │ () │
00:30:14 verbose #89043 > │ │
00:30:14 verbose #89044 > │ │
00:30:14 verbose #89045 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #89046 >
00:30:14 verbose #89047 > ── markdown ────────────────────────────────────────────────────────────────────
00:30:14 verbose #89048 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:14 verbose #89049 > │ ## absolute_path │
00:30:14 verbose #89050 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #89051 >
00:30:14 verbose #89052 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:14 verbose #89053 > let absolute_path path =
00:30:14 verbose #89054 > inl current_dir = get_current_directory ()
00:30:14 verbose #89055 > current_dir </> path |> get_full_path |> normalize_path
00:30:14 verbose #89056 > 00:30:13 debug #999 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/95e950c8160e812520ae8a9476ab0d9d52248030715da056beff829d37f48684/main.spi
00:30:14 verbose #89057 >
00:30:14 verbose #89058 > ╭─[ 793.67ms - stdout ]────────────────────────────────────────────────────────╮
00:30:14 verbose #89059 > │ () │
00:30:14 verbose #89060 > │ │
00:30:14 verbose #89061 > │ │
00:30:14 verbose #89062 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #89063 >
00:30:14 verbose #89064 > ── markdown ────────────────────────────────────────────────────────────────────
00:30:14 verbose #89065 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:14 verbose #89066 > │ ## new_file_uri │
00:30:14 verbose #89067 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:14 verbose #89068 >
00:30:14 verbose #89069 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:14 verbose #89070 > inl new_file_uri (path : string) : string =
00:30:14 verbose #89071 > inl path = path |> sm'.trim_start ;[[ '/' ]]
00:30:14 verbose #89072 > $'$"file:///{!path}"'
00:30:15 verbose #89073 > 00:30:14 debug #1000 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/49477637789b7e02615458219aaf2ae09e3b2d79d17ca82660b6b104b223d1c3/main.spi
00:30:15 verbose #89074 >
00:30:15 verbose #89075 > ╭─[ 740.61ms - stdout ]────────────────────────────────────────────────────────╮
00:30:15 verbose #89076 > │ () │
00:30:15 verbose #89077 > │ │
00:30:15 verbose #89078 > │ │
00:30:15 verbose #89079 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:15 verbose #89080 >
00:30:15 verbose #89081 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:15 verbose #89082 > //// test
00:30:15 verbose #89083 >
00:30:15 verbose #89084 > @"\\?\C:\test"
00:30:15 verbose #89085 > |> normalize_path
00:30:15 verbose #89086 > |> new_file_uri
00:30:15 verbose #89087 > |> _assert_eq "file:///c:/test"
00:30:16 verbose #89088 > 00:30:15 debug #1001 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/07def9c50eb3842a2266f3491ffae77132f2cdcba654a4a6665be6d05e157a2f/main.spi
00:30:16 verbose #89089 >
00:30:16 verbose #89090 > ╭─[ 779.35ms - stdout ]────────────────────────────────────────────────────────╮
00:30:16 verbose #89091 > │ let rec method1 () : string = │
00:30:16 verbose #89092 > │ let v0 : string = "^\\\\\\\\\\?\\\\" │
00:30:16 verbose #89093 > │ v0 │
00:30:16 verbose #89094 > │ and method2 () : string = │
00:30:16 verbose #89095 > │ let v0 : string = "\\\\?\\C:\\test" │
00:30:16 verbose #89096 > │ v0 │
00:30:16 verbose #89097 > │ and method3 () : string = │
00:30:16 verbose #89098 > │ let v0 : string = "" │
00:30:16 verbose #89099 > │ v0 │
00:30:16 verbose #89100 > │ and method4 (v0 : bool) : bool = │
00:30:16 verbose #89101 > │ v0 │
00:30:16 verbose #89102 > │ and method0 () : unit = │
00:30:16 verbose #89103 > │ let v0 : string option = None │
00:30:16 verbose #89104 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:30:16 verbose #89105 > │ │
00:30:16 verbose #89106 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:16 verbose #89107 > │ │
00:30:16 verbose #89108 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:16 verbose #89109 > │ let v2 : string = method1() │
00:30:16 verbose #89110 > │ let v3 : string = method2() │
00:30:16 verbose #89111 > │ let v4 : string = method3() │
00:30:16 verbose #89112 > │ let v5 : string = $"regex::Regex::new(&$0).unwrap().replace_all(&$1, │
00:30:16 verbose #89113 > │ &*$2)" │
00:30:16 verbose #89114 > │ let v6 : std_borrow_Cow<Str> = Fable.Core.RustInterop.emitRustExpr │
00:30:16 verbose #89115 > │ struct (v2, v3, v4) v5 │
00:30:16 verbose #89116 > │ let v7 : string = "String::from($0)" │
00:30:16 verbose #89117 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:30:16 verbose #89118 > │ let v9 : string = "fable_library_rust::String_::fromString($0)" │
00:30:16 verbose #89119 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:30:16 verbose #89120 > │ v10 │
00:30:16 verbose #89121 > │ #endif │
00:30:16 verbose #89122 > │ │
00:30:16 verbose #89123 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:16 verbose #89124 > │ let v11 : string = null |> unbox<string> │
00:30:16 verbose #89125 > │ v11 │
00:30:16 verbose #89126 > │ #endif │
00:30:16 verbose #89127 > │ │
00:30:16 verbose #89128 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:16 verbose #89129 > │ let v12 : string = null |> unbox<string> │
00:30:16 verbose #89130 > │ v12 │
00:30:16 verbose #89131 > │ #endif │
00:30:16 verbose #89132 > │ │
00:30:16 verbose #89133 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:16 verbose #89134 > │ let v13 : string = null |> unbox<string> │
00:30:16 verbose #89135 > │ v13 │
00:30:16 verbose #89136 > │ #endif │
00:30:16 verbose #89137 > │ │
00:30:16 verbose #89138 > │ #if FABLE_COMPILER_PYTHON │
00:30:16 verbose #89139 > │ let v14 : string = null |> unbox<string> │
00:30:16 verbose #89140 > │ v14 │
00:30:16 verbose #89141 > │ #endif │
00:30:16 verbose #89142 > │ │
00:30:16 verbose #89143 > │ #else │
00:30:16 verbose #89144 > │ let v15 : string = "\\\\?\\C:\\test" │
00:30:16 verbose #89145 > │ let v16 : string = "^\\\\\\\\\\?\\\\" │
00:30:16 verbose #89146 > │ let v17 : string = "" │
00:30:16 verbose #89147 > │ let v18 : string = System.Text.RegularExpressions.Regex.Replace (v15, │
00:30:16 verbose #89148 > │ v16, v17) │
00:30:16 verbose #89149 > │ v18 │
00:30:16 verbose #89150 > │ #endif │
00:30:16 verbose #89151 > │ |> fun x -> _v0 <- Some x │
00:30:16 verbose #89152 > │ let v19 : string = _v0.Value │
00:30:16 verbose #89153 > │ let v20 : string = $"{v19.[0] |> string |> _.ToLower()}{v19.[1..]}" │
00:30:16 verbose #89154 > │ let v21 : string = "\\" │
00:30:16 verbose #89155 > │ let v22 : string = "/" │
00:30:16 verbose #89156 > │ let v23 : string = v20.Replace (v21, v22) │
00:30:16 verbose #89157 > │ let v24 : (char []) = [|'/'|] │
00:30:16 verbose #89158 > │ let v25 : string = v23.TrimStart v24 │
00:30:16 verbose #89159 > │ let v26 : string = $"file:///{v25}" │
00:30:16 verbose #89160 > │ let v28 : bool = v26 = "file:///c:/test" │
00:30:16 verbose #89161 > │ let v30 : bool = │
00:30:16 verbose #89162 > │ if v28 then │
00:30:16 verbose #89163 > │ true │
00:30:16 verbose #89164 > │ else │
00:30:16 verbose #89165 > │ method4(v28) │
00:30:16 verbose #89166 > │ let v31 : string = "assert_eq" │
00:30:16 verbose #89167 > │ let v32 : string = "file:///c:/test" │
00:30:16 verbose #89168 > │ let v33 : string = $"{v31} / actual: %A{v26} / expected: %A{v32}" │
00:30:16 verbose #89169 > │ System.Console.WriteLine v33 │
00:30:16 verbose #89170 > │ let v34 : bool = v30 = false │
00:30:16 verbose #89171 > │ if v34 then │
00:30:16 verbose #89172 > │ failwith<unit> v33 │
00:30:16 verbose #89173 > │ method0() │
00:30:16 verbose #89174 > │ │
00:30:16 verbose #89175 > │ assert_eq / actual: "file:///c:/test" / expected: "file:///c:/test" │
00:30:16 verbose #89176 > │ │
00:30:16 verbose #89177 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:16 verbose #89178 >
00:30:16 verbose #89179 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:16 verbose #89180 > //// test
00:30:16 verbose #89181 > ///! rust
00:30:16 verbose #89182 >
00:30:16 verbose #89183 > types ()
00:30:16 verbose #89184 > @"\\?\C:\test"
00:30:16 verbose #89185 > |> normalize_path
00:30:16 verbose #89186 > |> new_file_uri
00:30:16 verbose #89187 > |> _assert_eq "file:///c:/test"
00:30:17 verbose #89188 > 00:30:16 debug #1002 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/fb47df812728d742cba3322cceafcb65d07372117e3ee5d1f858b29f57424c7d/main.spi
00:30:33 verbose #89189 >
00:30:33 verbose #89190 > ╭─[ 17.29s - return value ]────────────────────────────────────────────────────╮
00:30:33 verbose #89191 > │ output: │
00:30:33 verbose #89192 > │ assert_eq / actual: "file:///c:/test" / expected: "file:///c:/test" │
00:30:33 verbose #89193 > │ │
00:30:33 verbose #89194 > │ │
00:30:33 verbose #89195 > │ │
00:30:33 verbose #89196 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:33 verbose #89197 >
00:30:33 verbose #89198 > ╭─[ 17.30s - stdout ]──────────────────────────────────────────────────────────╮
00:30:33 verbose #89199 > │ .fsx: │
00:30:33 verbose #89200 > │ #if FABLE_COMPILER │
00:30:33 verbose #89201 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:30:33 verbose #89202 > │ #endif │
00:30:33 verbose #89203 > │ type Func0<'T> = class end │
00:30:33 verbose #89204 > │ #if FABLE_COMPILER │
00:30:33 verbose #89205 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:30:33 verbose #89206 > │ #endif │
00:30:33 verbose #89207 > │ type Func0<'T, 'U> = class end │
00:30:33 verbose #89208 > │ #if FABLE_COMPILER │
00:30:33 verbose #89209 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:30:33 verbose #89210 > │ #endif │
00:30:33 verbose #89211 > │ type Box<'T> = class end │
00:30:33 verbose #89212 > │ #if FABLE_COMPILER │
00:30:33 verbose #89213 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:30:33 verbose #89214 > │ #endif │
00:30:33 verbose #89215 > │ type Dyn<'T> = class end │
00:30:33 verbose #89216 > │ #if FABLE_COMPILER │
00:30:33 verbose #89217 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:30:33 verbose #89218 > │ #endif │
00:30:33 verbose #89219 > │ type Send<'T> = class end │
00:30:33 verbose #89220 > │ #if FABLE_COMPILER │
00:30:33 verbose #89221 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:30:33 verbose #89222 > │ #endif │
00:30:33 verbose #89223 > │ type Fn<'T> = class end │
00:30:33 verbose #89224 > │ #if FABLE_COMPILER │
00:30:33 verbose #89225 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:30:33 verbose #89226 > │ #endif │
00:30:33 verbose #89227 > │ type FnUnit = class end │
00:30:33 verbose #89228 > │ #if FABLE_COMPILER │
00:30:33 verbose #89229 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:30:33 verbose #89230 > │ #endif │
00:30:33 verbose #89231 > │ type FnOnce<'T> = class end │
00:30:33 verbose #89232 > │ #if FABLE_COMPILER │
00:30:33 verbose #89233 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:30:33 verbose #89234 > │ #endif │
00:30:33 verbose #89235 > │ type ActionFn<'T> = class end │
00:30:33 verbose #89236 > │ #if FABLE_COMPILER │
00:30:33 verbose #89237 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:30:33 verbose #89238 > │ #endif │
00:30:33 verbose #89239 > │ type ActionFn2<'T, 'U> = class end │
00:30:33 verbose #89240 > │ #if FABLE_COMPILER │
00:30:33 verbose #89241 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:30:33 verbose #89242 > │ #endif │
00:30:33 verbose #89243 > │ type Impl<'T> = class end │
00:30:33 verbose #89244 > │ #if FABLE_COMPILER │
00:30:33 verbose #89245 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:30:33 verbose #89246 > │ #endif │
00:30:33 verbose #89247 > │ type Mut<'T> = class end │
00:30:33 verbose #89248 > │ #if FABLE_COMPILER │
00:30:33 verbose #89249 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:30:33 verbose #89250 > │ #endif │
00:30:33 verbose #89251 > │ type Ref<'T> = class end │
00:30:33 verbose #89252 > │ #if FABLE_COMPILER │
00:30:33 verbose #89253 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:30:33 verbose #89254 > │ #endif │
00:30:33 verbose #89255 > │ type StaticRef<'T> = class end │
00:30:33 verbose #89256 > │ #if FABLE_COMPILER │
00:30:33 verbose #89257 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:30:33 verbose #89258 > │ #endif │
00:30:33 verbose #89259 > │ type MutCell<'T> = class end │
00:30:33 verbose #89260 > │ #if FABLE_COMPILER │
00:30:33 verbose #89261 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:30:33 verbose #89262 > │ #endif │
00:30:33 verbose #89263 > │ type std_any_Any = class end │
00:30:33 verbose #89264 > │ #if FABLE_COMPILER │
00:30:33 verbose #89265 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:30:33 verbose #89266 > │ #endif │
00:30:33 verbose #89267 > │ type std_borrow_Cow<'T> = class end │
00:30:33 verbose #89268 > │ #if FABLE_COMPILER │
00:30:33 verbose #89269 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:30:33 verbose #89270 > │ #endif │
00:30:33 verbose #89271 > │ type std_cell_RefCell<'T> = class end │
00:30:33 verbose #89272 > │ #if FABLE_COMPILER │
00:30:33 verbose #89273 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:30:33 verbose #89274 > │ #endif │
00:30:33 verbose #89275 > │ type std_pin_Pin<'T> = class end │
00:30:33 verbose #89276 > │ #if FABLE_COMPILER │
00:30:33 verbose #89277 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:30:33 verbose #89278 > │ #endif │
00:30:33 verbose #89279 > │ type std_rc_Rc<'T> = class end │
00:30:33 verbose #89280 > │ #if FABLE_COMPILER │
00:30:33 verbose #89281 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:30:33 verbose #89282 > │ #endif │
00:30:33 verbose #89283 > │ type std_rc_Weak<'T> = class end │
00:30:33 verbose #89284 > │ #if FABLE_COMPILER │
00:30:33 verbose #89285 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:30:33 verbose #89286 > │ #endif │
00:30:33 verbose #89287 > │ type Str = class end │
00:30:33 verbose #89288 > │ #if FABLE_COMPILER │
00:30:33 verbose #89289 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:30:33 verbose #89290 > │ #endif │
00:30:33 verbose #89291 > │ type base64_DecodeError = class end │
00:30:33 verbose #89292 > │ #if FABLE_COMPILER │
00:30:33 verbose #89293 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:30:33 verbose #89294 > │ #endif │
00:30:33 verbose #89295 > │ type borsh_io_Error = class end │
00:30:33 verbose #89296 > │ #if FABLE_COMPILER │
00:30:33 verbose #89297 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:30:33 verbose #89298 > │ #endif │
00:30:33 verbose #89299 > │ type js_sys_JsString = class end │
00:30:33 verbose #89300 > │ #if FABLE_COMPILER │
00:30:33 verbose #89301 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:30:33 verbose #89302 > │ #endif │
00:30:33 verbose #89303 > │ type serde_json_Error = class end │
00:30:33 verbose #89304 > │ #if FABLE_COMPILER │
00:30:33 verbose #89305 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:30:33 verbose #89306 > │ #endif │
00:30:33 verbose #89307 > │ type serde_json_Value = class end │
00:30:33 verbose #89308 > │ #if FABLE_COMPILER │
00:30:33 verbose #89309 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:30:33 verbose #89310 > │ #endif │
00:30:33 verbose #89311 > │ type serde_wasm_bindgen_Error = class end │
00:30:33 verbose #89312 > │ #if FABLE_COMPILER │
00:30:33 verbose #89313 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:30:33 verbose #89314 > │ #endif │
00:30:33 verbose #89315 > │ type std_ffi_OsStr = class end │
00:30:33 verbose #89316 > │ #if FABLE_COMPILER │
00:30:33 verbose #89317 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:30:33 verbose #89318 > │ #endif │
00:30:33 verbose #89319 > │ type std_ffi_OsString = class end │
00:30:33 verbose #89320 > │ #if FABLE_COMPILER │
00:30:33 verbose #89321 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:30:33 verbose #89322 > │ #endif │
00:30:33 verbose #89323 > │ type std_fmt_Display<'T> = class end │
00:30:33 verbose #89324 > │ #if FABLE_COMPILER │
00:30:33 verbose #89325 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:30:33 verbose #89326 > │ #endif │
00:30:33 verbose #89327 > │ type std_str_Utf8Error = class end │
00:30:33 verbose #89328 > │ #if FABLE_COMPILER │
00:30:33 verbose #89329 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:30:33 verbose #89330 > │ #endif │
00:30:33 verbose #89331 > │ type std_string_FromUtf8Error = class end │
00:30:33 verbose #89332 > │ #if FABLE_COMPILER │
00:30:33 verbose #89333 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:30:33 verbose #89334 > │ #endif │
00:30:33 verbose #89335 > │ type std_string_String = class end │
00:30:33 verbose #89336 > │ #if FABLE_COMPILER │
00:30:33 verbose #89337 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:30:33 verbose #89338 > │ #endif │
00:30:33 verbose #89339 > │ type std_slice_Windows<'T> = class end │
00:30:33 verbose #89340 > │ #if FABLE_COMPILER │
00:30:33 verbose #89341 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:30:33 verbose #89342 > │ #endif │
00:30:33 verbose #89343 > │ type chrono_DateTime<'T> = class end │
00:30:33 verbose #89344 > │ #if FABLE_COMPILER │
00:30:33 verbose #89345 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:30:33 verbose #89346 > │ #endif │
00:30:33 verbose #89347 > │ type chrono_Local = class end │
00:30:33 verbose #89348 > │ #if FABLE_COMPILER │
00:30:33 verbose #89349 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:30:33 verbose #89350 > │ #endif │
00:30:33 verbose #89351 > │ type chrono_NaiveDateTime = class end │
00:30:33 verbose #89352 > │ #if FABLE_COMPILER │
00:30:33 verbose #89353 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:30:33 verbose #89354 > │ #endif │
00:30:33 verbose #89355 > │ type chrono_Utc = class end │
00:30:33 verbose #89356 > │ #if FABLE_COMPILER │
00:30:33 verbose #89357 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:30:33 verbose #89358 > │ #endif │
00:30:33 verbose #89359 > │ type std_time_Duration = class end │
00:30:33 verbose #89360 > │ #if FABLE_COMPILER │
00:30:33 verbose #89361 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:30:33 verbose #89362 > │ #endif │
00:30:33 verbose #89363 > │ type async_std_io_BufReader<'T> = class end │
00:30:33 verbose #89364 > │ #if FABLE_COMPILER │
00:30:33 verbose #89365 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:30:33 verbose #89366 > │ #endif │
00:30:33 verbose #89367 > │ type std_io_BufReader<'T> = class end │
00:30:33 verbose #89368 > │ #if FABLE_COMPILER │
00:30:33 verbose #89369 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:30:33 verbose #89370 > │ #endif │
00:30:33 verbose #89371 > │ type std_io_Error = class end │
00:30:33 verbose #89372 > │ #if FABLE_COMPILER │
00:30:33 verbose #89373 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:30:33 verbose #89374 > │ #endif │
00:30:33 verbose #89375 > │ type std_io_Lines<'T> = class end │
00:30:33 verbose #89376 > │ #if FABLE_COMPILER │
00:30:33 verbose #89377 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:30:33 verbose #89378 > │ #endif │
00:30:33 verbose #89379 > │ type std_fs_File = class end │
00:30:33 verbose #89380 > │ #if FABLE_COMPILER │
00:30:33 verbose #89381 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:30:33 verbose #89382 > │ #endif │
00:30:33 verbose #89383 > │ type std_fs_FileType = class end │
00:30:33 verbose #89384 > │ #if FABLE_COMPILER │
00:30:33 verbose #89385 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:30:33 verbose #89386 > │ #endif │
00:30:33 verbose #89387 > │ type std_path_Display = class end │
00:30:33 verbose #89388 > │ #if FABLE_COMPILER │
00:30:33 verbose #89389 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:30:33 verbose #89390 > │ #endif │
00:30:33 verbose #89391 > │ type std_path_Path = class end │
00:30:33 verbose #89392 > │ #if FABLE_COMPILER │
00:30:33 verbose #89393 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:30:33 verbose #89394 > │ #endif │
00:30:33 verbose #89395 > │ type std_path_PathBuf = class end │
00:30:33 verbose #89396 > │ #if FABLE_COMPILER │
00:30:33 verbose #89397 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:30:33 verbose #89398 > │ #endif │
00:30:33 verbose #89399 > │ type async_walkdir_DirEntry = class end │
00:30:33 verbose #89400 > │ #if FABLE_COMPILER │
00:30:33 verbose #89401 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:30:33 verbose #89402 > │ #endif │
00:30:33 verbose #89403 > │ type async_walkdir_Filtering = class end │
00:30:33 verbose #89404 > │ #if FABLE_COMPILER │
00:30:33 verbose #89405 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:30:33 verbose #89406 > │ #endif │
00:30:33 verbose #89407 > │ type async_walkdir_WalkDir = class end │
00:30:33 verbose #89408 > │ let rec method1 () : string = │
00:30:33 verbose #89409 > │ let v0 : string = "^\\\\\\\\\\?\\\\" │
00:30:33 verbose #89410 > │ v0 │
00:30:33 verbose #89411 > │ and method2 () : string = │
00:30:33 verbose #89412 > │ let v0 : string = "\\\\?\\C:\\test" │
00:30:33 verbose #89413 > │ v0 │
00:30:33 verbose #89414 > │ and method3 () : string = │
00:30:33 verbose #89415 > │ let v0 : string = "" │
00:30:33 verbose #89416 > │ v0 │
00:30:33 verbose #89417 > │ and method4 (v0 : bool) : bool = │
00:30:33 verbose #89418 > │ v0 │
00:30:33 verbose #89419 > │ and method0 () : unit = │
00:30:33 verbose #89420 > │ let v0 : string option = None │
00:30:33 verbose #89421 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:30:33 verbose #89422 > │ │
00:30:33 verbose #89423 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:33 verbose #89424 > │ │
00:30:33 verbose #89425 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:33 verbose #89426 > │ let v2 : string = method1() │
00:30:33 verbose #89427 > │ let v3 : string = method2() │
00:30:33 verbose #89428 > │ let v4 : string = method3() │
00:30:33 verbose #89429 > │ let v5 : string = $"regex::Regex::new(&$0).unwrap().replace_all(&$1, │
00:30:33 verbose #89430 > │ &*$2)" │
00:30:33 verbose #89431 > │ let v6 : std_borrow_Cow<Str> = Fable.Core.RustInterop.emitRustExpr │
00:30:33 verbose #89432 > │ struct (v2, v3, v4) v5 │
00:30:33 verbose #89433 > │ let v7 : string = "String::from($0)" │
00:30:33 verbose #89434 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:30:33 verbose #89435 > │ let v9 : string = "fable_library_rust::String_::fromString($0)" │
00:30:33 verbose #89436 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:30:33 verbose #89437 > │ v10 │
00:30:33 verbose #89438 > │ #endif │
00:30:33 verbose #89439 > │ │
00:30:33 verbose #89440 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:33 verbose #89441 > │ let v11 : string = null |> unbox<string> │
00:30:33 verbose #89442 > │ v11 │
00:30:33 verbose #89443 > │ #endif │
00:30:33 verbose #89444 > │ │
00:30:33 verbose #89445 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:33 verbose #89446 > │ let v12 : string = null |> unbox<string> │
00:30:33 verbose #89447 > │ v12 │
00:30:33 verbose #89448 > │ #endif │
00:30:33 verbose #89449 > │ │
00:30:33 verbose #89450 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:33 verbose #89451 > │ let v13 : string = null |> unbox<string> │
00:30:33 verbose #89452 > │ v13 │
00:30:33 verbose #89453 > │ #endif │
00:30:33 verbose #89454 > │ │
00:30:33 verbose #89455 > │ #if FABLE_COMPILER_PYTHON │
00:30:33 verbose #89456 > │ let v14 : string = null |> unbox<string> │
00:30:33 verbose #89457 > │ v14 │
00:30:33 verbose #89458 > │ #endif │
00:30:33 verbose #89459 > │ │
00:30:33 verbose #89460 > │ #else │
00:30:33 verbose #89461 > │ let v15 : string = "\\\\?\\C:\\test" │
00:30:33 verbose #89462 > │ let v16 : string = "^\\\\\\\\\\?\\\\" │
00:30:33 verbose #89463 > │ let v17 : string = "" │
00:30:33 verbose #89464 > │ let v18 : string = System.Text.RegularExpressions.Regex.Replace (v15, │
00:30:33 verbose #89465 > │ v16, v17) │
00:30:33 verbose #89466 > │ v18 │
00:30:33 verbose #89467 > │ #endif │
00:30:33 verbose #89468 > │ |> fun x -> _v0 <- Some x │
00:30:33 verbose #89469 > │ let v19 : string = _v0.Value │
00:30:33 verbose #89470 > │ let v20 : string = $"{v19.[0] |> string |> _.ToLower()}{v19.[1..]}" │
00:30:33 verbose #89471 > │ let v21 : string = "\\" │
00:30:33 verbose #89472 > │ let v22 : string = "/" │
00:30:33 verbose #89473 > │ let v23 : string = v20.Replace (v21, v22) │
00:30:33 verbose #89474 > │ let v24 : (char []) = [|'/'|] │
00:30:33 verbose #89475 > │ let v25 : string = v23.TrimStart v24 │
00:30:33 verbose #89476 > │ let v26 : string = $"file:///{v25}" │
00:30:33 verbose #89477 > │ let v28 : bool = v26 = "file:///c:/test" │
00:30:33 verbose #89478 > │ let v30 : bool = │
00:30:33 verbose #89479 > │ if v28 then │
00:30:33 verbose #89480 > │ true │
00:30:33 verbose #89481 > │ else │
00:30:33 verbose #89482 > │ method4(v28) │
00:30:33 verbose #89483 > │ let v31 : string = "assert_eq" │
00:30:33 verbose #89484 > │ let v32 : string = "file:///c:/test" │
00:30:33 verbose #89485 > │ let v33 : string = $"{v31} / actual: %A{v26} / expected: %A{v32}" │
00:30:33 verbose #89486 > │ System.Console.WriteLine v33 │
00:30:33 verbose #89487 > │ let v34 : bool = v30 = false │
00:30:33 verbose #89488 > │ if v34 then │
00:30:33 verbose #89489 > │ failwith<unit> v33 │
00:30:33 verbose #89490 > │ method0() │
00:30:33 verbose #89491 > │ │
00:30:33 verbose #89492 > │ │
00:30:33 verbose #89493 > │ │
00:30:33 verbose #89494 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:33 verbose #89495 >
00:30:33 verbose #89496 > ── markdown ────────────────────────────────────────────────────────────────────
00:30:33 verbose #89497 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:33 verbose #89498 > │ ## trace_file │
00:30:33 verbose #89499 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:33 verbose #89500 >
00:30:33 verbose #89501 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:33 verbose #89502 > let rec trace_file text =
00:30:33 verbose #89503 > run_target function
00:30:33 verbose #89504 > | Fsharp (Native) => fun () =>
00:30:33 verbose #89505 > try_unit
00:30:33 verbose #89506 > fun () =>
00:30:33 verbose #89507 > inl assembly_name = get_entry_assembly_name ()
00:30:33 verbose #89508 > inl guid = date_time.now () |> date_time.new_guid_from_date_time
00:30:33 verbose #89509 > inl file_name = $'$"{!assembly_name}_{!guid}.txt"'
00:30:33 verbose #89510 >
00:30:33 verbose #89511 > inl repository_root = get_repository_root ()
00:30:33 verbose #89512 > inl trace_dir = repository_root </> "target/polyglot/trace"
00:30:33 verbose #89513 > trace_dir |> create_directory |> ignore
00:30:33 verbose #89514 > inl path = trace_dir </> file_name
00:30:33 verbose #89515 > text |> write_all_text_async path |> async.run_synchronously
00:30:33 verbose #89516 > fun ex =>
00:30:33 verbose #89517 > trace_file $'$"file_system.trace_file / ex: %A{!ex}"'
00:30:33 verbose #89518 > | _ => fun () => ()
00:30:34 verbose #89519 > 00:30:33 debug #1003 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/d2f43a23d3e4664bf2aa50073bb30f2ee5a15e74a6fb5e7b19c9a52ee91f8213/main.spi
00:30:34 verbose #89520 >
00:30:34 verbose #89521 > ╭─[ 984.31ms - stdout ]────────────────────────────────────────────────────────╮
00:30:34 verbose #89522 > │ () │
00:30:34 verbose #89523 > │ │
00:30:34 verbose #89524 > │ │
00:30:34 verbose #89525 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:34 verbose #89526 >
00:30:34 verbose #89527 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:34 verbose #89528 > //// test
00:30:34 verbose #89529 > //// print_code=false
00:30:34 verbose #89530 >
00:30:34 verbose #89531 > inl get_count dir : i64 =
00:30:34 verbose #89532 > inl files = dir |> file_system.directory_get_files
00:30:34 verbose #89533 > a files |> am'.length
00:30:34 verbose #89534 >
00:30:34 verbose #89535 > types ()
00:30:34 verbose #89536 > inl trace_dir = file_system.get_repository_root () </> "target/polyglot/trace"
00:30:34 verbose #89537 > trace_dir |> file_system.create_directory |> ignore
00:30:34 verbose #89538 >
00:30:34 verbose #89539 > inl count = get_count trace_dir
00:30:34 verbose #89540 >
00:30:34 verbose #89541 > trace_file "test"
00:30:34 verbose #89542 >
00:30:34 verbose #89543 > get_count trace_dir
00:30:34 verbose #89544 > |> _assert_eq (count + 1)
00:30:35 verbose #89545 > 00:30:34 debug #1004 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/95712cd05c90cd1465d97bc3d52a54c9bc8472a875efd48de0be4c28fdf96ae9/main.spi
00:30:35 verbose #89546 > 00:30:34 debug #1005 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dbd4e241eb2e3e9a3661143aea0c86fecd75762a2bbbb339087b494077d89a25/main.spi
00:30:36 verbose #89547 >
00:30:36 verbose #89548 > ╭─[ 1.53s - stdout ]───────────────────────────────────────────────────────────╮
00:30:36 verbose #89549 > │ assert_eq / actual: 38L / expected: 38L │
00:30:36 verbose #89550 > │ │
00:30:36 verbose #89551 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:36 verbose #89552 >
00:30:36 verbose #89553 > ── markdown ────────────────────────────────────────────────────────────────────
00:30:36 verbose #89554 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:36 verbose #89555 > │ ## init_trace_file │
00:30:36 verbose #89556 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:36 verbose #89557 >
00:30:36 verbose #89558 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:36 verbose #89559 > inl init_trace_file enabled =
00:30:36 verbose #89560 > inl state_trace_file = get_trace_state () .trace_file
00:30:36 verbose #89561 > state_trace_file <- if enabled then trace_file else ignore
00:30:37 verbose #89562 > 00:30:36 debug #1006 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dea9d99e5b19dd72025ebbf0927159328bbb6b8a6063e094db2a20f272647ccd/main.spi
00:30:37 verbose #89563 > 00:30:36 debug #1007 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/c12ae2a75395e39b3def498de22659301f7a6ea52c622d4d10338cc3c8e9ec7c/main.spi
00:30:37 verbose #89564 >
00:30:37 verbose #89565 > ╭─[ 915.10ms - stdout ]────────────────────────────────────────────────────────╮
00:30:37 verbose #89566 > │ () │
00:30:37 verbose #89567 > │ │
00:30:37 verbose #89568 > │ │
00:30:37 verbose #89569 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:37 verbose #89570 >
00:30:37 verbose #89571 > ── markdown ────────────────────────────────────────────────────────────────────
00:30:37 verbose #89572 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:30:37 verbose #89573 > │ ## main │
00:30:37 verbose #89574 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:37 verbose #89575 >
00:30:37 verbose #89576 > ── spiral ──────────────────────────────────────────────────────────────────────
00:30:37 verbose #89577 > inl main () =
00:30:37 verbose #89578 > types ()
00:30:37 verbose #89579 > init_trace_state ()
00:30:37 verbose #89580 > $"let delete_directory_async x = !delete_directory_async x" : ()
00:30:37 verbose #89581 > $"let wait_for_file_access x = !wait_for_file_access x" : ()
00:30:37 verbose #89582 > $"let wait_for_file_access_read x = !wait_for_file_access_read x" : ()
00:30:37 verbose #89583 > $"let read_all_text_async x = !read_all_text_async x" : ()
00:30:37 verbose #89584 > $"let file_exists_content x = !file_exists_content x" : ()
00:30:37 verbose #89585 > $"let write_all_text_async x = !write_all_text_async x" : ()
00:30:37 verbose #89586 > $"let write_all_text_exists x = !write_all_text_exists x" : ()
00:30:37 verbose #89587 > $"let delete_file_async x = !delete_file_async x" : ()
00:30:37 verbose #89588 > $"let move_file_async x = !move_file_async x" : ()
00:30:37 verbose #89589 > $"let read_all_text_retry_async x = !read_all_text_retry_async x" : ()
00:30:37 verbose #89590 > $"let create_temp_directory_name () = !create_temp_directory_name ()" : ()
00:30:37 verbose #89591 > $"let create_temp_directory () = !create_temp_directory ()" : ()
00:30:37 verbose #89592 > $"let get_source_directory () = !get_source_directory ()" : ()
00:30:37 verbose #89593 > $"let find_parent x = !find_parent x" : ()
00:30:37 verbose #89594 > $"let normalize_path x = !normalize_path x" : ()
00:30:37 verbose #89595 > $"let new_file_uri x = !new_file_uri x" : ()
00:30:37 verbose #89596 > $"let get_repository_root () = !get_repository_root ()" : ()
00:30:37 verbose #89597 > $"let init_trace_file x = !init_trace_file x" : ()
00:30:37 verbose #89598 > inl combine x = (</>) x
00:30:37 verbose #89599 > $"let (</>) x = !combine x" : ()
00:30:37 verbose #89600 > 00:30:36 debug #1008 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/cb1c2c521658c57b4e078655393e1e29fbec6d3d03b197c765c8acdf7beb9479/main.spi
00:30:37 verbose #89601 > 00:30:36 debug #1009 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/f96702c06b57005690322429e60f6554811622d592f4cdce9af237251e29b701/main.spi
00:30:38 verbose #89602 > 00:30:37 debug #1010 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/36d8f4dad096b7be7b896db70a938e80bfb6c245d0e6fddae06d88c1364b5d12/main.spi
00:30:39 verbose #89603 > 00:30:38 debug #1011 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a9e0a241a3d18b960a9dfec6fc97bab5d5aa5fb03152b5f9c22fcc49d41e048e/main.spi
00:30:40 verbose #89604 > 00:30:39 debug #1012 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3fe97709dc073c926e2221316bd2d2fc36da2611aea1c6c9ad8d1404de796d2b/main.spi
00:30:41 verbose #89605 >
00:30:41 verbose #89606 > 00:30:40 debug #1013 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a814e0ede8d04047f73c1326ac2faab639a514d3ab75280f795aed4692a71956/main.spi
00:30:41 verbose #89607 > ╭─[ 3.81s - stdout ]───────────────────────────────────────────────────────────╮
00:30:41 verbose #89608 > │ #if FABLE_COMPILER │
00:30:41 verbose #89609 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:30:41 verbose #89610 > │ #endif │
00:30:41 verbose #89611 > │ type Func0<'T> = class end │
00:30:41 verbose #89612 > │ #if FABLE_COMPILER │
00:30:41 verbose #89613 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:30:41 verbose #89614 > │ #endif │
00:30:41 verbose #89615 > │ type Func0<'T, 'U> = class end │
00:30:41 verbose #89616 > │ #if FABLE_COMPILER │
00:30:41 verbose #89617 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:30:41 verbose #89618 > │ #endif │
00:30:41 verbose #89619 > │ type Box<'T> = class end │
00:30:41 verbose #89620 > │ #if FABLE_COMPILER │
00:30:41 verbose #89621 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:30:41 verbose #89622 > │ #endif │
00:30:41 verbose #89623 > │ type Dyn<'T> = class end │
00:30:41 verbose #89624 > │ #if FABLE_COMPILER │
00:30:41 verbose #89625 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:30:41 verbose #89626 > │ #endif │
00:30:41 verbose #89627 > │ type Send<'T> = class end │
00:30:41 verbose #89628 > │ #if FABLE_COMPILER │
00:30:41 verbose #89629 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:30:41 verbose #89630 > │ #endif │
00:30:41 verbose #89631 > │ type Fn<'T> = class end │
00:30:41 verbose #89632 > │ #if FABLE_COMPILER │
00:30:41 verbose #89633 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:30:41 verbose #89634 > │ #endif │
00:30:41 verbose #89635 > │ type FnUnit = class end │
00:30:41 verbose #89636 > │ #if FABLE_COMPILER │
00:30:41 verbose #89637 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:30:41 verbose #89638 > │ #endif │
00:30:41 verbose #89639 > │ type FnOnce<'T> = class end │
00:30:41 verbose #89640 > │ #if FABLE_COMPILER │
00:30:41 verbose #89641 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:30:41 verbose #89642 > │ #endif │
00:30:41 verbose #89643 > │ type ActionFn<'T> = class end │
00:30:41 verbose #89644 > │ #if FABLE_COMPILER │
00:30:41 verbose #89645 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:30:41 verbose #89646 > │ #endif │
00:30:41 verbose #89647 > │ type ActionFn2<'T, 'U> = class end │
00:30:41 verbose #89648 > │ #if FABLE_COMPILER │
00:30:41 verbose #89649 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:30:41 verbose #89650 > │ #endif │
00:30:41 verbose #89651 > │ type Impl<'T> = class end │
00:30:41 verbose #89652 > │ #if FABLE_COMPILER │
00:30:41 verbose #89653 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:30:41 verbose #89654 > │ #endif │
00:30:41 verbose #89655 > │ type Mut<'T> = class end │
00:30:41 verbose #89656 > │ #if FABLE_COMPILER │
00:30:41 verbose #89657 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:30:41 verbose #89658 > │ #endif │
00:30:41 verbose #89659 > │ type Ref<'T> = class end │
00:30:41 verbose #89660 > │ #if FABLE_COMPILER │
00:30:41 verbose #89661 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:30:41 verbose #89662 > │ #endif │
00:30:41 verbose #89663 > │ type StaticRef<'T> = class end │
00:30:41 verbose #89664 > │ #if FABLE_COMPILER │
00:30:41 verbose #89665 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:30:41 verbose #89666 > │ #endif │
00:30:41 verbose #89667 > │ type MutCell<'T> = class end │
00:30:41 verbose #89668 > │ #if FABLE_COMPILER │
00:30:41 verbose #89669 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:30:41 verbose #89670 > │ #endif │
00:30:41 verbose #89671 > │ type std_any_Any = class end │
00:30:41 verbose #89672 > │ #if FABLE_COMPILER │
00:30:41 verbose #89673 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:30:41 verbose #89674 > │ #endif │
00:30:41 verbose #89675 > │ type std_borrow_Cow<'T> = class end │
00:30:41 verbose #89676 > │ #if FABLE_COMPILER │
00:30:41 verbose #89677 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:30:41 verbose #89678 > │ #endif │
00:30:41 verbose #89679 > │ type std_cell_RefCell<'T> = class end │
00:30:41 verbose #89680 > │ #if FABLE_COMPILER │
00:30:41 verbose #89681 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:30:41 verbose #89682 > │ #endif │
00:30:41 verbose #89683 > │ type std_pin_Pin<'T> = class end │
00:30:41 verbose #89684 > │ #if FABLE_COMPILER │
00:30:41 verbose #89685 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:30:41 verbose #89686 > │ #endif │
00:30:41 verbose #89687 > │ type std_rc_Rc<'T> = class end │
00:30:41 verbose #89688 > │ #if FABLE_COMPILER │
00:30:41 verbose #89689 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:30:41 verbose #89690 > │ #endif │
00:30:41 verbose #89691 > │ type std_rc_Weak<'T> = class end │
00:30:41 verbose #89692 > │ #if FABLE_COMPILER │
00:30:41 verbose #89693 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:30:41 verbose #89694 > │ #endif │
00:30:41 verbose #89695 > │ type Str = class end │
00:30:41 verbose #89696 > │ #if FABLE_COMPILER │
00:30:41 verbose #89697 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:30:41 verbose #89698 > │ #endif │
00:30:41 verbose #89699 > │ type base64_DecodeError = class end │
00:30:41 verbose #89700 > │ #if FABLE_COMPILER │
00:30:41 verbose #89701 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:30:41 verbose #89702 > │ #endif │
00:30:41 verbose #89703 > │ type borsh_io_Error = class end │
00:30:41 verbose #89704 > │ #if FABLE_COMPILER │
00:30:41 verbose #89705 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:30:41 verbose #89706 > │ #endif │
00:30:41 verbose #89707 > │ type js_sys_JsString = class end │
00:30:41 verbose #89708 > │ #if FABLE_COMPILER │
00:30:41 verbose #89709 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:30:41 verbose #89710 > │ #endif │
00:30:41 verbose #89711 > │ type serde_json_Error = class end │
00:30:41 verbose #89712 > │ #if FABLE_COMPILER │
00:30:41 verbose #89713 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:30:41 verbose #89714 > │ #endif │
00:30:41 verbose #89715 > │ type serde_json_Value = class end │
00:30:41 verbose #89716 > │ #if FABLE_COMPILER │
00:30:41 verbose #89717 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:30:41 verbose #89718 > │ #endif │
00:30:41 verbose #89719 > │ type serde_wasm_bindgen_Error = class end │
00:30:41 verbose #89720 > │ #if FABLE_COMPILER │
00:30:41 verbose #89721 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:30:41 verbose #89722 > │ #endif │
00:30:41 verbose #89723 > │ type std_ffi_OsStr = class end │
00:30:41 verbose #89724 > │ #if FABLE_COMPILER │
00:30:41 verbose #89725 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:30:41 verbose #89726 > │ #endif │
00:30:41 verbose #89727 > │ type std_ffi_OsString = class end │
00:30:41 verbose #89728 > │ #if FABLE_COMPILER │
00:30:41 verbose #89729 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:30:41 verbose #89730 > │ #endif │
00:30:41 verbose #89731 > │ type std_fmt_Display<'T> = class end │
00:30:41 verbose #89732 > │ #if FABLE_COMPILER │
00:30:41 verbose #89733 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:30:41 verbose #89734 > │ #endif │
00:30:41 verbose #89735 > │ type std_str_Utf8Error = class end │
00:30:41 verbose #89736 > │ #if FABLE_COMPILER │
00:30:41 verbose #89737 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:30:41 verbose #89738 > │ #endif │
00:30:41 verbose #89739 > │ type std_string_FromUtf8Error = class end │
00:30:41 verbose #89740 > │ #if FABLE_COMPILER │
00:30:41 verbose #89741 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:30:41 verbose #89742 > │ #endif │
00:30:41 verbose #89743 > │ type std_string_String = class end │
00:30:41 verbose #89744 > │ #if FABLE_COMPILER │
00:30:41 verbose #89745 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:30:41 verbose #89746 > │ #endif │
00:30:41 verbose #89747 > │ type std_slice_Windows<'T> = class end │
00:30:41 verbose #89748 > │ #if FABLE_COMPILER │
00:30:41 verbose #89749 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::DateTime<$0>")>] │
00:30:41 verbose #89750 > │ #endif │
00:30:41 verbose #89751 > │ type chrono_DateTime<'T> = class end │
00:30:41 verbose #89752 > │ #if FABLE_COMPILER │
00:30:41 verbose #89753 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Local")>] │
00:30:41 verbose #89754 > │ #endif │
00:30:41 verbose #89755 > │ type chrono_Local = class end │
00:30:41 verbose #89756 > │ #if FABLE_COMPILER │
00:30:41 verbose #89757 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::NaiveDateTime")>] │
00:30:41 verbose #89758 > │ #endif │
00:30:41 verbose #89759 > │ type chrono_NaiveDateTime = class end │
00:30:41 verbose #89760 > │ #if FABLE_COMPILER │
00:30:41 verbose #89761 > │ [<Fable.Core.Erase; Fable.Core.Emit("chrono::Utc")>] │
00:30:41 verbose #89762 > │ #endif │
00:30:41 verbose #89763 > │ type chrono_Utc = class end │
00:30:41 verbose #89764 > │ #if FABLE_COMPILER │
00:30:41 verbose #89765 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::time::Duration")>] │
00:30:41 verbose #89766 > │ #endif │
00:30:41 verbose #89767 > │ type std_time_Duration = class end │
00:30:41 verbose #89768 > │ #if FABLE_COMPILER │
00:30:41 verbose #89769 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_std::io::BufReader<$0>")>] │
00:30:41 verbose #89770 > │ #endif │
00:30:41 verbose #89771 > │ type async_std_io_BufReader<'T> = class end │
00:30:41 verbose #89772 > │ #if FABLE_COMPILER │
00:30:41 verbose #89773 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::BufReader<$0>")>] │
00:30:41 verbose #89774 > │ #endif │
00:30:41 verbose #89775 > │ type std_io_BufReader<'T> = class end │
00:30:41 verbose #89776 > │ #if FABLE_COMPILER │
00:30:41 verbose #89777 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Error")>] │
00:30:41 verbose #89778 > │ #endif │
00:30:41 verbose #89779 > │ type std_io_Error = class end │
00:30:41 verbose #89780 > │ #if FABLE_COMPILER │
00:30:41 verbose #89781 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::io::Lines<$0>")>] │
00:30:41 verbose #89782 > │ #endif │
00:30:41 verbose #89783 > │ type std_io_Lines<'T> = class end │
00:30:41 verbose #89784 > │ #if FABLE_COMPILER │
00:30:41 verbose #89785 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::File")>] │
00:30:41 verbose #89786 > │ #endif │
00:30:41 verbose #89787 > │ type std_fs_File = class end │
00:30:41 verbose #89788 > │ #if FABLE_COMPILER │
00:30:41 verbose #89789 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fs::FileType")>] │
00:30:41 verbose #89790 > │ #endif │
00:30:41 verbose #89791 > │ type std_fs_FileType = class end │
00:30:41 verbose #89792 > │ #if FABLE_COMPILER │
00:30:41 verbose #89793 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Display")>] │
00:30:41 verbose #89794 > │ #endif │
00:30:41 verbose #89795 > │ type std_path_Display = class end │
00:30:41 verbose #89796 > │ #if FABLE_COMPILER │
00:30:41 verbose #89797 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::Path")>] │
00:30:41 verbose #89798 > │ #endif │
00:30:41 verbose #89799 > │ type std_path_Path = class end │
00:30:41 verbose #89800 > │ #if FABLE_COMPILER │
00:30:41 verbose #89801 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::path::PathBuf")>] │
00:30:41 verbose #89802 > │ #endif │
00:30:41 verbose #89803 > │ type std_path_PathBuf = class end │
00:30:41 verbose #89804 > │ #if FABLE_COMPILER │
00:30:41 verbose #89805 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::DirEntry")>] │
00:30:41 verbose #89806 > │ #endif │
00:30:41 verbose #89807 > │ type async_walkdir_DirEntry = class end │
00:30:41 verbose #89808 > │ #if FABLE_COMPILER │
00:30:41 verbose #89809 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::Filtering")>] │
00:30:41 verbose #89810 > │ #endif │
00:30:41 verbose #89811 > │ type async_walkdir_Filtering = class end │
00:30:41 verbose #89812 > │ #if FABLE_COMPILER │
00:30:41 verbose #89813 > │ [<Fable.Core.Erase; Fable.Core.Emit("async_walkdir::WalkDir")>] │
00:30:41 verbose #89814 > │ #endif │
00:30:41 verbose #89815 > │ type async_walkdir_WalkDir = class end │
00:30:41 verbose #89816 > │ module State = let mutable trace_state = None │
00:30:41 verbose #89817 > │ type IFsExistsSync = abstract existsSync: path: string -> bool │
00:30:41 verbose #89818 > │ type IPathJoin = abstract join: [<System.ParamArray>] paths: string[] -> │
00:30:41 verbose #89819 > │ string │
00:30:41 verbose #89820 > │ type Disposable (f : unit -> unit) = interface System.IDisposable with │
00:30:41 verbose #89821 > │ member _.Dispose () = f () │
00:30:41 verbose #89822 > │ type IPathDirname = abstract dirname: path: string -> string │
00:30:41 verbose #89823 > │ type Mut0 = {mutable l0 : int64} │
00:30:41 verbose #89824 > │ and Mut1 = {mutable l0 : bool} │
00:30:41 verbose #89825 > │ and [<Struct>] US0 = │
00:30:41 verbose #89826 > │ | US0_0 │
00:30:41 verbose #89827 > │ | US0_1 │
00:30:41 verbose #89828 > │ | US0_2 │
00:30:41 verbose #89829 > │ | US0_3 │
00:30:41 verbose #89830 > │ | US0_4 │
00:30:41 verbose #89831 > │ and Mut2 = {mutable l0 : US0} │
00:30:41 verbose #89832 > │ and Mut3 = {mutable l0 : (string -> unit)} │
00:30:41 verbose #89833 > │ and [<Struct>] US1 = │
00:30:41 verbose #89834 > │ | US1_0 of f0_0 : int64 │
00:30:41 verbose #89835 > │ | US1_1 │
00:30:41 verbose #89836 > │ and [<Struct>] US2 = │
00:30:41 verbose #89837 > │ | US2_0 of f0_0 : int64 │
00:30:41 verbose #89838 > │ | US2_1 │
00:30:41 verbose #89839 > │ and [<Struct>] US4 = │
00:30:41 verbose #89840 > │ | US4_0 │
00:30:41 verbose #89841 > │ | US4_1 │
00:30:41 verbose #89842 > │ | US4_2 │
00:30:41 verbose #89843 > │ and [<Struct>] US5 = │
00:30:41 verbose #89844 > │ | US5_0 │
00:30:41 verbose #89845 > │ | US5_1 │
00:30:41 verbose #89846 > │ | US5_2 │
00:30:41 verbose #89847 > │ | US5_3 │
00:30:41 verbose #89848 > │ | US5_4 │
00:30:41 verbose #89849 > │ and [<Struct>] US3 = │
00:30:41 verbose #89850 > │ | US3_0 of f0_0 : US4 * f0_1 : US5 │
00:30:41 verbose #89851 > │ | US3_1 │
00:30:41 verbose #89852 > │ and [<Struct>] US6 = │
00:30:41 verbose #89853 > │ | US6_0 of f0_0 : int64 │
00:30:41 verbose #89854 > │ | US6_1 of f1_0 : exn │
00:30:41 verbose #89855 > │ and [<Struct>] US7 = │
00:30:41 verbose #89856 > │ | US7_0 of f0_0 : int64 │
00:30:41 verbose #89857 > │ | US7_1 of f1_0 : exn │
00:30:41 verbose #89858 > │ and [<Struct>] US8 = │
00:30:41 verbose #89859 > │ | US8_0 of f0_0 : chrono_DateTime<chrono_Utc> │
00:30:41 verbose #89860 > │ | US8_1 │
00:30:41 verbose #89861 > │ and [<Struct>] US9 = │
00:30:41 verbose #89862 > │ | US9_0 of f0_0 : string │
00:30:41 verbose #89863 > │ | US9_1 │
00:30:41 verbose #89864 > │ and [<Struct>] US10 = │
00:30:41 verbose #89865 > │ | US10_0 │
00:30:41 verbose #89866 > │ | US10_1 of f1_0 : std_string_String │
00:30:41 verbose #89867 > │ let rec closure1 () (v0 : string) : unit = │
00:30:41 verbose #89868 > │ () │
00:30:41 verbose #89869 > │ and method0 (v0 : int64 option) : int64 option = │
00:30:41 verbose #89870 > │ v0 │
00:30:41 verbose #89871 > │ and method1 (v0 : int64 option) : int64 option = │
00:30:41 verbose #89872 > │ v0 │
00:30:41 verbose #89873 > │ and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) = │
00:30:41 verbose #89874 > │ let v0 : Mut1 = {l0 = true} : Mut1 │
00:30:41 verbose #89875 > │ let v1 : Mut0 = {l0 = 0L} : Mut0 │
00:30:41 verbose #89876 > │ let v2 : US0 = US0_0 │
00:30:41 verbose #89877 > │ let v3 : Mut2 = {l0 = v2} : Mut2 │
00:30:41 verbose #89878 > │ let v4 : (string -> unit) = closure1() │
00:30:41 verbose #89879 > │ let v5 : Mut3 = {l0 = v4} : Mut3 │
00:30:41 verbose #89880 > │ let v6 : int64 option option = None │
00:30:41 verbose #89881 > │ let mutable _v6 = v6 │
00:30:41 verbose #89882 > │ #if INTERACTIVE || !FABLE_COMPILER │
00:30:41 verbose #89883 > │ let v7 : string option = None │
00:30:41 verbose #89884 > │ let v8 : bool = true in let mutable _v7 = v7 │
00:30:41 verbose #89885 > │ │
00:30:41 verbose #89886 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #89887 > │ │
00:30:41 verbose #89888 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #89889 > │ let v9 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:30:41 verbose #89890 > │ let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9 │
00:30:41 verbose #89891 > │ v10 │
00:30:41 verbose #89892 > │ #endif │
00:30:41 verbose #89893 > │ │
00:30:41 verbose #89894 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #89895 > │ let v11 : string = null |> unbox<string> │
00:30:41 verbose #89896 > │ v11 │
00:30:41 verbose #89897 > │ #endif │
00:30:41 verbose #89898 > │ │
00:30:41 verbose #89899 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #89900 > │ let v12 : string = null |> unbox<string> │
00:30:41 verbose #89901 > │ v12 │
00:30:41 verbose #89902 > │ #endif │
00:30:41 verbose #89903 > │ │
00:30:41 verbose #89904 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #89905 > │ let v13 : string = null |> unbox<string> │
00:30:41 verbose #89906 > │ v13 │
00:30:41 verbose #89907 > │ #endif │
00:30:41 verbose #89908 > │ │
00:30:41 verbose #89909 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #89910 > │ let v14 : string = null |> unbox<string> │
00:30:41 verbose #89911 > │ v14 │
00:30:41 verbose #89912 > │ #endif │
00:30:41 verbose #89913 > │ │
00:30:41 verbose #89914 > │ #else │
00:30:41 verbose #89915 > │ let v15 : string = │
00:30:41 verbose #89916 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:30:41 verbose #89917 > │ v15 │
00:30:41 verbose #89918 > │ #endif │
00:30:41 verbose #89919 > │ |> fun x -> _v7 <- Some x │
00:30:41 verbose #89920 > │ let v16 : string = _v7.Value │
00:30:41 verbose #89921 > │ let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App" │
00:30:41 verbose #89922 > │ let v19 : bool = v18 <> true │
00:30:41 verbose #89923 > │ let v25 : US1 = │
00:30:41 verbose #89924 > │ if v19 then │
00:30:41 verbose #89925 > │ let v20 : System.DateTime = System.DateTime.Now │
00:30:41 verbose #89926 > │ let v21 : (System.DateTime -> int64) = _.Ticks │
00:30:41 verbose #89927 > │ let v22 : int64 = v21 v20 │
00:30:41 verbose #89928 > │ US1_0(v22) │
00:30:41 verbose #89929 > │ else │
00:30:41 verbose #89930 > │ US1_1 │
00:30:41 verbose #89931 > │ let v30 : int64 option = │
00:30:41 verbose #89932 > │ match v25 with │
00:30:41 verbose #89933 > │ | US1_1 -> (* None *) │
00:30:41 verbose #89934 > │ let v28 : int64 option = None │
00:30:41 verbose #89935 > │ v28 │
00:30:41 verbose #89936 > │ | US1_0(v26) -> (* Some *) │
00:30:41 verbose #89937 > │ let v27 : int64 option = Some v26 │
00:30:41 verbose #89938 > │ v27 │
00:30:41 verbose #89939 > │ let v31 : int64 option = method0(v30) │
00:30:41 verbose #89940 > │ v31 │
00:30:41 verbose #89941 > │ #else │
00:30:41 verbose #89942 > │ let v32 : int64 option = None │
00:30:41 verbose #89943 > │ let v33 : int64 option = method1(v32) │
00:30:41 verbose #89944 > │ v33 │
00:30:41 verbose #89945 > │ #endif │
00:30:41 verbose #89946 > │ |> fun x -> _v6 <- Some x │
00:30:41 verbose #89947 > │ let v34 : int64 option = _v6.Value │
00:30:41 verbose #89948 > │ struct (v1, v0, v3, v34, v5) │
00:30:41 verbose #89949 > │ and method3 (v0 : string) : string = │
00:30:41 verbose #89950 > │ v0 │
00:30:41 verbose #89951 > │ and method4 (v0 : string) : string = │
00:30:41 verbose #89952 > │ v0 │
00:30:41 verbose #89953 > │ and closure3 () () : string = │
00:30:41 verbose #89954 > │ let v0 : string = "file_system.delete_directory_async" │
00:30:41 verbose #89955 > │ v0 │
00:30:41 verbose #89956 > │ and closure5 () (v0 : string) : string = │
00:30:41 verbose #89957 > │ let v1 : string option = None │
00:30:41 verbose #89958 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:41 verbose #89959 > │ │
00:30:41 verbose #89960 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #89961 > │ │
00:30:41 verbose #89962 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #89963 > │ let v3 : string = method4(v0) │
00:30:41 verbose #89964 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:41 verbose #89965 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:30:41 verbose #89966 > │ let v6 : string = "String::from($0)" │
00:30:41 verbose #89967 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:30:41 verbose #89968 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:30:41 verbose #89969 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:30:41 verbose #89970 > │ let v10 : string = "$0.file_name()" │
00:30:41 verbose #89971 > │ let v11 : Ref<std_ffi_OsStr> option = │
00:30:41 verbose #89972 > │ Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:30:41 verbose #89973 > │ let v12 : string = "$0.unwrap()" │
00:30:41 verbose #89974 > │ let v13 : Ref<std_ffi_OsStr> = Fable.Core.RustInterop.emitRustExpr v11 │
00:30:41 verbose #89975 > │ v12 │
00:30:41 verbose #89976 > │ let v14 : string = "$0.to_os_string()" │
00:30:41 verbose #89977 > │ let v15 : std_ffi_OsString = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:30:41 verbose #89978 > │ let v16 : string = "$0.to_str()" │
00:30:41 verbose #89979 > │ let v17 : Ref<Str> option = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:30:41 verbose #89980 > │ let v18 : string = "$0.unwrap()" │
00:30:41 verbose #89981 > │ let v19 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:30:41 verbose #89982 > │ let v20 : string = "String::from($0)" │
00:30:41 verbose #89983 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:30:41 verbose #89984 > │ v20 │
00:30:41 verbose #89985 > │ let v22 : string = "fable_library_rust::String_::fromString($0)" │
00:30:41 verbose #89986 > │ let v23 : string = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:30:41 verbose #89987 > │ v23 │
00:30:41 verbose #89988 > │ #endif │
00:30:41 verbose #89989 > │ │
00:30:41 verbose #89990 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #89991 > │ let v24 : string = null |> unbox<string> │
00:30:41 verbose #89992 > │ v24 │
00:30:41 verbose #89993 > │ #endif │
00:30:41 verbose #89994 > │ │
00:30:41 verbose #89995 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #89996 > │ let v25 : string = null |> unbox<string> │
00:30:41 verbose #89997 > │ v25 │
00:30:41 verbose #89998 > │ #endif │
00:30:41 verbose #89999 > │ │
00:30:41 verbose #90000 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90001 > │ let v26 : string = null |> unbox<string> │
00:30:41 verbose #90002 > │ v26 │
00:30:41 verbose #90003 > │ #endif │
00:30:41 verbose #90004 > │ │
00:30:41 verbose #90005 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90006 > │ let v27 : string = null |> unbox<string> │
00:30:41 verbose #90007 > │ v27 │
00:30:41 verbose #90008 > │ #endif │
00:30:41 verbose #90009 > │ │
00:30:41 verbose #90010 > │ #else │
00:30:41 verbose #90011 > │ let v28 : (string -> string) = System.IO.Path.GetFileName │
00:30:41 verbose #90012 > │ let v29 : string = v28 v0 │
00:30:41 verbose #90013 > │ v29 │
00:30:41 verbose #90014 > │ #endif │
00:30:41 verbose #90015 > │ |> fun x -> _v1 <- Some x │
00:30:41 verbose #90016 > │ let v30 : string = _v1.Value │
00:30:41 verbose #90017 > │ v30 │
00:30:41 verbose #90018 > │ and closure6 () () : string = │
00:30:41 verbose #90019 > │ let v0 : string = "" │
00:30:41 verbose #90020 > │ v0 │
00:30:41 verbose #90021 > │ and closure4 (v0 : string, v1 : string) () : string = │
00:30:41 verbose #90022 > │ let v2 : (string -> string) = closure5() │
00:30:41 verbose #90023 > │ let v3 : (unit -> string) = closure6() │
00:30:41 verbose #90024 > │ let v4 : string = $"path: {v0 |> v2} / ex: {v1} / {v3 ()}" │
00:30:41 verbose #90025 > │ v4 │
00:30:41 verbose #90026 > │ and closure8 () (v0 : int64) : US2 = │
00:30:41 verbose #90027 > │ US2_0(v0) │
00:30:41 verbose #90028 > │ and method6 () : (int64 -> US2) = │
00:30:41 verbose #90029 > │ closure8() │
00:30:41 verbose #90030 > │ and method7 () : string = │
00:30:41 verbose #90031 > │ let v0 : string = "" │
00:30:41 verbose #90032 > │ v0 │
00:30:41 verbose #90033 > │ and closure7 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : │
00:30:41 verbose #90034 > │ string = │
00:30:41 verbose #90035 > │ let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:30:41 verbose #90036 > │ closure0() │
00:30:41 verbose #90037 > │ if State.trace_state.IsNone then State.trace_state <- v3 () |> Some │
00:30:41 verbose #90038 > │ let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : │
00:30:41 verbose #90039 > │ Mut3) = State.trace_state.Value │
00:30:41 verbose #90040 > │ let v9 : string option = None │
00:30:41 verbose #90041 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:30:41 verbose #90042 > │ │
00:30:41 verbose #90043 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90044 > │ │
00:30:41 verbose #90045 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90046 > │ let v11 : (int64 -> US2) = method6() │
00:30:41 verbose #90047 > │ let v12 : US2 = US2_1 │
00:30:41 verbose #90048 > │ let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12 │
00:30:41 verbose #90049 > │ let v31 : System.DateTime = │
00:30:41 verbose #90050 > │ match v13 with │
00:30:41 verbose #90051 > │ | US2_1 -> (* None *) │
00:30:41 verbose #90052 > │ let v29 : System.DateTime = System.DateTime.Now │
00:30:41 verbose #90053 > │ v29 │
00:30:41 verbose #90054 > │ | US2_0(v14) -> (* Some *) │
00:30:41 verbose #90055 > │ let v15 : System.DateTime = System.DateTime.Now │
00:30:41 verbose #90056 > │ let v16 : (System.DateTime -> int64) = _.Ticks │
00:30:41 verbose #90057 > │ let v17 : int64 = v16 v15 │
00:30:41 verbose #90058 > │ let v18 : int64 = v17 - v14 │
00:30:41 verbose #90059 > │ let v19 : System.TimeSpan = System.TimeSpan v18 │
00:30:41 verbose #90060 > │ let v20 : (System.TimeSpan -> int32) = _.Hours │
00:30:41 verbose #90061 > │ let v21 : int32 = v20 v19 │
00:30:41 verbose #90062 > │ let v22 : (System.TimeSpan -> int32) = _.Minutes │
00:30:41 verbose #90063 > │ let v23 : int32 = v22 v19 │
00:30:41 verbose #90064 > │ let v24 : (System.TimeSpan -> int32) = _.Seconds │
00:30:41 verbose #90065 > │ let v25 : int32 = v24 v19 │
00:30:41 verbose #90066 > │ let v26 : (System.TimeSpan -> int32) = _.Milliseconds │
00:30:41 verbose #90067 > │ let v27 : int32 = v26 v19 │
00:30:41 verbose #90068 > │ let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, │
00:30:41 verbose #90069 > │ v25, v27) │
00:30:41 verbose #90070 > │ v28 │
00:30:41 verbose #90071 > │ let v32 : string = "hh:mm:ss" │
00:30:41 verbose #90072 > │ let v33 : string = v31.ToString v32 │
00:30:41 verbose #90073 > │ v33 │
00:30:41 verbose #90074 > │ #endif │
00:30:41 verbose #90075 > │ │
00:30:41 verbose #90076 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90077 > │ let v34 : string = method7() │
00:30:41 verbose #90078 > │ v34 │
00:30:41 verbose #90079 > │ #endif │
00:30:41 verbose #90080 > │ │
00:30:41 verbose #90081 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90082 > │ let v35 : string = method7() │
00:30:41 verbose #90083 > │ v35 │
00:30:41 verbose #90084 > │ #endif │
00:30:41 verbose #90085 > │ │
00:30:41 verbose #90086 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90087 > │ let v36 : string = method7() │
00:30:41 verbose #90088 > │ v36 │
00:30:41 verbose #90089 > │ #endif │
00:30:41 verbose #90090 > │ │
00:30:41 verbose #90091 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90092 > │ let v37 : string = method7() │
00:30:41 verbose #90093 > │ v37 │
00:30:41 verbose #90094 > │ #endif │
00:30:41 verbose #90095 > │ │
00:30:41 verbose #90096 > │ #else │
00:30:41 verbose #90097 > │ let v38 : (int64 -> US2) = method6() │
00:30:41 verbose #90098 > │ let v39 : US2 = US2_1 │
00:30:41 verbose #90099 > │ let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39 │
00:30:41 verbose #90100 > │ let v58 : System.DateTime = │
00:30:41 verbose #90101 > │ match v40 with │
00:30:41 verbose #90102 > │ | US2_1 -> (* None *) │
00:30:41 verbose #90103 > │ let v56 : System.DateTime = System.DateTime.Now │
00:30:41 verbose #90104 > │ v56 │
00:30:41 verbose #90105 > │ | US2_0(v41) -> (* Some *) │
00:30:41 verbose #90106 > │ let v42 : System.DateTime = System.DateTime.Now │
00:30:41 verbose #90107 > │ let v43 : (System.DateTime -> int64) = _.Ticks │
00:30:41 verbose #90108 > │ let v44 : int64 = v43 v42 │
00:30:41 verbose #90109 > │ let v45 : int64 = v44 - v41 │
00:30:41 verbose #90110 > │ let v46 : System.TimeSpan = System.TimeSpan v45 │
00:30:41 verbose #90111 > │ let v47 : (System.TimeSpan -> int32) = _.Hours │
00:30:41 verbose #90112 > │ let v48 : int32 = v47 v46 │
00:30:41 verbose #90113 > │ let v49 : (System.TimeSpan -> int32) = _.Minutes │
00:30:41 verbose #90114 > │ let v50 : int32 = v49 v46 │
00:30:41 verbose #90115 > │ let v51 : (System.TimeSpan -> int32) = _.Seconds │
00:30:41 verbose #90116 > │ let v52 : int32 = v51 v46 │
00:30:41 verbose #90117 > │ let v53 : (System.TimeSpan -> int32) = _.Milliseconds │
00:30:41 verbose #90118 > │ let v54 : int32 = v53 v46 │
00:30:41 verbose #90119 > │ let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, │
00:30:41 verbose #90120 > │ v52, v54) │
00:30:41 verbose #90121 > │ v55 │
00:30:41 verbose #90122 > │ let v59 : string = "HH:mm:ss" │
00:30:41 verbose #90123 > │ let v60 : string = v58.ToString v59 │
00:30:41 verbose #90124 > │ v60 │
00:30:41 verbose #90125 > │ #endif │
00:30:41 verbose #90126 > │ |> fun x -> _v9 <- Some x │
00:30:41 verbose #90127 > │ let v61 : string = _v9.Value │
00:30:41 verbose #90128 > │ let v62 : int64 = v4.l0 │
00:30:41 verbose #90129 > │ let v72 : string = │
00:30:41 verbose #90130 > │ match v0 with │
00:30:41 verbose #90131 > │ | US0_4 -> (* Critical *) │
00:30:41 verbose #90132 > │ let v67 : string = "Critical" │
00:30:41 verbose #90133 > │ v67 │
00:30:41 verbose #90134 > │ | US0_1 -> (* Debug *) │
00:30:41 verbose #90135 > │ let v64 : string = "Debug" │
00:30:41 verbose #90136 > │ v64 │
00:30:41 verbose #90137 > │ | US0_2 -> (* Info *) │
00:30:41 verbose #90138 > │ let v65 : string = "Info" │
00:30:41 verbose #90139 > │ v65 │
00:30:41 verbose #90140 > │ | US0_0 -> (* Verbose *) │
00:30:41 verbose #90141 > │ let v63 : string = "Verbose" │
00:30:41 verbose #90142 > │ v63 │
00:30:41 verbose #90143 > │ | US0_3 -> (* Warning *) │
00:30:41 verbose #90144 > │ let v66 : string = "Warning" │
00:30:41 verbose #90145 > │ v66 │
00:30:41 verbose #90146 > │ let v73 : string = v72.ToLower () │
00:30:41 verbose #90147 > │ let v74 : string = v73.PadLeft (7, ' ') │
00:30:41 verbose #90148 > │ let v75 : string option = None │
00:30:41 verbose #90149 > │ let v76 : bool = true in let mutable _v75 = v75 │
00:30:41 verbose #90150 > │ │
00:30:41 verbose #90151 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90152 > │ │
00:30:41 verbose #90153 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90154 > │ let v91 : Ref<Str> = │
00:30:41 verbose #90155 > │ match v0 with │
00:30:41 verbose #90156 > │ | US0_4 -> (* Critical *) │
00:30:41 verbose #90157 > │ let v85 : string = "inline_colorization::color_bright_red" │
00:30:41 verbose #90158 > │ let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85 │
00:30:41 verbose #90159 > │ v86 │
00:30:41 verbose #90160 > │ | US0_1 -> (* Debug *) │
00:30:41 verbose #90161 > │ let v79 : string = "inline_colorization::color_bright_blue" │
00:30:41 verbose #90162 > │ let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79 │
00:30:41 verbose #90163 > │ v80 │
00:30:41 verbose #90164 > │ | US0_2 -> (* Info *) │
00:30:41 verbose #90165 > │ let v81 : string = "inline_colorization::color_bright_green" │
00:30:41 verbose #90166 > │ let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81 │
00:30:41 verbose #90167 > │ v82 │
00:30:41 verbose #90168 > │ | US0_0 -> (* Verbose *) │
00:30:41 verbose #90169 > │ let v77 : string = "inline_colorization::color_bright_black" │
00:30:41 verbose #90170 > │ let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77 │
00:30:41 verbose #90171 > │ v78 │
00:30:41 verbose #90172 > │ | US0_3 -> (* Warning *) │
00:30:41 verbose #90173 > │ let v83 : string = "inline_colorization::color_bright_yellow" │
00:30:41 verbose #90174 > │ let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83 │
00:30:41 verbose #90175 > │ v84 │
00:30:41 verbose #90176 > │ let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:41 verbose #90177 > │ let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92 │
00:30:41 verbose #90178 > │ let v94 : string = "inline_colorization::color_reset" │
00:30:41 verbose #90179 > │ let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94 │
00:30:41 verbose #90180 > │ let v96 : string = "\"{v91}{v93}{v95}\"" │
00:30:41 verbose #90181 > │ let v97 : string = @$"format!(" + v96 + ")" │
00:30:41 verbose #90182 > │ let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97 │
00:30:41 verbose #90183 > │ let v99 : string = "fable_library_rust::String_::fromString($0)" │
00:30:41 verbose #90184 > │ let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99 │
00:30:41 verbose #90185 > │ v100 │
00:30:41 verbose #90186 > │ #endif │
00:30:41 verbose #90187 > │ │
00:30:41 verbose #90188 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90189 > │ let v115 : Ref<Str> = │
00:30:41 verbose #90190 > │ match v0 with │
00:30:41 verbose #90191 > │ | US0_4 -> (* Critical *) │
00:30:41 verbose #90192 > │ let v109 : string = "inline_colorization::color_bright_red" │
00:30:41 verbose #90193 > │ let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90194 > │ v109 │
00:30:41 verbose #90195 > │ v110 │
00:30:41 verbose #90196 > │ | US0_1 -> (* Debug *) │
00:30:41 verbose #90197 > │ let v103 : string = "inline_colorization::color_bright_blue" │
00:30:41 verbose #90198 > │ let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90199 > │ v103 │
00:30:41 verbose #90200 > │ v104 │
00:30:41 verbose #90201 > │ | US0_2 -> (* Info *) │
00:30:41 verbose #90202 > │ let v105 : string = "inline_colorization::color_bright_green" │
00:30:41 verbose #90203 > │ let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90204 > │ v105 │
00:30:41 verbose #90205 > │ v106 │
00:30:41 verbose #90206 > │ | US0_0 -> (* Verbose *) │
00:30:41 verbose #90207 > │ let v101 : string = "inline_colorization::color_bright_black" │
00:30:41 verbose #90208 > │ let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90209 > │ v101 │
00:30:41 verbose #90210 > │ v102 │
00:30:41 verbose #90211 > │ | US0_3 -> (* Warning *) │
00:30:41 verbose #90212 > │ let v107 : string = "inline_colorization::color_bright_yellow" │
00:30:41 verbose #90213 > │ let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90214 > │ v107 │
00:30:41 verbose #90215 > │ v108 │
00:30:41 verbose #90216 > │ let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:41 verbose #90217 > │ let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116 │
00:30:41 verbose #90218 > │ let v118 : string = "inline_colorization::color_reset" │
00:30:41 verbose #90219 > │ let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118 │
00:30:41 verbose #90220 > │ let v120 : string = "\"{v115}{v117}{v119}\"" │
00:30:41 verbose #90221 > │ let v121 : string = @$"format!(" + v120 + ")" │
00:30:41 verbose #90222 > │ let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90223 > │ v121 │
00:30:41 verbose #90224 > │ let v123 : string = "fable_library_rust::String_::fromString($0)" │
00:30:41 verbose #90225 > │ let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123 │
00:30:41 verbose #90226 > │ v124 │
00:30:41 verbose #90227 > │ #endif │
00:30:41 verbose #90228 > │ │
00:30:41 verbose #90229 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90230 > │ let v139 : Ref<Str> = │
00:30:41 verbose #90231 > │ match v0 with │
00:30:41 verbose #90232 > │ | US0_4 -> (* Critical *) │
00:30:41 verbose #90233 > │ let v133 : string = "inline_colorization::color_bright_red" │
00:30:41 verbose #90234 > │ let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90235 > │ v133 │
00:30:41 verbose #90236 > │ v134 │
00:30:41 verbose #90237 > │ | US0_1 -> (* Debug *) │
00:30:41 verbose #90238 > │ let v127 : string = "inline_colorization::color_bright_blue" │
00:30:41 verbose #90239 > │ let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90240 > │ v127 │
00:30:41 verbose #90241 > │ v128 │
00:30:41 verbose #90242 > │ | US0_2 -> (* Info *) │
00:30:41 verbose #90243 > │ let v129 : string = "inline_colorization::color_bright_green" │
00:30:41 verbose #90244 > │ let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90245 > │ v129 │
00:30:41 verbose #90246 > │ v130 │
00:30:41 verbose #90247 > │ | US0_0 -> (* Verbose *) │
00:30:41 verbose #90248 > │ let v125 : string = "inline_colorization::color_bright_black" │
00:30:41 verbose #90249 > │ let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90250 > │ v125 │
00:30:41 verbose #90251 > │ v126 │
00:30:41 verbose #90252 > │ | US0_3 -> (* Warning *) │
00:30:41 verbose #90253 > │ let v131 : string = "inline_colorization::color_bright_yellow" │
00:30:41 verbose #90254 > │ let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90255 > │ v131 │
00:30:41 verbose #90256 > │ v132 │
00:30:41 verbose #90257 > │ let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:41 verbose #90258 > │ let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140 │
00:30:41 verbose #90259 > │ let v142 : string = "inline_colorization::color_reset" │
00:30:41 verbose #90260 > │ let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142 │
00:30:41 verbose #90261 > │ let v144 : string = "\"{v139}{v141}{v143}\"" │
00:30:41 verbose #90262 > │ let v145 : string = @$"format!(" + v144 + ")" │
00:30:41 verbose #90263 > │ let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () │
00:30:41 verbose #90264 > │ v145 │
00:30:41 verbose #90265 > │ let v147 : string = "fable_library_rust::String_::fromString($0)" │
00:30:41 verbose #90266 > │ let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147 │
00:30:41 verbose #90267 > │ v148 │
00:30:41 verbose #90268 > │ #endif │
00:30:41 verbose #90269 > │ │
00:30:41 verbose #90270 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90271 > │ v74 │
00:30:41 verbose #90272 > │ #endif │
00:30:41 verbose #90273 > │ │
00:30:41 verbose #90274 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90275 > │ v74 │
00:30:41 verbose #90276 > │ #endif │
00:30:41 verbose #90277 > │ │
00:30:41 verbose #90278 > │ #else │
00:30:41 verbose #90279 > │ v74 │
00:30:41 verbose #90280 > │ #endif │
00:30:41 verbose #90281 > │ |> fun x -> _v75 <- Some x │
00:30:41 verbose #90282 > │ let v149 : string = _v75.Value │
00:30:41 verbose #90283 > │ let v150 : string = v1 () │
00:30:41 verbose #90284 > │ let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}" │
00:30:41 verbose #90285 > │ let v152 : (char []) = [||] │
00:30:41 verbose #90286 > │ let v153 : string = v151.TrimStart v152 │
00:30:41 verbose #90287 > │ let v154 : (char []) = [|' '; '/'|] │
00:30:41 verbose #90288 > │ let v155 : string = v153.TrimEnd v154 │
00:30:41 verbose #90289 > │ v155 │
00:30:41 verbose #90290 > │ and method8 (v0 : US0, v1 : (unit -> string)) : unit = │
00:30:41 verbose #90291 > │ let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:30:41 verbose #90292 > │ closure0() │
00:30:41 verbose #90293 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:30:41 verbose #90294 > │ let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : │
00:30:41 verbose #90295 > │ Mut3) = State.trace_state.Value │
00:30:41 verbose #90296 > │ if State.trace_state.IsNone then State.trace_state <- v2 () |> Some │
00:30:41 verbose #90297 > │ let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : │
00:30:41 verbose #90298 > │ Mut3) = State.trace_state.Value │
00:30:41 verbose #90299 > │ let v13 : US0 = v10.l0 │
00:30:41 verbose #90300 > │ let v14 : bool = v9.l0 │
00:30:41 verbose #90301 > │ let v15 : bool = v14 = false │
00:30:41 verbose #90302 > │ let v19 : bool = │
00:30:41 verbose #90303 > │ if v15 then │
00:30:41 verbose #90304 > │ false │
00:30:41 verbose #90305 > │ else │
00:30:41 verbose #90306 > │ let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:30:41 verbose #90307 > │ US0_4, 4 ] |> Map |> Map.find v0 │
00:30:41 verbose #90308 > │ let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; │
00:30:41 verbose #90309 > │ US0_4, 4 ] |> Map |> Map.find v13 │
00:30:41 verbose #90310 > │ let v18 : bool = v16 >= v17 │
00:30:41 verbose #90311 > │ v18 │
00:30:41 verbose #90312 > │ if v19 then │
00:30:41 verbose #90313 > │ let v20 : int64 = v3.l0 │
00:30:41 verbose #90314 > │ let v21 : int64 = v20 + 1L │
00:30:41 verbose #90315 > │ v3.l0 <- v21 │
00:30:41 verbose #90316 > │ let v22 : string = $"%s{v1 ()}" │
00:30:41 verbose #90317 > │ let v23 : unit option = None │
00:30:41 verbose #90318 > │ let v24 : bool = true in let mutable _v23 = v23 │
00:30:41 verbose #90319 > │ │
00:30:41 verbose #90320 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90321 > │ │
00:30:41 verbose #90322 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90323 > │ let v25 : string = @"println!(""{}"", $0)" │
00:30:41 verbose #90324 > │ Fable.Core.RustInterop.emitRustExpr v22 v25 │
00:30:41 verbose #90325 > │ () │
00:30:41 verbose #90326 > │ #endif │
00:30:41 verbose #90327 > │ │
00:30:41 verbose #90328 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90329 > │ let v26 : string = @"println!(""{}"", $0)" │
00:30:41 verbose #90330 > │ Fable.Core.RustInterop.emitRustExpr v22 v26 │
00:30:41 verbose #90331 > │ () │
00:30:41 verbose #90332 > │ #endif │
00:30:41 verbose #90333 > │ │
00:30:41 verbose #90334 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90335 > │ let v27 : string = @"println!(""{}"", $0)" │
00:30:41 verbose #90336 > │ Fable.Core.RustInterop.emitRustExpr v22 v27 │
00:30:41 verbose #90337 > │ () │
00:30:41 verbose #90338 > │ #endif │
00:30:41 verbose #90339 > │ │
00:30:41 verbose #90340 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90341 > │ System.Console.WriteLine v22 │
00:30:41 verbose #90342 > │ () │
00:30:41 verbose #90343 > │ #endif │
00:30:41 verbose #90344 > │ │
00:30:41 verbose #90345 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90346 > │ System.Console.WriteLine v22 │
00:30:41 verbose #90347 > │ () │
00:30:41 verbose #90348 > │ #endif │
00:30:41 verbose #90349 > │ │
00:30:41 verbose #90350 > │ #else │
00:30:41 verbose #90351 > │ System.Console.WriteLine v22 │
00:30:41 verbose #90352 > │ () │
00:30:41 verbose #90353 > │ #endif │
00:30:41 verbose #90354 > │ |> fun x -> _v23 <- Some x │
00:30:41 verbose #90355 > │ _v23.Value │
00:30:41 verbose #90356 > │ let v28 : (string -> unit) = v7.l0 │
00:30:41 verbose #90357 > │ v28 v22 │
00:30:41 verbose #90358 > │ and method5 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit │
00:30:41 verbose #90359 > │ = │
00:30:41 verbose #90360 > │ let v3 : (unit -> string) = closure7(v0, v1, v2) │
00:30:41 verbose #90361 > │ method8(v0, v3) │
00:30:41 verbose #90362 > │ and method2 (v0 : string, v1 : int64) : Async<int64> = │
00:30:41 verbose #90363 > │ let v2 : Async<int64> option = None │
00:30:41 verbose #90364 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:41 verbose #90365 > │ │
00:30:41 verbose #90366 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90367 > │ │
00:30:41 verbose #90368 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90369 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90370 > │ v4 │
00:30:41 verbose #90371 > │ #endif │
00:30:41 verbose #90372 > │ │
00:30:41 verbose #90373 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90374 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90375 > │ v5 │
00:30:41 verbose #90376 > │ #endif │
00:30:41 verbose #90377 > │ │
00:30:41 verbose #90378 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90379 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90380 > │ v6 │
00:30:41 verbose #90381 > │ #endif │
00:30:41 verbose #90382 > │ │
00:30:41 verbose #90383 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90384 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90385 > │ v7 │
00:30:41 verbose #90386 > │ #endif │
00:30:41 verbose #90387 > │ │
00:30:41 verbose #90388 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90389 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90390 > │ v8 │
00:30:41 verbose #90391 > │ #endif │
00:30:41 verbose #90392 > │ │
00:30:41 verbose #90393 > │ #else │
00:30:41 verbose #90394 > │ let v9 : Async<int64> option = None │
00:30:41 verbose #90395 > │ let mutable _v9 = v9 │
00:30:41 verbose #90396 > │ async { │
00:30:41 verbose #90397 > │ try │
00:30:41 verbose #90398 > │ let v10 : unit option = None │
00:30:41 verbose #90399 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:30:41 verbose #90400 > │ │
00:30:41 verbose #90401 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90402 > │ │
00:30:41 verbose #90403 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90404 > │ let v12 : string = method3(v0) │
00:30:41 verbose #90405 > │ let v13 : bool option = None │
00:30:41 verbose #90406 > │ let v14 : bool = true in let mutable _v13 = v13 │
00:30:41 verbose #90407 > │ │
00:30:41 verbose #90408 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90409 > │ │
00:30:41 verbose #90410 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90411 > │ let v15 : string = method4(v12) │
00:30:41 verbose #90412 > │ let v16 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:41 verbose #90413 > │ let v17 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:30:41 verbose #90414 > │ let v18 : string = "String::from($0)" │
00:30:41 verbose #90415 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:41 verbose #90416 > │ v18 │
00:30:41 verbose #90417 > │ let v20 : string = "std::path::PathBuf::from($0)" │
00:30:41 verbose #90418 > │ let v21 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:30:41 verbose #90419 > │ let v22 : string = "$0.exists()" │
00:30:41 verbose #90420 > │ let v23 : bool = Fable.Core.RustInterop.emitRustExpr v21 v22 │
00:30:41 verbose #90421 > │ let v26 : bool = │
00:30:41 verbose #90422 > │ if v23 then │
00:30:41 verbose #90423 > │ let v24 : string = "$0.is_dir()" │
00:30:41 verbose #90424 > │ let v25 : bool = Fable.Core.RustInterop.emitRustExpr v21 v24 │
00:30:41 verbose #90425 > │ v25 │
00:30:41 verbose #90426 > │ else │
00:30:41 verbose #90427 > │ false │
00:30:41 verbose #90428 > │ v26 │
00:30:41 verbose #90429 > │ #endif │
00:30:41 verbose #90430 > │ │
00:30:41 verbose #90431 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90432 > │ let v27 : bool = null |> unbox<bool> │
00:30:41 verbose #90433 > │ v27 │
00:30:41 verbose #90434 > │ #endif │
00:30:41 verbose #90435 > │ │
00:30:41 verbose #90436 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90437 > │ let v28 : bool = null |> unbox<bool> │
00:30:41 verbose #90438 > │ v28 │
00:30:41 verbose #90439 > │ #endif │
00:30:41 verbose #90440 > │ │
00:30:41 verbose #90441 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90442 > │ let v29 : string = "fs" │
00:30:41 verbose #90443 > │ let v30 : IFsExistsSync = Fable.Core.JsInterop.importAll v29 │
00:30:41 verbose #90444 > │ let v31 : string = "v30.existsSync($0)" │
00:30:41 verbose #90445 > │ let v32 : bool = Fable.Core.JsInterop.emitJsExpr v12 v31 │
00:30:41 verbose #90446 > │ v32 │
00:30:41 verbose #90447 > │ #endif │
00:30:41 verbose #90448 > │ │
00:30:41 verbose #90449 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90450 > │ let v33 : bool = null |> unbox<bool> │
00:30:41 verbose #90451 > │ v33 │
00:30:41 verbose #90452 > │ #endif │
00:30:41 verbose #90453 > │ │
00:30:41 verbose #90454 > │ #else │
00:30:41 verbose #90455 > │ let v34 : (string -> bool) = System.IO.Directory.Exists │
00:30:41 verbose #90456 > │ let v35 : bool = v34 v12 │
00:30:41 verbose #90457 > │ v35 │
00:30:41 verbose #90458 > │ #endif │
00:30:41 verbose #90459 > │ |> fun x -> _v13 <- Some x │
00:30:41 verbose #90460 > │ let v36 : bool = _v13.Value │
00:30:41 verbose #90461 > │ if v36 then │
00:30:41 verbose #90462 > │ let v37 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:30:41 verbose #90463 > │ Fable.Core.RustInterop.emitRustExpr v12 v37 │
00:30:41 verbose #90464 > │ () │
00:30:41 verbose #90465 > │ () │
00:30:41 verbose #90466 > │ #endif │
00:30:41 verbose #90467 > │ │
00:30:41 verbose #90468 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90469 > │ null |> unbox<unit> │
00:30:41 verbose #90470 > │ () │
00:30:41 verbose #90471 > │ #endif │
00:30:41 verbose #90472 > │ │
00:30:41 verbose #90473 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90474 > │ null |> unbox<unit> │
00:30:41 verbose #90475 > │ () │
00:30:41 verbose #90476 > │ #endif │
00:30:41 verbose #90477 > │ │
00:30:41 verbose #90478 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90479 > │ null |> unbox<unit> │
00:30:41 verbose #90480 > │ () │
00:30:41 verbose #90481 > │ #endif │
00:30:41 verbose #90482 > │ │
00:30:41 verbose #90483 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90484 > │ null |> unbox<unit> │
00:30:41 verbose #90485 > │ () │
00:30:41 verbose #90486 > │ #endif │
00:30:41 verbose #90487 > │ │
00:30:41 verbose #90488 > │ #else │
00:30:41 verbose #90489 > │ System.IO.Directory.Delete (v0, true) │
00:30:41 verbose #90490 > │ () │
00:30:41 verbose #90491 > │ #endif │
00:30:41 verbose #90492 > │ |> fun x -> _v10 <- Some x │
00:30:41 verbose #90493 > │ _v10.Value │
00:30:41 verbose #90494 > │ return v1 │
00:30:41 verbose #90495 > │ with ex -> │
00:30:41 verbose #90496 > │ let v38 : exn = ex │
00:30:41 verbose #90497 > │ let v39 : int64 = v1 % 100L │
00:30:41 verbose #90498 > │ let v40 : bool = v39 = 0L │
00:30:41 verbose #90499 > │ if v40 then │
00:30:41 verbose #90500 > │ let v41 : string option = None │
00:30:41 verbose #90501 > │ let v42 : bool = true in let mutable _v41 = v41 │
00:30:41 verbose #90502 > │ │
00:30:41 verbose #90503 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90504 > │ │
00:30:41 verbose #90505 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90506 > │ let v43 : string = $"%A{v38}" │
00:30:41 verbose #90507 > │ v43 │
00:30:41 verbose #90508 > │ #endif │
00:30:41 verbose #90509 > │ │
00:30:41 verbose #90510 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90511 > │ let v44 : string = $"%A{v38}" │
00:30:41 verbose #90512 > │ v44 │
00:30:41 verbose #90513 > │ #endif │
00:30:41 verbose #90514 > │ │
00:30:41 verbose #90515 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90516 > │ let v45 : string = $"%A{v38}" │
00:30:41 verbose #90517 > │ v45 │
00:30:41 verbose #90518 > │ #endif │
00:30:41 verbose #90519 > │ │
00:30:41 verbose #90520 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90521 > │ let v46 : string = $"%A{v38}" │
00:30:41 verbose #90522 > │ v46 │
00:30:41 verbose #90523 > │ #endif │
00:30:41 verbose #90524 > │ │
00:30:41 verbose #90525 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90526 > │ let v47 : string = $"%A{v38}" │
00:30:41 verbose #90527 > │ v47 │
00:30:41 verbose #90528 > │ #endif │
00:30:41 verbose #90529 > │ │
00:30:41 verbose #90530 > │ #else │
00:30:41 verbose #90531 > │ let v48 : string = $"{v38.GetType ()}: {v38.Message}" │
00:30:41 verbose #90532 > │ v48 │
00:30:41 verbose #90533 > │ #endif │
00:30:41 verbose #90534 > │ |> fun x -> _v41 <- Some x │
00:30:41 verbose #90535 > │ let v49 : string = _v41.Value │
00:30:41 verbose #90536 > │ let v50 : US0 = US0_1 │
00:30:41 verbose #90537 > │ let v51 : (unit -> string) = closure3() │
00:30:41 verbose #90538 > │ let v52 : (unit -> string) = closure4(v0, v49) │
00:30:41 verbose #90539 > │ method5(v50, v51, v52) │
00:30:41 verbose #90540 > │ let v53 : Async<unit> option = None │
00:30:41 verbose #90541 > │ let v54 : bool = true in let mutable _v53 = v53 │
00:30:41 verbose #90542 > │ │
00:30:41 verbose #90543 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90544 > │ │
00:30:41 verbose #90545 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90546 > │ let v55 : Async<unit> = null |> unbox<Async<unit>> │
00:30:41 verbose #90547 > │ v55 │
00:30:41 verbose #90548 > │ #endif │
00:30:41 verbose #90549 > │ │
00:30:41 verbose #90550 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90551 > │ let v56 : Async<unit> = null |> unbox<Async<unit>> │
00:30:41 verbose #90552 > │ v56 │
00:30:41 verbose #90553 > │ #endif │
00:30:41 verbose #90554 > │ │
00:30:41 verbose #90555 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90556 > │ let v57 : Async<unit> = null |> unbox<Async<unit>> │
00:30:41 verbose #90557 > │ v57 │
00:30:41 verbose #90558 > │ #endif │
00:30:41 verbose #90559 > │ │
00:30:41 verbose #90560 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90561 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:30:41 verbose #90562 > │ v58 │
00:30:41 verbose #90563 > │ #endif │
00:30:41 verbose #90564 > │ │
00:30:41 verbose #90565 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90566 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:30:41 verbose #90567 > │ v59 │
00:30:41 verbose #90568 > │ #endif │
00:30:41 verbose #90569 > │ │
00:30:41 verbose #90570 > │ #else │
00:30:41 verbose #90571 > │ let v60 : (int32 -> Async<unit>) = Async.Sleep │
00:30:41 verbose #90572 > │ let v61 : Async<unit> = v60 10 │
00:30:41 verbose #90573 > │ v61 │
00:30:41 verbose #90574 > │ #endif │
00:30:41 verbose #90575 > │ |> fun x -> _v53 <- Some x │
00:30:41 verbose #90576 > │ let v62 : Async<unit> = _v53.Value │
00:30:41 verbose #90577 > │ do! v62 │
00:30:41 verbose #90578 > │ let v63 : int64 = v1 + 1L │
00:30:41 verbose #90579 > │ let v64 : Async<int64> = method2(v0, v63) │
00:30:41 verbose #90580 > │ return! v64 │
00:30:41 verbose #90581 > │ (* │
00:30:41 verbose #90582 > │ let v65 : int64 = *) │
00:30:41 verbose #90583 > │ } │
00:30:41 verbose #90584 > │ |> fun x -> _v9 <- Some x │
00:30:41 verbose #90585 > │ let v66 : Async<int64> = _v9 |> Option.get │
00:30:41 verbose #90586 > │ v66 │
00:30:41 verbose #90587 > │ #endif │
00:30:41 verbose #90588 > │ |> fun x -> _v2 <- Some x │
00:30:41 verbose #90589 > │ let v67 : Async<int64> = _v2.Value │
00:30:41 verbose #90590 > │ v67 │
00:30:41 verbose #90591 > │ and closure2 () (v0 : string) : Async<int64> = │
00:30:41 verbose #90592 > │ let v1 : Async<int64> option = None │
00:30:41 verbose #90593 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:41 verbose #90594 > │ │
00:30:41 verbose #90595 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90596 > │ │
00:30:41 verbose #90597 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90598 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90599 > │ v3 │
00:30:41 verbose #90600 > │ #endif │
00:30:41 verbose #90601 > │ │
00:30:41 verbose #90602 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90603 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90604 > │ v4 │
00:30:41 verbose #90605 > │ #endif │
00:30:41 verbose #90606 > │ │
00:30:41 verbose #90607 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90608 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90609 > │ v5 │
00:30:41 verbose #90610 > │ #endif │
00:30:41 verbose #90611 > │ │
00:30:41 verbose #90612 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90613 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90614 > │ v6 │
00:30:41 verbose #90615 > │ #endif │
00:30:41 verbose #90616 > │ │
00:30:41 verbose #90617 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90618 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90619 > 00:30:40 debug #1014 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/868bd7a3d8fe4c9127e9ca646de90c893a460249b8d85f98db68abaa9df7360a/main.spi
00:30:41 verbose #90620 > │ v7 │
00:30:41 verbose #90621 > │ #endif │
00:30:41 verbose #90622 > │ │
00:30:41 verbose #90623 > │ #else │
00:30:41 verbose #90624 > │ let v8 : int64 = 0L │
00:30:41 verbose #90625 > │ let v9 : Async<int64> = method2(v0, v8) │
00:30:41 verbose #90626 > │ v9 │
00:30:41 verbose #90627 > │ #endif │
00:30:41 verbose #90628 > │ |> fun x -> _v1 <- Some x │
00:30:41 verbose #90629 > │ let v10 : Async<int64> = _v1.Value │
00:30:41 verbose #90630 > │ v10 │
00:30:41 verbose #90631 > │ and closure11 () () : string = │
00:30:41 verbose #90632 > │ let v0 : string = "file_system.wait_for_file_access" │
00:30:41 verbose #90633 > │ v0 │
00:30:41 verbose #90634 > │ and closure12 (v0 : string, v1 : int64, v2 : string) () : string = │
00:30:41 verbose #90635 > │ let v3 : (string -> string) = closure5() │
00:30:41 verbose #90636 > │ let v4 : (unit -> string) = closure6() │
00:30:41 verbose #90637 > │ let v5 : string = $"path: {v0 |> v3} / retry: {v1} / ex: {v2} / {v4 ()}" │
00:30:41 verbose #90638 > │ v5 │
00:30:41 verbose #90639 > │ and method9 (v0 : string, v1 : US5, v2 : US4, v3 : int64) : Async<int64> = │
00:30:41 verbose #90640 > │ let v4 : Async<int64> option = None │
00:30:41 verbose #90641 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:30:41 verbose #90642 > │ │
00:30:41 verbose #90643 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90644 > │ │
00:30:41 verbose #90645 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90646 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90647 > │ v6 │
00:30:41 verbose #90648 > │ #endif │
00:30:41 verbose #90649 > │ │
00:30:41 verbose #90650 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90651 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90652 > │ v7 │
00:30:41 verbose #90653 > │ #endif │
00:30:41 verbose #90654 > │ │
00:30:41 verbose #90655 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90656 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90657 > │ v8 │
00:30:41 verbose #90658 > │ #endif │
00:30:41 verbose #90659 > │ │
00:30:41 verbose #90660 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90661 > │ let v9 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90662 > │ v9 │
00:30:41 verbose #90663 > │ #endif │
00:30:41 verbose #90664 > │ │
00:30:41 verbose #90665 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90666 > │ let v10 : Async<int64> = null |> unbox<Async<int64>> │
00:30:41 verbose #90667 > │ v10 │
00:30:41 verbose #90668 > │ #endif │
00:30:41 verbose #90669 > │ │
00:30:41 verbose #90670 > │ #else │
00:30:41 verbose #90671 > │ let v11 : Async<int64> option = None │
00:30:41 verbose #90672 > │ let mutable _v11 = v11 │
00:30:41 verbose #90673 > │ async { │
00:30:41 verbose #90674 > │ try │
00:30:41 verbose #90675 > │ let v12 : System.IO.FileStream option = None │
00:30:41 verbose #90676 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:30:41 verbose #90677 > │ │
00:30:41 verbose #90678 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:41 verbose #90679 > │ │
00:30:41 verbose #90680 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:41 verbose #90681 > │ let v14 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:41 verbose #90682 > │ v14 │
00:30:41 verbose #90683 > │ #endif │
00:30:41 verbose #90684 > │ │
00:30:41 verbose #90685 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:41 verbose #90686 > │ let v15 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:41 verbose #90687 > │ v15 │
00:30:41 verbose #90688 > │ #endif │
00:30:41 verbose #90689 > │ │
00:30:41 verbose #90690 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:41 verbose #90691 > │ let v16 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:41 verbose #90692 > │ v16 │
00:30:41 verbose #90693 > │ #endif │
00:30:41 verbose #90694 > │ │
00:30:41 verbose #90695 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:41 verbose #90696 > │ let v17 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:41 verbose #90697 > │ v17 │
00:30:41 verbose #90698 > │ #endif │
00:30:41 verbose #90699 > │ │
00:30:41 verbose #90700 > │ #if FABLE_COMPILER_PYTHON │
00:30:41 verbose #90701 > │ let v18 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:41 verbose #90702 > │ v18 │
00:30:41 verbose #90703 > │ #endif │
00:30:41 verbose #90704 > │ │
00:30:41 verbose #90705 > │ #else │
00:30:41 verbose #90706 > │ let v19 : System.IO.FileMode = System.IO.FileMode.Open │
00:30:41 verbose #90707 > │ let v25 : System.IO.FileAccess = │
00:30:41 verbose #90708 > │ match v2 with │
00:30:41 verbose #90709 > │ | US4_0 -> (* AccessRead *) │
00:30:41 verbose #90710 > │ let v20 : System.IO.FileAccess = System.IO.FileAccess.Read │
00:30:41 verbose #90711 > │ v20 │
00:30:42 verbose #90712 > │ | US4_2 -> (* AccessReadWrite *) │
00:30:42 verbose #90713 > │ let v22 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:30:42 verbose #90714 > │ v22 │
00:30:42 verbose #90715 > │ | US4_1 -> (* AccessWrite *) │
00:30:42 verbose #90716 > │ let v21 : System.IO.FileAccess = System.IO.FileAccess.ReadWrite │
00:30:42 verbose #90717 > │ v21 │
00:30:42 verbose #90718 > │ let v35 : System.IO.FileShare = │
00:30:42 verbose #90719 > │ match v1 with │
00:30:42 verbose #90720 > │ | US5_4 -> (* ShareDelete *) │
00:30:42 verbose #90721 > │ let v30 : System.IO.FileShare = System.IO.FileShare.Delete │
00:30:42 verbose #90722 > │ v30 │
00:30:42 verbose #90723 > │ | US5_0 -> (* ShareNone *) │
00:30:42 verbose #90724 > │ let v26 : System.IO.FileShare = System.IO.FileShare.None │
00:30:42 verbose #90725 > │ v26 │
00:30:42 verbose #90726 > │ | US5_1 -> (* ShareRead *) │
00:30:42 verbose #90727 > │ let v27 : System.IO.FileShare = System.IO.FileShare.Read │
00:30:42 verbose #90728 > │ v27 │
00:30:42 verbose #90729 > │ | US5_3 -> (* ShareReadWrite *) │
00:30:42 verbose #90730 > │ let v29 : System.IO.FileShare = System.IO.FileShare.ReadWrite │
00:30:42 verbose #90731 > │ v29 │
00:30:42 verbose #90732 > │ | US5_2 -> (* ShareWrite *) │
00:30:42 verbose #90733 > │ let v28 : System.IO.FileShare = System.IO.FileShare.Write │
00:30:42 verbose #90734 > │ v28 │
00:30:42 verbose #90735 > │ let v36 : System.IO.FileStream = new System.IO.FileStream (v0, v19, v25, │
00:30:42 verbose #90736 > │ v35) │
00:30:42 verbose #90737 > │ v36 │
00:30:42 verbose #90738 > │ #endif │
00:30:42 verbose #90739 > │ |> fun x -> _v12 <- Some x │
00:30:42 verbose #90740 > │ let v37 : System.IO.FileStream = _v12.Value │
00:30:42 verbose #90741 > │ use v37 = v37 │
00:30:42 verbose #90742 > │ let v38 : System.IO.FileStream = v37 │
00:30:42 verbose #90743 > │ return v3 │
00:30:42 verbose #90744 > │ with ex -> │
00:30:42 verbose #90745 > │ let v39 : exn = ex │
00:30:42 verbose #90746 > │ let v40 : bool = v3 > 0L │
00:30:42 verbose #90747 > │ let v43 : bool = │
00:30:42 verbose #90748 > │ if v40 then │
00:30:42 verbose #90749 > │ let v41 : int64 = v3 % 100L │
00:30:42 verbose #90750 > │ let v42 : bool = v41 = 0L │
00:30:42 verbose #90751 > │ v42 │
00:30:42 verbose #90752 > │ else │
00:30:42 verbose #90753 > │ false │
00:30:42 verbose #90754 > │ if v43 then │
00:30:42 verbose #90755 > │ let v44 : string option = None │
00:30:42 verbose #90756 > │ let v45 : bool = true in let mutable _v44 = v44 │
00:30:42 verbose #90757 > │ │
00:30:42 verbose #90758 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #90759 > │ │
00:30:42 verbose #90760 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #90761 > │ let v46 : string = $"%A{v39}" │
00:30:42 verbose #90762 > │ v46 │
00:30:42 verbose #90763 > │ #endif │
00:30:42 verbose #90764 > │ │
00:30:42 verbose #90765 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #90766 > │ let v47 : string = $"%A{v39}" │
00:30:42 verbose #90767 > │ v47 │
00:30:42 verbose #90768 > │ #endif │
00:30:42 verbose #90769 > │ │
00:30:42 verbose #90770 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #90771 > │ let v48 : string = $"%A{v39}" │
00:30:42 verbose #90772 > │ v48 │
00:30:42 verbose #90773 > │ #endif │
00:30:42 verbose #90774 > │ │
00:30:42 verbose #90775 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #90776 > │ let v49 : string = $"%A{v39}" │
00:30:42 verbose #90777 > │ v49 │
00:30:42 verbose #90778 > │ #endif │
00:30:42 verbose #90779 > │ │
00:30:42 verbose #90780 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #90781 > │ let v50 : string = $"%A{v39}" │
00:30:42 verbose #90782 > │ v50 │
00:30:42 verbose #90783 > │ #endif │
00:30:42 verbose #90784 > │ │
00:30:42 verbose #90785 > │ #else │
00:30:42 verbose #90786 > │ let v51 : string = $"{v39.GetType ()}: {v39.Message}" │
00:30:42 verbose #90787 > │ v51 │
00:30:42 verbose #90788 > │ #endif │
00:30:42 verbose #90789 > │ |> fun x -> _v44 <- Some x │
00:30:42 verbose #90790 > │ let v52 : string = _v44.Value │
00:30:42 verbose #90791 > │ let v53 : US0 = US0_1 │
00:30:42 verbose #90792 > │ let v54 : (unit -> string) = closure11() │
00:30:42 verbose #90793 > │ let v55 : (unit -> string) = closure12(v0, v3, v52) │
00:30:42 verbose #90794 > │ method5(v53, v54, v55) │
00:30:42 verbose #90795 > │ let v56 : Async<unit> option = None │
00:30:42 verbose #90796 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:30:42 verbose #90797 > │ │
00:30:42 verbose #90798 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #90799 > │ │
00:30:42 verbose #90800 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #90801 > │ let v58 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #90802 > │ v58 │
00:30:42 verbose #90803 > │ #endif │
00:30:42 verbose #90804 > │ │
00:30:42 verbose #90805 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #90806 > │ let v59 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #90807 > │ v59 │
00:30:42 verbose #90808 > │ #endif │
00:30:42 verbose #90809 > │ │
00:30:42 verbose #90810 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #90811 > │ let v60 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #90812 > │ v60 │
00:30:42 verbose #90813 > │ #endif │
00:30:42 verbose #90814 > │ │
00:30:42 verbose #90815 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #90816 > │ let v61 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #90817 > │ v61 │
00:30:42 verbose #90818 > │ #endif │
00:30:42 verbose #90819 > │ │
00:30:42 verbose #90820 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #90821 > │ let v62 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #90822 > │ v62 │
00:30:42 verbose #90823 > │ #endif │
00:30:42 verbose #90824 > │ │
00:30:42 verbose #90825 > │ #else │
00:30:42 verbose #90826 > │ let v63 : (int32 -> Async<unit>) = Async.Sleep │
00:30:42 verbose #90827 > │ let v64 : Async<unit> = v63 10 │
00:30:42 verbose #90828 > │ v64 │
00:30:42 verbose #90829 > │ #endif │
00:30:42 verbose #90830 > │ |> fun x -> _v56 <- Some x │
00:30:42 verbose #90831 > │ let v65 : Async<unit> = _v56.Value │
00:30:42 verbose #90832 > │ do! v65 │
00:30:42 verbose #90833 > │ let v66 : int64 = v3 + 1L │
00:30:42 verbose #90834 > │ let v67 : Async<int64> = method9(v0, v1, v2, v66) │
00:30:42 verbose #90835 > │ return! v67 │
00:30:42 verbose #90836 > │ (* │
00:30:42 verbose #90837 > │ let v68 : int64 = *) │
00:30:42 verbose #90838 > │ } │
00:30:42 verbose #90839 > │ |> fun x -> _v11 <- Some x │
00:30:42 verbose #90840 > │ let v69 : Async<int64> = _v11 |> Option.get │
00:30:42 verbose #90841 > │ v69 │
00:30:42 verbose #90842 > │ #endif │
00:30:42 verbose #90843 > │ |> fun x -> _v4 <- Some x │
00:30:42 verbose #90844 > │ let v70 : Async<int64> = _v4.Value │
00:30:42 verbose #90845 > │ v70 │
00:30:42 verbose #90846 > │ and closure10 (v0 : US3) (v1 : string) : Async<int64> = │
00:30:42 verbose #90847 > │ let v2 : Async<int64> option = None │
00:30:42 verbose #90848 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #90849 > │ │
00:30:42 verbose #90850 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #90851 > │ │
00:30:42 verbose #90852 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #90853 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90854 > │ v4 │
00:30:42 verbose #90855 > │ #endif │
00:30:42 verbose #90856 > │ │
00:30:42 verbose #90857 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #90858 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90859 > │ v5 │
00:30:42 verbose #90860 > │ #endif │
00:30:42 verbose #90861 > │ │
00:30:42 verbose #90862 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #90863 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90864 > │ v6 │
00:30:42 verbose #90865 > │ #endif │
00:30:42 verbose #90866 > │ │
00:30:42 verbose #90867 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #90868 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90869 > │ v7 │
00:30:42 verbose #90870 > │ #endif │
00:30:42 verbose #90871 > │ │
00:30:42 verbose #90872 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #90873 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90874 > │ v8 │
00:30:42 verbose #90875 > │ #endif │
00:30:42 verbose #90876 > │ │
00:30:42 verbose #90877 > │ #else │
00:30:42 verbose #90878 > │ let struct (v15 : US4, v16 : US5) = │
00:30:42 verbose #90879 > │ match v0 with │
00:30:42 verbose #90880 > │ | US3_1 -> (* None *) │
00:30:42 verbose #90881 > │ let v11 : US4 = US4_2 │
00:30:42 verbose #90882 > │ let v12 : US5 = US5_1 │
00:30:42 verbose #90883 > │ struct (v11, v12) │
00:30:42 verbose #90884 > │ | US3_0(v9, v10) -> (* Some *) │
00:30:42 verbose #90885 > │ struct (v9, v10) │
00:30:42 verbose #90886 > │ let v17 : int64 = 0L │
00:30:42 verbose #90887 > │ let v18 : Async<int64> = method9(v1, v16, v15, v17) │
00:30:42 verbose #90888 > │ v18 │
00:30:42 verbose #90889 > │ #endif │
00:30:42 verbose #90890 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #90891 > │ let v19 : Async<int64> = _v2.Value │
00:30:42 verbose #90892 > │ v19 │
00:30:42 verbose #90893 > │ and closure9 () (v0 : US3) : (string -> Async<int64>) = │
00:30:42 verbose #90894 > │ closure10(v0) │
00:30:42 verbose #90895 > │ and method10 (v0 : string, v1 : int64) : Async<int64> = │
00:30:42 verbose #90896 > │ let v2 : Async<int64> option = None │
00:30:42 verbose #90897 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #90898 > │ │
00:30:42 verbose #90899 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #90900 > │ │
00:30:42 verbose #90901 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #90902 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90903 > │ v4 │
00:30:42 verbose #90904 > │ #endif │
00:30:42 verbose #90905 > │ │
00:30:42 verbose #90906 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #90907 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90908 > │ v5 │
00:30:42 verbose #90909 > │ #endif │
00:30:42 verbose #90910 > │ │
00:30:42 verbose #90911 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #90912 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90913 > │ v6 │
00:30:42 verbose #90914 > │ #endif │
00:30:42 verbose #90915 > │ │
00:30:42 verbose #90916 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #90917 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90918 > │ v7 │
00:30:42 verbose #90919 > │ #endif │
00:30:42 verbose #90920 > │ │
00:30:42 verbose #90921 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #90922 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #90923 > │ v8 │
00:30:42 verbose #90924 > │ #endif │
00:30:42 verbose #90925 > │ │
00:30:42 verbose #90926 > │ #else │
00:30:42 verbose #90927 > │ let v9 : Async<int64> option = None │
00:30:42 verbose #90928 > │ let mutable _v9 = v9 │
00:30:42 verbose #90929 > │ async { │
00:30:42 verbose #90930 > │ try │
00:30:42 verbose #90931 > │ let v10 : System.IO.FileStream option = None │
00:30:42 verbose #90932 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:30:42 verbose #90933 > │ │
00:30:42 verbose #90934 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #90935 > │ │
00:30:42 verbose #90936 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #90937 > │ let v12 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:42 verbose #90938 > │ v12 │
00:30:42 verbose #90939 > │ #endif │
00:30:42 verbose #90940 > │ │
00:30:42 verbose #90941 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #90942 > │ let v13 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:42 verbose #90943 > │ v13 │
00:30:42 verbose #90944 > │ #endif │
00:30:42 verbose #90945 > │ │
00:30:42 verbose #90946 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #90947 > │ let v14 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:42 verbose #90948 > │ v14 │
00:30:42 verbose #90949 > │ #endif │
00:30:42 verbose #90950 > │ │
00:30:42 verbose #90951 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #90952 > │ let v15 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:42 verbose #90953 > │ v15 │
00:30:42 verbose #90954 > │ #endif │
00:30:42 verbose #90955 > │ │
00:30:42 verbose #90956 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #90957 > │ let v16 : System.IO.FileStream = null |> unbox<System.IO.FileStream> │
00:30:42 verbose #90958 > │ v16 │
00:30:42 verbose #90959 > │ #endif │
00:30:42 verbose #90960 > │ │
00:30:42 verbose #90961 > │ #else │
00:30:42 verbose #90962 > │ let v17 : System.IO.FileMode = System.IO.FileMode.Open │
00:30:42 verbose #90963 > │ let v18 : System.IO.FileAccess = System.IO.FileAccess.Read │
00:30:42 verbose #90964 > │ let v19 : System.IO.FileShare = System.IO.FileShare.Read │
00:30:42 verbose #90965 > │ let v20 : System.IO.FileStream = new System.IO.FileStream (v0, v17, v18, │
00:30:42 verbose #90966 > │ v19) │
00:30:42 verbose #90967 > │ v20 │
00:30:42 verbose #90968 > │ #endif │
00:30:42 verbose #90969 > │ |> fun x -> _v10 <- Some x │
00:30:42 verbose #90970 > │ let v21 : System.IO.FileStream = _v10.Value │
00:30:42 verbose #90971 > │ use v21 = v21 │
00:30:42 verbose #90972 > │ let v22 : System.IO.FileStream = v21 │
00:30:42 verbose #90973 > │ return v1 │
00:30:42 verbose #90974 > │ with ex -> │
00:30:42 verbose #90975 > │ let v23 : exn = ex │
00:30:42 verbose #90976 > │ let v24 : bool = v1 > 0L │
00:30:42 verbose #90977 > │ let v27 : bool = │
00:30:42 verbose #90978 > │ if v24 then │
00:30:42 verbose #90979 > │ let v25 : int64 = v1 % 100L │
00:30:42 verbose #90980 > │ let v26 : bool = v25 = 0L │
00:30:42 verbose #90981 > │ v26 │
00:30:42 verbose #90982 > │ else │
00:30:42 verbose #90983 > │ false │
00:30:42 verbose #90984 > │ if v27 then │
00:30:42 verbose #90985 > │ let v28 : string option = None │
00:30:42 verbose #90986 > │ let v29 : bool = true in let mutable _v28 = v28 │
00:30:42 verbose #90987 > │ │
00:30:42 verbose #90988 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #90989 > │ │
00:30:42 verbose #90990 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #90991 > │ let v30 : string = $"%A{v23}" │
00:30:42 verbose #90992 > │ v30 │
00:30:42 verbose #90993 > │ #endif │
00:30:42 verbose #90994 > │ │
00:30:42 verbose #90995 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #90996 > │ let v31 : string = $"%A{v23}" │
00:30:42 verbose #90997 > │ v31 │
00:30:42 verbose #90998 > │ #endif │
00:30:42 verbose #90999 > │ │
00:30:42 verbose #91000 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91001 > │ let v32 : string = $"%A{v23}" │
00:30:42 verbose #91002 > │ v32 │
00:30:42 verbose #91003 > │ #endif │
00:30:42 verbose #91004 > │ │
00:30:42 verbose #91005 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91006 > │ let v33 : string = $"%A{v23}" │
00:30:42 verbose #91007 > │ v33 │
00:30:42 verbose #91008 > │ #endif │
00:30:42 verbose #91009 > │ │
00:30:42 verbose #91010 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91011 > │ let v34 : string = $"%A{v23}" │
00:30:42 verbose #91012 > │ v34 │
00:30:42 verbose #91013 > │ #endif │
00:30:42 verbose #91014 > │ │
00:30:42 verbose #91015 > │ #else │
00:30:42 verbose #91016 > │ let v35 : string = $"{v23.GetType ()}: {v23.Message}" │
00:30:42 verbose #91017 > │ v35 │
00:30:42 verbose #91018 > │ #endif │
00:30:42 verbose #91019 > │ |> fun x -> _v28 <- Some x │
00:30:42 verbose #91020 > │ let v36 : string = _v28.Value │
00:30:42 verbose #91021 > │ let v37 : US0 = US0_1 │
00:30:42 verbose #91022 > │ let v38 : (unit -> string) = closure11() │
00:30:42 verbose #91023 > │ let v39 : (unit -> string) = closure12(v0, v1, v36) │
00:30:42 verbose #91024 > │ method5(v37, v38, v39) │
00:30:42 verbose #91025 > │ let v40 : Async<unit> option = None │
00:30:42 verbose #91026 > │ let v41 : bool = true in let mutable _v40 = v40 │
00:30:42 verbose #91027 > │ │
00:30:42 verbose #91028 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91029 > │ │
00:30:42 verbose #91030 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91031 > │ let v42 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91032 > │ v42 │
00:30:42 verbose #91033 > │ #endif │
00:30:42 verbose #91034 > │ │
00:30:42 verbose #91035 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91036 > │ let v43 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91037 > │ v43 │
00:30:42 verbose #91038 > │ #endif │
00:30:42 verbose #91039 > │ │
00:30:42 verbose #91040 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91041 > │ let v44 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91042 > │ v44 │
00:30:42 verbose #91043 > │ #endif │
00:30:42 verbose #91044 > │ │
00:30:42 verbose #91045 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91046 > │ let v45 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91047 > │ v45 │
00:30:42 verbose #91048 > │ #endif │
00:30:42 verbose #91049 > │ │
00:30:42 verbose #91050 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91051 > │ let v46 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91052 > │ v46 │
00:30:42 verbose #91053 > │ #endif │
00:30:42 verbose #91054 > │ │
00:30:42 verbose #91055 > │ #else │
00:30:42 verbose #91056 > │ let v47 : (int32 -> Async<unit>) = Async.Sleep │
00:30:42 verbose #91057 > │ let v48 : Async<unit> = v47 10 │
00:30:42 verbose #91058 > │ v48 │
00:30:42 verbose #91059 > │ #endif │
00:30:42 verbose #91060 > │ |> fun x -> _v40 <- Some x │
00:30:42 verbose #91061 > │ let v49 : Async<unit> = _v40.Value │
00:30:42 verbose #91062 > │ do! v49 │
00:30:42 verbose #91063 > │ let v50 : int64 = v1 + 1L │
00:30:42 verbose #91064 > │ let v51 : Async<int64> = method10(v0, v50) │
00:30:42 verbose #91065 > │ return! v51 │
00:30:42 verbose #91066 > │ (* │
00:30:42 verbose #91067 > │ let v52 : int64 = *) │
00:30:42 verbose #91068 > │ } │
00:30:42 verbose #91069 > │ |> fun x -> _v9 <- Some x │
00:30:42 verbose #91070 > │ let v53 : Async<int64> = _v9 |> Option.get │
00:30:42 verbose #91071 > │ v53 │
00:30:42 verbose #91072 > │ #endif │
00:30:42 verbose #91073 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #91074 > │ let v54 : Async<int64> = _v2.Value │
00:30:42 verbose #91075 > │ v54 │
00:30:42 verbose #91076 > │ and closure13 () (v0 : string) : Async<int64> = │
00:30:42 verbose #91077 > │ let v1 : Async<int64> option = None │
00:30:42 verbose #91078 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:42 verbose #91079 > │ │
00:30:42 verbose #91080 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91081 > │ │
00:30:42 verbose #91082 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91083 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91084 > │ v3 │
00:30:42 verbose #91085 > │ #endif │
00:30:42 verbose #91086 > │ │
00:30:42 verbose #91087 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91088 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91089 > │ v4 │
00:30:42 verbose #91090 > │ #endif │
00:30:42 verbose #91091 > │ │
00:30:42 verbose #91092 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91093 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91094 > │ v5 │
00:30:42 verbose #91095 > │ #endif │
00:30:42 verbose #91096 > │ │
00:30:42 verbose #91097 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91098 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91099 > │ v6 │
00:30:42 verbose #91100 > │ #endif │
00:30:42 verbose #91101 > │ │
00:30:42 verbose #91102 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91103 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91104 > │ v7 │
00:30:42 verbose #91105 > │ #endif │
00:30:42 verbose #91106 > │ │
00:30:42 verbose #91107 > │ #else │
00:30:42 verbose #91108 > │ let v8 : int64 = 0L │
00:30:42 verbose #91109 > │ let v9 : Async<int64> = method10(v0, v8) │
00:30:42 verbose #91110 > │ v9 │
00:30:42 verbose #91111 > │ #endif │
00:30:42 verbose #91112 > │ |> fun x -> _v1 <- Some x │
00:30:42 verbose #91113 > │ let v10 : Async<int64> = _v1.Value │
00:30:42 verbose #91114 > │ v10 │
00:30:42 verbose #91115 > │ and closure14 () (v0 : string) : Async<string> = │
00:30:42 verbose #91116 > │ let v1 : Async<string> option = None │
00:30:42 verbose #91117 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:42 verbose #91118 > │ │
00:30:42 verbose #91119 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91120 > │ │
00:30:42 verbose #91121 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91122 > │ let v3 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91123 > │ v3 │
00:30:42 verbose #91124 > │ #endif │
00:30:42 verbose #91125 > │ │
00:30:42 verbose #91126 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91127 > │ let v4 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91128 > │ v4 │
00:30:42 verbose #91129 > │ #endif │
00:30:42 verbose #91130 > │ │
00:30:42 verbose #91131 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91132 > │ let v5 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91133 > │ v5 │
00:30:42 verbose #91134 > │ #endif │
00:30:42 verbose #91135 > │ │
00:30:42 verbose #91136 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91137 > │ let v6 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91138 > │ v6 │
00:30:42 verbose #91139 > │ #endif │
00:30:42 verbose #91140 > │ │
00:30:42 verbose #91141 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91142 > │ let v7 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91143 > │ v7 │
00:30:42 verbose #91144 > │ #endif │
00:30:42 verbose #91145 > │ │
00:30:42 verbose #91146 > │ #else │
00:30:42 verbose #91147 > │ let v8 : (string -> System.Threading.Tasks.Task<string>) = │
00:30:42 verbose #91148 > │ System.IO.File.ReadAllTextAsync │
00:30:42 verbose #91149 > │ let v9 : System.Threading.Tasks.Task<string> = v8 v0 │
00:30:42 verbose #91150 > │ let v10 : Async<string> option = None │
00:30:42 verbose #91151 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:30:42 verbose #91152 > │ │
00:30:42 verbose #91153 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91154 > │ │
00:30:42 verbose #91155 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91156 > │ let v12 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91157 > │ v12 │
00:30:42 verbose #91158 > │ #endif │
00:30:42 verbose #91159 > │ │
00:30:42 verbose #91160 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91161 > │ let v13 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91162 > │ v13 │
00:30:42 verbose #91163 > │ #endif │
00:30:42 verbose #91164 > │ │
00:30:42 verbose #91165 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91166 > │ let v14 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91167 > │ v14 │
00:30:42 verbose #91168 > │ #endif │
00:30:42 verbose #91169 > │ │
00:30:42 verbose #91170 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91171 > │ let v15 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91172 > │ v15 │
00:30:42 verbose #91173 > │ #endif │
00:30:42 verbose #91174 > │ │
00:30:42 verbose #91175 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91176 > │ let v16 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91177 > │ v16 │
00:30:42 verbose #91178 > │ #endif │
00:30:42 verbose #91179 > │ │
00:30:42 verbose #91180 > │ #else │
00:30:42 verbose #91181 > │ let v17 : (System.Threading.Tasks.Task<string> -> Async<string>) = │
00:30:42 verbose #91182 > │ Async.AwaitTask │
00:30:42 verbose #91183 > │ let v18 : Async<string> = v17 v9 │
00:30:42 verbose #91184 > │ v18 │
00:30:42 verbose #91185 > │ #endif │
00:30:42 verbose #91186 > │ |> fun x -> _v10 <- Some x │
00:30:42 verbose #91187 > │ let v19 : Async<string> = _v10.Value │
00:30:42 verbose #91188 > │ v19 │
00:30:42 verbose #91189 > │ #endif │
00:30:42 verbose #91190 > │ |> fun x -> _v1 <- Some x │
00:30:42 verbose #91191 > │ let v20 : Async<string> = _v1.Value │
00:30:42 verbose #91192 > │ v20 │
00:30:42 verbose #91193 > │ and closure16 (v0 : string) (v1 : string) : Async<bool> = │
00:30:42 verbose #91194 > │ let v2 : Async<bool> option = None │
00:30:42 verbose #91195 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #91196 > │ │
00:30:42 verbose #91197 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91198 > │ │
00:30:42 verbose #91199 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91200 > │ let v4 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91201 > │ v4 │
00:30:42 verbose #91202 > │ #endif │
00:30:42 verbose #91203 > │ │
00:30:42 verbose #91204 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91205 > │ let v5 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91206 > │ v5 │
00:30:42 verbose #91207 > │ #endif │
00:30:42 verbose #91208 > │ │
00:30:42 verbose #91209 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91210 > │ let v6 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91211 > │ v6 │
00:30:42 verbose #91212 > │ #endif │
00:30:42 verbose #91213 > │ │
00:30:42 verbose #91214 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91215 > │ let v7 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91216 > │ v7 │
00:30:42 verbose #91217 > │ #endif │
00:30:42 verbose #91218 > │ │
00:30:42 verbose #91219 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91220 > │ let v8 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91221 > │ v8 │
00:30:42 verbose #91222 > │ #endif │
00:30:42 verbose #91223 > │ │
00:30:42 verbose #91224 > │ #else │
00:30:42 verbose #91225 > │ let v9 : Async<bool> option = None │
00:30:42 verbose #91226 > │ let v10 : bool = true in let mutable _v9 = v9 │
00:30:42 verbose #91227 > │ │
00:30:42 verbose #91228 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91229 > │ │
00:30:42 verbose #91230 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91231 > │ let v11 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91232 > │ v11 │
00:30:42 verbose #91233 > │ #endif │
00:30:42 verbose #91234 > │ │
00:30:42 verbose #91235 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91236 > │ let v12 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91237 > │ v12 │
00:30:42 verbose #91238 > │ #endif │
00:30:42 verbose #91239 > │ │
00:30:42 verbose #91240 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91241 > │ let v13 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91242 > │ v13 │
00:30:42 verbose #91243 > │ #endif │
00:30:42 verbose #91244 > │ │
00:30:42 verbose #91245 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91246 > │ let v14 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91247 > │ v14 │
00:30:42 verbose #91248 > │ #endif │
00:30:42 verbose #91249 > │ │
00:30:42 verbose #91250 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91251 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91252 > │ v15 │
00:30:42 verbose #91253 > │ #endif │
00:30:42 verbose #91254 > │ │
00:30:42 verbose #91255 > │ #else │
00:30:42 verbose #91256 > │ let v16 : Async<bool> option = None │
00:30:42 verbose #91257 > │ let mutable _v16 = v16 │
00:30:42 verbose #91258 > │ async { │
00:30:42 verbose #91259 > │ let v17 : bool option = None │
00:30:42 verbose #91260 > │ let v18 : bool = true in let mutable _v17 = v17 │
00:30:42 verbose #91261 > │ │
00:30:42 verbose #91262 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91263 > │ │
00:30:42 verbose #91264 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91265 > │ let v19 : string = method4(v0) │
00:30:42 verbose #91266 > │ let v20 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:42 verbose #91267 > │ let v21 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v19 v20 │
00:30:42 verbose #91268 > │ let v22 : string = "String::from($0)" │
00:30:42 verbose #91269 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v21 │
00:30:42 verbose #91270 > │ v22 │
00:30:42 verbose #91271 > │ let v24 : string = "std::path::PathBuf::from($0)" │
00:30:42 verbose #91272 > │ let v25 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v23 v24 │
00:30:42 verbose #91273 > │ let v26 : string = "$0.exists()" │
00:30:42 verbose #91274 > │ let v27 : bool = Fable.Core.RustInterop.emitRustExpr v25 v26 │
00:30:42 verbose #91275 > │ let v30 : bool = │
00:30:42 verbose #91276 > │ if v27 then │
00:30:42 verbose #91277 > │ let v28 : string = "$0.is_file()" │
00:30:42 verbose #91278 > │ let v29 : bool = Fable.Core.RustInterop.emitRustExpr v25 v28 │
00:30:42 verbose #91279 > │ v29 │
00:30:42 verbose #91280 > │ else │
00:30:42 verbose #91281 > │ false │
00:30:42 verbose #91282 > │ v30 │
00:30:42 verbose #91283 > │ #endif │
00:30:42 verbose #91284 > │ │
00:30:42 verbose #91285 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91286 > │ let v31 : bool = null |> unbox<bool> │
00:30:42 verbose #91287 > │ v31 │
00:30:42 verbose #91288 > │ #endif │
00:30:42 verbose #91289 > │ │
00:30:42 verbose #91290 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91291 > │ let v32 : bool = null |> unbox<bool> │
00:30:42 verbose #91292 > │ v32 │
00:30:42 verbose #91293 > │ #endif │
00:30:42 verbose #91294 > │ │
00:30:42 verbose #91295 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91296 > │ let v33 : string = "fs" │
00:30:42 verbose #91297 > │ let v34 : IFsExistsSync = Fable.Core.JsInterop.importAll v33 │
00:30:42 verbose #91298 > │ let v35 : string = "v34.existsSync($0)" │
00:30:42 verbose #91299 > │ let v36 : bool = Fable.Core.JsInterop.emitJsExpr v0 v35 │
00:30:42 verbose #91300 > │ v36 │
00:30:42 verbose #91301 > │ #endif │
00:30:42 verbose #91302 > │ │
00:30:42 verbose #91303 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91304 > │ let v37 : bool = null |> unbox<bool> │
00:30:42 verbose #91305 > │ v37 │
00:30:42 verbose #91306 > │ #endif │
00:30:42 verbose #91307 > │ │
00:30:42 verbose #91308 > │ #else │
00:30:42 verbose #91309 > │ let v38 : (string -> bool) = System.IO.File.Exists │
00:30:42 verbose #91310 > │ let v39 : bool = v38 v0 │
00:30:42 verbose #91311 > │ v39 │
00:30:42 verbose #91312 > │ #endif │
00:30:42 verbose #91313 > │ |> fun x -> _v17 <- Some x │
00:30:42 verbose #91314 > │ let v40 : bool = _v17.Value │
00:30:42 verbose #91315 > │ let v41 : bool = v40 = false │
00:30:42 verbose #91316 > │ if v41 then │
00:30:42 verbose #91317 > │ return false │
00:30:42 verbose #91318 > │ (* │
00:30:42 verbose #91319 > │ () │
00:30:42 verbose #91320 > │ else │
00:30:42 verbose #91321 > │ *) else │
00:30:42 verbose #91322 > │ let v42 : Async<string> option = None │
00:30:42 verbose #91323 > │ let v43 : bool = true in let mutable _v42 = v42 │
00:30:42 verbose #91324 > │ │
00:30:42 verbose #91325 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91326 > │ │
00:30:42 verbose #91327 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91328 > │ let v44 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91329 > │ v44 │
00:30:42 verbose #91330 > │ #endif │
00:30:42 verbose #91331 > │ │
00:30:42 verbose #91332 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91333 > │ let v45 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91334 > │ v45 │
00:30:42 verbose #91335 > │ #endif │
00:30:42 verbose #91336 > │ │
00:30:42 verbose #91337 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91338 > │ let v46 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91339 > │ v46 │
00:30:42 verbose #91340 > │ #endif │
00:30:42 verbose #91341 > │ │
00:30:42 verbose #91342 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91343 > │ let v47 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91344 > │ v47 │
00:30:42 verbose #91345 > │ #endif │
00:30:42 verbose #91346 > │ │
00:30:42 verbose #91347 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91348 > │ let v48 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91349 > │ v48 │
00:30:42 verbose #91350 > │ #endif │
00:30:42 verbose #91351 > │ │
00:30:42 verbose #91352 > │ #else │
00:30:42 verbose #91353 > │ let v49 : (string -> System.Threading.Tasks.Task<string>) = │
00:30:42 verbose #91354 > │ System.IO.File.ReadAllTextAsync │
00:30:42 verbose #91355 > │ let v50 : System.Threading.Tasks.Task<string> = v49 v0 │
00:30:42 verbose #91356 > │ let v51 : Async<string> option = None │
00:30:42 verbose #91357 > │ let v52 : bool = true in let mutable _v51 = v51 │
00:30:42 verbose #91358 > │ │
00:30:42 verbose #91359 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91360 > │ │
00:30:42 verbose #91361 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91362 > │ let v53 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91363 > │ v53 │
00:30:42 verbose #91364 > │ #endif │
00:30:42 verbose #91365 > │ │
00:30:42 verbose #91366 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91367 > │ let v54 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91368 > │ v54 │
00:30:42 verbose #91369 > │ #endif │
00:30:42 verbose #91370 > │ │
00:30:42 verbose #91371 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91372 > │ let v55 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91373 > │ v55 │
00:30:42 verbose #91374 > │ #endif │
00:30:42 verbose #91375 > │ │
00:30:42 verbose #91376 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91377 > │ let v56 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91378 > │ v56 │
00:30:42 verbose #91379 > │ #endif │
00:30:42 verbose #91380 > │ │
00:30:42 verbose #91381 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91382 > │ let v57 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91383 > │ v57 │
00:30:42 verbose #91384 > │ #endif │
00:30:42 verbose #91385 > │ │
00:30:42 verbose #91386 > │ #else │
00:30:42 verbose #91387 > │ let v58 : (System.Threading.Tasks.Task<string> -> Async<string>) = │
00:30:42 verbose #91388 > │ Async.AwaitTask │
00:30:42 verbose #91389 > │ let v59 : Async<string> = v58 v50 │
00:30:42 verbose #91390 > │ v59 │
00:30:42 verbose #91391 > │ #endif │
00:30:42 verbose #91392 > │ |> fun x -> _v51 <- Some x │
00:30:42 verbose #91393 > │ let v60 : Async<string> = _v51.Value │
00:30:42 verbose #91394 > │ v60 │
00:30:42 verbose #91395 > │ #endif │
00:30:42 verbose #91396 > │ |> fun x -> _v42 <- Some x │
00:30:42 verbose #91397 > │ let v61 : Async<string> = _v42.Value │
00:30:42 verbose #91398 > │ let! v61 = v61 │
00:30:42 verbose #91399 > │ let v62 : string = v61 │
00:30:42 verbose #91400 > │ let v63 : bool = v1 = v62 │
00:30:42 verbose #91401 > │ return v63 │
00:30:42 verbose #91402 > │ (* │
00:30:42 verbose #91403 > │ () │
00:30:42 verbose #91404 > │ *) │
00:30:42 verbose #91405 > │ } │
00:30:42 verbose #91406 > │ |> fun x -> _v16 <- Some x │
00:30:42 verbose #91407 > │ let v64 : Async<bool> = _v16 |> Option.get │
00:30:42 verbose #91408 > │ v64 │
00:30:42 verbose #91409 > │ #endif │
00:30:42 verbose #91410 > │ |> fun x -> _v9 <- Some x │
00:30:42 verbose #91411 > │ let v65 : Async<bool> = _v9.Value │
00:30:42 verbose #91412 > │ v65 │
00:30:42 verbose #91413 > │ #endif │
00:30:42 verbose #91414 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #91415 > │ let v66 : Async<bool> = _v2.Value │
00:30:42 verbose #91416 > │ v66 │
00:30:42 verbose #91417 > │ and closure15 () (v0 : string) : (string -> Async<bool>) = │
00:30:42 verbose #91418 > │ closure16(v0) │
00:30:42 verbose #91419 > │ and closure18 (v0 : string) (v1 : string) : Async<unit> = │
00:30:42 verbose #91420 > │ let v2 : Async<unit> option = None │
00:30:42 verbose #91421 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #91422 > │ │
00:30:42 verbose #91423 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91424 > │ │
00:30:42 verbose #91425 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91426 > │ let v4 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91427 > │ v4 │
00:30:42 verbose #91428 > │ #endif │
00:30:42 verbose #91429 > │ │
00:30:42 verbose #91430 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91431 > │ let v5 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91432 > │ v5 │
00:30:42 verbose #91433 > │ #endif │
00:30:42 verbose #91434 > │ │
00:30:42 verbose #91435 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91436 > │ let v6 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91437 > │ v6 │
00:30:42 verbose #91438 > │ #endif │
00:30:42 verbose #91439 > │ │
00:30:42 verbose #91440 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91441 > │ let v7 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91442 > │ v7 │
00:30:42 verbose #91443 > │ #endif │
00:30:42 verbose #91444 > │ │
00:30:42 verbose #91445 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91446 > │ let v8 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91447 > │ v8 │
00:30:42 verbose #91448 > │ #endif │
00:30:42 verbose #91449 > │ │
00:30:42 verbose #91450 > │ #else │
00:30:42 verbose #91451 > │ let v9 : System.Threading.Tasks.Task = System.IO.File.WriteAllTextAsync │
00:30:42 verbose #91452 > │ (v0, v1) │
00:30:42 verbose #91453 > │ let v10 : Async<unit> option = None │
00:30:42 verbose #91454 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:30:42 verbose #91455 > │ │
00:30:42 verbose #91456 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91457 > │ │
00:30:42 verbose #91458 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91459 > │ let v12 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91460 > │ v12 │
00:30:42 verbose #91461 > │ #endif │
00:30:42 verbose #91462 > │ │
00:30:42 verbose #91463 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91464 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91465 > │ v13 │
00:30:42 verbose #91466 > │ #endif │
00:30:42 verbose #91467 > │ │
00:30:42 verbose #91468 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91469 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91470 > │ v14 │
00:30:42 verbose #91471 > │ #endif │
00:30:42 verbose #91472 > │ │
00:30:42 verbose #91473 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91474 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91475 > │ v15 │
00:30:42 verbose #91476 > │ #endif │
00:30:42 verbose #91477 > │ │
00:30:42 verbose #91478 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91479 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91480 > │ v16 │
00:30:42 verbose #91481 > │ #endif │
00:30:42 verbose #91482 > │ │
00:30:42 verbose #91483 > │ #else │
00:30:42 verbose #91484 > │ let v17 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask │
00:30:42 verbose #91485 > │ let v18 : Async<unit> = v17 v9 │
00:30:42 verbose #91486 > │ v18 │
00:30:42 verbose #91487 > │ #endif │
00:30:42 verbose #91488 > │ |> fun x -> _v10 <- Some x │
00:30:42 verbose #91489 > │ let v19 : Async<unit> = _v10.Value │
00:30:42 verbose #91490 > │ v19 │
00:30:42 verbose #91491 > │ #endif │
00:30:42 verbose #91492 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #91493 > │ let v20 : Async<unit> = _v2.Value │
00:30:42 verbose #91494 > │ v20 │
00:30:42 verbose #91495 > │ and closure17 () (v0 : string) : (string -> Async<unit>) = │
00:30:42 verbose #91496 > │ closure18(v0) │
00:30:42 verbose #91497 > │ and closure20 (v0 : string) (v1 : string) : Async<unit> = │
00:30:42 verbose #91498 > │ let v2 : Async<unit> option = None │
00:30:42 verbose #91499 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #91500 > │ │
00:30:42 verbose #91501 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91502 > │ │
00:30:42 verbose #91503 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91504 > │ let v4 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91505 > │ v4 │
00:30:42 verbose #91506 > │ #endif │
00:30:42 verbose #91507 > │ │
00:30:42 verbose #91508 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91509 > │ let v5 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91510 > │ v5 │
00:30:42 verbose #91511 > │ #endif │
00:30:42 verbose #91512 > │ │
00:30:42 verbose #91513 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91514 > │ let v6 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91515 > │ v6 │
00:30:42 verbose #91516 > │ #endif │
00:30:42 verbose #91517 > │ │
00:30:42 verbose #91518 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91519 > │ let v7 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91520 > │ v7 │
00:30:42 verbose #91521 > │ #endif │
00:30:42 verbose #91522 > │ │
00:30:42 verbose #91523 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91524 > │ let v8 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91525 > │ v8 │
00:30:42 verbose #91526 > │ #endif │
00:30:42 verbose #91527 > │ │
00:30:42 verbose #91528 > │ #else │
00:30:42 verbose #91529 > │ let v9 : Async<unit> option = None │
00:30:42 verbose #91530 > │ let mutable _v9 = v9 │
00:30:42 verbose #91531 > │ async { │
00:30:42 verbose #91532 > │ let v10 : Async<bool> option = None │
00:30:42 verbose #91533 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:30:42 verbose #91534 > │ │
00:30:42 verbose #91535 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91536 > │ │
00:30:42 verbose #91537 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91538 > │ let v12 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91539 > │ v12 │
00:30:42 verbose #91540 > │ #endif │
00:30:42 verbose #91541 > │ │
00:30:42 verbose #91542 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91543 > │ let v13 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91544 > │ v13 │
00:30:42 verbose #91545 > │ #endif │
00:30:42 verbose #91546 > │ │
00:30:42 verbose #91547 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91548 > │ let v14 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91549 > │ v14 │
00:30:42 verbose #91550 > │ #endif │
00:30:42 verbose #91551 > │ │
00:30:42 verbose #91552 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91553 > │ let v15 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91554 > │ v15 │
00:30:42 verbose #91555 > │ #endif │
00:30:42 verbose #91556 > │ │
00:30:42 verbose #91557 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91558 > │ let v16 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91559 > │ v16 │
00:30:42 verbose #91560 > │ #endif │
00:30:42 verbose #91561 > │ │
00:30:42 verbose #91562 > │ #else │
00:30:42 verbose #91563 > │ let v17 : Async<bool> option = None │
00:30:42 verbose #91564 > │ let v18 : bool = true in let mutable _v17 = v17 │
00:30:42 verbose #91565 > │ │
00:30:42 verbose #91566 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91567 > │ │
00:30:42 verbose #91568 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91569 > │ let v19 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91570 > │ v19 │
00:30:42 verbose #91571 > │ #endif │
00:30:42 verbose #91572 > │ │
00:30:42 verbose #91573 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91574 > │ let v20 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91575 > │ v20 │
00:30:42 verbose #91576 > │ #endif │
00:30:42 verbose #91577 > │ │
00:30:42 verbose #91578 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91579 > │ let v21 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91580 > │ v21 │
00:30:42 verbose #91581 > │ #endif │
00:30:42 verbose #91582 > │ │
00:30:42 verbose #91583 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91584 > │ let v22 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91585 > │ v22 │
00:30:42 verbose #91586 > │ #endif │
00:30:42 verbose #91587 > │ │
00:30:42 verbose #91588 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91589 > │ let v23 : Async<bool> = null |> unbox<Async<bool>> │
00:30:42 verbose #91590 > │ v23 │
00:30:42 verbose #91591 > │ #endif │
00:30:42 verbose #91592 > │ │
00:30:42 verbose #91593 > │ #else │
00:30:42 verbose #91594 > │ let v24 : Async<bool> option = None │
00:30:42 verbose #91595 > │ let mutable _v24 = v24 │
00:30:42 verbose #91596 > │ async { │
00:30:42 verbose #91597 > │ let v25 : bool option = None │
00:30:42 verbose #91598 > │ let v26 : bool = true in let mutable _v25 = v25 │
00:30:42 verbose #91599 > │ │
00:30:42 verbose #91600 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91601 > │ │
00:30:42 verbose #91602 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91603 > │ let v27 : string = method4(v0) │
00:30:42 verbose #91604 > │ let v28 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:42 verbose #91605 > │ let v29 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v27 v28 │
00:30:42 verbose #91606 > │ let v30 : string = "String::from($0)" │
00:30:42 verbose #91607 > │ let v31 : std_string_String = Fable.Core.RustInterop.emitRustExpr v29 │
00:30:42 verbose #91608 > │ v30 │
00:30:42 verbose #91609 > │ let v32 : string = "std::path::PathBuf::from($0)" │
00:30:42 verbose #91610 > │ let v33 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:30:42 verbose #91611 > │ let v34 : string = "$0.exists()" │
00:30:42 verbose #91612 > │ let v35 : bool = Fable.Core.RustInterop.emitRustExpr v33 v34 │
00:30:42 verbose #91613 > │ let v38 : bool = │
00:30:42 verbose #91614 > │ if v35 then │
00:30:42 verbose #91615 > │ let v36 : string = "$0.is_file()" │
00:30:42 verbose #91616 > │ let v37 : bool = Fable.Core.RustInterop.emitRustExpr v33 v36 │
00:30:42 verbose #91617 > │ v37 │
00:30:42 verbose #91618 > │ else │
00:30:42 verbose #91619 > │ false │
00:30:42 verbose #91620 > │ v38 │
00:30:42 verbose #91621 > │ #endif │
00:30:42 verbose #91622 > │ │
00:30:42 verbose #91623 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91624 > │ let v39 : bool = null |> unbox<bool> │
00:30:42 verbose #91625 > │ v39 │
00:30:42 verbose #91626 > │ #endif │
00:30:42 verbose #91627 > │ │
00:30:42 verbose #91628 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91629 > │ let v40 : bool = null |> unbox<bool> │
00:30:42 verbose #91630 > │ v40 │
00:30:42 verbose #91631 > │ #endif │
00:30:42 verbose #91632 > │ │
00:30:42 verbose #91633 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91634 > │ let v41 : string = "fs" │
00:30:42 verbose #91635 > │ let v42 : IFsExistsSync = Fable.Core.JsInterop.importAll v41 │
00:30:42 verbose #91636 > │ let v43 : string = "v42.existsSync($0)" │
00:30:42 verbose #91637 > │ let v44 : bool = Fable.Core.JsInterop.emitJsExpr v0 v43 │
00:30:42 verbose #91638 > │ v44 │
00:30:42 verbose #91639 > │ #endif │
00:30:42 verbose #91640 > │ │
00:30:42 verbose #91641 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91642 > │ let v45 : bool = null |> unbox<bool> │
00:30:42 verbose #91643 > │ v45 │
00:30:42 verbose #91644 > │ #endif │
00:30:42 verbose #91645 > │ │
00:30:42 verbose #91646 > │ #else │
00:30:42 verbose #91647 > │ let v46 : (string -> bool) = System.IO.File.Exists │
00:30:42 verbose #91648 > │ let v47 : bool = v46 v0 │
00:30:42 verbose #91649 > │ v47 │
00:30:42 verbose #91650 > │ #endif │
00:30:42 verbose #91651 > │ |> fun x -> _v25 <- Some x │
00:30:42 verbose #91652 > │ let v48 : bool = _v25.Value │
00:30:42 verbose #91653 > │ let v49 : bool = v48 = false │
00:30:42 verbose #91654 > │ if v49 then │
00:30:42 verbose #91655 > │ return false │
00:30:42 verbose #91656 > │ (* │
00:30:42 verbose #91657 > │ () │
00:30:42 verbose #91658 > │ else │
00:30:42 verbose #91659 > │ *) else │
00:30:42 verbose #91660 > │ let v50 : Async<string> option = None │
00:30:42 verbose #91661 > │ let v51 : bool = true in let mutable _v50 = v50 │
00:30:42 verbose #91662 > │ │
00:30:42 verbose #91663 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91664 > │ │
00:30:42 verbose #91665 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91666 > │ let v52 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91667 > │ v52 │
00:30:42 verbose #91668 > │ #endif │
00:30:42 verbose #91669 > │ │
00:30:42 verbose #91670 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91671 > │ let v53 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91672 > │ v53 │
00:30:42 verbose #91673 > │ #endif │
00:30:42 verbose #91674 > │ │
00:30:42 verbose #91675 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91676 > │ let v54 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91677 > │ v54 │
00:30:42 verbose #91678 > │ #endif │
00:30:42 verbose #91679 > │ │
00:30:42 verbose #91680 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91681 > │ let v55 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91682 > │ v55 │
00:30:42 verbose #91683 > │ #endif │
00:30:42 verbose #91684 > │ │
00:30:42 verbose #91685 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91686 > │ let v56 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91687 > │ v56 │
00:30:42 verbose #91688 > │ #endif │
00:30:42 verbose #91689 > │ │
00:30:42 verbose #91690 > │ #else │
00:30:42 verbose #91691 > │ let v57 : (string -> System.Threading.Tasks.Task<string>) = │
00:30:42 verbose #91692 > │ System.IO.File.ReadAllTextAsync │
00:30:42 verbose #91693 > │ let v58 : System.Threading.Tasks.Task<string> = v57 v0 │
00:30:42 verbose #91694 > │ let v59 : Async<string> option = None │
00:30:42 verbose #91695 > │ let v60 : bool = true in let mutable _v59 = v59 │
00:30:42 verbose #91696 > │ │
00:30:42 verbose #91697 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91698 > │ │
00:30:42 verbose #91699 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91700 > │ let v61 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91701 > │ v61 │
00:30:42 verbose #91702 > │ #endif │
00:30:42 verbose #91703 > │ │
00:30:42 verbose #91704 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91705 > │ let v62 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91706 > │ v62 │
00:30:42 verbose #91707 > │ #endif │
00:30:42 verbose #91708 > │ │
00:30:42 verbose #91709 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91710 > │ let v63 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91711 > │ v63 │
00:30:42 verbose #91712 > │ #endif │
00:30:42 verbose #91713 > │ │
00:30:42 verbose #91714 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91715 > │ let v64 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91716 > │ v64 │
00:30:42 verbose #91717 > │ #endif │
00:30:42 verbose #91718 > │ │
00:30:42 verbose #91719 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91720 > │ let v65 : Async<string> = null |> unbox<Async<string>> │
00:30:42 verbose #91721 > │ v65 │
00:30:42 verbose #91722 > │ #endif │
00:30:42 verbose #91723 > │ │
00:30:42 verbose #91724 > │ #else │
00:30:42 verbose #91725 > │ let v66 : (System.Threading.Tasks.Task<string> -> Async<string>) = │
00:30:42 verbose #91726 > │ Async.AwaitTask │
00:30:42 verbose #91727 > │ let v67 : Async<string> = v66 v58 │
00:30:42 verbose #91728 > │ v67 │
00:30:42 verbose #91729 > │ #endif │
00:30:42 verbose #91730 > │ |> fun x -> _v59 <- Some x │
00:30:42 verbose #91731 > │ let v68 : Async<string> = _v59.Value │
00:30:42 verbose #91732 > │ v68 │
00:30:42 verbose #91733 > │ #endif │
00:30:42 verbose #91734 > │ |> fun x -> _v50 <- Some x │
00:30:42 verbose #91735 > │ let v69 : Async<string> = _v50.Value │
00:30:42 verbose #91736 > │ let! v69 = v69 │
00:30:42 verbose #91737 > │ let v70 : string = v69 │
00:30:42 verbose #91738 > │ let v71 : bool = v1 = v70 │
00:30:42 verbose #91739 > │ return v71 │
00:30:42 verbose #91740 > │ (* │
00:30:42 verbose #91741 > │ () │
00:30:42 verbose #91742 > │ *) │
00:30:42 verbose #91743 > │ } │
00:30:42 verbose #91744 > │ |> fun x -> _v24 <- Some x │
00:30:42 verbose #91745 > │ let v72 : Async<bool> = _v24 |> Option.get │
00:30:42 verbose #91746 > │ v72 │
00:30:42 verbose #91747 > │ #endif │
00:30:42 verbose #91748 > │ |> fun x -> _v17 <- Some x │
00:30:42 verbose #91749 > │ let v73 : Async<bool> = _v17.Value │
00:30:42 verbose #91750 > │ v73 │
00:30:42 verbose #91751 > │ #endif │
00:30:42 verbose #91752 > │ |> fun x -> _v10 <- Some x │
00:30:42 verbose #91753 > │ let v74 : Async<bool> = _v10.Value │
00:30:42 verbose #91754 > │ let! v74 = v74 │
00:30:42 verbose #91755 > │ let v75 : bool = v74 │
00:30:42 verbose #91756 > │ let v76 : bool = v75 = false │
00:30:42 verbose #91757 > │ if v76 then │
00:30:42 verbose #91758 > │ let v77 : Async<unit> option = None │
00:30:42 verbose #91759 > │ let v78 : bool = true in let mutable _v77 = v77 │
00:30:42 verbose #91760 > │ │
00:30:42 verbose #91761 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91762 > │ │
00:30:42 verbose #91763 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91764 > │ let v79 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91765 > │ v79 │
00:30:42 verbose #91766 > │ #endif │
00:30:42 verbose #91767 > │ │
00:30:42 verbose #91768 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91769 > │ let v80 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91770 > │ v80 │
00:30:42 verbose #91771 > │ #endif │
00:30:42 verbose #91772 > │ │
00:30:42 verbose #91773 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91774 > │ let v81 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91775 > │ v81 │
00:30:42 verbose #91776 > │ #endif │
00:30:42 verbose #91777 > │ │
00:30:42 verbose #91778 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91779 > │ let v82 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91780 > │ v82 │
00:30:42 verbose #91781 > │ #endif │
00:30:42 verbose #91782 > │ │
00:30:42 verbose #91783 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91784 > │ let v83 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91785 > │ v83 │
00:30:42 verbose #91786 > │ #endif │
00:30:42 verbose #91787 > │ │
00:30:42 verbose #91788 > │ #else │
00:30:42 verbose #91789 > │ let v84 : System.Threading.Tasks.Task = │
00:30:42 verbose #91790 > │ System.IO.File.WriteAllTextAsync (v0, v1) │
00:30:42 verbose #91791 > │ let v85 : Async<unit> option = None │
00:30:42 verbose #91792 > │ let v86 : bool = true in let mutable _v85 = v85 │
00:30:42 verbose #91793 > │ │
00:30:42 verbose #91794 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91795 > │ │
00:30:42 verbose #91796 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91797 > │ let v87 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91798 > │ v87 │
00:30:42 verbose #91799 > │ #endif │
00:30:42 verbose #91800 > │ │
00:30:42 verbose #91801 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91802 > │ let v88 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91803 > │ v88 │
00:30:42 verbose #91804 > │ #endif │
00:30:42 verbose #91805 > │ │
00:30:42 verbose #91806 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91807 > │ let v89 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91808 > │ v89 │
00:30:42 verbose #91809 > │ #endif │
00:30:42 verbose #91810 > │ │
00:30:42 verbose #91811 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91812 > │ let v90 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91813 > │ v90 │
00:30:42 verbose #91814 > │ #endif │
00:30:42 verbose #91815 > │ │
00:30:42 verbose #91816 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91817 > │ let v91 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91818 > │ v91 │
00:30:42 verbose #91819 > │ #endif │
00:30:42 verbose #91820 > │ │
00:30:42 verbose #91821 > │ #else │
00:30:42 verbose #91822 > │ let v92 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:30:42 verbose #91823 > │ Async.AwaitTask │
00:30:42 verbose #91824 > │ let v93 : Async<unit> = v92 v84 │
00:30:42 verbose #91825 > │ v93 │
00:30:42 verbose #91826 > │ #endif │
00:30:42 verbose #91827 > │ |> fun x -> _v85 <- Some x │
00:30:42 verbose #91828 > │ let v94 : Async<unit> = _v85.Value │
00:30:42 verbose #91829 > │ v94 │
00:30:42 verbose #91830 > │ #endif │
00:30:42 verbose #91831 > │ |> fun x -> _v77 <- Some x │
00:30:42 verbose #91832 > │ let v95 : Async<unit> = _v77.Value │
00:30:42 verbose #91833 > │ do! v95 │
00:30:42 verbose #91834 > │ () │
00:30:42 verbose #91835 > │ } │
00:30:42 verbose #91836 > │ |> fun x -> _v9 <- Some x │
00:30:42 verbose #91837 > │ let v96 : Async<unit> = _v9 |> Option.get │
00:30:42 verbose #91838 > │ v96 │
00:30:42 verbose #91839 > │ #endif │
00:30:42 verbose #91840 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #91841 > │ let v97 : Async<unit> = _v2.Value │
00:30:42 verbose #91842 > │ v97 │
00:30:42 verbose #91843 > │ and closure19 () (v0 : string) : (string -> Async<unit>) = │
00:30:42 verbose #91844 > │ closure20(v0) │
00:30:42 verbose #91845 > │ and closure22 () () : string = │
00:30:42 verbose #91846 > │ let v0 : string = "delete_file_async" │
00:30:42 verbose #91847 > │ v0 │
00:30:42 verbose #91848 > │ and closure23 (v0 : string, v1 : exn) () : string = │
00:30:42 verbose #91849 > │ let v2 : string option = None │
00:30:42 verbose #91850 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #91851 > │ │
00:30:42 verbose #91852 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91853 > │ │
00:30:42 verbose #91854 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91855 > │ let v4 : string = $"%A{v1}" │
00:30:42 verbose #91856 > │ v4 │
00:30:42 verbose #91857 > │ #endif │
00:30:42 verbose #91858 > │ │
00:30:42 verbose #91859 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91860 > │ let v5 : string = $"%A{v1}" │
00:30:42 verbose #91861 > │ v5 │
00:30:42 verbose #91862 > │ #endif │
00:30:42 verbose #91863 > │ │
00:30:42 verbose #91864 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91865 > │ let v6 : string = $"%A{v1}" │
00:30:42 verbose #91866 > │ v6 │
00:30:42 verbose #91867 > │ #endif │
00:30:42 verbose #91868 > │ │
00:30:42 verbose #91869 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91870 > │ let v7 : string = $"%A{v1}" │
00:30:42 verbose #91871 > │ v7 │
00:30:42 verbose #91872 > │ #endif │
00:30:42 verbose #91873 > │ │
00:30:42 verbose #91874 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91875 > │ let v8 : string = $"%A{v1}" │
00:30:42 verbose #91876 > │ v8 │
00:30:42 verbose #91877 > │ #endif │
00:30:42 verbose #91878 > │ │
00:30:42 verbose #91879 > │ #else │
00:30:42 verbose #91880 > │ let v9 : string = $"{v1.GetType ()}: {v1.Message}" │
00:30:42 verbose #91881 > │ v9 │
00:30:42 verbose #91882 > │ #endif │
00:30:42 verbose #91883 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #91884 > │ let v10 : string = _v2.Value │
00:30:42 verbose #91885 > │ let v11 : (string -> string) = closure5() │
00:30:42 verbose #91886 > │ let v12 : (unit -> string) = closure6() │
00:30:42 verbose #91887 > │ let v13 : string = $"path: {v0 |> v11} / ex: {v10} / {v12 ()}" │
00:30:42 verbose #91888 > │ v13 │
00:30:42 verbose #91889 > │ and method11 (v0 : string, v1 : int64) : Async<int64> = │
00:30:42 verbose #91890 > │ let v2 : Async<int64> option = None │
00:30:42 verbose #91891 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #91892 > │ │
00:30:42 verbose #91893 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91894 > │ │
00:30:42 verbose #91895 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91896 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91897 > │ v4 │
00:30:42 verbose #91898 > │ #endif │
00:30:42 verbose #91899 > │ │
00:30:42 verbose #91900 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91901 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91902 > │ v5 │
00:30:42 verbose #91903 > │ #endif │
00:30:42 verbose #91904 > │ │
00:30:42 verbose #91905 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91906 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91907 > │ v6 │
00:30:42 verbose #91908 > │ #endif │
00:30:42 verbose #91909 > │ │
00:30:42 verbose #91910 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91911 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91912 > │ v7 │
00:30:42 verbose #91913 > │ #endif │
00:30:42 verbose #91914 > │ │
00:30:42 verbose #91915 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91916 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #91917 > │ v8 │
00:30:42 verbose #91918 > │ #endif │
00:30:42 verbose #91919 > │ │
00:30:42 verbose #91920 > │ #else │
00:30:42 verbose #91921 > │ let v9 : Async<int64> option = None │
00:30:42 verbose #91922 > │ let mutable _v9 = v9 │
00:30:42 verbose #91923 > │ async { │
00:30:42 verbose #91924 > │ try │
00:30:42 verbose #91925 > │ let v10 : unit option = None │
00:30:42 verbose #91926 > │ let v11 : bool = true in let mutable _v10 = v10 │
00:30:42 verbose #91927 > │ │
00:30:42 verbose #91928 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91929 > │ │
00:30:42 verbose #91930 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91931 > │ null |> unbox<unit> │
00:30:42 verbose #91932 > │ () │
00:30:42 verbose #91933 > │ #endif │
00:30:42 verbose #91934 > │ │
00:30:42 verbose #91935 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91936 > │ null |> unbox<unit> │
00:30:42 verbose #91937 > │ () │
00:30:42 verbose #91938 > │ #endif │
00:30:42 verbose #91939 > │ │
00:30:42 verbose #91940 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91941 > │ null |> unbox<unit> │
00:30:42 verbose #91942 > │ () │
00:30:42 verbose #91943 > │ #endif │
00:30:42 verbose #91944 > │ │
00:30:42 verbose #91945 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91946 > │ null |> unbox<unit> │
00:30:42 verbose #91947 > │ () │
00:30:42 verbose #91948 > │ #endif │
00:30:42 verbose #91949 > │ │
00:30:42 verbose #91950 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91951 > │ null |> unbox<unit> │
00:30:42 verbose #91952 > │ () │
00:30:42 verbose #91953 > │ #endif │
00:30:42 verbose #91954 > │ │
00:30:42 verbose #91955 > │ #else │
00:30:42 verbose #91956 > │ let v12 : (string -> unit) = System.IO.File.Delete │
00:30:42 verbose #91957 > │ v12 v0 │
00:30:42 verbose #91958 > │ () │
00:30:42 verbose #91959 > │ #endif │
00:30:42 verbose #91960 > │ |> fun x -> _v10 <- Some x │
00:30:42 verbose #91961 > │ _v10.Value │
00:30:42 verbose #91962 > │ return v1 │
00:30:42 verbose #91963 > │ with ex -> │
00:30:42 verbose #91964 > │ let v13 : exn = ex │
00:30:42 verbose #91965 > │ let v14 : int64 = v1 % 100L │
00:30:42 verbose #91966 > │ let v15 : bool = v14 = 0L │
00:30:42 verbose #91967 > │ if v15 then │
00:30:42 verbose #91968 > │ let v16 : US0 = US0_3 │
00:30:42 verbose #91969 > │ let v17 : (unit -> string) = closure22() │
00:30:42 verbose #91970 > │ let v18 : (unit -> string) = closure23(v0, v13) │
00:30:42 verbose #91971 > │ method5(v16, v17, v18) │
00:30:42 verbose #91972 > │ let v19 : Async<unit> option = None │
00:30:42 verbose #91973 > │ let v20 : bool = true in let mutable _v19 = v19 │
00:30:42 verbose #91974 > │ │
00:30:42 verbose #91975 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #91976 > │ │
00:30:42 verbose #91977 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #91978 > │ let v21 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91979 > │ v21 │
00:30:42 verbose #91980 > │ #endif │
00:30:42 verbose #91981 > │ │
00:30:42 verbose #91982 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #91983 > │ let v22 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91984 > │ v22 │
00:30:42 verbose #91985 > │ #endif │
00:30:42 verbose #91986 > │ │
00:30:42 verbose #91987 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #91988 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91989 > │ v23 │
00:30:42 verbose #91990 > │ #endif │
00:30:42 verbose #91991 > │ │
00:30:42 verbose #91992 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #91993 > │ let v24 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91994 > │ v24 │
00:30:42 verbose #91995 > │ #endif │
00:30:42 verbose #91996 > │ │
00:30:42 verbose #91997 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #91998 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #91999 > │ v25 │
00:30:42 verbose #92000 > │ #endif │
00:30:42 verbose #92001 > │ │
00:30:42 verbose #92002 > │ #else │
00:30:42 verbose #92003 > │ let v26 : (int32 -> Async<unit>) = Async.Sleep │
00:30:42 verbose #92004 > │ let v27 : Async<unit> = v26 10 │
00:30:42 verbose #92005 > │ v27 │
00:30:42 verbose #92006 > │ #endif │
00:30:42 verbose #92007 > │ |> fun x -> _v19 <- Some x │
00:30:42 verbose #92008 > │ let v28 : Async<unit> = _v19.Value │
00:30:42 verbose #92009 > │ do! v28 │
00:30:42 verbose #92010 > │ let v29 : int64 = v1 + 1L │
00:30:42 verbose #92011 > │ let v30 : Async<int64> = method11(v0, v29) │
00:30:42 verbose #92012 > │ return! v30 │
00:30:42 verbose #92013 > │ (* │
00:30:42 verbose #92014 > │ let v31 : int64 = *) │
00:30:42 verbose #92015 > │ } │
00:30:42 verbose #92016 > │ |> fun x -> _v9 <- Some x │
00:30:42 verbose #92017 > │ let v32 : Async<int64> = _v9 |> Option.get │
00:30:42 verbose #92018 > │ v32 │
00:30:42 verbose #92019 > │ #endif │
00:30:42 verbose #92020 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #92021 > │ let v33 : Async<int64> = _v2.Value │
00:30:42 verbose #92022 > │ v33 │
00:30:42 verbose #92023 > │ and closure21 () (v0 : string) : Async<int64> = │
00:30:42 verbose #92024 > │ let v1 : Async<int64> option = None │
00:30:42 verbose #92025 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:42 verbose #92026 > │ │
00:30:42 verbose #92027 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92028 > │ │
00:30:42 verbose #92029 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92030 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92031 > │ v3 │
00:30:42 verbose #92032 > │ #endif │
00:30:42 verbose #92033 > │ │
00:30:42 verbose #92034 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92035 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92036 > │ v4 │
00:30:42 verbose #92037 > │ #endif │
00:30:42 verbose #92038 > │ │
00:30:42 verbose #92039 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92040 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92041 > │ v5 │
00:30:42 verbose #92042 > │ #endif │
00:30:42 verbose #92043 > │ │
00:30:42 verbose #92044 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92045 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92046 > │ v6 │
00:30:42 verbose #92047 > │ #endif │
00:30:42 verbose #92048 > │ │
00:30:42 verbose #92049 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92050 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92051 > │ v7 │
00:30:42 verbose #92052 > │ #endif │
00:30:42 verbose #92053 > │ │
00:30:42 verbose #92054 > │ #else │
00:30:42 verbose #92055 > │ let v8 : int64 = 0L │
00:30:42 verbose #92056 > │ let v9 : Async<int64> = method11(v0, v8) │
00:30:42 verbose #92057 > │ v9 │
00:30:42 verbose #92058 > │ #endif │
00:30:42 verbose #92059 > │ |> fun x -> _v1 <- Some x │
00:30:42 verbose #92060 > │ let v10 : Async<int64> = _v1.Value │
00:30:42 verbose #92061 > │ v10 │
00:30:42 verbose #92062 > │ and closure26 () () : string = │
00:30:42 verbose #92063 > │ let v0 : string = "move_file_async" │
00:30:42 verbose #92064 > │ v0 │
00:30:42 verbose #92065 > │ and closure27 (v0 : string, v1 : string, v2 : exn) () : string = │
00:30:42 verbose #92066 > │ let v3 : string option = None │
00:30:42 verbose #92067 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:30:42 verbose #92068 > │ │
00:30:42 verbose #92069 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92070 > │ │
00:30:42 verbose #92071 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92072 > │ let v5 : string = $"%A{v2}" │
00:30:42 verbose #92073 > │ v5 │
00:30:42 verbose #92074 > │ #endif │
00:30:42 verbose #92075 > │ │
00:30:42 verbose #92076 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92077 > │ let v6 : string = $"%A{v2}" │
00:30:42 verbose #92078 > │ v6 │
00:30:42 verbose #92079 > │ #endif │
00:30:42 verbose #92080 > │ │
00:30:42 verbose #92081 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92082 > │ let v7 : string = $"%A{v2}" │
00:30:42 verbose #92083 > │ v7 │
00:30:42 verbose #92084 > │ #endif │
00:30:42 verbose #92085 > │ │
00:30:42 verbose #92086 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92087 > │ let v8 : string = $"%A{v2}" │
00:30:42 verbose #92088 > │ v8 │
00:30:42 verbose #92089 > │ #endif │
00:30:42 verbose #92090 > │ │
00:30:42 verbose #92091 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92092 > │ let v9 : string = $"%A{v2}" │
00:30:42 verbose #92093 > │ v9 │
00:30:42 verbose #92094 > │ #endif │
00:30:42 verbose #92095 > │ │
00:30:42 verbose #92096 > │ #else │
00:30:42 verbose #92097 > │ let v10 : string = $"{v2.GetType ()}: {v2.Message}" │
00:30:42 verbose #92098 > │ v10 │
00:30:42 verbose #92099 > │ #endif │
00:30:42 verbose #92100 > │ |> fun x -> _v3 <- Some x │
00:30:42 verbose #92101 > │ let v11 : string = _v3.Value │
00:30:42 verbose #92102 > │ let v12 : (string -> string) = closure5() │
00:30:42 verbose #92103 > │ let v13 : (unit -> string) = closure6() │
00:30:42 verbose #92104 > │ let v14 : string = $"old_path: {v1 |> v12} / new_path: {v0 |> v12} / ex: │
00:30:42 verbose #92105 > │ {v11} / {v13 ()}" │
00:30:42 verbose #92106 > │ v14 │
00:30:42 verbose #92107 > │ and method12 (v0 : string, v1 : string, v2 : int64) : Async<int64> = │
00:30:42 verbose #92108 > │ let v3 : Async<int64> option = None │
00:30:42 verbose #92109 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:30:42 verbose #92110 > │ │
00:30:42 verbose #92111 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92112 > │ │
00:30:42 verbose #92113 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92114 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92115 > │ v5 │
00:30:42 verbose #92116 > │ #endif │
00:30:42 verbose #92117 > │ │
00:30:42 verbose #92118 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92119 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92120 > │ v6 │
00:30:42 verbose #92121 > │ #endif │
00:30:42 verbose #92122 > │ │
00:30:42 verbose #92123 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92124 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92125 > │ v7 │
00:30:42 verbose #92126 > │ #endif │
00:30:42 verbose #92127 > │ │
00:30:42 verbose #92128 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92129 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92130 > │ v8 │
00:30:42 verbose #92131 > │ #endif │
00:30:42 verbose #92132 > │ │
00:30:42 verbose #92133 > 00:30:41 debug #1015 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/43dd5ead116212dbbea4b6ea51ee83b8007cac5ae17170a89d88b13055ada274/main.spi
00:30:42 verbose #92134 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92135 > │ let v9 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92136 > │ v9 │
00:30:42 verbose #92137 > │ #endif │
00:30:42 verbose #92138 > │ │
00:30:42 verbose #92139 > │ #else │
00:30:42 verbose #92140 > │ let v10 : Async<int64> option = None │
00:30:42 verbose #92141 > │ let mutable _v10 = v10 │
00:30:42 verbose #92142 > │ async { │
00:30:42 verbose #92143 > │ try │
00:30:42 verbose #92144 > │ let v11 : unit option = None │
00:30:42 verbose #92145 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:30:42 verbose #92146 > │ │
00:30:42 verbose #92147 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92148 > │ │
00:30:42 verbose #92149 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92150 > │ null |> unbox<unit> │
00:30:42 verbose #92151 > │ () │
00:30:42 verbose #92152 > │ #endif │
00:30:42 verbose #92153 > │ │
00:30:42 verbose #92154 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92155 > │ null |> unbox<unit> │
00:30:42 verbose #92156 > │ () │
00:30:42 verbose #92157 > │ #endif │
00:30:42 verbose #92158 > │ │
00:30:42 verbose #92159 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92160 > │ null |> unbox<unit> │
00:30:42 verbose #92161 > │ () │
00:30:42 verbose #92162 > │ #endif │
00:30:42 verbose #92163 > │ │
00:30:42 verbose #92164 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92165 > │ null |> unbox<unit> │
00:30:42 verbose #92166 > │ () │
00:30:42 verbose #92167 > │ #endif │
00:30:42 verbose #92168 > │ │
00:30:42 verbose #92169 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92170 > │ null |> unbox<unit> │
00:30:42 verbose #92171 > │ () │
00:30:42 verbose #92172 > │ #endif │
00:30:42 verbose #92173 > │ │
00:30:42 verbose #92174 > │ #else │
00:30:42 verbose #92175 > │ System.IO.File.Move (v1, v0) │
00:30:42 verbose #92176 > │ () │
00:30:42 verbose #92177 > │ #endif │
00:30:42 verbose #92178 > │ |> fun x -> _v11 <- Some x │
00:30:42 verbose #92179 > │ _v11.Value │
00:30:42 verbose #92180 > │ return v2 │
00:30:42 verbose #92181 > │ with ex -> │
00:30:42 verbose #92182 > │ let v13 : exn = ex │
00:30:42 verbose #92183 > │ let v14 : int64 = v2 % 100L │
00:30:42 verbose #92184 > │ let v15 : bool = v14 = 0L │
00:30:42 verbose #92185 > │ if v15 then │
00:30:42 verbose #92186 > │ let v16 : US0 = US0_3 │
00:30:42 verbose #92187 > │ let v17 : (unit -> string) = closure26() │
00:30:42 verbose #92188 > │ let v18 : (unit -> string) = closure27(v0, v1, v13) │
00:30:42 verbose #92189 > │ method5(v16, v17, v18) │
00:30:42 verbose #92190 > │ let v19 : Async<unit> option = None │
00:30:42 verbose #92191 > │ let v20 : bool = true in let mutable _v19 = v19 │
00:30:42 verbose #92192 > │ │
00:30:42 verbose #92193 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92194 > │ │
00:30:42 verbose #92195 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92196 > │ let v21 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #92197 > │ v21 │
00:30:42 verbose #92198 > │ #endif │
00:30:42 verbose #92199 > │ │
00:30:42 verbose #92200 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92201 > │ let v22 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #92202 > │ v22 │
00:30:42 verbose #92203 > │ #endif │
00:30:42 verbose #92204 > │ │
00:30:42 verbose #92205 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92206 > │ let v23 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #92207 > │ v23 │
00:30:42 verbose #92208 > │ #endif │
00:30:42 verbose #92209 > │ │
00:30:42 verbose #92210 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92211 > │ let v24 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #92212 > │ v24 │
00:30:42 verbose #92213 > │ #endif │
00:30:42 verbose #92214 > │ │
00:30:42 verbose #92215 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92216 > │ let v25 : Async<unit> = null |> unbox<Async<unit>> │
00:30:42 verbose #92217 > │ v25 │
00:30:42 verbose #92218 > │ #endif │
00:30:42 verbose #92219 > │ │
00:30:42 verbose #92220 > │ #else │
00:30:42 verbose #92221 > │ let v26 : (int32 -> Async<unit>) = Async.Sleep │
00:30:42 verbose #92222 > │ let v27 : Async<unit> = v26 10 │
00:30:42 verbose #92223 > │ v27 │
00:30:42 verbose #92224 > │ #endif │
00:30:42 verbose #92225 > │ |> fun x -> _v19 <- Some x │
00:30:42 verbose #92226 > │ let v28 : Async<unit> = _v19.Value │
00:30:42 verbose #92227 > │ do! v28 │
00:30:42 verbose #92228 > │ let v29 : int64 = v2 + 1L │
00:30:42 verbose #92229 > │ let v30 : Async<int64> = method12(v0, v1, v29) │
00:30:42 verbose #92230 > │ return! v30 │
00:30:42 verbose #92231 > │ (* │
00:30:42 verbose #92232 > │ *) │
00:30:42 verbose #92233 > │ } │
00:30:42 verbose #92234 > │ |> fun x -> _v10 <- Some x │
00:30:42 verbose #92235 > │ let v31 : Async<int64> = _v10 |> Option.get │
00:30:42 verbose #92236 > │ v31 │
00:30:42 verbose #92237 > │ #endif │
00:30:42 verbose #92238 > │ |> fun x -> _v3 <- Some x │
00:30:42 verbose #92239 > │ let v32 : Async<int64> = _v3.Value │
00:30:42 verbose #92240 > │ v32 │
00:30:42 verbose #92241 > │ and closure25 (v0 : string) (v1 : string) : Async<int64> = │
00:30:42 verbose #92242 > │ let v2 : Async<int64> option = None │
00:30:42 verbose #92243 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #92244 > │ │
00:30:42 verbose #92245 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92246 > │ │
00:30:42 verbose #92247 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92248 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92249 > │ v4 │
00:30:42 verbose #92250 > │ #endif │
00:30:42 verbose #92251 > │ │
00:30:42 verbose #92252 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92253 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92254 > │ v5 │
00:30:42 verbose #92255 > │ #endif │
00:30:42 verbose #92256 > │ │
00:30:42 verbose #92257 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92258 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92259 > │ v6 │
00:30:42 verbose #92260 > │ #endif │
00:30:42 verbose #92261 > │ │
00:30:42 verbose #92262 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92263 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92264 > │ v7 │
00:30:42 verbose #92265 > │ #endif │
00:30:42 verbose #92266 > │ │
00:30:42 verbose #92267 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92268 > │ let v8 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92269 > │ v8 │
00:30:42 verbose #92270 > │ #endif │
00:30:42 verbose #92271 > │ │
00:30:42 verbose #92272 > │ #else │
00:30:42 verbose #92273 > │ let v9 : int64 = 0L │
00:30:42 verbose #92274 > │ let v10 : Async<int64> = method12(v0, v1, v9) │
00:30:42 verbose #92275 > │ v10 │
00:30:42 verbose #92276 > │ #endif │
00:30:42 verbose #92277 > │ |> fun x -> _v2 <- Some x │
00:30:42 verbose #92278 > │ let v11 : Async<int64> = _v2.Value │
00:30:42 verbose #92279 > │ v11 │
00:30:42 verbose #92280 > │ and closure24 () (v0 : string) : (string -> Async<int64>) = │
00:30:42 verbose #92281 > │ closure25(v0) │
00:30:42 verbose #92282 > │ and closure29 () (v0 : int64) : US6 = │
00:30:42 verbose #92283 > │ US6_0(v0) │
00:30:42 verbose #92284 > │ and closure30 () (v0 : exn) : US6 = │
00:30:42 verbose #92285 > │ US6_1(v0) │
00:30:42 verbose #92286 > │ and closure31 () () : string = │
00:30:42 verbose #92287 > │ let v0 : string = "run_with_timeout_async" │
00:30:42 verbose #92288 > │ v0 │
00:30:42 verbose #92289 > │ and closure32 () () : string = │
00:30:42 verbose #92290 > │ let v0 : (unit -> string) = closure6() │
00:30:42 verbose #92291 > │ let v1 : string = $"timeout: {1000} / {v0 ()}" │
00:30:42 verbose #92292 > │ v1 │
00:30:42 verbose #92293 > │ and closure33 (v0 : string) () : string = │
00:30:42 verbose #92294 > │ let v1 : string = $"run_with_timeout_async** / ex: {v0}" │
00:30:42 verbose #92295 > │ v1 │
00:30:42 verbose #92296 > │ and closure34 () () : string = │
00:30:42 verbose #92297 > │ let v0 : string = "read_all_text_retry_async" │
00:30:42 verbose #92298 > │ v0 │
00:30:42 verbose #92299 > │ and method14 (v0 : int64, v1 : string) : string = │
00:30:42 verbose #92300 > │ let v2 : (unit -> string) = closure6() │
00:30:42 verbose #92301 > │ let v3 : string = $"retry: {v0} / ex: {v1} / {v2 ()}" │
00:30:42 verbose #92302 > │ v3 │
00:30:42 verbose #92303 > │ and closure35 (v0 : int64, v1 : string) () : string = │
00:30:42 verbose #92304 > │ method14(v0, v1) │
00:30:42 verbose #92305 > │ and method13 (v0 : string, v1 : int64) : Async<string option> = │
00:30:42 verbose #92306 > │ let v2 : Async<string option> option = None │
00:30:42 verbose #92307 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:42 verbose #92308 > │ │
00:30:42 verbose #92309 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92310 > │ │
00:30:42 verbose #92311 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92312 > │ let v4 : Async<string option> = null |> unbox<Async<string option>> │
00:30:42 verbose #92313 > │ v4 │
00:30:42 verbose #92314 > │ #endif │
00:30:42 verbose #92315 > │ │
00:30:42 verbose #92316 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92317 > │ let v5 : Async<string option> = null |> unbox<Async<string option>> │
00:30:42 verbose #92318 > │ v5 │
00:30:42 verbose #92319 > │ #endif │
00:30:42 verbose #92320 > │ │
00:30:42 verbose #92321 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92322 > │ let v6 : Async<string option> = null |> unbox<Async<string option>> │
00:30:42 verbose #92323 > │ v6 │
00:30:42 verbose #92324 > │ #endif │
00:30:42 verbose #92325 > │ │
00:30:42 verbose #92326 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92327 > │ let v7 : Async<string option> = null |> unbox<Async<string option>> │
00:30:42 verbose #92328 > │ v7 │
00:30:42 verbose #92329 > │ #endif │
00:30:42 verbose #92330 > │ │
00:30:42 verbose #92331 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92332 > │ let v8 : Async<string option> = null |> unbox<Async<string option>> │
00:30:42 verbose #92333 > │ v8 │
00:30:42 verbose #92334 > │ #endif │
00:30:42 verbose #92335 > │ │
00:30:42 verbose #92336 > │ #else │
00:30:42 verbose #92337 > │ let v9 : Async<string option> option = None │
00:30:42 verbose #92338 > │ let mutable _v9 = v9 │
00:30:42 verbose #92339 > │ async { │
00:30:42 verbose #92340 > │ try │
00:30:42 verbose #92341 > │ let v10 : bool = v1 > 0L │
00:30:42 verbose #92342 > │ if v10 then │
00:30:42 verbose #92343 > │ let v11 : Async<int64> option = None │
00:30:42 verbose #92344 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:30:42 verbose #92345 > │ │
00:30:42 verbose #92346 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92347 > │ │
00:30:42 verbose #92348 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92349 > │ let v13 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92350 > │ v13 │
00:30:42 verbose #92351 > │ #endif │
00:30:42 verbose #92352 > │ │
00:30:42 verbose #92353 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92354 > │ let v14 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92355 > │ v14 │
00:30:42 verbose #92356 > │ #endif │
00:30:42 verbose #92357 > │ │
00:30:42 verbose #92358 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92359 > │ let v15 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92360 > │ v15 │
00:30:42 verbose #92361 > │ #endif │
00:30:42 verbose #92362 > │ │
00:30:42 verbose #92363 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92364 > │ let v16 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92365 > │ v16 │
00:30:42 verbose #92366 > │ #endif │
00:30:42 verbose #92367 > │ │
00:30:42 verbose #92368 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92369 > │ let v17 : Async<int64> = null |> unbox<Async<int64>> │
00:30:42 verbose #92370 > │ v17 │
00:30:42 verbose #92371 > │ #endif │
00:30:42 verbose #92372 > │ │
00:30:42 verbose #92373 > │ #else │
00:30:42 verbose #92374 > │ let v18 : int64 = 0L │
00:30:42 verbose #92375 > │ let v19 : Async<int64> = method10(v0, v18) │
00:30:42 verbose #92376 > │ v19 │
00:30:42 verbose #92377 > │ #endif │
00:30:42 verbose #92378 > │ |> fun x -> _v11 <- Some x │
00:30:42 verbose #92379 > │ let v20 : Async<int64> = _v11.Value │
00:30:42 verbose #92380 > │ let v21 : Async<US2> option = None │
00:30:42 verbose #92381 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:30:42 verbose #92382 > │ │
00:30:42 verbose #92383 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92384 > │ │
00:30:42 verbose #92385 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92386 > │ let v23 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92387 > │ v23 │
00:30:42 verbose #92388 > │ #endif │
00:30:42 verbose #92389 > │ │
00:30:42 verbose #92390 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92391 > │ let v24 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92392 > │ v24 │
00:30:42 verbose #92393 > │ #endif │
00:30:42 verbose #92394 > │ │
00:30:42 verbose #92395 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92396 > │ let v25 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92397 > │ v25 │
00:30:42 verbose #92398 > │ #endif │
00:30:42 verbose #92399 > │ │
00:30:42 verbose #92400 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92401 > │ let v26 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92402 > │ v26 │
00:30:42 verbose #92403 > │ #endif │
00:30:42 verbose #92404 > │ │
00:30:42 verbose #92405 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92406 > │ let v27 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92407 > │ v27 │
00:30:42 verbose #92408 > │ #endif │
00:30:42 verbose #92409 > │ │
00:30:42 verbose #92410 > │ #else │
00:30:42 verbose #92411 > │ let v28 : Async<US2> option = None │
00:30:42 verbose #92412 > │ let v29 : bool = true in let mutable _v28 = v28 │
00:30:42 verbose #92413 > │ │
00:30:42 verbose #92414 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92415 > │ │
00:30:42 verbose #92416 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92417 > │ let v30 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92418 > │ v30 │
00:30:42 verbose #92419 > │ #endif │
00:30:42 verbose #92420 > │ │
00:30:42 verbose #92421 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92422 > │ let v31 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92423 > │ v31 │
00:30:42 verbose #92424 > │ #endif │
00:30:42 verbose #92425 > │ │
00:30:42 verbose #92426 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92427 > │ let v32 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92428 > │ v32 │
00:30:42 verbose #92429 > │ #endif │
00:30:42 verbose #92430 > │ │
00:30:42 verbose #92431 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92432 > │ let v33 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92433 > │ v33 │
00:30:42 verbose #92434 > │ #endif │
00:30:42 verbose #92435 > │ │
00:30:42 verbose #92436 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92437 > │ let v34 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92438 > │ v34 │
00:30:42 verbose #92439 > │ #endif │
00:30:42 verbose #92440 > │ │
00:30:42 verbose #92441 > │ #else │
00:30:42 verbose #92442 > │ let v35 : Async<US2> option = None │
00:30:42 verbose #92443 > │ let mutable _v35 = v35 │
00:30:42 verbose #92444 > │ async { │
00:30:42 verbose #92445 > │ let v36 : Async<Async<int64>> option = None │
00:30:42 verbose #92446 > │ let v37 : bool = true in let mutable _v36 = v36 │
00:30:42 verbose #92447 > │ │
00:30:42 verbose #92448 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92449 > │ │
00:30:42 verbose #92450 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92451 > │ let v38 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:30:42 verbose #92452 > │ v38 │
00:30:42 verbose #92453 > │ #endif │
00:30:42 verbose #92454 > │ │
00:30:42 verbose #92455 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92456 > │ let v39 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:30:42 verbose #92457 > │ v39 │
00:30:42 verbose #92458 > │ #endif │
00:30:42 verbose #92459 > │ │
00:30:42 verbose #92460 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92461 > │ let v40 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:30:42 verbose #92462 > │ v40 │
00:30:42 verbose #92463 > │ #endif │
00:30:42 verbose #92464 > │ │
00:30:42 verbose #92465 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92466 > │ let v41 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:30:42 verbose #92467 > │ v41 │
00:30:42 verbose #92468 > │ #endif │
00:30:42 verbose #92469 > │ │
00:30:42 verbose #92470 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92471 > │ let v42 : Async<Async<int64>> = null |> unbox<Async<Async<int64>>> │
00:30:42 verbose #92472 > │ v42 │
00:30:42 verbose #92473 > │ #endif │
00:30:42 verbose #92474 > │ │
00:30:42 verbose #92475 > │ #else │
00:30:42 verbose #92476 > │ let v43 : Async<Async<int64>> = Async.StartChild (v20, 1000) │
00:30:42 verbose #92477 > │ v43 │
00:30:42 verbose #92478 > │ #endif │
00:30:42 verbose #92479 > │ |> fun x -> _v36 <- Some x │
00:30:42 verbose #92480 > │ let v44 : Async<Async<int64>> = _v36.Value │
00:30:42 verbose #92481 > │ let! v44 = v44 │
00:30:42 verbose #92482 > │ let v45 : Async<int64> = v44 │
00:30:42 verbose #92483 > │ let v46 : Async<Choice<int64, exn>> option = None │
00:30:42 verbose #92484 > │ let v47 : bool = true in let mutable _v46 = v46 │
00:30:42 verbose #92485 > │ │
00:30:42 verbose #92486 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92487 > │ │
00:30:42 verbose #92488 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92489 > │ let v48 : Async<Choice<int64, exn>> = null |> │
00:30:42 verbose #92490 > │ unbox<Async<Choice<int64, exn>>> │
00:30:42 verbose #92491 > │ v48 │
00:30:42 verbose #92492 > │ #endif │
00:30:42 verbose #92493 > │ │
00:30:42 verbose #92494 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92495 > │ let v49 : Async<Choice<int64, exn>> = null |> │
00:30:42 verbose #92496 > │ unbox<Async<Choice<int64, exn>>> │
00:30:42 verbose #92497 > │ v49 │
00:30:42 verbose #92498 > │ #endif │
00:30:42 verbose #92499 > │ │
00:30:42 verbose #92500 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92501 > │ let v50 : Async<Choice<int64, exn>> = null |> │
00:30:42 verbose #92502 > │ unbox<Async<Choice<int64, exn>>> │
00:30:42 verbose #92503 > │ v50 │
00:30:42 verbose #92504 > │ #endif │
00:30:42 verbose #92505 > │ │
00:30:42 verbose #92506 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92507 > │ let v51 : Async<Choice<int64, exn>> = null |> │
00:30:42 verbose #92508 > │ unbox<Async<Choice<int64, exn>>> │
00:30:42 verbose #92509 > │ v51 │
00:30:42 verbose #92510 > │ #endif │
00:30:42 verbose #92511 > │ │
00:30:42 verbose #92512 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92513 > │ let v52 : Async<Choice<int64, exn>> = null |> │
00:30:42 verbose #92514 > │ unbox<Async<Choice<int64, exn>>> │
00:30:42 verbose #92515 > │ v52 │
00:30:42 verbose #92516 > │ #endif │
00:30:42 verbose #92517 > │ │
00:30:42 verbose #92518 > │ #else │
00:30:42 verbose #92519 > │ let v53 : (Async<int64> -> Async<Choice<int64, exn>>) = Async.Catch │
00:30:42 verbose #92520 > │ let v54 : Async<Choice<int64, exn>> = v53 v45 │
00:30:42 verbose #92521 > │ v54 │
00:30:42 verbose #92522 > │ #endif │
00:30:42 verbose #92523 > │ |> fun x -> _v46 <- Some x │
00:30:42 verbose #92524 > │ let v55 : Async<Choice<int64, exn>> = _v46.Value │
00:30:42 verbose #92525 > │ let v56 : Async<US6> option = None │
00:30:42 verbose #92526 > │ let v57 : bool = true in let mutable _v56 = v56 │
00:30:42 verbose #92527 > │ │
00:30:42 verbose #92528 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92529 > │ │
00:30:42 verbose #92530 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92531 > │ let v58 : Async<US6> = null |> unbox<Async<US6>> │
00:30:42 verbose #92532 > │ v58 │
00:30:42 verbose #92533 > │ #endif │
00:30:42 verbose #92534 > │ │
00:30:42 verbose #92535 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92536 > │ let v59 : Async<US6> = null |> unbox<Async<US6>> │
00:30:42 verbose #92537 > │ v59 │
00:30:42 verbose #92538 > │ #endif │
00:30:42 verbose #92539 > │ │
00:30:42 verbose #92540 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92541 > │ let v60 : Async<US6> = null |> unbox<Async<US6>> │
00:30:42 verbose #92542 > │ v60 │
00:30:42 verbose #92543 > │ #endif │
00:30:42 verbose #92544 > │ │
00:30:42 verbose #92545 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92546 > │ let v61 : Async<US6> = null |> unbox<Async<US6>> │
00:30:42 verbose #92547 > │ v61 │
00:30:42 verbose #92548 > │ #endif │
00:30:42 verbose #92549 > │ │
00:30:42 verbose #92550 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92551 > │ let v62 : Async<US6> = null |> unbox<Async<US6>> │
00:30:42 verbose #92552 > │ v62 │
00:30:42 verbose #92553 > │ #endif │
00:30:42 verbose #92554 > │ │
00:30:42 verbose #92555 > │ #else │
00:30:42 verbose #92556 > │ let v63 : Async<US6> option = None │
00:30:42 verbose #92557 > │ let mutable _v63 = v63 │
00:30:42 verbose #92558 > │ async { │
00:30:42 verbose #92559 > │ let! v55 = v55 │
00:30:42 verbose #92560 > │ let v64 : Choice<int64, exn> = v55 │
00:30:42 verbose #92561 > │ let v65 : US6 option = None │
00:30:42 verbose #92562 > │ let v66 : bool = true in let mutable _v65 = v65 │
00:30:42 verbose #92563 > │ │
00:30:42 verbose #92564 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92565 > │ │
00:30:42 verbose #92566 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92567 > │ let v67 : US6 = null |> unbox<US6> │
00:30:42 verbose #92568 > │ v67 │
00:30:42 verbose #92569 > │ #endif │
00:30:42 verbose #92570 > │ │
00:30:42 verbose #92571 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92572 > │ let v68 : US6 = null |> unbox<US6> │
00:30:42 verbose #92573 > │ v68 │
00:30:42 verbose #92574 > │ #endif │
00:30:42 verbose #92575 > │ │
00:30:42 verbose #92576 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92577 > │ let v69 : US6 = null |> unbox<US6> │
00:30:42 verbose #92578 > │ v69 │
00:30:42 verbose #92579 > │ #endif │
00:30:42 verbose #92580 > │ │
00:30:42 verbose #92581 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92582 > │ let v70 : US6 = null |> unbox<US6> │
00:30:42 verbose #92583 > │ v70 │
00:30:42 verbose #92584 > │ #endif │
00:30:42 verbose #92585 > │ │
00:30:42 verbose #92586 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92587 > │ let v71 : US6 = null |> unbox<US6> │
00:30:42 verbose #92588 > │ v71 │
00:30:42 verbose #92589 > │ #endif │
00:30:42 verbose #92590 > │ │
00:30:42 verbose #92591 > │ #else │
00:30:42 verbose #92592 > │ let v72 : (int64 -> US6) = closure29() │
00:30:42 verbose #92593 > │ let v73 : (exn -> US6) = closure30() │
00:30:42 verbose #92594 > │ let v74 : US6 = match v64 with Choice1Of2 x -> v72 x | Choice2Of2 x │
00:30:42 verbose #92595 > │ -> v73 x │
00:30:42 verbose #92596 > │ v74 │
00:30:42 verbose #92597 > │ #endif │
00:30:42 verbose #92598 > │ |> fun x -> _v65 <- Some x │
00:30:42 verbose #92599 > │ let v75 : US6 = _v65.Value │
00:30:42 verbose #92600 > │ return v75 │
00:30:42 verbose #92601 > │ } │
00:30:42 verbose #92602 > │ |> fun x -> _v63 <- Some x │
00:30:42 verbose #92603 > │ let v76 : Async<US6> = _v63 |> Option.get │
00:30:42 verbose #92604 > │ v76 │
00:30:42 verbose #92605 > │ #endif │
00:30:42 verbose #92606 > │ |> fun x -> _v56 <- Some x │
00:30:42 verbose #92607 > │ let v77 : Async<US6> = _v56.Value │
00:30:42 verbose #92608 > │ let v78 : Async<US7> option = None │
00:30:42 verbose #92609 > │ let v79 : bool = true in let mutable _v78 = v78 │
00:30:42 verbose #92610 > │ │
00:30:42 verbose #92611 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92612 > │ │
00:30:42 verbose #92613 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92614 > │ let v80 : Async<US7> = null |> unbox<Async<US7>> │
00:30:42 verbose #92615 > │ v80 │
00:30:42 verbose #92616 > │ #endif │
00:30:42 verbose #92617 > │ │
00:30:42 verbose #92618 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92619 > │ let v81 : Async<US7> = null |> unbox<Async<US7>> │
00:30:42 verbose #92620 > │ v81 │
00:30:42 verbose #92621 > │ #endif │
00:30:42 verbose #92622 > │ │
00:30:42 verbose #92623 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92624 > │ let v82 : Async<US7> = null |> unbox<Async<US7>> │
00:30:42 verbose #92625 > │ v82 │
00:30:42 verbose #92626 > │ #endif │
00:30:42 verbose #92627 > │ │
00:30:42 verbose #92628 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92629 > │ let v83 : Async<US7> = null |> unbox<Async<US7>> │
00:30:42 verbose #92630 > │ v83 │
00:30:42 verbose #92631 > │ #endif │
00:30:42 verbose #92632 > │ │
00:30:42 verbose #92633 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92634 > │ let v84 : Async<US7> = null |> unbox<Async<US7>> │
00:30:42 verbose #92635 > │ v84 │
00:30:42 verbose #92636 > │ #endif │
00:30:42 verbose #92637 > │ │
00:30:42 verbose #92638 > │ #else │
00:30:42 verbose #92639 > │ let v85 : Async<US7> option = None │
00:30:42 verbose #92640 > │ let mutable _v85 = v85 │
00:30:42 verbose #92641 > │ async { │
00:30:42 verbose #92642 > │ let! v77 = v77 │
00:30:42 verbose #92643 > │ let v86 : US6 = v77 │
00:30:42 verbose #92644 > │ let v92 : US7 = │
00:30:42 verbose #92645 > │ match v86 with │
00:30:42 verbose #92646 > │ | US6_0(v87) -> (* Choice1Of2 *) │
00:30:42 verbose #92647 > │ US7_0(v87) │
00:30:42 verbose #92648 > │ | US6_1(v89) -> (* Choice2Of2 *) │
00:30:42 verbose #92649 > │ US7_1(v89) │
00:30:42 verbose #92650 > │ return v92 │
00:30:42 verbose #92651 > │ } │
00:30:42 verbose #92652 > │ |> fun x -> _v85 <- Some x │
00:30:42 verbose #92653 > │ let v93 : Async<US7> = _v85 |> Option.get │
00:30:42 verbose #92654 > │ v93 │
00:30:42 verbose #92655 > │ #endif │
00:30:42 verbose #92656 > │ |> fun x -> _v78 <- Some x │
00:30:42 verbose #92657 > │ let v94 : Async<US7> = _v78.Value │
00:30:42 verbose #92658 > │ let v95 : Async<US2> option = None │
00:30:42 verbose #92659 > │ let v96 : bool = true in let mutable _v95 = v95 │
00:30:42 verbose #92660 > │ │
00:30:42 verbose #92661 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:42 verbose #92662 > │ │
00:30:42 verbose #92663 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:42 verbose #92664 > │ let v97 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92665 > │ v97 │
00:30:42 verbose #92666 > │ #endif │
00:30:42 verbose #92667 > │ │
00:30:42 verbose #92668 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:42 verbose #92669 > │ let v98 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92670 > │ v98 │
00:30:42 verbose #92671 > │ #endif │
00:30:42 verbose #92672 > │ │
00:30:42 verbose #92673 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:42 verbose #92674 > │ let v99 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92675 > │ v99 │
00:30:42 verbose #92676 > │ #endif │
00:30:42 verbose #92677 > │ │
00:30:42 verbose #92678 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:42 verbose #92679 > │ let v100 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92680 > │ v100 │
00:30:42 verbose #92681 > │ #endif │
00:30:42 verbose #92682 > │ │
00:30:42 verbose #92683 > │ #if FABLE_COMPILER_PYTHON │
00:30:42 verbose #92684 > │ let v101 : Async<US2> = null |> unbox<Async<US2>> │
00:30:42 verbose #92685 > │ v101 │
00:30:42 verbose #92686 > │ #endif │
00:30:42 verbose #92687 > │ │
00:30:42 verbose #92688 > │ #else │
00:30:42 verbose #92689 > │ let v102 : Async<US2> option = None │
00:30:42 verbose #92690 > │ let mutable _v102 = v102 │
00:30:42 verbose #92691 > │ async { │
00:30:42 verbose #92692 > │ let! v94 = v94 │
00:30:42 verbose #92693 > │ let v103 : US7 = v94 │
00:30:42 verbose #92694 > │ let v129 : US2 = │
00:30:42 verbose #92695 > │ match v103 with │
00:30:42 verbose #92696 > │ | US7_1(v106) -> (* Error *) │
00:30:42 verbose #92697 > │ let v107 : string = $"%A{v106}" │
00:30:42 verbose #92698 > │ let v108 : string = "System.TimeoutException" │
00:30:42 verbose #92699 > │ let v109 : bool = v107.Contains v108 │
00:30:42 verbose #92700 > │ if v109 then │
00:30:42 verbose #92701 > │ let v110 : US0 = US0_1 │
00:30:42 verbose #92702 > │ let v111 : (unit -> string) = closure31() │
00:30:42 verbose #92703 > │ let v112 : (unit -> string) = closure32() │
00:30:42 verbose #92704 > │ method5(v110, v111, v112) │
00:30:43 verbose #92705 > │ US2_1 │
00:30:43 verbose #92706 > │ else │
00:30:43 verbose #92707 > │ let v114 : string option = None │
00:30:43 verbose #92708 > │ let v115 : bool = true in let mutable _v114 = v114 │
00:30:43 verbose #92709 > │ │
00:30:43 verbose #92710 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #92711 > │ │
00:30:43 verbose #92712 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #92713 > │ let v116 : string = $"%A{v106}" │
00:30:43 verbose #92714 > │ v116 │
00:30:43 verbose #92715 > │ #endif │
00:30:43 verbose #92716 > │ │
00:30:43 verbose #92717 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #92718 > │ let v117 : string = $"%A{v106}" │
00:30:43 verbose #92719 > │ v117 │
00:30:43 verbose #92720 > │ #endif │
00:30:43 verbose #92721 > │ │
00:30:43 verbose #92722 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #92723 > │ let v118 : string = $"%A{v106}" │
00:30:43 verbose #92724 > │ v118 │
00:30:43 verbose #92725 > │ #endif │
00:30:43 verbose #92726 > │ │
00:30:43 verbose #92727 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #92728 > │ let v119 : string = $"%A{v106}" │
00:30:43 verbose #92729 > │ v119 │
00:30:43 verbose #92730 > │ #endif │
00:30:43 verbose #92731 > │ │
00:30:43 verbose #92732 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #92733 > │ let v120 : string = $"%A{v106}" │
00:30:43 verbose #92734 > │ v120 │
00:30:43 verbose #92735 > │ #endif │
00:30:43 verbose #92736 > │ │
00:30:43 verbose #92737 > │ #else │
00:30:43 verbose #92738 > │ let v121 : string = $"{v106.GetType ()}: {v106.Message}" │
00:30:43 verbose #92739 > │ v121 │
00:30:43 verbose #92740 > │ #endif │
00:30:43 verbose #92741 > │ |> fun x -> _v114 <- Some x │
00:30:43 verbose #92742 > │ let v122 : string = _v114.Value │
00:30:43 verbose #92743 > │ let v123 : US0 = US0_4 │
00:30:43 verbose #92744 > │ let v124 : (unit -> string) = closure33(v122) │
00:30:43 verbose #92745 > │ let v125 : (unit -> string) = closure32() │
00:30:43 verbose #92746 > │ method5(v123, v124, v125) │
00:30:43 verbose #92747 > │ US2_1 │
00:30:43 verbose #92748 > │ | US7_0(v104) -> (* Ok *) │
00:30:43 verbose #92749 > │ US2_0(v104) │
00:30:43 verbose #92750 > │ return v129 │
00:30:43 verbose #92751 > │ } │
00:30:43 verbose #92752 > │ |> fun x -> _v102 <- Some x │
00:30:43 verbose #92753 > │ let v130 : Async<US2> = _v102 |> Option.get │
00:30:43 verbose #92754 > │ v130 │
00:30:43 verbose #92755 > │ #endif │
00:30:43 verbose #92756 > │ |> fun x -> _v95 <- Some x │
00:30:43 verbose #92757 > │ let v131 : Async<US2> = _v95.Value │
00:30:43 verbose #92758 > │ return! v131 │
00:30:43 verbose #92759 > │ } │
00:30:43 verbose #92760 > │ |> fun x -> _v35 <- Some x │
00:30:43 verbose #92761 > │ let v132 : Async<US2> = _v35 |> Option.get │
00:30:43 verbose #92762 > │ v132 │
00:30:43 verbose #92763 > │ #endif │
00:30:43 verbose #92764 > │ |> fun x -> _v28 <- Some x │
00:30:43 verbose #92765 > │ let v133 : Async<US2> = _v28.Value │
00:30:43 verbose #92766 > │ v133 │
00:30:43 verbose #92767 > │ #endif │
00:30:43 verbose #92768 > │ |> fun x -> _v21 <- Some x │
00:30:43 verbose #92769 > │ let v134 : Async<US2> = _v21.Value │
00:30:43 verbose #92770 > │ let v135 : Async<unit> option = None │
00:30:43 verbose #92771 > │ let v136 : bool = true in let mutable _v135 = v135 │
00:30:43 verbose #92772 > │ │
00:30:43 verbose #92773 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #92774 > │ │
00:30:43 verbose #92775 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #92776 > │ let v137 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #92777 > │ v137 │
00:30:43 verbose #92778 > │ #endif │
00:30:43 verbose #92779 > │ │
00:30:43 verbose #92780 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #92781 > │ let v138 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #92782 > │ v138 │
00:30:43 verbose #92783 > │ #endif │
00:30:43 verbose #92784 > │ │
00:30:43 verbose #92785 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #92786 > │ let v139 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #92787 > │ v139 │
00:30:43 verbose #92788 > │ #endif │
00:30:43 verbose #92789 > │ │
00:30:43 verbose #92790 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #92791 > │ let v140 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #92792 > │ v140 │
00:30:43 verbose #92793 > │ #endif │
00:30:43 verbose #92794 > │ │
00:30:43 verbose #92795 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #92796 > │ let v141 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #92797 > │ v141 │
00:30:43 verbose #92798 > │ #endif │
00:30:43 verbose #92799 > │ │
00:30:43 verbose #92800 > │ #else │
00:30:43 verbose #92801 > │ let v142 : (Async<US2> -> Async<unit>) = Async.Ignore │
00:30:43 verbose #92802 > │ let v143 : Async<unit> = v142 v134 │
00:30:43 verbose #92803 > │ v143 │
00:30:43 verbose #92804 > │ #endif │
00:30:43 verbose #92805 > │ |> fun x -> _v135 <- Some x │
00:30:43 verbose #92806 > │ let v144 : Async<unit> = _v135.Value │
00:30:43 verbose #92807 > │ do! v144 │
00:30:43 verbose #92808 > │ () │
00:30:43 verbose #92809 > │ let v145 : Async<string> option = None │
00:30:43 verbose #92810 > │ let v146 : bool = true in let mutable _v145 = v145 │
00:30:43 verbose #92811 > │ │
00:30:43 verbose #92812 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #92813 > │ │
00:30:43 verbose #92814 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #92815 > │ let v147 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92816 > │ v147 │
00:30:43 verbose #92817 > │ #endif │
00:30:43 verbose #92818 > │ │
00:30:43 verbose #92819 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #92820 > │ let v148 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92821 > │ v148 │
00:30:43 verbose #92822 > │ #endif │
00:30:43 verbose #92823 > │ │
00:30:43 verbose #92824 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #92825 > │ let v149 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92826 > │ v149 │
00:30:43 verbose #92827 > │ #endif │
00:30:43 verbose #92828 > │ │
00:30:43 verbose #92829 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #92830 > │ let v150 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92831 > │ v150 │
00:30:43 verbose #92832 > │ #endif │
00:30:43 verbose #92833 > │ │
00:30:43 verbose #92834 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #92835 > │ let v151 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92836 > │ v151 │
00:30:43 verbose #92837 > │ #endif │
00:30:43 verbose #92838 > │ │
00:30:43 verbose #92839 > │ #else │
00:30:43 verbose #92840 > │ let v152 : (string -> System.Threading.Tasks.Task<string>) = │
00:30:43 verbose #92841 > │ System.IO.File.ReadAllTextAsync │
00:30:43 verbose #92842 > │ let v153 : System.Threading.Tasks.Task<string> = v152 v0 │
00:30:43 verbose #92843 > │ let v154 : Async<string> option = None │
00:30:43 verbose #92844 > │ let v155 : bool = true in let mutable _v154 = v154 │
00:30:43 verbose #92845 > │ │
00:30:43 verbose #92846 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #92847 > │ │
00:30:43 verbose #92848 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #92849 > │ let v156 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92850 > │ v156 │
00:30:43 verbose #92851 > │ #endif │
00:30:43 verbose #92852 > │ │
00:30:43 verbose #92853 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #92854 > │ let v157 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92855 > │ v157 │
00:30:43 verbose #92856 > │ #endif │
00:30:43 verbose #92857 > │ │
00:30:43 verbose #92858 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #92859 > │ let v158 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92860 > │ v158 │
00:30:43 verbose #92861 > │ #endif │
00:30:43 verbose #92862 > │ │
00:30:43 verbose #92863 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #92864 > │ let v159 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92865 > │ v159 │
00:30:43 verbose #92866 > │ #endif │
00:30:43 verbose #92867 > │ │
00:30:43 verbose #92868 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #92869 > │ let v160 : Async<string> = null |> unbox<Async<string>> │
00:30:43 verbose #92870 > │ v160 │
00:30:43 verbose #92871 > │ #endif │
00:30:43 verbose #92872 > │ │
00:30:43 verbose #92873 > │ #else │
00:30:43 verbose #92874 > │ let v161 : (System.Threading.Tasks.Task<string> -> Async<string>) = │
00:30:43 verbose #92875 > │ Async.AwaitTask │
00:30:43 verbose #92876 > │ let v162 : Async<string> = v161 v153 │
00:30:43 verbose #92877 > │ v162 │
00:30:43 verbose #92878 > │ #endif │
00:30:43 verbose #92879 > │ |> fun x -> _v154 <- Some x │
00:30:43 verbose #92880 > │ let v163 : Async<string> = _v154.Value │
00:30:43 verbose #92881 > │ v163 │
00:30:43 verbose #92882 > │ #endif │
00:30:43 verbose #92883 > │ |> fun x -> _v145 <- Some x │
00:30:43 verbose #92884 > │ let v164 : Async<string> = _v145.Value │
00:30:43 verbose #92885 > │ let v165 : Async<string option> option = None │
00:30:43 verbose #92886 > │ let v166 : bool = true in let mutable _v165 = v165 │
00:30:43 verbose #92887 > │ │
00:30:43 verbose #92888 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #92889 > │ │
00:30:43 verbose #92890 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #92891 > │ let v167 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #92892 > │ v167 │
00:30:43 verbose #92893 > │ #endif │
00:30:43 verbose #92894 > │ │
00:30:43 verbose #92895 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #92896 > │ let v168 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #92897 > │ v168 │
00:30:43 verbose #92898 > │ #endif │
00:30:43 verbose #92899 > │ │
00:30:43 verbose #92900 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #92901 > │ let v169 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #92902 > │ v169 │
00:30:43 verbose #92903 > │ #endif │
00:30:43 verbose #92904 > │ │
00:30:43 verbose #92905 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #92906 > │ let v170 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #92907 > │ v170 │
00:30:43 verbose #92908 > │ #endif │
00:30:43 verbose #92909 > │ │
00:30:43 verbose #92910 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #92911 > │ let v171 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #92912 > │ v171 │
00:30:43 verbose #92913 > │ #endif │
00:30:43 verbose #92914 > │ │
00:30:43 verbose #92915 > │ #else │
00:30:43 verbose #92916 > │ let v172 : Async<string option> option = None │
00:30:43 verbose #92917 > │ let mutable _v172 = v172 │
00:30:43 verbose #92918 > │ async { │
00:30:43 verbose #92919 > │ let! v164 = v164 │
00:30:43 verbose #92920 > │ let v173 : string = v164 │
00:30:43 verbose #92921 > │ let v174 : string option = Some v173 │
00:30:43 verbose #92922 > │ return v174 │
00:30:43 verbose #92923 > │ } │
00:30:43 verbose #92924 > │ |> fun x -> _v172 <- Some x │
00:30:43 verbose #92925 > │ let v175 : Async<string option> = _v172 |> Option.get │
00:30:43 verbose #92926 > │ v175 │
00:30:43 verbose #92927 > │ #endif │
00:30:43 verbose #92928 > │ |> fun x -> _v165 <- Some x │
00:30:43 verbose #92929 > │ let v176 : Async<string option> = _v165.Value │
00:30:43 verbose #92930 > │ return! v176 │
00:30:43 verbose #92931 > │ with ex -> │
00:30:43 verbose #92932 > │ let v177 : exn = ex │
00:30:43 verbose #92933 > │ let v178 : bool = v1 = 0L │
00:30:43 verbose #92934 > │ let v179 : bool = v178 <> true │
00:30:43 verbose #92935 > │ if v179 then │
00:30:43 verbose #92936 > │ let v180 : string option = None │
00:30:43 verbose #92937 > │ let v181 : bool = true in let mutable _v180 = v180 │
00:30:43 verbose #92938 > │ │
00:30:43 verbose #92939 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #92940 > │ │
00:30:43 verbose #92941 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #92942 > │ let v182 : string = $"%A{v177}" │
00:30:43 verbose #92943 > │ v182 │
00:30:43 verbose #92944 > │ #endif │
00:30:43 verbose #92945 > │ │
00:30:43 verbose #92946 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #92947 > │ let v183 : string = $"%A{v177}" │
00:30:43 verbose #92948 > │ v183 │
00:30:43 verbose #92949 > │ #endif │
00:30:43 verbose #92950 > │ │
00:30:43 verbose #92951 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #92952 > │ let v184 : string = $"%A{v177}" │
00:30:43 verbose #92953 > │ v184 │
00:30:43 verbose #92954 > │ #endif │
00:30:43 verbose #92955 > │ │
00:30:43 verbose #92956 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #92957 > │ let v185 : string = $"%A{v177}" │
00:30:43 verbose #92958 > │ v185 │
00:30:43 verbose #92959 > │ #endif │
00:30:43 verbose #92960 > │ │
00:30:43 verbose #92961 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #92962 > │ let v186 : string = $"%A{v177}" │
00:30:43 verbose #92963 > │ v186 │
00:30:43 verbose #92964 > │ #endif │
00:30:43 verbose #92965 > │ │
00:30:43 verbose #92966 > │ #else │
00:30:43 verbose #92967 > │ let v187 : string = $"{v177.GetType ()}: {v177.Message}" │
00:30:43 verbose #92968 > │ v187 │
00:30:43 verbose #92969 > │ #endif │
00:30:43 verbose #92970 > │ |> fun x -> _v180 <- Some x │
00:30:43 verbose #92971 > │ let v188 : string = _v180.Value │
00:30:43 verbose #92972 > │ let v189 : US0 = US0_1 │
00:30:43 verbose #92973 > │ let v190 : (unit -> string) = closure34() │
00:30:43 verbose #92974 > │ let v191 : (unit -> string) = closure35(v1, v188) │
00:30:43 verbose #92975 > │ method5(v189, v190, v191) │
00:30:43 verbose #92976 > │ let v192 : string option = None │
00:30:43 verbose #92977 > │ return v192 │
00:30:43 verbose #92978 > │ (* │
00:30:43 verbose #92979 > │ () │
00:30:43 verbose #92980 > │ else │
00:30:43 verbose #92981 > │ *) else │
00:30:43 verbose #92982 > │ let v193 : int64 = v1 + 1L │
00:30:43 verbose #92983 > │ let v194 : Async<string option> = method13(v0, v193) │
00:30:43 verbose #92984 > │ return! v194 │
00:30:43 verbose #92985 > │ (* │
00:30:43 verbose #92986 > │ () │
00:30:43 verbose #92987 > │ *) │
00:30:43 verbose #92988 > │ (* │
00:30:43 verbose #92989 > │ let v195 : string option = *) │
00:30:43 verbose #92990 > │ } │
00:30:43 verbose #92991 > │ |> fun x -> _v9 <- Some x │
00:30:43 verbose #92992 > │ let v196 : Async<string option> = _v9 |> Option.get │
00:30:43 verbose #92993 > │ v196 │
00:30:43 verbose #92994 > │ #endif │
00:30:43 verbose #92995 > │ |> fun x -> _v2 <- Some x │
00:30:43 verbose #92996 > │ let v197 : Async<string option> = _v2.Value │
00:30:43 verbose #92997 > │ v197 │
00:30:43 verbose #92998 > │ and closure28 () (v0 : string) : Async<string option> = │
00:30:43 verbose #92999 > │ let v1 : Async<string option> option = None │
00:30:43 verbose #93000 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:43 verbose #93001 > │ │
00:30:43 verbose #93002 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93003 > │ │
00:30:43 verbose #93004 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93005 > │ let v3 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #93006 > │ v3 │
00:30:43 verbose #93007 > │ #endif │
00:30:43 verbose #93008 > │ │
00:30:43 verbose #93009 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93010 > │ let v4 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #93011 > │ v4 │
00:30:43 verbose #93012 > │ #endif │
00:30:43 verbose #93013 > │ │
00:30:43 verbose #93014 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93015 > │ let v5 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #93016 > │ v5 │
00:30:43 verbose #93017 > │ #endif │
00:30:43 verbose #93018 > │ │
00:30:43 verbose #93019 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93020 > │ let v6 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #93021 > │ v6 │
00:30:43 verbose #93022 > │ #endif │
00:30:43 verbose #93023 > │ │
00:30:43 verbose #93024 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93025 > │ let v7 : Async<string option> = null |> unbox<Async<string option>> │
00:30:43 verbose #93026 > │ v7 │
00:30:43 verbose #93027 > │ #endif │
00:30:43 verbose #93028 > │ │
00:30:43 verbose #93029 > │ #else │
00:30:43 verbose #93030 > │ let v8 : int64 = 0L │
00:30:43 verbose #93031 > │ let v9 : Async<string option> = method13(v0, v8) │
00:30:43 verbose #93032 > │ v9 │
00:30:43 verbose #93033 > │ #endif │
00:30:43 verbose #93034 > │ |> fun x -> _v1 <- Some x │
00:30:43 verbose #93035 > │ let v10 : Async<string option> = _v1.Value │
00:30:43 verbose #93036 > │ v10 │
00:30:43 verbose #93037 > │ and method16 (v0 : string) : string = │
00:30:43 verbose #93038 > │ v0 │
00:30:43 verbose #93039 > │ and method17 (v0 : string) : string = │
00:30:43 verbose #93040 > │ v0 │
00:30:43 verbose #93041 > │ and method15 (v0 : string, v1 : string) : string = │
00:30:43 verbose #93042 > │ let v2 : string option = None │
00:30:43 verbose #93043 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:43 verbose #93044 > │ │
00:30:43 verbose #93045 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93046 > │ │
00:30:43 verbose #93047 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93048 > │ let v4 : string = method4(v0) │
00:30:43 verbose #93049 > │ let v5 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:43 verbose #93050 > │ let v6 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v4 v5 │
00:30:43 verbose #93051 > │ let v7 : string = "String::from($0)" │
00:30:43 verbose #93052 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:30:43 verbose #93053 > │ let v9 : string = "std::path::PathBuf::from($0)" │
00:30:43 verbose #93054 > │ let v10 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:30:43 verbose #93055 > │ let v11 : string = method4(v1) │
00:30:43 verbose #93056 > │ let v12 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:43 verbose #93057 > │ let v13 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:30:43 verbose #93058 > │ let v14 : string = "String::from($0)" │
00:30:43 verbose #93059 > │ let v15 : std_string_String = Fable.Core.RustInterop.emitRustExpr v13 │
00:30:43 verbose #93060 > │ v14 │
00:30:43 verbose #93061 > │ let v16 : string = "$0.join($1)" │
00:30:43 verbose #93062 > │ let v17 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr struct │
00:30:43 verbose #93063 > │ (v10, v15) v16 │
00:30:43 verbose #93064 > │ let v18 : string = "$0.display()" │
00:30:43 verbose #93065 > │ let v19 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:30:43 verbose #93066 > │ let v20 : std_string_String option = None │
00:30:43 verbose #93067 > │ let v21 : bool = true in let mutable _v20 = v20 │
00:30:43 verbose #93068 > │ │
00:30:43 verbose #93069 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93070 > │ │
00:30:43 verbose #93071 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93072 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93073 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:30:43 verbose #93074 > │ v22 │
00:30:43 verbose #93075 > │ v23 │
00:30:43 verbose #93076 > │ #endif │
00:30:43 verbose #93077 > │ │
00:30:43 verbose #93078 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93079 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93080 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:30:43 verbose #93081 > │ v24 │
00:30:43 verbose #93082 > │ v25 │
00:30:43 verbose #93083 > │ #endif │
00:30:43 verbose #93084 > │ │
00:30:43 verbose #93085 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93086 > │ let v26 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93087 > │ let v27 : std_string_String = Fable.Core.RustInterop.emitRustExpr v19 │
00:30:43 verbose #93088 > │ v26 │
00:30:43 verbose #93089 > │ v27 │
00:30:43 verbose #93090 > │ #endif │
00:30:43 verbose #93091 > │ │
00:30:43 verbose #93092 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93093 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93094 > │ v28 │
00:30:43 verbose #93095 > │ #endif │
00:30:43 verbose #93096 > │ │
00:30:43 verbose #93097 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93098 > │ let v29 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93099 > │ v29 │
00:30:43 verbose #93100 > │ #endif │
00:30:43 verbose #93101 > │ │
00:30:43 verbose #93102 > │ #else │
00:30:43 verbose #93103 > │ let v30 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93104 > │ v30 │
00:30:43 verbose #93105 > │ #endif │
00:30:43 verbose #93106 > │ |> fun x -> _v20 <- Some x │
00:30:43 verbose #93107 > │ let v31 : std_string_String = _v20.Value │
00:30:43 verbose #93108 > │ let v32 : string = "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #93109 > │ let v33 : string = Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:30:43 verbose #93110 > │ v33 │
00:30:43 verbose #93111 > │ #endif │
00:30:43 verbose #93112 > │ │
00:30:43 verbose #93113 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93114 > │ let v34 : string = null |> unbox<string> │
00:30:43 verbose #93115 > │ v34 │
00:30:43 verbose #93116 > │ #endif │
00:30:43 verbose #93117 > │ │
00:30:43 verbose #93118 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93119 > │ let v35 : string = null |> unbox<string> │
00:30:43 verbose #93120 > │ v35 │
00:30:43 verbose #93121 > │ #endif │
00:30:43 verbose #93122 > │ │
00:30:43 verbose #93123 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93124 > │ let v36 : string = "path" │
00:30:43 verbose #93125 > │ let v37 : IPathJoin = Fable.Core.JsInterop.importAll v36 │
00:30:43 verbose #93126 > │ let v38 : string = method16(v0) │
00:30:43 verbose #93127 > │ let v39 : string = method17(v1) │
00:30:43 verbose #93128 > │ let v40 : string = "v37.join(v38, v39)" │
00:30:43 verbose #93129 > │ let v41 : string = Fable.Core.JsInterop.emitJsExpr () v40 │
00:30:43 verbose #93130 > │ v41 │
00:30:43 verbose #93131 > │ #endif │
00:30:43 verbose #93132 > │ │
00:30:43 verbose #93133 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93134 > │ let v42 : string = null |> unbox<string> │
00:30:43 verbose #93135 > │ v42 │
00:30:43 verbose #93136 > │ #endif │
00:30:43 verbose #93137 > │ │
00:30:43 verbose #93138 > │ #else │
00:30:43 verbose #93139 > │ let v43 : string = System.IO.Path.Combine (v0, v1) │
00:30:43 verbose #93140 > │ v43 │
00:30:43 verbose #93141 > │ #endif │
00:30:43 verbose #93142 > │ |> fun x -> _v2 <- Some x │
00:30:43 verbose #93143 > │ let v44 : string = _v2.Value │
00:30:43 verbose #93144 > │ v44 │
00:30:43 verbose #93145 > │ and closure37 () (v0 : chrono_DateTime<chrono_Utc>) : US8 = │
00:30:43 verbose #93146 > │ US8_0(v0) │
00:30:43 verbose #93147 > │ and method18 () : (chrono_DateTime<chrono_Utc> -> US8) = │
00:30:43 verbose #93148 > │ closure37() │
00:30:43 verbose #93149 > │ and method19 (v0 : chrono_DateTime<chrono_Utc>) : │
00:30:43 verbose #93150 > │ chrono_DateTime<chrono_Utc> = │
00:30:43 verbose #93151 > │ v0 │
00:30:43 verbose #93152 > │ and method20 (v0 : chrono_DateTime<chrono_Local>) : │
00:30:43 verbose #93153 > │ chrono_DateTime<chrono_Local> = │
00:30:43 verbose #93154 > │ v0 │
00:30:43 verbose #93155 > │ and method21 () : string = │
00:30:43 verbose #93156 > │ let v0 : string = "yyyyMMdd-HHmm-ssff-ffff-f" │
00:30:43 verbose #93157 > │ v0 │
00:30:43 verbose #93158 > │ and method22 () : string = │
00:30:43 verbose #93159 > │ let v0 : string = "hhmm" │
00:30:43 verbose #93160 > │ v0 │
00:30:43 verbose #93161 > │ and closure36 () () : string = │
00:30:43 verbose #93162 > │ let v0 : string option = None │
00:30:43 verbose #93163 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:30:43 verbose #93164 > │ │
00:30:43 verbose #93165 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93166 > │ │
00:30:43 verbose #93167 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93168 > │ let v2 : string option = None │
00:30:43 verbose #93169 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:43 verbose #93170 > │ │
00:30:43 verbose #93171 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93172 > │ │
00:30:43 verbose #93173 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93174 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:30:43 verbose #93175 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:30:43 verbose #93176 > │ v5 │
00:30:43 verbose #93177 > │ #endif │
00:30:43 verbose #93178 > │ │
00:30:43 verbose #93179 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93180 > │ let v6 : string = null |> unbox<string> │
00:30:43 verbose #93181 > │ v6 │
00:30:43 verbose #93182 > │ #endif │
00:30:43 verbose #93183 > │ │
00:30:43 verbose #93184 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93185 > │ let v7 : string = null |> unbox<string> │
00:30:43 verbose #93186 > │ v7 │
00:30:43 verbose #93187 > │ #endif │
00:30:43 verbose #93188 > │ │
00:30:43 verbose #93189 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93190 > │ let v8 : string = null |> unbox<string> │
00:30:43 verbose #93191 > │ v8 │
00:30:43 verbose #93192 > │ #endif │
00:30:43 verbose #93193 > │ │
00:30:43 verbose #93194 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93195 > │ let v9 : string = null |> unbox<string> │
00:30:43 verbose #93196 > │ v9 │
00:30:43 verbose #93197 > │ #endif │
00:30:43 verbose #93198 > │ │
00:30:43 verbose #93199 > │ #else │
00:30:43 verbose #93200 > │ let v10 : string = │
00:30:43 verbose #93201 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:30:43 verbose #93202 > │ v10 │
00:30:43 verbose #93203 > │ #endif │
00:30:43 verbose #93204 > │ |> fun x -> _v2 <- Some x │
00:30:43 verbose #93205 > │ let v11 : string = _v2.Value │
00:30:43 verbose #93206 > │ let v12 : string option = None │
00:30:43 verbose #93207 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:30:43 verbose #93208 > │ │
00:30:43 verbose #93209 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93210 > │ │
00:30:43 verbose #93211 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93212 > │ let v14 : string = "std::env::temp_dir()" │
00:30:43 verbose #93213 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:30:43 verbose #93214 > │ let v16 : string = "$0.display()" │
00:30:43 verbose #93215 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:30:43 verbose #93216 > │ let v18 : std_string_String option = None │
00:30:43 verbose #93217 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:30:43 verbose #93218 > │ │
00:30:43 verbose #93219 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93220 > │ │
00:30:43 verbose #93221 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93222 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93223 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:43 verbose #93224 > │ v20 │
00:30:43 verbose #93225 > │ v21 │
00:30:43 verbose #93226 > │ #endif │
00:30:43 verbose #93227 > │ │
00:30:43 verbose #93228 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93229 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93230 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:43 verbose #93231 > │ v22 │
00:30:43 verbose #93232 > │ v23 │
00:30:43 verbose #93233 > │ #endif │
00:30:43 verbose #93234 > │ │
00:30:43 verbose #93235 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93236 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93237 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:43 verbose #93238 > │ v24 │
00:30:43 verbose #93239 > │ v25 │
00:30:43 verbose #93240 > │ #endif │
00:30:43 verbose #93241 > │ │
00:30:43 verbose #93242 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93243 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93244 > │ v26 │
00:30:43 verbose #93245 > │ #endif │
00:30:43 verbose #93246 > │ │
00:30:43 verbose #93247 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93248 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93249 > │ v27 │
00:30:43 verbose #93250 > │ #endif │
00:30:43 verbose #93251 > │ │
00:30:43 verbose #93252 > │ #else │
00:30:43 verbose #93253 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93254 > │ v28 │
00:30:43 verbose #93255 > │ #endif │
00:30:43 verbose #93256 > │ |> fun x -> _v18 <- Some x │
00:30:43 verbose #93257 > │ let v29 : std_string_String = _v18.Value │
00:30:43 verbose #93258 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #93259 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:30:43 verbose #93260 > │ v31 │
00:30:43 verbose #93261 > │ #endif │
00:30:43 verbose #93262 > │ │
00:30:43 verbose #93263 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93264 > │ let v32 : string = null |> unbox<string> │
00:30:43 verbose #93265 > │ v32 │
00:30:43 verbose #93266 > │ #endif │
00:30:43 verbose #93267 > │ │
00:30:43 verbose #93268 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93269 > │ let v33 : string = null |> unbox<string> │
00:30:43 verbose #93270 > │ v33 │
00:30:43 verbose #93271 > │ #endif │
00:30:43 verbose #93272 > │ │
00:30:43 verbose #93273 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93274 > │ let v34 : string = null |> unbox<string> │
00:30:43 verbose #93275 > │ v34 │
00:30:43 verbose #93276 > │ #endif │
00:30:43 verbose #93277 > │ │
00:30:43 verbose #93278 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93279 > │ let v35 : string = null |> unbox<string> │
00:30:43 verbose #93280 > │ v35 │
00:30:43 verbose #93281 > │ #endif │
00:30:43 verbose #93282 > │ │
00:30:43 verbose #93283 > │ #else │
00:30:43 verbose #93284 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:30:43 verbose #93285 > │ let v37 : string = v36 () │
00:30:43 verbose #93286 > │ v37 │
00:30:43 verbose #93287 > │ #endif │
00:30:43 verbose #93288 > │ |> fun x -> _v12 <- Some x │
00:30:43 verbose #93289 > │ let v38 : string = _v12.Value │
00:30:43 verbose #93290 > │ let v39 : string = $"!{v11}" │
00:30:43 verbose #93291 > │ let v40 : string = method15(v38, v39) │
00:30:43 verbose #93292 > │ let v41 : System.DateTime = System.DateTime.Now │
00:30:43 verbose #93293 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:30:43 verbose #93294 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:30:43 verbose #93295 > │ let v44 : string = v43 v42 │
00:30:43 verbose #93296 > │ let v45 : struct (string * string) option = None │
00:30:43 verbose #93297 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:30:43 verbose #93298 > │ │
00:30:43 verbose #93299 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93300 > │ │
00:30:43 verbose #93301 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93302 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:30:43 verbose #93303 > │ System.DateTimeKind.Utc) │
00:30:43 verbose #93304 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:43 verbose #93305 > │ let v49 : System.DateTime = v48 v47 │
00:30:43 verbose #93306 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:30:43 verbose #93307 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:30:43 verbose #93308 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:43 verbose #93309 > │ let v53 : System.DateTime = v52 v51 │
00:30:43 verbose #93310 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:30:43 verbose #93311 > │ let v55 : int64 = v54 v53 │
00:30:43 verbose #93312 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:30:43 verbose #93313 > │ let v57 : int64 = v56 v49 │
00:30:43 verbose #93314 > │ let v58 : int64 = v55 - v57 │
00:30:43 verbose #93315 > │ let v59 : int64 = v58 / 10L │
00:30:43 verbose #93316 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:30:43 verbose #93317 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:30:43 verbose #93318 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:30:43 verbose #93319 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US8) = method18() │
00:30:43 verbose #93320 > │ let v63 : US8 = US8_1 │
00:30:43 verbose #93321 > │ let v64 : US8 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:30:43 verbose #93322 > │ let v83 : US9 = │
00:30:43 verbose #93323 > │ match v64 with │
00:30:43 verbose #93324 > │ | US8_1 -> (* None *) │
00:30:43 verbose #93325 > │ US9_1 │
00:30:43 verbose #93326 > │ | US8_0(v65) -> (* Some *) │
00:30:43 verbose #93327 > │ let v66 : chrono_DateTime<chrono_Utc> = method19(v65) │
00:30:43 verbose #93328 > │ let v67 : string = "v66.naive_utc()" │
00:30:43 verbose #93329 > │ let v68 : chrono_NaiveDateTime = │
00:30:43 verbose #93330 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:30:43 verbose #93331 > │ let v69 : string = │
00:30:43 verbose #93332 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:30:43 verbose #93333 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:30:43 verbose #93334 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:30:43 verbose #93335 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:30:43 verbose #93336 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:30:43 verbose #93337 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:30:43 verbose #93338 > │ let v74 : chrono_DateTime<chrono_Local> = method20(v70) │
00:30:43 verbose #93339 > │ let v75 : string = "v74.format(v73).to_string()" │
00:30:43 verbose #93340 > │ let v76 : std_string_String = │
00:30:43 verbose #93341 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:30:43 verbose #93342 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #93343 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:30:43 verbose #93344 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:30:43 verbose #93345 > │ US9_0(v79) │
00:30:43 verbose #93346 > │ let v87 : string = │
00:30:43 verbose #93347 > │ match v83 with │
00:30:43 verbose #93348 > │ | US9_1 -> (* None *) │
00:30:43 verbose #93349 > │ let v85 : string = "" │
00:30:43 verbose #93350 > │ v85 │
00:30:43 verbose #93351 > │ | US9_0(v84) -> (* Some *) │
00:30:43 verbose #93352 > │ v84 │
00:30:43 verbose #93353 > │ let v88 : System.TimeZoneInfo option = None │
00:30:43 verbose #93354 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:30:43 verbose #93355 > │ │
00:30:43 verbose #93356 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93357 > │ │
00:30:43 verbose #93358 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93359 > │ let v90 : string = "0i64.into()" │
00:30:43 verbose #93360 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93361 > │ v90 │
00:30:43 verbose #93362 > │ v91 │
00:30:43 verbose #93363 > │ #endif │
00:30:43 verbose #93364 > │ │
00:30:43 verbose #93365 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93366 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93367 > │ v92 │
00:30:43 verbose #93368 > │ #endif │
00:30:43 verbose #93369 > │ │
00:30:43 verbose #93370 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93371 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93372 > │ v93 │
00:30:43 verbose #93373 > │ #endif │
00:30:43 verbose #93374 > │ │
00:30:43 verbose #93375 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93376 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93377 > │ v94 │
00:30:43 verbose #93378 > │ #endif │
00:30:43 verbose #93379 > │ │
00:30:43 verbose #93380 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93381 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93382 > │ v95 │
00:30:43 verbose #93383 > │ #endif │
00:30:43 verbose #93384 > │ │
00:30:43 verbose #93385 > │ #else │
00:30:43 verbose #93386 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #93387 > │ v96 │
00:30:43 verbose #93388 > │ #endif │
00:30:43 verbose #93389 > │ |> fun x -> _v88 <- Some x │
00:30:43 verbose #93390 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:30:43 verbose #93391 > │ let v98 : System.TimeSpan option = None │
00:30:43 verbose #93392 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:30:43 verbose #93393 > │ │
00:30:43 verbose #93394 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93395 > │ │
00:30:43 verbose #93396 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93397 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93398 > │ v100 │
00:30:43 verbose #93399 > │ #endif │
00:30:43 verbose #93400 > │ │
00:30:43 verbose #93401 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93402 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93403 > │ v101 │
00:30:43 verbose #93404 > │ #endif │
00:30:43 verbose #93405 > │ │
00:30:43 verbose #93406 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93407 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93408 > │ v102 │
00:30:43 verbose #93409 > │ #endif │
00:30:43 verbose #93410 > │ │
00:30:43 verbose #93411 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93412 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93413 > │ v103 │
00:30:43 verbose #93414 > │ #endif │
00:30:43 verbose #93415 > │ │
00:30:43 verbose #93416 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93417 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93418 > │ v104 │
00:30:43 verbose #93419 > │ #endif │
00:30:43 verbose #93420 > │ │
00:30:43 verbose #93421 > │ #else │
00:30:43 verbose #93422 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:43 verbose #93423 > │ = _.GetUtcOffset │
00:30:43 verbose #93424 > │ let v106 : System.TimeZoneInfo option = None │
00:30:43 verbose #93425 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:30:43 verbose #93426 > │ │
00:30:43 verbose #93427 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93428 > │ │
00:30:43 verbose #93429 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93430 > │ let v108 : string = "0i64.into()" │
00:30:43 verbose #93431 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93432 > │ v108 │
00:30:43 verbose #93433 > │ v109 │
00:30:43 verbose #93434 > │ #endif │
00:30:43 verbose #93435 > │ │
00:30:43 verbose #93436 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93437 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93438 > │ v110 │
00:30:43 verbose #93439 > │ #endif │
00:30:43 verbose #93440 > │ │
00:30:43 verbose #93441 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93442 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93443 > │ v111 │
00:30:43 verbose #93444 > │ #endif │
00:30:43 verbose #93445 > │ │
00:30:43 verbose #93446 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93447 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93448 > │ v112 │
00:30:43 verbose #93449 > │ #endif │
00:30:43 verbose #93450 > │ │
00:30:43 verbose #93451 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93452 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93453 > │ v113 │
00:30:43 verbose #93454 > │ #endif │
00:30:43 verbose #93455 > │ │
00:30:43 verbose #93456 > │ #else │
00:30:43 verbose #93457 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #93458 > │ v114 │
00:30:43 verbose #93459 > │ #endif │
00:30:43 verbose #93460 > │ |> fun x -> _v106 <- Some x │
00:30:43 verbose #93461 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:30:43 verbose #93462 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:30:43 verbose #93463 > │ let v117 : System.TimeSpan = v116 v53 │
00:30:43 verbose #93464 > │ v117 │
00:30:43 verbose #93465 > │ #endif │
00:30:43 verbose #93466 > │ |> fun x -> _v98 <- Some x │
00:30:43 verbose #93467 > │ let v118 : System.TimeSpan = _v98.Value │
00:30:43 verbose #93468 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:30:43 verbose #93469 > │ let v120 : int32 = v119 v118 │
00:30:43 verbose #93470 > │ let v121 : bool = v120 > 0 │
00:30:43 verbose #93471 > │ let v122 : uint8 = │
00:30:43 verbose #93472 > │ if v121 then │
00:30:43 verbose #93473 > │ 1uy │
00:30:43 verbose #93474 > │ else │
00:30:43 verbose #93475 > │ 0uy │
00:30:43 verbose #93476 > │ let v123 : (string -> string) = v118.ToString │
00:30:43 verbose #93477 > │ let v124 : string = "hh:mm" │
00:30:43 verbose #93478 > │ let v125 : string = v123 v124 │
00:30:43 verbose #93479 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:30:43 verbose #93480 > │ struct (v87, v126) │
00:30:43 verbose #93481 > │ #endif │
00:30:43 verbose #93482 > │ │
00:30:43 verbose #93483 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93484 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:30:43 verbose #93485 > │ * string)> │
00:30:43 verbose #93486 > │ struct (v127, v128) │
00:30:43 verbose #93487 > │ #endif │
00:30:43 verbose #93488 > │ │
00:30:43 verbose #93489 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93490 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:30:43 verbose #93491 > │ * string)> │
00:30:43 verbose #93492 > │ struct (v129, v130) │
00:30:43 verbose #93493 > │ #endif │
00:30:43 verbose #93494 > │ │
00:30:43 verbose #93495 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93496 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:30:43 verbose #93497 > │ * string)> │
00:30:43 verbose #93498 > │ struct (v131, v132) │
00:30:43 verbose #93499 > │ #endif │
00:30:43 verbose #93500 > │ │
00:30:43 verbose #93501 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93502 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:30:43 verbose #93503 > │ * string)> │
00:30:43 verbose #93504 > │ struct (v133, v134) │
00:30:43 verbose #93505 > │ #endif │
00:30:43 verbose #93506 > │ │
00:30:43 verbose #93507 > │ #else │
00:30:43 verbose #93508 > │ let v135 : string = method21() │
00:30:43 verbose #93509 > │ let v136 : (string -> string) = v41.ToString │
00:30:43 verbose #93510 > │ let v137 : string = v136 v135 │
00:30:43 verbose #93511 > │ let v138 : System.TimeZoneInfo option = None │
00:30:43 verbose #93512 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:30:43 verbose #93513 > │ │
00:30:43 verbose #93514 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93515 > │ │
00:30:43 verbose #93516 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93517 > │ let v140 : string = "0i64.into()" │
00:30:43 verbose #93518 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93519 > │ v140 │
00:30:43 verbose #93520 > │ v141 │
00:30:43 verbose #93521 > │ #endif │
00:30:43 verbose #93522 > │ │
00:30:43 verbose #93523 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93524 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93525 > │ v142 │
00:30:43 verbose #93526 > │ #endif │
00:30:43 verbose #93527 > │ │
00:30:43 verbose #93528 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93529 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93530 > │ v143 │
00:30:43 verbose #93531 > │ #endif │
00:30:43 verbose #93532 > │ │
00:30:43 verbose #93533 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93534 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93535 > │ v144 │
00:30:43 verbose #93536 > │ #endif │
00:30:43 verbose #93537 > │ │
00:30:43 verbose #93538 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93539 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93540 > │ v145 │
00:30:43 verbose #93541 > │ #endif │
00:30:43 verbose #93542 > │ │
00:30:43 verbose #93543 > │ #else │
00:30:43 verbose #93544 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #93545 > │ v146 │
00:30:43 verbose #93546 > │ #endif │
00:30:43 verbose #93547 > │ |> fun x -> _v138 <- Some x │
00:30:43 verbose #93548 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:30:43 verbose #93549 > │ let v148 : System.TimeSpan option = None │
00:30:43 verbose #93550 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:30:43 verbose #93551 > │ │
00:30:43 verbose #93552 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93553 > │ │
00:30:43 verbose #93554 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93555 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93556 > │ v150 │
00:30:43 verbose #93557 > │ #endif │
00:30:43 verbose #93558 > │ │
00:30:43 verbose #93559 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93560 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93561 > │ v151 │
00:30:43 verbose #93562 > │ #endif │
00:30:43 verbose #93563 > │ │
00:30:43 verbose #93564 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93565 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93566 > │ v152 │
00:30:43 verbose #93567 > │ #endif │
00:30:43 verbose #93568 > │ │
00:30:43 verbose #93569 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93570 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93571 > │ v153 │
00:30:43 verbose #93572 > │ #endif │
00:30:43 verbose #93573 > │ │
00:30:43 verbose #93574 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93575 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93576 > │ v154 │
00:30:43 verbose #93577 > │ #endif │
00:30:43 verbose #93578 > │ │
00:30:43 verbose #93579 > │ #else │
00:30:43 verbose #93580 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:43 verbose #93581 > │ = _.GetUtcOffset │
00:30:43 verbose #93582 > │ let v156 : System.TimeZoneInfo option = None │
00:30:43 verbose #93583 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:30:43 verbose #93584 > │ │
00:30:43 verbose #93585 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93586 > │ │
00:30:43 verbose #93587 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93588 > │ let v158 : string = "0i64.into()" │
00:30:43 verbose #93589 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93590 > │ v158 │
00:30:43 verbose #93591 > │ v159 │
00:30:43 verbose #93592 > │ #endif │
00:30:43 verbose #93593 > │ │
00:30:43 verbose #93594 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93595 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93596 > │ v160 │
00:30:43 verbose #93597 > │ #endif │
00:30:43 verbose #93598 > │ │
00:30:43 verbose #93599 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93600 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93601 > │ v161 │
00:30:43 verbose #93602 > │ #endif │
00:30:43 verbose #93603 > │ │
00:30:43 verbose #93604 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93605 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93606 > │ v162 │
00:30:43 verbose #93607 > │ #endif │
00:30:43 verbose #93608 > │ │
00:30:43 verbose #93609 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93610 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93611 > │ v163 │
00:30:43 verbose #93612 > │ #endif │
00:30:43 verbose #93613 > │ │
00:30:43 verbose #93614 > │ #else │
00:30:43 verbose #93615 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #93616 > │ v164 │
00:30:43 verbose #93617 > │ #endif │
00:30:43 verbose #93618 > │ |> fun x -> _v156 <- Some x │
00:30:43 verbose #93619 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:30:43 verbose #93620 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:30:43 verbose #93621 > │ let v167 : System.TimeSpan = v166 v41 │
00:30:43 verbose #93622 > │ v167 │
00:30:43 verbose #93623 > │ #endif │
00:30:43 verbose #93624 > │ |> fun x -> _v148 <- Some x │
00:30:43 verbose #93625 > │ let v168 : System.TimeSpan = _v148.Value │
00:30:43 verbose #93626 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:30:43 verbose #93627 > │ let v170 : int32 = v169 v168 │
00:30:43 verbose #93628 > │ let v171 : bool = v170 > 0 │
00:30:43 verbose #93629 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:30:43 verbose #93630 > │ let v173 : int32 = v172 v171 │
00:30:43 verbose #93631 > │ let v174 : string = method22() │
00:30:43 verbose #93632 > │ let v175 : (string -> string) = v168.ToString │
00:30:43 verbose #93633 > │ let v176 : string = v175 v174 │
00:30:43 verbose #93634 > │ let v177 : string = $"{v173}{v176}" │
00:30:43 verbose #93635 > │ struct (v137, v177) │
00:30:43 verbose #93636 > │ #endif │
00:30:43 verbose #93637 > │ |> fun x -> _v45 <- Some x │
00:30:43 verbose #93638 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:30:43 verbose #93639 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:30:43 verbose #93640 > │ v179.Length..]}" │
00:30:43 verbose #93641 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:30:43 verbose #93642 > │ let v182 : string = v181 v180 │
00:30:43 verbose #93643 > │ let v183 : string = method15(v40, v182) │
00:30:43 verbose #93644 > │ v183 │
00:30:43 verbose #93645 > │ #endif │
00:30:43 verbose #93646 > │ │
00:30:43 verbose #93647 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93648 > │ let v184 : string = null |> unbox<string> │
00:30:43 verbose #93649 > │ v184 │
00:30:43 verbose #93650 > │ #endif │
00:30:43 verbose #93651 > │ │
00:30:43 verbose #93652 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93653 > │ let v185 : string = null |> unbox<string> │
00:30:43 verbose #93654 > │ v185 │
00:30:43 verbose #93655 > │ #endif │
00:30:43 verbose #93656 > │ │
00:30:43 verbose #93657 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93658 > │ let v186 : string = null |> unbox<string> │
00:30:43 verbose #93659 > │ v186 │
00:30:43 verbose #93660 > │ #endif │
00:30:43 verbose #93661 > │ │
00:30:43 verbose #93662 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93663 > │ let v187 : string = null |> unbox<string> │
00:30:43 verbose #93664 > │ v187 │
00:30:43 verbose #93665 > │ #endif │
00:30:43 verbose #93666 > │ │
00:30:43 verbose #93667 > │ #else │
00:30:43 verbose #93668 > │ let v188 : string option = None │
00:30:43 verbose #93669 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:30:43 verbose #93670 > │ │
00:30:43 verbose #93671 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93672 > │ │
00:30:43 verbose #93673 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93674 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:30:43 verbose #93675 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:30:43 verbose #93676 > │ v191 │
00:30:43 verbose #93677 > │ #endif │
00:30:43 verbose #93678 > │ │
00:30:43 verbose #93679 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93680 > │ let v192 : string = null |> unbox<string> │
00:30:43 verbose #93681 > │ v192 │
00:30:43 verbose #93682 > │ #endif │
00:30:43 verbose #93683 > │ │
00:30:43 verbose #93684 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93685 > │ let v193 : string = null |> unbox<string> │
00:30:43 verbose #93686 > │ v193 │
00:30:43 verbose #93687 > │ #endif │
00:30:43 verbose #93688 > │ │
00:30:43 verbose #93689 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93690 > │ let v194 : string = null |> unbox<string> │
00:30:43 verbose #93691 > │ v194 │
00:30:43 verbose #93692 > │ #endif │
00:30:43 verbose #93693 > │ │
00:30:43 verbose #93694 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93695 > │ let v195 : string = null |> unbox<string> │
00:30:43 verbose #93696 > │ v195 │
00:30:43 verbose #93697 > │ #endif │
00:30:43 verbose #93698 > │ │
00:30:43 verbose #93699 > │ #else │
00:30:43 verbose #93700 > │ let v196 : string = │
00:30:43 verbose #93701 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:30:43 verbose #93702 > │ v196 │
00:30:43 verbose #93703 > │ #endif │
00:30:43 verbose #93704 > │ |> fun x -> _v188 <- Some x │
00:30:43 verbose #93705 > │ let v197 : string = _v188.Value │
00:30:43 verbose #93706 > │ let v198 : string option = None │
00:30:43 verbose #93707 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:30:43 verbose #93708 > │ │
00:30:43 verbose #93709 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93710 > │ │
00:30:43 verbose #93711 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93712 > │ let v200 : string = "std::env::temp_dir()" │
00:30:43 verbose #93713 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93714 > │ v200 │
00:30:43 verbose #93715 > │ let v202 : string = "$0.display()" │
00:30:43 verbose #93716 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:30:43 verbose #93717 > │ v202 │
00:30:43 verbose #93718 > │ let v204 : std_string_String option = None │
00:30:43 verbose #93719 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:30:43 verbose #93720 > │ │
00:30:43 verbose #93721 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93722 > │ │
00:30:43 verbose #93723 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93724 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93725 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:30:43 verbose #93726 > │ v206 │
00:30:43 verbose #93727 > │ v207 │
00:30:43 verbose #93728 > │ #endif │
00:30:43 verbose #93729 > │ │
00:30:43 verbose #93730 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93731 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93732 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:30:43 verbose #93733 > │ v208 │
00:30:43 verbose #93734 > │ v209 │
00:30:43 verbose #93735 > │ #endif │
00:30:43 verbose #93736 > │ │
00:30:43 verbose #93737 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93738 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #93739 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:30:43 verbose #93740 > │ v210 │
00:30:43 verbose #93741 > │ v211 │
00:30:43 verbose #93742 > │ #endif │
00:30:43 verbose #93743 > │ │
00:30:43 verbose #93744 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93745 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93746 > │ v212 │
00:30:43 verbose #93747 > │ #endif │
00:30:43 verbose #93748 > │ │
00:30:43 verbose #93749 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93750 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93751 > │ v213 │
00:30:43 verbose #93752 > │ #endif │
00:30:43 verbose #93753 > │ │
00:30:43 verbose #93754 > │ #else │
00:30:43 verbose #93755 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #93756 > │ v214 │
00:30:43 verbose #93757 > │ #endif │
00:30:43 verbose #93758 > │ |> fun x -> _v204 <- Some x │
00:30:43 verbose #93759 > │ let v215 : std_string_String = _v204.Value │
00:30:43 verbose #93760 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #93761 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:30:43 verbose #93762 > │ v217 │
00:30:43 verbose #93763 > │ #endif │
00:30:43 verbose #93764 > │ │
00:30:43 verbose #93765 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93766 > │ let v218 : string = null |> unbox<string> │
00:30:43 verbose #93767 > │ v218 │
00:30:43 verbose #93768 > │ #endif │
00:30:43 verbose #93769 > │ │
00:30:43 verbose #93770 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93771 > │ let v219 : string = null |> unbox<string> │
00:30:43 verbose #93772 > │ v219 │
00:30:43 verbose #93773 > │ #endif │
00:30:43 verbose #93774 > │ │
00:30:43 verbose #93775 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93776 > │ let v220 : string = null |> unbox<string> │
00:30:43 verbose #93777 > │ v220 │
00:30:43 verbose #93778 > │ #endif │
00:30:43 verbose #93779 > │ │
00:30:43 verbose #93780 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93781 > │ let v221 : string = null |> unbox<string> │
00:30:43 verbose #93782 > │ v221 │
00:30:43 verbose #93783 > │ #endif │
00:30:43 verbose #93784 > │ │
00:30:43 verbose #93785 > │ #else │
00:30:43 verbose #93786 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:30:43 verbose #93787 > │ let v223 : string = v222 () │
00:30:43 verbose #93788 > │ v223 │
00:30:43 verbose #93789 > │ #endif │
00:30:43 verbose #93790 > │ |> fun x -> _v198 <- Some x │
00:30:43 verbose #93791 > │ let v224 : string = _v198.Value │
00:30:43 verbose #93792 > │ let v225 : string = $"!{v197}" │
00:30:43 verbose #93793 > │ let v226 : string = method15(v224, v225) │
00:30:43 verbose #93794 > │ let v227 : System.DateTime = System.DateTime.Now │
00:30:43 verbose #93795 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:30:43 verbose #93796 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:30:43 verbose #93797 > │ let v230 : string = v229 v228 │
00:30:43 verbose #93798 > │ let v231 : struct (string * string) option = None │
00:30:43 verbose #93799 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:30:43 verbose #93800 > │ │
00:30:43 verbose #93801 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93802 > │ │
00:30:43 verbose #93803 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93804 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:30:43 verbose #93805 > │ System.DateTimeKind.Utc) │
00:30:43 verbose #93806 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:43 verbose #93807 > │ let v235 : System.DateTime = v234 v233 │
00:30:43 verbose #93808 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:30:43 verbose #93809 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:30:43 verbose #93810 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:43 verbose #93811 > │ let v239 : System.DateTime = v238 v237 │
00:30:43 verbose #93812 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:30:43 verbose #93813 > │ let v241 : int64 = v240 v239 │
00:30:43 verbose #93814 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:30:43 verbose #93815 > │ let v243 : int64 = v242 v235 │
00:30:43 verbose #93816 > │ let v244 : int64 = v241 - v243 │
00:30:43 verbose #93817 > │ let v245 : int64 = v244 / 10L │
00:30:43 verbose #93818 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:30:43 verbose #93819 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:30:43 verbose #93820 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:30:43 verbose #93821 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US8) = method18() │
00:30:43 verbose #93822 > │ let v249 : US8 = US8_1 │
00:30:43 verbose #93823 > │ let v250 : US8 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:30:43 verbose #93824 > │ let v269 : US9 = │
00:30:43 verbose #93825 > │ match v250 with │
00:30:43 verbose #93826 > │ | US8_1 -> (* None *) │
00:30:43 verbose #93827 > │ US9_1 │
00:30:43 verbose #93828 > │ | US8_0(v251) -> (* Some *) │
00:30:43 verbose #93829 > │ let v252 : chrono_DateTime<chrono_Utc> = method19(v251) │
00:30:43 verbose #93830 > │ let v253 : string = "v252.naive_utc()" │
00:30:43 verbose #93831 > │ let v254 : chrono_NaiveDateTime = │
00:30:43 verbose #93832 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:30:43 verbose #93833 > │ let v255 : string = │
00:30:43 verbose #93834 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:30:43 verbose #93835 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:30:43 verbose #93836 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:30:43 verbose #93837 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:30:43 verbose #93838 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:30:43 verbose #93839 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93840 > │ v258 │
00:30:43 verbose #93841 > │ let v260 : chrono_DateTime<chrono_Local> = method20(v256) │
00:30:43 verbose #93842 > │ let v261 : string = "v260.format(v259).to_string()" │
00:30:43 verbose #93843 > │ let v262 : std_string_String = │
00:30:43 verbose #93844 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:30:43 verbose #93845 > │ let v263 : string = │
00:30:43 verbose #93846 > │ "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #93847 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:30:43 verbose #93848 > │ v263 │
00:30:43 verbose #93849 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:30:43 verbose #93850 > │ 22]}" │
00:30:43 verbose #93851 > │ US9_0(v265) │
00:30:43 verbose #93852 > │ let v273 : string = │
00:30:43 verbose #93853 > │ match v269 with │
00:30:43 verbose #93854 > │ | US9_1 -> (* None *) │
00:30:43 verbose #93855 > │ let v271 : string = "" │
00:30:43 verbose #93856 > │ v271 │
00:30:43 verbose #93857 > │ | US9_0(v270) -> (* Some *) │
00:30:43 verbose #93858 > │ v270 │
00:30:43 verbose #93859 > │ let v274 : System.TimeZoneInfo option = None │
00:30:43 verbose #93860 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:30:43 verbose #93861 > │ │
00:30:43 verbose #93862 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93863 > │ │
00:30:43 verbose #93864 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93865 > │ let v276 : string = "0i64.into()" │
00:30:43 verbose #93866 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93867 > │ v276 │
00:30:43 verbose #93868 > │ v277 │
00:30:43 verbose #93869 > │ #endif │
00:30:43 verbose #93870 > │ │
00:30:43 verbose #93871 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93872 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93873 > │ v278 │
00:30:43 verbose #93874 > │ #endif │
00:30:43 verbose #93875 > │ │
00:30:43 verbose #93876 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93877 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93878 > │ v279 │
00:30:43 verbose #93879 > │ #endif │
00:30:43 verbose #93880 > │ │
00:30:43 verbose #93881 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93882 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93883 > │ v280 │
00:30:43 verbose #93884 > │ #endif │
00:30:43 verbose #93885 > │ │
00:30:43 verbose #93886 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93887 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93888 > │ v281 │
00:30:43 verbose #93889 > │ #endif │
00:30:43 verbose #93890 > │ │
00:30:43 verbose #93891 > │ #else │
00:30:43 verbose #93892 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #93893 > │ v282 │
00:30:43 verbose #93894 > │ #endif │
00:30:43 verbose #93895 > │ |> fun x -> _v274 <- Some x │
00:30:43 verbose #93896 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:30:43 verbose #93897 > │ let v284 : System.TimeSpan option = None │
00:30:43 verbose #93898 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:30:43 verbose #93899 > │ │
00:30:43 verbose #93900 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93901 > │ │
00:30:43 verbose #93902 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93903 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93904 > │ v286 │
00:30:43 verbose #93905 > │ #endif │
00:30:43 verbose #93906 > │ │
00:30:43 verbose #93907 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93908 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93909 > │ v287 │
00:30:43 verbose #93910 > │ #endif │
00:30:43 verbose #93911 > │ │
00:30:43 verbose #93912 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93913 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93914 > │ v288 │
00:30:43 verbose #93915 > │ #endif │
00:30:43 verbose #93916 > │ │
00:30:43 verbose #93917 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93918 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93919 > │ v289 │
00:30:43 verbose #93920 > │ #endif │
00:30:43 verbose #93921 > │ │
00:30:43 verbose #93922 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93923 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #93924 > │ v290 │
00:30:43 verbose #93925 > │ #endif │
00:30:43 verbose #93926 > │ │
00:30:43 verbose #93927 > │ #else │
00:30:43 verbose #93928 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:43 verbose #93929 > │ = _.GetUtcOffset │
00:30:43 verbose #93930 > │ let v292 : System.TimeZoneInfo option = None │
00:30:43 verbose #93931 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:30:43 verbose #93932 > │ │
00:30:43 verbose #93933 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #93934 > │ │
00:30:43 verbose #93935 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #93936 > │ let v294 : string = "0i64.into()" │
00:30:43 verbose #93937 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #93938 > │ v294 │
00:30:43 verbose #93939 > │ v295 │
00:30:43 verbose #93940 > │ #endif │
00:30:43 verbose #93941 > │ │
00:30:43 verbose #93942 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93943 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93944 > │ v296 │
00:30:43 verbose #93945 > │ #endif │
00:30:43 verbose #93946 > │ │
00:30:43 verbose #93947 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93948 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93949 > │ v297 │
00:30:43 verbose #93950 > │ #endif │
00:30:43 verbose #93951 > │ │
00:30:43 verbose #93952 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #93953 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93954 > │ v298 │
00:30:43 verbose #93955 > │ #endif │
00:30:43 verbose #93956 > │ │
00:30:43 verbose #93957 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #93958 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #93959 > │ v299 │
00:30:43 verbose #93960 > │ #endif │
00:30:43 verbose #93961 > │ │
00:30:43 verbose #93962 > │ #else │
00:30:43 verbose #93963 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #93964 > │ v300 │
00:30:43 verbose #93965 > │ #endif │
00:30:43 verbose #93966 > │ |> fun x -> _v292 <- Some x │
00:30:43 verbose #93967 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:30:43 verbose #93968 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:30:43 verbose #93969 > │ let v303 : System.TimeSpan = v302 v239 │
00:30:43 verbose #93970 > │ v303 │
00:30:43 verbose #93971 > │ #endif │
00:30:43 verbose #93972 > │ |> fun x -> _v284 <- Some x │
00:30:43 verbose #93973 > │ let v304 : System.TimeSpan = _v284.Value │
00:30:43 verbose #93974 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:30:43 verbose #93975 > │ let v306 : int32 = v305 v304 │
00:30:43 verbose #93976 > │ let v307 : bool = v306 > 0 │
00:30:43 verbose #93977 > │ let v308 : uint8 = │
00:30:43 verbose #93978 > │ if v307 then │
00:30:43 verbose #93979 > │ 1uy │
00:30:43 verbose #93980 > │ else │
00:30:43 verbose #93981 > │ 0uy │
00:30:43 verbose #93982 > │ let v309 : (string -> string) = v304.ToString │
00:30:43 verbose #93983 > │ let v310 : string = v309 v124 │
00:30:43 verbose #93984 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:30:43 verbose #93985 > │ struct (v273, v311) │
00:30:43 verbose #93986 > │ #endif │
00:30:43 verbose #93987 > │ │
00:30:43 verbose #93988 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #93989 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:30:43 verbose #93990 > │ * string)> │
00:30:43 verbose #93991 > │ struct (v312, v313) │
00:30:43 verbose #93992 > │ #endif │
00:30:43 verbose #93993 > │ │
00:30:43 verbose #93994 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #93995 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:30:43 verbose #93996 > │ * string)> │
00:30:43 verbose #93997 > │ struct (v314, v315) │
00:30:43 verbose #93998 > │ #endif │
00:30:43 verbose #93999 > │ │
00:30:43 verbose #94000 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94001 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:30:43 verbose #94002 > │ * string)> │
00:30:43 verbose #94003 > │ struct (v316, v317) │
00:30:43 verbose #94004 > │ #endif │
00:30:43 verbose #94005 > │ │
00:30:43 verbose #94006 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94007 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:30:43 verbose #94008 > │ * string)> │
00:30:43 verbose #94009 > │ struct (v318, v319) │
00:30:43 verbose #94010 > │ #endif │
00:30:43 verbose #94011 > │ │
00:30:43 verbose #94012 > │ #else │
00:30:43 verbose #94013 > │ let v320 : string = method21() │
00:30:43 verbose #94014 > │ let v321 : (string -> string) = v227.ToString │
00:30:43 verbose #94015 > │ let v322 : string = v321 v320 │
00:30:43 verbose #94016 > │ let v323 : System.TimeZoneInfo option = None │
00:30:43 verbose #94017 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:30:43 verbose #94018 > │ │
00:30:43 verbose #94019 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94020 > │ │
00:30:43 verbose #94021 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94022 > │ let v325 : string = "0i64.into()" │
00:30:43 verbose #94023 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #94024 > │ v325 │
00:30:43 verbose #94025 > │ v326 │
00:30:43 verbose #94026 > │ #endif │
00:30:43 verbose #94027 > │ │
00:30:43 verbose #94028 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94029 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94030 > │ v327 │
00:30:43 verbose #94031 > │ #endif │
00:30:43 verbose #94032 > │ │
00:30:43 verbose #94033 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94034 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94035 > │ v328 │
00:30:43 verbose #94036 > │ #endif │
00:30:43 verbose #94037 > │ │
00:30:43 verbose #94038 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94039 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94040 > │ v329 │
00:30:43 verbose #94041 > │ #endif │
00:30:43 verbose #94042 > │ │
00:30:43 verbose #94043 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94044 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94045 > │ v330 │
00:30:43 verbose #94046 > │ #endif │
00:30:43 verbose #94047 > │ │
00:30:43 verbose #94048 > │ #else │
00:30:43 verbose #94049 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #94050 > │ v331 │
00:30:43 verbose #94051 > │ #endif │
00:30:43 verbose #94052 > │ |> fun x -> _v323 <- Some x │
00:30:43 verbose #94053 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:30:43 verbose #94054 > │ let v333 : System.TimeSpan option = None │
00:30:43 verbose #94055 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:30:43 verbose #94056 > │ │
00:30:43 verbose #94057 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94058 > │ │
00:30:43 verbose #94059 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94060 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #94061 > │ v335 │
00:30:43 verbose #94062 > │ #endif │
00:30:43 verbose #94063 > │ │
00:30:43 verbose #94064 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94065 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #94066 > │ v336 │
00:30:43 verbose #94067 > │ #endif │
00:30:43 verbose #94068 > │ │
00:30:43 verbose #94069 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94070 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #94071 > │ v337 │
00:30:43 verbose #94072 > │ #endif │
00:30:43 verbose #94073 > │ │
00:30:43 verbose #94074 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94075 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #94076 > │ v338 │
00:30:43 verbose #94077 > │ #endif │
00:30:43 verbose #94078 > │ │
00:30:43 verbose #94079 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94080 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:30:43 verbose #94081 > │ v339 │
00:30:43 verbose #94082 > │ #endif │
00:30:43 verbose #94083 > │ │
00:30:43 verbose #94084 > │ #else │
00:30:43 verbose #94085 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:43 verbose #94086 > │ = _.GetUtcOffset │
00:30:43 verbose #94087 > │ let v341 : System.TimeZoneInfo option = None │
00:30:43 verbose #94088 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:30:43 verbose #94089 > │ │
00:30:43 verbose #94090 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94091 > │ │
00:30:43 verbose #94092 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94093 > │ let v343 : string = "0i64.into()" │
00:30:43 verbose #94094 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #94095 > │ v343 │
00:30:43 verbose #94096 > │ v344 │
00:30:43 verbose #94097 > │ #endif │
00:30:43 verbose #94098 > │ │
00:30:43 verbose #94099 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94100 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94101 > │ v345 │
00:30:43 verbose #94102 > │ #endif │
00:30:43 verbose #94103 > │ │
00:30:43 verbose #94104 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94105 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94106 > │ v346 │
00:30:43 verbose #94107 > │ #endif │
00:30:43 verbose #94108 > │ │
00:30:43 verbose #94109 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94110 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94111 > │ v347 │
00:30:43 verbose #94112 > │ #endif │
00:30:43 verbose #94113 > │ │
00:30:43 verbose #94114 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94115 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94116 > │ v348 │
00:30:43 verbose #94117 > │ #endif │
00:30:43 verbose #94118 > │ │
00:30:43 verbose #94119 > │ #else │
00:30:43 verbose #94120 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:43 verbose #94121 > │ v349 │
00:30:43 verbose #94122 > │ #endif │
00:30:43 verbose #94123 > │ |> fun x -> _v341 <- Some x │
00:30:43 verbose #94124 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:30:43 verbose #94125 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:30:43 verbose #94126 > │ let v352 : System.TimeSpan = v351 v227 │
00:30:43 verbose #94127 > │ v352 │
00:30:43 verbose #94128 > │ #endif │
00:30:43 verbose #94129 > │ |> fun x -> _v333 <- Some x │
00:30:43 verbose #94130 > │ let v353 : System.TimeSpan = _v333.Value │
00:30:43 verbose #94131 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:30:43 verbose #94132 > │ let v355 : int32 = v354 v353 │
00:30:43 verbose #94133 > │ let v356 : bool = v355 > 0 │
00:30:43 verbose #94134 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:30:43 verbose #94135 > │ let v358 : int32 = v357 v356 │
00:30:43 verbose #94136 > │ let v359 : string = method22() │
00:30:43 verbose #94137 > │ let v360 : (string -> string) = v353.ToString │
00:30:43 verbose #94138 > │ let v361 : string = v360 v359 │
00:30:43 verbose #94139 > │ let v362 : string = $"{v358}{v361}" │
00:30:43 verbose #94140 > │ struct (v322, v362) │
00:30:43 verbose #94141 > │ #endif │
00:30:43 verbose #94142 > │ |> fun x -> _v231 <- Some x │
00:30:43 verbose #94143 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:30:43 verbose #94144 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:30:43 verbose #94145 > │ v364.Length..]}" │
00:30:43 verbose #94146 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:30:43 verbose #94147 > │ let v367 : string = v366 v365 │
00:30:43 verbose #94148 > │ let v368 : string = method15(v226, v367) │
00:30:43 verbose #94149 > │ v368 │
00:30:43 verbose #94150 > │ #endif │
00:30:43 verbose #94151 > │ |> fun x -> _v0 <- Some x │
00:30:43 verbose #94152 > │ let v369 : string = _v0.Value │
00:30:43 verbose #94153 > │ v369 │
00:30:43 verbose #94154 > │ and method23 (v0 : string) : string = │
00:30:43 verbose #94155 > │ v0 │
00:30:43 verbose #94156 > │ and closure39 () (v0 : std_io_Error) : std_string_String = │
00:30:43 verbose #94157 > │ let v1 : std_string_String option = None │
00:30:43 verbose #94158 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:43 verbose #94159 > │ │
00:30:43 verbose #94160 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94161 > │ │
00:30:43 verbose #94162 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94163 > │ let v3 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #94164 > │ let v4 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v3 │
00:30:43 verbose #94165 > │ v4 │
00:30:43 verbose #94166 > │ #endif │
00:30:43 verbose #94167 > │ │
00:30:43 verbose #94168 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94169 > │ let v5 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #94170 > │ let v6 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v5 │
00:30:43 verbose #94171 > │ v6 │
00:30:43 verbose #94172 > │ #endif │
00:30:43 verbose #94173 > │ │
00:30:43 verbose #94174 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94175 > │ let v7 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #94176 > │ let v8 : std_string_String = Fable.Core.RustInterop.emitRustExpr v0 v7 │
00:30:43 verbose #94177 > │ v8 │
00:30:43 verbose #94178 > │ #endif │
00:30:43 verbose #94179 > │ │
00:30:43 verbose #94180 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94181 > │ let v9 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #94182 > │ v9 │
00:30:43 verbose #94183 > │ #endif │
00:30:43 verbose #94184 > │ │
00:30:43 verbose #94185 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94186 > │ let v10 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #94187 > │ v10 │
00:30:43 verbose #94188 > │ #endif │
00:30:43 verbose #94189 > │ │
00:30:43 verbose #94190 > │ #else │
00:30:43 verbose #94191 > │ let v11 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #94192 > │ v11 │
00:30:43 verbose #94193 > │ #endif │
00:30:43 verbose #94194 > │ |> fun x -> _v1 <- Some x │
00:30:43 verbose #94195 > │ let v12 : std_string_String = _v1.Value │
00:30:43 verbose #94196 > │ v12 │
00:30:43 verbose #94197 > │ and method24 () : (std_io_Error -> std_string_String) = │
00:30:43 verbose #94198 > │ closure39() │
00:30:43 verbose #94199 > │ and closure40 () () : US10 = │
00:30:43 verbose #94200 > │ US10_0 │
00:30:43 verbose #94201 > │ and closure41 () (v0 : std_string_String) : US10 = │
00:30:43 verbose #94202 > │ US10_1(v0) │
00:30:43 verbose #94203 > │ and closure42 () () : string = │
00:30:43 verbose #94204 > │ let v0 : string = "file_system.create_directory" │
00:30:43 verbose #94205 > │ v0 │
00:30:43 verbose #94206 > │ and closure43 (v0 : string, v1 : std_string_String) () : string = │
00:30:43 verbose #94207 > │ let v2 : (unit -> string) = closure6() │
00:30:43 verbose #94208 > │ let v3 : string = $"dir: {v0} / error: {v1} / {v2 ()}" │
00:30:43 verbose #94209 > │ v3 │
00:30:43 verbose #94210 > │ and closure44 () () : string = │
00:30:43 verbose #94211 > │ let v0 : string = "file_system.create_directory" │
00:30:43 verbose #94212 > │ v0 │
00:30:43 verbose #94213 > │ and closure45 (v0 : string) () : string = │
00:30:43 verbose #94214 > │ let v1 : (unit -> string) = closure6() │
00:30:43 verbose #94215 > │ let v2 : string = $"dir: {v0} / {v1 ()}" │
00:30:43 verbose #94216 > │ v2 │
00:30:43 verbose #94217 > │ and closure46 (v0 : string) () : unit = │
00:30:43 verbose #94218 > │ let v1 : unit option = None │
00:30:43 verbose #94219 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:43 verbose #94220 > │ │
00:30:43 verbose #94221 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94222 > │ │
00:30:43 verbose #94223 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94224 > │ let v3 : string = method3(v0) │
00:30:43 verbose #94225 > │ let v4 : bool option = None │
00:30:43 verbose #94226 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:30:43 verbose #94227 > │ │
00:30:43 verbose #94228 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94229 > │ │
00:30:43 verbose #94230 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94231 > │ let v6 : string = method4(v3) │
00:30:43 verbose #94232 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:43 verbose #94233 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:30:43 verbose #94234 > │ let v9 : string = "String::from($0)" │
00:30:43 verbose #94235 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:30:43 verbose #94236 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:30:43 verbose #94237 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:30:43 verbose #94238 > │ let v13 : string = "$0.exists()" │
00:30:43 verbose #94239 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:30:43 verbose #94240 > │ let v17 : bool = │
00:30:43 verbose #94241 > │ if v14 then │
00:30:43 verbose #94242 > │ let v15 : string = "$0.is_dir()" │
00:30:43 verbose #94243 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:30:43 verbose #94244 > │ v16 │
00:30:43 verbose #94245 > │ else │
00:30:43 verbose #94246 > │ false │
00:30:43 verbose #94247 > │ v17 │
00:30:43 verbose #94248 > │ #endif │
00:30:43 verbose #94249 > │ │
00:30:43 verbose #94250 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94251 > │ let v18 : bool = null |> unbox<bool> │
00:30:43 verbose #94252 > │ v18 │
00:30:43 verbose #94253 > │ #endif │
00:30:43 verbose #94254 > │ │
00:30:43 verbose #94255 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94256 > │ let v19 : bool = null |> unbox<bool> │
00:30:43 verbose #94257 > │ v19 │
00:30:43 verbose #94258 > │ #endif │
00:30:43 verbose #94259 > │ │
00:30:43 verbose #94260 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94261 > │ let v20 : string = "fs" │
00:30:43 verbose #94262 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:30:43 verbose #94263 > │ let v22 : string = "v21.existsSync($0)" │
00:30:43 verbose #94264 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:30:43 verbose #94265 > │ v23 │
00:30:43 verbose #94266 > │ #endif │
00:30:43 verbose #94267 > │ │
00:30:43 verbose #94268 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94269 > │ let v24 : bool = null |> unbox<bool> │
00:30:43 verbose #94270 > │ v24 │
00:30:43 verbose #94271 > │ #endif │
00:30:43 verbose #94272 > │ │
00:30:43 verbose #94273 > │ #else │
00:30:43 verbose #94274 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:30:43 verbose #94275 > │ let v26 : bool = v25 v3 │
00:30:43 verbose #94276 > │ v26 │
00:30:43 verbose #94277 > │ #endif │
00:30:43 verbose #94278 > │ |> fun x -> _v4 <- Some x │
00:30:43 verbose #94279 > │ let v27 : bool = _v4.Value │
00:30:43 verbose #94280 > │ if v27 then │
00:30:43 verbose #94281 > │ let v28 : string = "std::fs::remove_dir_all(&*$0).unwrap()" │
00:30:43 verbose #94282 > │ Fable.Core.RustInterop.emitRustExpr v3 v28 │
00:30:43 verbose #94283 > │ () │
00:30:43 verbose #94284 > │ () │
00:30:43 verbose #94285 > │ #endif │
00:30:43 verbose #94286 > │ │
00:30:43 verbose #94287 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94288 > │ null |> unbox<unit> │
00:30:43 verbose #94289 > │ () │
00:30:43 verbose #94290 > │ #endif │
00:30:43 verbose #94291 > │ │
00:30:43 verbose #94292 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94293 > │ null |> unbox<unit> │
00:30:43 verbose #94294 > │ () │
00:30:43 verbose #94295 > │ #endif │
00:30:43 verbose #94296 > │ │
00:30:43 verbose #94297 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94298 > │ null |> unbox<unit> │
00:30:43 verbose #94299 > │ () │
00:30:43 verbose #94300 > │ #endif │
00:30:43 verbose #94301 > │ │
00:30:43 verbose #94302 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94303 > │ null |> unbox<unit> │
00:30:43 verbose #94304 > │ () │
00:30:43 verbose #94305 > │ #endif │
00:30:43 verbose #94306 > │ │
00:30:43 verbose #94307 > │ #else │
00:30:43 verbose #94308 > │ System.IO.Directory.Delete (v0, true) │
00:30:43 verbose #94309 > │ () │
00:30:43 verbose #94310 > │ #endif │
00:30:43 verbose #94311 > │ |> fun x -> _v1 <- Some x │
00:30:43 verbose #94312 > │ _v1.Value │
00:30:43 verbose #94313 > │ () │
00:30:43 verbose #94314 > │ and method25 (v0 : string) : (unit -> unit) = │
00:30:43 verbose #94315 > │ closure46(v0) │
00:30:43 verbose #94316 > │ and closure47 () () : string = │
00:30:43 verbose #94317 > │ let v0 : string = "file_system.create_directory" │
00:30:43 verbose #94318 > │ v0 │
00:30:43 verbose #94319 > │ and closure48 (v0 : string, v1 : string) () : string = │
00:30:43 verbose #94320 > │ let v2 : (unit -> string) = closure6() │
00:30:43 verbose #94321 > │ let v3 : string = $"dir: {v0} / result: {v1} {v2 ()}" │
00:30:43 verbose #94322 > │ v3 │
00:30:43 verbose #94323 > │ and closure49 (v0 : string) () : unit = │
00:30:43 verbose #94324 > │ let v1 : Async<int64> option = None │
00:30:43 verbose #94325 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:43 verbose #94326 > │ │
00:30:43 verbose #94327 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94328 > │ │
00:30:43 verbose #94329 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94330 > │ let v3 : Async<int64> = null |> unbox<Async<int64>> │
00:30:43 verbose #94331 > │ v3 │
00:30:43 verbose #94332 > │ #endif │
00:30:43 verbose #94333 > │ │
00:30:43 verbose #94334 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94335 > │ let v4 : Async<int64> = null |> unbox<Async<int64>> │
00:30:43 verbose #94336 > │ v4 │
00:30:43 verbose #94337 > │ #endif │
00:30:43 verbose #94338 > │ │
00:30:43 verbose #94339 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94340 > │ let v5 : Async<int64> = null |> unbox<Async<int64>> │
00:30:43 verbose #94341 > │ v5 │
00:30:43 verbose #94342 > │ #endif │
00:30:43 verbose #94343 > │ │
00:30:43 verbose #94344 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94345 > │ let v6 : Async<int64> = null |> unbox<Async<int64>> │
00:30:43 verbose #94346 > │ v6 │
00:30:43 verbose #94347 > │ #endif │
00:30:43 verbose #94348 > │ │
00:30:43 verbose #94349 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94350 > │ let v7 : Async<int64> = null |> unbox<Async<int64>> │
00:30:43 verbose #94351 > │ v7 │
00:30:43 verbose #94352 > │ #endif │
00:30:43 verbose #94353 > │ │
00:30:43 verbose #94354 > │ #else │
00:30:43 verbose #94355 > │ let v8 : int64 = 0L │
00:30:43 verbose #94356 > │ let v9 : Async<int64> = method2(v0, v8) │
00:30:43 verbose #94357 > │ v9 │
00:30:43 verbose #94358 > │ #endif │
00:30:43 verbose #94359 > │ |> fun x -> _v1 <- Some x │
00:30:43 verbose #94360 > │ let v10 : Async<int64> = _v1.Value │
00:30:43 verbose #94361 > │ let v11 : Async<unit> option = None │
00:30:43 verbose #94362 > │ let v12 : bool = true in let mutable _v11 = v11 │
00:30:43 verbose #94363 > │ │
00:30:43 verbose #94364 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94365 > │ │
00:30:43 verbose #94366 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94367 > │ let v13 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #94368 > │ v13 │
00:30:43 verbose #94369 > │ #endif │
00:30:43 verbose #94370 > │ │
00:30:43 verbose #94371 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94372 > │ let v14 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #94373 > │ v14 │
00:30:43 verbose #94374 > │ #endif │
00:30:43 verbose #94375 > │ │
00:30:43 verbose #94376 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94377 > │ let v15 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #94378 > │ v15 │
00:30:43 verbose #94379 > │ #endif │
00:30:43 verbose #94380 > │ │
00:30:43 verbose #94381 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94382 > │ let v16 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #94383 > │ v16 │
00:30:43 verbose #94384 > │ #endif │
00:30:43 verbose #94385 > │ │
00:30:43 verbose #94386 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94387 > │ let v17 : Async<unit> = null |> unbox<Async<unit>> │
00:30:43 verbose #94388 > │ v17 │
00:30:43 verbose #94389 > │ #endif │
00:30:43 verbose #94390 > │ │
00:30:43 verbose #94391 > │ #else │
00:30:43 verbose #94392 > │ let v18 : (Async<int64> -> Async<unit>) = Async.Ignore │
00:30:43 verbose #94393 > │ let v19 : Async<unit> = v18 v10 │
00:30:43 verbose #94394 > │ v19 │
00:30:43 verbose #94395 > │ #endif │
00:30:43 verbose #94396 > │ |> fun x -> _v11 <- Some x │
00:30:43 verbose #94397 > │ let v20 : Async<unit> = _v11.Value │
00:30:43 verbose #94398 > │ let v21 : unit option = None │
00:30:43 verbose #94399 > │ let v22 : bool = true in let mutable _v21 = v21 │
00:30:43 verbose #94400 > │ │
00:30:43 verbose #94401 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94402 > │ │
00:30:43 verbose #94403 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94404 > │ null |> unbox<unit> │
00:30:43 verbose #94405 > │ () │
00:30:43 verbose #94406 > │ #endif │
00:30:43 verbose #94407 > │ │
00:30:43 verbose #94408 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94409 > │ null |> unbox<unit> │
00:30:43 verbose #94410 > │ () │
00:30:43 verbose #94411 > │ #endif │
00:30:43 verbose #94412 > │ │
00:30:43 verbose #94413 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94414 > │ null |> unbox<unit> │
00:30:43 verbose #94415 > │ () │
00:30:43 verbose #94416 > │ #endif │
00:30:43 verbose #94417 > │ │
00:30:43 verbose #94418 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94419 > │ null |> unbox<unit> │
00:30:43 verbose #94420 > │ () │
00:30:43 verbose #94421 > │ #endif │
00:30:43 verbose #94422 > │ │
00:30:43 verbose #94423 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94424 > │ null |> unbox<unit> │
00:30:43 verbose #94425 > │ () │
00:30:43 verbose #94426 > │ #endif │
00:30:43 verbose #94427 > │ │
00:30:43 verbose #94428 > │ #else │
00:30:43 verbose #94429 > │ let v23 : (Async<unit> -> unit) = Async.RunSynchronously │
00:30:43 verbose #94430 > │ v23 v20 │
00:30:43 verbose #94431 > │ () │
00:30:43 verbose #94432 > │ #endif │
00:30:43 verbose #94433 > │ |> fun x -> _v21 <- Some x │
00:30:43 verbose #94434 > │ _v21.Value │
00:30:43 verbose #94435 > │ () │
00:30:43 verbose #94436 > │ and method26 (v0 : string) : (unit -> unit) = │
00:30:43 verbose #94437 > │ closure49(v0) │
00:30:43 verbose #94438 > │ and closure38 () () : struct (string * System.IDisposable) = │
00:30:43 verbose #94439 > │ let v0 : string option = None │
00:30:43 verbose #94440 > │ let v1 : bool = true in let mutable _v0 = v0 │
00:30:43 verbose #94441 > │ │
00:30:43 verbose #94442 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94443 > │ │
00:30:43 verbose #94444 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94445 > │ let v2 : string option = None │
00:30:43 verbose #94446 > │ let v3 : bool = true in let mutable _v2 = v2 │
00:30:43 verbose #94447 > │ │
00:30:43 verbose #94448 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94449 > │ │
00:30:43 verbose #94450 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94451 > │ let v4 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:30:43 verbose #94452 > │ let v5 : string = Fable.Core.RustInterop.emitRustExpr () v4 │
00:30:43 verbose #94453 > │ v5 │
00:30:43 verbose #94454 > │ #endif │
00:30:43 verbose #94455 > │ │
00:30:43 verbose #94456 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94457 > │ let v6 : string = null |> unbox<string> │
00:30:43 verbose #94458 > │ v6 │
00:30:43 verbose #94459 > │ #endif │
00:30:43 verbose #94460 > │ │
00:30:43 verbose #94461 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94462 > │ let v7 : string = null |> unbox<string> │
00:30:43 verbose #94463 > │ v7 │
00:30:43 verbose #94464 > │ #endif │
00:30:43 verbose #94465 > │ │
00:30:43 verbose #94466 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94467 > │ let v8 : string = null |> unbox<string> │
00:30:43 verbose #94468 > │ v8 │
00:30:43 verbose #94469 > │ #endif │
00:30:43 verbose #94470 > │ │
00:30:43 verbose #94471 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94472 > │ let v9 : string = null |> unbox<string> │
00:30:43 verbose #94473 > │ v9 │
00:30:43 verbose #94474 > │ #endif │
00:30:43 verbose #94475 > │ │
00:30:43 verbose #94476 > │ #else │
00:30:43 verbose #94477 > │ let v10 : string = │
00:30:43 verbose #94478 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:30:43 verbose #94479 > │ v10 │
00:30:43 verbose #94480 > │ #endif │
00:30:43 verbose #94481 > │ |> fun x -> _v2 <- Some x │
00:30:43 verbose #94482 > │ let v11 : string = _v2.Value │
00:30:43 verbose #94483 > │ let v12 : string option = None │
00:30:43 verbose #94484 > │ let v13 : bool = true in let mutable _v12 = v12 │
00:30:43 verbose #94485 > │ │
00:30:43 verbose #94486 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94487 > │ │
00:30:43 verbose #94488 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94489 > │ let v14 : string = "std::env::temp_dir()" │
00:30:43 verbose #94490 > │ let v15 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () v14 │
00:30:43 verbose #94491 > │ let v16 : string = "$0.display()" │
00:30:43 verbose #94492 > │ let v17 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v15 v16 │
00:30:43 verbose #94493 > │ let v18 : std_string_String option = None │
00:30:43 verbose #94494 > │ let v19 : bool = true in let mutable _v18 = v18 │
00:30:43 verbose #94495 > │ │
00:30:43 verbose #94496 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94497 > │ │
00:30:43 verbose #94498 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94499 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #94500 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:43 verbose #94501 > │ v20 │
00:30:43 verbose #94502 > │ v21 │
00:30:43 verbose #94503 > │ #endif │
00:30:43 verbose #94504 > │ │
00:30:43 verbose #94505 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94506 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #94507 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:43 verbose #94508 > │ v22 │
00:30:43 verbose #94509 > │ v23 │
00:30:43 verbose #94510 > │ #endif │
00:30:43 verbose #94511 > │ │
00:30:43 verbose #94512 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94513 > │ let v24 : string = @$"format!(""{{}}"", $0)" │
00:30:43 verbose #94514 > │ let v25 : std_string_String = Fable.Core.RustInterop.emitRustExpr v17 │
00:30:43 verbose #94515 > │ v24 │
00:30:43 verbose #94516 > │ v25 │
00:30:43 verbose #94517 > │ #endif │
00:30:43 verbose #94518 > │ │
00:30:43 verbose #94519 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94520 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #94521 > │ v26 │
00:30:43 verbose #94522 > │ #endif │
00:30:43 verbose #94523 > │ │
00:30:43 verbose #94524 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94525 > │ let v27 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #94526 > │ v27 │
00:30:43 verbose #94527 > │ #endif │
00:30:43 verbose #94528 > │ │
00:30:43 verbose #94529 > │ #else │
00:30:43 verbose #94530 > │ let v28 : std_string_String = null |> unbox<std_string_String> │
00:30:43 verbose #94531 > │ v28 │
00:30:43 verbose #94532 > │ #endif │
00:30:43 verbose #94533 > │ |> fun x -> _v18 <- Some x │
00:30:43 verbose #94534 > │ let v29 : std_string_String = _v18.Value │
00:30:43 verbose #94535 > │ let v30 : string = "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #94536 > │ let v31 : string = Fable.Core.RustInterop.emitRustExpr v29 v30 │
00:30:43 verbose #94537 > │ v31 │
00:30:43 verbose #94538 > │ #endif │
00:30:43 verbose #94539 > │ │
00:30:43 verbose #94540 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94541 > │ let v32 : string = null |> unbox<string> │
00:30:43 verbose #94542 > │ v32 │
00:30:43 verbose #94543 > │ #endif │
00:30:43 verbose #94544 > │ │
00:30:43 verbose #94545 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94546 > │ let v33 : string = null |> unbox<string> │
00:30:43 verbose #94547 > │ v33 │
00:30:43 verbose #94548 > │ #endif │
00:30:43 verbose #94549 > │ │
00:30:43 verbose #94550 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:43 verbose #94551 > │ let v34 : string = null |> unbox<string> │
00:30:43 verbose #94552 > │ v34 │
00:30:43 verbose #94553 > │ #endif │
00:30:43 verbose #94554 > │ │
00:30:43 verbose #94555 > │ #if FABLE_COMPILER_PYTHON │
00:30:43 verbose #94556 > │ let v35 : string = null |> unbox<string> │
00:30:43 verbose #94557 > │ v35 │
00:30:43 verbose #94558 > │ #endif │
00:30:43 verbose #94559 > │ │
00:30:43 verbose #94560 > │ #else │
00:30:43 verbose #94561 > │ let v36 : (unit -> string) = System.IO.Path.GetTempPath │
00:30:43 verbose #94562 > │ let v37 : string = v36 () │
00:30:43 verbose #94563 > │ v37 │
00:30:43 verbose #94564 > │ #endif │
00:30:43 verbose #94565 > │ |> fun x -> _v12 <- Some x │
00:30:43 verbose #94566 > │ let v38 : string = _v12.Value │
00:30:43 verbose #94567 > │ let v39 : string = $"!{v11}" │
00:30:43 verbose #94568 > │ let v40 : string = method15(v38, v39) │
00:30:43 verbose #94569 > │ let v41 : System.DateTime = System.DateTime.Now │
00:30:43 verbose #94570 > │ let v42 : System.Guid = System.Guid.NewGuid () │
00:30:43 verbose #94571 > │ let v43 : (System.Guid -> string) = _.ToString() │
00:30:43 verbose #94572 > │ let v44 : string = v43 v42 │
00:30:43 verbose #94573 > │ let v45 : struct (string * string) option = None │
00:30:43 verbose #94574 > │ let v46 : bool = true in let mutable _v45 = v45 │
00:30:43 verbose #94575 > │ │
00:30:43 verbose #94576 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94577 > │ │
00:30:43 verbose #94578 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94579 > │ let v47 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:30:43 verbose #94580 > │ System.DateTimeKind.Utc) │
00:30:43 verbose #94581 > │ let v48 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:43 verbose #94582 > │ let v49 : System.DateTime = v48 v47 │
00:30:43 verbose #94583 > │ let v50 : System.DateTimeKind = System.DateTimeKind.Local │
00:30:43 verbose #94584 > │ let v51 : System.DateTime = System.DateTime.SpecifyKind (v41, v50) │
00:30:43 verbose #94585 > │ let v52 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:43 verbose #94586 > │ let v53 : System.DateTime = v52 v51 │
00:30:43 verbose #94587 > │ let v54 : (System.DateTime -> int64) = _.Ticks │
00:30:43 verbose #94588 > │ let v55 : int64 = v54 v53 │
00:30:43 verbose #94589 > │ let v56 : (System.DateTime -> int64) = _.Ticks │
00:30:43 verbose #94590 > │ let v57 : int64 = v56 v49 │
00:30:43 verbose #94591 > │ let v58 : int64 = v55 - v57 │
00:30:43 verbose #94592 > │ let v59 : int64 = v58 / 10L │
00:30:43 verbose #94593 > │ let v60 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:30:43 verbose #94594 > │ let v61 : chrono_DateTime<chrono_Utc> option = │
00:30:43 verbose #94595 > │ Fable.Core.RustInterop.emitRustExpr v59 v60 │
00:30:43 verbose #94596 > │ let v62 : (chrono_DateTime<chrono_Utc> -> US8) = method18() │
00:30:43 verbose #94597 > │ let v63 : US8 = US8_1 │
00:30:43 verbose #94598 > │ let v64 : US8 = v61 |> Option.map v62 |> Option.defaultValue v63 │
00:30:43 verbose #94599 > │ let v83 : US9 = │
00:30:43 verbose #94600 > │ match v64 with │
00:30:43 verbose #94601 > │ | US8_1 -> (* None *) │
00:30:43 verbose #94602 > │ US9_1 │
00:30:43 verbose #94603 > │ | US8_0(v65) -> (* Some *) │
00:30:43 verbose #94604 > │ let v66 : chrono_DateTime<chrono_Utc> = method19(v65) │
00:30:43 verbose #94605 > │ let v67 : string = "v66.naive_utc()" │
00:30:43 verbose #94606 > │ let v68 : chrono_NaiveDateTime = │
00:30:43 verbose #94607 > │ Fable.Core.RustInterop.emitRustExpr () v67 │
00:30:43 verbose #94608 > │ let v69 : string = │
00:30:43 verbose #94609 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v68)" │
00:30:43 verbose #94610 > │ let v70 : chrono_DateTime<chrono_Local> = │
00:30:43 verbose #94611 > │ Fable.Core.RustInterop.emitRustExpr () v69 │
00:30:43 verbose #94612 > │ let v71 : string = "%Y%m%d-%H%M-%S%f" │
00:30:43 verbose #94613 > │ let v72 : string = "r#\"" + v71 + "\"#" │
00:30:43 verbose #94614 > │ let v73 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v72 │
00:30:43 verbose #94615 > │ let v74 : chrono_DateTime<chrono_Local> = method20(v70) │
00:30:43 verbose #94616 > │ let v75 : string = "v74.format(v73).to_string()" │
00:30:43 verbose #94617 > │ let v76 : std_string_String = │
00:30:43 verbose #94618 > │ Fable.Core.RustInterop.emitRustExpr () v75 │
00:30:43 verbose #94619 > │ let v77 : string = "fable_library_rust::String_::fromString($0)" │
00:30:43 verbose #94620 > │ let v78 : string = Fable.Core.RustInterop.emitRustExpr v76 v77 │
00:30:43 verbose #94621 > │ let v79 : string = $"{v78.[0..17]}-{v78.[18..21]}-{v78.[22]}" │
00:30:43 verbose #94622 > │ US9_0(v79) │
00:30:43 verbose #94623 > │ let v87 : string = │
00:30:43 verbose #94624 > │ match v83 with │
00:30:43 verbose #94625 > │ | US9_1 -> (* None *) │
00:30:43 verbose #94626 > │ let v85 : string = "" │
00:30:43 verbose #94627 > │ v85 │
00:30:43 verbose #94628 > │ | US9_0(v84) -> (* Some *) │
00:30:43 verbose #94629 > │ v84 │
00:30:43 verbose #94630 > │ let v88 : System.TimeZoneInfo option = None │
00:30:43 verbose #94631 > │ let v89 : bool = true in let mutable _v88 = v88 │
00:30:43 verbose #94632 > │ │
00:30:43 verbose #94633 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:43 verbose #94634 > │ │
00:30:43 verbose #94635 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:43 verbose #94636 > │ let v90 : string = "0i64.into()" │
00:30:43 verbose #94637 > │ let v91 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:43 verbose #94638 > │ v90 │
00:30:43 verbose #94639 > │ v91 │
00:30:43 verbose #94640 > │ #endif │
00:30:43 verbose #94641 > │ │
00:30:43 verbose #94642 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:43 verbose #94643 > │ let v92 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94644 > │ v92 │
00:30:43 verbose #94645 > │ #endif │
00:30:43 verbose #94646 > │ │
00:30:43 verbose #94647 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:43 verbose #94648 > │ let v93 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:43 verbose #94649 > │ v93 │
00:30:43 verbose #94650 > │ #endif │
00:30:43 verbose #94651 > │ │
00:30:43 verbose #94652 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94653 > │ let v94 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94654 > │ v94 │
00:30:44 verbose #94655 > │ #endif │
00:30:44 verbose #94656 > │ │
00:30:44 verbose #94657 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94658 > │ let v95 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94659 > │ v95 │
00:30:44 verbose #94660 > │ #endif │
00:30:44 verbose #94661 > │ │
00:30:44 verbose #94662 > │ #else │
00:30:44 verbose #94663 > │ let v96 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #94664 > │ v96 │
00:30:44 verbose #94665 > │ #endif │
00:30:44 verbose #94666 > │ |> fun x -> _v88 <- Some x │
00:30:44 verbose #94667 > │ let v97 : System.TimeZoneInfo = _v88.Value │
00:30:44 verbose #94668 > │ let v98 : System.TimeSpan option = None │
00:30:44 verbose #94669 > │ let v99 : bool = true in let mutable _v98 = v98 │
00:30:44 verbose #94670 > │ │
00:30:44 verbose #94671 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94672 > │ │
00:30:44 verbose #94673 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94674 > │ let v100 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94675 > │ v100 │
00:30:44 verbose #94676 > │ #endif │
00:30:44 verbose #94677 > │ │
00:30:44 verbose #94678 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94679 > │ let v101 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94680 > │ v101 │
00:30:44 verbose #94681 > │ #endif │
00:30:44 verbose #94682 > │ │
00:30:44 verbose #94683 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94684 > │ let v102 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94685 > │ v102 │
00:30:44 verbose #94686 > │ #endif │
00:30:44 verbose #94687 > │ │
00:30:44 verbose #94688 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94689 > │ let v103 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94690 > │ v103 │
00:30:44 verbose #94691 > │ #endif │
00:30:44 verbose #94692 > │ │
00:30:44 verbose #94693 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94694 > │ let v104 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94695 > │ v104 │
00:30:44 verbose #94696 > │ #endif │
00:30:44 verbose #94697 > │ │
00:30:44 verbose #94698 > │ #else │
00:30:44 verbose #94699 > │ let v105 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:44 verbose #94700 > │ = _.GetUtcOffset │
00:30:44 verbose #94701 > │ let v106 : System.TimeZoneInfo option = None │
00:30:44 verbose #94702 > │ let v107 : bool = true in let mutable _v106 = v106 │
00:30:44 verbose #94703 > │ │
00:30:44 verbose #94704 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94705 > │ │
00:30:44 verbose #94706 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94707 > │ let v108 : string = "0i64.into()" │
00:30:44 verbose #94708 > │ let v109 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #94709 > │ v108 │
00:30:44 verbose #94710 > │ v109 │
00:30:44 verbose #94711 > │ #endif │
00:30:44 verbose #94712 > │ │
00:30:44 verbose #94713 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94714 > │ let v110 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94715 > │ v110 │
00:30:44 verbose #94716 > │ #endif │
00:30:44 verbose #94717 > │ │
00:30:44 verbose #94718 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94719 > │ let v111 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94720 > │ v111 │
00:30:44 verbose #94721 > │ #endif │
00:30:44 verbose #94722 > │ │
00:30:44 verbose #94723 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94724 > │ let v112 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94725 > │ v112 │
00:30:44 verbose #94726 > │ #endif │
00:30:44 verbose #94727 > │ │
00:30:44 verbose #94728 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94729 > │ let v113 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94730 > │ v113 │
00:30:44 verbose #94731 > │ #endif │
00:30:44 verbose #94732 > │ │
00:30:44 verbose #94733 > │ #else │
00:30:44 verbose #94734 > │ let v114 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #94735 > │ v114 │
00:30:44 verbose #94736 > │ #endif │
00:30:44 verbose #94737 > │ |> fun x -> _v106 <- Some x │
00:30:44 verbose #94738 > │ let v115 : System.TimeZoneInfo = _v106.Value │
00:30:44 verbose #94739 > │ let v116 : (System.DateTime -> System.TimeSpan) = v105 v115 │
00:30:44 verbose #94740 > │ let v117 : System.TimeSpan = v116 v53 │
00:30:44 verbose #94741 > │ v117 │
00:30:44 verbose #94742 > │ #endif │
00:30:44 verbose #94743 > │ |> fun x -> _v98 <- Some x │
00:30:44 verbose #94744 > │ let v118 : System.TimeSpan = _v98.Value │
00:30:44 verbose #94745 > │ let v119 : (System.TimeSpan -> int32) = _.Hours │
00:30:44 verbose #94746 > │ let v120 : int32 = v119 v118 │
00:30:44 verbose #94747 > │ let v121 : bool = v120 > 0 │
00:30:44 verbose #94748 > │ let v122 : uint8 = │
00:30:44 verbose #94749 > │ if v121 then │
00:30:44 verbose #94750 > │ 1uy │
00:30:44 verbose #94751 > │ else │
00:30:44 verbose #94752 > │ 0uy │
00:30:44 verbose #94753 > │ let v123 : (string -> string) = v118.ToString │
00:30:44 verbose #94754 > │ let v124 : string = "hh:mm" │
00:30:44 verbose #94755 > │ let v125 : string = v123 v124 │
00:30:44 verbose #94756 > │ let v126 : string = $"{v122}{v125.[0..1]}{v125.[3..4]}" │
00:30:44 verbose #94757 > │ struct (v87, v126) │
00:30:44 verbose #94758 > │ #endif │
00:30:44 verbose #94759 > │ │
00:30:44 verbose #94760 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94761 > │ let struct (v127 : string, v128 : string) = null |> unbox<struct (string │
00:30:44 verbose #94762 > │ * string)> │
00:30:44 verbose #94763 > │ struct (v127, v128) │
00:30:44 verbose #94764 > │ #endif │
00:30:44 verbose #94765 > │ │
00:30:44 verbose #94766 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94767 > │ let struct (v129 : string, v130 : string) = null |> unbox<struct (string │
00:30:44 verbose #94768 > │ * string)> │
00:30:44 verbose #94769 > │ struct (v129, v130) │
00:30:44 verbose #94770 > │ #endif │
00:30:44 verbose #94771 > │ │
00:30:44 verbose #94772 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94773 > │ let struct (v131 : string, v132 : string) = null |> unbox<struct (string │
00:30:44 verbose #94774 > │ * string)> │
00:30:44 verbose #94775 > │ struct (v131, v132) │
00:30:44 verbose #94776 > │ #endif │
00:30:44 verbose #94777 > │ │
00:30:44 verbose #94778 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94779 > │ let struct (v133 : string, v134 : string) = null |> unbox<struct (string │
00:30:44 verbose #94780 > │ * string)> │
00:30:44 verbose #94781 > │ struct (v133, v134) │
00:30:44 verbose #94782 > │ #endif │
00:30:44 verbose #94783 > │ │
00:30:44 verbose #94784 > │ #else │
00:30:44 verbose #94785 > │ let v135 : string = method21() │
00:30:44 verbose #94786 > │ let v136 : (string -> string) = v41.ToString │
00:30:44 verbose #94787 > │ let v137 : string = v136 v135 │
00:30:44 verbose #94788 > │ let v138 : System.TimeZoneInfo option = None │
00:30:44 verbose #94789 > │ let v139 : bool = true in let mutable _v138 = v138 │
00:30:44 verbose #94790 > │ │
00:30:44 verbose #94791 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94792 > │ │
00:30:44 verbose #94793 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94794 > │ let v140 : string = "0i64.into()" │
00:30:44 verbose #94795 > │ let v141 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #94796 > │ v140 │
00:30:44 verbose #94797 > │ v141 │
00:30:44 verbose #94798 > │ #endif │
00:30:44 verbose #94799 > │ │
00:30:44 verbose #94800 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94801 > │ let v142 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94802 > │ v142 │
00:30:44 verbose #94803 > │ #endif │
00:30:44 verbose #94804 > │ │
00:30:44 verbose #94805 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94806 > │ let v143 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94807 > │ v143 │
00:30:44 verbose #94808 > │ #endif │
00:30:44 verbose #94809 > │ │
00:30:44 verbose #94810 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94811 > │ let v144 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94812 > │ v144 │
00:30:44 verbose #94813 > │ #endif │
00:30:44 verbose #94814 > │ │
00:30:44 verbose #94815 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94816 > │ let v145 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94817 > │ v145 │
00:30:44 verbose #94818 > │ #endif │
00:30:44 verbose #94819 > │ │
00:30:44 verbose #94820 > │ #else │
00:30:44 verbose #94821 > │ let v146 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #94822 > │ v146 │
00:30:44 verbose #94823 > │ #endif │
00:30:44 verbose #94824 > │ |> fun x -> _v138 <- Some x │
00:30:44 verbose #94825 > │ let v147 : System.TimeZoneInfo = _v138.Value │
00:30:44 verbose #94826 > │ let v148 : System.TimeSpan option = None │
00:30:44 verbose #94827 > │ let v149 : bool = true in let mutable _v148 = v148 │
00:30:44 verbose #94828 > │ │
00:30:44 verbose #94829 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94830 > │ │
00:30:44 verbose #94831 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94832 > │ let v150 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94833 > │ v150 │
00:30:44 verbose #94834 > │ #endif │
00:30:44 verbose #94835 > │ │
00:30:44 verbose #94836 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94837 > │ let v151 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94838 > │ v151 │
00:30:44 verbose #94839 > │ #endif │
00:30:44 verbose #94840 > │ │
00:30:44 verbose #94841 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94842 > │ let v152 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94843 > │ v152 │
00:30:44 verbose #94844 > │ #endif │
00:30:44 verbose #94845 > │ │
00:30:44 verbose #94846 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94847 > │ let v153 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94848 > │ v153 │
00:30:44 verbose #94849 > │ #endif │
00:30:44 verbose #94850 > │ │
00:30:44 verbose #94851 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94852 > │ let v154 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #94853 > │ v154 │
00:30:44 verbose #94854 > │ #endif │
00:30:44 verbose #94855 > │ │
00:30:44 verbose #94856 > │ #else │
00:30:44 verbose #94857 > │ let v155 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:44 verbose #94858 > │ = _.GetUtcOffset │
00:30:44 verbose #94859 > │ let v156 : System.TimeZoneInfo option = None │
00:30:44 verbose #94860 > │ let v157 : bool = true in let mutable _v156 = v156 │
00:30:44 verbose #94861 > │ │
00:30:44 verbose #94862 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94863 > │ │
00:30:44 verbose #94864 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94865 > │ let v158 : string = "0i64.into()" │
00:30:44 verbose #94866 > │ let v159 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #94867 > │ v158 │
00:30:44 verbose #94868 > │ v159 │
00:30:44 verbose #94869 > │ #endif │
00:30:44 verbose #94870 > │ │
00:30:44 verbose #94871 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94872 > │ let v160 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94873 > │ v160 │
00:30:44 verbose #94874 > │ #endif │
00:30:44 verbose #94875 > │ │
00:30:44 verbose #94876 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94877 > │ let v161 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94878 > │ v161 │
00:30:44 verbose #94879 > │ #endif │
00:30:44 verbose #94880 > │ │
00:30:44 verbose #94881 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94882 > │ let v162 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94883 > │ v162 │
00:30:44 verbose #94884 > │ #endif │
00:30:44 verbose #94885 > │ │
00:30:44 verbose #94886 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94887 > │ let v163 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #94888 > │ v163 │
00:30:44 verbose #94889 > │ #endif │
00:30:44 verbose #94890 > │ │
00:30:44 verbose #94891 > │ #else │
00:30:44 verbose #94892 > │ let v164 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #94893 > │ v164 │
00:30:44 verbose #94894 > │ #endif │
00:30:44 verbose #94895 > │ |> fun x -> _v156 <- Some x │
00:30:44 verbose #94896 > │ let v165 : System.TimeZoneInfo = _v156.Value │
00:30:44 verbose #94897 > │ let v166 : (System.DateTime -> System.TimeSpan) = v155 v165 │
00:30:44 verbose #94898 > │ let v167 : System.TimeSpan = v166 v41 │
00:30:44 verbose #94899 > │ v167 │
00:30:44 verbose #94900 > │ #endif │
00:30:44 verbose #94901 > │ |> fun x -> _v148 <- Some x │
00:30:44 verbose #94902 > │ let v168 : System.TimeSpan = _v148.Value │
00:30:44 verbose #94903 > │ let v169 : (System.TimeSpan -> int32) = _.Hours │
00:30:44 verbose #94904 > │ let v170 : int32 = v169 v168 │
00:30:44 verbose #94905 > │ let v171 : bool = v170 > 0 │
00:30:44 verbose #94906 > │ let v172 : (bool -> int32) = System.Convert.ToInt32 │
00:30:44 verbose #94907 > │ let v173 : int32 = v172 v171 │
00:30:44 verbose #94908 > │ let v174 : string = method22() │
00:30:44 verbose #94909 > │ let v175 : (string -> string) = v168.ToString │
00:30:44 verbose #94910 > │ let v176 : string = v175 v174 │
00:30:44 verbose #94911 > │ let v177 : string = $"{v173}{v176}" │
00:30:44 verbose #94912 > │ struct (v137, v177) │
00:30:44 verbose #94913 > │ #endif │
00:30:44 verbose #94914 > │ |> fun x -> _v45 <- Some x │
00:30:44 verbose #94915 > │ let struct (v178 : string, v179 : string) = _v45.Value │
00:30:44 verbose #94916 > │ let v180 : System.Guid = System.Guid $"{v178}{v179}{v44.[v178.Length + │
00:30:44 verbose #94917 > │ v179.Length..]}" │
00:30:44 verbose #94918 > │ let v181 : (System.Guid -> string) = _.ToString() │
00:30:44 verbose #94919 > │ let v182 : string = v181 v180 │
00:30:44 verbose #94920 > │ let v183 : string = method15(v40, v182) │
00:30:44 verbose #94921 > │ v183 │
00:30:44 verbose #94922 > │ #endif │
00:30:44 verbose #94923 > │ │
00:30:44 verbose #94924 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94925 > │ let v184 : string = null |> unbox<string> │
00:30:44 verbose #94926 > │ v184 │
00:30:44 verbose #94927 > │ #endif │
00:30:44 verbose #94928 > │ │
00:30:44 verbose #94929 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94930 > │ let v185 : string = null |> unbox<string> │
00:30:44 verbose #94931 > │ v185 │
00:30:44 verbose #94932 > │ #endif │
00:30:44 verbose #94933 > │ │
00:30:44 verbose #94934 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94935 > │ let v186 : string = null |> unbox<string> │
00:30:44 verbose #94936 > │ v186 │
00:30:44 verbose #94937 > │ #endif │
00:30:44 verbose #94938 > │ │
00:30:44 verbose #94939 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94940 > │ let v187 : string = null |> unbox<string> │
00:30:44 verbose #94941 > │ v187 │
00:30:44 verbose #94942 > │ #endif │
00:30:44 verbose #94943 > │ │
00:30:44 verbose #94944 > │ #else │
00:30:44 verbose #94945 > │ let v188 : string option = None │
00:30:44 verbose #94946 > │ let v189 : bool = true in let mutable _v188 = v188 │
00:30:44 verbose #94947 > │ │
00:30:44 verbose #94948 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94949 > │ │
00:30:44 verbose #94950 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94951 > │ let v190 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:30:44 verbose #94952 > │ let v191 : string = Fable.Core.RustInterop.emitRustExpr () v190 │
00:30:44 verbose #94953 > │ v191 │
00:30:44 verbose #94954 > │ #endif │
00:30:44 verbose #94955 > │ │
00:30:44 verbose #94956 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #94957 > │ let v192 : string = null |> unbox<string> │
00:30:44 verbose #94958 > │ v192 │
00:30:44 verbose #94959 > │ #endif │
00:30:44 verbose #94960 > │ │
00:30:44 verbose #94961 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #94962 > │ let v193 : string = null |> unbox<string> │
00:30:44 verbose #94963 > │ v193 │
00:30:44 verbose #94964 > │ #endif │
00:30:44 verbose #94965 > │ │
00:30:44 verbose #94966 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #94967 > │ let v194 : string = null |> unbox<string> │
00:30:44 verbose #94968 > │ v194 │
00:30:44 verbose #94969 > │ #endif │
00:30:44 verbose #94970 > │ │
00:30:44 verbose #94971 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #94972 > │ let v195 : string = null |> unbox<string> │
00:30:44 verbose #94973 > │ v195 │
00:30:44 verbose #94974 > │ #endif │
00:30:44 verbose #94975 > │ │
00:30:44 verbose #94976 > │ #else │
00:30:44 verbose #94977 > │ let v196 : string = │
00:30:44 verbose #94978 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:30:44 verbose #94979 > │ v196 │
00:30:44 verbose #94980 > │ #endif │
00:30:44 verbose #94981 > │ |> fun x -> _v188 <- Some x │
00:30:44 verbose #94982 > │ let v197 : string = _v188.Value │
00:30:44 verbose #94983 > │ let v198 : string option = None │
00:30:44 verbose #94984 > │ let v199 : bool = true in let mutable _v198 = v198 │
00:30:44 verbose #94985 > │ │
00:30:44 verbose #94986 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94987 > │ │
00:30:44 verbose #94988 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #94989 > │ let v200 : string = "std::env::temp_dir()" │
00:30:44 verbose #94990 > │ let v201 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #94991 > │ v200 │
00:30:44 verbose #94992 > │ let v202 : string = "$0.display()" │
00:30:44 verbose #94993 > │ let v203 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v201 │
00:30:44 verbose #94994 > │ v202 │
00:30:44 verbose #94995 > │ let v204 : std_string_String option = None │
00:30:44 verbose #94996 > │ let v205 : bool = true in let mutable _v204 = v204 │
00:30:44 verbose #94997 > │ │
00:30:44 verbose #94998 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #94999 > │ │
00:30:44 verbose #95000 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95001 > │ let v206 : string = @$"format!(""{{}}"", $0)" │
00:30:44 verbose #95002 > │ let v207 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:30:44 verbose #95003 > │ v206 │
00:30:44 verbose #95004 > │ v207 │
00:30:44 verbose #95005 > │ #endif │
00:30:44 verbose #95006 > │ │
00:30:44 verbose #95007 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95008 > │ let v208 : string = @$"format!(""{{}}"", $0)" │
00:30:44 verbose #95009 > │ let v209 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:30:44 verbose #95010 > │ v208 │
00:30:44 verbose #95011 > │ v209 │
00:30:44 verbose #95012 > │ #endif │
00:30:44 verbose #95013 > │ │
00:30:44 verbose #95014 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95015 > │ let v210 : string = @$"format!(""{{}}"", $0)" │
00:30:44 verbose #95016 > │ let v211 : std_string_String = Fable.Core.RustInterop.emitRustExpr v203 │
00:30:44 verbose #95017 > │ v210 │
00:30:44 verbose #95018 > │ v211 │
00:30:44 verbose #95019 > │ #endif │
00:30:44 verbose #95020 > │ │
00:30:44 verbose #95021 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95022 > │ let v212 : std_string_String = null |> unbox<std_string_String> │
00:30:44 verbose #95023 > │ v212 │
00:30:44 verbose #95024 > │ #endif │
00:30:44 verbose #95025 > │ │
00:30:44 verbose #95026 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95027 > │ let v213 : std_string_String = null |> unbox<std_string_String> │
00:30:44 verbose #95028 > │ v213 │
00:30:44 verbose #95029 > │ #endif │
00:30:44 verbose #95030 > │ │
00:30:44 verbose #95031 > │ #else │
00:30:44 verbose #95032 > │ let v214 : std_string_String = null |> unbox<std_string_String> │
00:30:44 verbose #95033 > │ v214 │
00:30:44 verbose #95034 > │ #endif │
00:30:44 verbose #95035 > │ |> fun x -> _v204 <- Some x │
00:30:44 verbose #95036 > │ let v215 : std_string_String = _v204.Value │
00:30:44 verbose #95037 > │ let v216 : string = "fable_library_rust::String_::fromString($0)" │
00:30:44 verbose #95038 > │ let v217 : string = Fable.Core.RustInterop.emitRustExpr v215 v216 │
00:30:44 verbose #95039 > │ v217 │
00:30:44 verbose #95040 > │ #endif │
00:30:44 verbose #95041 > │ │
00:30:44 verbose #95042 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95043 > │ let v218 : string = null |> unbox<string> │
00:30:44 verbose #95044 > │ v218 │
00:30:44 verbose #95045 > │ #endif │
00:30:44 verbose #95046 > │ │
00:30:44 verbose #95047 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95048 > │ let v219 : string = null |> unbox<string> │
00:30:44 verbose #95049 > │ v219 │
00:30:44 verbose #95050 > │ #endif │
00:30:44 verbose #95051 > │ │
00:30:44 verbose #95052 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95053 > │ let v220 : string = null |> unbox<string> │
00:30:44 verbose #95054 > │ v220 │
00:30:44 verbose #95055 > │ #endif │
00:30:44 verbose #95056 > │ │
00:30:44 verbose #95057 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95058 > │ let v221 : string = null |> unbox<string> │
00:30:44 verbose #95059 > │ v221 │
00:30:44 verbose #95060 > │ #endif │
00:30:44 verbose #95061 > │ │
00:30:44 verbose #95062 > │ #else │
00:30:44 verbose #95063 > │ let v222 : (unit -> string) = System.IO.Path.GetTempPath │
00:30:44 verbose #95064 > │ let v223 : string = v222 () │
00:30:44 verbose #95065 > │ v223 │
00:30:44 verbose #95066 > │ #endif │
00:30:44 verbose #95067 > │ |> fun x -> _v198 <- Some x │
00:30:44 verbose #95068 > │ let v224 : string = _v198.Value │
00:30:44 verbose #95069 > │ let v225 : string = $"!{v197}" │
00:30:44 verbose #95070 > │ let v226 : string = method15(v224, v225) │
00:30:44 verbose #95071 > │ let v227 : System.DateTime = System.DateTime.Now │
00:30:44 verbose #95072 > │ let v228 : System.Guid = System.Guid.NewGuid () │
00:30:44 verbose #95073 > │ let v229 : (System.Guid -> string) = _.ToString() │
00:30:44 verbose #95074 > │ let v230 : string = v229 v228 │
00:30:44 verbose #95075 > │ let v231 : struct (string * string) option = None │
00:30:44 verbose #95076 > │ let v232 : bool = true in let mutable _v231 = v231 │
00:30:44 verbose #95077 > │ │
00:30:44 verbose #95078 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95079 > │ │
00:30:44 verbose #95080 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95081 > │ let v233 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:30:44 verbose #95082 > │ System.DateTimeKind.Utc) │
00:30:44 verbose #95083 > │ let v234 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:44 verbose #95084 > │ let v235 : System.DateTime = v234 v233 │
00:30:44 verbose #95085 > │ let v236 : System.DateTimeKind = System.DateTimeKind.Local │
00:30:44 verbose #95086 > │ let v237 : System.DateTime = System.DateTime.SpecifyKind (v227, v236) │
00:30:44 verbose #95087 > │ let v238 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:44 verbose #95088 > │ let v239 : System.DateTime = v238 v237 │
00:30:44 verbose #95089 > │ let v240 : (System.DateTime -> int64) = _.Ticks │
00:30:44 verbose #95090 > │ let v241 : int64 = v240 v239 │
00:30:44 verbose #95091 > │ let v242 : (System.DateTime -> int64) = _.Ticks │
00:30:44 verbose #95092 > │ let v243 : int64 = v242 v235 │
00:30:44 verbose #95093 > │ let v244 : int64 = v241 - v243 │
00:30:44 verbose #95094 > │ let v245 : int64 = v244 / 10L │
00:30:44 verbose #95095 > │ let v246 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:30:44 verbose #95096 > │ let v247 : chrono_DateTime<chrono_Utc> option = │
00:30:44 verbose #95097 > │ Fable.Core.RustInterop.emitRustExpr v245 v246 │
00:30:44 verbose #95098 > │ let v248 : (chrono_DateTime<chrono_Utc> -> US8) = method18() │
00:30:44 verbose #95099 > │ let v249 : US8 = US8_1 │
00:30:44 verbose #95100 > │ let v250 : US8 = v247 |> Option.map v248 |> Option.defaultValue v249 │
00:30:44 verbose #95101 > │ let v269 : US9 = │
00:30:44 verbose #95102 > │ match v250 with │
00:30:44 verbose #95103 > │ | US8_1 -> (* None *) │
00:30:44 verbose #95104 > │ US9_1 │
00:30:44 verbose #95105 > │ | US8_0(v251) -> (* Some *) │
00:30:44 verbose #95106 > │ let v252 : chrono_DateTime<chrono_Utc> = method19(v251) │
00:30:44 verbose #95107 > │ let v253 : string = "v252.naive_utc()" │
00:30:44 verbose #95108 > │ let v254 : chrono_NaiveDateTime = │
00:30:44 verbose #95109 > │ Fable.Core.RustInterop.emitRustExpr () v253 │
00:30:44 verbose #95110 > │ let v255 : string = │
00:30:44 verbose #95111 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v254)" │
00:30:44 verbose #95112 > │ let v256 : chrono_DateTime<chrono_Local> = │
00:30:44 verbose #95113 > │ Fable.Core.RustInterop.emitRustExpr () v255 │
00:30:44 verbose #95114 > │ let v257 : string = "%Y%m%d-%H%M-%S%f" │
00:30:44 verbose #95115 > │ let v258 : string = "r#\"" + v257 + "\"#" │
00:30:44 verbose #95116 > │ let v259 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #95117 > │ v258 │
00:30:44 verbose #95118 > │ let v260 : chrono_DateTime<chrono_Local> = method20(v256) │
00:30:44 verbose #95119 > │ let v261 : string = "v260.format(v259).to_string()" │
00:30:44 verbose #95120 > │ let v262 : std_string_String = │
00:30:44 verbose #95121 > │ Fable.Core.RustInterop.emitRustExpr () v261 │
00:30:44 verbose #95122 > │ let v263 : string = │
00:30:44 verbose #95123 > │ "fable_library_rust::String_::fromString($0)" │
00:30:44 verbose #95124 > │ let v264 : string = Fable.Core.RustInterop.emitRustExpr v262 │
00:30:44 verbose #95125 > │ v263 │
00:30:44 verbose #95126 > │ let v265 : string = $"{v264.[0..17]}-{v264.[18..21]}-{v264.[ │
00:30:44 verbose #95127 > │ 22]}" │
00:30:44 verbose #95128 > │ US9_0(v265) │
00:30:44 verbose #95129 > │ let v273 : string = │
00:30:44 verbose #95130 > │ match v269 with │
00:30:44 verbose #95131 > │ | US9_1 -> (* None *) │
00:30:44 verbose #95132 > │ let v271 : string = "" │
00:30:44 verbose #95133 > │ v271 │
00:30:44 verbose #95134 > │ | US9_0(v270) -> (* Some *) │
00:30:44 verbose #95135 > │ v270 │
00:30:44 verbose #95136 > │ let v274 : System.TimeZoneInfo option = None │
00:30:44 verbose #95137 > │ let v275 : bool = true in let mutable _v274 = v274 │
00:30:44 verbose #95138 > │ │
00:30:44 verbose #95139 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95140 > │ │
00:30:44 verbose #95141 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95142 > │ let v276 : string = "0i64.into()" │
00:30:44 verbose #95143 > │ let v277 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #95144 > │ v276 │
00:30:44 verbose #95145 > │ v277 │
00:30:44 verbose #95146 > │ #endif │
00:30:44 verbose #95147 > │ │
00:30:44 verbose #95148 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95149 > │ let v278 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95150 > │ v278 │
00:30:44 verbose #95151 > │ #endif │
00:30:44 verbose #95152 > │ │
00:30:44 verbose #95153 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95154 > │ let v279 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95155 > │ v279 │
00:30:44 verbose #95156 > │ #endif │
00:30:44 verbose #95157 > │ │
00:30:44 verbose #95158 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95159 > │ let v280 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95160 > │ v280 │
00:30:44 verbose #95161 > │ #endif │
00:30:44 verbose #95162 > │ │
00:30:44 verbose #95163 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95164 > │ let v281 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95165 > │ v281 │
00:30:44 verbose #95166 > │ #endif │
00:30:44 verbose #95167 > │ │
00:30:44 verbose #95168 > │ #else │
00:30:44 verbose #95169 > │ let v282 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #95170 > │ v282 │
00:30:44 verbose #95171 > │ #endif │
00:30:44 verbose #95172 > │ |> fun x -> _v274 <- Some x │
00:30:44 verbose #95173 > │ let v283 : System.TimeZoneInfo = _v274.Value │
00:30:44 verbose #95174 > │ let v284 : System.TimeSpan option = None │
00:30:44 verbose #95175 > │ let v285 : bool = true in let mutable _v284 = v284 │
00:30:44 verbose #95176 > │ │
00:30:44 verbose #95177 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95178 > │ │
00:30:44 verbose #95179 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95180 > │ let v286 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95181 > │ v286 │
00:30:44 verbose #95182 > │ #endif │
00:30:44 verbose #95183 > │ │
00:30:44 verbose #95184 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95185 > │ let v287 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95186 > │ v287 │
00:30:44 verbose #95187 > │ #endif │
00:30:44 verbose #95188 > │ │
00:30:44 verbose #95189 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95190 > │ let v288 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95191 > │ v288 │
00:30:44 verbose #95192 > │ #endif │
00:30:44 verbose #95193 > │ │
00:30:44 verbose #95194 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95195 > │ let v289 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95196 > │ v289 │
00:30:44 verbose #95197 > │ #endif │
00:30:44 verbose #95198 > │ │
00:30:44 verbose #95199 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95200 > │ let v290 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95201 > │ v290 │
00:30:44 verbose #95202 > │ #endif │
00:30:44 verbose #95203 > │ │
00:30:44 verbose #95204 > │ #else │
00:30:44 verbose #95205 > │ let v291 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:44 verbose #95206 > │ = _.GetUtcOffset │
00:30:44 verbose #95207 > │ let v292 : System.TimeZoneInfo option = None │
00:30:44 verbose #95208 > │ let v293 : bool = true in let mutable _v292 = v292 │
00:30:44 verbose #95209 > │ │
00:30:44 verbose #95210 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95211 > │ │
00:30:44 verbose #95212 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95213 > │ let v294 : string = "0i64.into()" │
00:30:44 verbose #95214 > │ let v295 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #95215 > │ v294 │
00:30:44 verbose #95216 > │ v295 │
00:30:44 verbose #95217 > │ #endif │
00:30:44 verbose #95218 > │ │
00:30:44 verbose #95219 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95220 > │ let v296 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95221 > │ v296 │
00:30:44 verbose #95222 > │ #endif │
00:30:44 verbose #95223 > │ │
00:30:44 verbose #95224 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95225 > │ let v297 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95226 > │ v297 │
00:30:44 verbose #95227 > │ #endif │
00:30:44 verbose #95228 > │ │
00:30:44 verbose #95229 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95230 > │ let v298 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95231 > │ v298 │
00:30:44 verbose #95232 > │ #endif │
00:30:44 verbose #95233 > │ │
00:30:44 verbose #95234 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95235 > │ let v299 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95236 > │ v299 │
00:30:44 verbose #95237 > │ #endif │
00:30:44 verbose #95238 > │ │
00:30:44 verbose #95239 > │ #else │
00:30:44 verbose #95240 > │ let v300 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #95241 > │ v300 │
00:30:44 verbose #95242 > │ #endif │
00:30:44 verbose #95243 > │ |> fun x -> _v292 <- Some x │
00:30:44 verbose #95244 > │ let v301 : System.TimeZoneInfo = _v292.Value │
00:30:44 verbose #95245 > │ let v302 : (System.DateTime -> System.TimeSpan) = v291 v301 │
00:30:44 verbose #95246 > │ let v303 : System.TimeSpan = v302 v239 │
00:30:44 verbose #95247 > │ v303 │
00:30:44 verbose #95248 > │ #endif │
00:30:44 verbose #95249 > │ |> fun x -> _v284 <- Some x │
00:30:44 verbose #95250 > │ let v304 : System.TimeSpan = _v284.Value │
00:30:44 verbose #95251 > │ let v305 : (System.TimeSpan -> int32) = _.Hours │
00:30:44 verbose #95252 > │ let v306 : int32 = v305 v304 │
00:30:44 verbose #95253 > │ let v307 : bool = v306 > 0 │
00:30:44 verbose #95254 > │ let v308 : uint8 = │
00:30:44 verbose #95255 > │ if v307 then │
00:30:44 verbose #95256 > │ 1uy │
00:30:44 verbose #95257 > │ else │
00:30:44 verbose #95258 > │ 0uy │
00:30:44 verbose #95259 > │ let v309 : (string -> string) = v304.ToString │
00:30:44 verbose #95260 > │ let v310 : string = v309 v124 │
00:30:44 verbose #95261 > │ let v311 : string = $"{v308}{v310.[0..1]}{v310.[3..4]}" │
00:30:44 verbose #95262 > │ struct (v273, v311) │
00:30:44 verbose #95263 > │ #endif │
00:30:44 verbose #95264 > │ │
00:30:44 verbose #95265 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95266 > │ let struct (v312 : string, v313 : string) = null |> unbox<struct (string │
00:30:44 verbose #95267 > │ * string)> │
00:30:44 verbose #95268 > │ struct (v312, v313) │
00:30:44 verbose #95269 > │ #endif │
00:30:44 verbose #95270 > │ │
00:30:44 verbose #95271 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95272 > │ let struct (v314 : string, v315 : string) = null |> unbox<struct (string │
00:30:44 verbose #95273 > │ * string)> │
00:30:44 verbose #95274 > │ struct (v314, v315) │
00:30:44 verbose #95275 > │ #endif │
00:30:44 verbose #95276 > │ │
00:30:44 verbose #95277 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95278 > │ let struct (v316 : string, v317 : string) = null |> unbox<struct (string │
00:30:44 verbose #95279 > │ * string)> │
00:30:44 verbose #95280 > │ struct (v316, v317) │
00:30:44 verbose #95281 > │ #endif │
00:30:44 verbose #95282 > │ │
00:30:44 verbose #95283 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95284 > │ let struct (v318 : string, v319 : string) = null |> unbox<struct (string │
00:30:44 verbose #95285 > │ * string)> │
00:30:44 verbose #95286 > │ struct (v318, v319) │
00:30:44 verbose #95287 > │ #endif │
00:30:44 verbose #95288 > │ │
00:30:44 verbose #95289 > │ #else │
00:30:44 verbose #95290 > │ let v320 : string = method21() │
00:30:44 verbose #95291 > │ let v321 : (string -> string) = v227.ToString │
00:30:44 verbose #95292 > │ let v322 : string = v321 v320 │
00:30:44 verbose #95293 > │ let v323 : System.TimeZoneInfo option = None │
00:30:44 verbose #95294 > │ let v324 : bool = true in let mutable _v323 = v323 │
00:30:44 verbose #95295 > │ │
00:30:44 verbose #95296 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95297 > │ │
00:30:44 verbose #95298 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95299 > │ let v325 : string = "0i64.into()" │
00:30:44 verbose #95300 > │ let v326 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #95301 > │ v325 │
00:30:44 verbose #95302 > │ v326 │
00:30:44 verbose #95303 > │ #endif │
00:30:44 verbose #95304 > │ │
00:30:44 verbose #95305 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95306 > │ let v327 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95307 > │ v327 │
00:30:44 verbose #95308 > │ #endif │
00:30:44 verbose #95309 > │ │
00:30:44 verbose #95310 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95311 > │ let v328 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95312 > │ v328 │
00:30:44 verbose #95313 > │ #endif │
00:30:44 verbose #95314 > │ │
00:30:44 verbose #95315 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95316 > │ let v329 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95317 > │ v329 │
00:30:44 verbose #95318 > │ #endif │
00:30:44 verbose #95319 > │ │
00:30:44 verbose #95320 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95321 > │ let v330 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95322 > │ v330 │
00:30:44 verbose #95323 > │ #endif │
00:30:44 verbose #95324 > │ │
00:30:44 verbose #95325 > │ #else │
00:30:44 verbose #95326 > │ let v331 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #95327 > │ v331 │
00:30:44 verbose #95328 > │ #endif │
00:30:44 verbose #95329 > │ |> fun x -> _v323 <- Some x │
00:30:44 verbose #95330 > │ let v332 : System.TimeZoneInfo = _v323.Value │
00:30:44 verbose #95331 > │ let v333 : System.TimeSpan option = None │
00:30:44 verbose #95332 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:30:44 verbose #95333 > │ │
00:30:44 verbose #95334 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95335 > │ │
00:30:44 verbose #95336 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95337 > │ let v335 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95338 > │ v335 │
00:30:44 verbose #95339 > │ #endif │
00:30:44 verbose #95340 > │ │
00:30:44 verbose #95341 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95342 > │ let v336 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95343 > │ v336 │
00:30:44 verbose #95344 > │ #endif │
00:30:44 verbose #95345 > │ │
00:30:44 verbose #95346 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95347 > │ let v337 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95348 > │ v337 │
00:30:44 verbose #95349 > │ #endif │
00:30:44 verbose #95350 > │ │
00:30:44 verbose #95351 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95352 > │ let v338 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95353 > │ v338 │
00:30:44 verbose #95354 > │ #endif │
00:30:44 verbose #95355 > │ │
00:30:44 verbose #95356 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95357 > │ let v339 : System.TimeSpan = System.TimeSpan () │
00:30:44 verbose #95358 > │ v339 │
00:30:44 verbose #95359 > │ #endif │
00:30:44 verbose #95360 > │ │
00:30:44 verbose #95361 > │ #else │
00:30:44 verbose #95362 > │ let v340 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:44 verbose #95363 > │ = _.GetUtcOffset │
00:30:44 verbose #95364 > │ let v341 : System.TimeZoneInfo option = None │
00:30:44 verbose #95365 > │ let v342 : bool = true in let mutable _v341 = v341 │
00:30:44 verbose #95366 > │ │
00:30:44 verbose #95367 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95368 > │ │
00:30:44 verbose #95369 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95370 > │ let v343 : string = "0i64.into()" │
00:30:44 verbose #95371 > │ let v344 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:44 verbose #95372 > │ v343 │
00:30:44 verbose #95373 > │ v344 │
00:30:44 verbose #95374 > │ #endif │
00:30:44 verbose #95375 > │ │
00:30:44 verbose #95376 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95377 > │ let v345 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95378 > │ v345 │
00:30:44 verbose #95379 > │ #endif │
00:30:44 verbose #95380 > │ │
00:30:44 verbose #95381 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95382 > │ let v346 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95383 > │ v346 │
00:30:44 verbose #95384 > │ #endif │
00:30:44 verbose #95385 > │ │
00:30:44 verbose #95386 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95387 > │ let v347 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95388 > │ v347 │
00:30:44 verbose #95389 > │ #endif │
00:30:44 verbose #95390 > │ │
00:30:44 verbose #95391 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95392 > │ let v348 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:44 verbose #95393 > │ v348 │
00:30:44 verbose #95394 > │ #endif │
00:30:44 verbose #95395 > │ │
00:30:44 verbose #95396 > │ #else │
00:30:44 verbose #95397 > │ let v349 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:44 verbose #95398 > │ v349 │
00:30:44 verbose #95399 > │ #endif │
00:30:44 verbose #95400 > │ |> fun x -> _v341 <- Some x │
00:30:44 verbose #95401 > │ let v350 : System.TimeZoneInfo = _v341.Value │
00:30:44 verbose #95402 > │ let v351 : (System.DateTime -> System.TimeSpan) = v340 v350 │
00:30:44 verbose #95403 > │ let v352 : System.TimeSpan = v351 v227 │
00:30:44 verbose #95404 > │ v352 │
00:30:44 verbose #95405 > │ #endif │
00:30:44 verbose #95406 > │ |> fun x -> _v333 <- Some x │
00:30:44 verbose #95407 > │ let v353 : System.TimeSpan = _v333.Value │
00:30:44 verbose #95408 > │ let v354 : (System.TimeSpan -> int32) = _.Hours │
00:30:44 verbose #95409 > │ let v355 : int32 = v354 v353 │
00:30:44 verbose #95410 > │ let v356 : bool = v355 > 0 │
00:30:44 verbose #95411 > │ let v357 : (bool -> int32) = System.Convert.ToInt32 │
00:30:44 verbose #95412 > │ let v358 : int32 = v357 v356 │
00:30:44 verbose #95413 > │ let v359 : string = method22() │
00:30:44 verbose #95414 > │ let v360 : (string -> string) = v353.ToString │
00:30:44 verbose #95415 > │ let v361 : string = v360 v359 │
00:30:44 verbose #95416 > │ let v362 : string = $"{v358}{v361}" │
00:30:44 verbose #95417 > │ struct (v322, v362) │
00:30:44 verbose #95418 > │ #endif │
00:30:44 verbose #95419 > │ |> fun x -> _v231 <- Some x │
00:30:44 verbose #95420 > │ let struct (v363 : string, v364 : string) = _v231.Value │
00:30:44 verbose #95421 > │ let v365 : System.Guid = System.Guid $"{v363}{v364}{v230.[v363.Length + │
00:30:44 verbose #95422 > │ v364.Length..]}" │
00:30:44 verbose #95423 > │ let v366 : (System.Guid -> string) = _.ToString() │
00:30:44 verbose #95424 > │ let v367 : string = v366 v365 │
00:30:44 verbose #95425 > │ let v368 : string = method15(v226, v367) │
00:30:44 verbose #95426 > │ v368 │
00:30:44 verbose #95427 > │ #endif │
00:30:44 verbose #95428 > │ |> fun x -> _v0 <- Some x │
00:30:44 verbose #95429 > │ let v369 : string = _v0.Value │
00:30:44 verbose #95430 > │ let v370 : System.IDisposable option = None │
00:30:44 verbose #95431 > │ let v371 : bool = true in let mutable _v370 = v370 │
00:30:44 verbose #95432 > │ │
00:30:44 verbose #95433 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95434 > │ │
00:30:44 verbose #95435 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95436 > │ let v372 : string = method23(v369) │
00:30:44 verbose #95437 > │ let v373 : string = "std::fs::create_dir_all(&*$0)" │
00:30:44 verbose #95438 > │ let v374 : Result<unit, std_io_Error> = │
00:30:44 verbose #95439 > │ Fable.Core.RustInterop.emitRustExpr v372 v373 │
00:30:44 verbose #95440 > │ let v375 : (std_io_Error -> std_string_String) = method24() │
00:30:44 verbose #95441 > │ let v376 : string = "$0.map_err(|x| $1(x))" │
00:30:44 verbose #95442 > │ let v377 : Result<unit, std_string_String> = │
00:30:44 verbose #95443 > │ Fable.Core.RustInterop.emitRustExpr struct (v374, v375) v376 │
00:30:44 verbose #95444 > │ let v378 : (unit -> US10) = closure40() │
00:30:44 verbose #95445 > │ let v379 : (std_string_String -> US10) = closure41() │
00:30:44 verbose #95446 > │ let v380 : US10 = match v377 with Ok () -> v378 () | Error x -> v379 x │
00:30:44 verbose #95447 > │ match v380 with │
00:30:44 verbose #95448 > │ | US10_1(v384) -> (* Error *) │
00:30:44 verbose #95449 > │ let v385 : US0 = US0_4 │
00:30:44 verbose #95450 > │ let v386 : (unit -> string) = closure42() │
00:30:44 verbose #95451 > │ let v387 : (unit -> string) = closure43(v372, v384) │
00:30:44 verbose #95452 > │ method5(v385, v386, v387) │
00:30:44 verbose #95453 > │ | US10_0 -> (* Ok *) │
00:30:44 verbose #95454 > │ let v381 : US0 = US0_0 │
00:30:44 verbose #95455 > │ let v382 : (unit -> string) = closure44() │
00:30:44 verbose #95456 > │ let v383 : (unit -> string) = closure45(v372) │
00:30:44 verbose #95457 > │ method5(v381, v382, v383) │
00:30:44 verbose #95458 > │ let v388 : System.IDisposable option = None │
00:30:44 verbose #95459 > │ let v389 : bool = true in let mutable _v388 = v388 │
00:30:44 verbose #95460 > │ │
00:30:44 verbose #95461 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95462 > │ │
00:30:44 verbose #95463 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95464 > │ let v390 : (unit -> unit) = closure46(v372) │
00:30:44 verbose #95465 > │ let v391 : System.IDisposable = new Disposable (fun () -> │
00:30:44 verbose #95466 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:30:44 verbose #95467 > │ v391 │
00:30:44 verbose #95468 > │ #endif │
00:30:44 verbose #95469 > │ │
00:30:44 verbose #95470 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95471 > │ let v392 : System.IDisposable = new Disposable (fun () -> │
00:30:44 verbose #95472 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:30:44 verbose #95473 > │ v392 │
00:30:44 verbose #95474 > │ #endif │
00:30:44 verbose #95475 > │ │
00:30:44 verbose #95476 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95477 > │ let v393 : System.IDisposable = new Disposable (fun () -> │
00:30:44 verbose #95478 > │ Fable.Core.RustInterop.emitRustExpr v390 "$0()" ) │
00:30:44 verbose #95479 > │ v393 │
00:30:44 verbose #95480 > │ #endif │
00:30:44 verbose #95481 > │ │
00:30:44 verbose #95482 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95483 > │ let v394 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95484 > │ v394 │
00:30:44 verbose #95485 > │ #endif │
00:30:44 verbose #95486 > │ │
00:30:44 verbose #95487 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95488 > │ let v395 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95489 > │ v395 │
00:30:44 verbose #95490 > │ #endif │
00:30:44 verbose #95491 > │ │
00:30:44 verbose #95492 > │ #else │
00:30:44 verbose #95493 > │ let v396 : (unit -> unit) = method25(v372) │
00:30:44 verbose #95494 > │ let v397 : System.IDisposable = { new System.IDisposable with member │
00:30:44 verbose #95495 > │ _.Dispose () = v396 () } │
00:30:44 verbose #95496 > │ v397 │
00:30:44 verbose #95497 > │ #endif │
00:30:44 verbose #95498 > │ |> fun x -> _v388 <- Some x │
00:30:44 verbose #95499 > │ let v398 : System.IDisposable = _v388.Value │
00:30:44 verbose #95500 > │ v398 │
00:30:44 verbose #95501 > │ #endif │
00:30:44 verbose #95502 > │ │
00:30:44 verbose #95503 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95504 > │ let v399 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95505 > │ v399 │
00:30:44 verbose #95506 > │ #endif │
00:30:44 verbose #95507 > │ │
00:30:44 verbose #95508 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95509 > │ let v400 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95510 > │ v400 │
00:30:44 verbose #95511 > │ #endif │
00:30:44 verbose #95512 > │ │
00:30:44 verbose #95513 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95514 > │ let v401 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95515 > │ v401 │
00:30:44 verbose #95516 > │ #endif │
00:30:44 verbose #95517 > │ │
00:30:44 verbose #95518 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95519 > │ let v402 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95520 > │ v402 │
00:30:44 verbose #95521 > │ #endif │
00:30:44 verbose #95522 > │ │
00:30:44 verbose #95523 > │ #else │
00:30:44 verbose #95524 > │ let v403 : System.IO.DirectoryInfo option = None │
00:30:44 verbose #95525 > │ let v404 : bool = true in let mutable _v403 = v403 │
00:30:44 verbose #95526 > │ │
00:30:44 verbose #95527 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95528 > │ │
00:30:44 verbose #95529 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95530 > │ let v405 : System.IO.DirectoryInfo = null |> │
00:30:44 verbose #95531 > │ unbox<System.IO.DirectoryInfo> │
00:30:44 verbose #95532 > │ v405 │
00:30:44 verbose #95533 > │ #endif │
00:30:44 verbose #95534 > │ │
00:30:44 verbose #95535 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95536 > │ let v406 : System.IO.DirectoryInfo = null |> │
00:30:44 verbose #95537 > │ unbox<System.IO.DirectoryInfo> │
00:30:44 verbose #95538 > │ v406 │
00:30:44 verbose #95539 > │ #endif │
00:30:44 verbose #95540 > │ │
00:30:44 verbose #95541 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95542 > │ let v407 : System.IO.DirectoryInfo = null |> │
00:30:44 verbose #95543 > │ unbox<System.IO.DirectoryInfo> │
00:30:44 verbose #95544 > │ v407 │
00:30:44 verbose #95545 > │ #endif │
00:30:44 verbose #95546 > │ │
00:30:44 verbose #95547 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95548 > │ let v408 : System.IO.DirectoryInfo = null |> │
00:30:44 verbose #95549 > │ unbox<System.IO.DirectoryInfo> │
00:30:44 verbose #95550 > │ v408 │
00:30:44 verbose #95551 > │ #endif │
00:30:44 verbose #95552 > │ │
00:30:44 verbose #95553 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95554 > │ let v409 : System.IO.DirectoryInfo = null |> │
00:30:44 verbose #95555 > │ unbox<System.IO.DirectoryInfo> │
00:30:44 verbose #95556 > │ v409 │
00:30:44 verbose #95557 > │ #endif │
00:30:44 verbose #95558 > │ │
00:30:44 verbose #95559 > │ #else │
00:30:44 verbose #95560 > │ let v410 : (string -> System.IO.DirectoryInfo) = │
00:30:44 verbose #95561 > │ System.IO.Directory.CreateDirectory │
00:30:44 verbose #95562 > │ let v411 : System.IO.DirectoryInfo = v410 v369 │
00:30:44 verbose #95563 > │ v411 │
00:30:44 verbose #95564 > │ #endif │
00:30:44 verbose #95565 > │ |> fun x -> _v403 <- Some x │
00:30:44 verbose #95566 > │ let v412 : System.IO.DirectoryInfo = _v403.Value │
00:30:44 verbose #95567 > │ let v413 : bool option = None │
00:30:44 verbose #95568 > │ let v414 : bool = true in let mutable _v413 = v413 │
00:30:44 verbose #95569 > │ │
00:30:44 verbose #95570 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95571 > │ │
00:30:44 verbose #95572 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95573 > │ let v415 : bool = null |> unbox<bool> │
00:30:44 verbose #95574 > │ v415 │
00:30:44 verbose #95575 > │ #endif │
00:30:44 verbose #95576 > │ │
00:30:44 verbose #95577 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95578 > │ let v416 : bool = null |> unbox<bool> │
00:30:44 verbose #95579 > │ v416 │
00:30:44 verbose #95580 > │ #endif │
00:30:44 verbose #95581 > │ │
00:30:44 verbose #95582 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95583 > │ let v417 : bool = null |> unbox<bool> │
00:30:44 verbose #95584 > │ v417 │
00:30:44 verbose #95585 > │ #endif │
00:30:44 verbose #95586 > │ │
00:30:44 verbose #95587 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95588 > │ let v418 : bool = null |> unbox<bool> │
00:30:44 verbose #95589 > │ v418 │
00:30:44 verbose #95590 > │ #endif │
00:30:44 verbose #95591 > │ │
00:30:44 verbose #95592 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95593 > │ let v419 : bool = null |> unbox<bool> │
00:30:44 verbose #95594 > │ v419 │
00:30:44 verbose #95595 > │ #endif │
00:30:44 verbose #95596 > │ │
00:30:44 verbose #95597 > │ #else │
00:30:44 verbose #95598 > │ let v420 : bool = v412.Exists │
00:30:44 verbose #95599 > │ v420 │
00:30:44 verbose #95600 > │ #endif │
00:30:44 verbose #95601 > │ |> fun x -> _v413 <- Some x │
00:30:44 verbose #95602 > │ let v421 : bool = _v413.Value │
00:30:44 verbose #95603 > │ let v422 : bool = v421 = false │
00:30:44 verbose #95604 > │ if v422 then │
00:30:44 verbose #95605 > │ let v423 : System.DateTime option = None │
00:30:44 verbose #95606 > │ let v424 : bool = true in let mutable _v423 = v423 │
00:30:44 verbose #95607 > │ │
00:30:44 verbose #95608 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95609 > │ │
00:30:44 verbose #95610 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95611 > │ let v425 : System.DateTime = null |> unbox<System.DateTime> │
00:30:44 verbose #95612 > │ v425 │
00:30:44 verbose #95613 > │ #endif │
00:30:44 verbose #95614 > │ │
00:30:44 verbose #95615 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95616 > │ let v426 : System.DateTime = null |> unbox<System.DateTime> │
00:30:44 verbose #95617 > │ v426 │
00:30:44 verbose #95618 > │ #endif │
00:30:44 verbose #95619 > │ │
00:30:44 verbose #95620 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95621 > │ let v427 : System.DateTime = null |> unbox<System.DateTime> │
00:30:44 verbose #95622 > │ v427 │
00:30:44 verbose #95623 > │ #endif │
00:30:44 verbose #95624 > │ │
00:30:44 verbose #95625 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95626 > │ let v428 : System.DateTime = null |> unbox<System.DateTime> │
00:30:44 verbose #95627 > │ v428 │
00:30:44 verbose #95628 > │ #endif │
00:30:44 verbose #95629 > │ │
00:30:44 verbose #95630 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95631 > │ let v429 : System.DateTime = null |> unbox<System.DateTime> │
00:30:44 verbose #95632 > │ v429 │
00:30:44 verbose #95633 > │ #endif │
00:30:44 verbose #95634 > │ │
00:30:44 verbose #95635 > │ #else │
00:30:44 verbose #95636 > │ let v430 : System.DateTime = v412.CreationTime │
00:30:44 verbose #95637 > │ v430 │
00:30:44 verbose #95638 > │ #endif │
00:30:44 verbose #95639 > │ |> fun x -> _v423 <- Some x │
00:30:44 verbose #95640 > │ let v431 : System.DateTime = _v423.Value │
00:30:44 verbose #95641 > │ let v432 : obj = {| Exists = v421; CreationTime = v431 |} │
00:30:44 verbose #95642 > │ let v433 : string = $"%A{v432}" │
00:30:44 verbose #95643 > │ let v434 : US0 = US0_1 │
00:30:44 verbose #95644 > │ let v435 : (unit -> string) = closure47() │
00:30:44 verbose #95645 > │ let v436 : (unit -> string) = closure48(v369, v433) │
00:30:44 verbose #95646 > │ method5(v434, v435, v436) │
00:30:44 verbose #95647 > │ let v437 : System.IDisposable option = None │
00:30:44 verbose #95648 > │ let v438 : bool = true in let mutable _v437 = v437 │
00:30:44 verbose #95649 > │ │
00:30:44 verbose #95650 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95651 > │ │
00:30:44 verbose #95652 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95653 > │ let v439 : (unit -> unit) = closure49(v369) │
00:30:44 verbose #95654 > │ let v440 : System.IDisposable = new Disposable (fun () -> │
00:30:44 verbose #95655 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:30:44 verbose #95656 > │ v440 │
00:30:44 verbose #95657 > │ #endif │
00:30:44 verbose #95658 > │ │
00:30:44 verbose #95659 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95660 > │ let v441 : System.IDisposable = new Disposable (fun () -> │
00:30:44 verbose #95661 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:30:44 verbose #95662 > │ v441 │
00:30:44 verbose #95663 > │ #endif │
00:30:44 verbose #95664 > │ │
00:30:44 verbose #95665 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95666 > │ let v442 : System.IDisposable = new Disposable (fun () -> │
00:30:44 verbose #95667 > │ Fable.Core.RustInterop.emitRustExpr v439 "$0()" ) │
00:30:44 verbose #95668 > │ v442 │
00:30:44 verbose #95669 > │ #endif │
00:30:44 verbose #95670 > │ │
00:30:44 verbose #95671 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95672 > │ let v443 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95673 > │ v443 │
00:30:44 verbose #95674 > │ #endif │
00:30:44 verbose #95675 > │ │
00:30:44 verbose #95676 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95677 > │ let v444 : System.IDisposable = null |> unbox<System.IDisposable> │
00:30:44 verbose #95678 > │ v444 │
00:30:44 verbose #95679 > │ #endif │
00:30:44 verbose #95680 > │ │
00:30:44 verbose #95681 > │ #else │
00:30:44 verbose #95682 > │ let v445 : (unit -> unit) = method26(v369) │
00:30:44 verbose #95683 > │ let v446 : System.IDisposable = { new System.IDisposable with member │
00:30:44 verbose #95684 > │ _.Dispose () = v445 () } │
00:30:44 verbose #95685 > │ v446 │
00:30:44 verbose #95686 > │ #endif │
00:30:44 verbose #95687 > │ |> fun x -> _v437 <- Some x │
00:30:44 verbose #95688 > │ let v447 : System.IDisposable = _v437.Value │
00:30:44 verbose #95689 > │ v447 │
00:30:44 verbose #95690 > │ #endif │
00:30:44 verbose #95691 > │ |> fun x -> _v370 <- Some x │
00:30:44 verbose #95692 > │ let v448 : System.IDisposable = _v370.Value │
00:30:44 verbose #95693 > │ struct (v369, v448) │
00:30:44 verbose #95694 > │ and closure50 () () : string = │
00:30:44 verbose #95695 > │ let v0 : string = __SOURCE_DIRECTORY__ │
00:30:44 verbose #95696 > │ v0 │
00:30:44 verbose #95697 > │ and closure54 () (v0 : string) : bool = │
00:30:44 verbose #95698 > │ let v1 : bool option = None │
00:30:44 verbose #95699 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:44 verbose #95700 > │ │
00:30:44 verbose #95701 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95702 > │ │
00:30:44 verbose #95703 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95704 > │ let v3 : string = method4(v0) │
00:30:44 verbose #95705 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:44 verbose #95706 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:30:44 verbose #95707 > │ let v6 : string = "String::from($0)" │
00:30:44 verbose #95708 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:30:44 verbose #95709 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:30:44 verbose #95710 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:30:44 verbose #95711 > │ let v10 : string = "$0.exists()" │
00:30:44 verbose #95712 > │ let v11 : bool = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:30:44 verbose #95713 > │ let v14 : bool = │
00:30:44 verbose #95714 > │ if v11 then │
00:30:44 verbose #95715 > │ let v12 : string = "$0.is_file()" │
00:30:44 verbose #95716 > │ let v13 : bool = Fable.Core.RustInterop.emitRustExpr v9 v12 │
00:30:44 verbose #95717 > │ v13 │
00:30:44 verbose #95718 > │ else │
00:30:44 verbose #95719 > │ false │
00:30:44 verbose #95720 > │ v14 │
00:30:44 verbose #95721 > │ #endif │
00:30:44 verbose #95722 > │ │
00:30:44 verbose #95723 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95724 > │ let v15 : bool = null |> unbox<bool> │
00:30:44 verbose #95725 > │ v15 │
00:30:44 verbose #95726 > │ #endif │
00:30:44 verbose #95727 > │ │
00:30:44 verbose #95728 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95729 > │ let v16 : bool = null |> unbox<bool> │
00:30:44 verbose #95730 > │ v16 │
00:30:44 verbose #95731 > │ #endif │
00:30:44 verbose #95732 > │ │
00:30:44 verbose #95733 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95734 > │ let v17 : string = "fs" │
00:30:44 verbose #95735 > │ let v18 : IFsExistsSync = Fable.Core.JsInterop.importAll v17 │
00:30:44 verbose #95736 > │ let v19 : string = "v18.existsSync($0)" │
00:30:44 verbose #95737 > │ let v20 : bool = Fable.Core.JsInterop.emitJsExpr v0 v19 │
00:30:44 verbose #95738 > │ v20 │
00:30:44 verbose #95739 > │ #endif │
00:30:44 verbose #95740 > │ │
00:30:44 verbose #95741 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95742 > │ let v21 : bool = null |> unbox<bool> │
00:30:44 verbose #95743 > │ v21 │
00:30:44 verbose #95744 > │ #endif │
00:30:44 verbose #95745 > │ │
00:30:44 verbose #95746 > │ #else │
00:30:44 verbose #95747 > │ let v22 : (string -> bool) = System.IO.File.Exists │
00:30:44 verbose #95748 > │ let v23 : bool = v22 v0 │
00:30:44 verbose #95749 > │ v23 │
00:30:44 verbose #95750 > │ #endif │
00:30:44 verbose #95751 > │ |> fun x -> _v1 <- Some x │
00:30:44 verbose #95752 > │ let v24 : bool = _v1.Value │
00:30:44 verbose #95753 > │ v24 │
00:30:44 verbose #95754 > │ and closure55 () (v0 : string) : bool = │
00:30:44 verbose #95755 > │ let v1 : bool option = None │
00:30:44 verbose #95756 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:44 verbose #95757 > │ │
00:30:44 verbose #95758 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95759 > │ │
00:30:44 verbose #95760 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95761 > │ let v3 : string = method4(v0) │
00:30:44 verbose #95762 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:44 verbose #95763 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:30:44 verbose #95764 > │ let v6 : string = "String::from($0)" │
00:30:44 verbose #95765 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:30:44 verbose #95766 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:30:44 verbose #95767 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:30:44 verbose #95768 > │ let v10 : string = "$0.exists()" │
00:30:44 verbose #95769 > │ let v11 : bool = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:30:44 verbose #95770 > │ let v14 : bool = │
00:30:44 verbose #95771 > │ if v11 then │
00:30:44 verbose #95772 > │ let v12 : string = "$0.is_dir()" │
00:30:44 verbose #95773 > │ let v13 : bool = Fable.Core.RustInterop.emitRustExpr v9 v12 │
00:30:44 verbose #95774 > │ v13 │
00:30:44 verbose #95775 > │ else │
00:30:44 verbose #95776 > │ false │
00:30:44 verbose #95777 > │ v14 │
00:30:44 verbose #95778 > │ #endif │
00:30:44 verbose #95779 > │ │
00:30:44 verbose #95780 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95781 > │ let v15 : bool = null |> unbox<bool> │
00:30:44 verbose #95782 > │ v15 │
00:30:44 verbose #95783 > │ #endif │
00:30:44 verbose #95784 > │ │
00:30:44 verbose #95785 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95786 > │ let v16 : bool = null |> unbox<bool> │
00:30:44 verbose #95787 > │ v16 │
00:30:44 verbose #95788 > │ #endif │
00:30:44 verbose #95789 > │ │
00:30:44 verbose #95790 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95791 > │ let v17 : string = "fs" │
00:30:44 verbose #95792 > │ let v18 : IFsExistsSync = Fable.Core.JsInterop.importAll v17 │
00:30:44 verbose #95793 > │ let v19 : string = "v18.existsSync($0)" │
00:30:44 verbose #95794 > │ let v20 : bool = Fable.Core.JsInterop.emitJsExpr v0 v19 │
00:30:44 verbose #95795 > │ v20 │
00:30:44 verbose #95796 > │ #endif │
00:30:44 verbose #95797 > │ │
00:30:44 verbose #95798 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95799 > │ let v21 : bool = null |> unbox<bool> │
00:30:44 verbose #95800 > │ v21 │
00:30:44 verbose #95801 > │ #endif │
00:30:44 verbose #95802 > │ │
00:30:44 verbose #95803 > │ #else │
00:30:44 verbose #95804 > │ let v22 : (string -> bool) = System.IO.Directory.Exists │
00:30:44 verbose #95805 > │ let v23 : bool = v22 v0 │
00:30:44 verbose #95806 > │ v23 │
00:30:44 verbose #95807 > │ #endif │
00:30:44 verbose #95808 > │ |> fun x -> _v1 <- Some x │
00:30:44 verbose #95809 > │ let v24 : bool = _v1.Value │
00:30:44 verbose #95810 > │ v24 │
00:30:44 verbose #95811 > │ and closure56 () (v0 : string) : string option = │
00:30:44 verbose #95812 > │ let v1 : US9 option = None │
00:30:44 verbose #95813 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:44 verbose #95814 > │ │
00:30:44 verbose #95815 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95816 > │ │
00:30:44 verbose #95817 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95818 > │ let v3 : string = method4(v0) │
00:30:44 verbose #95819 > │ let v4 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:44 verbose #95820 > │ let v5 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v3 v4 │
00:30:44 verbose #95821 > │ let v6 : string = "String::from($0)" │
00:30:44 verbose #95822 > │ let v7 : std_string_String = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:30:44 verbose #95823 > │ let v8 : string = "std::path::PathBuf::from($0)" │
00:30:44 verbose #95824 > │ let v9 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:30:44 verbose #95825 > │ let v10 : string = "$0.parent().map(std::path::PathBuf::from)" │
00:30:44 verbose #95826 > │ let v11 : std_path_PathBuf option = Fable.Core.RustInterop.emitRustExpr │
00:30:44 verbose #95827 > │ v9 v10 │
00:30:44 verbose #95828 > │ let v12 : string = "$0?" │
00:30:44 verbose #95829 > │ let v13 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:30:44 verbose #95830 > │ let v14 : string = "$0.display()" │
00:30:44 verbose #95831 > │ let v15 : std_path_Display = Fable.Core.RustInterop.emitRustExpr v13 v14 │
00:30:44 verbose #95832 > │ let v16 : std_string_String option = None │
00:30:44 verbose #95833 > │ let v17 : bool = true in let mutable _v16 = v16 │
00:30:44 verbose #95834 > │ │
00:30:44 verbose #95835 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95836 > │ │
00:30:44 verbose #95837 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95838 > │ let v18 : string = @$"format!(""{{}}"", $0)" │
00:30:44 verbose #95839 > │ let v19 : std_string_String = Fable.Core.RustInterop.emitRustExpr v15 │
00:30:44 verbose #95840 > │ v18 │
00:30:44 verbose #95841 > │ v19 │
00:30:44 verbose #95842 > │ #endif │
00:30:44 verbose #95843 > │ │
00:30:44 verbose #95844 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95845 > │ let v20 : string = @$"format!(""{{}}"", $0)" │
00:30:44 verbose #95846 > │ let v21 : std_string_String = Fable.Core.RustInterop.emitRustExpr v15 │
00:30:44 verbose #95847 > │ v20 │
00:30:44 verbose #95848 > │ v21 │
00:30:44 verbose #95849 > │ #endif │
00:30:44 verbose #95850 > │ │
00:30:44 verbose #95851 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95852 > │ let v22 : string = @$"format!(""{{}}"", $0)" │
00:30:44 verbose #95853 > │ let v23 : std_string_String = Fable.Core.RustInterop.emitRustExpr v15 │
00:30:44 verbose #95854 > │ v22 │
00:30:44 verbose #95855 > │ v23 │
00:30:44 verbose #95856 > │ #endif │
00:30:44 verbose #95857 > │ │
00:30:44 verbose #95858 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95859 > │ let v24 : std_string_String = null |> unbox<std_string_String> │
00:30:44 verbose #95860 > │ v24 │
00:30:44 verbose #95861 > │ #endif │
00:30:44 verbose #95862 > │ │
00:30:44 verbose #95863 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95864 > │ let v25 : std_string_String = null |> unbox<std_string_String> │
00:30:44 verbose #95865 > │ v25 │
00:30:44 verbose #95866 > │ #endif │
00:30:44 verbose #95867 > │ │
00:30:44 verbose #95868 > │ #else │
00:30:44 verbose #95869 > │ let v26 : std_string_String = null |> unbox<std_string_String> │
00:30:44 verbose #95870 > │ v26 │
00:30:44 verbose #95871 > │ #endif │
00:30:44 verbose #95872 > │ |> fun x -> _v16 <- Some x │
00:30:44 verbose #95873 > │ let v27 : std_string_String = _v16.Value │
00:30:44 verbose #95874 > │ let v28 : string = "fable_library_rust::String_::fromString($0)" │
00:30:44 verbose #95875 > │ let v29 : string = Fable.Core.RustInterop.emitRustExpr v27 v28 │
00:30:44 verbose #95876 > │ let v30 : US9 = US9_0(v29) │
00:30:44 verbose #95877 > │ v30 │
00:30:44 verbose #95878 > │ #endif │
00:30:44 verbose #95879 > │ │
00:30:44 verbose #95880 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95881 > │ let v31 : US9 = null |> unbox<US9> │
00:30:44 verbose #95882 > │ v31 │
00:30:44 verbose #95883 > │ #endif │
00:30:44 verbose #95884 > │ │
00:30:44 verbose #95885 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95886 > │ let v32 : US9 = null |> unbox<US9> │
00:30:44 verbose #95887 > │ v32 │
00:30:44 verbose #95888 > │ #endif │
00:30:44 verbose #95889 > │ │
00:30:44 verbose #95890 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95891 > │ let v33 : string = "path" │
00:30:44 verbose #95892 > │ let v34 : IPathDirname = Fable.Core.JsInterop.importAll v33 │
00:30:44 verbose #95893 > │ let v35 : string = "v34.dirname($0)" │
00:30:44 verbose #95894 > │ let v36 : string = Fable.Core.JsInterop.emitJsExpr v0 v35 │
00:30:44 verbose #95895 > │ let v37 : US9 = US9_0(v36) │
00:30:44 verbose #95896 > │ v37 │
00:30:44 verbose #95897 > │ #endif │
00:30:44 verbose #95898 > │ │
00:30:44 verbose #95899 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95900 > │ let v38 : US9 = null |> unbox<US9> │
00:30:44 verbose #95901 > │ v38 │
00:30:44 verbose #95902 > │ #endif │
00:30:44 verbose #95903 > │ │
00:30:44 verbose #95904 > │ #else │
00:30:44 verbose #95905 > │ let v39 : (string -> System.IO.DirectoryInfo) = │
00:30:44 verbose #95906 > │ System.IO.Directory.GetParent │
00:30:44 verbose #95907 > │ let v40 : System.IO.DirectoryInfo = v39 v0 │
00:30:44 verbose #95908 > │ let v41 : System.IO.DirectoryInfo = null |> │
00:30:44 verbose #95909 > │ unbox<System.IO.DirectoryInfo> │
00:30:44 verbose #95910 > │ let v42 : bool = v40 = v41 │
00:30:44 verbose #95911 > │ let v54 : US9 = │
00:30:44 verbose #95912 > │ if v42 then │
00:30:44 verbose #95913 > │ US9_1 │
00:30:44 verbose #95914 > │ else │
00:30:44 verbose #95915 > │ let v44 : string option = None │
00:30:44 verbose #95916 > │ let v45 : bool = true in let mutable _v44 = v44 │
00:30:44 verbose #95917 > │ │
00:30:44 verbose #95918 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #95919 > │ │
00:30:44 verbose #95920 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #95921 > │ let v46 : string = null |> unbox<string> │
00:30:44 verbose #95922 > │ v46 │
00:30:44 verbose #95923 > │ #endif │
00:30:44 verbose #95924 > │ │
00:30:44 verbose #95925 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #95926 > │ let v47 : string = null |> unbox<string> │
00:30:44 verbose #95927 > │ v47 │
00:30:44 verbose #95928 > │ #endif │
00:30:44 verbose #95929 > │ │
00:30:44 verbose #95930 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #95931 > │ let v48 : string = null |> unbox<string> │
00:30:44 verbose #95932 > │ v48 │
00:30:44 verbose #95933 > │ #endif │
00:30:44 verbose #95934 > │ │
00:30:44 verbose #95935 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #95936 > │ let v49 : string = null |> unbox<string> │
00:30:44 verbose #95937 > │ v49 │
00:30:44 verbose #95938 > │ #endif │
00:30:44 verbose #95939 > │ │
00:30:44 verbose #95940 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #95941 > │ let v50 : string = null |> unbox<string> │
00:30:44 verbose #95942 > │ v50 │
00:30:44 verbose #95943 > │ #endif │
00:30:44 verbose #95944 > │ │
00:30:44 verbose #95945 > │ #else │
00:30:44 verbose #95946 > │ let v51 : string = v40.FullName │
00:30:44 verbose #95947 > │ v51 │
00:30:44 verbose #95948 > │ #endif │
00:30:44 verbose #95949 > │ |> fun x -> _v44 <- Some x │
00:30:44 verbose #95950 > │ let v52 : string = _v44.Value │
00:30:44 verbose #95951 > │ US9_0(v52) │
00:30:44 verbose #95952 > │ v54 │
00:30:44 verbose #95953 > │ #endif │
00:30:44 verbose #95954 > │ |> fun x -> _v1 <- Some x │
00:30:44 verbose #95955 > │ let v55 : US9 = _v1.Value │
00:30:44 verbose #95956 > │ match v55 with │
00:30:44 verbose #95957 > │ | US9_1 -> (* None *) │
00:30:44 verbose #95958 > │ let v58 : string option = None │
00:30:44 verbose #95959 > │ v58 │
00:30:44 verbose #95960 > │ | US9_0(v56) -> (* Some *) │
00:30:44 verbose #95961 > │ let v57 : string option = Some v56 │
00:30:44 verbose #95962 > │ v57 │
00:30:44 verbose #95963 > │ and method28 () : (string -> string option) = │
00:30:44 verbose #95964 > │ closure56() │
00:30:44 verbose #95965 > │ and closure57 () (v0 : string) : US9 = │
00:30:44 verbose #95966 > │ US9_0(v0) │
00:30:44 verbose #95967 > │ and method29 () : (string -> US9) = │
00:30:44 verbose #95968 > │ closure57() │
00:30:44 verbose #95969 > │ and method30 (v0 : string, v1 : bool, v2 : string, v3 : string) : string = │
00:30:44 verbose #95970 > │ let v4 : string = method15(v3, v0) │
00:30:44 verbose #95971 > │ let v7 : (string -> bool) = │
00:30:44 verbose #95972 > │ if v1 then │
00:30:44 verbose #95973 > │ closure54() │
00:30:44 verbose #95974 > │ else │
00:30:44 verbose #95975 > │ closure55() │
00:30:44 verbose #95976 > │ let v8 : bool = v7 v4 │
00:30:44 verbose #95977 > │ if v8 then │
00:30:44 verbose #95978 > │ v3 │
00:30:44 verbose #95979 > │ else │
00:30:44 verbose #95980 > │ let v9 : (string -> string option) = method28() │
00:30:44 verbose #95981 > │ let v10 : string option = v9 v3 │
00:30:44 verbose #95982 > │ let v11 : (string -> US9) = method29() │
00:30:44 verbose #95983 > │ let v12 : US9 = US9_1 │
00:30:44 verbose #95984 > │ let v13 : US9 = v10 |> Option.map v11 |> Option.defaultValue v12 │
00:30:44 verbose #95985 > │ match v13 with │
00:30:44 verbose #95986 > │ | US9_1 -> (* None *) │
00:30:44 verbose #95987 > │ let v16 : string = $"""No parent for {if v1 then "file" else │
00:30:44 verbose #95988 > │ "dir"} '{v0}' at '{v2}' (until '{v3}')""" │
00:30:44 verbose #95989 > │ failwith<string> v16 │
00:30:44 verbose #95990 > │ | US9_0(v14) -> (* Some *) │
00:30:44 verbose #95991 > │ method30(v0, v1, v2, v14) │
00:30:44 verbose #95992 > │ and method27 (v0 : string, v1 : bool, v2 : string) : string = │
00:30:44 verbose #95993 > │ let v3 : string = method15(v2, v0) │
00:30:44 verbose #95994 > │ let v6 : (string -> bool) = │
00:30:44 verbose #95995 > │ if v1 then │
00:30:44 verbose #95996 > │ closure54() │
00:30:44 verbose #95997 > │ else │
00:30:44 verbose #95998 > │ closure55() │
00:30:44 verbose #95999 > │ let v7 : bool = v6 v3 │
00:30:44 verbose #96000 > │ if v7 then │
00:30:44 verbose #96001 > │ v2 │
00:30:44 verbose #96002 > │ else │
00:30:44 verbose #96003 > │ let v8 : (string -> string option) = method28() │
00:30:44 verbose #96004 > │ let v9 : string option = v8 v2 │
00:30:44 verbose #96005 > │ let v10 : (string -> US9) = method29() │
00:30:44 verbose #96006 > │ let v11 : US9 = US9_1 │
00:30:44 verbose #96007 > │ let v12 : US9 = v9 |> Option.map v10 |> Option.defaultValue v11 │
00:30:44 verbose #96008 > │ match v12 with │
00:30:44 verbose #96009 > │ | US9_1 -> (* None *) │
00:30:44 verbose #96010 > │ let v15 : string = $"""No parent for {if v1 then "file" else │
00:30:44 verbose #96011 > │ "dir"} '{v0}' at '{v2}' (until '{v2}')""" │
00:30:44 verbose #96012 > │ failwith<string> v15 │
00:30:44 verbose #96013 > │ | US9_0(v13) -> (* Some *) │
00:30:44 verbose #96014 > │ method30(v0, v1, v2, v13) │
00:30:44 verbose #96015 > │ and closure53 (v0 : string, v1 : bool) (v2 : string) : string = │
00:30:44 verbose #96016 > │ method27(v0, v1, v2) │
00:30:44 verbose #96017 > │ and closure52 (v0 : string) (v1 : bool) : (string -> string) = │
00:30:44 verbose #96018 > │ closure53(v0, v1) │
00:30:44 verbose #96019 > │ and closure51 () (v0 : string) : (bool -> (string -> string)) = │
00:30:44 verbose #96020 > │ closure52(v0) │
00:30:44 verbose #96021 > │ and method31 () : string = │
00:30:44 verbose #96022 > │ let v0 : string = "^\\\\\\\\\\?\\\\" │
00:30:44 verbose #96023 > │ v0 │
00:30:44 verbose #96024 > │ and method32 (v0 : string) : string = │
00:30:44 verbose #96025 > │ v0 │
00:30:44 verbose #96026 > │ and method33 () : string = │
00:30:44 verbose #96027 > │ let v0 : string = "" │
00:30:44 verbose #96028 > │ v0 │
00:30:44 verbose #96029 > │ and closure58 () (v0 : string) : string = │
00:30:44 verbose #96030 > │ let v1 : string option = None │
00:30:44 verbose #96031 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:44 verbose #96032 > │ │
00:30:44 verbose #96033 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #96034 > │ │
00:30:44 verbose #96035 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #96036 > │ let v3 : string = method31() │
00:30:44 verbose #96037 > │ let v4 : string = method32(v0) │
00:30:44 verbose #96038 > │ let v5 : string = method33() │
00:30:44 verbose #96039 > │ let v6 : string = $"regex::Regex::new(&$0).unwrap().replace_all(&$1, │
00:30:44 verbose #96040 > │ &*$2)" │
00:30:44 verbose #96041 > │ let v7 : std_borrow_Cow<Str> = Fable.Core.RustInterop.emitRustExpr │
00:30:44 verbose #96042 > │ struct (v3, v4, v5) v6 │
00:30:44 verbose #96043 > │ let v8 : string = "String::from($0)" │
00:30:44 verbose #96044 > │ let v9 : std_string_String = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:30:44 verbose #96045 > │ let v10 : string = "fable_library_rust::String_::fromString($0)" │
00:30:44 verbose #96046 > │ let v11 : string = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:30:44 verbose #96047 > │ v11 │
00:30:44 verbose #96048 > │ #endif │
00:30:44 verbose #96049 > │ │
00:30:44 verbose #96050 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #96051 > │ let v12 : string = null |> unbox<string> │
00:30:44 verbose #96052 > │ v12 │
00:30:44 verbose #96053 > │ #endif │
00:30:44 verbose #96054 > │ │
00:30:44 verbose #96055 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #96056 > │ let v13 : string = null |> unbox<string> │
00:30:44 verbose #96057 > │ v13 │
00:30:44 verbose #96058 > │ #endif │
00:30:44 verbose #96059 > │ │
00:30:44 verbose #96060 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #96061 > │ let v14 : string = null |> unbox<string> │
00:30:44 verbose #96062 > │ v14 │
00:30:44 verbose #96063 > │ #endif │
00:30:44 verbose #96064 > │ │
00:30:44 verbose #96065 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #96066 > │ let v15 : string = null |> unbox<string> │
00:30:44 verbose #96067 > │ v15 │
00:30:44 verbose #96068 > │ #endif │
00:30:44 verbose #96069 > │ │
00:30:44 verbose #96070 > │ #else │
00:30:44 verbose #96071 > │ let v16 : string = "^\\\\\\\\\\?\\\\" │
00:30:44 verbose #96072 > │ let v17 : string = "" │
00:30:44 verbose #96073 > │ let v18 : string = System.Text.RegularExpressions.Regex.Replace (v0, │
00:30:44 verbose #96074 > │ v16, v17) │
00:30:44 verbose #96075 > │ v18 │
00:30:44 verbose #96076 > │ #endif │
00:30:44 verbose #96077 > │ |> fun x -> _v1 <- Some x │
00:30:44 verbose #96078 > │ let v19 : string = _v1.Value │
00:30:44 verbose #96079 > │ let v20 : string = $"{v19.[0] |> string |> _.ToLower()}{v19.[1..]}" │
00:30:44 verbose #96080 > │ let v21 : string = "\\" │
00:30:44 verbose #96081 > │ let v22 : string = "/" │
00:30:44 verbose #96082 > │ let v23 : string = v20.Replace (v21, v22) │
00:30:44 verbose #96083 > │ v23 │
00:30:44 verbose #96084 > │ and closure59 () (v0 : string) : string = │
00:30:44 verbose #96085 > │ let v1 : (char []) = [|'/'|] │
00:30:44 verbose #96086 > │ let v2 : string = v0.TrimStart v1 │
00:30:44 verbose #96087 > │ let v3 : string = $"file:///{v2}" │
00:30:44 verbose #96088 > │ v3 │
00:30:44 verbose #96089 > │ and method35 (v0 : string, v1 : string, v2 : string) : string = │
00:30:44 verbose #96090 > │ let v3 : string = method15(v2, v0) │
00:30:44 verbose #96091 > │ let v4 : bool option = None │
00:30:44 verbose #96092 > │ let v5 : bool = true in let mutable _v4 = v4 │
00:30:44 verbose #96093 > │ │
00:30:44 verbose #96094 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #96095 > │ │
00:30:44 verbose #96096 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #96097 > │ let v6 : string = method4(v3) │
00:30:44 verbose #96098 > │ let v7 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:44 verbose #96099 > │ let v8 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v6 v7 │
00:30:44 verbose #96100 > │ let v9 : string = "String::from($0)" │
00:30:44 verbose #96101 > │ let v10 : std_string_String = Fable.Core.RustInterop.emitRustExpr v8 v9 │
00:30:44 verbose #96102 > │ let v11 : string = "std::path::PathBuf::from($0)" │
00:30:44 verbose #96103 > │ let v12 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v10 v11 │
00:30:44 verbose #96104 > │ let v13 : string = "$0.exists()" │
00:30:44 verbose #96105 > │ let v14 : bool = Fable.Core.RustInterop.emitRustExpr v12 v13 │
00:30:44 verbose #96106 > │ let v17 : bool = │
00:30:44 verbose #96107 > │ if v14 then │
00:30:44 verbose #96108 > │ let v15 : string = "$0.is_dir()" │
00:30:44 verbose #96109 > │ let v16 : bool = Fable.Core.RustInterop.emitRustExpr v12 v15 │
00:30:44 verbose #96110 > │ v16 │
00:30:44 verbose #96111 > │ else │
00:30:44 verbose #96112 > │ false │
00:30:44 verbose #96113 > │ v17 │
00:30:44 verbose #96114 > │ #endif │
00:30:44 verbose #96115 > │ │
00:30:44 verbose #96116 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #96117 > │ let v18 : bool = null |> unbox<bool> │
00:30:44 verbose #96118 > │ v18 │
00:30:44 verbose #96119 > │ #endif │
00:30:44 verbose #96120 > │ │
00:30:44 verbose #96121 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #96122 > │ let v19 : bool = null |> unbox<bool> │
00:30:44 verbose #96123 > │ v19 │
00:30:44 verbose #96124 > │ #endif │
00:30:44 verbose #96125 > │ │
00:30:44 verbose #96126 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #96127 > │ let v20 : string = "fs" │
00:30:44 verbose #96128 > │ let v21 : IFsExistsSync = Fable.Core.JsInterop.importAll v20 │
00:30:44 verbose #96129 > │ let v22 : string = "v21.existsSync($0)" │
00:30:44 verbose #96130 > │ let v23 : bool = Fable.Core.JsInterop.emitJsExpr v3 v22 │
00:30:44 verbose #96131 > │ v23 │
00:30:44 verbose #96132 > │ #endif │
00:30:44 verbose #96133 > │ │
00:30:44 verbose #96134 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #96135 > │ let v24 : bool = null |> unbox<bool> │
00:30:44 verbose #96136 > │ v24 │
00:30:44 verbose #96137 > │ #endif │
00:30:44 verbose #96138 > │ │
00:30:44 verbose #96139 > │ #else │
00:30:44 verbose #96140 > │ let v25 : (string -> bool) = System.IO.Directory.Exists │
00:30:44 verbose #96141 > │ let v26 : bool = v25 v3 │
00:30:44 verbose #96142 > │ v26 │
00:30:44 verbose #96143 > │ #endif │
00:30:44 verbose #96144 > │ |> fun x -> _v4 <- Some x │
00:30:44 verbose #96145 > │ let v27 : bool = _v4.Value │
00:30:44 verbose #96146 > │ if v27 then │
00:30:44 verbose #96147 > │ v2 │
00:30:44 verbose #96148 > │ else │
00:30:44 verbose #96149 > │ let v28 : (string -> string option) = method28() │
00:30:44 verbose #96150 > │ let v29 : string option = v28 v2 │
00:30:44 verbose #96151 > │ let v30 : (string -> US9) = method29() │
00:30:44 verbose #96152 > │ let v31 : US9 = US9_1 │
00:30:44 verbose #96153 > │ let v32 : US9 = v29 |> Option.map v30 |> Option.defaultValue v31 │
00:30:44 verbose #96154 > │ match v32 with │
00:30:44 verbose #96155 > │ | US9_1 -> (* None *) │
00:30:44 verbose #96156 > │ let v35 : string = $"""No parent for {if false then "file" else │
00:30:44 verbose #96157 > │ "dir"} '{v0}' at '{v1}' (until '{v2}')""" │
00:30:44 verbose #96158 > │ failwith<string> v35 │
00:30:44 verbose #96159 > │ | US9_0(v33) -> (* Some *) │
00:30:44 verbose #96160 > │ method35(v0, v1, v33) │
00:30:44 verbose #96161 > │ and method34 (v0 : string, v1 : string) : string = │
00:30:44 verbose #96162 > │ let v2 : string = method15(v1, v0) │
00:30:44 verbose #96163 > │ let v3 : bool option = None │
00:30:44 verbose #96164 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:30:44 verbose #96165 > │ │
00:30:44 verbose #96166 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #96167 > │ │
00:30:44 verbose #96168 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #96169 > │ let v5 : string = method4(v2) │
00:30:44 verbose #96170 > │ let v6 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)" │
00:30:44 verbose #96171 > │ let v7 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v5 v6 │
00:30:44 verbose #96172 > │ let v8 : string = "String::from($0)" │
00:30:44 verbose #96173 > │ let v9 : std_string_String = Fable.Core.RustInterop.emitRustExpr v7 v8 │
00:30:44 verbose #96174 > │ let v10 : string = "std::path::PathBuf::from($0)" │
00:30:44 verbose #96175 > │ let v11 : std_path_PathBuf = Fable.Core.RustInterop.emitRustExpr v9 v10 │
00:30:44 verbose #96176 > │ let v12 : string = "$0.exists()" │
00:30:44 verbose #96177 > │ let v13 : bool = Fable.Core.RustInterop.emitRustExpr v11 v12 │
00:30:44 verbose #96178 > │ let v16 : bool = │
00:30:44 verbose #96179 > │ if v13 then │
00:30:44 verbose #96180 > │ let v14 : string = "$0.is_dir()" │
00:30:44 verbose #96181 > │ let v15 : bool = Fable.Core.RustInterop.emitRustExpr v11 v14 │
00:30:44 verbose #96182 > │ v15 │
00:30:44 verbose #96183 > │ else │
00:30:44 verbose #96184 > │ false │
00:30:44 verbose #96185 > │ v16 │
00:30:44 verbose #96186 > │ #endif │
00:30:44 verbose #96187 > │ │
00:30:44 verbose #96188 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #96189 > │ let v17 : bool = null |> unbox<bool> │
00:30:44 verbose #96190 > │ v17 │
00:30:44 verbose #96191 > │ #endif │
00:30:44 verbose #96192 > │ │
00:30:44 verbose #96193 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #96194 > │ let v18 : bool = null |> unbox<bool> │
00:30:44 verbose #96195 > │ v18 │
00:30:44 verbose #96196 > │ #endif │
00:30:44 verbose #96197 > │ │
00:30:44 verbose #96198 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #96199 > │ let v19 : string = "fs" │
00:30:44 verbose #96200 > │ let v20 : IFsExistsSync = Fable.Core.JsInterop.importAll v19 │
00:30:44 verbose #96201 > │ let v21 : string = "v20.existsSync($0)" │
00:30:44 verbose #96202 > │ let v22 : bool = Fable.Core.JsInterop.emitJsExpr v2 v21 │
00:30:44 verbose #96203 > │ v22 │
00:30:44 verbose #96204 > │ #endif │
00:30:44 verbose #96205 > │ │
00:30:44 verbose #96206 > │ #if FABLE_COMPILER_PYTHON │
00:30:44 verbose #96207 > │ let v23 : bool = null |> unbox<bool> │
00:30:44 verbose #96208 > │ v23 │
00:30:44 verbose #96209 > │ #endif │
00:30:44 verbose #96210 > │ │
00:30:44 verbose #96211 > │ #else │
00:30:44 verbose #96212 > │ let v24 : (string -> bool) = System.IO.Directory.Exists │
00:30:44 verbose #96213 > │ let v25 : bool = v24 v2 │
00:30:44 verbose #96214 > │ v25 │
00:30:44 verbose #96215 > │ #endif │
00:30:44 verbose #96216 > │ |> fun x -> _v3 <- Some x │
00:30:44 verbose #96217 > │ let v26 : bool = _v3.Value │
00:30:44 verbose #96218 > │ if v26 then │
00:30:44 verbose #96219 > │ v1 │
00:30:44 verbose #96220 > │ else │
00:30:44 verbose #96221 > │ let v27 : (string -> string option) = method28() │
00:30:44 verbose #96222 > │ let v28 : string option = v27 v1 │
00:30:44 verbose #96223 > │ let v29 : (string -> US9) = method29() │
00:30:44 verbose #96224 > │ let v30 : US9 = US9_1 │
00:30:44 verbose #96225 > │ let v31 : US9 = v28 |> Option.map v29 |> Option.defaultValue v30 │
00:30:44 verbose #96226 > │ match v31 with │
00:30:44 verbose #96227 > │ | US9_1 -> (* None *) │
00:30:44 verbose #96228 > │ let v34 : string = $"""No parent for {if false then "file" else │
00:30:44 verbose #96229 > │ "dir"} '{v0}' at '{v1}' (until '{v1}')""" │
00:30:44 verbose #96230 > │ failwith<string> v34 │
00:30:44 verbose #96231 > │ | US9_0(v32) -> (* Some *) │
00:30:44 verbose #96232 > │ method35(v0, v1, v32) │
00:30:44 verbose #96233 > │ and closure60 () () : string = │
00:30:44 verbose #96234 > │ let v0 : string = __SOURCE_DIRECTORY__ │
00:30:44 verbose #96235 > │ let v1 : string = "polyglot" │
00:30:44 verbose #96236 > │ let v2 : string = ".paket" │
00:30:44 verbose #96237 > │ let v3 : string = method15(v1, v2) │
00:30:44 verbose #96238 > │ let v4 : string = method34(v3, v0) │
00:30:44 verbose #96239 > │ method15(v4, v1) │
00:30:44 verbose #96240 > │ and method36 (v0 : string) : unit = │
00:30:44 verbose #96241 > │ let v1 : unit option = None │
00:30:44 verbose #96242 > │ let v2 : bool = true in let mutable _v1 = v1 │
00:30:44 verbose #96243 > │ │
00:30:44 verbose #96244 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:44 verbose #96245 > │ │
00:30:44 verbose #96246 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:44 verbose #96247 > │ () │
00:30:44 verbose #96248 > │ #endif │
00:30:44 verbose #96249 > │ │
00:30:44 verbose #96250 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:44 verbose #96251 > │ () │
00:30:44 verbose #96252 > │ #endif │
00:30:44 verbose #96253 > │ │
00:30:44 verbose #96254 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:44 verbose #96255 > │ () │
00:30:44 verbose #96256 > │ #endif │
00:30:44 verbose #96257 > │ │
00:30:44 verbose #96258 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:44 verbose #96259 > │ () │
00:30:44 verbose #96260 > │ #endif │
00:30:44 verbose #96261 > │ │
00:30:44 verbose #96262 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96263 > │ () │
00:30:45 verbose #96264 > │ #endif │
00:30:45 verbose #96265 > │ │
00:30:45 verbose #96266 > │ #else │
00:30:45 verbose #96267 > │ try │
00:30:45 verbose #96268 > │ let v3 : string option = None │
00:30:45 verbose #96269 > │ let v4 : bool = true in let mutable _v3 = v3 │
00:30:45 verbose #96270 > │ │
00:30:45 verbose #96271 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96272 > │ │
00:30:45 verbose #96273 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96274 > │ let v5 : string = "env!(\"CARGO_PKG_NAME\").into()" │
00:30:45 verbose #96275 > │ let v6 : string = Fable.Core.RustInterop.emitRustExpr () v5 │
00:30:45 verbose #96276 > │ v6 │
00:30:45 verbose #96277 > │ #endif │
00:30:45 verbose #96278 > │ │
00:30:45 verbose #96279 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96280 > │ let v7 : string = null |> unbox<string> │
00:30:45 verbose #96281 > │ v7 │
00:30:45 verbose #96282 > │ #endif │
00:30:45 verbose #96283 > │ │
00:30:45 verbose #96284 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96285 > │ let v8 : string = null |> unbox<string> │
00:30:45 verbose #96286 > │ v8 │
00:30:45 verbose #96287 > │ #endif │
00:30:45 verbose #96288 > │ │
00:30:45 verbose #96289 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96290 > │ let v9 : string = null |> unbox<string> │
00:30:45 verbose #96291 > │ v9 │
00:30:45 verbose #96292 > │ #endif │
00:30:45 verbose #96293 > │ │
00:30:45 verbose #96294 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96295 > │ let v10 : string = null |> unbox<string> │
00:30:45 verbose #96296 > │ v10 │
00:30:45 verbose #96297 > │ #endif │
00:30:45 verbose #96298 > │ │
00:30:45 verbose #96299 > │ #else │
00:30:45 verbose #96300 > │ let v11 : string = │
00:30:45 verbose #96301 > │ System.Reflection.Assembly.GetEntryAssembly().GetName().Name │
00:30:45 verbose #96302 > │ v11 │
00:30:45 verbose #96303 > │ #endif │
00:30:45 verbose #96304 > │ |> fun x -> _v3 <- Some x │
00:30:45 verbose #96305 > │ let v12 : string = _v3.Value │
00:30:45 verbose #96306 > │ let v13 : System.DateTime = System.DateTime.Now │
00:30:45 verbose #96307 > │ let v14 : System.Guid = System.Guid.NewGuid () │
00:30:45 verbose #96308 > │ let v15 : (System.Guid -> string) = _.ToString() │
00:30:45 verbose #96309 > │ let v16 : string = v15 v14 │
00:30:45 verbose #96310 > │ let v17 : struct (string * string) option = None │
00:30:45 verbose #96311 > │ let v18 : bool = true in let mutable _v17 = v17 │
00:30:45 verbose #96312 > │ │
00:30:45 verbose #96313 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96314 > │ │
00:30:45 verbose #96315 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96316 > │ let v19 : System.DateTime = System.DateTime (1970, 1, 1, 0, 0, 0, │
00:30:45 verbose #96317 > │ System.DateTimeKind.Utc) │
00:30:45 verbose #96318 > │ let v20 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:45 verbose #96319 > │ let v21 : System.DateTime = v20 v19 │
00:30:45 verbose #96320 > │ let v22 : System.DateTimeKind = System.DateTimeKind.Local │
00:30:45 verbose #96321 > │ let v23 : System.DateTime = System.DateTime.SpecifyKind (v13, v22) │
00:30:45 verbose #96322 > │ let v24 : (System.DateTime -> System.DateTime) = _.ToUniversalTime() │
00:30:45 verbose #96323 > │ let v25 : System.DateTime = v24 v23 │
00:30:45 verbose #96324 > │ let v26 : (System.DateTime -> int64) = _.Ticks │
00:30:45 verbose #96325 > │ let v27 : int64 = v26 v25 │
00:30:45 verbose #96326 > │ let v28 : (System.DateTime -> int64) = _.Ticks │
00:30:45 verbose #96327 > │ let v29 : int64 = v28 v21 │
00:30:45 verbose #96328 > │ let v30 : int64 = v27 - v29 │
00:30:45 verbose #96329 > │ let v31 : int64 = v30 / 10L │
00:30:45 verbose #96330 > │ let v32 : string = "chrono::DateTime::from_timestamp_micros($0)" │
00:30:45 verbose #96331 > │ let v33 : chrono_DateTime<chrono_Utc> option = │
00:30:45 verbose #96332 > │ Fable.Core.RustInterop.emitRustExpr v31 v32 │
00:30:45 verbose #96333 > │ let v34 : (chrono_DateTime<chrono_Utc> -> US8) = method18() │
00:30:45 verbose #96334 > │ let v35 : US8 = US8_1 │
00:30:45 verbose #96335 > │ let v36 : US8 = v33 |> Option.map v34 |> Option.defaultValue v35 │
00:30:45 verbose #96336 > │ let v55 : US9 = │
00:30:45 verbose #96337 > │ match v36 with │
00:30:45 verbose #96338 > │ | US8_1 -> (* None *) │
00:30:45 verbose #96339 > │ US9_1 │
00:30:45 verbose #96340 > │ | US8_0(v37) -> (* Some *) │
00:30:45 verbose #96341 > │ let v38 : chrono_DateTime<chrono_Utc> = method19(v37) │
00:30:45 verbose #96342 > │ let v39 : string = "v38.naive_utc()" │
00:30:45 verbose #96343 > │ let v40 : chrono_NaiveDateTime = │
00:30:45 verbose #96344 > │ Fable.Core.RustInterop.emitRustExpr () v39 │
00:30:45 verbose #96345 > │ let v41 : string = │
00:30:45 verbose #96346 > │ "chrono::offset::TimeZone::from_utc_datetime(&chrono::Local, &v40)" │
00:30:45 verbose #96347 > │ let v42 : chrono_DateTime<chrono_Local> = │
00:30:45 verbose #96348 > │ Fable.Core.RustInterop.emitRustExpr () v41 │
00:30:45 verbose #96349 > │ let v43 : string = "%Y%m%d-%H%M-%S%f" │
00:30:45 verbose #96350 > │ let v44 : string = "r#\"" + v43 + "\"#" │
00:30:45 verbose #96351 > │ let v45 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v44 │
00:30:45 verbose #96352 > │ let v46 : chrono_DateTime<chrono_Local> = method20(v42) │
00:30:45 verbose #96353 > │ let v47 : string = "v46.format(v45).to_string()" │
00:30:45 verbose #96354 > │ let v48 : std_string_String = │
00:30:45 verbose #96355 > │ Fable.Core.RustInterop.emitRustExpr () v47 │
00:30:45 verbose #96356 > │ let v49 : string = "fable_library_rust::String_::fromString($0)" │
00:30:45 verbose #96357 > │ let v50 : string = Fable.Core.RustInterop.emitRustExpr v48 v49 │
00:30:45 verbose #96358 > │ let v51 : string = $"{v50.[0..17]}-{v50.[18..21]}-{v50.[22]}" │
00:30:45 verbose #96359 > │ US9_0(v51) │
00:30:45 verbose #96360 > │ let v59 : string = │
00:30:45 verbose #96361 > │ match v55 with │
00:30:45 verbose #96362 > │ | US9_1 -> (* None *) │
00:30:45 verbose #96363 > │ let v57 : string = "" │
00:30:45 verbose #96364 > │ v57 │
00:30:45 verbose #96365 > │ | US9_0(v56) -> (* Some *) │
00:30:45 verbose #96366 > │ v56 │
00:30:45 verbose #96367 > │ let v60 : System.TimeZoneInfo option = None │
00:30:45 verbose #96368 > │ let v61 : bool = true in let mutable _v60 = v60 │
00:30:45 verbose #96369 > │ │
00:30:45 verbose #96370 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96371 > │ │
00:30:45 verbose #96372 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96373 > │ let v62 : string = "0i64.into()" │
00:30:45 verbose #96374 > │ let v63 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:45 verbose #96375 > │ v62 │
00:30:45 verbose #96376 > │ v63 │
00:30:45 verbose #96377 > │ #endif │
00:30:45 verbose #96378 > │ │
00:30:45 verbose #96379 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96380 > │ let v64 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96381 > │ v64 │
00:30:45 verbose #96382 > │ #endif │
00:30:45 verbose #96383 > │ │
00:30:45 verbose #96384 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96385 > │ let v65 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96386 > │ v65 │
00:30:45 verbose #96387 > │ #endif │
00:30:45 verbose #96388 > │ │
00:30:45 verbose #96389 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96390 > │ let v66 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96391 > │ v66 │
00:30:45 verbose #96392 > │ #endif │
00:30:45 verbose #96393 > │ │
00:30:45 verbose #96394 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96395 > │ let v67 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96396 > │ v67 │
00:30:45 verbose #96397 > │ #endif │
00:30:45 verbose #96398 > │ │
00:30:45 verbose #96399 > │ #else │
00:30:45 verbose #96400 > │ let v68 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:45 verbose #96401 > │ v68 │
00:30:45 verbose #96402 > │ #endif │
00:30:45 verbose #96403 > │ |> fun x -> _v60 <- Some x │
00:30:45 verbose #96404 > │ let v69 : System.TimeZoneInfo = _v60.Value │
00:30:45 verbose #96405 > │ let v70 : System.TimeSpan option = None │
00:30:45 verbose #96406 > │ let v71 : bool = true in let mutable _v70 = v70 │
00:30:45 verbose #96407 > │ │
00:30:45 verbose #96408 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96409 > │ │
00:30:45 verbose #96410 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96411 > │ let v72 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96412 > │ v72 │
00:30:45 verbose #96413 > │ #endif │
00:30:45 verbose #96414 > │ │
00:30:45 verbose #96415 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96416 > │ let v73 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96417 > │ v73 │
00:30:45 verbose #96418 > │ #endif │
00:30:45 verbose #96419 > │ │
00:30:45 verbose #96420 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96421 > │ let v74 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96422 > │ v74 │
00:30:45 verbose #96423 > │ #endif │
00:30:45 verbose #96424 > │ │
00:30:45 verbose #96425 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96426 > │ let v75 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96427 > │ v75 │
00:30:45 verbose #96428 > │ #endif │
00:30:45 verbose #96429 > │ │
00:30:45 verbose #96430 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96431 > │ let v76 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96432 > │ v76 │
00:30:45 verbose #96433 > │ #endif │
00:30:45 verbose #96434 > │ │
00:30:45 verbose #96435 > │ #else │
00:30:45 verbose #96436 > │ let v77 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:45 verbose #96437 > │ = _.GetUtcOffset │
00:30:45 verbose #96438 > │ let v78 : System.TimeZoneInfo option = None │
00:30:45 verbose #96439 > │ let v79 : bool = true in let mutable _v78 = v78 │
00:30:45 verbose #96440 > │ │
00:30:45 verbose #96441 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96442 > │ │
00:30:45 verbose #96443 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96444 > │ let v80 : string = "0i64.into()" │
00:30:45 verbose #96445 > │ let v81 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:45 verbose #96446 > │ v80 │
00:30:45 verbose #96447 > │ v81 │
00:30:45 verbose #96448 > │ #endif │
00:30:45 verbose #96449 > │ │
00:30:45 verbose #96450 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96451 > │ let v82 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96452 > │ v82 │
00:30:45 verbose #96453 > │ #endif │
00:30:45 verbose #96454 > │ │
00:30:45 verbose #96455 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96456 > │ let v83 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96457 > │ v83 │
00:30:45 verbose #96458 > │ #endif │
00:30:45 verbose #96459 > │ │
00:30:45 verbose #96460 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96461 > │ let v84 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96462 > │ v84 │
00:30:45 verbose #96463 > │ #endif │
00:30:45 verbose #96464 > │ │
00:30:45 verbose #96465 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96466 > │ let v85 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96467 > │ v85 │
00:30:45 verbose #96468 > │ #endif │
00:30:45 verbose #96469 > │ │
00:30:45 verbose #96470 > │ #else │
00:30:45 verbose #96471 > │ let v86 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:45 verbose #96472 > │ v86 │
00:30:45 verbose #96473 > │ #endif │
00:30:45 verbose #96474 > │ |> fun x -> _v78 <- Some x │
00:30:45 verbose #96475 > │ let v87 : System.TimeZoneInfo = _v78.Value │
00:30:45 verbose #96476 > │ let v88 : (System.DateTime -> System.TimeSpan) = v77 v87 │
00:30:45 verbose #96477 > │ let v89 : System.TimeSpan = v88 v25 │
00:30:45 verbose #96478 > │ v89 │
00:30:45 verbose #96479 > │ #endif │
00:30:45 verbose #96480 > │ |> fun x -> _v70 <- Some x │
00:30:45 verbose #96481 > │ let v90 : System.TimeSpan = _v70.Value │
00:30:45 verbose #96482 > │ let v91 : (System.TimeSpan -> int32) = _.Hours │
00:30:45 verbose #96483 > │ let v92 : int32 = v91 v90 │
00:30:45 verbose #96484 > │ let v93 : bool = v92 > 0 │
00:30:45 verbose #96485 > │ let v94 : uint8 = │
00:30:45 verbose #96486 > │ if v93 then │
00:30:45 verbose #96487 > │ 1uy │
00:30:45 verbose #96488 > │ else │
00:30:45 verbose #96489 > │ 0uy │
00:30:45 verbose #96490 > │ let v95 : (string -> string) = v90.ToString │
00:30:45 verbose #96491 > │ let v96 : string = "hh:mm" │
00:30:45 verbose #96492 > │ let v97 : string = v95 v96 │
00:30:45 verbose #96493 > │ let v98 : string = $"{v94}{v97.[0..1]}{v97.[3..4]}" │
00:30:45 verbose #96494 > │ struct (v59, v98) │
00:30:45 verbose #96495 > │ #endif │
00:30:45 verbose #96496 > │ │
00:30:45 verbose #96497 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96498 > │ let struct (v99 : string, v100 : string) = null |> unbox<struct (string │
00:30:45 verbose #96499 > │ * string)> │
00:30:45 verbose #96500 > │ struct (v99, v100) │
00:30:45 verbose #96501 > │ #endif │
00:30:45 verbose #96502 > │ │
00:30:45 verbose #96503 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96504 > │ let struct (v101 : string, v102 : string) = null |> unbox<struct (string │
00:30:45 verbose #96505 > │ * string)> │
00:30:45 verbose #96506 > │ struct (v101, v102) │
00:30:45 verbose #96507 > │ #endif │
00:30:45 verbose #96508 > │ │
00:30:45 verbose #96509 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96510 > │ let struct (v103 : string, v104 : string) = null |> unbox<struct (string │
00:30:45 verbose #96511 > │ * string)> │
00:30:45 verbose #96512 > │ struct (v103, v104) │
00:30:45 verbose #96513 > │ #endif │
00:30:45 verbose #96514 > │ │
00:30:45 verbose #96515 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96516 > │ let struct (v105 : string, v106 : string) = null |> unbox<struct (string │
00:30:45 verbose #96517 > │ * string)> │
00:30:45 verbose #96518 > │ struct (v105, v106) │
00:30:45 verbose #96519 > │ #endif │
00:30:45 verbose #96520 > │ │
00:30:45 verbose #96521 > │ #else │
00:30:45 verbose #96522 > │ let v107 : string = method21() │
00:30:45 verbose #96523 > │ let v108 : (string -> string) = v13.ToString │
00:30:45 verbose #96524 > │ let v109 : string = v108 v107 │
00:30:45 verbose #96525 > │ let v110 : System.TimeZoneInfo option = None │
00:30:45 verbose #96526 > │ let v111 : bool = true in let mutable _v110 = v110 │
00:30:45 verbose #96527 > │ │
00:30:45 verbose #96528 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96529 > │ │
00:30:45 verbose #96530 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96531 > │ let v112 : string = "0i64.into()" │
00:30:45 verbose #96532 > │ let v113 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:45 verbose #96533 > │ v112 │
00:30:45 verbose #96534 > │ v113 │
00:30:45 verbose #96535 > │ #endif │
00:30:45 verbose #96536 > │ │
00:30:45 verbose #96537 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96538 > │ let v114 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96539 > │ v114 │
00:30:45 verbose #96540 > │ #endif │
00:30:45 verbose #96541 > │ │
00:30:45 verbose #96542 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96543 > │ let v115 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96544 > │ v115 │
00:30:45 verbose #96545 > │ #endif │
00:30:45 verbose #96546 > │ │
00:30:45 verbose #96547 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96548 > │ let v116 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96549 > │ v116 │
00:30:45 verbose #96550 > │ #endif │
00:30:45 verbose #96551 > │ │
00:30:45 verbose #96552 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96553 > │ let v117 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96554 > │ v117 │
00:30:45 verbose #96555 > │ #endif │
00:30:45 verbose #96556 > │ │
00:30:45 verbose #96557 > │ #else │
00:30:45 verbose #96558 > │ let v118 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:45 verbose #96559 > │ v118 │
00:30:45 verbose #96560 > │ #endif │
00:30:45 verbose #96561 > │ |> fun x -> _v110 <- Some x │
00:30:45 verbose #96562 > │ let v119 : System.TimeZoneInfo = _v110.Value │
00:30:45 verbose #96563 > │ let v120 : System.TimeSpan option = None │
00:30:45 verbose #96564 > │ let v121 : bool = true in let mutable _v120 = v120 │
00:30:45 verbose #96565 > │ │
00:30:45 verbose #96566 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96567 > │ │
00:30:45 verbose #96568 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96569 > │ let v122 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96570 > │ v122 │
00:30:45 verbose #96571 > │ #endif │
00:30:45 verbose #96572 > │ │
00:30:45 verbose #96573 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96574 > │ let v123 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96575 > │ v123 │
00:30:45 verbose #96576 > │ #endif │
00:30:45 verbose #96577 > │ │
00:30:45 verbose #96578 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96579 > │ let v124 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96580 > │ v124 │
00:30:45 verbose #96581 > │ #endif │
00:30:45 verbose #96582 > │ │
00:30:45 verbose #96583 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96584 > │ let v125 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96585 > │ v125 │
00:30:45 verbose #96586 > │ #endif │
00:30:45 verbose #96587 > │ │
00:30:45 verbose #96588 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96589 > │ let v126 : System.TimeSpan = System.TimeSpan () │
00:30:45 verbose #96590 > │ v126 │
00:30:45 verbose #96591 > │ #endif │
00:30:45 verbose #96592 > │ │
00:30:45 verbose #96593 > │ #else │
00:30:45 verbose #96594 > │ let v127 : (System.TimeZoneInfo -> (System.DateTime -> System.TimeSpan)) │
00:30:45 verbose #96595 > │ = _.GetUtcOffset │
00:30:45 verbose #96596 > │ let v128 : System.TimeZoneInfo option = None │
00:30:45 verbose #96597 > │ let v129 : bool = true in let mutable _v128 = v128 │
00:30:45 verbose #96598 > │ │
00:30:45 verbose #96599 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96600 > │ │
00:30:45 verbose #96601 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96602 > │ let v130 : string = "0i64.into()" │
00:30:45 verbose #96603 > │ let v131 : System.TimeZoneInfo = Fable.Core.RustInterop.emitRustExpr () │
00:30:45 verbose #96604 > │ v130 │
00:30:45 verbose #96605 > │ v131 │
00:30:45 verbose #96606 > │ #endif │
00:30:45 verbose #96607 > │ │
00:30:45 verbose #96608 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96609 > │ let v132 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96610 > │ v132 │
00:30:45 verbose #96611 > │ #endif │
00:30:45 verbose #96612 > │ │
00:30:45 verbose #96613 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96614 > │ let v133 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96615 > │ v133 │
00:30:45 verbose #96616 > │ #endif │
00:30:45 verbose #96617 > │ │
00:30:45 verbose #96618 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96619 > │ let v134 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96620 > │ v134 │
00:30:45 verbose #96621 > │ #endif │
00:30:45 verbose #96622 > │ │
00:30:45 verbose #96623 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96624 > │ let v135 : System.TimeZoneInfo = null |> unbox<System.TimeZoneInfo> │
00:30:45 verbose #96625 > │ v135 │
00:30:45 verbose #96626 > │ #endif │
00:30:45 verbose #96627 > │ │
00:30:45 verbose #96628 > │ #else │
00:30:45 verbose #96629 > │ let v136 : System.TimeZoneInfo = System.TimeZoneInfo.Local │
00:30:45 verbose #96630 > │ v136 │
00:30:45 verbose #96631 > │ #endif │
00:30:45 verbose #96632 > │ |> fun x -> _v128 <- Some x │
00:30:45 verbose #96633 > │ let v137 : System.TimeZoneInfo = _v128.Value │
00:30:45 verbose #96634 > │ let v138 : (System.DateTime -> System.TimeSpan) = v127 v137 │
00:30:45 verbose #96635 > │ let v139 : System.TimeSpan = v138 v13 │
00:30:45 verbose #96636 > │ v139 │
00:30:45 verbose #96637 > │ #endif │
00:30:45 verbose #96638 > │ |> fun x -> _v120 <- Some x │
00:30:45 verbose #96639 > │ let v140 : System.TimeSpan = _v120.Value │
00:30:45 verbose #96640 > │ let v141 : (System.TimeSpan -> int32) = _.Hours │
00:30:45 verbose #96641 > │ let v142 : int32 = v141 v140 │
00:30:45 verbose #96642 > │ let v143 : bool = v142 > 0 │
00:30:45 verbose #96643 > │ let v144 : (bool -> int32) = System.Convert.ToInt32 │
00:30:45 verbose #96644 > │ let v145 : int32 = v144 v143 │
00:30:45 verbose #96645 > │ let v146 : string = method22() │
00:30:45 verbose #96646 > │ let v147 : (string -> string) = v140.ToString │
00:30:45 verbose #96647 > │ let v148 : string = v147 v146 │
00:30:45 verbose #96648 > │ let v149 : string = $"{v145}{v148}" │
00:30:45 verbose #96649 > │ struct (v109, v149) │
00:30:45 verbose #96650 > │ #endif │
00:30:45 verbose #96651 > │ |> fun x -> _v17 <- Some x │
00:30:45 verbose #96652 > │ let struct (v150 : string, v151 : string) = _v17.Value │
00:30:45 verbose #96653 > │ let v152 : System.Guid = System.Guid $"{v150}{v151}{v16.[v150.Length + │
00:30:45 verbose #96654 > │ v151.Length..]}" │
00:30:45 verbose #96655 > │ let v153 : string = $"{v12}_{v152}.txt" │
00:30:45 verbose #96656 > │ let v154 : string = __SOURCE_DIRECTORY__ │
00:30:45 verbose #96657 > │ let v155 : string = "polyglot" │
00:30:45 verbose #96658 > │ let v156 : string = ".paket" │
00:30:45 verbose #96659 > │ let v157 : string = method15(v155, v156) │
00:30:45 verbose #96660 > │ let v158 : string = method34(v157, v154) │
00:30:45 verbose #96661 > │ let v159 : string = method15(v158, v155) │
00:30:45 verbose #96662 > │ let v160 : string = "target/polyglot/trace" │
00:30:45 verbose #96663 > │ let v161 : string = method15(v159, v160) │
00:30:45 verbose #96664 > │ let v162 : System.IO.DirectoryInfo option = None │
00:30:45 verbose #96665 > │ let v163 : bool = true in let mutable _v162 = v162 │
00:30:45 verbose #96666 > │ │
00:30:45 verbose #96667 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96668 > │ │
00:30:45 verbose #96669 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96670 > │ let v164 : System.IO.DirectoryInfo = null |> │
00:30:45 verbose #96671 > │ unbox<System.IO.DirectoryInfo> │
00:30:45 verbose #96672 > │ v164 │
00:30:45 verbose #96673 > │ #endif │
00:30:45 verbose #96674 > │ │
00:30:45 verbose #96675 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96676 > │ let v165 : System.IO.DirectoryInfo = null |> │
00:30:45 verbose #96677 > │ unbox<System.IO.DirectoryInfo> │
00:30:45 verbose #96678 > │ v165 │
00:30:45 verbose #96679 > │ #endif │
00:30:45 verbose #96680 > │ │
00:30:45 verbose #96681 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96682 > │ let v166 : System.IO.DirectoryInfo = null |> │
00:30:45 verbose #96683 > │ unbox<System.IO.DirectoryInfo> │
00:30:45 verbose #96684 > │ v166 │
00:30:45 verbose #96685 > │ #endif │
00:30:45 verbose #96686 > │ │
00:30:45 verbose #96687 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96688 > │ let v167 : System.IO.DirectoryInfo = null |> │
00:30:45 verbose #96689 > │ unbox<System.IO.DirectoryInfo> │
00:30:45 verbose #96690 > │ v167 │
00:30:45 verbose #96691 > │ #endif │
00:30:45 verbose #96692 > │ │
00:30:45 verbose #96693 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96694 > │ let v168 : System.IO.DirectoryInfo = null |> │
00:30:45 verbose #96695 > │ unbox<System.IO.DirectoryInfo> │
00:30:45 verbose #96696 > │ v168 │
00:30:45 verbose #96697 > │ #endif │
00:30:45 verbose #96698 > │ │
00:30:45 verbose #96699 > │ #else │
00:30:45 verbose #96700 > │ let v169 : (string -> System.IO.DirectoryInfo) = │
00:30:45 verbose #96701 > │ System.IO.Directory.CreateDirectory │
00:30:45 verbose #96702 > │ let v170 : System.IO.DirectoryInfo = v169 v161 │
00:30:45 verbose #96703 > │ v170 │
00:30:45 verbose #96704 > │ #endif │
00:30:45 verbose #96705 > │ |> fun x -> _v162 <- Some x │
00:30:45 verbose #96706 > │ let v171 : System.IO.DirectoryInfo = _v162.Value │
00:30:45 verbose #96707 > │ let v172 : string = method15(v161, v153) │
00:30:45 verbose #96708 > │ let v173 : Async<unit> option = None │
00:30:45 verbose #96709 > │ let v174 : bool = true in let mutable _v173 = v173 │
00:30:45 verbose #96710 > │ │
00:30:45 verbose #96711 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96712 > │ │
00:30:45 verbose #96713 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96714 > │ let v175 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96715 > │ v175 │
00:30:45 verbose #96716 > │ #endif │
00:30:45 verbose #96717 > │ │
00:30:45 verbose #96718 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96719 > │ let v176 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96720 > │ v176 │
00:30:45 verbose #96721 > │ #endif │
00:30:45 verbose #96722 > │ │
00:30:45 verbose #96723 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96724 > │ let v177 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96725 > │ v177 │
00:30:45 verbose #96726 > │ #endif │
00:30:45 verbose #96727 > │ │
00:30:45 verbose #96728 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96729 > │ let v178 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96730 > │ v178 │
00:30:45 verbose #96731 > │ #endif │
00:30:45 verbose #96732 > │ │
00:30:45 verbose #96733 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96734 > │ let v179 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96735 > │ v179 │
00:30:45 verbose #96736 > │ #endif │
00:30:45 verbose #96737 > │ │
00:30:45 verbose #96738 > │ #else │
00:30:45 verbose #96739 > │ let v180 : System.Threading.Tasks.Task = │
00:30:45 verbose #96740 > │ System.IO.File.WriteAllTextAsync (v172, v0) │
00:30:45 verbose #96741 > │ let v181 : Async<unit> option = None │
00:30:45 verbose #96742 > │ let v182 : bool = true in let mutable _v181 = v181 │
00:30:45 verbose #96743 > │ │
00:30:45 verbose #96744 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96745 > │ │
00:30:45 verbose #96746 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96747 > │ let v183 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96748 > │ v183 │
00:30:45 verbose #96749 > │ #endif │
00:30:45 verbose #96750 > │ │
00:30:45 verbose #96751 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96752 > │ let v184 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96753 > │ v184 │
00:30:45 verbose #96754 > │ #endif │
00:30:45 verbose #96755 > │ │
00:30:45 verbose #96756 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96757 > │ let v185 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96758 > │ v185 │
00:30:45 verbose #96759 > │ #endif │
00:30:45 verbose #96760 > │ │
00:30:45 verbose #96761 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96762 > │ let v186 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96763 > │ v186 │
00:30:45 verbose #96764 > │ #endif │
00:30:45 verbose #96765 > │ │
00:30:45 verbose #96766 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96767 > │ let v187 : Async<unit> = null |> unbox<Async<unit>> │
00:30:45 verbose #96768 > │ v187 │
00:30:45 verbose #96769 > │ #endif │
00:30:45 verbose #96770 > │ │
00:30:45 verbose #96771 > │ #else │
00:30:45 verbose #96772 > │ let v188 : (System.Threading.Tasks.Task -> Async<unit>) = │
00:30:45 verbose #96773 > │ Async.AwaitTask │
00:30:45 verbose #96774 > │ let v189 : Async<unit> = v188 v180 │
00:30:45 verbose #96775 > │ v189 │
00:30:45 verbose #96776 > │ #endif │
00:30:45 verbose #96777 > │ |> fun x -> _v181 <- Some x │
00:30:45 verbose #96778 > │ let v190 : Async<unit> = _v181.Value │
00:30:45 verbose #96779 > │ v190 │
00:30:45 verbose #96780 > │ #endif │
00:30:45 verbose #96781 > │ |> fun x -> _v173 <- Some x │
00:30:45 verbose #96782 > │ let v191 : Async<unit> = _v173.Value │
00:30:45 verbose #96783 > │ let v192 : unit option = None │
00:30:45 verbose #96784 > │ let v193 : bool = true in let mutable _v192 = v192 │
00:30:45 verbose #96785 > │ │
00:30:45 verbose #96786 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:30:45 verbose #96787 > │ │
00:30:45 verbose #96788 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:30:45 verbose #96789 > │ null |> unbox<unit> │
00:30:45 verbose #96790 > │ () │
00:30:45 verbose #96791 > │ #endif │
00:30:45 verbose #96792 > │ │
00:30:45 verbose #96793 > │ #if FABLE_COMPILER_RUST && WASM │
00:30:45 verbose #96794 > │ null |> unbox<unit> │
00:30:45 verbose #96795 > │ () │
00:30:45 verbose #96796 > │ #endif │
00:30:45 verbose #96797 > │ │
00:30:45 verbose #96798 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:30:45 verbose #96799 > │ null |> unbox<unit> │
00:30:45 verbose #96800 > │ () │
00:30:45 verbose #96801 > │ #endif │
00:30:45 verbose #96802 > │ │
00:30:45 verbose #96803 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:30:45 verbose #96804 > │ null |> unbox<unit> │
00:30:45 verbose #96805 > │ () │
00:30:45 verbose #96806 > │ #endif │
00:30:45 verbose #96807 > │ │
00:30:45 verbose #96808 > │ #if FABLE_COMPILER_PYTHON │
00:30:45 verbose #96809 > │ null |> unbox<unit> │
00:30:45 verbose #96810 > │ () │
00:30:45 verbose #96811 > │ #endif │
00:30:45 verbose #96812 > │ │
00:30:45 verbose #96813 > │ #else │
00:30:45 verbose #96814 > │ let v194 : (Async<unit> -> unit) = Async.RunSynchronously │
00:30:45 verbose #96815 > │ v194 v191 │
00:30:45 verbose #96816 > │ () │
00:30:45 verbose #96817 > │ #endif │
00:30:45 verbose #96818 > │ |> fun x -> _v192 <- Some x │
00:30:45 verbose #96819 > │ _v192.Value │
00:30:45 verbose #96820 > │ with ex -> │
00:30:45 verbose #96821 > │ let v195 : exn = ex │
00:30:45 verbose #96822 > │ let v196 : string = $"file_system.trace_file / ex: %A{v195}" │
00:30:45 verbose #96823 > │ method36(v196) │
00:30:45 verbose #96824 > │ (* │
00:30:45 verbose #96825 > │ *) │
00:30:45 verbose #96826 > │ () │
00:30:45 verbose #96827 > │ #endif │
00:30:45 verbose #96828 > │ |> fun x -> _v1 <- Some x │
00:30:45 verbose #96829 > │ _v1.Value │
00:30:45 verbose #96830 > │ () │
00:30:45 verbose #96831 > │ and closure62 () (v0 : string) : unit = │
00:30:45 verbose #96832 > │ method36(v0) │
00:30:45 verbose #96833 > │ and closure61 () (v0 : bool) : unit = │
00:30:45 verbose #96834 > │ let v1 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:30:45 verbose #96835 > │ closure0() │
00:30:45 verbose #96836 > │ if State.trace_state.IsNone then State.trace_state <- v1 () |> Some │
00:30:45 verbose #96837 > │ let struct (v2 : Mut0, v3 : Mut1, v4 : Mut2, v5 : int64 option, v6 : │
00:30:45 verbose #96838 > │ Mut3) = State.trace_state.Value │
00:30:45 verbose #96839 > │ let v9 : (string -> unit) = │
00:30:45 verbose #96840 > │ if v0 then │
00:30:45 verbose #96841 > │ closure62() │
00:30:45 verbose #96842 > │ else │
00:30:45 verbose #96843 > │ closure1() │
00:30:45 verbose #96844 > │ v6.l0 <- v9 │
00:30:45 verbose #96845 > │ () │
00:30:45 verbose #96846 > │ and closure64 (v0 : string) (v1 : string) : string = │
00:30:45 verbose #96847 > │ method15(v0, v1) │
00:30:45 verbose #96848 > │ and closure63 () (v0 : string) : (string -> string) = │
00:30:45 verbose #96849 > │ closure64(v0) │
00:30:45 verbose #96850 > │ let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = │
00:30:45 verbose #96851 > │ closure0() │
00:30:45 verbose #96852 > │ if State.trace_state.IsNone then State.trace_state <- v0 () |> Some │
00:30:45 verbose #96853 > │ let v1 : (string -> Async<int64>) = closure2() │
00:30:45 verbose #96854 > │ let delete_directory_async x = v1 x │
00:30:45 verbose #96855 > │ let v2 : (US3 -> (string -> Async<int64>)) = closure9() │
00:30:45 verbose #96856 > │ let wait_for_file_access x = v2 x │
00:30:45 verbose #96857 > │ let v3 : (string -> Async<int64>) = closure13() │
00:30:45 verbose #96858 > │ let wait_for_file_access_read x = v3 x │
00:30:45 verbose #96859 > │ let v4 : (string -> Async<string>) = closure14() │
00:30:45 verbose #96860 > │ let read_all_text_async x = v4 x │
00:30:45 verbose #96861 > │ let v5 : (string -> (string -> Async<bool>)) = closure15() │
00:30:45 verbose #96862 > │ let file_exists_content x = v5 x │
00:30:45 verbose #96863 > │ let v6 : (string -> (string -> Async<unit>)) = closure17() │
00:30:45 verbose #96864 > │ let write_all_text_async x = v6 x │
00:30:45 verbose #96865 > │ let v7 : (string -> (string -> Async<unit>)) = closure19() │
00:30:45 verbose #96866 > │ let write_all_text_exists x = v7 x │
00:30:45 verbose #96867 > │ let v8 : (string -> Async<int64>) = closure21() │
00:30:45 verbose #96868 > │ let delete_file_async x = v8 x │
00:30:45 verbose #96869 > │ let v9 : (string -> (string -> Async<int64>)) = closure24() │
00:30:45 verbose #96870 > │ let move_file_async x = v9 x │
00:30:45 verbose #96871 > │ let v10 : (string -> Async<string option>) = closure28() │
00:30:45 verbose #96872 > │ let read_all_text_retry_async x = v10 x │
00:30:45 verbose #96873 > │ let v11 : (unit -> string) = closure36() │
00:30:45 verbose #96874 > │ let create_temp_directory_name () = v11 () │
00:30:45 verbose #96875 > │ let v12 : (unit -> struct (string * System.IDisposable)) = closure38() │
00:30:45 verbose #96876 > │ let create_temp_directory () = v12 () │
00:30:45 verbose #96877 > │ let v13 : (unit -> string) = closure50() │
00:30:45 verbose #96878 > │ let get_source_directory () = v13 () │
00:30:45 verbose #96879 > │ let v14 : (string -> (bool -> (string -> string))) = closure51() │
00:30:45 verbose #96880 > │ let find_parent x = v14 x │
00:30:45 verbose #96881 > │ let v15 : (string -> string) = closure58() │
00:30:45 verbose #96882 > │ let normalize_path x = v15 x │
00:30:45 verbose #96883 > │ let v16 : (string -> string) = closure59() │
00:30:45 verbose #96884 > │ let new_file_uri x = v16 x │
00:30:45 verbose #96885 > │ let v17 : (unit -> string) = closure60() │
00:30:45 verbose #96886 > │ let get_repository_root () = v17 () │
00:30:45 verbose #96887 > │ let v18 : (bool -> unit) = closure61() │
00:30:45 verbose #96888 > │ let init_trace_file x = v18 x │
00:30:45 verbose #96889 > │ let v19 : (string -> (string -> string)) = closure63() │
00:30:45 verbose #96890 > │ let (</>) x = v19 x │
00:30:45 verbose #96891 > │ () │
00:30:45 verbose #96892 > │ │
00:30:45 verbose #96893 > │ │
00:30:45 verbose #96894 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:30:49 verbose #96895 > [NbConvertApp] Converting notebook file_system.dib.ipynb to html
00:30:49 verbose #96896 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:30:49 verbose #96897 > validate(nb)
00:30:54 verbose #96898 > [NbConvertApp] Writing 1320111 bytes to file_system.dib.html
00:30:56 debug #96899 execute_with_options_async / exit_code: 0 / output.Length: 2137587
00:30:56 debug #26 main / executeCommand / exitCode: 0
00:30:56 verbose #6 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:30:56 debug #7 run_with_timeout_async / timeout: 100
00:00:00 debug #1 writeDibCode / output: Spi / path: threading.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: crypto.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: testing.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: trace.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: networking.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: runtime.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: async.dib
00:00:00 debug #1 writeDibCode / output: Spi / path: common.dib
00:00:00 debug #3 parseDibCode / output: Spi / file: runtime.dib
00:00:00 debug #8 parseDibCode / output: Spi / file: trace.dib
00:00:00 debug #6 parseDibCode / output: Spi / file: testing.dib
00:00:00 debug #9 parseDibCode / output: Spi / file: async.dib
00:00:00 debug #8 parseDibCode / output: Spi / file: common.dib
00:00:00 debug #3 parseDibCode / output: Spi / file: networking.dib
00:00:00 debug #4 parseDibCode / output: Spi / file: threading.dib
00:00:00 debug #5 parseDibCode / output: Spi / file: crypto.dib
00:00:00 debug #10 writeDibCode / output: Spi / path: resultm.dib
00:00:00 debug #11 writeDibCode / output: Spi / path: console.dib
00:00:00 debug #12 parseDibCode / output: Spi / file: resultm.dib
00:00:00 debug #13 parseDibCode / output: Spi / file: console.dib
00:00:00 debug #14 writeDibCode / output: Spi / path: date_time.dib
00:00:00 debug #15 writeDibCode / output: Spi / path: file_system.dib
00:00:00 debug #18 parseDibCode / output: Spi / file: date_time.dib
00:00:00 debug #16 writeDibCode / output: Spi / path: guid.dib
00:00:00 debug #20 writeDibCode / output: Spi / path: math.dib
00:00:00 debug #19 parseDibCode / output: Spi / file: guid.dib
00:00:00 debug #18 parseDibCode / output: Spi / file: file_system.dib
00:00:00 debug #21 parseDibCode / output: Spi / file: math.dib
00:00:00 debug #22 writeDibCode / output: Spi / path: optionm'.dib
00:00:00 debug #23 writeDibCode / output: Spi / path: am'.dib
00:00:00 debug #26 parseDibCode / output: Spi / file: optionm'.dib
00:00:00 debug #27 parseDibCode / output: Spi / file: am'.dib
00:00:00 debug #24 writeDibCode / output: Spi / path: sm'.dib
00:00:00 debug #26 writeDibCode / output: Spi / path: listm'.dib
00:00:00 debug #29 writeDibCode / output: Spi / path: stream.dib
00:00:00 debug #31 writeDibCode / output: Spi / path: seq.dib
00:00:00 debug #33 parseDibCode / output: Spi / file: stream.dib
00:00:00 debug #32 parseDibCode / output: Spi / file: sm'.dib
00:00:00 debug #35 parseDibCode / output: Spi / file: seq.dib
00:00:00 debug #31 parseDibCode / output: Spi / file: listm'.dib
00:00:00 debug #29 writeDibCode / output: Spi / path: benchmark.dib
00:00:00 debug #35 writeDibCode / output: Spi / path: util.dib
00:00:00 debug #36 writeDibCode / output: Spi / path: rust.dib
00:00:00 debug #37 writeDibCode / output: Spi / path: physics.dib
00:00:00 debug #40 parseDibCode / output: Spi / file: rust.dib
00:00:00 debug #39 parseDibCode / output: Spi / file: util.dib
00:00:00 debug #38 parseDibCode / output: Spi / file: benchmark.dib
00:00:00 debug #41 parseDibCode / output: Spi / file: physics.dib
00:00:01 debug #1 run_with_timeout_async / timeout: 500
00:00:01 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:02 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:02 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:02 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:02 debug #2 run_with_timeout_async / timeout: 100
00:00:02 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:02 debug #4 run_with_timeout_async / timeout: 100
00:00:02 debug #5 run_with_timeout_async / timeout: 100
00:00:03 debug #6 run_with_timeout_async / timeout: 100
00:00:03 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:03 debug #7 run_with_timeout_async / timeout: 100
00:00:03 debug #8 run_with_timeout_async / timeout: 100
00:00:04 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:04 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:04 verbose #6 > Server bound to: http://localhost:13805
00:00:04 debug #9 run_with_timeout_async / timeout: 500
00:00:04 debug #10 run_with_timeout_async / timeout: 500
00:00:04 debug #11 run_with_timeout_async / timeout: 500
00:00:04 debug #12 run_with_timeout_async / timeout: 500
00:00:04 debug #13 run_with_timeout_async / timeout: 500
00:00:05 debug #6 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #3 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #4 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #5 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #7 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #10 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #11 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #12 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #10 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 debug #10 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:05 verbose #15 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # async\nopen rust_operators\n\n/// ## types\ninl types () =\n global...token_with_default_async x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/async.spi"}} / result:
00:00:05 verbose #17 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # runtime\nopen rust_operators\nopen sm\u0027_operators\n\n/// ## types\...t_args x = !split_args x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/runtime.spi"}} / result:
00:00:05 verbose #14 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # trace\n\n/// ## types\ninl types () =\n rust.types ()\n sm\u0027...0022let trace x = !trace x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/trace.spi"}} / result:
00:00:05 verbose #16 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # threading\nopen rust_operators\n\n/// ## types\ninl types () =\n gl...new_disposable_token x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/threading.spi"}} / result:
00:00:05 verbose #13 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # networking\nopen rust_operators\n\n/// ## types\ninl types () =\n g...!get_available_port x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/networking.spi"}} / result:
00:00:05 verbose #7 > 00:00:03 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/runtime.spi
00:00:05 verbose #18 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/async.spi"}} / result:
00:00:05 verbose #19 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/networking.spi"}} / result:
00:00:05 verbose #20 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/trace.spi"}} / result:
00:00:05 verbose #21 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/threading.spi"}} / result:
00:00:05 verbose #22 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/runtime.spi"}} / result:
00:00:05 verbose #8 > 00:00:03 debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/async.spi
00:00:05 verbose #9 > 00:00:03 debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/networking.spi
00:00:05 verbose #10 > 00:00:03 debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/trace.spi
00:00:05 verbose #11 > 00:00:03 debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/threading.spi
00:00:06 debug #25 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:06 debug #25 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:06 debug #27 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:06 debug #25 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:06 debug #26 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:07 debug #28 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:07 debug #29 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:07 debug #30 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:07 debug #31 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:07 debug #32 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:08 debug #33 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:08 debug #34 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:08 debug #35 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:08 debug #36 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:08 debug #37 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:09 debug #38 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:09 debug #39 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:09 debug #40 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:09 debug #41 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:09 debug #42 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:10 debug #43 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:10 debug #44 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:10 debug #45 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:10 debug #46 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:10 debug #47 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:11 debug #48 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:11 debug #49 buildFile / takeWhileInclusive / path: async.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:11 debug #50 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:11 debug #51 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:11 debug #52 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:12 debug #53 buildFile / takeWhileInclusive / path: async.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("futur...cellationToken> = _v1.Value
v25
let v0 : (System.Threading.CancellationToken -> Async<System.Threading.CancellationToken>) = closure0()
let merge_cancellation_token_with_default_async x = v0 x
()
/ errors: [] / typeErrorCount: 0
00:00:12 debug #54 buildFile / takeWhileInclusive / path: threading.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::s....Value
struct (v36, v37)
let v0 : (System.Threading.CancellationToken option -> struct (System.Threading.CancellationToken * System.IDisposable)) = closure0()
let new_disposable_token x = v0 x
()
/ errors: [] / typeErrorCount: 0
00:00:12 debug #55 buildFile / takeWhileInclusive / path: networking.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...(int32 option -> (bool -> (int32 -> Async<int64>))) = closure14()
let wait_for_port_access x = v3 x
let v4 : (int32 option -> (int32 -> Async<int32>)) = closure20()
let get_available_port x = v4 x
()
/ errors: [] / typeErrorCount: 0
00:00:12 debug #57 buildFile / takeWhileInclusive / path: runtime.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...nc_Arc<std_sync_Mutex<std_process_ChildStdin>> -> unit) option * string option)) = closure21()
let execution_options x = v5 x
let v6 : (string -> (string [])) = closure22()
let split_args x = v6 x
()
/ errors: [] / typeErrorCount: 0
00:00:12 debug #56 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:12 debug #58 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:12 debug #59 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:12 debug #60 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:12 debug #61 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:13 debug #14 run_with_timeout_async / timeout: 500
00:00:13 debug #62 buildFile / takeWhileInclusive / path: trace.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ... option * Mut3)) = closure0()
if State.trace_state.IsNone then State.trace_state <- v0 () |> Some
let v1 : (US0 -> ((unit -> string) -> ((unit -> string) -> unit))) = closure2()
let trace x = v1 x
()
/ errors: [] / typeErrorCount: 0
00:00:13 debug #15 run_with_timeout_async / timeout: 500
00:00:13 debug #16 run_with_timeout_async / timeout: 500
00:00:13 debug #63 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:13 debug #17 run_with_timeout_async / timeout: 500
00:00:13 debug #18 run_with_timeout_async / timeout: 500
00:00:16 debug #64 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #65 buildFile / takeWhileInclusive / path: file_system.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #66 buildFile / takeWhileInclusive / path: file_system.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #68 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #69 buildFile / takeWhileInclusive / path: common.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #67 buildFile / takeWhileInclusive / path: date_time.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #70 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #71 buildFile / takeWhileInclusive / path: common.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #72 buildFile / takeWhileInclusive / path: date_time.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 debug #73 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:16 verbose #74 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # crypto\nopen rust_operators\n\n/// ## types\ninl types () =\n globa...ash_text x = !hash_text x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/crypto.spi"}} / result:
00:00:17 verbose #75 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # guid\n\n/// ## guid\nnominal guid = $\u0022System.Guid\u0022\n\n/// ##...aw_guid x = !new_raw_guid x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/guid.spi"}} / result:
00:00:17 verbose #76 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/crypto.spi"}} / result:
00:00:17 verbose #12 > 00:00:15 debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/crypto.spi
00:00:17 debug #77 buildFile / takeWhileInclusive / path: date_time.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:17 debug #78 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:17 debug #79 buildFile / takeWhileInclusive / path: file_system.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:17 debug #80 buildFile / takeWhileInclusive / path: common.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:17 debug #81 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:17 verbose #82 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # date_time\nopen rust_operators\nopen sm\u0027_operators\n\n/// ## type... x = !format_iso8601 x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/date_time.spi"}} / result:
00:00:17 verbose #83 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # file_system\nopen sm\u0027_operators\nopen rust_operators\n\n/// ## ty...003E) x = !combine x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/file_system.spi"}} / result:
00:00:17 verbose #13 > 00:00:15 debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/guid.spi
00:00:17 verbose #84 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/guid.spi"}} / result:
00:00:18 debug #85 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:18 debug #86 buildFile / takeWhileInclusive / path: date_time.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:18 debug #87 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:18 debug #88 buildFile / takeWhileInclusive / path: file_system.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:18 debug #89 buildFile / takeWhileInclusive / path: common.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:19 verbose #14 > 00:00:16 debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/date_time.spi
00:00:19 verbose #15 > 00:00:16 debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/file_system.spi
00:00:19 verbose #90 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # common\n\n/// ## types\ninl types () =\n rust.types ()\n sm\u002...et memoize x = !memoize x\u0022 : ()\n","uri":"file:///c:/home/git/polyglot/lib/spiral/common.spi"}} / result:
00:00:19 verbose #91 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/file_system.spi"}} / result:
00:00:19 verbose #92 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/date_time.spi"}} / result:
00:00:19 debug #93 buildFile / takeWhileInclusive / path: date_time.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...t new_guid_from_timestamp x = v5 x
let v6 : (string -> (System.DateTime -> string)) = closure12()
let format x = v6 x
let v7 : (System.DateTime -> string) = closure14()
let format_iso8601 x = v7 x
()
/ errors: [] / typeErrorCount: 0
00:00:19 debug #94 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:19 verbose #16 > 00:00:17 debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/common.spi
00:00:19 verbose #95 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/common.spi"}} / result:
00:00:19 debug #96 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:19 debug #97 buildFile / takeWhileInclusive / path: common.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:19 debug #98 buildFile / takeWhileInclusive / path: file_system.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:19 debug #99 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:20 debug #19 run_with_timeout_async / timeout: 500
00:00:20 debug #100 buildFile / takeWhileInclusive / path: file_system.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...g) = closure60()
let get_repository_root () = v17 ()
let v18 : (bool -> unit) = closure61()
let init_trace_file x = v18 x
let v19 : (string -> (string -> string)) = closure63()
let (</>) x = v19 x
()
/ errors: [] / typeErrorCount: 0
00:00:20 debug #101 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:20 debug #102 buildFile / takeWhileInclusive / path: sm'.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:20 debug #103 buildFile / takeWhileInclusive / path: sm'.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:20 verbose #104 sendJson / port: 13805 / json: {"FileOpen":{"spiText":"/// # sm\u0027\nopen rust_operators\n\n/// ## types\ninl types () =\n glo...tring std_string = from_std_string\n","uri":"file:///c:/home/git/polyglot/lib/spiral/sm\u0027.spi"}} / result:
00:00:20 debug #105 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:20 verbose #17 > 00:00:18 debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/lib/spiral/sm'.spi
00:00:20 debug #106 buildFile / takeWhileInclusive / path: common.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:20 debug #107 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:20 verbose #108 sendJson / port: 13805 / json: {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/lib/spiral/sm\u0027.spi"}} / result:
00:00:21 debug #109 buildFile / takeWhileInclusive / path: guid.spi / fsxContent: let rec closure0 () (v0 : string) : System.Guid =
let v1 : System.Guid = System.Guid v0
v1
and closure1 () () : System.Guid =
let v0 : System.Guid = System.Guid.NewGuid ()
v0
let v0 : (string -> System.Guid) = closure0()
let new_guid x = v0 x
let v1 : (unit -> System.Guid) = closure1()
let new_raw_guid x = v1 x
()
/ errors: [] / typeErrorCount: 0
00:00:21 debug #110 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:21 debug #111 buildFile / takeWhileInclusive / path: sm'.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...tring)) = closure42()
let concat x = v20 x
let v21 : (string -> ((string []) -> string)) = closure44()
let join' x = v21 x
let v22 : (string -> (char [])) = closure46()
let to_char_array x = v22 x
()
/ errors: [] / typeErrorCount: 0
00:00:21 debug #112 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:21 debug #113 buildFile / takeWhileInclusive / path: common.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...()
let new_disposable x = v1 x
let v2 : (int32 -> ((unit -> unit) -> unit option)) = closure3()
let retry_fn x = v2 x
let v3 : ((unit -> unit) -> (unit -> unit)) = closure13()
let memoize x = v3 x
()
/ errors: [] / typeErrorCount: 0
00:00:21 debug #114 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:21 debug #115 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: / errors: [] / typeErrorCount: 0
00:00:22 debug #116 buildFile / takeWhileInclusive / path: crypto.spi / fsxContent: #if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, ...ring) = v37 v36
let v39 : string = v38 v35
v39
#endif
|> fun x -> _v1 <- Some x
let v40 : string = _v1.Value
v40
let v0 : (string -> string) = closure0()
let hash_text x = v0 x
()
/ errors: [] / typeErrorCount: 0
00:00:22 debug #117 watchWithFilter / Disposing watch stream / filter: FileName, LastWrite
00:00:22 verbose #20 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:00:22 debug #21 run_with_timeout_async / timeout: 100
In [ ]:
{ . ../apps/scheduler/build.ps1 } | Invoke-Block -Location $ScriptDir
00:00:01 debug #1 run_with_timeout_async / timeout: 500
00:00:01 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:02 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:02 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:02 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:02 debug #2 run_with_timeout_async / timeout: 100
00:00:02 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:02 debug #4 run_with_timeout_async / timeout: 100
00:00:02 debug #5 run_with_timeout_async / timeout: 100
00:00:02 debug #6 run_with_timeout_async / timeout: 100
00:00:02 debug #7 run_with_timeout_async / timeout: 100
00:00:02 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:02 debug #8 run_with_timeout_async / timeout: 100
00:00:03 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:03 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:03 verbose #6 > Server bound to: http://localhost:13805
00:00:04 debug #7 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 Tasks.dib -Retries 3"", [||],
None, None, None)
00:00:05 verbose #8 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\scheduler / path: Tasks.dib / _args: [
00:00:05 verbose #9 > "-Retries",
00:00:05 verbose #10 > 3
00:00:05 verbose #11 > ]
00:00:08 verbose #12 > 00:00:06 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/apps/spiral/builder/spiral_builder.spi
00:00:14 verbose #13 >
00:00:14 verbose #14 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 verbose #15 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 verbose #16 > │ ## Tasks (Polyglot) │
00:00:14 verbose #17 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 verbose #18 >
00:00:14 verbose #19 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 verbose #20 > //// test
00:00:14 verbose #21 >
00:00:14 verbose #22 > open testing
00:00:14 verbose #23 >
00:00:14 verbose #24 > ── spiral - import ─────────────────────────────────────────────────────────────
00:00:14 verbose #25 > #r
00:00:14 verbose #26 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:14 verbose #27 > otNet.Interactive.Spiral.dll"
00:00:14 verbose #28 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:00:14 verbose #29 > #r
00:00:14 verbose #30 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:14 verbose #31 > otNet.Interactive.dll"
00:00:14 verbose #32 > open type Microsoft.DotNet.Interactive.Kernel
00:00:24 verbose #33 > 00:00:22 debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8dca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi
00:00:25 verbose #34 >
00:00:25 verbose #35 > ╭─[ 11.25s - stdout ]──────────────────────────────────────────────────────────╮
00:00:25 verbose #36 > │ () │
00:00:25 verbose #37 > │ │
00:00:25 verbose #38 > │ │
00:00:25 verbose #39 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #40 >
00:00:25 verbose #41 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #42 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #43 > │ ## types │
00:00:25 verbose #44 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #45 >
00:00:25 verbose #46 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #47 > inl types () =
00:00:25 verbose #48 > rust.types ()
00:00:25 verbose #49 > sm'.types ()
00:00:26 verbose #50 > 00:00:24 debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5511d5468be9fed5ed097108bef0268c55058733dc91249e3f198c656498a651/main.spi
00:00:26 verbose #51 >
00:00:26 verbose #52 > ╭─[ 690.83ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 verbose #53 > │ () │
00:00:26 verbose #54 > │ │
00:00:26 verbose #55 > │ │
00:00:26 verbose #56 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #57 >
00:00:26 verbose #58 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 verbose #59 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 verbose #60 > │ ## task_name │
00:00:26 verbose #61 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 verbose #62 >
00:00:26 verbose #63 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 verbose #64 > nominal task_name = string
00:00:26 verbose #65 > 00:00:25 debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/98e9ddb8c04b8769bfd195eec77ff33aacef8adf9c73211d974c5c7aa99d52cf/main.spi
00:00:27 verbose #66 >
00:00:27 verbose #67 > ╭─[ 785.70ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 verbose #68 > │ () │
00:00:27 verbose #69 > │ │
00:00:27 verbose #70 > │ │
00:00:27 verbose #71 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #72 >
00:00:27 verbose #73 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 verbose #74 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 verbose #75 > │ ## manual_scheduling │
00:00:27 verbose #76 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #77 >
00:00:27 verbose #78 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 verbose #79 > union manual_scheduling =
00:00:27 verbose #80 > | WithSuggestion
00:00:27 verbose #81 > | WithoutSuggestion
00:00:27 verbose #82 > 00:00:26 debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0f846052ff17a2bd43de78cda02e7c335f7c391e1b3cb629110c2faba5405339/main.spi
00:00:27 verbose #83 >
00:00:27 verbose #84 > ╭─[ 734.26ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 verbose #85 > │ () │
00:00:27 verbose #86 > │ │
00:00:27 verbose #87 > │ │
00:00:27 verbose #88 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #89 >
00:00:27 verbose #90 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 verbose #91 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 verbose #92 > │ ## recurrency_offset │
00:00:27 verbose #93 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 verbose #94 >
00:00:27 verbose #95 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 verbose #96 > union recurrency_offset =
00:00:27 verbose #97 > | Days : i32
00:00:27 verbose #98 > | Weeks : i32
00:00:27 verbose #99 > | Months : i32
00:00:28 verbose #100 > 00:00:26 debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/84b83718e46950e944143dd7f98939df744db89ea2e7c5fec551e21de33ed9b1/main.spi
00:00:28 verbose #101 >
00:00:28 verbose #102 > ╭─[ 698.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 verbose #103 > │ () │
00:00:28 verbose #104 > │ │
00:00:28 verbose #105 > │ │
00:00:28 verbose #106 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #107 >
00:00:28 verbose #108 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 verbose #109 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 verbose #110 > │ ## day_of_week │
00:00:28 verbose #111 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 verbose #112 >
00:00:28 verbose #113 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 verbose #114 > union day_of_week =
00:00:28 verbose #115 > | Sunday
00:00:28 verbose #116 > | Monday
00:00:28 verbose #117 > | Tuesday
00:00:28 verbose #118 > | Wednesday
00:00:28 verbose #119 > | Thursday
00:00:28 verbose #120 > | Friday
00:00:28 verbose #121 > | Saturday
00:00:29 verbose #122 > 00:00:27 debug #10 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/89164b695151934735c8e97f8491a871b4d4845cad3fceaa785531c67c37c879/main.spi
00:00:29 verbose #123 >
00:00:29 verbose #124 > ╭─[ 813.96ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 verbose #125 > │ () │
00:00:29 verbose #126 > │ │
00:00:29 verbose #127 > │ │
00:00:29 verbose #128 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #129 >
00:00:29 verbose #130 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 verbose #131 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 verbose #132 > │ ## month │
00:00:29 verbose #133 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 verbose #134 >
00:00:29 verbose #135 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 verbose #136 > union month =
00:00:29 verbose #137 > | January
00:00:29 verbose #138 > | February
00:00:29 verbose #139 > | March
00:00:29 verbose #140 > | April
00:00:29 verbose #141 > | May
00:00:29 verbose #142 > | June
00:00:29 verbose #143 > | July
00:00:29 verbose #144 > | August
00:00:29 verbose #145 > | September
00:00:29 verbose #146 > | October
00:00:29 verbose #147 > | November
00:00:29 verbose #148 > | December
00:00:29 verbose #149 > 00:00:28 debug #11 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/97f850c436c9fd155abf96f4562aef67e0eee9f180b0f762899eb1ea86ae8e6c/main.spi
00:00:30 verbose #150 >
00:00:30 verbose #151 > ╭─[ 734.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #152 > │ () │
00:00:30 verbose #153 > │ │
00:00:30 verbose #154 > │ │
00:00:30 verbose #155 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #156 >
00:00:30 verbose #157 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 verbose #158 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 verbose #159 > │ ## day │
00:00:30 verbose #160 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #161 >
00:00:30 verbose #162 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #163 > nominal day = i32
00:00:30 verbose #164 > 00:00:29 debug #12 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1bd5ca0905b615379ac214070c519993d5ff997c6ac65e547f40339b80966ef6/main.spi
00:00:30 verbose #165 >
00:00:30 verbose #166 > ╭─[ 697.05ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 verbose #167 > │ () │
00:00:30 verbose #168 > │ │
00:00:30 verbose #169 > │ │
00:00:30 verbose #170 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #171 >
00:00:30 verbose #172 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 verbose #173 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 verbose #174 > │ ## year │
00:00:30 verbose #175 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 verbose #176 >
00:00:30 verbose #177 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 verbose #178 > nominal year = i32
00:00:31 verbose #179 > 00:00:29 debug #13 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6d79755f3678a8d3bc962269daa5fcf6fca6e7c56dbbb769f39fa85995a2d2f8/main.spi
00:00:31 verbose #180 >
00:00:31 verbose #181 > ╭─[ 639.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 verbose #182 > │ () │
00:00:31 verbose #183 > │ │
00:00:31 verbose #184 > │ │
00:00:31 verbose #185 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #186 >
00:00:31 verbose #187 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:31 verbose #188 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:31 verbose #189 > │ ## fixed_recurrency │
00:00:31 verbose #190 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 verbose #191 >
00:00:31 verbose #192 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 verbose #193 > union fixed_recurrency =
00:00:31 verbose #194 > | Weekly : day_of_week
00:00:31 verbose #195 > | Monthly : day
00:00:31 verbose #196 > | Yearly : day * month
00:00:32 verbose #197 > 00:00:30 debug #14 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2205a223e1d7a21e2e56d8126da4b76425b9160568783c7b7c965b76110cac9c/main.spi
00:00:32 verbose #198 >
00:00:32 verbose #199 > ╭─[ 661.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #200 > │ () │
00:00:32 verbose #201 > │ │
00:00:32 verbose #202 > │ │
00:00:32 verbose #203 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #204 >
00:00:32 verbose #205 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #206 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #207 > │ ## recurrency │
00:00:32 verbose #208 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #209 >
00:00:32 verbose #210 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #211 > union recurrency =
00:00:32 verbose #212 > | Offset : recurrency_offset
00:00:32 verbose #213 > | Fixed : list fixed_recurrency
00:00:32 verbose #214 > 00:00:31 debug #15 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/353566bc449c392889277d2b2f62300a0610dd4b60ea4923c4400c1312b9c596/main.spi
00:00:32 verbose #215 >
00:00:32 verbose #216 > ╭─[ 715.89ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 verbose #217 > │ () │
00:00:32 verbose #218 > │ │
00:00:32 verbose #219 > │ │
00:00:32 verbose #220 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #221 >
00:00:32 verbose #222 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 verbose #223 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 verbose #224 > │ ## scheduling │
00:00:32 verbose #225 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 verbose #226 >
00:00:32 verbose #227 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 verbose #228 > union scheduling =
00:00:32 verbose #229 > | Manual : manual_scheduling
00:00:32 verbose #230 > | Recurrent : recurrency
00:00:33 verbose #231 > 00:00:31 debug #16 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/9cfaf578e1cf8e17fe3e029195569653591f762be367a8eafd7fe8eb30442dbc/main.spi
00:00:33 verbose #232 >
00:00:33 verbose #233 > ╭─[ 653.13ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 verbose #234 > │ () │
00:00:33 verbose #235 > │ │
00:00:33 verbose #236 > │ │
00:00:33 verbose #237 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #238 >
00:00:33 verbose #239 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:33 verbose #240 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:33 verbose #241 > │ ## task │
00:00:33 verbose #242 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 verbose #243 >
00:00:33 verbose #244 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 verbose #245 > type task =
00:00:33 verbose #246 > {
00:00:33 verbose #247 > name : task_name
00:00:33 verbose #248 > scheduling : scheduling
00:00:33 verbose #249 > }
00:00:34 verbose #250 > 00:00:32 debug #17 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/621e6e08d694eb6d7bfdddfbe50facd2f1d433babae0b6496bab8d99df3edb8c/main.spi
00:00:34 verbose #251 >
00:00:34 verbose #252 > ╭─[ 720.20ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 verbose #253 > │ () │
00:00:34 verbose #254 > │ │
00:00:34 verbose #255 > │ │
00:00:34 verbose #256 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #257 >
00:00:34 verbose #258 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #259 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #260 > │ ## date │
00:00:34 verbose #261 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #262 >
00:00:34 verbose #263 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #264 > type date =
00:00:34 verbose #265 > {
00:00:34 verbose #266 > year : year
00:00:34 verbose #267 > month : month
00:00:34 verbose #268 > day : day
00:00:34 verbose #269 > }
00:00:34 verbose #270 > 00:00:33 debug #18 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/797553aafa3a62a67183e0642d2ea45f9123617cf4cb08f00ebcc560b5bec52f/main.spi
00:00:34 verbose #271 >
00:00:34 verbose #272 > ╭─[ 694.49ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 verbose #273 > │ () │
00:00:34 verbose #274 > │ │
00:00:34 verbose #275 > │ │
00:00:34 verbose #276 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #277 >
00:00:34 verbose #278 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #279 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #280 > │ ## status │
00:00:34 verbose #281 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #282 >
00:00:34 verbose #283 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #284 > union status =
00:00:34 verbose #285 > | Postponed : option ()
00:00:35 verbose #286 > 00:00:33 debug #19 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/ece83a259b756fd5c41b4aeae333bad2411ce5df6bc315fa1cf3960b0dc80f15/main.spi
00:00:35 verbose #287 >
00:00:35 verbose #288 > ╭─[ 738.35ms - stdout ]────────────────────────────────────────────────────────╮
00:00:35 verbose #289 > │ () │
00:00:35 verbose #290 > │ │
00:00:35 verbose #291 > │ │
00:00:35 verbose #292 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #293 >
00:00:35 verbose #294 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:35 verbose #295 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:35 verbose #296 > │ ## event │
00:00:35 verbose #297 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:35 verbose #298 >
00:00:35 verbose #299 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:35 verbose #300 > type event =
00:00:35 verbose #301 > {
00:00:35 verbose #302 > date : date
00:00:35 verbose #303 > status : status
00:00:35 verbose #304 > }
00:00:36 verbose #305 > 00:00:34 debug #20 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e0f4234551693f60b1cef493aa8096cab34b09982b662f2fb3d04c6782579e6f/main.spi
00:00:36 verbose #306 >
00:00:36 verbose #307 > ╭─[ 981.05ms - stdout ]────────────────────────────────────────────────────────╮
00:00:36 verbose #308 > │ () │
00:00:36 verbose #309 > │ │
00:00:36 verbose #310 > │ │
00:00:36 verbose #311 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #312 >
00:00:36 verbose #313 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 verbose #314 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 verbose #315 > │ ## task_template │
00:00:36 verbose #316 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 verbose #317 >
00:00:36 verbose #318 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 verbose #319 > type task_template =
00:00:36 verbose #320 > {
00:00:36 verbose #321 > task : task
00:00:36 verbose #322 > events : list event
00:00:36 verbose #323 > }
00:00:37 verbose #324 > 00:00:35 debug #21 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/992671a734689e9f5b05323e539f3e0d13a70a7f634ad896f526a1b8dd441c31/main.spi
00:00:37 verbose #325 >
00:00:37 verbose #326 > ╭─[ 714.73ms - stdout ]────────────────────────────────────────────────────────╮
00:00:37 verbose #327 > │ () │
00:00:37 verbose #328 > │ │
00:00:37 verbose #329 > │ │
00:00:37 verbose #330 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #331 >
00:00:37 verbose #332 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:37 verbose #333 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:37 verbose #334 > │ ## get_tasks (test) │
00:00:37 verbose #335 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:37 verbose #336 >
00:00:37 verbose #337 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:37 verbose #338 > //// test
00:00:37 verbose #339 >
00:00:37 verbose #340 > inl get_tasks () : list task_template =
00:00:37 verbose #341 > [[
00:00:37 verbose #342 > {
00:00:37 verbose #343 > task =
00:00:37 verbose #344 > {
00:00:37 verbose #345 > name = task_name "01"
00:00:37 verbose #346 > scheduling = Manual WithSuggestion
00:00:37 verbose #347 > }
00:00:37 verbose #348 > events = [[]]
00:00:37 verbose #349 > }
00:00:37 verbose #350 > {
00:00:37 verbose #351 > task =
00:00:37 verbose #352 > {
00:00:37 verbose #353 > name = task_name "02"
00:00:37 verbose #354 > scheduling = Manual WithSuggestion
00:00:37 verbose #355 > }
00:00:37 verbose #356 > events = [[]]
00:00:37 verbose #357 > }
00:00:37 verbose #358 > {
00:00:37 verbose #359 > task =
00:00:37 verbose #360 > {
00:00:37 verbose #361 > name = task_name "03"
00:00:37 verbose #362 > scheduling = Manual WithSuggestion
00:00:37 verbose #363 > }
00:00:37 verbose #364 > events = [[]]
00:00:37 verbose #365 > }
00:00:37 verbose #366 > ]]
00:00:38 verbose #367 > 00:00:36 debug #22 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/3710c513ae0af6896ec09b13a42eb231949124aaca4657cbfcfeccdbce150c56/main.spi
00:00:38 verbose #368 >
00:00:38 verbose #369 > ╭─[ 861.99ms - stdout ]────────────────────────────────────────────────────────╮
00:00:38 verbose #370 > │ () │
00:00:38 verbose #371 > │ │
00:00:38 verbose #372 > │ │
00:00:38 verbose #373 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:38 verbose #374 >
00:00:38 verbose #375 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:38 verbose #376 > //// test
00:00:38 verbose #377 > ///! rust
00:00:38 verbose #378 >
00:00:38 verbose #379 > types ()
00:00:38 verbose #380 > get_tasks ()
00:00:38 verbose #381 > |> sm'.format_pretty'
00:00:38 verbose #382 > |> sm'.from_std_string
00:00:38 verbose #383 > |> _assert_string_contains "01"
00:00:38 verbose #384 > 00:00:37 debug #23 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/2939df7cb5478584d8d1ab9a59eea22404ee47813bec8372fb3967fd6364e15b/main.spi
00:01:49 verbose #385 >
00:01:49 verbose #386 > ╭─[ 1.18m - return value ]─────────────────────────────────────────────────────╮
00:01:49 verbose #387 > │ output: │
00:01:49 verbose #388 > │ assert_string_contains / actual: "01" / expected: "UH2_1( │
00:01:49 verbose #389 > │ UH0_0, │
00:01:49 verbose #390 > │ "01", │
00:01:49 verbose #391 > │ US4_0( │
00:01:49 verbose #392 > │ US3_0, │
00:01:50 verbose #393 > │ ), │
00:01:50 verbose #394 > │ UH2_1( │
00:01:50 verbose #395 > │ UH0_0, │
00:01:50 verbose #396 > │ "02", │
00:01:50 verbose #397 > │ US4_0( │
00:01:50 verbose #398 > │ US3_0, │
00:01:50 verbose #399 > │ ), │
00:01:50 verbose #400 > │ UH2_1( │
00:01:50 verbose #401 > │ UH0_0, │
00:01:50 verbose #402 > │ "03", │
00:01:50 verbose #403 > │ US4_0( │
00:01:50 verbose #404 > │ US3_0, │
00:01:50 verbose #405 > │ ), │
00:01:50 verbose #406 > │ UH2_0, │
00:01:50 verbose #407 > │ ), │
00:01:51 verbose #408 > │ ), │
00:01:51 verbose #409 > │ )" │
00:01:51 verbose #410 > │ │
00:01:51 verbose #411 > │ │
00:01:51 verbose #412 > │ │
00:01:51 verbose #413 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:51 verbose #414 >
00:01:51 verbose #415 > ╭─[ 1.22m - stdout ]───────────────────────────────────────────────────────────╮
00:01:51 verbose #416 > │ .fsx: │
00:01:51 verbose #417 > │ #if FABLE_COMPILER │
00:01:51 verbose #418 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>] │
00:01:51 verbose #419 > │ #endif │
00:01:51 verbose #420 > │ type Func0<'T> = class end │
00:01:51 verbose #421 > │ #if FABLE_COMPILER │
00:01:51 verbose #422 > │ [<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>] │
00:01:51 verbose #423 > │ #endif │
00:01:51 verbose #424 > │ type Func0<'T, 'U> = class end │
00:01:51 verbose #425 > │ #if FABLE_COMPILER │
00:01:51 verbose #426 > │ [<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>] │
00:01:51 verbose #427 > │ #endif │
00:01:51 verbose #428 > │ type Box<'T> = class end │
00:01:51 verbose #429 > │ #if FABLE_COMPILER │
00:01:51 verbose #430 > │ [<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>] │
00:01:51 verbose #431 > │ #endif │
00:01:51 verbose #432 > │ type Dyn<'T> = class end │
00:01:51 verbose #433 > │ #if FABLE_COMPILER │
00:01:51 verbose #434 > │ [<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>] │
00:01:51 verbose #435 > │ #endif │
00:01:51 verbose #436 > │ type Send<'T> = class end │
00:01:51 verbose #437 > │ #if FABLE_COMPILER │
00:01:51 verbose #438 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>] │
00:01:51 verbose #439 > │ #endif │
00:01:51 verbose #440 > │ type Fn<'T> = class end │
00:01:51 verbose #441 > │ #if FABLE_COMPILER │
00:01:51 verbose #442 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn()")>] │
00:01:51 verbose #443 > │ #endif │
00:01:51 verbose #444 > │ type FnUnit = class end │
00:01:51 verbose #445 > │ #if FABLE_COMPILER │
00:01:51 verbose #446 > │ [<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>] │
00:01:51 verbose #447 > │ #endif │
00:01:51 verbose #448 > │ type FnOnce<'T> = class end │
00:01:51 verbose #449 > │ #if FABLE_COMPILER │
00:01:51 verbose #450 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>] │
00:01:51 verbose #451 > │ #endif │
00:01:51 verbose #452 > │ type ActionFn<'T> = class end │
00:01:51 verbose #453 > │ #if FABLE_COMPILER │
00:01:51 verbose #454 > │ [<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>] │
00:01:51 verbose #455 > │ #endif │
00:01:51 verbose #456 > │ type ActionFn2<'T, 'U> = class end │
00:01:51 verbose #457 > │ #if FABLE_COMPILER │
00:01:51 verbose #458 > │ [<Fable.Core.Erase; Fable.Core.Emit("impl $0")>] │
00:01:51 verbose #459 > │ #endif │
00:01:51 verbose #460 > │ type Impl<'T> = class end │
00:01:51 verbose #461 > │ #if FABLE_COMPILER │
00:01:51 verbose #462 > │ [<Fable.Core.Erase; Fable.Core.Emit("mut $0")>] │
00:01:51 verbose #463 > │ #endif │
00:01:51 verbose #464 > │ type Mut<'T> = class end │
00:01:51 verbose #465 > │ #if FABLE_COMPILER │
00:01:51 verbose #466 > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] │
00:01:51 verbose #467 > │ #endif │
00:01:51 verbose #468 > │ type Ref<'T> = class end │
00:01:51 verbose #469 > │ #if FABLE_COMPILER │
00:01:51 verbose #470 > │ [<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>] │
00:01:51 verbose #471 > │ #endif │
00:01:51 verbose #472 > │ type StaticRef<'T> = class end │
00:01:51 verbose #473 > │ #if FABLE_COMPILER │
00:01:51 verbose #474 > │ [<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>] │
00:01:51 verbose #475 > │ #endif │
00:01:51 verbose #476 > │ type MutCell<'T> = class end │
00:01:51 verbose #477 > │ #if FABLE_COMPILER │
00:01:51 verbose #478 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>] │
00:01:51 verbose #479 > │ #endif │
00:01:51 verbose #480 > │ type std_any_Any = class end │
00:01:51 verbose #481 > │ #if FABLE_COMPILER │
00:01:51 verbose #482 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>] │
00:01:51 verbose #483 > │ #endif │
00:01:51 verbose #484 > │ type std_borrow_Cow<'T> = class end │
00:01:51 verbose #485 > │ #if FABLE_COMPILER │
00:01:51 verbose #486 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>] │
00:01:51 verbose #487 > │ #endif │
00:01:51 verbose #488 > │ type std_cell_RefCell<'T> = class end │
00:01:51 verbose #489 > │ #if FABLE_COMPILER │
00:01:51 verbose #490 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>] │
00:01:51 verbose #491 > │ #endif │
00:01:51 verbose #492 > │ type std_pin_Pin<'T> = class end │
00:01:51 verbose #493 > │ #if FABLE_COMPILER │
00:01:51 verbose #494 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>] │
00:01:51 verbose #495 > │ #endif │
00:01:51 verbose #496 > │ type std_rc_Rc<'T> = class end │
00:01:51 verbose #497 > │ #if FABLE_COMPILER │
00:01:51 verbose #498 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>] │
00:01:51 verbose #499 > │ #endif │
00:01:51 verbose #500 > │ type std_rc_Weak<'T> = class end │
00:01:51 verbose #501 > │ #if FABLE_COMPILER │
00:01:51 verbose #502 > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] │
00:01:51 verbose #503 > │ #endif │
00:01:51 verbose #504 > │ type Str = class end │
00:01:51 verbose #505 > │ #if FABLE_COMPILER │
00:01:51 verbose #506 > │ [<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>] │
00:01:51 verbose #507 > │ #endif │
00:01:51 verbose #508 > │ type base64_DecodeError = class end │
00:01:51 verbose #509 > │ #if FABLE_COMPILER │
00:01:51 verbose #510 > │ [<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>] │
00:01:51 verbose #511 > │ #endif │
00:01:51 verbose #512 > │ type borsh_io_Error = class end │
00:01:51 verbose #513 > │ #if FABLE_COMPILER │
00:01:51 verbose #514 > │ [<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>] │
00:01:51 verbose #515 > │ #endif │
00:01:51 verbose #516 > │ type js_sys_JsString = class end │
00:01:51 verbose #517 > │ #if FABLE_COMPILER │
00:01:51 verbose #518 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>] │
00:01:51 verbose #519 > │ #endif │
00:01:51 verbose #520 > │ type serde_json_Error = class end │
00:01:51 verbose #521 > │ #if FABLE_COMPILER │
00:01:51 verbose #522 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>] │
00:01:51 verbose #523 > │ #endif │
00:01:51 verbose #524 > │ type serde_json_Value = class end │
00:01:51 verbose #525 > │ #if FABLE_COMPILER │
00:01:51 verbose #526 > │ [<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>] │
00:01:51 verbose #527 > │ #endif │
00:01:51 verbose #528 > │ type serde_wasm_bindgen_Error = class end │
00:01:51 verbose #529 > │ #if FABLE_COMPILER │
00:01:51 verbose #530 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>] │
00:01:51 verbose #531 > │ #endif │
00:01:51 verbose #532 > │ type std_ffi_OsStr = class end │
00:01:51 verbose #533 > │ #if FABLE_COMPILER │
00:01:51 verbose #534 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>] │
00:01:51 verbose #535 > │ #endif │
00:01:51 verbose #536 > │ type std_ffi_OsString = class end │
00:01:51 verbose #537 > │ #if FABLE_COMPILER │
00:01:51 verbose #538 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>] │
00:01:51 verbose #539 > │ #endif │
00:01:51 verbose #540 > │ type std_fmt_Display<'T> = class end │
00:01:51 verbose #541 > │ #if FABLE_COMPILER │
00:01:51 verbose #542 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>] │
00:01:51 verbose #543 > │ #endif │
00:01:51 verbose #544 > │ type std_str_Utf8Error = class end │
00:01:51 verbose #545 > │ #if FABLE_COMPILER │
00:01:51 verbose #546 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>] │
00:01:51 verbose #547 > │ #endif │
00:01:51 verbose #548 > │ type std_string_FromUtf8Error = class end │
00:01:51 verbose #549 > │ #if FABLE_COMPILER │
00:01:51 verbose #550 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] │
00:01:51 verbose #551 > │ #endif │
00:01:51 verbose #552 > │ type std_string_String = class end │
00:01:51 verbose #553 > │ #if FABLE_COMPILER │
00:01:51 verbose #554 > │ [<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>] │
00:01:51 verbose #555 > │ #endif │
00:01:51 verbose #556 > │ type std_slice_Windows<'T> = class end │
00:01:51 verbose #557 > │ type [<Struct>] US0 = │
00:01:51 verbose #558 > │ | US0_0 │
00:01:51 verbose #559 > │ | US0_1 │
00:01:51 verbose #560 > │ | US0_2 │
00:01:51 verbose #561 > │ | US0_3 │
00:01:51 verbose #562 > │ | US0_4 │
00:01:51 verbose #563 > │ | US0_5 │
00:01:51 verbose #564 > │ | US0_6 │
00:01:52 verbose #565 > │ | US0_7 │
00:01:52 verbose #566 > │ | US0_8 │
00:01:52 verbose #567 > │ | US0_9 │
00:01:52 verbose #568 > │ | US0_10 │
00:01:52 verbose #569 > │ | US0_11 │
00:01:52 verbose #570 > │ and [<Struct>] US2 = │
00:01:52 verbose #571 > │ | US2_0 │
00:01:52 verbose #572 > │ | US2_1 │
00:01:52 verbose #573 > │ and [<Struct>] US1 = │
00:01:52 verbose #574 > │ | US1_0 of f0_0 : US2 │
00:01:52 verbose #575 > │ and UH0 = │
00:01:52 verbose #576 > │ | UH0_0 │
00:01:52 verbose #577 > │ | UH0_1 of int32 * US0 * int32 * US1 * UH0 │
00:01:52 verbose #578 > │ and [<Struct>] US3 = │
00:01:52 verbose #579 > │ | US3_0 │
00:01:52 verbose #580 > │ | US3_1 │
00:01:52 verbose #581 > │ and [<Struct>] US6 = │
00:01:52 verbose #582 > │ | US6_0 of f0_0 : int32 │
00:01:52 verbose #583 > │ | US6_1 of f1_0 : int32 │
00:01:52 verbose #584 > │ | US6_2 of f2_0 : int32 │
00:01:52 verbose #585 > │ and [<Struct>] US8 = │
00:01:52 verbose #586 > │ | US8_0 │
00:01:52 verbose #587 > │ | US8_1 │
00:01:52 verbose #588 > │ | US8_2 │
00:01:52 verbose #589 > │ | US8_3 │
00:01:52 verbose #590 > │ | US8_4 │
00:01:52 verbose #591 > │ | US8_5 │
00:01:52 verbose #592 > │ | US8_6 │
00:01:52 verbose #593 > │ and [<Struct>] US7 = │
00:01:52 verbose #594 > │ | US7_0 of f0_0 : US8 │
00:01:52 verbose #595 > │ | US7_1 of f1_0 : int32 │
00:01:52 verbose #596 > │ | US7_2 of f2_0 : int32 * f2_1 : US0 │
00:01:52 verbose #597 > │ and UH1 = │
00:01:52 verbose #598 > │ | UH1_0 │
00:01:52 verbose #599 > │ | UH1_1 of US7 * UH1 │
00:01:52 verbose #600 > │ and [<Struct>] US5 = │
00:01:52 verbose #601 > │ | US5_0 of f0_0 : US6 │
00:01:52 verbose #602 > │ | US5_1 of f1_0 : UH1 │
00:01:52 verbose #603 > │ and [<Struct>] US4 = │
00:01:52 verbose #604 > │ | US4_0 of f0_0 : US3 │
00:01:52 verbose #605 > │ | US4_1 of f1_0 : US5 │
00:01:52 verbose #606 > │ and UH2 = │
00:01:52 verbose #607 > │ | UH2_0 │
00:01:52 verbose #608 > │ | UH2_1 of UH0 * string * US4 * UH2 │
00:01:52 verbose #609 > │ let rec method1 (v0 : bool) : bool = │
00:01:52 verbose #610 > │ v0 │
00:01:52 verbose #611 > │ and method0 () : unit = │
00:01:52 verbose #612 > │ let v0 : string = @$"format!(""{{:#?}}"", $0)" │
00:01:52 verbose #613 > │ let v1 : UH0 = UH0_0 │
00:01:52 verbose #614 > │ let v2 : string = "01" │
00:01:52 verbose #615 > │ let v3 : US3 = US3_0 │
00:01:52 verbose #616 > │ let v4 : US4 = US4_0(v3) │
00:01:52 verbose #617 > │ let v5 : UH0 = UH0_0 │
00:01:52 verbose #618 > │ let v6 : string = "02" │
00:01:52 verbose #619 > │ let v7 : US3 = US3_0 │
00:01:52 verbose #620 > │ let v8 : US4 = US4_0(v7) │
00:01:52 verbose #621 > │ let v9 : UH0 = UH0_0 │
00:01:52 verbose #622 > │ let v10 : string = "03" │
00:01:52 verbose #623 > │ let v11 : US3 = US3_0 │
00:01:52 verbose #624 > │ let v12 : US4 = US4_0(v11) │
00:01:52 verbose #625 > │ let v13 : UH2 = UH2_0 │
00:01:52 verbose #626 > │ let v14 : UH2 = UH2_1(v9, v10, v12, v13) │
00:01:52 verbose #627 > │ let v15 : UH2 = UH2_1(v5, v6, v8, v14) │
00:01:52 verbose #628 > │ let v16 : UH2 = UH2_1(v1, v2, v4, v15) │
00:01:52 verbose #629 > │ let v17 : std_string_String = Fable.Core.RustInterop.emitRustExpr v16 v0 │
00:01:52 verbose #630 > │ let v18 : string = "fable_library_rust::String_::fromString($0)" │
00:01:52 verbose #631 > │ let v19 : string = Fable.Core.RustInterop.emitRustExpr v17 v18 │
00:01:52 verbose #632 > │ let v20 : bool = v19.Contains v2 │
00:01:52 verbose #633 > │ let v22 : bool = │
00:01:52 verbose #634 > │ if v20 then │
00:01:52 verbose #635 > │ true │
00:01:52 verbose #636 > │ else │
00:01:52 verbose #637 > │ method1(v20) │
00:01:52 verbose #638 > │ let v23 : string = "assert_string_contains" │
00:01:52 verbose #639 > │ let v24 : string = $"{v23} / actual: %A{v2} / expected: %A{v19}" │
00:01:52 verbose #640 > │ System.Console.WriteLine v24 │
00:01:52 verbose #641 > │ let v25 : bool = v22 = false │
00:01:52 verbose #642 > │ if v25 then │
00:01:52 verbose #643 > │ failwith<unit> v24 │
00:01:52 verbose #644 > │ method0() │
00:01:52 verbose #645 > │ │
00:01:52 verbose #646 > │ │
00:01:52 verbose #647 > │ │
00:01:52 verbose #648 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:52 verbose #649 >
00:01:52 verbose #650 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:52 verbose #651 > //// test
00:01:52 verbose #652 > ///! rust
00:01:52 verbose #653 >
00:01:52 verbose #654 > get_tasks ()
00:01:52 verbose #655 > |> listm'.try_item 0i32
00:01:52 verbose #656 > |> fun (Some task) => task.task.name
00:01:52 verbose #657 > |> _assert_eq (task_name "01")
00:01:52 verbose #658 > 00:01:51 debug #24 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/670f824af0f591cbdb52b3a66cd8daff21f5802bcfbb93a7887f4e19f5af3825/main.spi
00:03:06 verbose #659 >
00:03:06 verbose #660 > ╭─[ 1.24m - return value ]─────────────────────────────────────────────────────╮
00:03:06 verbose #661 > │ output: │
00:03:06 verbose #662 > │ assert_eq / actual: "01" / expected: "01" │
00:03:06 verbose #663 > │ │
00:03:06 verbose #664 > │ │
00:03:06 verbose #665 > │ │
00:03:06 verbose #666 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:06 verbose #667 >
00:03:06 verbose #668 > ╭─[ 1.24m - stdout ]───────────────────────────────────────────────────────────╮
00:03:06 verbose #669 > │ .fsx: │
00:03:06 verbose #670 > │ let rec method0 () : unit = │
00:03:06 verbose #671 > │ let v3 : string = "assert_eq" │
00:03:06 verbose #672 > │ let v4 : string = "01" │
00:03:06 verbose #673 > │ let v5 : string = $"{v3} / actual: %A{v4} / expected: %A{v4}" │
00:03:06 verbose #674 > │ System.Console.WriteLine v5 │
00:03:06 verbose #675 > │ () │
00:03:06 verbose #676 > │ method0() │
00:03:06 verbose #677 > │ │
00:03:06 verbose #678 > │ │
00:03:06 verbose #679 > │ │
00:03:06 verbose #680 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:03:10 verbose #681 > [NbConvertApp] Converting notebook Tasks.dib.ipynb to html
00:03:10 verbose #682 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:03:10 verbose #683 > validate(nb)
00:03:13 verbose #684 > [NbConvertApp] Writing 313903 bytes to Tasks.dib.html
00:03:14 debug #685 execute_with_options_async / exit_code: 0 / output.Length: 40829
00:03:14 debug #3 main / executeCommand / exitCode: 0
00:03:14 verbose #9 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:03:14 debug #10 run_with_timeout_async / timeout: 100
00:00:00 debug #1 writeDibCode / output: Spi / path: Tasks.dib
00:00:00 debug #2 parseDibCode / output: Spi / file: Tasks.dib
In [ ]:
{ . ../apps/chat/build.ps1 } | Invoke-Block -Location $ScriptDir
Finished `release` profile [optimized] target(s) in 1.96s Compiling serde v1.0.200 Compiling parking_lot_core v0.9.10 Compiling rustix v0.38.34 Compiling parking_lot v0.12.2 Compiling tokio v1.37.0 Compiling openssl-sys v0.9.102 Compiling zstd-sys v2.0.10+zstd.1.5.6 Compiling openssl v0.10.64 Compiling native-tls v0.2.11 Compiling prometheus v0.13.3 Compiling which v4.4.2 Compiling serde_json v1.0.116 Compiling prost-build v0.9.0 Compiling hex v0.4.3 Compiling near-account-id v1.0.0 Compiling tempfile v3.10.1 Compiling num-rational v0.3.2 Compiling serde_with v3.8.1 Compiling uint v0.9.5 Compiling serde_yaml v0.9.34+deprecated Compiling toml v0.5.11 Compiling primitive-types v0.10.1 Compiling tokio-util v0.7.10 Compiling tokio-stream v0.1.15 Compiling h2 v0.3.26 Compiling near-primitives-core v0.20.1 Compiling tokio-io-timeout v1.2.0 Compiling opentelemetry v0.17.0 Compiling tower v0.4.13 Compiling tokio-util v0.6.10 Compiling near-crypto v0.20.1 Compiling actix-rt v2.9.0 Compiling actix v0.13.3 Compiling opentelemetry-semantic-conventions v0.9.0 Compiling tonic-build v0.6.2 Compiling near-fmt v0.20.1 Compiling near-parameters v0.20.1 Compiling tracing-opentelemetry v0.17.4 Compiling near-rpc-error-core v0.20.1 Compiling hyper v0.14.28 Compiling semver v1.0.22 Compiling url v2.5.0 Compiling opentelemetry-otlp v0.10.0 Compiling chrono v0.4.38 Compiling xattr v1.3.1 Compiling schemars v0.8.17 Compiling tar v0.4.40 Compiling near-rpc-error-macro v0.20.1 Compiling hyper-timeout v0.4.1 Compiling near-vm-runner v0.20.1 Compiling proc-macro-crate v0.1.5 Compiling tonic v0.6.2 Compiling bytesize v1.3.0 Compiling zstd-safe v5.0.2+zstd.1.5.2 Compiling zstd v0.11.2+zstd.1.5.2 Compiling string_cache v0.8.7 Compiling zip v0.6.6 Compiling borsh-derive v0.9.3 Compiling binary-install v0.2.0 Compiling camino v1.1.6 Compiling cargo-platform v0.1.8 Compiling elementtree v0.7.0 Compiling tokio-native-tls v0.3.1 Compiling ureq v2.9.7 Compiling near-sandbox-utils v0.7.0 Compiling hyper-tls v0.5.0 Compiling serde_urlencoded v0.7.1 Compiling symbolic-debuginfo v8.8.0 Compiling reqwest v0.11.27 Compiling near-workspaces v0.10.0 Compiling cargo_metadata v0.14.2 Compiling rustc_version v0.4.0 Compiling treediff v4.0.3 Compiling json-patch v1.2.0 Compiling cargo_metadata v0.18.1 Compiling near-gas v0.2.5 Compiling tokio-retry v0.3.0 Compiling near-token v0.2.0 Compiling borsh v0.9.3 Compiling near-abi v0.3.0 Compiling cargo-near v0.3.1 Compiling near-o11y v0.20.1 Compiling near-primitives v0.20.1 Compiling near-chain-configs v0.20.1 Compiling near-jsonrpc-primitives v0.20.1 Compiling near-jsonrpc-client v0.8.0 Compiling chat_contract_tests v0.0.1 (/mnt/c/home/git/polyglot/apps/chat/contract/tests) Finished `release` profile [optimized] target(s) in 6m 29s Running `/mnt/c/home/git/polyglot/target/release/chat_contract_tests` Updated the logging layer according to `log_config.json` new: ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5282963543364, }, transaction: ExecutionOutcome { transaction_hash: 9LpbDaCoRNjvhdry6XyKh9tmUCub5h2P7o4ZqzXcxJ8Y, block_hash: 58VVEEg7rtBJh2Vdx2p4he1RxKmC9f1LuQUkRby58vf7, logs: [], receipt_ids: [ HabUMzWMgPZX9e2t831WdHodEnzysC927H5JScYTMKCd, ], gas_burnt: NearGas { inner: 2427927707802, }, tokens_burnt: NearToken { inner: 242792770780200000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessReceiptId(HabUMzWMgPZX9e2t831WdHodEnzysC927H5JScYTMKCd), }, receipts: [ ExecutionOutcome { transaction_hash: HabUMzWMgPZX9e2t831WdHodEnzysC927H5JScYTMKCd, block_hash: 58VVEEg7rtBJh2Vdx2p4he1RxKmC9f1LuQUkRby58vf7, logs: [], receipt_ids: [ 3qJA4rpUe73AvPXAZdUpSuy5qtkRwEJN8pePky5FM9Hr, ], gas_burnt: NearGas { inner: 2631853273062, }, tokens_burnt: NearToken { inner: 263185327306200000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 3qJA4rpUe73AvPXAZdUpSuy5qtkRwEJN8pePky5FM9Hr, block_hash: 8FAmd5Uj1zHzffUjEPieUR5Tqitin31WDVDru39K1LPU, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.0035290196469671517 outcome (success: true): outcome_gas_burnt_usd: 0.001621855708811736 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.0017580779864054157 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 claim_alias(contract, ''): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5279646068410, }, transaction: ExecutionOutcome { transaction_hash: 4cPyZesEUxYSzZ6cNKbgkFrgExUMVo3rxgwHonzY39xp, block_hash: 7HuZxR9hJsSfAB6ytL4PKJsZ2Jpp2NwVaXB755QS1pED, logs: [], receipt_ids: [ 74ychiSJxcxje1JKEWWiZVozSuaaZtkVN4p3cabb2du2, ], gas_burnt: NearGas { inner: 2427972426482, }, tokens_burnt: NearToken { inner: 242797242648200000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessReceiptId(74ychiSJxcxje1JKEWWiZVozSuaaZtkVN4p3cabb2du2), }, receipts: [ ExecutionOutcome { transaction_hash: 74ychiSJxcxje1JKEWWiZVozSuaaZtkVN4p3cabb2du2, block_hash: 7HuZxR9hJsSfAB6ytL4PKJsZ2Jpp2NwVaXB755QS1pED, logs: [ "claim_alias / alias: \"\" / account_id: AccountId(\n \"dev-20240503071648-33280385709234\",\n) / timestamp: 1714720611192555465", ], receipt_ids: [ 9MjD1PViftrYCWksY2SWVEjfetzrM6JXsi1WKqe3XS4W, ], gas_burnt: NearGas { inner: 2628491079428, }, tokens_burnt: NearToken { inner: 262849107942800000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: Invalid alias")) })), }, ExecutionOutcome { transaction_hash: 9MjD1PViftrYCWksY2SWVEjfetzrM6JXsi1WKqe3XS4W, block_hash: 7XrFucmhe7a97Hcs5h6XFoqKE9YHcsDDTsX6C2iwoKN, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ], status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: Invalid alias")) })), } total_gas_burnt_usd: 0.00352680357369788 outcome (success: true): outcome_gas_burnt_usd: 0.001621885580889976 outcome_tokens_burnt_usd: 0.0 outcome (success: false): outcome_gas_burnt_usd: 0.001755832041057904 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 dev_create_account(account1): Account { id: AccountId( "dev-20240503071651-59077735537198", ), } generate_cid_borsh(account1): ViewResultDetails { result: [ 59, 0, 0, 0, 98, 97, 102, 107, 114, 101, 105, 104, 100, 119, 100, 99, 101, 102, 103, 104, 52, 100, 113, 107, 106, 118, 54, 55, 117, 122, 99, 109, 119, 55, 111, 106, 101, 101, 54, 120, 101, 100, 122, 100, 101, 116, 111, 106, 117, 122, 106, 101, 118, 116, 101, 110, 120, 113, 117, 118, 121, 107, 117, ], logs: [], } claim_alias(account1, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5700094972195, }, transaction: ExecutionOutcome { transaction_hash: 9pLkfhMeV4j54sH2H28cD1qrqrfLs62aEokaiwydzTZc, block_hash: 9nsUWHnV3MXTCP71umxmJgLPBWaLyxR9pLFcFEPR3yqn, logs: [], receipt_ids: [ GXsF5u5McyEm8Q4Tk8yicKhv6eQYUckpipbYk14zZ8Jn, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: NearToken { inner: 242798584208600000000, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessReceiptId(GXsF5u5McyEm8Q4Tk8yicKhv6eQYUckpipbYk14zZ8Jn), }, receipts: [ ExecutionOutcome { transaction_hash: GXsF5u5McyEm8Q4Tk8yicKhv6eQYUckpipbYk14zZ8Jn, block_hash: 24rgMEKWmY1kN7DnKEbqtGba9SFQs1G3byvZL3ZNQTns, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20240503071651-59077735537198\",\n) / timestamp: 1714720613017889011", ], receipt_ids: [ 3UFYMXq3PdFqytNaapRPLnuH5nT1T71CgRwJuR6fM7Zb, ], gas_burnt: NearGas { inner: 3048926567609, }, tokens_burnt: NearToken { inner: 304892656760900000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 3UFYMXq3PdFqytNaapRPLnuH5nT1T71CgRwJuR6fM7Zb, block_hash: EMUcGZkXrzjkDazYQQBp98CHLFuG6nvS4fbjLwvxey59, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.0038076634414262595 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.002036682947162812 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 claim_alias(account1, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5524482919204, }, transaction: ExecutionOutcome { transaction_hash: 7rB9kq8BTPBi9m8z2KLWDAvodRSekKf5HvPrZLoNZWMf, block_hash: 9Gb26z4Ga697nrRji9sTQvLvmSWhk2BFtgDJtqry5reu, logs: [], receipt_ids: [ v3qDssH1zvEJh5mYaogAfXMzXNqsedVeRHAoDgxK6Zw, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: NearToken { inner: 242798584208600000000, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessReceiptId(v3qDssH1zvEJh5mYaogAfXMzXNqsedVeRHAoDgxK6Zw), }, receipts: [ ExecutionOutcome { transaction_hash: v3qDssH1zvEJh5mYaogAfXMzXNqsedVeRHAoDgxK6Zw, block_hash: 8osWijAcaWjsV2jcU5JTsfu6CQ2nqjHDWan9F4WGbkbF, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20240503071651-59077735537198\",\n) / timestamp: 1714720614029848737", "Alias already claimed", ], receipt_ids: [ 21wzoe4SPt72twEwCmdGy6sdVcSTNPFj384YPynDjnge, ], gas_burnt: NearGas { inner: 2873314514618, }, tokens_burnt: NearToken { inner: 287331451461800000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 21wzoe4SPt72twEwCmdGy6sdVcSTNPFj384YPynDjnge, block_hash: Bk2pggJQmJJqhr2vSTJ2xwUC3Q8WrDuGWhFpySBwEAds, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.003690354590028272 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.001919374095764824 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account1): Some( ( "alias1", ( 1714720613017889011, 0, ), ), ) get_alias_map(account1, alias1): Some( { AccountId( "dev-20240503071651-59077735537198", ): ( 1714720613017889011, 0, ), }, ) dev_create_account(account2): Account { id: AccountId( "dev-20240503071654-66048578989224", ), } claim_alias(alias2): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5787444751825, }, transaction: ExecutionOutcome { transaction_hash: EBqH1oWhiK8qBtzqup5eVKmt3j4A4FuRBME8o2S3uqcq, block_hash: 5DxHpbXdug77BH8gTAexqXwrJegrinRnNSFqvjDcvamK, logs: [], receipt_ids: [ 8rFrBk6idomzsrLor3cn494gMF84pZnfgnCZr1NaduHj, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: NearToken { inner: 242798584208600000000, }, executor_id: AccountId( "dev-20240503071654-66048578989224", ), status: SuccessReceiptId(8rFrBk6idomzsrLor3cn494gMF84pZnfgnCZr1NaduHj), }, receipts: [ ExecutionOutcome { transaction_hash: 8rFrBk6idomzsrLor3cn494gMF84pZnfgnCZr1NaduHj, block_hash: GXP1KB8X6Nh4rBwNq1rma9cC3ytibRF3pRwSEKGnLtMS, logs: [ "claim_alias / alias: \"alias2\" / account_id: AccountId(\n \"dev-20240503071654-66048578989224\",\n) / timestamp: 1714720616056914489", ], receipt_ids: [ 6XaaReUsR1UVyCv2jWE3SSx8yinpPEA5bHYjgSQFQfZC, ], gas_burnt: NearGas { inner: 3136276347239, }, tokens_burnt: NearToken { inner: 313627634723900000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 6XaaReUsR1UVyCv2jWE3SSx8yinpPEA5bHYjgSQFQfZC, block_hash: Hy1Z3KfD5WbUmtSSZRM7yzjUWURmAUmNHoyStnDoybzc, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071654-66048578989224", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.0038660130942190997 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.0020950325999556517 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account2): Some( ( "alias2", ( 1714720616056914489, 0, ), ), ) get_alias_map_borsh(alias2): Some( { AccountId( "dev-20240503071654-66048578989224", ): ( 1714720616056914489, 0, ), }, ) claim_alias(account2, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6091765807192, }, transaction: ExecutionOutcome { transaction_hash: HRCSAGA4XmDJiXdH9m4A9RXSDsK5NLv3g5aZ86J1wu3W, block_hash: EhFGKRRmhWwMPF6XLgGA3Hn7UkkGNWxomqbw5NdAGVqS, logs: [], receipt_ids: [ Gso6RWD8MnGksrreRNDFAwDGWaWydgaJiYJ18SsFwtkT, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: NearToken { inner: 242798584208600000000, }, executor_id: AccountId( "dev-20240503071654-66048578989224", ), status: SuccessReceiptId(Gso6RWD8MnGksrreRNDFAwDGWaWydgaJiYJ18SsFwtkT), }, receipts: [ ExecutionOutcome { transaction_hash: Gso6RWD8MnGksrreRNDFAwDGWaWydgaJiYJ18SsFwtkT, block_hash: 4QfTayyuHLvJqc7LXEJFQnBWTcYBxq41W6hofo8STTXD, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20240503071654-66048578989224\",\n) / timestamp: 1714720617069805014", ], receipt_ids: [ CuSx2HezHieNtkrJBjCvFGYFHUMFBzEwjj8fZovYY2Ns, ], gas_burnt: NearGas { inner: 3440597402606, }, tokens_burnt: NearToken { inner: 344059740260600000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: CuSx2HezHieNtkrJBjCvFGYFHUMFBzEwjj8fZovYY2Ns, block_hash: 846Pr46aQLdADTpnUKxwVEWge5jeVFokLVf3Bg7XWtnx, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071654-66048578989224", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004069299559204255 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.002298319064940808 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account2): Some( ( "alias1", ( 1714720617069805014, 1, ), ), ) get_alias_map(account2, alias1): Some( { AccountId( "dev-20240503071651-59077735537198", ): ( 1714720613017889011, 0, ), AccountId( "dev-20240503071654-66048578989224", ): ( 1714720617069805014, 1, ), }, ) get_alias_map(account2, alias2): Some( {}, ) claim_alias(account1, alias2): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6086439284848, }, transaction: ExecutionOutcome { transaction_hash: 7KRsoD8U3LD4w1VECCwTTJ1Qoqa7FQsArSC37rm7r86n, block_hash: 9VXi47q5v4Fqk6r7xXT7y76EZsFwuHaR7nwFobtxnmCa, logs: [], receipt_ids: [ HtbvMwsdJijqJCBh1VoYy5hXCdgYRXAPcXNagi5tKsBW, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: NearToken { inner: 242798584208600000000, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessReceiptId(HtbvMwsdJijqJCBh1VoYy5hXCdgYRXAPcXNagi5tKsBW), }, receipts: [ ExecutionOutcome { transaction_hash: HtbvMwsdJijqJCBh1VoYy5hXCdgYRXAPcXNagi5tKsBW, block_hash: Gf2afKUQGQQ967wKj3vF5Jj1qfegb7wcTyNhvUfGZM8, logs: [ "claim_alias / alias: \"alias2\" / account_id: AccountId(\n \"dev-20240503071651-59077735537198\",\n) / timestamp: 1714720618084453440", ], receipt_ids: [ 9RzzmSAnwPySNQrxBA7VSHzyaJu9mvJEFo5TZEkmCJx4, ], gas_burnt: NearGas { inner: 3435270880262, }, tokens_burnt: NearToken { inner: 343527088026200000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 9RzzmSAnwPySNQrxBA7VSHzyaJu9mvJEFo5TZEkmCJx4, block_hash: CGfVENSkKpo4R821436NfrWeZzoGFifqtm3NpoYrhSPb, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004065741442278463 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.0022947609480150157 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account1): Some( ( "alias2", ( 1714720618084453440, 0, ), ), ) get_alias_map(account1, alias2): Some( { AccountId( "dev-20240503071651-59077735537198", ): ( 1714720618084453440, 0, ), }, ) get_alias_map(account1, alias1): Some( { AccountId( "dev-20240503071654-66048578989224", ): ( 1714720617069805014, 1, ), }, ) claim_alias(account1, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6091765807192, }, transaction: ExecutionOutcome { transaction_hash: DV3novFDQeaUzNcVoPTL55Z5pEEwpXkwZ92jWDxSRWuQ, block_hash: ASHXighZ37e7zYgrU6pDSMLciaLYLBC4ictuLTqJ3fo4, logs: [], receipt_ids: [ 8gWfnEmq9cWXvwLVD4QU8Biozmcvn283rmjB21Ja7n4a, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: NearToken { inner: 242798584208600000000, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessReceiptId(8gWfnEmq9cWXvwLVD4QU8Biozmcvn283rmjB21Ja7n4a), }, receipts: [ ExecutionOutcome { transaction_hash: 8gWfnEmq9cWXvwLVD4QU8Biozmcvn283rmjB21Ja7n4a, block_hash: pnkNWR2HPy7onV1sck5X5sZpdgUsWAUU1djFt2uP3GU, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20240503071651-59077735537198\",\n) / timestamp: 1714720619096794065", ], receipt_ids: [ FxXxGFyaDN6gEj21JRY92aeUZCgvYFqXfoCaQVqtruzZ, ], gas_burnt: NearGas { inner: 3440597402606, }, tokens_burnt: NearToken { inner: 344059740260600000000, }, executor_id: AccountId( "dev-20240503071648-33280385709234", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: FxXxGFyaDN6gEj21JRY92aeUZCgvYFqXfoCaQVqtruzZ, block_hash: 8iieXH2hTD3n1nwBTnx8JKpKDRP53rpR8U5xayNZrdXS, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: NearToken { inner: 0, }, executor_id: AccountId( "dev-20240503071651-59077735537198", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004069299559204255 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.002298319064940808 outcome_tokens_burnt_usd: 0.0 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account1): Some( ( "alias1", ( 1714720619096794065, 1, ), ), ) get_alias_map(account1, alias1): Some( { AccountId( "dev-20240503071651-59077735537198", ): ( 1714720619096794065, 1, ), AccountId( "dev-20240503071654-66048578989224", ): ( 1714720617069805014, 0, ), }, ) get_alias_map(account1, alias2): Some( {}, )
In [ ]:
{ . ../apps/spiral/temp/extension/build.ps1 } | Invoke-Block -Location $ScriptDir
bun install v1.1.5 (b257a309) Checked 11 installs across 13 packages (no changes) [127.00ms] [INFO]: 🎯 Checking for the Wasm target... [INFO]: 🌀 Compiling to Wasm... Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.52s [INFO]: ⬇️ Installing wasm-bindgen... [INFO]: origin crate has no LICENSE [INFO]: ✨ Done in 5.04s [INFO]: 📦 Your wasm pkg is ready to publish at C:\home\git\polyglot\apps\spiral\temp\extension\pkg. ▲ [WARNING] "import.meta" is not available with the "iife" output format and will be empty [empty-import-meta] pkg/spiral_temp_extension.js:1494:57: 1494 │ ...put = new URL('spiral_temp_extension_bg.wasm', import.meta.url); ╵ ~~~~~~~~~~~ You need to set the output format to "esm" for "import.meta" to work correctly. 1 warning dist\spiral_temp_extension_bg-VCQAJAMY.wasm 4.6mb ⚠️ dist\devtools.js 29.0kb dist\content_script.js 27.1kb dist\service_worker.js 2.2kb ⚡ Done in 88ms $ playwright test [WebServer] (node:66852) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) Running 3 tests using 3 workers [1/3] [Desktop Chrome] › extension.spec.ts:13:5 › libgen [2/3] [Desktop Chrome] › extension.spec.ts:8:5 › popup extension [3/3] [Desktop Chrome] › extension.spec.ts:3:5 › popup localhost 3 passed (18.8s) To open last HTML report run: npx playwright show-report
In [ ]:
{ . ../apps/spiral/temp/test/build.ps1 } | Invoke-Block -Location $ScriptDir
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\spiral\temp\test / path: build.dib / _args: null
── pwsh ────────────────────────────────────────────────────────────────────────
. ../../../../scripts/nbs_header.ps1
. ../../../../scripts/core.ps1
── pwsh ────────────────────────────────────────────────────────────────────────
{ . ../../../../apps/spiral/dist/Supervisor$(_exe) --execute-command "pwsh -c
`"../../../../scripts/invoke-dib.ps1 test.dib`"" } | Invoke-Block -Retries 5
╭─[ 27.29s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:00 debug #1 run_with_timeout_async / timeout: 500 │
│ 00:00:00 debug #1 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot") │
│ 00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:01 debug #2 run_with_timeout_async / timeout: 100 │
│ 00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: │
│ Some 100 / status: True │
│ 00:00:01 debug #4 run_with_timeout_async / timeout: 100 │
│ 00:00:02 debug #5 run_with_timeout_async / timeout: 100 │
│ 00:00:02 verbose #5 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:02 debug #6 run_with_timeout_async / timeout: 100 │
│ 00:00:02 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:02 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:02 verbose #6 > Server bound to: http://localhost:13805 │
│ 00:00:02 debug #7 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "pwsh -c "../../../../scripts/invoke-dib.ps1 test.dib"", [||], None, │
│ None, None) │
│ 00:00:03 verbose #8 > core.Invoke-Dib / Get-Location: │
│ C:\home\git\polyglot\apps\spiral\temp\test / path: test.dib / _args: null │
│ 00:00:05 verbose #9 > │
│ 00:00:05 verbose #10 > ── markdown │
│ ──────────────────────────────────────────────────────────────────── │
│ 00:00:05 verbose #11 > │
│ ╭─────────────────────────────────────────────────────────────────────────── │
│ ───╮ │
│ 00:00:05 verbose #12 > │ # test (Polyglot) │
│ │ │
│ 00:00:05 verbose #13 > │
│ ╰─────────────────────────────────────────────────────────────────────────── │
│ ───╯ │
│ 00:00:06 verbose #14 > │
│ 00:00:06 verbose #15 > ── spiral │
│ ────────────────────────────────────────────────────────────────────── │
│ 00:00:06 verbose #16 > //// test │
│ 00:00:06 verbose #17 > │
│ 00:00:06 verbose #18 > open testing │
│ 00:00:06 verbose #19 > │
│ 00:00:06 verbose #20 > ── spiral - import │
│ ───────────────────────────────────────────────────────────── │
│ 00:00:06 verbose #21 > #r │
│ 00:00:06 verbose #22 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:06 verbose #23 > otNet.Interactive.Spiral.dll" │
│ 00:00:06 verbose #24 > open │
│ Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers │
│ 00:00:06 verbose #25 > #r │
│ 00:00:06 verbose #26 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:06 verbose #27 > otNet.Interactive.dll" │
│ 00:00:06 verbose #28 > open type Microsoft.DotNet.Interactive.Kernel │
│ 00:00:13 verbose #29 > 00:00:11 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/5720e42fc475e9cb8d │
│ ca0c457f860b96335b24ec568ced2ed7db272f7d44d790/main.spi │
│ 00:00:15 verbose #30 > │
│ 00:00:15 verbose #31 > ╭─[ 9.75s - stdout │
│ ]───────────────────────────────────────────────────────────╮ │
│ 00:00:15 verbose #32 > │ () │
│ │ │
│ 00:00:15 verbose #33 > │ │
│ │
│ │ │
│ 00:00:15 verbose #34 > │ │
│ │
│ │ │
│ 00:00:15 verbose #35 > │
│ ╰─────────────────────────────────────────────────────────────────────────── │
│ ───╯ │
│ 00:00:15 verbose #36 > │
│ 00:00:15 verbose #37 > ── spiral │
│ ────────────────────────────────────────────────────────────────────── │
│ 00:00:15 verbose #38 > nominal i = () │
│ 00:00:15 verbose #39 > nominal e = () │
│ 00:00:15 verbose #40 > nominal s = () │
│ 00:00:15 verbose #41 > nominal n = () │
│ 00:00:15 verbose #42 > nominal t = () │
│ 00:00:15 verbose #43 > nominal f = () │
│ 00:00:15 verbose #44 > nominal j = () │
│ 00:00:15 verbose #45 > nominal p = () │
│ 00:00:15 verbose #46 > │
│ 00:00:15 verbose #47 > union sensing = │
│ 00:00:15 verbose #48 > | Si : s * i │
│ 00:00:15 verbose #49 > | Se : s * e │
│ 00:00:15 verbose #50 > │
│ 00:00:15 verbose #51 > union intuition = │
│ 00:00:15 verbose #52 > | Ni : n * i │
│ 00:00:15 verbose #53 > | Ne : n * e │
│ 00:00:15 verbose #54 > │
│ 00:00:15 verbose #55 > union thinking = │
│ 00:00:15 verbose #56 > | Ti : t * i │
│ 00:00:15 verbose #57 > | Te : t * e │
│ 00:00:15 verbose #58 > │
│ 00:00:15 verbose #59 > union feeling = │
│ 00:00:15 verbose #60 > | Fi : f * i │
│ 00:00:15 verbose #61 > | Fe : f * e │
│ 00:00:15 verbose #62 > │
│ 00:00:15 verbose #63 > union function_stack = │
│ 00:00:15 verbose #64 > | FS : sensing * intuition * thinking * feeling │
│ 00:00:15 verbose #65 > │
│ 00:00:15 verbose #66 > union personality_type = │
│ 00:00:15 verbose #67 > | ISTJ : i * s * t * j * function_stack │
│ 00:00:15 verbose #68 > | ISFJ : i * s * f * j * function_stack │
│ 00:00:15 verbose #69 > | INFJ : i * n * f * j * function_stack │
│ 00:00:15 verbose #70 > | INTJ : i * n * t * j * function_stack │
│ 00:00:15 verbose #71 > | ISTP : i * s * t * p * function_stack │
│ 00:00:15 verbose #72 > | ISFP : i * s * f * p * function_stack │
│ 00:00:15 verbose #73 > | INFP : i * n * f * p * function_stack │
│ 00:00:15 verbose #74 > | INTP : i * n * t * p * function_stack │
│ 00:00:15 verbose #75 > | ESTP : e * s * t * p * function_stack │
│ 00:00:15 verbose #76 > | ESFP : e * s * f * p * function_stack │
│ 00:00:15 verbose #77 > | ENFP : e * n * f * p * function_stack │
│ 00:00:15 verbose #78 > | ENTP : e * n * t * p * function_stack │
│ 00:00:15 verbose #79 > | ESTJ : e * s * t * j * function_stack │
│ 00:00:15 verbose #80 > | ESFJ : e * s * f * j * function_stack │
│ 00:00:15 verbose #81 > | ENFJ : e * n * f * j * function_stack │
│ 00:00:15 verbose #82 > | ENTJ : e * n * t * j * function_stack │
│ 00:00:15 verbose #83 > │
│ 00:00:15 verbose #84 > │
│ 00:00:15 verbose #85 > inl main () = │
│ 00:00:15 verbose #86 > inl istj_stack = FS ((Si (s, i)), Ne (n, e), (Te │
│ (t, e)), (Fi (f, i))) │
│ 00:00:15 verbose #87 > inl istj_personality = ISTJ (i, s, t, j, │
│ istj_stack) │
│ 00:00:15 verbose #88 > // inl isfj_stack = FS ((Si (s, i)), Ne (n, e), │
│ (Fe (f, e)), (Ti (t, i))) │
│ 00:00:15 verbose #89 > // inl isfj_personality = ISFJ (i, s, f, j, │
│ isfj_stack) │
│ 00:00:15 verbose #90 > │
│ 00:00:15 verbose #91 > ;[[ │
│ 00:00:15 verbose #92 > istj_personality │
│ 00:00:15 verbose #93 > ]] │
│ 00:00:15 verbose #94 > |> fun x => $'$"%A{!x}"' : string │
│ 00:00:15 verbose #95 > |> console.write_line │
│ 00:00:15 verbose #96 > │
│ 00:00:15 verbose #97 > inl main () = │
│ 00:00:15 verbose #98 > $"!main ()" : () │
│ 00:00:16 verbose #99 > 00:00:14 debug #5 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/a4433f38c9f8fa7420 │
│ 6a51c6784f5c5880ac35a5f3330eec92a102b94b2d7d72/main.spi │
│ 00:00:17 verbose #100 > │
│ 00:00:17 verbose #101 > ╭─[ 1.94s - stdout │
│ ]───────────────────────────────────────────────────────────╮ │
│ 00:00:17 verbose #102 > │ type [<Struct>] US0 = │
│ │ │
│ 00:00:17 verbose #103 > │ | US0_0 │
│ │ │
│ 00:00:17 verbose #104 > │ | US0_1 │
│ │ │
│ 00:00:17 verbose #105 > │ and [<Struct>] US1 = │
│ │ │
│ 00:00:17 verbose #106 > │ | US1_0 │
│ │ │
│ 00:00:17 verbose #107 > │ | US1_1 │
│ │ │
│ 00:00:17 verbose #108 > │ and [<Struct>] US2 = │
│ │ │
│ 00:00:17 verbose #109 > │ | US2_0 │
│ │ │
│ 00:00:17 verbose #110 > │ | US2_1 │
│ │ │
│ 00:00:17 verbose #111 > │ and [<Struct>] US3 = │
│ │ │
│ 00:00:17 verbose #112 > │ | US3_0 │
│ │ │
│ 00:00:17 verbose #113 > │ | US3_1 │
│ │ │
│ 00:00:17 verbose #114 > │ and [<Struct>] US4 = │
│ │ │
│ 00:00:17 verbose #115 > │ | US4_0 of f0_0 : US0 * f0_1 : US1 * f0_2 : │
│ US2 * f0_3 : US3 │ │
│ 00:00:17 verbose #116 > │ and [<Struct>] US5 = │
│ │ │
│ 00:00:17 verbose #117 > │ | US5_0 of f0_0 : US4 │
│ │ │
│ 00:00:17 verbose #118 > │ | US5_1 of f1_0 : US4 │
│ │ │
│ 00:00:17 verbose #119 > │ | US5_2 of f2_0 : US4 │
│ │ │
│ 00:00:17 verbose #120 > │ | US5_3 of f3_0 : US4 │
│ │ │
│ 00:00:17 verbose #121 > │ | US5_4 of f4_0 : US4 │
│ │ │
│ 00:00:17 verbose #122 > │ | US5_5 of f5_0 : US4 │
│ │ │
│ 00:00:17 verbose #123 > │ | US5_6 of f6_0 : US4 │
│ │ │
│ 00:00:17 verbose #124 > │ | US5_7 of f7_0 : US4 │
│ │ │
│ 00:00:17 verbose #125 > │ | US5_8 of f8_0 : US4 │
│ │ │
│ 00:00:17 verbose #126 > │ | US5_9 of f9_0 : US4 │
│ │ │
│ 00:00:17 verbose #127 > │ | US5_10 of f10_0 : US4 │
│ │ │
│ 00:00:17 verbose #128 > │ | US5_11 of f11_0 : US4 │
│ │ │
│ 00:00:17 verbose #129 > │ | US5_12 of f12_0 : US4 │
│ │ │
│ 00:00:17 verbose #130 > │ | US5_13 of f13_0 : US4 │
│ │ │
│ 00:00:17 verbose #131 > │ | US5_14 of f14_0 : US4 │
│ │ │
│ 00:00:17 verbose #132 > │ | US5_15 of f15_0 : US4 │
│ │ │
│ 00:00:17 verbose #133 > │ let rec closure0 () () : unit = │
│ │ │
│ 00:00:17 verbose #134 > │ let v0 : US0 = US0_0 │
│ │ │
│ 00:00:17 verbose #135 > │ let v1 : US1 = US1_1 │
│ │ │
│ 00:00:17 verbose #136 > │ let v2 : US2 = US2_1 │
│ │ │
│ 00:00:17 verbose #137 > │ let v3 : US3 = US3_0 │
│ │ │
│ 00:00:17 verbose #138 > │ let v4 : US4 = US4_0(v0, v1, v2, v3) │
│ │ │
│ 00:00:17 verbose #139 > │ let v5 : US5 = US5_0(v4) │
│ │ │
│ 00:00:17 verbose #140 > │ let v6 : (US5 []) = [|v5|] │
│ │ │
│ 00:00:17 verbose #141 > │ let v7 : string = $"%A{v6}" │
│ │ │
│ 00:00:17 verbose #142 > │ System.Console.WriteLine v7 │
│ │ │
│ 00:00:17 verbose #143 > │ () │
│ │ │
│ 00:00:17 verbose #144 > │ let v0 : (unit -> unit) = closure0() │
│ │ │
│ 00:00:17 verbose #145 > │ v0 () │
│ │ │
│ 00:00:17 verbose #146 > │ () │
│ │ │
│ 00:00:17 verbose #147 > │ │
│ │
│ │ │
│ 00:00:17 verbose #148 > │ [|US5_0 (US4_0 (US0_0, US1_1, US2_1, US3_0))|] │
│ │ │
│ 00:00:17 verbose #149 > │ │
│ │
│ │ │
│ 00:00:17 verbose #150 > │
│ ╰─────────────────────────────────────────────────────────────────────────── │
│ ───╯ │
│ 00:00:17 verbose #151 > │
│ 00:00:17 verbose #152 > ── fsharp │
│ ────────────────────────────────────────────────────────────────────── │
│ 00:00:17 verbose #153 > type PhonologicalFeature = │
│ 00:00:17 verbose #154 > | VowelFeature of │
│ 00:00:17 verbose #155 > height: Height │
│ 00:00:17 verbose #156 > * backness: Backness │
│ 00:00:17 verbose #157 > * roundedness: Roundedness │
│ 00:00:17 verbose #158 > * tone: Option<Tone> │
│ 00:00:17 verbose #159 > * stress: Option<Stress> │
│ 00:00:17 verbose #160 > * length: Option<Length> │
│ 00:00:17 verbose #161 > | ConsonantFeature of │
│ 00:00:17 verbose #162 > place: PlaceOfArticulation │
│ 00:00:17 verbose #163 > * manner: MannerOfArticulation │
│ 00:00:17 verbose #164 > * voicing: Voicing │
│ 00:00:17 verbose #165 > * length: Option<Length> │
│ 00:00:17 verbose #166 > | VowelHarmonyFeature │
│ 00:00:17 verbose #167 > | PitchAccentFeature │
│ 00:00:17 verbose #168 > │
│ 00:00:17 verbose #169 > and Stress = Primary | Secondary │
│ 00:00:17 verbose #170 > and Length = Long | Short | HalfLong │
│ 00:00:17 verbose #171 > │
│ 00:00:17 verbose #172 > and Height = │
│ 00:00:17 verbose #173 > | High | NearHigh | HighMid │
│ 00:00:17 verbose #174 > | Mid | LowMid | NearLow │
│ 00:00:17 verbose #175 > | Low │
│ 00:00:17 verbose #176 > │
│ 00:00:17 verbose #177 > and Backness = Front | Central | Back │
│ 00:00:17 verbose #178 > │
│ 00:00:17 verbose #179 > and Roundedness = Rounded | Unrounded │
│ 00:00:17 verbose #180 > │
│ 00:00:17 verbose #181 > and PlaceOfArticulation = │
│ 00:00:17 verbose #182 > | Bilabial | Labiodental | Dental │
│ 00:00:17 verbose #183 > | Alveolar | Postalveolar | Retroflex │
│ 00:00:17 verbose #184 > | Palatal | Velar | Uvular │
│ 00:00:17 verbose #185 > | Pharyngeal | Epiglottal | Glottal │
│ 00:00:17 verbose #186 > │
│ 00:00:17 verbose #187 > and MannerOfArticulation = │
│ 00:00:17 verbose #188 > | Plosive | Nasal | Trill │
│ 00:00:17 verbose #189 > | TapOrFlap | Fricative | LateralFricative │
│ 00:00:17 verbose #190 > | Approximant | LateralApproximant │
│ 00:00:17 verbose #191 > │
│ 00:00:17 verbose #192 > and Voicing = Voiced | Voiceless │
│ 00:00:17 verbose #193 > │
│ 00:00:17 verbose #194 > and SecondaryArticulation = │
│ 00:00:17 verbose #195 > | Labialization | Palatalization | Velarization │
│ 00:00:17 verbose #196 > | Pharyngealization | Aspiration │
│ 00:00:17 verbose #197 > │
│ 00:00:17 verbose #198 > and Tone = │
│ 00:00:17 verbose #199 > | LevelTone of int │
│ 00:00:17 verbose #200 > | ContourTone of int list │
│ 00:00:17 verbose #201 > │
│ 00:00:17 verbose #202 > and MorphologicalFeature = │
│ 00:00:17 verbose #203 > | RootFeature of string │
│ 00:00:17 verbose #204 > | AffixFeature of AffixType * string │
│ 00:00:17 verbose #205 > | IncorporationFeature of string * │
│ MorphologicalFeature │
│ 00:00:17 verbose #206 > | NonConcatenativePattern of string * string │
│ 00:00:17 verbose #207 > | AgglutinativeAffixFeature of │
│ AgglutinativeAffixType * string │
│ 00:00:17 verbose #208 > | HonorificFeature of HonorificType * string │
│ 00:00:17 verbose #209 > │
│ 00:00:17 verbose #210 > and AgglutinativeAffixType = Suffix | Prefix │
│ 00:00:17 verbose #211 > │
│ 00:00:17 verbose #212 > and HonorificType = VerbHonorific | NounHonorific │
│ 00:00:17 verbose #213 > │
│ 00:00:17 verbose #214 > and AffixType = │
│ 00:00:17 verbose #215 > | Prefix | Suffix | Infix │
│ 00:00:17 verbose #216 > | Circumfix │
│ 00:00:17 verbose #217 > │
│ 00:00:17 verbose #218 > type SyntacticFeature = │
│ 00:00:17 verbose #219 > | WordFeature of MorphologicalFeature list * │
│ LexicalCategory │
│ 00:00:17 verbose #220 > | PhraseFeature of PhraseType * SyntacticFeature │
│ list │
│ 00:00:17 verbose #221 > | GrammaticalRelation of GrammaticalRelationType │
│ * SyntacticFeature list │
│ 00:00:17 verbose #222 > | SOVOrderFeature │
│ 00:00:17 verbose #223 > | TopicCommentFeature │
│ 00:00:17 verbose #224 > │
│ 00:00:17 verbose #225 > and GrammaticalRelationType = │
│ 00:00:17 verbose #226 > | Ergative | Absolutive | Nominative │
│ 00:00:17 verbose #227 > | Accusative │
│ 00:00:17 verbose #228 > │
│ 00:00:17 verbose #229 > and LexicalCategory = │
│ 00:00:17 verbose #230 > | Noun | Verb | Adjective │
│ 00:00:17 verbose #231 > | Adverb | Pronoun | Preposition │
│ 00:00:17 verbose #232 > | Conjunction | Determiner | Interjection │
│ 00:00:17 verbose #233 > │
│ 00:00:17 verbose #234 > and PhraseType = │
│ 00:00:17 verbose #235 > | NP | VP | AP │
│ 00:00:17 verbose #236 > | PP | CP │
│ 00:00:17 verbose #237 > │
│ 00:00:17 verbose #238 > and SemanticFeature = │
│ 00:00:17 verbose #239 > | Meaning of string │
│ 00:00:17 verbose #240 > | SemanticRole of SemanticRoleType * │
│ SemanticFeature │
│ 00:00:17 verbose #241 > │
│ 00:00:17 verbose #242 > and SemanticRoleType = │
│ 00:00:17 verbose #243 > | Agent | Patient | Instrument │
│ 00:00:17 verbose #244 > | Location | Time | Cause │
│ 00:00:17 verbose #245 > │
│ 00:00:17 verbose #246 > and PragmaticFeature = │
│ 00:00:17 verbose #247 > | UseContext of string │
│ 00:00:17 verbose #248 > | PolitenessLevel of Politeness │
│ 00:00:17 verbose #249 > | SpeechAct of SpeechActType │
│ 00:00:17 verbose #250 > | SpeechLevel of SpeechLevelType │
│ 00:00:17 verbose #251 > │
│ 00:00:17 verbose #252 > and Politeness = Formal | Informal | Neutral │
│ 00:00:17 verbose #253 > │
│ 00:00:17 verbose #254 > and SpeechActType = │
│ 00:00:17 verbose #255 > | Assertive | Directive | Commissive │
│ 00:00:17 verbose #256 > | Expressive | Declarative │
│ 00:00:17 verbose #257 > │
│ 00:00:17 verbose #258 > and SpeechLevelType = │
│ 00:00:17 verbose #259 > | FormalHigh | FormalLow | InformalHigh │
│ 00:00:17 verbose #260 > | InformalLow | Neutral │
│ 00:00:17 verbose #261 > │
│ 00:00:17 verbose #262 > type LinguisticFeature = │
│ 00:00:17 verbose #263 > | Phonological of PhonologicalFeature │
│ 00:00:17 verbose #264 > | Morphological of MorphologicalFeature │
│ 00:00:17 verbose #265 > | Syntactic of SyntacticFeature │
│ 00:00:17 verbose #266 > | Semantic of SemanticFeature │
│ 00:00:17 verbose #267 > | Pragmatic of PragmaticFeature │
│ 00:00:17 verbose #268 > │
│ 00:00:17 verbose #269 > type LanguageConstruct = │
│ 00:00:17 verbose #270 > | LanguageElement of LinguisticFeature │
│ 00:00:17 verbose #271 > | LanguageStructure of LanguageConstruct list │
│ 00:00:17 verbose #272 > | TranslationElement of TranslationFeature │
│ 00:00:17 verbose #273 > │
│ 00:00:17 verbose #274 > and TranslationFeature = │
│ 00:00:17 verbose #275 > | LinkedPhonological of PhonologicalFeature * │
│ PhonologicalFeature │
│ 00:00:17 verbose #276 > | LinkedMorphological of MorphologicalFeature * │
│ MorphologicalFeature │
│ 00:00:17 verbose #277 > | LinkedSyntactic of SyntacticFeature * │
│ SyntacticFeature │
│ 00:00:17 verbose #278 > | LinkedSemantic of SemanticFeature * │
│ SemanticFeature │
│ 00:00:17 verbose #279 > │
│ 00:00:17 verbose #280 > type Discourse = DiscourseUnit of LanguageConstruct │
│ list │
│ 00:00:17 verbose #281 > │
│ 00:00:17 verbose #282 > type LanguageModel = │
│ 00:00:17 verbose #283 > | Model of discourse: Discourse │
│ 00:00:17 verbose #284 > │
│ 00:00:17 verbose #285 > ── fsharp - import │
│ ───────────────────────────────────────────────────────────── │
│ 00:00:17 verbose #286 > #r │
│ 00:00:17 verbose #287 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.A │
│ 00:00:17 verbose #288 > spNetCore.Html.Abstractions.dll" │
│ 00:00:17 verbose #289 > #r │
│ 00:00:17 verbose #290 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:17 verbose #291 > otNet.Interactive.dll" │
│ 00:00:17 verbose #292 > #r │
│ 00:00:17 verbose #293 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:17 verbose #294 > otNet.Interactive.FSharp.dll" │
│ 00:00:17 verbose #295 > #r │
│ 00:00:17 verbose #296 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:17 verbose #297 > otNet.Interactive.Formatting.dll" │
│ 00:00:17 verbose #298 > open System │
│ 00:00:17 verbose #299 > open System.IO │
│ 00:00:17 verbose #300 > open System.Text │
│ 00:00:17 verbose #301 > open Microsoft.DotNet.Interactive.Formatting │
│ 00:00:18 verbose #302 > │
│ 00:00:18 verbose #303 > ── fsharp - import │
│ ───────────────────────────────────────────────────────────── │
│ 00:00:18 verbose #304 > #r │
│ 00:00:18 verbose #305 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:18 verbose #306 > otNet.Interactive.FSharp.dll" │
│ 00:00:18 verbose #307 > open │
│ Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers │
│ 00:00:18 verbose #308 > #r │
│ 00:00:18 verbose #309 > │
│ "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microso │
│ ft.D │
│ 00:00:18 verbose #310 > otNet.Interactive.dll" │
│ 00:00:18 verbose #311 > open type Microsoft.DotNet.Interactive.Kernel │
│ 00:00:18 verbose #312 > │
│ 00:00:18 verbose #313 > ── fsharp - import │
│ ───────────────────────────────────────────────────────────── │
│ 00:00:18 verbose #314 > Formatter.Register(fun(x: obj)(writer: │
│ TextWriter)->fprintfn writer "%120A" x) │
│ 00:00:18 verbose #315 > │
│ 00:00:18 verbose #316 > ── fsharp - import │
│ ───────────────────────────────────────────────────────────── │
│ 00:00:18 verbose #317 > Formatter.Register(fun(x: │
│ System.Collections.IEnumerable)(writer: │
│ 00:00:18 verbose #318 > TextWriter)->fprintfn writer "%120A" x) │
│ 00:00:18 verbose #319 > │
│ 00:00:18 verbose #320 > ── fsharp - import │
│ ───────────────────────────────────────────────────────────── │
│ 00:00:18 verbose #321 > type PhonologicalFeature = │
│ 00:00:18 verbose #322 > | VowelFeature of │
│ 00:00:18 verbose #323 > height: Height │
│ 00:00:18 verbose #324 > * backness: Backness │
│ 00:00:18 verbose #325 > * roundedness: Roundedness │
│ 00:00:18 verbose #326 > * tone: Option<Tone> │
│ 00:00:18 verbose #327 > * stress: Option<Stress> │
│ 00:00:18 verbose #328 > * length: Option<Length> │
│ 00:00:18 verbose #329 > | ConsonantFeature of │
│ 00:00:18 verbose #330 > place: PlaceOfArticulation │
│ 00:00:18 verbose #331 > * manner: MannerOfArticulation │
│ 00:00:18 verbose #332 > * voicing: Voicing │
│ 00:00:18 verbose #333 > * length: Option<Length> │
│ 00:00:18 verbose #334 > | VowelHarmonyFeature │
│ 00:00:18 verbose #335 > | PitchAccentFeature │
│ 00:00:18 verbose #336 > │
│ 00:00:18 verbose #337 > and Stress = Primary | Secondary │
│ 00:00:18 verbose #338 > and Length = Long | Short | HalfLong │
│ 00:00:18 verbose #339 > │
│ 00:00:18 verbose #340 > and Height = │
│ 00:00:18 verbose #341 > | High | NearHigh | HighMid │
│ 00:00:18 verbose #342 > | Mid | LowMid | NearLow │
│ 00:00:18 verbose #343 > | Low │
│ 00:00:18 verbose #344 > │
│ 00:00:18 verbose #345 > and Backness = Front | Central | Back │
│ 00:00:18 verbose #346 > │
│ 00:00:18 verbose #347 > and Roundedness = Rounded | Unrounded │
│ 00:00:18 verbose #348 > │
│ 00:00:18 verbose #349 > and PlaceOfArticulation = │
│ 00:00:18 verbose #350 > | Bilabial | Labiodental | Dental │
│ 00:00:18 verbose #351 > | Alv... │
│ 00:00:19 verbose #352 > │
│ 00:00:19 verbose #353 > ── fsharp │
│ ────────────────────────────────────────────────────────────────────── │
│ 00:00:19 verbose #354 > let testEnglish = │
│ 00:00:19 verbose #355 > Model( │
│ 00:00:19 verbose #356 > DiscourseUnit [[ │
│ 00:00:19 verbose #357 > LanguageElement (Phonological │
│ (ConsonantFeature (Alveolar, Nasal, │
│ 00:00:19 verbose #358 > Voiced, Some(HalfLong)))); │
│ 00:00:19 verbose #359 > LanguageElement (Phonological │
│ (VowelFeature (High, Front, Unrounded, │
│ 00:00:19 verbose #360 > Some(LevelTone 1), Some(Primary), Some(Short)))); │
│ 00:00:19 verbose #361 > LanguageElement (Phonological │
│ (VowelFeature (Low, Front, Unrounded, │
│ 00:00:19 verbose #362 > Some(LevelTone 2), Some(Secondary), Some(Long)))); │
│ 00:00:19 verbose #363 > LanguageElement (Phonological │
│ (ConsonantFeature (Velar, Plosive, │
│ 00:00:19 verbose #364 > Voiceless, Some(HalfLong)))); │
│ 00:00:19 verbose #365 > LanguageElement (Morphological │
│ (RootFeature "I")); │
│ 00:00:19 verbose #366 > LanguageElement (Morphological │
│ (RootFeature "see")); │
│ 00:00:19 verbose #367 > LanguageElement (Morphological │
│ (RootFeature "a")); │
│ 00:00:19 verbose #368 > LanguageElement (Morphological │
│ (RootFeature "cat")); │
│ 00:00:19 verbose #369 > LanguageElement (Syntactic │
│ (PhraseFeature (NP, [[WordFeature │
│ 00:00:19 verbose #370 > ([[RootFeature "I"]], Pronoun)]]))); │
│ 00:00:19 verbose #371 > LanguageElement (Syntactic │
│ (PhraseFeature (VP, [[WordFeature │
│ 00:00:19 verbose #372 > ([[RootFeature "see"]], Verb)]]))); │
│ 00:00:19 verbose #373 > LanguageElement (Syntactic │
│ (PhraseFeature (NP, [[WordFeature │
│ 00:00:19 verbose #374 > ([[RootFeature "a"; RootFeature "cat"]], Noun)]]))); │
│ 00:00:19 verbose #375 > LanguageElement (Semantic (Meaning │
│ "Perception act of a feline by │
│ 00:00:19 verbose #376 > the speaker")); │
│ 00:00:19 verbose #377 > LanguageElement (Pragmatic (UseContext │
│ "Statement of an action being │
│ 00:00:19 verbose #378 > observed")) │
│ 00:00:19 verbose #379 > ]] │
│ 00:00:19 verbose #380 > ) │
│ 00:00:19 verbose #381 > │
│ 00:00:19 verbose #382 > let testPortuguese = │
│ 00:00:19 verbose #383 > Model( │
│ 00:00:19 verbose #384 > DiscourseUnit [[ │
│ 00:00:19 verbose #385 > LanguageElement (Phonological │
│ (VowelFeature (High, Front, Unrounded, │
│ 00:00:19 verbose #386 > Some(LevelTone 1), Some(Primary), Some(Short)))); │
│ 00:00:19 verbose #387 > LanguageElement (Phonological │
│ (VowelFeature (Low, Front, Unrounded, │
│ 00:00:19 verbose #388 > Some(LevelTone 2), Some(Secondary), Some(Long)))); │
│ 00:00:19 verbose #389 > LanguageElement (Phonological │
│ (VowelFeature (Mid, Back, Rounded, │
│ 00:00:19 verbose #390 > Some(LevelTone 3), Some(Primary), Some(Short)))); │
│ 00:00:19 verbose #391 > LanguageElement (Phonological │
│ (ConsonantFeature (Velar, Plosive, │
│ 00:00:19 verbose #392 > Voiceless, Some(HalfLong)))); │
│ 00:00:19 verbose #393 > LanguageElement (Morphological │
│ (RootFeature "Eu")); │
│ 00:00:19 verbose #394 > LanguageElement (Morphological │
│ (RootFeature "ver" |> ignore; │
│ 00:00:19 verbose #395 > AffixFeature (Suffix, "o"))); │
│ 00:00:19 verbose #396 > LanguageElement (Morphological │
│ (RootFeature "um")); │
│ 00:00:19 verbose #397 > LanguageElement (Morphological │
│ (RootFeature "gato")); │
│ 00:00:19 verbose #398 > LanguageElement (Syntactic │
│ (PhraseFeature (NP, [[WordFeature │
│ 00:00:19 verbose #399 > ([[RootFeature "Eu"]], Pronoun)]]))); │
│ 00:00:19 verbose #400 > LanguageElement (Syntactic │
│ (PhraseFeature (VP, [[WordFeature │
│ 00:00:19 verbose #401 > ([[RootFeature "vejo"]], Verb)]]))); │
│ 00:00:19 verbose #402 > LanguageElement (Syntactic │
│ (PhraseFeature (NP, [[WordFeature │
│ 00:00:19 verbose #403 > ([[RootFeature "um"; RootFeature "gato"]], │
│ Noun)]]))); │
│ 00:00:19 verbose #404 > LanguageElement (Semantic (Meaning "Ação │
│ de percepção de um felino │
│ 00:00:19 verbose #405 > pelo falante")); │
│ 00:00:19 verbose #406 > LanguageElement (Pragmatic (UseContext │
│ "Declaração de uma ação sendo │
│ 00:00:19 verbose #407 > observada")) │
│ 00:00:19 verbose #408 > ]] │
│ 00:00:19 verbose #409 > ) │
│ 00:00:19 verbose #410 > │
│ 00:00:19 verbose #411 > let testKorean = │
│ 00:00:19 verbose #412 > Model( │
│ 00:00:19 verbose #413 > DiscourseUnit [[ │
│ 00:00:19 verbose #414 > LanguageElement (Phonological │
│ (ConsonantFeature (Alveolar, Nasal, │
│ 00:00:19 verbose #415 > Voiced, Some(Short)))); │
│ 00:00:19 verbose #416 > LanguageElement (Phonological │
│ (VowelFeature (High, Back, Rounded, │
│ 00:00:19 verbose #417 > None, None, Some(Short)))); │
│ 00:00:19 verbose #418 > LanguageElement (Phonological │
│ (VowelFeature (Mid, Front, Unrounded, │
│ 00:00:19 verbose #419 > None, None, Some(Long)))); │
│ 00:00:19 verbose #420 > LanguageElement (Phonological │
│ (ConsonantFeature (Bilabial, Plosive, │
│ 00:00:19 verbose #421 > Voiceless, Some(Short)))); │
│ 00:00:19 verbose #422 > LanguageElement (Morphological │
│ (RootFeature "나")); │
│ 00:00:19 verbose #423 > LanguageElement (Morphological │
│ (RootFeature "보다")); │
│ 00:00:19 verbose #424 > LanguageElement (Morphological │
│ (AffixFeature (Suffix, "아"))); │
│ 00:00:19 verbose #425 > LanguageElement (Morphological │
│ (RootFeature "고양이")); │
│ 00:00:19 verbose #426 > LanguageElement (Syntactic │
│ (PhraseFeature (NP, [[WordFeature │
│ 00:00:19 verbose #427 > ([[RootFeature "나"]], Pronoun)]]))); │
│ 00:00:19 verbose #428 > LanguageElement (Syntactic │
│ (PhraseFeature (VP, [[WordFeature │
│ 00:00:19 verbose #429 > ([[RootFeature "보다"; AffixFeature (Suffix, │
│ "아")]], Verb)]]))); │
│ 00:00:19 verbose #430 > LanguageElement (Syntactic │
│ (PhraseFeature (NP, [[WordFeature │
│ 00:00:19 verbose #431 > ([[RootFeature "고양이"]], Noun)]]))); │
│ 00:00:19 verbose #432 > LanguageElement (Semantic (Meaning │
│ "화자에 의한 고양이의 관찰 │
│ 00:00:19 verbose #433 > 행위")); │
│ 00:00:19 verbose #434 > LanguageElement (Pragmatic (UseContext │
│ "관찰되고 있는 행동의 진술")) │
│ 00:00:19 verbose #435 > ]] │
│ 00:00:19 verbose #436 > ) │
│ 00:00:19 verbose #437 > │
│ 00:00:19 verbose #438 > ── markdown │
│ ──────────────────────────────────────────────────────────────────── │
│ 00:00:19 verbose #439 > │
│ ╭─────────────────────────────────────────────────────────────────────────── │
│ ───╮ │
│ 00:00:19 verbose #440 > │ ## main │
│ │ │
│ 00:00:19 verbose #441 > │
│ ╰─────────────────────────────────────────────────────────────────────────── │
│ ───╯ │
│ 00:00:19 verbose #442 > │
│ 00:00:19 verbose #443 > ── spiral │
│ ────────────────────────────────────────────────────────────────────── │
│ 00:00:19 verbose #444 > inl main (_args : array_base string) = │
│ 00:00:19 verbose #445 > 0i32 │
│ 00:00:19 verbose #446 > │
│ 00:00:19 verbose #447 > inl main () = │
│ 00:00:19 verbose #448 > $"let main args = !main args" : () │
│ 00:00:19 verbose #449 > 00:00:18 debug #6 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/e548ec33f42f73ee89 │
│ c67c6d2a1ef7a836fc8d40ecb78de5316eeda721f3fd00/main.spi │
│ 00:00:20 verbose #450 > │
│ 00:00:20 verbose #451 > ╭─[ 703.87ms - stdout │
│ ]────────────────────────────────────────────────────────╮ │
│ 00:00:20 verbose #452 > │ let rec closure0 () (v0 : (string [])) : int32 = │
│ │ │
│ 00:00:20 verbose #453 > │ 0 │
│ │ │
│ 00:00:20 verbose #454 > │ let v0 : ((string []) -> int32) = closure0() │
│ │ │
│ 00:00:20 verbose #455 > │ let main args = v0 args │
│ │ │
│ 00:00:20 verbose #456 > │ () │
│ │ │
│ 00:00:20 verbose #457 > │ │
│ │
│ │ │
│ 00:00:20 verbose #458 > │ │
│ │
│ │ │
│ 00:00:20 verbose #459 > │
│ ╰─────────────────────────────────────────────────────────────────────────── │
│ ───╯ │
│ 00:00:20 verbose #460 > │
│ 00:00:20 verbose #461 > ── spiral │
│ ────────────────────────────────────────────────────────────────────── │
│ 00:00:20 verbose #462 > inl app () = │
│ 00:00:20 verbose #463 > "test" |> console.write_line │
│ 00:00:20 verbose #464 > 0i32 │
│ 00:00:20 verbose #465 > │
│ 00:00:20 verbose #466 > inl main () = │
│ 00:00:20 verbose #467 > print_static "<test>" │
│ 00:00:20 verbose #468 > │
│ 00:00:20 verbose #469 > app │
│ 00:00:20 verbose #470 > |> dyn │
│ 00:00:20 verbose #471 > |> ignore │
│ 00:00:20 verbose #472 > │
│ 00:00:20 verbose #473 > print_static "</test>" │
│ 00:00:20 verbose #474 > 00:00:19 debug #7 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/target/polyglot/spiral_eval/packages/6a5b0dc6893d02610f │
│ f983901642ade269204326dddb8deea7bf732636507452/main.spi │
│ 00:00:20 verbose #475 > <test> │
│ 00:00:20 verbose #476 > </test> │
│ 00:00:20 verbose #477 > │
│ 00:00:20 verbose #478 > ╭─[ 667.47ms - stdout │
│ ]────────────────────────────────────────────────────────╮ │
│ 00:00:20 verbose #479 > │ let rec closure0 () () : int32 = │
│ │ │
│ 00:00:20 verbose #480 > │ let v0 : string = "test" │
│ │ │
│ 00:00:20 verbose #481 > │ System.Console.WriteLine v0 │
│ │ │
│ 00:00:20 verbose #482 > │ 0 │
│ │ │
│ 00:00:20 verbose #483 > │ let v0 : (unit -> int32) = closure0() │
│ │ │
│ 00:00:20 verbose #484 > │ () │
│ │ │
│ 00:00:20 verbose #485 > │ │
│ │
│ │ │
│ 00:00:20 verbose #486 > │ │
│ │
│ │ │
│ 00:00:20 verbose #487 > │
│ ╰─────────────────────────────────────────────────────────────────────────── │
│ ───╯ │
│ 00:00:23 verbose #488 > [NbConvertApp] Converting notebook test.dib.ipynb to │
│ html │
│ 00:00:23 verbose #489 > │
│ C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__ │
│ .py:93: MissingIDFieldWarning: Code cell is missing an id field, this will │
│ become a hard error in future nbformat versions. You may want to use │
│ `normalize()` on your notebooks before validations (available since nbformat │
│ 5.1.4). Previous versions of nbformat are fixing this issue transparently, │
│ and will stop doing so in the future. │
│ 00:00:23 verbose #490 > validate(nb) │
│ 00:00:24 verbose #491 > [NbConvertApp] Writing 321480 bytes to test.dib.html │
│ 00:00:25 debug #492 execute_with_options_async / exit_code: 0 / │
│ output.Length: 19909 │
│ 00:00:25 debug #3 main / executeCommand / exitCode: 0 │
│ 00:00:25 verbose #7 wait_for_port_access / port: 13805 / retry: 0 / timeout: │
│ Some 100 / status: False │
│ 00:00:25 debug #8 run_with_timeout_async / timeout: 100 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
{ . ../../../../apps/parser/dist/DibParser$(_exe) test.dib spi } | Invoke-Block
╭─[ 1.87s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:00 debug #1 writeDibCode / output: Spi / path: test.dib │
│ 00:00:00 debug #2 parseDibCode / output: Spi / file: test.dib │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
{ . ../../../../apps/spiral/dist/Supervisor$(_exe) --build-file test.spi
test.fsx } | Invoke-Block
╭─[ 6.62s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:00 debug #1 run_with_timeout_async / timeout: 500 │
│ 00:00:00 debug #1 execute_with_options_async / options: struct (Some │
│ System.Threading.CancellationToken, │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port │
│ 13805 --default-int i32 --default-float f64", │
│ [||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot") │
│ 00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot │
│ 00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: │
│ C:\home\git\polyglot\target/polyglot/spiral_eval │
│ 00:00:01 debug #2 run_with_timeout_async / timeout: 100 │
│ 00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: │
│ Some 100 / status: True │
│ 00:00:01 debug #4 run_with_timeout_async / timeout: 100 │
│ 00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: │
│ http://localhost:13805 │
│ 00:00:01 debug #5 run_with_timeout_async / timeout: 100 │
│ 00:00:02 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result: │
│ 00:00:02 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: │
│ 13805 / retry: 0 │
│ 00:00:02 verbose #6 > Server bound to: http://localhost:13805 │
│ 00:00:02 debug #6 run_with_timeout_async / timeout: 500 │
│ 00:00:02 debug #3 buildFile / takeWhileInclusive / path: test.spi / │
│ fsxContent: / errors: [] / typeErrorCount: 0 │
│ 00:00:02 debug #4 buildFile / takeWhileInclusive / path: test.spi / │
│ fsxContent: / errors: [] / typeErrorCount: 0 │
│ 00:00:02 verbose #5 sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"/// # test (Polyglot)\nnominal i = ()\nnominal e = │
│ ()\nnominal s = │
│ ()\nnomin...0022\u003C/test\u003E\u0022\n","uri":"file:///c:/home/git/polygl │
│ ot/apps/spiral/temp/test/test.spi"}} / result: │
│ 00:00:02 verbose #6 sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///c:/home/git/polyglot/apps/sp │
│ iral/temp/test/test.spi"}} / result: │
│ 00:00:03 verbose #7 > 00:00:02 debug #4 │
│ Supervisor.supervisor_server.BuildFile / file: │
│ c:/home/git/polyglot/apps/spiral/temp/test/test.spi │
│ 00:00:03 debug #7 buildFile / takeWhileInclusive / path: test.spi / │
│ fsxContent: / errors: [] / typeErrorCount: 0 │
│ 00:00:04 debug #8 buildFile / takeWhileInclusive / path: test.spi / │
│ fsxContent: / errors: [] / typeErrorCount: 0 │
│ 00:00:05 debug #9 buildFile / takeWhileInclusive / path: test.spi / │
│ fsxContent: / errors: [] / typeErrorCount: 0 │
│ 00:00:06 verbose #8 > <test> │
│ 00:00:06 verbose #9 > </test> │
│ 00:00:06 debug #10 buildFile / takeWhileInclusive / path: test.spi / │
│ fsxContent: let rec closure0 () () : int32 = │
│ let v0 : string = "test" │
│ System.Console.WriteLine v0 │
│ 0 │
│ let v0 : (unit -> int32) = closure0() │
│ () │
│ / errors: [] / typeErrorCount: 0 │
│ 00:00:06 debug #11 watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ 00:00:06 verbose #7 wait_for_port_access / port: 13805 / retry: 0 / timeout: │
│ Some 100 / status: False │
│ 00:00:06 debug #8 run_with_timeout_async / timeout: 100 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
dotnet fable --optimize --lang rs --extension .rs
╭─[ 3.97s - stdout ]───────────────────────────────────────────────────────────╮
│ Fable 4.17.0: F# to Rust compiler (status: alpha) │
│ │
│ Thanks to the contributor! @ThisFunctionalTom │
│ Stand with Ukraine! https://standwithukraine.com.ua/ │
│ │
│ Parsing test.fsproj... │
│ Retrieving project options from cache, in case of issues run `dotnet fable │
│ clean` or try `--noCache` option. │
│ Project and references (1 source files) parsed in 219ms │
│ │
│ Started Fable compilation... │
│ │
│ Fable compilation finished in 1597ms │
│ │
│ .\test.fsx(6,0): (6,2) warning FABLE: For Rust, support for F# static and │
│ module do bindings is disabled by default. It can be enabled with the │
│ 'static_do_bindings' feature. Use at your own risk! │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
(Get-Content test.rs) `
-replace [[regex]]::Escape("),);"), "));" `
| Set-Content test.rs
── pwsh ────────────────────────────────────────────────────────────────────────
cargo fmt --
── pwsh ────────────────────────────────────────────────────────────────────────
cargo build --release
╭─[ 13.80s - stdout ]──────────────────────────────────────────────────────────╮
│ Compiling fable_library_rust v0.1.0 │
│ (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust) │
│ Compiling spiral_temp_test v0.0.1 │
│ (C:\home\git\polyglot\apps\spiral\temp\test) │
│ warning: unused import: `info` │
│ --> apps\spiral\temp\test\./main.rs:190:15 │
│ | │
│ 190 | use tracing::{info, Level}; │
│ | ^^^^ │
│ | │
│ = note: `#[warn(unused_imports)]` on by default │
│ │
│ warning: struct `Cart` is never constructed │
│ --> apps\spiral\temp\test\./main.rs:41:8 │
│ | │
│ 41 | struct Cart { │
│ | ^^^^ │
│ | │
│ = note: `#[warn(dead_code)]` on by default │
│ │
│ warning: associated items `new`, `add_item`, and `remove_item` are │
│ never used │
│ --> apps\spiral\temp\test\./main.rs:46:8 │
│ | │
│ 45 | impl Cart { │
│ | --------- associated items in this implementation │
│ 46 | fn new() -> Cart { │
│ | ^^^ │
│ ... │
│ 50 | fn add_item(&mut self, item: Item) { │
│ | ^^^^^^^^ │
│ ... │
│ 56 | fn remove_item(&mut self, item: &Item) { │
│ | ^^^^^^^^^^^ │
│ │
│ warning: function `parse_comment` is never used │
│ --> apps\spiral\temp\test\./main.rs:124:4 │
│ | │
│ 124 | fn parse_comment(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_string` is never used │
│ --> apps\spiral\temp\test\./main.rs:130:4 │
│ | │
│ 130 | fn parse_string(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^ │
│ │
│ warning: function `parse_identifier` is never used │
│ --> apps\spiral\temp\test\./main.rs:145:4 │
│ | │
│ 145 | fn parse_identifier(input: &str) -> IResult<&str, SpiralToken> {[ │
│ 0m │
│ | ^^^^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_integer` is never used │
│ --> apps\spiral\temp\test\./main.rs:157:4 │
│ | │
│ 157 | fn parse_integer(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_operator` is never used │
│ --> apps\spiral\temp\test\./main.rs:165:4 │
│ | │
│ 165 | fn parse_operator(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_token` is never used │
│ --> apps\spiral\temp\test\./main.rs:170:4 │
│ | │
│ 170 | fn parse_token(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^ │
│ │
│ warning: function `format_token` is never used │
│ --> apps\spiral\temp\test\./main.rs:180:4 │
│ | │
│ 180 | fn format_token(token: &SpiralToken) -> String { │
│ | ^^^^^^^^^^^^ │
│ │
│ warning: function `parse_expression` is never used │
│ --> apps\spiral\temp\test\./main.rs:213:4 │
│ | │
│ 213 | fn parse_expression(input: &str) -> IResult<&str, SpiralToken> {[ │
│ 0m │
│ | ^^^^^^^^^^^^^^^^ │
│ │
│ warning: `spiral_temp_test` (bin "spiral_temp_test") generated 11 │
│ warnings (run `cargo fix --bin "spiral_temp_test"` to apply 1 suggestion) │
│ Finished `release` profile [optimized] target(s) in 13.63s │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
$env:RUST_LOG="info"
{ cargo test --release } | Invoke-Block
╭─[ 25.12s - stdout ]──────────────────────────────────────────────────────────╮
│ Compiling fable_library_rust v0.1.0 │
│ (C:\home\git\polyglot\lib\rust\fable\fable_modules\fable-library-rust) │
│ Compiling spiral_temp_test v0.0.1 │
│ (C:\home\git\polyglot\apps\spiral\temp\test) │
│ Finished `release` profile [optimized] target(s) in 24.72s │
│ Running unittests main.rs │
│ (C:\home\git\polyglot\target\release\deps\spiral_temp_test-b978c72a37a586ae. │
│ exe) │
│ │
│ running 3 tests │
│ test test_parse_number ... ok │
│ 2024-05-03T07:18:58.618803Z INFO spiral_temp_test: │
│ input=Operator("+") │
│ 2024-05-03T07:18:58.618874Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.618971Z INFO spiral_temp_test: │
│ input=Identifier("SzBgDUEg8aEN6qWo") │
│ 2024-05-03T07:18:58.619015Z INFO spiral_temp_test: │
│ input=Identifier("E9") │
│ 2024-05-03T07:18:58.619079Z INFO spiral_temp_test: │
│ input=Integer(-5287839025604363770) │
│ 2024-05-03T07:18:58.619161Z INFO spiral_temp_test: │
│ input=StringLiteral("z:l``Q^%5c#'_@2") │
│ 2024-05-03T07:18:58.619307Z INFO spiral_temp_test: │
│ input=Integer(730359322367679233) │
│ 2024-05-03T07:18:58.619425Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.619478Z INFO spiral_temp_test: │
│ input=Integer(2518803056187798366) │
│ 2024-05-03T07:18:58.619518Z INFO spiral_temp_test: │
│ input=Integer(-5486683811079959620) │
│ 2024-05-03T07:18:58.619550Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.619586Z INFO spiral_temp_test: │
│ input=Integer(243717066178635196) │
│ 2024-05-03T07:18:58.619617Z INFO spiral_temp_test: │
│ input=Integer(4662490863239283953) │
│ 2024-05-03T07:18:58.619710Z INFO spiral_temp_test: │
│ input=StringLiteral("_/W_'6kXBt%iG:?2") │
│ 2024-05-03T07:18:58.619783Z INFO spiral_temp_test: │
│ input=StringLiteral("}#p<A.N_9M{,.2>&^_<M&1'n;Nqnwl+") │
│ 2024-05-03T07:18:58.619839Z INFO spiral_temp_test: │
│ input=Identifier("kv7FT703tB0HKLOnCP") │
│ 2024-05-03T07:18:58.619881Z INFO spiral_temp_test: │
│ input=Integer(7588645746979744339) │
│ 2024-05-03T07:18:58.619936Z INFO spiral_temp_test: │
│ input=Identifier("HrOofjG5NhZ") │
│ 2024-05-03T07:18:58.620010Z INFO spiral_temp_test: │
│ input=Identifier("p3j") │
│ 2024-05-03T07:18:58.620084Z INFO spiral_temp_test: │
│ input=Comment("@V\\L`=S2/*u86Kuo#i<Q<={>\"'") │
│ 2024-05-03T07:18:58.620145Z INFO spiral_temp_test: │
│ input=Comment("B8`{XgqlraGe&WWcFie{Gy`./.") │
│ 2024-05-03T07:18:58.620207Z INFO spiral_temp_test: │
│ input=Identifier("pz5Lk211H0jGIXsI4Wb36EGIOY498jxp") │
│ 2024-05-03T07:18:58.620247Z INFO spiral_temp_test: │
│ input=Operator("+") │
│ 2024-05-03T07:18:58.620309Z INFO spiral_temp_test: │
│ input=StringLiteral("b<Y%tgqU6C?ApHgG**Cv~&:k") │
│ 2024-05-03T07:18:58.620354Z INFO spiral_temp_test: │
│ input=StringLiteral("`G.:g.&") │
│ 2024-05-03T07:18:58.620430Z INFO spiral_temp_test: │
│ input=Integer(-6875859083003241724) │
│ 2024-05-03T07:18:58.620469Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.620527Z INFO spiral_temp_test: │
│ input=Identifier("gSFQ2Zs2ASW") │
│ 2024-05-03T07:18:58.620567Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.620609Z INFO spiral_temp_test: │
│ input=Identifier("A0iWTQ5ho") │
│ 2024-05-03T07:18:58.620651Z INFO spiral_temp_test: │
│ input=StringLiteral("5#/})ze") │
│ 2024-05-03T07:18:58.620685Z INFO spiral_temp_test: │
│ input=Integer(5612008004701195496) │
│ 2024-05-03T07:18:58.620741Z INFO spiral_temp_test: │
│ input=Identifier("OquA3Sr32WJBL0VY9Sd85azLySxX2dy") │
│ 2024-05-03T07:18:58.620818Z INFO spiral_temp_test: │
│ input=StringLiteral("%T.fG=ObR&fCk/t`*L#':GEo=t^]") │
│ 2024-05-03T07:18:58.620874Z INFO spiral_temp_test: │
│ input=Integer(-8685310425233265540) │
│ 2024-05-03T07:18:58.620925Z INFO spiral_temp_test: │
│ input=StringLiteral("%1l$I5gj{%C3,?$q{") │
│ 2024-05-03T07:18:58.620974Z INFO spiral_temp_test: │
│ input=Identifier("C8LGAsB3J8pmGB") │
│ 2024-05-03T07:18:58.621015Z INFO spiral_temp_test: │
│ input=Integer(-1200042179803427876) │
│ 2024-05-03T07:18:58.621054Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.621140Z INFO spiral_temp_test: │
│ input=Identifier("KiUzDAEw3k233wes33C1Ce7voRhqLWO0t") │
│ 2024-05-03T07:18:58.621205Z INFO spiral_temp_test: │
│ input=StringLiteral("LEh]OgnkY@%*{$i9T?") │
│ 2024-05-03T07:18:58.621248Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.621301Z INFO spiral_temp_test: │
│ input=StringLiteral("8Wn?0{b#{=") │
│ 2024-05-03T07:18:58.621370Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.621440Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.621512Z INFO spiral_temp_test: │
│ input=StringLiteral("l( Eqg`G*ed/o=") │
│ 2024-05-03T07:18:58.621554Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.621595Z INFO spiral_temp_test: │
│ input=Integer(-2307571718332954200) │
│ 2024-05-03T07:18:58.621650Z INFO spiral_temp_test: │
│ input=Comment("#s`&{Gg`VU:^>\"b*C") │
│ 2024-05-03T07:18:58.621697Z INFO spiral_temp_test: │
│ input=Comment(":`~Q") │
│ 2024-05-03T07:18:58.621745Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.621789Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.621827Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.621866Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.621900Z INFO spiral_temp_test: │
│ input=StringLiteral("Jhc/") │
│ 2024-05-03T07:18:58.621947Z INFO spiral_temp_test: │
│ input=StringLiteral("vef<QyEI") │
│ 2024-05-03T07:18:58.621990Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.622027Z INFO spiral_temp_test: │
│ input=Integer(-8453138034143770467) │
│ 2024-05-03T07:18:58.622070Z INFO spiral_temp_test: │
│ input=Identifier("hlGcU69rqmf28285") │
│ 2024-05-03T07:18:58.622124Z INFO spiral_temp_test: │
│ input=Identifier("qvpSjHgiGKm3d1IA6Y6G6x") │
│ 2024-05-03T07:18:58.622205Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.622264Z INFO spiral_temp_test: │
│ input=Identifier("GNGz49puUNz6dM8IU32FJJny6") │
│ 2024-05-03T07:18:58.622364Z INFO spiral_temp_test: │
│ input=Comment("/7/Fl^{A/F?%b:]1qX>({%yT:eX\"$t=") │
│ 2024-05-03T07:18:58.622428Z INFO spiral_temp_test: │
│ input=Integer(7581288062118991123) │
│ 2024-05-03T07:18:58.622467Z INFO spiral_temp_test: │
│ input=StringLiteral(">U") │
│ 2024-05-03T07:18:58.622529Z INFO spiral_temp_test: │
│ input=StringLiteral("%u4$#IA_B_#<V0/<=;:") │
│ 2024-05-03T07:18:58.622576Z INFO spiral_temp_test: │
│ input=Identifier("x9JVV0upEVPEB") │
│ 2024-05-03T07:18:58.622622Z INFO spiral_temp_test: │
│ input=Identifier("zOUO") │
│ 2024-05-03T07:18:58.622666Z INFO spiral_temp_test: │
│ input=Comment("`") │
│ 2024-05-03T07:18:58.622708Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.622753Z INFO spiral_temp_test: │
│ input=Identifier("IAB0V") │
│ 2024-05-03T07:18:58.622811Z INFO spiral_temp_test: │
│ input=StringLiteral("`/*qm5#<~TP4id*G") │
│ 2024-05-03T07:18:58.622855Z INFO spiral_temp_test: │
│ input=Integer(1017323961015112327) │
│ 2024-05-03T07:18:58.622902Z INFO spiral_temp_test: │
│ input=StringLiteral("=.<j :") │
│ 2024-05-03T07:18:58.622953Z INFO spiral_temp_test: │
│ input=Identifier("PmJGYB4Yo6mIjKx3B") │
│ 2024-05-03T07:18:58.622996Z INFO spiral_temp_test: │
│ input=Integer(6043737655587269295) │
│ 2024-05-03T07:18:58.623053Z INFO spiral_temp_test: │
│ input=StringLiteral("F<1b;6NX$}^") │
│ 2024-05-03T07:18:58.623102Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.623188Z INFO spiral_temp_test: │
│ input=Comment("%X4t-`e@o8r@h~") │
│ 2024-05-03T07:18:58.623268Z INFO spiral_temp_test: │
│ input=Identifier("EE193UypH7a8e1Q6AgKbtE7z") │
│ 2024-05-03T07:18:58.623307Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.623350Z INFO spiral_temp_test: │
│ input=Comment("C") │
│ 2024-05-03T07:18:58.623413Z INFO spiral_temp_test: │
│ input=Comment("sh$`:\\=s#\"<A,.'W?$HfNO") │
│ 2024-05-03T07:18:58.623473Z INFO spiral_temp_test: │
│ input=Identifier("a9FBYoxJ7t6XhBd6U") │
│ 2024-05-03T07:18:58.623518Z INFO spiral_temp_test: │
│ input=Operator("+") │
│ 2024-05-03T07:18:58.623566Z INFO spiral_temp_test: │
│ input=Comment("T") │
│ 2024-05-03T07:18:58.623604Z INFO spiral_temp_test: │
│ input=Integer(-4182552011394191172) │
│ 2024-05-03T07:18:58.623637Z INFO spiral_temp_test: │
│ input=Integer(42677609223286252) │
│ 2024-05-03T07:18:58.623669Z INFO spiral_temp_test: │
│ input=Integer(575895536796907149) │
│ 2024-05-03T07:18:58.623700Z INFO spiral_temp_test: │
│ input=Integer(-1028020219636610988) │
│ 2024-05-03T07:18:58.623738Z INFO spiral_temp_test: │
│ input=Integer(7798489207772746136) │
│ 2024-05-03T07:18:58.623788Z INFO spiral_temp_test: │
│ input=Comment("`%(m)xr&'l].<-5'*==J[y") │
│ 2024-05-03T07:18:58.623834Z INFO spiral_temp_test: │
│ input=Identifier("Q8oyQxKVC") │
│ 2024-05-03T07:18:58.623918Z INFO spiral_temp_test: │
│ input=Identifier("yBG") │
│ 2024-05-03T07:18:58.623991Z INFO spiral_temp_test: │
│ input=Comment("NZI'p") │
│ 2024-05-03T07:18:58.624030Z INFO spiral_temp_test: │
│ input=Identifier("Fzx") │
│ 2024-05-03T07:18:58.624098Z INFO spiral_temp_test: │
│ input=Identifier("mm5a3KOzrtDT7PMMj7UGc53sRvQrfb2s") │
│ 2024-05-03T07:18:58.624147Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.624194Z INFO spiral_temp_test: │
│ input=StringLiteral("=.'/=.16") │
│ 2024-05-03T07:18:58.624260Z INFO spiral_temp_test: │
│ input=Comment("/jn.AMgaW*=mvmD`+q\"&#& =s&") │
│ 2024-05-03T07:18:58.624314Z INFO spiral_temp_test: │
│ input=Comment(":T=?*\\ '*PP") │
│ 2024-05-03T07:18:58.624374Z INFO spiral_temp_test: │
│ input=Identifier("ki2a11J616u06Cb3o9m") │
│ 2024-05-03T07:18:58.624434Z INFO spiral_temp_test: │
│ input=Comment("^N.\\hYMp0$Ao*/rE.") │
│ 2024-05-03T07:18:58.624475Z INFO spiral_temp_test: │
│ input=Integer(6088203267798745416) │
│ 2024-05-03T07:18:58.624530Z INFO spiral_temp_test: │
│ input=Identifier("Td0M45MS01Dg7I8t7Q") │
│ 2024-05-03T07:18:58.624583Z INFO spiral_temp_test: │
│ input=Operator(")") │
│ 2024-05-03T07:18:58.624625Z INFO spiral_temp_test: │
│ input=Integer(8040474329699701484) │
│ 2024-05-03T07:18:58.624674Z INFO spiral_temp_test: │
│ input=Comment("Aq") │
│ 2024-05-03T07:18:58.624723Z INFO spiral_temp_test: │
│ input=StringLiteral("'6uZ[=f.$<") │
│ 2024-05-03T07:18:58.624771Z INFO spiral_temp_test: │
│ input=Identifier("j23nZY") │
│ 2024-05-03T07:18:58.624818Z INFO spiral_temp_test: │
│ input=StringLiteral("<.Ku:UQ<r") │
│ 2024-05-03T07:18:58.624890Z INFO spiral_temp_test: │
│ input=Comment(":g$7qRT]~Yh#WG{R:1\":\\wE`'") │
│ 2024-05-03T07:18:58.624932Z INFO spiral_temp_test: │
│ input=Integer(-5475860953314070792) │
│ 2024-05-03T07:18:58.624974Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.625019Z INFO spiral_temp_test: │
│ input=Operator("+") │
│ 2024-05-03T07:18:58.625054Z INFO spiral_temp_test: │
│ input=Integer(2467844421356095944) │
│ 2024-05-03T07:18:58.625121Z INFO spiral_temp_test: │
│ input=Comment("}_$@H0L'&&\\\\`0r_]SOZ0F\\E&?wo") │
│ 2024-05-03T07:18:58.625179Z INFO spiral_temp_test: │
│ input=Identifier("KSFGvd9AL003Ij1A") │
│ 2024-05-03T07:18:58.625226Z INFO spiral_temp_test: │
│ input=Integer(7496569615133689231) │
│ 2024-05-03T07:18:58.625289Z INFO spiral_temp_test: │
│ input=StringLiteral("]==+j&:>iQ}X-$,<~+.i=D") │
│ 2024-05-03T07:18:58.625340Z INFO spiral_temp_test: │
│ input=Comment("d'?]O3") │
│ 2024-05-03T07:18:58.625384Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.625427Z INFO spiral_temp_test: │
│ input=Operator("+") │
│ 2024-05-03T07:18:58.625473Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.625539Z INFO spiral_temp_test: │
│ input=Identifier("KZBscG0LKAplj0azCkd9iqRapkMOYiu3p") │
│ 2024-05-03T07:18:58.625584Z INFO spiral_temp_test: │
│ input=StringLiteral("aM:") │
│ 2024-05-03T07:18:58.625656Z INFO spiral_temp_test: │
│ input=Comment("I'6.r\"/\"`f?#'&5J',?\\.xnh3q<(m") │
│ 2024-05-03T07:18:58.625730Z INFO spiral_temp_test: │
│ input=Identifier("gh2Trbh5wA98FghYuoeI56Vqv0W5") │
│ 2024-05-03T07:18:58.625776Z INFO spiral_temp_test: │
│ input=StringLiteral("9#}e") │
│ 2024-05-03T07:18:58.625869Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.625910Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.625959Z INFO spiral_temp_test: │
│ input=Identifier("QX6twK956D8") │
│ 2024-05-03T07:18:58.626004Z INFO spiral_temp_test: │
│ input=Integer(4387792657723667964) │
│ 2024-05-03T07:18:58.626070Z INFO spiral_temp_test: │
│ input=Comment("'[,Q<f/=yEo.8]f!*<2>c=`9n*qCQ$r0") │
│ 2024-05-03T07:18:58.626117Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.626165Z INFO spiral_temp_test: │
│ input=Identifier("jN4XP9nEYD6k794R4") │
│ 2024-05-03T07:18:58.626196Z INFO spiral_temp_test: │
│ input=StringLiteral("") │
│ 2024-05-03T07:18:58.626219Z INFO spiral_temp_test: │
│ input=Integer(3427881718643570921) │
│ 2024-05-03T07:18:58.626242Z INFO spiral_temp_test: │
│ input=Integer(-8442161910436505767) │
│ 2024-05-03T07:18:58.626280Z INFO spiral_temp_test: │
│ input=Comment(">\"{[$4nF?.N%?J:U") │
│ 2024-05-03T07:18:58.626309Z INFO spiral_temp_test: │
│ input=Integer(-7595909295632635058) │
│ 2024-05-03T07:18:58.626335Z INFO spiral_temp_test: │
│ input=StringLiteral("'") │
│ 2024-05-03T07:18:58.626369Z INFO spiral_temp_test: │
│ input=Operator(")") │
│ 2024-05-03T07:18:58.626418Z INFO spiral_temp_test: │
│ input=Identifier("lVQvsr7I9ZZ45pqEng2K") │
│ 2024-05-03T07:18:58.626457Z INFO spiral_temp_test: │
│ input=Identifier("vuimV1RcwVrn") │
│ 2024-05-03T07:18:58.626542Z INFO spiral_temp_test: │
│ input=Comment("g}Qd'Zp`z{E{;`Fx|]9j=h$N]sQ`K$") │
│ 2024-05-03T07:18:58.626582Z INFO spiral_temp_test: │
│ input=Operator(")") │
│ 2024-05-03T07:18:58.626617Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.626645Z INFO spiral_temp_test: │
│ input=Integer(-5284039906046224376) │
│ 2024-05-03T07:18:58.626690Z INFO spiral_temp_test: │
│ input=Operator(")") │
│ 2024-05-03T07:18:58.626740Z INFO spiral_temp_test: │
│ input=Comment("9IyW.J($c,<$*Y3:H,@u]a") │
│ 2024-05-03T07:18:58.626795Z INFO spiral_temp_test: │
│ input=Identifier("HKGop24sXxeb24igksi") │
│ 2024-05-03T07:18:58.626837Z INFO spiral_temp_test: │
│ input=Integer(-415429302974447763) │
│ 2024-05-03T07:18:58.626875Z INFO spiral_temp_test: │
│ input=Integer(-1570613418178805694) │
│ 2024-05-03T07:18:58.626914Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.626999Z INFO spiral_temp_test: │
│ input=Integer(981067609726866404) │
│ 2024-05-03T07:18:58.627097Z INFO spiral_temp_test: │
│ input=Identifier("Ov7s316reMh1e5EA887") │
│ 2024-05-03T07:18:58.627137Z INFO spiral_temp_test: │
│ input=Integer(-4175706857086502734) │
│ 2024-05-03T07:18:58.627171Z INFO spiral_temp_test: │
│ input=StringLiteral("%|</") │
│ 2024-05-03T07:18:58.627222Z INFO spiral_temp_test: │
│ input=Comment("b?&H2$\\xUGu'G\"\\)u/h~m&4:O") │
│ 2024-05-03T07:18:58.627280Z INFO spiral_temp_test: │
│ input=Identifier("WPvMNwr80877Nm6mgjhOv6JC814") │
│ 2024-05-03T07:18:58.627315Z INFO spiral_temp_test: │
│ input=Identifier("c") │
│ 2024-05-03T07:18:58.627345Z INFO spiral_temp_test: │
│ input=Comment(":I") │
│ 2024-05-03T07:18:58.627394Z INFO spiral_temp_test: │
│ input=Comment("{>@DO{$%PFA`X.JU$I:^&1@b") │
│ 2024-05-03T07:18:58.627446Z INFO spiral_temp_test: │
│ input=Comment("|n:0eI.d+\\!s$*r*Y*\"JA:@VU") │
│ 2024-05-03T07:18:58.627494Z INFO spiral_temp_test: │
│ input=StringLiteral("rv^y*_{x:1Zrz!2/") │
│ 2024-05-03T07:18:58.627548Z INFO spiral_temp_test: │
│ input=Comment("KL?0-\"`*Q!=<:>4*\\Pn?s'7n:M") │
│ 2024-05-03T07:18:58.627587Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.627623Z INFO spiral_temp_test: │
│ input=Identifier("YSBmDWW0") │
│ 2024-05-03T07:18:58.627669Z INFO spiral_temp_test: │
│ input=Comment(")bS*'q27%{%??C?`!7*/s$") │
│ 2024-05-03T07:18:58.627712Z INFO spiral_temp_test: │
│ input=Comment("YaHs8a$)Mz\"\\") │
│ 2024-05-03T07:18:58.627755Z INFO spiral_temp_test: │
│ input=Identifier("F2V8jouA1o4jdJWzU33vLQM2Nd") │
│ 2024-05-03T07:18:58.627849Z INFO spiral_temp_test: │
│ input=Identifier("W3C1nbSOs3CVZzlQ7vg8VjO6Li3") │
│ 2024-05-03T07:18:58.627921Z INFO spiral_temp_test: │
│ input=StringLiteral("_C5{Fo*ux'E`$") │
│ 2024-05-03T07:18:58.627965Z INFO spiral_temp_test: │
│ input=Identifier("mxQSj") │
│ 2024-05-03T07:18:58.628001Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.628032Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.628075Z INFO spiral_temp_test: │
│ input=Identifier("O9K6e4L49mKuYfnozaXpu") │
│ 2024-05-03T07:18:58.628164Z INFO spiral_temp_test: │
│ input=Comment("iFd*281 \"`*)q|Cc B;[<`'f") │
│ 2024-05-03T07:18:58.628235Z INFO spiral_temp_test: │
│ input=Identifier("oYAJXo7") │
│ 2024-05-03T07:18:58.628277Z INFO spiral_temp_test: │
│ input=Identifier("JX06l31kL9XCL8") │
│ 2024-05-03T07:18:58.628314Z INFO spiral_temp_test: │
│ input=Comment("*/D/%l,NY[") │
│ 2024-05-03T07:18:58.628358Z INFO spiral_temp_test: │
│ input=StringLiteral("}*/k':le_.to/<`W*`L") │
│ 2024-05-03T07:18:58.628396Z INFO spiral_temp_test: │
│ input=StringLiteral("LmyRRZ&") │
│ 2024-05-03T07:18:58.628448Z INFO spiral_temp_test: │
│ input=Identifier("Khr0Z13x0t6qx37VRYNm8w4cAYpS4") │
│ 2024-05-03T07:18:58.628484Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.628516Z INFO spiral_temp_test: │
│ input=StringLiteral("h0Q<&-KH") │
│ 2024-05-03T07:18:58.628548Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.628578Z INFO spiral_temp_test: │
│ input=Operator("(") │
│ 2024-05-03T07:18:58.628606Z INFO spiral_temp_test: │
│ input=Integer(7098939428876274224) │
│ 2024-05-03T07:18:58.628650Z INFO spiral_temp_test: │
│ input=Identifier("qIayilqL6H19Oz") │
│ 2024-05-03T07:18:58.628704Z INFO spiral_temp_test: │
│ input=StringLiteral("d|{M.j``;<wJ%*3,XaP/4)O,#+X") │
│ 2024-05-03T07:18:58.628736Z INFO spiral_temp_test: │
│ input=Integer(2807715480822643389) │
│ 2024-05-03T07:18:58.628766Z INFO spiral_temp_test: │
│ input=Identifier("pStW22x") │
│ 2024-05-03T07:18:58.628799Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.628850Z INFO spiral_temp_test: │
│ input=StringLiteral("") │
│ 2024-05-03T07:18:58.628877Z INFO spiral_temp_test: │
│ input=Integer(-1710209709377591316) │
│ 2024-05-03T07:18:58.628900Z INFO spiral_temp_test: │
│ input=Integer(-4918600702620397858) │
│ 2024-05-03T07:18:58.628938Z INFO spiral_temp_test: │
│ input=Comment("<$*'E~O\"?:") │
│ 2024-05-03T07:18:58.628986Z INFO spiral_temp_test: │
│ input=Identifier("GUYrXWX4163ww529rGCSrFMoXV9") │
│ 2024-05-03T07:18:58.629022Z INFO spiral_temp_test: │
│ input=Identifier("QJ") │
│ 2024-05-03T07:18:58.629046Z INFO spiral_temp_test: │
│ input=Integer(-2514921560817595062) │
│ 2024-05-03T07:18:58.629096Z INFO spiral_temp_test: │
│ input=Comment("lf$ZB`P~D?{@:#2K2x&[.n") │
│ 2024-05-03T07:18:58.629133Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.629156Z INFO spiral_temp_test: │
│ input=Integer(7585477927287221726) │
│ 2024-05-03T07:18:58.629180Z INFO spiral_temp_test: │
│ input=Integer(-4658356745757824052) │
│ 2024-05-03T07:18:58.629214Z INFO spiral_temp_test: │
│ input=Identifier("sJclR2EXLDe6jcseEL") │
│ 2024-05-03T07:18:58.629268Z INFO spiral_temp_test: │
│ input=Integer(-2897784838997499205) │
│ 2024-05-03T07:18:58.629342Z INFO spiral_temp_test: │
│ input=Comment("G<oH+#:`FmwGh1F+PK/^") │
│ 2024-05-03T07:18:58.629383Z INFO spiral_temp_test: │
│ input=StringLiteral(",MRw`}G#") │
│ 2024-05-03T07:18:58.629415Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.629450Z INFO spiral_temp_test: │
│ input=Comment("g<':%K") │
│ 2024-05-03T07:18:58.629479Z INFO spiral_temp_test: │
│ input=StringLiteral("l5q") │
│ 2024-05-03T07:18:58.629509Z INFO spiral_temp_test: │
│ input=Integer(1855662083879388478) │
│ 2024-05-03T07:18:58.629532Z INFO spiral_temp_test: │
│ input=Integer(9027460705521567614) │
│ 2024-05-03T07:18:58.629565Z INFO spiral_temp_test: │
│ input=StringLiteral("??^E") │
│ 2024-05-03T07:18:58.629621Z INFO spiral_temp_test: │
│ input=Comment("6FH,hH{=[\"n2d%<FF.S.F:l~VvA'N") │
│ 2024-05-03T07:18:58.629663Z INFO spiral_temp_test: │
│ input=Integer(-3145595638803291893) │
│ 2024-05-03T07:18:58.629717Z INFO spiral_temp_test: │
│ input=StringLiteral("b:f33CEKQ!'&6&B ?") │
│ 2024-05-03T07:18:58.629758Z INFO spiral_temp_test: │
│ input=Identifier("IR0C") │
│ 2024-05-03T07:18:58.629791Z INFO spiral_temp_test: │
│ input=Integer(2335114562373646674) │
│ 2024-05-03T07:18:58.629828Z INFO spiral_temp_test: │
│ input=Operator("*") │
│ 2024-05-03T07:18:58.629853Z INFO spiral_temp_test: │
│ input=Integer(-247654818453967054) │
│ 2024-05-03T07:18:58.629883Z INFO spiral_temp_test: │
│ input=Integer(-1805826095358354033) │
│ 2024-05-03T07:18:58.629914Z INFO spiral_temp_test: │
│ input=Comment("<=gv2@") │
│ 2024-05-03T07:18:58.629946Z INFO spiral_temp_test: │
│ input=Identifier("k") │
│ 2024-05-03T07:18:58.629994Z INFO spiral_temp_test: │
│ input=Identifier("n62qh89PJ7UAOM13e9QNXFvTkMPwr") │
│ 2024-05-03T07:18:58.630031Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.630072Z INFO spiral_temp_test: │
│ input=StringLiteral("oL:DK0:'Y<r*$lh!%jG") │
│ 2024-05-03T07:18:58.630106Z INFO spiral_temp_test: │
│ input=Integer(-8749355508254190948) │
│ 2024-05-03T07:18:58.630138Z INFO spiral_temp_test: │
│ input=Identifier("B9tk28w9Iy") │
│ 2024-05-03T07:18:58.630168Z INFO spiral_temp_test: │
│ input=Integer(5556613160112439415) │
│ 2024-05-03T07:18:58.630193Z INFO spiral_temp_test: │
│ input=Integer(-2291107460327337494) │
│ 2024-05-03T07:18:58.630232Z INFO spiral_temp_test: │
│ input=Comment("*% XQ\"%<K<$*'?\\g$vn5:\"") │
│ 2024-05-03T07:18:58.630274Z INFO spiral_temp_test: │
│ input=StringLiteral("?<'L`XL<") │
│ 2024-05-03T07:18:58.630312Z INFO spiral_temp_test: │
│ input=Operator(")") │
│ 2024-05-03T07:18:58.630338Z INFO spiral_temp_test: │
│ input=Integer(5715396558367632808) │
│ 2024-05-03T07:18:58.630376Z INFO spiral_temp_test: │
│ input=StringLiteral("&{?]>S'+1~$)") │
│ 2024-05-03T07:18:58.630408Z INFO spiral_temp_test: │
│ input=Integer(3457896827427960257) │
│ 2024-05-03T07:18:58.630438Z INFO spiral_temp_test: │
│ input=Operator("/") │
│ 2024-05-03T07:18:58.630467Z INFO spiral_temp_test: │
│ input=StringLiteral("/t)") │
│ 2024-05-03T07:18:58.630508Z INFO spiral_temp_test: │
│ input=Comment(".OV=Tl'g\">*? ?==") │
│ 2024-05-03T07:18:58.630555Z INFO spiral_temp_test: │
│ input=StringLiteral("?&R'EF?~%-35;rpung[<<") │
│ 2024-05-03T07:18:58.630606Z INFO spiral_temp_test: │
│ input=Identifier("mxxWPZ119pfJSfQPqWG4fnWCOF") │
│ 2024-05-03T07:18:58.630644Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.630675Z INFO spiral_temp_test: │
│ input=StringLiteral("%n'{a") │
│ 2024-05-03T07:18:58.630709Z INFO spiral_temp_test: │
│ input=Operator("=") │
│ 2024-05-03T07:18:58.630737Z INFO spiral_temp_test: │
│ input=Identifier("rj") │
│ 2024-05-03T07:18:58.630775Z INFO spiral_temp_test: │
│ input=Identifier("Yp0ApHR7sN2K5B") │
│ 2024-05-03T07:18:58.630805Z INFO spiral_temp_test: │
│ input=StringLiteral("") │
│ 2024-05-03T07:18:58.630859Z INFO spiral_temp_test: │
│ input=StringLiteral("Ai'*&&nKi&.hapR33") │
│ 2024-05-03T07:18:58.630913Z INFO spiral_temp_test: │
│ input=Comment("&%BU\"(<O'KO}..NGA=") │
│ 2024-05-03T07:18:58.630962Z INFO spiral_temp_test: │
│ input=Operator("-") │
│ 2024-05-03T07:18:58.631013Z INFO spiral_temp_test: │
│ input=Identifier("VjMJ1") │
│ 2024-05-03T07:18:58.631083Z INFO spiral_temp_test: │
│ input=StringLiteral("Hc;q`]`3t<]w1)P)]>.`wH") │
│ 2024-05-03T07:18:58.631133Z INFO spiral_temp_test: │
│ input=Integer(601389517108686797) │
│ test prop_parse_format_idempotent ... ok │
│ test │
│ adding_and_then_removing_an_item_from_the_cart_leaves_the_cart_unchanged ... │
│ ok │
│ │
│ test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; │
│ finished in 0.13s │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
{ . $ScriptDir/../../../../target/release/spiral_temp_test$(_exe) } |
Invoke-Block
╭─[ 75.12ms - stdout ]─────────────────────────────────────────────────────────╮
│ app=test │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook build.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 361644 bytes to build.dib.html
In [ ]:
{ . ../apps/perf/build.ps1 } | Invoke-Block -Location $ScriptDir
00:00:00 debug #1 run_with_timeout_async / timeout: 500
00:00:00 debug #1 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" --port 13805 --default-int i32 --default-float f64",
[||], Some <fun:main@455-7>, None, Some "C:\home\git\polyglot")
00:00:01 verbose #2 > 00:00:00 debug #1 pwd: C:\home\git\polyglot
00:00:01 verbose #3 > 00:00:00 debug #2 dllPath: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:01 verbose #4 > 00:00:00 debug #3 targetDir: C:\home\git\polyglot\target/polyglot/spiral_eval
00:00:01 debug #2 run_with_timeout_async / timeout: 100
00:00:01 verbose #3 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: True
00:00:01 debug #4 run_with_timeout_async / timeout: 100
00:00:01 verbose #5 > Starting the Spiral Server. It is bound to: http://localhost:13805
00:00:01 debug #5 run_with_timeout_async / timeout: 100
00:00:02 verbose #1 sendJson / port: 13805 / json: {"Ping":true} / result:
00:00:02 verbose #2 awaitCompiler / Ping / result: 'Some(null)' / port: 13805 / retry: 0
00:00:02 verbose #6 > Server bound to: http://localhost:13805
00:00:02 debug #7 execute_with_options_async / options: struct (Some System.Threading.CancellationToken,
"pwsh -c "../../scripts/invoke-dib.ps1 Perf.dib"", [||], None, None,
None)
00:00:02 verbose #8 > core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\perf / path: Perf.dib / _args: null
00:00:04 verbose #9 >
00:00:04 verbose #10 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:04 verbose #11 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:04 verbose #12 > │ ## Perf (Polyglot) │
00:00:04 verbose #13 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:04 verbose #14 >
00:00:04 verbose #15 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:04 verbose #16 > #!import ../../lib/fsharp/Notebooks.dib
00:00:04 verbose #17 > #!import ../../lib/fsharp/Testing.dib
00:00:04 verbose #18 >
00:00:04 verbose #19 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:04 verbose #20 > #r
00:00:04 verbose #21 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:04 verbose #22 > spNetCore.Html.Abstractions.dll"
00:00:04 verbose #23 > #r
00:00:04 verbose #24 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #25 > otNet.Interactive.dll"
00:00:04 verbose #26 > #r
00:00:04 verbose #27 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #28 > otNet.Interactive.FSharp.dll"
00:00:04 verbose #29 > #r
00:00:04 verbose #30 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:04 verbose #31 > otNet.Interactive.Formatting.dll"
00:00:04 verbose #32 > open System
00:00:04 verbose #33 > open System.IO
00:00:04 verbose #34 > open System.Text
00:00:04 verbose #35 > open Microsoft.DotNet.Interactive.Formatting
00:00:08 verbose #36 >
00:00:08 verbose #37 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #38 > #r
00:00:08 verbose #39 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:08 verbose #40 > otNet.Interactive.FSharp.dll"
00:00:08 verbose #41 > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:08 verbose #42 > #r
00:00:08 verbose #43 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:08 verbose #44 > otNet.Interactive.dll"
00:00:08 verbose #45 > open type Microsoft.DotNet.Interactive.Kernel
00:00:08 verbose #46 >
00:00:08 verbose #47 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #48 > Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
00:00:08 verbose #49 >
00:00:08 verbose #50 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #51 > Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
00:00:08 verbose #52 > TextWriter)->fprintfn writer "%120A" x)
00:00:08 verbose #53 >
00:00:08 verbose #54 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #55 > //// test
00:00:08 verbose #56 >
00:00:08 verbose #57 > Formatter.ListExpansionLimit <- 100
00:00:08 verbose #58 >
00:00:08 verbose #59 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:08 verbose #60 > #if FABLE_COMPILER
00:00:08 verbose #61 > [[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
00:00:08 verbose #62 > #endif
00:00:08 verbose #63 > type Func0<'T> = class end
00:00:08 verbose #64 > #if FABLE_COMPILER
00:00:08 verbose #65 > [[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
00:00:08 verbose #66 > #endif
00:00:08 verbose #67 > type Func0<'T, 'U> = class end
00:00:08 verbose #68 > #if FABLE_COMPILER
00:00:08 verbose #69 > [[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
00:00:08 verbose #70 > #endif
00:00:08 verbose #71 > type Box<'T> = class end
00:00:08 verbose #72 > #if FABLE_COMPILER
00:00:08 verbose #73 > [[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
00:00:08 verbose #74 > #endif
00:00:08 verbose #75 > type Dyn<'T> = class end
00:00:08 verbose #76 > #if FABLE_COMPILER
00:00:08 verbose #77 > [[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
00:00:08 verbose #78 > #endif
00:00:08 verbose #79 > type Send<'T> = class end
00:00:08 verbose #80 > #if FABLE_COMPILER
00:00:08 verbose #81 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
00:00:08 verbose #82 > #endif
00:00:08 verbose #83 > type Fn<'T> = class end
00:00:08 verbose #84 > #if FABLE_COMPILER
00:00:08 verbose #85 > [[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
00:00:08 verbose #86 > #endif
00:00:08 verbose #87 > type FnUnit = class end
00:00:08 verbose #88 > #if FABLE_COMPILER
00:00:08 verbose #89 > [[<Fable.Core.Er...
00:00:11 verbose #90 >
00:00:11 verbose #91 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:11 verbose #92 > #if FABLE_COMPILER
00:00:11 verbose #93 > [[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
00:00:11 verbose #94 > #endif
00:00:11 verbose #95 > type std_future_Future<'T> = class end
00:00:11 verbose #96 > #if FABLE_COMPILER
00:00:11 verbose #97 > [[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
00:00:11 verbose #98 > #endif
00:00:11 verbose #99 > type futures_future_TryJoinAll<'T> = class end
00:00:11 verbose #100 > #if FABLE_COMPILER
00:00:11 verbose #101 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
00:00:11 verbose #102 > #endif
00:00:11 verbose #103 > type rayon_vec_IntoIter<'T> = class end
00:00:11 verbose #104 > #if FABLE_COMPILER
00:00:11 verbose #105 > [[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
00:00:11 verbose #106 > #endif
00:00:11 verbose #107 > type rayon_iter_Map<'T> = class end
00:00:11 verbose #108 > #if FABLE_COMPILER
00:00:11 verbose #109 > [[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
00:00:11 verbose #110 > #endif
00:00:11 verbose #111 > type futures_lite_stream_StreamExt = class end
00:00:11 verbose #112 > let rec closure0 () (v0 : System.Threading.CancellationToken...
00:00:11 verbose #113 >
00:00:11 verbose #114 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:11 verbose #115 > #if FABLE_COMPILER
00:00:11 verbose #116 > [[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
00:00:11 verbose #117 > #endif
00:00:11 verbose #118 > type std_thread_JoinHandle<'T> = class end
00:00:11 verbose #119 > #if FABLE_COMPILER
00:00:11 verbose #120 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
00:00:11 verbose #121 > #endif
00:00:11 verbose #122 > type std_sync_Arc<'T> = class end
00:00:11 verbose #123 > #if FABLE_COMPILER
00:00:11 verbose #124 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
00:00:11 verbose #125 > #endif
00:00:11 verbose #126 > type std_sync_Mutex<'T> = class end
00:00:11 verbose #127 > #if FABLE_COMPILER
00:00:11 verbose #128 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
00:00:11 verbose #129 > #endif
00:00:11 verbose #130 > type std_sync_MutexGuard<'T> = class end
00:00:11 verbose #131 > #if FABLE_COMPILER
00:00:11 verbose #132 > [[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
00:00:11 verbose #133 > #endif
00:00:11 verbose #134 > type std_sync_PoisonError<'T> = class end
00:00:11 verbose #135 > type Disposable (f : unit -> unit) = interface System.IDisposable with member
00:00:11 verbose #136 > _.Dispose () = f ()
00:00:11 verbose #137 > ...
00:00:17 verbose #138 >
00:00:17 verbose #139 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #140 > module SpiralTrace =
00:00:17 verbose #141 > let trace x =
00:00:17 verbose #142 > #if !INTERACTIVE
00:00:17 verbose #143 > Trace.trace x
00:00:17 verbose #144 > #else
00:00:17 verbose #145 > trace x
00:00:17 verbose #146 > #endif
00:00:17 verbose #147 >
00:00:17 verbose #148 > type TraceLevel =
00:00:17 verbose #149 > #if !INTERACTIVE
00:00:17 verbose #150 > Trace.US0
00:00:17 verbose #151 > #else
00:00:17 verbose #152 > US0
00:00:17 verbose #153 > #endif
00:00:17 verbose #154 >
00:00:17 verbose #155 > module SpiralCrypto =
00:00:17 verbose #156 > let hash_text x =
00:00:17 verbose #157 > #if !INTERACTIVE
00:00:17 verbose #158 > Crypto.hash_text x
00:00:17 verbose #159 > #else
00:00:17 verbose #160 > hash_text x
00:00:17 verbose #161 > #endif
00:00:17 verbose #162 >
00:00:17 verbose #163 > #if !FABLE_COMPILER && !WASM && !CONTRACT
00:00:17 verbose #164 >
00:00:17 verbose #165 > module SpiralAsync =
00:00:17 verbose #166 > let merge_cancellation_token_with_default_async x =
00:00:17 verbose #167 > #if !INTERACTIVE
00:00:17 verbose #168 > Async_.merge_cancellation_token_with_default_async x
00:00:17 verbose #169 > #else
00:00:17 verbose #170 > merge_cancellation_token_with_default_async x
00:00:17 verbose #171 > #endif
00:00:17 verbose #172 >
00:00:17 verbose #173 > module SpiralThreading =
00:00:17 verbose #174 > let new_disposable_token x =
00:00:17 verbose #175 > #if !INTERACTIVE
00:00:17 verbose #176 > Threading.new_disposable_token x
00:00:17 verbose #177 > #else
00:00:17 verbose #178 > new_disposable_token x
00:00:17 verbose #179 > #endif
00:00:17 verbose #180 >
00:00:17 verbose #181 > module Spi...
00:00:17 verbose #182 >
00:00:17 verbose #183 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #184 > #r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
00:00:17 verbose #185 >
00:00:17 verbose #186 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #187 > //// test
00:00:17 verbose #188 >
00:00:17 verbose #189 > type AssertExceptionFormatter (ex) =
00:00:17 verbose #190 > member _.Text =
00:00:17 verbose #191 > ex.ToString()
00:00:17 verbose #192 > .Replace("32m", "<span style=\"color: green;\">")
00:00:17 verbose #193 > .Replace("36m", "</span>")
00:00:17 verbose #194 > .Replace("31m", "<span style=\"color: red;\">")
00:00:17 verbose #195 > .Replace("\n", "<br/>\n")
00:00:17 verbose #196 >
00:00:17 verbose #197 >
00:00:17 verbose #198 > Formatter.Register<AssertExceptionFormatter> ((fun (x :
00:00:17 verbose #199 > AssertExceptionFormatter) -> x.Text), "text/html")
00:00:17 verbose #200 >
00:00:17 verbose #201 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:17 verbose #202 > //// test
00:00:17 verbose #203 >
00:00:17 verbose #204 > let inline __expect fn log expected actual =
00:00:17 verbose #205 > if log then printfn $"{actual.ToDisplayString ()}"
00:00:17 verbose #206 > try
00:00:17 verbose #207 > "Testing.__expect" |> fn actual expected
00:00:17 verbose #208 > with :? Expecto.AssertException as ex ->
00:00:17 verbose #209 > AssertExceptionFormatter(ex).Display () |> ignore
00:00:17 verbose #210 > failwith (ex.GetType().FullName)
00:00:17 verbose #211 >
00:00:17 verbose #212 > let inline __contains log expected actual = __expect Expecto.Expect.contains log
00:00:17 verbose #213 > expected actual
00:00:17 verbose #214 > let inline _contains expected actual = __contains true expected actual
00:00:17 verbose #215 >
00:00:17 verbose #216 > let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
00:00:17 verbose #217 > expected actual
00:00:17 verbose #218 > let inline _assertEqual expected actual = __assertEqual true expected actual
00:00:17 verbose #219 >
00:00:17 verbose #220 > let inline __isGreaterThan log expected actual = __expect
00:00:17 verbose #221 > Expecto.Expect.isGreaterThan log ex...
00:00:18 verbose #222 >
00:00:18 verbose #223 > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:18 verbose #224 > //// test
00:00:18 verbose #225 >
00:00:18 verbose #226 > let inline __isBetween log a b actual =
00:00:18 verbose #227 > let inline isBetween actual (a, b) _ =
00:00:18 verbose #228 > __isGreaterThanOrEqual log a actual
00:00:18 verbose #229 > __isLessThanOrEqual log b actual
00:00:18 verbose #230 > __expect isBetween log (a, b) actual
00:00:18 verbose #231 > let inline _isBetween a b actual = __isBetween true a b actual
00:00:18 verbose #232 >
00:00:18 verbose #233 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 verbose #234 > //// test
00:00:18 verbose #235 >
00:00:18 verbose #236 > open testing
00:00:18 verbose #237 > open benchmark
00:00:18 verbose #238 >
00:00:18 verbose #239 > ── spiral - import ─────────────────────────────────────────────────────────────
00:00:18 verbose #240 > #r
00:00:18 verbose #241 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:18 verbose #242 > otNet.Interactive.Spiral.dll"
00:00:18 verbose #243 > open Microsoft.DotNet.Interactive.Spiral.SpiralKernelHelpers
00:00:18 verbose #244 > #r
00:00:18 verbose #245 > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:18 verbose #246 > otNet.Interactive.dll"
00:00:18 verbose #247 > open type Microsoft.DotNet.Interactive.Kernel
00:00:20 verbose #248 > 00:00:19 debug #4 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/bd91374f36fe9d4f2485bb26dbb4f9f47a0ad9e55281ec44a36794d21b1673d7/main.spi
00:00:22 verbose #249 >
00:00:22 verbose #250 > ╭─[ 4.50s - stdout ]───────────────────────────────────────────────────────────╮
00:00:22 verbose #251 > │ () │
00:00:22 verbose #252 > │ │
00:00:22 verbose #253 > │ │
00:00:22 verbose #254 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 verbose #255 >
00:00:22 verbose #256 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #257 > #if !INTERACTIVE
00:00:22 verbose #258 > open Lib
00:00:22 verbose #259 > #endif
00:00:22 verbose #260 >
00:00:22 verbose #261 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 verbose #262 > inl (/@) x = listm'.(/@) x
00:00:23 verbose #263 > 00:00:22 debug #5 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/dc56e53ba92db6c9be578de936949167fdc30986968da2116569ac5b74f58800/main.spi
00:00:23 verbose #264 >
00:00:23 verbose #265 > ╭─[ 656.84ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 verbose #266 > │ () │
00:00:23 verbose #267 > │ │
00:00:23 verbose #268 > │ │
00:00:23 verbose #269 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #270 >
00:00:23 verbose #271 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #272 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #273 > │ ## TestCaseResult │
00:00:23 verbose #274 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #275 >
00:00:23 verbose #276 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #277 > type TestCaseResult =
00:00:23 verbose #278 > {
00:00:23 verbose #279 > Input: string
00:00:23 verbose #280 > Expected: string
00:00:23 verbose #281 > Result: string
00:00:23 verbose #282 > TimeList: int64 list
00:00:23 verbose #283 > }
00:00:23 verbose #284 >
00:00:23 verbose #285 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #286 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #287 > │ ## run │
00:00:23 verbose #288 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #289 >
00:00:23 verbose #290 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #291 > let run count (solutions: (string * ('TInput -> 'TExpected)) list) (input,
00:00:23 verbose #292 > expected) =
00:00:23 verbose #293 > let inputStr =
00:00:23 verbose #294 > match box input with
00:00:23 verbose #295 > | :? System.Collections.ICollection as input ->
00:00:23 verbose #296 > System.Linq.Enumerable.Cast<obj> input
00:00:23 verbose #297 > |> Seq.map string
00:00:23 verbose #298 > |> SpiralSm.concat ","
00:00:23 verbose #299 > | _ -> input.ToString ()
00:00:23 verbose #300 >
00:00:23 verbose #301 > printfn ""
00:00:23 verbose #302 > printfn $"Solution: {inputStr} "
00:00:23 verbose #303 >
00:00:23 verbose #304 > let performanceInvoke (fn: unit -> 'T) =
00:00:23 verbose #305 > GC.Collect ()
00:00:23 verbose #306 > let stopwatch = System.Diagnostics.Stopwatch ()
00:00:23 verbose #307 > stopwatch.Start ()
00:00:23 verbose #308 > let time1 = stopwatch.ElapsedMilliseconds
00:00:23 verbose #309 >
00:00:23 verbose #310 > let result =
00:00:23 verbose #311 > [[| 0 .. count |]]
00:00:23 verbose #312 > |> Array.Parallel.map (fun _ ->
00:00:23 verbose #313 > fn ()
00:00:23 verbose #314 > )
00:00:23 verbose #315 > |> Array.last
00:00:23 verbose #316 >
00:00:23 verbose #317 > let time2 = stopwatch.ElapsedMilliseconds - time1
00:00:23 verbose #318 >
00:00:23 verbose #319 > result, time2
00:00:23 verbose #320 >
00:00:23 verbose #321 > let resultsWithTime =
00:00:23 verbose #322 > solutions
00:00:23 verbose #323 > |> List.mapi (fun i (testName, solution) ->
00:00:23 verbose #324 > let result, time = performanceInvoke (fun () -> solution input)
00:00:23 verbose #325 > printfn $"Test case %d{i + 1}. %s{testName}. Time: %A{time} "
00:00:23 verbose #326 > result, time
00:00:23 verbose #327 > )
00:00:23 verbose #328 >
00:00:23 verbose #329 >
00:00:23 verbose #330 > match resultsWithTime |> List.map fst with
00:00:23 verbose #331 > | ([[]] | [[ _ ]]) -> ()
00:00:23 verbose #332 > | (head :: tail) when tail |> List.forall ((=) head) -> ()
00:00:23 verbose #333 > | results -> failwithf $"Challenge error: %A{results}"
00:00:23 verbose #334 >
00:00:23 verbose #335 > {
00:00:23 verbose #336 > Input = inputStr
00:00:23 verbose #337 > Expected = expected.ToString ()
00:00:23 verbose #338 > Result = resultsWithTime |> Seq.map fst |> Seq.head |> _.ToString()
00:00:23 verbose #339 > TimeList = resultsWithTime |> List.map snd
00:00:23 verbose #340 > }
00:00:23 verbose #341 >
00:00:23 verbose #342 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #343 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #344 > │ ## runAll │
00:00:23 verbose #345 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #346 >
00:00:23 verbose #347 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #348 > let runAll testName count (solutions: (string * ('TInput -> 'TExpected)) list)
00:00:23 verbose #349 > testCases =
00:00:23 verbose #350 > printfn ""
00:00:23 verbose #351 > printfn ""
00:00:23 verbose #352 > printfn $"Test: {testName}"
00:00:23 verbose #353 > testCases
00:00:23 verbose #354 > |> Seq.map (run count solutions)
00:00:23 verbose #355 > |> Seq.toList
00:00:23 verbose #356 >
00:00:23 verbose #357 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 verbose #358 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 verbose #359 > │ ## sortResultList │
00:00:23 verbose #360 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 verbose #361 >
00:00:23 verbose #362 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #363 > let sortResultList resultList =
00:00:23 verbose #364 > let table =
00:00:23 verbose #365 > let rows =
00:00:23 verbose #366 > resultList
00:00:23 verbose #367 > |> List.map (fun result ->
00:00:23 verbose #368 > let best =
00:00:23 verbose #369 > result.TimeList
00:00:23 verbose #370 > |> List.mapi (fun i time ->
00:00:23 verbose #371 > i + 1, time
00:00:23 verbose #372 > )
00:00:23 verbose #373 > |> List.sortBy snd
00:00:23 verbose #374 > |> List.head
00:00:23 verbose #375 > |> _.ToString()
00:00:23 verbose #376 > let row =
00:00:23 verbose #377 > [[
00:00:23 verbose #378 > result.Input
00:00:23 verbose #379 > result.Expected
00:00:23 verbose #380 > result.Result
00:00:23 verbose #381 > best
00:00:23 verbose #382 > ]]
00:00:23 verbose #383 > let color =
00:00:23 verbose #384 > match result.Expected = result.Result with
00:00:23 verbose #385 > | true -> Some ConsoleColor.DarkGreen
00:00:23 verbose #386 > | false -> Some ConsoleColor.DarkRed
00:00:23 verbose #387 > row, color
00:00:23 verbose #388 > )
00:00:23 verbose #389 > let header =
00:00:23 verbose #390 > [[
00:00:23 verbose #391 > [[
00:00:23 verbose #392 > "Input"
00:00:23 verbose #393 > "Expected"
00:00:23 verbose #394 > "Result"
00:00:23 verbose #395 > "Best"
00:00:23 verbose #396 > ]]
00:00:23 verbose #397 > [[
00:00:23 verbose #398 > "---"
00:00:23 verbose #399 > "---"
00:00:23 verbose #400 > "---"
00:00:23 verbose #401 > "---"
00:00:23 verbose #402 > ]]
00:00:23 verbose #403 > ]]
00:00:23 verbose #404 > |> List.map (fun row -> row, None)
00:00:23 verbose #405 > header @ rows
00:00:23 verbose #406 >
00:00:23 verbose #407 > let formattedTable =
00:00:23 verbose #408 > let lengthMap =
00:00:23 verbose #409 > table
00:00:23 verbose #410 > |> List.map fst
00:00:23 verbose #411 > |> List.transpose
00:00:23 verbose #412 > |> List.map (fun column ->
00:00:23 verbose #413 > column
00:00:23 verbose #414 > |> List.map String.length
00:00:23 verbose #415 > |> List.sortDescending
00:00:23 verbose #416 > |> List.tryHead
00:00:23 verbose #417 > |> Option.defaultValue 0
00:00:23 verbose #418 > )
00:00:23 verbose #419 > |> List.indexed
00:00:23 verbose #420 > |> Map.ofList
00:00:23 verbose #421 > table
00:00:23 verbose #422 > |> List.map (fun (row, color) ->
00:00:23 verbose #423 > let newRow =
00:00:23 verbose #424 > row
00:00:23 verbose #425 > |> List.mapi (fun i cell ->
00:00:23 verbose #426 > cell.PadRight lengthMap.[[i]]
00:00:23 verbose #427 > )
00:00:23 verbose #428 > newRow, color
00:00:23 verbose #429 > )
00:00:23 verbose #430 >
00:00:23 verbose #431 > printfn ""
00:00:23 verbose #432 > formattedTable
00:00:23 verbose #433 > |> List.iter (fun (row, color) ->
00:00:23 verbose #434 > match color with
00:00:23 verbose #435 > | Some color -> Console.ForegroundColor <- color
00:00:23 verbose #436 > | None -> Console.ResetColor ()
00:00:23 verbose #437 >
00:00:23 verbose #438 > printfn "%s" (String.Join ("\t| ", row))
00:00:23 verbose #439 >
00:00:23 verbose #440 > Console.ResetColor ()
00:00:23 verbose #441 > )
00:00:23 verbose #442 >
00:00:23 verbose #443 > let averages =
00:00:23 verbose #444 > resultList
00:00:23 verbose #445 > |> List.map (fun result -> result.TimeList |> List.map float)
00:00:23 verbose #446 > |> List.transpose
00:00:23 verbose #447 > |> List.map List.average
00:00:23 verbose #448 > |> List.map int64
00:00:23 verbose #449 > |> List.indexed
00:00:23 verbose #450 >
00:00:23 verbose #451 > printfn ""
00:00:23 verbose #452 > printfn "Average Ranking "
00:00:23 verbose #453 > averages
00:00:23 verbose #454 > |> List.sortBy snd
00:00:23 verbose #455 > |> List.iter (fun (i, avg) ->
00:00:23 verbose #456 > printfn $"Test case %d{i + 1}. Average Time: %A{avg} "
00:00:23 verbose #457 > )
00:00:23 verbose #458 >
00:00:23 verbose #459 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #460 > let mutable _count =
00:00:23 verbose #461 > if ("CI" |> System.Environment.GetEnvironmentVariable |> fun x -> $"%A{x}")
00:00:23 verbose #462 > <> "<null>"
00:00:23 verbose #463 > then 2000000
00:00:23 verbose #464 > else 2000
00:00:23 verbose #465 >
00:00:23 verbose #466 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 verbose #467 > inl is_fast () =
00:00:23 verbose #468 > false
00:00:24 verbose #469 > 00:00:22 debug #6 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/0a35dc81a58dbff515458a99cb69488ec1dfc34196516eea0df093acdfef52bd/main.spi
00:00:24 verbose #470 >
00:00:24 verbose #471 > ╭─[ 694.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 verbose #472 > │ () │
00:00:24 verbose #473 > │ │
00:00:24 verbose #474 > │ │
00:00:24 verbose #475 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #476 >
00:00:24 verbose #477 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #478 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #479 > │ ## empty3Tests │
00:00:24 verbose #480 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #481 >
00:00:24 verbose #482 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #483 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #484 > │ Test: Empty3 │
00:00:24 verbose #485 > │ │
00:00:24 verbose #486 > │ Solution: (a, a) │
00:00:24 verbose #487 > │ Test case 1. A. Time: 91L │
00:00:24 verbose #488 > │ │
00:00:24 verbose #489 > │ Solution: (a, a) │
00:00:24 verbose #490 > │ Test case 1. A. Time: 56L │
00:00:24 verbose #491 > │ │
00:00:24 verbose #492 > │ Input | Expected | Result | Best │
00:00:24 verbose #493 > │ --- | --- | --- | --- │
00:00:24 verbose #494 > │ (a, a) | a | a | (1, 91) │
00:00:24 verbose #495 > │ (a, a) | a | a | (1, 56) │
00:00:24 verbose #496 > │ │
00:00:24 verbose #497 > │ Averages │
00:00:24 verbose #498 > │ Test case 1. Average Time: 73L │
00:00:24 verbose #499 > │ │
00:00:24 verbose #500 > │ Ranking │
00:00:24 verbose #501 > │ Test case 1. Average Time: 73L │
00:00:24 verbose #502 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #503 >
00:00:24 verbose #504 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #505 > //// test
00:00:24 verbose #506 >
00:00:24 verbose #507 > let solutions = [[
00:00:24 verbose #508 > "A",
00:00:24 verbose #509 > fun (a, _b) ->
00:00:24 verbose #510 > a
00:00:24 verbose #511 > ]]
00:00:24 verbose #512 > let testCases = seq {
00:00:24 verbose #513 > ("a", "a"), "a"
00:00:24 verbose #514 > ("a", "a"), "a"
00:00:24 verbose #515 > }
00:00:24 verbose #516 > let rec empty3Tests = runAll (nameof empty3Tests) _count solutions testCases
00:00:24 verbose #517 > empty3Tests
00:00:24 verbose #518 > |> sortResultList
00:00:24 verbose #519 >
00:00:24 verbose #520 > ╭─[ 484.22ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 verbose #521 > │ │
00:00:24 verbose #522 > │ │
00:00:24 verbose #523 > │ Test: empty3Tests │
00:00:24 verbose #524 > │ │
00:00:24 verbose #525 > │ Solution: (a, a) │
00:00:24 verbose #526 > │ Test case 1. A. Time: 1L │
00:00:24 verbose #527 > │ │
00:00:24 verbose #528 > │ Solution: (a, a) │
00:00:24 verbose #529 > │ Test case 1. A. Time: 0L │
00:00:24 verbose #530 > │ │
00:00:24 verbose #531 > │ Input | Expected | Result | Best │
00:00:24 verbose #532 > │ --- | --- | --- | --- │
00:00:24 verbose #533 > │ (a, a) | a | a | (1, 1) │
00:00:24 verbose #534 > │ (a, a) | a | a | (1, 0) │
00:00:24 verbose #535 > │ │
00:00:24 verbose #536 > │ Average Ranking │
00:00:24 verbose #537 > │ Test case 1. Average Time: 0L │
00:00:24 verbose #538 > │ │
00:00:24 verbose #539 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #540 >
00:00:24 verbose #541 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #542 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #543 > │ ## empty2Tests │
00:00:24 verbose #544 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #545 >
00:00:24 verbose #546 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 verbose #547 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 verbose #548 > │ Test: Empty2 │
00:00:24 verbose #549 > │ │
00:00:24 verbose #550 > │ Solution: (a, a) │
00:00:24 verbose #551 > │ Test case 1. A. Time: 59L │
00:00:24 verbose #552 > │ │
00:00:24 verbose #553 > │ Solution: (a, a) │
00:00:24 verbose #554 > │ Test case 1. A. Time: 53L │
00:00:24 verbose #555 > │ │
00:00:24 verbose #556 > │ Input | Expected | Result | Best │
00:00:24 verbose #557 > │ --- | --- | --- | --- │
00:00:24 verbose #558 > │ (a, a) | a | a | (1, 59) │
00:00:24 verbose #559 > │ (a, a) | a | a | (1, 53) │
00:00:24 verbose #560 > │ │
00:00:24 verbose #561 > │ Averages │
00:00:24 verbose #562 > │ Test case 1. Average Time: 56L │
00:00:24 verbose #563 > │ │
00:00:24 verbose #564 > │ Ranking │
00:00:24 verbose #565 > │ Test case 1. Average Time: 56L │
00:00:24 verbose #566 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 verbose #567 >
00:00:24 verbose #568 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:24 verbose #569 > //// test
00:00:24 verbose #570 >
00:00:24 verbose #571 > let solutions = [[
00:00:24 verbose #572 > "A",
00:00:24 verbose #573 > fun (a, _b) ->
00:00:24 verbose #574 > a
00:00:24 verbose #575 > ]]
00:00:24 verbose #576 > let testCases = seq {
00:00:24 verbose #577 > ("a", "a"), "a"
00:00:24 verbose #578 > ("a", "a"), "a"
00:00:24 verbose #579 > }
00:00:24 verbose #580 > let rec empty2Tests = runAll (nameof empty2Tests) _count solutions testCases
00:00:24 verbose #581 > empty2Tests
00:00:24 verbose #582 > |> sortResultList
00:00:25 verbose #583 >
00:00:25 verbose #584 > ╭─[ 383.87ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 verbose #585 > │ │
00:00:25 verbose #586 > │ │
00:00:25 verbose #587 > │ Test: empty2Tests │
00:00:25 verbose #588 > │ │
00:00:25 verbose #589 > │ Solution: (a, a) │
00:00:25 verbose #590 > │ Test case 1. A. Time: 0L │
00:00:25 verbose #591 > │ │
00:00:25 verbose #592 > │ Solution: (a, a) │
00:00:25 verbose #593 > │ Test case 1. A. Time: 0L │
00:00:25 verbose #594 > │ │
00:00:25 verbose #595 > │ Input | Expected | Result | Best │
00:00:25 verbose #596 > │ --- | --- | --- | --- │
00:00:25 verbose #597 > │ (a, a) | a | a | (1, 0) │
00:00:25 verbose #598 > │ (a, a) | a | a | (1, 0) │
00:00:25 verbose #599 > │ │
00:00:25 verbose #600 > │ Average Ranking │
00:00:25 verbose #601 > │ Test case 1. Average Time: 0L │
00:00:25 verbose #602 > │ │
00:00:25 verbose #603 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #604 >
00:00:25 verbose #605 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #606 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #607 > │ ## emptyTests │
00:00:25 verbose #608 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #609 >
00:00:25 verbose #610 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #611 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #612 > │ Test: Empty │
00:00:25 verbose #613 > │ │
00:00:25 verbose #614 > │ Solution: 0 │
00:00:25 verbose #615 > │ Test case 1. A. Time: 61L │
00:00:25 verbose #616 > │ │
00:00:25 verbose #617 > │ Solution: 2 │
00:00:25 verbose #618 > │ Test case 1. A. Time: 62L │
00:00:25 verbose #619 > │ │
00:00:25 verbose #620 > │ Solution: 5 │
00:00:25 verbose #621 > │ Test case 1. A. Time: 70L │
00:00:25 verbose #622 > │ │
00:00:25 verbose #623 > │ Input | Expected | Result | Best │
00:00:25 verbose #624 > │ --- | --- | --- | --- │
00:00:25 verbose #625 > │ 0 | 0 | 0 | (1, 61) │
00:00:25 verbose #626 > │ 2 | 2 | 2 | (1, 62) │
00:00:25 verbose #627 > │ 5 | 5 | 5 | (1, 70) │
00:00:25 verbose #628 > │ │
00:00:25 verbose #629 > │ Averages │
00:00:25 verbose #630 > │ Test case 1. Average Time: 64L │
00:00:25 verbose #631 > │ │
00:00:25 verbose #632 > │ Ranking │
00:00:25 verbose #633 > │ Test case 1. Average Time: 64L │
00:00:25 verbose #634 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #635 >
00:00:25 verbose #636 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #637 > //// test
00:00:25 verbose #638 >
00:00:25 verbose #639 > let solutions = [[
00:00:25 verbose #640 > "A",
00:00:25 verbose #641 > fun n ->
00:00:25 verbose #642 > n + 0
00:00:25 verbose #643 > ]]
00:00:25 verbose #644 > let testCases = seq {
00:00:25 verbose #645 > 0, 0
00:00:25 verbose #646 > 2, 2
00:00:25 verbose #647 > 5, 5
00:00:25 verbose #648 > }
00:00:25 verbose #649 > let rec emptyTests = runAll (nameof emptyTests) _count solutions testCases
00:00:25 verbose #650 > emptyTests
00:00:25 verbose #651 > |> sortResultList
00:00:25 verbose #652 >
00:00:25 verbose #653 > ╭─[ 620.54ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 verbose #654 > │ │
00:00:25 verbose #655 > │ │
00:00:25 verbose #656 > │ Test: emptyTests │
00:00:25 verbose #657 > │ │
00:00:25 verbose #658 > │ Solution: 0 │
00:00:25 verbose #659 > │ Test case 1. A. Time: 2L │
00:00:25 verbose #660 > │ │
00:00:25 verbose #661 > │ Solution: 2 │
00:00:25 verbose #662 > │ Test case 1. A. Time: 0L │
00:00:25 verbose #663 > │ │
00:00:25 verbose #664 > │ Solution: 5 │
00:00:25 verbose #665 > │ Test case 1. A. Time: 0L │
00:00:25 verbose #666 > │ │
00:00:25 verbose #667 > │ Input | Expected | Result | Best │
00:00:25 verbose #668 > │ --- | --- | --- | --- │
00:00:25 verbose #669 > │ 0 | 0 | 0 | (1, 2) │
00:00:25 verbose #670 > │ 2 | 2 | 2 | (1, 0) │
00:00:25 verbose #671 > │ 5 | 5 | 5 | (1, 0) │
00:00:25 verbose #672 > │ │
00:00:25 verbose #673 > │ Average Ranking │
00:00:25 verbose #674 > │ Test case 1. Average Time: 0L │
00:00:25 verbose #675 > │ │
00:00:25 verbose #676 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #677 >
00:00:25 verbose #678 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #679 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #680 > │ ## uniqueLettersTests │
00:00:25 verbose #681 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #682 >
00:00:25 verbose #683 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 verbose #684 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 verbose #685 > │ Test: UniqueLetters │
00:00:25 verbose #686 > │ │
00:00:25 verbose #687 > │ Solution: abc │
00:00:25 verbose #688 > │ Test case 1. A. Time: 1512L │
00:00:25 verbose #689 > │ Test case 2. B. Time: 1947L │
00:00:25 verbose #690 > │ Test case 3. C. Time: 2023L │
00:00:25 verbose #691 > │ Test case 4. D. Time: 1358L │
00:00:25 verbose #692 > │ Test case 5. E. Time: 1321L │
00:00:25 verbose #693 > │ Test case 6. F. Time: 1346L │
00:00:25 verbose #694 > │ Test case 7. G. Time: 1304L │
00:00:25 verbose #695 > │ Test case 8. H. Time: 1383L │
00:00:25 verbose #696 > │ Test case 9. I. Time: 1495L │
00:00:25 verbose #697 > │ Test case 10. J. Time: 1245L │
00:00:25 verbose #698 > │ Test case 11. K. Time: 1219L │
00:00:25 verbose #699 > │ │
00:00:25 verbose #700 > │ Solution: accabb │
00:00:25 verbose #701 > │ Test case 1. A. Time: 1648L │
00:00:25 verbose #702 > │ Test case 2. B. Time: 2061L │
00:00:25 verbose #703 > │ Test case 3. C. Time: 2413L │
00:00:25 verbose #704 > │ Test case 4. D. Time: 1561L │
00:00:25 verbose #705 > │ Test case 5. E. Time: 1593L │
00:00:25 verbose #706 > │ Test case 6. F. Time: 1518L │
00:00:25 verbose #707 > │ Test case 7. G. Time: 1415L │
00:00:25 verbose #708 > │ Test case 8. H. Time: 1510L │
00:00:25 verbose #709 > │ Test case 9. I. Time: 1445L │
00:00:25 verbose #710 > │ Test case 10. J. Time: 1636L │
00:00:25 verbose #711 > │ Test case 11. K. Time: 1317L │
00:00:25 verbose #712 > │ │
00:00:25 verbose #713 > │ Solution: pprrqqpp │
00:00:25 verbose #714 > │ Test case 1. A. Time: 2255L │
00:00:25 verbose #715 > │ Test case 2. B. Time: 2408L │
00:00:25 verbose #716 > │ Test case 3. C. Time: 2393L │
00:00:25 verbose #717 > │ Test case 4. D. Time: 1675L │
00:00:25 verbose #718 > │ Test case 5. E. Time: 1911L │
00:00:25 verbose #719 > │ Test case 6. F. Time: 2126L │
00:00:25 verbose #720 > │ Test case 7. G. Time: 1504L │
00:00:25 verbose #721 > │ Test case 8. H. Time: 1715L │
00:00:25 verbose #722 > │ Test case 9. I. Time: 1537L │
00:00:25 verbose #723 > │ Test case 10. J. Time: 1522L │
00:00:25 verbose #724 > │ Test case 11. K. Time: 1322L │
00:00:25 verbose #725 > │ │
00:00:25 verbose #726 > │ Solution: │
00:00:25 verbose #727 > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:25 verbose #728 > │ bbb │
00:00:25 verbose #729 > │ Test case 1. A. Time: 13073L │
00:00:25 verbose #730 > │ Test case 2. B. Time: 11519L │
00:00:25 verbose #731 > │ Test case 3. C. Time: 8373L │
00:00:25 verbose #732 > │ Test case 4. D. Time: 5860L │
00:00:25 verbose #733 > │ Test case 5. E. Time: 6490L │
00:00:25 verbose #734 > │ Test case 6. F. Time: 6325L │
00:00:25 verbose #735 > │ Test case 7. G. Time: 5799L │
00:00:25 verbose #736 > │ Test case 8. H. Time: 7099L │
00:00:25 verbose #737 > │ Test case 9. I. Time: 6133L │
00:00:25 verbose #738 > │ Test case 10. J. Time: 5993L │
00:00:25 verbose #739 > │ Test case 11. K. Time: 2040L │
00:00:25 verbose #740 > │ │
00:00:25 verbose #741 > │ Input │
00:00:25 verbose #742 > │ | Expected | Result | Best │
00:00:25 verbose #743 > │ --- │
00:00:25 verbose #744 > │ │
00:00:25 verbose #745 > │ | --- | --- | --- │
00:00:25 verbose #746 > │ abc │
00:00:25 verbose #747 > │ │
00:00:25 verbose #748 > │ | abc | abc | (11, 1219) │
00:00:25 verbose #749 > │ accabb │
00:00:25 verbose #750 > │ | acb | acb | (11, 1317) │
00:00:25 verbose #751 > │ pprrqqpp │
00:00:25 verbose #752 > │ | prq | prq | (11, 1322) │
00:00:25 verbose #753 > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:25 verbose #754 > │ bbb | acb | acb | (11, 2040) │
00:00:25 verbose #755 > │ │
00:00:25 verbose #756 > │ Averages │
00:00:25 verbose #757 > │ Test case 1. Average Time: 4622L │
00:00:25 verbose #758 > │ Test case 2. Average Time: 4483L │
00:00:25 verbose #759 > │ Test case 3. Average Time: 3800L │
00:00:25 verbose #760 > │ Test case 4. Average Time: 2613L │
00:00:25 verbose #761 > │ Test case 5. Average Time: 2828L │
00:00:25 verbose #762 > │ Test case 6. Average Time: 2828L │
00:00:25 verbose #763 > │ Test case 7. Average Time: 2505L │
00:00:25 verbose #764 > │ Test case 8. Average Time: 2926L │
00:00:25 verbose #765 > │ Test case 9. Average Time: 2652L │
00:00:25 verbose #766 > │ Test case 10. Average Time: 2599L │
00:00:25 verbose #767 > │ Test case 11. Average Time: 1474L │
00:00:25 verbose #768 > │ │
00:00:25 verbose #769 > │ Ranking │
00:00:25 verbose #770 > │ Test case 1. Average Time: 4622L │
00:00:25 verbose #771 > │ Test case 2. Average Time: 4483L │
00:00:25 verbose #772 > │ Test case 3. Average Time: 3800L │
00:00:25 verbose #773 > │ Test case 8. Average Time: 2926L │
00:00:25 verbose #774 > │ Test case 5. Average Time: 2828L │
00:00:25 verbose #775 > │ Test case 6. Average Time: 2828L │
00:00:25 verbose #776 > │ Test case 9. Average Time: 2652L │
00:00:25 verbose #777 > │ Test case 4. Average Time: 2613L │
00:00:25 verbose #778 > │ Test case 10. Average Time: 2599L │
00:00:25 verbose #779 > │ Test case 7. Average Time: 2505L │
00:00:25 verbose #780 > │ Test case 11. Average Time: 1474L │
00:00:25 verbose #781 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 verbose #782 >
00:00:25 verbose #783 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:25 verbose #784 > //// test
00:00:25 verbose #785 >
00:00:25 verbose #786 > let solutions = [[
00:00:25 verbose #787 > "A",
00:00:25 verbose #788 > fun input ->
00:00:25 verbose #789 > input
00:00:25 verbose #790 > |> Seq.toList
00:00:25 verbose #791 > |> List.fold (fun acc x -> if List.contains x acc then acc else acc @ [[
00:00:25 verbose #792 > x ]]) [[]]
00:00:25 verbose #793 > |> Seq.toArray
00:00:25 verbose #794 > |> String
00:00:25 verbose #795 >
00:00:25 verbose #796 > "B",
00:00:25 verbose #797 > fun input ->
00:00:25 verbose #798 > input
00:00:25 verbose #799 > |> Seq.rev
00:00:25 verbose #800 > |> fun list -> Seq.foldBack (fun x acc -> if List.contains x acc then
00:00:25 verbose #801 > acc else x :: acc) list [[]]
00:00:25 verbose #802 > |> Seq.rev
00:00:25 verbose #803 > |> Seq.toArray
00:00:25 verbose #804 > |> String
00:00:25 verbose #805 >
00:00:25 verbose #806 > "C",
00:00:25 verbose #807 > fun input ->
00:00:25 verbose #808 > input
00:00:25 verbose #809 > |> Seq.rev
00:00:25 verbose #810 > |> fun list -> Seq.foldBack (fun x (set, acc) -> if Set.contains x set
00:00:25 verbose #811 > then set, acc else set.Add x, x :: acc) list (Set.empty, [[]])
00:00:25 verbose #812 > |> snd
00:00:25 verbose #813 > |> Seq.rev
00:00:25 verbose #814 > |> Seq.toArray
00:00:25 verbose #815 > |> String
00:00:25 verbose #816 >
00:00:25 verbose #817 > "D",
00:00:25 verbose #818 > fun input ->
00:00:25 verbose #819 > input
00:00:25 verbose #820 > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:25 verbose #821 > else set.Add x, Array.append acc [[| x |]]) (Set.empty, [[||]])
00:00:25 verbose #822 > |> snd
00:00:25 verbose #823 > |> String
00:00:25 verbose #824 >
00:00:25 verbose #825 > "E",
00:00:25 verbose #826 > fun input ->
00:00:25 verbose #827 > input
00:00:25 verbose #828 > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:25 verbose #829 > else set.Add x, x :: acc) (Set.empty, [[]])
00:00:25 verbose #830 > |> snd
00:00:25 verbose #831 > |> List.rev
00:00:25 verbose #832 > |> List.toArray
00:00:25 verbose #833 > |> String
00:00:25 verbose #834 >
00:00:25 verbose #835 > "F",
00:00:25 verbose #836 > fun input ->
00:00:25 verbose #837 > input
00:00:25 verbose #838 > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:25 verbose #839 > else set.Add x, acc @ [[ x ]]) (Set.empty, [[]])
00:00:25 verbose #840 > |> snd
00:00:25 verbose #841 > |> List.toArray
00:00:25 verbose #842 > |> String
00:00:25 verbose #843 >
00:00:25 verbose #844 > "G",
00:00:25 verbose #845 > fun input ->
00:00:25 verbose #846 > input
00:00:25 verbose #847 > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:25 verbose #848 > else set.Add x, x :: acc) (Set.empty, [[]])
00:00:25 verbose #849 > |> snd
00:00:25 verbose #850 > |> List.toArray
00:00:25 verbose #851 > |> Array.rev
00:00:25 verbose #852 > |> String
00:00:25 verbose #853 >
00:00:25 verbose #854 > "H",
00:00:25 verbose #855 > fun input ->
00:00:25 verbose #856 > input
00:00:25 verbose #857 > |> Seq.toList
00:00:25 verbose #858 > |> fun list ->
00:00:25 verbose #859 > let rec loop set = function
00:00:25 verbose #860 > | head :: tail when Set.contains head set -> loop set tail
00:00:25 verbose #861 > | head :: tail -> (loop (set.Add head) tail) @ [[ head ]]
00:00:25 verbose #862 > | [[]] -> [[]]
00:00:25 verbose #863 > loop Set.empty list
00:00:25 verbose #864 > |> List.rev
00:00:25 verbose #865 > |> List.toArray
00:00:25 verbose #866 > |> String
00:00:25 verbose #867 >
00:00:25 verbose #868 > "I",
00:00:25 verbose #869 > fun input ->
00:00:25 verbose #870 > input
00:00:25 verbose #871 > |> Seq.toList
00:00:25 verbose #872 > |> fun list ->
00:00:25 verbose #873 > let rec loop set = function
00:00:25 verbose #874 > | head :: tail when Set.contains head set -> loop set tail
00:00:25 verbose #875 > | head :: tail -> loop (set.Add head) tail |> Array.append [[|
00:00:25 verbose #876 > head |]]
00:00:25 verbose #877 > | [[]] -> [[||]]
00:00:25 verbose #878 > loop Set.empty list
00:00:25 verbose #879 > |> String
00:00:25 verbose #880 >
00:00:25 verbose #881 > "J",
00:00:25 verbose #882 > fun input ->
00:00:25 verbose #883 > input
00:00:25 verbose #884 > |> Seq.toList
00:00:25 verbose #885 > |> fun list ->
00:00:25 verbose #886 > let rec loop set = function
00:00:25 verbose #887 > | head :: tail when Set.contains head set -> loop set tail
00:00:25 verbose #888 > | head :: tail -> head :: loop (set.Add head) tail
00:00:25 verbose #889 > | [[]] -> [[]]
00:00:25 verbose #890 > loop Set.empty list
00:00:25 verbose #891 > |> List.toArray
00:00:25 verbose #892 > |> String
00:00:25 verbose #893 >
00:00:25 verbose #894 > "K",
00:00:25 verbose #895 > fun input ->
00:00:25 verbose #896 > input
00:00:25 verbose #897 > |> Seq.distinct
00:00:25 verbose #898 > |> Seq.toArray
00:00:25 verbose #899 > |> String
00:00:25 verbose #900 > ]]
00:00:25 verbose #901 > let testCases = seq {
00:00:25 verbose #902 > "abc", "abc"
00:00:25 verbose #903 > "accabb", "acb"
00:00:25 verbose #904 > "pprrqqpp", "prq"
00:00:25 verbose #905 >
00:00:25 verbose #906 > "aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbbbbb
00:00:25 verbose #907 > ", "acb"
00:00:25 verbose #908 > }
00:00:25 verbose #909 > let rec uniqueLettersTests = runAll (nameof uniqueLettersTests) _count solutions
00:00:25 verbose #910 > testCases
00:00:25 verbose #911 > uniqueLettersTests
00:00:25 verbose #912 > |> sortResultList
00:00:34 verbose #913 >
00:00:34 verbose #914 > ╭─[ 8.82s - stdout ]───────────────────────────────────────────────────────────╮
00:00:34 verbose #915 > │ │
00:00:34 verbose #916 > │ │
00:00:34 verbose #917 > │ Test: uniqueLettersTests │
00:00:34 verbose #918 > │ │
00:00:34 verbose #919 > │ Solution: abc │
00:00:34 verbose #920 > │ Test case 1. A. Time: 3L │
00:00:34 verbose #921 > │ Test case 2. B. Time: 4L │
00:00:34 verbose #922 > │ Test case 3. C. Time: 5L │
00:00:34 verbose #923 > │ Test case 4. D. Time: 2L │
00:00:34 verbose #924 > │ Test case 5. E. Time: 2L │
00:00:34 verbose #925 > │ Test case 6. F. Time: 1L │
00:00:34 verbose #926 > │ Test case 7. G. Time: 2L │
00:00:34 verbose #927 > │ Test case 8. H. Time: 2L │
00:00:34 verbose #928 > │ Test case 9. I. Time: 2L │
00:00:34 verbose #929 > │ Test case 10. J. Time: 2L │
00:00:34 verbose #930 > │ Test case 11. K. Time: 3L │
00:00:34 verbose #931 > │ │
00:00:34 verbose #932 > │ Solution: accabb │
00:00:34 verbose #933 > │ Test case 1. A. Time: 1L │
00:00:34 verbose #934 > │ Test case 2. B. Time: 1L │
00:00:34 verbose #935 > │ Test case 3. C. Time: 1L │
00:00:34 verbose #936 > │ Test case 4. D. Time: 1L │
00:00:34 verbose #937 > │ Test case 5. E. Time: 1L │
00:00:34 verbose #938 > │ Test case 6. F. Time: 1L │
00:00:34 verbose #939 > │ Test case 7. G. Time: 1L │
00:00:34 verbose #940 > │ Test case 8. H. Time: 1L │
00:00:34 verbose #941 > │ Test case 9. I. Time: 0L │
00:00:34 verbose #942 > │ Test case 10. J. Time: 1L │
00:00:34 verbose #943 > │ Test case 11. K. Time: 1L │
00:00:34 verbose #944 > │ │
00:00:34 verbose #945 > │ Solution: pprrqqpp │
00:00:34 verbose #946 > │ Test case 1. A. Time: 1L │
00:00:34 verbose #947 > │ Test case 2. B. Time: 1L │
00:00:34 verbose #948 > │ Test case 3. C. Time: 1L │
00:00:34 verbose #949 > │ Test case 4. D. Time: 1L │
00:00:34 verbose #950 > │ Test case 5. E. Time: 1L │
00:00:34 verbose #951 > │ Test case 6. F. Time: 1L │
00:00:34 verbose #952 > │ Test case 7. G. Time: 1L │
00:00:34 verbose #953 > │ Test case 8. H. Time: 1L │
00:00:34 verbose #954 > │ Test case 9. I. Time: 0L │
00:00:34 verbose #955 > │ Test case 10. J. Time: 1L │
00:00:34 verbose #956 > │ Test case 11. K. Time: 0L │
00:00:34 verbose #957 > │ │
00:00:34 verbose #958 > │ Solution: │
00:00:34 verbose #959 > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:34 verbose #960 > │ bbb │
00:00:34 verbose #961 > │ Test case 1. A. Time: 12L │
00:00:34 verbose #962 > │ Test case 2. B. Time: 11L │
00:00:34 verbose #963 > │ Test case 3. C. Time: 12L │
00:00:34 verbose #964 > │ Test case 4. D. Time: 8L │
00:00:34 verbose #965 > │ Test case 5. E. Time: 8L │
00:00:34 verbose #966 > │ Test case 6. F. Time: 9L │
00:00:34 verbose #967 > │ Test case 7. G. Time: 9L │
00:00:34 verbose #968 > │ Test case 8. H. Time: 8L │
00:00:34 verbose #969 > │ Test case 9. I. Time: 6L │
00:00:34 verbose #970 > │ Test case 10. J. Time: 7L │
00:00:34 verbose #971 > │ Test case 11. K. Time: 2L │
00:00:34 verbose #972 > │ │
00:00:34 verbose #973 > │ Input │
00:00:34 verbose #974 > │ | Expected | Result | Best │
00:00:34 verbose #975 > │ --- │
00:00:34 verbose #976 > │ | --- | --- | --- │
00:00:34 verbose #977 > │ abc │
00:00:34 verbose #978 > │ | abc | abc | (6, 1) │
00:00:34 verbose #979 > │ accabb │
00:00:34 verbose #980 > │ | acb | acb | (9, 0) │
00:00:34 verbose #981 > │ pprrqqpp │
00:00:34 verbose #982 > │ | prq | prq | (9, 0) │
00:00:34 verbose #983 > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:34 verbose #984 > │ bbb | acb | acb | (11, 2) │
00:00:34 verbose #985 > │ │
00:00:34 verbose #986 > │ Average Ranking │
00:00:34 verbose #987 > │ Test case 11. Average Time: 1L │
00:00:34 verbose #988 > │ Test case 9. Average Time: 2L │
00:00:34 verbose #989 > │ Test case 10. Average Time: 2L │
00:00:34 verbose #990 > │ Test case 4. Average Time: 3L │
00:00:34 verbose #991 > │ Test case 5. Average Time: 3L │
00:00:34 verbose #992 > │ Test case 6. Average Time: 3L │
00:00:34 verbose #993 > │ Test case 7. Average Time: 3L │
00:00:34 verbose #994 > │ Test case 8. Average Time: 3L │
00:00:34 verbose #995 > │ Test case 1. Average Time: 4L │
00:00:34 verbose #996 > │ Test case 2. Average Time: 4L │
00:00:34 verbose #997 > │ Test case 3. Average Time: 4L │
00:00:34 verbose #998 > │ │
00:00:34 verbose #999 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #1000 >
00:00:34 verbose #1001 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #1002 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #1003 > │ ## rotateStringsTests │
00:00:34 verbose #1004 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #1005 >
00:00:34 verbose #1006 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 verbose #1007 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 verbose #1008 > │ https://www.hackerrank.com/challenges/rotate-string/forum │
00:00:34 verbose #1009 > │ │
00:00:34 verbose #1010 > │ Test: RotateStrings │
00:00:34 verbose #1011 > │ │
00:00:34 verbose #1012 > │ Solution: abc │
00:00:34 verbose #1013 > │ Test case 1. A. Time: 1842L │
00:00:34 verbose #1014 > │ Test case 2. B. Time: 1846L │
00:00:34 verbose #1015 > │ Test case 3. C. Time: 1936L │
00:00:34 verbose #1016 > │ Test case 4. CA. Time: 2224L │
00:00:34 verbose #1017 > │ Test case 5. CB. Time: 2329L │
00:00:34 verbose #1018 > │ Test case 6. D. Time: 2474L │
00:00:34 verbose #1019 > │ Test case 7. E. Time: 1664L │
00:00:34 verbose #1020 > │ Test case 8. F. Time: 1517L │
00:00:34 verbose #1021 > │ Test case 9. FA. Time: 1651L │
00:00:34 verbose #1022 > │ Test case 10. FB. Time: 3764L │
00:00:34 verbose #1023 > │ Test case 11. FC. Time: 5415L │
00:00:34 verbose #1024 > │ │
00:00:34 verbose #1025 > │ Solution: abcde │
00:00:34 verbose #1026 > │ Test case 1. A. Time: 3356L │
00:00:34 verbose #1027 > │ Test case 2. B. Time: 2592L │
00:00:34 verbose #1028 > │ Test case 3. C. Time: 2346L │
00:00:34 verbose #1029 > │ Test case 4. CA. Time: 2997L │
00:00:34 verbose #1030 > │ Test case 5. CB. Time: 3061L │
00:00:34 verbose #1031 > │ Test case 6. D. Time: 4051L │
00:00:34 verbose #1032 > │ Test case 7. E. Time: 1905L │
00:00:34 verbose #1033 > │ Test case 8. F. Time: 1771L │
00:00:34 verbose #1034 > │ Test case 9. FA. Time: 2175L │
00:00:34 verbose #1035 > │ Test case 10. FB. Time: 3275L │
00:00:34 verbose #1036 > │ Test case 11. FC. Time: 5266L │
00:00:34 verbose #1037 > │ │
00:00:34 verbose #1038 > │ Solution: abcdefghi │
00:00:34 verbose #1039 > │ Test case 1. A. Time: 4492L │
00:00:34 verbose #1040 > │ Test case 2. B. Time: 3526L │
00:00:34 verbose #1041 > │ Test case 3. C. Time: 3583L │
00:00:34 verbose #1042 > │ Test case 4. CA. Time: 3711L │
00:00:34 verbose #1043 > │ Test case 5. CB. Time: 4783L │
00:00:34 verbose #1044 > │ Test case 6. D. Time: 7557L │
00:00:34 verbose #1045 > │ Test case 7. E. Time: 3452L │
00:00:34 verbose #1046 > │ Test case 8. F. Time: 3050L │
00:00:34 verbose #1047 > │ Test case 9. FA. Time: 3275L │
00:00:34 verbose #1048 > │ Test case 10. FB. Time: 4635L │
00:00:34 verbose #1049 > │ Test case 11. FC. Time: 5616L │
00:00:34 verbose #1050 > │ │
00:00:34 verbose #1051 > │ Solution: abab │
00:00:34 verbose #1052 > │ Test case 1. A. Time: 2093L │
00:00:34 verbose #1053 > │ Test case 2. B. Time: 1843L │
00:00:34 verbose #1054 > │ Test case 3. C. Time: 1746L │
00:00:34 verbose #1055 > │ Test case 4. CA. Time: 2085L │
00:00:34 verbose #1056 > │ Test case 5. CB. Time: 2139L │
00:00:34 verbose #1057 > │ Test case 6. D. Time: 2095L │
00:00:34 verbose #1058 > │ Test case 7. E. Time: 1723L │
00:00:34 verbose #1059 > │ Test case 8. F. Time: 1558L │
00:00:34 verbose #1060 > │ Test case 9. FA. Time: 1620L │
00:00:34 verbose #1061 > │ Test case 10. FB. Time: 2319L │
00:00:34 verbose #1062 > │ Test case 11. FC. Time: 3918L │
00:00:34 verbose #1063 > │ │
00:00:34 verbose #1064 > │ Solution: aa │
00:00:34 verbose #1065 > │ Test case 1. A. Time: 1107L │
00:00:34 verbose #1066 > │ Test case 2. B. Time: 1241L │
00:00:34 verbose #1067 > │ Test case 3. C. Time: 1183L │
00:00:34 verbose #1068 > │ Test case 4. CA. Time: 1563L │
00:00:34 verbose #1069 > │ Test case 5. CB. Time: 1525L │
00:00:34 verbose #1070 > │ Test case 6. D. Time: 1591L │
00:00:34 verbose #1071 > │ Test case 7. E. Time: 1327L │
00:00:34 verbose #1072 > │ Test case 8. F. Time: 1151L │
00:00:34 verbose #1073 > │ Test case 9. FA. Time: 1180L │
00:00:34 verbose #1074 > │ Test case 10. FB. Time: 1733L │
00:00:34 verbose #1075 > │ Test case 11. FC. Time: 2817L │
00:00:34 verbose #1076 > │ │
00:00:34 verbose #1077 > │ Solution: z │
00:00:34 verbose #1078 > │ Test case 1. A. Time: 816L │
00:00:34 verbose #1079 > │ Test case 2. B. Time: 745L │
00:00:34 verbose #1080 > │ Test case 3. C. Time: 928L │
00:00:34 verbose #1081 > │ Test case 4. CA. Time: 1375L │
00:00:34 verbose #1082 > │ Test case 5. CB. Time: 1029L │
00:00:34 verbose #1083 > │ Test case 6. D. Time: 852L │
00:00:34 verbose #1084 > │ Test case 7. E. Time: 712L │
00:00:34 verbose #1085 > │ Test case 8. F. Time: 263L │
00:00:34 verbose #1086 > │ Test case 9. FA. Time: 232L │
00:00:34 verbose #1087 > │ Test case 10. FB. Time: 773L │
00:00:34 verbose #1088 > │ Test case 11. FC. Time: 1789L │
00:00:34 verbose #1089 > │ │
00:00:34 verbose #1090 > │ Input | Expected │
00:00:34 verbose #1091 > │ │
00:00:34 verbose #1092 > │ | Result │
00:00:34 verbose #1093 > │ │
00:00:34 verbose #1094 > │ | Best │
00:00:34 verbose #1095 > │ --- | --- │
00:00:34 verbose #1096 > │ │
00:00:34 verbose #1097 > │ | --- │
00:00:34 verbose #1098 > │ │
00:00:34 verbose #1099 > │ | --- │
00:00:34 verbose #1100 > │ abc | bca cab abc │
00:00:34 verbose #1101 > │ │
00:00:34 verbose #1102 > │ | bca cab abc │
00:00:34 verbose #1103 > │ │
00:00:34 verbose #1104 > │ | (8, 1517) │
00:00:34 verbose #1105 > │ abcde | bcdea cdeab deabc eabcd abcde │
00:00:34 verbose #1106 > │ | bcdea cdeab deabc eabcd abcde │
00:00:34 verbose #1107 > │ | (8, 1771) │
00:00:34 verbose #1108 > │ abcdefghi | bcdefghia cdefghiab defghiabc efghiabcd fghiabcde │
00:00:34 verbose #1109 > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi | bcdefghia cdefghiab │
00:00:34 verbose #1110 > │ defghiabc efghiabcd fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi │
00:00:34 verbose #1111 > │ | (8, 3050) │
00:00:34 verbose #1112 > │ abab | baba abab baba abab │
00:00:34 verbose #1113 > │ │
00:00:34 verbose #1114 > │ | baba abab baba abab │
00:00:34 verbose #1115 > │ │
00:00:34 verbose #1116 > │ | (8, 1558) │
00:00:34 verbose #1117 > │ aa | aa aa │
00:00:34 verbose #1118 > │ │
00:00:34 verbose #1119 > │ | aa aa │
00:00:34 verbose #1120 > │ │
00:00:34 verbose #1121 > │ | (1, 1107) │
00:00:34 verbose #1122 > │ z | z │
00:00:34 verbose #1123 > │ │
00:00:34 verbose #1124 > │ | z │
00:00:34 verbose #1125 > │ │
00:00:34 verbose #1126 > │ | (9, 232) │
00:00:34 verbose #1127 > │ │
00:00:34 verbose #1128 > │ Averages │
00:00:34 verbose #1129 > │ Test case 1. Average Time: 2284L │
00:00:34 verbose #1130 > │ Test case 2. Average Time: 1965L │
00:00:34 verbose #1131 > │ Test case 3. Average Time: 1953L │
00:00:34 verbose #1132 > │ Test case 4. Average Time: 2325L │
00:00:34 verbose #1133 > │ Test case 5. Average Time: 2477L │
00:00:34 verbose #1134 > │ Test case 6. Average Time: 3103L │
00:00:34 verbose #1135 > │ Test case 7. Average Time: 1797L │
00:00:34 verbose #1136 > │ Test case 8. Average Time: 1551L │
00:00:34 verbose #1137 > │ Test case 9. Average Time: 1688L │
00:00:34 verbose #1138 > │ Test case 10. Average Time: 2749L │
00:00:34 verbose #1139 > │ Test case 11. Average Time: 4136L │
00:00:34 verbose #1140 > │ │
00:00:34 verbose #1141 > │ Ranking │
00:00:34 verbose #1142 > │ Test case 11. Average Time: 4136L │
00:00:34 verbose #1143 > │ Test case 6. Average Time: 3103L │
00:00:34 verbose #1144 > │ Test case 10. Average Time: 2749L │
00:00:34 verbose #1145 > │ Test case 5. Average Time: 2477L │
00:00:34 verbose #1146 > │ Test case 4. Average Time: 2325L │
00:00:34 verbose #1147 > │ Test case 1. Average Time: 2284L │
00:00:34 verbose #1148 > │ Test case 2. Average Time: 1965L │
00:00:34 verbose #1149 > │ Test case 3. Average Time: 1953L │
00:00:34 verbose #1150 > │ Test case 7. Average Time: 1797L │
00:00:34 verbose #1151 > │ Test case 9. Average Time: 1688L │
00:00:34 verbose #1152 > │ Test case 8. Average Time: 1551L │
00:00:34 verbose #1153 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 verbose #1154 >
00:00:34 verbose #1155 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:34 verbose #1156 > //// test
00:00:34 verbose #1157 >
00:00:34 verbose #1158 > let solutions = [[
00:00:34 verbose #1159 > "A",
00:00:34 verbose #1160 > fun (input: string) ->
00:00:34 verbose #1161 > let resultList =
00:00:34 verbose #1162 > List.fold (fun acc x ->
00:00:34 verbose #1163 > let rotate (text: string) (letter: string) = (text |>
00:00:34 verbose #1164 > SpiralSm.slice 1 (input.Length - 1)) + letter
00:00:34 verbose #1165 > [[ rotate (if acc.IsEmpty then input else acc.Head) (string x)
00:00:34 verbose #1166 > ]] @ acc
00:00:34 verbose #1167 > ) [[]] (Seq.toList input)
00:00:34 verbose #1168 >
00:00:34 verbose #1169 > (resultList, "")
00:00:34 verbose #1170 > ||> List.foldBack (fun acc x -> x + acc + " ")
00:00:34 verbose #1171 > |> _.TrimEnd()
00:00:34 verbose #1172 >
00:00:34 verbose #1173 > "B",
00:00:34 verbose #1174 > fun input ->
00:00:34 verbose #1175 > input
00:00:34 verbose #1176 > |> Seq.toList
00:00:34 verbose #1177 > |> List.fold (fun (acc: string list) letter ->
00:00:34 verbose #1178 > let last =
00:00:34 verbose #1179 > if acc.IsEmpty
00:00:34 verbose #1180 > then input
00:00:34 verbose #1181 > else acc.Head
00:00:34 verbose #1182 >
00:00:34 verbose #1183 > let item = last.[[1 .. input.Length - 1]] + string letter
00:00:34 verbose #1184 >
00:00:34 verbose #1185 > item :: acc
00:00:34 verbose #1186 > ) [[]]
00:00:34 verbose #1187 > |> List.rev
00:00:34 verbose #1188 > |> SpiralSm.concat " "
00:00:34 verbose #1189 >
00:00:34 verbose #1190 > "C",
00:00:34 verbose #1191 > fun input ->
00:00:34 verbose #1192 > input
00:00:34 verbose #1193 > |> Seq.toList
00:00:34 verbose #1194 > |> List.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..
00:00:34 verbose #1195 > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:34 verbose #1196 > |> List.rev
00:00:34 verbose #1197 > |> List.skip 1
00:00:34 verbose #1198 > |> SpiralSm.concat " "
00:00:34 verbose #1199 >
00:00:34 verbose #1200 > "CA",
00:00:34 verbose #1201 > fun input ->
00:00:34 verbose #1202 > input
00:00:34 verbose #1203 > |> Seq.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..
00:00:34 verbose #1204 > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:34 verbose #1205 > |> Seq.rev
00:00:34 verbose #1206 > |> Seq.skip 1
00:00:34 verbose #1207 > |> SpiralSm.concat " "
00:00:34 verbose #1208 >
00:00:34 verbose #1209 > "CB",
00:00:34 verbose #1210 > fun input ->
00:00:34 verbose #1211 > input
00:00:34 verbose #1212 > |> Seq.toArray
00:00:34 verbose #1213 > |> Array.fold (fun (acc: string[[]]) letter -> acc |> Array.append [[|
00:00:34 verbose #1214 > acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter |]]) [[| input |]]
00:00:34 verbose #1215 > |> Array.rev
00:00:34 verbose #1216 > |> Array.skip 1
00:00:34 verbose #1217 > |> SpiralSm.concat " "
00:00:34 verbose #1218 >
00:00:34 verbose #1219 > "D",
00:00:34 verbose #1220 > fun input ->
00:00:34 verbose #1221 > input
00:00:34 verbose #1222 > |> Seq.toList
00:00:34 verbose #1223 > |> fun list ->
00:00:34 verbose #1224 > let rec loop (acc: char list list) = function
00:00:34 verbose #1225 > | _ when acc.Length = list.Length -> acc
00:00:34 verbose #1226 > | head :: tail ->
00:00:34 verbose #1227 > let item = tail @ [[ head ]]
00:00:34 verbose #1228 > loop (item :: acc) item
00:00:34 verbose #1229 > | [[]] -> [[]]
00:00:34 verbose #1230 > loop [[]] list
00:00:34 verbose #1231 > |> List.rev
00:00:34 verbose #1232 > |> List.map (List.toArray >> String)
00:00:34 verbose #1233 > |> SpiralSm.concat " "
00:00:34 verbose #1234 >
00:00:34 verbose #1235 > "E",
00:00:34 verbose #1236 > fun input ->
00:00:34 verbose #1237 > input
00:00:34 verbose #1238 > |> Seq.toList
00:00:34 verbose #1239 > |> fun list ->
00:00:34 verbose #1240 > let rec loop (last: string) = function
00:00:34 verbose #1241 > | head :: tail ->
00:00:34 verbose #1242 > let item = last.[[1 .. input.Length - 1]] + string head
00:00:34 verbose #1243 > item :: loop item tail
00:00:34 verbose #1244 > | [[]] -> [[]]
00:00:34 verbose #1245 > loop input list
00:00:34 verbose #1246 > |> SpiralSm.concat " "
00:00:34 verbose #1247 >
00:00:34 verbose #1248 > "F",
00:00:34 verbose #1249 > fun input ->
00:00:34 verbose #1250 > Array.singleton 0
00:00:34 verbose #1251 > |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:34 verbose #1252 > |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:34 verbose #1253 > |> SpiralSm.concat " "
00:00:34 verbose #1254 >
00:00:34 verbose #1255 > "FA",
00:00:34 verbose #1256 > fun input ->
00:00:34 verbose #1257 > List.singleton 0
00:00:34 verbose #1258 > |> List.append [[ 1 .. input.Length - 1 ]]
00:00:34 verbose #1259 > |> List.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:34 verbose #1260 > |> SpiralSm.concat " "
00:00:34 verbose #1261 >
00:00:34 verbose #1262 > "FB",
00:00:34 verbose #1263 > fun input ->
00:00:34 verbose #1264 > Seq.singleton 0
00:00:34 verbose #1265 > |> Seq.append (seq { 1 .. input.Length - 1 })
00:00:34 verbose #1266 > |> Seq.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:34 verbose #1267 > |> SpiralSm.concat " "
00:00:34 verbose #1268 >
00:00:34 verbose #1269 > "FC",
00:00:34 verbose #1270 > fun input ->
00:00:34 verbose #1271 > Array.singleton 0
00:00:34 verbose #1272 > |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:34 verbose #1273 > |> Array.Parallel.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:34 verbose #1274 > |> SpiralSm.concat " "
00:00:34 verbose #1275 > ]]
00:00:34 verbose #1276 > let testCases = seq {
00:00:34 verbose #1277 > "abc", "bca cab abc"
00:00:34 verbose #1278 > "abcde", "bcdea cdeab deabc eabcd abcde"
00:00:34 verbose #1279 > "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef
00:00:34 verbose #1280 > hiabcdefg iabcdefgh abcdefghi"
00:00:34 verbose #1281 > "abab", "baba abab baba abab"
00:00:34 verbose #1282 > "aa", "aa aa"
00:00:34 verbose #1283 > "z", "z"
00:00:34 verbose #1284 > }
00:00:34 verbose #1285 > let rec rotateStringsTests = runAll (nameof rotateStringsTests) _count solutions
00:00:34 verbose #1286 > testCases
00:00:34 verbose #1287 > rotateStringsTests
00:00:34 verbose #1288 > |> sortResultList
00:00:46 verbose #1289 >
00:00:46 verbose #1290 > ╭─[ 12.02s - stdout ]──────────────────────────────────────────────────────────╮
00:00:46 verbose #1291 > │ │
00:00:46 verbose #1292 > │ │
00:00:46 verbose #1293 > │ Test: rotateStringsTests │
00:00:46 verbose #1294 > │ │
00:00:46 verbose #1295 > │ Solution: abc │
00:00:46 verbose #1296 > │ Test case 1. A. Time: 2L │
00:00:46 verbose #1297 > │ Test case 2. B. Time: 1L │
00:00:46 verbose #1298 > │ Test case 3. C. Time: 1L │
00:00:46 verbose #1299 > │ Test case 4. CA. Time: 4L │
00:00:46 verbose #1300 > │ Test case 5. CB. Time: 2L │
00:00:46 verbose #1301 > │ Test case 6. D. Time: 2L │
00:00:46 verbose #1302 > │ Test case 7. E. Time: 1L │
00:00:46 verbose #1303 > │ Test case 8. F. Time: 2L │
00:00:46 verbose #1304 > │ Test case 9. FA. Time: 2L │
00:00:46 verbose #1305 > │ Test case 10. FB. Time: 9L │
00:00:46 verbose #1306 > │ Test case 11. FC. Time: 9L │
00:00:46 verbose #1307 > │ │
00:00:46 verbose #1308 > │ Solution: abcde │
00:00:46 verbose #1309 > │ Test case 1. A. Time: 2L │
00:00:46 verbose #1310 > │ Test case 2. B. Time: 1L │
00:00:46 verbose #1311 > │ Test case 3. C. Time: 1L │
00:00:46 verbose #1312 > │ Test case 4. CA. Time: 1L │
00:00:46 verbose #1313 > │ Test case 5. CB. Time: 1L │
00:00:46 verbose #1314 > │ Test case 6. D. Time: 3L │
00:00:46 verbose #1315 > │ Test case 7. E. Time: 1L │
00:00:46 verbose #1316 > │ Test case 8. F. Time: 0L │
00:00:46 verbose #1317 > │ Test case 9. FA. Time: 1L │
00:00:46 verbose #1318 > │ Test case 10. FB. Time: 4L │
00:00:46 verbose #1319 > │ Test case 11. FC. Time: 4L │
00:00:46 verbose #1320 > │ │
00:00:46 verbose #1321 > │ Solution: abcdefghi │
00:00:46 verbose #1322 > │ Test case 1. A. Time: 4L │
00:00:46 verbose #1323 > │ Test case 2. B. Time: 1L │
00:00:46 verbose #1324 > │ Test case 3. C. Time: 4L │
00:00:46 verbose #1325 > │ Test case 4. CA. Time: 2L │
00:00:46 verbose #1326 > │ Test case 5. CB. Time: 3L │
00:00:46 verbose #1327 > │ Test case 6. D. Time: 5L │
00:00:46 verbose #1328 > │ Test case 7. E. Time: 2L │
00:00:46 verbose #1329 > │ Test case 8. F. Time: 0L │
00:00:46 verbose #1330 > │ Test case 9. FA. Time: 3L │
00:00:46 verbose #1331 > │ Test case 10. FB. Time: 2L │
00:00:46 verbose #1332 > │ Test case 11. FC. Time: 4L │
00:00:46 verbose #1333 > │ │
00:00:46 verbose #1334 > │ Solution: abab │
00:00:46 verbose #1335 > │ Test case 1. A. Time: 0L │
00:00:46 verbose #1336 > │ Test case 2. B. Time: 0L │
00:00:46 verbose #1337 > │ Test case 3. C. Time: 1L │
00:00:46 verbose #1338 > │ Test case 4. CA. Time: 1L │
00:00:46 verbose #1339 > │ Test case 5. CB. Time: 1L │
00:00:46 verbose #1340 > │ Test case 6. D. Time: 1L │
00:00:46 verbose #1341 > │ Test case 7. E. Time: 0L │
00:00:46 verbose #1342 > │ Test case 8. F. Time: 0L │
00:00:46 verbose #1343 > │ Test case 9. FA. Time: 0L │
00:00:46 verbose #1344 > │ Test case 10. FB. Time: 1L │
00:00:46 verbose #1345 > │ Test case 11. FC. Time: 3L │
00:00:46 verbose #1346 > │ │
00:00:46 verbose #1347 > │ Solution: aa │
00:00:46 verbose #1348 > │ Test case 1. A. Time: 0L │
00:00:46 verbose #1349 > │ Test case 2. B. Time: 0L │
00:00:46 verbose #1350 > │ Test case 3. C. Time: 0L │
00:00:46 verbose #1351 > │ Test case 4. CA. Time: 0L │
00:00:46 verbose #1352 > │ Test case 5. CB. Time: 0L │
00:00:46 verbose #1353 > │ Test case 6. D. Time: 0L │
00:00:46 verbose #1354 > │ Test case 7. E. Time: 0L │
00:00:46 verbose #1355 > │ Test case 8. F. Time: 0L │
00:00:46 verbose #1356 > │ Test case 9. FA. Time: 0L │
00:00:46 verbose #1357 > │ Test case 10. FB. Time: 0L │
00:00:46 verbose #1358 > │ Test case 11. FC. Time: 5L │
00:00:46 verbose #1359 > │ │
00:00:46 verbose #1360 > │ Solution: z │
00:00:46 verbose #1361 > │ Test case 1. A. Time: 0L │
00:00:46 verbose #1362 > │ Test case 2. B. Time: 0L │
00:00:46 verbose #1363 > │ Test case 3. C. Time: 0L │
00:00:46 verbose #1364 > │ Test case 4. CA. Time: 0L │
00:00:46 verbose #1365 > │ Test case 5. CB. Time: 0L │
00:00:46 verbose #1366 > │ Test case 6. D. Time: 0L │
00:00:46 verbose #1367 > │ Test case 7. E. Time: 0L │
00:00:46 verbose #1368 > │ Test case 8. F. Time: 0L │
00:00:46 verbose #1369 > │ Test case 9. FA. Time: 0L │
00:00:46 verbose #1370 > │ Test case 10. FB. Time: 0L │
00:00:46 verbose #1371 > │ Test case 11. FC. Time: 4L │
00:00:46 verbose #1372 > │ │
00:00:46 verbose #1373 > │ Input | Expected │
00:00:46 verbose #1374 > │ │
00:00:46 verbose #1375 > │ | Result │
00:00:46 verbose #1376 > │ │
00:00:46 verbose #1377 > │ | Best │
00:00:46 verbose #1378 > │ --- | --- │
00:00:46 verbose #1379 > │ │
00:00:46 verbose #1380 > │ | --- │
00:00:46 verbose #1381 > │ │
00:00:46 verbose #1382 > │ | --- │
00:00:46 verbose #1383 > │ abc | bca cab abc │
00:00:46 verbose #1384 > │ │
00:00:46 verbose #1385 > │ | bca cab abc │
00:00:46 verbose #1386 > │ │
00:00:46 verbose #1387 > │ | (2, 1) │
00:00:46 verbose #1388 > │ abcde | bcdea cdeab deabc eabcd abcde │
00:00:46 verbose #1389 > │ | bcdea cdeab deabc eabcd abcde │
00:00:46 verbose #1390 > │ | (8, 0) │
00:00:46 verbose #1391 > │ abcdefghi | bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef │
00:00:46 verbose #1392 > │ hiabcdefg iabcdefgh abcdefghi | bcdefghia cdefghiab defghiabc efghiabcd │
00:00:46 verbose #1393 > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi | (8, 0) │
00:00:46 verbose #1394 > │ abab | baba abab baba abab │
00:00:46 verbose #1395 > │ | baba abab baba abab │
00:00:46 verbose #1396 > │ | (1, 0) │
00:00:46 verbose #1397 > │ aa | aa aa │
00:00:46 verbose #1398 > │ │
00:00:46 verbose #1399 > │ | aa aa │
00:00:46 verbose #1400 > │ │
00:00:46 verbose #1401 > │ | (1, 0) │
00:00:46 verbose #1402 > │ z | z │
00:00:46 verbose #1403 > │ │
00:00:46 verbose #1404 > │ | z │
00:00:46 verbose #1405 > │ │
00:00:46 verbose #1406 > │ | (1, 0) │
00:00:46 verbose #1407 > │ │
00:00:46 verbose #1408 > │ Average Ranking │
00:00:46 verbose #1409 > │ Test case 2. Average Time: 0L │
00:00:46 verbose #1410 > │ Test case 7. Average Time: 0L │
00:00:46 verbose #1411 > │ Test case 8. Average Time: 0L │
00:00:46 verbose #1412 > │ Test case 1. Average Time: 1L │
00:00:46 verbose #1413 > │ Test case 3. Average Time: 1L │
00:00:46 verbose #1414 > │ Test case 4. Average Time: 1L │
00:00:46 verbose #1415 > │ Test case 5. Average Time: 1L │
00:00:46 verbose #1416 > │ Test case 6. Average Time: 1L │
00:00:46 verbose #1417 > │ Test case 9. Average Time: 1L │
00:00:46 verbose #1418 > │ Test case 10. Average Time: 2L │
00:00:46 verbose #1419 > │ Test case 11. Average Time: 4L │
00:00:46 verbose #1420 > │ │
00:00:46 verbose #1421 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:46 verbose #1422 >
00:00:46 verbose #1423 > ── markdown ────────────────────────────────────────────────────────────────────
00:00:46 verbose #1424 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:46 verbose #1425 > │ ## rotate_strings_tests │
00:00:46 verbose #1426 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:46 verbose #1427 >
00:00:46 verbose #1428 > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:46 verbose #1429 > //// test
00:00:46 verbose #1430 > //// timeout=60000
00:00:46 verbose #1431 > //// print_code=true
00:00:46 verbose #1432 >
00:00:46 verbose #1433 > inl get_solutions () =
00:00:46 verbose #1434 > [[
00:00:46 verbose #1435 > // "A",
00:00:46 verbose #1436 > // fun (input : string) =>
00:00:46 verbose #1437 > // let resultList =
00:00:46 verbose #1438 > // List.fold (fun acc x =>
00:00:46 verbose #1439 > // let rotate (text : string) (letter : string) =
00:00:46 verbose #1440 > text.Substring (1, input.Length - 1) + letter
00:00:46 verbose #1441 > // [[ rotate (if acc.IsEmpty then input else acc.Head)
00:00:46 verbose #1442 > (string x) ]] /@ acc
00:00:46 verbose #1443 > // ) [[]] (Seq.toList input)
00:00:46 verbose #1444 >
00:00:46 verbose #1445 > // List.foldBack (fun acc x => x + acc + " ") resultList ""
00:00:46 verbose #1446 > // |> fun x => x.TrimEnd ()
00:00:46 verbose #1447 >
00:00:46 verbose #1448 > // "B",
00:00:46 verbose #1449 > // fun input =>
00:00:46 verbose #1450 > // input
00:00:46 verbose #1451 > // |> Seq.toList
00:00:46 verbose #1452 > // |> List.fold (fun (acc : string list) letter =>
00:00:46 verbose #1453 > // let last =
00:00:46 verbose #1454 > // if acc.IsEmpty
00:00:46 verbose #1455 > // then input
00:00:46 verbose #1456 > // else acc.Head
00:00:46 verbose #1457 >
00:00:46 verbose #1458 > // let item = last.[[1 .. input.Length - 1]] + string letter
00:00:46 verbose #1459 >
00:00:46 verbose #1460 > // item :: acc
00:00:46 verbose #1461 > // ) [[]]
00:00:46 verbose #1462 > // |> List.rev
00:00:46 verbose #1463 > // |> SpiralSm.concat " "
00:00:46 verbose #1464 >
00:00:46 verbose #1465 > // "C",
00:00:46 verbose #1466 > // fun input =>
00:00:46 verbose #1467 > // input
00:00:46 verbose #1468 > // |> Seq.toList
00:00:46 verbose #1469 > // |> List.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..
00:00:46 verbose #1470 > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:46 verbose #1471 > // |> List.rev
00:00:46 verbose #1472 > // |> List.skip 1
00:00:46 verbose #1473 > // |> SpiralSm.concat " "
00:00:46 verbose #1474 >
00:00:46 verbose #1475 > // "CA",
00:00:46 verbose #1476 > // fun input =>
00:00:46 verbose #1477 > // input
00:00:46 verbose #1478 > // |> Seq.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..
00:00:46 verbose #1479 > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:46 verbose #1480 > // |> Seq.rev
00:00:46 verbose #1481 > // |> Seq.skip 1
00:00:46 verbose #1482 > // |> SpiralSm.concat " "
00:00:46 verbose #1483 >
00:00:46 verbose #1484 > // "CB",
00:00:46 verbose #1485 > // fun input =>
00:00:46 verbose #1486 > // input
00:00:46 verbose #1487 > // |> Seq.toArray
00:00:46 verbose #1488 > // |> Array.fold (fun (acc : a _ string) letter => acc |>
00:00:46 verbose #1489 > Array.append (a ;[[ acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter ]]))
00:00:46 verbose #1490 > (a ;[[ input ]])
00:00:46 verbose #1491 > // |> Array.rev
00:00:46 verbose #1492 > // |> Array.skip 1
00:00:46 verbose #1493 > // |> SpiralSm.concat " "
00:00:46 verbose #1494 >
00:00:46 verbose #1495 > // "D",
00:00:46 verbose #1496 > // fun input =>
00:00:46 verbose #1497 > // input
00:00:46 verbose #1498 > // |> Seq.toList
00:00:46 verbose #1499 > // |> fun list =>
00:00:46 verbose #1500 > // let rec loop (acc : list (list char)) = function
00:00:46 verbose #1501 > // | _ when acc.Length = list.Length => acc
00:00:46 verbose #1502 > // | head :: tail =>
00:00:46 verbose #1503 > // let item = tail /@ [[ head ]]
00:00:46 verbose #1504 > // loop (item :: acc) item
00:00:46 verbose #1505 > // | [[]] => [[]]
00:00:46 verbose #1506 > // loop [[]] list
00:00:46 verbose #1507 > // |> List.rev
00:00:46 verbose #1508 > // |> List.map (List.toArray >> String)
00:00:46 verbose #1509 > // |> SpiralSm.concat " "
00:00:46 verbose #1510 >
00:00:46 verbose #1511 > // "E",
00:00:46 verbose #1512 > // fun input =>
00:00:46 verbose #1513 > // input
00:00:46 verbose #1514 > // |> Seq.toList
00:00:46 verbose #1515 > // |> fun list =>
00:00:46 verbose #1516 > // let rec loop (last : string) = function
00:00:46 verbose #1517 > // | head :: tail =>
00:00:46 verbose #1518 > // let item = last.[[1 .. input.Length - 1]] + string
00:00:46 verbose #1519 > head
00:00:46 verbose #1520 > // item :: loop item tail
00:00:46 verbose #1521 > // | [[]] => [[]]
00:00:46 verbose #1522 > // loop input list
00:00:46 verbose #1523 > // |> SpiralSm.concat " "
00:00:46 verbose #1524 >
00:00:46 verbose #1525 > "F",
00:00:46 verbose #1526 > fun input =>
00:00:46 verbose #1527 > // Array.singleton 0
00:00:46 verbose #1528 > // |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:46 verbose #1529 > // |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:46 verbose #1530 > // |> SpiralSm.concat " "
00:00:46 verbose #1531 > inl input_length = input |> sm.length
00:00:46 verbose #1532 > am.singleton 0i32
00:00:46 verbose #1533 > |> am.append (am'.init_series 1 (input_length - 1) 1)
00:00:46 verbose #1534 > |> am.map (fun i =>
00:00:46 verbose #1535 > inl a = input |> sm'.slice i (input_length - 1)
00:00:46 verbose #1536 > inl b = input |> sm'.slice 0 (i - 1)
00:00:46 verbose #1537 > $"!a + !b" : string
00:00:46 verbose #1538 > )
00:00:46 verbose #1539 > |> seq.of_array
00:00:46 verbose #1540 > |> sm'.concat " "
00:00:46 verbose #1541 >
00:00:46 verbose #1542 > "FA",
00:00:46 verbose #1543 > fun input =>
00:00:46 verbose #1544 > // List.singleton 0
00:00:46 verbose #1545 > // |> List.append [[ 1 .. input.Length - 1 ]]
00:00:46 verbose #1546 > // // |> List.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:46 verbose #1547 > // |> SpiralSm.concat " "
00:00:46 verbose #1548 > inl input_length = input |> sm.length
00:00:46 verbose #1549 > listm.singleton 0i32
00:00:46 verbose #1550 > |> listm.append (listm'.init_series 1 (input_length - 1) 1)
00:00:46 verbose #1551 > |> listm.map (fun i =>
00:00:46 verbose #1552 > inl a = input |> sm'.slice i (input_length - 1)
00:00:46 verbose #1553 > inl b = if i = 0 then "" else input |> sm'.slice 0 (i - 1)
00:00:46 verbose #1554 > $"!a + !b" : string
00:00:46 verbose #1555 > )
00:00:46 verbose #1556 > |> listm.toArray
00:00:46 verbose #1557 > |> fun x => x : a i32 _
00:00:46 verbose #1558 > |> seq.of_array
00:00:46 verbose #1559 > |> sm'.concat " "
00:00:46 verbose #1560 >
00:00:46 verbose #1561 > // "FB",
00:00:46 verbose #1562 > // fun input =>
00:00:46 verbose #1563 > // Seq.singleton 0
00:00:46 verbose #1564 > // // |> Seq.append (seq { 1 .. input.Length - 1 })
00:00:46 verbose #1565 > // // |> Seq.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:46 verbose #1566 > // |> SpiralSm.concat " "
00:00:46 verbose #1567 >
00:00:46 verbose #1568 > // "FC",
00:00:46 verbose #1569 > // fun input =>
00:00:46 verbose #1570 > // Array.singleton 0
00:00:46 verbose #1571 > // |> Array.append (a ;[[ 1 .. input.Length - 1 ]])
00:00:46 verbose #1572 > //// |> Array.Parallel.map (fun i => input.[[ i .. ]] + input.[[ .. i
00:00:46 verbose #1573 > - 1 ]])
00:00:46 verbose #1574 > // |> SpiralSm.concat " "
00:00:46 verbose #1575 > ]]
00:00:46 verbose #1576 >
00:00:46 verbose #1577 > inl rec rotate_strings_tests () =
00:00:46 verbose #1578 > inl test_cases = [[
00:00:46 verbose #1579 > "abc", "bca cab abc"
00:00:46 verbose #1580 > "abcde", "bcdea cdeab deabc eabcd abcde"
00:00:46 verbose #1581 > "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde
00:00:46 verbose #1582 > ghiabcdef hiabcdefg iabcdefgh abcdefghi"
00:00:46 verbose #1583 > "abab", "baba abab baba abab"
00:00:46 verbose #1584 > "aa", "aa aa"
00:00:46 verbose #1585 > "z", "z"
00:00:46 verbose #1586 > ]]
00:00:46 verbose #1587 >
00:00:46 verbose #1588 > inl solutions = get_solutions ()
00:00:46 verbose #1589 >
00:00:46 verbose #1590 > // inl is_fast () = true
00:00:46 verbose #1591 >
00:00:46 verbose #1592 > inl count =
00:00:46 verbose #1593 > if is_fast ()
00:00:46 verbose #1594 > then 1000i32
00:00:46 verbose #1595 > else 2000000i32
00:00:46 verbose #1596 >
00:00:46 verbose #1597 > run_all (nameof rotate_strings_tests) count solutions test_cases
00:00:46 verbose #1598 > |> sort_result_list
00:00:46 verbose #1599 >
00:00:46 verbose #1600 > rotate_strings_tests ()
00:00:47 verbose #1601 > 00:00:46 debug #7 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/28b89ec86dd38c1db03e54ec2d3bf81cb610151548723fbf197bd299989b86e0/main.spi
00:01:07 verbose #1602 >
00:01:07 verbose #1603 > ╭─[ 20.76s - stdout ]──────────────────────────────────────────────────────────╮
00:01:07 verbose #1604 > │ type UH0 = │
00:01:07 verbose #1605 > │ | UH0_0 │
00:01:07 verbose #1606 > │ | UH0_1 of string * string * UH0 │
00:01:07 verbose #1607 > │ and Mut0 = {mutable l0 : uint64} │
00:01:07 verbose #1608 > │ and Mut1 = {mutable l0 : int32} │
00:01:07 verbose #1609 > │ and UH1 = │
00:01:07 verbose #1610 > │ | UH1_0 │
00:01:07 verbose #1611 > │ | UH1_1 of int32 * UH1 │
00:01:07 verbose #1612 > │ and UH2 = │
00:01:07 verbose #1613 > │ | UH2_0 │
00:01:07 verbose #1614 > │ | UH2_1 of string * UH2 │
00:01:07 verbose #1615 > │ and UH3 = │
00:01:07 verbose #1616 > │ | UH3_0 │
00:01:07 verbose #1617 > │ | UH3_1 of int32 * string * (string -> string) * UH3 │
00:01:07 verbose #1618 > │ and [<Struct>] US0 = │
00:01:07 verbose #1619 > │ | US0_0 of f0_0 : System.ConsoleColor │
00:01:07 verbose #1620 > │ | US0_1 │
00:01:07 verbose #1621 > │ and UH4 = │
00:01:07 verbose #1622 > │ | UH4_0 │
00:01:07 verbose #1623 > │ | UH4_1 of int64 * int64 * UH4 │
00:01:07 verbose #1624 > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH4; mutable l2 : int64} │
00:01:07 verbose #1625 > │ and UH5 = │
00:01:07 verbose #1626 > │ | UH5_0 │
00:01:07 verbose #1627 > │ | UH5_1 of UH2 * US0 * UH5 │
00:01:07 verbose #1628 > │ and [<Struct>] US1 = │
00:01:07 verbose #1629 > │ | US1_0 of f0_0 : int64 │
00:01:07 verbose #1630 > │ | US1_1 │
00:01:07 verbose #1631 > │ and UH6 = │
00:01:07 verbose #1632 > │ | UH6_0 │
00:01:07 verbose #1633 > │ | UH6_1 of int32 * int64 * UH6 │
00:01:07 verbose #1634 > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH6; mutable l2 : int32} │
00:01:07 verbose #1635 > │ and UH7 = │
00:01:07 verbose #1636 > │ | UH7_0 │
00:01:07 verbose #1637 > │ | UH7_1 of int32 * string * UH7 │
00:01:07 verbose #1638 > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 = │
00:01:07 verbose #1639 > │ match v0 with │
00:01:07 verbose #1640 > │ | UH0_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1641 > │ let v5 : uint64 = v1 + 1UL │
00:01:07 verbose #1642 > │ method2(v4, v5) │
00:01:07 verbose #1643 > │ | UH0_0 -> (* Nil *) │
00:01:07 verbose #1644 > │ v1 │
00:01:07 verbose #1645 > │ and method3 (v0 : (struct (string * string) []), v1 : UH0, v2 : uint64) : │
00:01:07 verbose #1646 > │ uint64 = │
00:01:07 verbose #1647 > │ match v1 with │
00:01:07 verbose #1648 > │ | UH0_1(v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #1649 > │ v0.[int v2] <- struct (v3, v4) │
00:01:07 verbose #1650 > │ let v6 : uint64 = v2 + 1UL │
00:01:07 verbose #1651 > │ method3(v0, v5, v6) │
00:01:07 verbose #1652 > │ | UH0_0 -> (* Nil *) │
00:01:07 verbose #1653 > │ v2 │
00:01:07 verbose #1654 > │ and method1 (v0 : UH0) : (struct (string * string) []) = │
00:01:07 verbose #1655 > │ let v1 : uint64 = 0UL │
00:01:07 verbose #1656 > │ let v2 : uint64 = method2(v0, v1) │
00:01:07 verbose #1657 > │ let v3 : (struct (string * string) []) = Array.zeroCreate<struct (string │
00:01:07 verbose #1658 > │ * string)> (System.Convert.ToInt32(v2)) │
00:01:07 verbose #1659 > │ let v4 : uint64 = 0UL │
00:01:07 verbose #1660 > │ let v5 : uint64 = method3(v3, v0, v4) │
00:01:07 verbose #1661 > │ v3 │
00:01:07 verbose #1662 > │ and method4 (v0 : uint64, v1 : Mut0) : bool = │
00:01:07 verbose #1663 > │ let v2 : uint64 = v1.l0 │
00:01:07 verbose #1664 > │ let v3 : bool = v2 < v0 │
00:01:07 verbose #1665 > │ v3 │
00:01:07 verbose #1666 > │ and method5 (v0 : int32, v1 : Mut1) : bool = │
00:01:07 verbose #1667 > │ let v2 : int32 = v1.l0 │
00:01:07 verbose #1668 > │ let v3 : bool = v2 < v0 │
00:01:07 verbose #1669 > │ v3 │
00:01:07 verbose #1670 > │ and method6 () : string = │
00:01:07 verbose #1671 > │ let v0 : string = " " │
00:01:07 verbose #1672 > │ v0 │
00:01:07 verbose #1673 > │ and closure1 () (v0 : string) : string = │
00:01:07 verbose #1674 > │ let v1 : int32 = v0.Length │
00:01:07 verbose #1675 > │ let v2 : (int32 []) = Array.zeroCreate<int32> (1) │
00:01:07 verbose #1676 > │ v2.[int 0] <- 0 │
00:01:07 verbose #1677 > │ let v3 : int32 = v1 - 1 │
00:01:07 verbose #1678 > │ let v4 : int32 = v3 - 1 │
00:01:07 verbose #1679 > │ let v5 : int32 = v4 + 1 │
00:01:07 verbose #1680 > │ let v6 : (int32 []) = Array.zeroCreate<int32> (v5) │
00:01:07 verbose #1681 > │ let v7 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #1682 > │ while method5(v5, v7) do │
00:01:07 verbose #1683 > │ let v9 : int32 = v7.l0 │
00:01:07 verbose #1684 > │ let v10 : int32 = 1 + v9 │
00:01:07 verbose #1685 > │ v6.[int v9] <- v10 │
00:01:07 verbose #1686 > │ let v11 : int32 = v9 + 1 │
00:01:07 verbose #1687 > │ v7.l0 <- v11 │
00:01:07 verbose #1688 > │ () │
00:01:07 verbose #1689 > │ let v12 : int32 = v6.Length │
00:01:07 verbose #1690 > │ let v13 : int32 = v2.Length │
00:01:07 verbose #1691 > │ let v14 : int32 = v12 + v13 │
00:01:07 verbose #1692 > │ let v15 : (int32 []) = Array.zeroCreate<int32> (v14) │
00:01:07 verbose #1693 > │ let v16 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #1694 > │ while method5(v14, v16) do │
00:01:07 verbose #1695 > │ let v18 : int32 = v16.l0 │
00:01:07 verbose #1696 > │ let v19 : bool = v18 < v12 │
00:01:07 verbose #1697 > │ let v23 : int32 = │
00:01:07 verbose #1698 > │ if v19 then │
00:01:07 verbose #1699 > │ let v20 : int32 = v6.[int v18] │
00:01:07 verbose #1700 > │ v20 │
00:01:07 verbose #1701 > │ else │
00:01:07 verbose #1702 > │ let v21 : int32 = v18 - v12 │
00:01:07 verbose #1703 > │ let v22 : int32 = v2.[int v21] │
00:01:07 verbose #1704 > │ v22 │
00:01:07 verbose #1705 > │ v15.[int v18] <- v23 │
00:01:07 verbose #1706 > │ let v24 : int32 = v18 + 1 │
00:01:07 verbose #1707 > │ v16.l0 <- v24 │
00:01:07 verbose #1708 > │ () │
00:01:07 verbose #1709 > │ let v25 : int32 = v15.Length │
00:01:07 verbose #1710 > │ let v26 : (string []) = Array.zeroCreate<string> (v25) │
00:01:07 verbose #1711 > │ let v27 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #1712 > │ while method5(v25, v27) do │
00:01:07 verbose #1713 > │ let v29 : int32 = v27.l0 │
00:01:07 verbose #1714 > │ let v30 : int32 = v15.[int v29] │
00:01:07 verbose #1715 > │ let v31 : string = v0.[int v30..int v3] │
00:01:07 verbose #1716 > │ let v32 : int32 = v30 - 1 │
00:01:07 verbose #1717 > │ let v33 : string = v0.[int 0..int v32] │
00:01:07 verbose #1718 > │ let v34 : string = v31 + v33 │
00:01:07 verbose #1719 > │ v26.[int v29] <- v34 │
00:01:07 verbose #1720 > │ let v35 : int32 = v29 + 1 │
00:01:07 verbose #1721 > │ v27.l0 <- v35 │
00:01:07 verbose #1722 > │ () │
00:01:07 verbose #1723 > │ let v36 : ((string []) -> string seq) = Seq.ofArray │
00:01:07 verbose #1724 > │ let v37 : string seq = v36 v26 │
00:01:07 verbose #1725 > │ let v38 : string = method6() │
00:01:07 verbose #1726 > │ let v39 : (string -> (string seq -> string)) = String.concat │
00:01:07 verbose #1727 > │ let v40 : (string seq -> string) = v39 v38 │
00:01:07 verbose #1728 > │ v40 v37 │
00:01:07 verbose #1729 > │ and method7 (v0 : float, v1 : float) : UH1 = │
00:01:07 verbose #1730 > │ let v2 : bool = v1 < v0 │
00:01:07 verbose #1731 > │ if v2 then │
00:01:07 verbose #1732 > │ let v3 : int32 = int32 v1 │
00:01:07 verbose #1733 > │ let v4 : int32 = 1 + v3 │
00:01:07 verbose #1734 > │ let v5 : float = v1 + 1.0 │
00:01:07 verbose #1735 > │ let v6 : UH1 = method7(v0, v5) │
00:01:07 verbose #1736 > │ UH1_1(v4, v6) │
00:01:07 verbose #1737 > │ else │
00:01:07 verbose #1738 > │ UH1_0 │
00:01:07 verbose #1739 > │ and method8 (v0 : UH1, v1 : UH1) : UH1 = │
00:01:07 verbose #1740 > │ match v0 with │
00:01:07 verbose #1741 > │ | UH1_1(v2, v3) -> (* Cons *) │
00:01:07 verbose #1742 > │ let v4 : UH1 = method8(v3, v1) │
00:01:07 verbose #1743 > │ UH1_1(v2, v4) │
00:01:07 verbose #1744 > │ | UH1_0 -> (* Nil *) │
00:01:07 verbose #1745 > │ v1 │
00:01:07 verbose #1746 > │ and method9 (v0 : string, v1 : int32, v2 : UH1, v3 : UH2) : UH2 = │
00:01:07 verbose #1747 > │ match v2 with │
00:01:07 verbose #1748 > │ | UH1_1(v4, v5) -> (* Cons *) │
00:01:07 verbose #1749 > │ let v6 : UH2 = method9(v0, v1, v5, v3) │
00:01:07 verbose #1750 > │ let v7 : int32 = v1 - 1 │
00:01:07 verbose #1751 > │ let v8 : string = v0.[int v4..int v7] │
00:01:07 verbose #1752 > │ let v9 : bool = v4 = 0 │
00:01:07 verbose #1753 > │ let v13 : string = │
00:01:07 verbose #1754 > │ if v9 then │
00:01:07 verbose #1755 > │ let v10 : string = "" │
00:01:07 verbose #1756 > │ v10 │
00:01:07 verbose #1757 > │ else │
00:01:07 verbose #1758 > │ let v11 : int32 = v4 - 1 │
00:01:07 verbose #1759 > │ let v12 : string = v0.[int 0..int v11] │
00:01:07 verbose #1760 > │ v12 │
00:01:07 verbose #1761 > │ let v14 : string = v8 + v13 │
00:01:07 verbose #1762 > │ UH2_1(v14, v6) │
00:01:07 verbose #1763 > │ | UH1_0 -> (* Nil *) │
00:01:07 verbose #1764 > │ v3 │
00:01:07 verbose #1765 > │ and method11 (v0 : UH2, v1 : int32) : int32 = │
00:01:07 verbose #1766 > │ match v0 with │
00:01:07 verbose #1767 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:01:07 verbose #1768 > │ let v4 : int32 = v1 + 1 │
00:01:07 verbose #1769 > │ method11(v3, v4) │
00:01:07 verbose #1770 > │ | UH2_0 -> (* Nil *) │
00:01:07 verbose #1771 > │ v1 │
00:01:07 verbose #1772 > │ and method12 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:01:07 verbose #1773 > │ match v1 with │
00:01:07 verbose #1774 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:01:07 verbose #1775 > │ v0.[int v2] <- v3 │
00:01:07 verbose #1776 > │ let v5 : int32 = v2 + 1 │
00:01:07 verbose #1777 > │ method12(v0, v4, v5) │
00:01:07 verbose #1778 > │ | UH2_0 -> (* Nil *) │
00:01:07 verbose #1779 > │ v2 │
00:01:07 verbose #1780 > │ and method10 (v0 : UH2) : (string []) = │
00:01:07 verbose #1781 > │ let v1 : int32 = 0 │
00:01:07 verbose #1782 > │ let v2 : int32 = method11(v0, v1) │
00:01:07 verbose #1783 > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:01:07 verbose #1784 > │ let v4 : int32 = 0 │
00:01:07 verbose #1785 > │ let v5 : int32 = method12(v3, v0, v4) │
00:01:07 verbose #1786 > │ v3 │
00:01:07 verbose #1787 > │ and closure2 () (v0 : string) : string = │
00:01:07 verbose #1788 > │ let v1 : int32 = v0.Length │
00:01:07 verbose #1789 > │ let v2 : int32 = v1 - 1 │
00:01:07 verbose #1790 > │ let v3 : int32 = v2 - 1 │
00:01:07 verbose #1791 > │ let v4 : float = float v3 │
00:01:07 verbose #1792 > │ let v5 : float = v4 + 1.0 │
00:01:07 verbose #1793 > │ let v6 : float = 0.0 │
00:01:07 verbose #1794 > │ let v7 : UH1 = method7(v5, v6) │
00:01:07 verbose #1795 > │ let v8 : int32 = 0 │
00:01:07 verbose #1796 > │ let v9 : UH1 = UH1_0 │
00:01:07 verbose #1797 > │ let v10 : UH1 = UH1_1(v8, v9) │
00:01:07 verbose #1798 > │ let v11 : UH1 = method8(v7, v10) │
00:01:07 verbose #1799 > │ let v12 : UH2 = UH2_0 │
00:01:07 verbose #1800 > │ let v13 : UH2 = method9(v0, v1, v11, v12) │
00:01:07 verbose #1801 > │ let v14 : (string []) = method10(v13) │
00:01:07 verbose #1802 > │ let v15 : ((string []) -> string seq) = Seq.ofArray │
00:01:07 verbose #1803 > │ let v16 : string seq = v15 v14 │
00:01:07 verbose #1804 > │ let v17 : string = method6() │
00:01:07 verbose #1805 > │ let v18 : (string -> (string seq -> string)) = String.concat │
00:01:07 verbose #1806 > │ let v19 : (string seq -> string) = v18 v17 │
00:01:07 verbose #1807 > │ v19 v16 │
00:01:07 verbose #1808 > │ and method14 (v0 : UH3, v1 : uint64) : uint64 = │
00:01:07 verbose #1809 > │ match v0 with │
00:01:07 verbose #1810 > │ | UH3_1(v2, v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #1811 > │ let v6 : uint64 = v1 + 1UL │
00:01:07 verbose #1812 > │ method14(v5, v6) │
00:01:07 verbose #1813 > │ | UH3_0 -> (* Nil *) │
00:01:07 verbose #1814 > │ v1 │
00:01:07 verbose #1815 > │ and method15 (v0 : (struct (int32 * string * (string -> string)) []), v1 : │
00:01:07 verbose #1816 > │ UH3, v2 : uint64) : uint64 = │
00:01:07 verbose #1817 > │ match v1 with │
00:01:07 verbose #1818 > │ | UH3_1(v3, v4, v5, v6) -> (* Cons *) │
00:01:07 verbose #1819 > │ v0.[int v2] <- struct (v3, v4, v5) │
00:01:07 verbose #1820 > │ let v7 : uint64 = v2 + 1UL │
00:01:07 verbose #1821 > │ method15(v0, v6, v7) │
00:01:07 verbose #1822 > │ | UH3_0 -> (* Nil *) │
00:01:07 verbose #1823 > │ v2 │
00:01:07 verbose #1824 > │ and method13 (v0 : UH3) : (struct (int32 * string * (string -> string)) []) │
00:01:07 verbose #1825 > │ = │
00:01:07 verbose #1826 > │ let v1 : uint64 = 0UL │
00:01:07 verbose #1827 > │ let v2 : uint64 = method14(v0, v1) │
00:01:07 verbose #1828 > │ let v3 : (struct (int32 * string * (string -> string)) []) = │
00:01:07 verbose #1829 > │ Array.zeroCreate<struct (int32 * string * (string -> string))> │
00:01:07 verbose #1830 > │ (System.Convert.ToInt32(v2)) │
00:01:07 verbose #1831 > │ let v4 : uint64 = 0UL │
00:01:07 verbose #1832 > │ let v5 : uint64 = method15(v3, v0, v4) │
00:01:07 verbose #1833 > │ v3 │
00:01:07 verbose #1834 > │ and method16 (v0 : Mut1) : bool = │
00:01:07 verbose #1835 > │ let v1 : int32 = v0.l0 │
00:01:07 verbose #1836 > │ let v2 : bool = v1 < 2000001 │
00:01:07 verbose #1837 > │ v2 │
00:01:07 verbose #1838 > │ and closure3 (v0 : string, v1 : (string -> string)) (v2 : int32) : string = │
00:01:07 verbose #1839 > │ v1 v0 │
00:01:07 verbose #1840 > │ and method17 (v0 : string, v1 : (string []), v2 : uint64) : bool = │
00:01:07 verbose #1841 > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:01:07 verbose #1842 > │ let v4 : bool = v2 < v3 │
00:01:07 verbose #1843 > │ if v4 then │
00:01:07 verbose #1844 > │ let v5 : string = v1.[int v2] │
00:01:07 verbose #1845 > │ let v6 : bool = v0 = v5 │
00:01:07 verbose #1846 > │ if v6 then │
00:01:07 verbose #1847 > │ let v7 : uint64 = v2 + 1UL │
00:01:07 verbose #1848 > │ method17(v0, v1, v7) │
00:01:07 verbose #1849 > │ else │
00:01:07 verbose #1850 > │ false │
00:01:07 verbose #1851 > │ else │
00:01:07 verbose #1852 > │ true │
00:01:07 verbose #1853 > │ and method18 (v0 : uint64, v1 : Mut2) : bool = │
00:01:07 verbose #1854 > │ let v2 : uint64 = v1.l0 │
00:01:07 verbose #1855 > │ let v3 : bool = v2 < v0 │
00:01:07 verbose #1856 > │ v3 │
00:01:07 verbose #1857 > │ and method19 (v0 : UH4, v1 : UH4) : UH4 = │
00:01:07 verbose #1858 > │ match v0 with │
00:01:07 verbose #1859 > │ | UH4_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1860 > │ let v5 : UH4 = UH4_1(v2, v3, v1) │
00:01:07 verbose #1861 > │ method19(v4, v5) │
00:01:07 verbose #1862 > │ | UH4_0 -> (* Nil *) │
00:01:07 verbose #1863 > │ v1 │
00:01:07 verbose #1864 > │ and method21 (v0 : UH4, v1 : int32) : int32 = │
00:01:07 verbose #1865 > │ match v0 with │
00:01:07 verbose #1866 > │ | UH4_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1867 > │ let v5 : int32 = v1 + 1 │
00:01:07 verbose #1868 > │ method21(v4, v5) │
00:01:07 verbose #1869 > │ | UH4_0 -> (* Nil *) │
00:01:07 verbose #1870 > │ v1 │
00:01:07 verbose #1871 > │ and method22 (v0 : (struct (int64 * int64) []), v1 : UH4, v2 : int32) : │
00:01:07 verbose #1872 > │ int32 = │
00:01:07 verbose #1873 > │ match v1 with │
00:01:07 verbose #1874 > │ | UH4_1(v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #1875 > │ v0.[int v2] <- struct (v3, v4) │
00:01:07 verbose #1876 > │ let v6 : int32 = v2 + 1 │
00:01:07 verbose #1877 > │ method22(v0, v5, v6) │
00:01:07 verbose #1878 > │ | UH4_0 -> (* Nil *) │
00:01:07 verbose #1879 > │ v2 │
00:01:07 verbose #1880 > │ and method20 (v0 : UH4) : (struct (int64 * int64) []) = │
00:01:07 verbose #1881 > │ let v1 : int32 = 0 │
00:01:07 verbose #1882 > │ let v2 : int32 = method21(v0, v1) │
00:01:07 verbose #1883 > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:01:07 verbose #1884 > │ int64)> (v2) │
00:01:07 verbose #1885 > │ let v4 : int32 = 0 │
00:01:07 verbose #1886 > │ let v5 : int32 = method22(v3, v0, v4) │
00:01:07 verbose #1887 > │ v3 │
00:01:07 verbose #1888 > │ and closure4 () struct (v0 : int64, v1 : int64) : int64 = │
00:01:07 verbose #1889 > │ v1 │
00:01:07 verbose #1890 > │ and method24 (v0 : UH5, v1 : uint64) : uint64 = │
00:01:07 verbose #1891 > │ match v0 with │
00:01:07 verbose #1892 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1893 > │ let v5 : uint64 = v1 + 1UL │
00:01:07 verbose #1894 > │ method24(v4, v5) │
00:01:07 verbose #1895 > │ | UH5_0 -> (* Nil *) │
00:01:07 verbose #1896 > │ v1 │
00:01:07 verbose #1897 > │ and method25 (v0 : (struct (UH2 * US0) []), v1 : UH5, v2 : uint64) : uint64 │
00:01:07 verbose #1898 > │ = │
00:01:07 verbose #1899 > │ match v1 with │
00:01:07 verbose #1900 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #1901 > │ v0.[int v2] <- struct (v3, v4) │
00:01:07 verbose #1902 > │ let v6 : uint64 = v2 + 1UL │
00:01:07 verbose #1903 > │ method25(v0, v5, v6) │
00:01:07 verbose #1904 > │ | UH5_0 -> (* Nil *) │
00:01:07 verbose #1905 > │ v2 │
00:01:07 verbose #1906 > │ and method23 (v0 : UH5) : (struct (UH2 * US0) []) = │
00:01:07 verbose #1907 > │ let v1 : uint64 = 0UL │
00:01:07 verbose #1908 > │ let v2 : uint64 = method24(v0, v1) │
00:01:07 verbose #1909 > │ let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:01:07 verbose #1910 > │ (System.Convert.ToInt32(v2)) │
00:01:07 verbose #1911 > │ let v4 : uint64 = 0UL │
00:01:07 verbose #1912 > │ let v5 : uint64 = method25(v3, v0, v4) │
00:01:07 verbose #1913 > │ v3 │
00:01:07 verbose #1914 > │ and method27 (v0 : UH2, v1 : uint64) : uint64 = │
00:01:07 verbose #1915 > │ match v0 with │
00:01:07 verbose #1916 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:01:07 verbose #1917 > │ let v4 : uint64 = v1 + 1UL │
00:01:07 verbose #1918 > │ method27(v3, v4) │
00:01:07 verbose #1919 > │ | UH2_0 -> (* Nil *) │
00:01:07 verbose #1920 > │ v1 │
00:01:07 verbose #1921 > │ and method28 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:01:07 verbose #1922 > │ match v1 with │
00:01:07 verbose #1923 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:01:07 verbose #1924 > │ v0.[int v2] <- v3 │
00:01:07 verbose #1925 > │ let v5 : uint64 = v2 + 1UL │
00:01:07 verbose #1926 > │ method28(v0, v4, v5) │
00:01:07 verbose #1927 > │ | UH2_0 -> (* Nil *) │
00:01:07 verbose #1928 > │ v2 │
00:01:07 verbose #1929 > │ and method26 (v0 : UH2) : (string []) = │
00:01:07 verbose #1930 > │ let v1 : uint64 = 0UL │
00:01:07 verbose #1931 > │ let v2 : uint64 = method27(v0, v1) │
00:01:07 verbose #1932 > │ let v3 : (string []) = Array.zeroCreate<string> │
00:01:07 verbose #1933 > │ (System.Convert.ToInt32(v2)) │
00:01:07 verbose #1934 > │ let v4 : uint64 = 0UL │
00:01:07 verbose #1935 > │ let v5 : uint64 = method28(v3, v0, v4) │
00:01:07 verbose #1936 > │ v3 │
00:01:07 verbose #1937 > │ and closure5 () (v0 : int64) : US1 = │
00:01:07 verbose #1938 > │ US1_0(v0) │
00:01:07 verbose #1939 > │ and method29 () : (int64 -> US1) = │
00:01:07 verbose #1940 > │ closure5() │
00:01:07 verbose #1941 > │ and method30 (v0 : uint64, v1 : Mut3) : bool = │
00:01:07 verbose #1942 > │ let v2 : uint64 = v1.l0 │
00:01:07 verbose #1943 > │ let v3 : bool = v2 < v0 │
00:01:07 verbose #1944 > │ v3 │
00:01:07 verbose #1945 > │ and method31 (v0 : UH6, v1 : UH6) : UH6 = │
00:01:07 verbose #1946 > │ match v0 with │
00:01:07 verbose #1947 > │ | UH6_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1948 > │ let v5 : UH6 = UH6_1(v2, v3, v1) │
00:01:07 verbose #1949 > │ method31(v4, v5) │
00:01:07 verbose #1950 > │ | UH6_0 -> (* Nil *) │
00:01:07 verbose #1951 > │ v1 │
00:01:07 verbose #1952 > │ and method33 (v0 : UH6, v1 : int32) : int32 = │
00:01:07 verbose #1953 > │ match v0 with │
00:01:07 verbose #1954 > │ | UH6_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1955 > │ let v5 : int32 = v1 + 1 │
00:01:07 verbose #1956 > │ method33(v4, v5) │
00:01:07 verbose #1957 > │ | UH6_0 -> (* Nil *) │
00:01:07 verbose #1958 > │ v1 │
00:01:07 verbose #1959 > │ and method34 (v0 : (struct (int32 * int64) []), v1 : UH6, v2 : int32) : │
00:01:07 verbose #1960 > │ int32 = │
00:01:07 verbose #1961 > │ match v1 with │
00:01:07 verbose #1962 > │ | UH6_1(v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #1963 > │ v0.[int v2] <- struct (v3, v4) │
00:01:07 verbose #1964 > │ let v6 : int32 = v2 + 1 │
00:01:07 verbose #1965 > │ method34(v0, v5, v6) │
00:01:07 verbose #1966 > │ | UH6_0 -> (* Nil *) │
00:01:07 verbose #1967 > │ v2 │
00:01:07 verbose #1968 > │ and method32 (v0 : UH6) : (struct (int32 * int64) []) = │
00:01:07 verbose #1969 > │ let v1 : int32 = 0 │
00:01:07 verbose #1970 > │ let v2 : int32 = method33(v0, v1) │
00:01:07 verbose #1971 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:01:07 verbose #1972 > │ int64)> (v2) │
00:01:07 verbose #1973 > │ let v4 : int32 = 0 │
00:01:07 verbose #1974 > │ let v5 : int32 = method34(v3, v0, v4) │
00:01:07 verbose #1975 > │ v3 │
00:01:07 verbose #1976 > │ and method35 (v0 : UH2, v1 : UH7, v2 : int32) : struct (UH7 * int32) = │
00:01:07 verbose #1977 > │ match v0 with │
00:01:07 verbose #1978 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:01:07 verbose #1979 > │ let v5 : int32 = v2 + 1 │
00:01:07 verbose #1980 > │ let v6 : UH7 = UH7_1(v2, v3, v1) │
00:01:07 verbose #1981 > │ method35(v4, v6, v5) │
00:01:07 verbose #1982 > │ | UH2_0 -> (* Nil *) │
00:01:07 verbose #1983 > │ struct (v1, v2) │
00:01:07 verbose #1984 > │ and method36 (v0 : UH7, v1 : UH7) : UH7 = │
00:01:07 verbose #1985 > │ match v0 with │
00:01:07 verbose #1986 > │ | UH7_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #1987 > │ let v5 : UH7 = UH7_1(v2, v3, v1) │
00:01:07 verbose #1988 > │ method36(v4, v5) │
00:01:07 verbose #1989 > │ | UH7_0 -> (* Nil *) │
00:01:07 verbose #1990 > │ v1 │
00:01:07 verbose #1991 > │ and method37 (v0 : Map<int32, int64>, v1 : UH7, v2 : UH2) : UH2 = │
00:01:07 verbose #1992 > │ match v1 with │
00:01:07 verbose #1993 > │ | UH7_1(v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #1994 > │ let v6 : UH2 = method37(v0, v5, v2) │
00:01:07 verbose #1995 > │ let v7 : int64 = v0.[v3] │
00:01:07 verbose #1996 > │ let v8 : int32 = int32 v7 │
00:01:07 verbose #1997 > │ let v9 : string = v4.PadRight (v8, ' ') │
00:01:07 verbose #1998 > │ UH2_1(v9, v6) │
00:01:07 verbose #1999 > │ | UH7_0 -> (* Nil *) │
00:01:07 verbose #2000 > │ v2 │
00:01:07 verbose #2001 > │ and method39 (v0 : UH6, v1 : uint64) : uint64 = │
00:01:07 verbose #2002 > │ match v0 with │
00:01:07 verbose #2003 > │ | UH6_1(v2, v3, v4) -> (* Cons *) │
00:01:07 verbose #2004 > │ let v5 : uint64 = v1 + 1UL │
00:01:07 verbose #2005 > │ method39(v4, v5) │
00:01:07 verbose #2006 > │ | UH6_0 -> (* Nil *) │
00:01:07 verbose #2007 > │ v1 │
00:01:07 verbose #2008 > │ and method40 (v0 : (struct (int32 * int64) []), v1 : UH6, v2 : uint64) : │
00:01:07 verbose #2009 > │ uint64 = │
00:01:07 verbose #2010 > │ match v1 with │
00:01:07 verbose #2011 > │ | UH6_1(v3, v4, v5) -> (* Cons *) │
00:01:07 verbose #2012 > │ v0.[int v2] <- struct (v3, v4) │
00:01:07 verbose #2013 > │ let v6 : uint64 = v2 + 1UL │
00:01:07 verbose #2014 > │ method40(v0, v5, v6) │
00:01:07 verbose #2015 > │ | UH6_0 -> (* Nil *) │
00:01:07 verbose #2016 > │ v2 │
00:01:07 verbose #2017 > │ and method38 (v0 : UH6) : (struct (int32 * int64) []) = │
00:01:07 verbose #2018 > │ let v1 : uint64 = 0UL │
00:01:07 verbose #2019 > │ let v2 : uint64 = method39(v0, v1) │
00:01:07 verbose #2020 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:01:07 verbose #2021 > │ int64)> (System.Convert.ToInt32(v2)) │
00:01:07 verbose #2022 > │ let v4 : uint64 = 0UL │
00:01:07 verbose #2023 > │ let v5 : uint64 = method40(v3, v0, v4) │
00:01:07 verbose #2024 > │ v3 │
00:01:07 verbose #2025 > │ and closure6 () struct (v0 : int32, v1 : int64) : int64 = │
00:01:07 verbose #2026 > │ v1 │
00:01:07 verbose #2027 > │ and closure0 () () : unit = │
00:01:07 verbose #2028 > │ let v0 : (unit -> unit) = closure0() │
00:01:07 verbose #2029 > │ let v1 : string = nameof v0 │
00:01:07 verbose #2030 > │ let v2 : string = "" │
00:01:07 verbose #2031 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2032 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2033 > │ let v3 : string = $"Test: {v1}" │
00:01:07 verbose #2034 > │ System.Console.WriteLine v3 │
00:01:07 verbose #2035 > │ let v4 : string = "abc" │
00:01:07 verbose #2036 > │ let v5 : string = "bca cab abc" │
00:01:07 verbose #2037 > │ let v6 : string = "abcde" │
00:01:07 verbose #2038 > │ let v7 : string = "bcdea cdeab deabc eabcd abcde" │
00:01:07 verbose #2039 > │ let v8 : string = "abcdefghi" │
00:01:07 verbose #2040 > │ let v9 : string = "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde │
00:01:07 verbose #2041 > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi" │
00:01:07 verbose #2042 > │ let v10 : string = "abab" │
00:01:07 verbose #2043 > │ let v11 : string = "baba abab baba abab" │
00:01:07 verbose #2044 > │ let v12 : string = "aa" │
00:01:07 verbose #2045 > │ let v13 : string = "aa aa" │
00:01:07 verbose #2046 > │ let v14 : string = "z" │
00:01:07 verbose #2047 > │ let v15 : UH0 = UH0_0 │
00:01:07 verbose #2048 > │ let v16 : UH0 = UH0_1(v14, v14, v15) │
00:01:07 verbose #2049 > │ let v17 : UH0 = UH0_1(v12, v13, v16) │
00:01:07 verbose #2050 > │ let v18 : UH0 = UH0_1(v10, v11, v17) │
00:01:07 verbose #2051 > │ let v19 : UH0 = UH0_1(v8, v9, v18) │
00:01:07 verbose #2052 > │ let v20 : UH0 = UH0_1(v6, v7, v19) │
00:01:07 verbose #2053 > │ let v21 : UH0 = UH0_1(v4, v5, v20) │
00:01:07 verbose #2054 > │ let v22 : (struct (string * string) []) = method1(v21) │
00:01:07 verbose #2055 > │ let v23 : uint64 = System.Convert.ToUInt64 v22.Length │
00:01:07 verbose #2056 > │ let v24 : (struct (string * string * string * (int64 [])) []) = │
00:01:07 verbose #2057 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:01:07 verbose #2058 > │ (System.Convert.ToInt32(v23)) │
00:01:07 verbose #2059 > │ let v25 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2060 > │ while method4(v23, v25) do │
00:01:07 verbose #2061 > │ let v27 : uint64 = v25.l0 │
00:01:07 verbose #2062 > │ let struct (v28 : string, v29 : string) = v22.[int v27] │
00:01:07 verbose #2063 > │ let v30 : string = $"%A{v28}" │
00:01:07 verbose #2064 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2065 > │ let v31 : string = $"Solution: {v30} " │
00:01:07 verbose #2066 > │ System.Console.WriteLine v31 │
00:01:07 verbose #2067 > │ let v32 : int32 = 0 │
00:01:07 verbose #2068 > │ let v33 : string = "F" │
00:01:07 verbose #2069 > │ let v34 : (string -> string) = closure1() │
00:01:07 verbose #2070 > │ let v35 : int32 = 1 │
00:01:07 verbose #2071 > │ let v36 : string = "FA" │
00:01:07 verbose #2072 > │ let v37 : (string -> string) = closure2() │
00:01:07 verbose #2073 > │ let v38 : UH3 = UH3_0 │
00:01:07 verbose #2074 > │ let v39 : UH3 = UH3_1(v35, v36, v37, v38) │
00:01:07 verbose #2075 > │ let v40 : UH3 = UH3_1(v32, v33, v34, v39) │
00:01:07 verbose #2076 > │ let v41 : (struct (int32 * string * (string -> string)) []) = │
00:01:07 verbose #2077 > │ method13(v40) │
00:01:07 verbose #2078 > │ let v42 : uint64 = System.Convert.ToUInt64 v41.Length │
00:01:07 verbose #2079 > │ let v43 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:01:07 verbose #2080 > │ (string * int64)> (System.Convert.ToInt32(v42)) │
00:01:07 verbose #2081 > │ let v44 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2082 > │ while method4(v42, v44) do │
00:01:07 verbose #2083 > │ let v46 : uint64 = v44.l0 │
00:01:07 verbose #2084 > │ let struct (v47 : int32, v48 : string, v49 : (string -> string)) │
00:01:07 verbose #2085 > │ = v41.[int v46] │
00:01:07 verbose #2086 > │ let v50 : unit option = None │
00:01:07 verbose #2087 > │ let v51 : bool = true in let mutable _v50 = v50 │
00:01:07 verbose #2088 > │ │
00:01:07 verbose #2089 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #2090 > │ │
00:01:07 verbose #2091 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #2092 > │ () │
00:01:07 verbose #2093 > │ #endif │
00:01:07 verbose #2094 > │ │
00:01:07 verbose #2095 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #2096 > │ () │
00:01:07 verbose #2097 > │ #endif │
00:01:07 verbose #2098 > │ │
00:01:07 verbose #2099 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #2100 > │ () │
00:01:07 verbose #2101 > │ #endif │
00:01:07 verbose #2102 > │ │
00:01:07 verbose #2103 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #2104 > │ () │
00:01:07 verbose #2105 > │ #endif │
00:01:07 verbose #2106 > │ │
00:01:07 verbose #2107 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #2108 > │ () │
00:01:07 verbose #2109 > │ #endif │
00:01:07 verbose #2110 > │ │
00:01:07 verbose #2111 > │ #else │
00:01:07 verbose #2112 > │ System.GC.Collect () │
00:01:07 verbose #2113 > │ () │
00:01:07 verbose #2114 > │ #endif │
00:01:07 verbose #2115 > │ |> fun x -> _v50 <- Some x │
00:01:07 verbose #2116 > │ _v50.Value │
00:01:07 verbose #2117 > │ let v52 : (unit -> System.Diagnostics.Stopwatch) = │
00:01:07 verbose #2118 > │ System.Diagnostics.Stopwatch │
00:01:07 verbose #2119 > │ let v53 : System.Diagnostics.Stopwatch = v52 () │
00:01:07 verbose #2120 > │ v53.Start () │
00:01:07 verbose #2121 > │ let v54 : int64 = v53.ElapsedMilliseconds │
00:01:07 verbose #2122 > │ let v55 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:01:07 verbose #2123 > │ let v56 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #2124 > │ while method16(v56) do │
00:01:07 verbose #2125 > │ let v58 : int32 = v56.l0 │
00:01:07 verbose #2126 > │ v55.[int v58] <- v58 │
00:01:07 verbose #2127 > │ let v59 : int32 = v58 + 1 │
00:01:07 verbose #2128 > │ v56.l0 <- v59 │
00:01:07 verbose #2129 > │ () │
00:01:07 verbose #2130 > │ let v60 : ((int32 -> string) -> ((int32 []) -> (string []))) = │
00:01:07 verbose #2131 > │ Array.Parallel.map │
00:01:07 verbose #2132 > │ let v61 : (int32 -> string) = closure3(v28, v49) │
00:01:07 verbose #2133 > │ let v62 : ((int32 []) -> (string [])) = v60 v61 │
00:01:07 verbose #2134 > │ let v63 : (string []) = v62 v55 │
00:01:07 verbose #2135 > │ let v64 : int32 = v63.Length │
00:01:07 verbose #2136 > │ let v65 : int32 = v64 - 1 │
00:01:07 verbose #2137 > │ let v66 : string = v63.[int v65] │
00:01:07 verbose #2138 > │ let v67 : int64 = v53.ElapsedMilliseconds │
00:01:07 verbose #2139 > │ let v68 : int64 = v67 - v54 │
00:01:07 verbose #2140 > │ let v69 : string = $"Test case {v47 + 1}. {v48}. Time: {v68} " │
00:01:07 verbose #2141 > │ System.Console.WriteLine v69 │
00:01:07 verbose #2142 > │ v43.[int v46] <- struct (v66, v68) │
00:01:07 verbose #2143 > │ let v70 : uint64 = v46 + 1UL │
00:01:07 verbose #2144 > │ v44.l0 <- v70 │
00:01:07 verbose #2145 > │ () │
00:01:07 verbose #2146 > │ let v71 : uint64 = System.Convert.ToUInt64 v43.Length │
00:01:07 verbose #2147 > │ let v72 : (string []) = Array.zeroCreate<string> │
00:01:07 verbose #2148 > │ (System.Convert.ToInt32(v71)) │
00:01:07 verbose #2149 > │ let v73 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2150 > │ while method4(v71, v73) do │
00:01:07 verbose #2151 > │ let v75 : uint64 = v73.l0 │
00:01:07 verbose #2152 > │ let struct (v76 : string, v77 : int64) = v43.[int v75] │
00:01:07 verbose #2153 > │ v72.[int v75] <- v76 │
00:01:07 verbose #2154 > │ let v78 : uint64 = v75 + 1UL │
00:01:07 verbose #2155 > │ v73.l0 <- v78 │
00:01:07 verbose #2156 > │ () │
00:01:07 verbose #2157 > │ let v79 : uint64 = System.Convert.ToUInt64 v72.Length │
00:01:07 verbose #2158 > │ let v80 : bool = v79 <= 1UL │
00:01:07 verbose #2159 > │ if v80 then │
00:01:07 verbose #2160 > │ () │
00:01:07 verbose #2161 > │ else │
00:01:07 verbose #2162 > │ let v81 : string = v72.[int 0UL] │
00:01:07 verbose #2163 > │ let v82 : uint64 = 0UL │
00:01:07 verbose #2164 > │ let v83 : bool = method17(v81, v72, v82) │
00:01:07 verbose #2165 > │ if v83 then │
00:01:07 verbose #2166 > │ () │
00:01:07 verbose #2167 > │ else │
00:01:07 verbose #2168 > │ let v84 : string = $"Challenge error: {v72}" │
00:01:07 verbose #2169 > │ failwith<unit> v84 │
00:01:07 verbose #2170 > │ let v85 : string = $"%A{v29}" │
00:01:07 verbose #2171 > │ let v86 : (string []) = Array.zeroCreate<string> │
00:01:07 verbose #2172 > │ (System.Convert.ToInt32(v71)) │
00:01:07 verbose #2173 > │ let v87 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2174 > │ while method4(v71, v87) do │
00:01:07 verbose #2175 > │ let v89 : uint64 = v87.l0 │
00:01:07 verbose #2176 > │ let struct (v90 : string, v91 : int64) = v43.[int v89] │
00:01:07 verbose #2177 > │ v86.[int v89] <- v90 │
00:01:07 verbose #2178 > │ let v92 : uint64 = v89 + 1UL │
00:01:07 verbose #2179 > │ v87.l0 <- v92 │
00:01:07 verbose #2180 > │ () │
00:01:07 verbose #2181 > │ let v93 : string = v86.[int 0UL] │
00:01:07 verbose #2182 > │ let v94 : string = $"%A{v93}" │
00:01:07 verbose #2183 > │ let v95 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2184 > │ (System.Convert.ToInt32(v71)) │
00:01:07 verbose #2185 > │ let v96 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2186 > │ while method4(v71, v96) do │
00:01:07 verbose #2187 > │ let v98 : uint64 = v96.l0 │
00:01:07 verbose #2188 > │ let struct (v99 : string, v100 : int64) = v43.[int v98] │
00:01:07 verbose #2189 > │ v95.[int v98] <- v100 │
00:01:07 verbose #2190 > │ let v101 : uint64 = v98 + 1UL │
00:01:07 verbose #2191 > │ v96.l0 <- v101 │
00:01:07 verbose #2192 > │ () │
00:01:07 verbose #2193 > │ v24.[int v27] <- struct (v85, v30, v94, v95) │
00:01:07 verbose #2194 > │ let v102 : uint64 = v27 + 1UL │
00:01:07 verbose #2195 > │ v25.l0 <- v102 │
00:01:07 verbose #2196 > │ () │
00:01:07 verbose #2197 > │ let v103 : uint64 = System.Convert.ToUInt64 v24.Length │
00:01:07 verbose #2198 > │ let v104 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:01:07 verbose #2199 > │ US0)> (System.Convert.ToInt32(v103)) │
00:01:07 verbose #2200 > │ let v105 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2201 > │ while method4(v103, v105) do │
00:01:07 verbose #2202 > │ let v107 : uint64 = v105.l0 │
00:01:07 verbose #2203 > │ let struct (v108 : string, v109 : string, v110 : string, v111 : │
00:01:07 verbose #2204 > │ (int64 [])) = v24.[int v107] │
00:01:07 verbose #2205 > │ let v112 : uint64 = System.Convert.ToUInt64 v111.Length │
00:01:07 verbose #2206 > │ let v113 : UH4 = UH4_0 │
00:01:07 verbose #2207 > │ let v114 : Mut2 = {l0 = 0UL; l1 = v113; l2 = 0L} : Mut2 │
00:01:07 verbose #2208 > │ while method18(v112, v114) do │
00:01:07 verbose #2209 > │ let v116 : uint64 = v114.l0 │
00:01:07 verbose #2210 > │ let struct (v117 : UH4, v118 : int64) = v114.l1, v114.l2 │
00:01:07 verbose #2211 > │ let v119 : int64 = v111.[int v116] │
00:01:07 verbose #2212 > │ let v120 : int64 = v118 + 1L │
00:01:07 verbose #2213 > │ let v121 : uint64 = v116 + 1UL │
00:01:07 verbose #2214 > │ let v122 : UH4 = UH4_1(v118, v119, v117) │
00:01:07 verbose #2215 > │ v114.l0 <- v121 │
00:01:07 verbose #2216 > │ v114.l1 <- v122 │
00:01:07 verbose #2217 > │ v114.l2 <- v120 │
00:01:07 verbose #2218 > │ () │
00:01:07 verbose #2219 > │ let struct (v123 : UH4, v124 : int64) = v114.l1, v114.l2 │
00:01:07 verbose #2220 > │ let v125 : UH4 = UH4_0 │
00:01:07 verbose #2221 > │ let v126 : UH4 = method19(v123, v125) │
00:01:07 verbose #2222 > │ let v127 : (struct (int64 * int64) []) = method20(v126) │
00:01:07 verbose #2223 > │ let v128 : int32 = v127.Length │
00:01:07 verbose #2224 > │ let v129 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:01:07 verbose #2225 > │ (int64 * int64)> (v128) │
00:01:07 verbose #2226 > │ let v130 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #2227 > │ while method5(v128, v130) do │
00:01:07 verbose #2228 > │ let v132 : int32 = v130.l0 │
00:01:07 verbose #2229 > │ let struct (v133 : int64, v134 : int64) = v127.[int v132] │
00:01:07 verbose #2230 > │ let v135 : int64 = v133 + 1L │
00:01:07 verbose #2231 > │ v129.[int v132] <- struct (v135, v134) │
00:01:07 verbose #2232 > │ let v136 : int32 = v132 + 1 │
00:01:07 verbose #2233 > │ v130.l0 <- v136 │
00:01:07 verbose #2234 > │ () │
00:01:07 verbose #2235 > │ let v137 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:01:07 verbose #2236 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:01:07 verbose #2237 > │ let v138 : (struct (int64 * int64) -> int64) = closure4() │
00:01:07 verbose #2238 > │ let v139 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:01:07 verbose #2239 > │ ])) = v137 v138 │
00:01:07 verbose #2240 > │ let v140 : (struct (int64 * int64) []) = v139 v129 │
00:01:07 verbose #2241 > │ let struct (v141 : int64, v142 : int64) = v140.[int 0] │
00:01:07 verbose #2242 > │ let v143 : string = $"%A{struct (v141, v142)}" │
00:01:07 verbose #2243 > │ let v144 : bool = v108 = v110 │
00:01:07 verbose #2244 > │ let v149 : US0 = │
00:01:07 verbose #2245 > │ if v144 then │
00:01:07 verbose #2246 > │ let v145 : System.ConsoleColor = │
00:01:07 verbose #2247 > │ System.ConsoleColor.DarkGreen │
00:01:07 verbose #2248 > │ US0_0(v145) │
00:01:07 verbose #2249 > │ else │
00:01:07 verbose #2250 > │ let v147 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:01:07 verbose #2251 > │ US0_0(v147) │
00:01:07 verbose #2252 > │ let v150 : UH2 = UH2_0 │
00:01:07 verbose #2253 > │ let v151 : UH2 = UH2_1(v143, v150) │
00:01:07 verbose #2254 > │ let v152 : UH2 = UH2_1(v110, v151) │
00:01:07 verbose #2255 > │ let v153 : UH2 = UH2_1(v108, v152) │
00:01:07 verbose #2256 > │ let v154 : UH2 = UH2_1(v109, v153) │
00:01:07 verbose #2257 > │ v104.[int v107] <- struct (v154, v149) │
00:01:07 verbose #2258 > │ let v155 : uint64 = v107 + 1UL │
00:01:07 verbose #2259 > │ v105.l0 <- v155 │
00:01:07 verbose #2260 > │ () │
00:01:07 verbose #2261 > │ let v156 : string = "Input" │
00:01:07 verbose #2262 > │ let v157 : string = "Expected" │
00:01:07 verbose #2263 > │ let v158 : string = "Result" │
00:01:07 verbose #2264 > │ let v159 : string = "Best" │
00:01:07 verbose #2265 > │ let v160 : UH2 = UH2_0 │
00:01:07 verbose #2266 > │ let v161 : UH2 = UH2_1(v159, v160) │
00:01:07 verbose #2267 > │ let v162 : UH2 = UH2_1(v158, v161) │
00:01:07 verbose #2268 > │ let v163 : UH2 = UH2_1(v157, v162) │
00:01:07 verbose #2269 > │ let v164 : UH2 = UH2_1(v156, v163) │
00:01:07 verbose #2270 > │ let v165 : US0 = US0_1 │
00:01:07 verbose #2271 > │ let v166 : string = "---" │
00:01:07 verbose #2272 > │ let v167 : UH2 = UH2_0 │
00:01:07 verbose #2273 > │ let v168 : UH2 = UH2_1(v166, v167) │
00:01:07 verbose #2274 > │ let v169 : UH2 = UH2_1(v166, v168) │
00:01:07 verbose #2275 > │ let v170 : UH2 = UH2_1(v166, v169) │
00:01:07 verbose #2276 > │ let v171 : UH2 = UH2_1(v166, v170) │
00:01:07 verbose #2277 > │ let v172 : US0 = US0_1 │
00:01:07 verbose #2278 > │ let v173 : UH5 = UH5_0 │
00:01:07 verbose #2279 > │ let v174 : UH5 = UH5_1(v171, v172, v173) │
00:01:07 verbose #2280 > │ let v175 : UH5 = UH5_1(v164, v165, v174) │
00:01:07 verbose #2281 > │ let v176 : (struct (UH2 * US0) []) = method23(v175) │
00:01:07 verbose #2282 > │ let v177 : uint64 = System.Convert.ToUInt64 v176.Length │
00:01:07 verbose #2283 > │ let v178 : uint64 = System.Convert.ToUInt64 v104.Length │
00:01:07 verbose #2284 > │ let v179 : uint64 = v177 + v178 │
00:01:07 verbose #2285 > │ let v180 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:01:07 verbose #2286 > │ US0)> (System.Convert.ToInt32(v179)) │
00:01:07 verbose #2287 > │ let v181 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2288 > │ while method4(v179, v181) do │
00:01:07 verbose #2289 > │ let v183 : uint64 = v181.l0 │
00:01:07 verbose #2290 > │ let v184 : bool = v183 < v177 │
00:01:07 verbose #2291 > │ let struct (v190 : UH2, v191 : US0) = │
00:01:07 verbose #2292 > │ if v184 then │
00:01:07 verbose #2293 > │ let struct (v185 : UH2, v186 : US0) = v176.[int v183] │
00:01:07 verbose #2294 > │ struct (v185, v186) │
00:01:07 verbose #2295 > │ else │
00:01:07 verbose #2296 > │ let v187 : uint64 = v183 - v177 │
00:01:07 verbose #2297 > │ let struct (v188 : UH2, v189 : US0) = v104.[int v187] │
00:01:07 verbose #2298 > │ struct (v188, v189) │
00:01:07 verbose #2299 > │ v180.[int v183] <- struct (v190, v191) │
00:01:07 verbose #2300 > │ let v192 : uint64 = v183 + 1UL │
00:01:07 verbose #2301 > │ v181.l0 <- v192 │
00:01:07 verbose #2302 > │ () │
00:01:07 verbose #2303 > │ let v193 : uint64 = System.Convert.ToUInt64 v180.Length │
00:01:07 verbose #2304 > │ let v194 : ((string []) []) = Array.zeroCreate<(string [])> │
00:01:07 verbose #2305 > │ (System.Convert.ToInt32(v193)) │
00:01:07 verbose #2306 > │ let v195 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2307 > │ while method4(v193, v195) do │
00:01:07 verbose #2308 > │ let v197 : uint64 = v195.l0 │
00:01:07 verbose #2309 > │ let struct (v198 : UH2, v199 : US0) = v180.[int v197] │
00:01:07 verbose #2310 > │ let v200 : (string []) = method26(v198) │
00:01:07 verbose #2311 > │ v194.[int v197] <- v200 │
00:01:07 verbose #2312 > │ let v201 : uint64 = v197 + 1UL │
00:01:07 verbose #2313 > │ v195.l0 <- v201 │
00:01:07 verbose #2314 > │ () │
00:01:07 verbose #2315 > │ let v202 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:01:07 verbose #2316 > │ let v203 : ((string []) []) = v202 v194 │
00:01:07 verbose #2317 > │ let v204 : uint64 = System.Convert.ToUInt64 v203.Length │
00:01:07 verbose #2318 > │ let v205 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2319 > │ (System.Convert.ToInt32(v204)) │
00:01:07 verbose #2320 > │ let v206 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2321 > │ while method4(v204, v206) do │
00:01:07 verbose #2322 > │ let v208 : uint64 = v206.l0 │
00:01:07 verbose #2323 > │ let v209 : (string []) = v203.[int v208] │
00:01:07 verbose #2324 > │ let v210 : uint64 = System.Convert.ToUInt64 v209.Length │
00:01:07 verbose #2325 > │ let v211 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2326 > │ (System.Convert.ToInt32(v210)) │
00:01:07 verbose #2327 > │ let v212 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2328 > │ while method4(v210, v212) do │
00:01:07 verbose #2329 > │ let v214 : uint64 = v212.l0 │
00:01:07 verbose #2330 > │ let v215 : string = v209.[int v214] │
00:01:07 verbose #2331 > │ let v216 : int64 = System.Convert.ToInt64 v215.Length │
00:01:07 verbose #2332 > │ v211.[int v214] <- v216 │
00:01:07 verbose #2333 > │ let v217 : uint64 = v214 + 1UL │
00:01:07 verbose #2334 > │ v212.l0 <- v217 │
00:01:07 verbose #2335 > │ () │
00:01:07 verbose #2336 > │ let v218 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:01:07 verbose #2337 > │ let v219 : (int64 []) = v218 v211 │
00:01:07 verbose #2338 > │ let v220 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:01:07 verbose #2339 > │ let v221 : ((int64 []) -> int64 option) = v220 0 │
00:01:07 verbose #2340 > │ let v222 : int64 option = v221 v219 │
00:01:07 verbose #2341 > │ let v223 : (int64 -> US1) = method29() │
00:01:07 verbose #2342 > │ let v224 : US1 = US1_1 │
00:01:07 verbose #2343 > │ let v225 : US1 = v222 |> Option.map v223 |> Option.defaultValue v224 │
00:01:07 verbose #2344 > │ let v228 : int64 = │
00:01:07 verbose #2345 > │ match v225 with │
00:01:07 verbose #2346 > │ | US1_1 -> (* None *) │
00:01:07 verbose #2347 > │ 0L │
00:01:07 verbose #2348 > │ | US1_0(v226) -> (* Some *) │
00:01:07 verbose #2349 > │ v226 │
00:01:07 verbose #2350 > │ v205.[int v208] <- v228 │
00:01:07 verbose #2351 > │ let v229 : uint64 = v208 + 1UL │
00:01:07 verbose #2352 > │ v206.l0 <- v229 │
00:01:07 verbose #2353 > │ () │
00:01:07 verbose #2354 > │ let v230 : uint64 = System.Convert.ToUInt64 v205.Length │
00:01:07 verbose #2355 > │ let v231 : UH6 = UH6_0 │
00:01:07 verbose #2356 > │ let v232 : Mut3 = {l0 = 0UL; l1 = v231; l2 = 0} : Mut3 │
00:01:07 verbose #2357 > │ while method30(v230, v232) do │
00:01:07 verbose #2358 > │ let v234 : uint64 = v232.l0 │
00:01:07 verbose #2359 > │ let struct (v235 : UH6, v236 : int32) = v232.l1, v232.l2 │
00:01:07 verbose #2360 > │ let v237 : int64 = v205.[int v234] │
00:01:07 verbose #2361 > │ let v238 : int32 = v236 + 1 │
00:01:07 verbose #2362 > │ let v239 : uint64 = v234 + 1UL │
00:01:07 verbose #2363 > │ let v240 : UH6 = UH6_1(v236, v237, v235) │
00:01:07 verbose #2364 > │ v232.l0 <- v239 │
00:01:07 verbose #2365 > │ v232.l1 <- v240 │
00:01:07 verbose #2366 > │ v232.l2 <- v238 │
00:01:07 verbose #2367 > │ () │
00:01:07 verbose #2368 > │ let struct (v241 : UH6, v242 : int32) = v232.l1, v232.l2 │
00:01:07 verbose #2369 > │ let v243 : UH6 = UH6_0 │
00:01:07 verbose #2370 > │ let v244 : UH6 = method31(v241, v243) │
00:01:07 verbose #2371 > │ let v245 : (struct (int32 * int64) []) = method32(v244) │
00:01:07 verbose #2372 > │ let v246 : Map<int32, int64> = v245 |> Array.map (fun (struct (a, b)) -> │
00:01:07 verbose #2373 > │ a, b) |> Map.ofArray │
00:01:07 verbose #2374 > │ let v247 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:01:07 verbose #2375 > │ ((string []) * US0)> (System.Convert.ToInt32(v193)) │
00:01:07 verbose #2376 > │ let v248 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2377 > │ while method4(v193, v248) do │
00:01:07 verbose #2378 > │ let v250 : uint64 = v248.l0 │
00:01:07 verbose #2379 > │ let struct (v251 : UH2, v252 : US0) = v180.[int v250] │
00:01:07 verbose #2380 > │ let v253 : UH7 = UH7_0 │
00:01:07 verbose #2381 > │ let v254 : int32 = 0 │
00:01:07 verbose #2382 > │ let struct (v255 : UH7, v256 : int32) = method35(v251, v253, v254) │
00:01:07 verbose #2383 > │ let v257 : UH7 = UH7_0 │
00:01:07 verbose #2384 > │ let v258 : UH7 = method36(v255, v257) │
00:01:07 verbose #2385 > │ let v259 : UH2 = UH2_0 │
00:01:07 verbose #2386 > │ let v260 : UH2 = method37(v246, v258, v259) │
00:01:07 verbose #2387 > │ let v261 : (string []) = method10(v260) │
00:01:07 verbose #2388 > │ v247.[int v250] <- struct (v261, v252) │
00:01:07 verbose #2389 > │ let v262 : uint64 = v250 + 1UL │
00:01:07 verbose #2390 > │ v248.l0 <- v262 │
00:01:07 verbose #2391 > │ () │
00:01:07 verbose #2392 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2393 > │ let v263 : uint64 = System.Convert.ToUInt64 v247.Length │
00:01:07 verbose #2394 > │ let v264 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2395 > │ while method4(v263, v264) do │
00:01:07 verbose #2396 > │ let v266 : uint64 = v264.l0 │
00:01:07 verbose #2397 > │ let struct (v267 : (string []), v268 : US0) = v247.[int v266] │
00:01:07 verbose #2398 > │ match v268 with │
00:01:07 verbose #2399 > │ | US0_1 -> (* None *) │
00:01:07 verbose #2400 > │ let v272 : unit option = None │
00:01:07 verbose #2401 > │ let v273 : bool = true in let mutable _v272 = v272 │
00:01:07 verbose #2402 > │ │
00:01:07 verbose #2403 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #2404 > │ │
00:01:07 verbose #2405 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #2406 > │ () │
00:01:07 verbose #2407 > │ #endif │
00:01:07 verbose #2408 > │ │
00:01:07 verbose #2409 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #2410 > │ () │
00:01:07 verbose #2411 > │ #endif │
00:01:07 verbose #2412 > │ │
00:01:07 verbose #2413 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #2414 > │ () │
00:01:07 verbose #2415 > │ #endif │
00:01:07 verbose #2416 > │ │
00:01:07 verbose #2417 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #2418 > │ () │
00:01:07 verbose #2419 > │ #endif │
00:01:07 verbose #2420 > │ │
00:01:07 verbose #2421 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #2422 > │ () │
00:01:07 verbose #2423 > │ #endif │
00:01:07 verbose #2424 > │ │
00:01:07 verbose #2425 > │ #else │
00:01:07 verbose #2426 > │ System.Console.ResetColor () │
00:01:07 verbose #2427 > │ () │
00:01:07 verbose #2428 > │ #endif │
00:01:07 verbose #2429 > │ |> fun x -> _v272 <- Some x │
00:01:07 verbose #2430 > │ _v272.Value │
00:01:07 verbose #2431 > │ () │
00:01:07 verbose #2432 > │ | US0_0(v269) -> (* Some *) │
00:01:07 verbose #2433 > │ let v270 : unit option = None │
00:01:07 verbose #2434 > │ let v271 : bool = true in let mutable _v270 = v270 │
00:01:07 verbose #2435 > │ │
00:01:07 verbose #2436 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #2437 > │ │
00:01:07 verbose #2438 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #2439 > │ () │
00:01:07 verbose #2440 > │ #endif │
00:01:07 verbose #2441 > │ │
00:01:07 verbose #2442 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #2443 > │ () │
00:01:07 verbose #2444 > │ #endif │
00:01:07 verbose #2445 > │ │
00:01:07 verbose #2446 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #2447 > │ () │
00:01:07 verbose #2448 > │ #endif │
00:01:07 verbose #2449 > │ │
00:01:07 verbose #2450 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #2451 > │ () │
00:01:07 verbose #2452 > │ #endif │
00:01:07 verbose #2453 > │ │
00:01:07 verbose #2454 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #2455 > │ () │
00:01:07 verbose #2456 > │ #endif │
00:01:07 verbose #2457 > │ │
00:01:07 verbose #2458 > │ #else │
00:01:07 verbose #2459 > │ System.Console.ForegroundColor <- v269 │
00:01:07 verbose #2460 > │ () │
00:01:07 verbose #2461 > │ #endif │
00:01:07 verbose #2462 > │ |> fun x -> _v270 <- Some x │
00:01:07 verbose #2463 > │ _v270.Value │
00:01:07 verbose #2464 > │ () │
00:01:07 verbose #2465 > │ let v274 : string = "\t| " │
00:01:07 verbose #2466 > │ let v275 : string = System.String.Join (v274, v267) │
00:01:07 verbose #2467 > │ System.Console.WriteLine v275 │
00:01:07 verbose #2468 > │ let v276 : unit option = None │
00:01:07 verbose #2469 > │ let v277 : bool = true in let mutable _v276 = v276 │
00:01:07 verbose #2470 > │ │
00:01:07 verbose #2471 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #2472 > │ │
00:01:07 verbose #2473 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #2474 > │ () │
00:01:07 verbose #2475 > │ #endif │
00:01:07 verbose #2476 > │ │
00:01:07 verbose #2477 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #2478 > │ () │
00:01:07 verbose #2479 > │ #endif │
00:01:07 verbose #2480 > │ │
00:01:07 verbose #2481 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #2482 > │ () │
00:01:07 verbose #2483 > │ #endif │
00:01:07 verbose #2484 > │ │
00:01:07 verbose #2485 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #2486 > │ () │
00:01:07 verbose #2487 > │ #endif │
00:01:07 verbose #2488 > │ │
00:01:07 verbose #2489 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #2490 > │ () │
00:01:07 verbose #2491 > │ #endif │
00:01:07 verbose #2492 > │ │
00:01:07 verbose #2493 > │ #else │
00:01:07 verbose #2494 > │ System.Console.ResetColor () │
00:01:07 verbose #2495 > │ () │
00:01:07 verbose #2496 > │ #endif │
00:01:07 verbose #2497 > │ |> fun x -> _v276 <- Some x │
00:01:07 verbose #2498 > │ _v276.Value │
00:01:07 verbose #2499 > │ let v278 : uint64 = v266 + 1UL │
00:01:07 verbose #2500 > │ v264.l0 <- v278 │
00:01:07 verbose #2501 > │ () │
00:01:07 verbose #2502 > │ let v279 : ((float []) []) = Array.zeroCreate<(float [])> │
00:01:07 verbose #2503 > │ (System.Convert.ToInt32(v103)) │
00:01:07 verbose #2504 > │ let v280 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2505 > │ while method4(v103, v280) do │
00:01:07 verbose #2506 > │ let v282 : uint64 = v280.l0 │
00:01:07 verbose #2507 > │ let struct (v283 : string, v284 : string, v285 : string, v286 : │
00:01:07 verbose #2508 > │ (int64 [])) = v24.[int v282] │
00:01:07 verbose #2509 > │ let v287 : (int64 -> float) = float │
00:01:07 verbose #2510 > │ let v288 : uint64 = System.Convert.ToUInt64 v286.Length │
00:01:07 verbose #2511 > │ let v289 : (float []) = Array.zeroCreate<float> │
00:01:07 verbose #2512 > │ (System.Convert.ToInt32(v288)) │
00:01:07 verbose #2513 > │ let v290 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2514 > │ while method4(v288, v290) do │
00:01:07 verbose #2515 > │ let v292 : uint64 = v290.l0 │
00:01:07 verbose #2516 > │ let v293 : int64 = v286.[int v292] │
00:01:07 verbose #2517 > │ let v294 : float = v287 v293 │
00:01:07 verbose #2518 > │ v289.[int v292] <- v294 │
00:01:07 verbose #2519 > │ let v295 : uint64 = v292 + 1UL │
00:01:07 verbose #2520 > │ v290.l0 <- v295 │
00:01:07 verbose #2521 > │ () │
00:01:07 verbose #2522 > │ v279.[int v282] <- v289 │
00:01:07 verbose #2523 > │ let v296 : uint64 = v282 + 1UL │
00:01:07 verbose #2524 > │ v280.l0 <- v296 │
00:01:07 verbose #2525 > │ () │
00:01:07 verbose #2526 > │ let v297 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:01:07 verbose #2527 > │ let v298 : ((float []) []) = v297 v279 │
00:01:07 verbose #2528 > │ let v299 : uint64 = System.Convert.ToUInt64 v298.Length │
00:01:07 verbose #2529 > │ let v300 : (float []) = Array.zeroCreate<float> │
00:01:07 verbose #2530 > │ (System.Convert.ToInt32(v299)) │
00:01:07 verbose #2531 > │ let v301 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2532 > │ while method4(v299, v301) do │
00:01:07 verbose #2533 > │ let v303 : uint64 = v301.l0 │
00:01:07 verbose #2534 > │ let v304 : (float []) = v298.[int v303] │
00:01:07 verbose #2535 > │ let v305 : ((float []) -> float) = Array.average │
00:01:07 verbose #2536 > │ let v306 : float = v305 v304 │
00:01:07 verbose #2537 > │ v300.[int v303] <- v306 │
00:01:07 verbose #2538 > │ let v307 : uint64 = v303 + 1UL │
00:01:07 verbose #2539 > │ v301.l0 <- v307 │
00:01:07 verbose #2540 > │ () │
00:01:07 verbose #2541 > │ let v308 : (float -> int64) = int64 │
00:01:07 verbose #2542 > │ let v309 : uint64 = System.Convert.ToUInt64 v300.Length │
00:01:07 verbose #2543 > │ let v310 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2544 > │ (System.Convert.ToInt32(v309)) │
00:01:07 verbose #2545 > │ let v311 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2546 > │ while method4(v309, v311) do │
00:01:07 verbose #2547 > │ let v313 : uint64 = v311.l0 │
00:01:07 verbose #2548 > │ let v314 : float = v300.[int v313] │
00:01:07 verbose #2549 > │ let v315 : int64 = v308 v314 │
00:01:07 verbose #2550 > │ v310.[int v313] <- v315 │
00:01:07 verbose #2551 > │ let v316 : uint64 = v313 + 1UL │
00:01:07 verbose #2552 > │ v311.l0 <- v316 │
00:01:07 verbose #2553 > │ () │
00:01:07 verbose #2554 > │ let v317 : uint64 = System.Convert.ToUInt64 v310.Length │
00:01:07 verbose #2555 > │ let v318 : UH6 = UH6_0 │
00:01:07 verbose #2556 > │ let v319 : Mut3 = {l0 = 0UL; l1 = v318; l2 = 0} : Mut3 │
00:01:07 verbose #2557 > │ while method30(v317, v319) do │
00:01:07 verbose #2558 > │ let v321 : uint64 = v319.l0 │
00:01:07 verbose #2559 > │ let struct (v322 : UH6, v323 : int32) = v319.l1, v319.l2 │
00:01:07 verbose #2560 > │ let v324 : int64 = v310.[int v321] │
00:01:07 verbose #2561 > │ let v325 : int32 = v323 + 1 │
00:01:07 verbose #2562 > │ let v326 : uint64 = v321 + 1UL │
00:01:07 verbose #2563 > │ let v327 : UH6 = UH6_1(v323, v324, v322) │
00:01:07 verbose #2564 > │ v319.l0 <- v326 │
00:01:07 verbose #2565 > │ v319.l1 <- v327 │
00:01:07 verbose #2566 > │ v319.l2 <- v325 │
00:01:07 verbose #2567 > │ () │
00:01:07 verbose #2568 > │ let struct (v328 : UH6, v329 : int32) = v319.l1, v319.l2 │
00:01:07 verbose #2569 > │ let v330 : UH6 = UH6_0 │
00:01:07 verbose #2570 > │ let v331 : UH6 = method31(v328, v330) │
00:01:07 verbose #2571 > │ let v332 : (struct (int32 * int64) []) = method38(v331) │
00:01:07 verbose #2572 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2573 > │ let v333 : string = "Average Ranking " │
00:01:07 verbose #2574 > │ System.Console.WriteLine v333 │
00:01:07 verbose #2575 > │ let v334 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:01:07 verbose #2576 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:01:07 verbose #2577 > │ let v335 : (struct (int32 * int64) -> int64) = closure6() │
00:01:07 verbose #2578 > │ let v336 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:01:07 verbose #2579 > │ = v334 v335 │
00:01:07 verbose #2580 > │ let v337 : (struct (int32 * int64) []) = v336 v332 │
00:01:07 verbose #2581 > │ let v338 : uint64 = System.Convert.ToUInt64 v337.Length │
00:01:07 verbose #2582 > │ let v339 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2583 > │ while method4(v338, v339) do │
00:01:07 verbose #2584 > │ let v341 : uint64 = v339.l0 │
00:01:07 verbose #2585 > │ let struct (v342 : int32, v343 : int64) = v337.[int v341] │
00:01:07 verbose #2586 > │ let v344 : string = $"Test case %d{v342 + 1}. Average Time: %A{v343} │
00:01:07 verbose #2587 > │ " │
00:01:07 verbose #2588 > │ System.Console.WriteLine v344 │
00:01:07 verbose #2589 > │ let v345 : uint64 = v341 + 1UL │
00:01:07 verbose #2590 > │ v339.l0 <- v345 │
00:01:07 verbose #2591 > │ () │
00:01:07 verbose #2592 > │ () │
00:01:07 verbose #2593 > │ and method0 () : unit = │
00:01:07 verbose #2594 > │ let v0 : (unit -> unit) = closure0() │
00:01:07 verbose #2595 > │ let v1 : string = nameof v0 │
00:01:07 verbose #2596 > │ let v2 : string = "" │
00:01:07 verbose #2597 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2598 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2599 > │ let v3 : string = $"Test: {v1}" │
00:01:07 verbose #2600 > │ System.Console.WriteLine v3 │
00:01:07 verbose #2601 > │ let v4 : string = "abc" │
00:01:07 verbose #2602 > │ let v5 : string = "bca cab abc" │
00:01:07 verbose #2603 > │ let v6 : string = "abcde" │
00:01:07 verbose #2604 > │ let v7 : string = "bcdea cdeab deabc eabcd abcde" │
00:01:07 verbose #2605 > │ let v8 : string = "abcdefghi" │
00:01:07 verbose #2606 > │ let v9 : string = "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde │
00:01:07 verbose #2607 > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi" │
00:01:07 verbose #2608 > │ let v10 : string = "abab" │
00:01:07 verbose #2609 > │ let v11 : string = "baba abab baba abab" │
00:01:07 verbose #2610 > │ let v12 : string = "aa" │
00:01:07 verbose #2611 > │ let v13 : string = "aa aa" │
00:01:07 verbose #2612 > │ let v14 : string = "z" │
00:01:07 verbose #2613 > │ let v15 : UH0 = UH0_0 │
00:01:07 verbose #2614 > │ let v16 : UH0 = UH0_1(v14, v14, v15) │
00:01:07 verbose #2615 > │ let v17 : UH0 = UH0_1(v12, v13, v16) │
00:01:07 verbose #2616 > │ let v18 : UH0 = UH0_1(v10, v11, v17) │
00:01:07 verbose #2617 > │ let v19 : UH0 = UH0_1(v8, v9, v18) │
00:01:07 verbose #2618 > │ let v20 : UH0 = UH0_1(v6, v7, v19) │
00:01:07 verbose #2619 > │ let v21 : UH0 = UH0_1(v4, v5, v20) │
00:01:07 verbose #2620 > │ let v22 : (struct (string * string) []) = method1(v21) │
00:01:07 verbose #2621 > │ let v23 : uint64 = System.Convert.ToUInt64 v22.Length │
00:01:07 verbose #2622 > │ let v24 : (struct (string * string * string * (int64 [])) []) = │
00:01:07 verbose #2623 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:01:07 verbose #2624 > │ (System.Convert.ToInt32(v23)) │
00:01:07 verbose #2625 > │ let v25 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2626 > │ while method4(v23, v25) do │
00:01:07 verbose #2627 > │ let v27 : uint64 = v25.l0 │
00:01:07 verbose #2628 > │ let struct (v28 : string, v29 : string) = v22.[int v27] │
00:01:07 verbose #2629 > │ let v30 : string = $"%A{v28}" │
00:01:07 verbose #2630 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2631 > │ let v31 : string = $"Solution: {v30} " │
00:01:07 verbose #2632 > │ System.Console.WriteLine v31 │
00:01:07 verbose #2633 > │ let v32 : int32 = 0 │
00:01:07 verbose #2634 > │ let v33 : string = "F" │
00:01:07 verbose #2635 > │ let v34 : (string -> string) = closure1() │
00:01:07 verbose #2636 > │ let v35 : int32 = 1 │
00:01:07 verbose #2637 > │ let v36 : string = "FA" │
00:01:07 verbose #2638 > │ let v37 : (string -> string) = closure2() │
00:01:07 verbose #2639 > │ let v38 : UH3 = UH3_0 │
00:01:07 verbose #2640 > │ let v39 : UH3 = UH3_1(v35, v36, v37, v38) │
00:01:07 verbose #2641 > │ let v40 : UH3 = UH3_1(v32, v33, v34, v39) │
00:01:07 verbose #2642 > │ let v41 : (struct (int32 * string * (string -> string)) []) = │
00:01:07 verbose #2643 > │ method13(v40) │
00:01:07 verbose #2644 > │ let v42 : uint64 = System.Convert.ToUInt64 v41.Length │
00:01:07 verbose #2645 > │ let v43 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:01:07 verbose #2646 > │ (string * int64)> (System.Convert.ToInt32(v42)) │
00:01:07 verbose #2647 > │ let v44 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2648 > │ while method4(v42, v44) do │
00:01:07 verbose #2649 > │ let v46 : uint64 = v44.l0 │
00:01:07 verbose #2650 > │ let struct (v47 : int32, v48 : string, v49 : (string -> string)) │
00:01:07 verbose #2651 > │ = v41.[int v46] │
00:01:07 verbose #2652 > │ let v50 : unit option = None │
00:01:07 verbose #2653 > │ let v51 : bool = true in let mutable _v50 = v50 │
00:01:07 verbose #2654 > │ │
00:01:07 verbose #2655 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #2656 > │ │
00:01:07 verbose #2657 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #2658 > │ () │
00:01:07 verbose #2659 > │ #endif │
00:01:07 verbose #2660 > │ │
00:01:07 verbose #2661 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #2662 > │ () │
00:01:07 verbose #2663 > │ #endif │
00:01:07 verbose #2664 > │ │
00:01:07 verbose #2665 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #2666 > │ () │
00:01:07 verbose #2667 > │ #endif │
00:01:07 verbose #2668 > │ │
00:01:07 verbose #2669 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #2670 > │ () │
00:01:07 verbose #2671 > │ #endif │
00:01:07 verbose #2672 > │ │
00:01:07 verbose #2673 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #2674 > │ () │
00:01:07 verbose #2675 > │ #endif │
00:01:07 verbose #2676 > │ │
00:01:07 verbose #2677 > │ #else │
00:01:07 verbose #2678 > │ System.GC.Collect () │
00:01:07 verbose #2679 > │ () │
00:01:07 verbose #2680 > │ #endif │
00:01:07 verbose #2681 > │ |> fun x -> _v50 <- Some x │
00:01:07 verbose #2682 > │ _v50.Value │
00:01:07 verbose #2683 > │ let v52 : (unit -> System.Diagnostics.Stopwatch) = │
00:01:07 verbose #2684 > │ System.Diagnostics.Stopwatch │
00:01:07 verbose #2685 > │ let v53 : System.Diagnostics.Stopwatch = v52 () │
00:01:07 verbose #2686 > │ v53.Start () │
00:01:07 verbose #2687 > │ let v54 : int64 = v53.ElapsedMilliseconds │
00:01:07 verbose #2688 > │ let v55 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:01:07 verbose #2689 > │ let v56 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #2690 > │ while method16(v56) do │
00:01:07 verbose #2691 > │ let v58 : int32 = v56.l0 │
00:01:07 verbose #2692 > │ v55.[int v58] <- v58 │
00:01:07 verbose #2693 > │ let v59 : int32 = v58 + 1 │
00:01:07 verbose #2694 > │ v56.l0 <- v59 │
00:01:07 verbose #2695 > │ () │
00:01:07 verbose #2696 > │ let v60 : ((int32 -> string) -> ((int32 []) -> (string []))) = │
00:01:07 verbose #2697 > │ Array.Parallel.map │
00:01:07 verbose #2698 > │ let v61 : (int32 -> string) = closure3(v28, v49) │
00:01:07 verbose #2699 > │ let v62 : ((int32 []) -> (string [])) = v60 v61 │
00:01:07 verbose #2700 > │ let v63 : (string []) = v62 v55 │
00:01:07 verbose #2701 > │ let v64 : int32 = v63.Length │
00:01:07 verbose #2702 > │ let v65 : int32 = v64 - 1 │
00:01:07 verbose #2703 > │ let v66 : string = v63.[int v65] │
00:01:07 verbose #2704 > │ let v67 : int64 = v53.ElapsedMilliseconds │
00:01:07 verbose #2705 > │ let v68 : int64 = v67 - v54 │
00:01:07 verbose #2706 > │ let v69 : string = $"Test case {v47 + 1}. {v48}. Time: {v68} " │
00:01:07 verbose #2707 > │ System.Console.WriteLine v69 │
00:01:07 verbose #2708 > │ v43.[int v46] <- struct (v66, v68) │
00:01:07 verbose #2709 > │ let v70 : uint64 = v46 + 1UL │
00:01:07 verbose #2710 > │ v44.l0 <- v70 │
00:01:07 verbose #2711 > │ () │
00:01:07 verbose #2712 > │ let v71 : uint64 = System.Convert.ToUInt64 v43.Length │
00:01:07 verbose #2713 > │ let v72 : (string []) = Array.zeroCreate<string> │
00:01:07 verbose #2714 > │ (System.Convert.ToInt32(v71)) │
00:01:07 verbose #2715 > │ let v73 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2716 > │ while method4(v71, v73) do │
00:01:07 verbose #2717 > │ let v75 : uint64 = v73.l0 │
00:01:07 verbose #2718 > │ let struct (v76 : string, v77 : int64) = v43.[int v75] │
00:01:07 verbose #2719 > │ v72.[int v75] <- v76 │
00:01:07 verbose #2720 > │ let v78 : uint64 = v75 + 1UL │
00:01:07 verbose #2721 > │ v73.l0 <- v78 │
00:01:07 verbose #2722 > │ () │
00:01:07 verbose #2723 > │ let v79 : uint64 = System.Convert.ToUInt64 v72.Length │
00:01:07 verbose #2724 > │ let v80 : bool = v79 <= 1UL │
00:01:07 verbose #2725 > │ if v80 then │
00:01:07 verbose #2726 > │ () │
00:01:07 verbose #2727 > │ else │
00:01:07 verbose #2728 > │ let v81 : string = v72.[int 0UL] │
00:01:07 verbose #2729 > │ let v82 : uint64 = 0UL │
00:01:07 verbose #2730 > │ let v83 : bool = method17(v81, v72, v82) │
00:01:07 verbose #2731 > │ if v83 then │
00:01:07 verbose #2732 > │ () │
00:01:07 verbose #2733 > │ else │
00:01:07 verbose #2734 > │ let v84 : string = $"Challenge error: {v72}" │
00:01:07 verbose #2735 > │ failwith<unit> v84 │
00:01:07 verbose #2736 > │ let v85 : string = $"%A{v29}" │
00:01:07 verbose #2737 > │ let v86 : (string []) = Array.zeroCreate<string> │
00:01:07 verbose #2738 > │ (System.Convert.ToInt32(v71)) │
00:01:07 verbose #2739 > │ let v87 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2740 > │ while method4(v71, v87) do │
00:01:07 verbose #2741 > │ let v89 : uint64 = v87.l0 │
00:01:07 verbose #2742 > │ let struct (v90 : string, v91 : int64) = v43.[int v89] │
00:01:07 verbose #2743 > │ v86.[int v89] <- v90 │
00:01:07 verbose #2744 > │ let v92 : uint64 = v89 + 1UL │
00:01:07 verbose #2745 > │ v87.l0 <- v92 │
00:01:07 verbose #2746 > │ () │
00:01:07 verbose #2747 > │ let v93 : string = v86.[int 0UL] │
00:01:07 verbose #2748 > │ let v94 : string = $"%A{v93}" │
00:01:07 verbose #2749 > │ let v95 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2750 > │ (System.Convert.ToInt32(v71)) │
00:01:07 verbose #2751 > │ let v96 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2752 > │ while method4(v71, v96) do │
00:01:07 verbose #2753 > │ let v98 : uint64 = v96.l0 │
00:01:07 verbose #2754 > │ let struct (v99 : string, v100 : int64) = v43.[int v98] │
00:01:07 verbose #2755 > │ v95.[int v98] <- v100 │
00:01:07 verbose #2756 > │ let v101 : uint64 = v98 + 1UL │
00:01:07 verbose #2757 > │ v96.l0 <- v101 │
00:01:07 verbose #2758 > │ () │
00:01:07 verbose #2759 > │ v24.[int v27] <- struct (v85, v30, v94, v95) │
00:01:07 verbose #2760 > │ let v102 : uint64 = v27 + 1UL │
00:01:07 verbose #2761 > │ v25.l0 <- v102 │
00:01:07 verbose #2762 > │ () │
00:01:07 verbose #2763 > │ let v103 : uint64 = System.Convert.ToUInt64 v24.Length │
00:01:07 verbose #2764 > │ let v104 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:01:07 verbose #2765 > │ US0)> (System.Convert.ToInt32(v103)) │
00:01:07 verbose #2766 > │ let v105 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2767 > │ while method4(v103, v105) do │
00:01:07 verbose #2768 > │ let v107 : uint64 = v105.l0 │
00:01:07 verbose #2769 > │ let struct (v108 : string, v109 : string, v110 : string, v111 : │
00:01:07 verbose #2770 > │ (int64 [])) = v24.[int v107] │
00:01:07 verbose #2771 > │ let v112 : uint64 = System.Convert.ToUInt64 v111.Length │
00:01:07 verbose #2772 > │ let v113 : UH4 = UH4_0 │
00:01:07 verbose #2773 > │ let v114 : Mut2 = {l0 = 0UL; l1 = v113; l2 = 0L} : Mut2 │
00:01:07 verbose #2774 > │ while method18(v112, v114) do │
00:01:07 verbose #2775 > │ let v116 : uint64 = v114.l0 │
00:01:07 verbose #2776 > │ let struct (v117 : UH4, v118 : int64) = v114.l1, v114.l2 │
00:01:07 verbose #2777 > │ let v119 : int64 = v111.[int v116] │
00:01:07 verbose #2778 > │ let v120 : int64 = v118 + 1L │
00:01:07 verbose #2779 > │ let v121 : uint64 = v116 + 1UL │
00:01:07 verbose #2780 > │ let v122 : UH4 = UH4_1(v118, v119, v117) │
00:01:07 verbose #2781 > │ v114.l0 <- v121 │
00:01:07 verbose #2782 > │ v114.l1 <- v122 │
00:01:07 verbose #2783 > │ v114.l2 <- v120 │
00:01:07 verbose #2784 > │ () │
00:01:07 verbose #2785 > │ let struct (v123 : UH4, v124 : int64) = v114.l1, v114.l2 │
00:01:07 verbose #2786 > │ let v125 : UH4 = UH4_0 │
00:01:07 verbose #2787 > │ let v126 : UH4 = method19(v123, v125) │
00:01:07 verbose #2788 > │ let v127 : (struct (int64 * int64) []) = method20(v126) │
00:01:07 verbose #2789 > │ let v128 : int32 = v127.Length │
00:01:07 verbose #2790 > │ let v129 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:01:07 verbose #2791 > │ (int64 * int64)> (v128) │
00:01:07 verbose #2792 > │ let v130 : Mut1 = {l0 = 0} : Mut1 │
00:01:07 verbose #2793 > │ while method5(v128, v130) do │
00:01:07 verbose #2794 > │ let v132 : int32 = v130.l0 │
00:01:07 verbose #2795 > │ let struct (v133 : int64, v134 : int64) = v127.[int v132] │
00:01:07 verbose #2796 > │ let v135 : int64 = v133 + 1L │
00:01:07 verbose #2797 > │ v129.[int v132] <- struct (v135, v134) │
00:01:07 verbose #2798 > │ let v136 : int32 = v132 + 1 │
00:01:07 verbose #2799 > │ v130.l0 <- v136 │
00:01:07 verbose #2800 > │ () │
00:01:07 verbose #2801 > │ let v137 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:01:07 verbose #2802 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:01:07 verbose #2803 > │ let v138 : (struct (int64 * int64) -> int64) = closure4() │
00:01:07 verbose #2804 > │ let v139 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:01:07 verbose #2805 > │ ])) = v137 v138 │
00:01:07 verbose #2806 > │ let v140 : (struct (int64 * int64) []) = v139 v129 │
00:01:07 verbose #2807 > │ let struct (v141 : int64, v142 : int64) = v140.[int 0] │
00:01:07 verbose #2808 > │ let v143 : string = $"%A{struct (v141, v142)}" │
00:01:07 verbose #2809 > │ let v144 : bool = v108 = v110 │
00:01:07 verbose #2810 > │ let v149 : US0 = │
00:01:07 verbose #2811 > │ if v144 then │
00:01:07 verbose #2812 > │ let v145 : System.ConsoleColor = │
00:01:07 verbose #2813 > │ System.ConsoleColor.DarkGreen │
00:01:07 verbose #2814 > │ US0_0(v145) │
00:01:07 verbose #2815 > │ else │
00:01:07 verbose #2816 > │ let v147 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:01:07 verbose #2817 > │ US0_0(v147) │
00:01:07 verbose #2818 > │ let v150 : UH2 = UH2_0 │
00:01:07 verbose #2819 > │ let v151 : UH2 = UH2_1(v143, v150) │
00:01:07 verbose #2820 > │ let v152 : UH2 = UH2_1(v110, v151) │
00:01:07 verbose #2821 > │ let v153 : UH2 = UH2_1(v108, v152) │
00:01:07 verbose #2822 > │ let v154 : UH2 = UH2_1(v109, v153) │
00:01:07 verbose #2823 > │ v104.[int v107] <- struct (v154, v149) │
00:01:07 verbose #2824 > │ let v155 : uint64 = v107 + 1UL │
00:01:07 verbose #2825 > │ v105.l0 <- v155 │
00:01:07 verbose #2826 > │ () │
00:01:07 verbose #2827 > │ let v156 : string = "Input" │
00:01:07 verbose #2828 > │ let v157 : string = "Expected" │
00:01:07 verbose #2829 > │ let v158 : string = "Result" │
00:01:07 verbose #2830 > │ let v159 : string = "Best" │
00:01:07 verbose #2831 > │ let v160 : UH2 = UH2_0 │
00:01:07 verbose #2832 > │ let v161 : UH2 = UH2_1(v159, v160) │
00:01:07 verbose #2833 > │ let v162 : UH2 = UH2_1(v158, v161) │
00:01:07 verbose #2834 > │ let v163 : UH2 = UH2_1(v157, v162) │
00:01:07 verbose #2835 > │ let v164 : UH2 = UH2_1(v156, v163) │
00:01:07 verbose #2836 > │ let v165 : US0 = US0_1 │
00:01:07 verbose #2837 > │ let v166 : string = "---" │
00:01:07 verbose #2838 > │ let v167 : UH2 = UH2_0 │
00:01:07 verbose #2839 > │ let v168 : UH2 = UH2_1(v166, v167) │
00:01:07 verbose #2840 > │ let v169 : UH2 = UH2_1(v166, v168) │
00:01:07 verbose #2841 > │ let v170 : UH2 = UH2_1(v166, v169) │
00:01:07 verbose #2842 > │ let v171 : UH2 = UH2_1(v166, v170) │
00:01:07 verbose #2843 > │ let v172 : US0 = US0_1 │
00:01:07 verbose #2844 > │ let v173 : UH5 = UH5_0 │
00:01:07 verbose #2845 > │ let v174 : UH5 = UH5_1(v171, v172, v173) │
00:01:07 verbose #2846 > │ let v175 : UH5 = UH5_1(v164, v165, v174) │
00:01:07 verbose #2847 > │ let v176 : (struct (UH2 * US0) []) = method23(v175) │
00:01:07 verbose #2848 > │ let v177 : uint64 = System.Convert.ToUInt64 v176.Length │
00:01:07 verbose #2849 > │ let v178 : uint64 = System.Convert.ToUInt64 v104.Length │
00:01:07 verbose #2850 > │ let v179 : uint64 = v177 + v178 │
00:01:07 verbose #2851 > │ let v180 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:01:07 verbose #2852 > │ US0)> (System.Convert.ToInt32(v179)) │
00:01:07 verbose #2853 > │ let v181 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2854 > │ while method4(v179, v181) do │
00:01:07 verbose #2855 > │ let v183 : uint64 = v181.l0 │
00:01:07 verbose #2856 > │ let v184 : bool = v183 < v177 │
00:01:07 verbose #2857 > │ let struct (v190 : UH2, v191 : US0) = │
00:01:07 verbose #2858 > │ if v184 then │
00:01:07 verbose #2859 > │ let struct (v185 : UH2, v186 : US0) = v176.[int v183] │
00:01:07 verbose #2860 > │ struct (v185, v186) │
00:01:07 verbose #2861 > │ else │
00:01:07 verbose #2862 > │ let v187 : uint64 = v183 - v177 │
00:01:07 verbose #2863 > │ let struct (v188 : UH2, v189 : US0) = v104.[int v187] │
00:01:07 verbose #2864 > │ struct (v188, v189) │
00:01:07 verbose #2865 > │ v180.[int v183] <- struct (v190, v191) │
00:01:07 verbose #2866 > │ let v192 : uint64 = v183 + 1UL │
00:01:07 verbose #2867 > │ v181.l0 <- v192 │
00:01:07 verbose #2868 > │ () │
00:01:07 verbose #2869 > │ let v193 : uint64 = System.Convert.ToUInt64 v180.Length │
00:01:07 verbose #2870 > │ let v194 : ((string []) []) = Array.zeroCreate<(string [])> │
00:01:07 verbose #2871 > │ (System.Convert.ToInt32(v193)) │
00:01:07 verbose #2872 > │ let v195 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2873 > │ while method4(v193, v195) do │
00:01:07 verbose #2874 > │ let v197 : uint64 = v195.l0 │
00:01:07 verbose #2875 > │ let struct (v198 : UH2, v199 : US0) = v180.[int v197] │
00:01:07 verbose #2876 > │ let v200 : (string []) = method26(v198) │
00:01:07 verbose #2877 > │ v194.[int v197] <- v200 │
00:01:07 verbose #2878 > │ let v201 : uint64 = v197 + 1UL │
00:01:07 verbose #2879 > │ v195.l0 <- v201 │
00:01:07 verbose #2880 > │ () │
00:01:07 verbose #2881 > │ let v202 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:01:07 verbose #2882 > │ let v203 : ((string []) []) = v202 v194 │
00:01:07 verbose #2883 > │ let v204 : uint64 = System.Convert.ToUInt64 v203.Length │
00:01:07 verbose #2884 > │ let v205 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2885 > │ (System.Convert.ToInt32(v204)) │
00:01:07 verbose #2886 > │ let v206 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2887 > │ while method4(v204, v206) do │
00:01:07 verbose #2888 > │ let v208 : uint64 = v206.l0 │
00:01:07 verbose #2889 > │ let v209 : (string []) = v203.[int v208] │
00:01:07 verbose #2890 > │ let v210 : uint64 = System.Convert.ToUInt64 v209.Length │
00:01:07 verbose #2891 > │ let v211 : (int64 []) = Array.zeroCreate<int64> │
00:01:07 verbose #2892 > │ (System.Convert.ToInt32(v210)) │
00:01:07 verbose #2893 > │ let v212 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2894 > │ while method4(v210, v212) do │
00:01:07 verbose #2895 > │ let v214 : uint64 = v212.l0 │
00:01:07 verbose #2896 > │ let v215 : string = v209.[int v214] │
00:01:07 verbose #2897 > │ let v216 : int64 = System.Convert.ToInt64 v215.Length │
00:01:07 verbose #2898 > │ v211.[int v214] <- v216 │
00:01:07 verbose #2899 > │ let v217 : uint64 = v214 + 1UL │
00:01:07 verbose #2900 > │ v212.l0 <- v217 │
00:01:07 verbose #2901 > │ () │
00:01:07 verbose #2902 > │ let v218 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:01:07 verbose #2903 > │ let v219 : (int64 []) = v218 v211 │
00:01:07 verbose #2904 > │ let v220 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:01:07 verbose #2905 > │ let v221 : ((int64 []) -> int64 option) = v220 0 │
00:01:07 verbose #2906 > │ let v222 : int64 option = v221 v219 │
00:01:07 verbose #2907 > │ let v223 : (int64 -> US1) = method29() │
00:01:07 verbose #2908 > │ let v224 : US1 = US1_1 │
00:01:07 verbose #2909 > │ let v225 : US1 = v222 |> Option.map v223 |> Option.defaultValue v224 │
00:01:07 verbose #2910 > │ let v228 : int64 = │
00:01:07 verbose #2911 > │ match v225 with │
00:01:07 verbose #2912 > │ | US1_1 -> (* None *) │
00:01:07 verbose #2913 > │ 0L │
00:01:07 verbose #2914 > │ | US1_0(v226) -> (* Some *) │
00:01:07 verbose #2915 > │ v226 │
00:01:07 verbose #2916 > │ v205.[int v208] <- v228 │
00:01:07 verbose #2917 > │ let v229 : uint64 = v208 + 1UL │
00:01:07 verbose #2918 > │ v206.l0 <- v229 │
00:01:07 verbose #2919 > │ () │
00:01:07 verbose #2920 > │ let v230 : uint64 = System.Convert.ToUInt64 v205.Length │
00:01:07 verbose #2921 > │ let v231 : UH6 = UH6_0 │
00:01:07 verbose #2922 > │ let v232 : Mut3 = {l0 = 0UL; l1 = v231; l2 = 0} : Mut3 │
00:01:07 verbose #2923 > │ while method30(v230, v232) do │
00:01:07 verbose #2924 > │ let v234 : uint64 = v232.l0 │
00:01:07 verbose #2925 > │ let struct (v235 : UH6, v236 : int32) = v232.l1, v232.l2 │
00:01:07 verbose #2926 > │ let v237 : int64 = v205.[int v234] │
00:01:07 verbose #2927 > │ let v238 : int32 = v236 + 1 │
00:01:07 verbose #2928 > │ let v239 : uint64 = v234 + 1UL │
00:01:07 verbose #2929 > │ let v240 : UH6 = UH6_1(v236, v237, v235) │
00:01:07 verbose #2930 > │ v232.l0 <- v239 │
00:01:07 verbose #2931 > │ v232.l1 <- v240 │
00:01:07 verbose #2932 > │ v232.l2 <- v238 │
00:01:07 verbose #2933 > │ () │
00:01:07 verbose #2934 > │ let struct (v241 : UH6, v242 : int32) = v232.l1, v232.l2 │
00:01:07 verbose #2935 > │ let v243 : UH6 = UH6_0 │
00:01:07 verbose #2936 > │ let v244 : UH6 = method31(v241, v243) │
00:01:07 verbose #2937 > │ let v245 : (struct (int32 * int64) []) = method32(v244) │
00:01:07 verbose #2938 > │ let v246 : Map<int32, int64> = v245 |> Array.map (fun (struct (a, b)) -> │
00:01:07 verbose #2939 > │ a, b) |> Map.ofArray │
00:01:07 verbose #2940 > │ let v247 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:01:07 verbose #2941 > │ ((string []) * US0)> (System.Convert.ToInt32(v193)) │
00:01:07 verbose #2942 > │ let v248 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2943 > │ while method4(v193, v248) do │
00:01:07 verbose #2944 > │ let v250 : uint64 = v248.l0 │
00:01:07 verbose #2945 > │ let struct (v251 : UH2, v252 : US0) = v180.[int v250] │
00:01:07 verbose #2946 > │ let v253 : UH7 = UH7_0 │
00:01:07 verbose #2947 > │ let v254 : int32 = 0 │
00:01:07 verbose #2948 > │ let struct (v255 : UH7, v256 : int32) = method35(v251, v253, v254) │
00:01:07 verbose #2949 > │ let v257 : UH7 = UH7_0 │
00:01:07 verbose #2950 > │ let v258 : UH7 = method36(v255, v257) │
00:01:07 verbose #2951 > │ let v259 : UH2 = UH2_0 │
00:01:07 verbose #2952 > │ let v260 : UH2 = method37(v246, v258, v259) │
00:01:07 verbose #2953 > │ let v261 : (string []) = method10(v260) │
00:01:07 verbose #2954 > │ v247.[int v250] <- struct (v261, v252) │
00:01:07 verbose #2955 > │ let v262 : uint64 = v250 + 1UL │
00:01:07 verbose #2956 > │ v248.l0 <- v262 │
00:01:07 verbose #2957 > │ () │
00:01:07 verbose #2958 > │ System.Console.WriteLine v2 │
00:01:07 verbose #2959 > │ let v263 : uint64 = System.Convert.ToUInt64 v247.Length │
00:01:07 verbose #2960 > │ let v264 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:07 verbose #2961 > │ while method4(v263, v264) do │
00:01:07 verbose #2962 > │ let v266 : uint64 = v264.l0 │
00:01:07 verbose #2963 > │ let struct (v267 : (string []), v268 : US0) = v247.[int v266] │
00:01:07 verbose #2964 > │ match v268 with │
00:01:07 verbose #2965 > │ | US0_1 -> (* None *) │
00:01:07 verbose #2966 > │ let v272 : unit option = None │
00:01:07 verbose #2967 > │ let v273 : bool = true in let mutable _v272 = v272 │
00:01:07 verbose #2968 > │ │
00:01:07 verbose #2969 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #2970 > │ │
00:01:07 verbose #2971 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #2972 > │ () │
00:01:07 verbose #2973 > │ #endif │
00:01:07 verbose #2974 > │ │
00:01:07 verbose #2975 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #2976 > │ () │
00:01:07 verbose #2977 > │ #endif │
00:01:07 verbose #2978 > │ │
00:01:07 verbose #2979 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #2980 > │ () │
00:01:07 verbose #2981 > │ #endif │
00:01:07 verbose #2982 > │ │
00:01:07 verbose #2983 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #2984 > │ () │
00:01:07 verbose #2985 > │ #endif │
00:01:07 verbose #2986 > │ │
00:01:07 verbose #2987 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #2988 > │ () │
00:01:07 verbose #2989 > │ #endif │
00:01:07 verbose #2990 > │ │
00:01:07 verbose #2991 > │ #else │
00:01:07 verbose #2992 > │ System.Console.ResetColor () │
00:01:07 verbose #2993 > │ () │
00:01:07 verbose #2994 > │ #endif │
00:01:07 verbose #2995 > │ |> fun x -> _v272 <- Some x │
00:01:07 verbose #2996 > │ _v272.Value │
00:01:07 verbose #2997 > │ () │
00:01:07 verbose #2998 > │ | US0_0(v269) -> (* Some *) │
00:01:07 verbose #2999 > │ let v270 : unit option = None │
00:01:07 verbose #3000 > │ let v271 : bool = true in let mutable _v270 = v270 │
00:01:07 verbose #3001 > │ │
00:01:07 verbose #3002 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:07 verbose #3003 > │ │
00:01:07 verbose #3004 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:07 verbose #3005 > │ () │
00:01:07 verbose #3006 > │ #endif │
00:01:07 verbose #3007 > │ │
00:01:07 verbose #3008 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:07 verbose #3009 > │ () │
00:01:07 verbose #3010 > │ #endif │
00:01:07 verbose #3011 > │ │
00:01:07 verbose #3012 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:07 verbose #3013 > │ () │
00:01:07 verbose #3014 > │ #endif │
00:01:07 verbose #3015 > │ │
00:01:07 verbose #3016 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:07 verbose #3017 > │ () │
00:01:07 verbose #3018 > │ #endif │
00:01:07 verbose #3019 > │ │
00:01:07 verbose #3020 > │ #if FABLE_COMPILER_PYTHON │
00:01:07 verbose #3021 > │ () │
00:01:07 verbose #3022 > │ #endif │
00:01:07 verbose #3023 > │ │
00:01:07 verbose #3024 > │ #else │
00:01:07 verbose #3025 > │ System.Console.ForegroundColor <- v269 │
00:01:07 verbose #3026 > │ () │
00:01:07 verbose #3027 > │ #endif │
00:01:07 verbose #3028 > │ |> fun x -> _v270 <- Some x │
00:01:07 verbose #3029 > │ _v270.Value │
00:01:07 verbose #3030 > │ () │
00:01:07 verbose #3031 > │ let v274 : string = "\t| " │
00:01:07 verbose #3032 > │ let v275 : string = System.String.Join (v274, v267) │
00:01:07 verbose #3033 > │ System.Console.WriteLine v275 │
00:01:07 verbose #3034 > │ let v276 : unit option = None │
00:01:07 verbose #3035 > │ let v277 : bool = true in let mutable _v276 = v276 │
00:01:07 verbose #3036 > │ │
00:01:08 verbose #3037 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:08 verbose #3038 > │ │
00:01:08 verbose #3039 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:08 verbose #3040 > │ () │
00:01:08 verbose #3041 > │ #endif │
00:01:08 verbose #3042 > │ │
00:01:08 verbose #3043 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:08 verbose #3044 > │ () │
00:01:08 verbose #3045 > │ #endif │
00:01:08 verbose #3046 > │ │
00:01:08 verbose #3047 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:08 verbose #3048 > │ () │
00:01:08 verbose #3049 > │ #endif │
00:01:08 verbose #3050 > │ │
00:01:08 verbose #3051 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:08 verbose #3052 > │ () │
00:01:08 verbose #3053 > │ #endif │
00:01:08 verbose #3054 > │ │
00:01:08 verbose #3055 > │ #if FABLE_COMPILER_PYTHON │
00:01:08 verbose #3056 > │ () │
00:01:08 verbose #3057 > │ #endif │
00:01:08 verbose #3058 > │ │
00:01:08 verbose #3059 > │ #else │
00:01:08 verbose #3060 > │ System.Console.ResetColor () │
00:01:08 verbose #3061 > │ () │
00:01:08 verbose #3062 > │ #endif │
00:01:08 verbose #3063 > │ |> fun x -> _v276 <- Some x │
00:01:08 verbose #3064 > │ _v276.Value │
00:01:08 verbose #3065 > │ let v278 : uint64 = v266 + 1UL │
00:01:08 verbose #3066 > │ v264.l0 <- v278 │
00:01:08 verbose #3067 > │ () │
00:01:08 verbose #3068 > │ let v279 : ((float []) []) = Array.zeroCreate<(float [])> │
00:01:08 verbose #3069 > │ (System.Convert.ToInt32(v103)) │
00:01:08 verbose #3070 > │ let v280 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:08 verbose #3071 > │ while method4(v103, v280) do │
00:01:08 verbose #3072 > │ let v282 : uint64 = v280.l0 │
00:01:08 verbose #3073 > │ let struct (v283 : string, v284 : string, v285 : string, v286 : │
00:01:08 verbose #3074 > │ (int64 [])) = v24.[int v282] │
00:01:08 verbose #3075 > │ let v287 : (int64 -> float) = float │
00:01:08 verbose #3076 > │ let v288 : uint64 = System.Convert.ToUInt64 v286.Length │
00:01:08 verbose #3077 > │ let v289 : (float []) = Array.zeroCreate<float> │
00:01:08 verbose #3078 > │ (System.Convert.ToInt32(v288)) │
00:01:08 verbose #3079 > │ let v290 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:08 verbose #3080 > │ while method4(v288, v290) do │
00:01:08 verbose #3081 > │ let v292 : uint64 = v290.l0 │
00:01:08 verbose #3082 > │ let v293 : int64 = v286.[int v292] │
00:01:08 verbose #3083 > │ let v294 : float = v287 v293 │
00:01:08 verbose #3084 > │ v289.[int v292] <- v294 │
00:01:08 verbose #3085 > │ let v295 : uint64 = v292 + 1UL │
00:01:08 verbose #3086 > │ v290.l0 <- v295 │
00:01:08 verbose #3087 > │ () │
00:01:08 verbose #3088 > │ v279.[int v282] <- v289 │
00:01:08 verbose #3089 > │ let v296 : uint64 = v282 + 1UL │
00:01:08 verbose #3090 > │ v280.l0 <- v296 │
00:01:08 verbose #3091 > │ () │
00:01:08 verbose #3092 > │ let v297 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:01:08 verbose #3093 > │ let v298 : ((float []) []) = v297 v279 │
00:01:08 verbose #3094 > │ let v299 : uint64 = System.Convert.ToUInt64 v298.Length │
00:01:08 verbose #3095 > │ let v300 : (float []) = Array.zeroCreate<float> │
00:01:08 verbose #3096 > │ (System.Convert.ToInt32(v299)) │
00:01:08 verbose #3097 > │ let v301 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:08 verbose #3098 > │ while method4(v299, v301) do │
00:01:08 verbose #3099 > │ let v303 : uint64 = v301.l0 │
00:01:08 verbose #3100 > │ let v304 : (float []) = v298.[int v303] │
00:01:08 verbose #3101 > │ let v305 : ((float []) -> float) = Array.average │
00:01:08 verbose #3102 > │ let v306 : float = v305 v304 │
00:01:08 verbose #3103 > │ v300.[int v303] <- v306 │
00:01:08 verbose #3104 > │ let v307 : uint64 = v303 + 1UL │
00:01:08 verbose #3105 > │ v301.l0 <- v307 │
00:01:08 verbose #3106 > │ () │
00:01:08 verbose #3107 > │ let v308 : (float -> int64) = int64 │
00:01:08 verbose #3108 > │ let v309 : uint64 = System.Convert.ToUInt64 v300.Length │
00:01:08 verbose #3109 > │ let v310 : (int64 []) = Array.zeroCreate<int64> │
00:01:08 verbose #3110 > │ (System.Convert.ToInt32(v309)) │
00:01:08 verbose #3111 > │ let v311 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:08 verbose #3112 > │ while method4(v309, v311) do │
00:01:08 verbose #3113 > │ let v313 : uint64 = v311.l0 │
00:01:08 verbose #3114 > │ let v314 : float = v300.[int v313] │
00:01:08 verbose #3115 > │ let v315 : int64 = v308 v314 │
00:01:08 verbose #3116 > │ v310.[int v313] <- v315 │
00:01:08 verbose #3117 > │ let v316 : uint64 = v313 + 1UL │
00:01:08 verbose #3118 > │ v311.l0 <- v316 │
00:01:08 verbose #3119 > │ () │
00:01:08 verbose #3120 > │ let v317 : uint64 = System.Convert.ToUInt64 v310.Length │
00:01:08 verbose #3121 > │ let v318 : UH6 = UH6_0 │
00:01:08 verbose #3122 > │ let v319 : Mut3 = {l0 = 0UL; l1 = v318; l2 = 0} : Mut3 │
00:01:08 verbose #3123 > │ while method30(v317, v319) do │
00:01:08 verbose #3124 > │ let v321 : uint64 = v319.l0 │
00:01:08 verbose #3125 > │ let struct (v322 : UH6, v323 : int32) = v319.l1, v319.l2 │
00:01:08 verbose #3126 > │ let v324 : int64 = v310.[int v321] │
00:01:08 verbose #3127 > │ let v325 : int32 = v323 + 1 │
00:01:08 verbose #3128 > │ let v326 : uint64 = v321 + 1UL │
00:01:08 verbose #3129 > │ let v327 : UH6 = UH6_1(v323, v324, v322) │
00:01:08 verbose #3130 > │ v319.l0 <- v326 │
00:01:08 verbose #3131 > │ v319.l1 <- v327 │
00:01:08 verbose #3132 > │ v319.l2 <- v325 │
00:01:08 verbose #3133 > │ () │
00:01:08 verbose #3134 > │ let struct (v328 : UH6, v329 : int32) = v319.l1, v319.l2 │
00:01:08 verbose #3135 > │ let v330 : UH6 = UH6_0 │
00:01:08 verbose #3136 > │ let v331 : UH6 = method31(v328, v330) │
00:01:08 verbose #3137 > │ let v332 : (struct (int32 * int64) []) = method38(v331) │
00:01:08 verbose #3138 > │ System.Console.WriteLine v2 │
00:01:08 verbose #3139 > │ let v333 : string = "Average Ranking " │
00:01:08 verbose #3140 > │ System.Console.WriteLine v333 │
00:01:08 verbose #3141 > │ let v334 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:01:08 verbose #3142 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:01:08 verbose #3143 > │ let v335 : (struct (int32 * int64) -> int64) = closure6() │
00:01:08 verbose #3144 > │ let v336 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:01:08 verbose #3145 > │ = v334 v335 │
00:01:08 verbose #3146 > │ let v337 : (struct (int32 * int64) []) = v336 v332 │
00:01:08 verbose #3147 > │ let v338 : uint64 = System.Convert.ToUInt64 v337.Length │
00:01:08 verbose #3148 > │ let v339 : Mut0 = {l0 = 0UL} : Mut0 │
00:01:08 verbose #3149 > │ while method4(v338, v339) do │
00:01:08 verbose #3150 > │ let v341 : uint64 = v339.l0 │
00:01:08 verbose #3151 > │ let struct (v342 : int32, v343 : int64) = v337.[int v341] │
00:01:08 verbose #3152 > │ let v344 : string = $"Test case %d{v342 + 1}. Average Time: %A{v343} │
00:01:08 verbose #3153 > │ " │
00:01:08 verbose #3154 > │ System.Console.WriteLine v344 │
00:01:08 verbose #3155 > │ let v345 : uint64 = v341 + 1UL │
00:01:08 verbose #3156 > │ v339.l0 <- v345 │
00:01:08 verbose #3157 > │ () │
00:01:08 verbose #3158 > │ () │
00:01:08 verbose #3159 > │ method0() │
00:01:08 verbose #3160 > │ │
00:01:08 verbose #3161 > │ │
00:01:08 verbose #3162 > │ │
00:01:08 verbose #3163 > │ Test: v0 │
00:01:08 verbose #3164 > │ │
00:01:08 verbose #3165 > │ Solution: "abc" │
00:01:08 verbose #3166 > │ Test case 1. F. Time: 939 │
00:01:08 verbose #3167 > │ Test case 2. FA. Time: 888 │
00:01:08 verbose #3168 > │ │
00:01:08 verbose #3169 > │ Solution: "abcde" │
00:01:08 verbose #3170 > │ Test case 1. F. Time: 1029 │
00:01:08 verbose #3171 > │ Test case 2. FA. Time: 1239 │
00:01:08 verbose #3172 > │ │
00:01:08 verbose #3173 > │ Solution: "abcdefghi" │
00:01:08 verbose #3174 > │ Test case 1. F. Time: 1812 │
00:01:08 verbose #3175 > │ Test case 2. FA. Time: 2020 │
00:01:08 verbose #3176 > │ │
00:01:08 verbose #3177 > │ Solution: "abab" │
00:01:08 verbose #3178 > │ Test case 1. F. Time: 928 │
00:01:08 verbose #3179 > │ Test case 2. FA. Time: 1010 │
00:01:08 verbose #3180 > │ │
00:01:08 verbose #3181 > │ Solution: "aa" │
00:01:08 verbose #3182 > │ Test case 1. F. Time: 730 │
00:01:08 verbose #3183 > │ Test case 2. FA. Time: 724 │
00:01:08 verbose #3184 > │ │
00:01:08 verbose #3185 > │ Solution: "z" │
00:01:08 verbose #3186 > │ Test case 1. F. Time: 198 │
00:01:08 verbose #3187 > │ Test case 2. FA. Time: 160 │
00:01:08 verbose #3188 > │ │
00:01:08 verbose #3189 > │ Input | Expected │
00:01:08 verbose #3190 > │ │
00:01:08 verbose #3191 > │ | Result │
00:01:08 verbose #3192 > │ │
00:01:08 verbose #3193 > │ | Best │
00:01:08 verbose #3194 > │ --- | --- │
00:01:08 verbose #3195 > │ │
00:01:08 verbose #3196 > │ | --- │
00:01:08 verbose #3197 > │ │
00:01:08 verbose #3198 > │ | --- │
00:01:08 verbose #3199 > │ "abc" | "bca cab abc" │
00:01:08 verbose #3200 > │ │
00:01:08 verbose #3201 > │ | "bca cab abc" │
00:01:08 verbose #3202 > │ │
00:01:08 verbose #3203 > │ | struct (2L, 888L) │
00:01:08 verbose #3204 > │ "abcde" | "bcdea cdeab deabc eabcd abcde" │
00:01:08 verbose #3205 > │ | "bcdea cdeab deabc eabcd abcde" │
00:01:08 verbose #3206 > │ | struct (1L, 1029L) │
00:01:08 verbose #3207 > │ "abcdefghi" | "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef │
00:01:08 verbose #3208 > │ hiabcdefg iabcdefgh abcdefghi" | "bcdefghia cdefghiab defghiabc efghiabcd │
00:01:08 verbose #3209 > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi" | struct (1L, 1812L) │
00:01:08 verbose #3210 > │ "abab" | "baba abab baba abab" │
00:01:08 verbose #3211 > │ | "baba abab baba abab" │
00:01:08 verbose #3212 > │ | struct (1L, 928L) │
00:01:08 verbose #3213 > │ "aa" | "aa aa" │
00:01:08 verbose #3214 > │ │
00:01:08 verbose #3215 > │ | "aa aa" │
00:01:08 verbose #3216 > │ │
00:01:08 verbose #3217 > │ | struct (2L, 724L) │
00:01:08 verbose #3218 > │ "z" | "z" │
00:01:08 verbose #3219 > │ │
00:01:08 verbose #3220 > │ | "z" │
00:01:08 verbose #3221 > │ │
00:01:08 verbose #3222 > │ | struct (2L, 160L) │
00:01:08 verbose #3223 > │ │
00:01:08 verbose #3224 > │ Average Ranking │
00:01:08 verbose #3225 > │ Test case 1. Average Time: 939L │
00:01:08 verbose #3226 > │ Test case 2. Average Time: 1006L │
00:01:08 verbose #3227 > │ │
00:01:08 verbose #3228 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #3229 >
00:01:08 verbose #3230 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #3231 > //// test
00:01:08 verbose #3232 > //// print_code=false
00:01:08 verbose #3233 >
00:01:08 verbose #3234 > // rotate_strings_tests ()
00:01:08 verbose #3235 > ()
00:01:08 verbose #3236 > 00:01:07 debug #8 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/caac3beb0ac5266569c847c9edbd28ff9e439f8fdc5b0a939566a7674ae26d6c/main.spi
00:01:08 verbose #3237 >
00:01:08 verbose #3238 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:08 verbose #3239 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:08 verbose #3240 > │ ## binary_search_tests │
00:01:08 verbose #3241 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:08 verbose #3242 >
00:01:08 verbose #3243 > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:08 verbose #3244 > //// test
00:01:08 verbose #3245 > //// timeout=90000
00:01:08 verbose #3246 > //// print_code=true
00:01:08 verbose #3247 >
00:01:08 verbose #3248 > inl binary_search_semi_open_1 arr target left right =
00:01:08 verbose #3249 > inl rec body left right =
00:01:08 verbose #3250 > if left >= right
00:01:08 verbose #3251 > then None
00:01:08 verbose #3252 > else
00:01:08 verbose #3253 > inl mid = (left + right) / 2
00:01:08 verbose #3254 > inl item = index arr mid
00:01:08 verbose #3255 > if item = target
00:01:08 verbose #3256 > then Some mid
00:01:08 verbose #3257 > elif item < target
00:01:08 verbose #3258 > then loop (mid + 1) right
00:01:08 verbose #3259 > else loop left mid
00:01:08 verbose #3260 > and inl loop left right =
00:01:08 verbose #3261 > if var_is right |> not
00:01:08 verbose #3262 > then body left right
00:01:08 verbose #3263 > else
00:01:08 verbose #3264 > inl left = dyn left
00:01:08 verbose #3265 > join body left right
00:01:08 verbose #3266 > loop left right
00:01:08 verbose #3267 >
00:01:08 verbose #3268 > inl binary_search_closed_1 arr target left right =
00:01:08 verbose #3269 > inl rec body left right =
00:01:08 verbose #3270 > if left > right
00:01:08 verbose #3271 > then None
00:01:08 verbose #3272 > else
00:01:08 verbose #3273 > inl mid = (left + right) / 2
00:01:08 verbose #3274 > inl item = index arr mid
00:01:08 verbose #3275 > if item = target
00:01:08 verbose #3276 > then Some mid
00:01:08 verbose #3277 > elif item < target
00:01:08 verbose #3278 > then loop (mid + 1) right
00:01:08 verbose #3279 > else loop left (mid - 1)
00:01:08 verbose #3280 > and inl loop left right =
00:01:08 verbose #3281 > if var_is right |> not
00:01:08 verbose #3282 > then body left right
00:01:08 verbose #3283 > else
00:01:08 verbose #3284 > inl left = dyn left
00:01:08 verbose #3285 > join body left right
00:01:08 verbose #3286 > loop left right
00:01:08 verbose #3287 >
00:01:08 verbose #3288 > inl binary_search_semi_open_2 arr target left right =
00:01:08 verbose #3289 > let rec body left right =
00:01:08 verbose #3290 > if left >= right
00:01:08 verbose #3291 > then None
00:01:08 verbose #3292 > else
00:01:08 verbose #3293 > inl mid = (left + right) / 2
00:01:08 verbose #3294 > inl item = index arr mid
00:01:08 verbose #3295 > if item = target
00:01:08 verbose #3296 > then Some mid
00:01:08 verbose #3297 > elif item < target
00:01:08 verbose #3298 > then loop (mid + 1) right
00:01:08 verbose #3299 > else loop left mid
00:01:08 verbose #3300 > and inl loop left right = body left right
00:01:08 verbose #3301 > loop left right
00:01:08 verbose #3302 >
00:01:08 verbose #3303 > inl binary_search_closed_2 arr target left right =
00:01:08 verbose #3304 > let rec body left right =
00:01:08 verbose #3305 > if left > right
00:01:08 verbose #3306 > then None
00:01:08 verbose #3307 > else
00:01:08 verbose #3308 > inl mid = (left + right) / 2
00:01:08 verbose #3309 > inl item = index arr mid
00:01:08 verbose #3310 > if item = target
00:01:08 verbose #3311 > then Some mid
00:01:08 verbose #3312 > elif item < target
00:01:08 verbose #3313 > then loop (mid + 1) right
00:01:08 verbose #3314 > else loop left (mid - 1)
00:01:08 verbose #3315 > and inl loop left right = body left right
00:01:08 verbose #3316 > loop left right
00:01:08 verbose #3317 >
00:01:08 verbose #3318 > inl get_solutions () =
00:01:08 verbose #3319 > [[
00:01:08 verbose #3320 > "semi_open_1",
00:01:08 verbose #3321 > fun (arr, (target, len)) =>
00:01:08 verbose #3322 > binary_search_semi_open_1 arr target 0 len
00:01:08 verbose #3323 >
00:01:08 verbose #3324 > "closed_1",
00:01:08 verbose #3325 > fun (arr, (target, len)) =>
00:01:08 verbose #3326 > binary_search_closed_1 arr target 0 (len - 1)
00:01:08 verbose #3327 >
00:01:08 verbose #3328 > "semi_open_2",
00:01:08 verbose #3329 > fun (arr, (target, len)) =>
00:01:08 verbose #3330 > binary_search_semi_open_2 arr target 0 len
00:01:08 verbose #3331 >
00:01:08 verbose #3332 > "closed_2",
00:01:08 verbose #3333 > fun (arr, (target, len)) =>
00:01:08 verbose #3334 > binary_search_closed_2 arr target 0 (len - 1)
00:01:08 verbose #3335 > ]]
00:01:08 verbose #3336 >
00:01:08 verbose #3337 > inl rec binary_search_tests () =
00:01:08 verbose #3338 > inl arr_with_len target len arr =
00:01:08 verbose #3339 > arr, (target, (len |> optionm'.default_with fun () => length arr))
00:01:08 verbose #3340 >
00:01:08 verbose #3341 > inl test_cases = [[
00:01:08 verbose #3342 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 None), (Some 3i32)
00:01:08 verbose #3343 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 None), (Some 0i32)
00:01:08 verbose #3344 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 None), (Some 6i32)
00:01:08 verbose #3345 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 None), None
00:01:08 verbose #3346 > ((am'.init_series 1i32 100 1) |> arr_with_len 60 None), (Some 59)
00:01:08 verbose #3347 >
00:01:08 verbose #3348 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 (Some 7)), (Some
00:01:08 verbose #3349 > 3i32)
00:01:08 verbose #3350 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 (Some 7)), (Some
00:01:08 verbose #3351 > 0i32)
00:01:08 verbose #3352 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 (Some 7)), (Some
00:01:08 verbose #3353 > 6i32)
00:01:08 verbose #3354 > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 (Some 7)), None
00:01:08 verbose #3355 > ((am'.init_series 1i32 100 1) |> arr_with_len 60 (Some 100)), (Some 59)
00:01:08 verbose #3356 > ]]
00:01:08 verbose #3357 >
00:01:08 verbose #3358 > inl solutions = get_solutions ()
00:01:08 verbose #3359 >
00:01:08 verbose #3360 > // inl is_fast () = true
00:01:08 verbose #3361 >
00:01:08 verbose #3362 > inl count =
00:01:08 verbose #3363 > if is_fast ()
00:01:08 verbose #3364 > then 1000i32
00:01:08 verbose #3365 > else 8000000i32
00:01:08 verbose #3366 >
00:01:08 verbose #3367 > run_all (nameof binary_search_tests) count solutions test_cases
00:01:08 verbose #3368 > |> sort_result_list
00:01:08 verbose #3369 >
00:01:08 verbose #3370 >
00:01:08 verbose #3371 > let main () =
00:01:08 verbose #3372 > binary_search_tests ()
00:01:09 verbose #3373 > 00:01:08 debug #9 Supervisor.supervisor_server.BuildFile / file: c:/home/git/polyglot/target/polyglot/spiral_eval/packages/1363d1d42b0091a9ba1369aad72af12cca1649e4eb631c66e54e4123c8738033/main.spi
00:01:37 verbose #3374 >
00:01:37 verbose #3375 > ╭─[ 28.38s - stdout ]──────────────────────────────────────────────────────────╮
00:01:37 verbose #3376 > │ type Mut0 = {mutable l0 : int32} │
00:01:37 verbose #3377 > │ and [<Struct>] US0 = │
00:01:37 verbose #3378 > │ | US0_0 of f0_0 : int32 │
00:01:37 verbose #3379 > │ | US0_1 │
00:01:37 verbose #3380 > │ and UH0 = │
00:01:37 verbose #3381 > │ | UH0_0 │
00:01:37 verbose #3382 > │ | UH0_1 of (int32 []) * int32 * int32 * US0 * UH0 │
00:01:37 verbose #3383 > │ and Mut1 = {mutable l0 : uint64} │
00:01:37 verbose #3384 > │ and UH1 = │
00:01:37 verbose #3385 > │ | UH1_0 │
00:01:37 verbose #3386 > │ | UH1_1 of int32 * string * (struct ((int32 []) * int32 * int32) -> US0) │
00:01:37 verbose #3387 > │ * UH1 │
00:01:37 verbose #3388 > │ and UH2 = │
00:01:37 verbose #3389 > │ | UH2_0 │
00:01:37 verbose #3390 > │ | UH2_1 of string * UH2 │
00:01:37 verbose #3391 > │ and [<Struct>] US1 = │
00:01:37 verbose #3392 > │ | US1_0 of f0_0 : System.ConsoleColor │
00:01:37 verbose #3393 > │ | US1_1 │
00:01:37 verbose #3394 > │ and UH3 = │
00:01:37 verbose #3395 > │ | UH3_0 │
00:01:37 verbose #3396 > │ | UH3_1 of int64 * int64 * UH3 │
00:01:37 verbose #3397 > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64} │
00:01:37 verbose #3398 > │ and UH4 = │
00:01:37 verbose #3399 > │ | UH4_0 │
00:01:37 verbose #3400 > │ | UH4_1 of UH2 * US1 * UH4 │
00:01:37 verbose #3401 > │ and [<Struct>] US2 = │
00:01:37 verbose #3402 > │ | US2_0 of f0_0 : int64 │
00:01:37 verbose #3403 > │ | US2_1 │
00:01:37 verbose #3404 > │ and UH5 = │
00:01:37 verbose #3405 > │ | UH5_0 │
00:01:37 verbose #3406 > │ | UH5_1 of int32 * int64 * UH5 │
00:01:37 verbose #3407 > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32} │
00:01:37 verbose #3408 > │ and UH6 = │
00:01:37 verbose #3409 > │ | UH6_0 │
00:01:37 verbose #3410 > │ | UH6_1 of int32 * string * UH6 │
00:01:37 verbose #3411 > │ let rec method1 (v0 : Mut0) : bool = │
00:01:37 verbose #3412 > │ let v1 : int32 = v0.l0 │
00:01:37 verbose #3413 > │ let v2 : bool = v1 < 100 │
00:01:37 verbose #3414 > │ v2 │
00:01:37 verbose #3415 > │ and method3 (v0 : UH0, v1 : uint64) : uint64 = │
00:01:37 verbose #3416 > │ match v0 with │
00:01:37 verbose #3417 > │ | UH0_1(v2, v3, v4, v5, v6) -> (* Cons *) │
00:01:37 verbose #3418 > │ let v7 : uint64 = v1 + 1UL │
00:01:37 verbose #3419 > │ method3(v6, v7) │
00:01:37 verbose #3420 > │ | UH0_0 -> (* Nil *) │
00:01:37 verbose #3421 > │ v1 │
00:01:37 verbose #3422 > │ and method4 (v0 : (struct ((int32 []) * int32 * int32 * US0) []), v1 : UH0, │
00:01:37 verbose #3423 > │ v2 : uint64) : uint64 = │
00:01:37 verbose #3424 > │ match v1 with │
00:01:37 verbose #3425 > │ | UH0_1(v3, v4, v5, v6, v7) -> (* Cons *) │
00:01:37 verbose #3426 > │ v0.[int v2] <- struct (v3, v4, v5, v6) │
00:01:37 verbose #3427 > │ let v8 : uint64 = v2 + 1UL │
00:01:37 verbose #3428 > │ method4(v0, v7, v8) │
00:01:37 verbose #3429 > │ | UH0_0 -> (* Nil *) │
00:01:37 verbose #3430 > │ v2 │
00:01:37 verbose #3431 > │ and method2 (v0 : UH0) : (struct ((int32 []) * int32 * int32 * US0) []) = │
00:01:37 verbose #3432 > │ let v1 : uint64 = 0UL │
00:01:37 verbose #3433 > │ let v2 : uint64 = method3(v0, v1) │
00:01:37 verbose #3434 > │ let v3 : (struct ((int32 []) * int32 * int32 * US0) []) = │
00:01:37 verbose #3435 > │ Array.zeroCreate<struct ((int32 []) * int32 * int32 * US0)> │
00:01:37 verbose #3436 > │ (System.Convert.ToInt32(v2)) │
00:01:37 verbose #3437 > │ let v4 : uint64 = 0UL │
00:01:37 verbose #3438 > │ let v5 : uint64 = method4(v3, v0, v4) │
00:01:37 verbose #3439 > │ v3 │
00:01:37 verbose #3440 > │ and method5 (v0 : uint64, v1 : Mut1) : bool = │
00:01:37 verbose #3441 > │ let v2 : uint64 = v1.l0 │
00:01:37 verbose #3442 > │ let v3 : bool = v2 < v0 │
00:01:37 verbose #3443 > │ v3 │
00:01:37 verbose #3444 > │ and method6 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:37 verbose #3445 > │ let v4 : bool = v3 >= v2 │
00:01:37 verbose #3446 > │ if v4 then │
00:01:37 verbose #3447 > │ US0_1 │
00:01:37 verbose #3448 > │ else │
00:01:37 verbose #3449 > │ let v6 : int32 = v3 + v2 │
00:01:37 verbose #3450 > │ let v7 : int32 = v6 / 2 │
00:01:37 verbose #3451 > │ let v8 : int32 = v0.[int v7] │
00:01:37 verbose #3452 > │ let v9 : bool = v8 = v1 │
00:01:37 verbose #3453 > │ if v9 then │
00:01:37 verbose #3454 > │ US0_0(v7) │
00:01:37 verbose #3455 > │ else │
00:01:37 verbose #3456 > │ let v11 : bool = v8 < v1 │
00:01:37 verbose #3457 > │ if v11 then │
00:01:37 verbose #3458 > │ let v12 : int32 = v7 + 1 │
00:01:37 verbose #3459 > │ method6(v0, v1, v2, v12) │
00:01:37 verbose #3460 > │ else │
00:01:37 verbose #3461 > │ method6(v0, v1, v7, v3) │
00:01:37 verbose #3462 > │ and closure1 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:37 verbose #3463 > │ let v3 : int32 = 0 │
00:01:37 verbose #3464 > │ method6(v0, v1, v2, v3) │
00:01:37 verbose #3465 > │ and method7 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:37 verbose #3466 > │ let v4 : bool = v3 > v2 │
00:01:37 verbose #3467 > │ if v4 then │
00:01:37 verbose #3468 > │ US0_1 │
00:01:37 verbose #3469 > │ else │
00:01:37 verbose #3470 > │ let v6 : int32 = v3 + v2 │
00:01:37 verbose #3471 > │ let v7 : int32 = v6 / 2 │
00:01:37 verbose #3472 > │ let v8 : int32 = v0.[int v7] │
00:01:37 verbose #3473 > │ let v9 : bool = v8 = v1 │
00:01:37 verbose #3474 > │ if v9 then │
00:01:37 verbose #3475 > │ US0_0(v7) │
00:01:37 verbose #3476 > │ else │
00:01:37 verbose #3477 > │ let v11 : bool = v8 < v1 │
00:01:37 verbose #3478 > │ if v11 then │
00:01:37 verbose #3479 > │ let v12 : int32 = v7 + 1 │
00:01:37 verbose #3480 > │ method7(v0, v1, v2, v12) │
00:01:37 verbose #3481 > │ else │
00:01:37 verbose #3482 > │ let v14 : int32 = v7 - 1 │
00:01:37 verbose #3483 > │ method7(v0, v1, v14, v3) │
00:01:37 verbose #3484 > │ and closure2 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:37 verbose #3485 > │ let v3 : int32 = v2 - 1 │
00:01:37 verbose #3486 > │ let v4 : int32 = 0 │
00:01:37 verbose #3487 > │ method7(v0, v1, v3, v4) │
00:01:37 verbose #3488 > │ and method8 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:37 verbose #3489 > │ let v4 : bool = v2 >= v3 │
00:01:37 verbose #3490 > │ if v4 then │
00:01:37 verbose #3491 > │ US0_1 │
00:01:37 verbose #3492 > │ else │
00:01:37 verbose #3493 > │ let v6 : int32 = v2 + v3 │
00:01:37 verbose #3494 > │ let v7 : int32 = v6 / 2 │
00:01:37 verbose #3495 > │ let v8 : int32 = v0.[int v7] │
00:01:37 verbose #3496 > │ let v9 : bool = v8 = v1 │
00:01:37 verbose #3497 > │ if v9 then │
00:01:37 verbose #3498 > │ US0_0(v7) │
00:01:37 verbose #3499 > │ else │
00:01:37 verbose #3500 > │ let v11 : bool = v8 < v1 │
00:01:37 verbose #3501 > │ if v11 then │
00:01:37 verbose #3502 > │ let v12 : int32 = v7 + 1 │
00:01:37 verbose #3503 > │ method8(v0, v1, v12, v3) │
00:01:37 verbose #3504 > │ else │
00:01:37 verbose #3505 > │ method8(v0, v1, v2, v7) │
00:01:37 verbose #3506 > │ and closure3 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:37 verbose #3507 > │ let v3 : int32 = 0 │
00:01:37 verbose #3508 > │ method8(v0, v1, v3, v2) │
00:01:37 verbose #3509 > │ and method9 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:37 verbose #3510 > │ let v4 : bool = v2 > v3 │
00:01:37 verbose #3511 > │ if v4 then │
00:01:37 verbose #3512 > │ US0_1 │
00:01:37 verbose #3513 > │ else │
00:01:37 verbose #3514 > │ let v6 : int32 = v2 + v3 │
00:01:37 verbose #3515 > │ let v7 : int32 = v6 / 2 │
00:01:37 verbose #3516 > │ let v8 : int32 = v0.[int v7] │
00:01:37 verbose #3517 > │ let v9 : bool = v8 = v1 │
00:01:37 verbose #3518 > │ if v9 then │
00:01:37 verbose #3519 > │ US0_0(v7) │
00:01:37 verbose #3520 > │ else │
00:01:37 verbose #3521 > │ let v11 : bool = v8 < v1 │
00:01:37 verbose #3522 > │ if v11 then │
00:01:37 verbose #3523 > │ let v12 : int32 = v7 + 1 │
00:01:37 verbose #3524 > │ method9(v0, v1, v12, v3) │
00:01:37 verbose #3525 > │ else │
00:01:37 verbose #3526 > │ let v14 : int32 = v7 - 1 │
00:01:37 verbose #3527 > │ method9(v0, v1, v2, v14) │
00:01:37 verbose #3528 > │ and closure4 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:37 verbose #3529 > │ let v3 : int32 = v2 - 1 │
00:01:37 verbose #3530 > │ let v4 : int32 = 0 │
00:01:37 verbose #3531 > │ method9(v0, v1, v4, v3) │
00:01:37 verbose #3532 > │ and method11 (v0 : UH1, v1 : uint64) : uint64 = │
00:01:37 verbose #3533 > │ match v0 with │
00:01:37 verbose #3534 > │ | UH1_1(v2, v3, v4, v5) -> (* Cons *) │
00:01:37 verbose #3535 > │ let v6 : uint64 = v1 + 1UL │
00:01:37 verbose #3536 > │ method11(v5, v6) │
00:01:37 verbose #3537 > │ | UH1_0 -> (* Nil *) │
00:01:37 verbose #3538 > │ v1 │
00:01:37 verbose #3539 > │ and method12 (v0 : (struct (int32 * string * (struct ((int32 []) * int32 * │
00:01:37 verbose #3540 > │ int32) -> US0)) []), v1 : UH1, v2 : uint64) : uint64 = │
00:01:37 verbose #3541 > │ match v1 with │
00:01:37 verbose #3542 > │ | UH1_1(v3, v4, v5, v6) -> (* Cons *) │
00:01:37 verbose #3543 > │ v0.[int v2] <- struct (v3, v4, v5) │
00:01:37 verbose #3544 > │ let v7 : uint64 = v2 + 1UL │
00:01:37 verbose #3545 > │ method12(v0, v6, v7) │
00:01:37 verbose #3546 > │ | UH1_0 -> (* Nil *) │
00:01:37 verbose #3547 > │ v2 │
00:01:37 verbose #3548 > │ and method10 (v0 : UH1) : (struct (int32 * string * (struct ((int32 []) * │
00:01:37 verbose #3549 > │ int32 * int32) -> US0)) []) = │
00:01:37 verbose #3550 > │ let v1 : uint64 = 0UL │
00:01:37 verbose #3551 > │ let v2 : uint64 = method11(v0, v1) │
00:01:37 verbose #3552 > │ let v3 : (struct (int32 * string * (struct ((int32 []) * int32 * int32) │
00:01:37 verbose #3553 > │ -> US0)) []) = Array.zeroCreate<struct (int32 * string * (struct ((int32 []) │
00:01:37 verbose #3554 > │ * int32 * int32) -> US0))> (System.Convert.ToInt32(v2)) │
00:01:37 verbose #3555 > │ let v4 : uint64 = 0UL │
00:01:37 verbose #3556 > │ let v5 : uint64 = method12(v3, v0, v4) │
00:01:37 verbose #3557 > │ v3 │
00:01:37 verbose #3558 > │ and method13 (v0 : Mut0) : bool = │
00:01:37 verbose #3559 > │ let v1 : int32 = v0.l0 │
00:01:37 verbose #3560 > │ let v2 : bool = v1 < 8000001 │
00:01:37 verbose #3561 > │ v2 │
00:01:37 verbose #3562 > │ and closure5 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : (struct ((int32 │
00:01:37 verbose #3563 > │ []) * int32 * int32) -> US0)) (v4 : int32) : US0 = │
00:01:37 verbose #3564 > │ v3 struct (v0, v1, v2) │
00:01:37 verbose #3565 > │ and method14 (v0 : US0, v1 : (US0 []), v2 : uint64) : bool = │
00:01:37 verbose #3566 > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:01:37 verbose #3567 > │ let v4 : bool = v2 < v3 │
00:01:37 verbose #3568 > │ if v4 then │
00:01:37 verbose #3569 > │ let v5 : US0 = v1.[int v2] │
00:01:37 verbose #3570 > │ let v9 : bool = │
00:01:37 verbose #3571 > │ match v0, v5 with │
00:01:37 verbose #3572 > │ | US0_1, US0_1 -> (* None *) │
00:01:37 verbose #3573 > │ true │
00:01:37 verbose #3574 > │ | US0_0(v6), US0_0(v7) -> (* Some *) │
00:01:37 verbose #3575 > │ let v8 : bool = v6 = v7 │
00:01:37 verbose #3576 > │ v8 │
00:01:37 verbose #3577 > │ | _ -> │
00:01:37 verbose #3578 > │ false │
00:01:37 verbose #3579 > │ if v9 then │
00:01:37 verbose #3580 > │ let v10 : uint64 = v2 + 1UL │
00:01:37 verbose #3581 > │ method14(v0, v1, v10) │
00:01:37 verbose #3582 > │ else │
00:01:37 verbose #3583 > │ false │
00:01:37 verbose #3584 > │ else │
00:01:37 verbose #3585 > │ true │
00:01:37 verbose #3586 > │ and method15 (v0 : uint64, v1 : Mut2) : bool = │
00:01:37 verbose #3587 > │ let v2 : uint64 = v1.l0 │
00:01:37 verbose #3588 > │ let v3 : bool = v2 < v0 │
00:01:37 verbose #3589 > │ v3 │
00:01:37 verbose #3590 > │ and method16 (v0 : UH3, v1 : UH3) : UH3 = │
00:01:37 verbose #3591 > │ match v0 with │
00:01:37 verbose #3592 > │ | UH3_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3593 > │ let v5 : UH3 = UH3_1(v2, v3, v1) │
00:01:37 verbose #3594 > │ method16(v4, v5) │
00:01:37 verbose #3595 > │ | UH3_0 -> (* Nil *) │
00:01:37 verbose #3596 > │ v1 │
00:01:37 verbose #3597 > │ and method18 (v0 : UH3, v1 : int32) : int32 = │
00:01:37 verbose #3598 > │ match v0 with │
00:01:37 verbose #3599 > │ | UH3_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3600 > │ let v5 : int32 = v1 + 1 │
00:01:37 verbose #3601 > │ method18(v4, v5) │
00:01:37 verbose #3602 > │ | UH3_0 -> (* Nil *) │
00:01:37 verbose #3603 > │ v1 │
00:01:37 verbose #3604 > │ and method19 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) : │
00:01:37 verbose #3605 > │ int32 = │
00:01:37 verbose #3606 > │ match v1 with │
00:01:37 verbose #3607 > │ | UH3_1(v3, v4, v5) -> (* Cons *) │
00:01:37 verbose #3608 > │ v0.[int v2] <- struct (v3, v4) │
00:01:37 verbose #3609 > │ let v6 : int32 = v2 + 1 │
00:01:37 verbose #3610 > │ method19(v0, v5, v6) │
00:01:37 verbose #3611 > │ | UH3_0 -> (* Nil *) │
00:01:37 verbose #3612 > │ v2 │
00:01:37 verbose #3613 > │ and method17 (v0 : UH3) : (struct (int64 * int64) []) = │
00:01:37 verbose #3614 > │ let v1 : int32 = 0 │
00:01:37 verbose #3615 > │ let v2 : int32 = method18(v0, v1) │
00:01:37 verbose #3616 > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:01:37 verbose #3617 > │ int64)> (v2) │
00:01:37 verbose #3618 > │ let v4 : int32 = 0 │
00:01:37 verbose #3619 > │ let v5 : int32 = method19(v3, v0, v4) │
00:01:37 verbose #3620 > │ v3 │
00:01:37 verbose #3621 > │ and method20 (v0 : int32, v1 : Mut0) : bool = │
00:01:37 verbose #3622 > │ let v2 : int32 = v1.l0 │
00:01:37 verbose #3623 > │ let v3 : bool = v2 < v0 │
00:01:37 verbose #3624 > │ v3 │
00:01:37 verbose #3625 > │ and closure6 () struct (v0 : int64, v1 : int64) : int64 = │
00:01:37 verbose #3626 > │ v1 │
00:01:37 verbose #3627 > │ and method22 (v0 : UH4, v1 : uint64) : uint64 = │
00:01:37 verbose #3628 > │ match v0 with │
00:01:37 verbose #3629 > │ | UH4_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3630 > │ let v5 : uint64 = v1 + 1UL │
00:01:37 verbose #3631 > │ method22(v4, v5) │
00:01:37 verbose #3632 > │ | UH4_0 -> (* Nil *) │
00:01:37 verbose #3633 > │ v1 │
00:01:37 verbose #3634 > │ and method23 (v0 : (struct (UH2 * US1) []), v1 : UH4, v2 : uint64) : uint64 │
00:01:37 verbose #3635 > │ = │
00:01:37 verbose #3636 > │ match v1 with │
00:01:37 verbose #3637 > │ | UH4_1(v3, v4, v5) -> (* Cons *) │
00:01:37 verbose #3638 > │ v0.[int v2] <- struct (v3, v4) │
00:01:37 verbose #3639 > │ let v6 : uint64 = v2 + 1UL │
00:01:37 verbose #3640 > │ method23(v0, v5, v6) │
00:01:37 verbose #3641 > │ | UH4_0 -> (* Nil *) │
00:01:37 verbose #3642 > │ v2 │
00:01:37 verbose #3643 > │ and method21 (v0 : UH4) : (struct (UH2 * US1) []) = │
00:01:37 verbose #3644 > │ let v1 : uint64 = 0UL │
00:01:37 verbose #3645 > │ let v2 : uint64 = method22(v0, v1) │
00:01:37 verbose #3646 > │ let v3 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * US1)> │
00:01:37 verbose #3647 > │ (System.Convert.ToInt32(v2)) │
00:01:37 verbose #3648 > │ let v4 : uint64 = 0UL │
00:01:37 verbose #3649 > │ let v5 : uint64 = method23(v3, v0, v4) │
00:01:37 verbose #3650 > │ v3 │
00:01:37 verbose #3651 > │ and method25 (v0 : UH2, v1 : uint64) : uint64 = │
00:01:37 verbose #3652 > │ match v0 with │
00:01:37 verbose #3653 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:01:37 verbose #3654 > │ let v4 : uint64 = v1 + 1UL │
00:01:37 verbose #3655 > │ method25(v3, v4) │
00:01:37 verbose #3656 > │ | UH2_0 -> (* Nil *) │
00:01:37 verbose #3657 > │ v1 │
00:01:37 verbose #3658 > │ and method26 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:01:37 verbose #3659 > │ match v1 with │
00:01:37 verbose #3660 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:01:37 verbose #3661 > │ v0.[int v2] <- v3 │
00:01:37 verbose #3662 > │ let v5 : uint64 = v2 + 1UL │
00:01:37 verbose #3663 > │ method26(v0, v4, v5) │
00:01:37 verbose #3664 > │ | UH2_0 -> (* Nil *) │
00:01:37 verbose #3665 > │ v2 │
00:01:37 verbose #3666 > │ and method24 (v0 : UH2) : (string []) = │
00:01:37 verbose #3667 > │ let v1 : uint64 = 0UL │
00:01:37 verbose #3668 > │ let v2 : uint64 = method25(v0, v1) │
00:01:37 verbose #3669 > │ let v3 : (string []) = Array.zeroCreate<string> │
00:01:37 verbose #3670 > │ (System.Convert.ToInt32(v2)) │
00:01:37 verbose #3671 > │ let v4 : uint64 = 0UL │
00:01:37 verbose #3672 > │ let v5 : uint64 = method26(v3, v0, v4) │
00:01:37 verbose #3673 > │ v3 │
00:01:37 verbose #3674 > │ and closure7 () (v0 : int64) : US2 = │
00:01:37 verbose #3675 > │ US2_0(v0) │
00:01:37 verbose #3676 > │ and method27 () : (int64 -> US2) = │
00:01:37 verbose #3677 > │ closure7() │
00:01:37 verbose #3678 > │ and method28 (v0 : uint64, v1 : Mut3) : bool = │
00:01:37 verbose #3679 > │ let v2 : uint64 = v1.l0 │
00:01:37 verbose #3680 > │ let v3 : bool = v2 < v0 │
00:01:37 verbose #3681 > │ v3 │
00:01:37 verbose #3682 > │ and method29 (v0 : UH5, v1 : UH5) : UH5 = │
00:01:37 verbose #3683 > │ match v0 with │
00:01:37 verbose #3684 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3685 > │ let v5 : UH5 = UH5_1(v2, v3, v1) │
00:01:37 verbose #3686 > │ method29(v4, v5) │
00:01:37 verbose #3687 > │ | UH5_0 -> (* Nil *) │
00:01:37 verbose #3688 > │ v1 │
00:01:37 verbose #3689 > │ and method31 (v0 : UH5, v1 : int32) : int32 = │
00:01:37 verbose #3690 > │ match v0 with │
00:01:37 verbose #3691 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3692 > │ let v5 : int32 = v1 + 1 │
00:01:37 verbose #3693 > │ method31(v4, v5) │
00:01:37 verbose #3694 > │ | UH5_0 -> (* Nil *) │
00:01:37 verbose #3695 > │ v1 │
00:01:37 verbose #3696 > │ and method32 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) : │
00:01:37 verbose #3697 > │ int32 = │
00:01:37 verbose #3698 > │ match v1 with │
00:01:37 verbose #3699 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:01:37 verbose #3700 > │ v0.[int v2] <- struct (v3, v4) │
00:01:37 verbose #3701 > │ let v6 : int32 = v2 + 1 │
00:01:37 verbose #3702 > │ method32(v0, v5, v6) │
00:01:37 verbose #3703 > │ | UH5_0 -> (* Nil *) │
00:01:37 verbose #3704 > │ v2 │
00:01:37 verbose #3705 > │ and method30 (v0 : UH5) : (struct (int32 * int64) []) = │
00:01:37 verbose #3706 > │ let v1 : int32 = 0 │
00:01:37 verbose #3707 > │ let v2 : int32 = method31(v0, v1) │
00:01:37 verbose #3708 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:01:37 verbose #3709 > │ int64)> (v2) │
00:01:37 verbose #3710 > │ let v4 : int32 = 0 │
00:01:37 verbose #3711 > │ let v5 : int32 = method32(v3, v0, v4) │
00:01:37 verbose #3712 > │ v3 │
00:01:37 verbose #3713 > │ and method33 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) = │
00:01:37 verbose #3714 > │ match v0 with │
00:01:37 verbose #3715 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:01:37 verbose #3716 > │ let v5 : int32 = v2 + 1 │
00:01:37 verbose #3717 > │ let v6 : UH6 = UH6_1(v2, v3, v1) │
00:01:37 verbose #3718 > │ method33(v4, v6, v5) │
00:01:37 verbose #3719 > │ | UH2_0 -> (* Nil *) │
00:01:37 verbose #3720 > │ struct (v1, v2) │
00:01:37 verbose #3721 > │ and method34 (v0 : UH6, v1 : UH6) : UH6 = │
00:01:37 verbose #3722 > │ match v0 with │
00:01:37 verbose #3723 > │ | UH6_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3724 > │ let v5 : UH6 = UH6_1(v2, v3, v1) │
00:01:37 verbose #3725 > │ method34(v4, v5) │
00:01:37 verbose #3726 > │ | UH6_0 -> (* Nil *) │
00:01:37 verbose #3727 > │ v1 │
00:01:37 verbose #3728 > │ and method35 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 = │
00:01:37 verbose #3729 > │ match v1 with │
00:01:37 verbose #3730 > │ | UH6_1(v3, v4, v5) -> (* Cons *) │
00:01:37 verbose #3731 > │ let v6 : UH2 = method35(v0, v5, v2) │
00:01:37 verbose #3732 > │ let v7 : int64 = v0.[v3] │
00:01:37 verbose #3733 > │ let v8 : int32 = int32 v7 │
00:01:37 verbose #3734 > │ let v9 : string = v4.PadRight (v8, ' ') │
00:01:37 verbose #3735 > │ UH2_1(v9, v6) │
00:01:37 verbose #3736 > │ | UH6_0 -> (* Nil *) │
00:01:37 verbose #3737 > │ v2 │
00:01:37 verbose #3738 > │ and method37 (v0 : UH2, v1 : int32) : int32 = │
00:01:37 verbose #3739 > │ match v0 with │
00:01:37 verbose #3740 > │ | UH2_1(v2, v3) -> (* Cons *) │
00:01:37 verbose #3741 > │ let v4 : int32 = v1 + 1 │
00:01:37 verbose #3742 > │ method37(v3, v4) │
00:01:37 verbose #3743 > │ | UH2_0 -> (* Nil *) │
00:01:37 verbose #3744 > │ v1 │
00:01:37 verbose #3745 > │ and method38 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:01:37 verbose #3746 > │ match v1 with │
00:01:37 verbose #3747 > │ | UH2_1(v3, v4) -> (* Cons *) │
00:01:37 verbose #3748 > │ v0.[int v2] <- v3 │
00:01:37 verbose #3749 > │ let v5 : int32 = v2 + 1 │
00:01:37 verbose #3750 > │ method38(v0, v4, v5) │
00:01:37 verbose #3751 > │ | UH2_0 -> (* Nil *) │
00:01:37 verbose #3752 > │ v2 │
00:01:37 verbose #3753 > │ and method36 (v0 : UH2) : (string []) = │
00:01:37 verbose #3754 > │ let v1 : int32 = 0 │
00:01:37 verbose #3755 > │ let v2 : int32 = method37(v0, v1) │
00:01:37 verbose #3756 > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:01:37 verbose #3757 > │ let v4 : int32 = 0 │
00:01:37 verbose #3758 > │ let v5 : int32 = method38(v3, v0, v4) │
00:01:37 verbose #3759 > │ v3 │
00:01:37 verbose #3760 > │ and method40 (v0 : UH5, v1 : uint64) : uint64 = │
00:01:37 verbose #3761 > │ match v0 with │
00:01:37 verbose #3762 > │ | UH5_1(v2, v3, v4) -> (* Cons *) │
00:01:37 verbose #3763 > │ let v5 : uint64 = v1 + 1UL │
00:01:37 verbose #3764 > │ method40(v4, v5) │
00:01:37 verbose #3765 > │ | UH5_0 -> (* Nil *) │
00:01:37 verbose #3766 > │ v1 │
00:01:37 verbose #3767 > │ and method41 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) : │
00:01:37 verbose #3768 > │ uint64 = │
00:01:37 verbose #3769 > │ match v1 with │
00:01:37 verbose #3770 > │ | UH5_1(v3, v4, v5) -> (* Cons *) │
00:01:37 verbose #3771 > │ v0.[int v2] <- struct (v3, v4) │
00:01:37 verbose #3772 > │ let v6 : uint64 = v2 + 1UL │
00:01:37 verbose #3773 > │ method41(v0, v5, v6) │
00:01:37 verbose #3774 > │ | UH5_0 -> (* Nil *) │
00:01:37 verbose #3775 > │ v2 │
00:01:37 verbose #3776 > │ and method39 (v0 : UH5) : (struct (int32 * int64) []) = │
00:01:37 verbose #3777 > │ let v1 : uint64 = 0UL │
00:01:37 verbose #3778 > │ let v2 : uint64 = method40(v0, v1) │
00:01:37 verbose #3779 > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:01:37 verbose #3780 > │ int64)> (System.Convert.ToInt32(v2)) │
00:01:37 verbose #3781 > │ let v4 : uint64 = 0UL │
00:01:37 verbose #3782 > │ let v5 : uint64 = method41(v3, v0, v4) │
00:01:37 verbose #3783 > │ v3 │
00:01:37 verbose #3784 > │ and closure8 () struct (v0 : int32, v1 : int64) : int64 = │
00:01:37 verbose #3785 > │ v1 │
00:01:37 verbose #3786 > │ and closure0 () () : unit = │
00:01:37 verbose #3787 > │ let v0 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3788 > │ let v1 : int32 = v0.Length │
00:01:37 verbose #3789 > │ let v2 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3790 > │ let v3 : int32 = v2.Length │
00:01:37 verbose #3791 > │ let v4 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3792 > │ let v5 : int32 = v4.Length │
00:01:37 verbose #3793 > │ let v6 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3794 > │ let v7 : int32 = v6.Length │
00:01:37 verbose #3795 > │ let v8 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:37 verbose #3796 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #3797 > │ while method1(v9) do │
00:01:37 verbose #3798 > │ let v11 : int32 = v9.l0 │
00:01:37 verbose #3799 > │ let v12 : int32 = 1 + v11 │
00:01:37 verbose #3800 > │ v8.[int v11] <- v12 │
00:01:37 verbose #3801 > │ let v13 : int32 = v11 + 1 │
00:01:37 verbose #3802 > │ v9.l0 <- v13 │
00:01:37 verbose #3803 > │ () │
00:01:37 verbose #3804 > │ let v14 : int32 = v8.Length │
00:01:37 verbose #3805 > │ let v15 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3806 > │ let v16 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3807 > │ let v17 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3808 > │ let v18 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #3809 > │ let v19 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:37 verbose #3810 > │ let v20 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #3811 > │ while method1(v20) do │
00:01:37 verbose #3812 > │ let v22 : int32 = v20.l0 │
00:01:37 verbose #3813 > │ let v23 : int32 = 1 + v22 │
00:01:37 verbose #3814 > │ v19.[int v22] <- v23 │
00:01:37 verbose #3815 > │ let v24 : int32 = v22 + 1 │
00:01:37 verbose #3816 > │ v20.l0 <- v24 │
00:01:37 verbose #3817 > │ () │
00:01:37 verbose #3818 > │ let v25 : (unit -> unit) = closure0() │
00:01:37 verbose #3819 > │ let v26 : string = nameof v25 │
00:01:37 verbose #3820 > │ let v27 : string = "" │
00:01:37 verbose #3821 > │ System.Console.WriteLine v27 │
00:01:37 verbose #3822 > │ System.Console.WriteLine v27 │
00:01:37 verbose #3823 > │ let v28 : string = $"Test: {v26}" │
00:01:37 verbose #3824 > │ System.Console.WriteLine v28 │
00:01:37 verbose #3825 > │ let v29 : int32 = 6 │
00:01:37 verbose #3826 > │ let v30 : int32 = 3 │
00:01:37 verbose #3827 > │ let v31 : US0 = US0_0(v30) │
00:01:37 verbose #3828 > │ let v32 : int32 = 1 │
00:01:37 verbose #3829 > │ let v33 : int32 = 0 │
00:01:37 verbose #3830 > │ let v34 : US0 = US0_0(v33) │
00:01:37 verbose #3831 > │ let v35 : int32 = 11 │
00:01:37 verbose #3832 > │ let v36 : int32 = 6 │
00:01:37 verbose #3833 > │ let v37 : US0 = US0_0(v36) │
00:01:37 verbose #3834 > │ let v38 : int32 = 12 │
00:01:37 verbose #3835 > │ let v39 : US0 = US0_1 │
00:01:37 verbose #3836 > │ let v40 : int32 = 60 │
00:01:37 verbose #3837 > │ let v41 : int32 = 59 │
00:01:37 verbose #3838 > │ let v42 : US0 = US0_0(v41) │
00:01:37 verbose #3839 > │ let v43 : int32 = 6 │
00:01:37 verbose #3840 > │ let v44 : int32 = 7 │
00:01:37 verbose #3841 > │ let v45 : int32 = 3 │
00:01:37 verbose #3842 > │ let v46 : US0 = US0_0(v45) │
00:01:37 verbose #3843 > │ let v47 : int32 = 1 │
00:01:37 verbose #3844 > │ let v48 : int32 = 7 │
00:01:37 verbose #3845 > │ let v49 : int32 = 0 │
00:01:37 verbose #3846 > │ let v50 : US0 = US0_0(v49) │
00:01:37 verbose #3847 > │ let v51 : int32 = 11 │
00:01:37 verbose #3848 > │ let v52 : int32 = 7 │
00:01:37 verbose #3849 > │ let v53 : int32 = 6 │
00:01:37 verbose #3850 > │ let v54 : US0 = US0_0(v53) │
00:01:37 verbose #3851 > │ let v55 : int32 = 12 │
00:01:37 verbose #3852 > │ let v56 : int32 = 7 │
00:01:37 verbose #3853 > │ let v57 : US0 = US0_1 │
00:01:37 verbose #3854 > │ let v58 : int32 = 60 │
00:01:37 verbose #3855 > │ let v59 : int32 = 100 │
00:01:37 verbose #3856 > │ let v60 : int32 = 59 │
00:01:37 verbose #3857 > │ let v61 : US0 = US0_0(v60) │
00:01:37 verbose #3858 > │ let v62 : UH0 = UH0_0 │
00:01:37 verbose #3859 > │ let v63 : UH0 = UH0_1(v19, v58, v59, v61, v62) │
00:01:37 verbose #3860 > │ let v64 : UH0 = UH0_1(v18, v55, v56, v57, v63) │
00:01:37 verbose #3861 > │ let v65 : UH0 = UH0_1(v17, v51, v52, v54, v64) │
00:01:37 verbose #3862 > │ let v66 : UH0 = UH0_1(v16, v47, v48, v50, v65) │
00:01:37 verbose #3863 > │ let v67 : UH0 = UH0_1(v15, v43, v44, v46, v66) │
00:01:37 verbose #3864 > │ let v68 : UH0 = UH0_1(v8, v40, v14, v42, v67) │
00:01:37 verbose #3865 > │ let v69 : UH0 = UH0_1(v6, v38, v7, v39, v68) │
00:01:37 verbose #3866 > │ let v70 : UH0 = UH0_1(v4, v35, v5, v37, v69) │
00:01:37 verbose #3867 > │ let v71 : UH0 = UH0_1(v2, v32, v3, v34, v70) │
00:01:37 verbose #3868 > │ let v72 : UH0 = UH0_1(v0, v29, v1, v31, v71) │
00:01:37 verbose #3869 > │ let v73 : (struct ((int32 []) * int32 * int32 * US0) []) = method2(v72) │
00:01:37 verbose #3870 > │ let v74 : uint64 = System.Convert.ToUInt64 v73.Length │
00:01:37 verbose #3871 > │ let v75 : (struct (string * string * string * (int64 [])) []) = │
00:01:37 verbose #3872 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:01:37 verbose #3873 > │ (System.Convert.ToInt32(v74)) │
00:01:37 verbose #3874 > │ let v76 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #3875 > │ while method5(v74, v76) do │
00:01:37 verbose #3876 > │ let v78 : uint64 = v76.l0 │
00:01:37 verbose #3877 > │ let struct (v79 : (int32 []), v80 : int32, v81 : int32, v82 : US0) = │
00:01:37 verbose #3878 > │ v73.[int v78] │
00:01:37 verbose #3879 > │ let v83 : string = $"%A{struct (v79, v80, v81)}" │
00:01:37 verbose #3880 > │ System.Console.WriteLine v27 │
00:01:37 verbose #3881 > │ let v84 : string = $"Solution: {v83} " │
00:01:37 verbose #3882 > │ System.Console.WriteLine v84 │
00:01:37 verbose #3883 > │ let v85 : int32 = 0 │
00:01:37 verbose #3884 > │ let v86 : string = "semi_open_1" │
00:01:37 verbose #3885 > │ let v87 : (struct ((int32 []) * int32 * int32) -> US0) = closure1() │
00:01:37 verbose #3886 > │ let v88 : int32 = 1 │
00:01:37 verbose #3887 > │ let v89 : string = "closed_1" │
00:01:37 verbose #3888 > │ let v90 : (struct ((int32 []) * int32 * int32) -> US0) = closure2() │
00:01:37 verbose #3889 > │ let v91 : int32 = 2 │
00:01:37 verbose #3890 > │ let v92 : string = "semi_open_2" │
00:01:37 verbose #3891 > │ let v93 : (struct ((int32 []) * int32 * int32) -> US0) = closure3() │
00:01:37 verbose #3892 > │ let v94 : int32 = 3 │
00:01:37 verbose #3893 > │ let v95 : string = "closed_2" │
00:01:37 verbose #3894 > │ let v96 : (struct ((int32 []) * int32 * int32) -> US0) = closure4() │
00:01:37 verbose #3895 > │ let v97 : UH1 = UH1_0 │
00:01:37 verbose #3896 > │ let v98 : UH1 = UH1_1(v94, v95, v96, v97) │
00:01:37 verbose #3897 > │ let v99 : UH1 = UH1_1(v91, v92, v93, v98) │
00:01:37 verbose #3898 > │ let v100 : UH1 = UH1_1(v88, v89, v90, v99) │
00:01:37 verbose #3899 > │ let v101 : UH1 = UH1_1(v85, v86, v87, v100) │
00:01:37 verbose #3900 > │ let v102 : (struct (int32 * string * (struct ((int32 []) * int32 * │
00:01:37 verbose #3901 > │ int32) -> US0)) []) = method10(v101) │
00:01:37 verbose #3902 > │ let v103 : uint64 = System.Convert.ToUInt64 v102.Length │
00:01:37 verbose #3903 > │ let v104 : (struct (US0 * int64) []) = Array.zeroCreate<struct (US0 │
00:01:37 verbose #3904 > │ * int64)> (System.Convert.ToInt32(v103)) │
00:01:37 verbose #3905 > │ let v105 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #3906 > │ while method5(v103, v105) do │
00:01:37 verbose #3907 > │ let v107 : uint64 = v105.l0 │
00:01:37 verbose #3908 > │ let struct (v108 : int32, v109 : string, v110 : (struct ((int32 │
00:01:37 verbose #3909 > │ []) * int32 * int32) -> US0)) = v102.[int v107] │
00:01:37 verbose #3910 > │ let v111 : unit option = None │
00:01:37 verbose #3911 > │ let v112 : bool = true in let mutable _v111 = v111 │
00:01:37 verbose #3912 > │ │
00:01:37 verbose #3913 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #3914 > │ │
00:01:37 verbose #3915 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #3916 > │ () │
00:01:37 verbose #3917 > │ #endif │
00:01:37 verbose #3918 > │ │
00:01:37 verbose #3919 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #3920 > │ () │
00:01:37 verbose #3921 > │ #endif │
00:01:37 verbose #3922 > │ │
00:01:37 verbose #3923 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #3924 > │ () │
00:01:37 verbose #3925 > │ #endif │
00:01:37 verbose #3926 > │ │
00:01:37 verbose #3927 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #3928 > │ () │
00:01:37 verbose #3929 > │ #endif │
00:01:37 verbose #3930 > │ │
00:01:37 verbose #3931 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #3932 > │ () │
00:01:37 verbose #3933 > │ #endif │
00:01:37 verbose #3934 > │ │
00:01:37 verbose #3935 > │ #else │
00:01:37 verbose #3936 > │ System.GC.Collect () │
00:01:37 verbose #3937 > │ () │
00:01:37 verbose #3938 > │ #endif │
00:01:37 verbose #3939 > │ |> fun x -> _v111 <- Some x │
00:01:37 verbose #3940 > │ _v111.Value │
00:01:37 verbose #3941 > │ let v113 : (unit -> System.Diagnostics.Stopwatch) = │
00:01:37 verbose #3942 > │ System.Diagnostics.Stopwatch │
00:01:37 verbose #3943 > │ let v114 : System.Diagnostics.Stopwatch = v113 () │
00:01:37 verbose #3944 > │ v114.Start () │
00:01:37 verbose #3945 > │ let v115 : int64 = v114.ElapsedMilliseconds │
00:01:37 verbose #3946 > │ let v116 : (int32 []) = Array.zeroCreate<int32> (8000001) │
00:01:37 verbose #3947 > │ let v117 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #3948 > │ while method13(v117) do │
00:01:37 verbose #3949 > │ let v119 : int32 = v117.l0 │
00:01:37 verbose #3950 > │ v116.[int v119] <- v119 │
00:01:37 verbose #3951 > │ let v120 : int32 = v119 + 1 │
00:01:37 verbose #3952 > │ v117.l0 <- v120 │
00:01:37 verbose #3953 > │ () │
00:01:37 verbose #3954 > │ let v121 : ((int32 -> US0) -> ((int32 []) -> (US0 []))) = │
00:01:37 verbose #3955 > │ Array.Parallel.map │
00:01:37 verbose #3956 > │ let v122 : (int32 -> US0) = closure5(v79, v80, v81, v110) │
00:01:37 verbose #3957 > │ let v123 : ((int32 []) -> (US0 [])) = v121 v122 │
00:01:37 verbose #3958 > │ let v124 : (US0 []) = v123 v116 │
00:01:37 verbose #3959 > │ let v125 : int32 = v124.Length │
00:01:37 verbose #3960 > │ let v126 : int32 = v125 - 1 │
00:01:37 verbose #3961 > │ let v127 : US0 = v124.[int v126] │
00:01:37 verbose #3962 > │ let v128 : int64 = v114.ElapsedMilliseconds │
00:01:37 verbose #3963 > │ let v129 : int64 = v128 - v115 │
00:01:37 verbose #3964 > │ let v130 : string = $"Test case {v108 + 1}. {v109}. Time: {v129} │
00:01:37 verbose #3965 > │ " │
00:01:37 verbose #3966 > │ System.Console.WriteLine v130 │
00:01:37 verbose #3967 > │ v104.[int v107] <- struct (v127, v129) │
00:01:37 verbose #3968 > │ let v131 : uint64 = v107 + 1UL │
00:01:37 verbose #3969 > │ v105.l0 <- v131 │
00:01:37 verbose #3970 > │ () │
00:01:37 verbose #3971 > │ let v132 : uint64 = System.Convert.ToUInt64 v104.Length │
00:01:37 verbose #3972 > │ let v133 : (US0 []) = Array.zeroCreate<US0> │
00:01:37 verbose #3973 > │ (System.Convert.ToInt32(v132)) │
00:01:37 verbose #3974 > │ let v134 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #3975 > │ while method5(v132, v134) do │
00:01:37 verbose #3976 > │ let v136 : uint64 = v134.l0 │
00:01:37 verbose #3977 > │ let struct (v137 : US0, v138 : int64) = v104.[int v136] │
00:01:37 verbose #3978 > │ v133.[int v136] <- v137 │
00:01:37 verbose #3979 > │ let v139 : uint64 = v136 + 1UL │
00:01:37 verbose #3980 > │ v134.l0 <- v139 │
00:01:37 verbose #3981 > │ () │
00:01:37 verbose #3982 > │ let v140 : uint64 = System.Convert.ToUInt64 v133.Length │
00:01:37 verbose #3983 > │ let v141 : bool = v140 <= 1UL │
00:01:37 verbose #3984 > │ if v141 then │
00:01:37 verbose #3985 > │ () │
00:01:37 verbose #3986 > │ else │
00:01:37 verbose #3987 > │ let v142 : US0 = v133.[int 0UL] │
00:01:37 verbose #3988 > │ let v143 : uint64 = 0UL │
00:01:37 verbose #3989 > │ let v144 : bool = method14(v142, v133, v143) │
00:01:37 verbose #3990 > │ if v144 then │
00:01:37 verbose #3991 > │ () │
00:01:37 verbose #3992 > │ else │
00:01:37 verbose #3993 > │ let v145 : string = $"Challenge error: {v133}" │
00:01:37 verbose #3994 > │ failwith<unit> v145 │
00:01:37 verbose #3995 > │ let v146 : string = $"%A{v82}" │
00:01:37 verbose #3996 > │ let v147 : (US0 []) = Array.zeroCreate<US0> │
00:01:37 verbose #3997 > │ (System.Convert.ToInt32(v132)) │
00:01:37 verbose #3998 > │ let v148 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #3999 > │ while method5(v132, v148) do │
00:01:37 verbose #4000 > │ let v150 : uint64 = v148.l0 │
00:01:37 verbose #4001 > │ let struct (v151 : US0, v152 : int64) = v104.[int v150] │
00:01:37 verbose #4002 > │ v147.[int v150] <- v151 │
00:01:37 verbose #4003 > │ let v153 : uint64 = v150 + 1UL │
00:01:37 verbose #4004 > │ v148.l0 <- v153 │
00:01:37 verbose #4005 > │ () │
00:01:37 verbose #4006 > │ let v154 : US0 = v147.[int 0UL] │
00:01:37 verbose #4007 > │ let v155 : string = $"%A{v154}" │
00:01:37 verbose #4008 > │ let v156 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4009 > │ (System.Convert.ToInt32(v132)) │
00:01:37 verbose #4010 > │ let v157 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4011 > │ while method5(v132, v157) do │
00:01:37 verbose #4012 > │ let v159 : uint64 = v157.l0 │
00:01:37 verbose #4013 > │ let struct (v160 : US0, v161 : int64) = v104.[int v159] │
00:01:37 verbose #4014 > │ v156.[int v159] <- v161 │
00:01:37 verbose #4015 > │ let v162 : uint64 = v159 + 1UL │
00:01:37 verbose #4016 > │ v157.l0 <- v162 │
00:01:37 verbose #4017 > │ () │
00:01:37 verbose #4018 > │ v75.[int v78] <- struct (v146, v83, v155, v156) │
00:01:37 verbose #4019 > │ let v163 : uint64 = v78 + 1UL │
00:01:37 verbose #4020 > │ v76.l0 <- v163 │
00:01:37 verbose #4021 > │ () │
00:01:37 verbose #4022 > │ let v164 : uint64 = System.Convert.ToUInt64 v75.Length │
00:01:37 verbose #4023 > │ let v165 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:37 verbose #4024 > │ US1)> (System.Convert.ToInt32(v164)) │
00:01:37 verbose #4025 > │ let v166 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4026 > │ while method5(v164, v166) do │
00:01:37 verbose #4027 > │ let v168 : uint64 = v166.l0 │
00:01:37 verbose #4028 > │ let struct (v169 : string, v170 : string, v171 : string, v172 : │
00:01:37 verbose #4029 > │ (int64 [])) = v75.[int v168] │
00:01:37 verbose #4030 > │ let v173 : uint64 = System.Convert.ToUInt64 v172.Length │
00:01:37 verbose #4031 > │ let v174 : UH3 = UH3_0 │
00:01:37 verbose #4032 > │ let v175 : Mut2 = {l0 = 0UL; l1 = v174; l2 = 0L} : Mut2 │
00:01:37 verbose #4033 > │ while method15(v173, v175) do │
00:01:37 verbose #4034 > │ let v177 : uint64 = v175.l0 │
00:01:37 verbose #4035 > │ let struct (v178 : UH3, v179 : int64) = v175.l1, v175.l2 │
00:01:37 verbose #4036 > │ let v180 : int64 = v172.[int v177] │
00:01:37 verbose #4037 > │ let v181 : int64 = v179 + 1L │
00:01:37 verbose #4038 > │ let v182 : uint64 = v177 + 1UL │
00:01:37 verbose #4039 > │ let v183 : UH3 = UH3_1(v179, v180, v178) │
00:01:37 verbose #4040 > │ v175.l0 <- v182 │
00:01:37 verbose #4041 > │ v175.l1 <- v183 │
00:01:37 verbose #4042 > │ v175.l2 <- v181 │
00:01:37 verbose #4043 > │ () │
00:01:37 verbose #4044 > │ let struct (v184 : UH3, v185 : int64) = v175.l1, v175.l2 │
00:01:37 verbose #4045 > │ let v186 : UH3 = UH3_0 │
00:01:37 verbose #4046 > │ let v187 : UH3 = method16(v184, v186) │
00:01:37 verbose #4047 > │ let v188 : (struct (int64 * int64) []) = method17(v187) │
00:01:37 verbose #4048 > │ let v189 : int32 = v188.Length │
00:01:37 verbose #4049 > │ let v190 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:01:37 verbose #4050 > │ (int64 * int64)> (v189) │
00:01:37 verbose #4051 > │ let v191 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #4052 > │ while method20(v189, v191) do │
00:01:37 verbose #4053 > │ let v193 : int32 = v191.l0 │
00:01:37 verbose #4054 > │ let struct (v194 : int64, v195 : int64) = v188.[int v193] │
00:01:37 verbose #4055 > │ let v196 : int64 = v194 + 1L │
00:01:37 verbose #4056 > │ v190.[int v193] <- struct (v196, v195) │
00:01:37 verbose #4057 > │ let v197 : int32 = v193 + 1 │
00:01:37 verbose #4058 > │ v191.l0 <- v197 │
00:01:37 verbose #4059 > │ () │
00:01:37 verbose #4060 > │ let v198 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:01:37 verbose #4061 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:01:37 verbose #4062 > │ let v199 : (struct (int64 * int64) -> int64) = closure6() │
00:01:37 verbose #4063 > │ let v200 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:01:37 verbose #4064 > │ ])) = v198 v199 │
00:01:37 verbose #4065 > │ let v201 : (struct (int64 * int64) []) = v200 v190 │
00:01:37 verbose #4066 > │ let struct (v202 : int64, v203 : int64) = v201.[int 0] │
00:01:37 verbose #4067 > │ let v204 : string = $"%A{struct (v202, v203)}" │
00:01:37 verbose #4068 > │ let v205 : bool = v169 = v171 │
00:01:37 verbose #4069 > │ let v210 : US1 = │
00:01:37 verbose #4070 > │ if v205 then │
00:01:37 verbose #4071 > │ let v206 : System.ConsoleColor = │
00:01:37 verbose #4072 > │ System.ConsoleColor.DarkGreen │
00:01:37 verbose #4073 > │ US1_0(v206) │
00:01:37 verbose #4074 > │ else │
00:01:37 verbose #4075 > │ let v208 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:01:37 verbose #4076 > │ US1_0(v208) │
00:01:37 verbose #4077 > │ let v211 : UH2 = UH2_0 │
00:01:37 verbose #4078 > │ let v212 : UH2 = UH2_1(v204, v211) │
00:01:37 verbose #4079 > │ let v213 : UH2 = UH2_1(v171, v212) │
00:01:37 verbose #4080 > │ let v214 : UH2 = UH2_1(v169, v213) │
00:01:37 verbose #4081 > │ let v215 : UH2 = UH2_1(v170, v214) │
00:01:37 verbose #4082 > │ v165.[int v168] <- struct (v215, v210) │
00:01:37 verbose #4083 > │ let v216 : uint64 = v168 + 1UL │
00:01:37 verbose #4084 > │ v166.l0 <- v216 │
00:01:37 verbose #4085 > │ () │
00:01:37 verbose #4086 > │ let v217 : string = "Input" │
00:01:37 verbose #4087 > │ let v218 : string = "Expected" │
00:01:37 verbose #4088 > │ let v219 : string = "Result" │
00:01:37 verbose #4089 > │ let v220 : string = "Best" │
00:01:37 verbose #4090 > │ let v221 : UH2 = UH2_0 │
00:01:37 verbose #4091 > │ let v222 : UH2 = UH2_1(v220, v221) │
00:01:37 verbose #4092 > │ let v223 : UH2 = UH2_1(v219, v222) │
00:01:37 verbose #4093 > │ let v224 : UH2 = UH2_1(v218, v223) │
00:01:37 verbose #4094 > │ let v225 : UH2 = UH2_1(v217, v224) │
00:01:37 verbose #4095 > │ let v226 : US1 = US1_1 │
00:01:37 verbose #4096 > │ let v227 : string = "---" │
00:01:37 verbose #4097 > │ let v228 : UH2 = UH2_0 │
00:01:37 verbose #4098 > │ let v229 : UH2 = UH2_1(v227, v228) │
00:01:37 verbose #4099 > │ let v230 : UH2 = UH2_1(v227, v229) │
00:01:37 verbose #4100 > │ let v231 : UH2 = UH2_1(v227, v230) │
00:01:37 verbose #4101 > │ let v232 : UH2 = UH2_1(v227, v231) │
00:01:37 verbose #4102 > │ let v233 : US1 = US1_1 │
00:01:37 verbose #4103 > │ let v234 : UH4 = UH4_0 │
00:01:37 verbose #4104 > │ let v235 : UH4 = UH4_1(v232, v233, v234) │
00:01:37 verbose #4105 > │ let v236 : UH4 = UH4_1(v225, v226, v235) │
00:01:37 verbose #4106 > │ let v237 : (struct (UH2 * US1) []) = method21(v236) │
00:01:37 verbose #4107 > │ let v238 : uint64 = System.Convert.ToUInt64 v237.Length │
00:01:37 verbose #4108 > │ let v239 : uint64 = System.Convert.ToUInt64 v165.Length │
00:01:37 verbose #4109 > │ let v240 : uint64 = v238 + v239 │
00:01:37 verbose #4110 > │ let v241 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:37 verbose #4111 > │ US1)> (System.Convert.ToInt32(v240)) │
00:01:37 verbose #4112 > │ let v242 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4113 > │ while method5(v240, v242) do │
00:01:37 verbose #4114 > │ let v244 : uint64 = v242.l0 │
00:01:37 verbose #4115 > │ let v245 : bool = v244 < v238 │
00:01:37 verbose #4116 > │ let struct (v251 : UH2, v252 : US1) = │
00:01:37 verbose #4117 > │ if v245 then │
00:01:37 verbose #4118 > │ let struct (v246 : UH2, v247 : US1) = v237.[int v244] │
00:01:37 verbose #4119 > │ struct (v246, v247) │
00:01:37 verbose #4120 > │ else │
00:01:37 verbose #4121 > │ let v248 : uint64 = v244 - v238 │
00:01:37 verbose #4122 > │ let struct (v249 : UH2, v250 : US1) = v165.[int v248] │
00:01:37 verbose #4123 > │ struct (v249, v250) │
00:01:37 verbose #4124 > │ v241.[int v244] <- struct (v251, v252) │
00:01:37 verbose #4125 > │ let v253 : uint64 = v244 + 1UL │
00:01:37 verbose #4126 > │ v242.l0 <- v253 │
00:01:37 verbose #4127 > │ () │
00:01:37 verbose #4128 > │ let v254 : uint64 = System.Convert.ToUInt64 v241.Length │
00:01:37 verbose #4129 > │ let v255 : ((string []) []) = Array.zeroCreate<(string [])> │
00:01:37 verbose #4130 > │ (System.Convert.ToInt32(v254)) │
00:01:37 verbose #4131 > │ let v256 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4132 > │ while method5(v254, v256) do │
00:01:37 verbose #4133 > │ let v258 : uint64 = v256.l0 │
00:01:37 verbose #4134 > │ let struct (v259 : UH2, v260 : US1) = v241.[int v258] │
00:01:37 verbose #4135 > │ let v261 : (string []) = method24(v259) │
00:01:37 verbose #4136 > │ v255.[int v258] <- v261 │
00:01:37 verbose #4137 > │ let v262 : uint64 = v258 + 1UL │
00:01:37 verbose #4138 > │ v256.l0 <- v262 │
00:01:37 verbose #4139 > │ () │
00:01:37 verbose #4140 > │ let v263 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:01:37 verbose #4141 > │ let v264 : ((string []) []) = v263 v255 │
00:01:37 verbose #4142 > │ let v265 : uint64 = System.Convert.ToUInt64 v264.Length │
00:01:37 verbose #4143 > │ let v266 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4144 > │ (System.Convert.ToInt32(v265)) │
00:01:37 verbose #4145 > │ let v267 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4146 > │ while method5(v265, v267) do │
00:01:37 verbose #4147 > │ let v269 : uint64 = v267.l0 │
00:01:37 verbose #4148 > │ let v270 : (string []) = v264.[int v269] │
00:01:37 verbose #4149 > │ let v271 : uint64 = System.Convert.ToUInt64 v270.Length │
00:01:37 verbose #4150 > │ let v272 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4151 > │ (System.Convert.ToInt32(v271)) │
00:01:37 verbose #4152 > │ let v273 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4153 > │ while method5(v271, v273) do │
00:01:37 verbose #4154 > │ let v275 : uint64 = v273.l0 │
00:01:37 verbose #4155 > │ let v276 : string = v270.[int v275] │
00:01:37 verbose #4156 > │ let v277 : int64 = System.Convert.ToInt64 v276.Length │
00:01:37 verbose #4157 > │ v272.[int v275] <- v277 │
00:01:37 verbose #4158 > │ let v278 : uint64 = v275 + 1UL │
00:01:37 verbose #4159 > │ v273.l0 <- v278 │
00:01:37 verbose #4160 > │ () │
00:01:37 verbose #4161 > │ let v279 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:01:37 verbose #4162 > │ let v280 : (int64 []) = v279 v272 │
00:01:37 verbose #4163 > │ let v281 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:01:37 verbose #4164 > │ let v282 : ((int64 []) -> int64 option) = v281 0 │
00:01:37 verbose #4165 > │ let v283 : int64 option = v282 v280 │
00:01:37 verbose #4166 > │ let v284 : (int64 -> US2) = method27() │
00:01:37 verbose #4167 > │ let v285 : US2 = US2_1 │
00:01:37 verbose #4168 > │ let v286 : US2 = v283 |> Option.map v284 |> Option.defaultValue v285 │
00:01:37 verbose #4169 > │ let v289 : int64 = │
00:01:37 verbose #4170 > │ match v286 with │
00:01:37 verbose #4171 > │ | US2_1 -> (* None *) │
00:01:37 verbose #4172 > │ 0L │
00:01:37 verbose #4173 > │ | US2_0(v287) -> (* Some *) │
00:01:37 verbose #4174 > │ v287 │
00:01:37 verbose #4175 > │ v266.[int v269] <- v289 │
00:01:37 verbose #4176 > │ let v290 : uint64 = v269 + 1UL │
00:01:37 verbose #4177 > │ v267.l0 <- v290 │
00:01:37 verbose #4178 > │ () │
00:01:37 verbose #4179 > │ let v291 : uint64 = System.Convert.ToUInt64 v266.Length │
00:01:37 verbose #4180 > │ let v292 : UH5 = UH5_0 │
00:01:37 verbose #4181 > │ let v293 : Mut3 = {l0 = 0UL; l1 = v292; l2 = 0} : Mut3 │
00:01:37 verbose #4182 > │ while method28(v291, v293) do │
00:01:37 verbose #4183 > │ let v295 : uint64 = v293.l0 │
00:01:37 verbose #4184 > │ let struct (v296 : UH5, v297 : int32) = v293.l1, v293.l2 │
00:01:37 verbose #4185 > │ let v298 : int64 = v266.[int v295] │
00:01:37 verbose #4186 > │ let v299 : int32 = v297 + 1 │
00:01:37 verbose #4187 > │ let v300 : uint64 = v295 + 1UL │
00:01:37 verbose #4188 > │ let v301 : UH5 = UH5_1(v297, v298, v296) │
00:01:37 verbose #4189 > │ v293.l0 <- v300 │
00:01:37 verbose #4190 > │ v293.l1 <- v301 │
00:01:37 verbose #4191 > │ v293.l2 <- v299 │
00:01:37 verbose #4192 > │ () │
00:01:37 verbose #4193 > │ let struct (v302 : UH5, v303 : int32) = v293.l1, v293.l2 │
00:01:37 verbose #4194 > │ let v304 : UH5 = UH5_0 │
00:01:37 verbose #4195 > │ let v305 : UH5 = method29(v302, v304) │
00:01:37 verbose #4196 > │ let v306 : (struct (int32 * int64) []) = method30(v305) │
00:01:37 verbose #4197 > │ let v307 : Map<int32, int64> = v306 |> Array.map (fun (struct (a, b)) -> │
00:01:37 verbose #4198 > │ a, b) |> Map.ofArray │
00:01:37 verbose #4199 > │ let v308 : (struct ((string []) * US1) []) = Array.zeroCreate<struct │
00:01:37 verbose #4200 > │ ((string []) * US1)> (System.Convert.ToInt32(v254)) │
00:01:37 verbose #4201 > │ let v309 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4202 > │ while method5(v254, v309) do │
00:01:37 verbose #4203 > │ let v311 : uint64 = v309.l0 │
00:01:37 verbose #4204 > │ let struct (v312 : UH2, v313 : US1) = v241.[int v311] │
00:01:37 verbose #4205 > │ let v314 : UH6 = UH6_0 │
00:01:37 verbose #4206 > │ let v315 : int32 = 0 │
00:01:37 verbose #4207 > │ let struct (v316 : UH6, v317 : int32) = method33(v312, v314, v315) │
00:01:37 verbose #4208 > │ let v318 : UH6 = UH6_0 │
00:01:37 verbose #4209 > │ let v319 : UH6 = method34(v316, v318) │
00:01:37 verbose #4210 > │ let v320 : UH2 = UH2_0 │
00:01:37 verbose #4211 > │ let v321 : UH2 = method35(v307, v319, v320) │
00:01:37 verbose #4212 > │ let v322 : (string []) = method36(v321) │
00:01:37 verbose #4213 > │ v308.[int v311] <- struct (v322, v313) │
00:01:37 verbose #4214 > │ let v323 : uint64 = v311 + 1UL │
00:01:37 verbose #4215 > │ v309.l0 <- v323 │
00:01:37 verbose #4216 > │ () │
00:01:37 verbose #4217 > │ System.Console.WriteLine v27 │
00:01:37 verbose #4218 > │ let v324 : uint64 = System.Convert.ToUInt64 v308.Length │
00:01:37 verbose #4219 > │ let v325 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4220 > │ while method5(v324, v325) do │
00:01:37 verbose #4221 > │ let v327 : uint64 = v325.l0 │
00:01:37 verbose #4222 > │ let struct (v328 : (string []), v329 : US1) = v308.[int v327] │
00:01:37 verbose #4223 > │ match v329 with │
00:01:37 verbose #4224 > │ | US1_1 -> (* None *) │
00:01:37 verbose #4225 > │ let v333 : unit option = None │
00:01:37 verbose #4226 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:01:37 verbose #4227 > │ │
00:01:37 verbose #4228 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4229 > │ │
00:01:37 verbose #4230 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4231 > │ () │
00:01:37 verbose #4232 > │ #endif │
00:01:37 verbose #4233 > │ │
00:01:37 verbose #4234 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4235 > │ () │
00:01:37 verbose #4236 > │ #endif │
00:01:37 verbose #4237 > │ │
00:01:37 verbose #4238 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4239 > │ () │
00:01:37 verbose #4240 > │ #endif │
00:01:37 verbose #4241 > │ │
00:01:37 verbose #4242 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4243 > │ () │
00:01:37 verbose #4244 > │ #endif │
00:01:37 verbose #4245 > │ │
00:01:37 verbose #4246 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4247 > │ () │
00:01:37 verbose #4248 > │ #endif │
00:01:37 verbose #4249 > │ │
00:01:37 verbose #4250 > │ #else │
00:01:37 verbose #4251 > │ System.Console.ResetColor () │
00:01:37 verbose #4252 > │ () │
00:01:37 verbose #4253 > │ #endif │
00:01:37 verbose #4254 > │ |> fun x -> _v333 <- Some x │
00:01:37 verbose #4255 > │ _v333.Value │
00:01:37 verbose #4256 > │ () │
00:01:37 verbose #4257 > │ | US1_0(v330) -> (* Some *) │
00:01:37 verbose #4258 > │ let v331 : unit option = None │
00:01:37 verbose #4259 > │ let v332 : bool = true in let mutable _v331 = v331 │
00:01:37 verbose #4260 > │ │
00:01:37 verbose #4261 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4262 > │ │
00:01:37 verbose #4263 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4264 > │ () │
00:01:37 verbose #4265 > │ #endif │
00:01:37 verbose #4266 > │ │
00:01:37 verbose #4267 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4268 > │ () │
00:01:37 verbose #4269 > │ #endif │
00:01:37 verbose #4270 > │ │
00:01:37 verbose #4271 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4272 > │ () │
00:01:37 verbose #4273 > │ #endif │
00:01:37 verbose #4274 > │ │
00:01:37 verbose #4275 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4276 > │ () │
00:01:37 verbose #4277 > │ #endif │
00:01:37 verbose #4278 > │ │
00:01:37 verbose #4279 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4280 > │ () │
00:01:37 verbose #4281 > │ #endif │
00:01:37 verbose #4282 > │ │
00:01:37 verbose #4283 > │ #else │
00:01:37 verbose #4284 > │ System.Console.ForegroundColor <- v330 │
00:01:37 verbose #4285 > │ () │
00:01:37 verbose #4286 > │ #endif │
00:01:37 verbose #4287 > │ |> fun x -> _v331 <- Some x │
00:01:37 verbose #4288 > │ _v331.Value │
00:01:37 verbose #4289 > │ () │
00:01:37 verbose #4290 > │ let v335 : string = "\t| " │
00:01:37 verbose #4291 > │ let v336 : string = System.String.Join (v335, v328) │
00:01:37 verbose #4292 > │ System.Console.WriteLine v336 │
00:01:37 verbose #4293 > │ let v337 : unit option = None │
00:01:37 verbose #4294 > │ let v338 : bool = true in let mutable _v337 = v337 │
00:01:37 verbose #4295 > │ │
00:01:37 verbose #4296 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4297 > │ │
00:01:37 verbose #4298 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4299 > │ () │
00:01:37 verbose #4300 > │ #endif │
00:01:37 verbose #4301 > │ │
00:01:37 verbose #4302 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4303 > │ () │
00:01:37 verbose #4304 > │ #endif │
00:01:37 verbose #4305 > │ │
00:01:37 verbose #4306 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4307 > │ () │
00:01:37 verbose #4308 > │ #endif │
00:01:37 verbose #4309 > │ │
00:01:37 verbose #4310 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4311 > │ () │
00:01:37 verbose #4312 > │ #endif │
00:01:37 verbose #4313 > │ │
00:01:37 verbose #4314 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4315 > │ () │
00:01:37 verbose #4316 > │ #endif │
00:01:37 verbose #4317 > │ │
00:01:37 verbose #4318 > │ #else │
00:01:37 verbose #4319 > │ System.Console.ResetColor () │
00:01:37 verbose #4320 > │ () │
00:01:37 verbose #4321 > │ #endif │
00:01:37 verbose #4322 > │ |> fun x -> _v337 <- Some x │
00:01:37 verbose #4323 > │ _v337.Value │
00:01:37 verbose #4324 > │ let v339 : uint64 = v327 + 1UL │
00:01:37 verbose #4325 > │ v325.l0 <- v339 │
00:01:37 verbose #4326 > │ () │
00:01:37 verbose #4327 > │ let v340 : ((float []) []) = Array.zeroCreate<(float [])> │
00:01:37 verbose #4328 > │ (System.Convert.ToInt32(v164)) │
00:01:37 verbose #4329 > │ let v341 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4330 > │ while method5(v164, v341) do │
00:01:37 verbose #4331 > │ let v343 : uint64 = v341.l0 │
00:01:37 verbose #4332 > │ let struct (v344 : string, v345 : string, v346 : string, v347 : │
00:01:37 verbose #4333 > │ (int64 [])) = v75.[int v343] │
00:01:37 verbose #4334 > │ let v348 : (int64 -> float) = float │
00:01:37 verbose #4335 > │ let v349 : uint64 = System.Convert.ToUInt64 v347.Length │
00:01:37 verbose #4336 > │ let v350 : (float []) = Array.zeroCreate<float> │
00:01:37 verbose #4337 > │ (System.Convert.ToInt32(v349)) │
00:01:37 verbose #4338 > │ let v351 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4339 > │ while method5(v349, v351) do │
00:01:37 verbose #4340 > │ let v353 : uint64 = v351.l0 │
00:01:37 verbose #4341 > │ let v354 : int64 = v347.[int v353] │
00:01:37 verbose #4342 > │ let v355 : float = v348 v354 │
00:01:37 verbose #4343 > │ v350.[int v353] <- v355 │
00:01:37 verbose #4344 > │ let v356 : uint64 = v353 + 1UL │
00:01:37 verbose #4345 > │ v351.l0 <- v356 │
00:01:37 verbose #4346 > │ () │
00:01:37 verbose #4347 > │ v340.[int v343] <- v350 │
00:01:37 verbose #4348 > │ let v357 : uint64 = v343 + 1UL │
00:01:37 verbose #4349 > │ v341.l0 <- v357 │
00:01:37 verbose #4350 > │ () │
00:01:37 verbose #4351 > │ let v358 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:01:37 verbose #4352 > │ let v359 : ((float []) []) = v358 v340 │
00:01:37 verbose #4353 > │ let v360 : uint64 = System.Convert.ToUInt64 v359.Length │
00:01:37 verbose #4354 > │ let v361 : (float []) = Array.zeroCreate<float> │
00:01:37 verbose #4355 > │ (System.Convert.ToInt32(v360)) │
00:01:37 verbose #4356 > │ let v362 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4357 > │ while method5(v360, v362) do │
00:01:37 verbose #4358 > │ let v364 : uint64 = v362.l0 │
00:01:37 verbose #4359 > │ let v365 : (float []) = v359.[int v364] │
00:01:37 verbose #4360 > │ let v366 : ((float []) -> float) = Array.average │
00:01:37 verbose #4361 > │ let v367 : float = v366 v365 │
00:01:37 verbose #4362 > │ v361.[int v364] <- v367 │
00:01:37 verbose #4363 > │ let v368 : uint64 = v364 + 1UL │
00:01:37 verbose #4364 > │ v362.l0 <- v368 │
00:01:37 verbose #4365 > │ () │
00:01:37 verbose #4366 > │ let v369 : (float -> int64) = int64 │
00:01:37 verbose #4367 > │ let v370 : uint64 = System.Convert.ToUInt64 v361.Length │
00:01:37 verbose #4368 > │ let v371 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4369 > │ (System.Convert.ToInt32(v370)) │
00:01:37 verbose #4370 > │ let v372 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4371 > │ while method5(v370, v372) do │
00:01:37 verbose #4372 > │ let v374 : uint64 = v372.l0 │
00:01:37 verbose #4373 > │ let v375 : float = v361.[int v374] │
00:01:37 verbose #4374 > │ let v376 : int64 = v369 v375 │
00:01:37 verbose #4375 > │ v371.[int v374] <- v376 │
00:01:37 verbose #4376 > │ let v377 : uint64 = v374 + 1UL │
00:01:37 verbose #4377 > │ v372.l0 <- v377 │
00:01:37 verbose #4378 > │ () │
00:01:37 verbose #4379 > │ let v378 : uint64 = System.Convert.ToUInt64 v371.Length │
00:01:37 verbose #4380 > │ let v379 : UH5 = UH5_0 │
00:01:37 verbose #4381 > │ let v380 : Mut3 = {l0 = 0UL; l1 = v379; l2 = 0} : Mut3 │
00:01:37 verbose #4382 > │ while method28(v378, v380) do │
00:01:37 verbose #4383 > │ let v382 : uint64 = v380.l0 │
00:01:37 verbose #4384 > │ let struct (v383 : UH5, v384 : int32) = v380.l1, v380.l2 │
00:01:37 verbose #4385 > │ let v385 : int64 = v371.[int v382] │
00:01:37 verbose #4386 > │ let v386 : int32 = v384 + 1 │
00:01:37 verbose #4387 > │ let v387 : uint64 = v382 + 1UL │
00:01:37 verbose #4388 > │ let v388 : UH5 = UH5_1(v384, v385, v383) │
00:01:37 verbose #4389 > │ v380.l0 <- v387 │
00:01:37 verbose #4390 > │ v380.l1 <- v388 │
00:01:37 verbose #4391 > │ v380.l2 <- v386 │
00:01:37 verbose #4392 > │ () │
00:01:37 verbose #4393 > │ let struct (v389 : UH5, v390 : int32) = v380.l1, v380.l2 │
00:01:37 verbose #4394 > │ let v391 : UH5 = UH5_0 │
00:01:37 verbose #4395 > │ let v392 : UH5 = method29(v389, v391) │
00:01:37 verbose #4396 > │ let v393 : (struct (int32 * int64) []) = method39(v392) │
00:01:37 verbose #4397 > │ System.Console.WriteLine v27 │
00:01:37 verbose #4398 > │ let v394 : string = "Average Ranking " │
00:01:37 verbose #4399 > │ System.Console.WriteLine v394 │
00:01:37 verbose #4400 > │ let v395 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:01:37 verbose #4401 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:01:37 verbose #4402 > │ let v396 : (struct (int32 * int64) -> int64) = closure8() │
00:01:37 verbose #4403 > │ let v397 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:01:37 verbose #4404 > │ = v395 v396 │
00:01:37 verbose #4405 > │ let v398 : (struct (int32 * int64) []) = v397 v393 │
00:01:37 verbose #4406 > │ let v399 : uint64 = System.Convert.ToUInt64 v398.Length │
00:01:37 verbose #4407 > │ let v400 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4408 > │ while method5(v399, v400) do │
00:01:37 verbose #4409 > │ let v402 : uint64 = v400.l0 │
00:01:37 verbose #4410 > │ let struct (v403 : int32, v404 : int64) = v398.[int v402] │
00:01:37 verbose #4411 > │ let v405 : string = $"Test case %d{v403 + 1}. Average Time: %A{v404} │
00:01:37 verbose #4412 > │ " │
00:01:37 verbose #4413 > │ System.Console.WriteLine v405 │
00:01:37 verbose #4414 > │ let v406 : uint64 = v402 + 1UL │
00:01:37 verbose #4415 > │ v400.l0 <- v406 │
00:01:37 verbose #4416 > │ () │
00:01:37 verbose #4417 > │ () │
00:01:37 verbose #4418 > │ and method0 () : unit = │
00:01:37 verbose #4419 > │ let v0 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4420 > │ let v1 : int32 = v0.Length │
00:01:37 verbose #4421 > │ let v2 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4422 > │ let v3 : int32 = v2.Length │
00:01:37 verbose #4423 > │ let v4 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4424 > │ let v5 : int32 = v4.Length │
00:01:37 verbose #4425 > │ let v6 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4426 > │ let v7 : int32 = v6.Length │
00:01:37 verbose #4427 > │ let v8 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:37 verbose #4428 > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #4429 > │ while method1(v9) do │
00:01:37 verbose #4430 > │ let v11 : int32 = v9.l0 │
00:01:37 verbose #4431 > │ let v12 : int32 = 1 + v11 │
00:01:37 verbose #4432 > │ v8.[int v11] <- v12 │
00:01:37 verbose #4433 > │ let v13 : int32 = v11 + 1 │
00:01:37 verbose #4434 > │ v9.l0 <- v13 │
00:01:37 verbose #4435 > │ () │
00:01:37 verbose #4436 > │ let v14 : int32 = v8.Length │
00:01:37 verbose #4437 > │ let v15 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4438 > │ let v16 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4439 > │ let v17 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4440 > │ let v18 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:37 verbose #4441 > │ let v19 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:37 verbose #4442 > │ let v20 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #4443 > │ while method1(v20) do │
00:01:37 verbose #4444 > │ let v22 : int32 = v20.l0 │
00:01:37 verbose #4445 > │ let v23 : int32 = 1 + v22 │
00:01:37 verbose #4446 > │ v19.[int v22] <- v23 │
00:01:37 verbose #4447 > │ let v24 : int32 = v22 + 1 │
00:01:37 verbose #4448 > │ v20.l0 <- v24 │
00:01:37 verbose #4449 > │ () │
00:01:37 verbose #4450 > │ let v25 : (unit -> unit) = closure0() │
00:01:37 verbose #4451 > │ let v26 : string = nameof v25 │
00:01:37 verbose #4452 > │ let v27 : string = "" │
00:01:37 verbose #4453 > │ System.Console.WriteLine v27 │
00:01:37 verbose #4454 > │ System.Console.WriteLine v27 │
00:01:37 verbose #4455 > │ let v28 : string = $"Test: {v26}" │
00:01:37 verbose #4456 > │ System.Console.WriteLine v28 │
00:01:37 verbose #4457 > │ let v29 : int32 = 6 │
00:01:37 verbose #4458 > │ let v30 : int32 = 3 │
00:01:37 verbose #4459 > │ let v31 : US0 = US0_0(v30) │
00:01:37 verbose #4460 > │ let v32 : int32 = 1 │
00:01:37 verbose #4461 > │ let v33 : int32 = 0 │
00:01:37 verbose #4462 > │ let v34 : US0 = US0_0(v33) │
00:01:37 verbose #4463 > │ let v35 : int32 = 11 │
00:01:37 verbose #4464 > │ let v36 : int32 = 6 │
00:01:37 verbose #4465 > │ let v37 : US0 = US0_0(v36) │
00:01:37 verbose #4466 > │ let v38 : int32 = 12 │
00:01:37 verbose #4467 > │ let v39 : US0 = US0_1 │
00:01:37 verbose #4468 > │ let v40 : int32 = 60 │
00:01:37 verbose #4469 > │ let v41 : int32 = 59 │
00:01:37 verbose #4470 > │ let v42 : US0 = US0_0(v41) │
00:01:37 verbose #4471 > │ let v43 : int32 = 6 │
00:01:37 verbose #4472 > │ let v44 : int32 = 7 │
00:01:37 verbose #4473 > │ let v45 : int32 = 3 │
00:01:37 verbose #4474 > │ let v46 : US0 = US0_0(v45) │
00:01:37 verbose #4475 > │ let v47 : int32 = 1 │
00:01:37 verbose #4476 > │ let v48 : int32 = 7 │
00:01:37 verbose #4477 > │ let v49 : int32 = 0 │
00:01:37 verbose #4478 > │ let v50 : US0 = US0_0(v49) │
00:01:37 verbose #4479 > │ let v51 : int32 = 11 │
00:01:37 verbose #4480 > │ let v52 : int32 = 7 │
00:01:37 verbose #4481 > │ let v53 : int32 = 6 │
00:01:37 verbose #4482 > │ let v54 : US0 = US0_0(v53) │
00:01:37 verbose #4483 > │ let v55 : int32 = 12 │
00:01:37 verbose #4484 > │ let v56 : int32 = 7 │
00:01:37 verbose #4485 > │ let v57 : US0 = US0_1 │
00:01:37 verbose #4486 > │ let v58 : int32 = 60 │
00:01:37 verbose #4487 > │ let v59 : int32 = 100 │
00:01:37 verbose #4488 > │ let v60 : int32 = 59 │
00:01:37 verbose #4489 > │ let v61 : US0 = US0_0(v60) │
00:01:37 verbose #4490 > │ let v62 : UH0 = UH0_0 │
00:01:37 verbose #4491 > │ let v63 : UH0 = UH0_1(v19, v58, v59, v61, v62) │
00:01:37 verbose #4492 > │ let v64 : UH0 = UH0_1(v18, v55, v56, v57, v63) │
00:01:37 verbose #4493 > │ let v65 : UH0 = UH0_1(v17, v51, v52, v54, v64) │
00:01:37 verbose #4494 > │ let v66 : UH0 = UH0_1(v16, v47, v48, v50, v65) │
00:01:37 verbose #4495 > │ let v67 : UH0 = UH0_1(v15, v43, v44, v46, v66) │
00:01:37 verbose #4496 > │ let v68 : UH0 = UH0_1(v8, v40, v14, v42, v67) │
00:01:37 verbose #4497 > │ let v69 : UH0 = UH0_1(v6, v38, v7, v39, v68) │
00:01:37 verbose #4498 > │ let v70 : UH0 = UH0_1(v4, v35, v5, v37, v69) │
00:01:37 verbose #4499 > │ let v71 : UH0 = UH0_1(v2, v32, v3, v34, v70) │
00:01:37 verbose #4500 > │ let v72 : UH0 = UH0_1(v0, v29, v1, v31, v71) │
00:01:37 verbose #4501 > │ let v73 : (struct ((int32 []) * int32 * int32 * US0) []) = method2(v72) │
00:01:37 verbose #4502 > │ let v74 : uint64 = System.Convert.ToUInt64 v73.Length │
00:01:37 verbose #4503 > │ let v75 : (struct (string * string * string * (int64 [])) []) = │
00:01:37 verbose #4504 > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:01:37 verbose #4505 > │ (System.Convert.ToInt32(v74)) │
00:01:37 verbose #4506 > │ let v76 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4507 > │ while method5(v74, v76) do │
00:01:37 verbose #4508 > │ let v78 : uint64 = v76.l0 │
00:01:37 verbose #4509 > │ let struct (v79 : (int32 []), v80 : int32, v81 : int32, v82 : US0) = │
00:01:37 verbose #4510 > │ v73.[int v78] │
00:01:37 verbose #4511 > │ let v83 : string = $"%A{struct (v79, v80, v81)}" │
00:01:37 verbose #4512 > │ System.Console.WriteLine v27 │
00:01:37 verbose #4513 > │ let v84 : string = $"Solution: {v83} " │
00:01:37 verbose #4514 > │ System.Console.WriteLine v84 │
00:01:37 verbose #4515 > │ let v85 : int32 = 0 │
00:01:37 verbose #4516 > │ let v86 : string = "semi_open_1" │
00:01:37 verbose #4517 > │ let v87 : (struct ((int32 []) * int32 * int32) -> US0) = closure1() │
00:01:37 verbose #4518 > │ let v88 : int32 = 1 │
00:01:37 verbose #4519 > │ let v89 : string = "closed_1" │
00:01:37 verbose #4520 > │ let v90 : (struct ((int32 []) * int32 * int32) -> US0) = closure2() │
00:01:37 verbose #4521 > │ let v91 : int32 = 2 │
00:01:37 verbose #4522 > │ let v92 : string = "semi_open_2" │
00:01:37 verbose #4523 > │ let v93 : (struct ((int32 []) * int32 * int32) -> US0) = closure3() │
00:01:37 verbose #4524 > │ let v94 : int32 = 3 │
00:01:37 verbose #4525 > │ let v95 : string = "closed_2" │
00:01:37 verbose #4526 > │ let v96 : (struct ((int32 []) * int32 * int32) -> US0) = closure4() │
00:01:37 verbose #4527 > │ let v97 : UH1 = UH1_0 │
00:01:37 verbose #4528 > │ let v98 : UH1 = UH1_1(v94, v95, v96, v97) │
00:01:37 verbose #4529 > │ let v99 : UH1 = UH1_1(v91, v92, v93, v98) │
00:01:37 verbose #4530 > │ let v100 : UH1 = UH1_1(v88, v89, v90, v99) │
00:01:37 verbose #4531 > │ let v101 : UH1 = UH1_1(v85, v86, v87, v100) │
00:01:37 verbose #4532 > │ let v102 : (struct (int32 * string * (struct ((int32 []) * int32 * │
00:01:37 verbose #4533 > │ int32) -> US0)) []) = method10(v101) │
00:01:37 verbose #4534 > │ let v103 : uint64 = System.Convert.ToUInt64 v102.Length │
00:01:37 verbose #4535 > │ let v104 : (struct (US0 * int64) []) = Array.zeroCreate<struct (US0 │
00:01:37 verbose #4536 > │ * int64)> (System.Convert.ToInt32(v103)) │
00:01:37 verbose #4537 > │ let v105 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4538 > │ while method5(v103, v105) do │
00:01:37 verbose #4539 > │ let v107 : uint64 = v105.l0 │
00:01:37 verbose #4540 > │ let struct (v108 : int32, v109 : string, v110 : (struct ((int32 │
00:01:37 verbose #4541 > │ []) * int32 * int32) -> US0)) = v102.[int v107] │
00:01:37 verbose #4542 > │ let v111 : unit option = None │
00:01:37 verbose #4543 > │ let v112 : bool = true in let mutable _v111 = v111 │
00:01:37 verbose #4544 > │ │
00:01:37 verbose #4545 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4546 > │ │
00:01:37 verbose #4547 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4548 > │ () │
00:01:37 verbose #4549 > │ #endif │
00:01:37 verbose #4550 > │ │
00:01:37 verbose #4551 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4552 > │ () │
00:01:37 verbose #4553 > │ #endif │
00:01:37 verbose #4554 > │ │
00:01:37 verbose #4555 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4556 > │ () │
00:01:37 verbose #4557 > │ #endif │
00:01:37 verbose #4558 > │ │
00:01:37 verbose #4559 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4560 > │ () │
00:01:37 verbose #4561 > │ #endif │
00:01:37 verbose #4562 > │ │
00:01:37 verbose #4563 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4564 > │ () │
00:01:37 verbose #4565 > │ #endif │
00:01:37 verbose #4566 > │ │
00:01:37 verbose #4567 > │ #else │
00:01:37 verbose #4568 > │ System.GC.Collect () │
00:01:37 verbose #4569 > │ () │
00:01:37 verbose #4570 > │ #endif │
00:01:37 verbose #4571 > │ |> fun x -> _v111 <- Some x │
00:01:37 verbose #4572 > │ _v111.Value │
00:01:37 verbose #4573 > │ let v113 : (unit -> System.Diagnostics.Stopwatch) = │
00:01:37 verbose #4574 > │ System.Diagnostics.Stopwatch │
00:01:37 verbose #4575 > │ let v114 : System.Diagnostics.Stopwatch = v113 () │
00:01:37 verbose #4576 > │ v114.Start () │
00:01:37 verbose #4577 > │ let v115 : int64 = v114.ElapsedMilliseconds │
00:01:37 verbose #4578 > │ let v116 : (int32 []) = Array.zeroCreate<int32> (8000001) │
00:01:37 verbose #4579 > │ let v117 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #4580 > │ while method13(v117) do │
00:01:37 verbose #4581 > │ let v119 : int32 = v117.l0 │
00:01:37 verbose #4582 > │ v116.[int v119] <- v119 │
00:01:37 verbose #4583 > │ let v120 : int32 = v119 + 1 │
00:01:37 verbose #4584 > │ v117.l0 <- v120 │
00:01:37 verbose #4585 > │ () │
00:01:37 verbose #4586 > │ let v121 : ((int32 -> US0) -> ((int32 []) -> (US0 []))) = │
00:01:37 verbose #4587 > │ Array.Parallel.map │
00:01:37 verbose #4588 > │ let v122 : (int32 -> US0) = closure5(v79, v80, v81, v110) │
00:01:37 verbose #4589 > │ let v123 : ((int32 []) -> (US0 [])) = v121 v122 │
00:01:37 verbose #4590 > │ let v124 : (US0 []) = v123 v116 │
00:01:37 verbose #4591 > │ let v125 : int32 = v124.Length │
00:01:37 verbose #4592 > │ let v126 : int32 = v125 - 1 │
00:01:37 verbose #4593 > │ let v127 : US0 = v124.[int v126] │
00:01:37 verbose #4594 > │ let v128 : int64 = v114.ElapsedMilliseconds │
00:01:37 verbose #4595 > │ let v129 : int64 = v128 - v115 │
00:01:37 verbose #4596 > │ let v130 : string = $"Test case {v108 + 1}. {v109}. Time: {v129} │
00:01:37 verbose #4597 > │ " │
00:01:37 verbose #4598 > │ System.Console.WriteLine v130 │
00:01:37 verbose #4599 > │ v104.[int v107] <- struct (v127, v129) │
00:01:37 verbose #4600 > │ let v131 : uint64 = v107 + 1UL │
00:01:37 verbose #4601 > │ v105.l0 <- v131 │
00:01:37 verbose #4602 > │ () │
00:01:37 verbose #4603 > │ let v132 : uint64 = System.Convert.ToUInt64 v104.Length │
00:01:37 verbose #4604 > │ let v133 : (US0 []) = Array.zeroCreate<US0> │
00:01:37 verbose #4605 > │ (System.Convert.ToInt32(v132)) │
00:01:37 verbose #4606 > │ let v134 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4607 > │ while method5(v132, v134) do │
00:01:37 verbose #4608 > │ let v136 : uint64 = v134.l0 │
00:01:37 verbose #4609 > │ let struct (v137 : US0, v138 : int64) = v104.[int v136] │
00:01:37 verbose #4610 > │ v133.[int v136] <- v137 │
00:01:37 verbose #4611 > │ let v139 : uint64 = v136 + 1UL │
00:01:37 verbose #4612 > │ v134.l0 <- v139 │
00:01:37 verbose #4613 > │ () │
00:01:37 verbose #4614 > │ let v140 : uint64 = System.Convert.ToUInt64 v133.Length │
00:01:37 verbose #4615 > │ let v141 : bool = v140 <= 1UL │
00:01:37 verbose #4616 > │ if v141 then │
00:01:37 verbose #4617 > │ () │
00:01:37 verbose #4618 > │ else │
00:01:37 verbose #4619 > │ let v142 : US0 = v133.[int 0UL] │
00:01:37 verbose #4620 > │ let v143 : uint64 = 0UL │
00:01:37 verbose #4621 > │ let v144 : bool = method14(v142, v133, v143) │
00:01:37 verbose #4622 > │ if v144 then │
00:01:37 verbose #4623 > │ () │
00:01:37 verbose #4624 > │ else │
00:01:37 verbose #4625 > │ let v145 : string = $"Challenge error: {v133}" │
00:01:37 verbose #4626 > │ failwith<unit> v145 │
00:01:37 verbose #4627 > │ let v146 : string = $"%A{v82}" │
00:01:37 verbose #4628 > │ let v147 : (US0 []) = Array.zeroCreate<US0> │
00:01:37 verbose #4629 > │ (System.Convert.ToInt32(v132)) │
00:01:37 verbose #4630 > │ let v148 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4631 > │ while method5(v132, v148) do │
00:01:37 verbose #4632 > │ let v150 : uint64 = v148.l0 │
00:01:37 verbose #4633 > │ let struct (v151 : US0, v152 : int64) = v104.[int v150] │
00:01:37 verbose #4634 > │ v147.[int v150] <- v151 │
00:01:37 verbose #4635 > │ let v153 : uint64 = v150 + 1UL │
00:01:37 verbose #4636 > │ v148.l0 <- v153 │
00:01:37 verbose #4637 > │ () │
00:01:37 verbose #4638 > │ let v154 : US0 = v147.[int 0UL] │
00:01:37 verbose #4639 > │ let v155 : string = $"%A{v154}" │
00:01:37 verbose #4640 > │ let v156 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4641 > │ (System.Convert.ToInt32(v132)) │
00:01:37 verbose #4642 > │ let v157 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4643 > │ while method5(v132, v157) do │
00:01:37 verbose #4644 > │ let v159 : uint64 = v157.l0 │
00:01:37 verbose #4645 > │ let struct (v160 : US0, v161 : int64) = v104.[int v159] │
00:01:37 verbose #4646 > │ v156.[int v159] <- v161 │
00:01:37 verbose #4647 > │ let v162 : uint64 = v159 + 1UL │
00:01:37 verbose #4648 > │ v157.l0 <- v162 │
00:01:37 verbose #4649 > │ () │
00:01:37 verbose #4650 > │ v75.[int v78] <- struct (v146, v83, v155, v156) │
00:01:37 verbose #4651 > │ let v163 : uint64 = v78 + 1UL │
00:01:37 verbose #4652 > │ v76.l0 <- v163 │
00:01:37 verbose #4653 > │ () │
00:01:37 verbose #4654 > │ let v164 : uint64 = System.Convert.ToUInt64 v75.Length │
00:01:37 verbose #4655 > │ let v165 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:37 verbose #4656 > │ US1)> (System.Convert.ToInt32(v164)) │
00:01:37 verbose #4657 > │ let v166 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4658 > │ while method5(v164, v166) do │
00:01:37 verbose #4659 > │ let v168 : uint64 = v166.l0 │
00:01:37 verbose #4660 > │ let struct (v169 : string, v170 : string, v171 : string, v172 : │
00:01:37 verbose #4661 > │ (int64 [])) = v75.[int v168] │
00:01:37 verbose #4662 > │ let v173 : uint64 = System.Convert.ToUInt64 v172.Length │
00:01:37 verbose #4663 > │ let v174 : UH3 = UH3_0 │
00:01:37 verbose #4664 > │ let v175 : Mut2 = {l0 = 0UL; l1 = v174; l2 = 0L} : Mut2 │
00:01:37 verbose #4665 > │ while method15(v173, v175) do │
00:01:37 verbose #4666 > │ let v177 : uint64 = v175.l0 │
00:01:37 verbose #4667 > │ let struct (v178 : UH3, v179 : int64) = v175.l1, v175.l2 │
00:01:37 verbose #4668 > │ let v180 : int64 = v172.[int v177] │
00:01:37 verbose #4669 > │ let v181 : int64 = v179 + 1L │
00:01:37 verbose #4670 > │ let v182 : uint64 = v177 + 1UL │
00:01:37 verbose #4671 > │ let v183 : UH3 = UH3_1(v179, v180, v178) │
00:01:37 verbose #4672 > │ v175.l0 <- v182 │
00:01:37 verbose #4673 > │ v175.l1 <- v183 │
00:01:37 verbose #4674 > │ v175.l2 <- v181 │
00:01:37 verbose #4675 > │ () │
00:01:37 verbose #4676 > │ let struct (v184 : UH3, v185 : int64) = v175.l1, v175.l2 │
00:01:37 verbose #4677 > │ let v186 : UH3 = UH3_0 │
00:01:37 verbose #4678 > │ let v187 : UH3 = method16(v184, v186) │
00:01:37 verbose #4679 > │ let v188 : (struct (int64 * int64) []) = method17(v187) │
00:01:37 verbose #4680 > │ let v189 : int32 = v188.Length │
00:01:37 verbose #4681 > │ let v190 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:01:37 verbose #4682 > │ (int64 * int64)> (v189) │
00:01:37 verbose #4683 > │ let v191 : Mut0 = {l0 = 0} : Mut0 │
00:01:37 verbose #4684 > │ while method20(v189, v191) do │
00:01:37 verbose #4685 > │ let v193 : int32 = v191.l0 │
00:01:37 verbose #4686 > │ let struct (v194 : int64, v195 : int64) = v188.[int v193] │
00:01:37 verbose #4687 > │ let v196 : int64 = v194 + 1L │
00:01:37 verbose #4688 > │ v190.[int v193] <- struct (v196, v195) │
00:01:37 verbose #4689 > │ let v197 : int32 = v193 + 1 │
00:01:37 verbose #4690 > │ v191.l0 <- v197 │
00:01:37 verbose #4691 > │ () │
00:01:37 verbose #4692 > │ let v198 : ((struct (int64 * int64) -> int64) -> ((struct (int64 * │
00:01:37 verbose #4693 > │ int64) []) -> (struct (int64 * int64) []))) = Array.sortBy │
00:01:37 verbose #4694 > │ let v199 : (struct (int64 * int64) -> int64) = closure6() │
00:01:37 verbose #4695 > │ let v200 : ((struct (int64 * int64) []) -> (struct (int64 * int64) [ │
00:01:37 verbose #4696 > │ ])) = v198 v199 │
00:01:37 verbose #4697 > │ let v201 : (struct (int64 * int64) []) = v200 v190 │
00:01:37 verbose #4698 > │ let struct (v202 : int64, v203 : int64) = v201.[int 0] │
00:01:37 verbose #4699 > │ let v204 : string = $"%A{struct (v202, v203)}" │
00:01:37 verbose #4700 > │ let v205 : bool = v169 = v171 │
00:01:37 verbose #4701 > │ let v210 : US1 = │
00:01:37 verbose #4702 > │ if v205 then │
00:01:37 verbose #4703 > │ let v206 : System.ConsoleColor = │
00:01:37 verbose #4704 > │ System.ConsoleColor.DarkGreen │
00:01:37 verbose #4705 > │ US1_0(v206) │
00:01:37 verbose #4706 > │ else │
00:01:37 verbose #4707 > │ let v208 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:01:37 verbose #4708 > │ US1_0(v208) │
00:01:37 verbose #4709 > │ let v211 : UH2 = UH2_0 │
00:01:37 verbose #4710 > │ let v212 : UH2 = UH2_1(v204, v211) │
00:01:37 verbose #4711 > │ let v213 : UH2 = UH2_1(v171, v212) │
00:01:37 verbose #4712 > │ let v214 : UH2 = UH2_1(v169, v213) │
00:01:37 verbose #4713 > │ let v215 : UH2 = UH2_1(v170, v214) │
00:01:37 verbose #4714 > │ v165.[int v168] <- struct (v215, v210) │
00:01:37 verbose #4715 > │ let v216 : uint64 = v168 + 1UL │
00:01:37 verbose #4716 > │ v166.l0 <- v216 │
00:01:37 verbose #4717 > │ () │
00:01:37 verbose #4718 > │ let v217 : string = "Input" │
00:01:37 verbose #4719 > │ let v218 : string = "Expected" │
00:01:37 verbose #4720 > │ let v219 : string = "Result" │
00:01:37 verbose #4721 > │ let v220 : string = "Best" │
00:01:37 verbose #4722 > │ let v221 : UH2 = UH2_0 │
00:01:37 verbose #4723 > │ let v222 : UH2 = UH2_1(v220, v221) │
00:01:37 verbose #4724 > │ let v223 : UH2 = UH2_1(v219, v222) │
00:01:37 verbose #4725 > │ let v224 : UH2 = UH2_1(v218, v223) │
00:01:37 verbose #4726 > │ let v225 : UH2 = UH2_1(v217, v224) │
00:01:37 verbose #4727 > │ let v226 : US1 = US1_1 │
00:01:37 verbose #4728 > │ let v227 : string = "---" │
00:01:37 verbose #4729 > │ let v228 : UH2 = UH2_0 │
00:01:37 verbose #4730 > │ let v229 : UH2 = UH2_1(v227, v228) │
00:01:37 verbose #4731 > │ let v230 : UH2 = UH2_1(v227, v229) │
00:01:37 verbose #4732 > │ let v231 : UH2 = UH2_1(v227, v230) │
00:01:37 verbose #4733 > │ let v232 : UH2 = UH2_1(v227, v231) │
00:01:37 verbose #4734 > │ let v233 : US1 = US1_1 │
00:01:37 verbose #4735 > │ let v234 : UH4 = UH4_0 │
00:01:37 verbose #4736 > │ let v235 : UH4 = UH4_1(v232, v233, v234) │
00:01:37 verbose #4737 > │ let v236 : UH4 = UH4_1(v225, v226, v235) │
00:01:37 verbose #4738 > │ let v237 : (struct (UH2 * US1) []) = method21(v236) │
00:01:37 verbose #4739 > │ let v238 : uint64 = System.Convert.ToUInt64 v237.Length │
00:01:37 verbose #4740 > │ let v239 : uint64 = System.Convert.ToUInt64 v165.Length │
00:01:37 verbose #4741 > │ let v240 : uint64 = v238 + v239 │
00:01:37 verbose #4742 > │ let v241 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:37 verbose #4743 > │ US1)> (System.Convert.ToInt32(v240)) │
00:01:37 verbose #4744 > │ let v242 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4745 > │ while method5(v240, v242) do │
00:01:37 verbose #4746 > │ let v244 : uint64 = v242.l0 │
00:01:37 verbose #4747 > │ let v245 : bool = v244 < v238 │
00:01:37 verbose #4748 > │ let struct (v251 : UH2, v252 : US1) = │
00:01:37 verbose #4749 > │ if v245 then │
00:01:37 verbose #4750 > │ let struct (v246 : UH2, v247 : US1) = v237.[int v244] │
00:01:37 verbose #4751 > │ struct (v246, v247) │
00:01:37 verbose #4752 > │ else │
00:01:37 verbose #4753 > │ let v248 : uint64 = v244 - v238 │
00:01:37 verbose #4754 > │ let struct (v249 : UH2, v250 : US1) = v165.[int v248] │
00:01:37 verbose #4755 > │ struct (v249, v250) │
00:01:37 verbose #4756 > │ v241.[int v244] <- struct (v251, v252) │
00:01:37 verbose #4757 > │ let v253 : uint64 = v244 + 1UL │
00:01:37 verbose #4758 > │ v242.l0 <- v253 │
00:01:37 verbose #4759 > │ () │
00:01:37 verbose #4760 > │ let v254 : uint64 = System.Convert.ToUInt64 v241.Length │
00:01:37 verbose #4761 > │ let v255 : ((string []) []) = Array.zeroCreate<(string [])> │
00:01:37 verbose #4762 > │ (System.Convert.ToInt32(v254)) │
00:01:37 verbose #4763 > │ let v256 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4764 > │ while method5(v254, v256) do │
00:01:37 verbose #4765 > │ let v258 : uint64 = v256.l0 │
00:01:37 verbose #4766 > │ let struct (v259 : UH2, v260 : US1) = v241.[int v258] │
00:01:37 verbose #4767 > │ let v261 : (string []) = method24(v259) │
00:01:37 verbose #4768 > │ v255.[int v258] <- v261 │
00:01:37 verbose #4769 > │ let v262 : uint64 = v258 + 1UL │
00:01:37 verbose #4770 > │ v256.l0 <- v262 │
00:01:37 verbose #4771 > │ () │
00:01:37 verbose #4772 > │ let v263 : (((string []) []) -> ((string []) [])) = Array.transpose │
00:01:37 verbose #4773 > │ let v264 : ((string []) []) = v263 v255 │
00:01:37 verbose #4774 > │ let v265 : uint64 = System.Convert.ToUInt64 v264.Length │
00:01:37 verbose #4775 > │ let v266 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4776 > │ (System.Convert.ToInt32(v265)) │
00:01:37 verbose #4777 > │ let v267 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4778 > │ while method5(v265, v267) do │
00:01:37 verbose #4779 > │ let v269 : uint64 = v267.l0 │
00:01:37 verbose #4780 > │ let v270 : (string []) = v264.[int v269] │
00:01:37 verbose #4781 > │ let v271 : uint64 = System.Convert.ToUInt64 v270.Length │
00:01:37 verbose #4782 > │ let v272 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #4783 > │ (System.Convert.ToInt32(v271)) │
00:01:37 verbose #4784 > │ let v273 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4785 > │ while method5(v271, v273) do │
00:01:37 verbose #4786 > │ let v275 : uint64 = v273.l0 │
00:01:37 verbose #4787 > │ let v276 : string = v270.[int v275] │
00:01:37 verbose #4788 > │ let v277 : int64 = System.Convert.ToInt64 v276.Length │
00:01:37 verbose #4789 > │ v272.[int v275] <- v277 │
00:01:37 verbose #4790 > │ let v278 : uint64 = v275 + 1UL │
00:01:37 verbose #4791 > │ v273.l0 <- v278 │
00:01:37 verbose #4792 > │ () │
00:01:37 verbose #4793 > │ let v279 : ((int64 []) -> (int64 [])) = Array.sortDescending │
00:01:37 verbose #4794 > │ let v280 : (int64 []) = v279 v272 │
00:01:37 verbose #4795 > │ let v281 : (int32 -> ((int64 []) -> int64 option)) = Array.tryItem │
00:01:37 verbose #4796 > │ let v282 : ((int64 []) -> int64 option) = v281 0 │
00:01:37 verbose #4797 > │ let v283 : int64 option = v282 v280 │
00:01:37 verbose #4798 > │ let v284 : (int64 -> US2) = method27() │
00:01:37 verbose #4799 > │ let v285 : US2 = US2_1 │
00:01:37 verbose #4800 > │ let v286 : US2 = v283 |> Option.map v284 |> Option.defaultValue v285 │
00:01:37 verbose #4801 > │ let v289 : int64 = │
00:01:37 verbose #4802 > │ match v286 with │
00:01:37 verbose #4803 > │ | US2_1 -> (* None *) │
00:01:37 verbose #4804 > │ 0L │
00:01:37 verbose #4805 > │ | US2_0(v287) -> (* Some *) │
00:01:37 verbose #4806 > │ v287 │
00:01:37 verbose #4807 > │ v266.[int v269] <- v289 │
00:01:37 verbose #4808 > │ let v290 : uint64 = v269 + 1UL │
00:01:37 verbose #4809 > │ v267.l0 <- v290 │
00:01:37 verbose #4810 > │ () │
00:01:37 verbose #4811 > │ let v291 : uint64 = System.Convert.ToUInt64 v266.Length │
00:01:37 verbose #4812 > │ let v292 : UH5 = UH5_0 │
00:01:37 verbose #4813 > │ let v293 : Mut3 = {l0 = 0UL; l1 = v292; l2 = 0} : Mut3 │
00:01:37 verbose #4814 > │ while method28(v291, v293) do │
00:01:37 verbose #4815 > │ let v295 : uint64 = v293.l0 │
00:01:37 verbose #4816 > │ let struct (v296 : UH5, v297 : int32) = v293.l1, v293.l2 │
00:01:37 verbose #4817 > │ let v298 : int64 = v266.[int v295] │
00:01:37 verbose #4818 > │ let v299 : int32 = v297 + 1 │
00:01:37 verbose #4819 > │ let v300 : uint64 = v295 + 1UL │
00:01:37 verbose #4820 > │ let v301 : UH5 = UH5_1(v297, v298, v296) │
00:01:37 verbose #4821 > │ v293.l0 <- v300 │
00:01:37 verbose #4822 > │ v293.l1 <- v301 │
00:01:37 verbose #4823 > │ v293.l2 <- v299 │
00:01:37 verbose #4824 > │ () │
00:01:37 verbose #4825 > │ let struct (v302 : UH5, v303 : int32) = v293.l1, v293.l2 │
00:01:37 verbose #4826 > │ let v304 : UH5 = UH5_0 │
00:01:37 verbose #4827 > │ let v305 : UH5 = method29(v302, v304) │
00:01:37 verbose #4828 > │ let v306 : (struct (int32 * int64) []) = method30(v305) │
00:01:37 verbose #4829 > │ let v307 : Map<int32, int64> = v306 |> Array.map (fun (struct (a, b)) -> │
00:01:37 verbose #4830 > │ a, b) |> Map.ofArray │
00:01:37 verbose #4831 > │ let v308 : (struct ((string []) * US1) []) = Array.zeroCreate<struct │
00:01:37 verbose #4832 > │ ((string []) * US1)> (System.Convert.ToInt32(v254)) │
00:01:37 verbose #4833 > │ let v309 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4834 > │ while method5(v254, v309) do │
00:01:37 verbose #4835 > │ let v311 : uint64 = v309.l0 │
00:01:37 verbose #4836 > │ let struct (v312 : UH2, v313 : US1) = v241.[int v311] │
00:01:37 verbose #4837 > │ let v314 : UH6 = UH6_0 │
00:01:37 verbose #4838 > │ let v315 : int32 = 0 │
00:01:37 verbose #4839 > │ let struct (v316 : UH6, v317 : int32) = method33(v312, v314, v315) │
00:01:37 verbose #4840 > │ let v318 : UH6 = UH6_0 │
00:01:37 verbose #4841 > │ let v319 : UH6 = method34(v316, v318) │
00:01:37 verbose #4842 > │ let v320 : UH2 = UH2_0 │
00:01:37 verbose #4843 > │ let v321 : UH2 = method35(v307, v319, v320) │
00:01:37 verbose #4844 > │ let v322 : (string []) = method36(v321) │
00:01:37 verbose #4845 > │ v308.[int v311] <- struct (v322, v313) │
00:01:37 verbose #4846 > │ let v323 : uint64 = v311 + 1UL │
00:01:37 verbose #4847 > │ v309.l0 <- v323 │
00:01:37 verbose #4848 > │ () │
00:01:37 verbose #4849 > │ System.Console.WriteLine v27 │
00:01:37 verbose #4850 > │ let v324 : uint64 = System.Convert.ToUInt64 v308.Length │
00:01:37 verbose #4851 > │ let v325 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4852 > │ while method5(v324, v325) do │
00:01:37 verbose #4853 > │ let v327 : uint64 = v325.l0 │
00:01:37 verbose #4854 > │ let struct (v328 : (string []), v329 : US1) = v308.[int v327] │
00:01:37 verbose #4855 > │ match v329 with │
00:01:37 verbose #4856 > │ | US1_1 -> (* None *) │
00:01:37 verbose #4857 > │ let v333 : unit option = None │
00:01:37 verbose #4858 > │ let v334 : bool = true in let mutable _v333 = v333 │
00:01:37 verbose #4859 > │ │
00:01:37 verbose #4860 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4861 > │ │
00:01:37 verbose #4862 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4863 > │ () │
00:01:37 verbose #4864 > │ #endif │
00:01:37 verbose #4865 > │ │
00:01:37 verbose #4866 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4867 > │ () │
00:01:37 verbose #4868 > │ #endif │
00:01:37 verbose #4869 > │ │
00:01:37 verbose #4870 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4871 > │ () │
00:01:37 verbose #4872 > │ #endif │
00:01:37 verbose #4873 > │ │
00:01:37 verbose #4874 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4875 > │ () │
00:01:37 verbose #4876 > │ #endif │
00:01:37 verbose #4877 > │ │
00:01:37 verbose #4878 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4879 > │ () │
00:01:37 verbose #4880 > │ #endif │
00:01:37 verbose #4881 > │ │
00:01:37 verbose #4882 > │ #else │
00:01:37 verbose #4883 > │ System.Console.ResetColor () │
00:01:37 verbose #4884 > │ () │
00:01:37 verbose #4885 > │ #endif │
00:01:37 verbose #4886 > │ |> fun x -> _v333 <- Some x │
00:01:37 verbose #4887 > │ _v333.Value │
00:01:37 verbose #4888 > │ () │
00:01:37 verbose #4889 > │ | US1_0(v330) -> (* Some *) │
00:01:37 verbose #4890 > │ let v331 : unit option = None │
00:01:37 verbose #4891 > │ let v332 : bool = true in let mutable _v331 = v331 │
00:01:37 verbose #4892 > │ │
00:01:37 verbose #4893 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4894 > │ │
00:01:37 verbose #4895 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4896 > │ () │
00:01:37 verbose #4897 > │ #endif │
00:01:37 verbose #4898 > │ │
00:01:37 verbose #4899 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4900 > │ () │
00:01:37 verbose #4901 > │ #endif │
00:01:37 verbose #4902 > │ │
00:01:37 verbose #4903 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4904 > │ () │
00:01:37 verbose #4905 > │ #endif │
00:01:37 verbose #4906 > │ │
00:01:37 verbose #4907 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4908 > │ () │
00:01:37 verbose #4909 > │ #endif │
00:01:37 verbose #4910 > │ │
00:01:37 verbose #4911 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4912 > │ () │
00:01:37 verbose #4913 > │ #endif │
00:01:37 verbose #4914 > │ │
00:01:37 verbose #4915 > │ #else │
00:01:37 verbose #4916 > │ System.Console.ForegroundColor <- v330 │
00:01:37 verbose #4917 > │ () │
00:01:37 verbose #4918 > │ #endif │
00:01:37 verbose #4919 > │ |> fun x -> _v331 <- Some x │
00:01:37 verbose #4920 > │ _v331.Value │
00:01:37 verbose #4921 > │ () │
00:01:37 verbose #4922 > │ let v335 : string = "\t| " │
00:01:37 verbose #4923 > │ let v336 : string = System.String.Join (v335, v328) │
00:01:37 verbose #4924 > │ System.Console.WriteLine v336 │
00:01:37 verbose #4925 > │ let v337 : unit option = None │
00:01:37 verbose #4926 > │ let v338 : bool = true in let mutable _v337 = v337 │
00:01:37 verbose #4927 > │ │
00:01:37 verbose #4928 > │ #if FABLE_COMPILER || WASM || CONTRACT │
00:01:37 verbose #4929 > │ │
00:01:37 verbose #4930 > │ #if FABLE_COMPILER_RUST && !WASM && !CONTRACT │
00:01:37 verbose #4931 > │ () │
00:01:37 verbose #4932 > │ #endif │
00:01:37 verbose #4933 > │ │
00:01:37 verbose #4934 > │ #if FABLE_COMPILER_RUST && WASM │
00:01:37 verbose #4935 > │ () │
00:01:37 verbose #4936 > │ #endif │
00:01:37 verbose #4937 > │ │
00:01:37 verbose #4938 > │ #if FABLE_COMPILER_RUST && CONTRACT │
00:01:37 verbose #4939 > │ () │
00:01:37 verbose #4940 > │ #endif │
00:01:37 verbose #4941 > │ │
00:01:37 verbose #4942 > │ #if FABLE_COMPILER_TYPESCRIPT │
00:01:37 verbose #4943 > │ () │
00:01:37 verbose #4944 > │ #endif │
00:01:37 verbose #4945 > │ │
00:01:37 verbose #4946 > │ #if FABLE_COMPILER_PYTHON │
00:01:37 verbose #4947 > │ () │
00:01:37 verbose #4948 > │ #endif │
00:01:37 verbose #4949 > │ │
00:01:37 verbose #4950 > │ #else │
00:01:37 verbose #4951 > │ System.Console.ResetColor () │
00:01:37 verbose #4952 > │ () │
00:01:37 verbose #4953 > │ #endif │
00:01:37 verbose #4954 > │ |> fun x -> _v337 <- Some x │
00:01:37 verbose #4955 > │ _v337.Value │
00:01:37 verbose #4956 > │ let v339 : uint64 = v327 + 1UL │
00:01:37 verbose #4957 > │ v325.l0 <- v339 │
00:01:37 verbose #4958 > │ () │
00:01:37 verbose #4959 > │ let v340 : ((float []) []) = Array.zeroCreate<(float [])> │
00:01:37 verbose #4960 > │ (System.Convert.ToInt32(v164)) │
00:01:37 verbose #4961 > │ let v341 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4962 > │ while method5(v164, v341) do │
00:01:37 verbose #4963 > │ let v343 : uint64 = v341.l0 │
00:01:37 verbose #4964 > │ let struct (v344 : string, v345 : string, v346 : string, v347 : │
00:01:37 verbose #4965 > │ (int64 [])) = v75.[int v343] │
00:01:37 verbose #4966 > │ let v348 : (int64 -> float) = float │
00:01:37 verbose #4967 > │ let v349 : uint64 = System.Convert.ToUInt64 v347.Length │
00:01:37 verbose #4968 > │ let v350 : (float []) = Array.zeroCreate<float> │
00:01:37 verbose #4969 > │ (System.Convert.ToInt32(v349)) │
00:01:37 verbose #4970 > │ let v351 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4971 > │ while method5(v349, v351) do │
00:01:37 verbose #4972 > │ let v353 : uint64 = v351.l0 │
00:01:37 verbose #4973 > │ let v354 : int64 = v347.[int v353] │
00:01:37 verbose #4974 > │ let v355 : float = v348 v354 │
00:01:37 verbose #4975 > │ v350.[int v353] <- v355 │
00:01:37 verbose #4976 > │ let v356 : uint64 = v353 + 1UL │
00:01:37 verbose #4977 > │ v351.l0 <- v356 │
00:01:37 verbose #4978 > │ () │
00:01:37 verbose #4979 > │ v340.[int v343] <- v350 │
00:01:37 verbose #4980 > │ let v357 : uint64 = v343 + 1UL │
00:01:37 verbose #4981 > │ v341.l0 <- v357 │
00:01:37 verbose #4982 > │ () │
00:01:37 verbose #4983 > │ let v358 : (((float []) []) -> ((float []) [])) = Array.transpose │
00:01:37 verbose #4984 > │ let v359 : ((float []) []) = v358 v340 │
00:01:37 verbose #4985 > │ let v360 : uint64 = System.Convert.ToUInt64 v359.Length │
00:01:37 verbose #4986 > │ let v361 : (float []) = Array.zeroCreate<float> │
00:01:37 verbose #4987 > │ (System.Convert.ToInt32(v360)) │
00:01:37 verbose #4988 > │ let v362 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #4989 > │ while method5(v360, v362) do │
00:01:37 verbose #4990 > │ let v364 : uint64 = v362.l0 │
00:01:37 verbose #4991 > │ let v365 : (float []) = v359.[int v364] │
00:01:37 verbose #4992 > │ let v366 : ((float []) -> float) = Array.average │
00:01:37 verbose #4993 > │ let v367 : float = v366 v365 │
00:01:37 verbose #4994 > │ v361.[int v364] <- v367 │
00:01:37 verbose #4995 > │ let v368 : uint64 = v364 + 1UL │
00:01:37 verbose #4996 > │ v362.l0 <- v368 │
00:01:37 verbose #4997 > │ () │
00:01:37 verbose #4998 > │ let v369 : (float -> int64) = int64 │
00:01:37 verbose #4999 > │ let v370 : uint64 = System.Convert.ToUInt64 v361.Length │
00:01:37 verbose #5000 > │ let v371 : (int64 []) = Array.zeroCreate<int64> │
00:01:37 verbose #5001 > │ (System.Convert.ToInt32(v370)) │
00:01:37 verbose #5002 > │ let v372 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #5003 > │ while method5(v370, v372) do │
00:01:37 verbose #5004 > │ let v374 : uint64 = v372.l0 │
00:01:37 verbose #5005 > │ let v375 : float = v361.[int v374] │
00:01:37 verbose #5006 > │ let v376 : int64 = v369 v375 │
00:01:37 verbose #5007 > │ v371.[int v374] <- v376 │
00:01:37 verbose #5008 > │ let v377 : uint64 = v374 + 1UL │
00:01:37 verbose #5009 > │ v372.l0 <- v377 │
00:01:37 verbose #5010 > │ () │
00:01:37 verbose #5011 > │ let v378 : uint64 = System.Convert.ToUInt64 v371.Length │
00:01:37 verbose #5012 > │ let v379 : UH5 = UH5_0 │
00:01:37 verbose #5013 > │ let v380 : Mut3 = {l0 = 0UL; l1 = v379; l2 = 0} : Mut3 │
00:01:37 verbose #5014 > │ while method28(v378, v380) do │
00:01:37 verbose #5015 > │ let v382 : uint64 = v380.l0 │
00:01:37 verbose #5016 > │ let struct (v383 : UH5, v384 : int32) = v380.l1, v380.l2 │
00:01:37 verbose #5017 > │ let v385 : int64 = v371.[int v382] │
00:01:37 verbose #5018 > │ let v386 : int32 = v384 + 1 │
00:01:37 verbose #5019 > │ let v387 : uint64 = v382 + 1UL │
00:01:37 verbose #5020 > │ let v388 : UH5 = UH5_1(v384, v385, v383) │
00:01:37 verbose #5021 > │ v380.l0 <- v387 │
00:01:37 verbose #5022 > │ v380.l1 <- v388 │
00:01:37 verbose #5023 > │ v380.l2 <- v386 │
00:01:37 verbose #5024 > │ () │
00:01:37 verbose #5025 > │ let struct (v389 : UH5, v390 : int32) = v380.l1, v380.l2 │
00:01:37 verbose #5026 > │ let v391 : UH5 = UH5_0 │
00:01:37 verbose #5027 > │ let v392 : UH5 = method29(v389, v391) │
00:01:37 verbose #5028 > │ let v393 : (struct (int32 * int64) []) = method39(v392) │
00:01:37 verbose #5029 > │ System.Console.WriteLine v27 │
00:01:37 verbose #5030 > │ let v394 : string = "Average Ranking " │
00:01:37 verbose #5031 > │ System.Console.WriteLine v394 │
00:01:37 verbose #5032 > │ let v395 : ((struct (int32 * int64) -> int64) -> ((struct (int32 * │
00:01:37 verbose #5033 > │ int64) []) -> (struct (int32 * int64) []))) = Array.sortBy │
00:01:37 verbose #5034 > │ let v396 : (struct (int32 * int64) -> int64) = closure8() │
00:01:37 verbose #5035 > │ let v397 : ((struct (int32 * int64) []) -> (struct (int32 * int64) [])) │
00:01:37 verbose #5036 > │ = v395 v396 │
00:01:37 verbose #5037 > │ let v398 : (struct (int32 * int64) []) = v397 v393 │
00:01:37 verbose #5038 > │ let v399 : uint64 = System.Convert.ToUInt64 v398.Length │
00:01:37 verbose #5039 > │ let v400 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:37 verbose #5040 > │ while method5(v399, v400) do │
00:01:37 verbose #5041 > │ let v402 : uint64 = v400.l0 │
00:01:37 verbose #5042 > │ let struct (v403 : int32, v404 : int64) = v398.[int v402] │
00:01:37 verbose #5043 > │ let v405 : string = $"Test case %d{v403 + 1}. Average Time: %A{v404} │
00:01:37 verbose #5044 > │ " │
00:01:37 verbose #5045 > │ System.Console.WriteLine v405 │
00:01:37 verbose #5046 > │ let v406 : uint64 = v402 + 1UL │
00:01:37 verbose #5047 > │ v400.l0 <- v406 │
00:01:37 verbose #5048 > │ () │
00:01:37 verbose #5049 > │ () │
00:01:37 verbose #5050 > │ method0() │
00:01:37 verbose #5051 > │ │
00:01:37 verbose #5052 > │ │
00:01:37 verbose #5053 > │ │
00:01:37 verbose #5054 > │ Test: v25 │
00:01:37 verbose #5055 > │ │
00:01:37 verbose #5056 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:37 verbose #5057 > │ Test case 1. semi_open_1. Time: 462 │
00:01:37 verbose #5058 > │ Test case 2. closed_1. Time: 579 │
00:01:37 verbose #5059 > │ Test case 3. semi_open_2. Time: 422 │
00:01:37 verbose #5060 > │ Test case 4. closed_2. Time: 399 │
00:01:37 verbose #5061 > │ │
00:01:37 verbose #5062 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:37 verbose #5063 > │ Test case 1. semi_open_1. Time: 362 │
00:01:37 verbose #5064 > │ Test case 2. closed_1. Time: 352 │
00:01:37 verbose #5065 > │ Test case 3. semi_open_2. Time: 349 │
00:01:37 verbose #5066 > │ Test case 4. closed_2. Time: 346 │
00:01:37 verbose #5067 > │ │
00:01:37 verbose #5068 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:37 verbose #5069 > │ Test case 1. semi_open_1. Time: 357 │
00:01:37 verbose #5070 > │ Test case 2. closed_1. Time: 355 │
00:01:37 verbose #5071 > │ Test case 3. semi_open_2. Time: 358 │
00:01:37 verbose #5072 > │ Test case 4. closed_2. Time: 367 │
00:01:37 verbose #5073 > │ │
00:01:37 verbose #5074 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:37 verbose #5075 > │ Test case 1. semi_open_1. Time: 367 │
00:01:37 verbose #5076 > │ Test case 2. closed_1. Time: 371 │
00:01:37 verbose #5077 > │ Test case 3. semi_open_2. Time: 371 │
00:01:37 verbose #5078 > │ Test case 4. closed_2. Time: 353 │
00:01:37 verbose #5079 > │ │
00:01:37 verbose #5080 > │ Solution: struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; │
00:01:37 verbose #5081 > │ 17; 18; 19; 20; │
00:01:37 verbose #5082 > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:37 verbose #5083 > │ 37; 38; │
00:01:37 verbose #5084 > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:37 verbose #5085 > │ 55; 56; │
00:01:37 verbose #5086 > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:37 verbose #5087 > │ 73; 74; │
00:01:37 verbose #5088 > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:37 verbose #5089 > │ 91; 92; │
00:01:37 verbose #5090 > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) │
00:01:37 verbose #5091 > │ Test case 1. semi_open_1. Time: 371 │
00:01:37 verbose #5092 > │ Test case 2. closed_1. Time: 376 │
00:01:37 verbose #5093 > │ Test case 3. semi_open_2. Time: 391 │
00:01:37 verbose #5094 > │ Test case 4. closed_2. Time: 377 │
00:01:37 verbose #5095 > │ │
00:01:37 verbose #5096 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:37 verbose #5097 > │ Test case 1. semi_open_1. Time: 360 │
00:01:37 verbose #5098 > │ Test case 2. closed_1. Time: 359 │
00:01:37 verbose #5099 > │ Test case 3. semi_open_2. Time: 352 │
00:01:37 verbose #5100 > │ Test case 4. closed_2. Time: 344 │
00:01:37 verbose #5101 > │ │
00:01:37 verbose #5102 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:37 verbose #5103 > │ Test case 1. semi_open_1. Time: 351 │
00:01:37 verbose #5104 > │ Test case 2. closed_1. Time: 363 │
00:01:37 verbose #5105 > │ Test case 3. semi_open_2. Time: 350 │
00:01:37 verbose #5106 > │ Test case 4. closed_2. Time: 368 │
00:01:37 verbose #5107 > │ │
00:01:37 verbose #5108 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:37 verbose #5109 > │ Test case 1. semi_open_1. Time: 349 │
00:01:37 verbose #5110 > │ Test case 2. closed_1. Time: 359 │
00:01:37 verbose #5111 > │ Test case 3. semi_open_2. Time: 361 │
00:01:37 verbose #5112 > │ Test case 4. closed_2. Time: 353 │
00:01:37 verbose #5113 > │ │
00:01:37 verbose #5114 > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:37 verbose #5115 > │ Test case 1. semi_open_1. Time: 382 │
00:01:37 verbose #5116 > │ Test case 2. closed_1. Time: 367 │
00:01:37 verbose #5117 > │ Test case 3. semi_open_2. Time: 377 │
00:01:37 verbose #5118 > │ Test case 4. closed_2. Time: 359 │
00:01:37 verbose #5119 > │ │
00:01:37 verbose #5120 > │ Solution: struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; │
00:01:37 verbose #5121 > │ 17; 18; 19; 20; │
00:01:37 verbose #5122 > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:37 verbose #5123 > │ 37; 38; │
00:01:37 verbose #5124 > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:37 verbose #5125 > │ 55; 56; │
00:01:37 verbose #5126 > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:37 verbose #5127 > │ 73; 74; │
00:01:37 verbose #5128 > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:37 verbose #5129 > │ 91; 92; │
00:01:37 verbose #5130 > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) │
00:01:37 verbose #5131 > │ Test case 1. semi_open_1. Time: 431 │
00:01:37 verbose #5132 > │ Test case 2. closed_1. Time: 396 │
00:01:37 verbose #5133 > │ Test case 3. semi_open_2. Time: 381 │
00:01:37 verbose #5134 > │ Test case 4. closed_2. Time: 383 │
00:01:37 verbose #5135 > │ │
00:01:37 verbose #5136 > │ Input │
00:01:37 verbose #5137 > │ │
00:01:37 verbose #5138 > │ │
00:01:37 verbose #5139 > │ │
00:01:37 verbose #5140 > │ | Expected | Result | Best │
00:01:37 verbose #5141 > │ --- │
00:01:37 verbose #5142 > │ │
00:01:37 verbose #5143 > │ │
00:01:37 verbose #5144 > │ │
00:01:37 verbose #5145 > │ | --- | --- | --- │
00:01:37 verbose #5146 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:37 verbose #5147 > │ │
00:01:37 verbose #5148 > │ │
00:01:37 verbose #5149 > │ │
00:01:37 verbose #5150 > │ | US0_0 3 | US0_0 3 | struct (4L, 399L) │
00:01:37 verbose #5151 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:37 verbose #5152 > │ │
00:01:37 verbose #5153 > │ │
00:01:37 verbose #5154 > │ │
00:01:37 verbose #5155 > │ | US0_0 0 | US0_0 0 | struct (4L, 346L) │
00:01:37 verbose #5156 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:37 verbose #5157 > │ │
00:01:37 verbose #5158 > │ │
00:01:37 verbose #5159 > │ │
00:01:37 verbose #5160 > │ | US0_0 6 | US0_0 6 | struct (2L, 355L) │
00:01:37 verbose #5161 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:37 verbose #5162 > │ │
00:01:37 verbose #5163 > │ │
00:01:37 verbose #5164 > │ │
00:01:37 verbose #5165 > │ | US0_1 | US0_1 | struct (4L, 353L) │
00:01:37 verbose #5166 > │ struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; │
00:01:37 verbose #5167 > │ 20; │
00:01:37 verbose #5168 > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:37 verbose #5169 > │ 37; 38; │
00:01:37 verbose #5170 > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:37 verbose #5171 > │ 55; 56; │
00:01:37 verbose #5172 > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:37 verbose #5173 > │ 73; 74; │
00:01:37 verbose #5174 > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:37 verbose #5175 > │ 91; 92; │
00:01:37 verbose #5176 > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) | US0_0 59 | US0_0 59 | │
00:01:37 verbose #5177 > │ struct (1L, 371L) │
00:01:37 verbose #5178 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:37 verbose #5179 > │ │
00:01:37 verbose #5180 > │ │
00:01:37 verbose #5181 > │ │
00:01:37 verbose #5182 > │ | US0_0 3 | US0_0 3 | struct (4L, 344L) │
00:01:37 verbose #5183 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:37 verbose #5184 > │ │
00:01:37 verbose #5185 > │ │
00:01:37 verbose #5186 > │ │
00:01:37 verbose #5187 > │ | US0_0 0 | US0_0 0 | struct (3L, 350L) │
00:01:37 verbose #5188 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:37 verbose #5189 > │ │
00:01:37 verbose #5190 > │ │
00:01:37 verbose #5191 > │ │
00:01:37 verbose #5192 > │ | US0_0 6 | US0_0 6 | struct (1L, 349L) │
00:01:37 verbose #5193 > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:37 verbose #5194 > │ │
00:01:37 verbose #5195 > │ │
00:01:37 verbose #5196 > │ │
00:01:37 verbose #5197 > │ | US0_1 | US0_1 | struct (4L, 359L) │
00:01:37 verbose #5198 > │ struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; │
00:01:37 verbose #5199 > │ 20; │
00:01:37 verbose #5200 > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:37 verbose #5201 > │ 37; 38; │
00:01:37 verbose #5202 > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:37 verbose #5203 > │ 55; 56; │
00:01:37 verbose #5204 > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:37 verbose #5205 > │ 73; 74; │
00:01:37 verbose #5206 > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:37 verbose #5207 > │ 91; 92; │
00:01:37 verbose #5208 > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) | US0_0 59 | US0_0 59 | │
00:01:37 verbose #5209 > │ struct (3L, 381L) │
00:01:37 verbose #5210 > │ │
00:01:37 verbose #5211 > │ Average Ranking │
00:01:37 verbose #5212 > │ Test case 4. Average Time: 364L │
00:01:37 verbose #5213 > │ Test case 3. Average Time: 371L │
00:01:37 verbose #5214 > │ Test case 1. Average Time: 379L │
00:01:37 verbose #5215 > │ Test case 2. Average Time: 387L │
00:01:37 verbose #5216 > │ │
00:01:37 verbose #5217 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #5218 >
00:01:37 verbose #5219 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:37 verbose #5220 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:37 verbose #5221 > │ ## returnLettersWithOddCountTests │
00:01:37 verbose #5222 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #5223 >
00:01:37 verbose #5224 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:37 verbose #5225 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:37 verbose #5226 > │ Test: ReturnLettersWithOddCount │
00:01:37 verbose #5227 > │ │
00:01:37 verbose #5228 > │ Solution: 1 │
00:01:37 verbose #5229 > │ Test case 1. A. Time: 645L │
00:01:37 verbose #5230 > │ │
00:01:37 verbose #5231 > │ Solution: 2 │
00:01:37 verbose #5232 > │ Test case 1. A. Time: 663L │
00:01:37 verbose #5233 > │ │
00:01:37 verbose #5234 > │ Solution: 3 │
00:01:37 verbose #5235 > │ Test case 1. A. Time: 680L │
00:01:37 verbose #5236 > │ │
00:01:37 verbose #5237 > │ Solution: 9 │
00:01:37 verbose #5238 > │ Test case 1. A. Time: 730L │
00:01:37 verbose #5239 > │ │
00:01:37 verbose #5240 > │ Solution: 10 │
00:01:37 verbose #5241 > │ Test case 1. A. Time: 815L │
00:01:37 verbose #5242 > │ │
00:01:37 verbose #5243 > │ Input | Expected | Result | Best │
00:01:37 verbose #5244 > │ --- | --- | --- | --- │
00:01:37 verbose #5245 > │ 1 | a | a | (1, 645) │
00:01:37 verbose #5246 > │ 2 | ba | ba | (1, 663) │
00:01:37 verbose #5247 > │ 3 | aaa | aaa | (1, 680) │
00:01:37 verbose #5248 > │ 9 | aaaaaaaaa | aaaaaaaaa | (1, 730) │
00:01:37 verbose #5249 > │ 10 | baaaaaaaaa | baaaaaaaaa | (1, 815) │
00:01:37 verbose #5250 > │ │
00:01:37 verbose #5251 > │ Averages │
00:01:37 verbose #5252 > │ Test case 1. Average Time: 706L │
00:01:37 verbose #5253 > │ │
00:01:37 verbose #5254 > │ Ranking │
00:01:37 verbose #5255 > │ Test case 1. Average Time: 706L │
00:01:37 verbose #5256 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:37 verbose #5257 >
00:01:37 verbose #5258 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:37 verbose #5259 > //// test
00:01:37 verbose #5260 >
00:01:37 verbose #5261 > let solutions = [[
00:01:37 verbose #5262 > "A",
00:01:37 verbose #5263 > fun n ->
00:01:37 verbose #5264 > let mutable _builder = StringBuilder (new string('a', n))
00:01:37 verbose #5265 > if n % 2 = 0 then
00:01:37 verbose #5266 > _builder.[[0]] <- 'b'
00:01:37 verbose #5267 >
00:01:37 verbose #5268 > _builder.ToString ()
00:01:37 verbose #5269 > ]]
00:01:37 verbose #5270 > let testCases = seq {
00:01:37 verbose #5271 > 1, "a"
00:01:37 verbose #5272 > 2, "ba"
00:01:37 verbose #5273 > 3, "aaa"
00:01:37 verbose #5274 > 9, "aaaaaaaaa"
00:01:37 verbose #5275 > 10, "baaaaaaaaa"
00:01:37 verbose #5276 > }
00:01:37 verbose #5277 > let rec returnLettersWithOddCountTests =
00:01:37 verbose #5278 > runAll (nameof returnLettersWithOddCountTests) _count solutions testCases
00:01:37 verbose #5279 > returnLettersWithOddCountTests
00:01:37 verbose #5280 > |> sortResultList
00:01:38 verbose #5281 >
00:01:38 verbose #5282 > ╭─[ 988.13ms - stdout ]────────────────────────────────────────────────────────╮
00:01:38 verbose #5283 > │ │
00:01:38 verbose #5284 > │ │
00:01:38 verbose #5285 > │ Test: returnLettersWithOddCountTests │
00:01:38 verbose #5286 > │ │
00:01:38 verbose #5287 > │ Solution: 1 │
00:01:38 verbose #5288 > │ Test case 1. A. Time: 1L │
00:01:38 verbose #5289 > │ │
00:01:38 verbose #5290 > │ Solution: 2 │
00:01:38 verbose #5291 > │ Test case 1. A. Time: 0L │
00:01:38 verbose #5292 > │ │
00:01:38 verbose #5293 > │ Solution: 3 │
00:01:38 verbose #5294 > │ Test case 1. A. Time: 0L │
00:01:38 verbose #5295 > │ │
00:01:38 verbose #5296 > │ Solution: 9 │
00:01:38 verbose #5297 > │ Test case 1. A. Time: 0L │
00:01:38 verbose #5298 > │ │
00:01:38 verbose #5299 > │ Solution: 10 │
00:01:38 verbose #5300 > │ Test case 1. A. Time: 2L │
00:01:38 verbose #5301 > │ │
00:01:38 verbose #5302 > │ Input | Expected | Result | Best │
00:01:38 verbose #5303 > │ --- | --- | --- | --- │
00:01:38 verbose #5304 > │ 1 | a | a | (1, 1) │
00:01:38 verbose #5305 > │ 2 | ba | ba | (1, 0) │
00:01:38 verbose #5306 > │ 3 | aaa | aaa | (1, 0) │
00:01:38 verbose #5307 > │ 9 | aaaaaaaaa | aaaaaaaaa | (1, 0) │
00:01:38 verbose #5308 > │ 10 | baaaaaaaaa | baaaaaaaaa | (1, 2) │
00:01:38 verbose #5309 > │ │
00:01:38 verbose #5310 > │ Average Ranking │
00:01:38 verbose #5311 > │ Test case 1. Average Time: 0L │
00:01:38 verbose #5312 > │ │
00:01:38 verbose #5313 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #5314 >
00:01:38 verbose #5315 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:38 verbose #5316 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:38 verbose #5317 > │ ## hasAnyPairCloseToEachotherTests │
00:01:38 verbose #5318 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #5319 >
00:01:38 verbose #5320 > ── markdown ────────────────────────────────────────────────────────────────────
00:01:38 verbose #5321 > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:38 verbose #5322 > │ Test: HasAnyPairCloseToEachother │
00:01:38 verbose #5323 > │ │
00:01:38 verbose #5324 > │ Solution: 0 │
00:01:38 verbose #5325 > │ Test case 1. A. Time: 137L │
00:01:38 verbose #5326 > │ │
00:01:38 verbose #5327 > │ Solution: 1,2 │
00:01:38 verbose #5328 > │ Test case 1. A. Time: 186L │
00:01:38 verbose #5329 > │ │
00:01:38 verbose #5330 > │ Solution: 3,5 │
00:01:38 verbose #5331 > │ Test case 1. A. Time: 206L │
00:01:38 verbose #5332 > │ │
00:01:38 verbose #5333 > │ Solution: 3,4,6 │
00:01:38 verbose #5334 > │ Test case 1. A. Time: 149L │
00:01:38 verbose #5335 > │ │
00:01:38 verbose #5336 > │ Solution: 2,4,6 │
00:01:38 verbose #5337 > │ Test case 1. A. Time: 150L │
00:01:38 verbose #5338 > │ │
00:01:38 verbose #5339 > │ Input | Expected | Result | Best │
00:01:38 verbose #5340 > │ --- | --- | --- | --- │
00:01:38 verbose #5341 > │ 0 | False | False | (1, 137) │
00:01:38 verbose #5342 > │ 1,2 | True | True | (1, 186) │
00:01:38 verbose #5343 > │ 3,5 | False | False | (1, 206) │
00:01:38 verbose #5344 > │ 3,4,6 | True | True | (1, 149) │
00:01:38 verbose #5345 > │ 2,4,6 | False | False | (1, 150) │
00:01:38 verbose #5346 > │ │
00:01:38 verbose #5347 > │ Averages │
00:01:38 verbose #5348 > │ Test case 1. Average Time: 165L │
00:01:38 verbose #5349 > │ │
00:01:38 verbose #5350 > │ Ranking │
00:01:38 verbose #5351 > │ Test case 1. Average Time: 165L │
00:01:38 verbose #5352 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:38 verbose #5353 >
00:01:38 verbose #5354 > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:38 verbose #5355 > //// test
00:01:38 verbose #5356 >
00:01:38 verbose #5357 > let solutions = [[
00:01:38 verbose #5358 > "A",
00:01:38 verbose #5359 > fun (a: int[[]]) ->
00:01:38 verbose #5360 > let indices = System.Linq.Enumerable.Range(0, a.Length) |>
00:01:38 verbose #5361 > System.Linq.Enumerable.ToArray
00:01:38 verbose #5362 > System.Array.Sort (a, indices)
00:01:38 verbose #5363 >
00:01:38 verbose #5364 > indices
00:01:38 verbose #5365 > |> Array.take (a.Length - 1)
00:01:38 verbose #5366 > |> Array.exists (fun i -> a.[[i + 1]] - a.[[i]] = 1)
00:01:38 verbose #5367 > ]]
00:01:38 verbose #5368 > let testCases = seq {
00:01:38 verbose #5369 > [[| 0 |]], false
00:01:38 verbose #5370 > [[| 1; 2 |]], true
00:01:38 verbose #5371 > [[| 3; 5 |]], false
00:01:38 verbose #5372 > [[| 3; 4; 6 |]], true
00:01:38 verbose #5373 > [[| 2; 4; 6 |]], false
00:01:38 verbose #5374 > }
00:01:38 verbose #5375 > let rec hasAnyPairCloseToEachotherTests =
00:01:38 verbose #5376 > runAll (nameof hasAnyPairCloseToEachotherTests) _count solutions testCases
00:01:38 verbose #5377 > hasAnyPairCloseToEachotherTests
00:01:38 verbose #5378 > |> sortResultList
00:01:39 verbose #5379 >
00:01:39 verbose #5380 > ╭─[ 1.01s - stdout ]───────────────────────────────────────────────────────────╮
00:01:39 verbose #5381 > │ │
00:01:39 verbose #5382 > │ │
00:01:39 verbose #5383 > │ Test: hasAnyPairCloseToEachotherTests │
00:01:39 verbose #5384 > │ │
00:01:39 verbose #5385 > │ Solution: 0 │
00:01:39 verbose #5386 > │ Test case 1. A. Time: 2L │
00:01:39 verbose #5387 > │ │
00:01:39 verbose #5388 > │ Solution: 1,2 │
00:01:39 verbose #5389 > │ Test case 1. A. Time: 0L │
00:01:39 verbose #5390 > │ │
00:01:39 verbose #5391 > │ Solution: 3,5 │
00:01:39 verbose #5392 > │ Test case 1. A. Time: 0L │
00:01:39 verbose #5393 > │ │
00:01:39 verbose #5394 > │ Solution: 3,4,6 │
00:01:39 verbose #5395 > │ Test case 1. A. Time: 0L │
00:01:39 verbose #5396 > │ │
00:01:39 verbose #5397 > │ Solution: 2,4,6 │
00:01:39 verbose #5398 > │ Test case 1. A. Time: 0L │
00:01:39 verbose #5399 > │ │
00:01:39 verbose #5400 > │ Input | Expected | Result | Best │
00:01:39 verbose #5401 > │ --- | --- | --- | --- │
00:01:39 verbose #5402 > │ 0 | False | False | (1, 2) │
00:01:39 verbose #5403 > │ 1,2 | True | True | (1, 0) │
00:01:39 verbose #5404 > │ 3,5 | False | False | (1, 0) │
00:01:39 verbose #5405 > │ 3,4,6 | True | True | (1, 0) │
00:01:39 verbose #5406 > │ 2,4,6 | False | False | (1, 0) │
00:01:39 verbose #5407 > │ │
00:01:39 verbose #5408 > │ Average Ranking │
00:01:39 verbose #5409 > │ Test case 1. Average Time: 0L │
00:01:39 verbose #5410 > │ │
00:01:39 verbose #5411 > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:41 verbose #5412 > [NbConvertApp] Converting notebook Perf.dib.ipynb to html
00:01:41 verbose #5413 > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:41 verbose #5414 > validate(nb)
00:01:43 verbose #5415 > [NbConvertApp] Writing 562923 bytes to Perf.dib.html
00:01:44 debug #5416 execute_with_options_async / exit_code: 0 / output.Length: 378473
00:01:44 debug #3 main / executeCommand / exitCode: 0
00:01:44 verbose #6 wait_for_port_access / port: 13805 / retry: 0 / timeout: Some 100 / status: False
00:01:44 debug #7 run_with_timeout_async / timeout: 100
00:00:00 debug #1 writeDibCode / output: Fs / path: Perf.dib
00:00:00 debug #2 parseDibCode / output: Fs / file: Perf.dib
In [ ]:
{ . ../apps/dir-tree-html/build.ps1 } | Invoke-Block -Location $ScriptDir
core.Invoke-Dib / Get-Location: C:\home\git\polyglot\apps\dir-tree-html / path: DirTreeHtml.dib / _args: null
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DirTreeHtml (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.2.2/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/falco.markup/1.1.1/lib/netstandard2.0/Fal
co.Markup.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: obj)(writer: TextWriter)->fprintfn writer "%120A" x)
── fsharp - import ─────────────────────────────────────────────────────────────
Formatter.Register(fun(x: System.Collections.IEnumerable)(writer:
TextWriter)->fprintfn writer "%120A" x)
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Notebooks.dib
#!import ../../lib/fsharp/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[[<Fable.Core.Er...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::future::Future<Output = $0>")>]]
#endif
type std_future_Future<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures::future::TryJoinAll<$0>")>]]
#endif
type futures_future_TryJoinAll<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::vec::IntoIter<$0>")>]]
#endif
type rayon_vec_IntoIter<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("rayon::iter::Map<$0, _>")>]]
#endif
type rayon_iter_Map<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("futures_lite::stream::StreamExt")>]]
#endif
type futures_lite_stream_StreamExt = class end
let rec closure0 () (v0 : System.Threading.CancellationToken...
── fsharp - import ─────────────────────────────────────────────────────────────
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::thread::JoinHandle<$0>")>]]
#endif
type std_thread_JoinHandle<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Arc<$0>")>]]
#endif
type std_sync_Arc<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::Mutex<$0>")>]]
#endif
type std_sync_Mutex<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::MutexGuard<$0>")>]]
#endif
type std_sync_MutexGuard<'T> = class end
#if FABLE_COMPILER
[[<Fable.Core.Erase; Fable.Core.Emit("std::sync::PoisonError<$0>")>]]
#endif
type std_sync_PoisonError<'T> = class end
type Disposable (f : unit -> unit) = interface System.IDisposable with member
_.Dispose () = f ()
...
── fsharp - import ─────────────────────────────────────────────────────────────
module SpiralTrace =
let trace x =
#if !INTERACTIVE
Trace.trace x
#else
trace x
#endif
type TraceLevel =
#if !INTERACTIVE
Trace.US0
#else
US0
#endif
module SpiralCrypto =
let hash_text x =
#if !INTERACTIVE
Crypto.hash_text x
#else
hash_text x
#endif
#if !FABLE_COMPILER && !WASM && !CONTRACT
module SpiralAsync =
let merge_cancellation_token_with_default_async x =
#if !INTERACTIVE
Async_.merge_cancellation_token_with_default_async x
#else
merge_cancellation_token_with_default_async x
#endif
module SpiralThreading =
let new_disposable_token x =
#if !INTERACTIVE
Threading.new_disposable_token x
#else
new_disposable_token x
#endif
module Spi...
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.2.1/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __assertEqual log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _assertEqual expected actual = __assertEqual true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log ex...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../../lib/fsharp/Common.fs
#!import ../../lib/fsharp/CommonFSharp.fs
#!import ../../lib/fsharp/Async.fs
#!import ../../lib/fsharp/AsyncSeq.fs
#!import ../../lib/fsharp/Runtime.fs
#!import ../../lib/fsharp/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
#if !INTERACTIVE
open Lib
#endif
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
/// ## memoize
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
/// ## TraceLevel
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline _locals () = ""
/// ## trace
let to_trace_level = function
| Verbose -> SpiralTrace.TraceLevel.US0_0
| Debug -> SpiralTrace.TraceLevel.US0_1
| Info -> SpiralTrace.TraceLevel.US0_2
| Warning -> SpiralTrace.TraceLevel.US0_3
| Critical -> Spir...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
/// ## subscribeToken
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
#if !INTERACTIVE
open Lib
#endif
open Common
/// ## parseArgs
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None |
_ -> Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName =
$"{assemblyName}{SpiralRuntime.get_executable_suffix ()}",
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
#if !INTERACTIVE
open Lib
#endif
open Common
open SpiralFileSystem.Operators
/// ## watchDirectory
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> Syst...
── fsharp ──────────────────────────────────────────────────────────────────────
#if !INTERACTIVE
open Lib
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
open SpiralFileSystem.Operators
open Falco.Markup
── fsharp ──────────────────────────────────────────────────────────────────────
type FileSystemNode =
| File of string * string * int64
| Folder of string * string * FileSystemNode list
| Root of FileSystemNode list
let rec scanDirectory isRoot (basePath : string) (path : string) =
let relativePath =
path
|> SpiralSm.replace basePath ""
|> SpiralSm.replace "\\" "/"
|> SpiralSm.replace "//" "/"
|> SpiralSm.trim_start [[| '/' |]]
let directories =
path
|> System.IO.Directory.GetDirectories
|> Array.toList
|> List.sort
|> List.map (scanDirectory false basePath)
let files =
path
|> System.IO.Directory.GetFiles
|> Array.toList
|> List.sort
|> List.map (fun f -> File (System.IO.Path.GetFileName f, relativePath,
System.IO.FileInfo(f).Length))
let children = directories @ files
if isRoot
then Root children
else Folder (path |> System.IO.Path.GetFileName, relativePath, children)
let rec generateHtml fsNode =
let sizeLabel size =
match float size with
| size when size > 1024.0 * 1024.0 -> $"%.2f{size / 1024.0 / 1024.0} MB"
| size when size > 1024.0 -> $"%.2f{size / 1024.0} KB"
| size -> $"%.2f{size} B"
match fsNode with
| File (fileName, relativePath, size) ->
Elem.div [[]] [[
Text.raw "📄 "
Elem.a [[
Attr.href $"""{relativePath}{if relativePath = "" then "" else
"/"}{fileName}"""
]] [[
Text.raw fileName
]]
Elem.span [[]] [[
Text.raw $" ({size |> sizeLabel})"
]]
]]
| Folder (folderName, relativePath, children) ->
let size =
let rec loop children =
children
|> List.sumBy (function
| File (_, _, size) -> size
| Folder (_, _, children)
| Root children -> loop children
)
loop children
Elem.details [[
Attr.open' "true"
]] [[
Elem.summary [[]] [[
Text.raw "📂 "
Elem.a [[
Attr.href relativePath
]] [[
Text.raw folderName
]]
Elem.span [[]] [[
Text.raw $" ({size |> sizeLabel})"
]]
]]
Elem.div [[]] [[
yield! children |> List.map generateHtml
]]
]]
| Root children ->
Elem.div [[]] [[
yield! children |> List.map generateHtml
]]
let generateHtmlForFileSystem root =
$"""<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {{
background-color: #222;
color: #ccc;
}}
a {{
color: #777;
font-size: 15px;
}}
span {{
font-size: 11px;
}}
div > div {{
padding-left: 10px;
}}
details > div {{
padding-left: 19px;
}}
</style>
</head>
<body>
{root |> generateHtml |> renderNode}
</body>
</html>
"""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let struct (tempFolder, disposable) = SpiralFileSystem.create_temp_directory ()
let rec loop d n = async {
if n >= 0 then
tempFolder </> d |> System.IO.Directory.CreateDirectory |> ignore
do!
n
|> string
|> String.replicate (n + 1)
|> SpiralFileSystem.write_all_text_async (tempFolder </> d </>
$"file.txt")
do! loop $"{d}/{n}" (n - 1)
}
loop "_.root" 3
|> Async.RunSynchronously
let html =
scanDirectory true tempFolder tempFolder
|> generateHtmlForFileSystem
html
|> _assertEqual """<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
background-color: #222;
color: #ccc;
}
a {
color: #777;
font-size: 15px;
}
span {
font-size: 11px;
}
div > div {
padding-left: 10px;
}
details > div {
padding-left: 19px;
}
</style>
</head>
<body>
<div><details open="true"><summary>📂 <a href="_.root">_.root</a><span>
(10.00 B)</span></summary><div><details open="true"><summary>📂 <a
href="_.root/3">3</a><span> (6.00 B)</span></summary><div><details
open="true"><summary>📂 <a href="_.root/3/2">2</a><span> (3.00
B)</span></summary><div><details open="true"><summary>📂 <a
href="_.root/3/2/1">1</a><span> (1.00 B)</span></summary><div><div>📄 <a
href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00
B)</span></div></div></details><div>📄 <a
href="_.root/3/2/file.txt">file.txt</a><span> (2.00
B)</span></div></div></details><div>📄 <a
href="_.root/3/file.txt">file.txt</a><span> (3.00
B)</span></div></div></details><div>📄 <a
href="_.root/file.txt">file.txt</a><span> (4.00
B)</span></div></div></details></div>
</body>
</html>
"""
html |> Microsoft.DotNet.Interactive.Formatting.Html.ToHtmlContent
disposable.Dispose ()
╭─[ 208.68ms - stdout ]────────────────────────────────────────────────────────╮
│ "<!DOCTYPE html> │
│ <html lang="en"> │
│ <head> │
│ <meta charset="UTF-8"> │
│ <style> │
│ body { │
│ background-color: #222; │
│ color: #ccc; │
│ } │
│ a { │
│ color: #777; │
│ font-size: 15px; │
│ } │
│ span { │
│ font-size: 11px; │
│ } │
│ div > div { │
│ padding-left: 10px; │
│ } │
│ details > div { │
│ padding-left: 19px; │
│ } │
│ </style> │
│ </head> │
│ <body> │
│ <div><details open="true"><summary>📂 <a │
│ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details │
│ open="true"><summary>📂 <a href="_.root/3">3</a><span> (6.00 │
│ B)</span></summary><div><details open="true"><summary>📂 <a │
│ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details │
│ open="true"><summary>📂 <a href="_.root/3/2/1">1</a><span> (1.00 │
│ B)</span></summary><div><div>📄 <a │
│ href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00 │
│ B)</span></div></div></details><div>📄 <a │
│ href="_.root/3/2/file.txt">file.txt</a><span> (2.00 │
│ B)</span></div></div></details><div>📄 <a │
│ href="_.root/3/file.txt">file.txt</a><span> (3.00 │
│ B)</span></div></div></details><div>📄 <a │
│ href="_.root/file.txt">file.txt</a><span> (4.00 │
│ B)</span></div></div></details></div> │
│ </body> │
│ </html> │
│ " │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.ExactlyOnce>]] Dir of string
| [[<Argu.ArguAttributes.ExactlyOnce>]] Html of string
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Dir _ -> nameof Dir
| Html _ -> nameof Html
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Argu.ArgumentParser.Create<Arguments>().PrintUsage ()
╭─[ 100.60ms - return value ]──────────────────────────────────────────────────╮
│ "USAGE: dotnet-repl [--help] --dir <string> --html <string> │
│ │
│ OPTIONS: │
│ │
│ --dir <string> Dir │
│ --html <string> Html │
│ --help display this list of options. │
│ " │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let dir =
match argsMap.[[nameof Arguments.Dir]] with
| [[ Arguments.Dir dir ]] -> Some dir
| _ -> None
|> Option.get
let htmlPath =
match argsMap.[[nameof Arguments.Html]] with
| [[ Arguments.Html html ]] -> Some html
| _ -> None
|> Option.get
let fileSystem = scanDirectory true dir dir
let html = generateHtmlForFileSystem fileSystem
html |> SpiralFileSystem.write_all_text_async htmlPath
|> Async.runWithTimeout 30000
|> function
| Some () -> 0
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> SpiralRuntime.split_args
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 74.82ms - return value ]───────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0 │
│ </pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook DirTreeHtml.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
[NbConvertApp] Writing 308200 bytes to DirTreeHtml.dib.html
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func0<$0>")>]
#endif
type Func0<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Func1<$0, $1>")>]
#endif
type Func0<'T, 'U> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Box<$0>")>]
#endif
type Box<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("dyn $0")>]
#endif
type Dyn<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("$0 + Send")>]
#endif
type Send<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Fn() -> $0")>]
#endif
type Fn<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Fn()")>]
#endif
type FnUnit = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("FnOnce() -> $0")>]
#endif
type FnOnce<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Fn($0)")>]
#endif
type ActionFn<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("Fn($0, $1)")>]
#endif
type ActionFn2<'T, 'U> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("impl $0")>]
#endif
type Impl<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("mut $0")>]
#endif
type Mut<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&$0")>]
#endif
type Ref<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("&'static $0")>]
#endif
type StaticRef<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("MutCell<$0>")>]
#endif
type MutCell<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::any::Any")>]
#endif
type std_any_Any = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::borrow::Cow<$0>")>]
#endif
type std_borrow_Cow<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::cell::RefCell<$0>")>]
#endif
type std_cell_RefCell<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::pin::Pin<$0>")>]
#endif
type std_pin_Pin<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::rc::Rc<$0>")>]
#endif
type std_rc_Rc<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::rc::Weak<$0>")>]
#endif
type std_rc_Weak<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("str")>]
#endif
type Str = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("base64::DecodeError")>]
#endif
type base64_DecodeError = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("borsh::io::Error")>]
#endif
type borsh_io_Error = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("js_sys::JsString")>]
#endif
type js_sys_JsString = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("serde_json::Error")>]
#endif
type serde_json_Error = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("serde_json::Value")>]
#endif
type serde_json_Value = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("serde_wasm_bindgen::Error")>]
#endif
type serde_wasm_bindgen_Error = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsStr")>]
#endif
type std_ffi_OsStr = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::ffi::OsString")>]
#endif
type std_ffi_OsString = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::fmt::Display<$0>")>]
#endif
type std_fmt_Display<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::str::Utf8Error")>]
#endif
type std_str_Utf8Error = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::FromUtf8Error")>]
#endif
type std_string_FromUtf8Error = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>]
#endif
type std_string_String = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("std::slice::Windows<$0>")>]
#endif
type std_slice_Windows<'T> = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("reqwest_wasm::Error")>]
#endif
type reqwest_Error = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("reqwest_wasm::RequestBuilder")>]
#endif
type reqwest_RequestBuilder = class end
#if FABLE_COMPILER
[<Fable.Core.Erase; Fable.Core.Emit("reqwest_wasm::Response")>]
#endif
type reqwest_Response = class end
module State = let mutable trace_state = None
type Mut0 = {mutable l0 : int64}
and Mut1 = {mutable l0 : bool}
and [<Struct>] US0 =
| US0_0
| US0_1
| US0_2
| US0_3
| US0_4
and Mut2 = {mutable l0 : US0}
and Mut3 = {mutable l0 : (string -> unit)}
and [<Struct>] US1 =
| US1_0 of f0_0 : int64
| US1_1
and [<Struct>] US2 =
| US2_0 of f0_0 : int64
| US2_1
and [<Struct>] US3 =
| US3_0 of f0_0 : bool
| US3_1
and [<Struct>] US4 =
| US4_0 of f0_0 : bool
| US4_1 of f1_0 : exn
and [<Struct>] US5 =
| US5_0 of f0_0 : bool
| US5_1 of f1_0 : exn
and [<Struct>] US6 =
| US6_0 of f0_0 : int32
| US6_1
let rec closure1 () (v0 : string) : unit =
()
and method0 (v0 : int64 option) : int64 option =
v0
and method1 (v0 : int64 option) : int64 option =
v0
and closure0 () () : struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3) =
let v0 : Mut1 = {l0 = true} : Mut1
let v1 : Mut0 = {l0 = 0L} : Mut0
let v2 : US0 = US0_0
let v3 : Mut2 = {l0 = v2} : Mut2
let v4 : (string -> unit) = closure1()
let v5 : Mut3 = {l0 = v4} : Mut3
let v6 : int64 option option = None
let mutable _v6 = v6
#if INTERACTIVE || !FABLE_COMPILER
let v7 : string option = None
let v8 : bool = true in let mutable _v7 = v7
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v9 : string = "env!(\"CARGO_PKG_NAME\").into()"
let v10 : string = Fable.Core.RustInterop.emitRustExpr () v9
v10
#endif
#if FABLE_COMPILER_RUST && WASM
let v11 : string = null |> unbox<string>
v11
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v12 : string = null |> unbox<string>
v12
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v13 : string = null |> unbox<string>
v13
#endif
#if FABLE_COMPILER_PYTHON
let v14 : string = null |> unbox<string>
v14
#endif
#else
let v15 : string = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
v15
#endif
|> fun x -> _v7 <- Some x
let v16 : string = _v7.Value
let v18 : bool = v16 = "Microsoft.DotNet.Interactive.App"
let v19 : bool = v18 <> true
let v25 : US1 =
if v19 then
let v20 : System.DateTime = System.DateTime.Now
let v21 : (System.DateTime -> int64) = _.Ticks
let v22 : int64 = v21 v20
US1_0(v22)
else
US1_1
let v30 : int64 option =
match v25 with
| US1_1 -> (* None *)
let v28 : int64 option = None
v28
| US1_0(v26) -> (* Some *)
let v27 : int64 option = Some v26
v27
let v31 : int64 option = method0(v30)
v31
#else
let v32 : int64 option = None
let v33 : int64 option = method1(v32)
v33
#endif
|> fun x -> _v6 <- Some x
let v34 : int64 option = _v6.Value
struct (v1, v0, v3, v34, v5)
and closure3 (v0 : string) () : string =
let v1 : string = $"test_port_open / ex: {v0}"
v1
and closure4 () () : string =
let v0 : string = ""
v0
and closure6 () (v0 : int64) : US2 =
US2_0(v0)
and method3 () : (int64 -> US2) =
closure6()
and method4 () : string =
let v0 : string = ""
v0
and closure5 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) () : string =
let v3 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = closure0()
if State.trace_state.IsNone then State.trace_state <- v3 () |> Some
let struct (v4 : Mut0, v5 : Mut1, v6 : Mut2, v7 : int64 option, v8 : Mut3) = State.trace_state.Value
let v9 : string option = None
let v10 : bool = true in let mutable _v9 = v9
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v11 : (int64 -> US2) = method3()
let v12 : US2 = US2_1
let v13 : US2 = v7 |> Option.map v11 |> Option.defaultValue v12
let v31 : System.DateTime =
match v13 with
| US2_1 -> (* None *)
let v29 : System.DateTime = System.DateTime.Now
v29
| US2_0(v14) -> (* Some *)
let v15 : System.DateTime = System.DateTime.Now
let v16 : (System.DateTime -> int64) = _.Ticks
let v17 : int64 = v16 v15
let v18 : int64 = v17 - v14
let v19 : System.TimeSpan = System.TimeSpan v18
let v20 : (System.TimeSpan -> int32) = _.Hours
let v21 : int32 = v20 v19
let v22 : (System.TimeSpan -> int32) = _.Minutes
let v23 : int32 = v22 v19
let v24 : (System.TimeSpan -> int32) = _.Seconds
let v25 : int32 = v24 v19
let v26 : (System.TimeSpan -> int32) = _.Milliseconds
let v27 : int32 = v26 v19
let v28 : System.DateTime = System.DateTime (1, 1, 1, v21, v23, v25, v27)
v28
let v32 : string = "hh:mm:ss"
let v33 : string = v31.ToString v32
v33
#endif
#if FABLE_COMPILER_RUST && WASM
let v34 : string = method4()
v34
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v35 : string = method4()
v35
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v36 : string = method4()
v36
#endif
#if FABLE_COMPILER_PYTHON
let v37 : string = method4()
v37
#endif
#else
let v38 : (int64 -> US2) = method3()
let v39 : US2 = US2_1
let v40 : US2 = v7 |> Option.map v38 |> Option.defaultValue v39
let v58 : System.DateTime =
match v40 with
| US2_1 -> (* None *)
let v56 : System.DateTime = System.DateTime.Now
v56
| US2_0(v41) -> (* Some *)
let v42 : System.DateTime = System.DateTime.Now
let v43 : (System.DateTime -> int64) = _.Ticks
let v44 : int64 = v43 v42
let v45 : int64 = v44 - v41
let v46 : System.TimeSpan = System.TimeSpan v45
let v47 : (System.TimeSpan -> int32) = _.Hours
let v48 : int32 = v47 v46
let v49 : (System.TimeSpan -> int32) = _.Minutes
let v50 : int32 = v49 v46
let v51 : (System.TimeSpan -> int32) = _.Seconds
let v52 : int32 = v51 v46
let v53 : (System.TimeSpan -> int32) = _.Milliseconds
let v54 : int32 = v53 v46
let v55 : System.DateTime = System.DateTime (1, 1, 1, v48, v50, v52, v54)
v55
let v59 : string = "HH:mm:ss"
let v60 : string = v58.ToString v59
v60
#endif
|> fun x -> _v9 <- Some x
let v61 : string = _v9.Value
let v62 : int64 = v4.l0
let v72 : string =
match v0 with
| US0_4 -> (* Critical *)
let v67 : string = "Critical"
v67
| US0_1 -> (* Debug *)
let v64 : string = "Debug"
v64
| US0_2 -> (* Info *)
let v65 : string = "Info"
v65
| US0_0 -> (* Verbose *)
let v63 : string = "Verbose"
v63
| US0_3 -> (* Warning *)
let v66 : string = "Warning"
v66
let v73 : string = v72.ToLower ()
let v74 : string = v73.PadLeft (7, ' ')
let v75 : string option = None
let v76 : bool = true in let mutable _v75 = v75
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v91 : Ref<Str> =
match v0 with
| US0_4 -> (* Critical *)
let v85 : string = "inline_colorization::color_bright_red"
let v86 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v85
v86
| US0_1 -> (* Debug *)
let v79 : string = "inline_colorization::color_bright_blue"
let v80 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v79
v80
| US0_2 -> (* Info *)
let v81 : string = "inline_colorization::color_bright_green"
let v82 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v81
v82
| US0_0 -> (* Verbose *)
let v77 : string = "inline_colorization::color_bright_black"
let v78 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v77
v78
| US0_3 -> (* Warning *)
let v83 : string = "inline_colorization::color_bright_yellow"
let v84 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v83
v84
let v92 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)"
let v93 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v92
let v94 : string = "inline_colorization::color_reset"
let v95 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v94
let v96 : string = "\"{v91}{v93}{v95}\""
let v97 : string = @$"format!(" + v96 + ")"
let v98 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v97
let v99 : string = "fable_library_rust::String_::fromString($0)"
let v100 : string = Fable.Core.RustInterop.emitRustExpr v98 v99
v100
#endif
#if FABLE_COMPILER_RUST && WASM
let v115 : Ref<Str> =
match v0 with
| US0_4 -> (* Critical *)
let v109 : string = "inline_colorization::color_bright_red"
let v110 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v109
v110
| US0_1 -> (* Debug *)
let v103 : string = "inline_colorization::color_bright_blue"
let v104 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v103
v104
| US0_2 -> (* Info *)
let v105 : string = "inline_colorization::color_bright_green"
let v106 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v105
v106
| US0_0 -> (* Verbose *)
let v101 : string = "inline_colorization::color_bright_black"
let v102 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v101
v102
| US0_3 -> (* Warning *)
let v107 : string = "inline_colorization::color_bright_yellow"
let v108 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v107
v108
let v116 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)"
let v117 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v116
let v118 : string = "inline_colorization::color_reset"
let v119 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v118
let v120 : string = "\"{v115}{v117}{v119}\""
let v121 : string = @$"format!(" + v120 + ")"
let v122 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v121
let v123 : string = "fable_library_rust::String_::fromString($0)"
let v124 : string = Fable.Core.RustInterop.emitRustExpr v122 v123
v124
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v139 : Ref<Str> =
match v0 with
| US0_4 -> (* Critical *)
let v133 : string = "inline_colorization::color_bright_red"
let v134 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v133
v134
| US0_1 -> (* Debug *)
let v127 : string = "inline_colorization::color_bright_blue"
let v128 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v127
v128
| US0_2 -> (* Info *)
let v129 : string = "inline_colorization::color_bright_green"
let v130 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v129
v130
| US0_0 -> (* Verbose *)
let v125 : string = "inline_colorization::color_bright_black"
let v126 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v125
v126
| US0_3 -> (* Warning *)
let v131 : string = "inline_colorization::color_bright_yellow"
let v132 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v131
v132
let v140 : string = "fable_library_rust::String_::LrcStr::as_str(&$0)"
let v141 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr v74 v140
let v142 : string = "inline_colorization::color_reset"
let v143 : Ref<Str> = Fable.Core.RustInterop.emitRustExpr () v142
let v144 : string = "\"{v139}{v141}{v143}\""
let v145 : string = @$"format!(" + v144 + ")"
let v146 : std_string_String = Fable.Core.RustInterop.emitRustExpr () v145
let v147 : string = "fable_library_rust::String_::fromString($0)"
let v148 : string = Fable.Core.RustInterop.emitRustExpr v146 v147
v148
#endif
#if FABLE_COMPILER_TYPESCRIPT
v74
#endif
#if FABLE_COMPILER_PYTHON
v74
#endif
#else
v74
#endif
|> fun x -> _v75 <- Some x
let v149 : string = _v75.Value
let v150 : string = v1 ()
let v151 : string = $"{v61} {v149} #{v62} %s{v150} / %s{v2 ()}"
let v152 : (char []) = [||]
let v153 : string = v151.TrimStart v152
let v154 : (char []) = [|' '; '/'|]
let v155 : string = v153.TrimEnd v154
v155
and method5 (v0 : US0, v1 : (unit -> string)) : unit =
let v2 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = closure0()
if State.trace_state.IsNone then State.trace_state <- v2 () |> Some
let struct (v3 : Mut0, v4 : Mut1, v5 : Mut2, v6 : int64 option, v7 : Mut3) = State.trace_state.Value
if State.trace_state.IsNone then State.trace_state <- v2 () |> Some
let struct (v8 : Mut0, v9 : Mut1, v10 : Mut2, v11 : int64 option, v12 : Mut3) = State.trace_state.Value
let v13 : US0 = v10.l0
let v14 : bool = v9.l0
let v15 : bool = v14 = false
let v19 : bool =
if v15 then
false
else
let v16 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v0
let v17 : int32 = [ US0_0, 0; US0_1, 1; US0_2, 2; US0_3, 3; US0_4, 4 ] |> Map |> Map.find v13
let v18 : bool = v16 >= v17
v18
if v19 then
let v20 : int64 = v3.l0
let v21 : int64 = v20 + 1L
v3.l0 <- v21
let v22 : string = $"%s{v1 ()}"
let v23 : unit option = None
let v24 : bool = true in let mutable _v23 = v23
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v25 : string = @"println!(""{}"", $0)"
Fable.Core.RustInterop.emitRustExpr v22 v25
()
#endif
#if FABLE_COMPILER_RUST && WASM
let v26 : string = @"println!(""{}"", $0)"
Fable.Core.RustInterop.emitRustExpr v22 v26
()
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v27 : string = @"println!(""{}"", $0)"
Fable.Core.RustInterop.emitRustExpr v22 v27
()
#endif
#if FABLE_COMPILER_TYPESCRIPT
System.Console.WriteLine v22
()
#endif
#if FABLE_COMPILER_PYTHON
System.Console.WriteLine v22
()
#endif
#else
System.Console.WriteLine v22
()
#endif
|> fun x -> _v23 <- Some x
_v23.Value
let v28 : (string -> unit) = v7.l0
v28 v22
and method2 (v0 : US0, v1 : (unit -> string), v2 : (unit -> string)) : unit =
let v3 : (unit -> string) = closure5(v0, v1, v2)
method5(v0, v3)
and closure2 () (v0 : int32) : Async<bool> =
let v1 : Async<bool> option = None
let v2 : bool = true in let mutable _v1 = v1
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v3 : Async<bool> = null |> unbox<Async<bool>>
v3
#endif
#if FABLE_COMPILER_RUST && WASM
let v4 : Async<bool> = null |> unbox<Async<bool>>
v4
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v5 : Async<bool> = null |> unbox<Async<bool>>
v5
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v6 : Async<bool> = null |> unbox<Async<bool>>
v6
#endif
#if FABLE_COMPILER_PYTHON
let v7 : Async<bool> = null |> unbox<Async<bool>>
v7
#endif
#else
let v8 : Async<bool> option = None
let mutable _v8 = v8
async {
let v9 : Async<System.Threading.CancellationToken> = Async.CancellationToken
let! v9 = v9
let v10 : System.Threading.CancellationToken = v9
let v11 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
use v11 = v11
let v12 : System.Net.Sockets.TcpClient = v11
try
let v13 : string = "127.0.0.1"
let v14 : System.Threading.Tasks.ValueTask = v12.ConnectAsync (v13, v0, v10)
let v15 : (unit -> System.Threading.Tasks.Task) = v14.AsTask
let v16 : System.Threading.Tasks.Task = v15 ()
let v17 : Async<unit> option = None
let v18 : bool = true in let mutable _v17 = v17
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v19 : Async<unit> = null |> unbox<Async<unit>>
v19
#endif
#if FABLE_COMPILER_RUST && WASM
let v20 : Async<unit> = null |> unbox<Async<unit>>
v20
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v21 : Async<unit> = null |> unbox<Async<unit>>
v21
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v22 : Async<unit> = null |> unbox<Async<unit>>
v22
#endif
#if FABLE_COMPILER_PYTHON
let v23 : Async<unit> = null |> unbox<Async<unit>>
v23
#endif
#else
let v24 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
let v25 : Async<unit> = v24 v16
v25
#endif
|> fun x -> _v17 <- Some x
let v26 : Async<unit> = _v17.Value
do! v26
return true
with ex ->
let v27 : exn = ex
let v28 : string option = None
let v29 : bool = true in let mutable _v28 = v28
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v30 : string = $"%A{v27}"
v30
#endif
#if FABLE_COMPILER_RUST && WASM
let v31 : string = $"%A{v27}"
v31
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v32 : string = $"%A{v27}"
v32
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v33 : string = $"%A{v27}"
v33
#endif
#if FABLE_COMPILER_PYTHON
let v34 : string = $"%A{v27}"
v34
#endif
#else
let v35 : string = $"{v27.GetType ()}: {v27.Message}"
v35
#endif
|> fun x -> _v28 <- Some x
let v36 : string = _v28.Value
let v37 : US0 = US0_0
let v38 : (unit -> string) = closure3(v36)
let v39 : (unit -> string) = closure4()
method2(v37, v38, v39)
return false
(*
let v40 : bool = *)
}
|> fun x -> _v8 <- Some x
let v41 : Async<bool> = _v8 |> Option.get
v41
#endif
|> fun x -> _v1 <- Some x
let v42 : Async<bool> = _v1.Value
v42
and closure9 () (v0 : bool) : US4 =
US4_0(v0)
and closure10 () (v0 : exn) : US4 =
US4_1(v0)
and closure11 () () : string =
let v0 : string = "run_with_timeout_async"
v0
and closure12 (v0 : int32) () : string =
let v1 : (unit -> string) = closure4()
let v2 : string = $"timeout: {v0} / {v1 ()}"
v2
and closure13 (v0 : string) () : string =
let v1 : string = $"run_with_timeout_async** / ex: {v0}"
v1
and closure8 (v0 : int32) (v1 : int32) : Async<bool> =
let v2 : Async<bool> option = None
let v3 : bool = true in let mutable _v2 = v2
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v4 : Async<bool> = null |> unbox<Async<bool>>
v4
#endif
#if FABLE_COMPILER_RUST && WASM
let v5 : Async<bool> = null |> unbox<Async<bool>>
v5
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v6 : Async<bool> = null |> unbox<Async<bool>>
v6
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v7 : Async<bool> = null |> unbox<Async<bool>>
v7
#endif
#if FABLE_COMPILER_PYTHON
let v8 : Async<bool> = null |> unbox<Async<bool>>
v8
#endif
#else
let v9 : Async<bool> option = None
let mutable _v9 = v9
async {
let v10 : Async<bool> option = None
let v11 : bool = true in let mutable _v10 = v10
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v12 : Async<bool> = null |> unbox<Async<bool>>
v12
#endif
#if FABLE_COMPILER_RUST && WASM
let v13 : Async<bool> = null |> unbox<Async<bool>>
v13
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v14 : Async<bool> = null |> unbox<Async<bool>>
v14
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v15 : Async<bool> = null |> unbox<Async<bool>>
v15
#endif
#if FABLE_COMPILER_PYTHON
let v16 : Async<bool> = null |> unbox<Async<bool>>
v16
#endif
#else
let v17 : Async<bool> option = None
let mutable _v17 = v17
async {
let v18 : Async<System.Threading.CancellationToken> = Async.CancellationToken
let! v18 = v18
let v19 : System.Threading.CancellationToken = v18
let v20 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
use v20 = v20
let v21 : System.Net.Sockets.TcpClient = v20
try
let v22 : string = "127.0.0.1"
let v23 : System.Threading.Tasks.ValueTask = v21.ConnectAsync (v22, v1, v19)
let v24 : (unit -> System.Threading.Tasks.Task) = v23.AsTask
let v25 : System.Threading.Tasks.Task = v24 ()
let v26 : Async<unit> option = None
let v27 : bool = true in let mutable _v26 = v26
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v28 : Async<unit> = null |> unbox<Async<unit>>
v28
#endif
#if FABLE_COMPILER_RUST && WASM
let v29 : Async<unit> = null |> unbox<Async<unit>>
v29
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v30 : Async<unit> = null |> unbox<Async<unit>>
v30
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v31 : Async<unit> = null |> unbox<Async<unit>>
v31
#endif
#if FABLE_COMPILER_PYTHON
let v32 : Async<unit> = null |> unbox<Async<unit>>
v32
#endif
#else
let v33 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
let v34 : Async<unit> = v33 v25
v34
#endif
|> fun x -> _v26 <- Some x
let v35 : Async<unit> = _v26.Value
do! v35
return true
with ex ->
let v36 : exn = ex
let v37 : string option = None
let v38 : bool = true in let mutable _v37 = v37
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v39 : string = $"%A{v36}"
v39
#endif
#if FABLE_COMPILER_RUST && WASM
let v40 : string = $"%A{v36}"
v40
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v41 : string = $"%A{v36}"
v41
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v42 : string = $"%A{v36}"
v42
#endif
#if FABLE_COMPILER_PYTHON
let v43 : string = $"%A{v36}"
v43
#endif
#else
let v44 : string = $"{v36.GetType ()}: {v36.Message}"
v44
#endif
|> fun x -> _v37 <- Some x
let v45 : string = _v37.Value
let v46 : US0 = US0_0
let v47 : (unit -> string) = closure3(v45)
let v48 : (unit -> string) = closure4()
method2(v46, v47, v48)
return false
(*
let v49 : bool = *)
}
|> fun x -> _v17 <- Some x
let v50 : Async<bool> = _v17 |> Option.get
v50
#endif
|> fun x -> _v10 <- Some x
let v51 : Async<bool> = _v10.Value
let v52 : Async<US3> option = None
let v53 : bool = true in let mutable _v52 = v52
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v54 : Async<US3> = null |> unbox<Async<US3>>
v54
#endif
#if FABLE_COMPILER_RUST && WASM
let v55 : Async<US3> = null |> unbox<Async<US3>>
v55
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v56 : Async<US3> = null |> unbox<Async<US3>>
v56
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v57 : Async<US3> = null |> unbox<Async<US3>>
v57
#endif
#if FABLE_COMPILER_PYTHON
let v58 : Async<US3> = null |> unbox<Async<US3>>
v58
#endif
#else
let v59 : Async<US3> option = None
let v60 : bool = true in let mutable _v59 = v59
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v61 : Async<US3> = null |> unbox<Async<US3>>
v61
#endif
#if FABLE_COMPILER_RUST && WASM
let v62 : Async<US3> = null |> unbox<Async<US3>>
v62
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v63 : Async<US3> = null |> unbox<Async<US3>>
v63
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v64 : Async<US3> = null |> unbox<Async<US3>>
v64
#endif
#if FABLE_COMPILER_PYTHON
let v65 : Async<US3> = null |> unbox<Async<US3>>
v65
#endif
#else
let v66 : Async<US3> option = None
let mutable _v66 = v66
async {
let v67 : Async<Async<bool>> option = None
let v68 : bool = true in let mutable _v67 = v67
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v69 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v69
#endif
#if FABLE_COMPILER_RUST && WASM
let v70 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v70
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v71 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v71
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v72 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v72
#endif
#if FABLE_COMPILER_PYTHON
let v73 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v73
#endif
#else
let v74 : Async<Async<bool>> = Async.StartChild (v51, v0)
v74
#endif
|> fun x -> _v67 <- Some x
let v75 : Async<Async<bool>> = _v67.Value
let! v75 = v75
let v76 : Async<bool> = v75
let v77 : Async<Choice<bool, exn>> option = None
let v78 : bool = true in let mutable _v77 = v77
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v79 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v79
#endif
#if FABLE_COMPILER_RUST && WASM
let v80 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v80
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v81 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v81
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v82 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v82
#endif
#if FABLE_COMPILER_PYTHON
let v83 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v83
#endif
#else
let v84 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch
let v85 : Async<Choice<bool, exn>> = v84 v76
v85
#endif
|> fun x -> _v77 <- Some x
let v86 : Async<Choice<bool, exn>> = _v77.Value
let v87 : Async<US4> option = None
let v88 : bool = true in let mutable _v87 = v87
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v89 : Async<US4> = null |> unbox<Async<US4>>
v89
#endif
#if FABLE_COMPILER_RUST && WASM
let v90 : Async<US4> = null |> unbox<Async<US4>>
v90
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v91 : Async<US4> = null |> unbox<Async<US4>>
v91
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v92 : Async<US4> = null |> unbox<Async<US4>>
v92
#endif
#if FABLE_COMPILER_PYTHON
let v93 : Async<US4> = null |> unbox<Async<US4>>
v93
#endif
#else
let v94 : Async<US4> option = None
let mutable _v94 = v94
async {
let! v86 = v86
let v95 : Choice<bool, exn> = v86
let v96 : US4 option = None
let v97 : bool = true in let mutable _v96 = v96
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v98 : US4 = null |> unbox<US4>
v98
#endif
#if FABLE_COMPILER_RUST && WASM
let v99 : US4 = null |> unbox<US4>
v99
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v100 : US4 = null |> unbox<US4>
v100
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v101 : US4 = null |> unbox<US4>
v101
#endif
#if FABLE_COMPILER_PYTHON
let v102 : US4 = null |> unbox<US4>
v102
#endif
#else
let v103 : (bool -> US4) = closure9()
let v104 : (exn -> US4) = closure10()
let v105 : US4 = match v95 with Choice1Of2 x -> v103 x | Choice2Of2 x -> v104 x
v105
#endif
|> fun x -> _v96 <- Some x
let v106 : US4 = _v96.Value
return v106
}
|> fun x -> _v94 <- Some x
let v107 : Async<US4> = _v94 |> Option.get
v107
#endif
|> fun x -> _v87 <- Some x
let v108 : Async<US4> = _v87.Value
let v109 : Async<US5> option = None
let v110 : bool = true in let mutable _v109 = v109
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v111 : Async<US5> = null |> unbox<Async<US5>>
v111
#endif
#if FABLE_COMPILER_RUST && WASM
let v112 : Async<US5> = null |> unbox<Async<US5>>
v112
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v113 : Async<US5> = null |> unbox<Async<US5>>
v113
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v114 : Async<US5> = null |> unbox<Async<US5>>
v114
#endif
#if FABLE_COMPILER_PYTHON
let v115 : Async<US5> = null |> unbox<Async<US5>>
v115
#endif
#else
let v116 : Async<US5> option = None
let mutable _v116 = v116
async {
let! v108 = v108
let v117 : US4 = v108
let v123 : US5 =
match v117 with
| US4_0(v118) -> (* Choice1Of2 *)
US5_0(v118)
| US4_1(v120) -> (* Choice2Of2 *)
US5_1(v120)
return v123
}
|> fun x -> _v116 <- Some x
let v124 : Async<US5> = _v116 |> Option.get
v124
#endif
|> fun x -> _v109 <- Some x
let v125 : Async<US5> = _v109.Value
let v126 : Async<US3> option = None
let v127 : bool = true in let mutable _v126 = v126
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v128 : Async<US3> = null |> unbox<Async<US3>>
v128
#endif
#if FABLE_COMPILER_RUST && WASM
let v129 : Async<US3> = null |> unbox<Async<US3>>
v129
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v130 : Async<US3> = null |> unbox<Async<US3>>
v130
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v131 : Async<US3> = null |> unbox<Async<US3>>
v131
#endif
#if FABLE_COMPILER_PYTHON
let v132 : Async<US3> = null |> unbox<Async<US3>>
v132
#endif
#else
let v133 : Async<US3> option = None
let mutable _v133 = v133
async {
let! v125 = v125
let v134 : US5 = v125
let v160 : US3 =
match v134 with
| US5_1(v137) -> (* Error *)
let v138 : string = $"%A{v137}"
let v139 : string = "System.TimeoutException"
let v140 : bool = v138.Contains v139
if v140 then
let v141 : US0 = US0_1
let v142 : (unit -> string) = closure11()
let v143 : (unit -> string) = closure12(v0)
method2(v141, v142, v143)
US3_1
else
let v145 : string option = None
let v146 : bool = true in let mutable _v145 = v145
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v147 : string = $"%A{v137}"
v147
#endif
#if FABLE_COMPILER_RUST && WASM
let v148 : string = $"%A{v137}"
v148
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v149 : string = $"%A{v137}"
v149
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v150 : string = $"%A{v137}"
v150
#endif
#if FABLE_COMPILER_PYTHON
let v151 : string = $"%A{v137}"
v151
#endif
#else
let v152 : string = $"{v137.GetType ()}: {v137.Message}"
v152
#endif
|> fun x -> _v145 <- Some x
let v153 : string = _v145.Value
let v154 : US0 = US0_4
let v155 : (unit -> string) = closure13(v153)
let v156 : (unit -> string) = closure12(v0)
method2(v154, v155, v156)
US3_1
| US5_0(v135) -> (* Ok *)
US3_0(v135)
return v160
}
|> fun x -> _v133 <- Some x
let v161 : Async<US3> = _v133 |> Option.get
v161
#endif
|> fun x -> _v126 <- Some x
let v162 : Async<US3> = _v126.Value
return! v162
}
|> fun x -> _v66 <- Some x
let v163 : Async<US3> = _v66 |> Option.get
v163
#endif
|> fun x -> _v59 <- Some x
let v164 : Async<US3> = _v59.Value
v164
#endif
|> fun x -> _v52 <- Some x
let v165 : Async<US3> = _v52.Value
let! v165 = v165
let v166 : US3 = v165
let v169 : bool =
match v166 with
| US3_1 -> (* None *)
false
| US3_0(v167) -> (* Some *)
v167
return v169
}
|> fun x -> _v9 <- Some x
let v170 : Async<bool> = _v9 |> Option.get
v170
#endif
|> fun x -> _v2 <- Some x
let v171 : Async<bool> = _v2.Value
v171
and closure7 () (v0 : int32) : (int32 -> Async<bool>) =
closure8(v0)
and closure17 () (v0 : int32) : US6 =
US6_0(v0)
and method7 () : (int32 -> US6) =
closure17()
and closure18 () () : string =
let v0 : string = "wait_for_port_access"
v0
and closure19 (v0 : int32 option, v1 : bool, v2 : int32, v3 : int64) () : string =
let v4 : (unit -> string) = closure4()
let v5 : string = $"port: {v2} / retry: {v3} / timeout: %A{v0} / status: {v1} / {v4 ()}"
v5
and method6 (v0 : int32 option, v1 : bool, v2 : int32, v3 : int64) : Async<int64> =
let v4 : Async<int64> option = None
let v5 : bool = true in let mutable _v4 = v4
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v6 : Async<int64> = null |> unbox<Async<int64>>
v6
#endif
#if FABLE_COMPILER_RUST && WASM
let v7 : Async<int64> = null |> unbox<Async<int64>>
v7
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v8 : Async<int64> = null |> unbox<Async<int64>>
v8
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v9 : Async<int64> = null |> unbox<Async<int64>>
v9
#endif
#if FABLE_COMPILER_PYTHON
let v10 : Async<int64> = null |> unbox<Async<int64>>
v10
#endif
#else
let v11 : Async<int64> option = None
let mutable _v11 = v11
async {
let v12 : (int32 -> US6) = method7()
let v13 : US6 = US6_1
let v14 : US6 = v0 |> Option.map v12 |> Option.defaultValue v13
let v229 : Async<bool> =
match v14 with
| US6_1 -> (* None *)
let v15 : Async<bool> option = None
let v16 : bool = true in let mutable _v15 = v15
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v17 : Async<bool> = null |> unbox<Async<bool>>
v17
#endif
#if FABLE_COMPILER_RUST && WASM
let v18 : Async<bool> = null |> unbox<Async<bool>>
v18
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v19 : Async<bool> = null |> unbox<Async<bool>>
v19
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v20 : Async<bool> = null |> unbox<Async<bool>>
v20
#endif
#if FABLE_COMPILER_PYTHON
let v21 : Async<bool> = null |> unbox<Async<bool>>
v21
#endif
#else
let v22 : Async<bool> option = None
let mutable _v22 = v22
async {
let v23 : Async<System.Threading.CancellationToken> = Async.CancellationToken
let! v23 = v23
let v24 : System.Threading.CancellationToken = v23
let v25 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
use v25 = v25
let v26 : System.Net.Sockets.TcpClient = v25
try
let v27 : string = "127.0.0.1"
let v28 : System.Threading.Tasks.ValueTask = v26.ConnectAsync (v27, v2, v24)
let v29 : (unit -> System.Threading.Tasks.Task) = v28.AsTask
let v30 : System.Threading.Tasks.Task = v29 ()
let v31 : Async<unit> option = None
let v32 : bool = true in let mutable _v31 = v31
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v33 : Async<unit> = null |> unbox<Async<unit>>
v33
#endif
#if FABLE_COMPILER_RUST && WASM
let v34 : Async<unit> = null |> unbox<Async<unit>>
v34
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v35 : Async<unit> = null |> unbox<Async<unit>>
v35
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v36 : Async<unit> = null |> unbox<Async<unit>>
v36
#endif
#if FABLE_COMPILER_PYTHON
let v37 : Async<unit> = null |> unbox<Async<unit>>
v37
#endif
#else
let v38 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
let v39 : Async<unit> = v38 v30
v39
#endif
|> fun x -> _v31 <- Some x
let v40 : Async<unit> = _v31.Value
do! v40
return true
with ex ->
let v41 : exn = ex
let v42 : string option = None
let v43 : bool = true in let mutable _v42 = v42
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v44 : string = $"%A{v41}"
v44
#endif
#if FABLE_COMPILER_RUST && WASM
let v45 : string = $"%A{v41}"
v45
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v46 : string = $"%A{v41}"
v46
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v47 : string = $"%A{v41}"
v47
#endif
#if FABLE_COMPILER_PYTHON
let v48 : string = $"%A{v41}"
v48
#endif
#else
let v49 : string = $"{v41.GetType ()}: {v41.Message}"
v49
#endif
|> fun x -> _v42 <- Some x
let v50 : string = _v42.Value
let v51 : US0 = US0_0
let v52 : (unit -> string) = closure3(v50)
let v53 : (unit -> string) = closure4()
method2(v51, v52, v53)
return false
(*
let v54 : bool = *)
}
|> fun x -> _v22 <- Some x
let v55 : Async<bool> = _v22 |> Option.get
v55
#endif
|> fun x -> _v15 <- Some x
let v56 : Async<bool> = _v15.Value
v56
| US6_0(v57) -> (* Some *)
let v58 : Async<bool> option = None
let v59 : bool = true in let mutable _v58 = v58
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v60 : Async<bool> = null |> unbox<Async<bool>>
v60
#endif
#if FABLE_COMPILER_RUST && WASM
let v61 : Async<bool> = null |> unbox<Async<bool>>
v61
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v62 : Async<bool> = null |> unbox<Async<bool>>
v62
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v63 : Async<bool> = null |> unbox<Async<bool>>
v63
#endif
#if FABLE_COMPILER_PYTHON
let v64 : Async<bool> = null |> unbox<Async<bool>>
v64
#endif
#else
let v65 : Async<bool> option = None
let mutable _v65 = v65
async {
let v66 : Async<bool> option = None
let v67 : bool = true in let mutable _v66 = v66
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v68 : Async<bool> = null |> unbox<Async<bool>>
v68
#endif
#if FABLE_COMPILER_RUST && WASM
let v69 : Async<bool> = null |> unbox<Async<bool>>
v69
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v70 : Async<bool> = null |> unbox<Async<bool>>
v70
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v71 : Async<bool> = null |> unbox<Async<bool>>
v71
#endif
#if FABLE_COMPILER_PYTHON
let v72 : Async<bool> = null |> unbox<Async<bool>>
v72
#endif
#else
let v73 : Async<bool> option = None
let mutable _v73 = v73
async {
let v74 : Async<System.Threading.CancellationToken> = Async.CancellationToken
let! v74 = v74
let v75 : System.Threading.CancellationToken = v74
let v76 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
use v76 = v76
let v77 : System.Net.Sockets.TcpClient = v76
try
let v78 : string = "127.0.0.1"
let v79 : System.Threading.Tasks.ValueTask = v77.ConnectAsync (v78, v2, v75)
let v80 : (unit -> System.Threading.Tasks.Task) = v79.AsTask
let v81 : System.Threading.Tasks.Task = v80 ()
let v82 : Async<unit> option = None
let v83 : bool = true in let mutable _v82 = v82
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v84 : Async<unit> = null |> unbox<Async<unit>>
v84
#endif
#if FABLE_COMPILER_RUST && WASM
let v85 : Async<unit> = null |> unbox<Async<unit>>
v85
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v86 : Async<unit> = null |> unbox<Async<unit>>
v86
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v87 : Async<unit> = null |> unbox<Async<unit>>
v87
#endif
#if FABLE_COMPILER_PYTHON
let v88 : Async<unit> = null |> unbox<Async<unit>>
v88
#endif
#else
let v89 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
let v90 : Async<unit> = v89 v81
v90
#endif
|> fun x -> _v82 <- Some x
let v91 : Async<unit> = _v82.Value
do! v91
return true
with ex ->
let v92 : exn = ex
let v93 : string option = None
let v94 : bool = true in let mutable _v93 = v93
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v95 : string = $"%A{v92}"
v95
#endif
#if FABLE_COMPILER_RUST && WASM
let v96 : string = $"%A{v92}"
v96
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v97 : string = $"%A{v92}"
v97
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v98 : string = $"%A{v92}"
v98
#endif
#if FABLE_COMPILER_PYTHON
let v99 : string = $"%A{v92}"
v99
#endif
#else
let v100 : string = $"{v92.GetType ()}: {v92.Message}"
v100
#endif
|> fun x -> _v93 <- Some x
let v101 : string = _v93.Value
let v102 : US0 = US0_0
let v103 : (unit -> string) = closure3(v101)
let v104 : (unit -> string) = closure4()
method2(v102, v103, v104)
return false
(*
let v105 : bool = *)
}
|> fun x -> _v73 <- Some x
let v106 : Async<bool> = _v73 |> Option.get
v106
#endif
|> fun x -> _v66 <- Some x
let v107 : Async<bool> = _v66.Value
let v108 : Async<US3> option = None
let v109 : bool = true in let mutable _v108 = v108
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v110 : Async<US3> = null |> unbox<Async<US3>>
v110
#endif
#if FABLE_COMPILER_RUST && WASM
let v111 : Async<US3> = null |> unbox<Async<US3>>
v111
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v112 : Async<US3> = null |> unbox<Async<US3>>
v112
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v113 : Async<US3> = null |> unbox<Async<US3>>
v113
#endif
#if FABLE_COMPILER_PYTHON
let v114 : Async<US3> = null |> unbox<Async<US3>>
v114
#endif
#else
let v115 : Async<US3> option = None
let v116 : bool = true in let mutable _v115 = v115
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v117 : Async<US3> = null |> unbox<Async<US3>>
v117
#endif
#if FABLE_COMPILER_RUST && WASM
let v118 : Async<US3> = null |> unbox<Async<US3>>
v118
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v119 : Async<US3> = null |> unbox<Async<US3>>
v119
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v120 : Async<US3> = null |> unbox<Async<US3>>
v120
#endif
#if FABLE_COMPILER_PYTHON
let v121 : Async<US3> = null |> unbox<Async<US3>>
v121
#endif
#else
let v122 : Async<US3> option = None
let mutable _v122 = v122
async {
let v123 : Async<Async<bool>> option = None
let v124 : bool = true in let mutable _v123 = v123
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v125 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v125
#endif
#if FABLE_COMPILER_RUST && WASM
let v126 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v126
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v127 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v127
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v128 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v128
#endif
#if FABLE_COMPILER_PYTHON
let v129 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v129
#endif
#else
let v130 : Async<Async<bool>> = Async.StartChild (v107, v57)
v130
#endif
|> fun x -> _v123 <- Some x
let v131 : Async<Async<bool>> = _v123.Value
let! v131 = v131
let v132 : Async<bool> = v131
let v133 : Async<Choice<bool, exn>> option = None
let v134 : bool = true in let mutable _v133 = v133
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v135 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v135
#endif
#if FABLE_COMPILER_RUST && WASM
let v136 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v136
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v137 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v137
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v138 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v138
#endif
#if FABLE_COMPILER_PYTHON
let v139 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v139
#endif
#else
let v140 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch
let v141 : Async<Choice<bool, exn>> = v140 v132
v141
#endif
|> fun x -> _v133 <- Some x
let v142 : Async<Choice<bool, exn>> = _v133.Value
let v143 : Async<US4> option = None
let v144 : bool = true in let mutable _v143 = v143
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v145 : Async<US4> = null |> unbox<Async<US4>>
v145
#endif
#if FABLE_COMPILER_RUST && WASM
let v146 : Async<US4> = null |> unbox<Async<US4>>
v146
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v147 : Async<US4> = null |> unbox<Async<US4>>
v147
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v148 : Async<US4> = null |> unbox<Async<US4>>
v148
#endif
#if FABLE_COMPILER_PYTHON
let v149 : Async<US4> = null |> unbox<Async<US4>>
v149
#endif
#else
let v150 : Async<US4> option = None
let mutable _v150 = v150
async {
let! v142 = v142
let v151 : Choice<bool, exn> = v142
let v152 : US4 option = None
let v153 : bool = true in let mutable _v152 = v152
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v154 : US4 = null |> unbox<US4>
v154
#endif
#if FABLE_COMPILER_RUST && WASM
let v155 : US4 = null |> unbox<US4>
v155
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v156 : US4 = null |> unbox<US4>
v156
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v157 : US4 = null |> unbox<US4>
v157
#endif
#if FABLE_COMPILER_PYTHON
let v158 : US4 = null |> unbox<US4>
v158
#endif
#else
let v159 : (bool -> US4) = closure9()
let v160 : (exn -> US4) = closure10()
let v161 : US4 = match v151 with Choice1Of2 x -> v159 x | Choice2Of2 x -> v160 x
v161
#endif
|> fun x -> _v152 <- Some x
let v162 : US4 = _v152.Value
return v162
}
|> fun x -> _v150 <- Some x
let v163 : Async<US4> = _v150 |> Option.get
v163
#endif
|> fun x -> _v143 <- Some x
let v164 : Async<US4> = _v143.Value
let v165 : Async<US5> option = None
let v166 : bool = true in let mutable _v165 = v165
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v167 : Async<US5> = null |> unbox<Async<US5>>
v167
#endif
#if FABLE_COMPILER_RUST && WASM
let v168 : Async<US5> = null |> unbox<Async<US5>>
v168
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v169 : Async<US5> = null |> unbox<Async<US5>>
v169
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v170 : Async<US5> = null |> unbox<Async<US5>>
v170
#endif
#if FABLE_COMPILER_PYTHON
let v171 : Async<US5> = null |> unbox<Async<US5>>
v171
#endif
#else
let v172 : Async<US5> option = None
let mutable _v172 = v172
async {
let! v164 = v164
let v173 : US4 = v164
let v179 : US5 =
match v173 with
| US4_0(v174) -> (* Choice1Of2 *)
US5_0(v174)
| US4_1(v176) -> (* Choice2Of2 *)
US5_1(v176)
return v179
}
|> fun x -> _v172 <- Some x
let v180 : Async<US5> = _v172 |> Option.get
v180
#endif
|> fun x -> _v165 <- Some x
let v181 : Async<US5> = _v165.Value
let v182 : Async<US3> option = None
let v183 : bool = true in let mutable _v182 = v182
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v184 : Async<US3> = null |> unbox<Async<US3>>
v184
#endif
#if FABLE_COMPILER_RUST && WASM
let v185 : Async<US3> = null |> unbox<Async<US3>>
v185
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v186 : Async<US3> = null |> unbox<Async<US3>>
v186
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v187 : Async<US3> = null |> unbox<Async<US3>>
v187
#endif
#if FABLE_COMPILER_PYTHON
let v188 : Async<US3> = null |> unbox<Async<US3>>
v188
#endif
#else
let v189 : Async<US3> option = None
let mutable _v189 = v189
async {
let! v181 = v181
let v190 : US5 = v181
let v216 : US3 =
match v190 with
| US5_1(v193) -> (* Error *)
let v194 : string = $"%A{v193}"
let v195 : string = "System.TimeoutException"
let v196 : bool = v194.Contains v195
if v196 then
let v197 : US0 = US0_1
let v198 : (unit -> string) = closure11()
let v199 : (unit -> string) = closure12(v57)
method2(v197, v198, v199)
US3_1
else
let v201 : string option = None
let v202 : bool = true in let mutable _v201 = v201
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v203 : string = $"%A{v193}"
v203
#endif
#if FABLE_COMPILER_RUST && WASM
let v204 : string = $"%A{v193}"
v204
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v205 : string = $"%A{v193}"
v205
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v206 : string = $"%A{v193}"
v206
#endif
#if FABLE_COMPILER_PYTHON
let v207 : string = $"%A{v193}"
v207
#endif
#else
let v208 : string = $"{v193.GetType ()}: {v193.Message}"
v208
#endif
|> fun x -> _v201 <- Some x
let v209 : string = _v201.Value
let v210 : US0 = US0_4
let v211 : (unit -> string) = closure13(v209)
let v212 : (unit -> string) = closure12(v57)
method2(v210, v211, v212)
US3_1
| US5_0(v191) -> (* Ok *)
US3_0(v191)
return v216
}
|> fun x -> _v189 <- Some x
let v217 : Async<US3> = _v189 |> Option.get
v217
#endif
|> fun x -> _v182 <- Some x
let v218 : Async<US3> = _v182.Value
return! v218
}
|> fun x -> _v122 <- Some x
let v219 : Async<US3> = _v122 |> Option.get
v219
#endif
|> fun x -> _v115 <- Some x
let v220 : Async<US3> = _v115.Value
v220
#endif
|> fun x -> _v108 <- Some x
let v221 : Async<US3> = _v108.Value
let! v221 = v221
let v222 : US3 = v221
let v225 : bool =
match v222 with
| US3_1 -> (* None *)
false
| US3_0(v223) -> (* Some *)
v223
return v225
}
|> fun x -> _v65 <- Some x
let v226 : Async<bool> = _v65 |> Option.get
v226
#endif
|> fun x -> _v58 <- Some x
let v227 : Async<bool> = _v58.Value
v227
let! v229 = v229
let v230 : bool = v229
let v231 : bool = v230 = v1
if v231 then
return v3
(*
()
else
*) else
let v232 : int64 = v3 % 100L
let v233 : bool = v232 = 0L
if v233 then
let v234 : US0 = US0_0
let v235 : (unit -> string) = closure18()
let v236 : (unit -> string) = closure19(v0, v1, v2, v3)
method2(v234, v235, v236)
let v237 : Async<unit> option = None
let v238 : bool = true in let mutable _v237 = v237
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v239 : Async<unit> = null |> unbox<Async<unit>>
v239
#endif
#if FABLE_COMPILER_RUST && WASM
let v240 : Async<unit> = null |> unbox<Async<unit>>
v240
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v241 : Async<unit> = null |> unbox<Async<unit>>
v241
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v242 : Async<unit> = null |> unbox<Async<unit>>
v242
#endif
#if FABLE_COMPILER_PYTHON
let v243 : Async<unit> = null |> unbox<Async<unit>>
v243
#endif
#else
let v244 : (int32 -> Async<unit>) = Async.Sleep
let v245 : Async<unit> = v244 10
v245
#endif
|> fun x -> _v237 <- Some x
let v246 : Async<unit> = _v237.Value
do! v246
let v247 : int64 = v3 + 1L
let v248 : Async<int64> = method6(v0, v1, v2, v247)
return! v248
(*
()
*)
}
|> fun x -> _v11 <- Some x
let v249 : Async<int64> = _v11 |> Option.get
v249
#endif
|> fun x -> _v4 <- Some x
let v250 : Async<int64> = _v4.Value
v250
and closure16 (v0 : int32 option, v1 : bool) (v2 : int32) : Async<int64> =
let v3 : int64 = 0L
method6(v0, v1, v2, v3)
and closure15 (v0 : int32 option) (v1 : bool) : (int32 -> Async<int64>) =
closure16(v0, v1)
and closure14 () (v0 : int32 option) : (bool -> (int32 -> Async<int64>)) =
closure15(v0)
and method8 (v0 : int32 option, v1 : int32) : Async<int32> =
let v2 : Async<int32> option = None
let v3 : bool = true in let mutable _v2 = v2
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v4 : Async<int32> = null |> unbox<Async<int32>>
v4
#endif
#if FABLE_COMPILER_RUST && WASM
let v5 : Async<int32> = null |> unbox<Async<int32>>
v5
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v6 : Async<int32> = null |> unbox<Async<int32>>
v6
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v7 : Async<int32> = null |> unbox<Async<int32>>
v7
#endif
#if FABLE_COMPILER_PYTHON
let v8 : Async<int32> = null |> unbox<Async<int32>>
v8
#endif
#else
let v9 : Async<int32> option = None
let mutable _v9 = v9
async {
let v10 : (int32 -> US6) = method7()
let v11 : US6 = US6_1
let v12 : US6 = v0 |> Option.map v10 |> Option.defaultValue v11
let v227 : Async<bool> =
match v12 with
| US6_1 -> (* None *)
let v13 : Async<bool> option = None
let v14 : bool = true in let mutable _v13 = v13
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v15 : Async<bool> = null |> unbox<Async<bool>>
v15
#endif
#if FABLE_COMPILER_RUST && WASM
let v16 : Async<bool> = null |> unbox<Async<bool>>
v16
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v17 : Async<bool> = null |> unbox<Async<bool>>
v17
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v18 : Async<bool> = null |> unbox<Async<bool>>
v18
#endif
#if FABLE_COMPILER_PYTHON
let v19 : Async<bool> = null |> unbox<Async<bool>>
v19
#endif
#else
let v20 : Async<bool> option = None
let mutable _v20 = v20
async {
let v21 : Async<System.Threading.CancellationToken> = Async.CancellationToken
let! v21 = v21
let v22 : System.Threading.CancellationToken = v21
let v23 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
use v23 = v23
let v24 : System.Net.Sockets.TcpClient = v23
try
let v25 : string = "127.0.0.1"
let v26 : System.Threading.Tasks.ValueTask = v24.ConnectAsync (v25, v1, v22)
let v27 : (unit -> System.Threading.Tasks.Task) = v26.AsTask
let v28 : System.Threading.Tasks.Task = v27 ()
let v29 : Async<unit> option = None
let v30 : bool = true in let mutable _v29 = v29
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v31 : Async<unit> = null |> unbox<Async<unit>>
v31
#endif
#if FABLE_COMPILER_RUST && WASM
let v32 : Async<unit> = null |> unbox<Async<unit>>
v32
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v33 : Async<unit> = null |> unbox<Async<unit>>
v33
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v34 : Async<unit> = null |> unbox<Async<unit>>
v34
#endif
#if FABLE_COMPILER_PYTHON
let v35 : Async<unit> = null |> unbox<Async<unit>>
v35
#endif
#else
let v36 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
let v37 : Async<unit> = v36 v28
v37
#endif
|> fun x -> _v29 <- Some x
let v38 : Async<unit> = _v29.Value
do! v38
return true
with ex ->
let v39 : exn = ex
let v40 : string option = None
let v41 : bool = true in let mutable _v40 = v40
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v42 : string = $"%A{v39}"
v42
#endif
#if FABLE_COMPILER_RUST && WASM
let v43 : string = $"%A{v39}"
v43
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v44 : string = $"%A{v39}"
v44
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v45 : string = $"%A{v39}"
v45
#endif
#if FABLE_COMPILER_PYTHON
let v46 : string = $"%A{v39}"
v46
#endif
#else
let v47 : string = $"{v39.GetType ()}: {v39.Message}"
v47
#endif
|> fun x -> _v40 <- Some x
let v48 : string = _v40.Value
let v49 : US0 = US0_0
let v50 : (unit -> string) = closure3(v48)
let v51 : (unit -> string) = closure4()
method2(v49, v50, v51)
return false
(*
let v52 : bool = *)
}
|> fun x -> _v20 <- Some x
let v53 : Async<bool> = _v20 |> Option.get
v53
#endif
|> fun x -> _v13 <- Some x
let v54 : Async<bool> = _v13.Value
v54
| US6_0(v55) -> (* Some *)
let v56 : Async<bool> option = None
let v57 : bool = true in let mutable _v56 = v56
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v58 : Async<bool> = null |> unbox<Async<bool>>
v58
#endif
#if FABLE_COMPILER_RUST && WASM
let v59 : Async<bool> = null |> unbox<Async<bool>>
v59
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v60 : Async<bool> = null |> unbox<Async<bool>>
v60
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v61 : Async<bool> = null |> unbox<Async<bool>>
v61
#endif
#if FABLE_COMPILER_PYTHON
let v62 : Async<bool> = null |> unbox<Async<bool>>
v62
#endif
#else
let v63 : Async<bool> option = None
let mutable _v63 = v63
async {
let v64 : Async<bool> option = None
let v65 : bool = true in let mutable _v64 = v64
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v66 : Async<bool> = null |> unbox<Async<bool>>
v66
#endif
#if FABLE_COMPILER_RUST && WASM
let v67 : Async<bool> = null |> unbox<Async<bool>>
v67
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v68 : Async<bool> = null |> unbox<Async<bool>>
v68
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v69 : Async<bool> = null |> unbox<Async<bool>>
v69
#endif
#if FABLE_COMPILER_PYTHON
let v70 : Async<bool> = null |> unbox<Async<bool>>
v70
#endif
#else
let v71 : Async<bool> option = None
let mutable _v71 = v71
async {
let v72 : Async<System.Threading.CancellationToken> = Async.CancellationToken
let! v72 = v72
let v73 : System.Threading.CancellationToken = v72
let v74 : System.Net.Sockets.TcpClient = new System.Net.Sockets.TcpClient ()
use v74 = v74
let v75 : System.Net.Sockets.TcpClient = v74
try
let v76 : string = "127.0.0.1"
let v77 : System.Threading.Tasks.ValueTask = v75.ConnectAsync (v76, v1, v73)
let v78 : (unit -> System.Threading.Tasks.Task) = v77.AsTask
let v79 : System.Threading.Tasks.Task = v78 ()
let v80 : Async<unit> option = None
let v81 : bool = true in let mutable _v80 = v80
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v82 : Async<unit> = null |> unbox<Async<unit>>
v82
#endif
#if FABLE_COMPILER_RUST && WASM
let v83 : Async<unit> = null |> unbox<Async<unit>>
v83
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v84 : Async<unit> = null |> unbox<Async<unit>>
v84
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v85 : Async<unit> = null |> unbox<Async<unit>>
v85
#endif
#if FABLE_COMPILER_PYTHON
let v86 : Async<unit> = null |> unbox<Async<unit>>
v86
#endif
#else
let v87 : (System.Threading.Tasks.Task -> Async<unit>) = Async.AwaitTask
let v88 : Async<unit> = v87 v79
v88
#endif
|> fun x -> _v80 <- Some x
let v89 : Async<unit> = _v80.Value
do! v89
return true
with ex ->
let v90 : exn = ex
let v91 : string option = None
let v92 : bool = true in let mutable _v91 = v91
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v93 : string = $"%A{v90}"
v93
#endif
#if FABLE_COMPILER_RUST && WASM
let v94 : string = $"%A{v90}"
v94
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v95 : string = $"%A{v90}"
v95
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v96 : string = $"%A{v90}"
v96
#endif
#if FABLE_COMPILER_PYTHON
let v97 : string = $"%A{v90}"
v97
#endif
#else
let v98 : string = $"{v90.GetType ()}: {v90.Message}"
v98
#endif
|> fun x -> _v91 <- Some x
let v99 : string = _v91.Value
let v100 : US0 = US0_0
let v101 : (unit -> string) = closure3(v99)
let v102 : (unit -> string) = closure4()
method2(v100, v101, v102)
return false
(*
let v103 : bool = *)
}
|> fun x -> _v71 <- Some x
let v104 : Async<bool> = _v71 |> Option.get
v104
#endif
|> fun x -> _v64 <- Some x
let v105 : Async<bool> = _v64.Value
let v106 : Async<US3> option = None
let v107 : bool = true in let mutable _v106 = v106
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v108 : Async<US3> = null |> unbox<Async<US3>>
v108
#endif
#if FABLE_COMPILER_RUST && WASM
let v109 : Async<US3> = null |> unbox<Async<US3>>
v109
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v110 : Async<US3> = null |> unbox<Async<US3>>
v110
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v111 : Async<US3> = null |> unbox<Async<US3>>
v111
#endif
#if FABLE_COMPILER_PYTHON
let v112 : Async<US3> = null |> unbox<Async<US3>>
v112
#endif
#else
let v113 : Async<US3> option = None
let v114 : bool = true in let mutable _v113 = v113
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v115 : Async<US3> = null |> unbox<Async<US3>>
v115
#endif
#if FABLE_COMPILER_RUST && WASM
let v116 : Async<US3> = null |> unbox<Async<US3>>
v116
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v117 : Async<US3> = null |> unbox<Async<US3>>
v117
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v118 : Async<US3> = null |> unbox<Async<US3>>
v118
#endif
#if FABLE_COMPILER_PYTHON
let v119 : Async<US3> = null |> unbox<Async<US3>>
v119
#endif
#else
let v120 : Async<US3> option = None
let mutable _v120 = v120
async {
let v121 : Async<Async<bool>> option = None
let v122 : bool = true in let mutable _v121 = v121
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v123 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v123
#endif
#if FABLE_COMPILER_RUST && WASM
let v124 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v124
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v125 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v125
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v126 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v126
#endif
#if FABLE_COMPILER_PYTHON
let v127 : Async<Async<bool>> = null |> unbox<Async<Async<bool>>>
v127
#endif
#else
let v128 : Async<Async<bool>> = Async.StartChild (v105, v55)
v128
#endif
|> fun x -> _v121 <- Some x
let v129 : Async<Async<bool>> = _v121.Value
let! v129 = v129
let v130 : Async<bool> = v129
let v131 : Async<Choice<bool, exn>> option = None
let v132 : bool = true in let mutable _v131 = v131
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v133 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v133
#endif
#if FABLE_COMPILER_RUST && WASM
let v134 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v134
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v135 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v135
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v136 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v136
#endif
#if FABLE_COMPILER_PYTHON
let v137 : Async<Choice<bool, exn>> = null |> unbox<Async<Choice<bool, exn>>>
v137
#endif
#else
let v138 : (Async<bool> -> Async<Choice<bool, exn>>) = Async.Catch
let v139 : Async<Choice<bool, exn>> = v138 v130
v139
#endif
|> fun x -> _v131 <- Some x
let v140 : Async<Choice<bool, exn>> = _v131.Value
let v141 : Async<US4> option = None
let v142 : bool = true in let mutable _v141 = v141
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v143 : Async<US4> = null |> unbox<Async<US4>>
v143
#endif
#if FABLE_COMPILER_RUST && WASM
let v144 : Async<US4> = null |> unbox<Async<US4>>
v144
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v145 : Async<US4> = null |> unbox<Async<US4>>
v145
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v146 : Async<US4> = null |> unbox<Async<US4>>
v146
#endif
#if FABLE_COMPILER_PYTHON
let v147 : Async<US4> = null |> unbox<Async<US4>>
v147
#endif
#else
let v148 : Async<US4> option = None
let mutable _v148 = v148
async {
let! v140 = v140
let v149 : Choice<bool, exn> = v140
let v150 : US4 option = None
let v151 : bool = true in let mutable _v150 = v150
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v152 : US4 = null |> unbox<US4>
v152
#endif
#if FABLE_COMPILER_RUST && WASM
let v153 : US4 = null |> unbox<US4>
v153
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v154 : US4 = null |> unbox<US4>
v154
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v155 : US4 = null |> unbox<US4>
v155
#endif
#if FABLE_COMPILER_PYTHON
let v156 : US4 = null |> unbox<US4>
v156
#endif
#else
let v157 : (bool -> US4) = closure9()
let v158 : (exn -> US4) = closure10()
let v159 : US4 = match v149 with Choice1Of2 x -> v157 x | Choice2Of2 x -> v158 x
v159
#endif
|> fun x -> _v150 <- Some x
let v160 : US4 = _v150.Value
return v160
}
|> fun x -> _v148 <- Some x
let v161 : Async<US4> = _v148 |> Option.get
v161
#endif
|> fun x -> _v141 <- Some x
let v162 : Async<US4> = _v141.Value
let v163 : Async<US5> option = None
let v164 : bool = true in let mutable _v163 = v163
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v165 : Async<US5> = null |> unbox<Async<US5>>
v165
#endif
#if FABLE_COMPILER_RUST && WASM
let v166 : Async<US5> = null |> unbox<Async<US5>>
v166
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v167 : Async<US5> = null |> unbox<Async<US5>>
v167
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v168 : Async<US5> = null |> unbox<Async<US5>>
v168
#endif
#if FABLE_COMPILER_PYTHON
let v169 : Async<US5> = null |> unbox<Async<US5>>
v169
#endif
#else
let v170 : Async<US5> option = None
let mutable _v170 = v170
async {
let! v162 = v162
let v171 : US4 = v162
let v177 : US5 =
match v171 with
| US4_0(v172) -> (* Choice1Of2 *)
US5_0(v172)
| US4_1(v174) -> (* Choice2Of2 *)
US5_1(v174)
return v177
}
|> fun x -> _v170 <- Some x
let v178 : Async<US5> = _v170 |> Option.get
v178
#endif
|> fun x -> _v163 <- Some x
let v179 : Async<US5> = _v163.Value
let v180 : Async<US3> option = None
let v181 : bool = true in let mutable _v180 = v180
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v182 : Async<US3> = null |> unbox<Async<US3>>
v182
#endif
#if FABLE_COMPILER_RUST && WASM
let v183 : Async<US3> = null |> unbox<Async<US3>>
v183
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v184 : Async<US3> = null |> unbox<Async<US3>>
v184
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v185 : Async<US3> = null |> unbox<Async<US3>>
v185
#endif
#if FABLE_COMPILER_PYTHON
let v186 : Async<US3> = null |> unbox<Async<US3>>
v186
#endif
#else
let v187 : Async<US3> option = None
let mutable _v187 = v187
async {
let! v179 = v179
let v188 : US5 = v179
let v214 : US3 =
match v188 with
| US5_1(v191) -> (* Error *)
let v192 : string = $"%A{v191}"
let v193 : string = "System.TimeoutException"
let v194 : bool = v192.Contains v193
if v194 then
let v195 : US0 = US0_1
let v196 : (unit -> string) = closure11()
let v197 : (unit -> string) = closure12(v55)
method2(v195, v196, v197)
US3_1
else
let v199 : string option = None
let v200 : bool = true in let mutable _v199 = v199
#if FABLE_COMPILER || WASM || CONTRACT
#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v201 : string = $"%A{v191}"
v201
#endif
#if FABLE_COMPILER_RUST && WASM
let v202 : string = $"%A{v191}"
v202
#endif
#if FABLE_COMPILER_RUST && CONTRACT
let v203 : string = $"%A{v191}"
v203
#endif
#if FABLE_COMPILER_TYPESCRIPT
let v204 : string = $"%A{v191}"
v204
#endif
#if FABLE_COMPILER_PYTHON
let v205 : string = $"%A{v191}"
v205
#endif
#else
let v206 : string = $"{v191.GetType ()}: {v191.Message}"
v206
#endif
|> fun x -> _v199 <- Some x
let v207 : string = _v199.Value
let v208 : US0 = US0_4
let v209 : (unit -> string) = closure13(v207)
let v210 : (unit -> string) = closure12(v55)
method2(v208, v209, v210)
US3_1
| US5_0(v189) -> (* Ok *)
US3_0(v189)
return v214
}
|> fun x -> _v187 <- Some x
let v215 : Async<US3> = _v187 |> Option.get
v215
#endif
|> fun x -> _v180 <- Some x
let v216 : Async<US3> = _v180.Value
return! v216
}
|> fun x -> _v120 <- Some x
let v217 : Async<US3> = _v120 |> Option.get
v217
#endif
|> fun x -> _v113 <- Some x
let v218 : Async<US3> = _v113.Value
v218
#endif
|> fun x -> _v106 <- Some x
let v219 : Async<US3> = _v106.Value
let! v219 = v219
let v220 : US3 = v219
let v223 : bool =
match v220 with
| US3_1 -> (* None *)
false
| US3_0(v221) -> (* Some *)
v221
return v223
}
|> fun x -> _v63 <- Some x
let v224 : Async<bool> = _v63 |> Option.get
v224
#endif
|> fun x -> _v56 <- Some x
let v225 : Async<bool> = _v56.Value
v225
let! v227 = v227
let v228 : bool = v227
let v229 : bool = v228 = false
if v229 then
return v1
(*
()
else
*) else
let v230 : int32 = v1 + 1
let v231 : Async<int32> = method8(v0, v230)
return! v231
(*
()
*)
}
|> fun x -> _v9 <- Some x
let v232 : Async<int32> = _v9 |> Option.get
v232
#endif
|> fun x -> _v2 <- Some x
let v233 : Async<int32> = _v2.Value
v233
and closure21 (v0 : int32 option) (v1 : int32) : Async<int32> =
method8(v0, v1)
and closure20 () (v0 : int32 option) : (int32 -> Async<int32>) =
closure21(v0)
let v0 : (unit -> struct (Mut0 * Mut1 * Mut2 * int64 option * Mut3)) = closure0()
if State.trace_state.IsNone then State.trace_state <- v0 () |> Some
let v1 : (int32 -> Async<bool>) = closure2()
let test_port_open x = v1 x
let v2 : (int32 -> (int32 -> Async<bool>)) = closure7()
let test_port_open_timeout x = v2 x
let v3 : (int32 option -> (bool -> (int32 -> Async<int64>))) = closure14()
let wait_for_port_access x = v3 x
let v4 : (int32 option -> (int32 -> Async<int32>)) = closure20()
let get_available_port x = v4 x
()
00:00:00 debug #1 writeDibCode / output: Fs / path: DirTreeHtml.dib
00:00:00 debug #2 parseDibCode / output: Fs / file: DirTreeHtml.dib
00:00:00 debug #1 persistCodeProject / packages: [Argu; Falco.Markup; FSharp.Control.AsyncSeq; ... ] / modules: [lib/spiral/common.fsx; lib/spiral/sm.fsx; lib/spiral/crypto.fsx; ... ] / name: DirTreeHtml / code.Length: 4638
00:00:00 debug #2 buildProject / fullPath: C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj
00:00:00 debug #1 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DirTreeHtml\DirTreeHtml.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dir-tree-html\dist" --runtime linux-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml")
00:00:00 verbose #2 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:01 verbose #3 > Determining projects to restore...
00:00:02 verbose #4 > Restored C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj (in 513 ms).
00:00:02 verbose #5 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj]
00:00:12 verbose #6 > DirTreeHtml -> C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\bin\Release\net9.0\linux-x64\DirTreeHtml.dll
00:00:13 verbose #7 > DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\
00:00:13 debug #8 execute_with_options_async / exit_code: 0 / output.Length: 730
00:00:13 debug #9 execute_with_options_async / options: struct (None,
"dotnet publish "C:\home\git\polyglot\target/polyglot/builder\DirTreeHtml\DirTreeHtml.fsproj" --configuration Release --output "C:\home\git\polyglot\apps\dir-tree-html\dist" --runtime win-x64",
[||], None, None,
Some "C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml")
00:00:13 verbose #10 > MSBuild version 17.10.0-preview-24101-01+07fd5d51f for .NET
00:00:14 verbose #11 > Determining projects to restore...
00:00:14 verbose #12 > Restored C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj (in 367 ms).
00:00:15 verbose #13 > C:\Users\i574n\scoop\apps\dotnet-sdk-preview\current\sdk\9.0.100-preview.1.24101.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(313,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\DirTreeHtml.fsproj]
00:00:23 verbose #14 > DirTreeHtml -> C:\home\git\polyglot\target\polyglot\builder\DirTreeHtml\bin\Release\net9.0\win-x64\DirTreeHtml.dll
00:00:30 verbose #15 > DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\
00:00:30 debug #16 execute_with_options_async / exit_code: 0 / output.Length: 728
In [ ]:
{ . ../apps/ipfs/build.ps1 } | Invoke-Block -Location $ScriptDir
bun install v1.1.5 (b257a309)
Done! Checked 220 packages (no changes) [1.69s]
In [ ]:
{ . ./outdated.ps1 } | Invoke-Block -Location $ScriptDir
Paket version 8.1.0-alpha002+df391903d7590864c0bba48fdc34b50ddcc94cc2
Resolving dependency graph...
Outdated packages found:
Group: Main
* Argu 6.2.2 -> 6.2.3
* Expecto.FsCheck 10.2.1-fscheck3 -> 10.2.1
* FsCheck 3.0.0-rc3 -> 2.16.6
* FSharp.Core 8.0.300-beta.24080.5 -> 8.0.300-beta.24178.1
* Microsoft.AspNetCore.Connections.Abstractions 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.AspNetCore.Http.Connections.Client 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.AspNetCore.Http.Connections.Common 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.AspNetCore.SignalR.Client 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.AspNetCore.SignalR.Client.Core 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.AspNetCore.SignalR.Common 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.AspNetCore.SignalR.Protocols.Json 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.Extensions.DependencyInjection 8.0 -> 9.0.0-preview.3.24172.9
* Microsoft.Extensions.DependencyInjection.Abstractions 8.0.1 -> 9.0.0-preview.3.24172.9
* Microsoft.Extensions.Features 7.0 -> 9.0.0-preview.3.24172.13
* Microsoft.Extensions.Logging 8.0 -> 9.0.0-preview.3.24172.9
* Microsoft.Extensions.Logging.Abstractions 8.0.1 -> 9.0.0-preview.3.24172.9
* Microsoft.Extensions.Options 8.0.2 -> 9.0.0-preview.3.24172.9
* Microsoft.Extensions.Primitives 8.0 -> 9.0.0-preview.3.24172.9
* System.CodeDom 8.0 -> 9.0.0-preview.3.24172.9
* System.IO.Pipelines 8.0 -> 9.0.0-preview.3.24172.9
* System.Management 7.0 -> 9.0.0-preview.3.24172.9
* System.Threading.Channels 8.0 -> 9.0.0-preview.3.24172.9
Total time taken: 56 seconds
CheckToml / toml: C:\home\git\polyglot\Cargo.toml
chat_contract_tests
================
Name Project Compat Latest Kind Platform
---- ------- ------ ------ ---- --------
ahash 0.8.11 --- Removed Normal ---
allocator-api2 0.2.18 --- Removed Normal ---
autocfg 1.2.0 Removed --- Build ---
cfg-if 1.0.0 --- Removed Normal ---
equivalent 1.0.1 --- Removed Normal ---
hashbrown 0.12.3 0.14.5 --- Normal ---
hashbrown 0.14.5 --- 0.12.3 Normal ---
indexmap 1.9.3 2.2.6 --- Normal ---
indexmap 2.2.6 --- 1.9.3 Normal ---
once_cell 1.19.0 --- Removed Normal cfg(not(all(target_arch = "arm", target_os = "none")))
proc-macro2 1.0.81 --- Removed Normal ---
quote 1.0.36 --- Removed Normal ---
syn 2.0.60 --- Removed Normal ---
unicode-ident 1.0.12 --- Removed Normal ---
version_check 0.9.4 --- Removed Build ---
zerocopy 0.7.32 --- Removed Normal ---
zerocopy-derive 0.7.32 --- Removed Normal ---
CheckToml / toml: C:\home\git\polyglot\apps\chat\contract\Cargo.toml
All dependencies are up to date, yay!
CheckToml / toml: C:\home\git\polyglot\apps\chat\contract\tests\Cargo.toml
Name Project Compat Latest Kind Platform
---- ------- ------ ------ ---- --------
indexmap->autocfg 1.2.0 Removed Removed Build ---
indexmap->hashbrown 0.12.3 0.14.5 0.14.5 Normal ---
serde_with->indexmap 1.9.3 2.2.6 2.2.6 Normal ---
CheckToml / toml: C:\home\git\polyglot\apps\plot\Cargo.toml
All dependencies are up to date, yay!
CheckJson / json: C:/home/git/polyglot
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\package.json
All dependencies match the greatest package versions :)
CheckJson / json: C:/home/git/polyglot/apps/ipfs
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\apps\ipfs\package.json
All dependencies match the greatest package versions :)
CheckJson / json: C:/home/git/polyglot/apps/spiral/temp/extension
$ npm-check-updates --target greatest
Using bun
Checking C:\home\git\polyglot\apps\spiral\temp\extension\package.json
@playwright/test 1.42.1 → 1.45.0-alpha-2024-04-30
@types/chrome ~0.0.263 → ~0.0.267
Run ncu --target greatest -u to upgrade package.json